Uploaded image for project: 'Service Design and Creation'
  1. Service Design and Creation
  2. SDC-639

Unexpected response while creating VSP with onboarding method as NULL/Invalid

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Beijing Release
    • Amsterdam Release
    • SDC

      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."
      }

            olegb olegb
            olegb olegb
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 1 day
                1d
                Logged:
                Time Spent - Not Specified
                Not Specified