Add distributor api project
[dcaegen2/platform.git] / mod / distributorapi / tests / flow.json
1 {
2   "bucket": {
3     "allowBundleRedeploy": false,
4     "createdTimestamp": 1570196205153,
5     "identifier": "f645b971-f096-485c-9699-93a193d9c0fa",
6     "link": {
7       "href": "buckets/f645b971-f096-485c-9699-93a193d9c0fa",
8       "params": {
9         "rel": "self"
10       }
11     },
12     "name": "Demos",
13     "permissions": {
14       "canDelete": true,
15       "canRead": true,
16       "canWrite": true
17     }
18   },
19   "flow": {
20     "bucketIdentifier": "f645b971-f096-485c-9699-93a193d9c0fa",
21     "bucketName": "Demos",
22     "createdTimestamp": 1570589769648,
23     "description": "",
24     "identifier": "ddec92e2-97c3-4b41-80d7-fd38bbf5bb69",
25     "link": {
26       "href": "buckets/f645b971-f096-485c-9699-93a193d9c0fa/flows/ddec92e2-97c3-4b41-80d7-fd38bbf5bb69",
27       "params": {
28         "rel": "self"
29       }
30     },
31     "modifiedTimestamp": 1570673258622,
32     "name": "work-in-progress",
33     "type": "Flow",
34     "versionCount": 4
35   },
36   "flowContents": {
37     "comments": "",
38     "componentType": "PROCESS_GROUP",
39     "connections": [
40       {
41         "backPressureDataSizeThreshold": "1 GB",
42         "backPressureObjectThreshold": 10000,
43         "bends": [],
44         "componentType": "CONNECTION",
45         "destination": {
46           "comments": "",
47           "groupId": "07fc9b5e-bbcd-3487-aded-eeced74fdfaa",
48           "id": "a8134467-b4b4-348f-8a1c-8d732fe4fcad",
49           "name": "AnomalyDetector",
50           "type": "PROCESSOR"
51         },
52         "flowFileExpiration": "0 sec",
53         "groupIdentifier": "07fc9b5e-bbcd-3487-aded-eeced74fdfaa",
54         "identifier": "04ab8849-858d-36d5-b7cf-40da26051759",
55         "labelIndex": 1,
56         "loadBalanceCompression": "DO_NOT_COMPRESS",
57         "loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
58         "name": "foo-conn",
59         "partitioningAttribute": "",
60         "prioritizers": [],
61         "selectedRelationships": [
62           "publishes:ves_specification:7.30.1:message router:ves-pnfRegistration-secondary",
63           "subscribes:predictin:1.0.0:message_router:predict_subscriber"
64         ],
65         "source": {
66           "comments": "",
67           "groupId": "07fc9b5e-bbcd-3487-aded-eeced74fdfaa",
68           "id": "3a0b5a44-f262-3836-93d5-dfe45fd90996",
69           "name": "DcaeVesCollector",
70           "type": "PROCESSOR"
71         },
72         "zIndex": 0
73       },
74       {
75         "backPressureDataSizeThreshold": "1 GB",
76         "backPressureObjectThreshold": 10000,
77         "bends": [],
78         "componentType": "CONNECTION",
79         "destination": {
80           "comments": "",
81           "groupId": "07fc9b5e-bbcd-3487-aded-eeced74fdfaa",
82           "id": "3a0b5a44-f262-3836-93d5-dfe45fd90996",
83           "name": "DcaeVesCollector",
84           "type": "PROCESSOR"
85         },
86         "flowFileExpiration": "0 sec",
87         "groupIdentifier": "07fc9b5e-bbcd-3487-aded-eeced74fdfaa",
88         "identifier": "c7c62954-ae06-388c-a6d9-a24243b51bea",
89         "labelIndex": 1,
90         "loadBalanceCompression": "DO_NOT_COMPRESS",
91         "loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
92         "name": "ves-data-conn",
93         "partitioningAttribute": "",
94         "prioritizers": [],
95         "selectedRelationships": [
96           "subscribes:ves_specification:7.30.1:message router:ves-notification"
97         ],
98         "source": {
99           "comments": "",
100           "groupId": "07fc9b5e-bbcd-3487-aded-eeced74fdfaa",
101           "id": "58629a8a-e813-3bb3-ac2d-7ce2f4abf604",
102           "name": "ves-notification",
103           "type": "INPUT_PORT"
104         },
105         "zIndex": 0
106       }
107     ],
108     "controllerServices": [],
109     "funnels": [],
110     "identifier": "07fc9b5e-bbcd-3487-aded-eeced74fdfaa",
111     "inputPorts": [
112       {
113         "allowRemoteAccess": false,
114         "comments": "",
115         "componentType": "INPUT_PORT",
116         "concurrentlySchedulableTaskCount": 1,
117         "groupIdentifier": "07fc9b5e-bbcd-3487-aded-eeced74fdfaa",
118         "identifier": "58629a8a-e813-3bb3-ac2d-7ce2f4abf604",
119         "name": "ves-notification",
120         "position": {
121           "x": 1168.5,
122           "y": 544.5
123         },
124         "type": "INPUT_PORT"
125       }
126     ],
127     "labels": [],
128     "name": "test",
129     "outputPorts": [],
130     "position": {
131       "x": 826,
132       "y": 301
133     },
134     "processGroups": [],
135     "processors": [
136       {
137         "autoTerminatedRelationships": [],
138         "bulletinLevel": "WARN",
139         "bundle": {
140           "artifact": "anomaly-detector",
141           "group": "org.onap.dcae",
142           "version": "1.0.0"
143         },
144         "comments": "",
145         "componentType": "PROCESSOR",
146         "concurrentlySchedulableTaskCount": 1,
147         "executionNode": "ALL",
148         "groupIdentifier": "07fc9b5e-bbcd-3487-aded-eeced74fdfaa",
149         "identifier": "a8134467-b4b4-348f-8a1c-8d732fe4fcad",
150         "name": "AnomalyDetector",
151         "penaltyDuration": "30 sec",
152         "position": {
153           "x": 2410,
154           "y": 824
155         },
156         "properties": {},
157         "propertyDescriptors": {},
158         "runDurationMillis": 0,
159         "schedulingPeriod": "0 sec",
160         "schedulingStrategy": "TIMER_DRIVEN",
161         "style": {},
162         "type": "org.onap.dcae.AnomalyDetector",
163         "yieldDuration": "1 sec"
164       },
165       {
166         "autoTerminatedRelationships": [],
167         "bulletinLevel": "WARN",
168         "bundle": {
169           "artifact": "dcae-ves-collector",
170           "group": "org.onap.dcae",
171           "version": "1.5.0"
172         },
173         "comments": "",
174         "componentType": "PROCESSOR",
175         "concurrentlySchedulableTaskCount": 1,
176         "executionNode": "ALL",
177         "groupIdentifier": "07fc9b5e-bbcd-3487-aded-eeced74fdfaa",
178         "identifier": "3a0b5a44-f262-3836-93d5-dfe45fd90996",
179         "name": "DcaeVesCollector",
180         "penaltyDuration": "30 sec",
181         "position": {
182           "x": 1500,
183           "y": 690
184         },
185         "properties": {
186           "collector.keystore.passwordfile": "/opt/app/dcae-certificate/.password",
187           "event.transform.flag": "1",
188           "collector.service.port": "8080",
189           "collector.schema.checkflag": "1",
190           "tomcat.maxthreads": "200",
191           "collector.truststore.passwordfile": "/opt/app/dcae-certificate/.trustpassword",
192           "header.authlist": "sample1,$2a$10$pgjaxDzSuc6XVFEeqvxQ5u90DKJnM/u7TJTcinAlFJVaavXMWf/Zi|userid1,$2a$10$61gNubgJJl9lh3nvQvY9X.x4e5ETWJJ7ao7ZhJEvmfJigov26Z6uq|userid2,$2a$10$G52y/3uhuhWAMy.bx9Se8uzWinmbJa.dlm1LW6bYPdPkkywLDPLiy",
193           "collector.service.secure.port": "8443",
194           "collector.keystore.file.location": "/opt/app/dcae-certificate/keystore.jks",
195           "collector.dmaap.streamid": "fault=ves-fault,ves-fault-secondary|syslog=ves-syslog,ves-syslog-secondary|heartbeat=ves-heartbeat,ves-heartbeat-secondary|measurementsForVfScaling=ves-measurement,ves-measurement-secondary|mobileFlow=ves-mobileflow,ves-mobileflow-secondary|other=ves-other,ves-other-secondary|stateChange=ves-statechange,ves-statechange-secondary|thresholdCrossingAlert=ves-thresholdCrossingAlert,ves-thresholdCrossingAlert-secondary|voiceQuality=ves-voicequality,ves-voicequality-secondary|sipSignaling=ves-sipsignaling,ves-sipsignaling-secondary|notification=ves-notification,ves-notification-secondary|pnfRegistration=ves-pnfRegistration,ves-pnfRegistration-secondary",
196           "collector.schema.file": "{\"v1\":\"./etc/CommonEventFormat_27.2.json\",\"v2\":\"./etc/CommonEventFormat_27.2.json\",\"v3\":\"./etc/CommonEventFormat_27.2.json\",\"v4\":\"./etc/CommonEventFormat_27.2.json\",\"v5\":\"./etc/CommonEventFormat_28.4.1.json\",\"v7\":\"./etc/CommonEventFormat_30.json\"}",
197           "auth.method": "noAuth",
198           "collector.truststore.file.location": "/opt/app/dcae-certificate/truststore.jks"
199         },
200         "propertyDescriptors": {
201           "collector.keystore.passwordfile": {
202             "displayName": "collector.keystore.passwordfile",
203             "identifiesControllerService": false,
204             "name": "collector.keystore.passwordfile",
205             "sensitive": false
206           },
207           "event.transform.flag": {
208             "displayName": "event.transform.flag",
209             "identifiesControllerService": false,
210             "name": "event.transform.flag",
211             "sensitive": false
212           },
213           "collector.service.port": {
214             "displayName": "collector.service.port",
215             "identifiesControllerService": false,
216             "name": "collector.service.port",
217             "sensitive": false
218           },
219           "collector.schema.checkflag": {
220             "displayName": "collector.schema.checkflag",
221             "identifiesControllerService": false,
222             "name": "collector.schema.checkflag",
223             "sensitive": false
224           },
225           "tomcat.maxthreads": {
226             "displayName": "tomcat.maxthreads",
227             "identifiesControllerService": false,
228             "name": "tomcat.maxthreads",
229             "sensitive": false
230           },
231           "collector.truststore.passwordfile": {
232             "displayName": "collector.truststore.passwordfile",
233             "identifiesControllerService": false,
234             "name": "collector.truststore.passwordfile",
235             "sensitive": false
236           },
237           "header.authlist": {
238             "displayName": "header.authlist",
239             "identifiesControllerService": false,
240             "name": "header.authlist",
241             "sensitive": false
242           },
243           "collector.service.secure.port": {
244             "displayName": "collector.service.secure.port",
245             "identifiesControllerService": false,
246             "name": "collector.service.secure.port",
247             "sensitive": false
248           },
249           "collector.keystore.file.location": {
250             "displayName": "collector.keystore.file.location",
251             "identifiesControllerService": false,
252             "name": "collector.keystore.file.location",
253             "sensitive": false
254           },
255           "collector.dmaap.streamid": {
256             "displayName": "collector.dmaap.streamid",
257             "identifiesControllerService": false,
258             "name": "collector.dmaap.streamid",
259             "sensitive": false
260           },
261           "collector.schema.file": {
262             "displayName": "collector.schema.file",
263             "identifiesControllerService": false,
264             "name": "collector.schema.file",
265             "sensitive": false
266           },
267           "auth.method": {
268             "displayName": "auth.method",
269             "identifiesControllerService": false,
270             "name": "auth.method",
271             "sensitive": false
272           },
273           "collector.truststore.file.location": {
274             "displayName": "collector.truststore.file.location",
275             "identifiesControllerService": false,
276             "name": "collector.truststore.file.location",
277             "sensitive": false
278           }
279         },
280         "runDurationMillis": 0,
281         "schedulingPeriod": "0 sec",
282         "schedulingStrategy": "TIMER_DRIVEN",
283         "style": {},
284         "type": "org.onap.dcae.DcaeVesCollector",
285         "yieldDuration": "1 sec"
286       }
287     ],
288     "remoteProcessGroups": [],
289     "variables": {}
290   },
291   "snapshotMetadata": {
292     "author": "anonymous",
293     "bucketIdentifier": "f645b971-f096-485c-9699-93a193d9c0fa",
294     "comments": "",
295     "flowIdentifier": "ddec92e2-97c3-4b41-80d7-fd38bbf5bb69",
296     "link": {
297       "href": "buckets/f645b971-f096-485c-9699-93a193d9c0fa/flows/ddec92e2-97c3-4b41-80d7-fd38bbf5bb69/versions/4",
298       "params": {
299         "rel": "content"
300       }
301     },
302     "timestamp": 1570673258587,
303     "version": 4
304   }
305 }