Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application searches for Endpoints - which fails if service name is different from route name #6

Open
wkulhanek opened this issue Feb 27, 2018 · 0 comments

Comments

@wkulhanek
Copy link

The application fails when the route name is different from the service name.

E.g. there are two versions of a backend at mlbparks-blue and mlbparks-green (which would also be the service name). And then there is one route 'mlbparks' that points to either the service 'mlbparks-blue' or 'mlbparks-green' depending which is currently active.

The application currently looks for an Endpoint 'mlbparks' - which does not exist since the endpoints have the same names as the services.

It actually crashes in the getEndpointsAddressSize method with a NullPointerException.

It would be good to modify the application to not store endpoints but actual route (or service) names.

@jorgemoralespou

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant