Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-574

Updating default logging for Jersey component

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 0.1.0
    • 0.1.0
    • Core Framework
    • None

    Description

      Swagger annotations were introduced in order to document our Rest Api. Unfortunately there was a bug that required a @Path("") annotation on any endpoints that were at the root of a sub resource. They technically shouldn't be necessary but in order for those endpoints to be documented we introduced the annotation which effectively does nothing. However, since the string was blank Jersey (the jaxrs implementation we are using) logged a warning message. We are going to change the default log level for the class in question to error until an update Swagger artifact is released.

      Multiple tickets were opened regarding sub resource scanning but all eventually lead to this one [1].

      [1] https://github.com/swagger-api/swagger-core/issues/942

      Attachments

        1. 0001-NIFI-574.patch
          3 kB
          Matt Gilman

        Activity

          People

            mcgilman Matt Gilman
            mcgilman Matt Gilman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: