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

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 2.6.0-alpha1, 2.6.0
    • None
    • backend
    • None

      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

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              johannes.heinemann Johannes
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: