Previous blog: https://community.sap.com/t5/technology-blogs-by-members/sap-btp-integration-suite-deploy-undeploy-c...
This blog is to provide further details of config of the tool.
To be able to use the tool,
- Download the project from the BTP-Integration-Suite: GitHub - FatimaMel/BTP-Integration-Suite: BTP Integration Suite Community
- Create a deployUndeployConfigureTool.zip file with those file inside

- In SAP integration suite, upload the deployUndeployConfigureTool.zip file as type Integration Flow in a package

- Create in security material
- OAuth2 Client Credentials created earlier at step 2.b in Prerequises 'deployundeployapiproxy'
- User Credentials created earlier at step 3.b in Prerequises



- In configuration of the artifact, set the parameters:
- APIProxyURL with the domain URL
- CIDesignTime with the domain url of the deployment iflow, but remove '-rt' from the url

- deployundeployapiproxycred the name of OAuth2 Client Credentials
- deployundeployconfigusercred the name of User Credentials



- In Postman,
- Set the request as type Post with the URL gotten from the deployment of the iflow
- Set the Authorization with the deployundeployconfig credential created in prerequisites at step 1.c


JSON example:
- {
"Action":"DEPLOY",
"Artifacts":[
{
"Action":"CONFDEPLOY",
"Id":"ArtifactID",
"Parameters":[
{
"ParameterKey":"ParameterKey",
"ParameterValue":"ParameterValue"
}
]
}
],
"API":[
{
"Action":"DEPLOY",
"Id":"HelloWorldAPI"
}
]
}
- Performance of the iflow:
- For the deployment of 40 interfaces, it takes between 25.69s and 32.20s and the undeployment around 13.48s
- For the deployment of 200 interfaces, it takes between 1m53.47s and 2m9.54s and the undeployment around 1m2.70s