aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-common-lib/src/main/resources/errorCodesToResponseStatusMapping.json
blob: 797609c8de4825292a5fe8fd10c51a10ba1c442b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
  "VSP_NOT_FOUND": "NOT_FOUND",
  "VSP_INVALID": "BAD_REQUEST",
  "VSP_PROCESSING_IN_PROGRESS": "FORBIDDEN",
  "VSP_CREATE_UPLOAD_LOCK_ERROR": "INTERNAL_SERVER_ERROR",
  "VSP_UPDATE_UPLOAD_LOCK_ERROR": "INTERNAL_SERVER_ERROR",
  "VSP_UNABLE_UPDATE_UPLOAD_STATUS_ERROR": "INTERNAL_SERVER_ERROR",
  "VSP_UPLOAD_LOCK_NOT_FOUND_ERROR": "NOT_FOUND",
  "VSP_UPLOAD_STATUS_NOT_FOUND_ERROR": "NOT_FOUND",
  "VSP_UPLOAD_ALREADY_FINISHED_ERROR": "INTERNAL_SERVER_ERROR",
  "VSP_UPLOAD_ALREADY_IN_STATUS_ERROR": "BAD_REQUEST",
  "VSP_DELETE_ALREADY_IN_USE_BY_VF": "FORBIDDEN",
  "VSP_DELETE_NOT_ARCHIVED": "FORBIDDEN",
  "VSP_DELETE_GENERIC_ERROR": "INTERNAL_SERVER_ERROR",
  "VSP_DELETE_FROM_STORAGE_ERROR": "INTERNAL_SERVER_ERROR",
  "VSP_DELETE_FROM_DATABASE_ERROR": "INTERNAL_SERVER_ERROR",
  "ORCHESTRATION_NOT_FOUND": "NOT_FOUND",
  "UPLOAD_INVALID" : "PRECONDITION_FAILED",
  "PACKAGE_NOT_FOUND": "NOT_FOUND",
  "PACKAGE_INVALID": "BAD_REQUEST",
  "VENDOR_LICENSE_MODEL_NOT_FOUND": "NOT_FOUND",
  "VLM_IS_IN_USE_DELETE_ERROR": "FORBIDDEN",
  "VLM_IS_CERTIFIED_AND_NOT_ARCHIVED_DELETE_ERROR": "FORBIDDEN",
  "VENDOR_LICENSE_ENTITY_NOT_FOUND": "NOT_FOUND",
  "VERSIONABLE_SUB_ENTITY_NOT_FOUND": "NOT_FOUND",
  "FEATURE_GROUP_NOT_EXIST_FOR_VSP": "NOT_FOUND",
  "INVALID_COMPUTE_FLAVOR_ID": "NOT_FOUND",
  "INVALID_COMPONENT_ID": "NOT_FOUND",
  "UNIQUE_VALUE_VIOLATION": "BAD_REQUEST"
}