[
https://issues.apache.org/jira/browse/NIFIREG-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16348916#comment-16348916
]
ASF GitHub Bot commented on NIFIREG-134:
----------------------------------------
GitHub user kevdoran opened a pull request:
https://github.com/apache/nifi-registry/pull/97
NIFIREG-134 Enable SpringBoot Actuator endpoints
Contains the following changes:
- Configures Jersey as a filter (previously was a servlet) that
forwards requests to /actuator/* so they can be handled by Actuator
- Adds a ResourceAuthorizationFilter that performs authorization in
the filter chain, and configures it to gate access to /actuator/*
- Adds test cases for ResourceAuthorizationFilter
For reviewers:
- Verify /nifi-registry-api/actuator is accessible in unsecured mode. It
will return a listing of other endpoints (/nifi-registry-api/actuator/*) that
you can also try.
- In secured mode, an initial admin should have access, as should any user
who is granted access to the "/actuator" resource
Future enhancements (will create JIRAs if this is merged):
- Add Actuator usage instructions to Admin guide
- Add health checks that roll up into /actuator/health
- Add ActuatorClient to NiFiRegistryClient
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kevdoran/nifi-registry NIFIREG-134
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi-registry/pull/97.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #97
----
commit 44c19851f9bc5eb21ade2445422a677ca4d208ef
Author: Kevin Doran <kdoran@...>
Date: 2018-01-25T14:14:53Z
NIFIREG-134 Enable SpringBoot Actuator endpoints
- Configures Jersey as a filter (previously was a servlet) that
forwards requests to /actuator/* so they can be handled by Actuator
- Adds a ResourceAuthorizationFilter that performs authorization in
the filter chain, and configures it to gate access to /actuator/*
- Adds test cases for ResourceAuthorizationFilter
----
> Enable Spring Boot Actuator REST API endpoints
> ----------------------------------------------
>
> Key: NIFIREG-134
> URL: https://issues.apache.org/jira/browse/NIFIREG-134
> Project: NiFi Registry
> Issue Type: New Feature
> Reporter: Kevin Doran
> Assignee: Kevin Doran
> Priority: Minor
> Fix For: 0.2.0
>
>
> Spring Boot comes with an optional module known as Actuator which enables
> remote administration, management, and monitoring of the application through
> the REST API.
> This task is to enable the Actuator module and expose it in such a way that
> access is gated by the standard NiFi Registry Authorization framework.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)