Replaced all tabs with spaces in java and pom.xml
[so.git] / mso-api-handlers / mso-api-handler-common / src / main / java / org / onap / so / apihandler / common / ErrorNumbers.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
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.onap.so.apihandler.common;
22
23 public final class ErrorNumbers {
24
25     private ErrorNumbers() {}
26
27     public static final String REQUEST_FAILED_SCHEMA_VALIDATION = "1000";
28     public static final String RECIPE_DOES_NOT_EXIST = "1010";
29     public static final String VFMODULE_TYPE_DOES_NOT_EXIST = "1011";
30     public static final String REQUEST_DOES_NOT_EXIST = "1012";
31     public static final String SERVICE_DOES_NOT_EXIST = "1013";
32     public static final String SERVICE_PARAMETERS_FAILED_SCHEMA_VALIDATION = "1020";
33     public static final String LOCKED_SAME_SERVICE_TYPE_AND_REQUEST_ACTION = "1030";
34     public static final String LOCKED_CANCEL_ON_REQUEST_IN_PROGRESS = "1031";
35     public static final String LOCKED_REQUEST_IN_PROGRESS_TIMEOUT = "1032";
36     public static final String LOCKED_NOT_ALLOWED_FOR_REQUEST_IN_PROGRESS = "1033";
37     public static final String WITHDRAW_AFTER_COMPLETE = "1034";
38     public static final String COMPLETE_AFTER_WITHDRAW = "1035"; // NOT USED
39     public static final String REQUEST_PREVIOUSLY_COMPLETED = "1036";
40     public static final String CANNOT_RETRY_FINAL_ACTIVATION = "1037";
41     public static final String PREVIOUSLY_COMPLETED_WITH_DIFF_ORDER_VERSION = "1038";
42     public static final String LOCKED_DIFFERENT_REQUEST_ACTION = "1040";
43     public static final String LOCKED_DIFF_REQUEST_ACTION_SAME_SERVICE_INSTANCE_ID = "1041";
44     public static final String LOCKED_DIFFERENT_REQUEST_SAME_VPN_ID = "1042";
45     public static final String REQUEST_TIMED_OUT = "1050";
46
47
48     public static final String DISCONNECT_ALREADY_COMPLETE = "1100";
49     public static final String CANCEL_ALREADY_COMPLETE = "1110";
50
51     public static final String LOCKED_CREATE_ON_THE_SAME_VNF_NAME_IN_PROGRESS = "1400";
52     public static final String LOCKED_SAME_ACTION_AND_VNF_ID = "1410";
53
54     public static final String ERROR_FROM_BPEL = "2000";
55     public static final String NO_COMMUNICATION_TO_BPEL = "2010";
56     public static final String NO_RESPONSE_FROM_BPEL = "2020";
57
58     public static final String COULD_NOT_WRITE_TO_REQUESTS_DB = "4000";
59     public static final String NO_COMMUNICATION_TO_REQUESTS_DB = "4010";
60     public static final String NO_COMMUNICATION_TO_CATALOG_DB = "4020";
61     public static final String ERROR_FROM_CATALOG_DB = "4030";
62
63     public static final String ERROR_FROM_SDNC = "5300";
64     public static final String NO_COMMUNICATION_TO_SDNC = "5310";
65     public static final String NO_RESPONSE_FROM_SDNC = "5320";
66
67     public static final String NO_COMMUNICATION_TO_SDNC_ADAPTER = "7000";
68     public static final String NO_RESPONSE_FROM_SDNC_ADAPTER = "7010";
69     public static final String ERROR_FROM_SDNC_ADAPTER = "7020";
70
71     public static final String SVC_GENERAL_SERVICE_ERROR = "SVC0001";
72     public static final String SVC_BAD_PARAMETER = "SVC0002";
73     public static final String SVC_NO_SERVER_RESOURCES = "SVC1000";
74     public static final String SVC_DETAILED_SERVICE_ERROR = "SVC2000";
75
76 }