pnxtech / hydra

A light-weight library for building distributed applications such as microservices
https://www.hydramicroservice.com
MIT License
645 stars 54 forks source link

findService() returns incomplete object #139

Closed tolik93 closed 7 years ago

tolik93 commented 7 years ago

Hello, i am trying to use hydra in my project. I wanna get ip address and port of service. hydra.findService('test-service') returns an object with only 3 properties: {"serviceName":"test-service","type":"","registeredOn":"2017-07-21T11:25:14.530Z"}

How can I get ip and port?

Thx

cjus commented 7 years ago

@tolik93 see: getServicePresence : https://www.hydramicroservice.com/docs/hydra-core/hydra-methods.html

tolik93 commented 7 years ago

@cjus Thank you. I missed this method