Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 565 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 565 Bytes

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.