2 * ============LICENSE_START=======================================================
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
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.vendorsoftwareproduct.errors;
24 * Created by TALIO on 4/24/2016.
26 public class VendorSoftwareProductErrorCodes {
28 public static final String VSP_NOT_FOUND = "VSP_NOT_FOUND";
29 public static final String VSP_INVALID = "VSP_INVALID";
30 public static final String FAILED_TO_CREATE_VSP = "FAILED_TO_CREATE_VSP";
32 public static final String UPLOAD_INVALID = "UPLOAD_INVALID";
34 public static final String PACKAGE_NOT_FOUND = "PACKAGE_NOT_FOUND";
36 public static final String PACKAGE_INVALID = "PACKAGE_INVALID";
37 public static final String VSP_COMPOSITION_EDIT_NOT_ALLOWED = "VSP_COMPOSITION_EDIT_NOT_ALLOWED";
39 public static final String CREATE_PACKAGE_FOR_NON_FINAL_VSP = "CREATE_PACKAGE_FOR_NON_FINAL_VSP";
41 public static final String TRANSLATION_FILE_CREATION = "TRANSLATION_FILE_CREATION";
43 public static final String HEAT_PACKAGE_FILE_CREATION = "HEAT_PACKAGE_FILE_CREATION";
45 public static final String TOSCA_ENTRY_NOT_FOUND = "TOSCA_ENTRY_NOT_FOUND";
46 public static final String TOSCA_INVALID_SUBSTITUTE_NODE_TEMPLATE =
47 "TOSCA_INVALID_SUBSTITUTE_NODE_TEMPLATE";
49 public static final String MIB_UPLOAD_INVALID = "MIB_UPLOAD_INVALID";
51 public static final String ORCHESTRATION_NOT_FOUND = "ORCHESTRATION_NOT_FOUND";
54 public static final String CYCLIC_DEPENDENCY_IN_COMPONENTS = "CYCLIC_DEPENDENCY_IN_COMPONENTS";
56 public static final String INVALID_COMPONENT_RELATION_TYPE = "INVALID_COMPONENT_RELATION_TYPE";
58 public static final String NO_SOURCE_COMPONENT = "NO_SOURCE_COMPONENT";
60 public static final String SAME_SOURCE_TARGET_COMPONENT = "SAME_SOURCE_TARGET_COMPONENT";