aboutsummaryrefslogtreecommitdiffstats
path: root/gui-clamp/ui-react/src/components/dialogs/ControlLoop/testFiles
diff options
context:
space:
mode:
authorbrunomilitzer <bruno.militzer@est.tech>2021-11-03 11:30:46 +0000
committerbrunomilitzer <bruno.militzer@est.tech>2021-11-03 11:36:04 +0000
commit33391192adecdf86da3547f024ff82fb0cf85535 (patch)
treec44374098647759480821c74122faa8267b8b24f /gui-clamp/ui-react/src/components/dialogs/ControlLoop/testFiles
parent28d5047cecd111e380fe78d2d1d7e4756b78ed12 (diff)
UPDATED Jest Unit Tests for Monitoring Functionality
Updated Unit Tests to cover monitoring functionality Issue-ID: POLICY-3561 Change-Id: I8434cf5d60463d60175ef6e48f0e75e8c4f656da Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
Diffstat (limited to 'gui-clamp/ui-react/src/components/dialogs/ControlLoop/testFiles')
-rw-r--r--gui-clamp/ui-react/src/components/dialogs/ControlLoop/testFiles/monitoringControlLoopList.json74
1 files changed, 74 insertions, 0 deletions
diff --git a/gui-clamp/ui-react/src/components/dialogs/ControlLoop/testFiles/monitoringControlLoopList.json b/gui-clamp/ui-react/src/components/dialogs/ControlLoop/testFiles/monitoringControlLoopList.json
new file mode 100644
index 0000000..ee170f8
--- /dev/null
+++ b/gui-clamp/ui-react/src/components/dialogs/ControlLoop/testFiles/monitoringControlLoopList.json
@@ -0,0 +1,74 @@
+{
+ "controlLoopList":[
+ {
+ "name":"PMSH_Instance1",
+ "version":"2.3.1",
+ "derivedFrom":null,
+ "metadata":null,
+ "description":"PMSH control loop _Instance1",
+ "definition":{
+ "name":"org.onap.domain.pmsh.PMSHControlLoopDefinition_Instance1",
+ "version":"1.2.3"
+ },
+ "state":"PASSIVE",
+ "orderedState":"PASSIVE",
+ "elements":{
+ "edb332de-ad83-44a7-9c86-f8158cd0de7f":{
+ "id":"edb332de-ad83-44a7-9c86-f8158cd0de7f",
+ "definition":{
+ "name":"org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement_Instance1",
+ "version":"1.2.3"
+ },
+ "participantType":{
+ "name":"org.onap.policy.controlloop.PolicyControlLoopParticipant",
+ "version":"2.3.1"
+ },
+ "participantId":{
+ "name":"org.onap.PM_Policy",
+ "version":"1.0.0"
+ },
+ "state":"UNINITIALISED",
+ "orderedState":"UNINITIALISED",
+ "toscaServiceTemplateFragment":null,
+ "description":null,
+ "clElementStatistics":null,
+ "propertiesMap":{
+
+ }
+ },
+ "68e95fa7-0acf-4635-b454-47a50f299614":{
+ "id":"68e95fa7-0acf-4635-b454-47a50f299614",
+ "definition":{
+ "name":"org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement_Instance1",
+ "version":"1.2.3"
+ },
+ "participantType":{
+ "name":"org.onap.policy.controlloop.PolicyControlLoopParticipant",
+ "version":"2.3.1"
+ },
+ "participantId":{
+ "name":"org.onap.PM_Policy",
+ "version":"1.0.0"
+ },
+ "state":"UNINITIALISED",
+ "orderedState":"UNINITIALISED",
+ "toscaServiceTemplateFragment":null,
+ "description":null,
+ "clElementStatistics":null,
+ "propertiesMap":{
+
+ }
+ }
+ },
+ "primed":false,
+ "type":"org.onap.domain.pmsh.PMSHControlLoopDefinition_Instance1",
+ "typeVersion":"1.2.3",
+ "key":{
+ "name":"PMSH_Instance1",
+ "version":"2.3.1"
+ },
+ "definedName":"PMSH_Instance1",
+ "definedVersion":"2.3.1"
+ }
+ ]
+} \ No newline at end of file