1.0.1 • Published 6 years ago

tree-gateway-migration v1.0.1

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

A Migration tool for old Tree Gateway configurations.

npm install -g tree-gateway-migration

And run the treeGatewayMigration command pointing to your old configuration files.

To convert all API yaml files under a specific folder run:

treeGatewayMigration --from 2 --to 3 --api ./myfolder/**/*.yaml

To convert the config files for the gateway, run:

treeGatewayMigration --from 2 --to 3 --gateway ./gateway.yaml

This tool supports, at the moment, only migrations between version 2 to 3.