Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-1800 Support for Multi-Tenancy
  3. OPT-2198

Tenant information on process/decision definitions

    XMLWordPrintable

Details

    Description

      AT:

      • there is an api endpoint providing process definitions grouped by key, version & available tenants
        [
        // a shared process definition (no tenant specified on the definition itself)
          {
            "key": "abc",
            "name": "ABC",
            "versions": [
              {
                "version": "ALL",
        // the version "ALL" contains the merged tenant list of all versions 
                "tenants": [
                  {
                    "id": null,
                    "name": "Not defined"
                  },
                  {
                    "id": "tenant1",
                    "name": "Tenant 1"
                  },
                  {
                    "id": "tenant2",
                    "name": "Tenant 2"
                  }
                ]
              },
              {
                "version": "1",
        // for shared process definitions all available tenants + the 'None' tenant are available
                "tenants": [
                  {
                    "id": null,
                    "name": "Not defined"
                  },
                  {
                    "id": "tenant1",
                    "name": "Tenant 1"
                  },
                  {
                    "id": "tenant2",
                    "name": "Tenant 2"
                  }
                ]
              }
            ]
          },
        // tenant specific process definition
          {
            "key": "xyz",
            "name": "XYZ",
            "versions": [
        // the version "ALL" contains the merged tenant list of all versions 
              {
                "version": "ALL",
                "tenants": [
                  {
                    "id": "tenant1",
                    "name": "Tenant 1"
                  },
                  {
                    "id": "tenant2",
                    "name": "Tenant 2"
                  }
                ]
              },
        // version 2 only available for tenant2
              {
                "version": "2",
                "tenants": [
                  {
                    "id": "tenant2",
                    "name": "Tenant 2"
                  }
                ]
              },
        // version 1 available for tenant1 & tenant2 
              {
                "version": "1",
                "tenants": [
                  {
                    "id": "tenant1",
                    "name": "Tenant 1"
                  },
                  {
                    "id": "tenant2",
                    "name": "Tenant 2"
                  }
                ]
              }
            ]
          },
        ]
        
      • the process/decision definition xml endpoint is extended with a tenantId query parameter to get tenant specific definition xml's, e.g.:
        /api/process-definition/xml?processDefinitionKey=Document_Check_Handling&processDefinitionVersion=7&tenantId=tenant1

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              sebastian.bathke Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce