Project

General

Profile

Actions

Bug #31406

closed

As a user I 'd like to export library content

Added by Partha Aji about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Content Views
Target version:
Fixed in Releases:
Found in Releases:

Description

`hammer content-export library --organization-id=100`
  1. API
    • Investigate whether the proposed hammer workflow could be achieved via API (and to what extent) * Make destination server optional/nullable (model change) * If incremental the export action should fetch the correct export history (either choose the latest for a given destination server or if history-id is provided use that ) * if you cant find an export history error out * history-id & destination server are optional.
  1. Hammer endpoint should
    • Take in the organization id and optionally destination server
    • Create a content view if necessary with a name like `Export-Library-<destination-server-name>-view` or `Export-Library-view` if destination server is not provided.
    • Remove all the yum repositories this view
    • Add all the yum repositories in library to this view
    • Publish the content view
    • Call Export on the generated content view version, with the same destination server as provided
Actions

Also available in: Atom PDF