AT:

      • I can create a new tenant
      • I can edit an existing tenant
      • I can delete an existing tenant
      • I can see all tenants

        This is the controller panel for Smart Panels app

            [CAM-5755] I can create a new Tenant in Admin

            If no tenants exist, the message says "The current search parameters could not retrieve any tenants. Try to reset page number." Clicking the provided reset link does nothing.

            Expected: The message says "There are no tenants in the system."


            If editing the name of a tenant, the old name stays in the breadcrumb and the new name is appended. Repeated changing of the tenant name produces many breadcrumb entries.


            Usage of angular $resource interface for REST API communication as used in [1] is discouraged. The camunda-bpm-sdk-js should be used instead. See the execution metrics page for an example [2].

            [1]: https://github.com/camunda/camunda-bpm-webapp/blob/52ab707d370cc4b8692d1940faa9dca55a0ab2d6/ui/admin/client/scripts/resources/tenantResource.js
            [2]: https://github.com/camunda/camunda-bpm-webapp/blob/master/ui/admin/client/scripts/pages/execution-metrics.js

            Sebastian Stamm added a comment - If no tenants exist, the message says "The current search parameters could not retrieve any tenants. Try to reset page number." Clicking the provided reset link does nothing. Expected: The message says "There are no tenants in the system." If editing the name of a tenant, the old name stays in the breadcrumb and the new name is appended. Repeated changing of the tenant name produces many breadcrumb entries. Usage of angular $resource interface for REST API communication as used in [1] is discouraged. The camunda-bpm-sdk-js should be used instead. See the execution metrics page for an example [2] . [1] : https://github.com/camunda/camunda-bpm-webapp/blob/52ab707d370cc4b8692d1940faa9dca55a0ab2d6/ui/admin/client/scripts/resources/tenantResource.js [2] : https://github.com/camunda/camunda-bpm-webapp/blob/master/ui/admin/client/scripts/pages/execution-metrics.js

            On second thought, don't do it like in the execution metrics page. Instead, inject the camAPI service and use that. Many examples can be found in Cockpit, e.g. https://github.com/camunda/camunda-bpm-webapp/blob/master/ui/cockpit/client/scripts/repository/deployments/plugins/actions/delete/modals/cam-cockpit-delete-deployment-modal-ctrl.js

            Sebastian Stamm added a comment - On second thought, don't do it like in the execution metrics page. Instead, inject the camAPI service and use that. Many examples can be found in Cockpit, e.g. https://github.com/camunda/camunda-bpm-webapp/blob/master/ui/cockpit/client/scripts/repository/deployments/plugins/actions/delete/modals/cam-cockpit-delete-deployment-modal-ctrl.js

              michael.schoettes Michael Schoettes
              philipp.ossler Philipp Ossler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: