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

Do proper generics declaration in the ElasticsearchHelper

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • L3 - Default
    • 3.1.0
    • None
    • backend
    • None
    • Not defined

    Description

      Context:
       ReportService -> IntelliJ is complaining about ReportDefinitionDto not being ReportDefinitionDto<?>. We also have that for all kind of methods/dto's in our application. To have generic classes not correctly declared can cause problems that are hard to debug (which we already had in the past). We should clean that up.

      AT:

      • it is possible to define a generic class for the ElasticsearchHelper methods to be used for the mapping

      Hint:
      We could think about using the TypeReference class that Jackson uses for the mapping.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce