2a50f333499c6fcdff0b69b77975dfbe754d2795
[sdc.git] / openecomp-be / lib / openecomp-sdc-vendor-software-product-lib / openecomp-sdc-vendor-software-product-core / src / main / java / org / openecomp / sdc / vendorsoftwareproduct / errors / VendorSoftwareProductErrorCodes.java
1 /*-
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
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
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=========================================================
19  */
20
21 package org.openecomp.sdc.vendorsoftwareproduct.errors;
22
23 /**
24  * Created by TALIO on 4/24/2016.
25  */
26 public class VendorSoftwareProductErrorCodes {
27
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";
31
32   public static final String UPLOAD_INVALID = "UPLOAD_INVALID";
33
34   public static final String PACKAGE_NOT_FOUND = "PACKAGE_NOT_FOUND";
35
36   public static final String PACKAGE_INVALID = "PACKAGE_INVALID";
37   public static final String VSP_COMPOSITION_EDIT_NOT_ALLOWED = "VSP_COMPOSITION_EDIT_NOT_ALLOWED";
38
39   public static final String CREATE_PACKAGE_FOR_NON_FINAL_VSP = "CREATE_PACKAGE_FOR_NON_FINAL_VSP";
40
41   public static final String TRANSLATION_FILE_CREATION = "TRANSLATION_FILE_CREATION";
42
43   public static final String HEAT_PACKAGE_FILE_CREATION = "HEAT_PACKAGE_FILE_CREATION";
44
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";
48
49   public static final String MIB_UPLOAD_INVALID = "MIB_UPLOAD_INVALID";
50
51   public static final String ORCHESTRATION_NOT_FOUND = "ORCHESTRATION_NOT_FOUND";
52
53
54   public static final String CYCLIC_DEPENDENCY_IN_COMPONENTS = "CYCLIC_DEPENDENCY_IN_COMPONENTS";
55
56   public static final String INVALID_COMPONENT_RELATION_TYPE = "INVALID_COMPONENT_RELATION_TYPE";
57
58   public static final String NO_SOURCE_COMPONENT = "NO_SOURCE_COMPONENT";
59
60   public static final String SAME_SOURCE_TARGET_COMPONENT = "SAME_SOURCE_TARGET_COMPONENT";
61
62 }