-
Bug
-
Resolution: Done
-
Medium
-
Amsterdam Release
As a part of negative testing if we provide null/invalid onboardingMethod while creating VSP from BE, response is INTERNAL_SERVER_ERROR.
Expected Response:
Response Code : 417
Response String :
{
"status": "EXPECTATION_FAILED",
"errorCode": "VSP_INVALID_ONBOARDING_METHOD",
"message": "The onboardingMethod value doesn't meet the expected attribute value."
}
Actual Response :
Response Code : 500
Response String :
{
"status": "INTERNAL_SERVER_ERROR",
"errorCode": "GENERAL_ERROR_REST_ID",
"message": "An error has occurred: No enum constant org.openecomp.sdcrests.vendorsoftwareproducts.types.OnboardingMethod."
}