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

Expose ServiceDiscoveryOptions used on started ServiceDiscovery instances #34

Closed
aschrijver opened this issue Jul 7, 2016 · 5 comments

Comments

@aschrijver
Copy link
Contributor

Consuming and announce and usage events is straightforward when service discovery creation and registration occur in the same object, but when passing the discovery instance around to other objects there is no way to determine on which addresses it is broadcasting events, because the used ServiceDiscoveryOptions is not exposed on the discovery instance.

True, you can externalize the addresses to known values, but this becomes unwieldy when having multiple service discovery instances.
Therefore I would like to have the deployed options exposed on the service discovery instance.

@cescoffier
Copy link
Member

👍

It would be a nice improvement. Fancy a PR ?

@cescoffier
Copy link
Member

I was on this project, so did it.

@aschrijver
Copy link
Contributor Author

Thanks! I didn't see your pull request request. Sorry :)
I am about to release an extension of the service discovery with a new graphql-service type (maybe tomorrow or the day after).
The project will be here: https://github.com/engagingspaces/vertx-graphql-service-discovery

@cescoffier
Copy link
Member

Can't wait, it looks pretty cool!

@aschrijver
Copy link
Contributor Author

aschrijver commented Jul 20, 2016

Well, the code is there now. Still have to create some README lines, and more fun like that :)

Oh, BTW, I have two @Ignored unit tests that I couldn't figure out. If you can spare a minute maybe the issue there. I am quite sure the code is okay, but the test is not (wrong use of Vert.x unit maybe).

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

No branches or pull requests

2 participants