apigeetool-node icon indicating copy to clipboard operation
apigeetool-node copied to clipboard

Version 0.16.1 of PromiseSDK is missing the 'deployExistingRevision' method

Open abkullberg opened this issue 3 years ago • 1 comments

It appears that some methods were dropped from the returned PromiseSDK object when going from version 0.15.1 -> 0.16.1. Specifically the "deployExistingRevision" method appears to be gone.

Is this an intentional change in the API? Is there another method I should be using to replicate the functionality of "deployExistingRevision"?

My sample code:

const apigeetool = require('apigeetool');

const sdk = apigeetool.getPromiseSDK();

// 'deployExistingRevision' is listed when apigeetool 0.15.1 is used.
// 'deployExistingRevision' is absent when apigeetool 0.16.1 is used.
Object.getOwnPropertyNames(sdk).forEach(prop => console.log(prop));

abkullberg avatar Jun 15 '22 19:06 abkullberg

@DinoChiesa Just FYI, but I think the fix for this issue is pretty simple. I think all you need to do is add "deployExistingRevision" to the list of methods in the fns file

I'm not sure if dropping this method was intentional or not

abkullberg avatar Feb 27 '23 18:02 abkullberg