Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-259

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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.1.0
    • client, console, core
    • 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.

      Attachments

        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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jan4talend Jan Bernhardt
            cschneider Christian Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment