apigee / apigee/apigeetool-node
Deploying a new revisions causes a mismatched in the proxy revisions deployed
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):
- Create a new proxy
- Download the revision to your local machine
- Deploy a new revision to the proxy
- Undeploy your newly created revision 2.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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