Project

General

Profile

Bug #32259

hammer activation-key/content-host product-content not working correctly

Added by Partha Aji over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

https://github.com/Katello/katello/pull/9219 removed the product_content api endpoint. It redirects if the old end point is called but is not listed in the foreman-apipie bindings. This causes issues with hammer since its unable to see the api end point.
```
$ hammer activation-key product-content
Error: The server does not support such operation.

$ hammer host subscription product-content
Error: The server does not support such operation.

```

Associated revisions

Revision 49799266 (diff)
Added by Partha Aji over 1 year ago

Fixes #32259 - Fix apipie cache for repo sets (#9265)

A previous PR removed the product-content end points from activation key
and host subscriptions controller. It redirected the old enpoints to
repository sets controller index. However the apipie json didnot have
these end points generated.
This commit adds dummy endpoints in the controller purely with the
purpose of documenting the apipie end points.

History

#1 Updated by The Foreman Bot over 1 year ago

  • Assignee set to Partha Aji
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/9265 added

#2 Updated by Jonathon Turel over 1 year ago

  • Triaged changed from No to Yes
  • Target version set to Katello 4.1.0

#3 Updated by The Foreman Bot over 1 year ago

  • Fixed in Releases Katello 4.2.0 added

#4 Updated by Partha Aji over 1 year ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF