summaryrefslogtreecommitdiffstats
path: root/src/test/resources/example
diff options
context:
space:
mode:
authorDeterme, Sebastien (sd378r) <sd378r@intl.att.com>2018-02-14 15:30:07 +0100
committerDeterme, Sebastien (sd378r) <sd378r@intl.att.com>2018-02-14 15:30:07 +0100
commit9ebb9c1aa320e49c581ba1a66202cc2f2bda0c5a (patch)
tree658398df111f90c19fe158c7c9abe040a850d49d /src/test/resources/example
parent454936e900890e77adc9a1450e5bcb01d0c90823 (diff)
Rework the SDC cache
Rework the SDC cache that was broken and add unit tests to validate it Issue-ID: CLAMP-85 Change-Id: I43503702733d8f8f0ddbf391f94fb4e5416be98f Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
Diffstat (limited to 'src/test/resources/example')
-rw-r--r--src/test/resources/example/sdc/expected-result/sdc-properties-4cc5b45a.json161
1 files changed, 161 insertions, 0 deletions
diff --git a/src/test/resources/example/sdc/expected-result/sdc-properties-4cc5b45a.json b/src/test/resources/example/sdc/expected-result/sdc-properties-4cc5b45a.json
new file mode 100644
index 00000000..8c5f39d8
--- /dev/null
+++ b/src/test/resources/example/sdc/expected-result/sdc-properties-4cc5b45a.json
@@ -0,0 +1,161 @@
+{
+ "tca": {
+ "tname": "New_Set",
+ "tcaInt": "1",
+ "tcaVio": "1",
+ "eventName": {
+ "vCPEvGMUXPacketLoss": "vCPEvGMUXPacketLoss",
+ "vLoadBalancer": "vLoadBalancer",
+ "vFirewallBroadcastPackets": "vFirewallBroadcastPackets"
+ },
+ "fieldPathM": {
+ "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated": "receivedBroadcastPacketsAccumulated",
+ "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta": "receivedDiscardedPacketsDelta"
+ },
+ "operator": {
+ ">": "GREATER",
+ ">=": "GREATER_OR_EQUAL",
+ "=": "EQUAL",
+ "<=": "LESS_OR_EQUAL",
+ "<": "LESS"
+ },
+ "opsPolicy": {
+ "POLICY_test_X": "POLICY_test_X",
+ "POLICY_test_Y": "POLICY_test_Y"
+ },
+ "controlLoopSchemaType": {
+ "": "",
+ "VM": "VM",
+ "VNF": "VNF"
+ },
+ "closedLoopEventStatus": {
+ "": "",
+ "ONSET": "ONSET",
+ "ABATED": "ABATED"
+ }
+ },
+ "global": {
+ "actionSet": {
+ "vnfRecipe": "VNF",
+ "enbRecipe": "eNodeB"
+ },
+ "location": {
+ "DC1": "Data Center 1",
+ "DC2": "Data Center 2",
+ "DC3": "Data Center 3"
+ }
+ },
+ "policy": {
+ "pname": "0",
+ "timeout": 345,
+ "vnfRecipe": {
+ "": "",
+ "restart": "Restart",
+ "rebuild": "Rebuild",
+ "migrate": "Migrate",
+ "healthCheck": "Health Check"
+ },
+ "enbRecipe": {
+ "": "",
+ "reset": "Reset"
+ },
+ "maxRetries": "3",
+ "retryTimeLimit": 180,
+ "resource": {
+ "vCTS": "vCTS",
+ "v3CDB": "v3CDB",
+ "vUDR": "vUDR",
+ "vCOM": "vCOM",
+ "vRAR": "vRAR",
+ "vLCS": "vLCS",
+ "vUDR-BE": "vUDR-BE",
+ "vDBE": "vDBE"
+ },
+ "parentPolicyConditions": {
+ "Failure_Retries": "Failure: Max Retries Exceeded",
+ "Failure_Timeout": "Failure: Time Limit Exceeded",
+ "Failure_Guard": "Failure: Guard",
+ "Failure_Exception": "Failure: Exception",
+ "Failure": "Failure: Other",
+ "Success": "Success"
+ }
+ },
+ "shared": {
+ "byService": {
+ "4cc5b45a-1f63-4194-8100-cd8e14248c92": {
+ "vf": {
+ "07e266fc-49ab-4cd7-8378-ca4676f1b9ec": "vFirewall 0",
+ "023a3f0d-1161-45ff-b4cf-8918a8ccf3ad": "vPacketGen 0"
+ }
+ }
+ },
+ "byVf": {
+ "07e266fc-49ab-4cd7-8378-ca4676f1b9ec": {
+ "vfc": {
+ },
+ "kpi": {
+ "": ""
+ }
+ },
+ "023a3f0d-1161-45ff-b4cf-8918a8ccf3ad": {
+ "vfc": {
+ },
+ "kpi": {
+ "": ""
+ }
+ }
+ },
+ "byKpi": {
+ },
+ "byVfc": {
+ "53ebeed7-84db-4638-b1f3-8ed44c75985b": {
+ "alarmCondition": {
+ },
+ "alertDescription": {
+ }
+ },
+ "1a12347c-6166-4d21-9861-b2c432722a23": {
+ "alarmCondition": {
+ },
+ "alertDescription": {
+ }
+ },
+ "74805001-19f5-4c2c-9928-03014161c32a": {
+ "alarmCondition": {
+ },
+ "alertDescription": {
+ }
+ },
+ "d66c0bce-d7e1-41ad-bdaf-468d442d0543": {
+ "alarmCondition": {
+ },
+ "alertDescription": {
+ }
+ },
+ "28142b9a-7925-4921-bc81-178c5bae4a9b": {
+ "alarmCondition": {
+ },
+ "alertDescription": {
+ }
+ },
+ "86769df9-139b-489f-949d-05efb7f0ed6a": {
+ "alarmCondition": {
+ },
+ "alertDescription": {
+ }
+ }
+ },
+ "byAlarmCondition": {
+ "": {
+ "eventSourceType": "",
+ "eventSeverity": ""
+ }
+ },
+ "byAlertDescription": {
+ "": {
+ "eventSourceType": "",
+ "eventSeverity": ""
+ }
+ }
+ }
+}