-
Notifications
You must be signed in to change notification settings - Fork 350
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
CLI for apiman to allow scripting/control/configuration from command line #321
Comments
Wow, this is some great work. I really like the command layout, it's very logical. This could be great for writing blogs and tutorials, too! Any idea of which license you're going to release it under? As an side, that |
Thanks @msavy - intending it to be Apache 2.0. Would that work for you? Agreed that |
Yeah we'd love to have this as part of apiman! One thing I should note, however, is that as of 1.2.x (the current master), we have renamed Service and Application. They are now referred to as "API" and "Client App", respectively. The management APIs have changed accordingly. So it might be useful (depending on what version of apiman you would like the CLI to initially target) to reflect the new names sooner rather than later. I know it can be a pain to do that after the fact (trust me :)). |
Also note: apache 2.0 is the ideal license. |
Hi @EricWittmann thanks for the heads-up about the change. I'll update the naming and URLs now and support the 1.1.9 URLs with a |
That'd be great! As for getting this CLI project contributed to apiman - how about we create an apiman/apiman-cli repository? Perhaps we can even move the repo you already have into the apiman github org. Then you can fork it and keep trucking. Thoughts? |
Probably best to move the current repo into the apiman github org. I've added the license and updated file headers. Dual support for 1.1.9 and 1.2.x is now in as well, using a flag. |
Awesome - I have sent you an invite to a new apiman team which will eventually allow you to transfer the repo into the apiman github org. Hopefully. :) |
Whenever you have some time to do the transfer, hop onto our IRC channel and track me down (ewittman): http://www.apiman.io/latest/chat.html I can set your permissions appropriately, we can do the transfer, and then I can flip them back. :) (no offense!) |
The project has now been transferred to https://github.com/apiman/apiman-cli |
Hi @EricWittmann @msavy,
I've been working on a CLI for apiman, so you can do things like this
Create a new service:
Add a gateway:
You can find the project at https://github.com/outofcoffee/apiman-cli
It uses the management API documented at http://www.apiman.io/latest/api-manager-restdocs.html to perform common operations such as:
Manage Gateways:
Manage Plugins:
Manage Organisations:
Manage Services:
Would you be interested in adopting this as part of the main project at some point?
Pete
The text was updated successfully, but these errors were encountered: