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

Modify CmpRAUnidTest to run without the Unid datasource

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EJBCA 7.4.0
    • Component/s: None
    • Labels:
      None

      Description

      CmpRAUnidTest currently requires a separate datasource to be able to run, meaning that this functionality is very rarely tested. 

      The actual CRUD-part of saving UnIDs is actually trivial and can functionally be skipped by injecting a mock session bean into the plugin and storing the results temporarily in a static volatile map. What we're really interested in testing is the conversion between FNR and UnID and the manipulation of said values in the incoming CMP request,

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mikek Mike Agrenius Kushner
              Reporter:
              mikek Mike Agrenius Kushner
              Verified by:
              Amin Khorsandi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 days
                  2d
                  Remaining:
                  Remaining Estimate - 2 days
                  2d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified