summaryrefslogtreecommitdiffstats
path: root/adapters/mso-network-adapter/src/test/resources/logback-test.xml
blob: d2c17192eace43f99d1314b48e84e0986eb3fc50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!--
  ============LICENSE_START=======================================================
  ECOMP MSO
  ================================================================================
  Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
  ================================================================================
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
  
       http://www.apache.org/licenses/LICENSE-2.0
  
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
  ============LICENSE_END=========================================================
  -->

<configuration >
  
  
  <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
    <encoder>
      <pattern>%d{MM/dd-HH:mm:ss.SSS}|%X{RequestId}|%X{ServiceInstanceId}|%thread|%X{ServiceName}|%X{InstanceUUID}|%.-5level|%X{AlertSeverity}||%X{ServerIPAddress}|%X{ServerFQDN}|%X{RemoteHost}||%X{Timer}|%msg%n</pattern>
    </encoder>
  </appender>


  <logger name="com.att.eelf.audit" level="info" additivity="false">
    <appender-ref ref="STDOUT" />
  </logger>
  
  <logger name="com.att.eelf.metrics" level="info" additivity="false">
        <appender-ref ref="STDOUT" />
  </logger>

  <logger name="com.att.eelf.error" level="trace" additivity="false">
    <appender-ref ref="STDOUT" />
  </logger> 

  <root level="info">
    <appender-ref ref="STDOUT" />
  </root>
 

