[ 
https://issues.apache.org/jira/browse/NIFI-574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14525473#comment-14525473
 ] 

ASF subversion and git services commented on NIFI-574:
------------------------------------------------------

Commit be12203f8f2d455171e2bb18c7fb2b91dc4956d1 in incubator-nifi's branch 
refs/heads/develop from [~mcgilman]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-nifi.git;h=be12203 ]

NIFI-574:
- Removing one redundant path annotation.
- Adjusting default logging due to known warning about other redundant path 
annotations that are required due to an issue with the version of Swagger being 
used.

> 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)

Reply via email to