Matt Gilman created NIFI-574:
--------------------------------

             Summary: Updating default logging for Jersey component
                 Key: NIFI-574
                 URL: https://issues.apache.org/jira/browse/NIFI-574
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
            Reporter: Matt Gilman
            Assignee: Matt Gilman
            Priority: Trivial
             Fix For: 0.1.0


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to