In this blog I'd like to show you how to migrate Metadata from an ICS (Integration Cloud Service) instance to OIC (Oracle Integration Cloud) instance. Metadata that will be migrated includes the following:
The migration tool automates some of the below tasks that otherwise have to be done manually if using manual export and import:
Enabling Migration in OIC
A feature flag has to be enabled in OIC to import content into OIC as part of migration. To turn on the feature flag, open a Service Request with Oracle support.
Migration Lifecycle
High level steps that need to be performed for the migration:
Exporting the data from ICS
Export the data from an ICS environment using the below steps: (Please see the section "Exporting the data from OIC" for exporting from OIC)
Using administrator access, execute the export REST API. A sample is shown below using Postman REST client:
Export Request:
Construct the storage URL based on the configuration done within the storage service based on the format "https://swiftobjectstorage.region.oraclecloud.com/v1/tenancy/bucket" passing the storage credentials as well.
Check this link for more details on creating a storage bucket.
Response:
Checking status:
Checking the migration archive:
Importing the data into OIC
Import the data from into an OIC environment using the below steps:
The migration utility supports different modes for the import process
No | importActivateMode value | Description |
---|---|---|
1 | ImportOnly | This mode only imports the objects and doesn't activate integrations. Used in case a manual operation needs to be performed such as Adapter agent installation. |
2 | ImportActivate | This mode imports and activates all previously activated integrations. |
3 | ActivateOnly | This mode only activates previously activated integrations. |
Using administrator access, execute the import REST API. A sample is shown below using Postman REST client:
ImportOnly Request:
Construct the storage URL based on the configuration done within the storage service based on the format "https://swiftobjectstorage.region.oraclecloud.com/v1/tenancy/bucket" passing the storage credentials as well.
ImportActivate Request:
ActivateOnly Request:
Response:
Checking the import status:
Note: The jobId returned in the payload of the Import request is passed in as part of the resource, in the example below the jobId is "405"
Checking the migration report
The result of the migration import process can be checked using the below steps:
Migration report location:
Sample report:
Exporting the data from OIC
Export the data from an OIC environment using the below steps:
Using administrator access, execute the export REST API. A sample is shown below using Postman REST client:
Export Request:
Export Response:
Checking status: