diff options
author | vasraz <vasyl.razinkov@est.tech> | 2022-10-14 11:44:03 +0100 |
---|---|---|
committer | Vasyl Razinkov <vasyl.razinkov@est.tech> | 2022-10-14 15:25:20 +0000 |
commit | b75fe3c7ce231c86cd4c6d052da453d02809c8f9 (patch) | |
tree | 726956d6771e12c1569979891098aab0c9ac910e /openecomp-be/api/openecomp-sdc-rest-webapp/openecomp-sdc-common-rest/src/main/resources | |
parent | fc768c6cea75cc8aba3233780b9f31c73e787c99 (diff) |
Move DefaultExceptionMapper to be used widely
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I759b023cc37fa8c5eed8b01210bed4e91edb57cb
Issue-ID: SDC-4189
Diffstat (limited to 'openecomp-be/api/openecomp-sdc-rest-webapp/openecomp-sdc-common-rest/src/main/resources')
-rw-r--r-- | openecomp-be/api/openecomp-sdc-rest-webapp/openecomp-sdc-common-rest/src/main/resources/errorCodesToResponseStatusMapping.json | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/openecomp-sdc-common-rest/src/main/resources/errorCodesToResponseStatusMapping.json b/openecomp-be/api/openecomp-sdc-rest-webapp/openecomp-sdc-common-rest/src/main/resources/errorCodesToResponseStatusMapping.json deleted file mode 100644 index 797609c8de..0000000000 --- a/openecomp-be/api/openecomp-sdc-rest-webapp/openecomp-sdc-common-rest/src/main/resources/errorCodesToResponseStatusMapping.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "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" -}
\ No newline at end of file |