-
Notifications
You must be signed in to change notification settings - Fork 21
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
3scale - automate creation of management artifacts for external APIs #6
Comments
install 3scale toolbox https://github.com/3scale/3scale_toolbox#installation. Requires Ruby 2.3 and above
**If having issues installing 3scale toolbox, run CSV Test
set access token and 3scale admin URL What gets installed
OpenAPI Spec TestCreate your OpenAPI v 2.0 spec. We like Apicurio (https://www.apicur.io/). This can be run locally in a container or OpenShift. There is also a live SaaS version. Note that the toolbox only supports OpenAPI v2 Documentation for this mode can be found here - https://github.com/3scale/3scale_toolbox/blob/master/docs/openapi.md To import, set access token and 3scale URL What gets installed
ComparisonBoth imports are similar, however, the OpenAPI spec also includes the ActiveDoc documentation, while the csv is more flexible in defining metrics and methods. For the purposes of this demo, the OpenAPI spec probably serves us better as a the single source of truth We will still need to
TODOadd OpenAPI specfor this demo spec this repo |
Can this automate or have hooks for SSO integration too? Do you think it's more or less complex for newbs to understand than using the non-toolbox way? I actually build the API for the boards service using Apicurito. And then automate the endpoint creation using That's for the service API on the inside of the gateway. |
The external APIs for the microservices will be managed via 3scale. It would be helpful to automate the creation of the 3scale management artifacts for the external APIs. 3scale includes a toolbox, https://github.com/3scale/3scale_toolbox, to manage services via the command line.
Manage via OpenAPI spec
Using Apicurio, the external APIs can be created and pushed to the git repo.
Manage via a csv
The toolbox can generate the artifacts from the input source. Need to investigate which of these is more manageable and also generates more of the artifacts
Another alternative would be to write a script/playbook that uses the 3scale Management REST API to create all the management artifacts.
The text was updated successfully, but these errors were encountered: