summaryrefslogtreecommitdiffstats
path: root/mod/onboardingapi/resources/README.md
blob: d3619ea817a29d13a3d9e872b279f7ef03b9143b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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 <user>:<password> https://<your file server host>/dcae-cli/config.json --upload-file config.json
```

### Format

```
{
    "active_profile": <active profile option>,
    "db_url": <onboarding catalog database connection>
}
```

## `profiles.json`

To be used to distribute platform team approved environment profiles to end users of dcae-cli.

```
curl -v --user <user>:<password> https://<your file server host>/dcae-cli/profiles.json --upload-file profiles.json
```

### Format

```
{
    "env-name": {
        "docker_host": <docker hostname:port>,
        "cdap_broker": <cdap broker consul name>,
        "consul_host": <consul hostname>,
        "config_binding_service": <config binding service consul name>
    }
}
```