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

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • Jakarta Release
    • None
    • cds
    • None

      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.

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

              Created:
              Updated:
              Resolved: