- Create the config servers below
- Push the app to CF
- Observe app logs that it doesn't resolve propertis foo and bar
- Bind to
single-cfg-a
- Restage app
- Observe app logs only resolving property foo and not bar
- Unbind from
single-cfg-a
- Bind to
single-cfg-b
- Restage app
- Observe app logs only resolving property bar and not foo
- Unbind from
single-cfg-b
- Bind to
composite-cfg
- Restage app
- Observe app logs resolving both foo and bar
cf cs p.config-server standard single-cfg-a -c '{"git":{"uri": "https://github.com/NLxAROSA/composite-config-a", "periodic": true, "label":"main"}}'
cf cs p.config-server standard single-cfg-b -c '{"git":{"uri": "https://github.com/NLxAROSA/composite-config-b", "periodic": true, "label":"main"}}'
cf cs p.config-server standard composite-cfg -c '{"composite":[{ "type": "git", "uri": "https://github.com/NLxAROSA/composite-config-a", "periodic": true, "label":"main"}, {"type": "git", "uri": "https://github.com/NLxAROSA/composite-config-b", "periodic": true, "label":"main"}]}'