Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-2283 Reports for multiple process and decision definition versions
  3. OPT-2451

Simplify definition retrieval endpoints and add latest version to it

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Done
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.0, 2.6.0-alpha1
    • Component/s: backend
    • Labels:
      None

      Description

      AT:

      • change the GET /api/*-definition/definitionVersionsWithTenants endpoints so that it returns the definitions in a structure depicted here:
        [
          {
            "key": "abc",
            "name": "ABC",
            "versions": [
              {
                "version": "ALL",
                "versionTag": null
              },
              {
                "version": "LATEST",
                "versionTag": null
              },
              {
                "version": "3",
                "versionTag": "Tag"
              },
              {
                "version": "2",
                "versionTag": "Another Tag"
              },
              {
                "version": "1",
                "versionTag": "Tag"
              },
              ...
            ],
            "tenants": [
              {
                "id": null,
                "name": "Not defined"
              },
              {
                "id": "tenant1",
                "name": "Tenant 1"
              },
              {
                "id": "tenant2",
                "name": "Tenant 2"
              },
              ...
            ]
          },
          ...
        ]
        
      • the latest version is added to the list
      • the rest-api documentation is adjusted accordingly

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            johannes.heinemann Johannes Heinemann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: