apigee / apigee-deploy-maven-plugin

Apache License 2.0
80 stars 167 forks source link

Undeploying apiproxy #198

Closed konthamvivek closed 1 year ago

konthamvivek commented 1 year ago

while trying to undeploy apiproxy using below command in apigeeX/hybrid

mvn clean install apigee-enterprise:deploy -Phybrid-apiproxy -Dorg=$org -Denv=$env -Dbearer=$token

we are able to undeploy but the proxy is getting deleted entirely , we just only want to undeploy the deployed revision for respected api/sharedflow.

apigee hybrid/X deploy plugin version :2.1.0

below are added in profile of apiproxy in pom.xml

clean 5
ssvaidyanathan commented 1 year ago

As documented in the README - https://github.com/apigee/apigee-deploy-maven-plugin/tree/hybrid#to-delete-the-proxy-or-sharedflow-v203-or-later

The clean option is working as expected. Its meant to delete the proxy

The plugin today does not support just "undeploy" and never did

konthamvivek commented 1 year ago

can we expect these feature in next upcoming version ?

ssvaidyanathan commented 1 year ago

No - there is no plan. Why do you need it?

ssvaidyanathan commented 1 year ago

Closing as there are no details