Add unit test
[clamp.git] / ui-react / src / api / LoopCache_mokeLoopJsonCache.json
1 {
2   "name": "LOOP_Jbv1z_v1_0_ResourceInstanceName1_tca",
3   "dcaeBlueprintId": "typeId-3a942643-a8f7-4e54-b2c1-eea8daba2b17",
4   "globalPropertiesJson": {
5     "dcaeDeployParameters": {
6       "location_id": "",
7       "service_id": "",
8       "policy_id": "TCA_h2NMX_v1_0_ResourceInstanceName1_tca"
9     }
10   },
11   "loopTemplate": {"name": "loopTemplateTest"},
12   "modelService": {
13     "serviceDetails": {
14       "serviceType": "",
15       "namingPolicy": "",
16       "environmentContext": "General_Revenue-Bearing",
17       "serviceEcompNaming": "true",
18       "serviceRole": "",
19       "name": "vLoadBalancerMS",
20       "description": "vLBMS",
21       "invariantUUID": "30ec5b59-4799-48d8-ac5f-1058a6b0e48f",
22       "ecompGeneratedNaming": "true",
23       "category": "Network L4+",
24       "type": "Service",
25       "UUID": "63cac700-ab9a-4115-a74f-7eac85e3fce0",
26       "instantiationType": "A-la-carte"
27     },
28     "resourceDetails": {
29       "CP": {},
30       "VL": {},
31       "VF": {
32         "vLoadBalancerMS 0": {
33           "resourceVendor": "Test",
34           "resourceVendorModelNumber": "",
35           "name": "vLoadBalancerMS",
36           "description": "vLBMS",
37           "invariantUUID": "1a31b9f2-e50d-43b7-89b3-a040250cf506",
38           "subcategory": "Load Balancer",
39           "category": "Application L4+",
40           "type": "VF",
41           "UUID": "b4c4f3d7-929e-4b6d-a1cd-57e952ddc3e6",
42           "version": "1.0",
43           "resourceVendorRelease": "1.0",
44           "customizationUUID": "465246dc-7748-45f4-a013-308d92922552"
45         }
46       },
47       "CR": {},
48       "VFC": {},
49       "PNF": {},
50       "Service": {},
51       "CVFC": {},
52       "Service Proxy": {},
53       "Configuration": {},
54       "AllottedResource": {},
55       "VFModule": {
56         "Vloadbalancerms..vpkg..module-1": {
57           "vfModuleModelInvariantUUID": "ca052563-eb92-4b5b-ad41-9111768ce043",
58           "vfModuleModelVersion": "1",
59           "vfModuleModelName": "Vloadbalancerms..vpkg..module-1",
60           "vfModuleModelUUID": "1e725ccc-b823-4f67-82b9-4f4367070dbc",
61           "vfModuleModelCustomizationUUID": "1bffdc31-a37d-4dee-b65c-dde623a76e52",
62           "min_vf_module_instances": 0,
63           "vf_module_label": "vpkg",
64           "max_vf_module_instances": 1,
65           "vf_module_type": "Expansion",
66           "isBase": false,
67           "initial_count": 0,
68           "volume_group": false
69         }
70       }
71     }
72   },
73   "lastComputedState": "DESIGN",
74   "components": {
75     "POLICY": {
76       "componentState": {
77         "stateName": "NOT_SENT",
78         "description": "The policies defined have NOT yet been created on the policy engine"
79       }
80     },
81     "DCAE": {
82       "componentState": {
83         "stateName": "BLUEPRINT_DEPLOYED",
84         "description": "The DCAE blueprint has been found in the DCAE inventory but not yet instancianted for this loop"
85       }
86     }
87   },
88   "operationalPolicies": [
89     {
90       "name": "OPERATIONAL_h2NMX_v1_0_ResourceInstanceName1_tca",
91       "configurationsJson": {
92         "operational_policy": {
93           "controlLoop": {},
94           "policies": []
95         }
96       },
97       "pdpGroup": "pdpGroupTest",
98       "pdpSubgroup": "pdpSubgroupTest",
99       "jsonRepresentation": {
100         "schema": {}
101       }
102     }
103   ],
104   "microServicePolicies": [
105     {
106       "name": "TCA_h2NMX_v1_0_ResourceInstanceName1_tca",
107       "modelType": "onap.policies.monitoring.cdap.tca.hi.lo.app",
108       "configurationsJson": {"domain": "measurementsForVfScaling"},
109       "shared": false,
110       "pdpGroup": "pdpGroupTest",
111       "pdpSubgroup": "pdpSubgroupTest",
112       "policyModel": {"policyPdpGroup": {"supportedPdpGroups": "supportedPdpGroupsTest"}},
113       "jsonRepresentation": {"schema": {}}
114     }
115   ],
116   "loopLogs": [
117     {
118       "id": 1,
119       "logType": "INFO",
120       "logComponent": "CLAMP",
121       "message": "Operational policies UPDATED",
122       "logInstant": "2019-07-08T09:44:37Z"
123     }
124   ]
125 }