Project

General

Profile

Actions

Feature #5821

closed

Capsule content manipulation over API/CLI

Added by Ivan Necas almost 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

As a capsule user
I want to be able to use API/CLI to add environments to the capsule
and synchronize the capsule.

Actions #1

Updated by Ivan Necas almost 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
Actions #3

Updated by Ivan Necas almost 10 years ago

  • Status changed from New to Assigned
  • Assignee set to Ivan Necas
Actions #4

Updated by Ivan Necas almost 10 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Applied in changeset katello|commit:ac09bc2f93e187893f11b8d10c13aef5f938c6b4.

Actions #5

Updated by Eric Helms over 9 years ago

  • translation missing: en.field_release set to 13
Actions

Also available in: Atom PDF