mirror of https://github.com/apache/nifi.git
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.
This commit is contained in:
parent
997ed94653
commit
be12203f8f
|
@ -77,6 +77,9 @@
|
||||||
<logger name="com.sun.jersey.spi.spring" level="ERROR"/>
|
<logger name="com.sun.jersey.spi.spring" level="ERROR"/>
|
||||||
<logger name="org.springframework" level="ERROR"/>
|
<logger name="org.springframework" level="ERROR"/>
|
||||||
|
|
||||||
|
<!-- Suppress non-error messages due to known warning about redundant path annotation (NIFI-574) -->
|
||||||
|
<logger name="com.sun.jersey.spi.inject.Errors" level="ERROR"/>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Logger for capturing user events. We do not want to propagate these
|
Logger for capturing user events. We do not want to propagate these
|
||||||
log events to the root logger. These messages are only sent to the
|
log events to the root logger. These messages are only sent to the
|
||||||
|
|
|
@ -67,7 +67,6 @@ public class SystemDiagnosticsResource extends ApplicationResource {
|
||||||
@GET
|
@GET
|
||||||
@Consumes(MediaType.WILDCARD)
|
@Consumes(MediaType.WILDCARD)
|
||||||
@Produces({MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML})
|
@Produces({MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML})
|
||||||
@Path("") // due to a bug in swagger
|
|
||||||
@PreAuthorize("hasAnyRole('ROLE_MONITOR', 'ROLE_DFM', 'ROLE_ADMIN')")
|
@PreAuthorize("hasAnyRole('ROLE_MONITOR', 'ROLE_DFM', 'ROLE_ADMIN')")
|
||||||
@ApiOperation(
|
@ApiOperation(
|
||||||
value = "Gets the diagnostics for the system NiFi is running on",
|
value = "Gets the diagnostics for the system NiFi is running on",
|
||||||
|
|
Loading…
Reference in New Issue