[DCAEGEN2] Vulnerability addressal for TCAgen2
[dcaegen2/analytics/tca-gen2.git] / dcae-analytics / dpo / tcagen2-componentspec-v3.json
1 {
2   "self": {
3     "name": "dcae-tcagen2",
4     "version": "1.3.2",
5     "description": "TCAGen2 Docker Application",
6     "component_type": "docker"
7   },
8   "streams": {
9     "subscribes": [
10       {
11         "config_key": "tca_handle_in",
12         "format": "VES_specification",
13         "version": "5.28.4",
14         "type": "message_router"
15       }
16     ],
17     "publishes": [
18       {
19         "config_key": "tca_handle_out",
20         "format": "DCAE_CL_Output",
21         "version": "1.0.1",
22         "type": "message_router"
23       }
24     ]
25   },
26   "services": {
27     "calls": [
28       {
29         "config_key": "aai_broker_handle",
30         "verb": "GET",
31         "request": {
32           "format": "tca.aai",
33           "version": "1.0.0"
34         },
35         "response": {
36           "format": "tca.aai",
37           "version": "1.0.0"
38         }
39       }
40     ],
41     "provides": []
42   },
43   "auxilary": {
44     "helm": {
45       "service": {
46         "type": "ClusterIP",
47         "name": "dcae-tcagen2",
48         "ports": [
49          {
50             "name": "http",
51             "port": 9091
52          }
53         ]
54       }
55     },
56     "healthcheck": {
57       "type": "HTTP",
58       "interval": "30s",
59       "timeout": "10s",
60       "port": 9091,
61       "endpoint": "/actuator/health"
62     },
63     "ports": [
64       "9091:0"
65     ],
66     "log_info": {
67         "log_directory": "/opt/logs/dcae-analytics-tca"
68      },
69     "tls_info":{
70         "cert_directory":"/opt/app/dcae-certificate/",
71         "use_tls":true
72      }
73   },
74   "artifacts": [
75     {
76       "uri": "onap/org.onap.dcaegen2.analytics.tca-gen2.dcae-analytics-tca-web:1.3.2",
77       "type": "docker image"
78     }
79   ],
80   "parameters": [
81     {
82       "name": "spring.data.mongodb.uri",
83       "value": "mongodb://dcae-mongohost/dcae-tcagen2",
84       "description": "Mongodb database uri",
85       "designer_editable": true,
86       "sourced_at_deployment": true,
87       "policy_editable": false,
88       "type": "string",
89       "required": true
90     },
91     {
92       "name": "streams_publishes",
93       "value": "{\"tca_handle_out\":{\"dmaap_info\":{\"topic_url\":\"http:\/\/message-router:3904\/events\/unauthenticated.DCAE_CL_OUTPUT\"},\"type\":\"message_router\"}}",
94       "description": "standard http port collector will open for listening;",
95       "sourced_at_deployment": false,
96       "policy_editable": false,
97       "designer_editable": false
98     },
99     {
100       "name": "streams_subscribes",
101       "value": "{\"tca_handle_in\":{\"dmaap_info\":{\"topic_url\":\"http:\/\/message-router:3904\/events\/unauthenticated.VES_MEASUREMENT_OUTPUT\"},\"type\":\"message_router\"}}",
102       "description": "standard http port collector will open for listening;",
103       "sourced_at_deployment": false,
104       "policy_editable": false,
105       "designer_editable": false
106     },
107     {
108       "name": "tca.policy",
109       "value" : "{\"domain\":\"measurementsForVfScaling\",\"metricsPerEventName\":[{\"eventName\":\"vFirewallBroadcastPackets\",\"controlLoopSchemaType\":\"VM\",\"policyScope\":\"DCAE\",\"policyName\":\"DCAE.Config_tca-hi-lo\",\"policyVersion\":\"v0.0.1\",\"thresholds\":[{\"closedLoopControlName\":\"ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta\",\"thresholdValue\":300,\"direction\":\"LESS_OR_EQUAL\",\"severity\":\"MAJOR\",\"closedLoopEventStatus\":\"ONSET\"},{\"closedLoopControlName\":\"ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta\",\"thresholdValue\":700,\"direction\":\"GREATER_OR_EQUAL\",\"severity\":\"CRITICAL\",\"closedLoopEventStatus\":\"ONSET\"}]},{\"eventName\":\"vLoadBalancer\",\"controlLoopSchemaType\":\"VM\",\"policyScope\":\"DCAE\",\"policyName\":\"DCAE.Config_tca-hi-lo\",\"policyVersion\":\"v0.0.1\",\"thresholds\":[{\"closedLoopControlName\":\"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta\",\"thresholdValue\":300,\"direction\":\"GREATER_OR_EQUAL\",\"severity\":\"CRITICAL\",\"closedLoopEventStatus\":\"ONSET\"}]},{\"eventName\":\"Measurement_vGMUX\",\"controlLoopSchemaType\":\"VNF\",\"policyScope\":\"DCAE\",\"policyName\":\"DCAE.Config_tca-hi-lo\",\"policyVersion\":\"v0.0.1\",\"thresholds\":[{\"closedLoopControlName\":\"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value\",\"thresholdValue\":0,\"direction\":\"EQUAL\",\"severity\":\"MAJOR\",\"closedLoopEventStatus\":\"ABATED\"},{\"closedLoopControlName\":\"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value\",\"thresholdValue\":0,\"direction\":\"GREATER\",\"severity\":\"CRITICAL\",\"closedLoopEventStatus\":\"ONSET\"}]}]}",
110       "description": "Threshold Crossing Alert Policy JSON as string",
111       "designer_editable": false,
112       "sourced_at_deployment": false,
113       "policy_editable": true,
114       "type": "string",
115       "required": true
116     },
117     {
118       "name": "tca.processing_batch_size",
119       "value": 10000,
120       "description": "Batch size for TCA Application Transaction",
121       "designer_editable": true,
122       "sourced_at_deployment": false,
123       "policy_editable": false,
124       "type": "number",
125       "required": false
126     },
127     {
128       "name": "tca.enable_abatement",
129       "value": true,
130       "description": "Enables / Disables TCA Alerts Abatement",
131       "designer_editable": true,
132       "sourced_at_deployment": false,
133       "policy_editable": false,
134       "type": "boolean",
135       "required": false
136     },
137     {
138       "name": "tca.enable_ecomp_logging",
139       "value": true,
140       "description": "Enables / Disables ECOMP Logging",
141       "designer_editable": true,
142       "sourced_at_deployment": false,
143       "policy_editable": false,
144       "type": "boolean",
145       "required": false
146     },
147     {
148       "name": "tca.aai.enable_enrichment",
149       "value": true,
150       "description": "Enables / Disables TCA A&AI Enrichment",
151       "designer_editable": true,
152       "sourced_at_deployment": true,
153       "policy_editable": false,
154       "type": "boolean",
155       "required": false
156     },
157     {
158       "name": "tca.aai.url",
159       "value": "http://aai.onap.svc.cluster.local",
160       "description": "A&AI Enrichment Service URL. Required only if A&AI Enrichment is enabled",
161       "designer_editable": true,
162       "sourced_at_deployment": true,
163       "policy_editable": false,
164       "type": "string",
165       "required": false
166     },
167     {
168       "name": "tca.aai.username",
169       "value": "DCAE",
170       "description": "A&AI Enrichment Service basic authentication user name",
171       "designer_editable": true,
172       "sourced_at_deployment": true,
173       "policy_editable": false,
174       "type": "string",
175       "required": false
176     },
177     {
178       "name": "tca.aai.password",
179       "value": "DCAE",
180       "description": "A&AI Enrichment Service basic authentication user password",
181       "designer_editable": true,
182       "sourced_at_deployment": true,
183       "policy_editable": false,
184       "type": "string",
185       "required": false
186     },
187     {
188       "name": "tca.aai.generic_vnf_path",
189       "value": "aai/v11/network/generic-vnfs/generic-vnf",
190       "description": "A&AI Enrichment Service VNF query endpoint path",
191       "designer_editable": true,
192       "sourced_at_deployment": false,
193       "policy_editable": false,
194       "type": "string",
195       "required": false
196     },
197     {
198       "name": "tca.aai.node_query_path",
199       "value": "aai/v11/search/nodes-query",
200       "description": "A&AI Enrichment Service Node query endpoint path",
201       "designer_editable": true,
202       "sourced_at_deployment": false,
203       "policy_editable": false,
204       "type": "string",
205       "required": false
206     },
207     {
208       "name": "streams_subscribes.tca_handle_in.consumer_group",
209       "value": "cg1",
210       "description": "Subscriber consumer group",
211       "designer_editable": true,
212       "sourced_at_deployment": false,
213       "policy_editable": false,
214       "type": "string",
215       "required": false
216     },
217     {
218       "name": "streams_subscribes.tca_handle_in.consumer_ids[0]",
219       "value": "c0",
220       "description": "Subscriber first consumer id",
221       "designer_editable": true,
222       "sourced_at_deployment": false,
223       "policy_editable": false,
224       "type": "string",
225       "required": false
226     },
227     {
228       "name": "streams_subscribes.tca_handle_in.consumer_ids[1]",
229       "value": "c1",
230       "description": "Subscriber second consumer id",
231       "designer_editable": true,
232       "sourced_at_deployment": false,
233       "policy_editable": false,
234       "type": "string",
235       "required": false
236     },
237     {
238       "name": "streams_subscribes.tca_handle_in.message_limit",
239       "value": 50000,
240       "description": "Maximum message fetched by TCA Subscriber",
241       "designer_editable": true,
242       "sourced_at_deployment": false,
243       "policy_editable": false,
244       "type": "number",
245       "required": true
246     },
247     {
248       "name": "streams_subscribes.tca_handle_in.timeout",
249       "value": -1,
250       "description": "Timeout for TCA Subscriber",
251       "designer_editable": true,
252       "sourced_at_deployment": false,
253       "policy_editable": false,
254       "type": "number",
255       "required": false
256     },
257     {
258       "name": "streams_subscribes.tca_handle_in.polling.fixed_rate",
259       "value": 0,
260       "description": "Subscriber fixed polling interval in milliseconds. Value of 0 indicated auto adjusting polling will be used",
261       "designer_editable": true,
262       "sourced_at_deployment": false,
263       "policy_editable": false,
264       "type": "number",
265       "required": false
266     },
267     {
268       "name": "streams_subscribes.tca_handle_in.polling.auto_adjusting.min",
269       "value": 30000,
270       "description": "Subscriber Auto Adjusting polling minimum interval in milliseconds",
271       "designer_editable": true,
272       "sourced_at_deployment": false,
273       "policy_editable": false,
274       "type": "number",
275       "required": false
276     },
277     {
278       "name": "streams_subscribes.tca_handle_in.polling.auto_adjusting.step_up",
279       "value": 10000,
280       "description": "Subscriber Auto Adjusting polling step up delta in milliseconds when message is not found",
281       "designer_editable": true,
282       "sourced_at_deployment": false,
283       "policy_editable": false,
284       "type": "number",
285       "required": false
286     },
287     {
288       "name": "streams_subscribes.tca_handle_in.polling.auto_adjusting.max",
289       "value": 60000,
290       "description": "Subscriber Auto Adjusting polling maximum interval in milliseconds",
291       "designer_editable": true,
292       "sourced_at_deployment": false,
293       "policy_editable": false,
294       "type": "number",
295       "required": false
296     },
297     {
298       "name": "streams_subscribes.tca_handle_in.polling.auto_adjusting.step_down",
299       "value": 30000,
300       "description": "Subscriber Auto Adjusting polling step down delta in milliseconds when message is found",
301       "designer_editable": true,
302       "sourced_at_deployment": false,
303       "policy_editable": false,
304       "type": "number",
305       "required": false
306     }
307   ]
308 }
309