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. SYNCOPE-259.patch
        58 kB
        Christian Schneider
      2. ResourceService-1428511.patch
        23 kB
        Andrei Shakirin
      3. ResourceService.patch
        21 kB
        Andrei Shakirin
      4. PolicyService.patch
        14 kB
        Andrei Shakirin

        Issue Links

          Activity

          Francesco Chicchiriccò made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Jan Bernhardt made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Jan Bernhardt made changes -
          Link This issue relates to SYNCOPE-268 [ SYNCOPE-268 ]
          Andrei Shakirin made changes -
          Attachment PolicyService.patch [ 12563545 ]
          Andrei Shakirin made changes -
          Comment [ yep, "connectorStatus" sounds better (it not always physical connection) ]
          Jan Bernhardt made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Andrei Shakirin made changes -
          Attachment ResourceService-1428511.patch [ 12563112 ]
          Andrei Shakirin made changes -
          Attachment ResourceService.patch [ 12563078 ]
          Jan Bernhardt made changes -
          Assignee Jan Bernhardt [ jan4talend ]
          Francesco Chicchiriccò made changes -
          Component/s client [ 12317603 ]
          Component/s console [ 12317601 ]
          Francesco Chicchiriccò made changes -
          Summary Create UserService Interface and switch tests and console to use it Create transitional Service interfaces and switch tests and console to use them
          Francesco Chicchiriccò made changes -
          Description As preparation of the change to use cxf instead of spring webservices this issue is to introduce a service interface 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.
          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.
          Francesco Chicchiriccò made changes -
          Link This issue is required by SYNCOPE-150 [ SYNCOPE-150 ]
          Francesco Chicchiriccò made changes -
          Link This issue is required by SYNCOPE-231 [ SYNCOPE-231 ]
          Christian Schneider made changes -
          Field Original Value New Value
          Attachment SYNCOPE-259.patch [ 12562067 ]
          Christian Schneider created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development