Add dcae-cli and component-json-schemas projects
[dcaegen2/platform/cli.git] / dcae-cli / resources / README.md
1 # Resources
2
3 ## `config.json`
4
5 To be used to distribute backend configuration information like the onboarding database connection information to end users of dcae-cli.
6
7 ```
8 curl -v --user <user>:<password> https://<your file server host>/dcae-cli/config.json --upload-file config.json
9 ```
10
11 ### Format
12
13 ```
14 {
15     "active_profile": <active profile option>,
16     "db_url": <onboarding catalog database connection>
17 }
18 ```
19
20 ## `profiles.json`
21
22 To be used to distribute platform team approved environment profiles to end users of dcae-cli.
23
24 ```
25 curl -v --user <user>:<password> https://<your file server host>/dcae-cli/profiles.json --upload-file profiles.json
26 ```
27
28 ### Format
29
30 ```
31 {
32     "env-name": {
33         "docker_host": <docker hostname:port>,
34         "cdap_broker": <cdap broker consul name>,
35         "consul_host": <consul hostname>,
36         "config_binding_service": <config binding service consul name>
37     }
38 }
39 ```