Uploaded image for project: 'Common Controller SDK'
  1. Common Controller SDK
  2. CCSDK-3713

Get template by resourceId and resourceType API validation is not valid

    XMLWordPrintable

Details

    • Story
    • Status: Closed
    • Medium
    • Resolution: Done
    • None
    • Jakarta Release
    • cds
    • None

    Description

      Get template by resourceId and resourceType input validation is broken.

      User should be able to get template by passing resourceId and resourceType but

      1. Issue 01: It always expect resolutionKey in the request.
      "message": "400 BAD_REQUEST \"Required String parameter 'resolutionKey' is not present\"",

      2.Issue 02: You need artifactName along with resourceId and resourceType but current validation does not allow artifactName to pass along
      You get this error when you pass artifactName after fixing issue 01.
      "message": "Cause: Either retrieve resolved template using artifact name and resolution-key OR using resource-id and resource-type. \n

      This needs to be fixed.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kuldipr kuldip Singh Rai
            kuldipr kuldip Singh Rai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: