integrate helm-chart-generator to runtime api
[dcaegen2/platform.git] / mod / runtimeapi / runtime-core / src / test / data / compspecs / componentSpec_hello_world_only_MR.json
1 {
2         "self": {
3                 "component_type": "docker",
4                 "description": "Hello World mS for subscribing the data from local DMaaP, DR or MR, processing them and publishing them as PM files to local DMaaP DR",
5                 "name": "dcae-collectors-vcc-helloworld-pm",
6                 "version": "1.0.1"
7         },
8         
9         "services": {
10                 "calls": [],
11                 "provides": []
12         },
13         
14         "streams": {
15                 "publishes": [
16                         {
17                                 "config_key": "DCAE-HELLO-WORLD-PUB-MR",
18                                 "format": "dataformat_Hello_World_PM",
19                                 "type": "message_router",
20                                 "version": "1.0.0"
21                         }
22                 ],
23
24                 "subscribes": [{
25                                 "config_key": "DCAE-HELLO-WORLD-SUB-MR",
26                                 "format": "dataformat_Hello_World_PM",
27                                 "route": "/DCAE_HELLO_WORLD_SUB_MR",
28                                 "type": "message_router",
29                                 "version": "1.0.0"
30                         }
31                 ]
32         },
33         
34     "parameters": 
35     [
36         {
37             "name": "vcc_hello_name",
38             "value": "",
39             "type": "string",
40             "description": "the name entered for specific person",
41                         "sourced_at_deployment": true,
42                         "designer_editable": false,
43                         "policy_editable": false            
44         },
45         
46         {
47                         "name": "useDtiConfig",
48                         "value": false,
49                         "type": "boolean",
50                         "description": "component depends on configuration from dti.",
51                         "sourced_at_deployment": false,
52                         "designer_editable": true,
53                         "policy_editable": false,
54                          "required" : true
55                 },
56
57                 {
58                         "name": "isSelfServeComponent",
59                         "value": false,
60                         "type": "boolean",
61                         "description": "Is this used as self serve component.",
62                         "sourced_at_deployment": false,
63                         "designer_editable": true,
64                         "policy_editable": false,
65                         "required" : true
66                 }
67     ],
68
69         "auxilary": {
70                 "healthcheck": {
71                         "interval": "60s",
72                         "timeout": "20s",
73                         "script": "/opt/app/vcc/bin/common/HealthCheck_HelloWorld.sh",
74                         "type": "docker"
75                 },
76                 
77                 "volumes": [
78                 {
79                         "container": {
80                         "bind": "/opt/app/dcae-certificate"
81                         },
82                         "host": {
83                                 "path": "/opt/app/dcae-certificate"
84                         }
85                 },
86                 {
87                         "container": {
88                         "bind": "/opt/logs/DCAE/dmd/AGENT"
89                         },
90                         "host": {
91                                 "path": "/opt/logs/DCAE/helloworldpm/dmd/AGENT"
92                         }
93                 },
94                 {
95                         "container": {
96                         "bind": "/opt/logs/DCAE/dmd/WATCHER"
97                         },
98                         "host": {
99                                 "path": "/opt/logs/DCAE/helloworldpm/dmd/WATCHER"
100                         }
101                 },
102                 {
103                         "container": {
104                         "bind": "/opt/app/vcc/logs/DCAE"
105                         },
106                         "host": {
107                                 "path": "/opt/logs/DCAE/helloworldpm/vcc-logs"
108                         }
109                 },
110                 {
111                         "container": {
112                         "bind": "/opt/app/vcc/archive/data"
113                         },
114                         "host": {
115                                 "path": "/opt/data/DCAE/helloworldpm/vcc-archive"
116                         }
117                 }
118                 
119         ]        
120     },
121     
122     "artifacts": [{
123                 "type": "docker image",
124                 "uri": "dcae-controller-vcc-helloworld-pm:18.02-001"
125         }]      
126 }