diff options
author | 2018-09-27 14:29:21 +0100 | |
---|---|---|
committer | 2018-09-27 14:29:31 +0100 | |
commit | 2b21188b82e21eb87c4e79a6f31beff9325ab2ea (patch) | |
tree | 4bdb78a8709ddf1956ec1b862deabbe478b1a90d /tools/model-generator/src/test/resources/models/AADMPolicyModel.json | |
parent | 3db2feb37ac427a09790fef1ba637c16c3187ed6 (diff) |
Add unit test for Apex command line tools
THere was no unit test for the command line tools. This
review adds unit test and also fixes a few small bugs that
showed up when uit test was run.
Issue-ID: POLICY-1034
Change-Id: Ic19aacdb168fb5a6faa0cd83ed22ccfcedaa51f5
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
Diffstat (limited to 'tools/model-generator/src/test/resources/models/AADMPolicyModel.json')
-rw-r--r-- | tools/model-generator/src/test/resources/models/AADMPolicyModel.json | 7798 |
1 files changed, 7798 insertions, 0 deletions
diff --git a/tools/model-generator/src/test/resources/models/AADMPolicyModel.json b/tools/model-generator/src/test/resources/models/AADMPolicyModel.json new file mode 100644 index 000000000..b252b7c9f --- /dev/null +++ b/tools/model-generator/src/test/resources/models/AADMPolicyModel.json @@ -0,0 +1,7798 @@ +{ + "apexPolicyModel" : { + "key" : { + "name" : "AADMPolicyModel", + "version" : "0.0.1" + }, + "keyInformation" : { + "key" : { + "name" : "AADMKeyInformation", + "version" : "0.0.1" + }, + "keyInfoMap" : { + "entry" : [ { + "key" : { + "name" : "AADMContext", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AADMContext", + "version" : "0.0.1" + }, + "UUID" : "a8985020-eeb1-34f4-8720-460a4ca6394b", + "description" : "Generated description for concept referred to by key \"AADMContext:0.0.1\"" + } + }, { + "key" : { + "name" : "AADMDatatypes", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AADMDatatypes", + "version" : "0.0.1" + }, + "UUID" : "3e36da83-11b0-356a-b863-33e9bb46190c", + "description" : "Generated description for concept referred to by key \"AADMDatatypes:0.0.1\"" + } + }, { + "key" : { + "name" : "AADMDecideTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AADMDecideTask", + "version" : "0.0.1" + }, + "UUID" : "3a609f60-b8b8-3b8c-8e95-1bafedeedd19", + "description" : "Generated description for concept referred to by key \"AADMDecideTask:0.0.1\"" + } + }, { + "key" : { + "name" : "AADMDoSProvenActTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AADMDoSProvenActTask", + "version" : "0.0.1" + }, + "UUID" : "73d6a38b-6a73-345c-b1e7-6628aaad2822", + "description" : "Generated description for concept referred to by key \"AADMDoSProvenActTask:0.0.1\"" + } + }, { + "key" : { + "name" : "AADMDoSSuggestionActTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AADMDoSSuggestionActTask", + "version" : "0.0.1" + }, + "UUID" : "0f904146-449b-3187-844e-b12a687e20f3", + "description" : "Generated description for concept referred to by key \"AADMDoSSuggestionActTask:0.0.1\"" + } + }, { + "key" : { + "name" : "AADMEstablishTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AADMEstablishTask", + "version" : "0.0.1" + }, + "UUID" : "5ae9425d-8061-37dd-939b-2e74868b0fac", + "description" : "Generated description for concept referred to by key \"AADMEstablishTask:0.0.1\"" + } + }, { + "key" : { + "name" : "AADMEvent", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AADMEvent", + "version" : "0.0.1" + }, + "UUID" : "503c3944-c368-3e05-b8d0-72354fa3668a", + "description" : "Generated description for concept referred to by key \"AADMEvent:0.0.1\"" + } + }, { + "key" : { + "name" : "AADMEvents", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AADMEvents", + "version" : "0.0.1" + }, + "UUID" : "743cc2b1-15fe-30e0-bbf5-7afc291b0852", + "description" : "Generated description for concept referred to by key \"AADMEvents:0.0.1\"" + } + }, { + "key" : { + "name" : "AADMKeyInformation", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AADMKeyInformation", + "version" : "0.0.1" + }, + "UUID" : "623350b2-e709-3022-8005-01bfe29376fd", + "description" : "Generated description for concept referred to by key \"AADMKeyInformation:0.0.1\"" + } + }, { + "key" : { + "name" : "AADMMatchTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AADMMatchTask", + "version" : "0.0.1" + }, + "UUID" : "a94dc4bd-40d6-337f-beb7-c59ffab96f87", + "description" : "Generated description for concept referred to by key \"AADMMatchTask:0.0.1\"" + } + }, { + "key" : { + "name" : "AADMNoActTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AADMNoActTask", + "version" : "0.0.1" + }, + "UUID" : "c517847f-844d-331c-93a4-66e5e4b6ac57", + "description" : "Generated description for concept referred to by key \"AADMNoActTask:0.0.1\"" + } + }, { + "key" : { + "name" : "AADMPolicies", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AADMPolicies", + "version" : "0.0.1" + }, + "UUID" : "03496ff0-07f3-3826-a92b-2505893aa001", + "description" : "Generated description for concept referred to by key \"AADMPolicies:0.0.1\"" + } + }, { + "key" : { + "name" : "AADMPolicy", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AADMPolicy", + "version" : "0.0.1" + }, + "UUID" : "9f2a1c37-bb53-37cc-b57e-6ad408d6fa20", + "description" : "Generated description for concept referred to by key \"AADMPolicy:0.0.1\"" + } + }, { + "key" : { + "name" : "AADMPolicyModel", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AADMPolicyModel", + "version" : "0.0.1" + }, + "UUID" : "596419ba-33de-3ff4-bd88-101639a2ed0f", + "description" : "Generated description for concept referred to by key \"AADMPolicyModel:0.0.1\"" + } + }, { + "key" : { + "name" : "AADMTasks", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AADMTasks", + "version" : "0.0.1" + }, + "UUID" : "6da118c3-27aa-3b90-b2a0-40c8a2c32500", + "description" : "Generated description for concept referred to by key \"AADMTasks:0.0.1\"" + } + }, { + "key" : { + "name" : "ActionTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "ActionTask", + "version" : "0.0.1" + }, + "UUID" : "0037c945-48d2-3738-9568-ddcf6d79f884", + "description" : "Generated description for concept referred to by key \"ActionTask:0.0.1\"" + } + }, { + "key" : { + "name" : "ApplicationName", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "ApplicationName", + "version" : "0.0.1" + }, + "UUID" : "6cb1c3e3-a8d8-3e17-90d8-c052d00b19d3", + "description" : "Generated description for concept referred to by key \"ApplicationName:0.0.1\"" + } + }, { + "key" : { + "name" : "AttachCount", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AttachCount", + "version" : "0.0.1" + }, + "UUID" : "e470b7dc-3f59-388c-9913-76362e5e10f9", + "description" : "Generated description for concept referred to by key \"AttachCount:0.0.1\"" + } + }, { + "key" : { + "name" : "AverageAttach", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AverageAttach", + "version" : "0.0.1" + }, + "UUID" : "0475109a-c7e6-3055-bad9-5e0c2a48d205", + "description" : "Generated description for concept referred to by key \"AverageAttach:0.0.1\"" + } + }, { + "key" : { + "name" : "AverageServiceRequest", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AverageServiceRequest", + "version" : "0.0.1" + }, + "UUID" : "4ce2f826-f494-39bb-9775-46e23838a77e", + "description" : "Generated description for concept referred to by key \"AverageServiceRequest:0.0.1\"" + } + }, { + "key" : { + "name" : "AverageThroughput", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AverageThroughput", + "version" : "0.0.1" + }, + "UUID" : "cbcdc9f1-58ae-3609-a011-1a2e871ebb44", + "description" : "Generated description for concept referred to by key \"AverageThroughput:0.0.1\"" + } + }, { + "key" : { + "name" : "BlacklistOnFlag", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "BlacklistOnFlag", + "version" : "0.0.1" + }, + "UUID" : "db18ea94-6d6a-334f-a3bc-6df1ce80f781", + "description" : "Generated description for concept referred to by key \"BlacklistOnFlag:0.0.1\"" + } + }, { + "key" : { + "name" : "DOSFlag", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "DOSFlag", + "version" : "0.0.1" + }, + "UUID" : "65c3c97a-e77f-390e-8225-defaff11ea1c", + "description" : "Generated description for concept referred to by key \"DOSFlag:0.0.1\"" + } + }, { + "key" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "UUID" : "4ccee428-ecd9-341b-84a3-9627a316a667", + "description" : "Generated description for concept referred to by key \"ENodeBID:0.0.1\"" + } + }, { + "key" : { + "name" : "ENodeBStatus", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "ENodeBStatus", + "version" : "0.0.1" + }, + "UUID" : "daeba341-83c5-36bd-a9f3-1748b3e12d30", + "description" : "Generated description for concept referred to by key \"ENodeBStatus:0.0.1\"" + } + }, { + "key" : { + "name" : "ENodeBStatusAlbum", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "ENodeBStatusAlbum", + "version" : "0.0.1" + }, + "UUID" : "3476bd5a-fa19-3caf-a3ec-e39ca2e18a78", + "description" : "Generated description for concept referred to by key \"ENodeBStatusAlbum:0.0.1\"" + } + }, { + "key" : { + "name" : "HttpHostClass", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "HttpHostClass", + "version" : "0.0.1" + }, + "UUID" : "0af781e1-fb66-39fa-88dd-b2d29167c022", + "description" : "Generated description for concept referred to by key \"HttpHostClass:0.0.1\"" + } + }, { + "key" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "UUID" : "3c4b38c8-de3f-305c-b1cc-39b0c4eeb198", + "description" : "Generated description for concept referred to by key \"IMSI:0.0.1\"" + } + }, { + "key" : { + "name" : "IMSIStatus", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "IMSIStatus", + "version" : "0.0.1" + }, + "UUID" : "8483be99-ddc7-3fe4-a094-526c79d373c4", + "description" : "Generated description for concept referred to by key \"IMSIStatus:0.0.1\"" + } + }, { + "key" : { + "name" : "IMSIStatusAlbum", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "IMSIStatusAlbum", + "version" : "0.0.1" + }, + "UUID" : "9057bb9e-348a-3a3e-ab53-e5276693009e", + "description" : "Generated description for concept referred to by key \"IMSIStatusAlbum:0.0.1\"" + } + }, { + "key" : { + "name" : "IPAddressStatus", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "IPAddressStatus", + "version" : "0.0.1" + }, + "UUID" : "5b25f611-2aa2-3a87-8a02-ca68c98b806f", + "description" : "Generated description for concept referred to by key \"IPAddressStatus:0.0.1\"" + } + }, { + "key" : { + "name" : "IPAddressStatusAlbum", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "IPAddressStatusAlbum", + "version" : "0.0.1" + }, + "UUID" : "622a1300-5db4-366c-b834-317ac180b186", + "description" : "Generated description for concept referred to by key \"IPAddressStatusAlbum:0.0.1\"" + } + }, { + "key" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "UUID" : "7133ba71-fc49-342c-a7cc-1984158e637a", + "description" : "Generated description for concept referred to by key \"NWIPAddress:0.0.1\"" + } + }, { + "key" : { + "name" : "PeriodicActTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "PeriodicActTask", + "version" : "0.0.1" + }, + "UUID" : "9b968879-319f-3d69-9d19-94179f80ddb4", + "description" : "Generated description for concept referred to by key \"PeriodicActTask:0.0.1\"" + } + }, { + "key" : { + "name" : "PeriodicDecideTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "PeriodicDecideTask", + "version" : "0.0.1" + }, + "UUID" : "75ad1b28-cb2d-30e2-8f8f-e7937e55832f", + "description" : "Generated description for concept referred to by key \"PeriodicDecideTask:0.0.1\"" + } + }, { + "key" : { + "name" : "PeriodicDelay", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "PeriodicDelay", + "version" : "0.0.1" + }, + "UUID" : "1d6d63e4-5344-3abc-8678-ff14691a9464", + "description" : "Generated description for concept referred to by key \"PeriodicDelay:0.0.1\"" + } + }, { + "key" : { + "name" : "PeriodicEstablishTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "PeriodicEstablishTask", + "version" : "0.0.1" + }, + "UUID" : "6c2f6ca7-0163-3135-beda-9eb0ff846567", + "description" : "Generated description for concept referred to by key \"PeriodicEstablishTask:0.0.1\"" + } + }, { + "key" : { + "name" : "PeriodicEvent", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "PeriodicEvent", + "version" : "0.0.1" + }, + "UUID" : "6d29eeaa-482d-3bbf-8c88-5d5c7ccc7217", + "description" : "Generated description for concept referred to by key \"PeriodicEvent:0.0.1\"" + } + }, { + "key" : { + "name" : "PeriodicEventCount", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "PeriodicEventCount", + "version" : "0.0.1" + }, + "UUID" : "45d754b7-85a8-30cd-9bae-6be89d08255c", + "description" : "Generated description for concept referred to by key \"PeriodicEventCount:0.0.1\"" + } + }, { + "key" : { + "name" : "PeriodicMatchTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "PeriodicMatchTask", + "version" : "0.0.1" + }, + "UUID" : "1e568638-cc5c-3331-a5a9-415f1644df00", + "description" : "Generated description for concept referred to by key \"PeriodicMatchTask:0.0.1\"" + } + }, { + "key" : { + "name" : "PeriodicPolicy", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "PeriodicPolicy", + "version" : "0.0.1" + }, + "UUID" : "5d6a65be-7067-3826-9eb7-8d2d25983815", + "description" : "Generated description for concept referred to by key \"PeriodicPolicy:0.0.1\"" + } + }, { + "key" : { + "name" : "PeriodicTime", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "PeriodicTime", + "version" : "0.0.1" + }, + "UUID" : "825b39f8-2027-3221-8b17-a124bba273a3", + "description" : "Generated description for concept referred to by key \"PeriodicTime:0.0.1\"" + } + }, { + "key" : { + "name" : "ProbeOnFlag", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "ProbeOnFlag", + "version" : "0.0.1" + }, + "UUID" : "b557b275-759d-3e5f-906f-9d184e8522fc", + "description" : "Generated description for concept referred to by key \"ProbeOnFlag:0.0.1\"" + } + }, { + "key" : { + "name" : "Profile", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "Profile", + "version" : "0.0.1" + }, + "UUID" : "a31d86c2-7f27-3b67-9528-7f41c465f789", + "description" : "Generated description for concept referred to by key \"Profile:0.0.1\"" + } + }, { + "key" : { + "name" : "ProtocolGroup", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "ProtocolGroup", + "version" : "0.0.1" + }, + "UUID" : "2883fc70-5b0c-32eb-9008-98dfc61f196f", + "description" : "Generated description for concept referred to by key \"ProtocolGroup:0.0.1\"" + } + }, { + "key" : { + "name" : "RoundTripTime", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "RoundTripTime", + "version" : "0.0.1" + }, + "UUID" : "1f7af8ef-be8a-319c-bec2-dba514ec742a", + "description" : "Generated description for concept referred to by key \"RoundTripTime:0.0.1\"" + } + }, { + "key" : { + "name" : "SAPCActTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "SAPCActTask", + "version" : "0.0.1" + }, + "UUID" : "53fc4ca0-1e50-397f-9b8b-d662e8ae3748", + "description" : "Generated description for concept referred to by key \"SAPCActTask:0.0.1\"" + } + }, { + "key" : { + "name" : "SAPCBlacklistSubscriberEvent", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "SAPCBlacklistSubscriberEvent", + "version" : "0.0.1" + }, + "UUID" : "cefa708e-266d-3b80-a7fd-a598437a8478", + "description" : "Generated description for concept referred to by key \"SAPCBlacklistSubscriberEvent:0.0.1\"" + } + }, { + "key" : { + "name" : "SAPCDecideTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "SAPCDecideTask", + "version" : "0.0.1" + }, + "UUID" : "1e946a42-4d82-3161-a471-fd4444709ce1", + "description" : "Generated description for concept referred to by key \"SAPCDecideTask:0.0.1\"" + } + }, { + "key" : { + "name" : "SAPCEstablishTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "SAPCEstablishTask", + "version" : "0.0.1" + }, + "UUID" : "b66fd760-1c08-396f-b56a-9718bdc07c44", + "description" : "Generated description for concept referred to by key \"SAPCEstablishTask:0.0.1\"" + } + }, { + "key" : { + "name" : "SAPCEvent", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "SAPCEvent", + "version" : "0.0.1" + }, + "UUID" : "57747831-aaf3-3bb9-93dc-e6099b5e2a6c", + "description" : "Generated description for concept referred to by key \"SAPCEvent:0.0.1\"" + } + }, { + "key" : { + "name" : "SAPCMatchTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "SAPCMatchTask", + "version" : "0.0.1" + }, + "UUID" : "bf4934e8-75c9-3485-b67d-4ba4f03a5379", + "description" : "Generated description for concept referred to by key \"SAPCMatchTask:0.0.1\"" + } + }, { + "key" : { + "name" : "SAPCPolicy", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "SAPCPolicy", + "version" : "0.0.1" + }, + "UUID" : "36c4410e-0914-34ce-94cb-d5d162a803b4", + "description" : "Generated description for concept referred to by key \"SAPCPolicy:0.0.1\"" + } + }, { + "key" : { + "name" : "ServiceRequestCount", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "ServiceRequestCount", + "version" : "0.0.1" + }, + "UUID" : "b0a7d4fc-7d79-34e8-b9c3-fee3a723631a", + "description" : "Generated description for concept referred to by key \"ServiceRequestCount:0.0.1\"" + } + }, { + "key" : { + "name" : "SubscriberCount", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "SubscriberCount", + "version" : "0.0.1" + }, + "UUID" : "a50da826-a538-3c51-a11c-4b93b924763b", + "description" : "Generated description for concept referred to by key \"SubscriberCount:0.0.1\"" + } + }, { + "key" : { + "name" : "TCPOnFlag", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "TCPOnFlag", + "version" : "0.0.1" + }, + "UUID" : "2c160e99-6d5a-3d16-9b6c-3cf1c037498c", + "description" : "Generated description for concept referred to by key \"TCPOnFlag:0.0.1\"" + } + }, { + "key" : { + "name" : "Threshold", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "Threshold", + "version" : "0.0.1" + }, + "UUID" : "ddb15c04-8a50-3225-9239-bd4ffa835dfa", + "description" : "Generated description for concept referred to by key \"Threshold:0.0.1\"" + } + }, { + "key" : { + "name" : "TriggerSpec", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "TriggerSpec", + "version" : "0.0.1" + }, + "UUID" : "4a9e98fa-606a-3002-8b14-50f79f777131", + "description" : "Generated description for concept referred to by key \"TriggerSpec:0.0.1\"" + } + }, { + "key" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "UUID" : "1dcdc75f-d400-3400-96b2-dc25085c2132", + "description" : "Generated description for concept referred to by key \"UEIPAddress:0.0.1\"" + } + }, { + "key" : { + "name" : "VMMEActTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "VMMEActTask", + "version" : "0.0.1" + }, + "UUID" : "28a2e4f1-58db-38ec-a719-65f85576b43e", + "description" : "Generated description for concept referred to by key \"VMMEActTask:0.0.1\"" + } + }, { + "key" : { + "name" : "VMMEDecideTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "VMMEDecideTask", + "version" : "0.0.1" + }, + "UUID" : "fffd4241-b63c-326c-b39d-25cab76f30eb", + "description" : "Generated description for concept referred to by key \"VMMEDecideTask:0.0.1\"" + } + }, { + "key" : { + "name" : "VMMEEstablishTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "VMMEEstablishTask", + "version" : "0.0.1" + }, + "UUID" : "34e0da20-a77a-3e46-8425-dd815d9a5371", + "description" : "Generated description for concept referred to by key \"VMMEEstablishTask:0.0.1\"" + } + }, { + "key" : { + "name" : "VMMEEvent", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "VMMEEvent", + "version" : "0.0.1" + }, + "UUID" : "ece477f8-2e38-31ba-b504-df029dbeb825", + "description" : "Generated description for concept referred to by key \"VMMEEvent:0.0.1\"" + } + }, { + "key" : { + "name" : "VMMEMatchTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "VMMEMatchTask", + "version" : "0.0.1" + }, + "UUID" : "8ad7d08d-6b2e-3c0f-9e1c-d75973ef8b81", + "description" : "Generated description for concept referred to by key \"VMMEMatchTask:0.0.1\"" + } + }, { + "key" : { + "name" : "VMMENoActTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "VMMENoActTask", + "version" : "0.0.1" + }, + "UUID" : "3a58ff26-0d13-3347-a312-d9bef32c4a2a", + "description" : "Generated description for concept referred to by key \"VMMENoActTask:0.0.1\"" + } + }, { + "key" : { + "name" : "VMMEPolicy", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "VMMEPolicy", + "version" : "0.0.1" + }, + "UUID" : "e428b8ae-4886-386e-8587-7ccb8e746dc5", + "description" : "Generated description for concept referred to by key \"VMMEPolicy:0.0.1\"" + } + }, { + "key" : { + "name" : "Version", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "Version", + "version" : "0.0.1" + }, + "UUID" : "9a9070ef-7197-3ae8-b934-d00d51ffcabd", + "description" : "Generated description for concept referred to by key \"Version:0.0.1\"" + } + }, { + "key" : { + "name" : "XSTREAM_AADM_ACT_EVENT", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "XSTREAM_AADM_ACT_EVENT", + "version" : "0.0.1" + }, + "UUID" : "d9f42aec-97e3-3ad7-b1fa-4a95c4e74833", + "description" : "Generated description for concept referred to by key \"XSTREAM_AADM_ACT_EVENT:0.0.1\"" + } + } ] + } + }, + "policies" : { + "key" : { + "name" : "AADMPolicies", + "version" : "0.0.1" + }, + "policyMap" : { + "entry" : [ { + "key" : { + "name" : "AADMPolicy", + "version" : "0.0.1" + }, + "value" : { + "policyKey" : { + "name" : "AADMPolicy", + "version" : "0.0.1" + }, + "template" : "MEDA", + "state" : { + "entry" : [ { + "key" : "Act", + "value" : { + "stateKey" : { + "parentKeyName" : "AADMPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "Act" + }, + "trigger" : { + "name" : "AADMEvent", + "version" : "0.0.1" + }, + "stateOutputs" : { + "entry" : [ { + "key" : "Act_NULL", + "value" : { + "key" : { + "parentKeyName" : "AADMPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Act", + "localName" : "Act_NULL" + }, + "outgoingEvent" : { + "name" : "XSTREAM_AADM_ACT_EVENT", + "version" : "0.0.1" + }, + "nextState" : { + "parentKeyName" : "NULL", + "parentKeyVersion" : "0.0.0", + "parentLocalName" : "NULL", + "localName" : "NULL" + } + } + } ] + }, + "contextAlbumReference" : [ { + "name" : "ENodeBStatusAlbum", + "version" : "0.0.1" + }, { + "name" : "IMSIStatusAlbum", + "version" : "0.0.1" + }, { + "name" : "IPAddressStatusAlbum", + "version" : "0.0.1" + } ], + "taskSelectionLogic" : { + "key" : "TaskSelectionLogic", + "logicFlavour" : "MVEL", + "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 */\nimport org.onap.policy.apex.examples.aadm.concepts.ImsiStatus;\nimport org.onap.policy.apex.examples.aadm.concepts.ENodeBStatus;\n\nlogger.debug(subject.id + \":\" + subject.stateName + \" execution logic\");\nlogger.debug(inFields);\n\nlogger.debug(\"inFields[SERVICE_REQUEST_COUNT]=\" + inFields[\"SERVICE_REQUEST_COUNT\"]);\n\nImsiStatus imsiStatus = getContextAlbum(\"IMSIStatusAlbum\").get((String)inFields[\"IMSI\"]);\n\nif (imsiStatus.getBlockingCount() > 1) {\n subject.getTaskKey(\"AADMNoActTask\").copyTo(selectedTask);\n logger.debug(\"user blacklisted permanently\");\n return false;\n}\n\nlogger.debug(\"imsi: \" + imsiStatus.getImsi() + \" anamalous \" + imsiStatus.getAnomalous());\n\n// check if this is second iteration\nif (inFields[\"TCP_UE_SIDE_AVG_THROUGHPUT\"] != null && inFields[\"TCP_UE_SIDE_AVG_THROUGHPUT\"] > 100 && imsiStatus.getAnomalous()) {\n subject.getTaskKey(\"AADMDoSProvenActTask\").copyTo(selectedTask);\n logger.debug(\"inside TCP_UE_SIDE_AVG_THROUGHPUT\");\n return true;\n}\n\n// Get the status of the ENodeB\nENodeBStatus eNodeBStatus = getContextAlbum(\"ENodeBStatusAlbum\").get((String)inFields[\"ENODEB_ID\"]);\n\n// check if this is first iteration and DoS\nif (inFields[\"SERVICE_REQUEST_COUNT\"] != null &&\n inFields[\"AVG_SUBSCRIBER_SERVICE_REQUEST\"] != null &&\n inFields[\"SERVICE_REQUEST_COUNT\"] > inFields[\"AVG_SUBSCRIBER_SERVICE_REQUEST\"] &&\n eNodeBStatus != null && eNodeBStatus.getDosCount() > 100 &&\n inFields[\"NUM_SUBSCRIBERS\"] != null && inFields[\"NUM_SUBSCRIBERS\"] > 100) {\n logger.debug(\"inside NUM_SUBSCRIBERS\");\n subject.getTaskKey(\"AADMDoSProvenActTask\").copyTo(selectedTask);\n return true;\n}\n\n// check if this is first iteration and request probe\nif (inFields[\"UE_IP_ADDRESS\"] != null) {\n logger.debug(\"inside UE_IP_ADDRESS\");\n subject.getTaskKey(\"AADMDoSSuggestionActTask\").copyTo(selectedTask);\n return true;\n}\n\nsubject.defaultTaskKey.copyTo(selectedTask);\nreturn true;" + }, + "stateFinalizerLogicMap" : { + "entry" : [ ] + }, + "defaultTask" : { + "name" : "AADMNoActTask", + "version" : "0.0.1" + }, + "taskReferences" : { + "entry" : [ { + "key" : { + "name" : "AADMDoSProvenActTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "parentKeyName" : "AADMPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Act", + "localName" : "AADMDoSProvenActTask_DIRECT_Act_NULL" + }, + "outputType" : "DIRECT", + "output" : { + "parentKeyName" : "AADMPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Act", + "localName" : "Act_NULL" + } + } + }, { + "key" : { + "name" : "AADMDoSSuggestionActTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "parentKeyName" : "AADMPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Act", + "localName" : "AADMDoSSuggestionActTask_DIRECT_Act_NULL" + }, + "outputType" : "DIRECT", + "output" : { + "parentKeyName" : "AADMPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Act", + "localName" : "Act_NULL" + } + } + }, { + "key" : { + "name" : "AADMNoActTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "parentKeyName" : "AADMPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Act", + "localName" : "AADMNoActTask_DIRECT_Act_NULL" + }, + "outputType" : "DIRECT", + "output" : { + "parentKeyName" : "AADMPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Act", + "localName" : "Act_NULL" + } + } + } ] + } + } + }, { + "key" : "Decide", + "value" : { + "stateKey" : { + "parentKeyName" : "AADMPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "Decide" + }, + "trigger" : { + "name" : "AADMEvent", + "version" : "0.0.1" + }, + "stateOutputs" : { + "entry" : [ { + "key" : "Decide_Act", + "value" : { + "key" : { + "parentKeyName" : "AADMPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Decide", + "localName" : "Decide_Act" + }, + "outgoingEvent" : { + "name" : "AADMEvent", + "version" : "0.0.1" + }, + "nextState" : { + "parentKeyName" : "AADMPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "Act" + } + } + } ] + }, + "contextAlbumReference" : [ ], + "taskSelectionLogic" : { + "key" : "TaskSelectionLogic", + "logicFlavour" : "MVEL", + "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 */\nlogger.debug(subject.id + \":\" + subject.stateName);\nsubject.defaultTaskKey.copyTo(selectedTask)\nlogger.debug(subject.id + \":\" + subject.stateName) + \", using default task\";\nreturn true;" + }, + "stateFinalizerLogicMap" : { + "entry" : [ ] + }, + "defaultTask" : { + "name" : "AADMDecideTask", + "version" : "0.0.1" + }, + "taskReferences" : { + "entry" : [ { + "key" : { + "name" : "AADMDecideTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "parentKeyName" : "AADMPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Decide", + "localName" : "AADMDecideTask_DIRECT_Decide_Act" + }, + "outputType" : "DIRECT", + "output" : { + "parentKeyName" : "AADMPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Decide", + "localName" : "Decide_Act" + } + } + } ] + } + } + }, { + "key" : "Establish", + "value" : { + "stateKey" : { + "parentKeyName" : "AADMPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "Establish" + }, + "trigger" : { + "name" : "AADMEvent", + "version" : "0.0.1" + }, + "stateOutputs" : { + "entry" : [ { + "key" : "Establish_Decide", + "value" : { + "key" : { + "parentKeyName" : "AADMPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Establish", + "localName" : "Establish_Decide" + }, + "outgoingEvent" : { + "name" : "AADMEvent", + "version" : "0.0.1" + }, + "nextState" : { + "parentKeyName" : "AADMPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "Decide" + } + } + } ] + }, + "contextAlbumReference" : [ ], + "taskSelectionLogic" : { + "key" : "TaskSelectionLogic", + "logicFlavour" : "MVEL", + "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 */\nlogger.debug(subject.id + \":\" + subject.stateName);\nsubject.defaultTaskKey.copyTo(selectedTask)\nlogger.debug(subject.id + \":\" + subject.stateName) + \", using default task\";\nreturn true;" + }, + "stateFinalizerLogicMap" : { + "entry" : [ ] + }, + "defaultTask" : { + "name" : "AADMEstablishTask", + "version" : "0.0.1" + }, + "taskReferences" : { + "entry" : [ { + "key" : { + "name" : "AADMEstablishTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "parentKeyName" : "AADMPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Establish", + "localName" : "AADMEstablishTask_DIRECT_Establish_Decide" + }, + "outputType" : "DIRECT", + "output" : { + "parentKeyName" : "AADMPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Establish", + "localName" : "Establish_Decide" + } + } + } ] + } + } + }, { + "key" : "Match", + "value" : { + "stateKey" : { + "parentKeyName" : "AADMPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "Match" + }, + "trigger" : { + "name" : "AADMEvent", + "version" : "0.0.1" + }, + "stateOutputs" : { + "entry" : [ { + "key" : "Match_Establish", + "value" : { + "key" : { + "parentKeyName" : "AADMPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Match", + "localName" : "Match_Establish" + }, + "outgoingEvent" : { + "name" : "AADMEvent", + "version" : "0.0.1" + }, + "nextState" : { + "parentKeyName" : "AADMPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "Establish" + } + } + } ] + }, + "contextAlbumReference" : [ ], + "taskSelectionLogic" : { + "key" : "TaskSelectionLogic", + "logicFlavour" : "MVEL", + "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 */\nlogger.debug(subject.id + \":\" + subject.stateName);\nsubject.defaultTaskKey.copyTo(selectedTask)\nlogger.debug(subject.id + \":\" + subject.stateName) + \", using default task\";\nreturn true;" + }, + "stateFinalizerLogicMap" : { + "entry" : [ ] + }, + "defaultTask" : { + "name" : "AADMMatchTask", + "version" : "0.0.1" + }, + "taskReferences" : { + "entry" : [ { + "key" : { + "name" : "AADMMatchTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "parentKeyName" : "AADMPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Match", + "localName" : "AADMMatchTask_DIRECT_Match_Establish" + }, + "outputType" : "DIRECT", + "output" : { + "parentKeyName" : "AADMPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Match", + "localName" : "Match_Establish" + } + } + } ] + } + } + } ] + }, + "firstState" : "Match" + } + }, { + "key" : { + "name" : "PeriodicPolicy", + "version" : "0.0.1" + }, + "value" : { + "policyKey" : { + "name" : "PeriodicPolicy", + "version" : "0.0.1" + }, + "template" : "MEDA", + "state" : { + "entry" : [ { + "key" : "Act", + "value" : { + "stateKey" : { + "parentKeyName" : "PeriodicPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "Act" + }, + "trigger" : { + "name" : "PeriodicEvent", + "version" : "0.0.1" + }, + "stateOutputs" : { + "entry" : [ { + "key" : "Act_NULL", + "value" : { + "key" : { + "parentKeyName" : "PeriodicPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Act", + "localName" : "Act_NULL" + }, + "outgoingEvent" : { + "name" : "SAPCBlacklistSubscriberEvent", + "version" : "0.0.1" + }, + "nextState" : { + "parentKeyName" : "NULL", + "parentKeyVersion" : "0.0.0", + "parentLocalName" : "NULL", + "localName" : "NULL" + } + } + } ] + }, + "contextAlbumReference" : [ ], + "taskSelectionLogic" : { + "key" : "NULL", + "logicFlavour" : "UNDEFINED", + "logic" : "" + }, + "stateFinalizerLogicMap" : { + "entry" : [ ] + }, + "defaultTask" : { + "name" : "PeriodicActTask", + "version" : "0.0.1" + }, + "taskReferences" : { + "entry" : [ { + "key" : { + "name" : "PeriodicActTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "parentKeyName" : "PeriodicPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Act", + "localName" : "PeriodicActTask_DIRECT_Act_NULL" + }, + "outputType" : "DIRECT", + "output" : { + "parentKeyName" : "PeriodicPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Act", + "localName" : "Act_NULL" + } + } + } ] + } + } + }, { + "key" : "Decide", + "value" : { + "stateKey" : { + "parentKeyName" : "PeriodicPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "Decide" + }, + "trigger" : { + "name" : "PeriodicEvent", + "version" : "0.0.1" + }, + "stateOutputs" : { + "entry" : [ { + "key" : "Decide_Act", + "value" : { + "key" : { + "parentKeyName" : "PeriodicPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Decide", + "localName" : "Decide_Act" + }, + "outgoingEvent" : { + "name" : "PeriodicEvent", + "version" : "0.0.1" + }, + "nextState" : { + "parentKeyName" : "PeriodicPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "Act" + } + } + } ] + }, + "contextAlbumReference" : [ ], + "taskSelectionLogic" : { + "key" : "NULL", + "logicFlavour" : "UNDEFINED", + "logic" : "" + }, + "stateFinalizerLogicMap" : { + "entry" : [ ] + }, + "defaultTask" : { + "name" : "PeriodicDecideTask", + "version" : "0.0.1" + }, + "taskReferences" : { + "entry" : [ { + "key" : { + "name" : "PeriodicDecideTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "parentKeyName" : "PeriodicPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Decide", + "localName" : "PeriodicDecideTask_DIRECT_Decide_Act" + }, + "outputType" : "DIRECT", + "output" : { + "parentKeyName" : "PeriodicPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Decide", + "localName" : "Decide_Act" + } + } + } ] + } + } + }, { + "key" : "Establish", + "value" : { + "stateKey" : { + "parentKeyName" : "PeriodicPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "Establish" + }, + "trigger" : { + "name" : "PeriodicEvent", + "version" : "0.0.1" + }, + "stateOutputs" : { + "entry" : [ { + "key" : "Establish_Decide", + "value" : { + "key" : { + "parentKeyName" : "PeriodicPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Establish", + "localName" : "Establish_Decide" + }, + "outgoingEvent" : { + "name" : "PeriodicEvent", + "version" : "0.0.1" + }, + "nextState" : { + "parentKeyName" : "PeriodicPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "Decide" + } + } + } ] + }, + "contextAlbumReference" : [ ], + "taskSelectionLogic" : { + "key" : "NULL", + "logicFlavour" : "UNDEFINED", + "logic" : "" + }, + "stateFinalizerLogicMap" : { + "entry" : [ ] + }, + "defaultTask" : { + "name" : "PeriodicEstablishTask", + "version" : "0.0.1" + }, + "taskReferences" : { + "entry" : [ { + "key" : { + "name" : "PeriodicEstablishTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "parentKeyName" : "PeriodicPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Establish", + "localName" : "PeriodicEstablishTask_DIRECT_Establish_Decide" + }, + "outputType" : "DIRECT", + "output" : { + "parentKeyName" : "PeriodicPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Establish", + "localName" : "Establish_Decide" + } + } + } ] + } + } + }, { + "key" : "Match", + "value" : { + "stateKey" : { + "parentKeyName" : "PeriodicPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "Match" + }, + "trigger" : { + "name" : "PeriodicEvent", + "version" : "0.0.1" + }, + "stateOutputs" : { + "entry" : [ { + "key" : "Match_Establish", + "value" : { + "key" : { + "parentKeyName" : "PeriodicPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Match", + "localName" : "Match_Establish" + }, + "outgoingEvent" : { + "name" : "PeriodicEvent", + "version" : "0.0.1" + }, + "nextState" : { + "parentKeyName" : "PeriodicPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "Establish" + } + } + } ] + }, + "contextAlbumReference" : [ ], + "taskSelectionLogic" : { + "key" : "NULL", + "logicFlavour" : "UNDEFINED", + "logic" : "" + }, + "stateFinalizerLogicMap" : { + "entry" : [ ] + }, + "defaultTask" : { + "name" : "PeriodicMatchTask", + "version" : "0.0.1" + }, + "taskReferences" : { + "entry" : [ { + "key" : { + "name" : "PeriodicMatchTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "parentKeyName" : "PeriodicPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Match", + "localName" : "PeriodicMatchTask_DIRECT_Match_Establish" + }, + "outputType" : "DIRECT", + "output" : { + "parentKeyName" : "PeriodicPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Match", + "localName" : "Match_Establish" + } + } + } ] + } + } + } ] + }, + "firstState" : "Match" + } + }, { + "key" : { + "name" : "SAPCPolicy", + "version" : "0.0.1" + }, + "value" : { + "policyKey" : { + "name" : "SAPCPolicy", + "version" : "0.0.1" + }, + "template" : "MEDA", + "state" : { + "entry" : [ { + "key" : "Act", + "value" : { + "stateKey" : { + "parentKeyName" : "SAPCPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "Act" + }, + "trigger" : { + "name" : "SAPCEvent", + "version" : "0.0.1" + }, + "stateOutputs" : { + "entry" : [ { + "key" : "Act_NULL", + "value" : { + "key" : { + "parentKeyName" : "SAPCPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Act", + "localName" : "Act_NULL" + }, + "outgoingEvent" : { + "name" : "SAPCBlacklistSubscriberEvent", + "version" : "0.0.1" + }, + "nextState" : { + "parentKeyName" : "NULL", + "parentKeyVersion" : "0.0.0", + "parentLocalName" : "NULL", + "localName" : "NULL" + } + } + } ] + }, + "contextAlbumReference" : [ ], + "taskSelectionLogic" : { + "key" : "NULL", + "logicFlavour" : "UNDEFINED", + "logic" : "" + }, + "stateFinalizerLogicMap" : { + "entry" : [ ] + }, + "defaultTask" : { + "name" : "SAPCActTask", + "version" : "0.0.1" + }, + "taskReferences" : { + "entry" : [ { + "key" : { + "name" : "SAPCActTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "parentKeyName" : "SAPCPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Act", + "localName" : "SAPCActTask_DIRECT_Act_NULL" + }, + "outputType" : "DIRECT", + "output" : { + "parentKeyName" : "SAPCPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Act", + "localName" : "Act_NULL" + } + } + } ] + } + } + }, { + "key" : "Decide", + "value" : { + "stateKey" : { + "parentKeyName" : "SAPCPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "Decide" + }, + "trigger" : { + "name" : "SAPCEvent", + "version" : "0.0.1" + }, + "stateOutputs" : { + "entry" : [ { + "key" : "Decide_Act", + "value" : { + "key" : { + "parentKeyName" : "SAPCPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Decide", + "localName" : "Decide_Act" + }, + "outgoingEvent" : { + "name" : "SAPCEvent", + "version" : "0.0.1" + }, + "nextState" : { + "parentKeyName" : "SAPCPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "Act" + } + } + } ] + }, + "contextAlbumReference" : [ ], + "taskSelectionLogic" : { + "key" : "NULL", + "logicFlavour" : "UNDEFINED", + "logic" : "" + }, + "stateFinalizerLogicMap" : { + "entry" : [ ] + }, + "defaultTask" : { + "name" : "SAPCDecideTask", + "version" : "0.0.1" + }, + "taskReferences" : { + "entry" : [ { + "key" : { + "name" : "SAPCDecideTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "parentKeyName" : "SAPCPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Decide", + "localName" : "SAPCDecideTask_DIRECT_Decide_Act" + }, + "outputType" : "DIRECT", + "output" : { + "parentKeyName" : "SAPCPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Decide", + "localName" : "Decide_Act" + } + } + } ] + } + } + }, { + "key" : "Establish", + "value" : { + "stateKey" : { + "parentKeyName" : "SAPCPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "Establish" + }, + "trigger" : { + "name" : "SAPCEvent", + "version" : "0.0.1" + }, + "stateOutputs" : { + "entry" : [ { + "key" : "Establish_Decide", + "value" : { + "key" : { + "parentKeyName" : "SAPCPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Establish", + "localName" : "Establish_Decide" + }, + "outgoingEvent" : { + "name" : "SAPCEvent", + "version" : "0.0.1" + }, + "nextState" : { + "parentKeyName" : "SAPCPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "Decide" + } + } + } ] + }, + "contextAlbumReference" : [ ], + "taskSelectionLogic" : { + "key" : "NULL", + "logicFlavour" : "UNDEFINED", + "logic" : "" + }, + "stateFinalizerLogicMap" : { + "entry" : [ ] + }, + "defaultTask" : { + "name" : "SAPCEstablishTask", + "version" : "0.0.1" + }, + "taskReferences" : { + "entry" : [ { + "key" : { + "name" : "SAPCEstablishTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "parentKeyName" : "SAPCPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Establish", + "localName" : "SAPCEstablishTask_DIRECT_Establish_Decide" + }, + "outputType" : "DIRECT", + "output" : { + "parentKeyName" : "SAPCPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Establish", + "localName" : "Establish_Decide" + } + } + } ] + } + } + }, { + "key" : "Match", + "value" : { + "stateKey" : { + "parentKeyName" : "SAPCPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "Match" + }, + "trigger" : { + "name" : "XSTREAM_AADM_ACT_EVENT", + "version" : "0.0.1" + }, + "stateOutputs" : { + "entry" : [ { + "key" : "Match_Establish", + "value" : { + "key" : { + "parentKeyName" : "SAPCPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Match", + "localName" : "Match_Establish" + }, + "outgoingEvent" : { + "name" : "SAPCEvent", + "version" : "0.0.1" + }, + "nextState" : { + "parentKeyName" : "SAPCPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "Establish" + } + } + } ] + }, + "contextAlbumReference" : [ ], + "taskSelectionLogic" : { + "key" : "NULL", + "logicFlavour" : "UNDEFINED", + "logic" : "" + }, + "stateFinalizerLogicMap" : { + "entry" : [ ] + }, + "defaultTask" : { + "name" : "SAPCMatchTask", + "version" : "0.0.1" + }, + "taskReferences" : { + "entry" : [ { + "key" : { + "name" : "SAPCMatchTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "parentKeyName" : "SAPCPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Match", + "localName" : "SAPCMatchTask_DIRECT_Match_Establish" + }, + "outputType" : "DIRECT", + "output" : { + "parentKeyName" : "SAPCPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Match", + "localName" : "Match_Establish" + } + } + } ] + } + } + } ] + }, + "firstState" : "Match" + } + }, { + "key" : { + "name" : "VMMEPolicy", + "version" : "0.0.1" + }, + "value" : { + "policyKey" : { + "name" : "VMMEPolicy", + "version" : "0.0.1" + }, + "template" : "MEDA", + "state" : { + "entry" : [ { + "key" : "Act", + "value" : { + "stateKey" : { + "parentKeyName" : "VMMEPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "Act" + }, + "trigger" : { + "name" : "VMMEEvent", + "version" : "0.0.1" + }, + "stateOutputs" : { + "entry" : [ { + "key" : "Act_NULL", + "value" : { + "key" : { + "parentKeyName" : "VMMEPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Act", + "localName" : "Act_NULL" + }, + "outgoingEvent" : { + "name" : "VMMEEvent", + "version" : "0.0.1" + }, + "nextState" : { + "parentKeyName" : "NULL", + "parentKeyVersion" : "0.0.0", + "parentLocalName" : "NULL", + "localName" : "NULL" + } + } + } ] + }, + "contextAlbumReference" : [ ], + "taskSelectionLogic" : { + "key" : "NULL", + "logicFlavour" : "UNDEFINED", + "logic" : "" + }, + "stateFinalizerLogicMap" : { + "entry" : [ ] + }, + "defaultTask" : { + "name" : "VMMEActTask", + "version" : "0.0.1" + }, + "taskReferences" : { + "entry" : [ { + "key" : { + "name" : "VMMEActTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "parentKeyName" : "VMMEPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Act", + "localName" : "VMMEActTask_DIRECT_Act_NULL" + }, + "outputType" : "DIRECT", + "output" : { + "parentKeyName" : "VMMEPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Act", + "localName" : "Act_NULL" + } + } + }, { + "key" : { + "name" : "VMMENoActTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "parentKeyName" : "VMMEPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Act", + "localName" : "VMMENoActTask_DIRECT_Act_NULL" + }, + "outputType" : "DIRECT", + "output" : { + "parentKeyName" : "VMMEPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Act", + "localName" : "Act_NULL" + } + } + } ] + } + } + }, { + "key" : "Decide", + "value" : { + "stateKey" : { + "parentKeyName" : "VMMEPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "Decide" + }, + "trigger" : { + "name" : "VMMEEvent", + "version" : "0.0.1" + }, + "stateOutputs" : { + "entry" : [ { + "key" : "Decide_Act", + "value" : { + "key" : { + "parentKeyName" : "VMMEPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Decide", + "localName" : "Decide_Act" + }, + "outgoingEvent" : { + "name" : "VMMEEvent", + "version" : "0.0.1" + }, + "nextState" : { + "parentKeyName" : "VMMEPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "Act" + } + } + } ] + }, + "contextAlbumReference" : [ ], + "taskSelectionLogic" : { + "key" : "NULL", + "logicFlavour" : "UNDEFINED", + "logic" : "" + }, + "stateFinalizerLogicMap" : { + "entry" : [ ] + }, + "defaultTask" : { + "name" : "VMMEDecideTask", + "version" : "0.0.1" + }, + "taskReferences" : { + "entry" : [ { + "key" : { + "name" : "VMMEDecideTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "parentKeyName" : "VMMEPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Decide", + "localName" : "VMMEDecideTask_DIRECT_Decide_Act" + }, + "outputType" : "DIRECT", + "output" : { + "parentKeyName" : "VMMEPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Decide", + "localName" : "Decide_Act" + } + } + } ] + } + } + }, { + "key" : "Establish", + "value" : { + "stateKey" : { + "parentKeyName" : "VMMEPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "Establish" + }, + "trigger" : { + "name" : "VMMEEvent", + "version" : "0.0.1" + }, + "stateOutputs" : { + "entry" : [ { + "key" : "Establish_Decide", + "value" : { + "key" : { + "parentKeyName" : "VMMEPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Establish", + "localName" : "Establish_Decide" + }, + "outgoingEvent" : { + "name" : "VMMEEvent", + "version" : "0.0.1" + }, + "nextState" : { + "parentKeyName" : "VMMEPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "Decide" + } + } + } ] + }, + "contextAlbumReference" : [ ], + "taskSelectionLogic" : { + "key" : "NULL", + "logicFlavour" : "UNDEFINED", + "logic" : "" + }, + "stateFinalizerLogicMap" : { + "entry" : [ ] + }, + "defaultTask" : { + "name" : "VMMEEstablishTask", + "version" : "0.0.1" + }, + "taskReferences" : { + "entry" : [ { + "key" : { + "name" : "VMMEEstablishTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "parentKeyName" : "VMMEPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Establish", + "localName" : "VMMEEstablishTask_DIRECT_Establish_Decide" + }, + "outputType" : "DIRECT", + "output" : { + "parentKeyName" : "VMMEPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Establish", + "localName" : "Establish_Decide" + } + } + } ] + } + } + }, { + "key" : "Match", + "value" : { + "stateKey" : { + "parentKeyName" : "VMMEPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "Match" + }, + "trigger" : { + "name" : "VMMEEvent", + "version" : "0.0.1" + }, + "stateOutputs" : { + "entry" : [ { + "key" : "Match_Establish", + "value" : { + "key" : { + "parentKeyName" : "VMMEPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Match", + "localName" : "Match_Establish" + }, + "outgoingEvent" : { + "name" : "VMMEEvent", + "version" : "0.0.1" + }, + "nextState" : { + "parentKeyName" : "VMMEPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "Establish" + } + } + } ] + }, + "contextAlbumReference" : [ ], + "taskSelectionLogic" : { + "key" : "NULL", + "logicFlavour" : "UNDEFINED", + "logic" : "" + }, + "stateFinalizerLogicMap" : { + "entry" : [ ] + }, + "defaultTask" : { + "name" : "VMMEMatchTask", + "version" : "0.0.1" + }, + "taskReferences" : { + "entry" : [ { + "key" : { + "name" : "VMMEMatchTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "parentKeyName" : "VMMEPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Match", + "localName" : "VMMEMatchTask_DIRECT_Match_Establish" + }, + "outputType" : "DIRECT", + "output" : { + "parentKeyName" : "VMMEPolicy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "Match", + "localName" : "Match_Establish" + } + } + } ] + } + } + } ] + }, + "firstState" : "Match" + } + } ] + } + }, + "tasks" : { + "key" : { + "name" : "AADMTasks", + "version" : "0.0.1" + }, + "taskMap" : { + "entry" : [ { + "key" : { + "name" : "AADMDecideTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AADMDecideTask", + "version" : "0.0.1" + }, + "inputFields" : { + "entry" : [ { + "key" : "ACTTASK", + "value" : { + "key" : "ACTTASK", + "fieldSchemaKey" : { + "name" : "ActionTask", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "APPLICATION", + "value" : { + "key" : "APPLICATION", + "fieldSchemaKey" : { + "name" : "ApplicationName", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "ATTACH_COUNT", + "value" : { + "key" : "ATTACH_COUNT", + "fieldSchemaKey" : { + "name" : "AttachCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "AVG_SUBSCRIBER_ATTACH", + "value" : { + "key" : "AVG_SUBSCRIBER_ATTACH", + "fieldSchemaKey" : { + "name" : "AverageAttach", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "AVG_SUBSCRIBER_SERVICE_REQUEST", + "value" : { + "key" : "AVG_SUBSCRIBER_SERVICE_REQUEST", + "fieldSchemaKey" : { + "name" : "AverageServiceRequest", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "DoS", + "value" : { + "key" : "DoS", + "fieldSchemaKey" : { + "name" : "DOSFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "ENODEB_ID", + "value" : { + "key" : "ENODEB_ID", + "fieldSchemaKey" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NUM_SUBSCRIBERS", + "value" : { + "key" : "NUM_SUBSCRIBERS", + "fieldSchemaKey" : { + "name" : "SubscriberCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROBE_ON", + "value" : { + "key" : "PROBE_ON", + "fieldSchemaKey" : { + "name" : "ProbeOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "SERVICE_REQUEST_COUNT", + "value" : { + "key" : "SERVICE_REQUEST_COUNT", + "fieldSchemaKey" : { + "name" : "ServiceRequestCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "SGW_IP_ADDRESS", + "value" : { + "key" : "SGW_IP_ADDRESS", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_ON", + "value" : { + "key" : "TCP_ON", + "fieldSchemaKey" : { + "name" : "TCPOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_UE_SIDE_AVG_THROUGHPUT", + "value" : { + "key" : "TCP_UE_SIDE_AVG_THROUGHPUT", + "fieldSchemaKey" : { + "name" : "AverageThroughput", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_UE_SIDE_MEDIAN_RTT_TX_TO_RX", + "value" : { + "key" : "TCP_UE_SIDE_MEDIAN_RTT_TX_TO_RX", + "fieldSchemaKey" : { + "name" : "RoundTripTime", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "UE_IP_ADDRESS", + "value" : { + "key" : "UE_IP_ADDRESS", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "http_host_class", + "value" : { + "key" : "http_host_class", + "fieldSchemaKey" : { + "name" : "HttpHostClass", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "protocol_group", + "value" : { + "key" : "protocol_group", + "fieldSchemaKey" : { + "name" : "ProtocolGroup", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "outputFields" : { + "entry" : [ { + "key" : "ACTTASK", + "value" : { + "key" : "ACTTASK", + "fieldSchemaKey" : { + "name" : "ActionTask", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "APPLICATION", + "value" : { + "key" : "APPLICATION", + "fieldSchemaKey" : { + "name" : "ApplicationName", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "ATTACH_COUNT", + "value" : { + "key" : "ATTACH_COUNT", + "fieldSchemaKey" : { + "name" : "AttachCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "AVG_SUBSCRIBER_ATTACH", + "value" : { + "key" : "AVG_SUBSCRIBER_ATTACH", + "fieldSchemaKey" : { + "name" : "AverageAttach", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "AVG_SUBSCRIBER_SERVICE_REQUEST", + "value" : { + "key" : "AVG_SUBSCRIBER_SERVICE_REQUEST", + "fieldSchemaKey" : { + "name" : "AverageServiceRequest", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "DoS", + "value" : { + "key" : "DoS", + "fieldSchemaKey" : { + "name" : "DOSFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "ENODEB_ID", + "value" : { + "key" : "ENODEB_ID", + "fieldSchemaKey" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NUM_SUBSCRIBERS", + "value" : { + "key" : "NUM_SUBSCRIBERS", + "fieldSchemaKey" : { + "name" : "SubscriberCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROBE_ON", + "value" : { + "key" : "PROBE_ON", + "fieldSchemaKey" : { + "name" : "ProbeOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "SERVICE_REQUEST_COUNT", + "value" : { + "key" : "SERVICE_REQUEST_COUNT", + "fieldSchemaKey" : { + "name" : "ServiceRequestCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "SGW_IP_ADDRESS", + "value" : { + "key" : "SGW_IP_ADDRESS", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_ON", + "value" : { + "key" : "TCP_ON", + "fieldSchemaKey" : { + "name" : "TCPOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_UE_SIDE_AVG_THROUGHPUT", + "value" : { + "key" : "TCP_UE_SIDE_AVG_THROUGHPUT", + "fieldSchemaKey" : { + "name" : "AverageThroughput", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_UE_SIDE_MEDIAN_RTT_TX_TO_RX", + "value" : { + "key" : "TCP_UE_SIDE_MEDIAN_RTT_TX_TO_RX", + "fieldSchemaKey" : { + "name" : "RoundTripTime", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "UE_IP_ADDRESS", + "value" : { + "key" : "UE_IP_ADDRESS", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "http_host_class", + "value" : { + "key" : "http_host_class", + "fieldSchemaKey" : { + "name" : "HttpHostClass", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "protocol_group", + "value" : { + "key" : "protocol_group", + "fieldSchemaKey" : { + "name" : "ProtocolGroup", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "taskParameters" : { + "entry" : [ ] + }, + "contextAlbumReference" : [ ], + "taskLogic" : { + "key" : "TaskLogic", + "logicFlavour" : "MVEL", + "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 */\nlogger.debug(subject.id + \":\" + subject.taskName + \" execution logic\");\nlogger.debug(inFields);\nlogger.debug(outFields);\nreturn true;" + } + } + }, { + "key" : { + "name" : "AADMDoSProvenActTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AADMDoSProvenActTask", + "version" : "0.0.1" + }, + "inputFields" : { + "entry" : [ { + "key" : "ACTTASK", + "value" : { + "key" : "ACTTASK", + "fieldSchemaKey" : { + "name" : "ActionTask", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "APPLICATION", + "value" : { + "key" : "APPLICATION", + "fieldSchemaKey" : { + "name" : "ApplicationName", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "ATTACH_COUNT", + "value" : { + "key" : "ATTACH_COUNT", + "fieldSchemaKey" : { + "name" : "AttachCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "AVG_SUBSCRIBER_ATTACH", + "value" : { + "key" : "AVG_SUBSCRIBER_ATTACH", + "fieldSchemaKey" : { + "name" : "AverageAttach", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "AVG_SUBSCRIBER_SERVICE_REQUEST", + "value" : { + "key" : "AVG_SUBSCRIBER_SERVICE_REQUEST", + "fieldSchemaKey" : { + "name" : "AverageServiceRequest", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "DoS", + "value" : { + "key" : "DoS", + "fieldSchemaKey" : { + "name" : "DOSFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "ENODEB_ID", + "value" : { + "key" : "ENODEB_ID", + "fieldSchemaKey" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NUM_SUBSCRIBERS", + "value" : { + "key" : "NUM_SUBSCRIBERS", + "fieldSchemaKey" : { + "name" : "SubscriberCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROBE_ON", + "value" : { + "key" : "PROBE_ON", + "fieldSchemaKey" : { + "name" : "ProbeOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "SERVICE_REQUEST_COUNT", + "value" : { + "key" : "SERVICE_REQUEST_COUNT", + "fieldSchemaKey" : { + "name" : "ServiceRequestCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "SGW_IP_ADDRESS", + "value" : { + "key" : "SGW_IP_ADDRESS", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_ON", + "value" : { + "key" : "TCP_ON", + "fieldSchemaKey" : { + "name" : "TCPOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_UE_SIDE_AVG_THROUGHPUT", + "value" : { + "key" : "TCP_UE_SIDE_AVG_THROUGHPUT", + "fieldSchemaKey" : { + "name" : "AverageThroughput", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_UE_SIDE_MEDIAN_RTT_TX_TO_RX", + "value" : { + "key" : "TCP_UE_SIDE_MEDIAN_RTT_TX_TO_RX", + "fieldSchemaKey" : { + "name" : "RoundTripTime", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "UE_IP_ADDRESS", + "value" : { + "key" : "UE_IP_ADDRESS", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "http_host_class", + "value" : { + "key" : "http_host_class", + "fieldSchemaKey" : { + "name" : "HttpHostClass", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "protocol_group", + "value" : { + "key" : "protocol_group", + "fieldSchemaKey" : { + "name" : "ProtocolGroup", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "outputFields" : { + "entry" : [ { + "key" : "ACTTASK", + "value" : { + "key" : "ACTTASK", + "fieldSchemaKey" : { + "name" : "ActionTask", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "BLACKLIST_ON", + "value" : { + "key" : "BLACKLIST_ON", + "fieldSchemaKey" : { + "name" : "BlacklistOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "ENODEB_ID", + "value" : { + "key" : "ENODEB_ID", + "fieldSchemaKey" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "MAJ_MIN_MAINT_VERSION", + "value" : { + "key" : "MAJ_MIN_MAINT_VERSION", + "fieldSchemaKey" : { + "name" : "Version", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROBE_ON", + "value" : { + "key" : "PROBE_ON", + "fieldSchemaKey" : { + "name" : "ProbeOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROFILE", + "value" : { + "key" : "PROFILE", + "fieldSchemaKey" : { + "name" : "Profile", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_ON", + "value" : { + "key" : "TCP_ON", + "fieldSchemaKey" : { + "name" : "TCPOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "THRESHOLD", + "value" : { + "key" : "THRESHOLD", + "fieldSchemaKey" : { + "name" : "Threshold", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TRIGGER_SPEC", + "value" : { + "key" : "TRIGGER_SPEC", + "fieldSchemaKey" : { + "name" : "TriggerSpec", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "VERSION", + "value" : { + "key" : "VERSION", + "fieldSchemaKey" : { + "name" : "Version", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "taskParameters" : { + "entry" : [ ] + }, + "contextAlbumReference" : [ { + "name" : "ENodeBStatusAlbum", + "version" : "0.0.1" + }, { + "name" : "IMSIStatusAlbum", + "version" : "0.0.1" + } ], + "taskLogic" : { + "key" : "TaskLogic", + "logicFlavour" : "MVEL", + "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 */\nimport org.onap.policy.apex.examples.aadm.concepts.ENodeBStatus;\nimport org.onap.policy.apex.examples.aadm.concepts.ImsiStatus;\n\nlogger.debug(subject.id + \":\" + subject.taskName + \" execution logic\");\nlogger.debug(inFields);\n\noutFields[\"ACTTASK\"] = \"act\";\noutFields[\"TRIGGER_SPEC\"] = \"XSTREAM_AADM_ACT_EVENT\";\noutFields[\"MAJ_MIN_MAINT_VERSION\"] = \"0.0.1\";\noutFields[\"PROBE_ON\"] = true;\noutFields[\"TCP_ON\"] = false;\noutFields[\"IMSI\"] = inFields[\"IMSI\"];\n\nif (inFields[\"IMSI_IP\"] != null) {\n outFields[\"IMSI_IP\"] = inFields[\"IMSI_IP\"];\n}\nelse{\n outFields[\"IMSI_IP\"] = inFields[\"UE_IP_ADDRESS\"];\n}\n\nif (inFields[\"NW_IP\"] != null) {\n outFields[\"NW_IP\"] = inFields[\"NW_IP\"];\n}\nelse{\n outFields[\"NW_IP\"] = inFields[\"SGW_IP_ADDRESS\"];\n}\n\nImsiStatus imsiStatus = getContextAlbum(\"IMSIStatusAlbum\").get((String)inFields[\"IMSI\"]);\nlogger.debug(imsiStatus);\n\nENodeBStatus eNodeBStatus = getContextAlbum(\"ENodeBStatusAlbum\").get(imsiStatus.getENodeBId());\neNodeBStatus.setBeingProbed(false);\n\nleaveProbingOn = false;\nfor (ENodeBStatus enbStatus : getContextAlbum(\"ENodeBStatusAlbum\").values) {\n if (enbStatus.getBeingProbed()) {\n leaveProbingOn = true;\n }\n}\n\nif (!leaveProbingOn) {\n outFields[\"PROBE_ON\"] = false;\n outFields[\"TCP_ON\"] = false;\n}\n\neNodeBStatus.decrementDosCount();\nlogger.debug(eNodeBStatus.getENodeB() + \": dosCount is \" + eNodeBStatus.getDosCount());\n\nimsiStatus.setAnomalous(false);\n\nlogger.debug(\"imsi: \" + imsiStatus.getImsi() + \" anamalous \" + imsiStatus.getAnomalous());\n\ngetContextAlbum(\"IMSIStatusAlbum\") .put(imsiStatus.getImsi(), imsiStatus);\ngetContextAlbum(\"ENodeBStatusAlbum\").put(eNodeBStatus.getENodeB(), eNodeBStatus);\n\noutFields[\"THRESHOLD\"] = 0;\noutFields[\"PROFILE\"] = \"\";\noutFields[\"VERSION\"] = \"0.0.1\";\noutFields[\"BLACKLIST_ON\"] = false;\n\nreturn true;" + } + } + }, { + "key" : { + "name" : "AADMDoSSuggestionActTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AADMDoSSuggestionActTask", + "version" : "0.0.1" + }, + "inputFields" : { + "entry" : [ { + "key" : "ACTTASK", + "value" : { + "key" : "ACTTASK", + "fieldSchemaKey" : { + "name" : "ActionTask", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "APPLICATION", + "value" : { + "key" : "APPLICATION", + "fieldSchemaKey" : { + "name" : "ApplicationName", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "ATTACH_COUNT", + "value" : { + "key" : "ATTACH_COUNT", + "fieldSchemaKey" : { + "name" : "AttachCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "AVG_SUBSCRIBER_ATTACH", + "value" : { + "key" : "AVG_SUBSCRIBER_ATTACH", + "fieldSchemaKey" : { + "name" : "AverageAttach", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "AVG_SUBSCRIBER_SERVICE_REQUEST", + "value" : { + "key" : "AVG_SUBSCRIBER_SERVICE_REQUEST", + "fieldSchemaKey" : { + "name" : "AverageServiceRequest", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "DoS", + "value" : { + "key" : "DoS", + "fieldSchemaKey" : { + "name" : "DOSFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "ENODEB_ID", + "value" : { + "key" : "ENODEB_ID", + "fieldSchemaKey" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NUM_SUBSCRIBERS", + "value" : { + "key" : "NUM_SUBSCRIBERS", + "fieldSchemaKey" : { + "name" : "SubscriberCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROBE_ON", + "value" : { + "key" : "PROBE_ON", + "fieldSchemaKey" : { + "name" : "ProbeOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "SERVICE_REQUEST_COUNT", + "value" : { + "key" : "SERVICE_REQUEST_COUNT", + "fieldSchemaKey" : { + "name" : "ServiceRequestCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "SGW_IP_ADDRESS", + "value" : { + "key" : "SGW_IP_ADDRESS", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_ON", + "value" : { + "key" : "TCP_ON", + "fieldSchemaKey" : { + "name" : "TCPOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_UE_SIDE_AVG_THROUGHPUT", + "value" : { + "key" : "TCP_UE_SIDE_AVG_THROUGHPUT", + "fieldSchemaKey" : { + "name" : "AverageThroughput", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_UE_SIDE_MEDIAN_RTT_TX_TO_RX", + "value" : { + "key" : "TCP_UE_SIDE_MEDIAN_RTT_TX_TO_RX", + "fieldSchemaKey" : { + "name" : "RoundTripTime", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "UE_IP_ADDRESS", + "value" : { + "key" : "UE_IP_ADDRESS", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "http_host_class", + "value" : { + "key" : "http_host_class", + "fieldSchemaKey" : { + "name" : "HttpHostClass", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "protocol_group", + "value" : { + "key" : "protocol_group", + "fieldSchemaKey" : { + "name" : "ProtocolGroup", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "outputFields" : { + "entry" : [ { + "key" : "ACTTASK", + "value" : { + "key" : "ACTTASK", + "fieldSchemaKey" : { + "name" : "ActionTask", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "BLACKLIST_ON", + "value" : { + "key" : "BLACKLIST_ON", + "fieldSchemaKey" : { + "name" : "BlacklistOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "ENODEB_ID", + "value" : { + "key" : "ENODEB_ID", + "fieldSchemaKey" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "MAJ_MIN_MAINT_VERSION", + "value" : { + "key" : "MAJ_MIN_MAINT_VERSION", + "fieldSchemaKey" : { + "name" : "Version", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROBE_ON", + "value" : { + "key" : "PROBE_ON", + "fieldSchemaKey" : { + "name" : "ProbeOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROFILE", + "value" : { + "key" : "PROFILE", + "fieldSchemaKey" : { + "name" : "Profile", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_ON", + "value" : { + "key" : "TCP_ON", + "fieldSchemaKey" : { + "name" : "TCPOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "THRESHOLD", + "value" : { + "key" : "THRESHOLD", + "fieldSchemaKey" : { + "name" : "Threshold", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TRIGGER_SPEC", + "value" : { + "key" : "TRIGGER_SPEC", + "fieldSchemaKey" : { + "name" : "TriggerSpec", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "VERSION", + "value" : { + "key" : "VERSION", + "fieldSchemaKey" : { + "name" : "Version", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "taskParameters" : { + "entry" : [ ] + }, + "contextAlbumReference" : [ { + "name" : "ENodeBStatusAlbum", + "version" : "0.0.1" + }, { + "name" : "IMSIStatusAlbum", + "version" : "0.0.1" + } ], + "taskLogic" : { + "key" : "TaskLogic", + "logicFlavour" : "MVEL", + "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 */\nimport org.onap.policy.apex.examples.aadm.concepts.ENodeBStatus;\nimport org.onap.policy.apex.examples.aadm.concepts.ImsiStatus;\n\nlogger.debug(subject.id + \":\" + subject.taskName + \" execution logic\");\nlogger.debug(inFields);\n\noutFields[\"ACTTASK\"] = \"probe\";\noutFields[\"TRIGGER_SPEC\"] = \"XSTREAM_AADM_ACT_EVENT\";\noutFields[\"MAJ_MIN_MAINT_VERSION\"] = \"0.0.1\";\noutFields[\"IMSI\"] = inFields[\"IMSI\"];\n\nif (inFields[\"IMSI_IP\"] != null) {\n outFields[\"IMSI_IP\"] = inFields[\"IMSI_IP\"];\n}\nelse {\n outFields[\"IMSI_IP\"] = inFields[\"UE_IP_ADDRESS\"];\n}\n\nif (inFields[\"NW_IP\"] != null) {\n outFields[\"NW_IP\"] = inFields[\"NW_IP\"];\n}\nelse {\n outFields[\"NW_IP\"] = inFields[\"SGW_IP_ADDRESS\"];\n}\n\nImsiStatus imsiStatus = getContextAlbum(\"IMSIStatusAlbum\").get((String)inFields[\"IMSI\"]);\nlogger.debug(imsiStatus);\n\nENodeBStatus eNodeBStatus = getContextAlbum(\"ENodeBStatusAlbum\").get(imsiStatus.getENodeBId());\nlogger.debug(eNodeBStatus);\n\nif (imsiStatus.getENodeBId() != null && !imsiStatus.getENodeBId().equals(inFields[\"ENODEB_ID\"]) || inFields[\"AVG_SUBSCRIBER_SERVICE_REQUEST\"] == null) {\n // if user moved enodeB remove him from previous one\n if (imsiStatus.getENodeBId() != null) {\n eNodeBStatus.decrementDosCount();\n }\n\n // if user became non anomalous return action\n if (inFields[\"AVG_SUBSCRIBER_SERVICE_REQUEST\"] == null) {\n imsiStatus.setAnomalous(false);\n outFields[\"ACTTASK\"] = \"remove_from_probe\";\n\n for (ENodeBStatus enbStatus : getContextAlbum(\"ENodeBStatusAlbum\").values) {\n if (enbStatus.getBeingProbed()) {\n outFields[\"PROBE_ON\"] = true;\n outFields[\"TCP_ON\"] = true;\n return true;\n }\n }\n\n outFields[\"PROBE_ON\"] = false;\n outFields[\"TCP_ON\"] = false;\n\n getContextAlbum(\"IMSIStatusAlbum\").put(imsiStatus.getIMSI(), imsiStatus);\n getContextAlbum(\"ENodeBStatusAlbum\").put(eNodeBStatus.getENodeB(), eNodeBStatus);\n\n return true;\n }\n}\n\nimsiStatus.setAnomalous(true);\nimsiStatus.setAnomolousTime(System.currentTimeMillis());\nimsiStatus.setENodeBId(inFields[\"ENODEB_ID\"]);\ngetContextAlbum(\"IMSIStatusAlbum\").put(imsiStatus.getImsi(), imsiStatus);\nlogger.debug(imsiStatus.getENodeBId() + \": enodeb added to imsi ip added \" + outFields[\"IMSI_IP\"]);\n\nENodeBStatus eNodeBStatus = getContextAlbum(\"ENodeBStatusAlbum\").get(imsiStatus.getENodeBId());\nif (eNodeBStatus == null) {\n eNodeBStatus = new ENodeBStatus(imsiStatus.getENodeBId());\n getContextAlbum(\"ENodeBStatusAlbum\").put(eNodeBStatus.getENodeB(), eNodeBStatus);\n logger.debug(\"new eNodeB added \" + getContextAlbum(\"ENodeBStatusAlbum\").get(imsiStatus.getENodeBId()));\n}\n\neNodeBStatus.incrementDosCount();\ngetContextAlbum(\"ENodeBStatusAlbum\").put(eNodeBStatus.getENodeB(), eNodeBStatus);\nlogger.debug(eNodeBStatus.getENodeB() + \": dosCount incremented to \" + eNodeBStatus.getDosCount());\n\noutFields[\"PROBE_ON\"] = true;\noutFields[\"TCP_ON\"] = true;\noutFields[\"THRESHOLD\"] = 0;\noutFields[\"PROFILE\"] = \"\";\noutFields[\"VERSION\"] = \"0.0.1\";\noutFields[\"BLACKLIST_ON\"] = false;\n\nlogger.debug(\"out here5\");\n\nreturn true;" + } + } + }, { + "key" : { + "name" : "AADMEstablishTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AADMEstablishTask", + "version" : "0.0.1" + }, + "inputFields" : { + "entry" : [ { + "key" : "ACTTASK", + "value" : { + "key" : "ACTTASK", + "fieldSchemaKey" : { + "name" : "ActionTask", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "APPLICATION", + "value" : { + "key" : "APPLICATION", + "fieldSchemaKey" : { + "name" : "ApplicationName", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "ATTACH_COUNT", + "value" : { + "key" : "ATTACH_COUNT", + "fieldSchemaKey" : { + "name" : "AttachCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "AVG_SUBSCRIBER_ATTACH", + "value" : { + "key" : "AVG_SUBSCRIBER_ATTACH", + "fieldSchemaKey" : { + "name" : "AverageAttach", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "AVG_SUBSCRIBER_SERVICE_REQUEST", + "value" : { + "key" : "AVG_SUBSCRIBER_SERVICE_REQUEST", + "fieldSchemaKey" : { + "name" : "AverageServiceRequest", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "DoS", + "value" : { + "key" : "DoS", + "fieldSchemaKey" : { + "name" : "DOSFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "ENODEB_ID", + "value" : { + "key" : "ENODEB_ID", + "fieldSchemaKey" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NUM_SUBSCRIBERS", + "value" : { + "key" : "NUM_SUBSCRIBERS", + "fieldSchemaKey" : { + "name" : "SubscriberCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROBE_ON", + "value" : { + "key" : "PROBE_ON", + "fieldSchemaKey" : { + "name" : "ProbeOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "SERVICE_REQUEST_COUNT", + "value" : { + "key" : "SERVICE_REQUEST_COUNT", + "fieldSchemaKey" : { + "name" : "ServiceRequestCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "SGW_IP_ADDRESS", + "value" : { + "key" : "SGW_IP_ADDRESS", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_ON", + "value" : { + "key" : "TCP_ON", + "fieldSchemaKey" : { + "name" : "TCPOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_UE_SIDE_AVG_THROUGHPUT", + "value" : { + "key" : "TCP_UE_SIDE_AVG_THROUGHPUT", + "fieldSchemaKey" : { + "name" : "AverageThroughput", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_UE_SIDE_MEDIAN_RTT_TX_TO_RX", + "value" : { + "key" : "TCP_UE_SIDE_MEDIAN_RTT_TX_TO_RX", + "fieldSchemaKey" : { + "name" : "RoundTripTime", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "UE_IP_ADDRESS", + "value" : { + "key" : "UE_IP_ADDRESS", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "http_host_class", + "value" : { + "key" : "http_host_class", + "fieldSchemaKey" : { + "name" : "HttpHostClass", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "protocol_group", + "value" : { + "key" : "protocol_group", + "fieldSchemaKey" : { + "name" : "ProtocolGroup", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "outputFields" : { + "entry" : [ { + "key" : "ACTTASK", + "value" : { + "key" : "ACTTASK", + "fieldSchemaKey" : { + "name" : "ActionTask", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "APPLICATION", + "value" : { + "key" : "APPLICATION", + "fieldSchemaKey" : { + "name" : "ApplicationName", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "ATTACH_COUNT", + "value" : { + "key" : "ATTACH_COUNT", + "fieldSchemaKey" : { + "name" : "AttachCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "AVG_SUBSCRIBER_ATTACH", + "value" : { + "key" : "AVG_SUBSCRIBER_ATTACH", + "fieldSchemaKey" : { + "name" : "AverageAttach", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "AVG_SUBSCRIBER_SERVICE_REQUEST", + "value" : { + "key" : "AVG_SUBSCRIBER_SERVICE_REQUEST", + "fieldSchemaKey" : { + "name" : "AverageServiceRequest", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "DoS", + "value" : { + "key" : "DoS", + "fieldSchemaKey" : { + "name" : "DOSFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "ENODEB_ID", + "value" : { + "key" : "ENODEB_ID", + "fieldSchemaKey" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NUM_SUBSCRIBERS", + "value" : { + "key" : "NUM_SUBSCRIBERS", + "fieldSchemaKey" : { + "name" : "SubscriberCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROBE_ON", + "value" : { + "key" : "PROBE_ON", + "fieldSchemaKey" : { + "name" : "ProbeOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "SERVICE_REQUEST_COUNT", + "value" : { + "key" : "SERVICE_REQUEST_COUNT", + "fieldSchemaKey" : { + "name" : "ServiceRequestCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "SGW_IP_ADDRESS", + "value" : { + "key" : "SGW_IP_ADDRESS", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_ON", + "value" : { + "key" : "TCP_ON", + "fieldSchemaKey" : { + "name" : "TCPOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_UE_SIDE_AVG_THROUGHPUT", + "value" : { + "key" : "TCP_UE_SIDE_AVG_THROUGHPUT", + "fieldSchemaKey" : { + "name" : "AverageThroughput", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_UE_SIDE_MEDIAN_RTT_TX_TO_RX", + "value" : { + "key" : "TCP_UE_SIDE_MEDIAN_RTT_TX_TO_RX", + "fieldSchemaKey" : { + "name" : "RoundTripTime", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "UE_IP_ADDRESS", + "value" : { + "key" : "UE_IP_ADDRESS", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "http_host_class", + "value" : { + "key" : "http_host_class", + "fieldSchemaKey" : { + "name" : "HttpHostClass", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "protocol_group", + "value" : { + "key" : "protocol_group", + "fieldSchemaKey" : { + "name" : "ProtocolGroup", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "taskParameters" : { + "entry" : [ ] + }, + "contextAlbumReference" : [ ], + "taskLogic" : { + "key" : "TaskLogic", + "logicFlavour" : "MVEL", + "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 */\nlogger.debug(subject.id + \":\" + subject.taskName + \" execution logic\");\nlogger.debug(inFields);\nlogger.debug(outFields);\nreturn true;" + } + } + }, { + "key" : { + "name" : "AADMMatchTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AADMMatchTask", + "version" : "0.0.1" + }, + "inputFields" : { + "entry" : [ { + "key" : "ACTTASK", + "value" : { + "key" : "ACTTASK", + "fieldSchemaKey" : { + "name" : "ActionTask", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "APPLICATION", + "value" : { + "key" : "APPLICATION", + "fieldSchemaKey" : { + "name" : "ApplicationName", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "ATTACH_COUNT", + "value" : { + "key" : "ATTACH_COUNT", + "fieldSchemaKey" : { + "name" : "AttachCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "AVG_SUBSCRIBER_ATTACH", + "value" : { + "key" : "AVG_SUBSCRIBER_ATTACH", + "fieldSchemaKey" : { + "name" : "AverageAttach", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "AVG_SUBSCRIBER_SERVICE_REQUEST", + "value" : { + "key" : "AVG_SUBSCRIBER_SERVICE_REQUEST", + "fieldSchemaKey" : { + "name" : "AverageServiceRequest", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "DoS", + "value" : { + "key" : "DoS", + "fieldSchemaKey" : { + "name" : "DOSFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "ENODEB_ID", + "value" : { + "key" : "ENODEB_ID", + "fieldSchemaKey" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NUM_SUBSCRIBERS", + "value" : { + "key" : "NUM_SUBSCRIBERS", + "fieldSchemaKey" : { + "name" : "SubscriberCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROBE_ON", + "value" : { + "key" : "PROBE_ON", + "fieldSchemaKey" : { + "name" : "ProbeOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "SERVICE_REQUEST_COUNT", + "value" : { + "key" : "SERVICE_REQUEST_COUNT", + "fieldSchemaKey" : { + "name" : "ServiceRequestCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "SGW_IP_ADDRESS", + "value" : { + "key" : "SGW_IP_ADDRESS", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_ON", + "value" : { + "key" : "TCP_ON", + "fieldSchemaKey" : { + "name" : "TCPOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_UE_SIDE_AVG_THROUGHPUT", + "value" : { + "key" : "TCP_UE_SIDE_AVG_THROUGHPUT", + "fieldSchemaKey" : { + "name" : "AverageThroughput", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_UE_SIDE_MEDIAN_RTT_TX_TO_RX", + "value" : { + "key" : "TCP_UE_SIDE_MEDIAN_RTT_TX_TO_RX", + "fieldSchemaKey" : { + "name" : "RoundTripTime", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "UE_IP_ADDRESS", + "value" : { + "key" : "UE_IP_ADDRESS", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "http_host_class", + "value" : { + "key" : "http_host_class", + "fieldSchemaKey" : { + "name" : "HttpHostClass", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "protocol_group", + "value" : { + "key" : "protocol_group", + "fieldSchemaKey" : { + "name" : "ProtocolGroup", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "outputFields" : { + "entry" : [ { + "key" : "ACTTASK", + "value" : { + "key" : "ACTTASK", + "fieldSchemaKey" : { + "name" : "ActionTask", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "APPLICATION", + "value" : { + "key" : "APPLICATION", + "fieldSchemaKey" : { + "name" : "ApplicationName", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "ATTACH_COUNT", + "value" : { + "key" : "ATTACH_COUNT", + "fieldSchemaKey" : { + "name" : "AttachCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "AVG_SUBSCRIBER_ATTACH", + "value" : { + "key" : "AVG_SUBSCRIBER_ATTACH", + "fieldSchemaKey" : { + "name" : "AverageAttach", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "AVG_SUBSCRIBER_SERVICE_REQUEST", + "value" : { + "key" : "AVG_SUBSCRIBER_SERVICE_REQUEST", + "fieldSchemaKey" : { + "name" : "AverageServiceRequest", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "DoS", + "value" : { + "key" : "DoS", + "fieldSchemaKey" : { + "name" : "DOSFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "ENODEB_ID", + "value" : { + "key" : "ENODEB_ID", + "fieldSchemaKey" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NUM_SUBSCRIBERS", + "value" : { + "key" : "NUM_SUBSCRIBERS", + "fieldSchemaKey" : { + "name" : "SubscriberCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROBE_ON", + "value" : { + "key" : "PROBE_ON", + "fieldSchemaKey" : { + "name" : "ProbeOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "SERVICE_REQUEST_COUNT", + "value" : { + "key" : "SERVICE_REQUEST_COUNT", + "fieldSchemaKey" : { + "name" : "ServiceRequestCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "SGW_IP_ADDRESS", + "value" : { + "key" : "SGW_IP_ADDRESS", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_ON", + "value" : { + "key" : "TCP_ON", + "fieldSchemaKey" : { + "name" : "TCPOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_UE_SIDE_AVG_THROUGHPUT", + "value" : { + "key" : "TCP_UE_SIDE_AVG_THROUGHPUT", + "fieldSchemaKey" : { + "name" : "AverageThroughput", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_UE_SIDE_MEDIAN_RTT_TX_TO_RX", + "value" : { + "key" : "TCP_UE_SIDE_MEDIAN_RTT_TX_TO_RX", + "fieldSchemaKey" : { + "name" : "RoundTripTime", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "UE_IP_ADDRESS", + "value" : { + "key" : "UE_IP_ADDRESS", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "http_host_class", + "value" : { + "key" : "http_host_class", + "fieldSchemaKey" : { + "name" : "HttpHostClass", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "protocol_group", + "value" : { + "key" : "protocol_group", + "fieldSchemaKey" : { + "name" : "ProtocolGroup", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "taskParameters" : { + "entry" : [ ] + }, + "contextAlbumReference" : [ { + "name" : "ENodeBStatusAlbum", + "version" : "0.0.1" + }, { + "name" : "IMSIStatusAlbum", + "version" : "0.0.1" + }, { + "name" : "IPAddressStatusAlbum", + "version" : "0.0.1" + } ], + "taskLogic" : { + "key" : "TaskLogic", + "logicFlavour" : "MVEL", + "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 */\nimport org.onap.policy.apex.examples.aadm.concepts.ENodeBStatus;\nimport org.onap.policy.apex.examples.aadm.concepts.IpAddressStatus;\nimport org.onap.policy.apex.examples.aadm.concepts.ImsiStatus;\n\nlogger.debug(subject.id + \":\" + subject.taskName + \" execution logic\");\nlogger.debug(inFields);\n\nipAddress = inFields[\"UE_IP_ADDRESS\"];\nif (ipAddress == null ) {\n ipAddress = inFields[\"IMSI_IP\"];\n\n if (ipAddress == null ) {\n logger.debug(\"Incoming event must specify parameter UE_IP_ADDRESS or parameter IMSI_IP\");\n return false;\n }\n}\n\nimsi = inFields[\"IMSI\"];\nif (imsi == null ) {\n logger.debug(\"Incoming event must specify parameter IMSI\");\n return false;\n}\n\neNodeBID = inFields[\"ENODEB_ID\"];\nif (eNodeBID == null ) {\n logger.debug(\"Incoming event must specify parameter ENODEB_ID\");\n return false;\n}\n\nIpAddressStatus ipAddressStatus = getContextAlbum(\"IPAddressStatusAlbum\").get(ipAddress);\nif (ipAddressStatus == null) {\n ipAddressStatus = new IpAddressStatus(ipAddress); \n ipAddressStatus.setImsi(imsi);\n getContextAlbum(\"IPAddressStatusAlbum\").put(ipAddressStatus.getIpAddress(), ipAddressStatus);\n logger.debug(\"added new IP address \" + getContextAlbum(\"IPAddressStatusAlbum\").get(ipAddress));\n}\nelse {\n logger.debug(\"found IP address \" + ipAddressStatus);\n}\n\nImsiStatus imsiStatus = getContextAlbum(\"IMSIStatusAlbum\").get((String)imsi);\nif (imsiStatus == null) {\n imsiStatus = new ImsiStatus(imsi);\n imsiStatus.setENodeBId(eNodeBID);\n getContextAlbum(\"IMSIStatusAlbum\").put(imsiStatus.getImsi(), imsiStatus);\n logger.debug(\"added new IMSI \" + imsi + \" to IMSI status map\")\n}\n\nENodeBStatus eNodeBStatus = getContextAlbum(\"ENodeBStatusAlbum\").get((String)eNodeBID);\nif (eNodeBStatus == null) {\n eNodeBStatus = new ENodeBStatus(eNodeBID);\n getContextAlbum(\"ENodeBStatusAlbum\").put(eNodeBStatus.getENodeB(), eNodeBStatus);\n logger.debug(\"added new ENodeB \" + eNodeBID + \" to ENodeB status map\")\n}\n\nreturn true;" + } + } + }, { + "key" : { + "name" : "AADMNoActTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AADMNoActTask", + "version" : "0.0.1" + }, + "inputFields" : { + "entry" : [ { + "key" : "ACTTASK", + "value" : { + "key" : "ACTTASK", + "fieldSchemaKey" : { + "name" : "ActionTask", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "APPLICATION", + "value" : { + "key" : "APPLICATION", + "fieldSchemaKey" : { + "name" : "ApplicationName", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "ATTACH_COUNT", + "value" : { + "key" : "ATTACH_COUNT", + "fieldSchemaKey" : { + "name" : "AttachCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "AVG_SUBSCRIBER_ATTACH", + "value" : { + "key" : "AVG_SUBSCRIBER_ATTACH", + "fieldSchemaKey" : { + "name" : "AverageAttach", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "AVG_SUBSCRIBER_SERVICE_REQUEST", + "value" : { + "key" : "AVG_SUBSCRIBER_SERVICE_REQUEST", + "fieldSchemaKey" : { + "name" : "AverageServiceRequest", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "DoS", + "value" : { + "key" : "DoS", + "fieldSchemaKey" : { + "name" : "DOSFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "ENODEB_ID", + "value" : { + "key" : "ENODEB_ID", + "fieldSchemaKey" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NUM_SUBSCRIBERS", + "value" : { + "key" : "NUM_SUBSCRIBERS", + "fieldSchemaKey" : { + "name" : "SubscriberCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROBE_ON", + "value" : { + "key" : "PROBE_ON", + "fieldSchemaKey" : { + "name" : "ProbeOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "SERVICE_REQUEST_COUNT", + "value" : { + "key" : "SERVICE_REQUEST_COUNT", + "fieldSchemaKey" : { + "name" : "ServiceRequestCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "SGW_IP_ADDRESS", + "value" : { + "key" : "SGW_IP_ADDRESS", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_ON", + "value" : { + "key" : "TCP_ON", + "fieldSchemaKey" : { + "name" : "TCPOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_UE_SIDE_AVG_THROUGHPUT", + "value" : { + "key" : "TCP_UE_SIDE_AVG_THROUGHPUT", + "fieldSchemaKey" : { + "name" : "AverageThroughput", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_UE_SIDE_MEDIAN_RTT_TX_TO_RX", + "value" : { + "key" : "TCP_UE_SIDE_MEDIAN_RTT_TX_TO_RX", + "fieldSchemaKey" : { + "name" : "RoundTripTime", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "UE_IP_ADDRESS", + "value" : { + "key" : "UE_IP_ADDRESS", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "http_host_class", + "value" : { + "key" : "http_host_class", + "fieldSchemaKey" : { + "name" : "HttpHostClass", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "protocol_group", + "value" : { + "key" : "protocol_group", + "fieldSchemaKey" : { + "name" : "ProtocolGroup", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "outputFields" : { + "entry" : [ { + "key" : "ACTTASK", + "value" : { + "key" : "ACTTASK", + "fieldSchemaKey" : { + "name" : "ActionTask", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "BLACKLIST_ON", + "value" : { + "key" : "BLACKLIST_ON", + "fieldSchemaKey" : { + "name" : "BlacklistOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "ENODEB_ID", + "value" : { + "key" : "ENODEB_ID", + "fieldSchemaKey" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "MAJ_MIN_MAINT_VERSION", + "value" : { + "key" : "MAJ_MIN_MAINT_VERSION", + "fieldSchemaKey" : { + "name" : "Version", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROBE_ON", + "value" : { + "key" : "PROBE_ON", + "fieldSchemaKey" : { + "name" : "ProbeOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROFILE", + "value" : { + "key" : "PROFILE", + "fieldSchemaKey" : { + "name" : "Profile", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_ON", + "value" : { + "key" : "TCP_ON", + "fieldSchemaKey" : { + "name" : "TCPOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "THRESHOLD", + "value" : { + "key" : "THRESHOLD", + "fieldSchemaKey" : { + "name" : "Threshold", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TRIGGER_SPEC", + "value" : { + "key" : "TRIGGER_SPEC", + "fieldSchemaKey" : { + "name" : "TriggerSpec", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "VERSION", + "value" : { + "key" : "VERSION", + "fieldSchemaKey" : { + "name" : "Version", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "taskParameters" : { + "entry" : [ ] + }, + "contextAlbumReference" : [ ], + "taskLogic" : { + "key" : "TaskLogic", + "logicFlavour" : "MVEL", + "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 */\nlogger.debug(subject.id + \":\" + subject.taskName + \" execution logic\");\n\noutFields[\"ACTTASK\"] = \"no\";\noutFields[\"TRIGGER_SPEC\"] = \"XSTREAM_AADM_ACT_EVENT\";\noutFields[\"MAJ_MIN_MAINT_VERSION\"] = \"0.0.1\";\n\nif (inFields[\"PROBE_ON\"] != null) {\n outFields[\"PROBE_ON\"] = inFields[\"PROBE_ON\"];\n}\nelse{\n outFields[\"PROBE_ON\"] = false;\n}\n\nif (inFields[\"TCP_ON\"] != null) {\n outFields[\"TCP_ON\"] = inFields[\"TCP_ON\"];\n}\nelse {\n outFields[\"TCP_ON\"] = false;\n}\n\noutFields[\"IMSI\"] = inFields[\"IMSI\"];\nif (inFields[\"IMSI_IP\"] != null) {\n outFields[\"IMSI_IP\"] = inFields[\"IMSI_IP\"];\n}\nelse {\n outFields[\"IMSI_IP\"] = inFields[\"UE_IP_ADDRESS\"];\n}\n\nif (inFields[\"NW_IP\"] != null) {\n outFields[\"NW_IP\"] = inFields[\"NW_IP\"];\n}\nelse{\n outFields[\"NW_IP\"] = inFields[\"SGW_IP_ADDRESS\"];\n}\n\nreturn true;" + } + } + }, { + "key" : { + "name" : "PeriodicActTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "PeriodicActTask", + "version" : "0.0.1" + }, + "inputFields" : { + "entry" : [ { + "key" : "PERIODIC_CURRENT_TIME", + "value" : { + "key" : "PERIODIC_CURRENT_TIME", + "fieldSchemaKey" : { + "name" : "PeriodicTime", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_DELAY", + "value" : { + "key" : "PERIODIC_DELAY", + "fieldSchemaKey" : { + "name" : "PeriodicDelay", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_EVENT_COUNT", + "value" : { + "key" : "PERIODIC_EVENT_COUNT", + "fieldSchemaKey" : { + "name" : "PeriodicEventCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_FIRST_TIME", + "value" : { + "key" : "PERIODIC_FIRST_TIME", + "fieldSchemaKey" : { + "name" : "PeriodicTime", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_LAST_TIME", + "value" : { + "key" : "PERIODIC_LAST_TIME", + "fieldSchemaKey" : { + "name" : "PeriodicTime", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "outputFields" : { + "entry" : [ { + "key" : "BLACKLIST_ON", + "value" : { + "key" : "BLACKLIST_ON", + "fieldSchemaKey" : { + "name" : "BlacklistOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROBE_ON", + "value" : { + "key" : "PROBE_ON", + "fieldSchemaKey" : { + "name" : "ProbeOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROFILE", + "value" : { + "key" : "PROFILE", + "fieldSchemaKey" : { + "name" : "Profile", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_ON", + "value" : { + "key" : "TCP_ON", + "fieldSchemaKey" : { + "name" : "TCPOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "taskParameters" : { + "entry" : [ ] + }, + "contextAlbumReference" : [ { + "name" : "IMSIStatusAlbum", + "version" : "0.0.1" + } ], + "taskLogic" : { + "key" : "TaskLogic", + "logicFlavour" : "MVEL", + "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 */\nimport org.onap.policy.apex.examples.aadm.concepts.ImsiStatus;\n\nlogger.debug(subject.id + \":\" + subject.taskName + \" execution logic\");\nlogger.debug(inFields);\n\nfor (ImsiStatus imsiStatus : getContextAlbum(\"IMSIStatusAlbum\").values()) {\n if ((System.currentTimeMillis() - imsiStatus.getBlacklistedTime()) > 180000) {\n imsiStatus.setBlacklistedTime(0);\n getContextAlbum(\"IMSIStatusAlbum\").put(imsiStatus.getImsi(), imsiStatus);\n }\n}\n\noutFields[\"IMSI\"] = 0;\noutFields[\"PROFILE\"] = \"ServiceA\";\noutFields[\"BLACKLIST_ON\"] = false;\noutFields[\"PROBE_ON\"] = false;\noutFields[\"TCP_ON\"] = false;\noutFields[\"NW_IP\"] = \"0.0.0.0\";\noutFields[\"IMSI_IP\"] = \"0.0.0.0\";\n\nreturn true;" + } + } + }, { + "key" : { + "name" : "PeriodicDecideTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "PeriodicDecideTask", + "version" : "0.0.1" + }, + "inputFields" : { + "entry" : [ { + "key" : "PERIODIC_CURRENT_TIME", + "value" : { + "key" : "PERIODIC_CURRENT_TIME", + "fieldSchemaKey" : { + "name" : "PeriodicTime", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_DELAY", + "value" : { + "key" : "PERIODIC_DELAY", + "fieldSchemaKey" : { + "name" : "PeriodicDelay", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_EVENT_COUNT", + "value" : { + "key" : "PERIODIC_EVENT_COUNT", + "fieldSchemaKey" : { + "name" : "PeriodicEventCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_FIRST_TIME", + "value" : { + "key" : "PERIODIC_FIRST_TIME", + "fieldSchemaKey" : { + "name" : "PeriodicTime", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_LAST_TIME", + "value" : { + "key" : "PERIODIC_LAST_TIME", + "fieldSchemaKey" : { + "name" : "PeriodicTime", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "outputFields" : { + "entry" : [ { + "key" : "PERIODIC_CURRENT_TIME", + "value" : { + "key" : "PERIODIC_CURRENT_TIME", + "fieldSchemaKey" : { + "name" : "PeriodicTime", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_DELAY", + "value" : { + "key" : "PERIODIC_DELAY", + "fieldSchemaKey" : { + "name" : "PeriodicDelay", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_EVENT_COUNT", + "value" : { + "key" : "PERIODIC_EVENT_COUNT", + "fieldSchemaKey" : { + "name" : "PeriodicEventCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_FIRST_TIME", + "value" : { + "key" : "PERIODIC_FIRST_TIME", + "fieldSchemaKey" : { + "name" : "PeriodicTime", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_LAST_TIME", + "value" : { + "key" : "PERIODIC_LAST_TIME", + "fieldSchemaKey" : { + "name" : "PeriodicTime", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "taskParameters" : { + "entry" : [ ] + }, + "contextAlbumReference" : [ ], + "taskLogic" : { + "key" : "TaskLogic", + "logicFlavour" : "MVEL", + "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 */\nlogger.debug(subject.id + \":\" + subject.taskName + \" execution logic\");\nlogger.debug(inFields);\nlogger.debug(outFields);\nreturn true;" + } + } + }, { + "key" : { + "name" : "PeriodicEstablishTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "PeriodicEstablishTask", + "version" : "0.0.1" + }, + "inputFields" : { + "entry" : [ { + "key" : "PERIODIC_CURRENT_TIME", + "value" : { + "key" : "PERIODIC_CURRENT_TIME", + "fieldSchemaKey" : { + "name" : "PeriodicTime", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_DELAY", + "value" : { + "key" : "PERIODIC_DELAY", + "fieldSchemaKey" : { + "name" : "PeriodicDelay", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_EVENT_COUNT", + "value" : { + "key" : "PERIODIC_EVENT_COUNT", + "fieldSchemaKey" : { + "name" : "PeriodicEventCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_FIRST_TIME", + "value" : { + "key" : "PERIODIC_FIRST_TIME", + "fieldSchemaKey" : { + "name" : "PeriodicTime", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_LAST_TIME", + "value" : { + "key" : "PERIODIC_LAST_TIME", + "fieldSchemaKey" : { + "name" : "PeriodicTime", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "outputFields" : { + "entry" : [ { + "key" : "PERIODIC_CURRENT_TIME", + "value" : { + "key" : "PERIODIC_CURRENT_TIME", + "fieldSchemaKey" : { + "name" : "PeriodicTime", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_DELAY", + "value" : { + "key" : "PERIODIC_DELAY", + "fieldSchemaKey" : { + "name" : "PeriodicDelay", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_EVENT_COUNT", + "value" : { + "key" : "PERIODIC_EVENT_COUNT", + "fieldSchemaKey" : { + "name" : "PeriodicEventCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_FIRST_TIME", + "value" : { + "key" : "PERIODIC_FIRST_TIME", + "fieldSchemaKey" : { + "name" : "PeriodicTime", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_LAST_TIME", + "value" : { + "key" : "PERIODIC_LAST_TIME", + "fieldSchemaKey" : { + "name" : "PeriodicTime", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "taskParameters" : { + "entry" : [ ] + }, + "contextAlbumReference" : [ ], + "taskLogic" : { + "key" : "TaskLogic", + "logicFlavour" : "MVEL", + "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 */\nlogger.debug(subject.id + \":\" + subject.taskName + \" execution logic\");\nlogger.debug(inFields);\nlogger.debug(outFields);\nreturn true;" + } + } + }, { + "key" : { + "name" : "PeriodicMatchTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "PeriodicMatchTask", + "version" : "0.0.1" + }, + "inputFields" : { + "entry" : [ { + "key" : "PERIODIC_CURRENT_TIME", + "value" : { + "key" : "PERIODIC_CURRENT_TIME", + "fieldSchemaKey" : { + "name" : "PeriodicTime", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_DELAY", + "value" : { + "key" : "PERIODIC_DELAY", + "fieldSchemaKey" : { + "name" : "PeriodicDelay", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_EVENT_COUNT", + "value" : { + "key" : "PERIODIC_EVENT_COUNT", + "fieldSchemaKey" : { + "name" : "PeriodicEventCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_FIRST_TIME", + "value" : { + "key" : "PERIODIC_FIRST_TIME", + "fieldSchemaKey" : { + "name" : "PeriodicTime", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_LAST_TIME", + "value" : { + "key" : "PERIODIC_LAST_TIME", + "fieldSchemaKey" : { + "name" : "PeriodicTime", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "outputFields" : { + "entry" : [ { + "key" : "PERIODIC_CURRENT_TIME", + "value" : { + "key" : "PERIODIC_CURRENT_TIME", + "fieldSchemaKey" : { + "name" : "PeriodicTime", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_DELAY", + "value" : { + "key" : "PERIODIC_DELAY", + "fieldSchemaKey" : { + "name" : "PeriodicDelay", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_EVENT_COUNT", + "value" : { + "key" : "PERIODIC_EVENT_COUNT", + "fieldSchemaKey" : { + "name" : "PeriodicEventCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_FIRST_TIME", + "value" : { + "key" : "PERIODIC_FIRST_TIME", + "fieldSchemaKey" : { + "name" : "PeriodicTime", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_LAST_TIME", + "value" : { + "key" : "PERIODIC_LAST_TIME", + "fieldSchemaKey" : { + "name" : "PeriodicTime", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "taskParameters" : { + "entry" : [ ] + }, + "contextAlbumReference" : [ ], + "taskLogic" : { + "key" : "TaskLogic", + "logicFlavour" : "MVEL", + "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 */\nlogger.debug(subject.id + \":\" + subject.taskName + \" execution logic\");\nlogger.debug(inFields);\nlogger.debug(outFields);\nreturn true;" + } + } + }, { + "key" : { + "name" : "SAPCActTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "SAPCActTask", + "version" : "0.0.1" + }, + "inputFields" : { + "entry" : [ { + "key" : "BLACKLIST_ON", + "value" : { + "key" : "BLACKLIST_ON", + "fieldSchemaKey" : { + "name" : "BlacklistOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "ENODEB_ID", + "value" : { + "key" : "ENODEB_ID", + "fieldSchemaKey" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROBE_ON", + "value" : { + "key" : "PROBE_ON", + "fieldSchemaKey" : { + "name" : "ProbeOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROFILE", + "value" : { + "key" : "PROFILE", + "fieldSchemaKey" : { + "name" : "Profile", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_ON", + "value" : { + "key" : "TCP_ON", + "fieldSchemaKey" : { + "name" : "TCPOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "THRESHOLD", + "value" : { + "key" : "THRESHOLD", + "fieldSchemaKey" : { + "name" : "Threshold", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "VERSION", + "value" : { + "key" : "VERSION", + "fieldSchemaKey" : { + "name" : "Version", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "outputFields" : { + "entry" : [ { + "key" : "BLACKLIST_ON", + "value" : { + "key" : "BLACKLIST_ON", + "fieldSchemaKey" : { + "name" : "BlacklistOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROBE_ON", + "value" : { + "key" : "PROBE_ON", + "fieldSchemaKey" : { + "name" : "ProbeOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROFILE", + "value" : { + "key" : "PROFILE", + "fieldSchemaKey" : { + "name" : "Profile", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_ON", + "value" : { + "key" : "TCP_ON", + "fieldSchemaKey" : { + "name" : "TCPOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "taskParameters" : { + "entry" : [ ] + }, + "contextAlbumReference" : [ { + "name" : "IMSIStatusAlbum", + "version" : "0.0.1" + } ], + "taskLogic" : { + "key" : "TaskLogic", + "logicFlavour" : "MVEL", + "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 */\nimport org.onap.policy.apex.examples.aadm.concepts.ImsiStatus;\n\nlogger.debug(subject.id + \":\" + subject.taskName + \" execution logic\");\nlogger.debug(inFields);\n\nif (inFields[\"IMSI\"] == null) {\n outFields[\"IMSI\"] = 0;\n}\nelse {\n outFields[\"IMSI\"] = inFields[\"IMSI\"];\n}\n\nif (outFields[\"IMSI\"] == 0 && inFields[\"IMSI_IP\"] != null && inFields[\"IMSI_IP\"].equals(\"0\")) {\n // no action arrived\n outFields[\"IMSI\"] = 0;\n outFields[\"PROFILE\"] = \"none\";\n outFields[\"BLACKLIST_ON\"] = false;\n outFields[\"PROBE_ON\"] = false;\n return true;\n}\n\nImsiStatus imsiStatus = getContextAlbum(\"IMSIStatusAlbum\").get((String)inFields[\"IMSI\"]);\nlogger.debug(imsiStatus);\n\nif (imsiStatus.getBlockingCount() > 1) {\n outFields[\"IMSI\"] = 0;\n outFields[\"PROFILE\"] = \"none\";\n outFields[\"BLACKLIST_ON\"] = false;\n outFields[\"PROBE_ON\"] = false;\n\n return true;\n}\n\nif (imsiStatus.getBlockingCount() > 0 && imsiStatus.getBlacklistedTime() != 0) {\n outFields[\"IMSI\"] = 0;\n outFields[\"PROFILE\"] = \"none\";\n outFields[\"BLACKLIST_ON\"] = false;\n outFields[\"PROBE_ON\"] = false;\n\n return true;\n}\n\nimsiStatus.incrementBlockingCount();\nimsiStatus.setBlacklistedTime(System.currentTimeMillis());\n\nlogger.debug(\"Bocking count for IMSI: \" + imsiStatus.getImsi() + \" is: \" + imsiStatus.getBlockingCount());\ngetContextAlbum(\"IMSIStatusAlbum\").put(imsiStatus.getImsi(), imsiStatus);\n\noutFields[\"PROFILE\"] = \"ServiceA\";\noutFields[\"BLACKLIST_ON\"] = true;\noutFields[\"PROBE_ON\"] = false;\n\nif (imsiStatus.getBlockingCount() > 1) {\n logger.debug(\"POLICY SAPCPolicy - blacklisting imsi: \" + outFields[\"IMSI\"] + \" permanently\");\n}\nelse {\n logger.debug(\"POLICY SAPCPolicy - blacklisting imsi: \" + outFields[\"IMSI\"] + \" temporary for 120000 ms\");\n}\n\nreturn true;" + } + } + }, { + "key" : { + "name" : "SAPCDecideTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "SAPCDecideTask", + "version" : "0.0.1" + }, + "inputFields" : { + "entry" : [ { + "key" : "BLACKLIST_ON", + "value" : { + "key" : "BLACKLIST_ON", + "fieldSchemaKey" : { + "name" : "BlacklistOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "ENODEB_ID", + "value" : { + "key" : "ENODEB_ID", + "fieldSchemaKey" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROBE_ON", + "value" : { + "key" : "PROBE_ON", + "fieldSchemaKey" : { + "name" : "ProbeOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROFILE", + "value" : { + "key" : "PROFILE", + "fieldSchemaKey" : { + "name" : "Profile", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_ON", + "value" : { + "key" : "TCP_ON", + "fieldSchemaKey" : { + "name" : "TCPOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "THRESHOLD", + "value" : { + "key" : "THRESHOLD", + "fieldSchemaKey" : { + "name" : "Threshold", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "VERSION", + "value" : { + "key" : "VERSION", + "fieldSchemaKey" : { + "name" : "Version", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "outputFields" : { + "entry" : [ { + "key" : "BLACKLIST_ON", + "value" : { + "key" : "BLACKLIST_ON", + "fieldSchemaKey" : { + "name" : "BlacklistOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROBE_ON", + "value" : { + "key" : "PROBE_ON", + "fieldSchemaKey" : { + "name" : "ProbeOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROFILE", + "value" : { + "key" : "PROFILE", + "fieldSchemaKey" : { + "name" : "Profile", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_ON", + "value" : { + "key" : "TCP_ON", + "fieldSchemaKey" : { + "name" : "TCPOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "taskParameters" : { + "entry" : [ ] + }, + "contextAlbumReference" : [ ], + "taskLogic" : { + "key" : "TaskLogic", + "logicFlavour" : "MVEL", + "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 */\nlogger.debug(subject.id + \":\" + subject.taskName + \" execution logic\");\nlogger.debug(inFields);\nlogger.debug(outFields);\nreturn true;" + } + } + }, { + "key" : { + "name" : "SAPCEstablishTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "SAPCEstablishTask", + "version" : "0.0.1" + }, + "inputFields" : { + "entry" : [ { + "key" : "BLACKLIST_ON", + "value" : { + "key" : "BLACKLIST_ON", + "fieldSchemaKey" : { + "name" : "BlacklistOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "ENODEB_ID", + "value" : { + "key" : "ENODEB_ID", + "fieldSchemaKey" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROBE_ON", + "value" : { + "key" : "PROBE_ON", + "fieldSchemaKey" : { + "name" : "ProbeOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROFILE", + "value" : { + "key" : "PROFILE", + "fieldSchemaKey" : { + "name" : "Profile", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_ON", + "value" : { + "key" : "TCP_ON", + "fieldSchemaKey" : { + "name" : "TCPOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "THRESHOLD", + "value" : { + "key" : "THRESHOLD", + "fieldSchemaKey" : { + "name" : "Threshold", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "VERSION", + "value" : { + "key" : "VERSION", + "fieldSchemaKey" : { + "name" : "Version", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "outputFields" : { + "entry" : [ { + "key" : "BLACKLIST_ON", + "value" : { + "key" : "BLACKLIST_ON", + "fieldSchemaKey" : { + "name" : "BlacklistOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROBE_ON", + "value" : { + "key" : "PROBE_ON", + "fieldSchemaKey" : { + "name" : "ProbeOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROFILE", + "value" : { + "key" : "PROFILE", + "fieldSchemaKey" : { + "name" : "Profile", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_ON", + "value" : { + "key" : "TCP_ON", + "fieldSchemaKey" : { + "name" : "TCPOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "taskParameters" : { + "entry" : [ ] + }, + "contextAlbumReference" : [ ], + "taskLogic" : { + "key" : "TaskLogic", + "logicFlavour" : "MVEL", + "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 */\nlogger.debug(subject.id + \":\" + subject.taskName + \" execution logic\");\nlogger.debug(inFields);\nlogger.debug(outFields);\nreturn true;" + } + } + }, { + "key" : { + "name" : "SAPCMatchTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "SAPCMatchTask", + "version" : "0.0.1" + }, + "inputFields" : { + "entry" : [ { + "key" : "BLACKLIST_ON", + "value" : { + "key" : "BLACKLIST_ON", + "fieldSchemaKey" : { + "name" : "BlacklistOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "ENODEB_ID", + "value" : { + "key" : "ENODEB_ID", + "fieldSchemaKey" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROBE_ON", + "value" : { + "key" : "PROBE_ON", + "fieldSchemaKey" : { + "name" : "ProbeOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROFILE", + "value" : { + "key" : "PROFILE", + "fieldSchemaKey" : { + "name" : "Profile", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_ON", + "value" : { + "key" : "TCP_ON", + "fieldSchemaKey" : { + "name" : "TCPOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "THRESHOLD", + "value" : { + "key" : "THRESHOLD", + "fieldSchemaKey" : { + "name" : "Threshold", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "VERSION", + "value" : { + "key" : "VERSION", + "fieldSchemaKey" : { + "name" : "Version", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "outputFields" : { + "entry" : [ { + "key" : "BLACKLIST_ON", + "value" : { + "key" : "BLACKLIST_ON", + "fieldSchemaKey" : { + "name" : "BlacklistOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROBE_ON", + "value" : { + "key" : "PROBE_ON", + "fieldSchemaKey" : { + "name" : "ProbeOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROFILE", + "value" : { + "key" : "PROFILE", + "fieldSchemaKey" : { + "name" : "Profile", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_ON", + "value" : { + "key" : "TCP_ON", + "fieldSchemaKey" : { + "name" : "TCPOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "taskParameters" : { + "entry" : [ ] + }, + "contextAlbumReference" : [ ], + "taskLogic" : { + "key" : "TaskLogic", + "logicFlavour" : "MVEL", + "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 */\nlogger.debug(subject.id + \":\" + subject.taskName + \" execution logic\");\nlogger.debug(inFields);\n\nif (inFields[\"ACTTASK\"] != null && inFields[\"ACTTASK\"].equals(\"no\")) {\n outFields[\"IMSI\"] = 0;\n outFields[\"IMSI_IP\"] = \"0\";\n return true;\n}\n\nif (inFields[\"PROBE_ON\"] != null) {\n outFields[\"PROBE_ON\"] = inFields[\"PROBE_ON\"];\n}\nelse{\n outFields[\"PROBE_ON\"] = false;\n}\n\nif (inFields[\"TCP_ON\"] != null) {\n outFields[\"TCP_ON\"] = inFields[\"TCP_ON\"];\n}\nelse{\n outFields[\"TCP_ON\"] = false;\n}\n\noutFields[\"IMSI\"] = inFields[\"IMSI\"];\nif (inFields[\"IMSI_IP\"] != null) {\n outFields[\"IMSI_IP\"] = inFields[\"IMSI_IP\"];\n}\n\nif (inFields[\"NW_IP\"] != null) {\n outFields[\"NW_IP\"] = inFields[\"NW_IP\"];\n}\n\nreturn true;" + } + } + }, { + "key" : { + "name" : "VMMEActTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "VMMEActTask", + "version" : "0.0.1" + }, + "inputFields" : { + "entry" : [ { + "key" : "ENODEB_ID", + "value" : { + "key" : "ENODEB_ID", + "fieldSchemaKey" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROFILE", + "value" : { + "key" : "PROFILE", + "fieldSchemaKey" : { + "name" : "Profile", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "THRESHOLD", + "value" : { + "key" : "THRESHOLD", + "fieldSchemaKey" : { + "name" : "Threshold", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "outputFields" : { + "entry" : [ { + "key" : "ENODEB_ID", + "value" : { + "key" : "ENODEB_ID", + "fieldSchemaKey" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROFILE", + "value" : { + "key" : "PROFILE", + "fieldSchemaKey" : { + "name" : "Profile", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "THRESHOLD", + "value" : { + "key" : "THRESHOLD", + "fieldSchemaKey" : { + "name" : "Threshold", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "taskParameters" : { + "entry" : [ ] + }, + "contextAlbumReference" : [ ], + "taskLogic" : { + "key" : "TaskLogic", + "logicFlavour" : "MVEL", + "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 */\nlogger.debug(subject.id + \":\" + subject.taskName + \" execution logic\");\nlogger.debug(inFields);\n\noutFields[\"TRIGGER_SPEC\"] = \"vMMEThresholdEvent\";\noutFields[\"MAJ_MIN_MAINT_VERSION\"] = \"0.0.1\";\n\nif (outFields[\"IMSI\"] == null) {\n outFields[\"IMSI\"] = 0;\n}\n\nif (outFields[\"ENODEB_ID\"] == null) {\n outFields[\"ENODEB_ID\"] = 0;\n}\n\nif (outFields[\"IMSI_IP\"] == null) {\n outFields[\"IMSI_IP\"] = \"\";\n}\n\nif (outFields[\"NW_IP\"] == null) {\n outFields[\"NW_IP\"] = \"\";\n}\n\noutFields[\"PROFILE\"] = \"ServiceA\";\noutFields[\"THRESHOLD\"] = 20;\nreturn true;" + } + } + }, { + "key" : { + "name" : "VMMEDecideTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "VMMEDecideTask", + "version" : "0.0.1" + }, + "inputFields" : { + "entry" : [ { + "key" : "ENODEB_ID", + "value" : { + "key" : "ENODEB_ID", + "fieldSchemaKey" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROFILE", + "value" : { + "key" : "PROFILE", + "fieldSchemaKey" : { + "name" : "Profile", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "THRESHOLD", + "value" : { + "key" : "THRESHOLD", + "fieldSchemaKey" : { + "name" : "Threshold", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "outputFields" : { + "entry" : [ { + "key" : "ENODEB_ID", + "value" : { + "key" : "ENODEB_ID", + "fieldSchemaKey" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROFILE", + "value" : { + "key" : "PROFILE", + "fieldSchemaKey" : { + "name" : "Profile", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "THRESHOLD", + "value" : { + "key" : "THRESHOLD", + "fieldSchemaKey" : { + "name" : "Threshold", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "taskParameters" : { + "entry" : [ ] + }, + "contextAlbumReference" : [ ], + "taskLogic" : { + "key" : "TaskLogic", + "logicFlavour" : "MVEL", + "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 */\nlogger.debug(subject.id + \":\" + subject.taskName + \" execution logic\");\nlogger.debug(inFields);\nlogger.debug(outFields);\nreturn true;" + } + } + }, { + "key" : { + "name" : "VMMEEstablishTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "VMMEEstablishTask", + "version" : "0.0.1" + }, + "inputFields" : { + "entry" : [ { + "key" : "ENODEB_ID", + "value" : { + "key" : "ENODEB_ID", + "fieldSchemaKey" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROFILE", + "value" : { + "key" : "PROFILE", + "fieldSchemaKey" : { + "name" : "Profile", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "THRESHOLD", + "value" : { + "key" : "THRESHOLD", + "fieldSchemaKey" : { + "name" : "Threshold", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "outputFields" : { + "entry" : [ { + "key" : "ENODEB_ID", + "value" : { + "key" : "ENODEB_ID", + "fieldSchemaKey" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROFILE", + "value" : { + "key" : "PROFILE", + "fieldSchemaKey" : { + "name" : "Profile", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "THRESHOLD", + "value" : { + "key" : "THRESHOLD", + "fieldSchemaKey" : { + "name" : "Threshold", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "taskParameters" : { + "entry" : [ ] + }, + "contextAlbumReference" : [ ], + "taskLogic" : { + "key" : "TaskLogic", + "logicFlavour" : "MVEL", + "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 */\nlogger.debug(subject.id + \":\" + subject.taskName + \" execution logic\");\nlogger.debug(inFields);\nlogger.debug(outFields);\nreturn true;" + } + } + }, { + "key" : { + "name" : "VMMEMatchTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "VMMEMatchTask", + "version" : "0.0.1" + }, + "inputFields" : { + "entry" : [ { + "key" : "ENODEB_ID", + "value" : { + "key" : "ENODEB_ID", + "fieldSchemaKey" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROFILE", + "value" : { + "key" : "PROFILE", + "fieldSchemaKey" : { + "name" : "Profile", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "THRESHOLD", + "value" : { + "key" : "THRESHOLD", + "fieldSchemaKey" : { + "name" : "Threshold", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "outputFields" : { + "entry" : [ { + "key" : "ENODEB_ID", + "value" : { + "key" : "ENODEB_ID", + "fieldSchemaKey" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROFILE", + "value" : { + "key" : "PROFILE", + "fieldSchemaKey" : { + "name" : "Profile", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "THRESHOLD", + "value" : { + "key" : "THRESHOLD", + "fieldSchemaKey" : { + "name" : "Threshold", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "taskParameters" : { + "entry" : [ ] + }, + "contextAlbumReference" : [ ], + "taskLogic" : { + "key" : "TaskLogic", + "logicFlavour" : "MVEL", + "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 */\nlogger.debug(subject.id + \":\" + subject.taskName + \" execution logic\");\nlogger.debug(inFields);\n\nif (inFields[\"PROBE_ON\"] != null) {\n outFields[\"PROBE_ON\"] = inFields[\"PROBE_ON\"];\n}\nelse{\n outFields[\"PROBE_ON\"] = false;\n}\n\nif (inFields[\"TCP_ON\"] != null) {\n outFields[\"TCP_ON\"] = inFields[\"TCP_ON\"];\n}\nelse{\n outFields[\"TCP_ON\"] = false;\n}\n\noutFields[\"IMSI\"] = inFields[\"IMSI\"];\nif (inFields[\"IMSI_IP\"] != null) {\n outFields[\"IMSI_IP\"] = inFields[\"IMSI_IP\"];\n}\n\nif (inFields[\"NW_IP\"] != null) {\n outFields[\"NW_IP\"] = inFields[\"NW_IP\"];\n}\noutFields[\"VERSION\"] = inFields.getkey().getVersion();\n\nreturn true;" + } + } + }, { + "key" : { + "name" : "VMMENoActTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "VMMENoActTask", + "version" : "0.0.1" + }, + "inputFields" : { + "entry" : [ { + "key" : "ENODEB_ID", + "value" : { + "key" : "ENODEB_ID", + "fieldSchemaKey" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROFILE", + "value" : { + "key" : "PROFILE", + "fieldSchemaKey" : { + "name" : "Profile", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "THRESHOLD", + "value" : { + "key" : "THRESHOLD", + "fieldSchemaKey" : { + "name" : "Threshold", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "outputFields" : { + "entry" : [ { + "key" : "ENODEB_ID", + "value" : { + "key" : "ENODEB_ID", + "fieldSchemaKey" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROFILE", + "value" : { + "key" : "PROFILE", + "fieldSchemaKey" : { + "name" : "Profile", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "THRESHOLD", + "value" : { + "key" : "THRESHOLD", + "fieldSchemaKey" : { + "name" : "Threshold", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + }, + "taskParameters" : { + "entry" : [ ] + }, + "contextAlbumReference" : [ ], + "taskLogic" : { + "key" : "TaskLogic", + "logicFlavour" : "MVEL", + "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 */\nlogger.debug(subject.id + \":\" + subject.taskName + \" execution logic\");\nlogger.debug(inFields);\nlogger.debug(outFields);\nreturn true;" + } + } + } ] + } + }, + "events" : { + "key" : { + "name" : "AADMEvents", + "version" : "0.0.1" + }, + "eventMap" : { + "entry" : [ { + "key" : { + "name" : "AADMEvent", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AADMEvent", + "version" : "0.0.1" + }, + "nameSpace" : "org.onap.policy.apex.examples.aadm.events", + "source" : "External", + "target" : "Apex", + "parameter" : { + "entry" : [ { + "key" : "ACTTASK", + "value" : { + "key" : "ACTTASK", + "fieldSchemaKey" : { + "name" : "ActionTask", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "APPLICATION", + "value" : { + "key" : "APPLICATION", + "fieldSchemaKey" : { + "name" : "ApplicationName", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "ATTACH_COUNT", + "value" : { + "key" : "ATTACH_COUNT", + "fieldSchemaKey" : { + "name" : "AttachCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "AVG_SUBSCRIBER_ATTACH", + "value" : { + "key" : "AVG_SUBSCRIBER_ATTACH", + "fieldSchemaKey" : { + "name" : "AverageAttach", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "AVG_SUBSCRIBER_SERVICE_REQUEST", + "value" : { + "key" : "AVG_SUBSCRIBER_SERVICE_REQUEST", + "fieldSchemaKey" : { + "name" : "AverageServiceRequest", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "DoS", + "value" : { + "key" : "DoS", + "fieldSchemaKey" : { + "name" : "DOSFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "ENODEB_ID", + "value" : { + "key" : "ENODEB_ID", + "fieldSchemaKey" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NUM_SUBSCRIBERS", + "value" : { + "key" : "NUM_SUBSCRIBERS", + "fieldSchemaKey" : { + "name" : "SubscriberCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROBE_ON", + "value" : { + "key" : "PROBE_ON", + "fieldSchemaKey" : { + "name" : "ProbeOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "SERVICE_REQUEST_COUNT", + "value" : { + "key" : "SERVICE_REQUEST_COUNT", + "fieldSchemaKey" : { + "name" : "ServiceRequestCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "SGW_IP_ADDRESS", + "value" : { + "key" : "SGW_IP_ADDRESS", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_ON", + "value" : { + "key" : "TCP_ON", + "fieldSchemaKey" : { + "name" : "TCPOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_UE_SIDE_AVG_THROUGHPUT", + "value" : { + "key" : "TCP_UE_SIDE_AVG_THROUGHPUT", + "fieldSchemaKey" : { + "name" : "AverageThroughput", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_UE_SIDE_MEDIAN_RTT_TX_TO_RX", + "value" : { + "key" : "TCP_UE_SIDE_MEDIAN_RTT_TX_TO_RX", + "fieldSchemaKey" : { + "name" : "RoundTripTime", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "UE_IP_ADDRESS", + "value" : { + "key" : "UE_IP_ADDRESS", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "http_host_class", + "value" : { + "key" : "http_host_class", + "fieldSchemaKey" : { + "name" : "HttpHostClass", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "protocol_group", + "value" : { + "key" : "protocol_group", + "fieldSchemaKey" : { + "name" : "ProtocolGroup", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + } + } + }, { + "key" : { + "name" : "PeriodicEvent", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "PeriodicEvent", + "version" : "0.0.1" + }, + "nameSpace" : "org.onap.policy.apex.examples.aadm.events", + "source" : "System", + "target" : "Apex", + "parameter" : { + "entry" : [ { + "key" : "PERIODIC_CURRENT_TIME", + "value" : { + "key" : "PERIODIC_CURRENT_TIME", + "fieldSchemaKey" : { + "name" : "PeriodicTime", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_DELAY", + "value" : { + "key" : "PERIODIC_DELAY", + "fieldSchemaKey" : { + "name" : "PeriodicDelay", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_EVENT_COUNT", + "value" : { + "key" : "PERIODIC_EVENT_COUNT", + "fieldSchemaKey" : { + "name" : "PeriodicEventCount", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_FIRST_TIME", + "value" : { + "key" : "PERIODIC_FIRST_TIME", + "fieldSchemaKey" : { + "name" : "PeriodicTime", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PERIODIC_LAST_TIME", + "value" : { + "key" : "PERIODIC_LAST_TIME", + "fieldSchemaKey" : { + "name" : "PeriodicTime", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + } + } + }, { + "key" : { + "name" : "SAPCBlacklistSubscriberEvent", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "SAPCBlacklistSubscriberEvent", + "version" : "0.0.1" + }, + "nameSpace" : "org.onap.policy.apex.examples.aadm.events", + "source" : "Apex", + "target" : "External", + "parameter" : { + "entry" : [ { + "key" : "BLACKLIST_ON", + "value" : { + "key" : "BLACKLIST_ON", + "fieldSchemaKey" : { + "name" : "BlacklistOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROBE_ON", + "value" : { + "key" : "PROBE_ON", + "fieldSchemaKey" : { + "name" : "ProbeOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROFILE", + "value" : { + "key" : "PROFILE", + "fieldSchemaKey" : { + "name" : "Profile", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_ON", + "value" : { + "key" : "TCP_ON", + "fieldSchemaKey" : { + "name" : "TCPOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + } + } + }, { + "key" : { + "name" : "SAPCEvent", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "SAPCEvent", + "version" : "0.0.1" + }, + "nameSpace" : "org.onap.policy.apex.examples.aadm.events", + "source" : "External", + "target" : "Apex", + "parameter" : { + "entry" : [ { + "key" : "BLACKLIST_ON", + "value" : { + "key" : "BLACKLIST_ON", + "fieldSchemaKey" : { + "name" : "BlacklistOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "ENODEB_ID", + "value" : { + "key" : "ENODEB_ID", + "fieldSchemaKey" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROBE_ON", + "value" : { + "key" : "PROBE_ON", + "fieldSchemaKey" : { + "name" : "ProbeOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROFILE", + "value" : { + "key" : "PROFILE", + "fieldSchemaKey" : { + "name" : "Profile", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_ON", + "value" : { + "key" : "TCP_ON", + "fieldSchemaKey" : { + "name" : "TCPOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "THRESHOLD", + "value" : { + "key" : "THRESHOLD", + "fieldSchemaKey" : { + "name" : "Threshold", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "VERSION", + "value" : { + "key" : "VERSION", + "fieldSchemaKey" : { + "name" : "Version", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + } + } + }, { + "key" : { + "name" : "VMMEEvent", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "VMMEEvent", + "version" : "0.0.1" + }, + "nameSpace" : "org.onap.policy.apex.examples.aadm.events", + "source" : "External", + "target" : "Apex", + "parameter" : { + "entry" : [ { + "key" : "ENODEB_ID", + "value" : { + "key" : "ENODEB_ID", + "fieldSchemaKey" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROFILE", + "value" : { + "key" : "PROFILE", + "fieldSchemaKey" : { + "name" : "Profile", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "THRESHOLD", + "value" : { + "key" : "THRESHOLD", + "fieldSchemaKey" : { + "name" : "Threshold", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + } + } + }, { + "key" : { + "name" : "XSTREAM_AADM_ACT_EVENT", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "XSTREAM_AADM_ACT_EVENT", + "version" : "0.0.1" + }, + "nameSpace" : "org.onap.policy.apex.examples.aadm.events", + "source" : "Apex", + "target" : "External", + "parameter" : { + "entry" : [ { + "key" : "ACTTASK", + "value" : { + "key" : "ACTTASK", + "fieldSchemaKey" : { + "name" : "ActionTask", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "BLACKLIST_ON", + "value" : { + "key" : "BLACKLIST_ON", + "fieldSchemaKey" : { + "name" : "BlacklistOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "ENODEB_ID", + "value" : { + "key" : "ENODEB_ID", + "fieldSchemaKey" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI", + "value" : { + "key" : "IMSI", + "fieldSchemaKey" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "IMSI_IP", + "value" : { + "key" : "IMSI_IP", + "fieldSchemaKey" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "MAJ_MIN_MAINT_VERSION", + "value" : { + "key" : "MAJ_MIN_MAINT_VERSION", + "fieldSchemaKey" : { + "name" : "Version", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "NW_IP", + "value" : { + "key" : "NW_IP", + "fieldSchemaKey" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROBE_ON", + "value" : { + "key" : "PROBE_ON", + "fieldSchemaKey" : { + "name" : "ProbeOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "PROFILE", + "value" : { + "key" : "PROFILE", + "fieldSchemaKey" : { + "name" : "Profile", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TCP_ON", + "value" : { + "key" : "TCP_ON", + "fieldSchemaKey" : { + "name" : "TCPOnFlag", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "THRESHOLD", + "value" : { + "key" : "THRESHOLD", + "fieldSchemaKey" : { + "name" : "Threshold", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "TRIGGER_SPEC", + "value" : { + "key" : "TRIGGER_SPEC", + "fieldSchemaKey" : { + "name" : "TriggerSpec", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "VERSION", + "value" : { + "key" : "VERSION", + "fieldSchemaKey" : { + "name" : "Version", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + } + } + } ] + } + }, + "albums" : { + "key" : { + "name" : "AADMContext", + "version" : "0.0.1" + }, + "albums" : { + "entry" : [ { + "key" : { + "name" : "ENodeBStatusAlbum", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "ENodeBStatusAlbum", + "version" : "0.0.1" + }, + "scope" : "APPLICATION", + "isWritable" : true, + "itemSchema" : { + "name" : "ENodeBStatus", + "version" : "0.0.1" + } + } + }, { + "key" : { + "name" : "IMSIStatusAlbum", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "IMSIStatusAlbum", + "version" : "0.0.1" + }, + "scope" : "APPLICATION", + "isWritable" : true, + "itemSchema" : { + "name" : "IMSIStatus", + "version" : "0.0.1" + } + } + }, { + "key" : { + "name" : "IPAddressStatusAlbum", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "IPAddressStatusAlbum", + "version" : "0.0.1" + }, + "scope" : "APPLICATION", + "isWritable" : true, + "itemSchema" : { + "name" : "IPAddressStatus", + "version" : "0.0.1" + } + } + } ] + } + }, + "schemas" : { + "key" : { + "name" : "AADMDatatypes", + "version" : "0.0.1" + }, + "schemas" : { + "entry" : [ { + "key" : { + "name" : "ActionTask", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "ActionTask", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.String" + } + }, { + "key" : { + "name" : "ApplicationName", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "ApplicationName", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.String" + } + }, { + "key" : { + "name" : "AttachCount", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AttachCount", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Integer" + } + }, { + "key" : { + "name" : "AverageAttach", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AverageAttach", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Double" + } + }, { + "key" : { + "name" : "AverageServiceRequest", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AverageServiceRequest", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Double" + } + }, { + "key" : { + "name" : "AverageThroughput", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AverageThroughput", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Double" + } + }, { + "key" : { + "name" : "BlacklistOnFlag", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "BlacklistOnFlag", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Boolean" + } + }, { + "key" : { + "name" : "DOSFlag", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "DOSFlag", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Boolean" + } + }, { + "key" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "ENodeBID", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Long" + } + }, { + "key" : { + "name" : "ENodeBStatus", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "ENodeBStatus", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "org.onap.policy.apex.examples.aadm.concepts.ENodeBStatus" + } + }, { + "key" : { + "name" : "HttpHostClass", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "HttpHostClass", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.String" + } + }, { + "key" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "IMSI", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Long" + } + }, { + "key" : { + "name" : "IMSIStatus", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "IMSIStatus", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "org.onap.policy.apex.examples.aadm.concepts.ImsiStatus" + } + }, { + "key" : { + "name" : "IPAddressStatus", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "IPAddressStatus", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "org.onap.policy.apex.examples.aadm.concepts.IpAddressStatus" + } + }, { + "key" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "NWIPAddress", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.String" + } + }, { + "key" : { + "name" : "PeriodicDelay", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "PeriodicDelay", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Long" + } + }, { + "key" : { + "name" : "PeriodicEventCount", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "PeriodicEventCount", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Long" + } + }, { + "key" : { + "name" : "PeriodicTime", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "PeriodicTime", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Long" + } + }, { + "key" : { + "name" : "ProbeOnFlag", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "ProbeOnFlag", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Boolean" + } + }, { + "key" : { + "name" : "Profile", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "Profile", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.String" + } + }, { + "key" : { + "name" : "ProtocolGroup", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "ProtocolGroup", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.String" + } + }, { + "key" : { + "name" : "RoundTripTime", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "RoundTripTime", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Long" + } + }, { + "key" : { + "name" : "ServiceRequestCount", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "ServiceRequestCount", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Integer" + } + }, { + "key" : { + "name" : "SubscriberCount", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "SubscriberCount", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Integer" + } + }, { + "key" : { + "name" : "TCPOnFlag", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "TCPOnFlag", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Boolean" + } + }, { + "key" : { + "name" : "Threshold", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "Threshold", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Long" + } + }, { + "key" : { + "name" : "TriggerSpec", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "TriggerSpec", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.String" + } + }, { + "key" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "UEIPAddress", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.String" + } + }, { + "key" : { + "name" : "Version", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "Version", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.String" + } + } ] + } + } + } +}
\ No newline at end of file |