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