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

Clean up rest dto mapping to adhere to coding conventions

    XMLWordPrintable

Details

    Description

      Context:

      In our coding conventions (https://confluence.camunda.com/display/CO/Coding+Conventions), we specify the following: 
      "If possible, mapping methods to convert between RestDtos and the default Service Layer DTOs are to be implemented on the RestDto as static methods."

      Currently, there are still a few mapping methods that aren't implemented on the RestDto as static methods. Lets do a refactor here to align the code with our conventions.

      Hint:

      This applies to *RestDto, *RequestDto, and *ResponseDto, and should cover mapping both to and from service layer Dtos. 

      AT:

      • Where possible, mappers are moved to their respective RestDtos as static methods

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                helene.waechtler Helene Waechtler
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce