This project came about while performing and incremental re-write of an old API. The initial plan was to allow enablind/disabling proxying routes via an API. Said API never really materialized, but routing based on HTTP method and blue-green deployments have.
This project uses erlang.mk
make
make tests
Personally I like to run the tests on a loop while developing, so erlang.mk
's default
behaviour of not treating warnings (like unused variables) is annoying. To disable it
export MODE
env variable and set it to development
. TravisCI builds without this, so
there's a safety net.
You can use the published docker images or build the release yourself.
The image is published to docker rciorba/feature_flag_proxy.
The image will by default read the config from /rel/config.json
. To change that set
the FFP_CONFIG
environment variable.
TODO