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

Required/excluded candidates condition does not work

XMLWordPrintable

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

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

      ]

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

              Created:
              Updated:
              Resolved: