Syncope
  1. Syncope
  2. SYNCOPE-259

Create transitional Service interfaces and switch tests and console to use them

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.1.0
    • Component/s: client, console, core
    • Labels:
      None

      Description

      As preparation of the change to use CXF instead of Spring MVC REST controllers this issue is to introduce transitional service interfaces (like as UserService).

      The UserService interface should later be used in the core to provide the UserController and on the console to access the service remotely.

      To make the transition easier the idea is to already introduce the interface upfront and change all tests and the console to use it. Before the switch the implementation of the interface will simply use the restTemplate under the covers.

      This to be applied similarly to all Spring MVC REST controllers.

      1. PolicyService.patch
        14 kB
        Andrei Shakirin
      2. ResourceService.patch
        21 kB
        Andrei Shakirin
      3. ResourceService-1428511.patch
        23 kB
        Andrei Shakirin
      4. SYNCOPE-259.patch
        58 kB
        Christian Schneider

        Issue Links

          Activity

            People

            • Assignee:
              Jan Bernhardt
              Reporter:
              Christian Schneider
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development