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

More clarity into how to use apigeecli apis import #81

Closed
carlosmscabral opened this issue Sep 1, 2022 · 1 comment
Closed

More clarity into how to use apigeecli apis import #81

carlosmscabral opened this issue Sep 1, 2022 · 1 comment

Comments

@carlosmscabral
Copy link

Docs/help messages are vague in terms of how to use apigeecli apis import. Should we point to a folder with zip files? To folder with the apiproxy/ structure?

It is not clear.

If I issue this command:

apigeecli apis import -o $APIGEE_ORG -t $(gcloud auth print-access-token) --folder=./apiproxy

No errors are generated and no proxies get deployed whatsoever.

@srinandan
Copy link
Collaborator

This command is not to import a single proxy. It is meant to import many proxy bundles.

apigeecli apis import -o $ORG -t $TOKEN --folder=./proxies

The proxies folder must contain one or more proxy bundle zip files.

If you want to import a single proxy, try the apigeecli apis create command.

srinandan added a commit that referenced this issue Sep 1, 2022
srinandan added a commit that referenced this issue Sep 2, 2022
improve help and report error #81
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