apigee / apigee-deploy-maven-plugin

Apache License 2.0
80 stars 167 forks source link

Api proxy deployment error in Hybrid using Deploy maven plugin issue. #151

Closed swapna0211950 closed 3 years ago

swapna0211950 commented 3 years ago

We are implementing CICD for Apigee Hybrid. After the API proxy deployment the plugin is is trying to fetch the deployment status during which it is fetching false as response. Due to this the job is running in loop as plugin is expecting true as the response. Below is the response attached for reference.

Request prepared for the server


GET https://apigee.googleapis.com/v1/organizations/***************/environments/dev/apis/HealthCheck/revisions/10/deployments accept: [application/json] accept-encoding: [gzip] authorization: [Bearer [Not shown in log] [DEBUG] returning deployed status: false [INFO] Getting Deployment Info for Revision: 10 [INFO] Using the service account file to generate a token [DEBUG] Access Token [INFO]

We trriggered management API call to check the deployment status from CLI and we are seeing a proper response. Please let us know how can this issue be fixed.

ssvaidyanathan commented 3 years ago

@swapna0211950 - Please redact sensitive info (like tokens) in your posts or comments.

Which version of the plugin are you using? Can you try with the latest version (v2.0.4) if you are not using it already?

ssvaidyanathan commented 3 years ago

Closing this issue. If you still face issue, please re-open