[OPT-1759] Refactor handling of reports Created: 24/Dec/18  Updated: 23/Jul/19  Resolved: 15/Jan/19

Status: Done
Project: Camunda Optimize
Component/s: backend
Affects Version/s: None
Fix Version/s: 2.4.0, 2.4.0-alpha1

Type: Task Priority: L3 - Default
Reporter: Johannes Heinemann Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to OPT-1789 Create dedicated update endpoint for ... Done

 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.


Generated at Wed Aug 21 13:57:43 CEST 2019 using JIRA 6.4.6#64021-sha1:33e5b454af4594f54560ac233c30a6e00459507e.