Hi,
How I can store policies and other artifacts for Tyk into a source control repository like Git and how these can be deployed/promoted to different environments like DEV, TEST and PROD.
Cheers!
Hi,
How I can store policies and other artifacts for Tyk into a source control repository like Git and how these can be deployed/promoted to different environments like DEV, TEST and PROD.
Cheers!
Hi guaravve,
Yes, since all these artefacts are files you can do this with CE. With Pro / Dash you need to use the API to import and export them.
Otherwise you could wait for v2.3 where you can use our new Import / Export API
Thanks,
Kos @ Tyk Support Team
Hi Kos,
I am eagerly waiting for 2.3 in that case. Any release dates yet?
Have a few more questions:
Regards,
Gaurav
Hi Gaurav,
1.Currently is hard to export from CLI and there is no documentation for it.
2. Mongo manages data in its own way, so I suggest to use a Mongo client and explore the Tyk database. Some free tools you could possibly use is Robomongo which is desktop-based client, Humongous which is web-based client.
3.You don’t need to do it manually, as long as your cluster uses the same Redis/Mongo settings it will be fine.
v2.3 will be out soon!
Thanks,
Kos @ Tyk Support Team
Can you tell me where the files are located?
Hi Gauravve,
our product has different methods of handling the data depending on the edition.
Community Edition is file-based, it has policies and apps directories whereas in Pro edition (your case) Mongo is holding the information.
Thanks,
Kos @ Tyk Support Team