keijack / python-eureka-client

A eureka client written in python. Support registering your python component to Eureka Server, as well as calling remote services by pulling the the Eureka registry.
MIT License
184 stars 43 forks source link

Update instance status #24

Closed DeAJota closed 4 years ago

DeAJota commented 4 years ago

Hello,

I'm trying update status of my application instance on eureka but don't work. Debugging I have seen that method status_update on RegistryClient class call status_update function and this have a literal:

apps/%s/%s?status=%s&lastDirtyTimestamp=%s

According to this link https://dzone.com/articles/the-mystery-of-eureka-health-monitoring and this https://github.com/Netflix/eureka/wiki/Eureka-REST-operations the literal don't seems correct. The correct url should be:

apps/%s/%s/status?value=%s&lastDirtyTimestamp=%s

keijack commented 4 years ago

resolve, see release 0.7.5