[
https://issues.apache.org/jira/browse/NIFI-574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14525428#comment-14525428
]
Aldrin Piri commented on NIFI-574:
----------------------------------
Build was good. Verified it removed the troublesome logging statements.
Generated docs look good. +1
> 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
> Affects Versions: 0.1.0
> Reporter: Matt Gilman
> Assignee: Matt Gilman
> Priority: Trivial
> Fix For: 0.1.0
>
> Attachments: 0001-NIFI-574.patch
>
>
> 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)