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

Clean up and document AuditEvent API

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 8.1, 8.2, 8.3
    • 8.4
    • Auditlogging
    • 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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            janhoy Jan Høydahl
            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

                Slack

                  Issue deployment