Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.
#Automation
In 10.11 release, we have introduced a new product called Developer Portal, which will replace the API Portal. This article will help you migrate your assets from API Portal 10.7 to Developer Portal 10.11.
The assets which are listed below can be migrated from API Portal 10.7 to Developer Portal 10.11,
The following limitations are applicable.
The following prerequisites should be taken care before proceeding with the migration.
Trigger the backup by invoking the REST endpoint as Administrator. The command below shows how to back up all modules. If you only want to migrate certain modules, specify only those modules on the command.
POST http://localhost:18101/abs/apirepository/migration/backup { "modules": ["User","Core","Collaboration","Analytic_Metrics","Analytic_Events"] }
You will see a progress “id” handle such as the following in the response:
{ "id": "fb0fda97-996d-4163-bbb0-b1ce6a7a2090", "_self": "/abs/apirepository/migration/status/fb0fda97-996d-4163-bbb0-b1ce6a7a2090" }
Check the status of the backup by invoking the following endpoint:
GET http://localhost:18101/abs/apirepository/migration/status/{id}
Check until the status returned is SUCCEEDED.
Download the backup archive file by invoking the REST endpoint as shown below, using the same “id”.
GET http://localhost:18101/abs/apirepository/migration/status/{id}/backup
The backup file will be created with .zip extension.
Follow these steps to restore the backup in Developer Portal.
If you have published APIs from the API Gateway, the following changes should be made in the API Gateway.
During status check of the backup action, if the returned status is “FAILED,” the partial backup file will be created in the following location, <Install_dir>\API_Portal\server\bin\work\work_apiportalbundle_s\base\temp On extraction of this zip, there will be the “core_result.pdf” file inside the “Core/backup.zip” location, which contains information about the total assets and failed assets in a summary format.
This article is part of the TECHniques newsletter blog - technical tips and tricks for the Software AG community. Subscribe to receive our quarterly updates or read the latest issue.