summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/shared/utils
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2019-07-07 19:23:03 +0300
committerIttay Stern <ittay.stern@att.com>2019-07-08 16:13:43 +0300
commitf792671ae247a931f34d902e9276202b5016ef9a (patch)
tree6104971e8074c9a3d720836276ff18619719ec02 /vid-webpack-master/src/app/shared/utils
parentfc62274e8d15964d63c62bf0e2f4abc040252ee9 (diff)
Merge from ecomp 718fd196 - Modern UI
Issue-ID: VID-378 Change-Id: I2736b98426e324ec3aa233b034229ba84d99839f Signed-off-by: Ittay Stern <ittay.stern@att.com>
Diffstat (limited to 'vid-webpack-master/src/app/shared/utils')
-rw-r--r--vid-webpack-master/src/app/shared/utils/constants.ts13
-rw-r--r--vid-webpack-master/src/app/shared/utils/iframe.service.ts15
2 files changed, 23 insertions, 5 deletions
diff --git a/vid-webpack-master/src/app/shared/utils/constants.ts b/vid-webpack-master/src/app/shared/utils/constants.ts
index f69517cf2..ef289df29 100644
--- a/vid-webpack-master/src/app/shared/utils/constants.ts
+++ b/vid-webpack-master/src/app/shared/utils/constants.ts
@@ -27,6 +27,7 @@ export module Constants {
public static GET_SCHEDULER_CHANGE_MANAGEMENTS = 'change-management/scheduler';
public static CANCEL_SCHEDULE_REQUEST = 'change-management/scheduler/schedules';
public static ASSIGN = '?r=';
+ public static AAI_OMIT_SERVICE_INSTANCES = '&omitServiceInstances=';
public static AAI_GET_SERVICE_INSTANCE_PATH = 'aai_get_service_instance/';
public static AAI_GET_SERVICES = '../../aai_get_services';
public static AAI_GET_AIC_ZONES = '../../aai_get_aic_zones';
@@ -35,6 +36,8 @@ export module Constants {
public static AAI_GET_TENANTS = '../../aai_get_tenants/';
public static AAI_SUB_DETAILS_PATH = '../../aai_sub_details/';
public static AAI_GET_SERVICE_INSTANCE_TOPOLOGY_PATH = '../../aai_get_service_instance_topology/';
+ public static AAI_GET_ACTIVE_NETWORKS_PATH = '../../aai_get_active_networks/';
+ public static AAI_GET_VPNS_PATH = '../../aai_get_vpn_list/';
public static AAI_GET_SERVICE_GROUP_MEMBERS_PATH = '../../aai_search_group_members/';
public static AAI_GET_VERSION_BY_INVARIANT_ID = 'aai_get_version_by_invariant_id/';
public static SEARCH_SERVICE_INSTANCES = 'search_service_instances';
@@ -122,12 +125,12 @@ export module Constants {
public static MODEL_CUSTOMIZATION_ID = 'model-customization-id';
public static MODEL_INVAR_ID = 'model-invariant-id';
public static MODEL_VERSION_ID = 'model-version-id';
- public static NETWORK_NAME = 'network-name';
- public static NETWORK_ID = 'network-id';
- public static NETWORK_TYPE = 'network-type';
+ public static NETWORK_NAME = 'instanceName';
+ public static NETWORK_ID = 'instanceId';
+ public static NETWORK_TYPE = 'instanceType';
public static NETWORKS = 'networks';
public static OPERATIONAL_STATUS = 'operational-status';
- public static ORCHESTRATION_STATUS = 'orchestration-status';
+ public static ORCHESTRATION_STATUS = 'orchStatus';
public static PERCENT_PROGRESS = 'percent-progress';
public static PERSONA_MODEL_ID = 'persona-model-id';
public static PERSONA_MODEL_VERSION = 'persona-model-version';
@@ -289,6 +292,6 @@ export module Constants {
}
export class LegacyRegion {
- public static MEGA_REGION = ['JANET25'];
+ public static MEGA_REGION = ['AAIAIC25'];
}
}
diff --git a/vid-webpack-master/src/app/shared/utils/iframe.service.ts b/vid-webpack-master/src/app/shared/utils/iframe.service.ts
index 9a6636f4e..4c699825f 100644
--- a/vid-webpack-master/src/app/shared/utils/iframe.service.ts
+++ b/vid-webpack-master/src/app/shared/utils/iframe.service.ts
@@ -16,4 +16,19 @@ export class IframeService {
parentBodyElement.classList.remove("modal-open");
}
}
+
+
+ addFullScreen(){
+ let parentBodyElement = parent.document.getElementsByClassName('service-model-content')[0];
+ if (parentBodyElement) {
+ parentBodyElement.classList.add("full-screen");
+ }
+ }
+
+ removeFullScreen(){
+ let parentBodyElement = parent.document.getElementsByClassName('service-model-content')[0];
+ if (parentBodyElement) {
+ parentBodyElement.classList.remove("full-screen");
+ }
+ }
}