canvas-lms/docker-compose
Ethan Vizitei be9244a47c add feature flag and dynamic config for RCE service
refs CNVS-24816

create the feature flag and expose it in
the Eportfolios controller

Add a consul docker container to docker-compose.yml,
and a class for consuming settings in consul.

Also, add the ability to init config values
into consul from the consul.yml file

TEST PLAN:
1) edit your consul.yml to look kinda like this:

development:
  host: consul
  port: 8500
  ssl: false
  init_values:
    rich-content-service:
      app-host: rce.docker
      cdn-host: rce.docker

2) go to edit an eportfolio as a logged in user
3) check in js console "ENV.RICH_CONTENT_SERVICE_ENABLED"
4) should be "true" or "false" depending on the feature
flag state for that user's root account
5) with the feature flag on, refresh and check the env
6) should have values in the env for
RICH_CONTENT_APP_HOST and RICH_CONTENT_CDN_HOST

Change-Id: Ic138e24416b2aadd965ce4811d3c56538de391bc
Reviewed-on: https://gerrit.instructure.com/66614
Tested-by: Jenkins
Reviewed-by: Simon Williams <simon@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Ethan Vizitei <evizitei@instructure.com>
2015-12-02 20:32:42 +00:00
..
config docker-compose based dev environment 2015-03-30 20:59:48 +00:00
consul add feature flag and dynamic config for RCE service 2015-12-02 20:32:42 +00:00
karma use web pack 2015-11-02 16:27:14 +00:00
kinesalite my kinesis won't start without this 2015-08-04 22:31:01 +00:00
seleniumff spec: ensure we wait for a new page load when doing a get 2015-05-02 13:21:05 +00:00
Dockerfile Dockerfile: Bump version of bundler 2015-11-12 03:52:41 +00:00