diff options
Diffstat (limited to 'src/test/resources/example/modelProp.json')
-rw-r--r-- | src/test/resources/example/modelProp.json | 369 |
1 files changed, 369 insertions, 0 deletions
diff --git a/src/test/resources/example/modelProp.json b/src/test/resources/example/modelProp.json new file mode 100644 index 000000000..831bf2d72 --- /dev/null +++ b/src/test/resources/example/modelProp.json @@ -0,0 +1,369 @@ +{ + "Collector_":[ + { + "name":"topicPublishes", + "value":"DCAE-COLLECTOR-UCSNMP" + } + ], + "global":[ + { + "name":"service", + "value":[ + "df6fcd2b-1932-429e-bb13-0cd0d32113cb" + ] + }, + { + "name":"vf", + "value":[ + "4b49acee-cf70-4b20-b956-a4fe0c1a8239" + ] + }, + { + "name":"location", + "value":[ + "SNDGCA64", + "ALPRGAED" + ] + } + ], + "StringMatch_":[ + [ + { + "name":"topicPublishes", + "value":"DCAE-CL-EVENT" + } + ], + { + "serviceConfigurations":[ + [ + { + "name":"aaiMatchingFields", + "value":[ + "Identiy" + ] + }, + { + "name":"aaiSendFields", + "value":[ + "VMID" + ] + }, + { + "name":"groupNumber", + "value":[ + "1" + ] + }, + { + "name":"timeWindow", + "value":[ + "1" + ] + }, + { + "name":"ageLimit", + "value":[ + "1600" + ] + }, + { + "name":"createClosedLoopEventId", + "value":[ + "Initial" + ] + }, + { + "name":"outputEventName", + "value":[ + "OnSet" + ] + }, + { + "stringSet":[ + { + "name":"alarmCondition", + "value":[ + "Reports a transient alarm condition when an outgoing Ro message send fails" + ] + }, + { + "name":"eventSeverity", + "value":[ + "WARNING" + ] + }, + { + "name":"eventSourceType", + "value":[ + "f5BigIP" + ] + } + ] + } + ], + [ + { + "name":"aaiMatchingFields", + "value":[ + "VMID" + ] + }, + { + "name":"aaiSendFields", + "value":[ + "Identiy" + ] + }, + { + "name":"groupNumber", + "value":[ + "1" + ] + }, + { + "name":"timeWindow", + "value":[ + "0" + ] + }, + { + "name":"ageLimit", + "value":[ + "1600" + ] + }, + { + "name":"createClosedLoopEventId", + "value":[ + "Close" + ] + }, + { + "name":"outputEventName", + "value":[ + "Abatement" + ] + }, + { + "stringSet":[ + { + "name":"alarmCondition", + "value":[ + "Reports a transient alarm condition when an outgoing GTP' message send fails" + ] + }, + { + "name":"eventSeverity", + "value":[ + "NORMAL" + ] + }, + { + "name":"eventSourceType", + "value":[ + "f5BigIP" + ] + } + ] + } + ] + ] + } + ], + "Policy_":[ + [ + { + "name":"timeout", + "value":"500" + } + ], + { + "policyConfigurations":[ + [ + { + "name":"recipe", + "value":[ + "restart" + ] + }, + { + "name":"maxRetries", + "value":[ + "3" + ] + }, + { + "name":"retryTimeLimit", + "value":[ + "180" + ] + }, + { + "name":"_id", + "value":[ + "n9bQ4t6" + ] + }, + { + "name":"parentPolicy", + "value":[ + "" + ] + } + ], + [ + { + "name":"recipe", + "value":[ + "rebuild" + ] + }, + { + "name":"maxRetries", + "value":[ + "3" + ] + }, + { + "name":"retryTimeLimit", + "value":[ + "180" + ] + }, + { + "name":"_id", + "value":[ + "ItE5xKT" + ] + }, + { + "name":"parentPolicy", + "value":[ + "n9bQ4t6" + ] + }, + { + "name":"parentPolicyConditions", + "value":[ + "Failure_Retries", + "Failure_Timeout", + "Failure_Exception", + "Failure" + ] + } + ] + ] + } + ], + + "TCA_":{ + "Narra":[ + { + "name": "tname", + "value": "Narra" + }, + { + "name": "tuuid", + "value": "886be8da-14fe-tca1-d04b-d13b55d58df9" + }, + { + "name": "tnfc", + "value": "ENBE" + }, + { + "name": "tcaEnab", + "value": "on" + }, + { + "name": "tcaPol", + "value": "Policy1" + }, + { + "name": "tcaPolId", + "value": "1" + }, + { + "name": "tcaInt", + "value": "2" + }, + { + "name": "tcaSev", + "value": "Warning" + }, + { + "name": "tcaVio", + "value": "3" + }, + { + "serviceConfigurations":[ + [ + "PMRRCCONNESTABFAILCELLLATENCY", + "LESS", + "4", + "$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[?(@.Name == 'PMRRCCONNESTABFAILCELLLATENCY')].Value" + ], + [ + "PMRAATTCBRA", + "GREATER", + "30", + "$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[?(@.Name == 'PMRAATTCBRA')].Value" + ] + ] + } + ], + "Srini":[ + { + "name": "tname", + "value": "Srini" + }, + { + "name": "tuuid", + "value": "8b5ba88d-f4b4-tf0e-50b1-78a5a7dd412d" + }, + { + "name": "tnfc", + "value": "ENBE" + }, + { + "name": "tcaEnab", + "value": "on" + }, + { + "name": "tcaPol", + "value": "Policy2" + }, + { + "name": "tcaPolId", + "value": "2" + }, + { + "name": "tcaInt", + "value": "10" + }, + { + "name": "tcaSev", + "value": "Critical" + }, + { + "name": "tcaVio", + "value": "5" + }, + { + "serviceConfigurations":[ + [ + "PMRRCCONNESTABFAILCELLLATENCY", + "EQUAL", + "3", + "$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[?(@.Name == 'PMRRCCONNESTABFAILCELLLATENCY')].Value" + ], + [ + "PMRAATTCBRA", + "GREATER", + "30", + "$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[?(@.Name == 'PMRAATTCBRA')].Value" + ] + ] + } + ] + } +}
\ No newline at end of file |