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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
|
{
"self": {
"component_type": "docker",
"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",
"name": "dcae.collectors.vcc.helloworld.pm",
"version": "1.0.1"
},
"services": {
"calls": [],
"provides": []
},
"streams": {
"publishes": [{
"config_key": "DCAE-HELLO-WORLD-PUB-DR",
"format": "dataformat_Hello_World_PM",
"type": "data_router",
"version": "1.0.0"
},
{
"config_key": "DCAE-HELLO-WORLD-PUB-MR",
"format": "dataformat_Hello_World_PM",
"type": "message_router",
"version": "1.0.0"
}
],
"subscribes": [{
"config_key": "DCAE-HELLO-WORLD-SUB-MR",
"format": "dataformat_Hello_World_PM",
"route": "/DCAE_HELLO_WORLD_SUB_MR",
"type": "message_router",
"version": "1.0.0"
},
{
"config_key": "DCAE-HELLO-WORLD-SUB-DR",
"format": "dataformat_Hello_World_PM",
"route": "/DCAE-HELLO-WORLD-SUB-DR",
"type": "data_router",
"version": "1.0.0"
}
]
},
"parameters":
[
{
"name": "vcc_hello_name",
"value": "fsdfa",
"description": "the name entered for specific person",
"sourced_at_deployment": true,
"designer_editable": true,
"policy_editable": false,
"type": "string"
},
{
"name": "useDtiConfig",
"value": false,
"description": "component depends on configuration from dti.",
"sourced_at_deployment": false,
"designer_editable": false,
"policy_editable": false,
"required" : true
},
{
"name": "isSelfServeComponent",
"value": false,
"description": "Is this used as self serve component.",
"sourced_at_deployment": false,
"designer_editable": false,
"policy_editable": false,
"required" : true,
"type": "string"
}
],
"auxilary": {
"healthcheck": {
"interval": "60s",
"timeout": "20s",
"script": "/opt/app/vcc/bin/common/HealthCheck_HelloWorld.sh",
"type": "docker"
},
"volumes": [
{
"container": {
"bind": "/opt/app/dcae-certificate"
},
"host": {
"path": "/opt/app/dcae-certificate"
}
},
{
"container": {
"bind": "/opt/logs/DCAE/dmd/AGENT"
},
"host": {
"path": "/opt/logs/DCAE/helloworldpm/dmd/AGENT"
}
},
{
"container": {
"bind": "/opt/logs/DCAE/dmd/WATCHER"
},
"host": {
"path": "/opt/logs/DCAE/helloworldpm/dmd/WATCHER"
}
},
{
"container": {
"bind": "/opt/app/vcc/logs/DCAE"
},
"host": {
"path": "/opt/logs/DCAE/helloworldpm/vcc-logs"
}
},
{
"container": {
"bind": "/opt/app/vcc/archive/data"
},
"host": {
"path": "/opt/data/DCAE/helloworldpm/vcc-archive"
}
}
]
},
"artifacts": [{
"type": "docker image",
"uri": "dockercentral.it.att.com:5100/com.att.dcae.controller/dcae-controller-vcc-helloworld-pm:18.02-001"
}]
}
|