blob: 104b5dcb142a83261041692c35ac5555e1a90001 [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.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
Idan Amitcb1095e2018-01-22 20:55:42 +020010 *
Michael Landodd603392017-07-12 00:54:52 +030011 * http://www.apache.org/licenses/LICENSE-2.0
Idan Amitcb1095e2018-01-22 20:55:42 +020012 *
Michael Landodd603392017-07-12 00:54:52 +030013 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
19 */
20
Michael Landoed64b5e2017-06-09 03:19:04 +030021/**
22 * Created by obarda on 2/18/2016.
23 */
24
25export let DEFAULT_ICON = 'defaulticon';
26export let CP_END_POINT = 'CpEndPoint';
27export let CHANGE_COMPONENT_CSAR_VERSION_FLAG = 'changeComponentCsarVersion';
Michael Lando5b593492018-07-29 16:13:45 +030028export let PREVIOUS_CSAR_COMPONENT = 'previousCsarComponent'
29
30
31export class GeneralStatus {
32 static OK = 'OK';
33 static GENERAL_ERROR = 'GENERAL_ERROR';
34}
Michael Landoed64b5e2017-06-09 03:19:04 +030035
36export class ComponentType {
37 static SERVICE = 'SERVICE';
38 static RESOURCE = 'RESOURCE';
Tal Gitelman51d50f02017-12-10 18:55:03 +020039 static SERVICE_PROXY = 'ServiceProxy'
Michael Landoed64b5e2017-06-09 03:19:04 +030040}
41
42export class ServerTypeUrl {
43 static RESOURCES = 'resources/';
44 static SERVICES = 'services/';
Michael Landoed64b5e2017-06-09 03:19:04 +030045}
46
47export class ResourceType {
48 static VF = 'VF';
49 static VL = 'VL';
50 static CP = 'CP';
51 static VFC = 'VFC';
52 static VFCMT = 'VFCMT';
Tal Gitelman153a3582017-07-03 20:16:55 +030053 static PNF = 'PNF';
Michael Lando75aacbb2017-07-17 21:12:03 +030054 static CVFC = 'CVFC';
Tal Gitelman51d50f02017-12-10 18:55:03 +020055 static CONFIGURATION = 'Configuration';
Michael Landoa5445102018-03-04 14:53:33 +020056 static CR = 'CR';
Michael Landoed64b5e2017-06-09 03:19:04 +030057}
58
59export class ComponentState {
60 static CERTIFICATION_IN_PROGRESS = 'CERTIFICATION_IN_PROGRESS';
61 static CERTIFIED = 'CERTIFIED';
62 static NOT_CERTIFIED_CHECKOUT = 'NOT_CERTIFIED_CHECKOUT';
63 static NOT_CERTIFIED_CHECKIN = 'NOT_CERTIFIED_CHECKIN';
64 static READY_FOR_CERTIFICATION = 'READY_FOR_CERTIFICATION';
65}
66
67export class DistributionStatus {
68 DISTRIBUTION_NOT_APPROVED = 'DISTRIBUTION_NOT_APPROVED';
69 DISTRIBUTION_APPROVED = 'DISTRIBUTION_APPROVED';
70 DISTRIBUTED = 'DISTRIBUTED';
71 DISTRIBUTION_REJECTED = 'DISTRIBUTION_REJECTED';
72}
73
74export class ArtifactGroupType {
75 static DEPLOYMENT = "DEPLOYMENT";
76 static INFORMATION = "INFORMATIONAL";
77 static SERVICE_API = "SERVICE_API";
78}
79
80export class ArtifactType {
81 static HEAT = "HEAT";
82 static HEAT_VOL = "HEAT_VOL";
83 static HEAT_NET = "HEAT_NET";
84 static VF_LICENSE = "VF_LICENSE";
85 static VENDOR_LICENSE = "VENDOR_LICENSE";
86 static THIRD_PARTY_RESERVED_TYPES = {
87 WORKFLOW: "WORKFLOW",
88 NETWORK_CALL_FLOW: "NETWORK_CALL_FLOW",
89 AAI_SERVICE_MODEL: "AAI_SERVICE_MODEL",
90 AAI_VF_MODEL: "AAI_VF_MODEL",
91 AAI_VF_MODULE_MODEL: "AAI_VF_MODULE_MODEL",
92 AAI_VF_INSTANCE_MODEL: "AAI_VF_INSTANCE_MODEL"
93 };
94 static TOSCA = {TOSCA_TEMPLATE: "TOSCA_TEMPLATE", TOSCA_CSAR: "TOSCA_CSAR"};
95}
96
97export class SEVERITY {
98 public static DEBUG = 'DEBUG';
99 public static INFO = 'INFO';
100 public static WARNING = 'WARNING';
101 public static ERROR = 'ERROR';
102}
103
104export class PROPERTY_TYPES {
105 public static STRING = 'string';
106 public static INTEGER = 'integer';
107 public static FLOAT = 'float';
108 public static BOOLEAN = 'boolean';
109 public static JSON = 'json';
110 public static MAP = 'map';
111 public static LIST = 'list';
Tal Gitelman153a3582017-07-03 20:16:55 +0300112 public static SCALAR = 'scalar-unit';
113 public static SCALAR_FREQUENCY = 'scalar-unit.frequency';
114 public static SCALAR_SIZE = 'scalar-unit.size';
115 public static SCALAR_TIME = 'scalar-unit.time';
Michael Landoed64b5e2017-06-09 03:19:04 +0300116}
117
118export class SOURCES {
119 public static A_AND_AI = 'A&AI';
120 public static ORDER = 'Order';
121 public static RUNTIME = 'Runtime';
122}
123
124export class PROPERTY_DATA {
Tal Gitelman153a3582017-07-03 20:16:55 +0300125 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];
126 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 +0200127 public static SIMPLE_TYPES_COMPARABLE = [PROPERTY_TYPES.STRING, PROPERTY_TYPES.INTEGER, PROPERTY_TYPES.FLOAT];
Tal Gitelman51d50f02017-12-10 18:55:03 +0200128 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 +0300129 public static ROOT_DATA_TYPE = "tosca.datatypes.Root";
Michael Landob3d48982017-06-11 14:22:02 +0300130 public static OPENECOMP_ROOT = "org.openecomp.datatypes.Root";
131 public static SUPPLEMENTAL_DATA = "supplemental_data";
Michael Landoed64b5e2017-06-09 03:19:04 +0300132 public static SOURCES = [SOURCES.A_AND_AI, SOURCES.ORDER, SOURCES.RUNTIME];
133}
134
135export class PROPERTY_VALUE_CONSTRAINTS {
Michael Landob3d48982017-06-11 14:22:02 +0300136 public static MAX_LENGTH = 2500;
Michael Landoed64b5e2017-06-09 03:19:04 +0300137 public static JSON_MAX_LENGTH = 4096;
138}
139
140export class Role {
141 public static ADMIN = 'ADMIN';
142 public static DESIGNER = 'DESIGNER';
Michael Landoed64b5e2017-06-09 03:19:04 +0300143 public static TESTER = 'TESTER';
144 public static OPS = 'OPS';
145 public static GOVERNOR = 'GOVERNOR';
146}
147
148export enum FormState{
149 CREATE,
150 UPDATE,
151 IMPORT,
152 VIEW
153}
154
Michael Lando5b593492018-07-29 16:13:45 +0300155export class instantiationType {
156 public static MACRO = 'Macro';
157 public static A_LA_CARTE = 'A-la-carte';
158}
159
Michael Landoed64b5e2017-06-09 03:19:04 +0300160export class WorkspaceMode {
161 public static CREATE = 'create';
162 public static EDIT = 'edit';
163 public static IMPORT = 'import';
164 public static VIEW = 'view';
165}
166
167export class ImagesUrl {
168 public static RESOURCE_ICONS = '/assets/styles/images/resource-icons/';
169 public static SERVICE_ICONS = '/assets/styles/images/service-icons/';
Tal Gitelman51d50f02017-12-10 18:55:03 +0200170 public static SERVICE_PROXY_ICONS = '/assets/styles/images/service-proxy-icons/';
Michael Landoed64b5e2017-06-09 03:19:04 +0300171 public static SELECTED_UCPE_INSTANCE = '/assets/styles/images/resource-icons/selectedUcpeInstance.png';
172 public static SELECTED_CP_INSTANCE = '/assets/styles/images/resource-icons/selectedCPInstance.png';
173 public static SELECTED_VL_INSTANCE = '/assets/styles/images/resource-icons/selectedVLInstance.png';
174 public static CANVAS_PLUS_ICON = '/assets/styles/images/resource-icons/canvasPlusIcon.png';
Michael Lando5b593492018-07-29 16:13:45 +0300175 public static CANVAS_TAG_ICON = '/assets/styles/images/canvas-tagging-icons/indication.svg';
176 public static CANVAS_POLICY_TAGGED_ICON = '/assets/styles/images/canvas-tagging-icons/policy_added.svg';
177 public static CANVAS_GROUP_TAGGED_ICON = '/assets/styles/images/canvas-tagging-icons/group_added.svg';
Michael Landoed64b5e2017-06-09 03:19:04 +0300178 public static MODULE_ICON = '/assets/styles/images/resource-icons/module.png';
179 public static OPEN_MODULE_ICON = '/assets/styles/images/resource-icons/openModule.png';
180 public static OPEN_MODULE_HOVER_ICON = '/assets/styles/images/resource-icons/openModuleHover.png';
181 public static CLOSE_MODULE_ICON = '/assets/styles/images/resource-icons/closeModule.png';
182 public static CLOSE_MODULE_HOVER_ICON = '/assets/styles/images/resource-icons/closeModuleHover.png';
183}
184
Michael Lando5b593492018-07-29 16:13:45 +0300185
186export class CanvasHandleTypes {
187 public static ADD_EDGE = 'add-edge';
188 public static TAG_AVAILABLE = 'tag-available';
189 public static TAGGED_POLICY = 'tagged-policy';
190 public static TAGGED_GROUP = 'tagged-group';
191}
192
Michael Landoed64b5e2017-06-09 03:19:04 +0300193export class ModalType {
194 static STANDARD = 'standard';
195 static ERROR = 'error';
196 static ALERT = 'alert';
197}
198
Avi Zivf5854fd2017-07-31 15:50:46 +0300199export class ServerErrors {
200 static ERROR_TITLE = 'Error';
201 static DEFAULT_ERROR = 'Error getting response from server';
202 static MESSAGE_ERROR = 'Wrong error format from server';
203}
204
Michael Landoed64b5e2017-06-09 03:19:04 +0300205export class GraphColors {
206 public static NOT_CERTIFIED_LINK = 'rgb(218,31,61)';
207 public static VL_LINK = 'rgb(216,216,216)';
208 public static ACTIVE_LINK = '#30bdf2';
209 public static BASE_LINK = 'rgb(55,55,55)';
210 public static NODE_BACKGROUND_COLOR = 'rgba(46, 162, 157, 0.24)';
211 public static NODE_SHADOW_COLOR = 'rgba(198, 230, 228, 0.7)';
212 public static NODE_OVERLAPPING_BACKGROUND_COLOR = 'rgba(179, 10, 60, 0.24)';
213 public static NODE_OVERLAPPING_SHADOW_COLOR = 'rgba(236, 194, 206, 0.7)';
214 public static NODE_UCPE_CP = '#9063cd';
215 public static NODE_UCPE = '#fbfbfb';
216 public static NODE_SELECTED_BORDER_COLOR = '#30bdf2';
Michael Landoa5445102018-03-04 14:53:33 +0200217 public static SERVICE_PATH_LINK = '#70208a';
Michael Landoed64b5e2017-06-09 03:19:04 +0300218}
219export class GraphTransactionLogText {
220 public static REMOVE_TEMP_LINK = "remove tempLink";
221 public static DELETE_LINK = "delete link";
222 public static ADD_LINK = "delete link";
223 public static ADD_NODE = "adding node";
224}
225
226export class GraphUIObjects {
Idan Amitcb1095e2018-01-22 20:55:42 +0200227 public static HANDLE_SIZE = 18;
228 public static NODE_OVERLAP_MIN_SIZE = 30;
Michael Lando9db40522017-07-22 17:10:02 +0300229 public static DEFAULT_RESOURCE_WIDTH = 65;
230 public static SMALL_RESOURCE_WIDTH = 21;
Michael Landoed64b5e2017-06-09 03:19:04 +0300231 public static LINK_MENU_HEIGHT = 420;
232 public static TOP_HEADER_HEIGHT = 200;
233 public static TOOLTIP_OFFSET_X = 50;
234 public static TOOLTIP_OFFSET_Y = 145;
235 public static TOOLTIP_LINK_OFFSET_X = 35;
236 public static TOOLTIP_LINK_OFFSET_Y = 75;
237 public static MENU_LINK_VL_HEIGHT_OFFSET = 250;
238 public static MENU_LINK_VL_WIDTH_OFFSET = 200;
239 public static MENU_LINK_SIMPLE_HEIGHT_OFFSET = 180;
240 public static MENU_LINK_SIMPLE_WIDTH_OFFSET = 130;
241 public static DIAGRAM_RIGHT_WIDTH_OFFSET = 248;
242 public static DIAGRAM_HEADER_OFFSET = 103;
243 public static DIAGRAM_PALETTE_WIDTH_OFFSET = 247;
244 // public static COMPOSITION_HEADER_OFFSET = 50;
245 // public static COMPOSITION_NODE_MENU_WIDTH = 230;
246 // public static COMPOSITION_NODE_MENU_HEIGHT = 200;
247 // public static COMPOSITION_RIGHT_PANEL_OFFSET = 300;
248}
249
250
251export class States {
252 public static WORKSPACE_GENERAL = 'workspace.general';
Michael Landoed64b5e2017-06-09 03:19:04 +0300253 public static WORKSPACE_ACTIVITY_LOG = 'workspace.activity_log';
254 public static WORKSPACE_DEPLOYMENT_ARTIFACTS = 'workspace.deployment_artifacts';
255 public static WORKSPACE_PROPERTIES = 'workspace.properties';
Michael Landoed64b5e2017-06-09 03:19:04 +0300256 public static WORKSPACE_ATTRIBUTES = 'workspace.attributes';
Michael Landoed64b5e2017-06-09 03:19:04 +0300257 public static WORKSPACE_INFORMATION_ARTIFACTS = 'workspace.information_artifacts';
258 public static WORKSPACE_TOSCA_ARTIFACTS = 'workspace.tosca_artifacts';
259 public static WORKSPACE_COMPOSITION = 'workspace.composition';
Arielk802bd2a2018-04-16 15:37:39 +0300260 public static WORKSPACE_INTERFACE_OPERATION = 'workspace.interface_operation';
Michael Landoed64b5e2017-06-09 03:19:04 +0300261 public static WORKSPACE_NETWORK_CALL_FLOW = 'workspace.network_call_flow';
262 public static WORKSPACE_MANAGEMENT_WORKFLOW = 'workspace.management_workflow';
263 public static WORKSPACE_DEPLOYMENT = 'workspace.deployment';
264 public static WORKSPACE_DISTRIBUTION = 'workspace.distribution';
265 public static WORKSPACE_PROPERTIES_ASSIGNMENT = 'workspace.properties_assignment';
266 public static WORKSPACE_REQUIREMENTS_AND_CAPABILITIES = 'workspace.reqAndCap';
miriame41ee9cb2019-03-04 13:49:15 +0200267 public static WORKSPACE_REQUIREMENTS_AND_CAPABILITIES_EDITABLE = 'workspace.reqAndCapEditable';
Idan Amiteedaaf92018-01-31 13:27:33 +0200268 public static WORKSPACE_PLUGINS = 'workspace.plugins';
Michael Landoed64b5e2017-06-09 03:19:04 +0300269 public static WORKSPACE_NG2 = 'workspace.ng2';
270}
271
272export class EVENTS {
Michael Landoa5445102018-03-04 14:53:33 +0200273 static LEFT_PALETTE_UPDATE_EVENT = "leftPanelUpdateEvent";
Michael Landoed64b5e2017-06-09 03:19:04 +0300274 static ON_CSAR_LOADING = "onCsarLoading";
275 static DOWNLOAD_ARTIFACT_FINISH_EVENT = "downloadArtifactFinishEvent";
276 static ON_WORKSPACE_SAVE_BUTTON_CLICK = "onWorkspaceSaveButtonClick";
277 static ON_WORKSPACE_SAVE_BUTTON_SUCCESS = "onWorkspaceSaveButtonSuccess";
278 static ON_WORKSPACE_SAVE_BUTTON_ERROR = "onWorkspaceSaveButtonError";
Michael Lando5b593492018-07-29 16:13:45 +0300279 static ON_WORKSPACE_UNSAVED_CHANGES = "onWorkspaceUnsavedChanges";
Michael Landob3d48982017-06-11 14:22:02 +0300280 static ON_CHECKOUT = "onCheckout";
Michael Lando5b593492018-07-29 16:13:45 +0300281 static ON_LIFECYCLE_CHANGE_WITH_SAVE = "onLifecycleChangeWithSave";
282 static ON_LIFECYCLE_CHANGE = "onCheckout";
Michael Landoed64b5e2017-06-09 03:19:04 +0300283
284 //Loader events
285 static SHOW_LOADER_EVENT = "showLoaderEvent";
286 static HIDE_LOADER_EVENT = "hideLoaderEvent";
Michael Lando5b593492018-07-29 16:13:45 +0300287 static UPDATE_PANEL = 'updatePanel';
Michael Landoed64b5e2017-06-09 03:19:04 +0300288}
289
290
291export class UNIQUE_GROUP_PROPERTIES_NAME {
292 public static MIN_VF_MODULE_INSTANCES = 'min_vf_module_instances';
293 public static MAX_VF_MODULE_INSTANCES = 'max_vf_module_instances';
294 public static INITIAL_COUNT = 'initial_count';
295 public static IS_BASE = 'isBase';
296 public static VF_MODULE_TYPE = 'vf_module_type';
297 public static VF_MODULE_LABEL = 'vf_module_label';
298 public static VF_MODULE_DESCRIPTION = 'vf_module_description';
299 public static VOLUME_GROUP = 'volume_group';
300}
301
302
303export class GRAPH_EVENTS {
304 static ON_COMPOSITION_GRAPH_DATA_LOADED = 'onCompositionGraphDataLoaded';
305 static ON_DEPLOYMENT_GRAPH_DATA_LOADED = 'onDeploymentGraphDataLoaded';
306 static ON_NODE_SELECTED = "onNodeSelected";
Michael Lando5b593492018-07-29 16:13:45 +0300307 static ON_ZONE_INSTANCE_SELECTED = "onZoneInstanceSelected";
Michael Landoed64b5e2017-06-09 03:19:04 +0300308 static ON_GRAPH_BACKGROUND_CLICKED = "onGraphBackgroundClicked";
309 static ON_PALETTE_COMPONENT_HOVER_IN = 'onPaletteComponentHoverIn';
310 static ON_PALETTE_COMPONENT_HOVER_OUT = 'onPaletteComponentHoverOut';
311 static ON_PALETTE_COMPONENT_DRAG_START = 'onPaletteComponentDragStart';
312 static ON_PALETTE_COMPONENT_DRAG_ACTION = 'onPaletteComponentDragAction';
Michael Landoa5445102018-03-04 14:53:33 +0200313 static ON_PALETTE_COMPONENT_SHOW_POPUP_PANEL = 'onPaletteComponentShowPopupPanel';
314 static ON_PALETTE_COMPONENT_HIDE_POPUP_PANEL = 'onPaletteComponentHidePopupPanel';
Michael Landoed64b5e2017-06-09 03:19:04 +0300315 static ON_COMPONENT_INSTANCE_NAME_CHANGED = 'onComponentInstanceNameChanged';
Michael Lando5b593492018-07-29 16:13:45 +0300316 static ON_ZONE_INSTANCE_NAME_CHANGED = 'onZoneInstanceNameChanged';
Michael Landoed64b5e2017-06-09 03:19:04 +0300317 static ON_DELETE_COMPONENT_INSTANCE = 'onDeleteComponentInstance';
Michael Lando5b593492018-07-29 16:13:45 +0300318 static ON_DELETE_ZONE_INSTANCE = 'onDeleteZoneInstance';
319 static ON_DELETE_COMPONENT_INSTANCE_SUCCESS = 'onDeleteComponentInstanceSuccess';
Michael Landoed64b5e2017-06-09 03:19:04 +0300320 static ON_DELETE_EDGE = 'onDeleteEdge';
321 static ON_INSERT_NODE_TO_UCPE = 'onInsertNodeToUCPE';
322 static ON_REMOVE_NODE_FROM_UCPE = 'onRemoveNodeFromUCPE';
323 static ON_VERSION_CHANGED = 'onVersionChanged';
324 static ON_CREATE_COMPONENT_INSTANCE = 'onCreateComponentInstance';
Michael Lando5b593492018-07-29 16:13:45 +0300325 static ON_ADD_ZONE_INSTANCE_FROM_PALETTE = 'onAddZoneInstanceFromPalette';
326 static ON_CANVAS_TAG_START = 'onCanvasTagStart';
327 static ON_CANVAS_TAG_END = 'onCanvasTagEnd';
328 static ON_POLICY_INSTANCE_UPDATE = 'onPolicyInstanceUpdate';
329 static ON_GROUP_INSTANCE_UPDATE = 'onGroupInstanceUpdate';
Michael Landoed64b5e2017-06-09 03:19:04 +0300330}
331
miriamec2ce9142019-02-13 15:17:26 +0200332export class DEPENDENCY_EVENTS {
333 static ON_DEPENDENCY_CHANGE = 'onDependencyStatusChange';
334}
335
Michael Landoed64b5e2017-06-09 03:19:04 +0300336
337export class COMPONENT_FIELDS {
338 static COMPONENT_INSTANCES_PROPERTIES = "componentInstancesProperties";
339 static COMPONENT_INSTANCES_ATTRIBUTES = "componentInstancesAttributes";
340 static COMPONENT_ATTRIBUTES = "attributes";
341 static COMPONENT_INSTANCES = "componentInstances";
342 static COMPONENT_INSTANCES_RELATION = "componentInstancesRelations";
343 static COMPONENT_INPUTS = "inputs";
344 static COMPONENT_METADATA = "metadata";
345 static COMPONENT_DEPLOYMENT_ARTIFACTS = "deploymentArtifacts";
346 static COMPONENT_INFORMATIONAL_ARTIFACTS = "artifacts";
347 static COMPONENT_PROPERTIES = "properties";
348 static COMPONENT_CAPABILITIES = "capabilities";
349 static COMPONENT_REQUIREMENTS = "requirements";
350 static COMPONENT_TOSCA_ARTIFACTS = "toscaArtifacts";
Michael Landoa5445102018-03-04 14:53:33 +0200351 static COMPONENT_POLICIES = "policies";
Michael Landoed64b5e2017-06-09 03:19:04 +0300352 static COMPONENT_GROUPS = "groups";
Arielk802bd2a2018-04-16 15:37:39 +0300353 static COMPONENT_INTERFACE_OPERATIONS = "interfaces";
Michael Lando5b593492018-07-29 16:13:45 +0300354 static COMPONENT_NON_EXCLUDED_GROUPS = "nonExcludedGroups";
355 static COMPONENT_NON_EXCLUDED_POLICIES = "nonExcludedPolicies";
Michael Landoed64b5e2017-06-09 03:19:04 +0300356}
Michael Landoa5445102018-03-04 14:53:33 +0200357
358export class SERVICE_FIELDS {
359 static FORWARDING_PATHS = "forwardingPaths";
miriamec2ce9142019-02-13 15:17:26 +0200360 static NODE_FILTER = "nodeFilter";
Michael Landoa5445102018-03-04 14:53:33 +0200361}
362
Michael Landoed64b5e2017-06-09 03:19:04 +0300363export class API_QUERY_PARAMS {
364 static INCLUDE = "include";
365}
Michael Lando5b593492018-07-29 16:13:45 +0300366
367export enum TargetOrMemberType {
368 COMPONENT_INSTANCES,
369 GROUPS
370}
371
372export class CANVAS_TAG_MODE {
373 static POLICY_TAGGING = "policy-tagging";
374 static POLICY_TAGGING_HOVER = "policy-tagging-hover";
375 static GROUP_TAGGING = "group-tagging";
376 static GROUP_TAGGING_HOVER= "group-tagging-hover";
377}