Use > Sequenced Designs > Sequenced Designer > Service components > View Component Palettes > Import and Export a Component Palette

Import and export a component palette

In this topic, artifacts refer to a component palette and its associated component types, templates, component type constraints, and resource offerings.

You can import and export many of the artifacts that provide the basis for cloud automation. The export operation provides the ability to preserve the selected artifacts so they can be used to replicate the services on another system or to restore the artifacts. These exported archive files are preserved in an industry-standard zip archive file format.

The import operation provides the ability to install and replace artifacts. See the Tasks section below for more information.

Process information

  • Resource offerings - If a component template in a component palette is associated with a resource offering, when the component palette is exported, resource offering XML files are included in the component palette archive. Therefore, when importing this archive, the resource offerings are also imported.
  • Import operation - The import operation is destructive to existing data (unlike the import operations for service designs and resource offerings for which there are options to only import new artifacts without overwriting existing ones). If an imported artifact exists on the target system, the existing artifact on the target system is overwritten. For example, if the imported component palette contains a resource offering that exists on the target system, the existing resource offering on the target system is overwritten by the resource offering from the archive.

    Select the preview button to view prospective results for the import process.

  • Import process integrity - The import process for component palettes always ensures system integrity with respect to component type derivation and property propagation. For example, say you have modified properties of a component type in a palette called "Palette A," and there are component types in other palettes that are derived from this component type. When an update of "Palette A" occurs during import, changes that have been made to the component types are propagated to component types in other palettes.
  • Palette dependencies - Import multiple, dependent palettes in the order of their dependencies if these palettes exist on the target system.
  • Circular dependencies - Circular dependencies between palettes are not allowed. For example, Palette A cannot have components that are derived from Palette B while, at the same time, Palette B has components that are derived from Palette A.
  • Flows — During an import, update, or preview operation, if required dependencies do not exist on the Operations Orchestration system, an error message identifies these missing dependencies (dependencies such as flows). The content pack that contain these flows must have been deployed to the Operations Orchestration system prior to importing these artifacts. The flows must also have identical signatures and identical paths as the flows on the system from which the artifact was exported.

    During import, flow signature-related information is verified in or added to the CSA database (flow signatures are used during the creation of an artifact and when adding a resource synchronization action or an external approval type). This information is resolved by name which corresponds to the full path to the Operations Orchestration flow (for example, /Library/CSA Content Pack/CSA3.2/Providers/Infrastructure/vCenter/vCenter Clone Server/Actions/vCenter Simple Compute - Deploy). For information about how to deploy Operations Orchestration content packs, see the Central User Guide.

  • Archive content — The archive (.zip) file can only reference files or content contained within the .zip file itself, or that are already contained in the csa.war file.
  • Image files — All images in the archive files must end in one of the following suffix values (for information on adding additional suffix values, see the Cloud Service Automation Configuration Guide):

    jpg|jpeg|jpe|jfif|svg|tif|tiff|ras|cmx|ico|pnm|pbm|pgm|ppm|rgb|xbm|xpm|xwd|png

  • Back up your data — Create a backup of your system or data. Before proceeding, be sure to create a backup of any artifacts you may be affecting by using the export operation to save an archive zip file.

Tasks

Import and export tasks are completed from the Manage Component Palettes dialog.

  • Import - Imports new artifacts and overwrites existing artifacts. New artifacts are created if they do not exist on the target system. Identical artifacts that exist on the target system are overwritten with changes from the archive.

    Note The import operation identifies artifacts by name to determine if the artifact exists on the target system.

  • Preview — Generate a report of prospective results for the import process, including information about the artifacts and their status.
  • View Detailed Report - From the Import Summary dialog, select this link to see a summary and details of the import process, including information about the artifacts and their status.
  • Export — Create a content archive (.zip) file. The content archive contains XML documents for the artifacts you are exporting, as well as icons for customizing the artifacts, and the Manifest XML document, which contains meta-information about the archive files.

    The component palettes are packaged in an archive file whose name is:

    COMPONENT_PALETTE_<component_palette_display_name>_<component_palette_id>.zip

For more information about importing and exporting artifacts, see the Cloud Service Automation Content Archive Tool document.