diff options
author | Amichai Hemli <ah0398@intl.att.com> | 2019-07-09 14:23:37 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-07-09 14:23:37 +0000 |
commit | 58d22b526418ffeb89337fed9e20406da420bc6f (patch) | |
tree | 4357c9cfe1c92d57ac0a3f90167cade7af505b95 /vid-webpack-master/src/app/shared/utils | |
parent | 302b02a847e7aa8ccf3ff4bc14ff8a9cf67511b0 (diff) | |
parent | 97d9f66df456ef4573047a90baa3cc3ee4bfb0b7 (diff) |
Merge changes Ib4430bf2,Icc0bdb9e,I2736b984
* changes:
Merge from ecomp 718fd196 - Ext. Services Simulator
Merge from ecomp 718fd196 - Integration Tests
Merge from ecomp 718fd196 - Modern UI
Diffstat (limited to 'vid-webpack-master/src/app/shared/utils')
-rw-r--r-- | vid-webpack-master/src/app/shared/utils/constants.ts | 13 | ||||
-rw-r--r-- | vid-webpack-master/src/app/shared/utils/iframe.service.ts | 15 |
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"); + } + } } |