re base code
[sdc.git] / catalog-model / src / main / java / org / openecomp / sdc / be / model / operations / api / StorageOperationStatus.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.be.model.operations.api;
22
23 public enum StorageOperationStatus {
24
25     OK, 
26     CONNECTION_FAILURE, 
27     BAD_REQUEST, 
28     ENTITY_ALREADY_EXISTS, 
29     GRAPH_IS_LOCK, 
30     GENERAL_ERROR, 
31     USER_NOT_FOUND, 
32     PERMISSION_ERROR, 
33     HTTP_PROTOCOL_ERROR, 
34     STORAGE_NOT_AVAILABLE, 
35     READ_ONLY_STORAGE, 
36     STORAGE_LEGACY_INDEX_ERROR, 
37     SCHEMA_ERROR, 
38     TRANSACTION_ERROR, 
39     EXEUCTION_FAILED, 
40     NOT_FOUND, 
41     OPERATION_NOT_SUPPORTED, 
42     CATEGORY_NOT_FOUND, 
43     PARENT_RESOURCE_NOT_FOUND, 
44     MULTIPLE_PARENT_RESOURCE_FOUND, 
45     INCONSISTENCY, 
46     GRAPH_IS_NOT_AVAILABLE, 
47     SCHEMA_VIOLATION, 
48     FAILED_TO_LOCK_ELEMENT, 
49     INVALID_ID, 
50     MATCH_NOT_FOUND, 
51     ARTIFACT_NOT_FOUND, 
52     DISTR_ENVIRONMENT_NOT_AVAILABLE, 
53     DISTR_ENVIRONMENT_NOT_FOUND, 
54     DISTR_ENVIRONMENT_SENT_IS_INVALID, 
55     DISTR_ARTIFACT_NOT_FOUND, 
56     OVERLOAD, 
57     INVALID_TYPE, 
58     INVALID_VALUE, 
59     INVALID_INNER_TYPE, 
60     CSAR_NOT_FOUND, 
61     GROUP_INVALID_CONTENT, 
62     CANNOT_UPDATE_EXISTING_ENTITY, 
63     PROPERTY_NAME_ALREADY_EXISTS, 
64     INVALID_PROPERTY,
65     COMPONENT_IS_ARCHIVED;
66
67 }