Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-2958

Create client classes for all rest endpoints

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: backend
    • Labels:

      Description

      Context:
      In the integration test code of the back-end we have a lot of code duplication, which is helper functions that allow us to interact with the Optimize rest-api. We should create dedicated client classes that help us to interact with the rest api, e.g. like how it's done with the AuthorizationTestHelper or the CollectionTestHelper.

      AT:

      • there is a utility client class for each Optimize endpoint
      • the client classes are used in all integration tests
      • the client classes are initialized in the AbstractIT, so we don't have to intialize them in every test class
      • abstract classes that are just for the porpose of sharing those utility methods are being removed (e.g. possibly the AbstractAlertIT)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: