nhumrich / toggle-meister

Apache License 2.0
3 stars 1 forks source link

Add endpoint for comparing two envrionments #19

Closed nhumrich closed 7 years ago

nhumrich commented 7 years ago

Note: this PR is not intended to actually be merged. It is here for canopy interview purposes. Do not merge. If you are an interviewee, keep reading.

What this project does

This is a python micro service which allows canopy to use feature toggles in various environments, as-a-service. In other words, its a feature toggle service that manages states of features and environments and controls which features are live or not. This is a real project that canopy actually uses in production.

What the pull request adds

The changes in this pull request add a new endpoint that compares two environments and tells you the difference between the feature states in the two environments.

Instructions for interviewee

Look over this pull request before coming into the interview. You do not need to actually submit comments or a review on Github. Instead, just look over the code and come prepared to discuss how things could be improved and the overall code quality.

You should be able to see everything you need in the Files Changed tab, but if you'd like to explore the entire codebase, feel free to do so.