blob: 9d3bf104eee694496940851198f6cfb62b8320bc [file] [log] [blame]
Michael Landodd603392017-07-12 00:54:52 +03001/*-
2 * ============LICENSE_START=======================================================
3 * SDC
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
Piotr Darosz2c25cba2019-03-27 15:25:50 +01006 * Modifications Copyright (C) 2019 Nokia. All rights reserved.
Michael Landodd603392017-07-12 00:54:52 +03007 * ================================================================================
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
Idan Amitcb1095e2018-01-22 20:55:42 +020011 *
Michael Landodd603392017-07-12 00:54:52 +030012 * http://www.apache.org/licenses/LICENSE-2.0
Idan Amitcb1095e2018-01-22 20:55:42 +020013 *
Michael Landodd603392017-07-12 00:54:52 +030014 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 * ============LICENSE_END=========================================================
20 */
21
Michael Landoed64b5e2017-06-09 03:19:04 +030022/**
23 * Created by obarda on 2/18/2016.
24 */
25
26export let DEFAULT_ICON = 'defaulticon';
27export let CP_END_POINT = 'CpEndPoint';
28export let CHANGE_COMPONENT_CSAR_VERSION_FLAG = 'changeComponentCsarVersion';
Michael Lando5b593492018-07-29 16:13:45 +030029export let PREVIOUS_CSAR_COMPONENT = 'previousCsarComponent'
30
31
32export class GeneralStatus {
33 static OK = 'OK';
34 static GENERAL_ERROR = 'GENERAL_ERROR';
35}
Michael Landoed64b5e2017-06-09 03:19:04 +030036
37export class ComponentType {
38 static SERVICE = 'SERVICE';
39 static RESOURCE = 'RESOURCE';
Tal Gitelman51d50f02017-12-10 18:55:03 +020040 static SERVICE_PROXY = 'ServiceProxy'
Michael Landoed64b5e2017-06-09 03:19:04 +030041}
42
43export class ServerTypeUrl {
44 static RESOURCES = 'resources/';
45 static SERVICES = 'services/';
Michael Landoed64b5e2017-06-09 03:19:04 +030046}
47
48export class ResourceType {
49 static VF = 'VF';
50 static VL = 'VL';
51 static CP = 'CP';
52 static VFC = 'VFC';
53 static VFCMT = 'VFCMT';
Tal Gitelman153a3582017-07-03 20:16:55 +030054 static PNF = 'PNF';
Michael Lando75aacbb2017-07-17 21:12:03 +030055 static CVFC = 'CVFC';
Tal Gitelman51d50f02017-12-10 18:55:03 +020056 static CONFIGURATION = 'Configuration';
Michael Landoa5445102018-03-04 14:53:33 +020057 static CR = 'CR';
Michael Landoed64b5e2017-06-09 03:19:04 +030058}
59
60export class ComponentState {
61 static CERTIFICATION_IN_PROGRESS = 'CERTIFICATION_IN_PROGRESS';
62 static CERTIFIED = 'CERTIFIED';
63 static NOT_CERTIFIED_CHECKOUT = 'NOT_CERTIFIED_CHECKOUT';
64 static NOT_CERTIFIED_CHECKIN = 'NOT_CERTIFIED_CHECKIN';
65 static READY_FOR_CERTIFICATION = 'READY_FOR_CERTIFICATION';
66}
67
68export class DistributionStatus {
69 DISTRIBUTION_NOT_APPROVED = 'DISTRIBUTION_NOT_APPROVED';
70 DISTRIBUTION_APPROVED = 'DISTRIBUTION_APPROVED';
71 DISTRIBUTED = 'DISTRIBUTED';
72 DISTRIBUTION_REJECTED = 'DISTRIBUTION_REJECTED';
73}
74
75export class ArtifactGroupType {
76 static DEPLOYMENT = "DEPLOYMENT";
77 static INFORMATION = "INFORMATIONAL";
78 static SERVICE_API = "SERVICE_API";
79}
80
81export class ArtifactType {
82 static HEAT = "HEAT";
83 static HEAT_VOL = "HEAT_VOL";
84 static HEAT_NET = "HEAT_NET";
85 static VF_LICENSE = "VF_LICENSE";
86 static VENDOR_LICENSE = "VENDOR_LICENSE";
87 static THIRD_PARTY_RESERVED_TYPES = {
88 WORKFLOW: "WORKFLOW",
89 NETWORK_CALL_FLOW: "NETWORK_CALL_FLOW",
90 AAI_SERVICE_MODEL: "AAI_SERVICE_MODEL",
91 AAI_VF_MODEL: "AAI_VF_MODEL",
92 AAI_VF_MODULE_MODEL: "AAI_VF_MODULE_MODEL",
93 AAI_VF_INSTANCE_MODEL: "AAI_VF_INSTANCE_MODEL"
94 };
95 static TOSCA = {TOSCA_TEMPLATE: "TOSCA_TEMPLATE", TOSCA_CSAR: "TOSCA_CSAR"};
Piotr Darosz2c25cba2019-03-27 15:25:50 +010096 static VES_EVENTS = "VES_EVENTS";
Michael Landoed64b5e2017-06-09 03:19:04 +030097}
98
99export class SEVERITY {
100 public static DEBUG = 'DEBUG';
101 public static INFO = 'INFO';
102 public static WARNING = 'WARNING';
103 public static ERROR = 'ERROR';
104}
105
106export class PROPERTY_TYPES {
107 public static STRING = 'string';
108 public static INTEGER = 'integer';
109 public static FLOAT = 'float';
110 public static BOOLEAN = 'boolean';
111 public static JSON = 'json';
112 public static MAP = 'map';
113 public static LIST = 'list';
Tal Gitelman153a3582017-07-03 20:16:55 +0300114 public static SCALAR = 'scalar-unit';
115 public static SCALAR_FREQUENCY = 'scalar-unit.frequency';
116 public static SCALAR_SIZE = 'scalar-unit.size';
117 public static SCALAR_TIME = 'scalar-unit.time';
Michael Landoed64b5e2017-06-09 03:19:04 +0300118}
119
120export class SOURCES {
121 public static A_AND_AI = 'A&AI';
122 public static ORDER = 'Order';
123 public static RUNTIME = 'Runtime';
124}
125
126export class PROPERTY_DATA {
Tal Gitelman153a3582017-07-03 20:16:55 +0300127 public static TYPES = [PROPERTY_TYPES.STRING, PROPERTY_TYPES.INTEGER, PROPERTY_TYPES.FLOAT, PROPERTY_TYPES.BOOLEAN, PROPERTY_TYPES.JSON, PROPERTY_TYPES.SCALAR, PROPERTY_TYPES.SCALAR_FREQUENCY, PROPERTY_TYPES.SCALAR_SIZE, PROPERTY_TYPES.SCALAR_TIME, PROPERTY_TYPES.LIST, PROPERTY_TYPES.MAP];
128 public static SIMPLE_TYPES = [PROPERTY_TYPES.STRING, PROPERTY_TYPES.INTEGER, PROPERTY_TYPES.FLOAT, PROPERTY_TYPES.BOOLEAN, PROPERTY_TYPES.JSON, PROPERTY_TYPES.SCALAR, PROPERTY_TYPES.SCALAR_FREQUENCY, PROPERTY_TYPES.SCALAR_SIZE, PROPERTY_TYPES.SCALAR_TIME];
miriamec2ce9142019-02-13 15:17:26 +0200129 public static SIMPLE_TYPES_COMPARABLE = [PROPERTY_TYPES.STRING, PROPERTY_TYPES.INTEGER, PROPERTY_TYPES.FLOAT];
Tal Gitelman51d50f02017-12-10 18:55:03 +0200130 public static SCALAR_TYPES = [PROPERTY_TYPES.SCALAR, PROPERTY_TYPES.SCALAR_FREQUENCY, PROPERTY_TYPES.SCALAR_SIZE, PROPERTY_TYPES.SCALAR_TIME];
Michael Landoed64b5e2017-06-09 03:19:04 +0300131 public static ROOT_DATA_TYPE = "tosca.datatypes.Root";
Michael Landob3d48982017-06-11 14:22:02 +0300132 public static OPENECOMP_ROOT = "org.openecomp.datatypes.Root";
133 public static SUPPLEMENTAL_DATA = "supplemental_data";
Michael Landoed64b5e2017-06-09 03:19:04 +0300134 public static SOURCES = [SOURCES.A_AND_AI, SOURCES.ORDER, SOURCES.RUNTIME];
135}
136
137export class PROPERTY_VALUE_CONSTRAINTS {
Michael Landob3d48982017-06-11 14:22:02 +0300138 public static MAX_LENGTH = 2500;
Michael Landoed64b5e2017-06-09 03:19:04 +0300139 public static JSON_MAX_LENGTH = 4096;
140}
141
142export class Role {
143 public static ADMIN = 'ADMIN';
144 public static DESIGNER = 'DESIGNER';
Michael Landoed64b5e2017-06-09 03:19:04 +0300145 public static TESTER = 'TESTER';
146 public static OPS = 'OPS';
147 public static GOVERNOR = 'GOVERNOR';
148}
149
150export enum FormState{
151 CREATE,
152 UPDATE,
153 IMPORT,
154 VIEW
155}
156
Michael Lando5b593492018-07-29 16:13:45 +0300157export class instantiationType {
158 public static MACRO = 'Macro';
159 public static A_LA_CARTE = 'A-la-carte';
160}
161
Michael Landoed64b5e2017-06-09 03:19:04 +0300162export class WorkspaceMode {
163 public static CREATE = 'create';
164 public static EDIT = 'edit';
165 public static IMPORT = 'import';
166 public static VIEW = 'view';
167}
168
169export class ImagesUrl {
170 public static RESOURCE_ICONS = '/assets/styles/images/resource-icons/';
171 public static SERVICE_ICONS = '/assets/styles/images/service-icons/';
Tal Gitelman51d50f02017-12-10 18:55:03 +0200172 public static SERVICE_PROXY_ICONS = '/assets/styles/images/service-proxy-icons/';
Michael Landoed64b5e2017-06-09 03:19:04 +0300173 public static SELECTED_UCPE_INSTANCE = '/assets/styles/images/resource-icons/selectedUcpeInstance.png';
174 public static SELECTED_CP_INSTANCE = '/assets/styles/images/resource-icons/selectedCPInstance.png';
175 public static SELECTED_VL_INSTANCE = '/assets/styles/images/resource-icons/selectedVLInstance.png';
176 public static CANVAS_PLUS_ICON = '/assets/styles/images/resource-icons/canvasPlusIcon.png';
Michael Lando5b593492018-07-29 16:13:45 +0300177 public static CANVAS_TAG_ICON = '/assets/styles/images/canvas-tagging-icons/indication.svg';
178 public static CANVAS_POLICY_TAGGED_ICON = '/assets/styles/images/canvas-tagging-icons/policy_added.svg';
179 public static CANVAS_GROUP_TAGGED_ICON = '/assets/styles/images/canvas-tagging-icons/group_added.svg';
Michael Landoed64b5e2017-06-09 03:19:04 +0300180 public static MODULE_ICON = '/assets/styles/images/resource-icons/module.png';
181 public static OPEN_MODULE_ICON = '/assets/styles/images/resource-icons/openModule.png';
182 public static OPEN_MODULE_HOVER_ICON = '/assets/styles/images/resource-icons/openModuleHover.png';
183 public static CLOSE_MODULE_ICON = '/assets/styles/images/resource-icons/closeModule.png';
184 public static CLOSE_MODULE_HOVER_ICON = '/assets/styles/images/resource-icons/closeModuleHover.png';
185}
186
Michael Lando5b593492018-07-29 16:13:45 +0300187
188export class CanvasHandleTypes {
189 public static ADD_EDGE = 'add-edge';
190 public static TAG_AVAILABLE = 'tag-available';
191 public static TAGGED_POLICY = 'tagged-policy';
192 public static TAGGED_GROUP = 'tagged-group';
193}
194
Michael Landoed64b5e2017-06-09 03:19:04 +0300195export class ModalType {
196 static STANDARD = 'standard';
197 static ERROR = 'error';
198 static ALERT = 'alert';
199}
200
Avi Zivf5854fd2017-07-31 15:50:46 +0300201export class ServerErrors {
202 static ERROR_TITLE = 'Error';
203 static DEFAULT_ERROR = 'Error getting response from server';
204 static MESSAGE_ERROR = 'Wrong error format from server';
205}
206
Michael Landoed64b5e2017-06-09 03:19:04 +0300207export class GraphColors {
208 public static NOT_CERTIFIED_LINK = 'rgb(218,31,61)';
209 public static VL_LINK = 'rgb(216,216,216)';
210 public static ACTIVE_LINK = '#30bdf2';
211 public static BASE_LINK = 'rgb(55,55,55)';
212 public static NODE_BACKGROUND_COLOR = 'rgba(46, 162, 157, 0.24)';
213 public static NODE_SHADOW_COLOR = 'rgba(198, 230, 228, 0.7)';
214 public static NODE_OVERLAPPING_BACKGROUND_COLOR = 'rgba(179, 10, 60, 0.24)';
215 public static NODE_OVERLAPPING_SHADOW_COLOR = 'rgba(236, 194, 206, 0.7)';
216 public static NODE_UCPE_CP = '#9063cd';
217 public static NODE_UCPE = '#fbfbfb';
218 public static NODE_SELECTED_BORDER_COLOR = '#30bdf2';
Michael Landoa5445102018-03-04 14:53:33 +0200219 public static SERVICE_PATH_LINK = '#70208a';
Michael Landoed64b5e2017-06-09 03:19:04 +0300220}
221export class GraphTransactionLogText {
222 public static REMOVE_TEMP_LINK = "remove tempLink";
223 public static DELETE_LINK = "delete link";
224 public static ADD_LINK = "delete link";
225 public static ADD_NODE = "adding node";
226}
227
228export class GraphUIObjects {
Idan Amitcb1095e2018-01-22 20:55:42 +0200229 public static HANDLE_SIZE = 18;
230 public static NODE_OVERLAP_MIN_SIZE = 30;
Michael Lando9db40522017-07-22 17:10:02 +0300231 public static DEFAULT_RESOURCE_WIDTH = 65;
232 public static SMALL_RESOURCE_WIDTH = 21;
Michael Landoed64b5e2017-06-09 03:19:04 +0300233 public static LINK_MENU_HEIGHT = 420;
234 public static TOP_HEADER_HEIGHT = 200;
235 public static TOOLTIP_OFFSET_X = 50;
236 public static TOOLTIP_OFFSET_Y = 145;
237 public static TOOLTIP_LINK_OFFSET_X = 35;
238 public static TOOLTIP_LINK_OFFSET_Y = 75;
239 public static MENU_LINK_VL_HEIGHT_OFFSET = 250;
240 public static MENU_LINK_VL_WIDTH_OFFSET = 200;
241 public static MENU_LINK_SIMPLE_HEIGHT_OFFSET = 180;
242 public static MENU_LINK_SIMPLE_WIDTH_OFFSET = 130;
243 public static DIAGRAM_RIGHT_WIDTH_OFFSET = 248;
244 public static DIAGRAM_HEADER_OFFSET = 103;
245 public static DIAGRAM_PALETTE_WIDTH_OFFSET = 247;
246 // public static COMPOSITION_HEADER_OFFSET = 50;
247 // public static COMPOSITION_NODE_MENU_WIDTH = 230;
248 // public static COMPOSITION_NODE_MENU_HEIGHT = 200;
249 // public static COMPOSITION_RIGHT_PANEL_OFFSET = 300;
250}
251
252
253export class States {
254 public static WORKSPACE_GENERAL = 'workspace.general';
Michael Landoed64b5e2017-06-09 03:19:04 +0300255 public static WORKSPACE_ACTIVITY_LOG = 'workspace.activity_log';
256 public static WORKSPACE_DEPLOYMENT_ARTIFACTS = 'workspace.deployment_artifacts';
257 public static WORKSPACE_PROPERTIES = 'workspace.properties';
Michael Landoed64b5e2017-06-09 03:19:04 +0300258 public static WORKSPACE_ATTRIBUTES = 'workspace.attributes';
Michael Landoed64b5e2017-06-09 03:19:04 +0300259 public static WORKSPACE_INFORMATION_ARTIFACTS = 'workspace.information_artifacts';
260 public static WORKSPACE_TOSCA_ARTIFACTS = 'workspace.tosca_artifacts';
261 public static WORKSPACE_COMPOSITION = 'workspace.composition';
Arielk802bd2a2018-04-16 15:37:39 +0300262 public static WORKSPACE_INTERFACE_OPERATION = 'workspace.interface_operation';
Michael Landoed64b5e2017-06-09 03:19:04 +0300263 public static WORKSPACE_NETWORK_CALL_FLOW = 'workspace.network_call_flow';
264 public static WORKSPACE_MANAGEMENT_WORKFLOW = 'workspace.management_workflow';
265 public static WORKSPACE_DEPLOYMENT = 'workspace.deployment';
266 public static WORKSPACE_DISTRIBUTION = 'workspace.distribution';
267 public static WORKSPACE_PROPERTIES_ASSIGNMENT = 'workspace.properties_assignment';
268 public static WORKSPACE_REQUIREMENTS_AND_CAPABILITIES = 'workspace.reqAndCap';
miriame41ee9cb2019-03-04 13:49:15 +0200269 public static WORKSPACE_REQUIREMENTS_AND_CAPABILITIES_EDITABLE = 'workspace.reqAndCapEditable';
Idan Amiteedaaf92018-01-31 13:27:33 +0200270 public static WORKSPACE_PLUGINS = 'workspace.plugins';
Michael Landoed64b5e2017-06-09 03:19:04 +0300271 public static WORKSPACE_NG2 = 'workspace.ng2';
272}
273
274export class EVENTS {
Michael Landoa5445102018-03-04 14:53:33 +0200275 static LEFT_PALETTE_UPDATE_EVENT = "leftPanelUpdateEvent";
Michael Landoed64b5e2017-06-09 03:19:04 +0300276 static ON_CSAR_LOADING = "onCsarLoading";
277 static DOWNLOAD_ARTIFACT_FINISH_EVENT = "downloadArtifactFinishEvent";
278 static ON_WORKSPACE_SAVE_BUTTON_CLICK = "onWorkspaceSaveButtonClick";
279 static ON_WORKSPACE_SAVE_BUTTON_SUCCESS = "onWorkspaceSaveButtonSuccess";
280 static ON_WORKSPACE_SAVE_BUTTON_ERROR = "onWorkspaceSaveButtonError";
Michael Lando5b593492018-07-29 16:13:45 +0300281 static ON_WORKSPACE_UNSAVED_CHANGES = "onWorkspaceUnsavedChanges";
Michael Landob3d48982017-06-11 14:22:02 +0300282 static ON_CHECKOUT = "onCheckout";
Michael Lando5b593492018-07-29 16:13:45 +0300283 static ON_LIFECYCLE_CHANGE_WITH_SAVE = "onLifecycleChangeWithSave";
284 static ON_LIFECYCLE_CHANGE = "onCheckout";
Michael Landoed64b5e2017-06-09 03:19:04 +0300285
286 //Loader events
287 static SHOW_LOADER_EVENT = "showLoaderEvent";
288 static HIDE_LOADER_EVENT = "hideLoaderEvent";
Michael Lando5b593492018-07-29 16:13:45 +0300289 static UPDATE_PANEL = 'updatePanel';
Michael Landoed64b5e2017-06-09 03:19:04 +0300290}
291
292
293export class UNIQUE_GROUP_PROPERTIES_NAME {
294 public static MIN_VF_MODULE_INSTANCES = 'min_vf_module_instances';
295 public static MAX_VF_MODULE_INSTANCES = 'max_vf_module_instances';
296 public static INITIAL_COUNT = 'initial_count';
297 public static IS_BASE = 'isBase';
298 public static VF_MODULE_TYPE = 'vf_module_type';
299 public static VF_MODULE_LABEL = 'vf_module_label';
300 public static VF_MODULE_DESCRIPTION = 'vf_module_description';
301 public static VOLUME_GROUP = 'volume_group';
302}
303
304
305export class GRAPH_EVENTS {
306 static ON_COMPOSITION_GRAPH_DATA_LOADED = 'onCompositionGraphDataLoaded';
307 static ON_DEPLOYMENT_GRAPH_DATA_LOADED = 'onDeploymentGraphDataLoaded';
308 static ON_NODE_SELECTED = "onNodeSelected";
Michael Lando5b593492018-07-29 16:13:45 +0300309 static ON_ZONE_INSTANCE_SELECTED = "onZoneInstanceSelected";
Michael Landoed64b5e2017-06-09 03:19:04 +0300310 static ON_GRAPH_BACKGROUND_CLICKED = "onGraphBackgroundClicked";
311 static ON_PALETTE_COMPONENT_HOVER_IN = 'onPaletteComponentHoverIn';
312 static ON_PALETTE_COMPONENT_HOVER_OUT = 'onPaletteComponentHoverOut';
313 static ON_PALETTE_COMPONENT_DRAG_START = 'onPaletteComponentDragStart';
314 static ON_PALETTE_COMPONENT_DRAG_ACTION = 'onPaletteComponentDragAction';
Michael Landoa5445102018-03-04 14:53:33 +0200315 static ON_PALETTE_COMPONENT_SHOW_POPUP_PANEL = 'onPaletteComponentShowPopupPanel';
316 static ON_PALETTE_COMPONENT_HIDE_POPUP_PANEL = 'onPaletteComponentHidePopupPanel';
Michael Landoed64b5e2017-06-09 03:19:04 +0300317 static ON_COMPONENT_INSTANCE_NAME_CHANGED = 'onComponentInstanceNameChanged';
Michael Lando5b593492018-07-29 16:13:45 +0300318 static ON_ZONE_INSTANCE_NAME_CHANGED = 'onZoneInstanceNameChanged';
Michael Landoed64b5e2017-06-09 03:19:04 +0300319 static ON_DELETE_COMPONENT_INSTANCE = 'onDeleteComponentInstance';
Michael Lando5b593492018-07-29 16:13:45 +0300320 static ON_DELETE_ZONE_INSTANCE = 'onDeleteZoneInstance';
321 static ON_DELETE_COMPONENT_INSTANCE_SUCCESS = 'onDeleteComponentInstanceSuccess';
Michael Landoed64b5e2017-06-09 03:19:04 +0300322 static ON_DELETE_EDGE = 'onDeleteEdge';
323 static ON_INSERT_NODE_TO_UCPE = 'onInsertNodeToUCPE';
324 static ON_REMOVE_NODE_FROM_UCPE = 'onRemoveNodeFromUCPE';
325 static ON_VERSION_CHANGED = 'onVersionChanged';
326 static ON_CREATE_COMPONENT_INSTANCE = 'onCreateComponentInstance';
Michael Lando5b593492018-07-29 16:13:45 +0300327 static ON_ADD_ZONE_INSTANCE_FROM_PALETTE = 'onAddZoneInstanceFromPalette';
328 static ON_CANVAS_TAG_START = 'onCanvasTagStart';
329 static ON_CANVAS_TAG_END = 'onCanvasTagEnd';
330 static ON_POLICY_INSTANCE_UPDATE = 'onPolicyInstanceUpdate';
331 static ON_GROUP_INSTANCE_UPDATE = 'onGroupInstanceUpdate';
Michael Landoed64b5e2017-06-09 03:19:04 +0300332}
333
miriamec2ce9142019-02-13 15:17:26 +0200334export class DEPENDENCY_EVENTS {
335 static ON_DEPENDENCY_CHANGE = 'onDependencyStatusChange';
336}
337
Michael Landoed64b5e2017-06-09 03:19:04 +0300338
339export class COMPONENT_FIELDS {
340 static COMPONENT_INSTANCES_PROPERTIES = "componentInstancesProperties";
ojasdubey4192e3c2019-03-18 14:15:03 +0530341 static COMPONENT_INSTANCES_INPUTS = "componentInstancesInputs";
Michael Landoed64b5e2017-06-09 03:19:04 +0300342 static COMPONENT_INSTANCES_ATTRIBUTES = "componentInstancesAttributes";
343 static COMPONENT_ATTRIBUTES = "attributes";
344 static COMPONENT_INSTANCES = "componentInstances";
345 static COMPONENT_INSTANCES_RELATION = "componentInstancesRelations";
346 static COMPONENT_INPUTS = "inputs";
347 static COMPONENT_METADATA = "metadata";
348 static COMPONENT_DEPLOYMENT_ARTIFACTS = "deploymentArtifacts";
349 static COMPONENT_INFORMATIONAL_ARTIFACTS = "artifacts";
350 static COMPONENT_PROPERTIES = "properties";
351 static COMPONENT_CAPABILITIES = "capabilities";
352 static COMPONENT_REQUIREMENTS = "requirements";
353 static COMPONENT_TOSCA_ARTIFACTS = "toscaArtifacts";
Michael Landoa5445102018-03-04 14:53:33 +0200354 static COMPONENT_POLICIES = "policies";
Michael Landoed64b5e2017-06-09 03:19:04 +0300355 static COMPONENT_GROUPS = "groups";
Arielk802bd2a2018-04-16 15:37:39 +0300356 static COMPONENT_INTERFACE_OPERATIONS = "interfaces";
ojasdubey4192e3c2019-03-18 14:15:03 +0530357 static COMPONENT_INSTANCES_INTERFACES = "componentInstancesInterfaces";
Michael Lando5b593492018-07-29 16:13:45 +0300358 static COMPONENT_NON_EXCLUDED_GROUPS = "nonExcludedGroups";
359 static COMPONENT_NON_EXCLUDED_POLICIES = "nonExcludedPolicies";
Michael Landoed64b5e2017-06-09 03:19:04 +0300360}
Michael Landoa5445102018-03-04 14:53:33 +0200361
362export class SERVICE_FIELDS {
363 static FORWARDING_PATHS = "forwardingPaths";
miriamec2ce9142019-02-13 15:17:26 +0200364 static NODE_FILTER = "nodeFilter";
Michael Landoa5445102018-03-04 14:53:33 +0200365}
366
Michael Landoed64b5e2017-06-09 03:19:04 +0300367export class API_QUERY_PARAMS {
368 static INCLUDE = "include";
369}
Michael Lando5b593492018-07-29 16:13:45 +0300370
371export enum TargetOrMemberType {
372 COMPONENT_INSTANCES,
373 GROUPS
374}
375
376export class CANVAS_TAG_MODE {
377 static POLICY_TAGGING = "policy-tagging";
378 static POLICY_TAGGING_HOVER = "policy-tagging-hover";
379 static GROUP_TAGGING = "group-tagging";
380 static GROUP_TAGGING_HOVER= "group-tagging-hover";
381}