Uploaded image for project: 'Optimization Framework'
  1. Optimization Framework
  2. OPTFRA-483

Required/excluded candidates condition does not work

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Done
    • Casablanca Release, Dublin Release
    • Dublin Release
    • OSDF
    • None

    Description

      The format of required/excluded candidates list in HAS request built by OSDF is different than the one expected by HAS. The problem is decribed below:

      OSDF request:

      [

      {     "identifierType": "vfmodule",     "identifiers": ["4d944b8f-557a-4fe7-bcb3-aec65927a065","e7227847-dea6-4374-abca-4561b070fe7d"] }

      ]

      HAS Request build by OSDF:

      [

      {     "inventory_type": "vfmodule",     "candidate_id": ["4d944b8f-557a-4fe7-bcb3-aec65927a065","e7227847-dea6-4374-abca-4561b070fe7d"] }

      ]

      Expected HAS request:

      [

      {     "inventory_type": "vfmodule",     "candidate_id": "4d944b8f-557a-4fe7-bcb3-aec65927a065" }

      ,

      {     "inventory_type": "vfmodule",     "candidate_id": "e7227847-dea6-4374-abca-4561b070fe7d" }

      ]

      Attachments

        Issue Links

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

          Activity

            People

              rajewluk Lukasz Rajewski
              rajewluk Lukasz Rajewski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: