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

Make PeerPublisher unit testable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EJBCA 7.3.0
    • Component/s: None
    • Labels:
      None
    • Provenance:
      Internal Delivery
    • Issue discovered during:
      Testing
    • Sprint:
      EJBCA Team Bob - 2019 w37

      Description

      PeerPublisher makes EJB calls to populate possible property values from available PeerConnectors on the system where it runs.

      When using the class in a client JVM, there is no JNDI or SSBs, so this will fail.

      This is questionable design but a fairly large effort to fix.We can however handle when such lookup fails and still test other aspects of the object.

      Ensure it is tested to prove that it is solved.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              johan Johan Eklund
              Reporter:
              johan Johan Eklund
              Verified by:
              Ulf Undmark
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: