Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-13969

Clean up and document AuditEvent API

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.1, 8.2, 8.3
    • Fix Version/s: 8.4
    • Component/s: Auditlogging
    • Labels:
      None

      Description

      The AuditEvent bean has an awkward API for the request URL. It exposes public StringBuffer getRequestUrl() which returns a StringBuffer of the url up to the query part. This patch will replace that with a public String getBaseUrl(). We will also add a public String getUrl() method to get the full request URL including query parameters.

      Also need to add JavaDocs to all getters in AuditEvent

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                janhoy Jan Høydahl
                Reporter:
                janhoy Jan Høydahl
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h