1 import { Injectable } from '@angular/core';
4 export class DataService {
6 private static _availableVolumeGroupList;
7 private static _cloudRegionTenantList;
8 private static _globalCustomerId;
9 private static _customizationUUID;
10 private static _rescustomizationUUID;
11 private static _inventoryItem;
12 private static _modelId;
13 private static _modelInstanceName;
14 private static _modelInfo;
15 private static _networkInstanceId;
16 private static _serviceIdList;
17 private static _aicZones;
18 private static _aicZone;
19 private static _serviceInstanceId;
20 private static _serviceInstanceName;
21 private static _serviceName;
22 private static _serviceType;
23 private static _serviceUuid;
24 private static _serviceTypeName;
25 private static _createSubscriberName;
26 private static _uploadSupplementoryDataFile;
27 private static _supplementoryDataFile;
28 private static _subscriberId;
29 private static _loggedInUserId;
30 private static _subscriberName;
31 private static _subscribers;
32 private static _subscriptionServiceTypeList;
33 private static _userParams;
34 private static _userServiceInstanceName;
35 private static _vfModuleInstanceId;
36 private static _vnfInstanceId;
37 private static _vfModuleInstanceName;
38 private static _volumeGroupInstanceId;
39 private static _lcpRegion;
40 private static _tenant;
41 private static _treeHandle;
42 private static _serviceInstanceToCustomer;
43 private static _aLaCarte: boolean;
44 private static _macro: boolean;
45 private static _resources;
46 private static _syspropProvStatusList;
47 private static _updatedvnfProvStatus;
48 private static _arbitraryParameters;
49 private static _hideServiceFields;
50 private static _serviceProxies;
51 private static _sourceServiceProxies;
52 private static _collectorServiceProxies;
53 private static _configurationByPolicy;
54 private static _suppressRollback;
55 private static _portMirroningConfigFields;
56 private static _configurationInstanceId: string;
57 private static _configurationStatus: string;
58 private static _portStatus: string;
59 private static _portId: string;
61 private static _owningEntityProperties;
63 static get availableVolumeGroupList() {
64 return this._availableVolumeGroupList;
67 static set availableVolumeGroupList(value) {
68 this._availableVolumeGroupList = value;
71 static get cloudRegionTenantList() {
72 return this._cloudRegionTenantList;
75 static set cloudRegionTenantList(value) {
76 this._cloudRegionTenantList = value;
79 static get globalCustomerId() {
80 return this._globalCustomerId;
83 static set globalCustomerId(value) {
84 this._globalCustomerId = value;
87 static get customizationUUID() {
88 return this._customizationUUID;
91 static set customizationUUID(value) {
92 this._customizationUUID = value;
95 static get rescustomizationUUID() {
96 return this._rescustomizationUUID;
99 static set rescustomizationUUID(value) {
100 this._rescustomizationUUID = value;
103 static get inventoryItem() {
104 return this._inventoryItem;
107 static set inventoryItem(value) {
108 this._inventoryItem = value;
111 static get modelId() {
112 return this._modelId;
115 static set modelId(value) {
116 this._modelId = value;
119 static get modelInstanceName() {
120 return this._modelInstanceName;
123 static set modelInstanceName(value) {
124 this._modelInstanceName = value;
127 static get modelInfo() {
128 return this._modelInfo;
131 static set modelInfo(value) {
132 this._modelInfo = value;
135 static getModelInfo(componentId) {
136 return this._modelInfo[componentId];
139 static setModelInfo(componentId, modelInfo) {
140 if (!this._modelInfo) {
141 this._modelInfo = {};
143 this._modelInfo[componentId] = modelInfo;
146 static get networkInstanceId() {
147 return this._networkInstanceId;
150 static set networkInstanceId(value) {
151 this._networkInstanceId = value;
154 static get serviceIdList() {
155 return this._serviceIdList;
158 static set serviceIdList(value) {
159 this._serviceIdList = value;
162 static get aicZones() {
163 return this._aicZones;
166 static set aicZones(value) {
167 this._aicZones = value;
170 static get aicZone() {
171 return this._aicZone;
174 static set aicZone(value) {
175 this._aicZone = value;
178 static get serviceInstanceId() {
179 return this._serviceInstanceId;
182 static set serviceInstanceId(value) {
183 this._serviceInstanceId = value;
186 static get serviceInstanceName() {
187 return this._serviceInstanceName;
190 static set serviceInstanceName(value) {
191 this._serviceInstanceName = value;
194 static get serviceName() {
195 return this._serviceName;
198 static set serviceName(value) {
199 this._serviceName = value;
202 static get serviceType() {
203 return this._serviceType;
206 static set serviceType(value) {
207 this._serviceType = value;
210 static get serviceUuid() {
211 return this._serviceUuid;
214 static set serviceUuid(value) {
215 this._serviceUuid = value;
218 static get serviceTypeName() {
219 return this._serviceTypeName;
222 static set serviceTypeName(value) {
223 this._serviceTypeName = value;
226 static get createSubscriberName() {
227 return this._createSubscriberName;
230 static set createSubscriberName(value) {
231 this._createSubscriberName = value;
234 static get uploadSupplementoryDataFile() {
235 return this._uploadSupplementoryDataFile;
238 static set uploadSupplementoryDataFile(value) {
239 this._uploadSupplementoryDataFile = value;
242 static get supplementoryDataFile() {
243 return this._supplementoryDataFile;
246 static set supplementoryDataFile(value) {
247 this._supplementoryDataFile = value;
250 static get subscriberId() {
251 return this._subscriberId;
254 static set subscriberId(value) {
255 this._subscriberId = value;
258 static get loggedInUserId() {
259 return this._loggedInUserId;
262 static set loggedInUserId(value) {
263 this._loggedInUserId = value;
266 static get subscriberName() {
267 return this._subscriberName;
270 static set subscriberName(value) {
271 this._subscriberName = value;
274 static get subscribers() {
275 return this._subscribers;
278 static set subscribers(value) {
279 this._subscribers = value;
282 static get subscriptionServiceTypeList() {
283 return this._subscriptionServiceTypeList;
286 static set subscriptionServiceTypeList(value) {
287 this._subscriptionServiceTypeList = value;
290 static get userParams() {
291 return this._userParams;
294 static set userParams(value) {
295 this._userParams = value;
298 static get userServiceInstanceName() {
299 return this._userServiceInstanceName;
302 static set userServiceInstanceName(value) {
303 this._userServiceInstanceName = value;
306 static get vfModuleInstanceId() {
307 return this._vfModuleInstanceId;
310 static set vfModuleInstanceId(value) {
311 this._vfModuleInstanceId = value;
314 static get vnfInstanceId() {
315 return this._vnfInstanceId;
318 static set vnfInstanceId(value) {
319 this._vnfInstanceId = value;
322 static get vfModuleInstanceName() {
323 return this._vfModuleInstanceName;
326 static set vfModuleInstanceName(value) {
327 this._vfModuleInstanceName = value;
330 static get volumeGroupInstanceId() {
331 return this._volumeGroupInstanceId;
334 static set volumeGroupInstanceId(value) {
335 this._volumeGroupInstanceId = value;
338 static get lcpRegion() {
339 return this._lcpRegion;
342 static set lcpRegion(value) {
343 this._lcpRegion = value;
346 static get tenant() {
350 static set tenant(value) {
351 this._tenant = value;
354 static get treeHandle() {
355 return this._treeHandle;
358 static set treeHandle(value) {
359 this._treeHandle = value;
362 static get serviceInstanceToCustomer() {
363 return this._serviceInstanceToCustomer;
366 static set serviceInstanceToCustomer(value) {
367 this._serviceInstanceToCustomer = value;
370 static get aLaCarte() {
371 if (!this._aLaCarte) {
374 return this._aLaCarte;
377 static set aLaCarte(value: boolean) {
378 this._aLaCarte = value;
388 static set macro(value: boolean) {
392 static get resources() {
393 return this._resources;
396 static set resources(value) {
397 this._resources = value;
400 static get syspropProvStatusList() {
401 return this._syspropProvStatusList;
404 static set syspropProvStatusList(value) {
405 this._syspropProvStatusList = value;
408 static get updatedvnfProvStatus() {
409 return this._updatedvnfProvStatus;
412 static set updatedvnfProvStatus(value) {
413 this._updatedvnfProvStatus = value;
416 static get arbitraryParameters() {
417 return this._arbitraryParameters;
420 static set arbitraryParameters(value) {
421 this._arbitraryParameters = value;
424 static get hideServiceFields() {
425 return this._hideServiceFields;
428 static set hideServiceFields(value) {
429 this._hideServiceFields = value;
432 static get serviceProxies() {
433 return this._serviceProxies;
436 static set serviceProxies(value) {
437 this._serviceProxies = value;
440 static get sourceServiceProxies() {
441 return this._sourceServiceProxies;
444 static set sourceServiceProxies(value) {
445 this._sourceServiceProxies = value;
448 static get collectorServiceProxies() {
449 return this._collectorServiceProxies;
452 static set collectorServiceProxies(value) {
453 this._collectorServiceProxies = value;
456 static get configurationByPolicy() {
457 return this._configurationByPolicy;
460 static set configurationByPolicy(value) {
461 this._configurationByPolicy = value;
464 static get suppressRollback() {
465 return this._suppressRollback;
468 static set suppressRollback(value) {
469 this._suppressRollback = value;
472 static get portMirroningConfigFields() {
473 return this._portMirroningConfigFields;
476 static set portMirroningConfigFields(value) {
477 this._portMirroningConfigFields = value;
480 static get configurationInstanceId(): string {
481 return this._configurationInstanceId;
484 static set configurationInstanceId(value: string) {
485 this._configurationInstanceId = value;
488 static get configurationStatus(): string {
489 return this._configurationStatus;
492 static set configurationStatus(value: string) {
493 this._configurationStatus = value;
496 static get portStatus(): string {
497 return this._portStatus;
500 static set portStatus(value: string) {
501 this._portStatus = value;
504 static get portId(): string {
508 static set portId(value: string) {
509 this._portId = value;
516 static set pnf(value) {
520 static get owningEntityProperties() {
521 return this._owningEntityProperties;
524 static set owningEntityProperties(value) {
525 this._owningEntityProperties = value;