[GitHub] nifi-registry pull request #97: NIFIREG-134 Enable SpringBoot Actuator endpo...

2018-03-12 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/nifi-registry/pull/97


---


[GitHub] nifi-registry pull request #97: NIFIREG-134 Enable SpringBoot Actuator endpo...

2018-02-01 Thread kevdoran
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 
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




---