Do we have any build shell script to Create Organization Envirnment Virtual hosts etc

Hi Team,

I am going to create orgs, env, vhost on my on-premises apigee account and writing shell script for that using management API for automation. Do we have any pre-defined script already. ? If yes , Please give me link of that.

I know other way using silent configuration but I have to use shell scripts only

@Dino-at-Google

Thanks

0 3 390
3 REPLIES 3

I am not aware of any such shell script. But on Github Apigee has provided some sample proxies, which uses Shell script for deploying & invoking them. Have a look at them, you might get some idea.

https://github.com/apigee/api-platform-samples#deploying

https://docs.apigee.com/api-platform/deploy/deploying-proxies-command-line#configuringandrunningadep...

I had similar requirement to be able to export an organization structure and import it somewhere else.

This is utility I came up with:

https://github.com/yuriylesyuk/eco

In your case, you can skip export case, create desired .json file that would describe your org, envs, and vhosts and run an import command.