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.mso.apihandler.common;
23 public final class ErrorNumbers {
25 public static final String REQUEST_FAILED_SCHEMA_VALIDATION = "1000";
26 public static final String RECIPE_DOES_NOT_EXIST = "1010";
27 public static final String VFMODULE_TYPE_DOES_NOT_EXIST = "1011";
28 public static final String SERVICE_PARAMETERS_FAILED_SCHEMA_VALIDATION = "1020";
29 public static final String LOCKED_SAME_SERVICE_TYPE_AND_REQUEST_ACTION = "1030";
30 public static final String LOCKED_CANCEL_ON_REQUEST_IN_PROGRESS = "1031";
31 public static final String LOCKED_REQUEST_IN_PROGRESS_TIMEOUT = "1032";
32 public static final String LOCKED_NOT_ALLOWED_FOR_REQUEST_IN_PROGRESS = "1033";
33 public static final String WITHDRAW_AFTER_COMPLETE = "1034";
34 public static final String COMPLETE_AFTER_WITHDRAW = "1035"; // NOT USED
35 public static final String REQUEST_PREVIOUSLY_COMPLETED = "1036";
36 public static final String CANNOT_RETRY_FINAL_ACTIVATION = "1037";
37 public static final String PREVIOUSLY_COMPLETED_WITH_DIFF_ORDER_VERSION = "1038";
38 public static final String LOCKED_DIFFERENT_REQUEST_ACTION = "1040";
39 public static final String LOCKED_DIFF_REQUEST_ACTION_SAME_SERVICE_INSTANCE_ID = "1041";
40 public static final String REQUEST_TIMED_OUT = "1050";
42 public static final String DISCONNECT_ALREADY_COMPLETE = "1100";
43 public static final String CANCEL_ALREADY_COMPLETE = "1110";
45 public static final String LOCKED_CREATE_ON_THE_SAME_VNF_NAME_IN_PROGRESS = "1400";
46 public static final String LOCKED_SAME_ACTION_AND_VNF_ID = "1410";
48 public static final String ERROR_FROM_BPEL = "2000";
49 public static final String NO_COMMUNICATION_TO_BPEL = "2010";
50 public static final String NO_RESPONSE_FROM_BPEL = "2020";
52 public static final String COULD_NOT_WRITE_TO_REQUESTS_DB = "4000";
53 public static final String NO_COMMUNICATION_TO_REQUESTS_DB = "4010";
54 public static final String NO_COMMUNICATION_TO_CATALOG_DB = "4020";
55 public static final String ERROR_FROM_CATALOG_DB = "4030";
57 public static final String ERROR_FROM_SDNC = "5300";
58 public static final String NO_COMMUNICATION_TO_SDNC = "5310";
59 public static final String NO_RESPONSE_FROM_SDNC = "5320";
61 public static final String NO_COMMUNICATION_TO_SDNC_ADAPTER = "7000";
62 public static final String NO_RESPONSE_FROM_SDNC_ADAPTER = "7010";
63 public static final String ERROR_FROM_SDNC_ADAPTER = "7020";
65 public static final String SVC_GENERAL_SERVICE_ERROR = "SVC0001";
66 public static final String SVC_BAD_PARAMETER = "SVC0002";
67 public static final String SVC_NO_SERVER_RESOURCES = "SVC1000";
68 public static final String SVC_DETAILED_SERVICE_ERROR = "SVC2000";