rameshiyer27 | a8be1f7 | 2022-03-16 10:36:33 +0000 | [diff] [blame] | 1 | { |
| 2 | "tosca_definitions_version": "tosca_simple_yaml_1_1_0", |
| 3 | "node_types": { |
| 4 | "org.onap.nodetypes.policy.MetadataSet": { |
| 5 | "derived_from": "tosca.nodetypes.Root", |
| 6 | "version": "1.0.0" |
| 7 | } |
| 8 | }, |
| 9 | |
| 10 | "topology_template": { |
| 11 | "node_templates": { |
| 12 | "apex.metadata.pnf": { |
| 13 | "version": "1.0.0", |
| 14 | "type": "org.onap.nodetypes.policy.MetadataSet", |
| 15 | "type_version": "1.0.0", |
| 16 | "description": "Metadata set for apex pnf Policy", |
| 17 | "metadata": { |
| 18 | "apexPolicyModel": { |
| 19 | "key": { |
| 20 | "name": "onap.policies.apex.Simplecontrolloop2", |
| 21 | "version": "0.0.1" |
| 22 | }, |
| 23 | "keyInformation": { |
| 24 | "key": { |
| 25 | "name": "onap.policies.apex.Simplecontrolloop2_KeyInfo", |
| 26 | "version": "0.0.1" |
| 27 | }, |
| 28 | "keyInfoMap": { |
| 29 | "entry": [ |
| 30 | { |
| 31 | "key": { |
| 32 | "name": "SimpleBooleanType", |
| 33 | "version": "0.0.1" |
| 34 | }, |
| 35 | "value": { |
| 36 | "key": { |
| 37 | "name": "SimpleBooleanType", |
| 38 | "version": "0.0.1" |
| 39 | }, |
| 40 | "UUID": "7218fb2f-59e3-321d-9ae1-bc97b19eb4ae", |
| 41 | "description": "Generated description for concept referred to by key \"SimpleBooleanType:0.0.1\"" |
| 42 | } |
| 43 | }, |
| 44 | { |
| 45 | "key": { |
| 46 | "name": "SimpleCL_AAIFailureResponseEvent", |
| 47 | "version": "0.0.1" |
| 48 | }, |
| 49 | "value": { |
| 50 | "key": { |
| 51 | "name": "SimpleCL_AAIFailureResponseEvent", |
| 52 | "version": "0.0.1" |
| 53 | }, |
| 54 | "UUID": "c8a29e27-0a15-354a-84f9-4c7f207e5c81", |
| 55 | "description": "Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseEvent:0.0.1\"" |
| 56 | } |
| 57 | }, |
| 58 | { |
| 59 | "key": { |
| 60 | "name": "SimpleCL_AAIFailureResponseHandlerPolicy2", |
| 61 | "version": "0.0.1" |
| 62 | }, |
| 63 | "value": { |
| 64 | "key": { |
| 65 | "name": "SimpleCL_AAIFailureResponseHandlerPolicy2", |
| 66 | "version": "0.0.1" |
| 67 | }, |
| 68 | "UUID": "5e843cee-0180-39b9-8989-180b2ffe11c0", |
| 69 | "description": "Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseHandlerPolicy2:0.0.1\"" |
| 70 | } |
| 71 | }, |
| 72 | { |
| 73 | "key": { |
| 74 | "name": "SimpleCL_AAIRequestErrorType", |
| 75 | "version": "0.0.1" |
| 76 | }, |
| 77 | "value": { |
| 78 | "key": { |
| 79 | "name": "SimpleCL_AAIRequestErrorType", |
| 80 | "version": "0.0.1" |
| 81 | }, |
| 82 | "UUID": "90291c92-9b27-3cd9-8720-db572419c048", |
| 83 | "description": "Generated description for concept referred to by key \"SimpleCL_AAIRequestErrorType:0.0.1\"" |
| 84 | } |
| 85 | }, |
| 86 | { |
| 87 | "key": { |
| 88 | "name": "SimpleCL_AAIRequestEvent", |
| 89 | "version": "0.0.1" |
| 90 | }, |
| 91 | "value": { |
| 92 | "key": { |
| 93 | "name": "SimpleCL_AAIRequestEvent", |
| 94 | "version": "0.0.1" |
| 95 | }, |
| 96 | "UUID": "7b7e6751-4e0b-389d-98c0-5567bbc0294c", |
| 97 | "description": "Generated description for concept referred to by key \"SimpleCL_AAIRequestEvent:0.0.1\"" |
| 98 | } |
| 99 | }, |
| 100 | { |
| 101 | "key": { |
| 102 | "name": "SimpleCL_AAISuccessResponseEvent", |
| 103 | "version": "0.0.1" |
| 104 | }, |
| 105 | "value": { |
| 106 | "key": { |
| 107 | "name": "SimpleCL_AAISuccessResponseEvent", |
| 108 | "version": "0.0.1" |
| 109 | }, |
| 110 | "UUID": "63d5680c-14ef-3505-8d34-ebb646bba07b", |
| 111 | "description": "Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseEvent:0.0.1\"" |
| 112 | } |
| 113 | }, |
| 114 | { |
| 115 | "key": { |
| 116 | "name": "SimpleCL_AAISuccessResponseHandlerPolicy2", |
| 117 | "version": "0.0.1" |
| 118 | }, |
| 119 | "value": { |
| 120 | "key": { |
| 121 | "name": "SimpleCL_AAISuccessResponseHandlerPolicy2", |
| 122 | "version": "0.0.1" |
| 123 | }, |
| 124 | "UUID": "a84ca97d-6e94-39a2-91f9-59a6c9aa435e", |
| 125 | "description": "Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseHandlerPolicy2:0.0.1\"" |
| 126 | } |
| 127 | }, |
| 128 | { |
| 129 | "key": { |
| 130 | "name": "SimpleCL_CDSActionIdentifiersType", |
| 131 | "version": "0.0.1" |
| 132 | }, |
| 133 | "value": { |
| 134 | "key": { |
| 135 | "name": "SimpleCL_CDSActionIdentifiersType", |
| 136 | "version": "0.0.1" |
| 137 | }, |
| 138 | "UUID": "0e2ee622-7fd3-3e49-82e2-539c4f5e9624", |
| 139 | "description": "Generated description for concept referred to by key \"SimpleCL_CDSActionIdentifiersType:0.0.1\"" |
| 140 | } |
| 141 | }, |
| 142 | { |
| 143 | "key": { |
| 144 | "name": "SimpleCL_CDSConfigModifyFailureResponseEvent", |
| 145 | "version": "0.0.1" |
| 146 | }, |
| 147 | "value": { |
| 148 | "key": { |
| 149 | "name": "SimpleCL_CDSConfigModifyFailureResponseEvent", |
| 150 | "version": "0.0.1" |
| 151 | }, |
| 152 | "UUID": "e84f8682-ea33-3ad0-8626-8bc4634581fc", |
| 153 | "description": "Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseEvent:0.0.1\"" |
| 154 | } |
| 155 | }, |
| 156 | { |
| 157 | "key": { |
| 158 | "name": "SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2", |
| 159 | "version": "0.0.1" |
| 160 | }, |
| 161 | "value": { |
| 162 | "key": { |
| 163 | "name": "SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2", |
| 164 | "version": "0.0.1" |
| 165 | }, |
| 166 | "UUID": "a252f835-2479-38ef-9ef4-20af62725752", |
| 167 | "description": "Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2:0.0.1\"" |
| 168 | } |
| 169 | }, |
| 170 | { |
| 171 | "key": { |
| 172 | "name": "SimpleCL_CDSConfigModifyFailureResponseTask2", |
| 173 | "version": "0.0.1" |
| 174 | }, |
| 175 | "value": { |
| 176 | "key": { |
| 177 | "name": "SimpleCL_CDSConfigModifyFailureResponseTask2", |
| 178 | "version": "0.0.1" |
| 179 | }, |
| 180 | "UUID": "cfc46ea9-b8c1-38dd-ac9c-304c916daf34", |
| 181 | "description": "Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseTask2:0.0.1\"" |
| 182 | } |
| 183 | }, |
| 184 | { |
| 185 | "key": { |
| 186 | "name": "SimpleCL_CDSConfigModifyRequestEvent", |
| 187 | "version": "0.0.1" |
| 188 | }, |
| 189 | "value": { |
| 190 | "key": { |
| 191 | "name": "SimpleCL_CDSConfigModifyRequestEvent", |
| 192 | "version": "0.0.1" |
| 193 | }, |
| 194 | "UUID": "1e7095d6-a455-3f89-acae-486e35d7e311", |
| 195 | "description": "Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestEvent:0.0.1\"" |
| 196 | } |
| 197 | }, |
| 198 | { |
| 199 | "key": { |
| 200 | "name": "SimpleCL_CDSConfigModifyRequestPayloadType", |
| 201 | "version": "0.0.1" |
| 202 | }, |
| 203 | "value": { |
| 204 | "key": { |
| 205 | "name": "SimpleCL_CDSConfigModifyRequestPayloadType", |
| 206 | "version": "0.0.1" |
| 207 | }, |
| 208 | "UUID": "d22ea83b-695d-3da9-b9f5-41f16ca433bf", |
| 209 | "description": "Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestPayloadType:0.0.1\"" |
| 210 | } |
| 211 | }, |
| 212 | { |
| 213 | "key": { |
| 214 | "name": "SimpleCL_CDSConfigModifyResponsePayloadType", |
| 215 | "version": "0.0.1" |
| 216 | }, |
| 217 | "value": { |
| 218 | "key": { |
| 219 | "name": "SimpleCL_CDSConfigModifyResponsePayloadType", |
| 220 | "version": "0.0.1" |
| 221 | }, |
| 222 | "UUID": "e9fe2e40-1f0d-30dd-8b9e-885695878693", |
| 223 | "description": "Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyResponsePayloadType:0.0.1\"" |
| 224 | } |
| 225 | }, |
| 226 | { |
| 227 | "key": { |
| 228 | "name": "SimpleCL_CDSConfigModifySuccessResponseEvent", |
| 229 | "version": "0.0.1" |
| 230 | }, |
| 231 | "value": { |
| 232 | "key": { |
| 233 | "name": "SimpleCL_CDSConfigModifySuccessResponseEvent", |
| 234 | "version": "0.0.1" |
| 235 | }, |
| 236 | "UUID": "5e04fa76-0a17-38a9-8524-23b2d1a23fa5", |
| 237 | "description": "Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseEvent:0.0.1\"" |
| 238 | } |
| 239 | }, |
| 240 | { |
| 241 | "key": { |
| 242 | "name": "SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2", |
| 243 | "version": "0.0.1" |
| 244 | }, |
| 245 | "value": { |
| 246 | "key": { |
| 247 | "name": "SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2", |
| 248 | "version": "0.0.1" |
| 249 | }, |
| 250 | "UUID": "15866380-40f5-3f8e-87d9-13747a36d352", |
| 251 | "description": "Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2:0.0.1\"" |
| 252 | } |
| 253 | }, |
| 254 | { |
| 255 | "key": { |
| 256 | "name": "SimpleCL_CDSConfigModifySuccessResponseTask2", |
| 257 | "version": "0.0.1" |
| 258 | }, |
| 259 | "value": { |
| 260 | "key": { |
| 261 | "name": "SimpleCL_CDSConfigModifySuccessResponseTask2", |
| 262 | "version": "0.0.1" |
| 263 | }, |
| 264 | "UUID": "2c3d76ce-dd42-32ac-a397-ab418534e1cf", |
| 265 | "description": "Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseTask2:0.0.1\"" |
| 266 | } |
| 267 | }, |
| 268 | { |
| 269 | "key": { |
| 270 | "name": "SimpleCL_CDSFailureResponseCommonHeaderType", |
| 271 | "version": "0.0.1" |
| 272 | }, |
| 273 | "value": { |
| 274 | "key": { |
| 275 | "name": "SimpleCL_CDSFailureResponseCommonHeaderType", |
| 276 | "version": "0.0.1" |
| 277 | }, |
| 278 | "UUID": "b99c44da-dae7-3c96-b528-58852537d063", |
| 279 | "description": "Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseCommonHeaderType:0.0.1\"" |
| 280 | } |
| 281 | }, |
| 282 | { |
| 283 | "key": { |
| 284 | "name": "SimpleCL_CDSFailureResponseStatusType", |
| 285 | "version": "0.0.1" |
| 286 | }, |
| 287 | "value": { |
| 288 | "key": { |
| 289 | "name": "SimpleCL_CDSFailureResponseStatusType", |
| 290 | "version": "0.0.1" |
| 291 | }, |
| 292 | "UUID": "1db688e2-3afe-3b03-9795-fdbfa80fa240", |
| 293 | "description": "Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseStatusType:0.0.1\"" |
| 294 | } |
| 295 | }, |
| 296 | { |
| 297 | "key": { |
| 298 | "name": "SimpleCL_CDSRequestCommonHeaderType", |
| 299 | "version": "0.0.1" |
| 300 | }, |
| 301 | "value": { |
| 302 | "key": { |
| 303 | "name": "SimpleCL_CDSRequestCommonHeaderType", |
| 304 | "version": "0.0.1" |
| 305 | }, |
| 306 | "UUID": "31022456-e85b-3a9b-9ecb-a09691792d3e", |
| 307 | "description": "Generated description for concept referred to by key \"SimpleCL_CDSRequestCommonHeaderType:0.0.1\"" |
| 308 | } |
| 309 | }, |
| 310 | { |
| 311 | "key": { |
| 312 | "name": "SimpleCL_CDSSuccessResponseCommonHeaderType", |
| 313 | "version": "0.0.1" |
| 314 | }, |
| 315 | "value": { |
| 316 | "key": { |
| 317 | "name": "SimpleCL_CDSSuccessResponseCommonHeaderType", |
| 318 | "version": "0.0.1" |
| 319 | }, |
| 320 | "UUID": "d6075720-622e-3a0d-827a-aa4580a2f5d7", |
| 321 | "description": "Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseCommonHeaderType:0.0.1\"" |
| 322 | } |
| 323 | }, |
| 324 | { |
| 325 | "key": { |
| 326 | "name": "SimpleCL_CDSSuccessResponseStatusType", |
| 327 | "version": "0.0.1" |
| 328 | }, |
| 329 | "value": { |
| 330 | "key": { |
| 331 | "name": "SimpleCL_CDSSuccessResponseStatusType", |
| 332 | "version": "0.0.1" |
| 333 | }, |
| 334 | "UUID": "948359ff-3308-3ac5-a5ec-6e3c1b9cd4d5", |
| 335 | "description": "Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseStatusType:0.0.1\"" |
| 336 | } |
| 337 | }, |
| 338 | { |
| 339 | "key": { |
| 340 | "name": "SimpleCL_EventDetailsAlbum", |
| 341 | "version": "0.0.1" |
| 342 | }, |
| 343 | "value": { |
| 344 | "key": { |
| 345 | "name": "SimpleCL_EventDetailsAlbum", |
| 346 | "version": "0.0.1" |
| 347 | }, |
| 348 | "UUID": "63a6fd26-2fd6-3a0e-8a27-49a5d2ea4644", |
| 349 | "description": "Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbum:0.0.1\"" |
| 350 | } |
| 351 | }, |
| 352 | { |
| 353 | "key": { |
| 354 | "name": "SimpleCL_EventDetailsAlbumType", |
| 355 | "version": "0.0.1" |
| 356 | }, |
| 357 | "value": { |
| 358 | "key": { |
| 359 | "name": "SimpleCL_EventDetailsAlbumType", |
| 360 | "version": "0.0.1" |
| 361 | }, |
| 362 | "UUID": "a0407d0b-5719-38bf-9529-25ad62ace8c4", |
| 363 | "description": "Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbumType:0.0.1\"" |
| 364 | } |
| 365 | }, |
| 366 | { |
| 367 | "key": { |
| 368 | "name": "SimpleCL_HandleAAIFailureResponseTask2", |
| 369 | "version": "0.0.1" |
| 370 | }, |
| 371 | "value": { |
| 372 | "key": { |
| 373 | "name": "SimpleCL_HandleAAIFailureResponseTask2", |
| 374 | "version": "0.0.1" |
| 375 | }, |
| 376 | "UUID": "28e894dc-4ab8-3469-aab7-d81bd05bb4c9", |
| 377 | "description": "Generated description for concept referred to by key \"SimpleCL_HandleAAIFailureResponseTask2:0.0.1\"" |
| 378 | } |
| 379 | }, |
| 380 | { |
| 381 | "key": { |
| 382 | "name": "SimpleCL_HandleAAISuccessResponseTask2", |
| 383 | "version": "0.0.1" |
| 384 | }, |
| 385 | "value": { |
| 386 | "key": { |
| 387 | "name": "SimpleCL_HandleAAISuccessResponseTask2", |
| 388 | "version": "0.0.1" |
| 389 | }, |
| 390 | "UUID": "073f1433-999e-3506-98ad-ef820d2fa7f0", |
| 391 | "description": "Generated description for concept referred to by key \"SimpleCL_HandleAAISuccessResponseTask2:0.0.1\"" |
| 392 | } |
| 393 | }, |
| 394 | { |
| 395 | "key": { |
| 396 | "name": "SimpleCL_HandleVesEventTask2", |
| 397 | "version": "0.0.1" |
| 398 | }, |
| 399 | "value": { |
| 400 | "key": { |
| 401 | "name": "SimpleCL_HandleVesEventTask2", |
| 402 | "version": "0.0.1" |
| 403 | }, |
| 404 | "UUID": "afc6ed46-6801-3c85-bb4c-0ab5b0dd4a74", |
| 405 | "description": "Generated description for concept referred to by key \"SimpleCL_HandleVesEventTask2:0.0.1\"" |
| 406 | } |
| 407 | }, |
| 408 | { |
| 409 | "key": { |
| 410 | "name": "SimpleCL_LogEvent", |
| 411 | "version": "0.0.1" |
| 412 | }, |
| 413 | "value": { |
| 414 | "key": { |
| 415 | "name": "SimpleCL_LogEvent", |
| 416 | "version": "0.0.1" |
| 417 | }, |
| 418 | "UUID": "317be184-a01a-3e2d-9ae4-cafaa405de70", |
| 419 | "description": "Generated description for concept referred to by key \"SimpleCL_LogEvent:0.0.1\"" |
| 420 | } |
| 421 | }, |
| 422 | { |
| 423 | "key": { |
| 424 | "name": "SimpleCL_LogEventComponentType", |
| 425 | "version": "0.0.1" |
| 426 | }, |
| 427 | "value": { |
| 428 | "key": { |
| 429 | "name": "SimpleCL_LogEventComponentType", |
| 430 | "version": "0.0.1" |
| 431 | }, |
| 432 | "UUID": "be7fc79b-9b73-381a-8e23-9dd6e6b1233d", |
| 433 | "description": "Generated description for concept referred to by key \"SimpleCL_LogEventComponentType:0.0.1\"" |
| 434 | } |
| 435 | }, |
| 436 | { |
| 437 | "key": { |
| 438 | "name": "SimpleCL_LogEventOtherFieldsType", |
| 439 | "version": "0.0.1" |
| 440 | }, |
| 441 | "value": { |
| 442 | "key": { |
| 443 | "name": "SimpleCL_LogEventOtherFieldsType", |
| 444 | "version": "0.0.1" |
| 445 | }, |
| 446 | "UUID": "1a082851-49e3-3f4c-b023-c05236cc8389", |
| 447 | "description": "Generated description for concept referred to by key \"SimpleCL_LogEventOtherFieldsType:0.0.1\"" |
| 448 | } |
| 449 | }, |
| 450 | { |
| 451 | "key": { |
| 452 | "name": "SimpleCL_LogEventTargetType", |
| 453 | "version": "0.0.1" |
| 454 | }, |
| 455 | "value": { |
| 456 | "key": { |
| 457 | "name": "SimpleCL_LogEventTargetType", |
| 458 | "version": "0.0.1" |
| 459 | }, |
| 460 | "UUID": "cab6cd51-ea7b-3241-a173-ea8a24e29737", |
| 461 | "description": "Generated description for concept referred to by key \"SimpleCL_LogEventTargetType:0.0.1\"" |
| 462 | } |
| 463 | }, |
| 464 | { |
| 465 | "key": { |
| 466 | "name": "SimpleCL_VesEvent", |
| 467 | "version": "0.0.1" |
| 468 | }, |
| 469 | "value": { |
| 470 | "key": { |
| 471 | "name": "SimpleCL_VesEvent", |
| 472 | "version": "0.0.1" |
| 473 | }, |
| 474 | "UUID": "0f57665a-f0a9-314e-ad0a-04c1f5758174", |
| 475 | "description": "Generated description for concept referred to by key \"SimpleCL_VesEvent:0.0.1\"" |
| 476 | } |
| 477 | }, |
| 478 | { |
| 479 | "key": { |
| 480 | "name": "SimpleCL_VesEventHandlerPolicy2", |
| 481 | "version": "0.0.1" |
| 482 | }, |
| 483 | "value": { |
| 484 | "key": { |
| 485 | "name": "SimpleCL_VesEventHandlerPolicy2", |
| 486 | "version": "0.0.1" |
| 487 | }, |
| 488 | "UUID": "ba5d9a46-8cb4-3fbe-84fd-eabba5b7dd4b", |
| 489 | "description": "Generated description for concept referred to by key \"SimpleCL_VesEventHandlerPolicy2:0.0.1\"" |
| 490 | } |
| 491 | }, |
| 492 | { |
| 493 | "key": { |
| 494 | "name": "SimpleCL_VesEventType", |
| 495 | "version": "0.0.1" |
| 496 | }, |
| 497 | "value": { |
| 498 | "key": { |
| 499 | "name": "SimpleCL_VesEventType", |
| 500 | "version": "0.0.1" |
| 501 | }, |
| 502 | "UUID": "9fd7a967-57d4-36ef-81e9-c3396f3aa8d1", |
| 503 | "description": "Generated description for concept referred to by key \"SimpleCL_VesEventType:0.0.1\"" |
| 504 | } |
| 505 | }, |
| 506 | { |
| 507 | "key": { |
| 508 | "name": "SimpleLongType", |
| 509 | "version": "0.0.1" |
| 510 | }, |
| 511 | "value": { |
| 512 | "key": { |
| 513 | "name": "SimpleLongType", |
| 514 | "version": "0.0.1" |
| 515 | }, |
| 516 | "UUID": "2dfcd9ec-a6f9-3f9f-958f-9b36cf4ac574", |
| 517 | "description": "Generated description for concept referred to by key \"SimpleLongType:0.0.1\"" |
| 518 | } |
| 519 | }, |
| 520 | { |
| 521 | "key": { |
| 522 | "name": "SimpleStringType", |
| 523 | "version": "0.0.1" |
| 524 | }, |
| 525 | "value": { |
| 526 | "key": { |
| 527 | "name": "SimpleStringType", |
| 528 | "version": "0.0.1" |
| 529 | }, |
| 530 | "UUID": "8a4957cf-9493-3a76-8c22-a208e23259af", |
| 531 | "description": "Generated description for concept referred to by key \"SimpleStringType:0.0.1\"" |
| 532 | } |
| 533 | }, |
| 534 | { |
| 535 | "key": { |
| 536 | "name": "onap.policies.apex.Simplecontrolloop2", |
| 537 | "version": "0.0.1" |
| 538 | }, |
| 539 | "value": { |
| 540 | "key": { |
| 541 | "name": "onap.policies.apex.Simplecontrolloop2", |
| 542 | "version": "0.0.1" |
| 543 | }, |
| 544 | "UUID": "ecc97b87-f30b-344c-a476-d36501bf5cbd", |
| 545 | "description": "Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2:0.0.1\"" |
| 546 | } |
| 547 | }, |
| 548 | { |
| 549 | "key": { |
| 550 | "name": "onap.policies.apex.Simplecontrolloop2_Albums", |
| 551 | "version": "0.0.1" |
| 552 | }, |
| 553 | "value": { |
| 554 | "key": { |
| 555 | "name": "onap.policies.apex.Simplecontrolloop2_Albums", |
| 556 | "version": "0.0.1" |
| 557 | }, |
| 558 | "UUID": "1469671a-56dd-3a68-bf6c-77a5cf7a9487", |
| 559 | "description": "Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Albums:0.0.1\"" |
| 560 | } |
| 561 | }, |
| 562 | { |
| 563 | "key": { |
| 564 | "name": "onap.policies.apex.Simplecontrolloop2_Events", |
| 565 | "version": "0.0.1" |
| 566 | }, |
| 567 | "value": { |
| 568 | "key": { |
| 569 | "name": "onap.policies.apex.Simplecontrolloop2_Events", |
| 570 | "version": "0.0.1" |
| 571 | }, |
| 572 | "UUID": "23c4eee4-aba5-36f6-96d6-46f40061bfed", |
| 573 | "description": "Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Events:0.0.1\"" |
| 574 | } |
| 575 | }, |
| 576 | { |
| 577 | "key": { |
| 578 | "name": "onap.policies.apex.Simplecontrolloop2_KeyInfo", |
| 579 | "version": "0.0.1" |
| 580 | }, |
| 581 | "value": { |
| 582 | "key": { |
| 583 | "name": "onap.policies.apex.Simplecontrolloop2_KeyInfo", |
| 584 | "version": "0.0.1" |
| 585 | }, |
| 586 | "UUID": "ea9e73ff-483c-3827-896c-6eaa9d69bc6e", |
| 587 | "description": "Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_KeyInfo:0.0.1\"" |
| 588 | } |
| 589 | }, |
| 590 | { |
| 591 | "key": { |
| 592 | "name": "onap.policies.apex.Simplecontrolloop2_Policies", |
| 593 | "version": "0.0.1" |
| 594 | }, |
| 595 | "value": { |
| 596 | "key": { |
| 597 | "name": "onap.policies.apex.Simplecontrolloop2_Policies", |
| 598 | "version": "0.0.1" |
| 599 | }, |
| 600 | "UUID": "38c068e5-bb9a-3997-9e50-ec77c66825c8", |
| 601 | "description": "Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Policies:0.0.1\"" |
| 602 | } |
| 603 | }, |
| 604 | { |
| 605 | "key": { |
| 606 | "name": "onap.policies.apex.Simplecontrolloop2_Schemas", |
| 607 | "version": "0.0.1" |
| 608 | }, |
| 609 | "value": { |
| 610 | "key": { |
| 611 | "name": "onap.policies.apex.Simplecontrolloop2_Schemas", |
| 612 | "version": "0.0.1" |
| 613 | }, |
| 614 | "UUID": "38514b27-8b9b-3d06-844a-3aced27deb0a", |
| 615 | "description": "Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Schemas:0.0.1\"" |
| 616 | } |
| 617 | }, |
| 618 | { |
| 619 | "key": { |
| 620 | "name": "onap.policies.apex.Simplecontrolloop2_Tasks", |
| 621 | "version": "0.0.1" |
| 622 | }, |
| 623 | "value": { |
| 624 | "key": { |
| 625 | "name": "onap.policies.apex.Simplecontrolloop2_Tasks", |
| 626 | "version": "0.0.1" |
| 627 | }, |
| 628 | "UUID": "0e0387b5-07fa-30e4-8554-eb51d2e18939", |
| 629 | "description": "Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Tasks:0.0.1\"" |
| 630 | } |
| 631 | } |
| 632 | ] |
| 633 | } |
| 634 | }, |
| 635 | "policies": { |
| 636 | "key": { |
| 637 | "name": "onap.policies.apex.Simplecontrolloop2_Policies", |
| 638 | "version": "0.0.1" |
| 639 | }, |
| 640 | "policyMap": { |
| 641 | "entry": [ |
| 642 | { |
| 643 | "key": { |
| 644 | "name": "SimpleCL_AAIFailureResponseHandlerPolicy2", |
| 645 | "version": "0.0.1" |
| 646 | }, |
| 647 | "value": { |
| 648 | "policyKey": { |
| 649 | "name": "SimpleCL_AAIFailureResponseHandlerPolicy2", |
| 650 | "version": "0.0.1" |
| 651 | }, |
| 652 | "template": "Freestyle", |
| 653 | "state": { |
| 654 | "entry": [ |
| 655 | { |
| 656 | "key": "SimpleCL_ReceiveAAIFailureResponseState", |
| 657 | "value": { |
| 658 | "stateKey": { |
| 659 | "parentKeyName": "SimpleCL_AAIFailureResponseHandlerPolicy2", |
| 660 | "parentKeyVersion": "0.0.1", |
| 661 | "parentLocalName": "NULL", |
| 662 | "localName": "SimpleCL_ReceiveAAIFailureResponseState" |
| 663 | }, |
| 664 | "trigger": { |
| 665 | "name": "SimpleCL_AAIFailureResponseEvent", |
| 666 | "version": "0.0.1" |
| 667 | }, |
| 668 | "stateOutputs": { |
| 669 | "entry": [ |
| 670 | { |
| 671 | "key": "AAIFailureStateOutput", |
| 672 | "value": { |
| 673 | "key": { |
| 674 | "parentKeyName": "SimpleCL_AAIFailureResponseHandlerPolicy2", |
| 675 | "parentKeyVersion": "0.0.1", |
| 676 | "parentLocalName": "SimpleCL_ReceiveAAIFailureResponseState", |
| 677 | "localName": "AAIFailureStateOutput" |
| 678 | }, |
| 679 | "outgoingEvent": { |
| 680 | "name": "SimpleCL_LogEvent", |
| 681 | "version": "0.0.1" |
| 682 | }, |
| 683 | "outgoingEventReference": [ |
| 684 | { |
| 685 | "name": "SimpleCL_LogEvent", |
| 686 | "version": "0.0.1" |
| 687 | } |
| 688 | ], |
| 689 | "nextState": { |
| 690 | "parentKeyName": "NULL", |
| 691 | "parentKeyVersion": "0.0.0", |
| 692 | "parentLocalName": "NULL", |
| 693 | "localName": "NULL" |
| 694 | } |
| 695 | } |
| 696 | } |
| 697 | ] |
| 698 | }, |
| 699 | "contextAlbumReference": [], |
| 700 | "taskSelectionLogic": { |
| 701 | "key": "NULL", |
| 702 | "logicFlavour": "UNDEFINED", |
| 703 | "logic": "" |
| 704 | }, |
| 705 | "stateFinalizerLogicMap": { |
| 706 | "entry": [] |
| 707 | }, |
| 708 | "defaultTask": { |
| 709 | "name": "SimpleCL_HandleAAIFailureResponseTask2", |
| 710 | "version": "0.0.1" |
| 711 | }, |
| 712 | "taskReferences": { |
| 713 | "entry": [ |
| 714 | { |
| 715 | "key": { |
| 716 | "name": "SimpleCL_HandleAAIFailureResponseTask2", |
| 717 | "version": "0.0.1" |
| 718 | }, |
| 719 | "value": { |
| 720 | "key": { |
| 721 | "parentKeyName": "SimpleCL_AAIFailureResponseHandlerPolicy2", |
| 722 | "parentKeyVersion": "0.0.1", |
| 723 | "parentLocalName": "SimpleCL_ReceiveAAIFailureResponseState", |
| 724 | "localName": "SimpleCL_AAIFailureResponseHandlerPolicy2" |
| 725 | }, |
| 726 | "outputType": "DIRECT", |
| 727 | "output": { |
| 728 | "parentKeyName": "SimpleCL_AAIFailureResponseHandlerPolicy2", |
| 729 | "parentKeyVersion": "0.0.1", |
| 730 | "parentLocalName": "SimpleCL_ReceiveAAIFailureResponseState", |
| 731 | "localName": "AAIFailureStateOutput" |
| 732 | } |
| 733 | } |
| 734 | } |
| 735 | ] |
| 736 | } |
| 737 | } |
| 738 | } |
| 739 | ] |
| 740 | }, |
| 741 | "firstState": "SimpleCL_ReceiveAAIFailureResponseState" |
| 742 | } |
| 743 | }, |
| 744 | { |
| 745 | "key": { |
| 746 | "name": "SimpleCL_AAISuccessResponseHandlerPolicy2", |
| 747 | "version": "0.0.1" |
| 748 | }, |
| 749 | "value": { |
| 750 | "policyKey": { |
| 751 | "name": "SimpleCL_AAISuccessResponseHandlerPolicy2", |
| 752 | "version": "0.0.1" |
| 753 | }, |
| 754 | "template": "Freestyle", |
| 755 | "state": { |
| 756 | "entry": [ |
| 757 | { |
| 758 | "key": "SimpleCL_ReceiveAAISuccessResponseState", |
| 759 | "value": { |
| 760 | "stateKey": { |
| 761 | "parentKeyName": "SimpleCL_AAISuccessResponseHandlerPolicy2", |
| 762 | "parentKeyVersion": "0.0.1", |
| 763 | "parentLocalName": "NULL", |
| 764 | "localName": "SimpleCL_ReceiveAAISuccessResponseState" |
| 765 | }, |
| 766 | "trigger": { |
| 767 | "name": "SimpleCL_AAISuccessResponseEvent", |
| 768 | "version": "0.0.1" |
| 769 | }, |
| 770 | "stateOutputs": { |
| 771 | "entry": [ |
| 772 | { |
| 773 | "key": "AAISuccessStateOutput", |
| 774 | "value": { |
| 775 | "key": { |
| 776 | "parentKeyName": "SimpleCL_AAISuccessResponseHandlerPolicy2", |
| 777 | "parentKeyVersion": "0.0.1", |
| 778 | "parentLocalName": "SimpleCL_ReceiveAAISuccessResponseState", |
| 779 | "localName": "AAISuccessStateOutput" |
| 780 | }, |
| 781 | "outgoingEvent": { |
| 782 | "name": "SimpleCL_CDSConfigModifyRequestEvent", |
| 783 | "version": "0.0.1" |
| 784 | }, |
| 785 | "outgoingEventReference": [ |
| 786 | { |
| 787 | "name": "SimpleCL_CDSConfigModifyRequestEvent", |
| 788 | "version": "0.0.1" |
| 789 | }, |
| 790 | { |
| 791 | "name": "SimpleCL_LogEvent", |
| 792 | "version": "0.0.1" |
| 793 | } |
| 794 | ], |
| 795 | "nextState": { |
| 796 | "parentKeyName": "NULL", |
| 797 | "parentKeyVersion": "0.0.0", |
| 798 | "parentLocalName": "NULL", |
| 799 | "localName": "NULL" |
| 800 | } |
| 801 | } |
| 802 | } |
| 803 | ] |
| 804 | }, |
| 805 | "contextAlbumReference": [], |
| 806 | "taskSelectionLogic": { |
| 807 | "key": "NULL", |
| 808 | "logicFlavour": "UNDEFINED", |
| 809 | "logic": "" |
| 810 | }, |
| 811 | "stateFinalizerLogicMap": { |
| 812 | "entry": [] |
| 813 | }, |
| 814 | "defaultTask": { |
| 815 | "name": "SimpleCL_HandleAAISuccessResponseTask2", |
| 816 | "version": "0.0.1" |
| 817 | }, |
| 818 | "taskReferences": { |
| 819 | "entry": [ |
| 820 | { |
| 821 | "key": { |
| 822 | "name": "SimpleCL_HandleAAISuccessResponseTask2", |
| 823 | "version": "0.0.1" |
| 824 | }, |
| 825 | "value": { |
| 826 | "key": { |
| 827 | "parentKeyName": "SimpleCL_AAISuccessResponseHandlerPolicy2", |
| 828 | "parentKeyVersion": "0.0.1", |
| 829 | "parentLocalName": "SimpleCL_ReceiveAAISuccessResponseState", |
| 830 | "localName": "SimpleCL_AAISuccessResponseHandlerPolicy2" |
| 831 | }, |
| 832 | "outputType": "DIRECT", |
| 833 | "output": { |
| 834 | "parentKeyName": "SimpleCL_AAISuccessResponseHandlerPolicy2", |
| 835 | "parentKeyVersion": "0.0.1", |
| 836 | "parentLocalName": "SimpleCL_ReceiveAAISuccessResponseState", |
| 837 | "localName": "AAISuccessStateOutput" |
| 838 | } |
| 839 | } |
| 840 | } |
| 841 | ] |
| 842 | } |
| 843 | } |
| 844 | } |
| 845 | ] |
| 846 | }, |
| 847 | "firstState": "SimpleCL_ReceiveAAISuccessResponseState" |
| 848 | } |
| 849 | }, |
| 850 | { |
| 851 | "key": { |
| 852 | "name": "SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2", |
| 853 | "version": "0.0.1" |
| 854 | }, |
| 855 | "value": { |
| 856 | "policyKey": { |
| 857 | "name": "SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2", |
| 858 | "version": "0.0.1" |
| 859 | }, |
| 860 | "template": "Freestyle", |
| 861 | "state": { |
| 862 | "entry": [ |
| 863 | { |
| 864 | "key": "SimpleCL_CDSConfigModifyFailureResponseState", |
| 865 | "value": { |
| 866 | "stateKey": { |
| 867 | "parentKeyName": "SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2", |
| 868 | "parentKeyVersion": "0.0.1", |
| 869 | "parentLocalName": "NULL", |
| 870 | "localName": "SimpleCL_CDSConfigModifyFailureResponseState" |
| 871 | }, |
| 872 | "trigger": { |
| 873 | "name": "SimpleCL_CDSConfigModifyFailureResponseEvent", |
| 874 | "version": "0.0.1" |
| 875 | }, |
| 876 | "stateOutputs": { |
| 877 | "entry": [ |
| 878 | { |
| 879 | "key": "ConfigModifyFailureResponseOutput", |
| 880 | "value": { |
| 881 | "key": { |
| 882 | "parentKeyName": "SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2", |
| 883 | "parentKeyVersion": "0.0.1", |
| 884 | "parentLocalName": "SimpleCL_CDSConfigModifyFailureResponseState", |
| 885 | "localName": "ConfigModifyFailureResponseOutput" |
| 886 | }, |
| 887 | "outgoingEvent": { |
| 888 | "name": "SimpleCL_LogEvent", |
| 889 | "version": "0.0.1" |
| 890 | }, |
| 891 | "outgoingEventReference": [ |
| 892 | { |
| 893 | "name": "SimpleCL_LogEvent", |
| 894 | "version": "0.0.1" |
| 895 | } |
| 896 | ], |
| 897 | "nextState": { |
| 898 | "parentKeyName": "NULL", |
| 899 | "parentKeyVersion": "0.0.0", |
| 900 | "parentLocalName": "NULL", |
| 901 | "localName": "NULL" |
| 902 | } |
| 903 | } |
| 904 | } |
| 905 | ] |
| 906 | }, |
| 907 | "contextAlbumReference": [], |
| 908 | "taskSelectionLogic": { |
| 909 | "key": "NULL", |
| 910 | "logicFlavour": "UNDEFINED", |
| 911 | "logic": "" |
| 912 | }, |
| 913 | "stateFinalizerLogicMap": { |
| 914 | "entry": [] |
| 915 | }, |
| 916 | "defaultTask": { |
| 917 | "name": "SimpleCL_CDSConfigModifyFailureResponseTask2", |
| 918 | "version": "0.0.1" |
| 919 | }, |
| 920 | "taskReferences": { |
| 921 | "entry": [ |
| 922 | { |
| 923 | "key": { |
| 924 | "name": "SimpleCL_CDSConfigModifyFailureResponseTask2", |
| 925 | "version": "0.0.1" |
| 926 | }, |
| 927 | "value": { |
| 928 | "key": { |
| 929 | "parentKeyName": "SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2", |
| 930 | "parentKeyVersion": "0.0.1", |
| 931 | "parentLocalName": "SimpleCL_CDSConfigModifyFailureResponseState", |
| 932 | "localName": "SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2" |
| 933 | }, |
| 934 | "outputType": "DIRECT", |
| 935 | "output": { |
| 936 | "parentKeyName": "SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2", |
| 937 | "parentKeyVersion": "0.0.1", |
| 938 | "parentLocalName": "SimpleCL_CDSConfigModifyFailureResponseState", |
| 939 | "localName": "ConfigModifyFailureResponseOutput" |
| 940 | } |
| 941 | } |
| 942 | } |
| 943 | ] |
| 944 | } |
| 945 | } |
| 946 | } |
| 947 | ] |
| 948 | }, |
| 949 | "firstState": "SimpleCL_CDSConfigModifyFailureResponseState" |
| 950 | } |
| 951 | }, |
| 952 | { |
| 953 | "key": { |
| 954 | "name": "SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2", |
| 955 | "version": "0.0.1" |
| 956 | }, |
| 957 | "value": { |
| 958 | "policyKey": { |
| 959 | "name": "SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2", |
| 960 | "version": "0.0.1" |
| 961 | }, |
| 962 | "template": "Freestyle", |
| 963 | "state": { |
| 964 | "entry": [ |
| 965 | { |
| 966 | "key": "SimpleCL_CDSConfigModifySuccessResponseState", |
| 967 | "value": { |
| 968 | "stateKey": { |
| 969 | "parentKeyName": "SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2", |
| 970 | "parentKeyVersion": "0.0.1", |
| 971 | "parentLocalName": "NULL", |
| 972 | "localName": "SimpleCL_CDSConfigModifySuccessResponseState" |
| 973 | }, |
| 974 | "trigger": { |
| 975 | "name": "SimpleCL_CDSConfigModifySuccessResponseEvent", |
| 976 | "version": "0.0.1" |
| 977 | }, |
| 978 | "stateOutputs": { |
| 979 | "entry": [ |
| 980 | { |
| 981 | "key": "ConfigModifySuccessResponseOutput", |
| 982 | "value": { |
| 983 | "key": { |
| 984 | "parentKeyName": "SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2", |
| 985 | "parentKeyVersion": "0.0.1", |
| 986 | "parentLocalName": "SimpleCL_CDSConfigModifySuccessResponseState", |
| 987 | "localName": "ConfigModifySuccessResponseOutput" |
| 988 | }, |
| 989 | "outgoingEvent": { |
| 990 | "name": "SimpleCL_LogEvent", |
| 991 | "version": "0.0.1" |
| 992 | }, |
| 993 | "outgoingEventReference": [ |
| 994 | { |
| 995 | "name": "SimpleCL_LogEvent", |
| 996 | "version": "0.0.1" |
| 997 | } |
| 998 | ], |
| 999 | "nextState": { |
| 1000 | "parentKeyName": "NULL", |
| 1001 | "parentKeyVersion": "0.0.0", |
| 1002 | "parentLocalName": "NULL", |
| 1003 | "localName": "NULL" |
| 1004 | } |
| 1005 | } |
| 1006 | } |
| 1007 | ] |
| 1008 | }, |
| 1009 | "contextAlbumReference": [], |
| 1010 | "taskSelectionLogic": { |
| 1011 | "key": "NULL", |
| 1012 | "logicFlavour": "UNDEFINED", |
| 1013 | "logic": "" |
| 1014 | }, |
| 1015 | "stateFinalizerLogicMap": { |
| 1016 | "entry": [] |
| 1017 | }, |
| 1018 | "defaultTask": { |
| 1019 | "name": "SimpleCL_CDSConfigModifySuccessResponseTask2", |
| 1020 | "version": "0.0.1" |
| 1021 | }, |
| 1022 | "taskReferences": { |
| 1023 | "entry": [ |
| 1024 | { |
| 1025 | "key": { |
| 1026 | "name": "SimpleCL_CDSConfigModifySuccessResponseTask2", |
| 1027 | "version": "0.0.1" |
| 1028 | }, |
| 1029 | "value": { |
| 1030 | "key": { |
| 1031 | "parentKeyName": "SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2", |
| 1032 | "parentKeyVersion": "0.0.1", |
| 1033 | "parentLocalName": "SimpleCL_CDSConfigModifySuccessResponseState", |
| 1034 | "localName": "SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2" |
| 1035 | }, |
| 1036 | "outputType": "DIRECT", |
| 1037 | "output": { |
| 1038 | "parentKeyName": "SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2", |
| 1039 | "parentKeyVersion": "0.0.1", |
| 1040 | "parentLocalName": "SimpleCL_CDSConfigModifySuccessResponseState", |
| 1041 | "localName": "ConfigModifySuccessResponseOutput" |
| 1042 | } |
| 1043 | } |
| 1044 | } |
| 1045 | ] |
| 1046 | } |
| 1047 | } |
| 1048 | } |
| 1049 | ] |
| 1050 | }, |
| 1051 | "firstState": "SimpleCL_CDSConfigModifySuccessResponseState" |
| 1052 | } |
| 1053 | }, |
| 1054 | { |
| 1055 | "key": { |
| 1056 | "name": "SimpleCL_VesEventHandlerPolicy2", |
| 1057 | "version": "0.0.1" |
| 1058 | }, |
| 1059 | "value": { |
| 1060 | "policyKey": { |
| 1061 | "name": "SimpleCL_VesEventHandlerPolicy2", |
| 1062 | "version": "0.0.1" |
| 1063 | }, |
| 1064 | "template": "Freestyle", |
| 1065 | "state": { |
| 1066 | "entry": [ |
| 1067 | { |
| 1068 | "key": "SimpleCL_ReceiveVesState", |
| 1069 | "value": { |
| 1070 | "stateKey": { |
| 1071 | "parentKeyName": "SimpleCL_VesEventHandlerPolicy2", |
| 1072 | "parentKeyVersion": "0.0.1", |
| 1073 | "parentLocalName": "NULL", |
| 1074 | "localName": "SimpleCL_ReceiveVesState" |
| 1075 | }, |
| 1076 | "trigger": { |
| 1077 | "name": "SimpleCL_VesEvent", |
| 1078 | "version": "0.0.1" |
| 1079 | }, |
| 1080 | "stateOutputs": { |
| 1081 | "entry": [ |
| 1082 | { |
| 1083 | "key": "VesOutput", |
| 1084 | "value": { |
| 1085 | "key": { |
| 1086 | "parentKeyName": "SimpleCL_VesEventHandlerPolicy2", |
| 1087 | "parentKeyVersion": "0.0.1", |
| 1088 | "parentLocalName": "SimpleCL_ReceiveVesState", |
| 1089 | "localName": "VesOutput" |
| 1090 | }, |
| 1091 | "outgoingEvent": { |
| 1092 | "name": "SimpleCL_AAIRequestEvent", |
| 1093 | "version": "0.0.1" |
| 1094 | }, |
| 1095 | "outgoingEventReference": [ |
| 1096 | { |
| 1097 | "name": "SimpleCL_AAIRequestEvent", |
| 1098 | "version": "0.0.1" |
| 1099 | }, |
| 1100 | { |
| 1101 | "name": "SimpleCL_LogEvent", |
| 1102 | "version": "0.0.1" |
| 1103 | } |
| 1104 | ], |
| 1105 | "nextState": { |
| 1106 | "parentKeyName": "NULL", |
| 1107 | "parentKeyVersion": "0.0.0", |
| 1108 | "parentLocalName": "NULL", |
| 1109 | "localName": "NULL" |
| 1110 | } |
| 1111 | } |
| 1112 | } |
| 1113 | ] |
| 1114 | }, |
| 1115 | "contextAlbumReference": [], |
| 1116 | "taskSelectionLogic": { |
| 1117 | "key": "NULL", |
| 1118 | "logicFlavour": "UNDEFINED", |
| 1119 | "logic": "" |
| 1120 | }, |
| 1121 | "stateFinalizerLogicMap": { |
| 1122 | "entry": [] |
| 1123 | }, |
| 1124 | "defaultTask": { |
| 1125 | "name": "SimpleCL_HandleVesEventTask2", |
| 1126 | "version": "0.0.1" |
| 1127 | }, |
| 1128 | "taskReferences": { |
| 1129 | "entry": [ |
| 1130 | { |
| 1131 | "key": { |
| 1132 | "name": "SimpleCL_HandleVesEventTask2", |
| 1133 | "version": "0.0.1" |
| 1134 | }, |
| 1135 | "value": { |
| 1136 | "key": { |
| 1137 | "parentKeyName": "SimpleCL_VesEventHandlerPolicy2", |
| 1138 | "parentKeyVersion": "0.0.1", |
| 1139 | "parentLocalName": "SimpleCL_ReceiveVesState", |
| 1140 | "localName": "SimpleCL_VesEventHandlerPolicy2" |
| 1141 | }, |
| 1142 | "outputType": "DIRECT", |
| 1143 | "output": { |
| 1144 | "parentKeyName": "SimpleCL_VesEventHandlerPolicy2", |
| 1145 | "parentKeyVersion": "0.0.1", |
| 1146 | "parentLocalName": "SimpleCL_ReceiveVesState", |
| 1147 | "localName": "VesOutput" |
| 1148 | } |
| 1149 | } |
| 1150 | } |
| 1151 | ] |
| 1152 | } |
| 1153 | } |
| 1154 | } |
| 1155 | ] |
| 1156 | }, |
| 1157 | "firstState": "SimpleCL_ReceiveVesState" |
| 1158 | } |
| 1159 | } |
| 1160 | ] |
| 1161 | } |
| 1162 | }, |
| 1163 | "tasks": { |
| 1164 | "key": { |
| 1165 | "name": "onap.policies.apex.Simplecontrolloop2_Tasks", |
| 1166 | "version": "0.0.1" |
| 1167 | }, |
| 1168 | "taskMap": { |
| 1169 | "entry": [ |
| 1170 | { |
| 1171 | "key": { |
| 1172 | "name": "SimpleCL_CDSConfigModifyFailureResponseTask2", |
| 1173 | "version": "0.0.1" |
| 1174 | }, |
| 1175 | "value": { |
| 1176 | "key": { |
| 1177 | "name": "SimpleCL_CDSConfigModifyFailureResponseTask2", |
| 1178 | "version": "0.0.1" |
| 1179 | }, |
| 1180 | "inputEvent": { |
| 1181 | "key": { |
| 1182 | "name": "SimpleCL_CDSConfigModifyFailureResponseEvent", |
| 1183 | "version": "0.0.1" |
| 1184 | }, |
| 1185 | "nameSpace": "org.onap.policy.apex.simplecontrolloop", |
| 1186 | "source": "CDS", |
| 1187 | "target": "APEX", |
| 1188 | "parameter": { |
| 1189 | "entry": [ |
| 1190 | { |
| 1191 | "key": "actionIdentifiers", |
| 1192 | "value": { |
| 1193 | "key": "actionIdentifiers", |
| 1194 | "fieldSchemaKey": { |
| 1195 | "name": "SimpleCL_CDSActionIdentifiersType", |
| 1196 | "version": "0.0.1" |
| 1197 | }, |
| 1198 | "optional": false |
| 1199 | } |
| 1200 | }, |
| 1201 | { |
| 1202 | "key": "commonHeader", |
| 1203 | "value": { |
| 1204 | "key": "commonHeader", |
| 1205 | "fieldSchemaKey": { |
| 1206 | "name": "SimpleCL_CDSFailureResponseCommonHeaderType", |
| 1207 | "version": "0.0.1" |
| 1208 | }, |
| 1209 | "optional": false |
| 1210 | } |
| 1211 | }, |
| 1212 | { |
| 1213 | "key": "payload", |
| 1214 | "value": { |
| 1215 | "key": "payload", |
| 1216 | "fieldSchemaKey": { |
| 1217 | "name": "SimpleCL_CDSConfigModifyRequestPayloadType", |
| 1218 | "version": "0.0.1" |
| 1219 | }, |
| 1220 | "optional": false |
| 1221 | } |
| 1222 | }, |
| 1223 | { |
| 1224 | "key": "status", |
| 1225 | "value": { |
| 1226 | "key": "status", |
| 1227 | "fieldSchemaKey": { |
| 1228 | "name": "SimpleCL_CDSFailureResponseStatusType", |
| 1229 | "version": "0.0.1" |
| 1230 | }, |
| 1231 | "optional": false |
| 1232 | } |
| 1233 | } |
| 1234 | ] |
| 1235 | } |
| 1236 | }, |
| 1237 | "outputEvents": { |
| 1238 | "entry": [ |
| 1239 | { |
| 1240 | "key": "SimpleCL_LogEvent", |
| 1241 | "value": { |
| 1242 | "key": { |
| 1243 | "name": "SimpleCL_LogEvent", |
| 1244 | "version": "0.0.1" |
| 1245 | }, |
| 1246 | "nameSpace": "org.onap.policy.apex.simplecontrolloop", |
| 1247 | "source": "APEX", |
| 1248 | "target": "DCAE", |
| 1249 | "parameter": { |
| 1250 | "entry": [ |
| 1251 | { |
| 1252 | "key": "component", |
| 1253 | "value": { |
| 1254 | "key": "component", |
| 1255 | "fieldSchemaKey": { |
| 1256 | "name": "SimpleCL_LogEventComponentType", |
| 1257 | "version": "0.0.1" |
| 1258 | }, |
| 1259 | "optional": false |
| 1260 | } |
| 1261 | }, |
| 1262 | { |
| 1263 | "key": "id", |
| 1264 | "value": { |
| 1265 | "key": "id", |
| 1266 | "fieldSchemaKey": { |
| 1267 | "name": "SimpleStringType", |
| 1268 | "version": "0.0.1" |
| 1269 | }, |
| 1270 | "optional": false |
| 1271 | } |
| 1272 | }, |
| 1273 | { |
| 1274 | "key": "otherFields", |
| 1275 | "value": { |
| 1276 | "key": "otherFields", |
| 1277 | "fieldSchemaKey": { |
| 1278 | "name": "SimpleCL_LogEventOtherFieldsType", |
| 1279 | "version": "0.0.1" |
| 1280 | }, |
| 1281 | "optional": false |
| 1282 | } |
| 1283 | }, |
| 1284 | { |
| 1285 | "key": "target", |
| 1286 | "value": { |
| 1287 | "key": "target", |
| 1288 | "fieldSchemaKey": { |
| 1289 | "name": "SimpleCL_LogEventTargetType", |
| 1290 | "version": "0.0.1" |
| 1291 | }, |
| 1292 | "optional": false |
| 1293 | } |
| 1294 | } |
| 1295 | ] |
| 1296 | } |
| 1297 | } |
| 1298 | } |
| 1299 | ] |
| 1300 | }, |
| 1301 | "taskParameters": { |
| 1302 | "entry": [] |
| 1303 | }, |
| 1304 | "contextAlbumReference": [ |
| 1305 | { |
| 1306 | "name": "SimpleCL_EventDetailsAlbum", |
| 1307 | "version": "0.0.1" |
| 1308 | } |
| 1309 | ], |
| 1310 | "taskLogic": { |
| 1311 | "key": "TaskLogic", |
| 1312 | "logicFlavour": "JAVASCRIPT", |
| 1313 | "logic": "var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar errorMessage = \"CDS operation failed. Error message from CDS - \" + executor.inFields.get(\"status\").get(\"errorMessage\");\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + errorMessage);\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}" |
| 1314 | } |
| 1315 | } |
| 1316 | }, |
| 1317 | { |
| 1318 | "key": { |
| 1319 | "name": "SimpleCL_CDSConfigModifySuccessResponseTask2", |
| 1320 | "version": "0.0.1" |
| 1321 | }, |
| 1322 | "value": { |
| 1323 | "key": { |
| 1324 | "name": "SimpleCL_CDSConfigModifySuccessResponseTask2", |
| 1325 | "version": "0.0.1" |
| 1326 | }, |
| 1327 | "inputEvent": { |
| 1328 | "key": { |
| 1329 | "name": "SimpleCL_CDSConfigModifySuccessResponseEvent", |
| 1330 | "version": "0.0.1" |
| 1331 | }, |
| 1332 | "nameSpace": "org.onap.policy.apex.simplecontrolloop", |
| 1333 | "source": "CDS", |
| 1334 | "target": "APEX", |
| 1335 | "parameter": { |
| 1336 | "entry": [ |
| 1337 | { |
| 1338 | "key": "actionIdentifiers", |
| 1339 | "value": { |
| 1340 | "key": "actionIdentifiers", |
| 1341 | "fieldSchemaKey": { |
| 1342 | "name": "SimpleCL_CDSActionIdentifiersType", |
| 1343 | "version": "0.0.1" |
| 1344 | }, |
| 1345 | "optional": false |
| 1346 | } |
| 1347 | }, |
| 1348 | { |
| 1349 | "key": "commonHeader", |
| 1350 | "value": { |
| 1351 | "key": "commonHeader", |
| 1352 | "fieldSchemaKey": { |
| 1353 | "name": "SimpleCL_CDSSuccessResponseCommonHeaderType", |
| 1354 | "version": "0.0.1" |
| 1355 | }, |
| 1356 | "optional": false |
| 1357 | } |
| 1358 | }, |
| 1359 | { |
| 1360 | "key": "payload", |
| 1361 | "value": { |
| 1362 | "key": "payload", |
| 1363 | "fieldSchemaKey": { |
| 1364 | "name": "SimpleCL_CDSConfigModifyResponsePayloadType", |
| 1365 | "version": "0.0.1" |
| 1366 | }, |
| 1367 | "optional": false |
| 1368 | } |
| 1369 | }, |
| 1370 | { |
| 1371 | "key": "status", |
| 1372 | "value": { |
| 1373 | "key": "status", |
| 1374 | "fieldSchemaKey": { |
| 1375 | "name": "SimpleCL_CDSSuccessResponseStatusType", |
| 1376 | "version": "0.0.1" |
| 1377 | }, |
| 1378 | "optional": false |
| 1379 | } |
| 1380 | } |
| 1381 | ] |
| 1382 | } |
| 1383 | }, |
| 1384 | "outputEvents": { |
| 1385 | "entry": [ |
| 1386 | { |
| 1387 | "key": "SimpleCL_LogEvent", |
| 1388 | "value": { |
| 1389 | "key": { |
| 1390 | "name": "SimpleCL_LogEvent", |
| 1391 | "version": "0.0.1" |
| 1392 | }, |
| 1393 | "nameSpace": "org.onap.policy.apex.simplecontrolloop", |
| 1394 | "source": "APEX", |
| 1395 | "target": "DCAE", |
| 1396 | "parameter": { |
| 1397 | "entry": [ |
| 1398 | { |
| 1399 | "key": "component", |
| 1400 | "value": { |
| 1401 | "key": "component", |
| 1402 | "fieldSchemaKey": { |
| 1403 | "name": "SimpleCL_LogEventComponentType", |
| 1404 | "version": "0.0.1" |
| 1405 | }, |
| 1406 | "optional": false |
| 1407 | } |
| 1408 | }, |
| 1409 | { |
| 1410 | "key": "id", |
| 1411 | "value": { |
| 1412 | "key": "id", |
| 1413 | "fieldSchemaKey": { |
| 1414 | "name": "SimpleStringType", |
| 1415 | "version": "0.0.1" |
| 1416 | }, |
| 1417 | "optional": false |
| 1418 | } |
| 1419 | }, |
| 1420 | { |
| 1421 | "key": "otherFields", |
| 1422 | "value": { |
| 1423 | "key": "otherFields", |
| 1424 | "fieldSchemaKey": { |
| 1425 | "name": "SimpleCL_LogEventOtherFieldsType", |
| 1426 | "version": "0.0.1" |
| 1427 | }, |
| 1428 | "optional": false |
| 1429 | } |
| 1430 | }, |
| 1431 | { |
| 1432 | "key": "target", |
| 1433 | "value": { |
| 1434 | "key": "target", |
| 1435 | "fieldSchemaKey": { |
| 1436 | "name": "SimpleCL_LogEventTargetType", |
| 1437 | "version": "0.0.1" |
| 1438 | }, |
| 1439 | "optional": false |
| 1440 | } |
| 1441 | } |
| 1442 | ] |
| 1443 | } |
| 1444 | } |
| 1445 | } |
| 1446 | ] |
| 1447 | }, |
| 1448 | "taskParameters": { |
| 1449 | "entry": [] |
| 1450 | }, |
| 1451 | "contextAlbumReference": [ |
| 1452 | { |
| 1453 | "name": "SimpleCL_EventDetailsAlbum", |
| 1454 | "version": "0.0.1" |
| 1455 | } |
| 1456 | ], |
| 1457 | "taskLogic": { |
| 1458 | "key": "TaskLogic", |
| 1459 | "logicFlavour": "JAVASCRIPT", |
| 1460 | "logic": "var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\n\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_SUCCESS\", \"Successfully processed the VES event. Hostname is updated.\")\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}" |
| 1461 | } |
| 1462 | } |
| 1463 | }, |
| 1464 | { |
| 1465 | "key": { |
| 1466 | "name": "SimpleCL_HandleAAIFailureResponseTask2", |
| 1467 | "version": "0.0.1" |
| 1468 | }, |
| 1469 | "value": { |
| 1470 | "key": { |
| 1471 | "name": "SimpleCL_HandleAAIFailureResponseTask2", |
| 1472 | "version": "0.0.1" |
| 1473 | }, |
| 1474 | "inputEvent": { |
| 1475 | "key": { |
| 1476 | "name": "SimpleCL_AAIFailureResponseEvent", |
| 1477 | "version": "0.0.1" |
| 1478 | }, |
| 1479 | "nameSpace": "org.onap.policy.apex.simplecontrolloop", |
| 1480 | "source": "AAI", |
| 1481 | "target": "APEX", |
| 1482 | "parameter": { |
| 1483 | "entry": [ |
| 1484 | { |
| 1485 | "key": "requestError", |
| 1486 | "value": { |
| 1487 | "key": "requestError", |
| 1488 | "fieldSchemaKey": { |
| 1489 | "name": "SimpleCL_AAIRequestErrorType", |
| 1490 | "version": "0.0.1" |
| 1491 | }, |
| 1492 | "optional": false |
| 1493 | } |
| 1494 | } |
| 1495 | ] |
| 1496 | } |
| 1497 | }, |
| 1498 | "outputEvents": { |
| 1499 | "entry": [ |
| 1500 | { |
| 1501 | "key": "SimpleCL_LogEvent", |
| 1502 | "value": { |
| 1503 | "key": { |
| 1504 | "name": "SimpleCL_LogEvent", |
| 1505 | "version": "0.0.1" |
| 1506 | }, |
| 1507 | "nameSpace": "org.onap.policy.apex.simplecontrolloop", |
| 1508 | "source": "APEX", |
| 1509 | "target": "DCAE", |
| 1510 | "parameter": { |
| 1511 | "entry": [ |
| 1512 | { |
| 1513 | "key": "component", |
| 1514 | "value": { |
| 1515 | "key": "component", |
| 1516 | "fieldSchemaKey": { |
| 1517 | "name": "SimpleCL_LogEventComponentType", |
| 1518 | "version": "0.0.1" |
| 1519 | }, |
| 1520 | "optional": false |
| 1521 | } |
| 1522 | }, |
| 1523 | { |
| 1524 | "key": "id", |
| 1525 | "value": { |
| 1526 | "key": "id", |
| 1527 | "fieldSchemaKey": { |
| 1528 | "name": "SimpleStringType", |
| 1529 | "version": "0.0.1" |
| 1530 | }, |
| 1531 | "optional": false |
| 1532 | } |
| 1533 | }, |
| 1534 | { |
| 1535 | "key": "otherFields", |
| 1536 | "value": { |
| 1537 | "key": "otherFields", |
| 1538 | "fieldSchemaKey": { |
| 1539 | "name": "SimpleCL_LogEventOtherFieldsType", |
| 1540 | "version": "0.0.1" |
| 1541 | }, |
| 1542 | "optional": false |
| 1543 | } |
| 1544 | }, |
| 1545 | { |
| 1546 | "key": "target", |
| 1547 | "value": { |
| 1548 | "key": "target", |
| 1549 | "fieldSchemaKey": { |
| 1550 | "name": "SimpleCL_LogEventTargetType", |
| 1551 | "version": "0.0.1" |
| 1552 | }, |
| 1553 | "optional": false |
| 1554 | } |
| 1555 | } |
| 1556 | ] |
| 1557 | } |
| 1558 | } |
| 1559 | } |
| 1560 | ] |
| 1561 | }, |
| 1562 | "taskParameters": { |
| 1563 | "entry": [] |
| 1564 | }, |
| 1565 | "contextAlbumReference": [ |
| 1566 | { |
| 1567 | "name": "SimpleCL_EventDetailsAlbum", |
| 1568 | "version": "0.0.1" |
| 1569 | } |
| 1570 | ], |
| 1571 | "taskLogic": { |
| 1572 | "key": "TaskLogic", |
| 1573 | "logicFlavour": "JAVASCRIPT", |
| 1574 | "logic": "var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar aaiErrorMessage = \"AAI operation failed. Error message from AAI - \" + executor.inFields.get(\"requestError\").get(\"serviceException\").get(\"text\");\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + aaiErrorMessage)\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}" |
| 1575 | } |
| 1576 | } |
| 1577 | }, |
| 1578 | { |
| 1579 | "key": { |
| 1580 | "name": "SimpleCL_HandleAAISuccessResponseTask2", |
| 1581 | "version": "0.0.1" |
| 1582 | }, |
| 1583 | "value": { |
| 1584 | "key": { |
| 1585 | "name": "SimpleCL_HandleAAISuccessResponseTask2", |
| 1586 | "version": "0.0.1" |
| 1587 | }, |
| 1588 | "inputEvent": { |
| 1589 | "key": { |
| 1590 | "name": "SimpleCL_AAISuccessResponseEvent", |
| 1591 | "version": "0.0.1" |
| 1592 | }, |
| 1593 | "nameSpace": "org.onap.policy.apex.simplecontrolloop", |
| 1594 | "source": "AAI", |
| 1595 | "target": "APEX", |
| 1596 | "parameter": { |
| 1597 | "entry": [ |
| 1598 | { |
| 1599 | "key": "equip-model", |
| 1600 | "value": { |
| 1601 | "key": "equip-model", |
| 1602 | "fieldSchemaKey": { |
| 1603 | "name": "SimpleStringType", |
| 1604 | "version": "0.0.1" |
| 1605 | }, |
| 1606 | "optional": false |
| 1607 | } |
| 1608 | }, |
| 1609 | { |
| 1610 | "key": "equip-type", |
| 1611 | "value": { |
| 1612 | "key": "equip-type", |
| 1613 | "fieldSchemaKey": { |
| 1614 | "name": "SimpleStringType", |
| 1615 | "version": "0.0.1" |
| 1616 | }, |
| 1617 | "optional": false |
| 1618 | } |
| 1619 | }, |
| 1620 | { |
| 1621 | "key": "equip-vendor", |
| 1622 | "value": { |
| 1623 | "key": "equip-vendor", |
| 1624 | "fieldSchemaKey": { |
| 1625 | "name": "SimpleStringType", |
| 1626 | "version": "0.0.1" |
| 1627 | }, |
| 1628 | "optional": false |
| 1629 | } |
| 1630 | }, |
| 1631 | { |
| 1632 | "key": "frame-id", |
| 1633 | "value": { |
| 1634 | "key": "frame-id", |
| 1635 | "fieldSchemaKey": { |
| 1636 | "name": "SimpleStringType", |
| 1637 | "version": "0.0.1" |
| 1638 | }, |
| 1639 | "optional": false |
| 1640 | } |
| 1641 | }, |
| 1642 | { |
| 1643 | "key": "in-maint", |
| 1644 | "value": { |
| 1645 | "key": "in-maint", |
| 1646 | "fieldSchemaKey": { |
| 1647 | "name": "SimpleBooleanType", |
| 1648 | "version": "0.0.1" |
| 1649 | }, |
| 1650 | "optional": false |
| 1651 | } |
| 1652 | }, |
| 1653 | { |
| 1654 | "key": "ipaddress-v4-oam", |
| 1655 | "value": { |
| 1656 | "key": "ipaddress-v4-oam", |
| 1657 | "fieldSchemaKey": { |
| 1658 | "name": "SimpleStringType", |
| 1659 | "version": "0.0.1" |
| 1660 | }, |
| 1661 | "optional": false |
| 1662 | } |
| 1663 | }, |
| 1664 | { |
| 1665 | "key": "nf-role", |
| 1666 | "value": { |
| 1667 | "key": "nf-role", |
| 1668 | "fieldSchemaKey": { |
| 1669 | "name": "SimpleStringType", |
| 1670 | "version": "0.0.1" |
| 1671 | }, |
| 1672 | "optional": false |
| 1673 | } |
| 1674 | }, |
| 1675 | { |
| 1676 | "key": "pnf-ipv4-address", |
| 1677 | "value": { |
| 1678 | "key": "pnf-ipv4-address", |
| 1679 | "fieldSchemaKey": { |
| 1680 | "name": "SimpleStringType", |
| 1681 | "version": "0.0.1" |
| 1682 | }, |
| 1683 | "optional": false |
| 1684 | } |
| 1685 | }, |
| 1686 | { |
| 1687 | "key": "pnf-name", |
| 1688 | "value": { |
| 1689 | "key": "pnf-name", |
| 1690 | "fieldSchemaKey": { |
| 1691 | "name": "SimpleStringType", |
| 1692 | "version": "0.0.1" |
| 1693 | }, |
| 1694 | "optional": false |
| 1695 | } |
| 1696 | }, |
| 1697 | { |
| 1698 | "key": "resource-version", |
| 1699 | "value": { |
| 1700 | "key": "resource-version", |
| 1701 | "fieldSchemaKey": { |
| 1702 | "name": "SimpleStringType", |
| 1703 | "version": "0.0.1" |
| 1704 | }, |
| 1705 | "optional": false |
| 1706 | } |
| 1707 | } |
| 1708 | ] |
| 1709 | } |
| 1710 | }, |
| 1711 | "outputEvents": { |
| 1712 | "entry": [ |
| 1713 | { |
| 1714 | "key": "SimpleCL_CDSConfigModifyRequestEvent", |
| 1715 | "value": { |
| 1716 | "key": { |
| 1717 | "name": "SimpleCL_CDSConfigModifyRequestEvent", |
| 1718 | "version": "0.0.1" |
| 1719 | }, |
| 1720 | "nameSpace": "org.onap.policy.apex.simplecontrolloop", |
| 1721 | "source": "APEX", |
| 1722 | "target": "APEX", |
| 1723 | "parameter": { |
| 1724 | "entry": [ |
| 1725 | { |
| 1726 | "key": "actionIdentifiers", |
| 1727 | "value": { |
| 1728 | "key": "actionIdentifiers", |
| 1729 | "fieldSchemaKey": { |
| 1730 | "name": "SimpleCL_CDSActionIdentifiersType", |
| 1731 | "version": "0.0.1" |
| 1732 | }, |
| 1733 | "optional": false |
| 1734 | } |
| 1735 | }, |
| 1736 | { |
| 1737 | "key": "commonHeader", |
| 1738 | "value": { |
| 1739 | "key": "commonHeader", |
| 1740 | "fieldSchemaKey": { |
| 1741 | "name": "SimpleCL_CDSRequestCommonHeaderType", |
| 1742 | "version": "0.0.1" |
| 1743 | }, |
| 1744 | "optional": false |
| 1745 | } |
| 1746 | }, |
| 1747 | { |
| 1748 | "key": "payload", |
| 1749 | "value": { |
| 1750 | "key": "payload", |
| 1751 | "fieldSchemaKey": { |
| 1752 | "name": "SimpleCL_CDSConfigModifyRequestPayloadType", |
| 1753 | "version": "0.0.1" |
| 1754 | }, |
| 1755 | "optional": false |
| 1756 | } |
| 1757 | } |
| 1758 | ] |
| 1759 | } |
| 1760 | } |
| 1761 | }, |
| 1762 | { |
| 1763 | "key": "SimpleCL_LogEvent", |
| 1764 | "value": { |
| 1765 | "key": { |
| 1766 | "name": "SimpleCL_LogEvent", |
| 1767 | "version": "0.0.1" |
| 1768 | }, |
| 1769 | "nameSpace": "org.onap.policy.apex.simplecontrolloop", |
| 1770 | "source": "APEX", |
| 1771 | "target": "DCAE", |
| 1772 | "parameter": { |
| 1773 | "entry": [ |
| 1774 | { |
| 1775 | "key": "component", |
| 1776 | "value": { |
| 1777 | "key": "component", |
| 1778 | "fieldSchemaKey": { |
| 1779 | "name": "SimpleCL_LogEventComponentType", |
| 1780 | "version": "0.0.1" |
| 1781 | }, |
| 1782 | "optional": false |
| 1783 | } |
| 1784 | }, |
| 1785 | { |
| 1786 | "key": "id", |
| 1787 | "value": { |
| 1788 | "key": "id", |
| 1789 | "fieldSchemaKey": { |
| 1790 | "name": "SimpleStringType", |
| 1791 | "version": "0.0.1" |
| 1792 | }, |
| 1793 | "optional": false |
| 1794 | } |
| 1795 | }, |
| 1796 | { |
| 1797 | "key": "otherFields", |
| 1798 | "value": { |
| 1799 | "key": "otherFields", |
| 1800 | "fieldSchemaKey": { |
| 1801 | "name": "SimpleCL_LogEventOtherFieldsType", |
| 1802 | "version": "0.0.1" |
| 1803 | }, |
| 1804 | "optional": false |
| 1805 | } |
| 1806 | }, |
| 1807 | { |
| 1808 | "key": "target", |
| 1809 | "value": { |
| 1810 | "key": "target", |
| 1811 | "fieldSchemaKey": { |
| 1812 | "name": "SimpleCL_LogEventTargetType", |
| 1813 | "version": "0.0.1" |
| 1814 | }, |
| 1815 | "optional": false |
| 1816 | } |
| 1817 | } |
| 1818 | ] |
| 1819 | } |
| 1820 | } |
| 1821 | } |
| 1822 | ] |
| 1823 | }, |
| 1824 | "taskParameters": { |
| 1825 | "entry": [] |
| 1826 | }, |
| 1827 | "contextAlbumReference": [ |
| 1828 | { |
| 1829 | "name": "SimpleCL_EventDetailsAlbum", |
| 1830 | "version": "0.0.1" |
| 1831 | } |
| 1832 | ], |
| 1833 | "taskLogic": { |
| 1834 | "key": "TaskLogic", |
| 1835 | "logicFlavour": "JAVASCRIPT", |
| 1836 | "logic": "var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\nexecutor.logger.info(\"HandleAAISuccessResponseTask extracted context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar otherFieldsMap = eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\");\n\nvar targetEntityName = executor.inFields.get(\"pnf-name\")\nvar logMessage = \"\";\nvar existingHostname = executor.inFields.get(\"pnf-name2\");\nvar hostnameInVesEvent = otherFieldsMap.get(\"hostname\");\n\nvar albumSchemaHelper = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper();\nvar target = albumSchemaHelper.createNewSubInstance(\"target\");\ntarget.put(\"targetType\", \"PNF\")\nvar entityInfo = albumSchemaHelper.createNewSubInstance(\"entityInfo\");\nentityInfo.put(\"name\",targetEntityName);\ntarget.put(\"entityInfo\", entityInfo);\neventDetailsAlbum.put(\"target\", target);\n\nvar returnVal = true;\nif ((String(hostnameInVesEvent) != \"UNDEFINED\") && (String(existingHostname) != String(hostnameInVesEvent))) {\n logMessage = \"Hostname available in AAI does not match with the hostname received in the VES Event.\";\n returnVal = false\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + logMessage)\n executor.addFieldsToOutput(logEventFields);\n} else {\n logMessage = \"Received response from AAI successfully. Hostname in AAI matches with the one in Ves event. Going to make the update-config request to CDS.\";\n\n var commonHeader = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"commonHeader\").createNewInstance();\n commonHeader.put(\"subRequestId\", albumID.toString());\n commonHeader.put(\"requestId\", commonEventHeader.get(\"eventId\"));\n commonHeader.put(\"originatorId\", \"POLICY\");\n\n var blueprintName = \"controlloop-hostname-update\";\n var blueprintVersion = \"1.0.4\";\n var newHostname = \"host\" + Math.random().toString(36).substring(7);\n eventDetailsAlbum.put(\"generatedHostname\", newHostname);\n\n var actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"actionIdentifiers\").createNewInstance();\n actionIdentifiers.put(\"mode\", \"sync\");\n actionIdentifiers.put(\"blueprintName\", blueprintName);\n actionIdentifiers.put(\"blueprintVersion\", blueprintVersion);\n actionIdentifiers.put(\"actionName\", \"update-config\");\n\n var payloadEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewSubInstance(\"CDSConfigModifyRequestPayloadEntry\");\n payloadEntry.put(\"hostname\", newHostname)\n payloadEntry.put(\"IP\", executor.inFields.get(\"ipaddress-v4-oam\"));\n payloadEntry.put(\"pnfName\", otherFieldsMap.get(\"pnfName\"));\n\n var payload = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewInstance();\n payload.put(\"update_DasH_config_DasH_request\", payloadEntry);\n\n var cdsRequestEventFields = java.util.HashMap();\n cdsRequestEventFields.put(\"commonHeader\", commonHeader);\n cdsRequestEventFields.put(\"actionIdentifiers\", actionIdentifiers);\n cdsRequestEventFields.put(\"payload\", payload);\n executor.addFieldsToOutput(cdsRequestEventFields);\n\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"SUCCESS\", logMessage)\n executor.addFieldsToOutput(logEventFields);\n}\nexecutor.logger.info(executor.outFieldsList);\nreturnVal;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}" |
| 1837 | } |
| 1838 | } |
| 1839 | }, |
| 1840 | { |
| 1841 | "key": { |
| 1842 | "name": "SimpleCL_HandleVesEventTask2", |
| 1843 | "version": "0.0.1" |
| 1844 | }, |
| 1845 | "value": { |
| 1846 | "key": { |
| 1847 | "name": "SimpleCL_HandleVesEventTask2", |
| 1848 | "version": "0.0.1" |
| 1849 | }, |
| 1850 | "inputEvent": { |
| 1851 | "key": { |
| 1852 | "name": "SimpleCL_VesEvent", |
| 1853 | "version": "0.0.1" |
| 1854 | }, |
| 1855 | "nameSpace": "org.onap.policy.apex.simplecontrolloop", |
| 1856 | "source": "DCAE", |
| 1857 | "target": "APEX", |
| 1858 | "parameter": { |
| 1859 | "entry": [ |
| 1860 | { |
| 1861 | "key": "event", |
| 1862 | "value": { |
| 1863 | "key": "event", |
| 1864 | "fieldSchemaKey": { |
| 1865 | "name": "SimpleCL_VesEventType", |
| 1866 | "version": "0.0.1" |
| 1867 | }, |
| 1868 | "optional": false |
| 1869 | } |
| 1870 | } |
| 1871 | ] |
| 1872 | } |
| 1873 | }, |
| 1874 | "outputEvents": { |
| 1875 | "entry": [ |
| 1876 | { |
| 1877 | "key": "SimpleCL_AAIRequestEvent", |
| 1878 | "value": { |
| 1879 | "key": { |
| 1880 | "name": "SimpleCL_AAIRequestEvent", |
| 1881 | "version": "0.0.1" |
| 1882 | }, |
| 1883 | "nameSpace": "org.onap.policy.apex.simplecontrolloop", |
| 1884 | "source": "APEX", |
| 1885 | "target": "AAI", |
| 1886 | "parameter": { |
| 1887 | "entry": [ |
| 1888 | { |
| 1889 | "key": "aaifield", |
| 1890 | "value": { |
| 1891 | "key": "aaifield", |
| 1892 | "fieldSchemaKey": { |
| 1893 | "name": "SimpleStringType", |
| 1894 | "version": "0.0.1" |
| 1895 | }, |
| 1896 | "optional": false |
| 1897 | } |
| 1898 | } |
| 1899 | ] |
| 1900 | } |
| 1901 | } |
| 1902 | }, |
| 1903 | { |
| 1904 | "key": "SimpleCL_LogEvent", |
| 1905 | "value": { |
| 1906 | "key": { |
| 1907 | "name": "SimpleCL_LogEvent", |
| 1908 | "version": "0.0.1" |
| 1909 | }, |
| 1910 | "nameSpace": "org.onap.policy.apex.simplecontrolloop", |
| 1911 | "source": "APEX", |
| 1912 | "target": "DCAE", |
| 1913 | "parameter": { |
| 1914 | "entry": [ |
| 1915 | { |
| 1916 | "key": "component", |
| 1917 | "value": { |
| 1918 | "key": "component", |
| 1919 | "fieldSchemaKey": { |
| 1920 | "name": "SimpleCL_LogEventComponentType", |
| 1921 | "version": "0.0.1" |
| 1922 | }, |
| 1923 | "optional": false |
| 1924 | } |
| 1925 | }, |
| 1926 | { |
| 1927 | "key": "id", |
| 1928 | "value": { |
| 1929 | "key": "id", |
| 1930 | "fieldSchemaKey": { |
| 1931 | "name": "SimpleStringType", |
| 1932 | "version": "0.0.1" |
| 1933 | }, |
| 1934 | "optional": false |
| 1935 | } |
| 1936 | }, |
| 1937 | { |
| 1938 | "key": "otherFields", |
| 1939 | "value": { |
| 1940 | "key": "otherFields", |
| 1941 | "fieldSchemaKey": { |
| 1942 | "name": "SimpleCL_LogEventOtherFieldsType", |
| 1943 | "version": "0.0.1" |
| 1944 | }, |
| 1945 | "optional": false |
| 1946 | } |
| 1947 | }, |
| 1948 | { |
| 1949 | "key": "target", |
| 1950 | "value": { |
| 1951 | "key": "target", |
| 1952 | "fieldSchemaKey": { |
| 1953 | "name": "SimpleCL_LogEventTargetType", |
| 1954 | "version": "0.0.1" |
| 1955 | }, |
| 1956 | "optional": false |
| 1957 | } |
| 1958 | } |
| 1959 | ] |
| 1960 | } |
| 1961 | } |
| 1962 | } |
| 1963 | ] |
| 1964 | }, |
| 1965 | "taskParameters": { |
| 1966 | "entry": [] |
| 1967 | }, |
| 1968 | "contextAlbumReference": [ |
| 1969 | { |
| 1970 | "name": "SimpleCL_EventDetailsAlbum", |
| 1971 | "version": "0.0.1" |
| 1972 | } |
| 1973 | ], |
| 1974 | "taskLogic": { |
| 1975 | "key": "TaskLogic", |
| 1976 | "logicFlavour": "JAVASCRIPT", |
| 1977 | "logic": "var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper().createNewInstance();\nvar returnValue = true;\n\nvar event = executor.inFields.get(\"event\");\nexecutor.logger.info(\"HandleVesEventTask processing VES event - \" + event);\n\nvar commonEventHeader = event.get(\"commonEventHeader\");\nvar otherFields = event.get(\"otherFields\");\n// albumID will be used to fetch info from our album later. Storing event data in album by sourceId / AAI pnf-id, the same will be sent to CDS request payload as subRequestId\nvar albumID = commonEventHeader.get(\"sourceId\");\n// save the event processing start time in apex\ncommonEventHeader.put(\"startEpochMicrosec\", longType(new Date().getTime()));\n//save the incoming event details to album\neventDetailsAlbum.put(\"commonEventHeader\", commonEventHeader);\neventDetailsAlbum.put(\"otherFields\", otherFields);\nexecutor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").put(albumID.toString(), eventDetailsAlbum);\nexecutor.logger.info(\"HandleVesEventTask storing context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nexecutor.getExecutionProperties().setProperty(\"albumId\", albumID);\nexecutor.getExecutionProperties().setProperty(\"pnfName\", otherFields.get(\"hashMap\").get(\"pnfName\"));\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), otherFields.get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"ACTIVE\", \"VES event has been received. Going to fetch details from AAI.\")\n\nexecutor.addFieldsToOutput(logEventFields);\n\nexecutor.logger.info(executor.outFieldsList);\nreturnValue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n // populate logEventFields\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}" |
| 1978 | } |
| 1979 | } |
| 1980 | } |
| 1981 | ] |
| 1982 | } |
| 1983 | }, |
| 1984 | "events": { |
| 1985 | "key": { |
| 1986 | "name": "onap.policies.apex.Simplecontrolloop2_Events", |
| 1987 | "version": "0.0.1" |
| 1988 | }, |
| 1989 | "eventMap": { |
| 1990 | "entry": [ |
| 1991 | { |
| 1992 | "key": { |
| 1993 | "name": "SimpleCL_AAIFailureResponseEvent", |
| 1994 | "version": "0.0.1" |
| 1995 | }, |
| 1996 | "value": { |
| 1997 | "key": { |
| 1998 | "name": "SimpleCL_AAIFailureResponseEvent", |
| 1999 | "version": "0.0.1" |
| 2000 | }, |
| 2001 | "nameSpace": "org.onap.policy.apex.simplecontrolloop", |
| 2002 | "source": "AAI", |
| 2003 | "target": "APEX", |
| 2004 | "parameter": { |
| 2005 | "entry": [ |
| 2006 | { |
| 2007 | "key": "requestError", |
| 2008 | "value": { |
| 2009 | "key": "requestError", |
| 2010 | "fieldSchemaKey": { |
| 2011 | "name": "SimpleCL_AAIRequestErrorType", |
| 2012 | "version": "0.0.1" |
| 2013 | }, |
| 2014 | "optional": false |
| 2015 | } |
| 2016 | } |
| 2017 | ] |
| 2018 | } |
| 2019 | } |
| 2020 | }, |
| 2021 | { |
| 2022 | "key": { |
| 2023 | "name": "SimpleCL_AAIRequestEvent", |
| 2024 | "version": "0.0.1" |
| 2025 | }, |
| 2026 | "value": { |
| 2027 | "key": { |
| 2028 | "name": "SimpleCL_AAIRequestEvent", |
| 2029 | "version": "0.0.1" |
| 2030 | }, |
| 2031 | "nameSpace": "org.onap.policy.apex.simplecontrolloop", |
| 2032 | "source": "APEX", |
| 2033 | "target": "AAI", |
| 2034 | "parameter": { |
| 2035 | "entry": [ |
| 2036 | { |
| 2037 | "key": "aaifield", |
| 2038 | "value": { |
| 2039 | "key": "aaifield", |
| 2040 | "fieldSchemaKey": { |
| 2041 | "name": "SimpleStringType", |
| 2042 | "version": "0.0.1" |
| 2043 | }, |
| 2044 | "optional": false |
| 2045 | } |
| 2046 | } |
| 2047 | ] |
| 2048 | } |
| 2049 | } |
| 2050 | }, |
| 2051 | { |
| 2052 | "key": { |
| 2053 | "name": "SimpleCL_AAISuccessResponseEvent", |
| 2054 | "version": "0.0.1" |
| 2055 | }, |
| 2056 | "value": { |
| 2057 | "key": { |
| 2058 | "name": "SimpleCL_AAISuccessResponseEvent", |
| 2059 | "version": "0.0.1" |
| 2060 | }, |
| 2061 | "nameSpace": "org.onap.policy.apex.simplecontrolloop", |
| 2062 | "source": "AAI", |
| 2063 | "target": "APEX", |
| 2064 | "parameter": { |
| 2065 | "entry": [ |
| 2066 | { |
| 2067 | "key": "equip-model", |
| 2068 | "value": { |
| 2069 | "key": "equip-model", |
| 2070 | "fieldSchemaKey": { |
| 2071 | "name": "SimpleStringType", |
| 2072 | "version": "0.0.1" |
| 2073 | }, |
| 2074 | "optional": false |
| 2075 | } |
| 2076 | }, |
| 2077 | { |
| 2078 | "key": "equip-type", |
| 2079 | "value": { |
| 2080 | "key": "equip-type", |
| 2081 | "fieldSchemaKey": { |
| 2082 | "name": "SimpleStringType", |
| 2083 | "version": "0.0.1" |
| 2084 | }, |
| 2085 | "optional": false |
| 2086 | } |
| 2087 | }, |
| 2088 | { |
| 2089 | "key": "equip-vendor", |
| 2090 | "value": { |
| 2091 | "key": "equip-vendor", |
| 2092 | "fieldSchemaKey": { |
| 2093 | "name": "SimpleStringType", |
| 2094 | "version": "0.0.1" |
| 2095 | }, |
| 2096 | "optional": false |
| 2097 | } |
| 2098 | }, |
| 2099 | { |
| 2100 | "key": "frame-id", |
| 2101 | "value": { |
| 2102 | "key": "frame-id", |
| 2103 | "fieldSchemaKey": { |
| 2104 | "name": "SimpleStringType", |
| 2105 | "version": "0.0.1" |
| 2106 | }, |
| 2107 | "optional": false |
| 2108 | } |
| 2109 | }, |
| 2110 | { |
| 2111 | "key": "in-maint", |
| 2112 | "value": { |
| 2113 | "key": "in-maint", |
| 2114 | "fieldSchemaKey": { |
| 2115 | "name": "SimpleBooleanType", |
| 2116 | "version": "0.0.1" |
| 2117 | }, |
| 2118 | "optional": false |
| 2119 | } |
| 2120 | }, |
| 2121 | { |
| 2122 | "key": "ipaddress-v4-oam", |
| 2123 | "value": { |
| 2124 | "key": "ipaddress-v4-oam", |
| 2125 | "fieldSchemaKey": { |
| 2126 | "name": "SimpleStringType", |
| 2127 | "version": "0.0.1" |
| 2128 | }, |
| 2129 | "optional": false |
| 2130 | } |
| 2131 | }, |
| 2132 | { |
| 2133 | "key": "nf-role", |
| 2134 | "value": { |
| 2135 | "key": "nf-role", |
| 2136 | "fieldSchemaKey": { |
| 2137 | "name": "SimpleStringType", |
| 2138 | "version": "0.0.1" |
| 2139 | }, |
| 2140 | "optional": false |
| 2141 | } |
| 2142 | }, |
| 2143 | { |
| 2144 | "key": "pnf-ipv4-address", |
| 2145 | "value": { |
| 2146 | "key": "pnf-ipv4-address", |
| 2147 | "fieldSchemaKey": { |
| 2148 | "name": "SimpleStringType", |
| 2149 | "version": "0.0.1" |
| 2150 | }, |
| 2151 | "optional": false |
| 2152 | } |
| 2153 | }, |
| 2154 | { |
| 2155 | "key": "pnf-name", |
| 2156 | "value": { |
| 2157 | "key": "pnf-name", |
| 2158 | "fieldSchemaKey": { |
| 2159 | "name": "SimpleStringType", |
| 2160 | "version": "0.0.1" |
| 2161 | }, |
| 2162 | "optional": false |
| 2163 | } |
| 2164 | }, |
| 2165 | { |
| 2166 | "key": "resource-version", |
| 2167 | "value": { |
| 2168 | "key": "resource-version", |
| 2169 | "fieldSchemaKey": { |
| 2170 | "name": "SimpleStringType", |
| 2171 | "version": "0.0.1" |
| 2172 | }, |
| 2173 | "optional": false |
| 2174 | } |
| 2175 | } |
| 2176 | ] |
| 2177 | } |
| 2178 | } |
| 2179 | }, |
| 2180 | { |
| 2181 | "key": { |
| 2182 | "name": "SimpleCL_CDSConfigModifyFailureResponseEvent", |
| 2183 | "version": "0.0.1" |
| 2184 | }, |
| 2185 | "value": { |
| 2186 | "key": { |
| 2187 | "name": "SimpleCL_CDSConfigModifyFailureResponseEvent", |
| 2188 | "version": "0.0.1" |
| 2189 | }, |
| 2190 | "nameSpace": "org.onap.policy.apex.simplecontrolloop", |
| 2191 | "source": "CDS", |
| 2192 | "target": "APEX", |
| 2193 | "parameter": { |
| 2194 | "entry": [ |
| 2195 | { |
| 2196 | "key": "actionIdentifiers", |
| 2197 | "value": { |
| 2198 | "key": "actionIdentifiers", |
| 2199 | "fieldSchemaKey": { |
| 2200 | "name": "SimpleCL_CDSActionIdentifiersType", |
| 2201 | "version": "0.0.1" |
| 2202 | }, |
| 2203 | "optional": false |
| 2204 | } |
| 2205 | }, |
| 2206 | { |
| 2207 | "key": "commonHeader", |
| 2208 | "value": { |
| 2209 | "key": "commonHeader", |
| 2210 | "fieldSchemaKey": { |
| 2211 | "name": "SimpleCL_CDSFailureResponseCommonHeaderType", |
| 2212 | "version": "0.0.1" |
| 2213 | }, |
| 2214 | "optional": false |
| 2215 | } |
| 2216 | }, |
| 2217 | { |
| 2218 | "key": "payload", |
| 2219 | "value": { |
| 2220 | "key": "payload", |
| 2221 | "fieldSchemaKey": { |
| 2222 | "name": "SimpleCL_CDSConfigModifyRequestPayloadType", |
| 2223 | "version": "0.0.1" |
| 2224 | }, |
| 2225 | "optional": false |
| 2226 | } |
| 2227 | }, |
| 2228 | { |
| 2229 | "key": "status", |
| 2230 | "value": { |
| 2231 | "key": "status", |
| 2232 | "fieldSchemaKey": { |
| 2233 | "name": "SimpleCL_CDSFailureResponseStatusType", |
| 2234 | "version": "0.0.1" |
| 2235 | }, |
| 2236 | "optional": false |
| 2237 | } |
| 2238 | } |
| 2239 | ] |
| 2240 | } |
| 2241 | } |
| 2242 | }, |
| 2243 | { |
| 2244 | "key": { |
| 2245 | "name": "SimpleCL_CDSConfigModifyRequestEvent", |
| 2246 | "version": "0.0.1" |
| 2247 | }, |
| 2248 | "value": { |
| 2249 | "key": { |
| 2250 | "name": "SimpleCL_CDSConfigModifyRequestEvent", |
| 2251 | "version": "0.0.1" |
| 2252 | }, |
| 2253 | "nameSpace": "org.onap.policy.apex.simplecontrolloop", |
| 2254 | "source": "APEX", |
| 2255 | "target": "APEX", |
| 2256 | "parameter": { |
| 2257 | "entry": [ |
| 2258 | { |
| 2259 | "key": "actionIdentifiers", |
| 2260 | "value": { |
| 2261 | "key": "actionIdentifiers", |
| 2262 | "fieldSchemaKey": { |
| 2263 | "name": "SimpleCL_CDSActionIdentifiersType", |
| 2264 | "version": "0.0.1" |
| 2265 | }, |
| 2266 | "optional": false |
| 2267 | } |
| 2268 | }, |
| 2269 | { |
| 2270 | "key": "commonHeader", |
| 2271 | "value": { |
| 2272 | "key": "commonHeader", |
| 2273 | "fieldSchemaKey": { |
| 2274 | "name": "SimpleCL_CDSRequestCommonHeaderType", |
| 2275 | "version": "0.0.1" |
| 2276 | }, |
| 2277 | "optional": false |
| 2278 | } |
| 2279 | }, |
| 2280 | { |
| 2281 | "key": "payload", |
| 2282 | "value": { |
| 2283 | "key": "payload", |
| 2284 | "fieldSchemaKey": { |
| 2285 | "name": "SimpleCL_CDSConfigModifyRequestPayloadType", |
| 2286 | "version": "0.0.1" |
| 2287 | }, |
| 2288 | "optional": false |
| 2289 | } |
| 2290 | } |
| 2291 | ] |
| 2292 | } |
| 2293 | } |
| 2294 | }, |
| 2295 | { |
| 2296 | "key": { |
| 2297 | "name": "SimpleCL_CDSConfigModifySuccessResponseEvent", |
| 2298 | "version": "0.0.1" |
| 2299 | }, |
| 2300 | "value": { |
| 2301 | "key": { |
| 2302 | "name": "SimpleCL_CDSConfigModifySuccessResponseEvent", |
| 2303 | "version": "0.0.1" |
| 2304 | }, |
| 2305 | "nameSpace": "org.onap.policy.apex.simplecontrolloop", |
| 2306 | "source": "CDS", |
| 2307 | "target": "APEX", |
| 2308 | "parameter": { |
| 2309 | "entry": [ |
| 2310 | { |
| 2311 | "key": "actionIdentifiers", |
| 2312 | "value": { |
| 2313 | "key": "actionIdentifiers", |
| 2314 | "fieldSchemaKey": { |
| 2315 | "name": "SimpleCL_CDSActionIdentifiersType", |
| 2316 | "version": "0.0.1" |
| 2317 | }, |
| 2318 | "optional": false |
| 2319 | } |
| 2320 | }, |
| 2321 | { |
| 2322 | "key": "commonHeader", |
| 2323 | "value": { |
| 2324 | "key": "commonHeader", |
| 2325 | "fieldSchemaKey": { |
| 2326 | "name": "SimpleCL_CDSSuccessResponseCommonHeaderType", |
| 2327 | "version": "0.0.1" |
| 2328 | }, |
| 2329 | "optional": false |
| 2330 | } |
| 2331 | }, |
| 2332 | { |
| 2333 | "key": "payload", |
| 2334 | "value": { |
| 2335 | "key": "payload", |
| 2336 | "fieldSchemaKey": { |
| 2337 | "name": "SimpleCL_CDSConfigModifyResponsePayloadType", |
| 2338 | "version": "0.0.1" |
| 2339 | }, |
| 2340 | "optional": false |
| 2341 | } |
| 2342 | }, |
| 2343 | { |
| 2344 | "key": "status", |
| 2345 | "value": { |
| 2346 | "key": "status", |
| 2347 | "fieldSchemaKey": { |
| 2348 | "name": "SimpleCL_CDSSuccessResponseStatusType", |
| 2349 | "version": "0.0.1" |
| 2350 | }, |
| 2351 | "optional": false |
| 2352 | } |
| 2353 | } |
| 2354 | ] |
| 2355 | } |
| 2356 | } |
| 2357 | }, |
| 2358 | { |
| 2359 | "key": { |
| 2360 | "name": "SimpleCL_LogEvent", |
| 2361 | "version": "0.0.1" |
| 2362 | }, |
| 2363 | "value": { |
| 2364 | "key": { |
| 2365 | "name": "SimpleCL_LogEvent", |
| 2366 | "version": "0.0.1" |
| 2367 | }, |
| 2368 | "nameSpace": "org.onap.policy.apex.simplecontrolloop", |
| 2369 | "source": "APEX", |
| 2370 | "target": "DCAE", |
| 2371 | "parameter": { |
| 2372 | "entry": [ |
| 2373 | { |
| 2374 | "key": "component", |
| 2375 | "value": { |
| 2376 | "key": "component", |
| 2377 | "fieldSchemaKey": { |
| 2378 | "name": "SimpleCL_LogEventComponentType", |
| 2379 | "version": "0.0.1" |
| 2380 | }, |
| 2381 | "optional": false |
| 2382 | } |
| 2383 | }, |
| 2384 | { |
| 2385 | "key": "id", |
| 2386 | "value": { |
| 2387 | "key": "id", |
| 2388 | "fieldSchemaKey": { |
| 2389 | "name": "SimpleStringType", |
| 2390 | "version": "0.0.1" |
| 2391 | }, |
| 2392 | "optional": false |
| 2393 | } |
| 2394 | }, |
| 2395 | { |
| 2396 | "key": "otherFields", |
| 2397 | "value": { |
| 2398 | "key": "otherFields", |
| 2399 | "fieldSchemaKey": { |
| 2400 | "name": "SimpleCL_LogEventOtherFieldsType", |
| 2401 | "version": "0.0.1" |
| 2402 | }, |
| 2403 | "optional": false |
| 2404 | } |
| 2405 | }, |
| 2406 | { |
| 2407 | "key": "target", |
| 2408 | "value": { |
| 2409 | "key": "target", |
| 2410 | "fieldSchemaKey": { |
| 2411 | "name": "SimpleCL_LogEventTargetType", |
| 2412 | "version": "0.0.1" |
| 2413 | }, |
| 2414 | "optional": false |
| 2415 | } |
| 2416 | } |
| 2417 | ] |
| 2418 | } |
| 2419 | } |
| 2420 | }, |
| 2421 | { |
| 2422 | "key": { |
| 2423 | "name": "SimpleCL_VesEvent", |
| 2424 | "version": "0.0.1" |
| 2425 | }, |
| 2426 | "value": { |
| 2427 | "key": { |
| 2428 | "name": "SimpleCL_VesEvent", |
| 2429 | "version": "0.0.1" |
| 2430 | }, |
| 2431 | "nameSpace": "org.onap.policy.apex.simplecontrolloop", |
| 2432 | "source": "DCAE", |
| 2433 | "target": "APEX", |
| 2434 | "parameter": { |
| 2435 | "entry": [ |
| 2436 | { |
| 2437 | "key": "event", |
| 2438 | "value": { |
| 2439 | "key": "event", |
| 2440 | "fieldSchemaKey": { |
| 2441 | "name": "SimpleCL_VesEventType", |
| 2442 | "version": "0.0.1" |
| 2443 | }, |
| 2444 | "optional": false |
| 2445 | } |
| 2446 | } |
| 2447 | ] |
| 2448 | } |
| 2449 | } |
| 2450 | } |
| 2451 | ] |
| 2452 | } |
| 2453 | }, |
| 2454 | "albums": { |
| 2455 | "key": { |
| 2456 | "name": "onap.policies.apex.Simplecontrolloop2_Albums", |
| 2457 | "version": "0.0.1" |
| 2458 | }, |
| 2459 | "albums": { |
| 2460 | "entry": [ |
| 2461 | { |
| 2462 | "key": { |
| 2463 | "name": "SimpleCL_EventDetailsAlbum", |
| 2464 | "version": "0.0.1" |
| 2465 | }, |
| 2466 | "value": { |
| 2467 | "key": { |
| 2468 | "name": "SimpleCL_EventDetailsAlbum", |
| 2469 | "version": "0.0.1" |
| 2470 | }, |
| 2471 | "scope": "policy", |
| 2472 | "isWritable": true, |
| 2473 | "itemSchema": { |
| 2474 | "name": "SimpleCL_EventDetailsAlbumType", |
| 2475 | "version": "0.0.1" |
| 2476 | } |
| 2477 | } |
| 2478 | } |
| 2479 | ] |
| 2480 | } |
| 2481 | }, |
| 2482 | "schemas": { |
| 2483 | "key": { |
| 2484 | "name": "onap.policies.apex.Simplecontrolloop2_Schemas", |
| 2485 | "version": "0.0.1" |
| 2486 | }, |
| 2487 | "schemas": { |
| 2488 | "entry": [ |
| 2489 | { |
| 2490 | "key": { |
| 2491 | "name": "SimpleBooleanType", |
| 2492 | "version": "0.0.1" |
| 2493 | }, |
| 2494 | "value": { |
| 2495 | "key": { |
| 2496 | "name": "SimpleBooleanType", |
| 2497 | "version": "0.0.1" |
| 2498 | }, |
| 2499 | "schemaFlavour": "Java", |
| 2500 | "schemaDefinition": "java.lang.Boolean" |
| 2501 | } |
| 2502 | }, |
| 2503 | { |
| 2504 | "key": { |
| 2505 | "name": "SimpleCL_AAIRequestErrorType", |
| 2506 | "version": "0.0.1" |
| 2507 | }, |
| 2508 | "value": { |
| 2509 | "key": { |
| 2510 | "name": "SimpleCL_AAIRequestErrorType", |
| 2511 | "version": "0.0.1" |
| 2512 | }, |
| 2513 | "schemaFlavour": "Avro", |
| 2514 | "schemaDefinition": "{\n \"name\": \"AAIRequestErrorType\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"serviceException\",\n \"type\": {\n \"name\": \"serviceException\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"messageId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"text\",\n \"type\": \"string\"\n },\n {\n \"name\": \"variables\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}" |
| 2515 | } |
| 2516 | }, |
| 2517 | { |
| 2518 | "key": { |
| 2519 | "name": "SimpleCL_CDSActionIdentifiersType", |
| 2520 | "version": "0.0.1" |
| 2521 | }, |
| 2522 | "value": { |
| 2523 | "key": { |
| 2524 | "name": "SimpleCL_CDSActionIdentifiersType", |
| 2525 | "version": "0.0.1" |
| 2526 | }, |
| 2527 | "schemaFlavour": "Avro", |
| 2528 | "schemaDefinition": "{\n \"type\": \"record\",\n \"name\": \"CDSActionIdentifiers_Type\",\n \"fields\": [\n {\n \"name\": \"actionName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintVersion\",\n \"type\": \"string\"\n },\n {\n \"name\": \"mode\",\n \"type\": \"string\"\n }\n ]\n}" |
| 2529 | } |
| 2530 | }, |
| 2531 | { |
| 2532 | "key": { |
| 2533 | "name": "SimpleCL_CDSConfigModifyRequestPayloadType", |
| 2534 | "version": "0.0.1" |
| 2535 | }, |
| 2536 | "value": { |
| 2537 | "key": { |
| 2538 | "name": "SimpleCL_CDSConfigModifyRequestPayloadType", |
| 2539 | "version": "0.0.1" |
| 2540 | }, |
| 2541 | "schemaFlavour": "Avro", |
| 2542 | "schemaDefinition": "{\n \"type\": \"map\",\n \"values\": {\n \"type\": \"record\",\n \"name\": \"CDSConfigModifyRequestPayloadEntry\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"IP\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n }\n ]\n }\n}" |
| 2543 | } |
| 2544 | }, |
| 2545 | { |
| 2546 | "key": { |
| 2547 | "name": "SimpleCL_CDSConfigModifyResponsePayloadType", |
| 2548 | "version": "0.0.1" |
| 2549 | }, |
| 2550 | "value": { |
| 2551 | "key": { |
| 2552 | "name": "SimpleCL_CDSConfigModifyResponsePayloadType", |
| 2553 | "version": "0.0.1" |
| 2554 | }, |
| 2555 | "schemaFlavour": "Avro", |
| 2556 | "schemaDefinition": "{\n \"name\": \"CDSConfigResponsePayloadEntry\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"execute_DasH_command_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n },\n {\n \"name\": \"prepare_DasH_environment_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}" |
| 2557 | } |
| 2558 | }, |
| 2559 | { |
| 2560 | "key": { |
| 2561 | "name": "SimpleCL_CDSFailureResponseCommonHeaderType", |
| 2562 | "version": "0.0.1" |
| 2563 | }, |
| 2564 | "value": { |
| 2565 | "key": { |
| 2566 | "name": "SimpleCL_CDSFailureResponseCommonHeaderType", |
| 2567 | "version": "0.0.1" |
| 2568 | }, |
| 2569 | "schemaFlavour": "Avro", |
| 2570 | "schemaDefinition": "{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}" |
| 2571 | } |
| 2572 | }, |
| 2573 | { |
| 2574 | "key": { |
| 2575 | "name": "SimpleCL_CDSFailureResponseStatusType", |
| 2576 | "version": "0.0.1" |
| 2577 | }, |
| 2578 | "value": { |
| 2579 | "key": { |
| 2580 | "name": "SimpleCL_CDSFailureResponseStatusType", |
| 2581 | "version": "0.0.1" |
| 2582 | }, |
| 2583 | "schemaFlavour": "Avro", |
| 2584 | "schemaDefinition": "{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"errorMessage\",\n \"type\": \"string\"\n }\n ]\n}" |
| 2585 | } |
| 2586 | }, |
| 2587 | { |
| 2588 | "key": { |
| 2589 | "name": "SimpleCL_CDSRequestCommonHeaderType", |
| 2590 | "version": "0.0.1" |
| 2591 | }, |
| 2592 | "value": { |
| 2593 | "key": { |
| 2594 | "name": "SimpleCL_CDSRequestCommonHeaderType", |
| 2595 | "version": "0.0.1" |
| 2596 | }, |
| 2597 | "schemaFlavour": "Avro", |
| 2598 | "schemaDefinition": "{\n \"type\": \"record\",\n \"name\": \"CDSRequestCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n }\n ]\n}" |
| 2599 | } |
| 2600 | }, |
| 2601 | { |
| 2602 | "key": { |
| 2603 | "name": "SimpleCL_CDSSuccessResponseCommonHeaderType", |
| 2604 | "version": "0.0.1" |
| 2605 | }, |
| 2606 | "value": { |
| 2607 | "key": { |
| 2608 | "name": "SimpleCL_CDSSuccessResponseCommonHeaderType", |
| 2609 | "version": "0.0.1" |
| 2610 | }, |
| 2611 | "schemaFlavour": "Avro", |
| 2612 | "schemaDefinition": "{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}" |
| 2613 | } |
| 2614 | }, |
| 2615 | { |
| 2616 | "key": { |
| 2617 | "name": "SimpleCL_CDSSuccessResponseStatusType", |
| 2618 | "version": "0.0.1" |
| 2619 | }, |
| 2620 | "value": { |
| 2621 | "key": { |
| 2622 | "name": "SimpleCL_CDSSuccessResponseStatusType", |
| 2623 | "version": "0.0.1" |
| 2624 | }, |
| 2625 | "schemaFlavour": "Avro", |
| 2626 | "schemaDefinition": "{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"eventType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n }\n ]\n}" |
| 2627 | } |
| 2628 | }, |
| 2629 | { |
| 2630 | "key": { |
| 2631 | "name": "SimpleCL_EventDetailsAlbumType", |
| 2632 | "version": "0.0.1" |
| 2633 | }, |
| 2634 | "value": { |
| 2635 | "key": { |
| 2636 | "name": "SimpleCL_EventDetailsAlbumType", |
| 2637 | "version": "0.0.1" |
| 2638 | }, |
| 2639 | "schemaFlavour": "Avro", |
| 2640 | "schemaDefinition": "{\n \"name\": \"eventDetails\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"commonEventHeader\",\n \"type\": {\n \"name\": \"commonEventHeader\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"domain\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"lastEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"priority\",\n \"type\": \"string\"\n },\n {\n \"name\": \"reportingEntityName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sequence\",\n \"type\": \"int\"\n },\n {\n \"name\": \"sourceId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sourceName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"startEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"timeZoneOffset\",\n \"type\": \"string\"\n },\n {\n \"name\": \"version\",\n \"type\": \"string\"\n },\n {\n \"name\": \"internalHeaderFields\",\n \"type\": {\n \"name\": \"internalHeaderFields\",\n \"type\": \"record\",\n \"fields\": []\n }\n },\n {\n \"name\": \"vesEventListenerVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFields\",\n \"type\": {\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hashMap\",\n \"type\": {\n \"name\": \"hashMap\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"ip\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFieldsVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"target\",\n \"type\": {\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }\n },\n {\n \"name\": \"generatedHostname\",\n \"type\": \"string\"\n }\n ]\n}" |
| 2641 | } |
| 2642 | }, |
| 2643 | { |
| 2644 | "key": { |
| 2645 | "name": "SimpleCL_LogEventComponentType", |
| 2646 | "version": "0.0.1" |
| 2647 | }, |
| 2648 | "value": { |
| 2649 | "key": { |
| 2650 | "name": "SimpleCL_LogEventComponentType", |
| 2651 | "version": "0.0.1" |
| 2652 | }, |
| 2653 | "schemaFlavour": "Avro", |
| 2654 | "schemaDefinition": "{\n \"name\": \"component\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n },\n {\n \"name\": \"flavour\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"long\"\n },\n {\n \"name\": \"status\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"artifacts\",\n \"type\": {\n \"name\": \"artifacts\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"policyName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"policyVersion\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }" |
| 2655 | } |
| 2656 | }, |
| 2657 | { |
| 2658 | "key": { |
| 2659 | "name": "SimpleCL_LogEventOtherFieldsType", |
| 2660 | "version": "0.0.1" |
| 2661 | }, |
| 2662 | "value": { |
| 2663 | "key": { |
| 2664 | "name": "SimpleCL_LogEventOtherFieldsType", |
| 2665 | "version": "0.0.1" |
| 2666 | }, |
| 2667 | "schemaFlavour": "Avro", |
| 2668 | "schemaDefinition": "{\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"useCaseName\",\n \"type\": \"string\"\n }\n ]\n }" |
| 2669 | } |
| 2670 | }, |
| 2671 | { |
| 2672 | "key": { |
| 2673 | "name": "SimpleCL_LogEventTargetType", |
| 2674 | "version": "0.0.1" |
| 2675 | }, |
| 2676 | "value": { |
| 2677 | "key": { |
| 2678 | "name": "SimpleCL_LogEventTargetType", |
| 2679 | "version": "0.0.1" |
| 2680 | }, |
| 2681 | "schemaFlavour": "Avro", |
| 2682 | "schemaDefinition": "{\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"pnf_DasH_name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }" |
| 2683 | } |
| 2684 | }, |
| 2685 | { |
| 2686 | "key": { |
| 2687 | "name": "SimpleCL_VesEventType", |
| 2688 | "version": "0.0.1" |
| 2689 | }, |
| 2690 | "value": { |
| 2691 | "key": { |
| 2692 | "name": "SimpleCL_VesEventType", |
| 2693 | "version": "0.0.1" |
| 2694 | }, |
| 2695 | "schemaFlavour": "Avro", |
| 2696 | "schemaDefinition": "{\n \"name\":\"event\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"commonEventHeader\",\n \"type\":{\n \"name\":\"commonEventHeader\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"domain\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"lastEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"priority\",\n \"type\":\"string\"\n },\n {\n \"name\":\"reportingEntityName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sequence\",\n \"type\":\"int\"\n },\n {\n \"name\":\"sourceId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sourceName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"startEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"version\",\n \"type\":\"string\"\n },\n {\n \"name\":\"internalHeaderFields\",\n \"type\":{\n \"name\":\"internalHeaderFields\",\n \"type\":\"record\",\n \"fields\":[\n\n ]\n }\n },\n {\n \"name\":\"vesEventListenerVersion\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFields\",\n \"type\":{\n \"name\":\"otherFields\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hashMap\",\n \"type\":{\n \"name\":\"hashMap\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hostname\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"ip\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFieldsVersion\",\n \"type\":\"string\"\n }\n ]\n }\n }\n ]\n}" |
| 2697 | } |
| 2698 | }, |
| 2699 | { |
| 2700 | "key": { |
| 2701 | "name": "SimpleLongType", |
| 2702 | "version": "0.0.1" |
| 2703 | }, |
| 2704 | "value": { |
| 2705 | "key": { |
| 2706 | "name": "SimpleLongType", |
| 2707 | "version": "0.0.1" |
| 2708 | }, |
| 2709 | "schemaFlavour": "Java", |
| 2710 | "schemaDefinition": "java.lang.Long" |
| 2711 | } |
| 2712 | }, |
| 2713 | { |
| 2714 | "key": { |
| 2715 | "name": "SimpleStringType", |
| 2716 | "version": "0.0.1" |
| 2717 | }, |
| 2718 | "value": { |
| 2719 | "key": { |
| 2720 | "name": "SimpleStringType", |
| 2721 | "version": "0.0.1" |
| 2722 | }, |
| 2723 | "schemaFlavour": "Java", |
| 2724 | "schemaDefinition": "java.lang.String" |
| 2725 | } |
| 2726 | } |
| 2727 | ] |
| 2728 | } |
| 2729 | } |
| 2730 | } |
| 2731 | } |
| 2732 | } |
| 2733 | } |
| 2734 | } |
| 2735 | } |