Feature #5821
closedCapsule content manipulation over API/CLI
Description
As a capsule user
I want to be able to use API/CLI to add environments to the capsule
and synchronize the capsule.
Updated by Ivan Necas over 10 years ago
By now, the capsule is considered to be the same a proxy, therefore
I've build the capsules entry point, that uses the smart proxy
on backend, but uses the capsule wording for convenience.
I've added the following API
GET /api/capsules - list the capsules
GET /api/capsules/:id - hos the capsule details
GET /api/capsules/:id/content/lifecycle_environments - environments attached to the capsule for syncing content
POST /api/capsules/:id/content/lifecycle_environments - attach lifecycle environment to the capsule (hamm
DELETE /api/capsules/:id/content/lifecycle_environments/:environment_id - remove lifecycle environment from the capsule
POST /api/capsules/:id/content/sync - synchronize the capsule (optionally, one can limit the synchronization to one environemnt with environment_id
)
The corresponding hammer commands are:
hammer capsule list hammer capsule info --id 1 hammer capsule content lifecycle-environments --id 1 hammer capsule content add-lifecycle-environment --id 1 --environment-id 1 hammer capsule content remove-lifecycle-environment --id 1 --environment-id 1 hammer capsule content synchronize --id 1 hammer capsule content synchronize --id 1 --environment-id 1
Updated by Ivan Necas over 10 years ago
- Status changed from New to Assigned
- Assignee set to Ivan Necas
Updated by Ivan Necas over 10 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
Applied in changeset katello|commit:ac09bc2f93e187893f11b8d10c13aef5f938c6b4.
Updated by Eric Helms over 10 years ago
- Translation missing: en.field_release set to 13