From b86b42713a1fbfb1929bd5019aed7e5275b78d64 Mon Sep 17 00:00:00 2001 From: Michael Hwang Date: Thu, 24 Aug 2017 12:18:43 -0400 Subject: Add dcae-cli and component-json-schemas projects Change-Id: I2d920da7902bb5c1faf3d66173d62c942e9a19e9 Issue-Id: DCAEGEN2-50 Signed-off-by: Michael Hwang --- dcae-cli/resources/README.md | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 dcae-cli/resources/README.md (limited to 'dcae-cli/resources') diff --git a/dcae-cli/resources/README.md b/dcae-cli/resources/README.md new file mode 100644 index 0000000..d3619ea --- /dev/null +++ b/dcae-cli/resources/README.md @@ -0,0 +1,39 @@ +# Resources + +## `config.json` + +To be used to distribute backend configuration information like the onboarding database connection information to end users of dcae-cli. + +``` +curl -v --user : https:///dcae-cli/config.json --upload-file config.json +``` + +### Format + +``` +{ + "active_profile": , + "db_url": +} +``` + +## `profiles.json` + +To be used to distribute platform team approved environment profiles to end users of dcae-cli. + +``` +curl -v --user : https:///dcae-cli/profiles.json --upload-file profiles.json +``` + +### Format + +``` +{ + "env-name": { + "docker_host": , + "cdap_broker": , + "consul_host": , + "config_binding_service": + } +} +``` -- cgit 1.2.3-korg