CentraSite Documentation : Working with the CentraSite Business UI : API Management Solutions : Exporting and Importing an API : Importing APIs
Importing APIs
You import an API by importing the archive file to which it was previously exported. You can import an API into the same CentraSite registry from which it was originally exported or to a different CentraSite registry.
To import an API
1. In CentraSite Control, go to Asset Catalog > Browse.
2. Click the Import button. This activates the import dialog.
a. In the field Import as, select Archive from the drop-down list. When you select this option, the layout of the wizard changes to show just the fields that are required for importing an archive.
b. In the field File, supply the name of the file that contains the archive.
c. Click Finish. The Import Preview page is now displayed.
If the archive you wish to import was created with CentraSite 8.2 or earlier, the Import Preview page is not available. In this case, when you click Finish, the import operation continues with the Import Options dialog in step 4.
3. The Import Preview page displays the names of the APIs contained in the export archive.
Additional options are available that allow you to choose how the imported objects will be created. To access these options, click Import Options.
4. In the Import Options dialog, set the following options:
Option
Description
Keep current organization / Assign new organization
When you import APIs, you can import them into the same organization in the target registry as in the source registry from which they were exported, or you can assign a new owning organization.
Choose Keep current organization to import the APIs into the same organization. The organization in the target registry must have the same name and UUID as in the source registry.
Choose Assign new organization to import the APIs into a new organization. If you choose this option, you can select the new organization via the Select Organization button.
Keep current owner / Assign new owner
The imported APIs can be assigned to the same owner as in the source registry, or you can assign a new owner.
Choose Keep current owner to assign the APIs objects to the same owner as in the source registry. The owner in the target registry must have the same name and UUID as in the source registry.
Choose Assign new owner to assign the imported APIs to a new owner. If you choose this option, you can select the new owner via the Select Owner button.
Keep lifecycle state
This option determines whether the lifecycle state of the imported APIs is preserved. Enable the option to retain the lifecycle state of the APIs being imported.
Allow replace of registry objects
Choose this option to specify that existing APIs with the same name in the target registry will be overwritten, even if the API in the archive is older than the one in the target registry.
5. Click OK to leave the Import Options dialog.
If you are importing an archive that was created with CentraSite 8.2 or earlier, the import now starts.
If you are importing an archive that was created after CentraSite 8.2, the Import Preview dialog is displayed again. Now click OK to start the import.
6. When the import operation completes, the import wizard informs you if the import was successful or if there were any errors.
You can click OK here to terminate the import wizard without viewing the import log.
*Alternatively, to see details of the APIs that were imported, the wizard offers you a link to view the import log. When you click this link, the import log lists each API and indicates whether or not it was successfully imported. The import log also lists the import status of any related objects that were contained in the archive.
In the import log view page, click OK to terminate the import wizard.
Copyright © 2005-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback