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

Move ES high level client requests to the Optimize Client

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • L3 - Default
    • 3.6.0-alpha1, 3.6.0
    • None
    • backend
    • None
    • Not defined

    Description

      In some scenarios, we get the ES high level client from the Optimize client and make requests directly that way. One part of this is that we also have to fetch the request options at the same time, resulting in slightly awkward usage, i.e.:

      esClient.doSomething(someRequest, esClient.requestOptions());
      

      It might make sense to stop returning the high level client and instead expose the corresponding methods in the Optimize client, so callers can use that directly. This way, all of the request options logic could be wrapped by the Optimize client.

      Note that there may be some scenarios (such as tests), where returning the high level client is entirely appropriate and that it might not make sense to always have Optimize client methodsĀ 

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              joshua.windels Joshua Windels
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce