Skip to content

dvnrsn/toggle-meister

Folders and files

NameName
Last commit message
Last commit date
Feb 17, 2017
Oct 25, 2016
Sep 5, 2018
Sep 22, 2017
May 19, 2016
Sep 4, 2018
Aug 26, 2016
Sep 4, 2018
Jul 25, 2016
Aug 23, 2016
Jun 5, 2018
Feb 26, 2018
May 18, 2016
Oct 6, 2016
Sep 4, 2018
Oct 4, 2016
Sep 22, 2017
Oct 25, 2016

Repository files navigation

Toggle Meister!

Toggle-Meister is a Feature toggle service gone awesome.

Why Feature toggles as a service? When you have many micro services, sometimes a feature touches multiple services at a time. A single source of truth is needed so that features can be released all at once across services.

The main goal of this project is to provide a feature-toggle service that doesnt suck by focusing on a couple key principles

  • Do not allow customer based toggles
  • Customer toggles get out of hand and create an impossible test scenario
  • Toggles can only be switched on/off per environment, not per person
  • Toggles must be short lived.
  • After a toggle is stable on Production it needs to be removed from the codebase

A stretch goal of this project is also to provide "rolling releases" of features, a percentage of the users at a time.

Running

The easiest way to run is run

docker-compose up

If you have already ran it before, and there are some changes, you might have to type

docker-compose build
docker-compose up

current endpoints

http :8445/api/envs/Production/toggles

http :8445/api/toggles

http PATCH :8445/api/toggles toggle:='{"env": "Production", "feature": "foo", "state": "ON"}'

http :8445/api/features

http POST :8445/api/features name=test_feature

http DELETE :8445/api/features/test_feature

http :8445/api/envs

http POST :8445/api/envs name=my_env

http DELETE :8445/api/envs/my_env

http :8445/api/auditlog

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published