apigee / apigeetool-node

"apigeetool" implementation in Node.js for managing Apigee Edge apps and proxies
MIT License
90 stars 90 forks source link

Apigee X integration for apigeetool #203

Closed fabien38 closed 11 months ago

fabien38 commented 3 years ago

apigeetool is not working with the embedded version of apigee inside google because the uri is not using the right paths for organizations

by default in all js file you use

var uri = util.format('%s/v1/ o /%s/apis?action=import&validate=false&name=%s', opts.baseuri, opts.organization, opts.api);

to build the uri whereas it should be var uri = util.format('%s/v1/ organizations /%s/apis?action=import&validate=false&name=%s', opts.baseuri, opts.organization, opts.api);

so replace "o" with "organizations" and it is not changing the way it works with apigee edge as apigee edge uses this organizations path as well

DinoChiesa commented 2 years ago

Ack. I know it's been more than a year since you filed this issue. You're right that apigeetool won't work with X/hybrid. The shape of the URL is one problem. There are others.

There may be other things I am not thinking of right now. So there would be a significant amount of work to enhance apigeetool to work with X/hybrid. At this time we do not have a resource plan to perform that work.

I'll keep the ticket open for now. We may re-prioritize and get some resource on this.

DinoChiesa commented 11 months ago

We will not update apigeetool for use with X and hybrid. You should use https://github.com/apigee/apigeecli/blob/main/docs/apigeecli.md with Apigee X and hybrid.

Closing this out .