aigor / spring-beans-visualized Goto Github PK
View Code? Open in Web Editor NEWSpring Beans Visualized: View Your Beans at Runtime
Spring Beans Visualized: View Your Beans at Runtime
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
The Graph is not getting plotted. the issue is in index.html
var beans = typeFilter != ''
? json[0].beans.filter(function(b){ return beanTypeContains(b, typeFilter)})
: json[0].beans;
json[o].beans is undefined.
but the app.js line 41 res.send(body) is able to send the response. Seems like some issue with parsing the json form server
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.