aboutsummaryrefslogtreecommitdiffstats
path: root/robot/assets/templates/dcaemod/compspec_without_config_volume.jinja
blob: 361a99342c35a7685b15cdc4097e3e3e7bc61274 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{"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": {
    "helm": {
      "service": {
      "type": "ClusterIP",
      "name": "{{comp_spec_name}}",
      "ports": [{
        "name": "http",
        "port": 80
         }]
       }
     },
    "healthcheck": {
      "type": "HTTP",
      "interval": "45s",
      "timeout": "15s",
      "port": 80,
      "endpoint": "/"
    },
    "ports": [
      "80:0",
      "99:0"
    ],
        "log_info": {
        "log_directory": "/opt/logs/test"
     },

    "tls_info":{
        "cert_directory":"/opt/app/dcae-certificate/",
        "use_tls": false,
        "use_external_tls": false
     }
  },
  "artifacts": [
    {
      "type": "docker image",
      "uri": "docker.io/nginx:latest"
    }
  ]
}
}