We are setting up jenkins CI/CD to deploy the apigee artificats ( configuration,products,apps, sharedflows and proxies ). Process is failing to deploy sharedflows because they are already part of flowhook not sure how to resolve this issue.
DELETE https://api.enterprise.apigee.com/v1/organizations/sdsdfsd-dev/environments/test-dev/sharedflows/asd... 15:09:52 accept: application/json 15:09:52
{ 15:09:52 "code" : "distribution.SharedFlowInUse", 15:09:52 "message" : "The Shared flow GetConfigParameters is in use by PreProxyFlowHook", 15:09:52 "contexts" : [ ]
Remove the sharedflow from the flowhook.
Then retry the delete.
hi @munimanjunath kalapati - Yes, for this, you will need to first delete the flowhooks configured, then do the deployment and then configure the flowhook back.
got it I think I will run a jenkin pipeline to delete all the flowhooks and run the maven build then install the flowhooks again
There is a way to deploy sharedflows with override.
Why not try that?
How to set the override using maven command while deploying sharedflow ? This looks cleaner approach.
Were you able to use maven plugin with override to address the issue?
Many Thanks