Tuesday, August 5, 2025

#1078 OIC Project Deployments

Here I demo deployments between 2 OIC instances.

Starting point is the following project in Instance A -

I export - 

I import into Instance B -

The integration just needs to be activated.

I activate, then return to the project in Instance A. Here I add a second integration -

I create a new deployment - 

I export and import - 


Now back to Instance A. I need to make a change to the validateOrder integration -


I import V3 into Instance B - 

Here I can activate validateOrder 1.1.0 -

Back in Instance A, I edit billCustomer, however, I don't create a new version - 


I export V3 again - 

I now attempt to import in Instance B -

Now this makes sense. I've 2 options here -

  1. delete the deployment in Instance B and then do the import
  2. create a new deployment in Instance A
I create a new deployment in Instance A and export/import -

I then check out the billCustomer integration -

Note, it has not been overwritten in Instance B.

Net, net - the logic here is don't overwrite an existing integration, with the same version number.

Export / Import with the REST API

I'm back in Instance A and have deleted all the deployments in my project -

I still have the integrations - 

I can do an export of the project as follows - 

I don't select any deployment, as I don't have any - 

The relevant REST api is - 

Note, I can download and save the .car file from Postman.

I add a deployment to the project - 

Let's export this deployment - 


Note the payload - 

{"type":"DEVELOPED",
"label":"V1"}




 
























 





 

No comments: