Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

why is there no AgentClient getService(serviceId) method using GET/agent/service/:service_id? #378

Open
pravinrepo opened this issue Apr 2, 2019 · 2 comments

Comments

@pravinrepo
Copy link

why is there no AgentClient getService(serviceId) method using GET/agent/service/:service_id? I see AgentClient getServices() method returning Map of all services, however, If I have serviceId available,
I would like to exercise Consul 1.3.0 HTTP API GET/agent/service/:service_id to return Service object based on service_id.

@hemantkhurana
Copy link

hemantkhurana commented Apr 3, 2019

+1 for this missing API. This seems to be the only API supporting blocking queries and want to use if for my implementation. Any chance we can get this soon?

@rickfast
Copy link
Owner

rickfast commented Apr 9, 2019

PRs welcome. Probably wouldn't take too long to implement - Unlikely I will get to this in the next few weeks

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

No branches or pull requests

3 participants