aboutsummaryrefslogtreecommitdiffstats
path: root/robot/assets/templates/dcaemod/compspec_without_config_volume.jinja
blob: 45ac97fbdc49b0502ef91af1fdd2e1956db14efc (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
40
41
42
{"owner": "owner-name", "spec":
{
  "self": {
    "version": "1.0.0",
    "name": "{{comp_spec_name}}",
    "description": "Dummy DCAE app",
    "component_type": "docker"
  },
  "streams": {
    "subscribes": [],
    "publishes": []
  },
  "services": {
    "calls": [],
    "provides": []
  },
  "parameters": [],
  "auxilary": {
    "healthcheck": {
      "type": "docker",
      "interval": "300s",
      "timeout": "120s",
      "script": "service nginx status"
    },
    "ports": [
      "80:0",
      "99:0"
    ],
    "tls_info":{
        "cert_directory":"/opt/app/dcae-certificate/",
        "use_tls": false,
        "use_external_tls": false
     }
  },
  "artifacts": [
    {
      "type": "docker image",
      "uri": "docker.io/nginx:latest"
    }
  ]
}
}