Hananiel Sarella
Hananiel Sarella
from a springboot app: ```json "dispatcherServlets": { "dispatcherServlet": [ { "handler": "Actuator web endpoint 'configprops'", "predicate": "{GET [/actuator/configprops], produces [application/vnd.spring-boot.actuator.v3+json || application/vnd.spring-boot.actuator.v2+json || application/json]}", "details": { "handlerMethod": { "className": "org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping.OperationHandler",...
Note the `produces` section is already available but at the `predicate` level.
One way to do it would be below. I just noodled in a scratch file but haven't actually tested this. ```csharp public static class TestExtensions { public static IEndpointConventionBuilder MapCustomActuatorEndpoint(this...
Then to use this ... ```csharp ... .UseEndpoints(endpoints => { endpoints.MapActuatorEndpoint(type).RequireAuthorization("TestAuth"); endpoints.MapCustomActuatorEndpoint(typeof(CustomEndpoint)).RequireAuthorization("TestAuth"); })) ```
Hi @bradLucifer first thanks for PR. Short answer I merged it by accident. I hope you saw @dtillman 's feedback that your sample was nearly identical to the rabbitmqweb2 sample....
- [x] Details - [x] Health - [x] Environment - working but needs edit functionality - [x] Loggers - [x] Mappings needs updated to v3 json - [x] HttpTrace -...