Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apigee X integration for apigeetool #203

Closed
fabien38 opened this issue Mar 4, 2021 · 2 comments
Closed

Apigee X integration for apigeetool #203

fabien38 opened this issue Mar 4, 2021 · 2 comments

Comments

@fabien38
Copy link

fabien38 commented Mar 4, 2021

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
Copy link
Collaborator

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.

  • the API for proxy import/upload is different.
  • the responses for some of the APIs are different
  • There are new features in X not supported by apigeetool
  • the KVM API is very different
  • there are features in Edge supported by apigeetool but not available in X/hybrid

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
Copy link
Collaborator

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 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants