Graphery
How to test:
First you need to register the Microservices:
curl -X POST http://localhost:3000/register -d '{ "name": "test01", "group": "test", "ip": "10.0.0.1", "port": "5555", "endpoints": [ { "uri": "testetest/test1", "method": "post" }, { "uri": "testetest/test1", "method": "get" } ] }' -H 'Content-type: application/json'
curl -X POST http://localhost:3000/register -d '{ "name": "test02", "group": "test", "ip": "10.0.0.2", "port": "5555", "endpoints": [ { "uri": "testetest/test2", "method": "post" }, { "uri": "testetest/test2", "method": "get" } ] }' -H 'Content-type: application/json'
Now on every request made to Graphery you should provide de Microservice Hash, host and port from the service you are requesting:
curl http://localhost:3000/ -H 'host: 10.0.0.2' -H 'port: 5555' -H 'hash: 2ac741caee8e5f10cd8e8dc0d4c07f30fd722658ddfda875525fe429ae6d6e42'
Graphery will work as a proxy redirecting the requests and registering the relationships between the microservices.
On your browser at http://localhost:3000/manager you should see the two microservices connected
Every time you call Graphery trying to access an endpoint the relationship between them will be strengthened.

Log in or sign up for Devpost to join the conversation.