A simple service for storing information about microservices.
make install lint unit-test component-test dependency-check
docker run -p 80 -e MONGODB_URL=mongodb://mongodb/service_registry quay.io/wealthwizards/service-registry
Endpoints:
- GET, POST - /service-registry/v1/service
- GET, PUT - /service-registry/v1/service/[service-id]
- GET - /service-registry/v1/service?tags=tag1
- GET - /service-registry/v1/tag
Service object:
{
"_id": "my-service",
"links": [
{
"url": "/ping",
"_id": "ping"
},
{
"url": "/health",
"_id": "health"
}
],
"environments": [
{
"_id": "test",
"baseUrl": "https://test.example.com/my-service"
},
{
"_id": "prod",
"baseUrl": "https://prod.example.com/my-service"
}
],
"tags": [
"tag1",
"tag2"
]
}