</configuration>
* Generic.Emph */ .highlight .gi { color: #a6e22e } /* Generic.Inserted */ .highlight .gs { font-weight: bold } /* Generic.Strong */ .highlight .gu { color: #75715e } /* Generic.Subheading */ .highlight .kc { color: #66d9ef } /* Keyword.Constant */ .highlight .kd { color: #66d9ef } /* Keyword.Declaration */ .highlight .kn { color: #f92672 } /* Keyword.Namespace */ .highlight .kp { color: #66d9ef } /* Keyword.Pseudo */ .highlight .kr { color: #66d9ef } /* Keyword.Reserved */ .highlight .kt { color: #66d9ef } /* Keyword.Type */ .highlight .ld { color: #e6db74 } /* Literal.Date */ .highlight .m { color: #ae81ff } /* Literal.Number */ .highlight .s { color: #e6db74 } /* Literal.String */ .highlight .na { color: #a6e22e } /* Name.Attribute */ .highlight .nb { color: #f8f8f2 } /* Name.Builtin */ .highlight .nc { color: #a6e22e } /* Name.Class */ .highlight .no { color: #66d9ef } /* Name.Constant */ .highlight .nd { color: #a6e22e } /* Name.Decorator */ .highlight .ni { color: #f8f8f2 } /* Name.Entity */ .highlight .ne { color: #a6e22e } /* Name.Exception */ .highlight .nf { color: #a6e22e } /* Name.Function */ .highlight .nl { color: #f8f8f2 } /* Name.Label */ .highlight .nn { color: #f8f8f2 } /* Name.Namespace */ .highlight .nx { color: #a6e22e } /* Name.Other */ .highlight .py { color: #f8f8f2 } /* Name.Property */ .highlight .nt { color: #f92672 } /* Name.Tag */ .highlight .nv { color: #f8f8f2 } /* Name.Variable */ .highlight .ow { color: #f92672 } /* Operator.Word */ .highlight .w { color: #f8f8f2 } /* Text.Whitespace */ .highlight .mb { color: #ae81ff } /* Literal.Number.Bin */ .highlight .mf { color: #ae81ff } /* Literal.Number.Float */ .highlight .mh { color: #ae81ff } /* Literal.Number.Hex */ .highlight .mi { color: #ae81ff } /* Literal.Number.Integer */ .highlight .mo { color: #ae81ff } /* Literal.Number.Oct */ .highlight .sa { color: #e6db74 } /* Literal.String.Affix */ .highlight .sb { color: #e6db74 } /* Literal.String.Backtick */ .highlight .sc { color: #e6db74 } /* Literal.String.Char */ .highlight .dl { color: #e6db74 } /* Literal.String.Delimiter */ .highlight .sd { color: #e6db74 } /* Literal.String.Doc */ .highlight .s2 { color: #e6db74 } /* Literal.String.Double */ .highlight .se { color: #ae81ff } /* Literal.String.Escape */ .highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */ .highlight .si { color: #e6db74 } /* Literal.String.Interpol */ .highlight .sx { color: #e6db74 } /* Literal.String.Other */ .highlight .sr { color: #e6db74 } /* Literal.String.Regex */ .highlight .s1 { color: #e6db74 } /* Literal.String.Single */ .highlight .ss { color: #e6db74 } /* Literal.String.Symbol */ .highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #a6e22e } /* Name.Function.Magic */ .highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */ .highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */ .highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */ .highlight .vm { color: #f8f8f2 } /* Name.Variable.Magic */ .highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */ } @media (prefers-color-scheme: light) { .highlight .hll { background-color: #ffffcc } .highlight .c { color: #888888 } /* Comment */ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ .highlight .k { color: #008800; font-weight: bold } /* Keyword */ .highlight .ch { color: #888888 } /* Comment.Hashbang */ .highlight .cm { color: #888888 } /* Comment.Multiline */ .highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */ .highlight .cpf { color: #888888 } /* Comment.PreprocFile */ .highlight .c1 { color: #888888 } /* Comment.Single */ .highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */ .highlight .ge { font-style: italic } /* Generic.Emph */ .highlight .gr { color: #aa0000 } /* Generic.Error */ .highlight .gh { color: #333333 } /* Generic.Heading */ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */ .highlight .go { color: #888888 } /* Generic.Output */ .highlight .gp { color: #555555 } /* Generic.Prompt */ .highlight .gs { font-weight: bold } /* Generic.Strong */ .highlight .gu { color: #666666 } /* Generic.Subheading */ .highlight .gt { color: #aa0000 } /* Generic.Traceback */ .highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */ .highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */ .highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */ .highlight .kp { color: #008800 } /* Keyword.Pseudo */ .highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
/*-
 * ============LICENSE_START=======================================================
 * SDC
 * ================================================================================
 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
 * Modifications Copyright (C) 2019 Nokia. All rights reserved.
 * ================================================================================
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ============LICENSE_END=========================================================
 */

/**
 * Created by obarda on 2/18/2016.
 */

export let DEFAULT_ICON = 'defaulticon';
export let CP_END_POINT = 'CpEndPoint';
export let CHANGE_COMPONENT_CSAR_VERSION_FLAG = 'changeComponentCsarVersion';
export let PREVIOUS_CSAR_COMPONENT = 'previousCsarComponent'
export let CATEGORY_SERVICE_METADATA_KEYS = ["Naming Policy", "Service Type", "Service Function", "Service Role"];
export let DEFAULT_MODEL_NAME = "SDC AID";

export class GeneralStatus {
    static OK = 'OK';
    static GENERAL_ERROR = 'GENERAL_ERROR';
}

export class ComponentType {
    static SERVICE = 'SERVICE';
    static RESOURCE = 'RESOURCE';
    static RESOURCE_INSTANCE = 'RESOURCE_INSTANCE';
    static SERVICE_PROXY = 'ServiceProxy'
    static SERVICE_SUBSTITUTION = 'ServiceSubstitution'
}

export class ToscaType {
    static DATATYPE = 'DATATYPE';
}

export class Icon {
    static DEFAULT_ICON = 'defaulticon';
    static DATATYPE_ICON = 'securityrules';
    static SERVICE_TYPE_60 = 'services_60';
    static COLOR_LIGHTBLUE = 'lightBlue'
    static COLOR_WHITE = 'white';
    static COLOR_PURPLE = 'purple';
    static RESOURCE_TYPE_24 = 'resources_24';
    static RESOURCE_TYPE_60 = 'resources_60';
    static SHAPE_CIRCLE = 'circle';
    static SIZE_MEDIUM = 'medium';
    static SIZE_X_LARGE = 'x_large';
    static ERROR = 'error';
}

export class ServerTypeUrl {
    static RESOURCES = 'resources/';
    static SERVICES = 'services/';

    public static toServerTypeUrl(componentType: ComponentType): string {
        if (componentType == ComponentType.SERVICE) {
            return ServerTypeUrl.SERVICES.slice(0, -1);
        } else if (componentType == ComponentType.RESOURCE) {
            return ServerTypeUrl.RESOURCES.slice(0, -1);
        } else {
            return undefined;
        }
    }
}


export class ResourceType {
    static VF = 'VF';
    static VL = 'VL';
    static CP = 'CP';
    static VFC = 'VFC';
    static VFCMT = 'VFCMT';
    static PNF = 'PNF';
    static CVFC = 'CVFC';
    static CONFIGURATION = 'Configuration';
    static CR = 'CR';
}

export class SdcElementType {
    static GROUP = 'GROUP';
    static POLICY = 'POLICY';
    static SERVICE_PROXY = 'ServiceProxy'
}

export class ComponentState {
    static CERTIFICATION_IN_PROGRESS = 'CERTIFICATION_IN_PROGRESS';
    static CERTIFIED = 'CERTIFIED';
    static NOT_CERTIFIED_CHECKOUT = 'NOT_CERTIFIED_CHECKOUT';
    static NOT_CERTIFIED_CHECKIN = 'NOT_CERTIFIED_CHECKIN';
    static READY_FOR_CERTIFICATION = 'READY_FOR_CERTIFICATION';
}

export class DistributionStatus {
    DISTRIBUTION_NOT_APPROVED = 'DISTRIBUTION_NOT_APPROVED';
    DISTRIBUTION_APPROVED = 'DISTRIBUTION_APPROVED';
    DISTRIBUTED = 'DISTRIBUTED';
    DISTRIBUTION_REJECTED = 'DISTRIBUTION_REJECTED';
}

export class ArtifactGroupType {
    static DEPLOYMENT = "DEPLOYMENT";
    static INFORMATION = "INFORMATIONAL";
    static SERVICE_API = "SERVICE_API";
    static TOSCA = "TOSCA";
}

export class ArtifactType {

    static DEPLOYMENT = "DEPLOYMENT";
    static INFORMATION = "INFORMATIONAL";
    static SERVICE_API = "SERVICE_API";
    static HEAT_ENV = "HEAT_ENV";
    static HEAT = "HEAT";
    static HEAT_VOL = "HEAT_VOL";
    static HEAT_NET = "HEAT_NET";
    static VF_LICENSE = "VF_LICENSE";
    static PM_DICTIONARY = "PM_DICTIONARY";
    static VENDOR_LICENSE = "VENDOR_LICENSE";
    static THIRD_PARTY_RESERVED_TYPES = {
        WORKFLOW: "WORKFLOW",
        NETWORK_CALL_FLOW: "NETWORK_CALL_FLOW",
        AAI_SERVICE_MODEL: "AAI_SERVICE_MODEL",
        AAI_VF_MODEL: "AAI_VF_MODEL",
        AAI_VF_MODULE_MODEL: "AAI_VF_MODULE_MODEL",
        AAI_VF_INSTANCE_MODEL: "AAI_VF_INSTANCE_MODEL"
    };
    static TOSCA = {TOSCA_TEMPLATE: "TOSCA_TEMPLATE", TOSCA_CSAR: "TOSCA_CSAR"};
    static VES_EVENTS = "VES_EVENTS";
}

export class SEVERITY {
    public static DEBUG = 'DEBUG';
    public static INFO = 'INFO';
    public static WARNING = 'WARNING';
    public static ERROR = 'ERROR';
}

export class PROPERTY_TYPES {
    public static STRING = 'string';
    public static INTEGER = 'integer';
    public static TIMESTAMP = 'timestamp';
    public static FLOAT = 'float';
    public static BOOLEAN = 'boolean';
    public static JSON = 'json';
    public static RANGE = 'range';
    public static MAP = 'map';
    public static LIST = 'list';
    public static SCALAR_BITRATE = 'scalar-unit.bitrate';
    public static SCALAR_FREQUENCY = 'scalar-unit.frequency';
    public static SCALAR_SIZE = 'scalar-unit.size';
    public static SCALAR_TIME = 'scalar-unit.time';
}

export class SOURCES {
    public static A_AND_AI = 'A&AI';
    public static ORDER = 'Order';
    public static RUNTIME = 'Runtime';
}

export class PROPERTY_DATA {
    public static TYPES = [PROPERTY_TYPES.STRING, PROPERTY_TYPES.INTEGER, PROPERTY_TYPES.TIMESTAMP, PROPERTY_TYPES.FLOAT, PROPERTY_TYPES.BOOLEAN, PROPERTY_TYPES.JSON, PROPERTY_TYPES.SCALAR_BITRATE, PROPERTY_TYPES.SCALAR_FREQUENCY, PROPERTY_TYPES.SCALAR_SIZE, PROPERTY_TYPES.SCALAR_TIME, PROPERTY_TYPES.LIST, PROPERTY_TYPES.MAP, PROPERTY_TYPES.RANGE];
    public static SIMPLE_TYPES = [PROPERTY_TYPES.STRING, PROPERTY_TYPES.INTEGER, PROPERTY_TYPES.TIMESTAMP, PROPERTY_TYPES.FLOAT, PROPERTY_TYPES.BOOLEAN, PROPERTY_TYPES.JSON, PROPERTY_TYPES.SCALAR_BITRATE, PROPERTY_TYPES.SCALAR_FREQUENCY, PROPERTY_TYPES.SCALAR_SIZE, PROPERTY_TYPES.SCALAR_TIME];
    public static SIMPLE_TYPES_COMPARABLE = [PROPERTY_TYPES.STRING, PROPERTY_TYPES.INTEGER, PROPERTY_TYPES.FLOAT];
    public static SCHEMA_TYPES = [PROPERTY_TYPES.LIST, PROPERTY_TYPES.MAP];
    public static SCALAR_TYPES = [PROPERTY_TYPES.SCALAR_BITRATE, PROPERTY_TYPES.SCALAR_FREQUENCY, PROPERTY_TYPES.SCALAR_SIZE, PROPERTY_TYPES.SCALAR_TIME];
    public static ROOT_DATA_TYPE = "tosca.datatypes.Root";
    public static OPENECOMP_ROOT = "org.openecomp.datatypes.Root";
    public static SUPPLEMENTAL_DATA = "supplemental_data";
    public static SOURCES = [SOURCES.A_AND_AI, SOURCES.ORDER, SOURCES.RUNTIME];
    public static COMPARABLE_TYPES = [PROPERTY_TYPES.STRING, PROPERTY_TYPES.INTEGER, PROPERTY_TYPES.FLOAT, PROPERTY_TYPES.TIMESTAMP, PROPERTY_TYPES.SCALAR_BITRATE, PROPERTY_TYPES.SCALAR_FREQUENCY, PROPERTY_TYPES.SCALAR_SIZE, PROPERTY_TYPES.SCALAR_TIME];
}

export class PROPERTY_VALUE_CONSTRAINTS {
    public static MAX_LENGTH = 2500;
    public static JSON_MAX_LENGTH = 4096;
    public static NAME_MAX_LENGTH = 100;
}

export class Role {
    public static ADMIN = 'ADMIN';
    public static DESIGNER = 'DESIGNER';
    public static TESTER = 'TESTER';
    public static OPS = 'OPS';
    public static GOVERNOR = 'GOVERNOR';
}

export enum FormState {
    CREATE,
    UPDATE,
    IMPORT,
    VIEW
}

export class instantiationType {
    public static MACRO = 'Macro';
    public static A_LA_CARTE = 'A-la-carte';
}

export class WorkspaceMode {
    public static CREATE = 'create';
    public static EDIT = 'edit';
    public static IMPORT = 'import';
    public static VIEW = 'view';
}

export class ImagesUrl {
    public static RESOURCE_ICONS = '/assets/styles/images/resource-icons/';
    public static SERVICE_ICONS = '/assets/styles/images/service-icons/';
    public static SERVICE_PROXY_ICONS = '/assets/styles/images/service-proxy-icons/';
    public static SELECTED_UCPE_INSTANCE = '/assets/styles/images/resource-icons/selectedUcpeInstance.png';
    public static SELECTED_CP_INSTANCE = '/assets/styles/images/resource-icons/selectedCPInstance.png';
    public static SELECTED_VL_INSTANCE = '/assets/styles/images/resource-icons/selectedVLInstance.png';
    public static CANVAS_PLUS_ICON = '/assets/styles/images/resource-icons/canvasPlusIcon.png';
    public static CANVAS_TAG_ICON = '/assets/styles/images/canvas-tagging-icons/indication.svg';
    public static CANVAS_POLICY_TAGGED_ICON = '/assets/styles/images/canvas-tagging-icons/policy_added.svg';
    public static CANVAS_GROUP_TAGGED_ICON = '/assets/styles/images/canvas-tagging-icons/group_added.svg';
    public static MODULE_ICON = '/assets/styles/images/resource-icons/module.png';
    public static OPEN_MODULE_ICON = '/assets/styles/images/resource-icons/openModule.png';
    public static OPEN_MODULE_HOVER_ICON = '/assets/styles/images/resource-icons/openModuleHover.png';
    public static CLOSE_MODULE_ICON = '/assets/styles/images/resource-icons/closeModule.png';
    public static CLOSE_MODULE_HOVER_ICON = '/assets/styles/images/resource-icons/closeModuleHover.png';
}


export class CanvasHandleTypes {
    public static ADD_EDGE = 'add-edge';
    public static TAG_AVAILABLE = 'tag-available';
    public static TAGGED_POLICY = 'tagged-policy';
    public static TAGGED_GROUP = 'tagged-group';
}

export class ModalType {
    static STANDARD = 'standard';
    static ERROR = 'error';
    static ALERT = 'alert';
}

export class ServerErrors {
    static ERROR_TITLE = 'Error';
    static DEFAULT_ERROR = 'Error getting response from server';
    static MESSAGE_ERROR = 'Wrong error format from server';
    static DOWNLOAD_ERROR = 'Download error';
}

export class GraphColors {
    public static NOT_CERTIFIED_LINK = 'rgb(218,31,61)';
    public static VL_LINK = 'rgb(216,216,216)';
    public static ACTIVE_LINK = '#30bdf2';
    public static BASE_LINK = 'rgb(55,55,55)';
    public static NODE_BACKGROUND_COLOR = 'rgba(46, 162, 157, 0.24)';
    public static NODE_SHADOW_COLOR = 'rgba(198, 230, 228, 0.7)';
    public static NODE_OVERLAPPING_BACKGROUND_COLOR = 'rgba(179, 10, 60, 0.24)';
    public static NODE_OVERLAPPING_SHADOW_COLOR = 'rgba(236, 194, 206, 0.7)';
    public static NODE_UCPE_CP = '#9063cd';
    public static NODE_UCPE = '#fbfbfb';
    public static NODE_SELECTED_BORDER_COLOR = '#30bdf2';
    public static SERVICE_PATH_LINK = '#70208a';
}

export class GraphTransactionLogText {
    public static REMOVE_TEMP_LINK = "remove tempLink";
    public static DELETE_LINK = "delete link";
    public static ADD_LINK = "delete link";
    public static ADD_NODE = "adding node";
}

export class GraphUIObjects {
    public static HANDLE_SIZE = 18;
    public static NODE_OVERLAP_MIN_SIZE = 30;
    public static DEFAULT_RESOURCE_WIDTH = 65;
    public static SMALL_RESOURCE_WIDTH = 21;
    public static LINK_MENU_HEIGHT = 420;
    public static TOP_HEADER_HEIGHT = 200;
    public static TOOLTIP_OFFSET_X = 50;
    public static TOOLTIP_OFFSET_Y = 145;
    public static TOOLTIP_LINK_OFFSET_X = 35;
    public static TOOLTIP_LINK_OFFSET_Y = 75;
    public static MENU_LINK_VL_HEIGHT_OFFSET = 250;
    public static MENU_LINK_VL_WIDTH_OFFSET = 200;
    public static MENU_LINK_SIMPLE_HEIGHT_OFFSET = 180;
    public static MENU_LINK_SIMPLE_WIDTH_OFFSET = 130;
    public static DIAGRAM_RIGHT_WIDTH_OFFSET = 248;
    public static DIAGRAM_HEADER_OFFSET = 103;
    public static DIAGRAM_PALETTE_WIDTH_OFFSET = 247;
    // public static COMPOSITION_HEADER_OFFSET = 50;
    // public static COMPOSITION_NODE_MENU_WIDTH = 230;
    // public static COMPOSITION_NODE_MENU_HEIGHT = 200;
    // public static COMPOSITION_RIGHT_PANEL_OFFSET = 300;
}


export class States {
    public static WORKSPACE = 'workspace';
    public static WORKSPACE_GENERAL = 'workspace.general';
    public static WORKSPACE_ACTIVITY_LOG = 'workspace.activity_log';
    public static WORKSPACE_DEPLOYMENT_ARTIFACTS = 'workspace.deployment_artifacts';
    public static WORKSPACE_PROPERTIES = 'workspace.properties';
    public static WORKSPACE_SERVICE_INPUTS = 'workspace.service_inputs';
    public static WORKSPACE_RESOURCE_INPUTS = 'workspace.resource_inputs';
    public static WORKSPACE_ATTRIBUTES = 'workspace.attributes';
    public static WORKSPACE_ATTRIBUTES_OUTPUTS = 'workspace.attributes_outputs';
    public static WORKSPACE_INFORMATION_ARTIFACTS = 'workspace.information_artifacts';
    public static WORKSPACE_TOSCA_ARTIFACTS = 'workspace.tosca_artifacts';
    public static WORKSPACE_COMPOSITION = 'workspace.composition';
    public static WORKSPACE_INTERFACE_OPERATION = 'workspace.interface_operation';
    public static WORKSPACE_INTERFACE_DEFINITION = 'workspace.interface-definition';
    public static WORKSPACE_NETWORK_CALL_FLOW = 'workspace.network_call_flow';
    public static WORKSPACE_MANAGEMENT_WORKFLOW = 'workspace.management_workflow';
    public static WORKSPACE_DEPLOYMENT = 'workspace.deployment';
    public static WORKSPACE_DISTRIBUTION = 'workspace.distribution';
    public static WORKSPACE_PROPERTIES_ASSIGNMENT = 'workspace.properties_assignment';
    public static WORKSPACE_REQUIREMENTS_AND_CAPABILITIES = 'workspace.reqAndCap';
    public static WORKSPACE_REQUIREMENTS_AND_CAPABILITIES_EDITABLE = 'workspace.reqAndCapEditable';
    public static WORKSPACE_PLUGINS = 'workspace.plugins';
    public static WORKSPACE_NG2 = 'workspace.ng2';
    public static TYPE_WORKSPACE = 'type-workspace';
}

export class EVENTS {
    static LEFT_PALETTE_UPDATE_EVENT = "leftPanelUpdateEvent";
    static ON_CSAR_LOADING = "onCsarLoading";
    static DOWNLOAD_ARTIFACT_FINISH_EVENT = "downloadArtifactFinishEvent";
    static ON_WORKSPACE_SAVE_BUTTON_CLICK = "onWorkspaceSaveButtonClick";
    static ON_WORKSPACE_SAVE_BUTTON_SUCCESS = "onWorkspaceSaveButtonSuccess";
    static ON_WORKSPACE_SAVE_BUTTON_ERROR = "onWorkspaceSaveButtonError";
    static ON_WORKSPACE_UNSAVED_CHANGES = "onWorkspaceUnsavedChanges";
    static ON_CHECKOUT = "onCheckout";
    static ON_LIFECYCLE_CHANGE_WITH_SAVE = "onLifecycleChangeWithSave";
    static ON_LIFECYCLE_CHANGE = "onCheckout";

    //Loader events
    static SHOW_LOADER_EVENT = "showLoaderEvent";
    static HIDE_LOADER_EVENT = "hideLoaderEvent";
    static UPDATE_PANEL = 'updatePanel';
    static ON_DISTRIBUTION_SUCCESS = 'onDistributionSuccess';
}


export class UNIQUE_GROUP_PROPERTIES_NAME {
    public static MIN_VF_MODULE_INSTANCES = 'min_vf_module_instances';
    public static MAX_VF_MODULE_INSTANCES = 'max_vf_module_instances';
    public static INITIAL_COUNT = 'initial_count';
    public static IS_BASE = 'isBase';
    public static VF_MODULE_TYPE = 'vf_module_type';
    public static VF_MODULE_LABEL = 'vf_module_label';
    public static VF_MODULE_DESCRIPTION = 'vf_module_description';
    public static VOLUME_GROUP = 'volume_group';
}


export class GRAPH_EVENTS {
    static ON_COMPOSITION_GRAPH_DATA_LOADED = 'onCompositionGraphDataLoaded';
    static ON_DEPLOYMENT_GRAPH_DATA_LOADED = 'onDeploymentGraphDataLoaded';
    static ON_NODE_SELECTED = "onNodeSelected";
    static ON_ZONE_INSTANCE_SELECTED = "onZoneInstanceSelected";
    static ON_GRAPH_BACKGROUND_CLICKED = "onGraphBackgroundClicked";
    static ON_PALETTE_COMPONENT_DRAG_START = 'onPaletteComponentDragStart';
    static ON_PALETTE_COMPONENT_DRAG_ACTION = 'onPaletteComponentDragAction';
    static ON_PALETTE_COMPONENT_DROP = 'onPaletteComponentDrop';
    static ON_COMPONENT_INSTANCE_NAME_CHANGED = 'onComponentInstanceNameChanged';
    static ON_COMPONENT_INSTANCE_REQUIREMENT_EXTERNAL_CHANGED = 'onComponentInstanceRequirementExternalChanged'
    static ON_COMPONENT_INSTANCE_CAPABILITY_EXTERNAL_CHANGED = 'onComponentInstanceCapabilityExternalChanged'
    static ON_ZONE_INSTANCE_NAME_CHANGED = 'onZoneInstanceNameChanged';
    static ON_DELETE_COMPONENT_INSTANCE = 'onDeleteComponentInstance';
    static ON_DELETE_ZONE_INSTANCE = 'onDeleteZoneInstance';
    static ON_DELETE_COMPONENT_INSTANCE_SUCCESS = 'onDeleteComponentInstanceSuccess';
    static ON_DELETE_EDGE = 'onDeleteEdge';
    static ON_INSERT_NODE_TO_UCPE = 'onInsertNodeToUCPE';
    static ON_REMOVE_NODE_FROM_UCPE = 'onRemoveNodeFromUCPE';
    static ON_VERSION_CHANGED = 'onVersionChanged';
    static ON_CREATE_COMPONENT_INSTANCE = 'onCreateComponentInstance';
    static ON_ADD_ZONE_INSTANCE_FROM_PALETTE = 'onAddZoneInstanceFromPalette';
    static ON_CANVAS_TAG_START = 'onCanvasTagStart';
    static ON_CANVAS_TAG_END = 'onCanvasTagEnd';
    static ON_POLICY_INSTANCE_UPDATE = 'onPolicyInstanceUpdate';
    static ON_GROUP_INSTANCE_UPDATE = 'onGroupInstanceUpdate';
    static ON_SERVICE_PATH_CREATED = 'onServicePathCreated';
}

export class DEPENDENCY_EVENTS {
    static ON_DEPENDENCY_CHANGE = 'onDependencyStatusChange';
}

export class SUBSTITUTION_FILTER_EVENTS {
    static ON_SUBSTITUTION_FILTER_CHANGE = 'onSubstitutionFilterChange';
}


export class COMPONENT_FIELDS {
    static COMPONENT_INSTANCES_PROPERTIES = "componentInstancesProperties";
    static COMPONENT_INSTANCES_INPUTS = "componentInstancesInputs";
    static COMPONENT_INSTANCES_ATTRIBUTES = "componentInstancesAttributes";
    static COMPONENT_INSTANCES_OUTPUTS = "componentInstancesOutputs";
    static COMPONENT_ATTRIBUTES = "attributes";
    static COMPONENT_INSTANCES = "componentInstances";
    static COMPONENT_INSTANCES_RELATION = "componentInstancesRelations";
    static COMPONENT_INPUTS = "inputs";
    static COMPONENT_OUTPUTS = "outputs";
    static COMPONENT_METADATA = "metadata";
    static COMPONENT_DEPLOYMENT_ARTIFACTS = "deploymentArtifacts";
    static COMPONENT_INFORMATIONAL_ARTIFACTS = "artifacts";
    static COMPONENT_PROPERTIES = "properties";
    static COMPONENT_CAPABILITIES = "capabilities";
    static COMPONENT_CAPABILITIES_PROPERTIES = "instanceCapabiltyProperties";
    static COMPONENT_REQUIREMENTS = "requirements";
    static COMPONENT_TOSCA_ARTIFACTS = "toscaArtifacts";
    static COMPONENT_POLICIES = "policies";
    static COMPONENT_GROUPS = "groups";
    static COMPONENT_INTERFACE_OPERATIONS = "interfaces";
    static COMPONENT_INSTANCES_INTERFACES = "componentInstancesInterfaces";
    static COMPONENT_NON_EXCLUDED_GROUPS = "nonExcludedGroups";
    static COMPONENT_NON_EXCLUDED_POLICIES = "nonExcludedPolicies";
    static FORWARDING_PATHS = "forwardingPaths";
    static SERVICE_API_ARTIFACT = "serviceApiArtifacts";
}

export class SERVICE_FIELDS {
    static FORWARDING_PATHS = "forwardingPaths";
    static NODE_FILTER = "nodeFilter";
    static SUBSTITUTION_FILTER = "substitutionFilter";
}

export class API_QUERY_PARAMS {
    static INCLUDE = "include";
}

export enum TargetOrMemberType {
    COMPONENT_INSTANCES,
    GROUPS
}

export class CANVAS_TAG_MODE {
    static POLICY_TAGGING = "policy-tagging";
    static POLICY_TAGGING_HOVER = "policy-tagging-hover";
    static GROUP_TAGGING = "group-tagging";
    static GROUP_TAGGING_HOVER = "group-tagging-hover";
}

export class DROPDOWN_OPTION_TYPE {
    static SIMPLE = "Simple";
    static HEADER = "Header";
    static DISABLE = "Disable";
    static HORIZONTAL_LINE = "HorizontalLine";
}