Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import/Export to file #225

Closed
markphelps opened this issue Feb 8, 2020 · 1 comment · Fixed by #238
Closed

Import/Export to file #225

markphelps opened this issue Feb 8, 2020 · 1 comment · Fixed by #238
Assignees

Comments

@markphelps
Copy link
Collaborator

What

I'd like to be able to export all flags, variants, segments, constraints and rules to a file (YAML/TOML/your favorite ML).

This would allow storing all configuration in source control as well as provide a simple way to backup data.

I'd also like to be able to import previously exported data

I'm thinking this would require two new commands flipt import and flipt export with options for the file name and type (yaml/toml/json/etc).

Open Questions:

  1. What to do when there is conflicting data/data already exists during import?

It could make sense to add an option to drop all existing data before importing by providing a -drop or -delete option such as https://github.com/Unleash/unleash/blob/master/docs/import-export.md

@markphelps markphelps self-assigned this Feb 8, 2020
@markphelps
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant