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

Adapt new RA API methods to RA API Guidelines

    Details

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

      Description

      Ensure that all new RA API methods conform to the RA API guidelines (see "RA Master API conventions" in Confluence)

      • Avoid WS-specific methods.
      • Methods should check both locally and remotely.
      • Follow current name convention (someCaExample rather than some CAExample)
      • Javadoc should contain version numbers.
      • Methods should check version of peer before invoking methods that where added after the original version of the API.
      • Try to call local before remote, if possible (and if it does not change behavior of released versions)
      • etc.

      For "WS" methods:

      • Check if the method is suitable for non-WS use. Some WS methods have quirks that we need to continue supporting.
      • If not, check if the WS-specific quirks can be moved to EjbcaWS, instead of being in RaMasterApiSessionBean
      • If any of the above is true, drop the -WS prefix.

      Note: Methods from already released EJBCA versions must not be renamed or modified.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                samuel Samuel Lidén Borell
                Reporter:
                samuel Samuel Lidén Borell
                Verified by:
                Henrik Sunmark
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day, 4 hours Original Estimate - 1 day, 4 hours
                  1d 4h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 days, 4 hours, 39 minutes
                  3d 4h 39m