There is a need to block internal service APIs from external access via Hydra-Router. I created this issue ticket to openly discuss options.
In Hydra-Express a set of routes is registered this way:
hydraExpress.registerRoutes({
'/v1/hello': require('./routes/hello-v1-routes')
});
Given two routes /v1/hello/public and /v1/hello/private the goal would be to specify the latter as private and not allow access through the hydra-router. Services behind the router should still be able to access each others private routes.
There is a need to block internal service APIs from external access via Hydra-Router. I created this issue ticket to openly discuss options.
In Hydra-Express a set of routes is registered this way:
Given two routes
/v1/hello/publicand/v1/hello/privatethe goal would be to specify the latter as private and not allow access through the hydra-router. Services behind the router should still be able to access each others private routes.