-
Notifications
You must be signed in to change notification settings - Fork 11
Replace promote command with swagger import #25
Comments
@schovi yeh, but instead of merging. with following command : & It works as expected. |
@rathonit1 this came from the discussion with @oonovak and as we mentioned elsewhere we want to transfer all command arguments into blueprint. |
@rathonit1 endpoint:
timeout: 10
methods:
- name: "Some method"
package:
name: "My new package"
plans:
- name: "My new plan"
# services: This does not makes sense when we are already in kontext of service
endpoints: "*"
methods: "*"
environment:
DEV:
name: *:DEV * # We can have globally replacer for all name properties ?
endpoint:
name: *: SPECIAL DEV *
publicDomain: dev.adidas.com
QA:
endpoint:
name: *:QA *
timeout: 5
publicDomain: qa.adidas.com
package: .... There are endless possibilities how to sew it together. We can do many assumptions like there will be just on plan in package etc.
|
@schovi , to make a note, we should include issues#19 in this release, to not delete anything in case swagger file changes, even with name and endpoints are not changed.. as we don't know which package is using particular endpoint.... |
Instead of workflow:
we can do:
then it can be called as
mashery-toolbet swagger-import swagger.yaml --blueprint="blueprint.yaml" --env="QA"
The text was updated successfully, but these errors were encountered: