a.sreekumar | 7d80c38 | 2019-05-07 13:36:39 +0000 | [diff] [blame] | 1 | { |
| 2 | "tosca_definitions_version": "tosca_simple_yaml_1_0_0", |
| 3 | "topology_template": { |
| 4 | "policies": [ |
| 5 | { |
| 6 | "operational.sampledomain": { |
| 7 | "type": "onap.policies.controlloop.operational.Apex", |
| 8 | "type_version": "1.0.0", |
| 9 | "derived_from": "tosca.policies.Root", |
| 10 | "name": "onap.policies.controlloop.Operational.apex.sampledomain", |
| 11 | "version": "1.0.0", |
| 12 | "properties": { |
a.sreekumar | 61318ad | 2020-01-29 10:17:35 +0000 | [diff] [blame] | 13 | "engineServiceParameters": { |
| 14 | "name": "MyApexEngine", |
| 15 | "version": "0.0.1", |
| 16 | "id": 45, |
| 17 | "instanceCount": 4, |
| 18 | "deploymentPort": 12561, |
| 19 | "policy_type_impl": { |
| 20 | "apexPolicyModel": { |
| 21 | "key": { |
| 22 | "name": "SamplePolicyModelJAVASCRIPT", |
| 23 | "version": "0.0.1" |
| 24 | }, |
| 25 | "keyInformation": { |
| 26 | "key": { |
| 27 | "name": "KeyInformation", |
| 28 | "version": "0.0.1" |
| 29 | }, |
| 30 | "keyInfoMap": { |
| 31 | "entry": [ |
| 32 | { |
| 33 | "key": { |
| 34 | "name": "Context", |
| 35 | "version": "0.0.1" |
Bilal A | d46ab2e | 2019-06-07 21:25:59 +0000 | [diff] [blame] | 36 | }, |
a.sreekumar | 61318ad | 2020-01-29 10:17:35 +0000 | [diff] [blame] | 37 | "value": { |
| 38 | "key": { |
| 39 | "name": "Context", |
| 40 | "version": "0.0.1" |
| 41 | }, |
| 42 | "UUID": "ca36bfd8-6042-3633-8c85-89c66507c3bf", |
| 43 | "description": "Generated description for concept referred to by key \"Context:0.0.1\"" |
Bilal A | d46ab2e | 2019-06-07 21:25:59 +0000 | [diff] [blame] | 44 | } |
a.sreekumar | 61318ad | 2020-01-29 10:17:35 +0000 | [diff] [blame] | 45 | }, |
| 46 | { |
| 47 | "key": { |
| 48 | "name": "Event0000", |
| 49 | "version": "0.0.1" |
Bilal A | d46ab2e | 2019-06-07 21:25:59 +0000 | [diff] [blame] | 50 | }, |
a.sreekumar | 61318ad | 2020-01-29 10:17:35 +0000 | [diff] [blame] | 51 | "value": { |
| 52 | "key": { |
| 53 | "name": "Event0000", |
| 54 | "version": "0.0.1" |
| 55 | }, |
| 56 | "UUID": "465a81cc-885f-3a4d-bc4e-1508da92b236", |
| 57 | "description": "Generated description for concept referred to by key \"Event0000:0.0.1\"" |
Bilal A | d46ab2e | 2019-06-07 21:25:59 +0000 | [diff] [blame] | 58 | } |
a.sreekumar | 61318ad | 2020-01-29 10:17:35 +0000 | [diff] [blame] | 59 | }, |
| 60 | { |
| 61 | "key": { |
| 62 | "name": "Event0001", |
| 63 | "version": "0.0.1" |
Bilal A | d46ab2e | 2019-06-07 21:25:59 +0000 | [diff] [blame] | 64 | }, |
a.sreekumar | 61318ad | 2020-01-29 10:17:35 +0000 | [diff] [blame] | 65 | "value": { |
| 66 | "key": { |
| 67 | "name": "Event0001", |
| 68 | "version": "0.0.1" |
| 69 | }, |
| 70 | "UUID": "36b2d570-fff7-3a4b-bab2-6bf492f5129a", |
| 71 | "description": "Generated description for concept referred to by key \"Event0001:0.0.1\"" |
Bilal A | d46ab2e | 2019-06-07 21:25:59 +0000 | [diff] [blame] | 72 | } |
a.sreekumar | 61318ad | 2020-01-29 10:17:35 +0000 | [diff] [blame] | 73 | }, |
| 74 | { |
| 75 | "key": { |
| 76 | "name": "Event0002", |
| 77 | "version": "0.0.1" |
Bilal A | d46ab2e | 2019-06-07 21:25:59 +0000 | [diff] [blame] | 78 | }, |
a.sreekumar | 61318ad | 2020-01-29 10:17:35 +0000 | [diff] [blame] | 79 | "value": { |
| 80 | "key": { |
| 81 | "name": "Event0002", |
| 82 | "version": "0.0.1" |
| 83 | }, |
| 84 | "UUID": "ff6160a7-fb5e-379c-a6d2-2cd28053eacf", |
| 85 | "description": "Generated description for concept referred to by key \"Event0002:0.0.1\"" |
Bilal A | d46ab2e | 2019-06-07 21:25:59 +0000 | [diff] [blame] | 86 | } |
a.sreekumar | 61318ad | 2020-01-29 10:17:35 +0000 | [diff] [blame] | 87 | }, |
| 88 | { |
| 89 | "key": { |
| 90 | "name": "Event0003", |
| 91 | "version": "0.0.1" |
Bilal A | d46ab2e | 2019-06-07 21:25:59 +0000 | [diff] [blame] | 92 | }, |
a.sreekumar | 61318ad | 2020-01-29 10:17:35 +0000 | [diff] [blame] | 93 | "value": { |
| 94 | "key": { |
| 95 | "name": "Event0003", |
| 96 | "version": "0.0.1" |
| 97 | }, |
| 98 | "UUID": "5899e216-2abf-3781-abc4-2c257b92721e", |
| 99 | "description": "Generated description for concept referred to by key \"Event0003:0.0.1\"" |
Bilal A | d46ab2e | 2019-06-07 21:25:59 +0000 | [diff] [blame] | 100 | } |
a.sreekumar | 61318ad | 2020-01-29 10:17:35 +0000 | [diff] [blame] | 101 | }, |
| 102 | { |
| 103 | "key": { |
| 104 | "name": "Event0004", |
| 105 | "version": "0.0.1" |
Bilal A | d46ab2e | 2019-06-07 21:25:59 +0000 | [diff] [blame] | 106 | }, |
a.sreekumar | 61318ad | 2020-01-29 10:17:35 +0000 | [diff] [blame] | 107 | "value": { |
| 108 | "key": { |
| 109 | "name": "Event0004", |
| 110 | "version": "0.0.1" |
| 111 | }, |
| 112 | "UUID": "7c2692a7-4587-3d09-abf9-d96b339a316f", |
| 113 | "description": "Generated description for concept referred to by key \"Event0004:0.0.1\"" |
Bilal A | d46ab2e | 2019-06-07 21:25:59 +0000 | [diff] [blame] | 114 | } |
a.sreekumar | 61318ad | 2020-01-29 10:17:35 +0000 | [diff] [blame] | 115 | }, |
| 116 | { |
| 117 | "key": { |
| 118 | "name": "Event0100", |
| 119 | "version": "0.0.1" |
| 120 | }, |
| 121 | "value": { |
| 122 | "key": { |
| 123 | "name": "Event0100", |
| 124 | "version": "0.0.1" |
| 125 | }, |
| 126 | "UUID": "b696048c-c0b0-34c1-8dbe-32ab6c8bc0c7", |
| 127 | "description": "Generated description for concept referred to by key \"Event0100:0.0.1\"" |
| 128 | } |
| 129 | }, |
| 130 | { |
| 131 | "key": { |
| 132 | "name": "Event0101", |
| 133 | "version": "0.0.1" |
| 134 | }, |
| 135 | "value": { |
| 136 | "key": { |
| 137 | "name": "Event0101", |
| 138 | "version": "0.0.1" |
| 139 | }, |
| 140 | "UUID": "edbfa868-2ab2-30fd-8078-4c7f67ca6122", |
| 141 | "description": "Generated description for concept referred to by key \"Event0101:0.0.1\"" |
| 142 | } |
| 143 | }, |
| 144 | { |
| 145 | "key": { |
| 146 | "name": "Event0102", |
| 147 | "version": "0.0.1" |
| 148 | }, |
| 149 | "value": { |
| 150 | "key": { |
| 151 | "name": "Event0102", |
| 152 | "version": "0.0.1" |
| 153 | }, |
| 154 | "UUID": "6b6ad2ff-ef63-3f7b-aabb-fba44f8de9d4", |
| 155 | "description": "Generated description for concept referred to by key \"Event0102:0.0.1\"" |
| 156 | } |
| 157 | }, |
| 158 | { |
| 159 | "key": { |
| 160 | "name": "Event0103", |
| 161 | "version": "0.0.1" |
| 162 | }, |
| 163 | "value": { |
| 164 | "key": { |
| 165 | "name": "Event0103", |
| 166 | "version": "0.0.1" |
| 167 | }, |
| 168 | "UUID": "c2550912-10d9-3000-8826-377288cd6cb1", |
| 169 | "description": "Generated description for concept referred to by key \"Event0103:0.0.1\"" |
| 170 | } |
| 171 | }, |
| 172 | { |
| 173 | "key": { |
| 174 | "name": "Event0104", |
| 175 | "version": "0.0.1" |
| 176 | }, |
| 177 | "value": { |
| 178 | "key": { |
| 179 | "name": "Event0104", |
| 180 | "version": "0.0.1" |
| 181 | }, |
| 182 | "UUID": "f6d75b71-c8a7-3337-a121-88d68c389f5a", |
| 183 | "description": "Generated description for concept referred to by key \"Event0104:0.0.1\"" |
| 184 | } |
| 185 | }, |
| 186 | { |
| 187 | "key": { |
| 188 | "name": "Events", |
| 189 | "version": "0.0.1" |
| 190 | }, |
| 191 | "value": { |
| 192 | "key": { |
| 193 | "name": "Events", |
| 194 | "version": "0.0.1" |
| 195 | }, |
| 196 | "UUID": "0215644c-4531-375c-8335-d558b4de8c03", |
| 197 | "description": "Generated description for concept referred to by key \"Events:0.0.1\"" |
| 198 | } |
| 199 | }, |
| 200 | { |
| 201 | "key": { |
| 202 | "name": "ExternalContextAlbum", |
| 203 | "version": "0.0.1" |
| 204 | }, |
| 205 | "value": { |
| 206 | "key": { |
| 207 | "name": "ExternalContextAlbum", |
| 208 | "version": "0.0.1" |
| 209 | }, |
| 210 | "UUID": "976a79e7-5c80-3c03-9503-da3f41fec395", |
| 211 | "description": "Generated description for concept referred to by key \"ExternalContextAlbum:0.0.1\"" |
| 212 | } |
| 213 | }, |
| 214 | { |
| 215 | "key": { |
| 216 | "name": "GlobalContextAlbum", |
| 217 | "version": "0.0.1" |
| 218 | }, |
| 219 | "value": { |
| 220 | "key": { |
| 221 | "name": "GlobalContextAlbum", |
| 222 | "version": "0.0.1" |
| 223 | }, |
| 224 | "UUID": "c95e9e5f-d2c7-3ac7-a205-ea3574530cb7", |
| 225 | "description": "Generated description for concept referred to by key \"GlobalContextAlbum:0.0.1\"" |
| 226 | } |
| 227 | }, |
| 228 | { |
| 229 | "key": { |
| 230 | "name": "KeyInformation", |
| 231 | "version": "0.0.1" |
| 232 | }, |
| 233 | "value": { |
| 234 | "key": { |
| 235 | "name": "KeyInformation", |
| 236 | "version": "0.0.1" |
| 237 | }, |
| 238 | "UUID": "1ff2f905-685c-3caf-95bc-0bbc90345888", |
| 239 | "description": "Generated description for concept referred to by key \"KeyInformation:0.0.1\"" |
| 240 | } |
| 241 | }, |
| 242 | { |
| 243 | "key": { |
| 244 | "name": "Policies", |
| 245 | "version": "0.0.1" |
| 246 | }, |
| 247 | "value": { |
| 248 | "key": { |
| 249 | "name": "Policies", |
| 250 | "version": "0.0.1" |
| 251 | }, |
| 252 | "UUID": "f54c3b2b-be76-31c4-adfc-87c494c06808", |
| 253 | "description": "Generated description for concept referred to by key \"Policies:0.0.1\"" |
| 254 | } |
| 255 | }, |
| 256 | { |
| 257 | "key": { |
| 258 | "name": "Policy0", |
| 259 | "version": "0.0.1" |
| 260 | }, |
| 261 | "value": { |
| 262 | "key": { |
| 263 | "name": "Policy0", |
| 264 | "version": "0.0.1" |
| 265 | }, |
| 266 | "UUID": "3410e939-30ca-32c4-a2d8-c30b6fee6eec", |
| 267 | "description": "Generated description for concept referred to by key \"Policy0:0.0.1\"" |
| 268 | } |
| 269 | }, |
| 270 | { |
| 271 | "key": { |
| 272 | "name": "Policy0ContextAlbum", |
| 273 | "version": "0.0.1" |
| 274 | }, |
| 275 | "value": { |
| 276 | "key": { |
| 277 | "name": "Policy0ContextAlbum", |
| 278 | "version": "0.0.1" |
| 279 | }, |
| 280 | "UUID": "e27564c4-3cbf-3db2-9bf3-83ae80a2f907", |
| 281 | "description": "Generated description for concept referred to by key \"Policy0ContextAlbum:0.0.1\"" |
| 282 | } |
| 283 | }, |
| 284 | { |
| 285 | "key": { |
| 286 | "name": "Policy1", |
| 287 | "version": "0.0.1" |
| 288 | }, |
| 289 | "value": { |
| 290 | "key": { |
| 291 | "name": "Policy1", |
| 292 | "version": "0.0.1" |
| 293 | }, |
| 294 | "UUID": "d0b2b585-f344-33b8-af9e-250e7f4cfbce", |
| 295 | "description": "Generated description for concept referred to by key \"Policy1:0.0.1\"" |
| 296 | } |
| 297 | }, |
| 298 | { |
| 299 | "key": { |
| 300 | "name": "Policy1ContextAlbum", |
| 301 | "version": "0.0.1" |
| 302 | }, |
| 303 | "value": { |
| 304 | "key": { |
| 305 | "name": "Policy1ContextAlbum", |
| 306 | "version": "0.0.1" |
| 307 | }, |
| 308 | "UUID": "815d74ae-6fc0-3221-87b9-2bb1dfdfa7f0", |
| 309 | "description": "Generated description for concept referred to by key \"Policy1ContextAlbum:0.0.1\"" |
| 310 | } |
| 311 | }, |
| 312 | { |
| 313 | "key": { |
| 314 | "name": "SamplePolicyModelJAVASCRIPT", |
| 315 | "version": "0.0.1" |
| 316 | }, |
| 317 | "value": { |
| 318 | "key": { |
| 319 | "name": "SamplePolicyModelJAVASCRIPT", |
| 320 | "version": "0.0.1" |
| 321 | }, |
| 322 | "UUID": "bc8ee312-81ce-3c4a-92d5-4a73b8077148", |
| 323 | "description": "Generated description for concept referred to by key \"SamplePolicyModelJAVASCRIPT:0.0.1\"" |
| 324 | } |
| 325 | }, |
| 326 | { |
| 327 | "key": { |
| 328 | "name": "Task_Act0", |
| 329 | "version": "0.0.1" |
| 330 | }, |
| 331 | "value": { |
| 332 | "key": { |
| 333 | "name": "Task_Act0", |
| 334 | "version": "0.0.1" |
| 335 | }, |
| 336 | "UUID": "0589ff20-adcc-3ce5-95fe-8d7978ed54ed", |
| 337 | "description": "Generated description for concept referred to by key \"Task_Act0:0.0.1\"" |
| 338 | } |
| 339 | }, |
| 340 | { |
| 341 | "key": { |
| 342 | "name": "Task_Act1", |
| 343 | "version": "0.0.1" |
| 344 | }, |
| 345 | "value": { |
| 346 | "key": { |
| 347 | "name": "Task_Act1", |
| 348 | "version": "0.0.1" |
| 349 | }, |
| 350 | "UUID": "095b126d-ca8b-32c9-ad52-d744e817a79c", |
| 351 | "description": "Generated description for concept referred to by key \"Task_Act1:0.0.1\"" |
| 352 | } |
| 353 | }, |
| 354 | { |
| 355 | "key": { |
| 356 | "name": "Task_Act2", |
| 357 | "version": "0.0.1" |
| 358 | }, |
| 359 | "value": { |
| 360 | "key": { |
| 361 | "name": "Task_Act2", |
| 362 | "version": "0.0.1" |
| 363 | }, |
| 364 | "UUID": "3d786b4c-d9ee-3367-ab71-c67271a4ea2f", |
| 365 | "description": "Generated description for concept referred to by key \"Task_Act2:0.0.1\"" |
| 366 | } |
| 367 | }, |
| 368 | { |
| 369 | "key": { |
| 370 | "name": "Task_Act3", |
| 371 | "version": "0.0.1" |
| 372 | }, |
| 373 | "value": { |
| 374 | "key": { |
| 375 | "name": "Task_Act3", |
| 376 | "version": "0.0.1" |
| 377 | }, |
| 378 | "UUID": "9231753e-20c5-3436-982f-9100340cc570", |
| 379 | "description": "Generated description for concept referred to by key \"Task_Act3:0.0.1\"" |
| 380 | } |
| 381 | }, |
| 382 | { |
| 383 | "key": { |
| 384 | "name": "Task_Decide0", |
| 385 | "version": "0.0.1" |
| 386 | }, |
| 387 | "value": { |
| 388 | "key": { |
| 389 | "name": "Task_Decide0", |
| 390 | "version": "0.0.1" |
| 391 | }, |
| 392 | "UUID": "502383d3-483f-3a56-a426-2f0406674c8d", |
| 393 | "description": "Generated description for concept referred to by key \"Task_Decide0:0.0.1\"" |
| 394 | } |
| 395 | }, |
| 396 | { |
| 397 | "key": { |
| 398 | "name": "Task_Decide1", |
| 399 | "version": "0.0.1" |
| 400 | }, |
| 401 | "value": { |
| 402 | "key": { |
| 403 | "name": "Task_Decide1", |
| 404 | "version": "0.0.1" |
| 405 | }, |
| 406 | "UUID": "16598106-41c8-3b5a-99c6-5fcf6d1a5ddf", |
| 407 | "description": "Generated description for concept referred to by key \"Task_Decide1:0.0.1\"" |
| 408 | } |
| 409 | }, |
| 410 | { |
| 411 | "key": { |
| 412 | "name": "Task_Decide2", |
| 413 | "version": "0.0.1" |
| 414 | }, |
| 415 | "value": { |
| 416 | "key": { |
| 417 | "name": "Task_Decide2", |
| 418 | "version": "0.0.1" |
| 419 | }, |
| 420 | "UUID": "ad3a89f5-e369-3c66-b22c-669f7b3653b8", |
| 421 | "description": "Generated description for concept referred to by key \"Task_Decide2:0.0.1\"" |
| 422 | } |
| 423 | }, |
| 424 | { |
| 425 | "key": { |
| 426 | "name": "Task_Decide3", |
| 427 | "version": "0.0.1" |
| 428 | }, |
| 429 | "value": { |
| 430 | "key": { |
| 431 | "name": "Task_Decide3", |
| 432 | "version": "0.0.1" |
| 433 | }, |
| 434 | "UUID": "56815939-1164-3867-9ed1-0a27ff8aafb3", |
| 435 | "description": "Generated description for concept referred to by key \"Task_Decide3:0.0.1\"" |
| 436 | } |
| 437 | }, |
| 438 | { |
| 439 | "key": { |
| 440 | "name": "Task_Establish0", |
| 441 | "version": "0.0.1" |
| 442 | }, |
| 443 | "value": { |
| 444 | "key": { |
| 445 | "name": "Task_Establish0", |
| 446 | "version": "0.0.1" |
| 447 | }, |
| 448 | "UUID": "0db0c566-ecd7-3e27-9865-4b82c893abdb", |
| 449 | "description": "Generated description for concept referred to by key \"Task_Establish0:0.0.1\"" |
| 450 | } |
| 451 | }, |
| 452 | { |
| 453 | "key": { |
| 454 | "name": "Task_Establish1", |
| 455 | "version": "0.0.1" |
| 456 | }, |
| 457 | "value": { |
| 458 | "key": { |
| 459 | "name": "Task_Establish1", |
| 460 | "version": "0.0.1" |
| 461 | }, |
| 462 | "UUID": "6944a4c1-6201-317c-8d7e-eaa7f2ee0ea0", |
| 463 | "description": "Generated description for concept referred to by key \"Task_Establish1:0.0.1\"" |
| 464 | } |
| 465 | }, |
| 466 | { |
| 467 | "key": { |
| 468 | "name": "Task_Establish2", |
| 469 | "version": "0.0.1" |
| 470 | }, |
| 471 | "value": { |
| 472 | "key": { |
| 473 | "name": "Task_Establish2", |
| 474 | "version": "0.0.1" |
| 475 | }, |
| 476 | "UUID": "0f766ea9-11cd-3e7d-a8c8-28c8dee6a85a", |
| 477 | "description": "Generated description for concept referred to by key \"Task_Establish2:0.0.1\"" |
| 478 | } |
| 479 | }, |
| 480 | { |
| 481 | "key": { |
| 482 | "name": "Task_Establish3", |
| 483 | "version": "0.0.1" |
| 484 | }, |
| 485 | "value": { |
| 486 | "key": { |
| 487 | "name": "Task_Establish3", |
| 488 | "version": "0.0.1" |
| 489 | }, |
| 490 | "UUID": "c3237a38-cc6d-3418-b1e1-0dc8b4bdcc66", |
| 491 | "description": "Generated description for concept referred to by key \"Task_Establish3:0.0.1\"" |
| 492 | } |
| 493 | }, |
| 494 | { |
| 495 | "key": { |
| 496 | "name": "Task_Match0", |
| 497 | "version": "0.0.1" |
| 498 | }, |
| 499 | "value": { |
| 500 | "key": { |
| 501 | "name": "Task_Match0", |
| 502 | "version": "0.0.1" |
| 503 | }, |
| 504 | "UUID": "051bcfd5-cf73-3c89-8ee7-ea6e005ec059", |
| 505 | "description": "Generated description for concept referred to by key \"Task_Match0:0.0.1\"" |
| 506 | } |
| 507 | }, |
| 508 | { |
| 509 | "key": { |
| 510 | "name": "Task_Match1", |
| 511 | "version": "0.0.1" |
| 512 | }, |
| 513 | "value": { |
| 514 | "key": { |
| 515 | "name": "Task_Match1", |
| 516 | "version": "0.0.1" |
| 517 | }, |
| 518 | "UUID": "3754fe19-98f2-34a1-9f45-db31052208d8", |
| 519 | "description": "Generated description for concept referred to by key \"Task_Match1:0.0.1\"" |
| 520 | } |
| 521 | }, |
| 522 | { |
| 523 | "key": { |
| 524 | "name": "Task_Match2", |
| 525 | "version": "0.0.1" |
| 526 | }, |
| 527 | "value": { |
| 528 | "key": { |
| 529 | "name": "Task_Match2", |
| 530 | "version": "0.0.1" |
| 531 | }, |
| 532 | "UUID": "8c200709-a180-3c8b-916f-275ff49ce194", |
| 533 | "description": "Generated description for concept referred to by key \"Task_Match2:0.0.1\"" |
| 534 | } |
| 535 | }, |
| 536 | { |
| 537 | "key": { |
| 538 | "name": "Task_Match3", |
| 539 | "version": "0.0.1" |
| 540 | }, |
| 541 | "value": { |
| 542 | "key": { |
| 543 | "name": "Task_Match3", |
| 544 | "version": "0.0.1" |
| 545 | }, |
| 546 | "UUID": "a1a879c6-4510-33b0-bbd0-ad6256189a37", |
| 547 | "description": "Generated description for concept referred to by key \"Task_Match3:0.0.1\"" |
| 548 | } |
| 549 | }, |
| 550 | { |
| 551 | "key": { |
| 552 | "name": "Tasks", |
| 553 | "version": "0.0.1" |
| 554 | }, |
| 555 | "value": { |
| 556 | "key": { |
| 557 | "name": "Tasks", |
| 558 | "version": "0.0.1" |
| 559 | }, |
| 560 | "UUID": "a7fab96b-ce1c-37ce-bbb2-556b6db524a5", |
| 561 | "description": "Generated description for concept referred to by key \"Tasks:0.0.1\"" |
| 562 | } |
| 563 | }, |
| 564 | { |
| 565 | "key": { |
| 566 | "name": "TestCase", |
| 567 | "version": "0.0.1" |
| 568 | }, |
| 569 | "value": { |
| 570 | "key": { |
| 571 | "name": "TestCase", |
| 572 | "version": "0.0.1" |
| 573 | }, |
| 574 | "UUID": "0a652886-c88d-3f8c-8994-ae9161e7c963", |
| 575 | "description": "Generated description for concept referred to by key \"TestCase:0.0.1\"" |
| 576 | } |
| 577 | }, |
| 578 | { |
| 579 | "key": { |
| 580 | "name": "TestContextItem000", |
| 581 | "version": "0.0.1" |
| 582 | }, |
| 583 | "value": { |
| 584 | "key": { |
| 585 | "name": "TestContextItem000", |
| 586 | "version": "0.0.1" |
| 587 | }, |
| 588 | "UUID": "8efba9fa-371e-33df-a7d6-88b0284e7fd0", |
| 589 | "description": "Generated description for concept referred to by key \"TestContextItem000:0.0.1\"" |
| 590 | } |
| 591 | }, |
| 592 | { |
| 593 | "key": { |
| 594 | "name": "TestContextItem001", |
| 595 | "version": "0.0.1" |
| 596 | }, |
| 597 | "value": { |
| 598 | "key": { |
| 599 | "name": "TestContextItem001", |
| 600 | "version": "0.0.1" |
| 601 | }, |
| 602 | "UUID": "3740077c-a2b3-356b-81dc-5ded2118a951", |
| 603 | "description": "Generated description for concept referred to by key \"TestContextItem001:0.0.1\"" |
| 604 | } |
| 605 | }, |
| 606 | { |
| 607 | "key": { |
| 608 | "name": "TestContextItem002", |
| 609 | "version": "0.0.1" |
| 610 | }, |
| 611 | "value": { |
| 612 | "key": { |
| 613 | "name": "TestContextItem002", |
| 614 | "version": "0.0.1" |
| 615 | }, |
| 616 | "UUID": "b5c7df95-9af5-322f-9ea8-eb440a2bf926", |
| 617 | "description": "Generated description for concept referred to by key \"TestContextItem002:0.0.1\"" |
| 618 | } |
| 619 | }, |
| 620 | { |
| 621 | "key": { |
| 622 | "name": "TestContextItem003", |
| 623 | "version": "0.0.1" |
| 624 | }, |
| 625 | "value": { |
| 626 | "key": { |
| 627 | "name": "TestContextItem003", |
| 628 | "version": "0.0.1" |
| 629 | }, |
| 630 | "UUID": "b36f0aa5-0fb9-3e2c-8fa2-fddb7fd05f4b", |
| 631 | "description": "Generated description for concept referred to by key \"TestContextItem003:0.0.1\"" |
| 632 | } |
| 633 | }, |
| 634 | { |
| 635 | "key": { |
| 636 | "name": "TestContextItem004", |
| 637 | "version": "0.0.1" |
| 638 | }, |
| 639 | "value": { |
| 640 | "key": { |
| 641 | "name": "TestContextItem004", |
| 642 | "version": "0.0.1" |
| 643 | }, |
| 644 | "UUID": "093cda11-eaeb-3a46-a5b6-d5e30c00935b", |
| 645 | "description": "Generated description for concept referred to by key \"TestContextItem004:0.0.1\"" |
| 646 | } |
| 647 | }, |
| 648 | { |
| 649 | "key": { |
| 650 | "name": "TestContextItem005", |
| 651 | "version": "0.0.1" |
| 652 | }, |
| 653 | "value": { |
| 654 | "key": { |
| 655 | "name": "TestContextItem005", |
| 656 | "version": "0.0.1" |
| 657 | }, |
| 658 | "UUID": "569a758d-ba40-37c0-aebb-7ad138df25ac", |
| 659 | "description": "Generated description for concept referred to by key \"TestContextItem005:0.0.1\"" |
| 660 | } |
| 661 | }, |
| 662 | { |
| 663 | "key": { |
| 664 | "name": "TestContextItem006", |
| 665 | "version": "0.0.1" |
| 666 | }, |
| 667 | "value": { |
| 668 | "key": { |
| 669 | "name": "TestContextItem006", |
| 670 | "version": "0.0.1" |
| 671 | }, |
| 672 | "UUID": "252818d9-b61f-3962-a905-8865fb00fb04", |
| 673 | "description": "Generated description for concept referred to by key \"TestContextItem006:0.0.1\"" |
| 674 | } |
| 675 | }, |
| 676 | { |
| 677 | "key": { |
| 678 | "name": "TestContextItem007", |
| 679 | "version": "0.0.1" |
| 680 | }, |
| 681 | "value": { |
| 682 | "key": { |
| 683 | "name": "TestContextItem007", |
| 684 | "version": "0.0.1" |
| 685 | }, |
| 686 | "UUID": "fe1a5f7c-c083-377b-a797-752b01fc6c73", |
| 687 | "description": "Generated description for concept referred to by key \"TestContextItem007:0.0.1\"" |
| 688 | } |
| 689 | }, |
| 690 | { |
| 691 | "key": { |
| 692 | "name": "TestContextItem008", |
| 693 | "version": "0.0.1" |
| 694 | }, |
| 695 | "value": { |
| 696 | "key": { |
| 697 | "name": "TestContextItem008", |
| 698 | "version": "0.0.1" |
| 699 | }, |
| 700 | "UUID": "aa87d007-d07e-3f67-8c6d-0ebc3d85479d", |
| 701 | "description": "Generated description for concept referred to by key \"TestContextItem008:0.0.1\"" |
| 702 | } |
| 703 | }, |
| 704 | { |
| 705 | "key": { |
| 706 | "name": "TestContextItem009", |
| 707 | "version": "0.0.1" |
| 708 | }, |
| 709 | "value": { |
| 710 | "key": { |
| 711 | "name": "TestContextItem009", |
| 712 | "version": "0.0.1" |
| 713 | }, |
| 714 | "UUID": "126e7a3a-11b6-3f88-9397-c21d8819f859", |
| 715 | "description": "Generated description for concept referred to by key \"TestContextItem009:0.0.1\"" |
| 716 | } |
| 717 | }, |
| 718 | { |
| 719 | "key": { |
| 720 | "name": "TestContextItem00A", |
| 721 | "version": "0.0.1" |
| 722 | }, |
| 723 | "value": { |
| 724 | "key": { |
| 725 | "name": "TestContextItem00A", |
| 726 | "version": "0.0.1" |
| 727 | }, |
| 728 | "UUID": "0e0e3dec-e03d-3379-a87b-1ecd4aa3d8cc", |
| 729 | "description": "Generated description for concept referred to by key \"TestContextItem00A:0.0.1\"" |
| 730 | } |
| 731 | }, |
| 732 | { |
| 733 | "key": { |
| 734 | "name": "TestContextItem00B", |
| 735 | "version": "0.0.1" |
| 736 | }, |
| 737 | "value": { |
| 738 | "key": { |
| 739 | "name": "TestContextItem00B", |
| 740 | "version": "0.0.1" |
| 741 | }, |
| 742 | "UUID": "dbdc98df-3ff4-360c-b8d3-a7a836ac3de6", |
| 743 | "description": "Generated description for concept referred to by key \"TestContextItem00B:0.0.1\"" |
| 744 | } |
| 745 | }, |
| 746 | { |
| 747 | "key": { |
| 748 | "name": "TestContextItem00C", |
| 749 | "version": "0.0.1" |
| 750 | }, |
| 751 | "value": { |
| 752 | "key": { |
| 753 | "name": "TestContextItem00C", |
| 754 | "version": "0.0.1" |
| 755 | }, |
| 756 | "UUID": "32a2f355-77f3-3b25-ace6-7a9c5763a5ad", |
| 757 | "description": "Generated description for concept referred to by key \"TestContextItem00C:0.0.1\"" |
| 758 | } |
| 759 | }, |
| 760 | { |
| 761 | "key": { |
| 762 | "name": "TestDatatypes", |
| 763 | "version": "0.0.1" |
| 764 | }, |
| 765 | "value": { |
| 766 | "key": { |
| 767 | "name": "TestDatatypes", |
| 768 | "version": "0.0.1" |
| 769 | }, |
| 770 | "UUID": "3f95472c-973e-30e2-95f1-bf00cbef909a", |
| 771 | "description": "Generated description for concept referred to by key \"TestDatatypes:0.0.1\"" |
| 772 | } |
| 773 | }, |
| 774 | { |
| 775 | "key": { |
| 776 | "name": "TestExternalContextItem", |
| 777 | "version": "0.0.1" |
| 778 | }, |
| 779 | "value": { |
| 780 | "key": { |
| 781 | "name": "TestExternalContextItem", |
| 782 | "version": "0.0.1" |
| 783 | }, |
| 784 | "UUID": "610dbbd4-9149-3b3c-9af4-819056f0e169", |
| 785 | "description": "Generated description for concept referred to by key \"TestExternalContextItem:0.0.1\"" |
| 786 | } |
| 787 | }, |
| 788 | { |
| 789 | "key": { |
| 790 | "name": "TestGlobalContextItem", |
| 791 | "version": "0.0.1" |
| 792 | }, |
| 793 | "value": { |
| 794 | "key": { |
| 795 | "name": "TestGlobalContextItem", |
| 796 | "version": "0.0.1" |
| 797 | }, |
| 798 | "UUID": "07fa8f68-55f1-3fd0-81c1-749a379753a7", |
| 799 | "description": "Generated description for concept referred to by key \"TestGlobalContextItem:0.0.1\"" |
| 800 | } |
| 801 | }, |
| 802 | { |
| 803 | "key": { |
| 804 | "name": "TestPolicyContextItem", |
| 805 | "version": "0.0.1" |
| 806 | }, |
| 807 | "value": { |
| 808 | "key": { |
| 809 | "name": "TestPolicyContextItem", |
| 810 | "version": "0.0.1" |
| 811 | }, |
| 812 | "UUID": "d9c93cd1-539e-35c5-aaec-bb711ceb1251", |
| 813 | "description": "Generated description for concept referred to by key \"TestPolicyContextItem:0.0.1\"" |
| 814 | } |
| 815 | }, |
| 816 | { |
| 817 | "key": { |
| 818 | "name": "TestSlogan", |
| 819 | "version": "0.0.1" |
| 820 | }, |
| 821 | "value": { |
| 822 | "key": { |
| 823 | "name": "TestSlogan", |
| 824 | "version": "0.0.1" |
| 825 | }, |
| 826 | "UUID": "683fe492-7eae-3ac7-9924-bb7850208d05", |
| 827 | "description": "Generated description for concept referred to by key \"TestSlogan:0.0.1\"" |
| 828 | } |
| 829 | }, |
| 830 | { |
| 831 | "key": { |
| 832 | "name": "TestTemperature", |
| 833 | "version": "0.0.1" |
| 834 | }, |
| 835 | "value": { |
| 836 | "key": { |
| 837 | "name": "TestTemperature", |
| 838 | "version": "0.0.1" |
| 839 | }, |
| 840 | "UUID": "bba25b6f-e3cd-3060-9022-4ef3a79f8eb0", |
| 841 | "description": "Generated description for concept referred to by key \"TestTemperature:0.0.1\"" |
| 842 | } |
| 843 | }, |
| 844 | { |
| 845 | "key": { |
| 846 | "name": "TestTimestamp", |
| 847 | "version": "0.0.1" |
| 848 | }, |
| 849 | "value": { |
| 850 | "key": { |
| 851 | "name": "TestTimestamp", |
| 852 | "version": "0.0.1" |
| 853 | }, |
| 854 | "UUID": "97b73937-c344-33c0-924c-4d26b6449564", |
| 855 | "description": "Generated description for concept referred to by key \"TestTimestamp:0.0.1\"" |
| 856 | } |
| 857 | } |
| 858 | ] |
Bilal A | d46ab2e | 2019-06-07 21:25:59 +0000 | [diff] [blame] | 859 | } |
a.sreekumar | 61318ad | 2020-01-29 10:17:35 +0000 | [diff] [blame] | 860 | }, |
| 861 | "policies": { |
| 862 | "key": { |
| 863 | "name": "Policies", |
| 864 | "version": "0.0.1" |
| 865 | }, |
| 866 | "policyMap": { |
| 867 | "entry": [ |
| 868 | { |
| 869 | "key": { |
| 870 | "name": "Policy0", |
| 871 | "version": "0.0.1" |
| 872 | }, |
| 873 | "value": { |
| 874 | "policyKey": { |
| 875 | "name": "Policy0", |
| 876 | "version": "0.0.1" |
| 877 | }, |
| 878 | "template": "MEDA", |
| 879 | "state": { |
| 880 | "entry": [ |
| 881 | { |
| 882 | "key": "Act", |
| 883 | "value": { |
| 884 | "stateKey": { |
| 885 | "parentKeyName": "Policy0", |
| 886 | "parentKeyVersion": "0.0.1", |
| 887 | "parentLocalName": "NULL", |
| 888 | "localName": "Act" |
| 889 | }, |
| 890 | "trigger": { |
| 891 | "name": "Event0003", |
| 892 | "version": "0.0.1" |
| 893 | }, |
| 894 | "stateOutputs": { |
| 895 | "entry": [ |
| 896 | { |
| 897 | "key": "Act_NULL", |
| 898 | "value": { |
| 899 | "key": { |
| 900 | "parentKeyName": "Policy0", |
| 901 | "parentKeyVersion": "0.0.1", |
| 902 | "parentLocalName": "Act", |
| 903 | "localName": "Act_NULL" |
| 904 | }, |
| 905 | "outgoingEvent": { |
| 906 | "name": "Event0004", |
| 907 | "version": "0.0.1" |
| 908 | }, |
| 909 | "nextState": { |
| 910 | "parentKeyName": "NULL", |
| 911 | "parentKeyVersion": "0.0.0", |
| 912 | "parentLocalName": "NULL", |
| 913 | "localName": "NULL" |
| 914 | } |
| 915 | } |
| 916 | } |
| 917 | ] |
| 918 | }, |
| 919 | "contextAlbumReference": [ |
| 920 | { |
| 921 | "name": "GlobalContextAlbum", |
| 922 | "version": "0.0.1" |
| 923 | } |
| 924 | ], |
| 925 | "taskSelectionLogic": { |
| 926 | "key": "TaskSelectionLigic", |
| 927 | "logicFlavour": "JAVASCRIPT", |
| 928 | "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\nvar returnValue = executor.isTrue;" |
| 929 | }, |
| 930 | "stateFinalizerLogicMap": { |
| 931 | "entry": [] |
| 932 | }, |
| 933 | "defaultTask": { |
| 934 | "name": "Task_Act1", |
| 935 | "version": "0.0.1" |
| 936 | }, |
| 937 | "taskReferences": { |
| 938 | "entry": [ |
| 939 | { |
| 940 | "key": { |
| 941 | "name": "Task_Act0", |
| 942 | "version": "0.0.1" |
| 943 | }, |
| 944 | "value": { |
| 945 | "key": { |
| 946 | "parentKeyName": "Policy0", |
| 947 | "parentKeyVersion": "0.0.1", |
| 948 | "parentLocalName": "Act", |
| 949 | "localName": "Task_Act0_DIRECT_Act_NULL" |
| 950 | }, |
| 951 | "outputType": "DIRECT", |
| 952 | "output": { |
| 953 | "parentKeyName": "Policy0", |
| 954 | "parentKeyVersion": "0.0.1", |
| 955 | "parentLocalName": "Act", |
| 956 | "localName": "Act_NULL" |
| 957 | } |
| 958 | } |
| 959 | }, |
| 960 | { |
| 961 | "key": { |
| 962 | "name": "Task_Act1", |
| 963 | "version": "0.0.1" |
| 964 | }, |
| 965 | "value": { |
| 966 | "key": { |
| 967 | "parentKeyName": "Policy0", |
| 968 | "parentKeyVersion": "0.0.1", |
| 969 | "parentLocalName": "Act", |
| 970 | "localName": "Task_Act1_DIRECT_Act_NULL" |
| 971 | }, |
| 972 | "outputType": "DIRECT", |
| 973 | "output": { |
| 974 | "parentKeyName": "Policy0", |
| 975 | "parentKeyVersion": "0.0.1", |
| 976 | "parentLocalName": "Act", |
| 977 | "localName": "Act_NULL" |
| 978 | } |
| 979 | } |
| 980 | }, |
| 981 | { |
| 982 | "key": { |
| 983 | "name": "Task_Act2", |
| 984 | "version": "0.0.1" |
| 985 | }, |
| 986 | "value": { |
| 987 | "key": { |
| 988 | "parentKeyName": "Policy0", |
| 989 | "parentKeyVersion": "0.0.1", |
| 990 | "parentLocalName": "Act", |
| 991 | "localName": "Task_Act2_DIRECT_Act_NULL" |
| 992 | }, |
| 993 | "outputType": "DIRECT", |
| 994 | "output": { |
| 995 | "parentKeyName": "Policy0", |
| 996 | "parentKeyVersion": "0.0.1", |
| 997 | "parentLocalName": "Act", |
| 998 | "localName": "Act_NULL" |
| 999 | } |
| 1000 | } |
| 1001 | }, |
| 1002 | { |
| 1003 | "key": { |
| 1004 | "name": "Task_Act3", |
| 1005 | "version": "0.0.1" |
| 1006 | }, |
| 1007 | "value": { |
| 1008 | "key": { |
| 1009 | "parentKeyName": "Policy0", |
| 1010 | "parentKeyVersion": "0.0.1", |
| 1011 | "parentLocalName": "Act", |
| 1012 | "localName": "Task_Act3_DIRECT_Act_NULL" |
| 1013 | }, |
| 1014 | "outputType": "DIRECT", |
| 1015 | "output": { |
| 1016 | "parentKeyName": "Policy0", |
| 1017 | "parentKeyVersion": "0.0.1", |
| 1018 | "parentLocalName": "Act", |
| 1019 | "localName": "Act_NULL" |
| 1020 | } |
| 1021 | } |
| 1022 | } |
| 1023 | ] |
| 1024 | } |
| 1025 | } |
| 1026 | }, |
| 1027 | { |
| 1028 | "key": "Decide", |
| 1029 | "value": { |
| 1030 | "stateKey": { |
| 1031 | "parentKeyName": "Policy0", |
| 1032 | "parentKeyVersion": "0.0.1", |
| 1033 | "parentLocalName": "NULL", |
| 1034 | "localName": "Decide" |
| 1035 | }, |
| 1036 | "trigger": { |
| 1037 | "name": "Event0002", |
| 1038 | "version": "0.0.1" |
| 1039 | }, |
| 1040 | "stateOutputs": { |
| 1041 | "entry": [ |
| 1042 | { |
| 1043 | "key": "Decide_Act", |
| 1044 | "value": { |
| 1045 | "key": { |
| 1046 | "parentKeyName": "Policy0", |
| 1047 | "parentKeyVersion": "0.0.1", |
| 1048 | "parentLocalName": "Decide", |
| 1049 | "localName": "Decide_Act" |
| 1050 | }, |
| 1051 | "outgoingEvent": { |
| 1052 | "name": "Event0003", |
| 1053 | "version": "0.0.1" |
| 1054 | }, |
| 1055 | "nextState": { |
| 1056 | "parentKeyName": "Policy0", |
| 1057 | "parentKeyVersion": "0.0.1", |
| 1058 | "parentLocalName": "NULL", |
| 1059 | "localName": "Act" |
| 1060 | } |
| 1061 | } |
| 1062 | } |
| 1063 | ] |
| 1064 | }, |
| 1065 | "contextAlbumReference": [ |
| 1066 | { |
| 1067 | "name": "ExternalContextAlbum", |
| 1068 | "version": "0.0.1" |
| 1069 | }, |
| 1070 | { |
| 1071 | "name": "GlobalContextAlbum", |
| 1072 | "version": "0.0.1" |
| 1073 | }, |
| 1074 | { |
| 1075 | "name": "Policy0ContextAlbum", |
| 1076 | "version": "0.0.1" |
| 1077 | } |
| 1078 | ], |
| 1079 | "taskSelectionLogic": { |
| 1080 | "key": "TaskSelectionLigic", |
| 1081 | "logicFlavour": "JAVASCRIPT", |
| 1082 | "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\nvar returnValue = executor.isTrue;" |
| 1083 | }, |
| 1084 | "stateFinalizerLogicMap": { |
| 1085 | "entry": [] |
| 1086 | }, |
| 1087 | "defaultTask": { |
| 1088 | "name": "Task_Decide3", |
| 1089 | "version": "0.0.1" |
| 1090 | }, |
| 1091 | "taskReferences": { |
| 1092 | "entry": [ |
| 1093 | { |
| 1094 | "key": { |
| 1095 | "name": "Task_Decide0", |
| 1096 | "version": "0.0.1" |
| 1097 | }, |
| 1098 | "value": { |
| 1099 | "key": { |
| 1100 | "parentKeyName": "Policy0", |
| 1101 | "parentKeyVersion": "0.0.1", |
| 1102 | "parentLocalName": "Decide", |
| 1103 | "localName": "Task_Decide0_DIRECT_Decide_Act" |
| 1104 | }, |
| 1105 | "outputType": "DIRECT", |
| 1106 | "output": { |
| 1107 | "parentKeyName": "Policy0", |
| 1108 | "parentKeyVersion": "0.0.1", |
| 1109 | "parentLocalName": "Decide", |
| 1110 | "localName": "Decide_Act" |
| 1111 | } |
| 1112 | } |
| 1113 | }, |
| 1114 | { |
| 1115 | "key": { |
| 1116 | "name": "Task_Decide1", |
| 1117 | "version": "0.0.1" |
| 1118 | }, |
| 1119 | "value": { |
| 1120 | "key": { |
| 1121 | "parentKeyName": "Policy0", |
| 1122 | "parentKeyVersion": "0.0.1", |
| 1123 | "parentLocalName": "Decide", |
| 1124 | "localName": "Task_Decide1_DIRECT_Decide_Act" |
| 1125 | }, |
| 1126 | "outputType": "DIRECT", |
| 1127 | "output": { |
| 1128 | "parentKeyName": "Policy0", |
| 1129 | "parentKeyVersion": "0.0.1", |
| 1130 | "parentLocalName": "Decide", |
| 1131 | "localName": "Decide_Act" |
| 1132 | } |
| 1133 | } |
| 1134 | }, |
| 1135 | { |
| 1136 | "key": { |
| 1137 | "name": "Task_Decide2", |
| 1138 | "version": "0.0.1" |
| 1139 | }, |
| 1140 | "value": { |
| 1141 | "key": { |
| 1142 | "parentKeyName": "Policy0", |
| 1143 | "parentKeyVersion": "0.0.1", |
| 1144 | "parentLocalName": "Decide", |
| 1145 | "localName": "Task_Decide2_DIRECT_Decide_Act" |
| 1146 | }, |
| 1147 | "outputType": "DIRECT", |
| 1148 | "output": { |
| 1149 | "parentKeyName": "Policy0", |
| 1150 | "parentKeyVersion": "0.0.1", |
| 1151 | "parentLocalName": "Decide", |
| 1152 | "localName": "Decide_Act" |
| 1153 | } |
| 1154 | } |
| 1155 | }, |
| 1156 | { |
| 1157 | "key": { |
| 1158 | "name": "Task_Decide3", |
| 1159 | "version": "0.0.1" |
| 1160 | }, |
| 1161 | "value": { |
| 1162 | "key": { |
| 1163 | "parentKeyName": "Policy0", |
| 1164 | "parentKeyVersion": "0.0.1", |
| 1165 | "parentLocalName": "Decide", |
| 1166 | "localName": "Task_Decide3_DIRECT_Decide_Act" |
| 1167 | }, |
| 1168 | "outputType": "DIRECT", |
| 1169 | "output": { |
| 1170 | "parentKeyName": "Policy0", |
| 1171 | "parentKeyVersion": "0.0.1", |
| 1172 | "parentLocalName": "Decide", |
| 1173 | "localName": "Decide_Act" |
| 1174 | } |
| 1175 | } |
| 1176 | } |
| 1177 | ] |
| 1178 | } |
| 1179 | } |
| 1180 | }, |
| 1181 | { |
| 1182 | "key": "Establish", |
| 1183 | "value": { |
| 1184 | "stateKey": { |
| 1185 | "parentKeyName": "Policy0", |
| 1186 | "parentKeyVersion": "0.0.1", |
| 1187 | "parentLocalName": "NULL", |
| 1188 | "localName": "Establish" |
| 1189 | }, |
| 1190 | "trigger": { |
| 1191 | "name": "Event0001", |
| 1192 | "version": "0.0.1" |
| 1193 | }, |
| 1194 | "stateOutputs": { |
| 1195 | "entry": [ |
| 1196 | { |
| 1197 | "key": "Establish_Decide", |
| 1198 | "value": { |
| 1199 | "key": { |
| 1200 | "parentKeyName": "Policy0", |
| 1201 | "parentKeyVersion": "0.0.1", |
| 1202 | "parentLocalName": "Establish", |
| 1203 | "localName": "Establish_Decide" |
| 1204 | }, |
| 1205 | "outgoingEvent": { |
| 1206 | "name": "Event0002", |
| 1207 | "version": "0.0.1" |
| 1208 | }, |
| 1209 | "nextState": { |
| 1210 | "parentKeyName": "Policy0", |
| 1211 | "parentKeyVersion": "0.0.1", |
| 1212 | "parentLocalName": "NULL", |
| 1213 | "localName": "Decide" |
| 1214 | } |
| 1215 | } |
| 1216 | } |
| 1217 | ] |
| 1218 | }, |
| 1219 | "contextAlbumReference": [ |
| 1220 | { |
| 1221 | "name": "ExternalContextAlbum", |
| 1222 | "version": "0.0.1" |
| 1223 | }, |
| 1224 | { |
| 1225 | "name": "GlobalContextAlbum", |
| 1226 | "version": "0.0.1" |
| 1227 | }, |
| 1228 | { |
| 1229 | "name": "Policy1ContextAlbum", |
| 1230 | "version": "0.0.1" |
| 1231 | } |
| 1232 | ], |
| 1233 | "taskSelectionLogic": { |
| 1234 | "key": "TaskSelectionLigic", |
| 1235 | "logicFlavour": "JAVASCRIPT", |
| 1236 | "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\nvar returnValue = executor.isTrue;" |
| 1237 | }, |
| 1238 | "stateFinalizerLogicMap": { |
| 1239 | "entry": [] |
| 1240 | }, |
| 1241 | "defaultTask": { |
| 1242 | "name": "Task_Establish2", |
| 1243 | "version": "0.0.1" |
| 1244 | }, |
| 1245 | "taskReferences": { |
| 1246 | "entry": [ |
| 1247 | { |
| 1248 | "key": { |
| 1249 | "name": "Task_Establish0", |
| 1250 | "version": "0.0.1" |
| 1251 | }, |
| 1252 | "value": { |
| 1253 | "key": { |
| 1254 | "parentKeyName": "Policy0", |
| 1255 | "parentKeyVersion": "0.0.1", |
| 1256 | "parentLocalName": "Establish", |
| 1257 | "localName": "Task_Establish0_DIRECT_Establish_Decide" |
| 1258 | }, |
| 1259 | "outputType": "DIRECT", |
| 1260 | "output": { |
| 1261 | "parentKeyName": "Policy0", |
| 1262 | "parentKeyVersion": "0.0.1", |
| 1263 | "parentLocalName": "Establish", |
| 1264 | "localName": "Establish_Decide" |
| 1265 | } |
| 1266 | } |
| 1267 | }, |
| 1268 | { |
| 1269 | "key": { |
| 1270 | "name": "Task_Establish1", |
| 1271 | "version": "0.0.1" |
| 1272 | }, |
| 1273 | "value": { |
| 1274 | "key": { |
| 1275 | "parentKeyName": "Policy0", |
| 1276 | "parentKeyVersion": "0.0.1", |
| 1277 | "parentLocalName": "Establish", |
| 1278 | "localName": "Task_Establish1_DIRECT_Establish_Decide" |
| 1279 | }, |
| 1280 | "outputType": "DIRECT", |
| 1281 | "output": { |
| 1282 | "parentKeyName": "Policy0", |
| 1283 | "parentKeyVersion": "0.0.1", |
| 1284 | "parentLocalName": "Establish", |
| 1285 | "localName": "Establish_Decide" |
| 1286 | } |
| 1287 | } |
| 1288 | }, |
| 1289 | { |
| 1290 | "key": { |
| 1291 | "name": "Task_Establish2", |
| 1292 | "version": "0.0.1" |
| 1293 | }, |
| 1294 | "value": { |
| 1295 | "key": { |
| 1296 | "parentKeyName": "Policy0", |
| 1297 | "parentKeyVersion": "0.0.1", |
| 1298 | "parentLocalName": "Establish", |
| 1299 | "localName": "Task_Establish2_DIRECT_Establish_Decide" |
| 1300 | }, |
| 1301 | "outputType": "DIRECT", |
| 1302 | "output": { |
| 1303 | "parentKeyName": "Policy0", |
| 1304 | "parentKeyVersion": "0.0.1", |
| 1305 | "parentLocalName": "Establish", |
| 1306 | "localName": "Establish_Decide" |
| 1307 | } |
| 1308 | } |
| 1309 | }, |
| 1310 | { |
| 1311 | "key": { |
| 1312 | "name": "Task_Establish3", |
| 1313 | "version": "0.0.1" |
| 1314 | }, |
| 1315 | "value": { |
| 1316 | "key": { |
| 1317 | "parentKeyName": "Policy0", |
| 1318 | "parentKeyVersion": "0.0.1", |
| 1319 | "parentLocalName": "Establish", |
| 1320 | "localName": "Task_Establish3_DIRECT_Establish_Decide" |
| 1321 | }, |
| 1322 | "outputType": "DIRECT", |
| 1323 | "output": { |
| 1324 | "parentKeyName": "Policy0", |
| 1325 | "parentKeyVersion": "0.0.1", |
| 1326 | "parentLocalName": "Establish", |
| 1327 | "localName": "Establish_Decide" |
| 1328 | } |
| 1329 | } |
| 1330 | } |
| 1331 | ] |
| 1332 | } |
| 1333 | } |
| 1334 | }, |
| 1335 | { |
| 1336 | "key": "Match", |
| 1337 | "value": { |
| 1338 | "stateKey": { |
| 1339 | "parentKeyName": "Policy0", |
| 1340 | "parentKeyVersion": "0.0.1", |
| 1341 | "parentLocalName": "NULL", |
| 1342 | "localName": "Match" |
| 1343 | }, |
| 1344 | "trigger": { |
| 1345 | "name": "Event0000", |
| 1346 | "version": "0.0.1" |
| 1347 | }, |
| 1348 | "stateOutputs": { |
| 1349 | "entry": [ |
| 1350 | { |
| 1351 | "key": "Match_Establish", |
| 1352 | "value": { |
| 1353 | "key": { |
| 1354 | "parentKeyName": "Policy0", |
| 1355 | "parentKeyVersion": "0.0.1", |
| 1356 | "parentLocalName": "Match", |
| 1357 | "localName": "Match_Establish" |
| 1358 | }, |
| 1359 | "outgoingEvent": { |
| 1360 | "name": "Event0001", |
| 1361 | "version": "0.0.1" |
| 1362 | }, |
| 1363 | "nextState": { |
| 1364 | "parentKeyName": "Policy0", |
| 1365 | "parentKeyVersion": "0.0.1", |
| 1366 | "parentLocalName": "NULL", |
| 1367 | "localName": "Establish" |
| 1368 | } |
| 1369 | } |
| 1370 | } |
| 1371 | ] |
| 1372 | }, |
| 1373 | "contextAlbumReference": [ |
| 1374 | { |
| 1375 | "name": "GlobalContextAlbum", |
| 1376 | "version": "0.0.1" |
| 1377 | }, |
| 1378 | { |
| 1379 | "name": "Policy0ContextAlbum", |
| 1380 | "version": "0.0.1" |
| 1381 | } |
| 1382 | ], |
| 1383 | "taskSelectionLogic": { |
| 1384 | "key": "TaskSelectionLigic", |
| 1385 | "logicFlavour": "JAVASCRIPT", |
| 1386 | "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\nvar returnValue = executor.isTrue;" |
| 1387 | }, |
| 1388 | "stateFinalizerLogicMap": { |
| 1389 | "entry": [] |
| 1390 | }, |
| 1391 | "defaultTask": { |
| 1392 | "name": "Task_Match0", |
| 1393 | "version": "0.0.1" |
| 1394 | }, |
| 1395 | "taskReferences": { |
| 1396 | "entry": [ |
| 1397 | { |
| 1398 | "key": { |
| 1399 | "name": "Task_Match0", |
| 1400 | "version": "0.0.1" |
| 1401 | }, |
| 1402 | "value": { |
| 1403 | "key": { |
| 1404 | "parentKeyName": "Policy0", |
| 1405 | "parentKeyVersion": "0.0.1", |
| 1406 | "parentLocalName": "Match", |
| 1407 | "localName": "Task_Match0_DIRECT_Match_Establish" |
| 1408 | }, |
| 1409 | "outputType": "DIRECT", |
| 1410 | "output": { |
| 1411 | "parentKeyName": "Policy0", |
| 1412 | "parentKeyVersion": "0.0.1", |
| 1413 | "parentLocalName": "Match", |
| 1414 | "localName": "Match_Establish" |
| 1415 | } |
| 1416 | } |
| 1417 | }, |
| 1418 | { |
| 1419 | "key": { |
| 1420 | "name": "Task_Match1", |
| 1421 | "version": "0.0.1" |
| 1422 | }, |
| 1423 | "value": { |
| 1424 | "key": { |
| 1425 | "parentKeyName": "Policy0", |
| 1426 | "parentKeyVersion": "0.0.1", |
| 1427 | "parentLocalName": "Match", |
| 1428 | "localName": "Task_Match1_DIRECT_Match_Establish" |
| 1429 | }, |
| 1430 | "outputType": "DIRECT", |
| 1431 | "output": { |
| 1432 | "parentKeyName": "Policy0", |
| 1433 | "parentKeyVersion": "0.0.1", |
| 1434 | "parentLocalName": "Match", |
| 1435 | "localName": "Match_Establish" |
| 1436 | } |
| 1437 | } |
| 1438 | }, |
| 1439 | { |
| 1440 | "key": { |
| 1441 | "name": "Task_Match2", |
| 1442 | "version": "0.0.1" |
| 1443 | }, |
| 1444 | "value": { |
| 1445 | "key": { |
| 1446 | "parentKeyName": "Policy0", |
| 1447 | "parentKeyVersion": "0.0.1", |
| 1448 | "parentLocalName": "Match", |
| 1449 | "localName": "Task_Match2_DIRECT_Match_Establish" |
| 1450 | }, |
| 1451 | "outputType": "DIRECT", |
| 1452 | "output": { |
| 1453 | "parentKeyName": "Policy0", |
| 1454 | "parentKeyVersion": "0.0.1", |
| 1455 | "parentLocalName": "Match", |
| 1456 | "localName": "Match_Establish" |
| 1457 | } |
| 1458 | } |
| 1459 | }, |
| 1460 | { |
| 1461 | "key": { |
| 1462 | "name": "Task_Match3", |
| 1463 | "version": "0.0.1" |
| 1464 | }, |
| 1465 | "value": { |
| 1466 | "key": { |
| 1467 | "parentKeyName": "Policy0", |
| 1468 | "parentKeyVersion": "0.0.1", |
| 1469 | "parentLocalName": "Match", |
| 1470 | "localName": "Task_Match3_DIRECT_Match_Establish" |
| 1471 | }, |
| 1472 | "outputType": "DIRECT", |
| 1473 | "output": { |
| 1474 | "parentKeyName": "Policy0", |
| 1475 | "parentKeyVersion": "0.0.1", |
| 1476 | "parentLocalName": "Match", |
| 1477 | "localName": "Match_Establish" |
| 1478 | } |
| 1479 | } |
| 1480 | } |
| 1481 | ] |
| 1482 | } |
| 1483 | } |
| 1484 | } |
| 1485 | ] |
| 1486 | }, |
| 1487 | "firstState": "Match" |
| 1488 | } |
| 1489 | }, |
| 1490 | { |
| 1491 | "key": { |
| 1492 | "name": "Policy1", |
| 1493 | "version": "0.0.1" |
| 1494 | }, |
| 1495 | "value": { |
| 1496 | "policyKey": { |
| 1497 | "name": "Policy1", |
| 1498 | "version": "0.0.1" |
| 1499 | }, |
| 1500 | "template": "MEDA", |
| 1501 | "state": { |
| 1502 | "entry": [ |
| 1503 | { |
| 1504 | "key": "Act", |
| 1505 | "value": { |
| 1506 | "stateKey": { |
| 1507 | "parentKeyName": "Policy1", |
| 1508 | "parentKeyVersion": "0.0.1", |
| 1509 | "parentLocalName": "NULL", |
| 1510 | "localName": "Act" |
| 1511 | }, |
| 1512 | "trigger": { |
| 1513 | "name": "Event0103", |
| 1514 | "version": "0.0.1" |
| 1515 | }, |
| 1516 | "stateOutputs": { |
| 1517 | "entry": [ |
| 1518 | { |
| 1519 | "key": "Act_NULL", |
| 1520 | "value": { |
| 1521 | "key": { |
| 1522 | "parentKeyName": "Policy1", |
| 1523 | "parentKeyVersion": "0.0.1", |
| 1524 | "parentLocalName": "Act", |
| 1525 | "localName": "Act_NULL" |
| 1526 | }, |
| 1527 | "outgoingEvent": { |
| 1528 | "name": "Event0104", |
| 1529 | "version": "0.0.1" |
| 1530 | }, |
| 1531 | "nextState": { |
| 1532 | "parentKeyName": "NULL", |
| 1533 | "parentKeyVersion": "0.0.0", |
| 1534 | "parentLocalName": "NULL", |
| 1535 | "localName": "NULL" |
| 1536 | } |
| 1537 | } |
| 1538 | } |
| 1539 | ] |
| 1540 | }, |
| 1541 | "contextAlbumReference": [ |
| 1542 | { |
| 1543 | "name": "GlobalContextAlbum", |
| 1544 | "version": "0.0.1" |
| 1545 | } |
| 1546 | ], |
| 1547 | "taskSelectionLogic": { |
| 1548 | "key": "TaskSelectionLigic", |
| 1549 | "logicFlavour": "JAVASCRIPT", |
| 1550 | "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\nvar returnValue = executor.isTrue;" |
| 1551 | }, |
| 1552 | "stateFinalizerLogicMap": { |
| 1553 | "entry": [] |
| 1554 | }, |
| 1555 | "defaultTask": { |
| 1556 | "name": "Task_Act0", |
| 1557 | "version": "0.0.1" |
| 1558 | }, |
| 1559 | "taskReferences": { |
| 1560 | "entry": [ |
| 1561 | { |
| 1562 | "key": { |
| 1563 | "name": "Task_Act0", |
| 1564 | "version": "0.0.1" |
| 1565 | }, |
| 1566 | "value": { |
| 1567 | "key": { |
| 1568 | "parentKeyName": "Policy1", |
| 1569 | "parentKeyVersion": "0.0.1", |
| 1570 | "parentLocalName": "Act", |
| 1571 | "localName": "Task_Act0_DIRECT_Act_NULL" |
| 1572 | }, |
| 1573 | "outputType": "DIRECT", |
| 1574 | "output": { |
| 1575 | "parentKeyName": "Policy1", |
| 1576 | "parentKeyVersion": "0.0.1", |
| 1577 | "parentLocalName": "Act", |
| 1578 | "localName": "Act_NULL" |
| 1579 | } |
| 1580 | } |
| 1581 | }, |
| 1582 | { |
| 1583 | "key": { |
| 1584 | "name": "Task_Act1", |
| 1585 | "version": "0.0.1" |
| 1586 | }, |
| 1587 | "value": { |
| 1588 | "key": { |
| 1589 | "parentKeyName": "Policy1", |
| 1590 | "parentKeyVersion": "0.0.1", |
| 1591 | "parentLocalName": "Act", |
| 1592 | "localName": "Task_Act1_DIRECT_Act_NULL" |
| 1593 | }, |
| 1594 | "outputType": "DIRECT", |
| 1595 | "output": { |
| 1596 | "parentKeyName": "Policy1", |
| 1597 | "parentKeyVersion": "0.0.1", |
| 1598 | "parentLocalName": "Act", |
| 1599 | "localName": "Act_NULL" |
| 1600 | } |
| 1601 | } |
| 1602 | }, |
| 1603 | { |
| 1604 | "key": { |
| 1605 | "name": "Task_Act2", |
| 1606 | "version": "0.0.1" |
| 1607 | }, |
| 1608 | "value": { |
| 1609 | "key": { |
| 1610 | "parentKeyName": "Policy1", |
| 1611 | "parentKeyVersion": "0.0.1", |
| 1612 | "parentLocalName": "Act", |
| 1613 | "localName": "Task_Act2_DIRECT_Act_NULL" |
| 1614 | }, |
| 1615 | "outputType": "DIRECT", |
| 1616 | "output": { |
| 1617 | "parentKeyName": "Policy1", |
| 1618 | "parentKeyVersion": "0.0.1", |
| 1619 | "parentLocalName": "Act", |
| 1620 | "localName": "Act_NULL" |
| 1621 | } |
| 1622 | } |
| 1623 | }, |
| 1624 | { |
| 1625 | "key": { |
| 1626 | "name": "Task_Act3", |
| 1627 | "version": "0.0.1" |
| 1628 | }, |
| 1629 | "value": { |
| 1630 | "key": { |
| 1631 | "parentKeyName": "Policy1", |
| 1632 | "parentKeyVersion": "0.0.1", |
| 1633 | "parentLocalName": "Act", |
| 1634 | "localName": "Task_Act3_DIRECT_Act_NULL" |
| 1635 | }, |
| 1636 | "outputType": "DIRECT", |
| 1637 | "output": { |
| 1638 | "parentKeyName": "Policy1", |
| 1639 | "parentKeyVersion": "0.0.1", |
| 1640 | "parentLocalName": "Act", |
| 1641 | "localName": "Act_NULL" |
| 1642 | } |
| 1643 | } |
| 1644 | } |
| 1645 | ] |
| 1646 | } |
| 1647 | } |
| 1648 | }, |
| 1649 | { |
| 1650 | "key": "Decide", |
| 1651 | "value": { |
| 1652 | "stateKey": { |
| 1653 | "parentKeyName": "Policy1", |
| 1654 | "parentKeyVersion": "0.0.1", |
| 1655 | "parentLocalName": "NULL", |
| 1656 | "localName": "Decide" |
| 1657 | }, |
| 1658 | "trigger": { |
| 1659 | "name": "Event0102", |
| 1660 | "version": "0.0.1" |
| 1661 | }, |
| 1662 | "stateOutputs": { |
| 1663 | "entry": [ |
| 1664 | { |
| 1665 | "key": "Decide_Act", |
| 1666 | "value": { |
| 1667 | "key": { |
| 1668 | "parentKeyName": "Policy1", |
| 1669 | "parentKeyVersion": "0.0.1", |
| 1670 | "parentLocalName": "Decide", |
| 1671 | "localName": "Decide_Act" |
| 1672 | }, |
| 1673 | "outgoingEvent": { |
| 1674 | "name": "Event0103", |
| 1675 | "version": "0.0.1" |
| 1676 | }, |
| 1677 | "nextState": { |
| 1678 | "parentKeyName": "Policy1", |
| 1679 | "parentKeyVersion": "0.0.1", |
| 1680 | "parentLocalName": "NULL", |
| 1681 | "localName": "Act" |
| 1682 | } |
| 1683 | } |
| 1684 | } |
| 1685 | ] |
| 1686 | }, |
| 1687 | "contextAlbumReference": [ |
| 1688 | { |
| 1689 | "name": "ExternalContextAlbum", |
| 1690 | "version": "0.0.1" |
| 1691 | }, |
| 1692 | { |
| 1693 | "name": "GlobalContextAlbum", |
| 1694 | "version": "0.0.1" |
| 1695 | }, |
| 1696 | { |
| 1697 | "name": "Policy1ContextAlbum", |
| 1698 | "version": "0.0.1" |
| 1699 | } |
| 1700 | ], |
| 1701 | "taskSelectionLogic": { |
| 1702 | "key": "TaskSelectionLigic", |
| 1703 | "logicFlavour": "JAVASCRIPT", |
| 1704 | "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\nvar returnValue = executor.isTrue;" |
| 1705 | }, |
| 1706 | "stateFinalizerLogicMap": { |
| 1707 | "entry": [] |
| 1708 | }, |
| 1709 | "defaultTask": { |
| 1710 | "name": "Task_Decide3", |
| 1711 | "version": "0.0.1" |
| 1712 | }, |
| 1713 | "taskReferences": { |
| 1714 | "entry": [ |
| 1715 | { |
| 1716 | "key": { |
| 1717 | "name": "Task_Decide0", |
| 1718 | "version": "0.0.1" |
| 1719 | }, |
| 1720 | "value": { |
| 1721 | "key": { |
| 1722 | "parentKeyName": "Policy1", |
| 1723 | "parentKeyVersion": "0.0.1", |
| 1724 | "parentLocalName": "Decide", |
| 1725 | "localName": "Task_Decide0_DIRECT_Decide_Act" |
| 1726 | }, |
| 1727 | "outputType": "DIRECT", |
| 1728 | "output": { |
| 1729 | "parentKeyName": "Policy1", |
| 1730 | "parentKeyVersion": "0.0.1", |
| 1731 | "parentLocalName": "Decide", |
| 1732 | "localName": "Decide_Act" |
| 1733 | } |
| 1734 | } |
| 1735 | }, |
| 1736 | { |
| 1737 | "key": { |
| 1738 | "name": "Task_Decide1", |
| 1739 | "version": "0.0.1" |
| 1740 | }, |
| 1741 | "value": { |
| 1742 | "key": { |
| 1743 | "parentKeyName": "Policy1", |
| 1744 | "parentKeyVersion": "0.0.1", |
| 1745 | "parentLocalName": "Decide", |
| 1746 | "localName": "Task_Decide1_DIRECT_Decide_Act" |
| 1747 | }, |
| 1748 | "outputType": "DIRECT", |
| 1749 | "output": { |
| 1750 | "parentKeyName": "Policy1", |
| 1751 | "parentKeyVersion": "0.0.1", |
| 1752 | "parentLocalName": "Decide", |
| 1753 | "localName": "Decide_Act" |
| 1754 | } |
| 1755 | } |
| 1756 | }, |
| 1757 | { |
| 1758 | "key": { |
| 1759 | "name": "Task_Decide2", |
| 1760 | "version": "0.0.1" |
| 1761 | }, |
| 1762 | "value": { |
| 1763 | "key": { |
| 1764 | "parentKeyName": "Policy1", |
| 1765 | "parentKeyVersion": "0.0.1", |
| 1766 | "parentLocalName": "Decide", |
| 1767 | "localName": "Task_Decide2_DIRECT_Decide_Act" |
| 1768 | }, |
| 1769 | "outputType": "DIRECT", |
| 1770 | "output": { |
| 1771 | "parentKeyName": "Policy1", |
| 1772 | "parentKeyVersion": "0.0.1", |
| 1773 | "parentLocalName": "Decide", |
| 1774 | "localName": "Decide_Act" |
| 1775 | } |
| 1776 | } |
| 1777 | }, |
| 1778 | { |
| 1779 | "key": { |
| 1780 | "name": "Task_Decide3", |
| 1781 | "version": "0.0.1" |
| 1782 | }, |
| 1783 | "value": { |
| 1784 | "key": { |
| 1785 | "parentKeyName": "Policy1", |
| 1786 | "parentKeyVersion": "0.0.1", |
| 1787 | "parentLocalName": "Decide", |
| 1788 | "localName": "Task_Decide3_DIRECT_Decide_Act" |
| 1789 | }, |
| 1790 | "outputType": "DIRECT", |
| 1791 | "output": { |
| 1792 | "parentKeyName": "Policy1", |
| 1793 | "parentKeyVersion": "0.0.1", |
| 1794 | "parentLocalName": "Decide", |
| 1795 | "localName": "Decide_Act" |
| 1796 | } |
| 1797 | } |
| 1798 | } |
| 1799 | ] |
| 1800 | } |
| 1801 | } |
| 1802 | }, |
| 1803 | { |
| 1804 | "key": "Establish", |
| 1805 | "value": { |
| 1806 | "stateKey": { |
| 1807 | "parentKeyName": "Policy1", |
| 1808 | "parentKeyVersion": "0.0.1", |
| 1809 | "parentLocalName": "NULL", |
| 1810 | "localName": "Establish" |
| 1811 | }, |
| 1812 | "trigger": { |
| 1813 | "name": "Event0101", |
| 1814 | "version": "0.0.1" |
| 1815 | }, |
| 1816 | "stateOutputs": { |
| 1817 | "entry": [ |
| 1818 | { |
| 1819 | "key": "Establish_Decide", |
| 1820 | "value": { |
| 1821 | "key": { |
| 1822 | "parentKeyName": "Policy1", |
| 1823 | "parentKeyVersion": "0.0.1", |
| 1824 | "parentLocalName": "Establish", |
| 1825 | "localName": "Establish_Decide" |
| 1826 | }, |
| 1827 | "outgoingEvent": { |
| 1828 | "name": "Event0102", |
| 1829 | "version": "0.0.1" |
| 1830 | }, |
| 1831 | "nextState": { |
| 1832 | "parentKeyName": "Policy1", |
| 1833 | "parentKeyVersion": "0.0.1", |
| 1834 | "parentLocalName": "NULL", |
| 1835 | "localName": "Decide" |
| 1836 | } |
| 1837 | } |
| 1838 | } |
| 1839 | ] |
| 1840 | }, |
| 1841 | "contextAlbumReference": [ |
| 1842 | { |
| 1843 | "name": "ExternalContextAlbum", |
| 1844 | "version": "0.0.1" |
| 1845 | }, |
| 1846 | { |
| 1847 | "name": "GlobalContextAlbum", |
| 1848 | "version": "0.0.1" |
| 1849 | }, |
| 1850 | { |
| 1851 | "name": "Policy1ContextAlbum", |
| 1852 | "version": "0.0.1" |
| 1853 | } |
| 1854 | ], |
| 1855 | "taskSelectionLogic": { |
| 1856 | "key": "TaskSelectionLigic", |
| 1857 | "logicFlavour": "JAVASCRIPT", |
| 1858 | "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\nvar returnValue = executor.isTrue;" |
| 1859 | }, |
| 1860 | "stateFinalizerLogicMap": { |
| 1861 | "entry": [] |
| 1862 | }, |
| 1863 | "defaultTask": { |
| 1864 | "name": "Task_Establish1", |
| 1865 | "version": "0.0.1" |
| 1866 | }, |
| 1867 | "taskReferences": { |
| 1868 | "entry": [ |
| 1869 | { |
| 1870 | "key": { |
| 1871 | "name": "Task_Establish0", |
| 1872 | "version": "0.0.1" |
| 1873 | }, |
| 1874 | "value": { |
| 1875 | "key": { |
| 1876 | "parentKeyName": "Policy1", |
| 1877 | "parentKeyVersion": "0.0.1", |
| 1878 | "parentLocalName": "Establish", |
| 1879 | "localName": "Task_Establish0_DIRECT_Establish_Decide" |
| 1880 | }, |
| 1881 | "outputType": "DIRECT", |
| 1882 | "output": { |
| 1883 | "parentKeyName": "Policy1", |
| 1884 | "parentKeyVersion": "0.0.1", |
| 1885 | "parentLocalName": "Establish", |
| 1886 | "localName": "Establish_Decide" |
| 1887 | } |
| 1888 | } |
| 1889 | }, |
| 1890 | { |
| 1891 | "key": { |
| 1892 | "name": "Task_Establish1", |
| 1893 | "version": "0.0.1" |
| 1894 | }, |
| 1895 | "value": { |
| 1896 | "key": { |
| 1897 | "parentKeyName": "Policy1", |
| 1898 | "parentKeyVersion": "0.0.1", |
| 1899 | "parentLocalName": "Establish", |
| 1900 | "localName": "Task_Establish1_DIRECT_Establish_Decide" |
| 1901 | }, |
| 1902 | "outputType": "DIRECT", |
| 1903 | "output": { |
| 1904 | "parentKeyName": "Policy1", |
| 1905 | "parentKeyVersion": "0.0.1", |
| 1906 | "parentLocalName": "Establish", |
| 1907 | "localName": "Establish_Decide" |
| 1908 | } |
| 1909 | } |
| 1910 | }, |
| 1911 | { |
| 1912 | "key": { |
| 1913 | "name": "Task_Establish2", |
| 1914 | "version": "0.0.1" |
| 1915 | }, |
| 1916 | "value": { |
| 1917 | "key": { |
| 1918 | "parentKeyName": "Policy1", |
| 1919 | "parentKeyVersion": "0.0.1", |
| 1920 | "parentLocalName": "Establish", |
| 1921 | "localName": "Task_Establish2_DIRECT_Establish_Decide" |
| 1922 | }, |
| 1923 | "outputType": "DIRECT", |
| 1924 | "output": { |
| 1925 | "parentKeyName": "Policy1", |
| 1926 | "parentKeyVersion": "0.0.1", |
| 1927 | "parentLocalName": "Establish", |
| 1928 | "localName": "Establish_Decide" |
| 1929 | } |
| 1930 | } |
| 1931 | }, |
| 1932 | { |
| 1933 | "key": { |
| 1934 | "name": "Task_Establish3", |
| 1935 | "version": "0.0.1" |
| 1936 | }, |
| 1937 | "value": { |
| 1938 | "key": { |
| 1939 | "parentKeyName": "Policy1", |
| 1940 | "parentKeyVersion": "0.0.1", |
| 1941 | "parentLocalName": "Establish", |
| 1942 | "localName": "Task_Establish3_DIRECT_Establish_Decide" |
| 1943 | }, |
| 1944 | "outputType": "DIRECT", |
| 1945 | "output": { |
| 1946 | "parentKeyName": "Policy1", |
| 1947 | "parentKeyVersion": "0.0.1", |
| 1948 | "parentLocalName": "Establish", |
| 1949 | "localName": "Establish_Decide" |
| 1950 | } |
| 1951 | } |
| 1952 | } |
| 1953 | ] |
| 1954 | } |
| 1955 | } |
| 1956 | }, |
| 1957 | { |
| 1958 | "key": "Match", |
| 1959 | "value": { |
| 1960 | "stateKey": { |
| 1961 | "parentKeyName": "Policy1", |
| 1962 | "parentKeyVersion": "0.0.1", |
| 1963 | "parentLocalName": "NULL", |
| 1964 | "localName": "Match" |
| 1965 | }, |
| 1966 | "trigger": { |
| 1967 | "name": "Event0100", |
| 1968 | "version": "0.0.1" |
| 1969 | }, |
| 1970 | "stateOutputs": { |
| 1971 | "entry": [ |
| 1972 | { |
| 1973 | "key": "Match_Establish", |
| 1974 | "value": { |
| 1975 | "key": { |
| 1976 | "parentKeyName": "Policy1", |
| 1977 | "parentKeyVersion": "0.0.1", |
| 1978 | "parentLocalName": "Match", |
| 1979 | "localName": "Match_Establish" |
| 1980 | }, |
| 1981 | "outgoingEvent": { |
| 1982 | "name": "Event0101", |
| 1983 | "version": "0.0.1" |
| 1984 | }, |
| 1985 | "nextState": { |
| 1986 | "parentKeyName": "Policy1", |
| 1987 | "parentKeyVersion": "0.0.1", |
| 1988 | "parentLocalName": "NULL", |
| 1989 | "localName": "Establish" |
| 1990 | } |
| 1991 | } |
| 1992 | } |
| 1993 | ] |
| 1994 | }, |
| 1995 | "contextAlbumReference": [ |
| 1996 | { |
| 1997 | "name": "ExternalContextAlbum", |
| 1998 | "version": "0.0.1" |
| 1999 | }, |
| 2000 | { |
| 2001 | "name": "GlobalContextAlbum", |
| 2002 | "version": "0.0.1" |
| 2003 | }, |
| 2004 | { |
| 2005 | "name": "Policy1ContextAlbum", |
| 2006 | "version": "0.0.1" |
| 2007 | } |
| 2008 | ], |
| 2009 | "taskSelectionLogic": { |
| 2010 | "key": "TaskSelectionLigic", |
| 2011 | "logicFlavour": "JAVASCRIPT", |
| 2012 | "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\nvar returnValue = executor.isTrue;" |
| 2013 | }, |
| 2014 | "stateFinalizerLogicMap": { |
| 2015 | "entry": [] |
| 2016 | }, |
| 2017 | "defaultTask": { |
| 2018 | "name": "Task_Match3", |
| 2019 | "version": "0.0.1" |
| 2020 | }, |
| 2021 | "taskReferences": { |
| 2022 | "entry": [ |
| 2023 | { |
| 2024 | "key": { |
| 2025 | "name": "Task_Match0", |
| 2026 | "version": "0.0.1" |
| 2027 | }, |
| 2028 | "value": { |
| 2029 | "key": { |
| 2030 | "parentKeyName": "Policy1", |
| 2031 | "parentKeyVersion": "0.0.1", |
| 2032 | "parentLocalName": "Match", |
| 2033 | "localName": "Task_Match0_DIRECT_Match_Establish" |
| 2034 | }, |
| 2035 | "outputType": "DIRECT", |
| 2036 | "output": { |
| 2037 | "parentKeyName": "Policy1", |
| 2038 | "parentKeyVersion": "0.0.1", |
| 2039 | "parentLocalName": "Match", |
| 2040 | "localName": "Match_Establish" |
| 2041 | } |
| 2042 | } |
| 2043 | }, |
| 2044 | { |
| 2045 | "key": { |
| 2046 | "name": "Task_Match1", |
| 2047 | "version": "0.0.1" |
| 2048 | }, |
| 2049 | "value": { |
| 2050 | "key": { |
| 2051 | "parentKeyName": "Policy1", |
| 2052 | "parentKeyVersion": "0.0.1", |
| 2053 | "parentLocalName": "Match", |
| 2054 | "localName": "Task_Match1_DIRECT_Match_Establish" |
| 2055 | }, |
| 2056 | "outputType": "DIRECT", |
| 2057 | "output": { |
| 2058 | "parentKeyName": "Policy1", |
| 2059 | "parentKeyVersion": "0.0.1", |
| 2060 | "parentLocalName": "Match", |
| 2061 | "localName": "Match_Establish" |
| 2062 | } |
| 2063 | } |
| 2064 | }, |
| 2065 | { |
| 2066 | "key": { |
| 2067 | "name": "Task_Match2", |
| 2068 | "version": "0.0.1" |
| 2069 | }, |
| 2070 | "value": { |
| 2071 | "key": { |
| 2072 | "parentKeyName": "Policy1", |
| 2073 | "parentKeyVersion": "0.0.1", |
| 2074 | "parentLocalName": "Match", |
| 2075 | "localName": "Task_Match2_DIRECT_Match_Establish" |
| 2076 | }, |
| 2077 | "outputType": "DIRECT", |
| 2078 | "output": { |
| 2079 | "parentKeyName": "Policy1", |
| 2080 | "parentKeyVersion": "0.0.1", |
| 2081 | "parentLocalName": "Match", |
| 2082 | "localName": "Match_Establish" |
| 2083 | } |
| 2084 | } |
| 2085 | }, |
| 2086 | { |
| 2087 | "key": { |
| 2088 | "name": "Task_Match3", |
| 2089 | "version": "0.0.1" |
| 2090 | }, |
| 2091 | "value": { |
| 2092 | "key": { |
| 2093 | "parentKeyName": "Policy1", |
| 2094 | "parentKeyVersion": "0.0.1", |
| 2095 | "parentLocalName": "Match", |
| 2096 | "localName": "Task_Match3_DIRECT_Match_Establish" |
| 2097 | }, |
| 2098 | "outputType": "DIRECT", |
| 2099 | "output": { |
| 2100 | "parentKeyName": "Policy1", |
| 2101 | "parentKeyVersion": "0.0.1", |
| 2102 | "parentLocalName": "Match", |
| 2103 | "localName": "Match_Establish" |
| 2104 | } |
| 2105 | } |
| 2106 | } |
| 2107 | ] |
| 2108 | } |
| 2109 | } |
| 2110 | } |
| 2111 | ] |
| 2112 | }, |
| 2113 | "firstState": "Match" |
| 2114 | } |
| 2115 | } |
| 2116 | ] |
| 2117 | } |
| 2118 | }, |
| 2119 | "tasks": { |
| 2120 | "key": { |
| 2121 | "name": "Tasks", |
| 2122 | "version": "0.0.1" |
| 2123 | }, |
| 2124 | "taskMap": { |
| 2125 | "entry": [ |
| 2126 | { |
| 2127 | "key": { |
| 2128 | "name": "Task_Act0", |
| 2129 | "version": "0.0.1" |
| 2130 | }, |
| 2131 | "value": { |
| 2132 | "key": { |
| 2133 | "name": "Task_Act0", |
| 2134 | "version": "0.0.1" |
| 2135 | }, |
| 2136 | "inputFields": { |
| 2137 | "entry": [ |
| 2138 | { |
| 2139 | "key": "TestDecideCaseSelected", |
| 2140 | "value": { |
| 2141 | "key": "TestDecideCaseSelected", |
| 2142 | "fieldSchemaKey": { |
| 2143 | "name": "TestCase", |
| 2144 | "version": "0.0.1" |
| 2145 | }, |
| 2146 | "optional": false |
| 2147 | } |
| 2148 | }, |
| 2149 | { |
| 2150 | "key": "TestDecideStateTime", |
| 2151 | "value": { |
| 2152 | "key": "TestDecideStateTime", |
| 2153 | "fieldSchemaKey": { |
| 2154 | "name": "TestTimestamp", |
| 2155 | "version": "0.0.1" |
| 2156 | }, |
| 2157 | "optional": false |
| 2158 | } |
| 2159 | }, |
| 2160 | { |
| 2161 | "key": "TestEstablishCaseSelected", |
| 2162 | "value": { |
| 2163 | "key": "TestEstablishCaseSelected", |
| 2164 | "fieldSchemaKey": { |
| 2165 | "name": "TestCase", |
| 2166 | "version": "0.0.1" |
| 2167 | }, |
| 2168 | "optional": false |
| 2169 | } |
| 2170 | }, |
| 2171 | { |
| 2172 | "key": "TestEstablishStateTime", |
| 2173 | "value": { |
| 2174 | "key": "TestEstablishStateTime", |
| 2175 | "fieldSchemaKey": { |
| 2176 | "name": "TestTimestamp", |
| 2177 | "version": "0.0.1" |
| 2178 | }, |
| 2179 | "optional": false |
| 2180 | } |
| 2181 | }, |
| 2182 | { |
| 2183 | "key": "TestMatchCase", |
| 2184 | "value": { |
| 2185 | "key": "TestMatchCase", |
| 2186 | "fieldSchemaKey": { |
| 2187 | "name": "TestCase", |
| 2188 | "version": "0.0.1" |
| 2189 | }, |
| 2190 | "optional": false |
| 2191 | } |
| 2192 | }, |
| 2193 | { |
| 2194 | "key": "TestMatchCaseSelected", |
| 2195 | "value": { |
| 2196 | "key": "TestMatchCaseSelected", |
| 2197 | "fieldSchemaKey": { |
| 2198 | "name": "TestCase", |
| 2199 | "version": "0.0.1" |
| 2200 | }, |
| 2201 | "optional": false |
| 2202 | } |
| 2203 | }, |
| 2204 | { |
| 2205 | "key": "TestMatchStateTime", |
| 2206 | "value": { |
| 2207 | "key": "TestMatchStateTime", |
| 2208 | "fieldSchemaKey": { |
| 2209 | "name": "TestTimestamp", |
| 2210 | "version": "0.0.1" |
| 2211 | }, |
| 2212 | "optional": false |
| 2213 | } |
| 2214 | }, |
| 2215 | { |
| 2216 | "key": "TestSlogan", |
| 2217 | "value": { |
| 2218 | "key": "TestSlogan", |
| 2219 | "fieldSchemaKey": { |
| 2220 | "name": "TestSlogan", |
| 2221 | "version": "0.0.1" |
| 2222 | }, |
| 2223 | "optional": false |
| 2224 | } |
| 2225 | }, |
| 2226 | { |
| 2227 | "key": "TestTemperature", |
| 2228 | "value": { |
| 2229 | "key": "TestTemperature", |
| 2230 | "fieldSchemaKey": { |
| 2231 | "name": "TestTemperature", |
| 2232 | "version": "0.0.1" |
| 2233 | }, |
| 2234 | "optional": false |
| 2235 | } |
| 2236 | }, |
| 2237 | { |
| 2238 | "key": "TestTimestamp", |
| 2239 | "value": { |
| 2240 | "key": "TestTimestamp", |
| 2241 | "fieldSchemaKey": { |
| 2242 | "name": "TestTimestamp", |
| 2243 | "version": "0.0.1" |
| 2244 | }, |
| 2245 | "optional": false |
| 2246 | } |
| 2247 | } |
| 2248 | ] |
| 2249 | }, |
| 2250 | "outputFields": { |
| 2251 | "entry": [ |
| 2252 | { |
| 2253 | "key": "TestActCaseSelected", |
| 2254 | "value": { |
| 2255 | "key": "TestActCaseSelected", |
| 2256 | "fieldSchemaKey": { |
| 2257 | "name": "TestCase", |
| 2258 | "version": "0.0.1" |
| 2259 | }, |
| 2260 | "optional": false |
| 2261 | } |
| 2262 | }, |
| 2263 | { |
| 2264 | "key": "TestActStateTime", |
| 2265 | "value": { |
| 2266 | "key": "TestActStateTime", |
| 2267 | "fieldSchemaKey": { |
| 2268 | "name": "TestTimestamp", |
| 2269 | "version": "0.0.1" |
| 2270 | }, |
| 2271 | "optional": false |
| 2272 | } |
| 2273 | }, |
| 2274 | { |
| 2275 | "key": "TestDecideCaseSelected", |
| 2276 | "value": { |
| 2277 | "key": "TestDecideCaseSelected", |
| 2278 | "fieldSchemaKey": { |
| 2279 | "name": "TestCase", |
| 2280 | "version": "0.0.1" |
| 2281 | }, |
| 2282 | "optional": false |
| 2283 | } |
| 2284 | }, |
| 2285 | { |
| 2286 | "key": "TestDecideStateTime", |
| 2287 | "value": { |
| 2288 | "key": "TestDecideStateTime", |
| 2289 | "fieldSchemaKey": { |
| 2290 | "name": "TestTimestamp", |
| 2291 | "version": "0.0.1" |
| 2292 | }, |
| 2293 | "optional": false |
| 2294 | } |
| 2295 | }, |
| 2296 | { |
| 2297 | "key": "TestEstablishCaseSelected", |
| 2298 | "value": { |
| 2299 | "key": "TestEstablishCaseSelected", |
| 2300 | "fieldSchemaKey": { |
| 2301 | "name": "TestCase", |
| 2302 | "version": "0.0.1" |
| 2303 | }, |
| 2304 | "optional": false |
| 2305 | } |
| 2306 | }, |
| 2307 | { |
| 2308 | "key": "TestEstablishStateTime", |
| 2309 | "value": { |
| 2310 | "key": "TestEstablishStateTime", |
| 2311 | "fieldSchemaKey": { |
| 2312 | "name": "TestTimestamp", |
| 2313 | "version": "0.0.1" |
| 2314 | }, |
| 2315 | "optional": false |
| 2316 | } |
| 2317 | }, |
| 2318 | { |
| 2319 | "key": "TestMatchCase", |
| 2320 | "value": { |
| 2321 | "key": "TestMatchCase", |
| 2322 | "fieldSchemaKey": { |
| 2323 | "name": "TestCase", |
| 2324 | "version": "0.0.1" |
| 2325 | }, |
| 2326 | "optional": false |
| 2327 | } |
| 2328 | }, |
| 2329 | { |
| 2330 | "key": "TestMatchCaseSelected", |
| 2331 | "value": { |
| 2332 | "key": "TestMatchCaseSelected", |
| 2333 | "fieldSchemaKey": { |
| 2334 | "name": "TestCase", |
| 2335 | "version": "0.0.1" |
| 2336 | }, |
| 2337 | "optional": false |
| 2338 | } |
| 2339 | }, |
| 2340 | { |
| 2341 | "key": "TestMatchStateTime", |
| 2342 | "value": { |
| 2343 | "key": "TestMatchStateTime", |
| 2344 | "fieldSchemaKey": { |
| 2345 | "name": "TestTimestamp", |
| 2346 | "version": "0.0.1" |
| 2347 | }, |
| 2348 | "optional": false |
| 2349 | } |
| 2350 | }, |
| 2351 | { |
| 2352 | "key": "TestSlogan", |
| 2353 | "value": { |
| 2354 | "key": "TestSlogan", |
| 2355 | "fieldSchemaKey": { |
| 2356 | "name": "TestSlogan", |
| 2357 | "version": "0.0.1" |
| 2358 | }, |
| 2359 | "optional": false |
| 2360 | } |
| 2361 | }, |
| 2362 | { |
| 2363 | "key": "TestTemperature", |
| 2364 | "value": { |
| 2365 | "key": "TestTemperature", |
| 2366 | "fieldSchemaKey": { |
| 2367 | "name": "TestTemperature", |
| 2368 | "version": "0.0.1" |
| 2369 | }, |
| 2370 | "optional": false |
| 2371 | } |
| 2372 | }, |
| 2373 | { |
| 2374 | "key": "TestTimestamp", |
| 2375 | "value": { |
| 2376 | "key": "TestTimestamp", |
| 2377 | "fieldSchemaKey": { |
| 2378 | "name": "TestTimestamp", |
| 2379 | "version": "0.0.1" |
| 2380 | }, |
| 2381 | "optional": false |
| 2382 | } |
| 2383 | } |
| 2384 | ] |
| 2385 | }, |
| 2386 | "taskParameters": { |
| 2387 | "entry": [ |
| 2388 | { |
| 2389 | "key": "Parameter0", |
| 2390 | "value": { |
| 2391 | "key": { |
| 2392 | "parentKeyName": "Task_Act0", |
| 2393 | "parentKeyVersion": "0.0.1", |
| 2394 | "parentLocalName": "NULL", |
| 2395 | "localName": "Parameter0" |
| 2396 | }, |
| 2397 | "defaultValue": "DefaultValue0" |
| 2398 | } |
| 2399 | }, |
| 2400 | { |
| 2401 | "key": "Parameter1", |
| 2402 | "value": { |
| 2403 | "key": { |
| 2404 | "parentKeyName": "Task_Act0", |
| 2405 | "parentKeyVersion": "0.0.1", |
| 2406 | "parentLocalName": "NULL", |
| 2407 | "localName": "Parameter1" |
| 2408 | }, |
| 2409 | "defaultValue": "DefaultValue1" |
| 2410 | } |
| 2411 | }, |
| 2412 | { |
| 2413 | "key": "Parameter2", |
| 2414 | "value": { |
| 2415 | "key": { |
| 2416 | "parentKeyName": "Task_Act0", |
| 2417 | "parentKeyVersion": "0.0.1", |
| 2418 | "parentLocalName": "NULL", |
| 2419 | "localName": "Parameter2" |
| 2420 | }, |
| 2421 | "defaultValue": "DefaultValue2" |
| 2422 | } |
| 2423 | } |
| 2424 | ] |
| 2425 | }, |
| 2426 | "contextAlbumReference": [ |
| 2427 | { |
| 2428 | "name": "ExternalContextAlbum", |
| 2429 | "version": "0.0.1" |
| 2430 | }, |
| 2431 | { |
| 2432 | "name": "GlobalContextAlbum", |
| 2433 | "version": "0.0.1" |
| 2434 | }, |
| 2435 | { |
| 2436 | "name": "Policy0ContextAlbum", |
| 2437 | "version": "0.0.1" |
| 2438 | }, |
| 2439 | { |
| 2440 | "name": "Policy1ContextAlbum", |
| 2441 | "version": "0.0.1" |
| 2442 | } |
| 2443 | ], |
| 2444 | "taskLogic": { |
| 2445 | "key": "_TaskLogic", |
| 2446 | "logicFlavour": "JAVASCRIPT", |
| 2447 | "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = Java.type(\"java.lang.Byte\");\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = Java.type(\"java.util.Date\");\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\nvar returnValue = executor.isTrue;" |
| 2448 | } |
| 2449 | } |
| 2450 | }, |
| 2451 | { |
| 2452 | "key": { |
| 2453 | "name": "Task_Act1", |
| 2454 | "version": "0.0.1" |
| 2455 | }, |
| 2456 | "value": { |
| 2457 | "key": { |
| 2458 | "name": "Task_Act1", |
| 2459 | "version": "0.0.1" |
| 2460 | }, |
| 2461 | "inputFields": { |
| 2462 | "entry": [ |
| 2463 | { |
| 2464 | "key": "TestDecideCaseSelected", |
| 2465 | "value": { |
| 2466 | "key": "TestDecideCaseSelected", |
| 2467 | "fieldSchemaKey": { |
| 2468 | "name": "TestCase", |
| 2469 | "version": "0.0.1" |
| 2470 | }, |
| 2471 | "optional": false |
| 2472 | } |
| 2473 | }, |
| 2474 | { |
| 2475 | "key": "TestDecideStateTime", |
| 2476 | "value": { |
| 2477 | "key": "TestDecideStateTime", |
| 2478 | "fieldSchemaKey": { |
| 2479 | "name": "TestTimestamp", |
| 2480 | "version": "0.0.1" |
| 2481 | }, |
| 2482 | "optional": false |
| 2483 | } |
| 2484 | }, |
| 2485 | { |
| 2486 | "key": "TestEstablishCaseSelected", |
| 2487 | "value": { |
| 2488 | "key": "TestEstablishCaseSelected", |
| 2489 | "fieldSchemaKey": { |
| 2490 | "name": "TestCase", |
| 2491 | "version": "0.0.1" |
| 2492 | }, |
| 2493 | "optional": false |
| 2494 | } |
| 2495 | }, |
| 2496 | { |
| 2497 | "key": "TestEstablishStateTime", |
| 2498 | "value": { |
| 2499 | "key": "TestEstablishStateTime", |
| 2500 | "fieldSchemaKey": { |
| 2501 | "name": "TestTimestamp", |
| 2502 | "version": "0.0.1" |
| 2503 | }, |
| 2504 | "optional": false |
| 2505 | } |
| 2506 | }, |
| 2507 | { |
| 2508 | "key": "TestMatchCase", |
| 2509 | "value": { |
| 2510 | "key": "TestMatchCase", |
| 2511 | "fieldSchemaKey": { |
| 2512 | "name": "TestCase", |
| 2513 | "version": "0.0.1" |
| 2514 | }, |
| 2515 | "optional": false |
| 2516 | } |
| 2517 | }, |
| 2518 | { |
| 2519 | "key": "TestMatchCaseSelected", |
| 2520 | "value": { |
| 2521 | "key": "TestMatchCaseSelected", |
| 2522 | "fieldSchemaKey": { |
| 2523 | "name": "TestCase", |
| 2524 | "version": "0.0.1" |
| 2525 | }, |
| 2526 | "optional": false |
| 2527 | } |
| 2528 | }, |
| 2529 | { |
| 2530 | "key": "TestMatchStateTime", |
| 2531 | "value": { |
| 2532 | "key": "TestMatchStateTime", |
| 2533 | "fieldSchemaKey": { |
| 2534 | "name": "TestTimestamp", |
| 2535 | "version": "0.0.1" |
| 2536 | }, |
| 2537 | "optional": false |
| 2538 | } |
| 2539 | }, |
| 2540 | { |
| 2541 | "key": "TestSlogan", |
| 2542 | "value": { |
| 2543 | "key": "TestSlogan", |
| 2544 | "fieldSchemaKey": { |
| 2545 | "name": "TestSlogan", |
| 2546 | "version": "0.0.1" |
| 2547 | }, |
| 2548 | "optional": false |
| 2549 | } |
| 2550 | }, |
| 2551 | { |
| 2552 | "key": "TestTemperature", |
| 2553 | "value": { |
| 2554 | "key": "TestTemperature", |
| 2555 | "fieldSchemaKey": { |
| 2556 | "name": "TestTemperature", |
| 2557 | "version": "0.0.1" |
| 2558 | }, |
| 2559 | "optional": false |
| 2560 | } |
| 2561 | }, |
| 2562 | { |
| 2563 | "key": "TestTimestamp", |
| 2564 | "value": { |
| 2565 | "key": "TestTimestamp", |
| 2566 | "fieldSchemaKey": { |
| 2567 | "name": "TestTimestamp", |
| 2568 | "version": "0.0.1" |
| 2569 | }, |
| 2570 | "optional": false |
| 2571 | } |
| 2572 | } |
| 2573 | ] |
| 2574 | }, |
| 2575 | "outputFields": { |
| 2576 | "entry": [ |
| 2577 | { |
| 2578 | "key": "TestActCaseSelected", |
| 2579 | "value": { |
| 2580 | "key": "TestActCaseSelected", |
| 2581 | "fieldSchemaKey": { |
| 2582 | "name": "TestCase", |
| 2583 | "version": "0.0.1" |
| 2584 | }, |
| 2585 | "optional": false |
| 2586 | } |
| 2587 | }, |
| 2588 | { |
| 2589 | "key": "TestActStateTime", |
| 2590 | "value": { |
| 2591 | "key": "TestActStateTime", |
| 2592 | "fieldSchemaKey": { |
| 2593 | "name": "TestTimestamp", |
| 2594 | "version": "0.0.1" |
| 2595 | }, |
| 2596 | "optional": false |
| 2597 | } |
| 2598 | }, |
| 2599 | { |
| 2600 | "key": "TestDecideCaseSelected", |
| 2601 | "value": { |
| 2602 | "key": "TestDecideCaseSelected", |
| 2603 | "fieldSchemaKey": { |
| 2604 | "name": "TestCase", |
| 2605 | "version": "0.0.1" |
| 2606 | }, |
| 2607 | "optional": false |
| 2608 | } |
| 2609 | }, |
| 2610 | { |
| 2611 | "key": "TestDecideStateTime", |
| 2612 | "value": { |
| 2613 | "key": "TestDecideStateTime", |
| 2614 | "fieldSchemaKey": { |
| 2615 | "name": "TestTimestamp", |
| 2616 | "version": "0.0.1" |
| 2617 | }, |
| 2618 | "optional": false |
| 2619 | } |
| 2620 | }, |
| 2621 | { |
| 2622 | "key": "TestEstablishCaseSelected", |
| 2623 | "value": { |
| 2624 | "key": "TestEstablishCaseSelected", |
| 2625 | "fieldSchemaKey": { |
| 2626 | "name": "TestCase", |
| 2627 | "version": "0.0.1" |
| 2628 | }, |
| 2629 | "optional": false |
| 2630 | } |
| 2631 | }, |
| 2632 | { |
| 2633 | "key": "TestEstablishStateTime", |
| 2634 | "value": { |
| 2635 | "key": "TestEstablishStateTime", |
| 2636 | "fieldSchemaKey": { |
| 2637 | "name": "TestTimestamp", |
| 2638 | "version": "0.0.1" |
| 2639 | }, |
| 2640 | "optional": false |
| 2641 | } |
| 2642 | }, |
| 2643 | { |
| 2644 | "key": "TestMatchCase", |
| 2645 | "value": { |
| 2646 | "key": "TestMatchCase", |
| 2647 | "fieldSchemaKey": { |
| 2648 | "name": "TestCase", |
| 2649 | "version": "0.0.1" |
| 2650 | }, |
| 2651 | "optional": false |
| 2652 | } |
| 2653 | }, |
| 2654 | { |
| 2655 | "key": "TestMatchCaseSelected", |
| 2656 | "value": { |
| 2657 | "key": "TestMatchCaseSelected", |
| 2658 | "fieldSchemaKey": { |
| 2659 | "name": "TestCase", |
| 2660 | "version": "0.0.1" |
| 2661 | }, |
| 2662 | "optional": false |
| 2663 | } |
| 2664 | }, |
| 2665 | { |
| 2666 | "key": "TestMatchStateTime", |
| 2667 | "value": { |
| 2668 | "key": "TestMatchStateTime", |
| 2669 | "fieldSchemaKey": { |
| 2670 | "name": "TestTimestamp", |
| 2671 | "version": "0.0.1" |
| 2672 | }, |
| 2673 | "optional": false |
| 2674 | } |
| 2675 | }, |
| 2676 | { |
| 2677 | "key": "TestSlogan", |
| 2678 | "value": { |
| 2679 | "key": "TestSlogan", |
| 2680 | "fieldSchemaKey": { |
| 2681 | "name": "TestSlogan", |
| 2682 | "version": "0.0.1" |
| 2683 | }, |
| 2684 | "optional": false |
| 2685 | } |
| 2686 | }, |
| 2687 | { |
| 2688 | "key": "TestTemperature", |
| 2689 | "value": { |
| 2690 | "key": "TestTemperature", |
| 2691 | "fieldSchemaKey": { |
| 2692 | "name": "TestTemperature", |
| 2693 | "version": "0.0.1" |
| 2694 | }, |
| 2695 | "optional": false |
| 2696 | } |
| 2697 | }, |
| 2698 | { |
| 2699 | "key": "TestTimestamp", |
| 2700 | "value": { |
| 2701 | "key": "TestTimestamp", |
| 2702 | "fieldSchemaKey": { |
| 2703 | "name": "TestTimestamp", |
| 2704 | "version": "0.0.1" |
| 2705 | }, |
| 2706 | "optional": false |
| 2707 | } |
| 2708 | } |
| 2709 | ] |
| 2710 | }, |
| 2711 | "taskParameters": { |
| 2712 | "entry": [ |
| 2713 | { |
| 2714 | "key": "Parameter0", |
| 2715 | "value": { |
| 2716 | "key": { |
| 2717 | "parentKeyName": "Task_Act1", |
| 2718 | "parentKeyVersion": "0.0.1", |
| 2719 | "parentLocalName": "NULL", |
| 2720 | "localName": "Parameter0" |
| 2721 | }, |
| 2722 | "defaultValue": "DefaultValue0" |
| 2723 | } |
| 2724 | }, |
| 2725 | { |
| 2726 | "key": "Parameter1", |
| 2727 | "value": { |
| 2728 | "key": { |
| 2729 | "parentKeyName": "Task_Act1", |
| 2730 | "parentKeyVersion": "0.0.1", |
| 2731 | "parentLocalName": "NULL", |
| 2732 | "localName": "Parameter1" |
| 2733 | }, |
| 2734 | "defaultValue": "DefaultValue1" |
| 2735 | } |
| 2736 | } |
| 2737 | ] |
| 2738 | }, |
| 2739 | "contextAlbumReference": [ |
| 2740 | { |
| 2741 | "name": "GlobalContextAlbum", |
| 2742 | "version": "0.0.1" |
| 2743 | }, |
| 2744 | { |
| 2745 | "name": "Policy0ContextAlbum", |
| 2746 | "version": "0.0.1" |
| 2747 | } |
| 2748 | ], |
| 2749 | "taskLogic": { |
| 2750 | "key": "_TaskLogic", |
| 2751 | "logicFlavour": "JAVASCRIPT", |
| 2752 | "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = Java.type(\"java.lang.Byte\");\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = Java.type(\"java.util.Date\");\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\nvar returnValue = executor.isTrue;" |
| 2753 | } |
| 2754 | } |
| 2755 | }, |
| 2756 | { |
| 2757 | "key": { |
| 2758 | "name": "Task_Act2", |
| 2759 | "version": "0.0.1" |
| 2760 | }, |
| 2761 | "value": { |
| 2762 | "key": { |
| 2763 | "name": "Task_Act2", |
| 2764 | "version": "0.0.1" |
| 2765 | }, |
| 2766 | "inputFields": { |
| 2767 | "entry": [ |
| 2768 | { |
| 2769 | "key": "TestDecideCaseSelected", |
| 2770 | "value": { |
| 2771 | "key": "TestDecideCaseSelected", |
| 2772 | "fieldSchemaKey": { |
| 2773 | "name": "TestCase", |
| 2774 | "version": "0.0.1" |
| 2775 | }, |
| 2776 | "optional": false |
| 2777 | } |
| 2778 | }, |
| 2779 | { |
| 2780 | "key": "TestDecideStateTime", |
| 2781 | "value": { |
| 2782 | "key": "TestDecideStateTime", |
| 2783 | "fieldSchemaKey": { |
| 2784 | "name": "TestTimestamp", |
| 2785 | "version": "0.0.1" |
| 2786 | }, |
| 2787 | "optional": false |
| 2788 | } |
| 2789 | }, |
| 2790 | { |
| 2791 | "key": "TestEstablishCaseSelected", |
| 2792 | "value": { |
| 2793 | "key": "TestEstablishCaseSelected", |
| 2794 | "fieldSchemaKey": { |
| 2795 | "name": "TestCase", |
| 2796 | "version": "0.0.1" |
| 2797 | }, |
| 2798 | "optional": false |
| 2799 | } |
| 2800 | }, |
| 2801 | { |
| 2802 | "key": "TestEstablishStateTime", |
| 2803 | "value": { |
| 2804 | "key": "TestEstablishStateTime", |
| 2805 | "fieldSchemaKey": { |
| 2806 | "name": "TestTimestamp", |
| 2807 | "version": "0.0.1" |
| 2808 | }, |
| 2809 | "optional": false |
| 2810 | } |
| 2811 | }, |
| 2812 | { |
| 2813 | "key": "TestMatchCase", |
| 2814 | "value": { |
| 2815 | "key": "TestMatchCase", |
| 2816 | "fieldSchemaKey": { |
| 2817 | "name": "TestCase", |
| 2818 | "version": "0.0.1" |
| 2819 | }, |
| 2820 | "optional": false |
| 2821 | } |
| 2822 | }, |
| 2823 | { |
| 2824 | "key": "TestMatchCaseSelected", |
| 2825 | "value": { |
| 2826 | "key": "TestMatchCaseSelected", |
| 2827 | "fieldSchemaKey": { |
| 2828 | "name": "TestCase", |
| 2829 | "version": "0.0.1" |
| 2830 | }, |
| 2831 | "optional": false |
| 2832 | } |
| 2833 | }, |
| 2834 | { |
| 2835 | "key": "TestMatchStateTime", |
| 2836 | "value": { |
| 2837 | "key": "TestMatchStateTime", |
| 2838 | "fieldSchemaKey": { |
| 2839 | "name": "TestTimestamp", |
| 2840 | "version": "0.0.1" |
| 2841 | }, |
| 2842 | "optional": false |
| 2843 | } |
| 2844 | }, |
| 2845 | { |
| 2846 | "key": "TestSlogan", |
| 2847 | "value": { |
| 2848 | "key": "TestSlogan", |
| 2849 | "fieldSchemaKey": { |
| 2850 | "name": "TestSlogan", |
| 2851 | "version": "0.0.1" |
| 2852 | }, |
| 2853 | "optional": false |
| 2854 | } |
| 2855 | }, |
| 2856 | { |
| 2857 | "key": "TestTemperature", |
| 2858 | "value": { |
| 2859 | "key": "TestTemperature", |
| 2860 | "fieldSchemaKey": { |
| 2861 | "name": "TestTemperature", |
| 2862 | "version": "0.0.1" |
| 2863 | }, |
| 2864 | "optional": false |
| 2865 | } |
| 2866 | }, |
| 2867 | { |
| 2868 | "key": "TestTimestamp", |
| 2869 | "value": { |
| 2870 | "key": "TestTimestamp", |
| 2871 | "fieldSchemaKey": { |
| 2872 | "name": "TestTimestamp", |
| 2873 | "version": "0.0.1" |
| 2874 | }, |
| 2875 | "optional": false |
| 2876 | } |
| 2877 | } |
| 2878 | ] |
| 2879 | }, |
| 2880 | "outputFields": { |
| 2881 | "entry": [ |
| 2882 | { |
| 2883 | "key": "TestActCaseSelected", |
| 2884 | "value": { |
| 2885 | "key": "TestActCaseSelected", |
| 2886 | "fieldSchemaKey": { |
| 2887 | "name": "TestCase", |
| 2888 | "version": "0.0.1" |
| 2889 | }, |
| 2890 | "optional": false |
| 2891 | } |
| 2892 | }, |
| 2893 | { |
| 2894 | "key": "TestActStateTime", |
| 2895 | "value": { |
| 2896 | "key": "TestActStateTime", |
| 2897 | "fieldSchemaKey": { |
| 2898 | "name": "TestTimestamp", |
| 2899 | "version": "0.0.1" |
| 2900 | }, |
| 2901 | "optional": false |
| 2902 | } |
| 2903 | }, |
| 2904 | { |
| 2905 | "key": "TestDecideCaseSelected", |
| 2906 | "value": { |
| 2907 | "key": "TestDecideCaseSelected", |
| 2908 | "fieldSchemaKey": { |
| 2909 | "name": "TestCase", |
| 2910 | "version": "0.0.1" |
| 2911 | }, |
| 2912 | "optional": false |
| 2913 | } |
| 2914 | }, |
| 2915 | { |
| 2916 | "key": "TestDecideStateTime", |
| 2917 | "value": { |
| 2918 | "key": "TestDecideStateTime", |
| 2919 | "fieldSchemaKey": { |
| 2920 | "name": "TestTimestamp", |
| 2921 | "version": "0.0.1" |
| 2922 | }, |
| 2923 | "optional": false |
| 2924 | } |
| 2925 | }, |
| 2926 | { |
| 2927 | "key": "TestEstablishCaseSelected", |
| 2928 | "value": { |
| 2929 | "key": "TestEstablishCaseSelected", |
| 2930 | "fieldSchemaKey": { |
| 2931 | "name": "TestCase", |
| 2932 | "version": "0.0.1" |
| 2933 | }, |
| 2934 | "optional": false |
| 2935 | } |
| 2936 | }, |
| 2937 | { |
| 2938 | "key": "TestEstablishStateTime", |
| 2939 | "value": { |
| 2940 | "key": "TestEstablishStateTime", |
| 2941 | "fieldSchemaKey": { |
| 2942 | "name": "TestTimestamp", |
| 2943 | "version": "0.0.1" |
| 2944 | }, |
| 2945 | "optional": false |
| 2946 | } |
| 2947 | }, |
| 2948 | { |
| 2949 | "key": "TestMatchCase", |
| 2950 | "value": { |
| 2951 | "key": "TestMatchCase", |
| 2952 | "fieldSchemaKey": { |
| 2953 | "name": "TestCase", |
| 2954 | "version": "0.0.1" |
| 2955 | }, |
| 2956 | "optional": false |
| 2957 | } |
| 2958 | }, |
| 2959 | { |
| 2960 | "key": "TestMatchCaseSelected", |
| 2961 | "value": { |
| 2962 | "key": "TestMatchCaseSelected", |
| 2963 | "fieldSchemaKey": { |
| 2964 | "name": "TestCase", |
| 2965 | "version": "0.0.1" |
| 2966 | }, |
| 2967 | "optional": false |
| 2968 | } |
| 2969 | }, |
| 2970 | { |
| 2971 | "key": "TestMatchStateTime", |
| 2972 | "value": { |
| 2973 | "key": "TestMatchStateTime", |
| 2974 | "fieldSchemaKey": { |
| 2975 | "name": "TestTimestamp", |
| 2976 | "version": "0.0.1" |
| 2977 | }, |
| 2978 | "optional": false |
| 2979 | } |
| 2980 | }, |
| 2981 | { |
| 2982 | "key": "TestSlogan", |
| 2983 | "value": { |
| 2984 | "key": "TestSlogan", |
| 2985 | "fieldSchemaKey": { |
| 2986 | "name": "TestSlogan", |
| 2987 | "version": "0.0.1" |
| 2988 | }, |
| 2989 | "optional": false |
| 2990 | } |
| 2991 | }, |
| 2992 | { |
| 2993 | "key": "TestTemperature", |
| 2994 | "value": { |
| 2995 | "key": "TestTemperature", |
| 2996 | "fieldSchemaKey": { |
| 2997 | "name": "TestTemperature", |
| 2998 | "version": "0.0.1" |
| 2999 | }, |
| 3000 | "optional": false |
| 3001 | } |
| 3002 | }, |
| 3003 | { |
| 3004 | "key": "TestTimestamp", |
| 3005 | "value": { |
| 3006 | "key": "TestTimestamp", |
| 3007 | "fieldSchemaKey": { |
| 3008 | "name": "TestTimestamp", |
| 3009 | "version": "0.0.1" |
| 3010 | }, |
| 3011 | "optional": false |
| 3012 | } |
| 3013 | } |
| 3014 | ] |
| 3015 | }, |
| 3016 | "taskParameters": { |
| 3017 | "entry": [ |
| 3018 | { |
| 3019 | "key": "Parameter0", |
| 3020 | "value": { |
| 3021 | "key": { |
| 3022 | "parentKeyName": "Task_Act2", |
| 3023 | "parentKeyVersion": "0.0.1", |
| 3024 | "parentLocalName": "NULL", |
| 3025 | "localName": "Parameter0" |
| 3026 | }, |
| 3027 | "defaultValue": "DefaultValue0" |
| 3028 | } |
| 3029 | } |
| 3030 | ] |
| 3031 | }, |
| 3032 | "contextAlbumReference": [ |
| 3033 | { |
| 3034 | "name": "GlobalContextAlbum", |
| 3035 | "version": "0.0.1" |
| 3036 | }, |
| 3037 | { |
| 3038 | "name": "Policy1ContextAlbum", |
| 3039 | "version": "0.0.1" |
| 3040 | } |
| 3041 | ], |
| 3042 | "taskLogic": { |
| 3043 | "key": "_TaskLogic", |
| 3044 | "logicFlavour": "JAVASCRIPT", |
| 3045 | "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = Java.type(\"java.lang.Byte\");\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = Java.type(\"java.util.Date\");\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\nvar returnValue = executor.isTrue;" |
| 3046 | } |
| 3047 | } |
| 3048 | }, |
| 3049 | { |
| 3050 | "key": { |
| 3051 | "name": "Task_Act3", |
| 3052 | "version": "0.0.1" |
| 3053 | }, |
| 3054 | "value": { |
| 3055 | "key": { |
| 3056 | "name": "Task_Act3", |
| 3057 | "version": "0.0.1" |
| 3058 | }, |
| 3059 | "inputFields": { |
| 3060 | "entry": [ |
| 3061 | { |
| 3062 | "key": "TestDecideCaseSelected", |
| 3063 | "value": { |
| 3064 | "key": "TestDecideCaseSelected", |
| 3065 | "fieldSchemaKey": { |
| 3066 | "name": "TestCase", |
| 3067 | "version": "0.0.1" |
| 3068 | }, |
| 3069 | "optional": false |
| 3070 | } |
| 3071 | }, |
| 3072 | { |
| 3073 | "key": "TestDecideStateTime", |
| 3074 | "value": { |
| 3075 | "key": "TestDecideStateTime", |
| 3076 | "fieldSchemaKey": { |
| 3077 | "name": "TestTimestamp", |
| 3078 | "version": "0.0.1" |
| 3079 | }, |
| 3080 | "optional": false |
| 3081 | } |
| 3082 | }, |
| 3083 | { |
| 3084 | "key": "TestEstablishCaseSelected", |
| 3085 | "value": { |
| 3086 | "key": "TestEstablishCaseSelected", |
| 3087 | "fieldSchemaKey": { |
| 3088 | "name": "TestCase", |
| 3089 | "version": "0.0.1" |
| 3090 | }, |
| 3091 | "optional": false |
| 3092 | } |
| 3093 | }, |
| 3094 | { |
| 3095 | "key": "TestEstablishStateTime", |
| 3096 | "value": { |
| 3097 | "key": "TestEstablishStateTime", |
| 3098 | "fieldSchemaKey": { |
| 3099 | "name": "TestTimestamp", |
| 3100 | "version": "0.0.1" |
| 3101 | }, |
| 3102 | "optional": false |
| 3103 | } |
| 3104 | }, |
| 3105 | { |
| 3106 | "key": "TestMatchCase", |
| 3107 | "value": { |
| 3108 | "key": "TestMatchCase", |
| 3109 | "fieldSchemaKey": { |
| 3110 | "name": "TestCase", |
| 3111 | "version": "0.0.1" |
| 3112 | }, |
| 3113 | "optional": false |
| 3114 | } |
| 3115 | }, |
| 3116 | { |
| 3117 | "key": "TestMatchCaseSelected", |
| 3118 | "value": { |
| 3119 | "key": "TestMatchCaseSelected", |
| 3120 | "fieldSchemaKey": { |
| 3121 | "name": "TestCase", |
| 3122 | "version": "0.0.1" |
| 3123 | }, |
| 3124 | "optional": false |
| 3125 | } |
| 3126 | }, |
| 3127 | { |
| 3128 | "key": "TestMatchStateTime", |
| 3129 | "value": { |
| 3130 | "key": "TestMatchStateTime", |
| 3131 | "fieldSchemaKey": { |
| 3132 | "name": "TestTimestamp", |
| 3133 | "version": "0.0.1" |
| 3134 | }, |
| 3135 | "optional": false |
| 3136 | } |
| 3137 | }, |
| 3138 | { |
| 3139 | "key": "TestSlogan", |
| 3140 | "value": { |
| 3141 | "key": "TestSlogan", |
| 3142 | "fieldSchemaKey": { |
| 3143 | "name": "TestSlogan", |
| 3144 | "version": "0.0.1" |
| 3145 | }, |
| 3146 | "optional": false |
| 3147 | } |
| 3148 | }, |
| 3149 | { |
| 3150 | "key": "TestTemperature", |
| 3151 | "value": { |
| 3152 | "key": "TestTemperature", |
| 3153 | "fieldSchemaKey": { |
| 3154 | "name": "TestTemperature", |
| 3155 | "version": "0.0.1" |
| 3156 | }, |
| 3157 | "optional": false |
| 3158 | } |
| 3159 | }, |
| 3160 | { |
| 3161 | "key": "TestTimestamp", |
| 3162 | "value": { |
| 3163 | "key": "TestTimestamp", |
| 3164 | "fieldSchemaKey": { |
| 3165 | "name": "TestTimestamp", |
| 3166 | "version": "0.0.1" |
| 3167 | }, |
| 3168 | "optional": false |
| 3169 | } |
| 3170 | } |
| 3171 | ] |
| 3172 | }, |
| 3173 | "outputFields": { |
| 3174 | "entry": [ |
| 3175 | { |
| 3176 | "key": "TestActCaseSelected", |
| 3177 | "value": { |
| 3178 | "key": "TestActCaseSelected", |
| 3179 | "fieldSchemaKey": { |
| 3180 | "name": "TestCase", |
| 3181 | "version": "0.0.1" |
| 3182 | }, |
| 3183 | "optional": false |
| 3184 | } |
| 3185 | }, |
| 3186 | { |
| 3187 | "key": "TestActStateTime", |
| 3188 | "value": { |
| 3189 | "key": "TestActStateTime", |
| 3190 | "fieldSchemaKey": { |
| 3191 | "name": "TestTimestamp", |
| 3192 | "version": "0.0.1" |
| 3193 | }, |
| 3194 | "optional": false |
| 3195 | } |
| 3196 | }, |
| 3197 | { |
| 3198 | "key": "TestDecideCaseSelected", |
| 3199 | "value": { |
| 3200 | "key": "TestDecideCaseSelected", |
| 3201 | "fieldSchemaKey": { |
| 3202 | "name": "TestCase", |
| 3203 | "version": "0.0.1" |
| 3204 | }, |
| 3205 | "optional": false |
| 3206 | } |
| 3207 | }, |
| 3208 | { |
| 3209 | "key": "TestDecideStateTime", |
| 3210 | "value": { |
| 3211 | "key": "TestDecideStateTime", |
| 3212 | "fieldSchemaKey": { |
| 3213 | "name": "TestTimestamp", |
| 3214 | "version": "0.0.1" |
| 3215 | }, |
| 3216 | "optional": false |
| 3217 | } |
| 3218 | }, |
| 3219 | { |
| 3220 | "key": "TestEstablishCaseSelected", |
| 3221 | "value": { |
| 3222 | "key": "TestEstablishCaseSelected", |
| 3223 | "fieldSchemaKey": { |
| 3224 | "name": "TestCase", |
| 3225 | "version": "0.0.1" |
| 3226 | }, |
| 3227 | "optional": false |
| 3228 | } |
| 3229 | }, |
| 3230 | { |
| 3231 | "key": "TestEstablishStateTime", |
| 3232 | "value": { |
| 3233 | "key": "TestEstablishStateTime", |
| 3234 | "fieldSchemaKey": { |
| 3235 | "name": "TestTimestamp", |
| 3236 | "version": "0.0.1" |
| 3237 | }, |
| 3238 | "optional": false |
| 3239 | } |
| 3240 | }, |
| 3241 | { |
| 3242 | "key": "TestMatchCase", |
| 3243 | "value": { |
| 3244 | "key": "TestMatchCase", |
| 3245 | "fieldSchemaKey": { |
| 3246 | "name": "TestCase", |
| 3247 | "version": "0.0.1" |
| 3248 | }, |
| 3249 | "optional": false |
| 3250 | } |
| 3251 | }, |
| 3252 | { |
| 3253 | "key": "TestMatchCaseSelected", |
| 3254 | "value": { |
| 3255 | "key": "TestMatchCaseSelected", |
| 3256 | "fieldSchemaKey": { |
| 3257 | "name": "TestCase", |
| 3258 | "version": "0.0.1" |
| 3259 | }, |
| 3260 | "optional": false |
| 3261 | } |
| 3262 | }, |
| 3263 | { |
| 3264 | "key": "TestMatchStateTime", |
| 3265 | "value": { |
| 3266 | "key": "TestMatchStateTime", |
| 3267 | "fieldSchemaKey": { |
| 3268 | "name": "TestTimestamp", |
| 3269 | "version": "0.0.1" |
| 3270 | }, |
| 3271 | "optional": false |
| 3272 | } |
| 3273 | }, |
| 3274 | { |
| 3275 | "key": "TestSlogan", |
| 3276 | "value": { |
| 3277 | "key": "TestSlogan", |
| 3278 | "fieldSchemaKey": { |
| 3279 | "name": "TestSlogan", |
| 3280 | "version": "0.0.1" |
| 3281 | }, |
| 3282 | "optional": false |
| 3283 | } |
| 3284 | }, |
| 3285 | { |
| 3286 | "key": "TestTemperature", |
| 3287 | "value": { |
| 3288 | "key": "TestTemperature", |
| 3289 | "fieldSchemaKey": { |
| 3290 | "name": "TestTemperature", |
| 3291 | "version": "0.0.1" |
| 3292 | }, |
| 3293 | "optional": false |
| 3294 | } |
| 3295 | }, |
| 3296 | { |
| 3297 | "key": "TestTimestamp", |
| 3298 | "value": { |
| 3299 | "key": "TestTimestamp", |
| 3300 | "fieldSchemaKey": { |
| 3301 | "name": "TestTimestamp", |
| 3302 | "version": "0.0.1" |
| 3303 | }, |
| 3304 | "optional": false |
| 3305 | } |
| 3306 | } |
| 3307 | ] |
| 3308 | }, |
| 3309 | "taskParameters": { |
| 3310 | "entry": [ |
| 3311 | { |
| 3312 | "key": "Parameter0", |
| 3313 | "value": { |
| 3314 | "key": { |
| 3315 | "parentKeyName": "Task_Act3", |
| 3316 | "parentKeyVersion": "0.0.1", |
| 3317 | "parentLocalName": "NULL", |
| 3318 | "localName": "Parameter0" |
| 3319 | }, |
| 3320 | "defaultValue": "DefaultValue0" |
| 3321 | } |
| 3322 | } |
| 3323 | ] |
| 3324 | }, |
| 3325 | "contextAlbumReference": [ |
| 3326 | { |
| 3327 | "name": "ExternalContextAlbum", |
| 3328 | "version": "0.0.1" |
| 3329 | }, |
| 3330 | { |
| 3331 | "name": "GlobalContextAlbum", |
| 3332 | "version": "0.0.1" |
| 3333 | } |
| 3334 | ], |
| 3335 | "taskLogic": { |
| 3336 | "key": "_TaskLogic", |
| 3337 | "logicFlavour": "JAVASCRIPT", |
| 3338 | "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = Java.type(\"java.lang.Byte\");\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = Java.type(\"java.util.Date\");\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\nvar returnValue = executor.isTrue;" |
| 3339 | } |
| 3340 | } |
| 3341 | }, |
| 3342 | { |
| 3343 | "key": { |
| 3344 | "name": "Task_Decide0", |
| 3345 | "version": "0.0.1" |
| 3346 | }, |
| 3347 | "value": { |
| 3348 | "key": { |
| 3349 | "name": "Task_Decide0", |
| 3350 | "version": "0.0.1" |
| 3351 | }, |
| 3352 | "inputFields": { |
| 3353 | "entry": [ |
| 3354 | { |
| 3355 | "key": "TestEstablishCaseSelected", |
| 3356 | "value": { |
| 3357 | "key": "TestEstablishCaseSelected", |
| 3358 | "fieldSchemaKey": { |
| 3359 | "name": "TestCase", |
| 3360 | "version": "0.0.1" |
| 3361 | }, |
| 3362 | "optional": false |
| 3363 | } |
| 3364 | }, |
| 3365 | { |
| 3366 | "key": "TestEstablishStateTime", |
| 3367 | "value": { |
| 3368 | "key": "TestEstablishStateTime", |
| 3369 | "fieldSchemaKey": { |
| 3370 | "name": "TestTimestamp", |
| 3371 | "version": "0.0.1" |
| 3372 | }, |
| 3373 | "optional": false |
| 3374 | } |
| 3375 | }, |
| 3376 | { |
| 3377 | "key": "TestMatchCase", |
| 3378 | "value": { |
| 3379 | "key": "TestMatchCase", |
| 3380 | "fieldSchemaKey": { |
| 3381 | "name": "TestCase", |
| 3382 | "version": "0.0.1" |
| 3383 | }, |
| 3384 | "optional": false |
| 3385 | } |
| 3386 | }, |
| 3387 | { |
| 3388 | "key": "TestMatchCaseSelected", |
| 3389 | "value": { |
| 3390 | "key": "TestMatchCaseSelected", |
| 3391 | "fieldSchemaKey": { |
| 3392 | "name": "TestCase", |
| 3393 | "version": "0.0.1" |
| 3394 | }, |
| 3395 | "optional": false |
| 3396 | } |
| 3397 | }, |
| 3398 | { |
| 3399 | "key": "TestMatchStateTime", |
| 3400 | "value": { |
| 3401 | "key": "TestMatchStateTime", |
| 3402 | "fieldSchemaKey": { |
| 3403 | "name": "TestTimestamp", |
| 3404 | "version": "0.0.1" |
| 3405 | }, |
| 3406 | "optional": false |
| 3407 | } |
| 3408 | }, |
| 3409 | { |
| 3410 | "key": "TestSlogan", |
| 3411 | "value": { |
| 3412 | "key": "TestSlogan", |
| 3413 | "fieldSchemaKey": { |
| 3414 | "name": "TestSlogan", |
| 3415 | "version": "0.0.1" |
| 3416 | }, |
| 3417 | "optional": false |
| 3418 | } |
| 3419 | }, |
| 3420 | { |
| 3421 | "key": "TestTemperature", |
| 3422 | "value": { |
| 3423 | "key": "TestTemperature", |
| 3424 | "fieldSchemaKey": { |
| 3425 | "name": "TestTemperature", |
| 3426 | "version": "0.0.1" |
| 3427 | }, |
| 3428 | "optional": false |
| 3429 | } |
| 3430 | }, |
| 3431 | { |
| 3432 | "key": "TestTimestamp", |
| 3433 | "value": { |
| 3434 | "key": "TestTimestamp", |
| 3435 | "fieldSchemaKey": { |
| 3436 | "name": "TestTimestamp", |
| 3437 | "version": "0.0.1" |
| 3438 | }, |
| 3439 | "optional": false |
| 3440 | } |
| 3441 | } |
| 3442 | ] |
| 3443 | }, |
| 3444 | "outputFields": { |
| 3445 | "entry": [ |
| 3446 | { |
| 3447 | "key": "TestDecideCaseSelected", |
| 3448 | "value": { |
| 3449 | "key": "TestDecideCaseSelected", |
| 3450 | "fieldSchemaKey": { |
| 3451 | "name": "TestCase", |
| 3452 | "version": "0.0.1" |
| 3453 | }, |
| 3454 | "optional": false |
| 3455 | } |
| 3456 | }, |
| 3457 | { |
| 3458 | "key": "TestDecideStateTime", |
| 3459 | "value": { |
| 3460 | "key": "TestDecideStateTime", |
| 3461 | "fieldSchemaKey": { |
| 3462 | "name": "TestTimestamp", |
| 3463 | "version": "0.0.1" |
| 3464 | }, |
| 3465 | "optional": false |
| 3466 | } |
| 3467 | }, |
| 3468 | { |
| 3469 | "key": "TestEstablishCaseSelected", |
| 3470 | "value": { |
| 3471 | "key": "TestEstablishCaseSelected", |
| 3472 | "fieldSchemaKey": { |
| 3473 | "name": "TestCase", |
| 3474 | "version": "0.0.1" |
| 3475 | }, |
| 3476 | "optional": false |
| 3477 | } |
| 3478 | }, |
| 3479 | { |
| 3480 | "key": "TestEstablishStateTime", |
| 3481 | "value": { |
| 3482 | "key": "TestEstablishStateTime", |
| 3483 | "fieldSchemaKey": { |
| 3484 | "name": "TestTimestamp", |
| 3485 | "version": "0.0.1" |
| 3486 | }, |
| 3487 | "optional": false |
| 3488 | } |
| 3489 | }, |
| 3490 | { |
| 3491 | "key": "TestMatchCase", |
| 3492 | "value": { |
| 3493 | "key": "TestMatchCase", |
| 3494 | "fieldSchemaKey": { |
| 3495 | "name": "TestCase", |
| 3496 | "version": "0.0.1" |
| 3497 | }, |
| 3498 | "optional": false |
| 3499 | } |
| 3500 | }, |
| 3501 | { |
| 3502 | "key": "TestMatchCaseSelected", |
| 3503 | "value": { |
| 3504 | "key": "TestMatchCaseSelected", |
| 3505 | "fieldSchemaKey": { |
| 3506 | "name": "TestCase", |
| 3507 | "version": "0.0.1" |
| 3508 | }, |
| 3509 | "optional": false |
| 3510 | } |
| 3511 | }, |
| 3512 | { |
| 3513 | "key": "TestMatchStateTime", |
| 3514 | "value": { |
| 3515 | "key": "TestMatchStateTime", |
| 3516 | "fieldSchemaKey": { |
| 3517 | "name": "TestTimestamp", |
| 3518 | "version": "0.0.1" |
| 3519 | }, |
| 3520 | "optional": false |
| 3521 | } |
| 3522 | }, |
| 3523 | { |
| 3524 | "key": "TestSlogan", |
| 3525 | "value": { |
| 3526 | "key": "TestSlogan", |
| 3527 | "fieldSchemaKey": { |
| 3528 | "name": "TestSlogan", |
| 3529 | "version": "0.0.1" |
| 3530 | }, |
| 3531 | "optional": false |
| 3532 | } |
| 3533 | }, |
| 3534 | { |
| 3535 | "key": "TestTemperature", |
| 3536 | "value": { |
| 3537 | "key": "TestTemperature", |
| 3538 | "fieldSchemaKey": { |
| 3539 | "name": "TestTemperature", |
| 3540 | "version": "0.0.1" |
| 3541 | }, |
| 3542 | "optional": false |
| 3543 | } |
| 3544 | }, |
| 3545 | { |
| 3546 | "key": "TestTimestamp", |
| 3547 | "value": { |
| 3548 | "key": "TestTimestamp", |
| 3549 | "fieldSchemaKey": { |
| 3550 | "name": "TestTimestamp", |
| 3551 | "version": "0.0.1" |
| 3552 | }, |
| 3553 | "optional": false |
| 3554 | } |
| 3555 | } |
| 3556 | ] |
| 3557 | }, |
| 3558 | "taskParameters": { |
| 3559 | "entry": [ |
| 3560 | { |
| 3561 | "key": "Parameter0", |
| 3562 | "value": { |
| 3563 | "key": { |
| 3564 | "parentKeyName": "Task_Decide0", |
| 3565 | "parentKeyVersion": "0.0.1", |
| 3566 | "parentLocalName": "NULL", |
| 3567 | "localName": "Parameter0" |
| 3568 | }, |
| 3569 | "defaultValue": "DefaultValue0" |
| 3570 | } |
| 3571 | }, |
| 3572 | { |
| 3573 | "key": "Parameter1", |
| 3574 | "value": { |
| 3575 | "key": { |
| 3576 | "parentKeyName": "Task_Decide0", |
| 3577 | "parentKeyVersion": "0.0.1", |
| 3578 | "parentLocalName": "NULL", |
| 3579 | "localName": "Parameter1" |
| 3580 | }, |
| 3581 | "defaultValue": "DefaultValue1" |
| 3582 | } |
| 3583 | }, |
| 3584 | { |
| 3585 | "key": "Parameter2", |
| 3586 | "value": { |
| 3587 | "key": { |
| 3588 | "parentKeyName": "Task_Decide0", |
| 3589 | "parentKeyVersion": "0.0.1", |
| 3590 | "parentLocalName": "NULL", |
| 3591 | "localName": "Parameter2" |
| 3592 | }, |
| 3593 | "defaultValue": "DefaultValue2" |
| 3594 | } |
| 3595 | } |
| 3596 | ] |
| 3597 | }, |
| 3598 | "contextAlbumReference": [ |
| 3599 | { |
| 3600 | "name": "ExternalContextAlbum", |
| 3601 | "version": "0.0.1" |
| 3602 | }, |
| 3603 | { |
| 3604 | "name": "GlobalContextAlbum", |
| 3605 | "version": "0.0.1" |
| 3606 | }, |
| 3607 | { |
| 3608 | "name": "Policy0ContextAlbum", |
| 3609 | "version": "0.0.1" |
| 3610 | }, |
| 3611 | { |
| 3612 | "name": "Policy1ContextAlbum", |
| 3613 | "version": "0.0.1" |
| 3614 | } |
| 3615 | ], |
| 3616 | "taskLogic": { |
| 3617 | "key": "_TaskLogic", |
| 3618 | "logicFlavour": "JAVASCRIPT", |
| 3619 | "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = Java.type(\"java.lang.Byte\");\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = Java.type(\"java.util.Date\");\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\nvar returnValue = executor.isTrue;" |
| 3620 | } |
| 3621 | } |
| 3622 | }, |
| 3623 | { |
| 3624 | "key": { |
| 3625 | "name": "Task_Decide1", |
| 3626 | "version": "0.0.1" |
| 3627 | }, |
| 3628 | "value": { |
| 3629 | "key": { |
| 3630 | "name": "Task_Decide1", |
| 3631 | "version": "0.0.1" |
| 3632 | }, |
| 3633 | "inputFields": { |
| 3634 | "entry": [ |
| 3635 | { |
| 3636 | "key": "TestEstablishCaseSelected", |
| 3637 | "value": { |
| 3638 | "key": "TestEstablishCaseSelected", |
| 3639 | "fieldSchemaKey": { |
| 3640 | "name": "TestCase", |
| 3641 | "version": "0.0.1" |
| 3642 | }, |
| 3643 | "optional": false |
| 3644 | } |
| 3645 | }, |
| 3646 | { |
| 3647 | "key": "TestEstablishStateTime", |
| 3648 | "value": { |
| 3649 | "key": "TestEstablishStateTime", |
| 3650 | "fieldSchemaKey": { |
| 3651 | "name": "TestTimestamp", |
| 3652 | "version": "0.0.1" |
| 3653 | }, |
| 3654 | "optional": false |
| 3655 | } |
| 3656 | }, |
| 3657 | { |
| 3658 | "key": "TestMatchCase", |
| 3659 | "value": { |
| 3660 | "key": "TestMatchCase", |
| 3661 | "fieldSchemaKey": { |
| 3662 | "name": "TestCase", |
| 3663 | "version": "0.0.1" |
| 3664 | }, |
| 3665 | "optional": false |
| 3666 | } |
| 3667 | }, |
| 3668 | { |
| 3669 | "key": "TestMatchCaseSelected", |
| 3670 | "value": { |
| 3671 | "key": "TestMatchCaseSelected", |
| 3672 | "fieldSchemaKey": { |
| 3673 | "name": "TestCase", |
| 3674 | "version": "0.0.1" |
| 3675 | }, |
| 3676 | "optional": false |
| 3677 | } |
| 3678 | }, |
| 3679 | { |
| 3680 | "key": "TestMatchStateTime", |
| 3681 | "value": { |
| 3682 | "key": "TestMatchStateTime", |
| 3683 | "fieldSchemaKey": { |
| 3684 | "name": "TestTimestamp", |
| 3685 | "version": "0.0.1" |
| 3686 | }, |
| 3687 | "optional": false |
| 3688 | } |
| 3689 | }, |
| 3690 | { |
| 3691 | "key": "TestSlogan", |
| 3692 | "value": { |
| 3693 | "key": "TestSlogan", |
| 3694 | "fieldSchemaKey": { |
| 3695 | "name": "TestSlogan", |
| 3696 | "version": "0.0.1" |
| 3697 | }, |
| 3698 | "optional": false |
| 3699 | } |
| 3700 | }, |
| 3701 | { |
| 3702 | "key": "TestTemperature", |
| 3703 | "value": { |
| 3704 | "key": "TestTemperature", |
| 3705 | "fieldSchemaKey": { |
| 3706 | "name": "TestTemperature", |
| 3707 | "version": "0.0.1" |
| 3708 | }, |
| 3709 | "optional": false |
| 3710 | } |
| 3711 | }, |
| 3712 | { |
| 3713 | "key": "TestTimestamp", |
| 3714 | "value": { |
| 3715 | "key": "TestTimestamp", |
| 3716 | "fieldSchemaKey": { |
| 3717 | "name": "TestTimestamp", |
| 3718 | "version": "0.0.1" |
| 3719 | }, |
| 3720 | "optional": false |
| 3721 | } |
| 3722 | } |
| 3723 | ] |
| 3724 | }, |
| 3725 | "outputFields": { |
| 3726 | "entry": [ |
| 3727 | { |
| 3728 | "key": "TestDecideCaseSelected", |
| 3729 | "value": { |
| 3730 | "key": "TestDecideCaseSelected", |
| 3731 | "fieldSchemaKey": { |
| 3732 | "name": "TestCase", |
| 3733 | "version": "0.0.1" |
| 3734 | }, |
| 3735 | "optional": false |
| 3736 | } |
| 3737 | }, |
| 3738 | { |
| 3739 | "key": "TestDecideStateTime", |
| 3740 | "value": { |
| 3741 | "key": "TestDecideStateTime", |
| 3742 | "fieldSchemaKey": { |
| 3743 | "name": "TestTimestamp", |
| 3744 | "version": "0.0.1" |
| 3745 | }, |
| 3746 | "optional": false |
| 3747 | } |
| 3748 | }, |
| 3749 | { |
| 3750 | "key": "TestEstablishCaseSelected", |
| 3751 | "value": { |
| 3752 | "key": "TestEstablishCaseSelected", |
| 3753 | "fieldSchemaKey": { |
| 3754 | "name": "TestCase", |
| 3755 | "version": "0.0.1" |
| 3756 | }, |
| 3757 | "optional": false |
| 3758 | } |
| 3759 | }, |
| 3760 | { |
| 3761 | "key": "TestEstablishStateTime", |
| 3762 | "value": { |
| 3763 | "key": "TestEstablishStateTime", |
| 3764 | "fieldSchemaKey": { |
| 3765 | "name": "TestTimestamp", |
| 3766 | "version": "0.0.1" |
| 3767 | }, |
| 3768 | "optional": false |
| 3769 | } |
| 3770 | }, |
| 3771 | { |
| 3772 | "key": "TestMatchCase", |
| 3773 | "value": { |
| 3774 | "key": "TestMatchCase", |
| 3775 | "fieldSchemaKey": { |
| 3776 | "name": "TestCase", |
| 3777 | "version": "0.0.1" |
| 3778 | }, |
| 3779 | "optional": false |
| 3780 | } |
| 3781 | }, |
| 3782 | { |
| 3783 | "key": "TestMatchCaseSelected", |
| 3784 | "value": { |
| 3785 | "key": "TestMatchCaseSelected", |
| 3786 | "fieldSchemaKey": { |
| 3787 | "name": "TestCase", |
| 3788 | "version": "0.0.1" |
| 3789 | }, |
| 3790 | "optional": false |
| 3791 | } |
| 3792 | }, |
| 3793 | { |
| 3794 | "key": "TestMatchStateTime", |
| 3795 | "value": { |
| 3796 | "key": "TestMatchStateTime", |
| 3797 | "fieldSchemaKey": { |
| 3798 | "name": "TestTimestamp", |
| 3799 | "version": "0.0.1" |
| 3800 | }, |
| 3801 | "optional": false |
| 3802 | } |
| 3803 | }, |
| 3804 | { |
| 3805 | "key": "TestSlogan", |
| 3806 | "value": { |
| 3807 | "key": "TestSlogan", |
| 3808 | "fieldSchemaKey": { |
| 3809 | "name": "TestSlogan", |
| 3810 | "version": "0.0.1" |
| 3811 | }, |
| 3812 | "optional": false |
| 3813 | } |
| 3814 | }, |
| 3815 | { |
| 3816 | "key": "TestTemperature", |
| 3817 | "value": { |
| 3818 | "key": "TestTemperature", |
| 3819 | "fieldSchemaKey": { |
| 3820 | "name": "TestTemperature", |
| 3821 | "version": "0.0.1" |
| 3822 | }, |
| 3823 | "optional": false |
| 3824 | } |
| 3825 | }, |
| 3826 | { |
| 3827 | "key": "TestTimestamp", |
| 3828 | "value": { |
| 3829 | "key": "TestTimestamp", |
| 3830 | "fieldSchemaKey": { |
| 3831 | "name": "TestTimestamp", |
| 3832 | "version": "0.0.1" |
| 3833 | }, |
| 3834 | "optional": false |
| 3835 | } |
| 3836 | } |
| 3837 | ] |
| 3838 | }, |
| 3839 | "taskParameters": { |
| 3840 | "entry": [ |
| 3841 | { |
| 3842 | "key": "Parameter0", |
| 3843 | "value": { |
| 3844 | "key": { |
| 3845 | "parentKeyName": "Task_Decide1", |
| 3846 | "parentKeyVersion": "0.0.1", |
| 3847 | "parentLocalName": "NULL", |
| 3848 | "localName": "Parameter0" |
| 3849 | }, |
| 3850 | "defaultValue": "DefaultValue0" |
| 3851 | } |
| 3852 | }, |
| 3853 | { |
| 3854 | "key": "Parameter1", |
| 3855 | "value": { |
| 3856 | "key": { |
| 3857 | "parentKeyName": "Task_Decide1", |
| 3858 | "parentKeyVersion": "0.0.1", |
| 3859 | "parentLocalName": "NULL", |
| 3860 | "localName": "Parameter1" |
| 3861 | }, |
| 3862 | "defaultValue": "DefaultValue1" |
| 3863 | } |
| 3864 | } |
| 3865 | ] |
| 3866 | }, |
| 3867 | "contextAlbumReference": [ |
| 3868 | { |
| 3869 | "name": "GlobalContextAlbum", |
| 3870 | "version": "0.0.1" |
| 3871 | }, |
| 3872 | { |
| 3873 | "name": "Policy0ContextAlbum", |
| 3874 | "version": "0.0.1" |
| 3875 | } |
| 3876 | ], |
| 3877 | "taskLogic": { |
| 3878 | "key": "_TaskLogic", |
| 3879 | "logicFlavour": "JAVASCRIPT", |
| 3880 | "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = Java.type(\"java.lang.Byte\");\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = Java.type(\"java.util.Date\");\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\nvar returnValue = executor.isTrue;" |
| 3881 | } |
| 3882 | } |
| 3883 | }, |
| 3884 | { |
| 3885 | "key": { |
| 3886 | "name": "Task_Decide2", |
| 3887 | "version": "0.0.1" |
| 3888 | }, |
| 3889 | "value": { |
| 3890 | "key": { |
| 3891 | "name": "Task_Decide2", |
| 3892 | "version": "0.0.1" |
| 3893 | }, |
| 3894 | "inputFields": { |
| 3895 | "entry": [ |
| 3896 | { |
| 3897 | "key": "TestEstablishCaseSelected", |
| 3898 | "value": { |
| 3899 | "key": "TestEstablishCaseSelected", |
| 3900 | "fieldSchemaKey": { |
| 3901 | "name": "TestCase", |
| 3902 | "version": "0.0.1" |
| 3903 | }, |
| 3904 | "optional": false |
| 3905 | } |
| 3906 | }, |
| 3907 | { |
| 3908 | "key": "TestEstablishStateTime", |
| 3909 | "value": { |
| 3910 | "key": "TestEstablishStateTime", |
| 3911 | "fieldSchemaKey": { |
| 3912 | "name": "TestTimestamp", |
| 3913 | "version": "0.0.1" |
| 3914 | }, |
| 3915 | "optional": false |
| 3916 | } |
| 3917 | }, |
| 3918 | { |
| 3919 | "key": "TestMatchCase", |
| 3920 | "value": { |
| 3921 | "key": "TestMatchCase", |
| 3922 | "fieldSchemaKey": { |
| 3923 | "name": "TestCase", |
| 3924 | "version": "0.0.1" |
| 3925 | }, |
| 3926 | "optional": false |
| 3927 | } |
| 3928 | }, |
| 3929 | { |
| 3930 | "key": "TestMatchCaseSelected", |
| 3931 | "value": { |
| 3932 | "key": "TestMatchCaseSelected", |
| 3933 | "fieldSchemaKey": { |
| 3934 | "name": "TestCase", |
| 3935 | "version": "0.0.1" |
| 3936 | }, |
| 3937 | "optional": false |
| 3938 | } |
| 3939 | }, |
| 3940 | { |
| 3941 | "key": "TestMatchStateTime", |
| 3942 | "value": { |
| 3943 | "key": "TestMatchStateTime", |
| 3944 | "fieldSchemaKey": { |
| 3945 | "name": "TestTimestamp", |
| 3946 | "version": "0.0.1" |
| 3947 | }, |
| 3948 | "optional": false |
| 3949 | } |
| 3950 | }, |
| 3951 | { |
| 3952 | "key": "TestSlogan", |
| 3953 | "value": { |
| 3954 | "key": "TestSlogan", |
| 3955 | "fieldSchemaKey": { |
| 3956 | "name": "TestSlogan", |
| 3957 | "version": "0.0.1" |
| 3958 | }, |
| 3959 | "optional": false |
| 3960 | } |
| 3961 | }, |
| 3962 | { |
| 3963 | "key": "TestTemperature", |
| 3964 | "value": { |
| 3965 | "key": "TestTemperature", |
| 3966 | "fieldSchemaKey": { |
| 3967 | "name": "TestTemperature", |
| 3968 | "version": "0.0.1" |
| 3969 | }, |
| 3970 | "optional": false |
| 3971 | } |
| 3972 | }, |
| 3973 | { |
| 3974 | "key": "TestTimestamp", |
| 3975 | "value": { |
| 3976 | "key": "TestTimestamp", |
| 3977 | "fieldSchemaKey": { |
| 3978 | "name": "TestTimestamp", |
| 3979 | "version": "0.0.1" |
| 3980 | }, |
| 3981 | "optional": false |
| 3982 | } |
| 3983 | } |
| 3984 | ] |
| 3985 | }, |
| 3986 | "outputFields": { |
| 3987 | "entry": [ |
| 3988 | { |
| 3989 | "key": "TestDecideCaseSelected", |
| 3990 | "value": { |
| 3991 | "key": "TestDecideCaseSelected", |
| 3992 | "fieldSchemaKey": { |
| 3993 | "name": "TestCase", |
| 3994 | "version": "0.0.1" |
| 3995 | }, |
| 3996 | "optional": false |
| 3997 | } |
| 3998 | }, |
| 3999 | { |
| 4000 | "key": "TestDecideStateTime", |
| 4001 | "value": { |
| 4002 | "key": "TestDecideStateTime", |
| 4003 | "fieldSchemaKey": { |
| 4004 | "name": "TestTimestamp", |
| 4005 | "version": "0.0.1" |
| 4006 | }, |
| 4007 | "optional": false |
| 4008 | } |
| 4009 | }, |
| 4010 | { |
| 4011 | "key": "TestEstablishCaseSelected", |
| 4012 | "value": { |
| 4013 | "key": "TestEstablishCaseSelected", |
| 4014 | "fieldSchemaKey": { |
| 4015 | "name": "TestCase", |
| 4016 | "version": "0.0.1" |
| 4017 | }, |
| 4018 | "optional": false |
| 4019 | } |
| 4020 | }, |
| 4021 | { |
| 4022 | "key": "TestEstablishStateTime", |
| 4023 | "value": { |
| 4024 | "key": "TestEstablishStateTime", |
| 4025 | "fieldSchemaKey": { |
| 4026 | "name": "TestTimestamp", |
| 4027 | "version": "0.0.1" |
| 4028 | }, |
| 4029 | "optional": false |
| 4030 | } |
| 4031 | }, |
| 4032 | { |
| 4033 | "key": "TestMatchCase", |
| 4034 | "value": { |
| 4035 | "key": "TestMatchCase", |
| 4036 | "fieldSchemaKey": { |
| 4037 | "name": "TestCase", |
| 4038 | "version": "0.0.1" |
| 4039 | }, |
| 4040 | "optional": false |
| 4041 | } |
| 4042 | }, |
| 4043 | { |
| 4044 | "key": "TestMatchCaseSelected", |
| 4045 | "value": { |
| 4046 | "key": "TestMatchCaseSelected", |
| 4047 | "fieldSchemaKey": { |
| 4048 | "name": "TestCase", |
| 4049 | "version": "0.0.1" |
| 4050 | }, |
| 4051 | "optional": false |
| 4052 | } |
| 4053 | }, |
| 4054 | { |
| 4055 | "key": "TestMatchStateTime", |
| 4056 | "value": { |
| 4057 | "key": "TestMatchStateTime", |
| 4058 | "fieldSchemaKey": { |
| 4059 | "name": "TestTimestamp", |
| 4060 | "version": "0.0.1" |
| 4061 | }, |
| 4062 | "optional": false |
| 4063 | } |
| 4064 | }, |
| 4065 | { |
| 4066 | "key": "TestSlogan", |
| 4067 | "value": { |
| 4068 | "key": "TestSlogan", |
| 4069 | "fieldSchemaKey": { |
| 4070 | "name": "TestSlogan", |
| 4071 | "version": "0.0.1" |
| 4072 | }, |
| 4073 | "optional": false |
| 4074 | } |
| 4075 | }, |
| 4076 | { |
| 4077 | "key": "TestTemperature", |
| 4078 | "value": { |
| 4079 | "key": "TestTemperature", |
| 4080 | "fieldSchemaKey": { |
| 4081 | "name": "TestTemperature", |
| 4082 | "version": "0.0.1" |
| 4083 | }, |
| 4084 | "optional": false |
| 4085 | } |
| 4086 | }, |
| 4087 | { |
| 4088 | "key": "TestTimestamp", |
| 4089 | "value": { |
| 4090 | "key": "TestTimestamp", |
| 4091 | "fieldSchemaKey": { |
| 4092 | "name": "TestTimestamp", |
| 4093 | "version": "0.0.1" |
| 4094 | }, |
| 4095 | "optional": false |
| 4096 | } |
| 4097 | } |
| 4098 | ] |
| 4099 | }, |
| 4100 | "taskParameters": { |
| 4101 | "entry": [ |
| 4102 | { |
| 4103 | "key": "Parameter0", |
| 4104 | "value": { |
| 4105 | "key": { |
| 4106 | "parentKeyName": "Task_Decide2", |
| 4107 | "parentKeyVersion": "0.0.1", |
| 4108 | "parentLocalName": "NULL", |
| 4109 | "localName": "Parameter0" |
| 4110 | }, |
| 4111 | "defaultValue": "DefaultValue0" |
| 4112 | } |
| 4113 | } |
| 4114 | ] |
| 4115 | }, |
| 4116 | "contextAlbumReference": [ |
| 4117 | { |
| 4118 | "name": "GlobalContextAlbum", |
| 4119 | "version": "0.0.1" |
| 4120 | }, |
| 4121 | { |
| 4122 | "name": "Policy1ContextAlbum", |
| 4123 | "version": "0.0.1" |
| 4124 | } |
| 4125 | ], |
| 4126 | "taskLogic": { |
| 4127 | "key": "_TaskLogic", |
| 4128 | "logicFlavour": "JAVASCRIPT", |
| 4129 | "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = Java.type(\"java.lang.Byte\");\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = Java.type(\"java.util.Date\");\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\nvar returnValue = executor.isTrue;" |
| 4130 | } |
| 4131 | } |
| 4132 | }, |
| 4133 | { |
| 4134 | "key": { |
| 4135 | "name": "Task_Decide3", |
| 4136 | "version": "0.0.1" |
| 4137 | }, |
| 4138 | "value": { |
| 4139 | "key": { |
| 4140 | "name": "Task_Decide3", |
| 4141 | "version": "0.0.1" |
| 4142 | }, |
| 4143 | "inputFields": { |
| 4144 | "entry": [ |
| 4145 | { |
| 4146 | "key": "TestEstablishCaseSelected", |
| 4147 | "value": { |
| 4148 | "key": "TestEstablishCaseSelected", |
| 4149 | "fieldSchemaKey": { |
| 4150 | "name": "TestCase", |
| 4151 | "version": "0.0.1" |
| 4152 | }, |
| 4153 | "optional": false |
| 4154 | } |
| 4155 | }, |
| 4156 | { |
| 4157 | "key": "TestEstablishStateTime", |
| 4158 | "value": { |
| 4159 | "key": "TestEstablishStateTime", |
| 4160 | "fieldSchemaKey": { |
| 4161 | "name": "TestTimestamp", |
| 4162 | "version": "0.0.1" |
| 4163 | }, |
| 4164 | "optional": false |
| 4165 | } |
| 4166 | }, |
| 4167 | { |
| 4168 | "key": "TestMatchCase", |
| 4169 | "value": { |
| 4170 | "key": "TestMatchCase", |
| 4171 | "fieldSchemaKey": { |
| 4172 | "name": "TestCase", |
| 4173 | "version": "0.0.1" |
| 4174 | }, |
| 4175 | "optional": false |
| 4176 | } |
| 4177 | }, |
| 4178 | { |
| 4179 | "key": "TestMatchCaseSelected", |
| 4180 | "value": { |
| 4181 | "key": "TestMatchCaseSelected", |
| 4182 | "fieldSchemaKey": { |
| 4183 | "name": "TestCase", |
| 4184 | "version": "0.0.1" |
| 4185 | }, |
| 4186 | "optional": false |
| 4187 | } |
| 4188 | }, |
| 4189 | { |
| 4190 | "key": "TestMatchStateTime", |
| 4191 | "value": { |
| 4192 | "key": "TestMatchStateTime", |
| 4193 | "fieldSchemaKey": { |
| 4194 | "name": "TestTimestamp", |
| 4195 | "version": "0.0.1" |
| 4196 | }, |
| 4197 | "optional": false |
| 4198 | } |
| 4199 | }, |
| 4200 | { |
| 4201 | "key": "TestSlogan", |
| 4202 | "value": { |
| 4203 | "key": "TestSlogan", |
| 4204 | "fieldSchemaKey": { |
| 4205 | "name": "TestSlogan", |
| 4206 | "version": "0.0.1" |
| 4207 | }, |
| 4208 | "optional": false |
| 4209 | } |
| 4210 | }, |
| 4211 | { |
| 4212 | "key": "TestTemperature", |
| 4213 | "value": { |
| 4214 | "key": "TestTemperature", |
| 4215 | "fieldSchemaKey": { |
| 4216 | "name": "TestTemperature", |
| 4217 | "version": "0.0.1" |
| 4218 | }, |
| 4219 | "optional": false |
| 4220 | } |
| 4221 | }, |
| 4222 | { |
| 4223 | "key": "TestTimestamp", |
| 4224 | "value": { |
| 4225 | "key": "TestTimestamp", |
| 4226 | "fieldSchemaKey": { |
| 4227 | "name": "TestTimestamp", |
| 4228 | "version": "0.0.1" |
| 4229 | }, |
| 4230 | "optional": false |
| 4231 | } |
| 4232 | } |
| 4233 | ] |
| 4234 | }, |
| 4235 | "outputFields": { |
| 4236 | "entry": [ |
| 4237 | { |
| 4238 | "key": "TestDecideCaseSelected", |
| 4239 | "value": { |
| 4240 | "key": "TestDecideCaseSelected", |
| 4241 | "fieldSchemaKey": { |
| 4242 | "name": "TestCase", |
| 4243 | "version": "0.0.1" |
| 4244 | }, |
| 4245 | "optional": false |
| 4246 | } |
| 4247 | }, |
| 4248 | { |
| 4249 | "key": "TestDecideStateTime", |
| 4250 | "value": { |
| 4251 | "key": "TestDecideStateTime", |
| 4252 | "fieldSchemaKey": { |
| 4253 | "name": "TestTimestamp", |
| 4254 | "version": "0.0.1" |
| 4255 | }, |
| 4256 | "optional": false |
| 4257 | } |
| 4258 | }, |
| 4259 | { |
| 4260 | "key": "TestEstablishCaseSelected", |
| 4261 | "value": { |
| 4262 | "key": "TestEstablishCaseSelected", |
| 4263 | "fieldSchemaKey": { |
| 4264 | "name": "TestCase", |
| 4265 | "version": "0.0.1" |
| 4266 | }, |
| 4267 | "optional": false |
| 4268 | } |
| 4269 | }, |
| 4270 | { |
| 4271 | "key": "TestEstablishStateTime", |
| 4272 | "value": { |
| 4273 | "key": "TestEstablishStateTime", |
| 4274 | "fieldSchemaKey": { |
| 4275 | "name": "TestTimestamp", |
| 4276 | "version": "0.0.1" |
| 4277 | }, |
| 4278 | "optional": false |
| 4279 | } |
| 4280 | }, |
| 4281 | { |
| 4282 | "key": "TestMatchCase", |
| 4283 | "value": { |
| 4284 | "key": "TestMatchCase", |
| 4285 | "fieldSchemaKey": { |
| 4286 | "name": "TestCase", |
| 4287 | "version": "0.0.1" |
| 4288 | }, |
| 4289 | "optional": false |
| 4290 | } |
| 4291 | }, |
| 4292 | { |
| 4293 | "key": "TestMatchCaseSelected", |
| 4294 | "value": { |
| 4295 | "key": "TestMatchCaseSelected", |
| 4296 | "fieldSchemaKey": { |
| 4297 | "name": "TestCase", |
| 4298 | "version": "0.0.1" |
| 4299 | }, |
| 4300 | "optional": false |
| 4301 | } |
| 4302 | }, |
| 4303 | { |
| 4304 | "key": "TestMatchStateTime", |
| 4305 | "value": { |
| 4306 | "key": "TestMatchStateTime", |
| 4307 | "fieldSchemaKey": { |
| 4308 | "name": "TestTimestamp", |
| 4309 | "version": "0.0.1" |
| 4310 | }, |
| 4311 | "optional": false |
| 4312 | } |
| 4313 | }, |
| 4314 | { |
| 4315 | "key": "TestSlogan", |
| 4316 | "value": { |
| 4317 | "key": "TestSlogan", |
| 4318 | "fieldSchemaKey": { |
| 4319 | "name": "TestSlogan", |
| 4320 | "version": "0.0.1" |
| 4321 | }, |
| 4322 | "optional": false |
| 4323 | } |
| 4324 | }, |
| 4325 | { |
| 4326 | "key": "TestTemperature", |
| 4327 | "value": { |
| 4328 | "key": "TestTemperature", |
| 4329 | "fieldSchemaKey": { |
| 4330 | "name": "TestTemperature", |
| 4331 | "version": "0.0.1" |
| 4332 | }, |
| 4333 | "optional": false |
| 4334 | } |
| 4335 | }, |
| 4336 | { |
| 4337 | "key": "TestTimestamp", |
| 4338 | "value": { |
| 4339 | "key": "TestTimestamp", |
| 4340 | "fieldSchemaKey": { |
| 4341 | "name": "TestTimestamp", |
| 4342 | "version": "0.0.1" |
| 4343 | }, |
| 4344 | "optional": false |
| 4345 | } |
| 4346 | } |
| 4347 | ] |
| 4348 | }, |
| 4349 | "taskParameters": { |
| 4350 | "entry": [ |
| 4351 | { |
| 4352 | "key": "Parameter0", |
| 4353 | "value": { |
| 4354 | "key": { |
| 4355 | "parentKeyName": "Task_Decide3", |
| 4356 | "parentKeyVersion": "0.0.1", |
| 4357 | "parentLocalName": "NULL", |
| 4358 | "localName": "Parameter0" |
| 4359 | }, |
| 4360 | "defaultValue": "DefaultValue0" |
| 4361 | } |
| 4362 | } |
| 4363 | ] |
| 4364 | }, |
| 4365 | "contextAlbumReference": [ |
| 4366 | { |
| 4367 | "name": "ExternalContextAlbum", |
| 4368 | "version": "0.0.1" |
| 4369 | }, |
| 4370 | { |
| 4371 | "name": "GlobalContextAlbum", |
| 4372 | "version": "0.0.1" |
| 4373 | } |
| 4374 | ], |
| 4375 | "taskLogic": { |
| 4376 | "key": "_TaskLogic", |
| 4377 | "logicFlavour": "JAVASCRIPT", |
| 4378 | "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = Java.type(\"java.lang.Byte\");\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = Java.type(\"java.util.Date\");\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\nvar returnValue = executor.isTrue;" |
| 4379 | } |
| 4380 | } |
| 4381 | }, |
| 4382 | { |
| 4383 | "key": { |
| 4384 | "name": "Task_Establish0", |
| 4385 | "version": "0.0.1" |
| 4386 | }, |
| 4387 | "value": { |
| 4388 | "key": { |
| 4389 | "name": "Task_Establish0", |
| 4390 | "version": "0.0.1" |
| 4391 | }, |
| 4392 | "inputFields": { |
| 4393 | "entry": [ |
| 4394 | { |
| 4395 | "key": "TestMatchCase", |
| 4396 | "value": { |
| 4397 | "key": "TestMatchCase", |
| 4398 | "fieldSchemaKey": { |
| 4399 | "name": "TestCase", |
| 4400 | "version": "0.0.1" |
| 4401 | }, |
| 4402 | "optional": false |
| 4403 | } |
| 4404 | }, |
| 4405 | { |
| 4406 | "key": "TestMatchCaseSelected", |
| 4407 | "value": { |
| 4408 | "key": "TestMatchCaseSelected", |
| 4409 | "fieldSchemaKey": { |
| 4410 | "name": "TestCase", |
| 4411 | "version": "0.0.1" |
| 4412 | }, |
| 4413 | "optional": false |
| 4414 | } |
| 4415 | }, |
| 4416 | { |
| 4417 | "key": "TestMatchStateTime", |
| 4418 | "value": { |
| 4419 | "key": "TestMatchStateTime", |
| 4420 | "fieldSchemaKey": { |
| 4421 | "name": "TestTimestamp", |
| 4422 | "version": "0.0.1" |
| 4423 | }, |
| 4424 | "optional": false |
| 4425 | } |
| 4426 | }, |
| 4427 | { |
| 4428 | "key": "TestSlogan", |
| 4429 | "value": { |
| 4430 | "key": "TestSlogan", |
| 4431 | "fieldSchemaKey": { |
| 4432 | "name": "TestSlogan", |
| 4433 | "version": "0.0.1" |
| 4434 | }, |
| 4435 | "optional": false |
| 4436 | } |
| 4437 | }, |
| 4438 | { |
| 4439 | "key": "TestTemperature", |
| 4440 | "value": { |
| 4441 | "key": "TestTemperature", |
| 4442 | "fieldSchemaKey": { |
| 4443 | "name": "TestTemperature", |
| 4444 | "version": "0.0.1" |
| 4445 | }, |
| 4446 | "optional": false |
| 4447 | } |
| 4448 | }, |
| 4449 | { |
| 4450 | "key": "TestTimestamp", |
| 4451 | "value": { |
| 4452 | "key": "TestTimestamp", |
| 4453 | "fieldSchemaKey": { |
| 4454 | "name": "TestTimestamp", |
| 4455 | "version": "0.0.1" |
| 4456 | }, |
| 4457 | "optional": false |
| 4458 | } |
| 4459 | } |
| 4460 | ] |
| 4461 | }, |
| 4462 | "outputFields": { |
| 4463 | "entry": [ |
| 4464 | { |
| 4465 | "key": "TestEstablishCaseSelected", |
| 4466 | "value": { |
| 4467 | "key": "TestEstablishCaseSelected", |
| 4468 | "fieldSchemaKey": { |
| 4469 | "name": "TestCase", |
| 4470 | "version": "0.0.1" |
| 4471 | }, |
| 4472 | "optional": false |
| 4473 | } |
| 4474 | }, |
| 4475 | { |
| 4476 | "key": "TestEstablishStateTime", |
| 4477 | "value": { |
| 4478 | "key": "TestEstablishStateTime", |
| 4479 | "fieldSchemaKey": { |
| 4480 | "name": "TestTimestamp", |
| 4481 | "version": "0.0.1" |
| 4482 | }, |
| 4483 | "optional": false |
| 4484 | } |
| 4485 | }, |
| 4486 | { |
| 4487 | "key": "TestMatchCase", |
| 4488 | "value": { |
| 4489 | "key": "TestMatchCase", |
| 4490 | "fieldSchemaKey": { |
| 4491 | "name": "TestCase", |
| 4492 | "version": "0.0.1" |
| 4493 | }, |
| 4494 | "optional": false |
| 4495 | } |
| 4496 | }, |
| 4497 | { |
| 4498 | "key": "TestMatchCaseSelected", |
| 4499 | "value": { |
| 4500 | "key": "TestMatchCaseSelected", |
| 4501 | "fieldSchemaKey": { |
| 4502 | "name": "TestCase", |
| 4503 | "version": "0.0.1" |
| 4504 | }, |
| 4505 | "optional": false |
| 4506 | } |
| 4507 | }, |
| 4508 | { |
| 4509 | "key": "TestMatchStateTime", |
| 4510 | "value": { |
| 4511 | "key": "TestMatchStateTime", |
| 4512 | "fieldSchemaKey": { |
| 4513 | "name": "TestTimestamp", |
| 4514 | "version": "0.0.1" |
| 4515 | }, |
| 4516 | "optional": false |
| 4517 | } |
| 4518 | }, |
| 4519 | { |
| 4520 | "key": "TestSlogan", |
| 4521 | "value": { |
| 4522 | "key": "TestSlogan", |
| 4523 | "fieldSchemaKey": { |
| 4524 | "name": "TestSlogan", |
| 4525 | "version": "0.0.1" |
| 4526 | }, |
| 4527 | "optional": false |
| 4528 | } |
| 4529 | }, |
| 4530 | { |
| 4531 | "key": "TestTemperature", |
| 4532 | "value": { |
| 4533 | "key": "TestTemperature", |
| 4534 | "fieldSchemaKey": { |
| 4535 | "name": "TestTemperature", |
| 4536 | "version": "0.0.1" |
| 4537 | }, |
| 4538 | "optional": false |
| 4539 | } |
| 4540 | }, |
| 4541 | { |
| 4542 | "key": "TestTimestamp", |
| 4543 | "value": { |
| 4544 | "key": "TestTimestamp", |
| 4545 | "fieldSchemaKey": { |
| 4546 | "name": "TestTimestamp", |
| 4547 | "version": "0.0.1" |
| 4548 | }, |
| 4549 | "optional": false |
| 4550 | } |
| 4551 | } |
| 4552 | ] |
| 4553 | }, |
| 4554 | "taskParameters": { |
| 4555 | "entry": [ |
| 4556 | { |
| 4557 | "key": "Parameter0", |
| 4558 | "value": { |
| 4559 | "key": { |
| 4560 | "parentKeyName": "Task_Establish0", |
| 4561 | "parentKeyVersion": "0.0.1", |
| 4562 | "parentLocalName": "NULL", |
| 4563 | "localName": "Parameter0" |
| 4564 | }, |
| 4565 | "defaultValue": "DefaultValue0" |
| 4566 | } |
| 4567 | }, |
| 4568 | { |
| 4569 | "key": "Parameter1", |
| 4570 | "value": { |
| 4571 | "key": { |
| 4572 | "parentKeyName": "Task_Establish0", |
| 4573 | "parentKeyVersion": "0.0.1", |
| 4574 | "parentLocalName": "NULL", |
| 4575 | "localName": "Parameter1" |
| 4576 | }, |
| 4577 | "defaultValue": "DefaultValue1" |
| 4578 | } |
| 4579 | }, |
| 4580 | { |
| 4581 | "key": "Parameter2", |
| 4582 | "value": { |
| 4583 | "key": { |
| 4584 | "parentKeyName": "Task_Establish0", |
| 4585 | "parentKeyVersion": "0.0.1", |
| 4586 | "parentLocalName": "NULL", |
| 4587 | "localName": "Parameter2" |
| 4588 | }, |
| 4589 | "defaultValue": "DefaultValue2" |
| 4590 | } |
| 4591 | } |
| 4592 | ] |
| 4593 | }, |
| 4594 | "contextAlbumReference": [ |
| 4595 | { |
| 4596 | "name": "ExternalContextAlbum", |
| 4597 | "version": "0.0.1" |
| 4598 | }, |
| 4599 | { |
| 4600 | "name": "GlobalContextAlbum", |
| 4601 | "version": "0.0.1" |
| 4602 | }, |
| 4603 | { |
| 4604 | "name": "Policy0ContextAlbum", |
| 4605 | "version": "0.0.1" |
| 4606 | }, |
| 4607 | { |
| 4608 | "name": "Policy1ContextAlbum", |
| 4609 | "version": "0.0.1" |
| 4610 | } |
| 4611 | ], |
| 4612 | "taskLogic": { |
| 4613 | "key": "_TaskLogic", |
| 4614 | "logicFlavour": "JAVASCRIPT", |
| 4615 | "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = Java.type(\"java.lang.Byte\");\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = Java.type(\"java.util.Date\");\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\nvar returnValue = executor.isTrue;" |
| 4616 | } |
| 4617 | } |
| 4618 | }, |
| 4619 | { |
| 4620 | "key": { |
| 4621 | "name": "Task_Establish1", |
| 4622 | "version": "0.0.1" |
| 4623 | }, |
| 4624 | "value": { |
| 4625 | "key": { |
| 4626 | "name": "Task_Establish1", |
| 4627 | "version": "0.0.1" |
| 4628 | }, |
| 4629 | "inputFields": { |
| 4630 | "entry": [ |
| 4631 | { |
| 4632 | "key": "TestMatchCase", |
| 4633 | "value": { |
| 4634 | "key": "TestMatchCase", |
| 4635 | "fieldSchemaKey": { |
| 4636 | "name": "TestCase", |
| 4637 | "version": "0.0.1" |
| 4638 | }, |
| 4639 | "optional": false |
| 4640 | } |
| 4641 | }, |
| 4642 | { |
| 4643 | "key": "TestMatchCaseSelected", |
| 4644 | "value": { |
| 4645 | "key": "TestMatchCaseSelected", |
| 4646 | "fieldSchemaKey": { |
| 4647 | "name": "TestCase", |
| 4648 | "version": "0.0.1" |
| 4649 | }, |
| 4650 | "optional": false |
| 4651 | } |
| 4652 | }, |
| 4653 | { |
| 4654 | "key": "TestMatchStateTime", |
| 4655 | "value": { |
| 4656 | "key": "TestMatchStateTime", |
| 4657 | "fieldSchemaKey": { |
| 4658 | "name": "TestTimestamp", |
| 4659 | "version": "0.0.1" |
| 4660 | }, |
| 4661 | "optional": false |
| 4662 | } |
| 4663 | }, |
| 4664 | { |
| 4665 | "key": "TestSlogan", |
| 4666 | "value": { |
| 4667 | "key": "TestSlogan", |
| 4668 | "fieldSchemaKey": { |
| 4669 | "name": "TestSlogan", |
| 4670 | "version": "0.0.1" |
| 4671 | }, |
| 4672 | "optional": false |
| 4673 | } |
| 4674 | }, |
| 4675 | { |
| 4676 | "key": "TestTemperature", |
| 4677 | "value": { |
| 4678 | "key": "TestTemperature", |
| 4679 | "fieldSchemaKey": { |
| 4680 | "name": "TestTemperature", |
| 4681 | "version": "0.0.1" |
| 4682 | }, |
| 4683 | "optional": false |
| 4684 | } |
| 4685 | }, |
| 4686 | { |
| 4687 | "key": "TestTimestamp", |
| 4688 | "value": { |
| 4689 | "key": "TestTimestamp", |
| 4690 | "fieldSchemaKey": { |
| 4691 | "name": "TestTimestamp", |
| 4692 | "version": "0.0.1" |
| 4693 | }, |
| 4694 | "optional": false |
| 4695 | } |
| 4696 | } |
| 4697 | ] |
| 4698 | }, |
| 4699 | "outputFields": { |
| 4700 | "entry": [ |
| 4701 | { |
| 4702 | "key": "TestEstablishCaseSelected", |
| 4703 | "value": { |
| 4704 | "key": "TestEstablishCaseSelected", |
| 4705 | "fieldSchemaKey": { |
| 4706 | "name": "TestCase", |
| 4707 | "version": "0.0.1" |
| 4708 | }, |
| 4709 | "optional": false |
| 4710 | } |
| 4711 | }, |
| 4712 | { |
| 4713 | "key": "TestEstablishStateTime", |
| 4714 | "value": { |
| 4715 | "key": "TestEstablishStateTime", |
| 4716 | "fieldSchemaKey": { |
| 4717 | "name": "TestTimestamp", |
| 4718 | "version": "0.0.1" |
| 4719 | }, |
| 4720 | "optional": false |
| 4721 | } |
| 4722 | }, |
| 4723 | { |
| 4724 | "key": "TestMatchCase", |
| 4725 | "value": { |
| 4726 | "key": "TestMatchCase", |
| 4727 | "fieldSchemaKey": { |
| 4728 | "name": "TestCase", |
| 4729 | "version": "0.0.1" |
| 4730 | }, |
| 4731 | "optional": false |
| 4732 | } |
| 4733 | }, |
| 4734 | { |
| 4735 | "key": "TestMatchCaseSelected", |
| 4736 | "value": { |
| 4737 | "key": "TestMatchCaseSelected", |
| 4738 | "fieldSchemaKey": { |
| 4739 | "name": "TestCase", |
| 4740 | "version": "0.0.1" |
| 4741 | }, |
| 4742 | "optional": false |
| 4743 | } |
| 4744 | }, |
| 4745 | { |
| 4746 | "key": "TestMatchStateTime", |
| 4747 | "value": { |
| 4748 | "key": "TestMatchStateTime", |
| 4749 | "fieldSchemaKey": { |
| 4750 | "name": "TestTimestamp", |
| 4751 | "version": "0.0.1" |
| 4752 | }, |
| 4753 | "optional": false |
| 4754 | } |
| 4755 | }, |
| 4756 | { |
| 4757 | "key": "TestSlogan", |
| 4758 | "value": { |
| 4759 | "key": "TestSlogan", |
| 4760 | "fieldSchemaKey": { |
| 4761 | "name": "TestSlogan", |
| 4762 | "version": "0.0.1" |
| 4763 | }, |
| 4764 | "optional": false |
| 4765 | } |
| 4766 | }, |
| 4767 | { |
| 4768 | "key": "TestTemperature", |
| 4769 | "value": { |
| 4770 | "key": "TestTemperature", |
| 4771 | "fieldSchemaKey": { |
| 4772 | "name": "TestTemperature", |
| 4773 | "version": "0.0.1" |
| 4774 | }, |
| 4775 | "optional": false |
| 4776 | } |
| 4777 | }, |
| 4778 | { |
| 4779 | "key": "TestTimestamp", |
| 4780 | "value": { |
| 4781 | "key": "TestTimestamp", |
| 4782 | "fieldSchemaKey": { |
| 4783 | "name": "TestTimestamp", |
| 4784 | "version": "0.0.1" |
| 4785 | }, |
| 4786 | "optional": false |
| 4787 | } |
| 4788 | } |
| 4789 | ] |
| 4790 | }, |
| 4791 | "taskParameters": { |
| 4792 | "entry": [ |
| 4793 | { |
| 4794 | "key": "Parameter0", |
| 4795 | "value": { |
| 4796 | "key": { |
| 4797 | "parentKeyName": "Task_Establish1", |
| 4798 | "parentKeyVersion": "0.0.1", |
| 4799 | "parentLocalName": "NULL", |
| 4800 | "localName": "Parameter0" |
| 4801 | }, |
| 4802 | "defaultValue": "DefaultValue0" |
| 4803 | } |
| 4804 | }, |
| 4805 | { |
| 4806 | "key": "Parameter1", |
| 4807 | "value": { |
| 4808 | "key": { |
| 4809 | "parentKeyName": "Task_Establish1", |
| 4810 | "parentKeyVersion": "0.0.1", |
| 4811 | "parentLocalName": "NULL", |
| 4812 | "localName": "Parameter1" |
| 4813 | }, |
| 4814 | "defaultValue": "DefaultValue1" |
| 4815 | } |
| 4816 | } |
| 4817 | ] |
| 4818 | }, |
| 4819 | "contextAlbumReference": [ |
| 4820 | { |
| 4821 | "name": "GlobalContextAlbum", |
| 4822 | "version": "0.0.1" |
| 4823 | }, |
| 4824 | { |
| 4825 | "name": "Policy0ContextAlbum", |
| 4826 | "version": "0.0.1" |
| 4827 | } |
| 4828 | ], |
| 4829 | "taskLogic": { |
| 4830 | "key": "_TaskLogic", |
| 4831 | "logicFlavour": "JAVASCRIPT", |
| 4832 | "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = Java.type(\"java.lang.Byte\");\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = Java.type(\"java.util.Date\");\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\nvar returnValue = executor.isTrue;" |
| 4833 | } |
| 4834 | } |
| 4835 | }, |
| 4836 | { |
| 4837 | "key": { |
| 4838 | "name": "Task_Establish2", |
| 4839 | "version": "0.0.1" |
| 4840 | }, |
| 4841 | "value": { |
| 4842 | "key": { |
| 4843 | "name": "Task_Establish2", |
| 4844 | "version": "0.0.1" |
| 4845 | }, |
| 4846 | "inputFields": { |
| 4847 | "entry": [ |
| 4848 | { |
| 4849 | "key": "TestMatchCase", |
| 4850 | "value": { |
| 4851 | "key": "TestMatchCase", |
| 4852 | "fieldSchemaKey": { |
| 4853 | "name": "TestCase", |
| 4854 | "version": "0.0.1" |
| 4855 | }, |
| 4856 | "optional": false |
| 4857 | } |
| 4858 | }, |
| 4859 | { |
| 4860 | "key": "TestMatchCaseSelected", |
| 4861 | "value": { |
| 4862 | "key": "TestMatchCaseSelected", |
| 4863 | "fieldSchemaKey": { |
| 4864 | "name": "TestCase", |
| 4865 | "version": "0.0.1" |
| 4866 | }, |
| 4867 | "optional": false |
| 4868 | } |
| 4869 | }, |
| 4870 | { |
| 4871 | "key": "TestMatchStateTime", |
| 4872 | "value": { |
| 4873 | "key": "TestMatchStateTime", |
| 4874 | "fieldSchemaKey": { |
| 4875 | "name": "TestTimestamp", |
| 4876 | "version": "0.0.1" |
| 4877 | }, |
| 4878 | "optional": false |
| 4879 | } |
| 4880 | }, |
| 4881 | { |
| 4882 | "key": "TestSlogan", |
| 4883 | "value": { |
| 4884 | "key": "TestSlogan", |
| 4885 | "fieldSchemaKey": { |
| 4886 | "name": "TestSlogan", |
| 4887 | "version": "0.0.1" |
| 4888 | }, |
| 4889 | "optional": false |
| 4890 | } |
| 4891 | }, |
| 4892 | { |
| 4893 | "key": "TestTemperature", |
| 4894 | "value": { |
| 4895 | "key": "TestTemperature", |
| 4896 | "fieldSchemaKey": { |
| 4897 | "name": "TestTemperature", |
| 4898 | "version": "0.0.1" |
| 4899 | }, |
| 4900 | "optional": false |
| 4901 | } |
| 4902 | }, |
| 4903 | { |
| 4904 | "key": "TestTimestamp", |
| 4905 | "value": { |
| 4906 | "key": "TestTimestamp", |
| 4907 | "fieldSchemaKey": { |
| 4908 | "name": "TestTimestamp", |
| 4909 | "version": "0.0.1" |
| 4910 | }, |
| 4911 | "optional": false |
| 4912 | } |
| 4913 | } |
| 4914 | ] |
| 4915 | }, |
| 4916 | "outputFields": { |
| 4917 | "entry": [ |
| 4918 | { |
| 4919 | "key": "TestEstablishCaseSelected", |
| 4920 | "value": { |
| 4921 | "key": "TestEstablishCaseSelected", |
| 4922 | "fieldSchemaKey": { |
| 4923 | "name": "TestCase", |
| 4924 | "version": "0.0.1" |
| 4925 | }, |
| 4926 | "optional": false |
| 4927 | } |
| 4928 | }, |
| 4929 | { |
| 4930 | "key": "TestEstablishStateTime", |
| 4931 | "value": { |
| 4932 | "key": "TestEstablishStateTime", |
| 4933 | "fieldSchemaKey": { |
| 4934 | "name": "TestTimestamp", |
| 4935 | "version": "0.0.1" |
| 4936 | }, |
| 4937 | "optional": false |
| 4938 | } |
| 4939 | }, |
| 4940 | { |
| 4941 | "key": "TestMatchCase", |
| 4942 | "value": { |
| 4943 | "key": "TestMatchCase", |
| 4944 | "fieldSchemaKey": { |
| 4945 | "name": "TestCase", |
| 4946 | "version": "0.0.1" |
| 4947 | }, |
| 4948 | "optional": false |
| 4949 | } |
| 4950 | }, |
| 4951 | { |
| 4952 | "key": "TestMatchCaseSelected", |
| 4953 | "value": { |
| 4954 | "key": "TestMatchCaseSelected", |
| 4955 | "fieldSchemaKey": { |
| 4956 | "name": "TestCase", |
| 4957 | "version": "0.0.1" |
| 4958 | }, |
| 4959 | "optional": false |
| 4960 | } |
| 4961 | }, |
| 4962 | { |
| 4963 | "key": "TestMatchStateTime", |
| 4964 | "value": { |
| 4965 | "key": "TestMatchStateTime", |
| 4966 | "fieldSchemaKey": { |
| 4967 | "name": "TestTimestamp", |
| 4968 | "version": "0.0.1" |
| 4969 | }, |
| 4970 | "optional": false |
| 4971 | } |
| 4972 | }, |
| 4973 | { |
| 4974 | "key": "TestSlogan", |
| 4975 | "value": { |
| 4976 | "key": "TestSlogan", |
| 4977 | "fieldSchemaKey": { |
| 4978 | "name": "TestSlogan", |
| 4979 | "version": "0.0.1" |
| 4980 | }, |
| 4981 | "optional": false |
| 4982 | } |
| 4983 | }, |
| 4984 | { |
| 4985 | "key": "TestTemperature", |
| 4986 | "value": { |
| 4987 | "key": "TestTemperature", |
| 4988 | "fieldSchemaKey": { |
| 4989 | "name": "TestTemperature", |
| 4990 | "version": "0.0.1" |
| 4991 | }, |
| 4992 | "optional": false |
| 4993 | } |
| 4994 | }, |
| 4995 | { |
| 4996 | "key": "TestTimestamp", |
| 4997 | "value": { |
| 4998 | "key": "TestTimestamp", |
| 4999 | "fieldSchemaKey": { |
| 5000 | "name": "TestTimestamp", |
| 5001 | "version": "0.0.1" |
| 5002 | }, |
| 5003 | "optional": false |
| 5004 | } |
| 5005 | } |
| 5006 | ] |
| 5007 | }, |
| 5008 | "taskParameters": { |
| 5009 | "entry": [ |
| 5010 | { |
| 5011 | "key": "Parameter0", |
| 5012 | "value": { |
| 5013 | "key": { |
| 5014 | "parentKeyName": "Task_Establish2", |
| 5015 | "parentKeyVersion": "0.0.1", |
| 5016 | "parentLocalName": "NULL", |
| 5017 | "localName": "Parameter0" |
| 5018 | }, |
| 5019 | "defaultValue": "DefaultValue0" |
| 5020 | } |
| 5021 | } |
| 5022 | ] |
| 5023 | }, |
| 5024 | "contextAlbumReference": [ |
| 5025 | { |
| 5026 | "name": "GlobalContextAlbum", |
| 5027 | "version": "0.0.1" |
| 5028 | }, |
| 5029 | { |
| 5030 | "name": "Policy1ContextAlbum", |
| 5031 | "version": "0.0.1" |
| 5032 | } |
| 5033 | ], |
| 5034 | "taskLogic": { |
| 5035 | "key": "_TaskLogic", |
| 5036 | "logicFlavour": "JAVASCRIPT", |
| 5037 | "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = Java.type(\"java.lang.Byte\");\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = Java.type(\"java.util.Date\");\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\nvar returnValue = executor.isTrue;" |
| 5038 | } |
| 5039 | } |
| 5040 | }, |
| 5041 | { |
| 5042 | "key": { |
| 5043 | "name": "Task_Establish3", |
| 5044 | "version": "0.0.1" |
| 5045 | }, |
| 5046 | "value": { |
| 5047 | "key": { |
| 5048 | "name": "Task_Establish3", |
| 5049 | "version": "0.0.1" |
| 5050 | }, |
| 5051 | "inputFields": { |
| 5052 | "entry": [ |
| 5053 | { |
| 5054 | "key": "TestMatchCase", |
| 5055 | "value": { |
| 5056 | "key": "TestMatchCase", |
| 5057 | "fieldSchemaKey": { |
| 5058 | "name": "TestCase", |
| 5059 | "version": "0.0.1" |
| 5060 | }, |
| 5061 | "optional": false |
| 5062 | } |
| 5063 | }, |
| 5064 | { |
| 5065 | "key": "TestMatchCaseSelected", |
| 5066 | "value": { |
| 5067 | "key": "TestMatchCaseSelected", |
| 5068 | "fieldSchemaKey": { |
| 5069 | "name": "TestCase", |
| 5070 | "version": "0.0.1" |
| 5071 | }, |
| 5072 | "optional": false |
| 5073 | } |
| 5074 | }, |
| 5075 | { |
| 5076 | "key": "TestMatchStateTime", |
| 5077 | "value": { |
| 5078 | "key": "TestMatchStateTime", |
| 5079 | "fieldSchemaKey": { |
| 5080 | "name": "TestTimestamp", |
| 5081 | "version": "0.0.1" |
| 5082 | }, |
| 5083 | "optional": false |
| 5084 | } |
| 5085 | }, |
| 5086 | { |
| 5087 | "key": "TestSlogan", |
| 5088 | "value": { |
| 5089 | "key": "TestSlogan", |
| 5090 | "fieldSchemaKey": { |
| 5091 | "name": "TestSlogan", |
| 5092 | "version": "0.0.1" |
| 5093 | }, |
| 5094 | "optional": false |
| 5095 | } |
| 5096 | }, |
| 5097 | { |
| 5098 | "key": "TestTemperature", |
| 5099 | "value": { |
| 5100 | "key": "TestTemperature", |
| 5101 | "fieldSchemaKey": { |
| 5102 | "name": "TestTemperature", |
| 5103 | "version": "0.0.1" |
| 5104 | }, |
| 5105 | "optional": false |
| 5106 | } |
| 5107 | }, |
| 5108 | { |
| 5109 | "key": "TestTimestamp", |
| 5110 | "value": { |
| 5111 | "key": "TestTimestamp", |
| 5112 | "fieldSchemaKey": { |
| 5113 | "name": "TestTimestamp", |
| 5114 | "version": "0.0.1" |
| 5115 | }, |
| 5116 | "optional": false |
| 5117 | } |
| 5118 | } |
| 5119 | ] |
| 5120 | }, |
| 5121 | "outputFields": { |
| 5122 | "entry": [ |
| 5123 | { |
| 5124 | "key": "TestEstablishCaseSelected", |
| 5125 | "value": { |
| 5126 | "key": "TestEstablishCaseSelected", |
| 5127 | "fieldSchemaKey": { |
| 5128 | "name": "TestCase", |
| 5129 | "version": "0.0.1" |
| 5130 | }, |
| 5131 | "optional": false |
| 5132 | } |
| 5133 | }, |
| 5134 | { |
| 5135 | "key": "TestEstablishStateTime", |
| 5136 | "value": { |
| 5137 | "key": "TestEstablishStateTime", |
| 5138 | "fieldSchemaKey": { |
| 5139 | "name": "TestTimestamp", |
| 5140 | "version": "0.0.1" |
| 5141 | }, |
| 5142 | "optional": false |
| 5143 | } |
| 5144 | }, |
| 5145 | { |
| 5146 | "key": "TestMatchCase", |
| 5147 | "value": { |
| 5148 | "key": "TestMatchCase", |
| 5149 | "fieldSchemaKey": { |
| 5150 | "name": "TestCase", |
| 5151 | "version": "0.0.1" |
| 5152 | }, |
| 5153 | "optional": false |
| 5154 | } |
| 5155 | }, |
| 5156 | { |
| 5157 | "key": "TestMatchCaseSelected", |
| 5158 | "value": { |
| 5159 | "key": "TestMatchCaseSelected", |
| 5160 | "fieldSchemaKey": { |
| 5161 | "name": "TestCase", |
| 5162 | "version": "0.0.1" |
| 5163 | }, |
| 5164 | "optional": false |
| 5165 | } |
| 5166 | }, |
| 5167 | { |
| 5168 | "key": "TestMatchStateTime", |
| 5169 | "value": { |
| 5170 | "key": "TestMatchStateTime", |
| 5171 | "fieldSchemaKey": { |
| 5172 | "name": "TestTimestamp", |
| 5173 | "version": "0.0.1" |
| 5174 | }, |
| 5175 | "optional": false |
| 5176 | } |
| 5177 | }, |
| 5178 | { |
| 5179 | "key": "TestSlogan", |
| 5180 | "value": { |
| 5181 | "key": "TestSlogan", |
| 5182 | "fieldSchemaKey": { |
| 5183 | "name": "TestSlogan", |
| 5184 | "version": "0.0.1" |
| 5185 | }, |
| 5186 | "optional": false |
| 5187 | } |
| 5188 | }, |
| 5189 | { |
| 5190 | "key": "TestTemperature", |
| 5191 | "value": { |
| 5192 | "key": "TestTemperature", |
| 5193 | "fieldSchemaKey": { |
| 5194 | "name": "TestTemperature", |
| 5195 | "version": "0.0.1" |
| 5196 | }, |
| 5197 | "optional": false |
| 5198 | } |
| 5199 | }, |
| 5200 | { |
| 5201 | "key": "TestTimestamp", |
| 5202 | "value": { |
| 5203 | "key": "TestTimestamp", |
| 5204 | "fieldSchemaKey": { |
| 5205 | "name": "TestTimestamp", |
| 5206 | "version": "0.0.1" |
| 5207 | }, |
| 5208 | "optional": false |
| 5209 | } |
| 5210 | } |
| 5211 | ] |
| 5212 | }, |
| 5213 | "taskParameters": { |
| 5214 | "entry": [ |
| 5215 | { |
| 5216 | "key": "Parameter0", |
| 5217 | "value": { |
| 5218 | "key": { |
| 5219 | "parentKeyName": "Task_Establish3", |
| 5220 | "parentKeyVersion": "0.0.1", |
| 5221 | "parentLocalName": "NULL", |
| 5222 | "localName": "Parameter0" |
| 5223 | }, |
| 5224 | "defaultValue": "DefaultValue0" |
| 5225 | } |
| 5226 | } |
| 5227 | ] |
| 5228 | }, |
| 5229 | "contextAlbumReference": [ |
| 5230 | { |
| 5231 | "name": "ExternalContextAlbum", |
| 5232 | "version": "0.0.1" |
| 5233 | }, |
| 5234 | { |
| 5235 | "name": "GlobalContextAlbum", |
| 5236 | "version": "0.0.1" |
| 5237 | } |
| 5238 | ], |
| 5239 | "taskLogic": { |
| 5240 | "key": "_TaskLogic", |
| 5241 | "logicFlavour": "JAVASCRIPT", |
| 5242 | "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = Java.type(\"java.lang.Byte\");\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = Java.type(\"java.util.Date\");\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\nvar returnValue = executor.isTrue;" |
| 5243 | } |
| 5244 | } |
| 5245 | }, |
| 5246 | { |
| 5247 | "key": { |
| 5248 | "name": "Task_Match0", |
| 5249 | "version": "0.0.1" |
| 5250 | }, |
| 5251 | "value": { |
| 5252 | "key": { |
| 5253 | "name": "Task_Match0", |
| 5254 | "version": "0.0.1" |
| 5255 | }, |
| 5256 | "inputFields": { |
| 5257 | "entry": [ |
| 5258 | { |
| 5259 | "key": "TestMatchCase", |
| 5260 | "value": { |
| 5261 | "key": "TestMatchCase", |
| 5262 | "fieldSchemaKey": { |
| 5263 | "name": "TestCase", |
| 5264 | "version": "0.0.1" |
| 5265 | }, |
| 5266 | "optional": false |
| 5267 | } |
| 5268 | }, |
| 5269 | { |
| 5270 | "key": "TestSlogan", |
| 5271 | "value": { |
| 5272 | "key": "TestSlogan", |
| 5273 | "fieldSchemaKey": { |
| 5274 | "name": "TestSlogan", |
| 5275 | "version": "0.0.1" |
| 5276 | }, |
| 5277 | "optional": false |
| 5278 | } |
| 5279 | }, |
| 5280 | { |
| 5281 | "key": "TestTemperature", |
| 5282 | "value": { |
| 5283 | "key": "TestTemperature", |
| 5284 | "fieldSchemaKey": { |
| 5285 | "name": "TestTemperature", |
| 5286 | "version": "0.0.1" |
| 5287 | }, |
| 5288 | "optional": false |
| 5289 | } |
| 5290 | }, |
| 5291 | { |
| 5292 | "key": "TestTimestamp", |
| 5293 | "value": { |
| 5294 | "key": "TestTimestamp", |
| 5295 | "fieldSchemaKey": { |
| 5296 | "name": "TestTimestamp", |
| 5297 | "version": "0.0.1" |
| 5298 | }, |
| 5299 | "optional": false |
| 5300 | } |
| 5301 | } |
| 5302 | ] |
| 5303 | }, |
| 5304 | "outputFields": { |
| 5305 | "entry": [ |
| 5306 | { |
| 5307 | "key": "TestMatchCase", |
| 5308 | "value": { |
| 5309 | "key": "TestMatchCase", |
| 5310 | "fieldSchemaKey": { |
| 5311 | "name": "TestCase", |
| 5312 | "version": "0.0.1" |
| 5313 | }, |
| 5314 | "optional": false |
| 5315 | } |
| 5316 | }, |
| 5317 | { |
| 5318 | "key": "TestMatchCaseSelected", |
| 5319 | "value": { |
| 5320 | "key": "TestMatchCaseSelected", |
| 5321 | "fieldSchemaKey": { |
| 5322 | "name": "TestCase", |
| 5323 | "version": "0.0.1" |
| 5324 | }, |
| 5325 | "optional": false |
| 5326 | } |
| 5327 | }, |
| 5328 | { |
| 5329 | "key": "TestMatchStateTime", |
| 5330 | "value": { |
| 5331 | "key": "TestMatchStateTime", |
| 5332 | "fieldSchemaKey": { |
| 5333 | "name": "TestTimestamp", |
| 5334 | "version": "0.0.1" |
| 5335 | }, |
| 5336 | "optional": false |
| 5337 | } |
| 5338 | }, |
| 5339 | { |
| 5340 | "key": "TestSlogan", |
| 5341 | "value": { |
| 5342 | "key": "TestSlogan", |
| 5343 | "fieldSchemaKey": { |
| 5344 | "name": "TestSlogan", |
| 5345 | "version": "0.0.1" |
| 5346 | }, |
| 5347 | "optional": false |
| 5348 | } |
| 5349 | }, |
| 5350 | { |
| 5351 | "key": "TestTemperature", |
| 5352 | "value": { |
| 5353 | "key": "TestTemperature", |
| 5354 | "fieldSchemaKey": { |
| 5355 | "name": "TestTemperature", |
| 5356 | "version": "0.0.1" |
| 5357 | }, |
| 5358 | "optional": false |
| 5359 | } |
| 5360 | }, |
| 5361 | { |
| 5362 | "key": "TestTimestamp", |
| 5363 | "value": { |
| 5364 | "key": "TestTimestamp", |
| 5365 | "fieldSchemaKey": { |
| 5366 | "name": "TestTimestamp", |
| 5367 | "version": "0.0.1" |
| 5368 | }, |
| 5369 | "optional": false |
| 5370 | } |
| 5371 | } |
| 5372 | ] |
| 5373 | }, |
| 5374 | "taskParameters": { |
| 5375 | "entry": [ |
| 5376 | { |
| 5377 | "key": "Parameter0", |
| 5378 | "value": { |
| 5379 | "key": { |
| 5380 | "parentKeyName": "Task_Match0", |
| 5381 | "parentKeyVersion": "0.0.1", |
| 5382 | "parentLocalName": "NULL", |
| 5383 | "localName": "Parameter0" |
| 5384 | }, |
| 5385 | "defaultValue": "DefaultValue0" |
| 5386 | } |
| 5387 | }, |
| 5388 | { |
| 5389 | "key": "Parameter1", |
| 5390 | "value": { |
| 5391 | "key": { |
| 5392 | "parentKeyName": "Task_Match0", |
| 5393 | "parentKeyVersion": "0.0.1", |
| 5394 | "parentLocalName": "NULL", |
| 5395 | "localName": "Parameter1" |
| 5396 | }, |
| 5397 | "defaultValue": "DefaultValue1" |
| 5398 | } |
| 5399 | }, |
| 5400 | { |
| 5401 | "key": "Parameter2", |
| 5402 | "value": { |
| 5403 | "key": { |
| 5404 | "parentKeyName": "Task_Match0", |
| 5405 | "parentKeyVersion": "0.0.1", |
| 5406 | "parentLocalName": "NULL", |
| 5407 | "localName": "Parameter2" |
| 5408 | }, |
| 5409 | "defaultValue": "DefaultValue2" |
| 5410 | } |
| 5411 | } |
| 5412 | ] |
| 5413 | }, |
| 5414 | "contextAlbumReference": [ |
| 5415 | { |
| 5416 | "name": "ExternalContextAlbum", |
| 5417 | "version": "0.0.1" |
| 5418 | }, |
| 5419 | { |
| 5420 | "name": "GlobalContextAlbum", |
| 5421 | "version": "0.0.1" |
| 5422 | }, |
| 5423 | { |
| 5424 | "name": "Policy0ContextAlbum", |
| 5425 | "version": "0.0.1" |
| 5426 | }, |
| 5427 | { |
| 5428 | "name": "Policy1ContextAlbum", |
| 5429 | "version": "0.0.1" |
| 5430 | } |
| 5431 | ], |
| 5432 | "taskLogic": { |
| 5433 | "key": "_TaskLogic", |
| 5434 | "logicFlavour": "JAVASCRIPT", |
| 5435 | "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = Java.type(\"java.lang.Byte\");\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = Java.type(\"java.util.Date\");\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\nvar returnValue = executor.isTrue;" |
| 5436 | } |
| 5437 | } |
| 5438 | }, |
| 5439 | { |
| 5440 | "key": { |
| 5441 | "name": "Task_Match1", |
| 5442 | "version": "0.0.1" |
| 5443 | }, |
| 5444 | "value": { |
| 5445 | "key": { |
| 5446 | "name": "Task_Match1", |
| 5447 | "version": "0.0.1" |
| 5448 | }, |
| 5449 | "inputFields": { |
| 5450 | "entry": [ |
| 5451 | { |
| 5452 | "key": "TestMatchCase", |
| 5453 | "value": { |
| 5454 | "key": "TestMatchCase", |
| 5455 | "fieldSchemaKey": { |
| 5456 | "name": "TestCase", |
| 5457 | "version": "0.0.1" |
| 5458 | }, |
| 5459 | "optional": false |
| 5460 | } |
| 5461 | }, |
| 5462 | { |
| 5463 | "key": "TestSlogan", |
| 5464 | "value": { |
| 5465 | "key": "TestSlogan", |
| 5466 | "fieldSchemaKey": { |
| 5467 | "name": "TestSlogan", |
| 5468 | "version": "0.0.1" |
| 5469 | }, |
| 5470 | "optional": false |
| 5471 | } |
| 5472 | }, |
| 5473 | { |
| 5474 | "key": "TestTemperature", |
| 5475 | "value": { |
| 5476 | "key": "TestTemperature", |
| 5477 | "fieldSchemaKey": { |
| 5478 | "name": "TestTemperature", |
| 5479 | "version": "0.0.1" |
| 5480 | }, |
| 5481 | "optional": false |
| 5482 | } |
| 5483 | }, |
| 5484 | { |
| 5485 | "key": "TestTimestamp", |
| 5486 | "value": { |
| 5487 | "key": "TestTimestamp", |
| 5488 | "fieldSchemaKey": { |
| 5489 | "name": "TestTimestamp", |
| 5490 | "version": "0.0.1" |
| 5491 | }, |
| 5492 | "optional": false |
| 5493 | } |
| 5494 | } |
| 5495 | ] |
| 5496 | }, |
| 5497 | "outputFields": { |
| 5498 | "entry": [ |
| 5499 | { |
| 5500 | "key": "TestMatchCase", |
| 5501 | "value": { |
| 5502 | "key": "TestMatchCase", |
| 5503 | "fieldSchemaKey": { |
| 5504 | "name": "TestCase", |
| 5505 | "version": "0.0.1" |
| 5506 | }, |
| 5507 | "optional": false |
| 5508 | } |
| 5509 | }, |
| 5510 | { |
| 5511 | "key": "TestMatchCaseSelected", |
| 5512 | "value": { |
| 5513 | "key": "TestMatchCaseSelected", |
| 5514 | "fieldSchemaKey": { |
| 5515 | "name": "TestCase", |
| 5516 | "version": "0.0.1" |
| 5517 | }, |
| 5518 | "optional": false |
| 5519 | } |
| 5520 | }, |
| 5521 | { |
| 5522 | "key": "TestMatchStateTime", |
| 5523 | "value": { |
| 5524 | "key": "TestMatchStateTime", |
| 5525 | "fieldSchemaKey": { |
| 5526 | "name": "TestTimestamp", |
| 5527 | "version": "0.0.1" |
| 5528 | }, |
| 5529 | "optional": false |
| 5530 | } |
| 5531 | }, |
| 5532 | { |
| 5533 | "key": "TestSlogan", |
| 5534 | "value": { |
| 5535 | "key": "TestSlogan", |
| 5536 | "fieldSchemaKey": { |
| 5537 | "name": "TestSlogan", |
| 5538 | "version": "0.0.1" |
| 5539 | }, |
| 5540 | "optional": false |
| 5541 | } |
| 5542 | }, |
| 5543 | { |
| 5544 | "key": "TestTemperature", |
| 5545 | "value": { |
| 5546 | "key": "TestTemperature", |
| 5547 | "fieldSchemaKey": { |
| 5548 | "name": "TestTemperature", |
| 5549 | "version": "0.0.1" |
| 5550 | }, |
| 5551 | "optional": false |
| 5552 | } |
| 5553 | }, |
| 5554 | { |
| 5555 | "key": "TestTimestamp", |
| 5556 | "value": { |
| 5557 | "key": "TestTimestamp", |
| 5558 | "fieldSchemaKey": { |
| 5559 | "name": "TestTimestamp", |
| 5560 | "version": "0.0.1" |
| 5561 | }, |
| 5562 | "optional": false |
| 5563 | } |
| 5564 | } |
| 5565 | ] |
| 5566 | }, |
| 5567 | "taskParameters": { |
| 5568 | "entry": [ |
| 5569 | { |
| 5570 | "key": "Parameter0", |
| 5571 | "value": { |
| 5572 | "key": { |
| 5573 | "parentKeyName": "Task_Match1", |
| 5574 | "parentKeyVersion": "0.0.1", |
| 5575 | "parentLocalName": "NULL", |
| 5576 | "localName": "Parameter0" |
| 5577 | }, |
| 5578 | "defaultValue": "DefaultValue0" |
| 5579 | } |
| 5580 | }, |
| 5581 | { |
| 5582 | "key": "Parameter1", |
| 5583 | "value": { |
| 5584 | "key": { |
| 5585 | "parentKeyName": "Task_Match1", |
| 5586 | "parentKeyVersion": "0.0.1", |
| 5587 | "parentLocalName": "NULL", |
| 5588 | "localName": "Parameter1" |
| 5589 | }, |
| 5590 | "defaultValue": "DefaultValue1" |
| 5591 | } |
| 5592 | } |
| 5593 | ] |
| 5594 | }, |
| 5595 | "contextAlbumReference": [ |
| 5596 | { |
| 5597 | "name": "GlobalContextAlbum", |
| 5598 | "version": "0.0.1" |
| 5599 | }, |
| 5600 | { |
| 5601 | "name": "Policy0ContextAlbum", |
| 5602 | "version": "0.0.1" |
| 5603 | } |
| 5604 | ], |
| 5605 | "taskLogic": { |
| 5606 | "key": "_TaskLogic", |
| 5607 | "logicFlavour": "JAVASCRIPT", |
| 5608 | "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = Java.type(\"java.lang.Byte\");\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = Java.type(\"java.util.Date\");\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\nvar returnValue = executor.isTrue;" |
| 5609 | } |
| 5610 | } |
| 5611 | }, |
| 5612 | { |
| 5613 | "key": { |
| 5614 | "name": "Task_Match2", |
| 5615 | "version": "0.0.1" |
| 5616 | }, |
| 5617 | "value": { |
| 5618 | "key": { |
| 5619 | "name": "Task_Match2", |
| 5620 | "version": "0.0.1" |
| 5621 | }, |
| 5622 | "inputFields": { |
| 5623 | "entry": [ |
| 5624 | { |
| 5625 | "key": "TestMatchCase", |
| 5626 | "value": { |
| 5627 | "key": "TestMatchCase", |
| 5628 | "fieldSchemaKey": { |
| 5629 | "name": "TestCase", |
| 5630 | "version": "0.0.1" |
| 5631 | }, |
| 5632 | "optional": false |
| 5633 | } |
| 5634 | }, |
| 5635 | { |
| 5636 | "key": "TestSlogan", |
| 5637 | "value": { |
| 5638 | "key": "TestSlogan", |
| 5639 | "fieldSchemaKey": { |
| 5640 | "name": "TestSlogan", |
| 5641 | "version": "0.0.1" |
| 5642 | }, |
| 5643 | "optional": false |
| 5644 | } |
| 5645 | }, |
| 5646 | { |
| 5647 | "key": "TestTemperature", |
| 5648 | "value": { |
| 5649 | "key": "TestTemperature", |
| 5650 | "fieldSchemaKey": { |
| 5651 | "name": "TestTemperature", |
| 5652 | "version": "0.0.1" |
| 5653 | }, |
| 5654 | "optional": false |
| 5655 | } |
| 5656 | }, |
| 5657 | { |
| 5658 | "key": "TestTimestamp", |
| 5659 | "value": { |
| 5660 | "key": "TestTimestamp", |
| 5661 | "fieldSchemaKey": { |
| 5662 | "name": "TestTimestamp", |
| 5663 | "version": "0.0.1" |
| 5664 | }, |
| 5665 | "optional": false |
| 5666 | } |
| 5667 | } |
| 5668 | ] |
| 5669 | }, |
| 5670 | "outputFields": { |
| 5671 | "entry": [ |
| 5672 | { |
| 5673 | "key": "TestMatchCase", |
| 5674 | "value": { |
| 5675 | "key": "TestMatchCase", |
| 5676 | "fieldSchemaKey": { |
| 5677 | "name": "TestCase", |
| 5678 | "version": "0.0.1" |
| 5679 | }, |
| 5680 | "optional": false |
| 5681 | } |
| 5682 | }, |
| 5683 | { |
| 5684 | "key": "TestMatchCaseSelected", |
| 5685 | "value": { |
| 5686 | "key": "TestMatchCaseSelected", |
| 5687 | "fieldSchemaKey": { |
| 5688 | "name": "TestCase", |
| 5689 | "version": "0.0.1" |
| 5690 | }, |
| 5691 | "optional": false |
| 5692 | } |
| 5693 | }, |
| 5694 | { |
| 5695 | "key": "TestMatchStateTime", |
| 5696 | "value": { |
| 5697 | "key": "TestMatchStateTime", |
| 5698 | "fieldSchemaKey": { |
| 5699 | "name": "TestTimestamp", |
| 5700 | "version": "0.0.1" |
| 5701 | }, |
| 5702 | "optional": false |
| 5703 | } |
| 5704 | }, |
| 5705 | { |
| 5706 | "key": "TestSlogan", |
| 5707 | "value": { |
| 5708 | "key": "TestSlogan", |
| 5709 | "fieldSchemaKey": { |
| 5710 | "name": "TestSlogan", |
| 5711 | "version": "0.0.1" |
| 5712 | }, |
| 5713 | "optional": false |
| 5714 | } |
| 5715 | }, |
| 5716 | { |
| 5717 | "key": "TestTemperature", |
| 5718 | "value": { |
| 5719 | "key": "TestTemperature", |
| 5720 | "fieldSchemaKey": { |
| 5721 | "name": "TestTemperature", |
| 5722 | "version": "0.0.1" |
| 5723 | }, |
| 5724 | "optional": false |
| 5725 | } |
| 5726 | }, |
| 5727 | { |
| 5728 | "key": "TestTimestamp", |
| 5729 | "value": { |
| 5730 | "key": "TestTimestamp", |
| 5731 | "fieldSchemaKey": { |
| 5732 | "name": "TestTimestamp", |
| 5733 | "version": "0.0.1" |
| 5734 | }, |
| 5735 | "optional": false |
| 5736 | } |
| 5737 | } |
| 5738 | ] |
| 5739 | }, |
| 5740 | "taskParameters": { |
| 5741 | "entry": [ |
| 5742 | { |
| 5743 | "key": "Parameter0", |
| 5744 | "value": { |
| 5745 | "key": { |
| 5746 | "parentKeyName": "Task_Match2", |
| 5747 | "parentKeyVersion": "0.0.1", |
| 5748 | "parentLocalName": "NULL", |
| 5749 | "localName": "Parameter0" |
| 5750 | }, |
| 5751 | "defaultValue": "DefaultValue0" |
| 5752 | } |
| 5753 | } |
| 5754 | ] |
| 5755 | }, |
| 5756 | "contextAlbumReference": [ |
| 5757 | { |
| 5758 | "name": "GlobalContextAlbum", |
| 5759 | "version": "0.0.1" |
| 5760 | }, |
| 5761 | { |
| 5762 | "name": "Policy1ContextAlbum", |
| 5763 | "version": "0.0.1" |
| 5764 | } |
| 5765 | ], |
| 5766 | "taskLogic": { |
| 5767 | "key": "_TaskLogic", |
| 5768 | "logicFlavour": "JAVASCRIPT", |
| 5769 | "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = Java.type(\"java.lang.Byte\");\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = Java.type(\"java.util.Date\");\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\nvar returnValue = executor.isTrue;" |
| 5770 | } |
| 5771 | } |
| 5772 | }, |
| 5773 | { |
| 5774 | "key": { |
| 5775 | "name": "Task_Match3", |
| 5776 | "version": "0.0.1" |
| 5777 | }, |
| 5778 | "value": { |
| 5779 | "key": { |
| 5780 | "name": "Task_Match3", |
| 5781 | "version": "0.0.1" |
| 5782 | }, |
| 5783 | "inputFields": { |
| 5784 | "entry": [ |
| 5785 | { |
| 5786 | "key": "TestMatchCase", |
| 5787 | "value": { |
| 5788 | "key": "TestMatchCase", |
| 5789 | "fieldSchemaKey": { |
| 5790 | "name": "TestCase", |
| 5791 | "version": "0.0.1" |
| 5792 | }, |
| 5793 | "optional": false |
| 5794 | } |
| 5795 | }, |
| 5796 | { |
| 5797 | "key": "TestSlogan", |
| 5798 | "value": { |
| 5799 | "key": "TestSlogan", |
| 5800 | "fieldSchemaKey": { |
| 5801 | "name": "TestSlogan", |
| 5802 | "version": "0.0.1" |
| 5803 | }, |
| 5804 | "optional": false |
| 5805 | } |
| 5806 | }, |
| 5807 | { |
| 5808 | "key": "TestTemperature", |
| 5809 | "value": { |
| 5810 | "key": "TestTemperature", |
| 5811 | "fieldSchemaKey": { |
| 5812 | "name": "TestTemperature", |
| 5813 | "version": "0.0.1" |
| 5814 | }, |
| 5815 | "optional": false |
| 5816 | } |
| 5817 | }, |
| 5818 | { |
| 5819 | "key": "TestTimestamp", |
| 5820 | "value": { |
| 5821 | "key": "TestTimestamp", |
| 5822 | "fieldSchemaKey": { |
| 5823 | "name": "TestTimestamp", |
| 5824 | "version": "0.0.1" |
| 5825 | }, |
| 5826 | "optional": false |
| 5827 | } |
| 5828 | } |
| 5829 | ] |
| 5830 | }, |
| 5831 | "outputFields": { |
| 5832 | "entry": [ |
| 5833 | { |
| 5834 | "key": "TestMatchCase", |
| 5835 | "value": { |
| 5836 | "key": "TestMatchCase", |
| 5837 | "fieldSchemaKey": { |
| 5838 | "name": "TestCase", |
| 5839 | "version": "0.0.1" |
| 5840 | }, |
| 5841 | "optional": false |
| 5842 | } |
| 5843 | }, |
| 5844 | { |
| 5845 | "key": "TestMatchCaseSelected", |
| 5846 | "value": { |
| 5847 | "key": "TestMatchCaseSelected", |
| 5848 | "fieldSchemaKey": { |
| 5849 | "name": "TestCase", |
| 5850 | "version": "0.0.1" |
| 5851 | }, |
| 5852 | "optional": false |
| 5853 | } |
| 5854 | }, |
| 5855 | { |
| 5856 | "key": "TestMatchStateTime", |
| 5857 | "value": { |
| 5858 | "key": "TestMatchStateTime", |
| 5859 | "fieldSchemaKey": { |
| 5860 | "name": "TestTimestamp", |
| 5861 | "version": "0.0.1" |
| 5862 | }, |
| 5863 | "optional": false |
| 5864 | } |
| 5865 | }, |
| 5866 | { |
| 5867 | "key": "TestSlogan", |
| 5868 | "value": { |
| 5869 | "key": "TestSlogan", |
| 5870 | "fieldSchemaKey": { |
| 5871 | "name": "TestSlogan", |
| 5872 | "version": "0.0.1" |
| 5873 | }, |
| 5874 | "optional": false |
| 5875 | } |
| 5876 | }, |
| 5877 | { |
| 5878 | "key": "TestTemperature", |
| 5879 | "value": { |
| 5880 | "key": "TestTemperature", |
| 5881 | "fieldSchemaKey": { |
| 5882 | "name": "TestTemperature", |
| 5883 | "version": "0.0.1" |
| 5884 | }, |
| 5885 | "optional": false |
| 5886 | } |
| 5887 | }, |
| 5888 | { |
| 5889 | "key": "TestTimestamp", |
| 5890 | "value": { |
| 5891 | "key": "TestTimestamp", |
| 5892 | "fieldSchemaKey": { |
| 5893 | "name": "TestTimestamp", |
| 5894 | "version": "0.0.1" |
| 5895 | }, |
| 5896 | "optional": false |
| 5897 | } |
| 5898 | } |
| 5899 | ] |
| 5900 | }, |
| 5901 | "taskParameters": { |
| 5902 | "entry": [ |
| 5903 | { |
| 5904 | "key": "Parameter0", |
| 5905 | "value": { |
| 5906 | "key": { |
| 5907 | "parentKeyName": "Task_Match3", |
| 5908 | "parentKeyVersion": "0.0.1", |
| 5909 | "parentLocalName": "NULL", |
| 5910 | "localName": "Parameter0" |
| 5911 | }, |
| 5912 | "defaultValue": "DefaultValue0" |
| 5913 | } |
| 5914 | } |
| 5915 | ] |
| 5916 | }, |
| 5917 | "contextAlbumReference": [ |
| 5918 | { |
| 5919 | "name": "ExternalContextAlbum", |
| 5920 | "version": "0.0.1" |
| 5921 | }, |
| 5922 | { |
| 5923 | "name": "GlobalContextAlbum", |
| 5924 | "version": "0.0.1" |
| 5925 | } |
| 5926 | ], |
| 5927 | "taskLogic": { |
| 5928 | "key": "_TaskLogic", |
| 5929 | "logicFlavour": "JAVASCRIPT", |
| 5930 | "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = Java.type(\"java.lang.Byte\");\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = Java.type(\"java.util.Date\");\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\nvar returnValue = executor.isTrue;" |
| 5931 | } |
| 5932 | } |
| 5933 | } |
| 5934 | ] |
| 5935 | } |
| 5936 | }, |
| 5937 | "events": { |
| 5938 | "key": { |
| 5939 | "name": "Events", |
| 5940 | "version": "0.0.1" |
| 5941 | }, |
| 5942 | "eventMap": { |
| 5943 | "entry": [ |
| 5944 | { |
| 5945 | "key": { |
| 5946 | "name": "Event0000", |
| 5947 | "version": "0.0.1" |
| 5948 | }, |
| 5949 | "value": { |
| 5950 | "key": { |
| 5951 | "name": "Event0000", |
| 5952 | "version": "0.0.1" |
| 5953 | }, |
| 5954 | "nameSpace": "org.onap.policy.apex.sample.events", |
| 5955 | "source": "Outside", |
| 5956 | "target": "Match", |
| 5957 | "parameter": { |
| 5958 | "entry": [ |
| 5959 | { |
| 5960 | "key": "TestMatchCase", |
| 5961 | "value": { |
| 5962 | "key": "TestMatchCase", |
| 5963 | "fieldSchemaKey": { |
| 5964 | "name": "TestCase", |
| 5965 | "version": "0.0.1" |
| 5966 | }, |
| 5967 | "optional": false |
| 5968 | } |
| 5969 | }, |
| 5970 | { |
| 5971 | "key": "TestSlogan", |
| 5972 | "value": { |
| 5973 | "key": "TestSlogan", |
| 5974 | "fieldSchemaKey": { |
| 5975 | "name": "TestSlogan", |
| 5976 | "version": "0.0.1" |
| 5977 | }, |
| 5978 | "optional": false |
| 5979 | } |
| 5980 | }, |
| 5981 | { |
| 5982 | "key": "TestTemperature", |
| 5983 | "value": { |
| 5984 | "key": "TestTemperature", |
| 5985 | "fieldSchemaKey": { |
| 5986 | "name": "TestTemperature", |
| 5987 | "version": "0.0.1" |
| 5988 | }, |
| 5989 | "optional": false |
| 5990 | } |
| 5991 | }, |
| 5992 | { |
| 5993 | "key": "TestTimestamp", |
| 5994 | "value": { |
| 5995 | "key": "TestTimestamp", |
| 5996 | "fieldSchemaKey": { |
| 5997 | "name": "TestTimestamp", |
| 5998 | "version": "0.0.1" |
| 5999 | }, |
| 6000 | "optional": false |
| 6001 | } |
| 6002 | } |
| 6003 | ] |
| 6004 | } |
| 6005 | } |
| 6006 | }, |
| 6007 | { |
| 6008 | "key": { |
| 6009 | "name": "Event0001", |
| 6010 | "version": "0.0.1" |
| 6011 | }, |
| 6012 | "value": { |
| 6013 | "key": { |
| 6014 | "name": "Event0001", |
| 6015 | "version": "0.0.1" |
| 6016 | }, |
| 6017 | "nameSpace": "org.onap.policy.apex.sample.events", |
| 6018 | "source": "Match", |
| 6019 | "target": "Establish", |
| 6020 | "parameter": { |
| 6021 | "entry": [ |
| 6022 | { |
| 6023 | "key": "TestMatchCase", |
| 6024 | "value": { |
| 6025 | "key": "TestMatchCase", |
| 6026 | "fieldSchemaKey": { |
| 6027 | "name": "TestCase", |
| 6028 | "version": "0.0.1" |
| 6029 | }, |
| 6030 | "optional": false |
| 6031 | } |
| 6032 | }, |
| 6033 | { |
| 6034 | "key": "TestMatchCaseSelected", |
| 6035 | "value": { |
| 6036 | "key": "TestMatchCaseSelected", |
| 6037 | "fieldSchemaKey": { |
| 6038 | "name": "TestCase", |
| 6039 | "version": "0.0.1" |
| 6040 | }, |
| 6041 | "optional": false |
| 6042 | } |
| 6043 | }, |
| 6044 | { |
| 6045 | "key": "TestMatchStateTime", |
| 6046 | "value": { |
| 6047 | "key": "TestMatchStateTime", |
| 6048 | "fieldSchemaKey": { |
| 6049 | "name": "TestTimestamp", |
| 6050 | "version": "0.0.1" |
| 6051 | }, |
| 6052 | "optional": false |
| 6053 | } |
| 6054 | }, |
| 6055 | { |
| 6056 | "key": "TestSlogan", |
| 6057 | "value": { |
| 6058 | "key": "TestSlogan", |
| 6059 | "fieldSchemaKey": { |
| 6060 | "name": "TestSlogan", |
| 6061 | "version": "0.0.1" |
| 6062 | }, |
| 6063 | "optional": false |
| 6064 | } |
| 6065 | }, |
| 6066 | { |
| 6067 | "key": "TestTemperature", |
| 6068 | "value": { |
| 6069 | "key": "TestTemperature", |
| 6070 | "fieldSchemaKey": { |
| 6071 | "name": "TestTemperature", |
| 6072 | "version": "0.0.1" |
| 6073 | }, |
| 6074 | "optional": false |
| 6075 | } |
| 6076 | }, |
| 6077 | { |
| 6078 | "key": "TestTimestamp", |
| 6079 | "value": { |
| 6080 | "key": "TestTimestamp", |
| 6081 | "fieldSchemaKey": { |
| 6082 | "name": "TestTimestamp", |
| 6083 | "version": "0.0.1" |
| 6084 | }, |
| 6085 | "optional": false |
| 6086 | } |
| 6087 | } |
| 6088 | ] |
| 6089 | } |
| 6090 | } |
| 6091 | }, |
| 6092 | { |
| 6093 | "key": { |
| 6094 | "name": "Event0002", |
| 6095 | "version": "0.0.1" |
| 6096 | }, |
| 6097 | "value": { |
| 6098 | "key": { |
| 6099 | "name": "Event0002", |
| 6100 | "version": "0.0.1" |
| 6101 | }, |
| 6102 | "nameSpace": "org.onap.policy.apex.sample.events", |
| 6103 | "source": "Establish", |
| 6104 | "target": "Decide", |
| 6105 | "parameter": { |
| 6106 | "entry": [ |
| 6107 | { |
| 6108 | "key": "TestEstablishCaseSelected", |
| 6109 | "value": { |
| 6110 | "key": "TestEstablishCaseSelected", |
| 6111 | "fieldSchemaKey": { |
| 6112 | "name": "TestCase", |
| 6113 | "version": "0.0.1" |
| 6114 | }, |
| 6115 | "optional": false |
| 6116 | } |
| 6117 | }, |
| 6118 | { |
| 6119 | "key": "TestEstablishStateTime", |
| 6120 | "value": { |
| 6121 | "key": "TestEstablishStateTime", |
| 6122 | "fieldSchemaKey": { |
| 6123 | "name": "TestTimestamp", |
| 6124 | "version": "0.0.1" |
| 6125 | }, |
| 6126 | "optional": false |
| 6127 | } |
| 6128 | }, |
| 6129 | { |
| 6130 | "key": "TestMatchCase", |
| 6131 | "value": { |
| 6132 | "key": "TestMatchCase", |
| 6133 | "fieldSchemaKey": { |
| 6134 | "name": "TestCase", |
| 6135 | "version": "0.0.1" |
| 6136 | }, |
| 6137 | "optional": false |
| 6138 | } |
| 6139 | }, |
| 6140 | { |
| 6141 | "key": "TestMatchCaseSelected", |
| 6142 | "value": { |
| 6143 | "key": "TestMatchCaseSelected", |
| 6144 | "fieldSchemaKey": { |
| 6145 | "name": "TestCase", |
| 6146 | "version": "0.0.1" |
| 6147 | }, |
| 6148 | "optional": false |
| 6149 | } |
| 6150 | }, |
| 6151 | { |
| 6152 | "key": "TestMatchStateTime", |
| 6153 | "value": { |
| 6154 | "key": "TestMatchStateTime", |
| 6155 | "fieldSchemaKey": { |
| 6156 | "name": "TestTimestamp", |
| 6157 | "version": "0.0.1" |
| 6158 | }, |
| 6159 | "optional": false |
| 6160 | } |
| 6161 | }, |
| 6162 | { |
| 6163 | "key": "TestSlogan", |
| 6164 | "value": { |
| 6165 | "key": "TestSlogan", |
| 6166 | "fieldSchemaKey": { |
| 6167 | "name": "TestSlogan", |
| 6168 | "version": "0.0.1" |
| 6169 | }, |
| 6170 | "optional": false |
| 6171 | } |
| 6172 | }, |
| 6173 | { |
| 6174 | "key": "TestTemperature", |
| 6175 | "value": { |
| 6176 | "key": "TestTemperature", |
| 6177 | "fieldSchemaKey": { |
| 6178 | "name": "TestTemperature", |
| 6179 | "version": "0.0.1" |
| 6180 | }, |
| 6181 | "optional": false |
| 6182 | } |
| 6183 | }, |
| 6184 | { |
| 6185 | "key": "TestTimestamp", |
| 6186 | "value": { |
| 6187 | "key": "TestTimestamp", |
| 6188 | "fieldSchemaKey": { |
| 6189 | "name": "TestTimestamp", |
| 6190 | "version": "0.0.1" |
| 6191 | }, |
| 6192 | "optional": false |
| 6193 | } |
| 6194 | } |
| 6195 | ] |
| 6196 | } |
| 6197 | } |
| 6198 | }, |
| 6199 | { |
| 6200 | "key": { |
| 6201 | "name": "Event0003", |
| 6202 | "version": "0.0.1" |
| 6203 | }, |
| 6204 | "value": { |
| 6205 | "key": { |
| 6206 | "name": "Event0003", |
| 6207 | "version": "0.0.1" |
| 6208 | }, |
| 6209 | "nameSpace": "org.onap.policy.apex.sample.events", |
| 6210 | "source": "Decide", |
| 6211 | "target": "Act", |
| 6212 | "parameter": { |
| 6213 | "entry": [ |
| 6214 | { |
| 6215 | "key": "TestDecideCaseSelected", |
| 6216 | "value": { |
| 6217 | "key": "TestDecideCaseSelected", |
| 6218 | "fieldSchemaKey": { |
| 6219 | "name": "TestCase", |
| 6220 | "version": "0.0.1" |
| 6221 | }, |
| 6222 | "optional": false |
| 6223 | } |
| 6224 | }, |
| 6225 | { |
| 6226 | "key": "TestDecideStateTime", |
| 6227 | "value": { |
| 6228 | "key": "TestDecideStateTime", |
| 6229 | "fieldSchemaKey": { |
| 6230 | "name": "TestTimestamp", |
| 6231 | "version": "0.0.1" |
| 6232 | }, |
| 6233 | "optional": false |
| 6234 | } |
| 6235 | }, |
| 6236 | { |
| 6237 | "key": "TestEstablishCaseSelected", |
| 6238 | "value": { |
| 6239 | "key": "TestEstablishCaseSelected", |
| 6240 | "fieldSchemaKey": { |
| 6241 | "name": "TestCase", |
| 6242 | "version": "0.0.1" |
| 6243 | }, |
| 6244 | "optional": false |
| 6245 | } |
| 6246 | }, |
| 6247 | { |
| 6248 | "key": "TestEstablishStateTime", |
| 6249 | "value": { |
| 6250 | "key": "TestEstablishStateTime", |
| 6251 | "fieldSchemaKey": { |
| 6252 | "name": "TestTimestamp", |
| 6253 | "version": "0.0.1" |
| 6254 | }, |
| 6255 | "optional": false |
| 6256 | } |
| 6257 | }, |
| 6258 | { |
| 6259 | "key": "TestMatchCase", |
| 6260 | "value": { |
| 6261 | "key": "TestMatchCase", |
| 6262 | "fieldSchemaKey": { |
| 6263 | "name": "TestCase", |
| 6264 | "version": "0.0.1" |
| 6265 | }, |
| 6266 | "optional": false |
| 6267 | } |
| 6268 | }, |
| 6269 | { |
| 6270 | "key": "TestMatchCaseSelected", |
| 6271 | "value": { |
| 6272 | "key": "TestMatchCaseSelected", |
| 6273 | "fieldSchemaKey": { |
| 6274 | "name": "TestCase", |
| 6275 | "version": "0.0.1" |
| 6276 | }, |
| 6277 | "optional": false |
| 6278 | } |
| 6279 | }, |
| 6280 | { |
| 6281 | "key": "TestMatchStateTime", |
| 6282 | "value": { |
| 6283 | "key": "TestMatchStateTime", |
| 6284 | "fieldSchemaKey": { |
| 6285 | "name": "TestTimestamp", |
| 6286 | "version": "0.0.1" |
| 6287 | }, |
| 6288 | "optional": false |
| 6289 | } |
| 6290 | }, |
| 6291 | { |
| 6292 | "key": "TestSlogan", |
| 6293 | "value": { |
| 6294 | "key": "TestSlogan", |
| 6295 | "fieldSchemaKey": { |
| 6296 | "name": "TestSlogan", |
| 6297 | "version": "0.0.1" |
| 6298 | }, |
| 6299 | "optional": false |
| 6300 | } |
| 6301 | }, |
| 6302 | { |
| 6303 | "key": "TestTemperature", |
| 6304 | "value": { |
| 6305 | "key": "TestTemperature", |
| 6306 | "fieldSchemaKey": { |
| 6307 | "name": "TestTemperature", |
| 6308 | "version": "0.0.1" |
| 6309 | }, |
| 6310 | "optional": false |
| 6311 | } |
| 6312 | }, |
| 6313 | { |
| 6314 | "key": "TestTimestamp", |
| 6315 | "value": { |
| 6316 | "key": "TestTimestamp", |
| 6317 | "fieldSchemaKey": { |
| 6318 | "name": "TestTimestamp", |
| 6319 | "version": "0.0.1" |
| 6320 | }, |
| 6321 | "optional": false |
| 6322 | } |
| 6323 | } |
| 6324 | ] |
| 6325 | } |
| 6326 | } |
| 6327 | }, |
| 6328 | { |
| 6329 | "key": { |
| 6330 | "name": "Event0004", |
| 6331 | "version": "0.0.1" |
| 6332 | }, |
| 6333 | "value": { |
| 6334 | "key": { |
| 6335 | "name": "Event0004", |
| 6336 | "version": "0.0.1" |
| 6337 | }, |
| 6338 | "nameSpace": "org.onap.policy.apex.sample.events", |
| 6339 | "source": "Act", |
| 6340 | "target": "Outside", |
| 6341 | "parameter": { |
| 6342 | "entry": [ |
| 6343 | { |
| 6344 | "key": "TestActCaseSelected", |
| 6345 | "value": { |
| 6346 | "key": "TestActCaseSelected", |
| 6347 | "fieldSchemaKey": { |
| 6348 | "name": "TestCase", |
| 6349 | "version": "0.0.1" |
| 6350 | }, |
| 6351 | "optional": false |
| 6352 | } |
| 6353 | }, |
| 6354 | { |
| 6355 | "key": "TestActStateTime", |
| 6356 | "value": { |
| 6357 | "key": "TestActStateTime", |
| 6358 | "fieldSchemaKey": { |
| 6359 | "name": "TestTimestamp", |
| 6360 | "version": "0.0.1" |
| 6361 | }, |
| 6362 | "optional": false |
| 6363 | } |
| 6364 | }, |
| 6365 | { |
| 6366 | "key": "TestDecideCaseSelected", |
| 6367 | "value": { |
| 6368 | "key": "TestDecideCaseSelected", |
| 6369 | "fieldSchemaKey": { |
| 6370 | "name": "TestCase", |
| 6371 | "version": "0.0.1" |
| 6372 | }, |
| 6373 | "optional": false |
| 6374 | } |
| 6375 | }, |
| 6376 | { |
| 6377 | "key": "TestDecideStateTime", |
| 6378 | "value": { |
| 6379 | "key": "TestDecideStateTime", |
| 6380 | "fieldSchemaKey": { |
| 6381 | "name": "TestTimestamp", |
| 6382 | "version": "0.0.1" |
| 6383 | }, |
| 6384 | "optional": false |
| 6385 | } |
| 6386 | }, |
| 6387 | { |
| 6388 | "key": "TestEstablishCaseSelected", |
| 6389 | "value": { |
| 6390 | "key": "TestEstablishCaseSelected", |
| 6391 | "fieldSchemaKey": { |
| 6392 | "name": "TestCase", |
| 6393 | "version": "0.0.1" |
| 6394 | }, |
| 6395 | "optional": false |
| 6396 | } |
| 6397 | }, |
| 6398 | { |
| 6399 | "key": "TestEstablishStateTime", |
| 6400 | "value": { |
| 6401 | "key": "TestEstablishStateTime", |
| 6402 | "fieldSchemaKey": { |
| 6403 | "name": "TestTimestamp", |
| 6404 | "version": "0.0.1" |
| 6405 | }, |
| 6406 | "optional": false |
| 6407 | } |
| 6408 | }, |
| 6409 | { |
| 6410 | "key": "TestMatchCase", |
| 6411 | "value": { |
| 6412 | "key": "TestMatchCase", |
| 6413 | "fieldSchemaKey": { |
| 6414 | "name": "TestCase", |
| 6415 | "version": "0.0.1" |
| 6416 | }, |
| 6417 | "optional": false |
| 6418 | } |
| 6419 | }, |
| 6420 | { |
| 6421 | "key": "TestMatchCaseSelected", |
| 6422 | "value": { |
| 6423 | "key": "TestMatchCaseSelected", |
| 6424 | "fieldSchemaKey": { |
| 6425 | "name": "TestCase", |
| 6426 | "version": "0.0.1" |
| 6427 | }, |
| 6428 | "optional": false |
| 6429 | } |
| 6430 | }, |
| 6431 | { |
| 6432 | "key": "TestMatchStateTime", |
| 6433 | "value": { |
| 6434 | "key": "TestMatchStateTime", |
| 6435 | "fieldSchemaKey": { |
| 6436 | "name": "TestTimestamp", |
| 6437 | "version": "0.0.1" |
| 6438 | }, |
| 6439 | "optional": false |
| 6440 | } |
| 6441 | }, |
| 6442 | { |
| 6443 | "key": "TestSlogan", |
| 6444 | "value": { |
| 6445 | "key": "TestSlogan", |
| 6446 | "fieldSchemaKey": { |
| 6447 | "name": "TestSlogan", |
| 6448 | "version": "0.0.1" |
| 6449 | }, |
| 6450 | "optional": false |
| 6451 | } |
| 6452 | }, |
| 6453 | { |
| 6454 | "key": "TestTemperature", |
| 6455 | "value": { |
| 6456 | "key": "TestTemperature", |
| 6457 | "fieldSchemaKey": { |
| 6458 | "name": "TestTemperature", |
| 6459 | "version": "0.0.1" |
| 6460 | }, |
| 6461 | "optional": false |
| 6462 | } |
| 6463 | }, |
| 6464 | { |
| 6465 | "key": "TestTimestamp", |
| 6466 | "value": { |
| 6467 | "key": "TestTimestamp", |
| 6468 | "fieldSchemaKey": { |
| 6469 | "name": "TestTimestamp", |
| 6470 | "version": "0.0.1" |
| 6471 | }, |
| 6472 | "optional": false |
| 6473 | } |
| 6474 | } |
| 6475 | ] |
| 6476 | } |
| 6477 | } |
| 6478 | }, |
| 6479 | { |
| 6480 | "key": { |
| 6481 | "name": "Event0100", |
| 6482 | "version": "0.0.1" |
| 6483 | }, |
| 6484 | "value": { |
| 6485 | "key": { |
| 6486 | "name": "Event0100", |
| 6487 | "version": "0.0.1" |
| 6488 | }, |
| 6489 | "nameSpace": "org.onap.policy.apex.sample.events", |
| 6490 | "source": "Outside", |
| 6491 | "target": "Match", |
| 6492 | "parameter": { |
| 6493 | "entry": [ |
| 6494 | { |
| 6495 | "key": "TestMatchCase", |
| 6496 | "value": { |
| 6497 | "key": "TestMatchCase", |
| 6498 | "fieldSchemaKey": { |
| 6499 | "name": "TestCase", |
| 6500 | "version": "0.0.1" |
| 6501 | }, |
| 6502 | "optional": false |
| 6503 | } |
| 6504 | }, |
| 6505 | { |
| 6506 | "key": "TestSlogan", |
| 6507 | "value": { |
| 6508 | "key": "TestSlogan", |
| 6509 | "fieldSchemaKey": { |
| 6510 | "name": "TestSlogan", |
| 6511 | "version": "0.0.1" |
| 6512 | }, |
| 6513 | "optional": false |
| 6514 | } |
| 6515 | }, |
| 6516 | { |
| 6517 | "key": "TestTemperature", |
| 6518 | "value": { |
| 6519 | "key": "TestTemperature", |
| 6520 | "fieldSchemaKey": { |
| 6521 | "name": "TestTemperature", |
| 6522 | "version": "0.0.1" |
| 6523 | }, |
| 6524 | "optional": false |
| 6525 | } |
| 6526 | }, |
| 6527 | { |
| 6528 | "key": "TestTimestamp", |
| 6529 | "value": { |
| 6530 | "key": "TestTimestamp", |
| 6531 | "fieldSchemaKey": { |
| 6532 | "name": "TestTimestamp", |
| 6533 | "version": "0.0.1" |
| 6534 | }, |
| 6535 | "optional": false |
| 6536 | } |
| 6537 | } |
| 6538 | ] |
| 6539 | } |
| 6540 | } |
| 6541 | }, |
| 6542 | { |
| 6543 | "key": { |
| 6544 | "name": "Event0101", |
| 6545 | "version": "0.0.1" |
| 6546 | }, |
| 6547 | "value": { |
| 6548 | "key": { |
| 6549 | "name": "Event0101", |
| 6550 | "version": "0.0.1" |
| 6551 | }, |
| 6552 | "nameSpace": "org.onap.policy.apex.sample.events", |
| 6553 | "source": "Match", |
| 6554 | "target": "Establish", |
| 6555 | "parameter": { |
| 6556 | "entry": [ |
| 6557 | { |
| 6558 | "key": "TestMatchCase", |
| 6559 | "value": { |
| 6560 | "key": "TestMatchCase", |
| 6561 | "fieldSchemaKey": { |
| 6562 | "name": "TestCase", |
| 6563 | "version": "0.0.1" |
| 6564 | }, |
| 6565 | "optional": false |
| 6566 | } |
| 6567 | }, |
| 6568 | { |
| 6569 | "key": "TestMatchCaseSelected", |
| 6570 | "value": { |
| 6571 | "key": "TestMatchCaseSelected", |
| 6572 | "fieldSchemaKey": { |
| 6573 | "name": "TestCase", |
| 6574 | "version": "0.0.1" |
| 6575 | }, |
| 6576 | "optional": false |
| 6577 | } |
| 6578 | }, |
| 6579 | { |
| 6580 | "key": "TestMatchStateTime", |
| 6581 | "value": { |
| 6582 | "key": "TestMatchStateTime", |
| 6583 | "fieldSchemaKey": { |
| 6584 | "name": "TestTimestamp", |
| 6585 | "version": "0.0.1" |
| 6586 | }, |
| 6587 | "optional": false |
| 6588 | } |
| 6589 | }, |
| 6590 | { |
| 6591 | "key": "TestSlogan", |
| 6592 | "value": { |
| 6593 | "key": "TestSlogan", |
| 6594 | "fieldSchemaKey": { |
| 6595 | "name": "TestSlogan", |
| 6596 | "version": "0.0.1" |
| 6597 | }, |
| 6598 | "optional": false |
| 6599 | } |
| 6600 | }, |
| 6601 | { |
| 6602 | "key": "TestTemperature", |
| 6603 | "value": { |
| 6604 | "key": "TestTemperature", |
| 6605 | "fieldSchemaKey": { |
| 6606 | "name": "TestTemperature", |
| 6607 | "version": "0.0.1" |
| 6608 | }, |
| 6609 | "optional": false |
| 6610 | } |
| 6611 | }, |
| 6612 | { |
| 6613 | "key": "TestTimestamp", |
| 6614 | "value": { |
| 6615 | "key": "TestTimestamp", |
| 6616 | "fieldSchemaKey": { |
| 6617 | "name": "TestTimestamp", |
| 6618 | "version": "0.0.1" |
| 6619 | }, |
| 6620 | "optional": false |
| 6621 | } |
| 6622 | } |
| 6623 | ] |
| 6624 | } |
| 6625 | } |
| 6626 | }, |
| 6627 | { |
| 6628 | "key": { |
| 6629 | "name": "Event0102", |
| 6630 | "version": "0.0.1" |
| 6631 | }, |
| 6632 | "value": { |
| 6633 | "key": { |
| 6634 | "name": "Event0102", |
| 6635 | "version": "0.0.1" |
| 6636 | }, |
| 6637 | "nameSpace": "org.onap.policy.apex.sample.events", |
| 6638 | "source": "Establish", |
| 6639 | "target": "Decide", |
| 6640 | "parameter": { |
| 6641 | "entry": [ |
| 6642 | { |
| 6643 | "key": "TestEstablishCaseSelected", |
| 6644 | "value": { |
| 6645 | "key": "TestEstablishCaseSelected", |
| 6646 | "fieldSchemaKey": { |
| 6647 | "name": "TestCase", |
| 6648 | "version": "0.0.1" |
| 6649 | }, |
| 6650 | "optional": false |
| 6651 | } |
| 6652 | }, |
| 6653 | { |
| 6654 | "key": "TestEstablishStateTime", |
| 6655 | "value": { |
| 6656 | "key": "TestEstablishStateTime", |
| 6657 | "fieldSchemaKey": { |
| 6658 | "name": "TestTimestamp", |
| 6659 | "version": "0.0.1" |
| 6660 | }, |
| 6661 | "optional": false |
| 6662 | } |
| 6663 | }, |
| 6664 | { |
| 6665 | "key": "TestMatchCase", |
| 6666 | "value": { |
| 6667 | "key": "TestMatchCase", |
| 6668 | "fieldSchemaKey": { |
| 6669 | "name": "TestCase", |
| 6670 | "version": "0.0.1" |
| 6671 | }, |
| 6672 | "optional": false |
| 6673 | } |
| 6674 | }, |
| 6675 | { |
| 6676 | "key": "TestMatchCaseSelected", |
| 6677 | "value": { |
| 6678 | "key": "TestMatchCaseSelected", |
| 6679 | "fieldSchemaKey": { |
| 6680 | "name": "TestCase", |
| 6681 | "version": "0.0.1" |
| 6682 | }, |
| 6683 | "optional": false |
| 6684 | } |
| 6685 | }, |
| 6686 | { |
| 6687 | "key": "TestMatchStateTime", |
| 6688 | "value": { |
| 6689 | "key": "TestMatchStateTime", |
| 6690 | "fieldSchemaKey": { |
| 6691 | "name": "TestTimestamp", |
| 6692 | "version": "0.0.1" |
| 6693 | }, |
| 6694 | "optional": false |
| 6695 | } |
| 6696 | }, |
| 6697 | { |
| 6698 | "key": "TestSlogan", |
| 6699 | "value": { |
| 6700 | "key": "TestSlogan", |
| 6701 | "fieldSchemaKey": { |
| 6702 | "name": "TestSlogan", |
| 6703 | "version": "0.0.1" |
| 6704 | }, |
| 6705 | "optional": false |
| 6706 | } |
| 6707 | }, |
| 6708 | { |
| 6709 | "key": "TestTemperature", |
| 6710 | "value": { |
| 6711 | "key": "TestTemperature", |
| 6712 | "fieldSchemaKey": { |
| 6713 | "name": "TestTemperature", |
| 6714 | "version": "0.0.1" |
| 6715 | }, |
| 6716 | "optional": false |
| 6717 | } |
| 6718 | }, |
| 6719 | { |
| 6720 | "key": "TestTimestamp", |
| 6721 | "value": { |
| 6722 | "key": "TestTimestamp", |
| 6723 | "fieldSchemaKey": { |
| 6724 | "name": "TestTimestamp", |
| 6725 | "version": "0.0.1" |
| 6726 | }, |
| 6727 | "optional": false |
| 6728 | } |
| 6729 | } |
| 6730 | ] |
| 6731 | } |
| 6732 | } |
| 6733 | }, |
| 6734 | { |
| 6735 | "key": { |
| 6736 | "name": "Event0103", |
| 6737 | "version": "0.0.1" |
| 6738 | }, |
| 6739 | "value": { |
| 6740 | "key": { |
| 6741 | "name": "Event0103", |
| 6742 | "version": "0.0.1" |
| 6743 | }, |
| 6744 | "nameSpace": "org.onap.policy.apex.sample.events", |
| 6745 | "source": "Decide", |
| 6746 | "target": "Act", |
| 6747 | "parameter": { |
| 6748 | "entry": [ |
| 6749 | { |
| 6750 | "key": "TestDecideCaseSelected", |
| 6751 | "value": { |
| 6752 | "key": "TestDecideCaseSelected", |
| 6753 | "fieldSchemaKey": { |
| 6754 | "name": "TestCase", |
| 6755 | "version": "0.0.1" |
| 6756 | }, |
| 6757 | "optional": false |
| 6758 | } |
| 6759 | }, |
| 6760 | { |
| 6761 | "key": "TestDecideStateTime", |
| 6762 | "value": { |
| 6763 | "key": "TestDecideStateTime", |
| 6764 | "fieldSchemaKey": { |
| 6765 | "name": "TestTimestamp", |
| 6766 | "version": "0.0.1" |
| 6767 | }, |
| 6768 | "optional": false |
| 6769 | } |
| 6770 | }, |
| 6771 | { |
| 6772 | "key": "TestEstablishCaseSelected", |
| 6773 | "value": { |
| 6774 | "key": "TestEstablishCaseSelected", |
| 6775 | "fieldSchemaKey": { |
| 6776 | "name": "TestCase", |
| 6777 | "version": "0.0.1" |
| 6778 | }, |
| 6779 | "optional": false |
| 6780 | } |
| 6781 | }, |
| 6782 | { |
| 6783 | "key": "TestEstablishStateTime", |
| 6784 | "value": { |
| 6785 | "key": "TestEstablishStateTime", |
| 6786 | "fieldSchemaKey": { |
| 6787 | "name": "TestTimestamp", |
| 6788 | "version": "0.0.1" |
| 6789 | }, |
| 6790 | "optional": false |
| 6791 | } |
| 6792 | }, |
| 6793 | { |
| 6794 | "key": "TestMatchCase", |
| 6795 | "value": { |
| 6796 | "key": "TestMatchCase", |
| 6797 | "fieldSchemaKey": { |
| 6798 | "name": "TestCase", |
| 6799 | "version": "0.0.1" |
| 6800 | }, |
| 6801 | "optional": false |
| 6802 | } |
| 6803 | }, |
| 6804 | { |
| 6805 | "key": "TestMatchCaseSelected", |
| 6806 | "value": { |
| 6807 | "key": "TestMatchCaseSelected", |
| 6808 | "fieldSchemaKey": { |
| 6809 | "name": "TestCase", |
| 6810 | "version": "0.0.1" |
| 6811 | }, |
| 6812 | "optional": false |
| 6813 | } |
| 6814 | }, |
| 6815 | { |
| 6816 | "key": "TestMatchStateTime", |
| 6817 | "value": { |
| 6818 | "key": "TestMatchStateTime", |
| 6819 | "fieldSchemaKey": { |
| 6820 | "name": "TestTimestamp", |
| 6821 | "version": "0.0.1" |
| 6822 | }, |
| 6823 | "optional": false |
| 6824 | } |
| 6825 | }, |
| 6826 | { |
| 6827 | "key": "TestSlogan", |
| 6828 | "value": { |
| 6829 | "key": "TestSlogan", |
| 6830 | "fieldSchemaKey": { |
| 6831 | "name": "TestSlogan", |
| 6832 | "version": "0.0.1" |
| 6833 | }, |
| 6834 | "optional": false |
| 6835 | } |
| 6836 | }, |
| 6837 | { |
| 6838 | "key": "TestTemperature", |
| 6839 | "value": { |
| 6840 | "key": "TestTemperature", |
| 6841 | "fieldSchemaKey": { |
| 6842 | "name": "TestTemperature", |
| 6843 | "version": "0.0.1" |
| 6844 | }, |
| 6845 | "optional": false |
| 6846 | } |
| 6847 | }, |
| 6848 | { |
| 6849 | "key": "TestTimestamp", |
| 6850 | "value": { |
| 6851 | "key": "TestTimestamp", |
| 6852 | "fieldSchemaKey": { |
| 6853 | "name": "TestTimestamp", |
| 6854 | "version": "0.0.1" |
| 6855 | }, |
| 6856 | "optional": false |
| 6857 | } |
| 6858 | } |
| 6859 | ] |
| 6860 | } |
| 6861 | } |
| 6862 | }, |
| 6863 | { |
| 6864 | "key": { |
| 6865 | "name": "Event0104", |
| 6866 | "version": "0.0.1" |
| 6867 | }, |
| 6868 | "value": { |
| 6869 | "key": { |
| 6870 | "name": "Event0104", |
| 6871 | "version": "0.0.1" |
| 6872 | }, |
| 6873 | "nameSpace": "org.onap.policy.apex.sample.events", |
| 6874 | "source": "Act", |
| 6875 | "target": "Outside", |
| 6876 | "parameter": { |
| 6877 | "entry": [ |
| 6878 | { |
| 6879 | "key": "TestActCaseSelected", |
| 6880 | "value": { |
| 6881 | "key": "TestActCaseSelected", |
| 6882 | "fieldSchemaKey": { |
| 6883 | "name": "TestCase", |
| 6884 | "version": "0.0.1" |
| 6885 | }, |
| 6886 | "optional": false |
| 6887 | } |
| 6888 | }, |
| 6889 | { |
| 6890 | "key": "TestActStateTime", |
| 6891 | "value": { |
| 6892 | "key": "TestActStateTime", |
| 6893 | "fieldSchemaKey": { |
| 6894 | "name": "TestTimestamp", |
| 6895 | "version": "0.0.1" |
| 6896 | }, |
| 6897 | "optional": false |
| 6898 | } |
| 6899 | }, |
| 6900 | { |
| 6901 | "key": "TestDecideCaseSelected", |
| 6902 | "value": { |
| 6903 | "key": "TestDecideCaseSelected", |
| 6904 | "fieldSchemaKey": { |
| 6905 | "name": "TestCase", |
| 6906 | "version": "0.0.1" |
| 6907 | }, |
| 6908 | "optional": false |
| 6909 | } |
| 6910 | }, |
| 6911 | { |
| 6912 | "key": "TestDecideStateTime", |
| 6913 | "value": { |
| 6914 | "key": "TestDecideStateTime", |
| 6915 | "fieldSchemaKey": { |
| 6916 | "name": "TestTimestamp", |
| 6917 | "version": "0.0.1" |
| 6918 | }, |
| 6919 | "optional": false |
| 6920 | } |
| 6921 | }, |
| 6922 | { |
| 6923 | "key": "TestEstablishCaseSelected", |
| 6924 | "value": { |
| 6925 | "key": "TestEstablishCaseSelected", |
| 6926 | "fieldSchemaKey": { |
| 6927 | "name": "TestCase", |
| 6928 | "version": "0.0.1" |
| 6929 | }, |
| 6930 | "optional": false |
| 6931 | } |
| 6932 | }, |
| 6933 | { |
| 6934 | "key": "TestEstablishStateTime", |
| 6935 | "value": { |
| 6936 | "key": "TestEstablishStateTime", |
| 6937 | "fieldSchemaKey": { |
| 6938 | "name": "TestTimestamp", |
| 6939 | "version": "0.0.1" |
| 6940 | }, |
| 6941 | "optional": false |
| 6942 | } |
| 6943 | }, |
| 6944 | { |
| 6945 | "key": "TestMatchCase", |
| 6946 | "value": { |
| 6947 | "key": "TestMatchCase", |
| 6948 | "fieldSchemaKey": { |
| 6949 | "name": "TestCase", |
| 6950 | "version": "0.0.1" |
| 6951 | }, |
| 6952 | "optional": false |
| 6953 | } |
| 6954 | }, |
| 6955 | { |
| 6956 | "key": "TestMatchCaseSelected", |
| 6957 | "value": { |
| 6958 | "key": "TestMatchCaseSelected", |
| 6959 | "fieldSchemaKey": { |
| 6960 | "name": "TestCase", |
| 6961 | "version": "0.0.1" |
| 6962 | }, |
| 6963 | "optional": false |
| 6964 | } |
| 6965 | }, |
| 6966 | { |
| 6967 | "key": "TestMatchStateTime", |
| 6968 | "value": { |
| 6969 | "key": "TestMatchStateTime", |
| 6970 | "fieldSchemaKey": { |
| 6971 | "name": "TestTimestamp", |
| 6972 | "version": "0.0.1" |
| 6973 | }, |
| 6974 | "optional": false |
| 6975 | } |
| 6976 | }, |
| 6977 | { |
| 6978 | "key": "TestSlogan", |
| 6979 | "value": { |
| 6980 | "key": "TestSlogan", |
| 6981 | "fieldSchemaKey": { |
| 6982 | "name": "TestSlogan", |
| 6983 | "version": "0.0.1" |
| 6984 | }, |
| 6985 | "optional": false |
| 6986 | } |
| 6987 | }, |
| 6988 | { |
| 6989 | "key": "TestTemperature", |
| 6990 | "value": { |
| 6991 | "key": "TestTemperature", |
| 6992 | "fieldSchemaKey": { |
| 6993 | "name": "TestTemperature", |
| 6994 | "version": "0.0.1" |
| 6995 | }, |
| 6996 | "optional": false |
| 6997 | } |
| 6998 | }, |
| 6999 | { |
| 7000 | "key": "TestTimestamp", |
| 7001 | "value": { |
| 7002 | "key": "TestTimestamp", |
| 7003 | "fieldSchemaKey": { |
| 7004 | "name": "TestTimestamp", |
| 7005 | "version": "0.0.1" |
| 7006 | }, |
| 7007 | "optional": false |
| 7008 | } |
| 7009 | } |
| 7010 | ] |
| 7011 | } |
| 7012 | } |
| 7013 | } |
| 7014 | ] |
| 7015 | } |
| 7016 | }, |
| 7017 | "albums": { |
| 7018 | "key": { |
| 7019 | "name": "Context", |
| 7020 | "version": "0.0.1" |
| 7021 | }, |
| 7022 | "albums": { |
| 7023 | "entry": [ |
| 7024 | { |
| 7025 | "key": { |
| 7026 | "name": "ExternalContextAlbum", |
| 7027 | "version": "0.0.1" |
| 7028 | }, |
| 7029 | "value": { |
| 7030 | "key": { |
| 7031 | "name": "ExternalContextAlbum", |
| 7032 | "version": "0.0.1" |
| 7033 | }, |
| 7034 | "scope": "EXTERNAL", |
| 7035 | "isWritable": false, |
| 7036 | "itemSchema": { |
| 7037 | "name": "TestExternalContextItem", |
| 7038 | "version": "0.0.1" |
| 7039 | } |
| 7040 | } |
| 7041 | }, |
| 7042 | { |
| 7043 | "key": { |
| 7044 | "name": "GlobalContextAlbum", |
| 7045 | "version": "0.0.1" |
| 7046 | }, |
| 7047 | "value": { |
| 7048 | "key": { |
| 7049 | "name": "GlobalContextAlbum", |
| 7050 | "version": "0.0.1" |
| 7051 | }, |
| 7052 | "scope": "GLOBAL", |
| 7053 | "isWritable": true, |
| 7054 | "itemSchema": { |
| 7055 | "name": "TestGlobalContextItem", |
| 7056 | "version": "0.0.1" |
| 7057 | } |
| 7058 | } |
| 7059 | }, |
| 7060 | { |
| 7061 | "key": { |
| 7062 | "name": "Policy0ContextAlbum", |
| 7063 | "version": "0.0.1" |
| 7064 | }, |
| 7065 | "value": { |
| 7066 | "key": { |
| 7067 | "name": "Policy0ContextAlbum", |
| 7068 | "version": "0.0.1" |
| 7069 | }, |
| 7070 | "scope": "APPLICATION", |
| 7071 | "isWritable": true, |
| 7072 | "itemSchema": { |
| 7073 | "name": "TestPolicyContextItem", |
| 7074 | "version": "0.0.1" |
| 7075 | } |
| 7076 | } |
| 7077 | }, |
| 7078 | { |
| 7079 | "key": { |
| 7080 | "name": "Policy1ContextAlbum", |
| 7081 | "version": "0.0.1" |
| 7082 | }, |
| 7083 | "value": { |
| 7084 | "key": { |
| 7085 | "name": "Policy1ContextAlbum", |
| 7086 | "version": "0.0.1" |
| 7087 | }, |
| 7088 | "scope": "APPLICATION", |
| 7089 | "isWritable": true, |
| 7090 | "itemSchema": { |
| 7091 | "name": "TestPolicyContextItem", |
| 7092 | "version": "0.0.1" |
| 7093 | } |
| 7094 | } |
| 7095 | } |
| 7096 | ] |
| 7097 | } |
| 7098 | }, |
| 7099 | "schemas": { |
| 7100 | "key": { |
| 7101 | "name": "TestDatatypes", |
| 7102 | "version": "0.0.1" |
| 7103 | }, |
| 7104 | "schemas": { |
| 7105 | "entry": [ |
| 7106 | { |
| 7107 | "key": { |
| 7108 | "name": "TestCase", |
| 7109 | "version": "0.0.1" |
| 7110 | }, |
| 7111 | "value": { |
| 7112 | "key": { |
| 7113 | "name": "TestCase", |
| 7114 | "version": "0.0.1" |
| 7115 | }, |
| 7116 | "schemaFlavour": "Java", |
| 7117 | "schemaDefinition": "java.lang.Byte" |
| 7118 | } |
| 7119 | }, |
| 7120 | { |
| 7121 | "key": { |
| 7122 | "name": "TestContextItem000", |
| 7123 | "version": "0.0.1" |
| 7124 | }, |
| 7125 | "value": { |
| 7126 | "key": { |
| 7127 | "name": "TestContextItem000", |
| 7128 | "version": "0.0.1" |
| 7129 | }, |
| 7130 | "schemaFlavour": "Java", |
| 7131 | "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem000" |
| 7132 | } |
| 7133 | }, |
| 7134 | { |
| 7135 | "key": { |
| 7136 | "name": "TestContextItem001", |
| 7137 | "version": "0.0.1" |
| 7138 | }, |
| 7139 | "value": { |
| 7140 | "key": { |
| 7141 | "name": "TestContextItem001", |
| 7142 | "version": "0.0.1" |
| 7143 | }, |
| 7144 | "schemaFlavour": "Java", |
| 7145 | "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem001" |
| 7146 | } |
| 7147 | }, |
| 7148 | { |
| 7149 | "key": { |
| 7150 | "name": "TestContextItem002", |
| 7151 | "version": "0.0.1" |
| 7152 | }, |
| 7153 | "value": { |
| 7154 | "key": { |
| 7155 | "name": "TestContextItem002", |
| 7156 | "version": "0.0.1" |
| 7157 | }, |
| 7158 | "schemaFlavour": "Java", |
| 7159 | "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem002" |
| 7160 | } |
| 7161 | }, |
| 7162 | { |
| 7163 | "key": { |
| 7164 | "name": "TestContextItem003", |
| 7165 | "version": "0.0.1" |
| 7166 | }, |
| 7167 | "value": { |
| 7168 | "key": { |
| 7169 | "name": "TestContextItem003", |
| 7170 | "version": "0.0.1" |
| 7171 | }, |
| 7172 | "schemaFlavour": "Java", |
| 7173 | "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem003" |
| 7174 | } |
| 7175 | }, |
| 7176 | { |
| 7177 | "key": { |
| 7178 | "name": "TestContextItem004", |
| 7179 | "version": "0.0.1" |
| 7180 | }, |
| 7181 | "value": { |
| 7182 | "key": { |
| 7183 | "name": "TestContextItem004", |
| 7184 | "version": "0.0.1" |
| 7185 | }, |
| 7186 | "schemaFlavour": "Java", |
| 7187 | "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem004" |
| 7188 | } |
| 7189 | }, |
| 7190 | { |
| 7191 | "key": { |
| 7192 | "name": "TestContextItem005", |
| 7193 | "version": "0.0.1" |
| 7194 | }, |
| 7195 | "value": { |
| 7196 | "key": { |
| 7197 | "name": "TestContextItem005", |
| 7198 | "version": "0.0.1" |
| 7199 | }, |
| 7200 | "schemaFlavour": "Java", |
| 7201 | "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem005" |
| 7202 | } |
| 7203 | }, |
| 7204 | { |
| 7205 | "key": { |
| 7206 | "name": "TestContextItem006", |
| 7207 | "version": "0.0.1" |
| 7208 | }, |
| 7209 | "value": { |
| 7210 | "key": { |
| 7211 | "name": "TestContextItem006", |
| 7212 | "version": "0.0.1" |
| 7213 | }, |
| 7214 | "schemaFlavour": "Java", |
| 7215 | "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem006" |
| 7216 | } |
| 7217 | }, |
| 7218 | { |
| 7219 | "key": { |
| 7220 | "name": "TestContextItem007", |
| 7221 | "version": "0.0.1" |
| 7222 | }, |
| 7223 | "value": { |
| 7224 | "key": { |
| 7225 | "name": "TestContextItem007", |
| 7226 | "version": "0.0.1" |
| 7227 | }, |
| 7228 | "schemaFlavour": "Java", |
| 7229 | "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem007" |
| 7230 | } |
| 7231 | }, |
| 7232 | { |
| 7233 | "key": { |
| 7234 | "name": "TestContextItem008", |
| 7235 | "version": "0.0.1" |
| 7236 | }, |
| 7237 | "value": { |
| 7238 | "key": { |
| 7239 | "name": "TestContextItem008", |
| 7240 | "version": "0.0.1" |
| 7241 | }, |
| 7242 | "schemaFlavour": "Java", |
| 7243 | "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem008" |
| 7244 | } |
| 7245 | }, |
| 7246 | { |
| 7247 | "key": { |
| 7248 | "name": "TestContextItem009", |
| 7249 | "version": "0.0.1" |
| 7250 | }, |
| 7251 | "value": { |
| 7252 | "key": { |
| 7253 | "name": "TestContextItem009", |
| 7254 | "version": "0.0.1" |
| 7255 | }, |
| 7256 | "schemaFlavour": "Java", |
| 7257 | "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem009" |
| 7258 | } |
| 7259 | }, |
| 7260 | { |
| 7261 | "key": { |
| 7262 | "name": "TestContextItem00A", |
| 7263 | "version": "0.0.1" |
| 7264 | }, |
| 7265 | "value": { |
| 7266 | "key": { |
| 7267 | "name": "TestContextItem00A", |
| 7268 | "version": "0.0.1" |
| 7269 | }, |
| 7270 | "schemaFlavour": "Java", |
| 7271 | "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem00A" |
| 7272 | } |
| 7273 | }, |
| 7274 | { |
| 7275 | "key": { |
| 7276 | "name": "TestContextItem00B", |
| 7277 | "version": "0.0.1" |
| 7278 | }, |
| 7279 | "value": { |
| 7280 | "key": { |
| 7281 | "name": "TestContextItem00B", |
| 7282 | "version": "0.0.1" |
| 7283 | }, |
| 7284 | "schemaFlavour": "Java", |
| 7285 | "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem00B" |
| 7286 | } |
| 7287 | }, |
| 7288 | { |
| 7289 | "key": { |
| 7290 | "name": "TestContextItem00C", |
| 7291 | "version": "0.0.1" |
| 7292 | }, |
| 7293 | "value": { |
| 7294 | "key": { |
| 7295 | "name": "TestContextItem00C", |
| 7296 | "version": "0.0.1" |
| 7297 | }, |
| 7298 | "schemaFlavour": "Java", |
| 7299 | "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem00C" |
| 7300 | } |
| 7301 | }, |
| 7302 | { |
| 7303 | "key": { |
| 7304 | "name": "TestExternalContextItem", |
| 7305 | "version": "0.0.1" |
| 7306 | }, |
| 7307 | "value": { |
| 7308 | "key": { |
| 7309 | "name": "TestExternalContextItem", |
| 7310 | "version": "0.0.1" |
| 7311 | }, |
| 7312 | "schemaFlavour": "Java", |
| 7313 | "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestExternalContextItem" |
| 7314 | } |
| 7315 | }, |
| 7316 | { |
| 7317 | "key": { |
| 7318 | "name": "TestGlobalContextItem", |
| 7319 | "version": "0.0.1" |
| 7320 | }, |
| 7321 | "value": { |
| 7322 | "key": { |
| 7323 | "name": "TestGlobalContextItem", |
| 7324 | "version": "0.0.1" |
| 7325 | }, |
| 7326 | "schemaFlavour": "Java", |
| 7327 | "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestGlobalContextItem" |
| 7328 | } |
| 7329 | }, |
| 7330 | { |
| 7331 | "key": { |
| 7332 | "name": "TestPolicyContextItem", |
| 7333 | "version": "0.0.1" |
| 7334 | }, |
| 7335 | "value": { |
| 7336 | "key": { |
| 7337 | "name": "TestPolicyContextItem", |
| 7338 | "version": "0.0.1" |
| 7339 | }, |
| 7340 | "schemaFlavour": "Java", |
| 7341 | "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestPolicyContextItem" |
| 7342 | } |
| 7343 | }, |
| 7344 | { |
| 7345 | "key": { |
| 7346 | "name": "TestSlogan", |
| 7347 | "version": "0.0.1" |
| 7348 | }, |
| 7349 | "value": { |
| 7350 | "key": { |
| 7351 | "name": "TestSlogan", |
| 7352 | "version": "0.0.1" |
| 7353 | }, |
| 7354 | "schemaFlavour": "Java", |
| 7355 | "schemaDefinition": "java.lang.String" |
| 7356 | } |
| 7357 | }, |
| 7358 | { |
| 7359 | "key": { |
| 7360 | "name": "TestTemperature", |
| 7361 | "version": "0.0.1" |
| 7362 | }, |
| 7363 | "value": { |
| 7364 | "key": { |
| 7365 | "name": "TestTemperature", |
| 7366 | "version": "0.0.1" |
| 7367 | }, |
| 7368 | "schemaFlavour": "Java", |
| 7369 | "schemaDefinition": "java.lang.Double" |
| 7370 | } |
| 7371 | }, |
| 7372 | { |
| 7373 | "key": { |
| 7374 | "name": "TestTimestamp", |
| 7375 | "version": "0.0.1" |
| 7376 | }, |
| 7377 | "value": { |
| 7378 | "key": { |
| 7379 | "name": "TestTimestamp", |
| 7380 | "version": "0.0.1" |
| 7381 | }, |
| 7382 | "schemaFlavour": "Java", |
| 7383 | "schemaDefinition": "java.lang.Long" |
| 7384 | } |
| 7385 | } |
| 7386 | ] |
a.sreekumar | 7d80c38 | 2019-05-07 13:36:39 +0000 | [diff] [blame] | 7387 | } |
| 7388 | } |
| 7389 | } |
| 7390 | }, |
a.sreekumar | 61318ad | 2020-01-29 10:17:35 +0000 | [diff] [blame] | 7391 | "engineParameters": { |
| 7392 | "executorParameters": { |
| 7393 | "JAVASCRIPT": { |
| 7394 | "parameterClassName": "org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters" |
| 7395 | } |
a.sreekumar | 7d80c38 | 2019-05-07 13:36:39 +0000 | [diff] [blame] | 7396 | } |
a.sreekumar | 61318ad | 2020-01-29 10:17:35 +0000 | [diff] [blame] | 7397 | } |
| 7398 | }, |
| 7399 | "eventInputParameters": { |
| 7400 | "FirstConsumer": { |
| 7401 | "carrierTechnologyParameters": { |
| 7402 | "carrierTechnology": "RESTSERVER", |
| 7403 | "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters", |
| 7404 | "parameters": { |
| 7405 | "standalone": true, |
| 7406 | "host": "0.0.0.0", |
| 7407 | "port": 23324 |
| 7408 | } |
| 7409 | }, |
| 7410 | "eventProtocolParameters": { |
| 7411 | "eventProtocol": "JSON" |
| 7412 | }, |
| 7413 | "synchronousMode": true, |
| 7414 | "synchronousPeer": "FirstProducer", |
| 7415 | "synchronousTimeout": 2000 |
| 7416 | } |
| 7417 | }, |
| 7418 | "eventOutputParameters": { |
| 7419 | "FirstProducer": { |
| 7420 | "carrierTechnologyParameters": { |
| 7421 | "carrierTechnology": "RESTSERVER", |
| 7422 | "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters" |
| 7423 | }, |
| 7424 | "eventProtocolParameters": { |
| 7425 | "eventProtocol": "JSON" |
| 7426 | }, |
| 7427 | "synchronousMode": true, |
| 7428 | "synchronousPeer": "FirstConsumer", |
| 7429 | "synchronousTimeout": 2000 |
a.sreekumar | 7d80c38 | 2019-05-07 13:36:39 +0000 | [diff] [blame] | 7430 | } |
| 7431 | } |
| 7432 | } |
| 7433 | } |
| 7434 | } |
| 7435 | ] |
| 7436 | } |
a.sreekumar | 61318ad | 2020-01-29 10:17:35 +0000 | [diff] [blame] | 7437 | } |