apigee / apigee/apigeetool-node

Deploying a new revisions causes a mismatched in the proxy revisions deployed

Open
#133 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
91
Forks
91
PR merge metrics
No merged PRs in 30d

Description

Steps to reproduce (using the tool):

  1. Create a new proxy
  2. Download the revision to your local machine
  3. Deploy a new revision to the proxy
  4. Undeploy your newly created revision 2.
  5. Revision 1 will still be active on at least 1 MP.

If you add a step, to undeploy the proxy first then deploy the next revision I think that works around the issue. I believe this issue stems from this feature:
Deploys an API proxy to Apigee Edge. If the proxy is currently deployed, it will be undeployed first, and the newly deployed proxy's revision number is incremented.

Here I think the app is not waiting long enough to deploy the next revision after undeploying the first one causing a mismatch of revisions on the MPs.

This is using the latest version of the tool (.90) with nodejs version 8.11.0.

I can only seem to reproduce this issue with this tool.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the deployment sequence with apigeetool .90 and Node.js 8.11.0: create a proxy, download a revision, deploy a new revision, then undeploy it and inspect the revisions active on each MP. Start by tracing the deploy path that undeploys an existing proxy before deploying the next revision; done means the proxy has consistent revisions across MPs without requiring a separate manual undeploy.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.