Support deletion of archived VFs in SDC BE
[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 package org.openecomp.sdc.be.model.operations.api;
21
22 public enum StorageOperationStatus {
23
24     // @formatter:off
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     MODEL_NOT_FOUND,
45     MULTIPLE_PARENT_RESOURCE_FOUND,
46     INCONSISTENCY,
47     GRAPH_IS_NOT_AVAILABLE,
48     SCHEMA_VIOLATION,
49     FAILED_TO_LOCK_ELEMENT,
50     INVALID_ID,
51     MATCH_NOT_FOUND,
52     ARTIFACT_NOT_FOUND,
53     DISTR_ENVIRONMENT_NOT_AVAILABLE,
54     DISTR_ENVIRONMENT_NOT_FOUND,
55     DISTR_ENVIRONMENT_SENT_IS_INVALID,
56     DISTR_ARTIFACT_NOT_FOUND,
57     OVERLOAD,
58     INVALID_TYPE,
59     INVALID_VALUE,
60     INVALID_INNER_TYPE,
61     CSAR_NOT_FOUND,
62     GROUP_INVALID_CONTENT,
63     CANNOT_UPDATE_EXISTING_ENTITY,
64     PROPERTY_NAME_ALREADY_EXISTS,
65     INVALID_PROPERTY,
66     COMPONENT_IS_ARCHIVED,
67     COMPONENT_NOT_ARCHIVED,
68     COMPONENT_IS_IN_USE,
69     DECLARED_INPUT_USED_BY_OPERATION;
70     // @formatter:on
71
72 }