3b56ac0851decca1fb365909d9d4197a3c7c3fce
[vid.git] / vid-webpack-master / cypress / integration / iFrames / vnf.popup.e2e.ts
1 ///<reference path="../../../node_modules/cypress/types/index.d.ts"/>
2
3 describe('Vnf popup', function () {
4   describe('basic UI tests', () => {
5
6     beforeEach(() => {
7         cy.clearSessionStorage();
8         cy.setReduxState();
9         cy.preventErrorsOnLoading();
10         cy.initAAIMock();
11         cy.initVidMock();
12         cy.login();
13     });
14
15     afterEach(() => {
16       cy.screenshot();
17     });
18
19     it('volume group should change on instance name blur if the value is null or empty', function () {
20         let redux = getReduxWithVNFS();
21         redux.service.serviceHierarchy['6e59c5de-f052-46fa-aa7e-2fca9d674c44'].vnfs['VF_vGeraldine 0'].properties['ecomp_generated_naming'] = 'false';
22         redux.service.serviceHierarchy['6e59c5de-f052-46fa-aa7e-2fca9d674c44'].vfModules['vf_vgeraldine0..VfVgeraldine..vflorence_vlc..module-1']['volumeGroupAllowed'] = true;
23
24         cy.setReduxState(<any>redux);
25         cy.openIframe('app/ui/#/servicePlanning?serviceModelId=6e59c5de-f052-46fa-aa7e-2fca9d674c44');
26
27         cy.getElementByDataTestsId('node-522159d5-d6e0-4c2a-aa44-5a542a12a830-vf_vgeraldine0..VfVgeraldine..vflorence_vlc..module-1-menu-btn').click({force: true})
28           .getElementByDataTestsId('context-menu-edit').click({force: true})
29           .getElementByDataTestsId('form-set').should('not.have.attr', 'disabled')
30           .getElementByDataTestsId("instanceName").clear()
31           .getElementByDataTestsId('form-set').should('have.attr', 'disabled')
32           .typeToInput('instanceName', 'someInput1');
33         cy.getElementByDataTestsId('instanceName').blur();
34         cy.getElementByDataTestsId("volumeGroupName").should('have.value', 'someInput1_vol');
35         cy.getElementByDataTestsId('form-set').should('not.have.attr', 'disabled');
36         cy.typeToInput('volumeGroupName', 'textAfter');
37         cy.getElementByDataTestsId('form-set').click()
38           .get('#drawing-board-tree .toggle-children').click()
39           .getElementByDataTestsId('node-522159d5-d6e0-4c2a-aa44-5a542a12a830-vf_vgeraldine0..VfVgeraldine..vflorence_vlc..module-1-menu-btn').click({force: true})
40           .getElementByDataTestsId('context-menu-edit').click({force: true})
41           .getElementByDataTestsId("volumeGroupName").should('have.value', 'someInput1_voltextAfter');
42
43     });
44
45     it('should display min/max', function () {
46       cy.readFile('cypress/support/jsonBuilders/mocks/jsons/emptyServiceRedux.json').then((res) => {
47         res.service.serviceHierarchy['2f80c596-27e5-4ca9-b5bb-e03a7fd4c0fd'].vnfs['2017-488_PASQUALE-vPE 0'].properties.min_instances = 100;
48         res.service.serviceHierarchy['2f80c596-27e5-4ca9-b5bb-e03a7fd4c0fd'].vnfs['2017-488_PASQUALE-vPE 0'].properties.max_instances = 200;
49         cy.setReduxState(<any>res);
50         cy.openIframe('app/ui/#/servicePlanning?serviceModelId=2f80c596-27e5-4ca9-b5bb-e03a7fd4c0fd');
51         cy.getElementByDataTestsId('node-2017-488_PASQUALE-vPE 0-add-btn').click({force : true});
52         cy.getElementByDataTestsId('model-item-label-min').contains('Minimum to instantiate');
53         cy.getElementByDataTestsId('model-item-value-min').contains('100');
54         cy.getElementByDataTestsId('model-item-label-max').contains('Maximum to instantiate');
55         cy.getElementByDataTestsId('model-item-value-max').contains('200');
56       })
57     });
58
59     it('should display default values for undefined min/max', function () {
60       cy.readFile('cypress/support/jsonBuilders/mocks/jsons/emptyServiceRedux.json').then((res) => {
61         res.service.serviceHierarchy['2f80c596-27e5-4ca9-b5bb-e03a7fd4c0fd'].vnfs['2017-488_PASQUALE-vPE 0'].properties.min_instances = null;
62         res.service.serviceHierarchy['2f80c596-27e5-4ca9-b5bb-e03a7fd4c0fd'].vnfs['2017-488_PASQUALE-vPE 0'].properties.max_instances = null;
63         cy.setReduxState(<any>res);
64         cy.openIframe('app/ui/#/servicePlanning?serviceModelId=2f80c596-27e5-4ca9-b5bb-e03a7fd4c0fd');
65         cy.getElementByDataTestsId('node-2017-488_PASQUALE-vPE 0-add-btn').click({force : true});
66         cy.getElementByDataTestsId('model-item-label-min').contains('Minimum to instantiate');
67         cy.getElementByDataTestsId('model-item-value-min').contains('0');
68         cy.getElementByDataTestsId('model-item-label-max').contains('Maximum to instantiate');
69         cy.getElementByDataTestsId('model-item-value-max').contains('Unlimited (default)');
70       })
71      });
72
73     it('fill all fields of vnf popup', function () {
74       cy.readFile('cypress/support/jsonBuilders/mocks/jsons/emptyServiceRedux.json').then((res) => {
75         res.service.serviceHierarchy['2f80c596-27e5-4ca9-b5bb-e03a7fd4c0fd'].vnfs['2017-488_PASQUALE-vPE 0'].min = null;
76         res.service.serviceHierarchy['2f80c596-27e5-4ca9-b5bb-e03a7fd4c0fd'].vnfs['2017-488_PASQUALE-vPE 0'].max = null;
77         cy.setReduxState(<any>res);
78         cy.openIframe('app/ui/#/servicePlanning?serviceModelId=2f80c596-27e5-4ca9-b5bb-e03a7fd4c0fd');
79         cy.getElementByDataTestsId('node-2017-488_PASQUALE-vPE 0-add-btn').click({force : true});
80         cy.selectDropdownOptionByText('productFamily', 'Emanuel');
81         cy.selectDropdownOptionByText('lcpRegion', 'hvf6');
82         cy.selectDropdownOptionByText('tenant', 'AIN Web Tool-15-D-STTest2');
83         cy.selectDropdownOptionByText('lineOfBusiness', 'zzz1');
84         cy.selectPlatformValue(`xxx1`);
85
86       })
87     });
88
89     function getReduxWithVNFS(){
90       return {
91         "global": {
92           "name": null,
93           "flags": {
94             "FLAG_NETWORK_TO_ASYNC_INSTANTIATION": false,
95             "FLAG_SHOW_ASSIGNMENTS": true,
96             "FLAG_FABRIC_CONFIGURATION_ASSIGNMENTS": true,
97             "FLAG_SHOW_VERIFY_SERVICE": false,
98             "FLAG_SERVICE_MODEL_CACHE": true,
99             "FLAG_ADD_MSO_TESTAPI_FIELD": true
100           },
101           "type": "[FLAGS] Update"
102         },
103         "service": {
104           "serviceHierarchy": {
105             "6e59c5de-f052-46fa-aa7e-2fca9d674c44": {
106               "service": {
107                 "uuid": "6e59c5de-f052-46fa-aa7e-2fca9d674c44",
108                 "invariantUuid": "e49fbd11-e60c-4a8e-b4bf-30fbe8f4fcc0",
109                 "name": "ComplexService",
110                 "version": "1.0",
111                 "toscaModelURL": null,
112                 "category": "Emanuel",
113                 "serviceType": "",
114                 "serviceRole": "",
115                 "description": "ComplexService",
116                 "serviceEcompNaming": "true",
117                 "instantiationType": "Macro",
118                 "vidNotions": {
119                   "instantiationType": "Macro"
120                 },
121                 "inputs": {}
122               },
123               "vnfs": {
124                 "VF_vGeraldine 0": {
125                   "uuid": "d6557200-ecf2-4641-8094-5393ae3aae60",
126                   "invariantUuid": "4160458e-f648-4b30-a176-43881ffffe9e",
127                   "description": "VSP_vGeraldine",
128                   "name": "VF_vGeraldine",
129                   "version": "2.0",
130                   "customizationUuid": "91415b44-753d-494c-926a-456a9172bbb9",
131                   "inputs": {},
132                   "commands": {},
133                   "properties": {
134                     "max_instances" : 10,
135                     "min_instances"  : 1,
136                     "gpb2_Internal2_mac": "00:11:22:EF:AC:DF",
137                     "sctp-b-ipv6-egress_src_start_port": "0",
138                     "sctp-a-ipv6-egress_rule_application": "any",
139                     "Internal2_allow_transit": "true",
140                     "sctp-b-IPv6_ethertype": "IPv6",
141                     "sctp-a-egress_rule_application": "any",
142                     "sctp-b-ingress_action": "pass",
143                     "sctp-b-ingress_rule_protocol": "icmp",
144                     "ncb2_Internal1_mac": "00:11:22:EF:AC:DF",
145                     "sctp-b-ipv6-ingress-src_start_port": "0.0",
146                     "ncb1_Internal2_mac": "00:11:22:EF:AC:DF",
147                     "fsb_volume_size_0": "320.0",
148                     "sctp-b-egress_src_addresses": "local",
149                     "sctp-a-ipv6-ingress_ethertype": "IPv4",
150                     "sctp-a-ipv6-ingress-dst_start_port": "0",
151                     "sctp-b-ipv6-ingress_rule_application": "any",
152                     "domain_name": "default-domain",
153                     "sctp-a-ingress_rule_protocol": "icmp",
154                     "sctp-b-egress-src_start_port": "0.0",
155                     "sctp-a-egress_src_addresses": "local",
156                     "sctp-b-display_name": "epc-sctp-b-ipv4v6-sec-group",
157                     "sctp-a-egress-src_start_port": "0.0",
158                     "sctp-a-ingress_ethertype": "IPv4",
159                     "sctp-b-ipv6-ingress-dst_end_port": "65535",
160                     "sctp-b-dst_subnet_prefix_v6": "::",
161                     "nf_naming": "{ecomp_generated_naming=true}",
162                     "sctp-a-ipv6-ingress_src_subnet_prefix": "0.0.0.0",
163                     "sctp-b-egress-dst_start_port": "0.0",
164                     "ncb_flavor_name": "nv.c20r64d1",
165                     "gpb1_Internal1_mac": "00:11:22:EF:AC:DF",
166                     "sctp-b-egress_dst_subnet_prefix_len": "0.0",
167                     "Internal2_net_cidr": "10.0.0.10",
168                     "sctp-a-ingress-dst_start_port": "0.0",
169                     "sctp-a-egress-dst_start_port": "0.0",
170                     "fsb1_Internal2_mac": "00:11:22:EF:AC:DF",
171                     "sctp-a-egress_ethertype": "IPv4",
172                     "vlc_st_service_mode": "in-network-nat",
173                     "sctp-a-ipv6-egress_ethertype": "IPv4",
174                     "sctp-a-egress-src_end_port": "65535.0",
175                     "sctp-b-ipv6-egress_rule_application": "any",
176                     "sctp-b-egress_action": "pass",
177                     "sctp-a-ingress-src_subnet_prefix_len": "0.0",
178                     "sctp-b-ipv6-ingress-src_end_port": "65535.0",
179                     "sctp-b-name": "epc-sctp-b-ipv4v6-sec-group",
180                     "fsb2_Internal1_mac": "00:11:22:EF:AC:DF",
181                     "sctp-a-ipv6-ingress-src_start_port": "0.0",
182                     "sctp-b-ipv6-egress_ethertype": "IPv4",
183                     "Internal1_net_cidr": "10.0.0.10",
184                     "sctp-a-egress_dst_subnet_prefix": "0.0.0.0",
185                     "fsb_flavor_name": "nv.c20r64d1",
186                     "sctp_rule_protocol": "132",
187                     "sctp-b-ipv6-ingress_src_subnet_prefix_len": "0",
188                     "sctp-a-ipv6-ingress_rule_application": "any",
189                     "ecomp_generated_naming": "true",
190                     "sctp-a-IPv6_ethertype": "IPv6",
191                     "vlc2_Internal1_mac": "00:11:22:EF:AC:DF",
192                     "vlc_st_virtualization_type": "virtual-machine",
193                     "sctp-b-ingress-dst_start_port": "0.0",
194                     "sctp-b-ingress-dst_end_port": "65535.0",
195                     "sctp-a-ipv6-ingress-src_end_port": "65535.0",
196                     "sctp-a-display_name": "epc-sctp-a-ipv4v6-sec-group",
197                     "sctp-b-ingress_rule_application": "any",
198                     "int2_sec_group_name": "int2-sec-group",
199                     "vlc_flavor_name": "nd.c16r64d1",
200                     "sctp-b-ipv6-egress_src_addresses": "local",
201                     "vlc_st_interface_type_int1": "other1",
202                     "sctp-b-egress-src_end_port": "65535.0",
203                     "sctp-a-ipv6-egress-dst_start_port": "0",
204                     "vlc_st_interface_type_int2": "other2",
205                     "sctp-a-ipv6-egress_rule_protocol": "any",
206                     "Internal2_shared": "false",
207                     "sctp-a-ipv6-egress_dst_subnet_prefix_len": "0",
208                     "Internal2_rpf": "disable",
209                     "vlc1_Internal1_mac": "00:11:22:EF:AC:DF",
210                     "sctp-b-ipv6-egress_src_end_port": "65535",
211                     "sctp-a-ipv6-egress_src_addresses": "local",
212                     "sctp-a-ingress-dst_end_port": "65535.0",
213                     "sctp-a-ipv6-egress_src_end_port": "65535",
214                     "Internal1_forwarding_mode": "l2",
215                     "Internal2_dhcp": "false",
216                     "sctp-a-dst_subnet_prefix_v6": "::",
217                     "pxe_image_name": "MME_PXE-Boot_16ACP04_GA.qcow2",
218                     "vlc_st_interface_type_gtp": "other0",
219                     "ncb1_Internal1_mac": "00:11:22:EF:AC:DF",
220                     "sctp-b-src_subnet_prefix_v6": "::",
221                     "sctp-a-egress_dst_subnet_prefix_len": "0.0",
222                     "int1_sec_group_name": "int1-sec-group",
223                     "Internal1_dhcp": "false",
224                     "sctp-a-ipv6-egress_dst_end_port": "65535",
225                     "Internal2_forwarding_mode": "l2",
226                     "fsb2_Internal2_mac": "00:11:22:EF:AC:DF",
227                     "sctp-b-egress_dst_subnet_prefix": "0.0.0.0",
228                     "Internal1_net_cidr_len": "17",
229                     "gpb2_Internal1_mac": "00:11:22:EF:AC:DF",
230                     "sctp-b-ingress-src_subnet_prefix_len": "0.0",
231                     "sctp-a-ingress_dst_addresses": "local",
232                     "sctp-a-egress_action": "pass",
233                     "fsb_volume_type_0": "SF-Default-SSD",
234                     "ncb2_Internal2_mac": "00:11:22:EF:AC:DF",
235                     "vlc_st_interface_type_sctp_a": "left",
236                     "vlc_st_interface_type_sctp_b": "right",
237                     "sctp-a-src_subnet_prefix_v6": "::",
238                     "vlc_st_version": "2",
239                     "sctp-b-egress_ethertype": "IPv4",
240                     "sctp-a-ingress_rule_application": "any",
241                     "gpb1_Internal2_mac": "00:11:22:EF:AC:DF",
242                     "instance_ip_family_v6": "v6",
243                     "sctp-a-ipv6-egress_src_start_port": "0",
244                     "sctp-b-ingress-src_start_port": "0.0",
245                     "sctp-b-ingress_dst_addresses": "local",
246                     "fsb1_Internal1_mac": "00:11:22:EF:AC:DF",
247                     "vlc_st_interface_type_oam": "management",
248                     "multi_stage_design": "false",
249                     "oam_sec_group_name": "oam-sec-group",
250                     "Internal2_net_gateway": "10.0.0.10",
251                     "sctp-a-ipv6-ingress-dst_end_port": "65535",
252                     "sctp-b-ipv6-egress-dst_start_port": "0",
253                     "Internal1_net_gateway": "10.0.0.10",
254                     "sctp-b-ipv6-egress_rule_protocol": "any",
255                     "gtp_sec_group_name": "gtp-sec-group",
256                     "sctp-a-ipv6-egress_dst_subnet_prefix": "0.0.0.0",
257                     "sctp-b-ipv6-egress_dst_subnet_prefix_len": "0",
258                     "sctp-a-ipv6-ingress_dst_addresses": "local",
259                     "sctp-a-egress_rule_protocol": "icmp",
260                     "sctp-b-ipv6-egress_action": "pass",
261                     "sctp-a-ipv6-egress_action": "pass",
262                     "Internal1_shared": "false",
263                     "sctp-b-ipv6-ingress_rule_protocol": "any",
264                     "Internal2_net_cidr_len": "17",
265                     "sctp-a-name": "epc-sctp-a-ipv4v6-sec-group",
266                     "sctp-a-ingress-src_end_port": "65535.0",
267                     "sctp-b-ipv6-ingress_src_subnet_prefix": "0.0.0.0",
268                     "sctp-a-egress-dst_end_port": "65535.0",
269                     "sctp-a-ingress_action": "pass",
270                     "sctp-b-egress_rule_protocol": "icmp",
271                     "sctp-b-ipv6-ingress_action": "pass",
272                     "vlc_st_service_type": "firewall",
273                     "sctp-b-ipv6-egress_dst_end_port": "65535",
274                     "sctp-b-ipv6-ingress-dst_start_port": "0",
275                     "vlc2_Internal2_mac": "00:11:22:EF:AC:DF",
276                     "vlc_st_availability_zone": "true",
277                     "fsb_volume_image_name_1": "MME_FSB2_16ACP04_GA.qcow2",
278                     "sctp-b-ingress-src_subnet_prefix": "0.0.0.0",
279                     "sctp-a-ipv6-ingress_src_subnet_prefix_len": "0",
280                     "Internal1_allow_transit": "true",
281                     "gpb_flavor_name": "nv.c20r64d1",
282                     "availability_zone_max_count": "1",
283                     "fsb_volume_image_name_0": "MME_FSB1_16ACP04_GA.qcow2",
284                     "sctp-b-ipv6-ingress_dst_addresses": "local",
285                     "sctp-b-ipv6-egress_dst_subnet_prefix": "0.0.0.0",
286                     "sctp-b-ipv6-ingress_ethertype": "IPv4",
287                     "vlc1_Internal2_mac": "00:11:22:EF:AC:DF",
288                     "sctp-a-ingress-src_subnet_prefix": "0.0.0.0",
289                     "sctp-a-ipv6-ingress_action": "pass",
290                     "Internal1_rpf": "disable",
291                     "sctp-b-ingress_ethertype": "IPv4",
292                     "sctp-b-egress_rule_application": "any",
293                     "sctp-b-ingress-src_end_port": "65535.0",
294                     "sctp-a-ipv6-ingress_rule_protocol": "any",
295                     "sctp-a-ingress-src_start_port": "0.0",
296                     "sctp-b-egress-dst_end_port": "65535.0"
297                   },
298                   "type": "VF",
299                   "modelCustomizationName": "VF_vGeraldine 0",
300                   "vfModules": {
301                     "vf_vgeraldine0..VfVgeraldine..vflorence_vlc..module-1": {
302                       "uuid": "522159d5-d6e0-4c2a-aa44-5a542a12a830",
303                       "invariantUuid": "98a7c88b-b577-476a-90e4-e25a5871e02b",
304                       "customizationUuid": "55b1be94-671a-403e-a26c-667e9c47d091",
305                       "description": null,
306                       "name": "VfVgeraldine..vflorence_vlc..module-1",
307                       "version": "2",
308                       "modelCustomizationName": "VfVgeraldine..vflorence_vlc..module-1",
309                       "properties": {
310                         "minCountInstances": 0,
311                         "maxCountInstances": null,
312                         "initialCount": 0,
313                         "vfModuleLabel": "vflorence_vlc"
314                       },
315                       "inputs": {},
316                       "volumeGroupAllowed": false
317                     },
318                     "vf_vgeraldine0..VfVgeraldine..vflorence_gpb..module-2": {
319                       "uuid": "41708296-e443-4c71-953f-d9a010f059e1",
320                       "invariantUuid": "1cca90b8-3490-495e-87da-3f3e4c57d5b9",
321                       "customizationUuid": "6add59e0-7fe1-4bc4-af48-f8812422ae7c",
322                       "description": null,
323                       "name": "VfVgeraldine..vflorence_gpb..module-2",
324                       "version": "2",
325                       "modelCustomizationName": "VfVgeraldine..vflorence_gpb..module-2",
326                       "properties": {
327                         "minCountInstances": 0,
328                         "maxCountInstances": null,
329                         "initialCount": 0,
330                         "vfModuleLabel": "vflorence_gpb"
331                       },
332                       "inputs": {},
333                       "volumeGroupAllowed": false
334                     },
335                     "vf_vgeraldine0..VfVgeraldine..base_vflorence..module-0": {
336                       "uuid": "a27f5cfc-7f12-4f99-af08-0af9c3885c87",
337                       "invariantUuid": "a6f9e51a-2b35-416a-ae15-15e58d61f36d",
338                       "customizationUuid": "f8c040f1-7e51-4a11-aca8-acf256cfd861",
339                       "description": null,
340                       "name": "VfVgeraldine..base_vflorence..module-0",
341                       "version": "2",
342                       "modelCustomizationName": "VfVgeraldine..base_vflorence..module-0",
343                       "properties": {
344                         "minCountInstances": 1,
345                         "maxCountInstances": 1,
346                         "initialCount": 1,
347                         "vfModuleLabel": "base_vflorence"
348                       },
349                       "inputs": {},
350                       "volumeGroupAllowed": true
351                     }
352                   },
353                   "volumeGroups": {
354                     "vf_vgeraldine0..VfVgeraldine..base_vflorence..module-0": {
355                       "uuid": "a27f5cfc-7f12-4f99-af08-0af9c3885c87",
356                       "invariantUuid": "a6f9e51a-2b35-416a-ae15-15e58d61f36d",
357                       "customizationUuid": "f8c040f1-7e51-4a11-aca8-acf256cfd861",
358                       "description": null,
359                       "name": "VfVgeraldine..base_vflorence..module-0",
360                       "version": "2",
361                       "modelCustomizationName": "VfVgeraldine..base_vflorence..module-0",
362                       "properties": {
363                         "minCountInstances": 1,
364                         "maxCountInstances": 1,
365                         "initialCount": 1,
366                         "vfModuleLabel": "base_vflorence"
367                       },
368                       "inputs": {}
369                     }
370                   },
371                   "vfcInstanceGroups": {}
372                 }
373               },
374               "networks": {
375                 "ExtVL 0": {
376                   "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986",
377                   "invariantUuid": "379f816b-a7aa-422f-be30-17114ff50b7c",
378                   "description": "ECOMP generic virtual link (network) base type for all other service-level and global networks",
379                   "name": "ExtVL",
380                   "version": "37.0",
381                   "customizationUuid": "94fdd893-4a36-4d70-b16a-ec29c54c184f",
382                   "inputs": {},
383                   "commands": {},
384                   "properties": {
385                     "network_assignments": "{is_external_network=false, ipv4_subnet_default_assignment={min_subnets_count=1}, ecomp_generated_network_assignment=false, ipv6_subnet_default_assignment={min_subnets_count=1}}",
386                     "exVL_naming": "{ecomp_generated_naming=true}",
387                     "network_flows": "{is_network_policy=false, is_bound_to_vpn=false}",
388                     "network_homing": "{ecomp_selected_instance_node_target=false}"
389                   },
390                   "type": "VL",
391                   "modelCustomizationName": "ExtVL 0"
392                 }
393               },
394               "collectionResources": {},
395               "configurations": {
396                 "Port Mirroring Configuration By Policy 0": {
397                   "uuid": "b4398538-e89d-4f13-b33d-ca323434ba50",
398                   "invariantUuid": "6ef0ca40-f366-4897-951f-abd65d25f6f7",
399                   "description": "A port mirroring configuration by policy object",
400                   "name": "Port Mirroring Configuration By Policy",
401                   "version": "27.0",
402                   "customizationUuid": "3c3b7b8d-8669-4b3b-8664-61970041fad2",
403                   "inputs": {},
404                   "commands": {},
405                   "properties": {},
406                   "type": "Configuration",
407                   "modelCustomizationName": "Port Mirroring Configuration By Policy 0",
408                   "sourceNodes": [],
409                   "collectorNodes": null,
410                   "configurationByPolicy": false
411                 }
412               },
413               "serviceProxies": {},
414               "vfModules": {
415                 "vf_vgeraldine0..VfVgeraldine..vflorence_vlc..module-1": {
416                   "uuid": "522159d5-d6e0-4c2a-aa44-5a542a12a830",
417                   "invariantUuid": "98a7c88b-b577-476a-90e4-e25a5871e02b",
418                   "customizationUuid": "55b1be94-671a-403e-a26c-667e9c47d091",
419                   "description": null,
420                   "name": "VfVgeraldine..vflorence_vlc..module-1",
421                   "version": "2",
422                   "modelCustomizationName": "VfVgeraldine..vflorence_vlc..module-1",
423                   "properties": {
424                     "minCountInstances": 0,
425                     "maxCountInstances": null,
426                     "initialCount": 0,
427                     "vfModuleLabel": "vflorence_vlc"
428                   },
429                   "inputs": {},
430                   "volumeGroupAllowed": false
431                 },
432                 "vf_vgeraldine0..VfVgeraldine..vflorence_gpb..module-2": {
433                   "uuid": "41708296-e443-4c71-953f-d9a010f059e1",
434                   "invariantUuid": "1cca90b8-3490-495e-87da-3f3e4c57d5b9",
435                   "customizationUuid": "6add59e0-7fe1-4bc4-af48-f8812422ae7c",
436                   "description": null,
437                   "name": "VfVgeraldine..vflorence_gpb..module-2",
438                   "version": "2",
439                   "modelCustomizationName": "VfVgeraldine..vflorence_gpb..module-2",
440                   "properties": {
441                     "minCountInstances": 0,
442                     "maxCountInstances": null,
443                     "initialCount": 0,
444                     "vfModuleLabel": "vflorence_gpb"
445                   },
446                   "inputs": {},
447                   "volumeGroupAllowed": false
448                 },
449                 "vf_vgeraldine0..VfVgeraldine..base_vflorence..module-0": {
450                   "uuid": "a27f5cfc-7f12-4f99-af08-0af9c3885c87",
451                   "invariantUuid": "a6f9e51a-2b35-416a-ae15-15e58d61f36d",
452                   "customizationUuid": "f8c040f1-7e51-4a11-aca8-acf256cfd861",
453                   "description": null,
454                   "name": "VfVgeraldine..base_vflorence..module-0",
455                   "version": "2",
456                   "modelCustomizationName": "VfVgeraldine..base_vflorence..module-0",
457                   "properties": {
458                     "minCountInstances": 1,
459                     "maxCountInstances": 1,
460                     "initialCount": 1,
461                     "vfModuleLabel": "base_vflorence"
462                   },
463                   "inputs": {},
464                   "volumeGroupAllowed": true
465                 }
466               },
467               "volumeGroups": {
468                 "vf_vgeraldine0..VfVgeraldine..base_vflorence..module-0": {
469                   "uuid": "a27f5cfc-7f12-4f99-af08-0af9c3885c87",
470                   "invariantUuid": "a6f9e51a-2b35-416a-ae15-15e58d61f36d",
471                   "customizationUuid": "f8c040f1-7e51-4a11-aca8-acf256cfd861",
472                   "description": null,
473                   "name": "VfVgeraldine..base_vflorence..module-0",
474                   "version": "2",
475                   "modelCustomizationName": "VfVgeraldine..base_vflorence..module-0",
476                   "properties": {
477                     "minCountInstances": 1,
478                     "maxCountInstances": 1,
479                     "initialCount": 1,
480                     "vfModuleLabel": "base_vflorence"
481                   },
482                   "inputs": {}
483                 }
484               },
485               "pnfs": {}
486             }
487           },
488           "serviceInstance": {
489             "6e59c5de-f052-46fa-aa7e-2fca9d674c44": {
490               "vnfs": {
491                 "VF_vGeraldine 0": {
492                   "originalName": "VF_vGeraldine 0",
493                   "rollbackOnFailure": "true",
494                   "vfModules": {
495                     "vf_vgeraldine0..VfVgeraldine..vflorence_vlc..module-1": {
496                       "vf_vgeraldine0..VfVgeraldine..vflorence_vlc..module-1dcudx": {
497                         "modelInfo": {
498                           "modelInvariantId": "98a7c88b-b577-476a-90e4-e25a5871e02b",
499                           "modelVersionId": "522159d5-d6e0-4c2a-aa44-5a542a12a830",
500                           "modelName": "VfVgeraldine..vflorence_vlc..module-1",
501                           "modelVersion": "2",
502                           "modelCustomizationId": "55b1be94-671a-403e-a26c-667e9c47d091",
503                           "modelCustomizationName": "VfVgeraldine..vflorence_vlc..module-1"
504                         },
505                         "isMissingData": false,
506                         "instanceParams": [
507                           {}
508                         ]
509                       }
510                     }
511                   },
512                   "isMissingData": false,
513                   "modelName": "VF_vGeraldine 0",
514                   "productFamilyId": "36b4733a-53f4-4cc8-8ff0-9172e5fc4b8e",
515                   "lcpCloudRegionId": "hvf6",
516                   "tenantId": "bae71557c5bb4d5aac6743a4e5f1d054",
517                   "lineOfBusiness": "zzz1",
518                   "platformName": "platform",
519                   "modelInfo": {
520                     "modelInvariantId": "4160458e-f648-4b30-a176-43881ffffe9e",
521                     "modelVersionId": "d6557200-ecf2-4641-8094-5393ae3aae60",
522                     "modelName": "VF_vGeraldine",
523                     "modelVersion": "2.0",
524                     "modelCustomizationId": "91415b44-753d-494c-926a-456a9172bbb9",
525                     "modelCustomizationName": "VF_vGeraldine 0"
526                   }
527                 }
528               },
529               "instanceParams": [
530                 {}
531               ],
532               "validationCounter": 0,
533               "globalSubscriberId": "e433710f-9217-458d-a79d-1c7aff376d89",
534               "productFamilyId": "36b4733a-53f4-4cc8-8ff0-9172e5fc4b8e",
535               "subscriptionServiceType": "TYLER SILVIA",
536               "lcpCloudRegionId": "hvf6",
537               "tenantId": "1178612d2b394be4834ad77f567c0af2",
538               "aicZoneId": "YYY1",
539               "projectName": "yyy1",
540               "owningEntityId": "aaa1",
541               "rollbackOnFailure": "true",
542               "bulkSize": 1,
543               "modelInfo": {
544                 "modelInvariantId": "e49fbd11-e60c-4a8e-b4bf-30fbe8f4fcc0",
545                 "modelVersionId": "6e59c5de-f052-46fa-aa7e-2fca9d674c44",
546                 "modelName": "ComplexService",
547                 "modelVersion": "1.0"
548               },
549               "existingVNFCounterMap": {
550                 "91415b44-753d-494c-926a-456a9172bbb9": 1
551               },
552               "existingNames": {},
553               "existingNetworksCounterMap" : {},
554               "tenantName": "AIN Web Tool-15-D-SSPtestcustome",
555               "aicZoneName": "UUUAIAAI-YYY1"
556             }
557           },
558           "lcpRegionsAndTenants": {
559             "lcpRegionList": [
560               {
561                 "id": "AAIAIC25",
562                 "name": "AAIAIC25 (AIC)",
563                 "cloudOwner" : "irma-aic",
564                 "isPermitted": true
565               },
566               {
567                 "id": "hvf6",
568                 "name": "hvf6 (AIC)",
569                 "cloudOwner" : "irma-aic",
570                 "isPermitted": true
571               }
572             ],
573             "lcpRegionsTenantsMap": {
574               "AAIAIC25": [
575                 {
576                   "id": "092eb9e8e4b7412e8787dd091bc58e86",
577                   "name": "USP-SIP-IC-24335-T-01",
578                   "isPermitted": true
579                 }
580               ],
581               "hvf6": [
582                 {
583                   "id": "bae71557c5bb4d5aac6743a4e5f1d054",
584                   "name": "AIN Web Tool-15-D-testalexandria",
585                   "isPermitted": true
586                 },
587                 {
588                   "id": "d0a3e3f2964542259d155a81c41aadc3",
589                   "name": "test-hvf6-09",
590                   "isPermitted": true
591                 },
592                 {
593                   "id": "fa45ca53c80b492fa8be5477cd84fc2b",
594                   "name": "ro-T112",
595                   "isPermitted": true
596                 },
597                 {
598                   "id": "cbb99fe4ada84631b7baf046b6fd2044",
599                   "name": "DN5242-Nov16-T3",
600                   "isPermitted": true
601                 }
602               ]
603             }
604           },
605           "subscribers": [
606             {
607               "id": "CAR_2020_ER",
608               "name": "CAR_2020_ER",
609               "isPermitted": true
610             },
611             {
612               "id": "21014aa2-526b-11e6-beb8-9e71128cae77",
613               "name": "JULIO ERICKSON",
614               "isPermitted": false
615             },
616             {
617               "id": "DHV1707-TestSubscriber-2",
618               "name": "DALE BRIDGES",
619               "isPermitted": false
620             },
621             {
622               "id": "DHV1707-TestSubscriber-1",
623               "name": "LLOYD BRIDGES",
624               "isPermitted": false
625             },
626             {
627               "id": "jimmy-example",
628               "name": "JimmyExampleCust-20161102",
629               "isPermitted": false
630             },
631             {
632               "id": "jimmy-example2",
633               "name": "JimmyExampleCust-20161103",
634               "isPermitted": false
635             },
636             {
637               "id": "ERICA5779-TestSub-PWT-102",
638               "name": "ERICA5779-TestSub-PWT-102",
639               "isPermitted": false
640             },
641             {
642               "id": "ERICA5779-TestSub-PWT-101",
643               "name": "ERICA5779-TestSub-PWT-101",
644               "isPermitted": false
645             },
646             {
647               "id": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
648               "name": "Emanuel",
649               "isPermitted": false
650             },
651             {
652               "id": "ERICA5779-Subscriber-4",
653               "name": "ERICA5779-Subscriber-5",
654               "isPermitted": false
655             },
656             {
657               "id": "ERICA5779-TestSub-PWT-103",
658               "name": "ERICA5779-TestSub-PWT-103",
659               "isPermitted": false
660             },
661             {
662               "id": "ERICA5779-Subscriber-2",
663               "name": "ERICA5779-Subscriber-2",
664               "isPermitted": false
665             },
666             {
667               "id": "e433710f-9217-458d-a79d-1c7aff376d89",
668               "name": "SILVIA ROBBINS",
669               "isPermitted": true
670             },
671             {
672               "id": "ERICA5779-Subscriber-3",
673               "name": "ERICA5779-Subscriber-3",
674               "isPermitted": false
675             },
676             {
677               "id": "31739f3e-526b-11e6-beb8-9e71128cae77",
678               "name": "CRAIG/ROBERTS",
679               "isPermitted": false
680             }
681           ],
682           "productFamilies": [
683             {
684               "id": "ebc3bc3d-62fd-4a3f-a037-f619df4ff034",
685               "name": "ERICA",
686               "isPermitted": true
687             },
688             {
689               "id": "17cc1042-527b-11e6-beb8-9e71128cae77",
690               "name": "IGNACIO",
691               "isPermitted": true
692             },
693             {
694               "id": "36b4733a-53f4-4cc8-8ff0-9172e5fc4b8e",
695               "name": "Christie",
696               "isPermitted": true
697             },
698             {
699               "id": "a4f6f2ae-9bf5-4ed7-b904-06b2099c4bd7",
700               "name": "Enhanced Services",
701               "isPermitted": true
702             },
703             {
704               "id": "vTerrance",
705               "name": "vTerrance",
706               "isPermitted": true
707             },
708             {
709               "id": "323d69d9-2efe-4r45-ay0a-89ea7ard4e6f",
710               "name": "vEsmeralda",
711               "isPermitted": true
712             },
713             {
714               "id": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
715               "name": "Emanuel",
716               "isPermitted": true
717             },
718             {
719               "id": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
720               "name": "BVOIP",
721               "isPermitted": true
722             },
723             {
724               "id": "db171b8f-115c-4992-a2e3-ee04cae357e0",
725               "name": "LINDSEY",
726               "isPermitted": true
727             },
728             {
729               "id": "LRSI-OSPF",
730               "name": "LRSI-OSPF",
731               "isPermitted": true
732             },
733             {
734               "id": "vRosemarie",
735               "name": "HNGATEWAY",
736               "isPermitted": true
737             },
738             {
739               "id": "vHNPaas",
740               "name": "WILKINS",
741               "isPermitted": true
742             },
743             {
744               "id": "e433710f-9217-458d-a79d-1c7aff376d89",
745               "name": "TYLER SILVIA",
746               "isPermitted": true
747             },
748             {
749               "id": "b6a3f28c-eebf-494c-a900-055cc7c874ce",
750               "name": "VROUTER",
751               "isPermitted": true
752             },
753             {
754               "id": "vMuriel",
755               "name": "vMuriel",
756               "isPermitted": true
757             },
758             {
759               "id": "0ee8c1bc-7cbd-4b0a-a1ac-e9999255abc1",
760               "name": "CARA Griffin",
761               "isPermitted": true
762             },
763             {
764               "id": "c7611ebe-c324-48f1-8085-94aef0c6ef3d",
765               "name": "DARREN MCGEE",
766               "isPermitted": true
767             },
768             {
769               "id": "e30755dc-5673-4b6b-9dcf-9abdd96b93d1",
770               "name": "Transport",
771               "isPermitted": true
772             },
773             {
774               "id": "vSalvatore",
775               "name": "vSalvatore",
776               "isPermitted": true
777             },
778             {
779               "id": "d7bb0a21-66f2-4e6d-87d9-9ef3ced63ae4",
780               "name": "JOSEFINA",
781               "isPermitted": true
782             },
783             {
784               "id": "vHubbard",
785               "name": "vHubbard",
786               "isPermitted": true
787             },
788             {
789               "id": "12a96a9d-4b4c-4349-a950-fe1159602621",
790               "name": "DARREN MCGEE",
791               "isPermitted": true
792             }
793           ],
794           "serviceTypes": {
795             "e433710f-9217-458d-a79d-1c7aff376d89": [
796               {
797                 "id": "0",
798                 "name": "vRichardson",
799                 "isPermitted": false
800               },
801               {
802                 "id": "1",
803                 "name": "TYLER SILVIA",
804                 "isPermitted": true
805               },
806               {
807                 "id": "2",
808                 "name": "Emanuel",
809                 "isPermitted": false
810               },
811               {
812                 "id": "3",
813                 "name": "vJamie",
814                 "isPermitted": false
815               },
816               {
817                 "id": "4",
818                 "name": "vVoiceMail",
819                 "isPermitted": false
820               },
821               {
822                 "id": "5",
823                 "name": "Kennedy",
824                 "isPermitted": false
825               },
826               {
827                 "id": "6",
828                 "name": "vPorfirio",
829                 "isPermitted": false
830               },
831               {
832                 "id": "7",
833                 "name": "vVM",
834                 "isPermitted": false
835               },
836               {
837                 "id": "8",
838                 "name": "vOTA",
839                 "isPermitted": false
840               },
841               {
842                 "id": "9",
843                 "name": "vFLORENCE",
844                 "isPermitted": false
845               },
846               {
847                 "id": "10",
848                 "name": "vMNS",
849                 "isPermitted": false
850               },
851               {
852                 "id": "11",
853                 "name": "vEsmeralda",
854                 "isPermitted": false
855               },
856               {
857                 "id": "12",
858                 "name": "VPMS",
859                 "isPermitted": false
860               },
861               {
862                 "id": "13",
863                 "name": "vWINIFRED",
864                 "isPermitted": false
865               },
866               {
867                 "id": "14",
868                 "name": "SSD",
869                 "isPermitted": false
870               },
871               {
872                 "id": "15",
873                 "name": "vMOG",
874                 "isPermitted": false
875               },
876               {
877                 "id": "16",
878                 "name": "LINDSEY",
879                 "isPermitted": false
880               },
881               {
882                 "id": "17",
883                 "name": "JOHANNA_SANTOS",
884                 "isPermitted": false
885               },
886               {
887                 "id": "18",
888                 "name": "vCarroll",
889                 "isPermitted": false
890               }
891             ]
892           },
893           "aicZones": [
894             {
895               "id": "NFT1",
896               "name": "NFTJSSSS-NFT1"
897             },
898             {
899               "id": "JAG1",
900               "name": "YUDFJULP-JAG1"
901             },
902             {
903               "id": "YYY1",
904               "name": "UUUAIAAI-YYY1"
905             },
906             {
907               "id": "AVT1",
908               "name": "AVTRFLHD-AVT1"
909             },
910             {
911               "id": "ATL34",
912               "name": "ATLSANAI-ATL34"
913             }
914           ],
915           "categoryParameters": {
916             "owningEntityList": [
917               {
918                 "id": "aaa1",
919                 "name": "aaa1"
920               },
921               {
922                 "id": "d61e6f2d-12fa-4cc2-91df-7c244011d6fc",
923                 "name": "WayneHolland"
924               },
925               {
926                 "id": "Melissa",
927                 "name": "Melissa"
928               }
929             ],
930             "projectList": [
931               {
932                 "id": "WATKINS",
933                 "name": "WATKINS"
934               },
935               {
936                 "id": "x1",
937                 "name": "x1"
938               },
939               {
940                 "id": "yyy1",
941                 "name": "yyy1"
942               }
943             ],
944             "lineOfBusinessList": [
945               {
946                 "id": "ONAP",
947                 "name": "ONAP"
948               },
949               {
950                 "id": "zzz1",
951                 "name": "zzz1"
952               }
953             ],
954             "platformList": [
955               {
956                 "id": "platform",
957                 "name": "platform"
958               },
959               {
960                 "id": "xxx1",
961                 "name": "xxx1"
962               }
963             ]
964           },
965           "type": "[PRODUCT_FAMILIES] Update"
966         }
967       }
968     }
969
970   });
971 });