aigor / spring-beans-visualized

Spring Beans Visualized: View Your Beans at Runtime
41 stars 14 forks source link

Not works #6

Open danipenaperez opened 2 years ago

danipenaperez commented 2 years ago

Error con Browser console: Uncaught TypeError: json[0] is undefined drawApplicationGraph http://localhost:3000/:52 send http://localhost:3000/d3/d3.v3.min.js:1 t http://localhost:3000/d3/d3.v3.min.js:1 i http://localhost:3000/d3/d3.v3.min.js:1 Cn http://localhost:3000/d3/d3.v3.min.js:1 json http://localhost:3000/d3/d3.v3.min.js:5 drawApplicationGraph http://localhost:3000/:43 redrawGraphForTypeFilter http://localhost:3000/:149 redrawGraph http://localhost:3000/:143

http://localhost:3000/:153 Maybe the Spring actuator json format response is not as spected. My Beans actuator endpoint returns like this: `{ "contexts": { "my-application": { "beans": { "endpointCachingOperationInvokerAdvisor": { "aliases": [], "scope": "singleton", "type": "org.springframework.boot.actuate.endpoint.invoker.cache.CachingOperationInvokerAdvisor", "resource": "class path resource [org/springframework/boot/actuate/autoconfigure/endpoint/EndpointAutoConfiguration.class]", "dependencies": [ "org.springframework.boot.actuate.autoconfigure.endpoint.EndpointAutoConfiguration", "environment" ] }, "defaultServletHandlerMapping": { "aliases": [], "scope": "singleton", "type": "org.springframework.web.servlet.HandlerMapping", "resource": "class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]", "dependencies": [ "org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration" ] }, "org.springframework.boot.autoconfigure.integratio`
danipenaperez commented 2 years ago

Using Spring-boot-starter-actuator: 2:5.1 version The format does not match with the shown on repo code at /web-app/data/beans.json