Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-7216

Dependency issue, Acme*SessionBean should reside in edition-specific-ee module

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Issue discovered during:
      Ad Hoc

      Description

      There is a dependency issue that EJB core depends on the ACME module. The core module should not depend on outer modules. Right now it is not possible to remove the acme.war file from ejbca.ear, because then it will not deploy (in EE). This is because RaMasterAPISessionBean, which is part of the core ejbca-ejb package depends in session beans in the acme module.

      There is a Community and an Enterprise version of AcmeAccountDataSessionBean. The Community verison is in modules/edition-specific while the EE version is in modules/acme. The EE version should be in modules/edition-specific-ee to match.

      It's similar to what how the EST code is structured, with a session bean in edition-specific and on in edition-specific-ee

      It does look nice to have it all in the module/acme, but the reverse dependency from RaMasterAPI messes up the dependencies.

       

       

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              tomas Tomas Gustavsson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified