- Run
mkdir -p /tmp/formulas && git clone git@github.com:shijinglu/asrc-yaml-examples.git /tmp/formulas/asrc-yaml-examples
- Run
mvn clean install
to build your application - Start application with
java -jar target/asrc-example-1.0-SNAPSHOT.jar server config.yml
- Get remote configuration with:
curl -X POST --header "Content-Type:application/json" 0.0.0.0:8080/user/getConfig \
--data '{"namespace":"overrides","context":{"PI":3.14,"NATURAL_CONSTANT_E":2.718,"first_name":"Alice","last_name":"Liddell","toggle_flag_on":true,"toggle_flag_off":false}}'
To see your applications health enter url http://localhost:8081/healthcheck