2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2019, Nordix Foundation. 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
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * 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=========================================================
21 package org.openecomp.sdc.tosca.errors;
23 class ToscaErrorCodes {
25 private ToscaErrorCodes() {
26 throw new IllegalStateException("Utility class");
29 static final String INVALID_SUBSTITUTE_NODE_TEMPLATE = "INVALID_SUBSTITUTE_NODE_TEMPLATE";
30 static final String INVALID_SUBSTITUTION_SERVICE_TEMPLATE =
31 "INVALID_SUBSTITUTION_SERVICE_TEMPLATE";
32 static final String TOSCA_ENTRY_NOT_FOUND = "TOSCA_ENTRY_NOT_FOUND";
33 static final String MISSING_SUBSTITUTION_MAPPING_FOR_REQ_CAP =
34 "MISSING_SUBSTITUTION_MAPPING_FOR_REQ_CAP";
35 static final String TOSCA_INVALID_SUBSTITUTE_NODE_TEMPLATE =
36 "TOSCA_INVALID_SUBSTITUTE_NODE_TEMPLATE";
37 static final String TOSCA_INVALID_ADD_ACTION_NULL_ENTITY = "TOSCA_INVALID_ADD_ACTION_NULL_ENTITY";
38 static final String INVALID_INTERFACE_VALUE = "INVALID_INTERFACE_VALUE";
39 static final String INVALID_TOSCA_FILE = "INVALID_TOSCA_FILE";
40 static final String INVALID_TOSCA_META_FILE = "INVALID_TOSCA_META_FILE";
41 static final String INVALID_TOSCA_ENTRY_DEF_WAS_NOT_FOUND = "INVALID_TOSCA_ENTRY_DEF_WAS_NOT_FOUND";