summaryrefslogtreecommitdiffstats
path: root/mod/distributorapi/tests/flow.json
blob: 63cf0f2172e3af8a4a149f45a88e29a2242930dc (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
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
{
  "bucket": {
    "allowBundleRedeploy": false,
    "createdTimestamp": 1570196205153,
    "identifier": "f645b971-f096-485c-9699-93a193d9c0fa",
    "link": {
      "href": "buckets/f645b971-f096-485c-9699-93a193d9c0fa",
      "params": {
        "rel": "self"
      }
    },
    "name": "Demos",
    "permissions": {
      "canDelete": true,
      "canRead": true,
      "canWrite": true
    }
  },
  "flow": {
    "bucketIdentifier": "f645b971-f096-485c-9699-93a193d9c0fa",
    "bucketName": "Demos",
    "createdTimestamp": 1570589769648,
    "description": "",
    "identifier": "ddec92e2-97c3-4b41-80d7-fd38bbf5bb69",
    "link": {
      "href": "buckets/f645b971-f096-485c-9699-93a193d9c0fa/flows/ddec92e2-97c3-4b41-80d7-fd38bbf5bb69",
      "params": {
        "rel": "self"
      }
    },
    "modifiedTimestamp": 1570673258622,
    "name": "work-in-progress",
    "type": "Flow",
    "versionCount": 4
  },
  "flowContents": {
    "comments": "",
    "componentType": "PROCESS_GROUP",
    "connections": [
      {
        "backPressureDataSizeThreshold": "1 GB",
        "backPressureObjectThreshold": 10000,
        "bends": [],
        "componentType": "CONNECTION",
        "destination": {
          "comments": "",
          "groupId": "07fc9b5e-bbcd-3487-aded-eeced74fdfaa",
          "id": "a8134467-b4b4-348f-8a1c-8d732fe4fcad",
          "name": "AnomalyDetector",
          "type": "PROCESSOR"
        },
        "flowFileExpiration": "0 sec",
        "groupIdentifier": "07fc9b5e-bbcd-3487-aded-eeced74fdfaa",
        "identifier": "04ab8849-858d-36d5-b7cf-40da26051759",
        "labelIndex": 1,
        "loadBalanceCompression": "DO_NOT_COMPRESS",
        "loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
        "name": "foo-conn",
        "partitioningAttribute": "",
        "prioritizers": [],
        "selectedRelationships": [
          "publishes:ves_specification:7.30.1:message router:ves-pnfRegistration-secondary",
          "subscribes:predictin:1.0.0:message_router:predict_subscriber"
        ],
        "source": {
          "comments": "",
          "groupId": "07fc9b5e-bbcd-3487-aded-eeced74fdfaa",
          "id": "3a0b5a44-f262-3836-93d5-dfe45fd90996",
          "name": "DcaeVesCollector",
          "type": "PROCESSOR"
        },
        "zIndex": 0
      },
      {
        "backPressureDataSizeThreshold": "1 GB",
        "backPressureObjectThreshold": 10000,
        "bends": [],
        "componentType": "CONNECTION",
        "destination": {
          "comments": "",
          "groupId": "07fc9b5e-bbcd-3487-aded-eeced74fdfaa",
          "id": "3a0b5a44-f262-3836-93d5-dfe45fd90996",
          "name": "DcaeVesCollector",
          "type": "PROCESSOR"
        },
        "flowFileExpiration": "0 sec",
        "groupIdentifier": "07fc9b5e-bbcd-3487-aded-eeced74fdfaa",
        "identifier": "c7c62954-ae06-388c-a6d9-a24243b51bea",
        "labelIndex": 1,
        "loadBalanceCompression": "DO_NOT_COMPRESS",
        "loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
        "name": "ves-data-conn",
        "partitioningAttribute": "",
        "prioritizers": [],
        "selectedRelationships": [
          "subscribes:ves_specification:7.30.1:message router:ves-notification"
        ],
        "source": {
          "comments": "",
          "groupId": "07fc9b5e-bbcd-3487-aded-eeced74fdfaa",
          "id": "58629a8a-e813-3bb3-ac2d-7ce2f4abf604",
          "name": "ves-notification",
          "type": "INPUT_PORT"
        },
        "zIndex": 0
      }
    ],
    "controllerServices": [],
    "funnels": [],
    "identifier": "07fc9b5e-bbcd-3487-aded-eeced74fdfaa",
    "inputPorts": [
      {
        "allowRemoteAccess": false,
        "comments": "",
        "componentType": "INPUT_PORT",
        "concurrentlySchedulableTaskCount": 1,
        "groupIdentifier": "07fc9b5e-bbcd-3487-aded-eeced74fdfaa",
        "identifier": "58629a8a-e813-3bb3-ac2d-7ce2f4abf604",
        "name": "ves-notification",
        "position": {
          "x": 1168.5,
          "y": 544.5
        },
        "type": "INPUT_PORT"
      }
    ],
    "labels": [],
    "name": "test",
    "outputPorts": [],
    "position": {
      "x": 826,
      "y": 301
    },
    "processGroups": [],
    "processors": [
      {
        "autoTerminatedRelationships": [],
        "bulletinLevel": "WARN",
        "bundle": {
          "artifact": "anomaly-detector",
          "group": "org.onap.dcae",
          "version": "1.0.0"
        },
        "comments": "",
        "componentType": "PROCESSOR",
        "concurrentlySchedulableTaskCount": 1,
        "executionNode": "ALL",
        "groupIdentifier": "07fc9b5e-bbcd-3487-aded-eeced74fdfaa",
        "identifier": "a8134467-b4b4-348f-8a1c-8d732fe4fcad",
        "name": "AnomalyDetector",
        "penaltyDuration": "30 sec",
        "position": {
          "x": 2410,
          "y": 824
        },
        "properties": {},
        "propertyDescriptors": {},
        "runDurationMillis": 0,
        "schedulingPeriod": "0 sec",
        "schedulingStrategy": "TIMER_DRIVEN",
        "style": {},
        "type": "org.onap.dcae.AnomalyDetector",
        "yieldDuration": "1 sec"
      },
      {
        "autoTerminatedRelationships": [],
        "bulletinLevel": "WARN",
        "bundle": {
          "artifact": "dcae-ves-collector",
          "group": "org.onap.dcae",
          "version": "1.5.0"
        },
        "comments": "",
        "componentType": "PROCESSOR",
        "concurrentlySchedulableTaskCount": 1,
        "executionNode": "ALL",
        "groupIdentifier": "07fc9b5e-bbcd-3487-aded-eeced74fdfaa",
        "identifier": "3a0b5a44-f262-3836-93d5-dfe45fd90996",
        "name": "DcaeVesCollector",
        "penaltyDuration": "30 sec",
        "position": {
          "x": 1500,
          "y": 690
        },
        "properties": {
          "collector.keystore.passwordfile": "/opt/app/dcae-certificate/.password",
          "event.transform.flag": "1",
          "collector.service.port": "8080",
          "collector.schema.checkflag": "1",
          "tomcat.maxthreads": "200",
          "collector.truststore.passwordfile": "/opt/app/dcae-certificate/.trustpassword",
          "header.authlist": "sample1,$2a$10$pgjaxDzSuc6XVFEeqvxQ5u90DKJnM/u7TJTcinAlFJVaavXMWf/Zi|userid1,$2a$10$61gNubgJJl9lh3nvQvY9X.x4e5ETWJJ7ao7ZhJEvmfJigov26Z6uq|userid2,$2a$10$G52y/3uhuhWAMy.bx9Se8uzWinmbJa.dlm1LW6bYPdPkkywLDPLiy",
          "collector.service.secure.port": "8443",
          "collector.keystore.file.location": "/opt/app/dcae-certificate/keystore.jks",
          "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",
          "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\"}",
          "auth.method": "noAuth",
          "collector.truststore.file.location": "/opt/app/dcae-certificate/truststore.jks"
        },
        "propertyDescriptors": {
          "collector.keystore.passwordfile": {
            "displayName": "collector.keystore.passwordfile",
            "identifiesControllerService": false,
            "name": "collector.keystore.passwordfile",
            "sensitive": false
          },
          "event.transform.flag": {
            "displayName": "event.transform.flag",
            "identifiesControllerService": false,
            "name": "event.transform.flag",
            "sensitive": false
          },
          "collector.service.port": {
            "displayName": "collector.service.port",
            "identifiesControllerService": false,
            "name": "collector.service.port",
            "sensitive": false
          },
          "collector.schema.checkflag": {
            "displayName": "collector.schema.checkflag",
            "identifiesControllerService": false,
            "name": "collector.schema.checkflag",
            "sensitive": false
          },
          "tomcat.maxthreads": {
            "displayName": "tomcat.maxthreads",
            "identifiesControllerService": false,
            "name": "tomcat.maxthreads",
            "sensitive": false
          },
          "collector.truststore.passwordfile": {
            "displayName": "collector.truststore.passwordfile",
            "identifiesControllerService": false,
            "name": "collector.truststore.passwordfile",
            "sensitive": false
          },
          "header.authlist": {
            "displayName": "header.authlist",
            "identifiesControllerService": false,
            "name": "header.authlist",
            "sensitive": false
          },
          "collector.service.secure.port": {
            "displayName": "collector.service.secure.port",
            "identifiesControllerService": false,
            "name": "collector.service.secure.port",
            "sensitive": false
          },
          "collector.keystore.file.location": {
            "displayName": "collector.keystore.file.location",
            "identifiesControllerService": false,
            "name": "collector.keystore.file.location",
            "sensitive": false
          },
          "collector.dmaap.streamid": {
            "displayName": "collector.dmaap.streamid",
            "identifiesControllerService": false,
            "name": "collector.dmaap.streamid",
            "sensitive": false
          },
          "collector.schema.file": {
            "displayName": "collector.schema.file",
            "identifiesControllerService": false,
            "name": "collector.schema.file",
            "sensitive": false
          },
          "auth.method": {
            "displayName": "auth.method",
            "identifiesControllerService": false,
            "name": "auth.method",
            "sensitive": false
          },
          "collector.truststore.file.location": {
            "displayName": "collector.truststore.file.location",
            "identifiesControllerService": false,
            "name": "collector.truststore.file.location",
            "sensitive": false
          }
        },
        "runDurationMillis": 0,
        "schedulingPeriod": "0 sec",
        "schedulingStrategy": "TIMER_DRIVEN",
        "style": {},
        "type": "org.onap.dcae.DcaeVesCollector",
        "yieldDuration": "1 sec"
      }
    ],
    "remoteProcessGroups": [],
    "variables": {}
  },
  "snapshotMetadata": {
    "author": "anonymous",
    "bucketIdentifier": "f645b971-f096-485c-9699-93a193d9c0fa",
    "comments": "",
    "flowIdentifier": "ddec92e2-97c3-4b41-80d7-fd38bbf5bb69",
    "link": {
      "href": "buckets/f645b971-f096-485c-9699-93a193d9c0fa/flows/ddec92e2-97c3-4b41-80d7-fd38bbf5bb69/versions/4",
      "params": {
        "rel": "content"
      }
    },
    "timestamp": 1570673258587,
    "version": 4
  }
}