Details

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

      Description

      AT:

      • we do not use jacksons polymorphism feature to automatically create the correct report type, but rather do the object creation manually, where we know which type it is.

      Context:
      Right now, we use a lot of generics to find out which type is handed over to the report evaluation and update endpoint. This is due to jacksons polymorphism feature. This makes it very hard to understand how the report actually looks like and we have to do a lot of unncesssary casting.

        Issue Links

          Activity

          johannes.heinemann Johannes Heinemann created issue -
          johannes.heinemann Johannes Heinemann made changes -
          Field Original Value New Value
          Assignee Johannes Heinemann [ johannes.heinemann ] Sebastian Bathke [ sebastian.bathke ]
          sebastian.bathke Sebastian Bathke made changes -
          Remote Link This issue links to "Page (camunda confluence)" [ 12481 ]
          johannes.heinemann Johannes Heinemann made changes -
          Assignee Sebastian Bathke [ sebastian.bathke ] Johannes Heinemann [ johannes.heinemann ]
          johannes.heinemann Johannes Heinemann made changes -
          Status Open [ 1 ] In Development [ 10312 ]
          johannes.heinemann Johannes Heinemann made changes -
          Status In Development [ 10312 ] In Specification [ 10000 ]
          johannes.heinemann Johannes Heinemann made changes -
          Status In Specification [ 10000 ] In Development [ 10312 ]
          johannes.heinemann Johannes Heinemann made changes -
          Link This issue is related to OPT-1789 [ OPT-1789 ]
          johannes.heinemann Johannes Heinemann made changes -
          Description *AT:*
          * there is a dedicated endpoint for each report type to update it. For Instance instead of having a generic update endpoint, we have one for single process reports, one for combined reports and one for single decision reports
          * the endpoint for evaluating a report takes an object and then checks which kind of report it is instead of having a generic class where we do a lot if instance of checks to check to which type was created from jackson
          * we do not use jacksons polymorphism feature to automatically create the correct report type, but rather do the object creation manually, where we know which type it is.
          *AT:*
          * we do not use jacksons polymorphism feature to automatically create the correct report type, but rather do the object creation manually, where we know which type it is.

          *Context:*
          Right now, we use a lot of generics to find out which type is handed over to the report evaluation and update endpoint. This is due to jacksons polymorphism feature. This makes it very hard to understand how the report actually looks like and we have to do a lot of unncesssary casting.
          johannes.heinemann Johannes Heinemann made changes -
          Status In Development [ 10312 ] In Review [ 10212 ]
          Assignee Johannes Heinemann [ johannes.heinemann ] Sebastian Bathke [ sebastian.bathke ]
          sebastian.bathke Sebastian Bathke made changes -
          Assignee Sebastian Bathke [ sebastian.bathke ] Johannes Heinemann [ johannes.heinemann ]
          sebastian.bathke Sebastian Bathke made changes -
          Status In Review [ 10212 ] In Specification [ 10000 ]
          johannes.heinemann Johannes Heinemann made changes -
          Status In Specification [ 10000 ] In Development [ 10312 ]
          johannes.heinemann Johannes Heinemann made changes -
          Status In Development [ 10312 ] In Review [ 10212 ]
          Assignee Johannes Heinemann [ johannes.heinemann ] Sebastian Bathke [ sebastian.bathke ]
          sebastian.bathke Sebastian Bathke made changes -
          Assignee Sebastian Bathke [ sebastian.bathke ] Johannes Heinemann [ johannes.heinemann ]
          johannes.heinemann Johannes Heinemann made changes -
          Remote Link This issue links to "Page (camunda confluence)" [ 12496 ]
          johannes.heinemann Johannes Heinemann made changes -
          Assignee Johannes Heinemann [ johannes.heinemann ]
          Status In Review [ 10212 ] Done [ 10010 ]
          Resolution Fixed [ 1 ]
          sebastian.bathke Sebastian Bathke made changes -
          Fix Version/s 2.4.0-alpha1 [ 15369 ]
          kyrylo.zakurdaiev Kyrylo Zakurdaiev made changes -
          Labels current_release
          johannes.heinemann Johannes Heinemann made changes -
          Workflow Camunda Optimize - 2.0 [ 54295 ] Camunda Optimize - 2.4 [ 66430 ]
          felix.mueller Felix Müller made changes -
          Remote Link This issue links to "Page (camunda confluence)" [ 12861 ]
          felix.mueller Felix Müller made changes -
          Remote Link This issue links to "Page (camunda confluence)" [ 12481 ]
          sebastian.bathke Sebastian Bathke made changes -
          Fix Version/s 2.4.0 [ 15365 ]
          johannes.heinemann Johannes Heinemann made changes -
          PM Priority -1
          johannes.heinemann Johannes Heinemann made changes -
          PM Priority -1
          johannes.heinemann Johannes Heinemann made changes -
          Remote Link This issue links to "Page (camunda confluence)" [ 13455 ]
          johannes.heinemann Johannes Heinemann made changes -
          Remote Link This issue links to "Page (camunda confluence)" [ 12496 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: