-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
When importing an OpenAPI with:
$ 3scale import openapi -d nmasse-redhat -t test https://raw.githubusercontent.com/nmasse-itix/api-lifecycle/master/beer-catalog-demo/api-contracts/beer-catalog-api-swagger.json Created service id: 2555417802150, name: Beer Catalog API destroying all mapping rules Created GET /beer/{name}$ endpoint Created GET /beer/findByStatus/{status}$ endpoint Created GET /beer$ endpoint Service proxy updated
The service is created using the SaaS APIcast but there is no mean to specify a custom public staging/prod URL so that I could use my own APIcast instances.
Suggestion
The "3scale import openapi" command has two more optional parameters :
--staging-public-base-url=http://my-apicast-instance.mydomain.com:8080 --production-public-base-url=https://api.example.com
If one of those parameters (or both) are set, the service is configured "Self-managed APIcast" (3scale hosted) or "APIcast" (on-premises).
The two parameters are set on the proxy settings.
- blocks
-
THREESCALE-2742 Use 3scale toolbox to publish API on 3scale
- Closed