1 export module Constants {
3 export class Component {
4 public static NAME = 'name';
5 public static SERVICE = 'service';
6 public static A_LA_CARTE = 'a la carte';
7 public static MACRO = 'Macro';
8 public static SUBSCRIBER_NAME = 'subscriberName';
9 public static OLDVERSION = 'oldversion';
10 public static SERVICE_TYPE = 'serviceType';
14 public static FORWARD_SLASH = '/';
16 public static AAI_GET_FULL_SUBSCRIBERS = '../../aai_get_full_subscribers';
17 public static AAI_REFRESH_FULL_SUBSCRIBERS = 'aai_refresh_full_subscribers';
18 public static AAI_GET_SUBSCRIBERS = '../../aai_get_subscribers';
20 public static AAI_GET_TENTANTS = '../../aai_get_tenants';
21 public static AAI_REFRESH_SUBSCRIBERS = 'aai_refresh_subscribers';
22 public static AAI_SUB_DETAILS = 'aai_sub_details';
23 public static AAI_SUB_VIEWEDIT = '../../aai_sub_viewedit';
25 public static GET_WORKFLOW = 'change-management/get_vnf_workflow_relation';
26 public static GET_MSO_WORKFLOWS = 'change-management/mso';
27 public static GET_SCHEDULER_CHANGE_MANAGEMENTS = 'change-management/scheduler';
28 public static CANCEL_SCHEDULE_REQUEST = 'change-management/scheduler/schedules';
29 public static ASSIGN = '?r=';
30 public static AAI_OMIT_SERVICE_INSTANCES = '&omitServiceInstances=';
31 public static AAI_GET_SERVICE_INSTANCE_PATH = 'aai_get_service_instance/';
32 public static AAI_GET_SERVICES = '../../aai_get_services';
33 public static AAI_GET_AIC_ZONES = '../../aai_get_aic_zones';
34 public static AAI_GET_AIC_ZONE_FOR_PNF = 'aai_get_aic_zone_for_pnf/@globalCustomerId/@serviceType/@serviceInstanceId';
35 public static AAI_GET_SERVICES_BY_TYPE = 'aai_get_models_by_service_type';
36 public static AAI_GET_TENANTS = '../../aai_get_tenants/';
37 public static AAI_SUB_DETAILS_PATH = '../../aai_sub_details/';
38 public static AAI_GET_SERVICE_INSTANCE_TOPOLOGY_PATH = '../../aai_get_service_instance_topology/';
39 public static AAI_GET_ACTIVE_NETWORKS_PATH = '../../aai_get_active_networks/';
40 public static AAI_GET_VPNS_PATH = '../../aai_get_vpn_list/';
41 public static AAI_GET_SERVICE_GROUP_MEMBERS_PATH = '../../aai_search_group_members/';
42 public static AAI_GET_USER_ID_PATH = '../../getuserID';
43 public static AAI_GET_VERSION_BY_INVARIANT_ID = 'aai_get_version_by_invariant_id/';
44 public static SEARCH_SERVICE_INSTANCES = 'search_service_instances';
45 public static AAI_GET_VNF_BY_CUSTOMERID_AND_SERVICETYPE = 'get_vnf_data_by_globalid_and_service_type/';
46 public static AAI_GET_SERVICES_BY_OWNING_ENTITY_ID = 'aai_get_services_by_owning_entity_id';
47 public static AAI_GET_VNF_INFO = 'aai_get_vnf_information';
48 public static AAI_GET_PNF_INSTANCE = 'aai_get_service_instance_pnfs';
49 public static AAI_GET_VNF_INSTANCES_LIST = 'aai_get_vnf_instances';
50 public static AAI_GET_PNF_INSTANCES_LIST = 'aai_get_pnf_instances';
51 public static AAI_GET_BY_URI = 'aai_get_by_uri/';
52 public static AAI_GET_CONFIGURATION = 'aai_get_configuration/';
53 public static AAI_GET_TEST_ENVIRONMENTS = 'get_operational_environments?operationalEnvironmentType=';
54 public static GET_CATEGORY_PARAMETERS = '../../category_parameter';
55 public static PARAMETER_STANDARDIZATION_FAMILY = 'PARAMETER_STANDARDIZATION';
56 public static TENANT_ISOLATION_FAMILY = 'TENANT_ISOLATION';
57 public static ASDC_GETMODEL_PATH = 'asdc/getModel/';
58 public static CREATE_INSTANCE_PATH = '/models/services/createInstance';
59 public static AAI_GET_PNF_BY_NAME = 'aai_get_pnfs/pnf/';
61 public static GET_SYSTEM_PROP_VNF_PROV_STATUS_PATH = 'get_system_prop_vnf_prov_status';
62 public static GET_USER_ID = 'getuserID';
63 public static INSTANTIATE_ROOT_PATH = '#/instantiate?subscriberId=';
64 public static INSTANTIATE_PATH = '/instantiate';
65 public static INVALID_STRING = '/INVALID_STRING/';
66 public static INVALID_STRING_MSO_CREATE_SVC_INSTANCE = 'INVALID_STRING_mso_create_svc_instance';
67 public static MSO = 'mso';
68 public static MSO_CREATE_NW_INSTANCE = 'mso_create_nw_instance';
69 public static MSO_CREATE_NW_INSTANCE_PATH = 'mso_create_nw_instance/';
70 public static MSO_CREATE_SVC_INSTANCE = 'mso_create_svc_instance';
71 public static MSO_CREATE_VNF_INSTANCE = '../../mso/mso_create_vnf_instance/';
72 public static MSO_DELETE_SVC_INSTANCE_PATH = 'mso_delete_svc_instance/';
73 public static MSO_ACTIVATE_INSTANCE = 'mso/mso_activate_service_instance/@serviceInstanceId';
74 public static MSO_DEACTIVATE_INSTANCE = 'mso/mso_deactivate_service_instance/@serviceInstanceId';
75 public static MSO_CREATE_REALATIONSHIP = 'mso_add_relationship';
76 public static MSO_REMOVE_RELATIONSHIP = 'mso_remove_relationship';
77 public static SELECTED_SERVICE_SUB_PATH = '#/instances/subdetails?';
78 public static SELECTED_SERVICE_INSTANCE_SUB_PATH = 'serviceInstanceIdentifier=';
79 public static SELECTED_SUBSCRIBER_SUB_PATH = 'subscriberId=';
80 public static OWNING_ENTITY_SUB_PATH = 'owningEntity=';
81 public static PROJECT_SUB_PATH = 'project=';
82 public static SERVICE_TYPE_LIST_PATH = '#/instances/serviceTypes?serviceTypeList=';
83 public static SERVICE_MODLES_INSTANCES_SUBSCRIBERS_PATH = 'serviceModels.htm#/instances/subscribers';
84 public static SERVICES_DIST_STATUS_PATH = '../../rest/models/services?distributionStatus=';
85 public static SERVICES_PATH = '../../rest/models/services/';
86 public static SERVICE_LATEST_VERSION = '../../aai_get_newest_model_version_by_invariant/';
87 public static SERVICETYPE_SUB_PATH = '&serviceType=';
88 public static SERVICEINSTANCEID_SUB_PATH = '&serviceInstanceId=';
89 public static SERVICEMODELS_INSTANCES_SERVICES_PATH = 'serviceModels.htm#/instances/services';
90 public static SERVICEMODELS_MODELS_SERVICES_PATH = 'serviceModels.htm#/models/services';
91 public static SUBDETAILS_SELECTEDSUBSCRIBER = '#subdetails?selectedSubscriber=';
92 public static SUBSCRIBERNAME_SUB_PATH = '&subscriberName=';
93 public static WELCOME_PATH = 'welcome.htm';
94 public static IS_PERMITTED_SUB_PATH = '&isPermitted=';
95 public static SERVICES_JOB_INFO_PATH = '../../asyncInstantiation';
96 public static SERVICE_MODEL_ID = 'serviceModelId';
97 public static SERVICES_RETRY_TOPOLOGY = '../../asyncInstantiation/bulkForRetry';
98 public static INSTANTIATION_TEMPLATE_TOPOLOGY = '../../instantiationTemplates/templateTopology';
99 public static CONFIGURATION_PATH = '../../get_property/{name}/defaultvalue';
100 public static SERVICES_JOB_AUDIT_PATH = '/auditStatus';
101 public static SERVICES_PROBE_PATH = "../../probe";
102 public static FEATURES_FLAG_PATH ="../../flags";
103 public static AUDIT_STATUS_FOR_RETRY_PATH = '../../asyncInstantiation/auditStatusForRetry';
105 // Test Environment Urls =
106 public static OPERATIONAL_ENVIRONMENT_CREATE = 'operationalEnvironment/create';
107 public static OPERATIONAL_ENVIRONMENT_DEACTIVATE = 'operationalEnvironment/deactivate?operationalEnvironment=';
108 public static OPERATIONAL_ENVIRONMENT_ACTIVATE = 'operationalEnvironment/activate?operationalEnvironment=';
109 public static OPERATIONAL_ENVIRONMENT_STATUS = 'operationalEnvironment/requestStatus?requestId=';
115 public static DESCRIPTION = 'description';
116 public static GENERIC_VNF = 'generic-vnf';
117 public static GLOBAL_CUSTOMER_ID = 'global-customer-id';
118 public static GLOBAL_CUST_ID = 'globalCustomerId';
119 public static IN_MAINT = 'in-maint';
120 public static INVENTORY_RESPONSE_ITEMS = 'inventory-response-items';
121 public static INVENTORY_RESPONSE_ITEM = 'inventory-response-item';
122 public static L3_NETWORK = 'l3-network';
123 public static SUB_NET = 'subnet';
124 public static SUBNET_NAME = 'subnet-name';
125 public static SUBNET_ID = 'subnet-id';
126 public static GATEWAY_ADDRESS = 'gateway-address';
127 public static NETWORK_START_ADDRESS = 'network-start-address';
128 public static CIDR_MASK = 'cidr-mask';
129 public static MODEL_CUSTOMIZATION_ID = 'model-customization-id';
130 public static MODEL_INVAR_ID = 'model-invariant-id';
131 public static MODEL_VERSION_ID = 'model-version-id';
132 public static NETWORK_NAME = 'instanceName';
133 public static NETWORK_ID = 'instanceId';
134 public static NETWORK_TYPE = 'instanceType';
135 public static NETWORKS = 'networks';
136 public static OPERATIONAL_STATUS = 'operational-status';
137 public static ORCHESTRATION_STATUS = 'orchStatus';
138 public static PERCENT_PROGRESS = 'percent-progress';
139 public static PERSONA_MODEL_ID = 'persona-model-id';
140 public static PERSONA_MODEL_VERSION = 'persona-model-version';
141 public static PERSONA_MODEL_CUSTOMIZATION_ID = 'persona-model-customization-id';
142 public static PROV_STATUS = 'prov-status';
144 public static RESOURCE_LINK = 'resource-link';
145 public static RESULT_DATA = 'result-data';
146 public static SERVICE_DESCRIPTION = 'service-description';
147 public static SERVICE_ID = 'service-id';
148 public static SERVICE_INSTANCE = 'service-instance';
149 public static SERVICE_INSTANCES = 'service-instances';
150 public static SERVICE_INSTANCE_ID = 'service-instance-id';
151 public static SERVICE_INSTANCE_NAME = 'service-instance-name';
152 public static SERVICE_SUBSCRIPTION = 'service-subscription';
153 public static SERVICE_SUBSCRIPTIONS = 'service-subscriptions';
154 public static SERVICETYPE = 'service-type';
155 public static STATUS_MESSAGE = 'statusMessage';
156 public static SUBNAME = 'subscriber-name';
157 public static IS_PERMITTED = 'is-permitted';
158 public static TIMESTAMP = 'timestamp';
159 public static VF_MODULE = 'vf-module';
160 public static VF_MODULES = 'vfModules';
161 public static VF_MODULE_ID = 'vf-module-id';
162 public static VF_MODULE_NAME = 'vf-module-name';
163 public static VID = 'VID';
164 public static VNF_ID = 'vnf-id';
165 public static VNF_NAME = 'vnf-name';
166 public static VNF_TYPE = 'vnf-type';
167 public static VNFS = 'vnfs';
168 public static AVAILABLEVOLUMEGROUPS = 'availableVolumeGroups';
169 public static VOLUMEGROUPS = 'volumeGroups';
170 public static VOLUME_GROUP = 'volume-group';
171 public static VOLUME_GROUP_ID = 'volume-group-id';
172 public static VOLUME_GROUP_NAME = 'volume-group-name';
173 public static UPLOAD_SUPPLEMENTORY_DATA_FILE = 'uploadSupplementoryDataFile';
174 public static SUPPLEMENTORY_DATA_FILE = 'supplementoryDataFile';
175 public static ZONE_ID = 'zone-id';
176 public static ZONE_NAME = 'zone-name';
177 public static GENERIC_CONFIGURATION = 'configuration';
178 public static CONFIGURATIONS = 'configurations';
179 public static CONFIGURATION = 'configuration';
180 public static CONFIGURATION_NAME = 'configuration-name';
181 public static CONFIGURATION_TYPE = 'configuration-type';
182 public static CONFIGURATION_ID = 'configuration-id';
183 public static PORT = 'l-interface';
184 public static PORT_ID = 'interface-id';
185 public static PORT_NAME = 'interface-name';
186 public static PORT_MIRRORED = 'is-port-mirrored';
189 export class Status {
190 public static ALL = 'ALL';
191 public static COMPLETE = 'Complete';
192 public static DONE = 'Done';
193 public static ERROR = 'Error';
194 public static FAILED = 'Failed';
195 public static FAILED_SERVICE_MODELS_ASDC = 'Failed to get service models from SDC.';
196 public static FETCHING_SERVICE_TYPES = 'Fetching service types list from A&AI';
197 public static FETCHING_SERVICE_CATALOG = 'Fetching service catalog from AAI. Please wait.';
198 public static FETCHING_SERVICE_CATALOG_ASDC = 'Fetching service catalog from SDC. Please wait.';
199 public static FETCHING_SUB_DETAILS = 'Fetching subscriber details from A&AI for ';
200 public static FETCHING_SERVICE_INST_DATA = 'Fetching service instance data from A&AI for service-instance-id=';
201 public static FETCHING_SUBSCRIBER_LIST_AAI = 'Fetching subscriber list from A&AI...';
202 public static IN_PROGRESS = 'In Progress';
203 public static IS_SUCCESSFUL = ' isSuccessful = ';
204 public static MSO_FAILURE = 'msoFailure';
205 public static NONE = 'None';
206 public static NOT_FOUND = 'Not Found';
207 public static NO_SERVICE_SUBSCRIPTION_FOUND = 'No Service Subscription Found';
208 public static SUBMITTING_REQUEST = 'Submitting Request';
209 public static SUCCESS_VNF_PROV_STATUS = 'Successfully set the VNF\'s Prov_Status to ';
210 public static UNLOCKED = 'Unlocked';
211 public static AAI_ACTIVE = 'Active';
212 public static AAI_INACTIVE = 'Inactive';
213 public static AAI_CREATED = 'Created';
214 public static AAI_ENABLED = 'Enabled';
215 public static AAI_DISABLED = 'Disabled';
219 public static AAI = 'A&AI failure - see log below for details';
220 public static AAI_ERROR = 'A&AI Error';
221 public static AAI_FETCHING_CUST_DATA = 'Failed to fetch customer data from A&AI= Response Code= ';
222 public static FETCHING_SERVICE_TYPES = 'Failed to fetch service types from A&AI= Response Code= ';
223 public static FETCHING_SERVICES = 'Failed to fetch services from A&AI= Response Code= ';
224 public static FETCHING_SERVICE_INSTANCE_DATA = 'Failed to fetch service instance data from A&AI= Response Code= ';
225 public static INVALID_INSTANCE_NAME = 'Invalid instance name= ';
226 // tslint:disable-next-line:max-line-length
227 public static INSTANCE_NAME_VALIDATE = 'The instance name must contain only alphanumeric or \'_-.\' characters; and must start with an alphabetic character';
228 public static INVALID_LIST = 'Invalid list parameter= ';
229 public static INVALID_MAP = 'Invalid map parameter= ';
230 public static LIST_VALIDATE = 'A list parameter value must have the following syntax= \'[<value1>;\.\.\.;<valueN>]\'';
231 // tslint:disable-next-line:max-line-length
232 public static MAP_VALIDATE = 'A map parameter value must have the following syntax= \'{ <entry_key_1>= <entry_value_1>; \.\.\.; <entry_key_n>= <entry_value_n> }\'';
233 public static MAX_POLLS_EXCEEDED = 'Maximum number of poll attempts exceeded';
234 public static MISSING_DATA = 'Missing data';
235 public static MODEL_VERSION_ID_MISSING = 'Error= model-version-id is not populated in A&AI';
236 public static MSO = 'MSO failure - see log below for details';
237 public static NO_MATCHING_MODEL = 'No matching model found matching the persona Model Id = ';
238 public static NO_MATCHING_MODEL_AAI = 'No matching model found matching the A&AI model version ID = ';
239 public static SELECT = 'Please select a subscriber or enter a service instance';
240 public static SERVICE_INST_DNE = 'That service instance does not exist. Please try again.';
241 public static SYSTEM_FAILURE = 'System failure';
242 public static INVALID_DATA_FORMAT = 'Invalid data format.Please check your file content whether it is not in json or not.';
243 public static MISSING_FILE = 'Please Select JSON File.';
245 public static MISSING_VNF_DETAILS = 'Missing required information.\n' +
246 'Please open and fill in the details.\n';
249 export class EventType {
250 public static COMPONENT_STATUS = 'ComponentStatus';
251 public static CREATE_COMPONENT = 'createComponent';
252 public static DELETE_RESUME_COMPONENT = 'deleteResumeComponent';
255 export class ServicePopup {
256 public static TITLE = 'Create a new service instance';
257 public static TOOLTIP_UUID = 'Unique identifier for this service in this version.';
258 public static TOOLTIP_INVARIANT_UUID = 'Unique identifier for this service cross versions.';
262 export class Parameter {
263 public static BOOLEAN = "boolean";
264 public static SELECT = "select";
265 public static MULTI_SELECT = "multi_select";
266 public static STRING = "string";
267 public static NUMBER = "number";
268 public static VALID_VALUES = "valid_values";
269 public static EQUAL = "equal";
270 public static LENGTH = "length";
271 public static MAX_LENGTH = "max_length";
272 public static MIN_LENGTH = "min_length";
273 public static IN_RANGE = "in_range";
274 public static CONSTRAINTS = "constraints";
275 public static OPERATOR = "operator";
276 public static CONSTRAINT_VALUES = "constraintValues";
277 public static DEFAULT = "default";
278 public static DESCRIPTION = "description";
279 public static TYPE = "type";
280 public static INTEGER = "integer";
281 public static RANGE = "range";
282 public static LIST = "list";
283 public static MAP = "map";
284 public static REQUIRED = "required";
285 public static GREATER_THAN = "greater_than";
286 public static LESS_THAN = "less_than";
287 public static GREATER_OR_EQUAL = "greater_or_equal";
288 public static LESS_OR_EQUAL = "less_or_equal";
289 public static DISPLAY_NAME = "displayName";
290 public static CHECKBOX ='checkbox';
291 public static FILE ='file';
294 export class AuditInfoModal{
295 public static TITLE = 'Service Instantiation Information';
298 export class LegacyRegion {
299 public static MEGA_REGION = ['AAIAIC25'];
302 export class ModelInfo {
303 public static UNLIMITED_DEFAULT = 'Unlimited (default)';