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

Move persistence and persistence impl into separate modules

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.3-incubating
    • Fix Version/s: 1.1.0
    • Component/s: core
    • Labels:
      None

      Description

      The core module currently contains many parts of syncope. This makes it bigger and more complex than necessary.

      A possible modularization is to move the internal model (org.apache.syncope.core.persistence*) and the persistence impl (org.apache.syncope.core.persistence.impl) out of core and into separate modules.

      One big advantage would be that the jpa code enhancements would then run in the model module only. Currently we run into some problems in the cxf migration when running the rest itests in core that may be caused by eclipse overwriting the enhanced classes with plain classes. If the model (peristence) classes are in a separate module we could leave it out of eclipse and so this would be no issue anymore.

      Another advantage would be that the persistence tests could run in the persistence impl module so when working on the core they would not have to run each time.

        Attachments

        1. SYNCOPE-241-6.patch
          1.44 MB
          Christian Schneider
        2. SYNCOPE-241-5.patch
          88 kB
          Christian Schneider
        3. SYNCOPE-241-4.patch
          82 kB
          Christian Schneider
        4. SYNCOPE-241-3.patch
          96 kB
          Christian Schneider
        5. SYNCOPE-241-2.patch
          1.10 MB
          Christian Schneider
        6. SYNCOPE-241.patch
          1.17 MB
          Christian Schneider

          Issue Links

            Activity

              People

              • Assignee:
                chris@die-schneider.net Christian Schneider
                Reporter:
                chris@die-schneider.net Christian Schneider
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: