python-eureka
python-eureka copied to clipboard
Python client for Netflix Eureka https://github.com/Netflix/eureka/
Due to the split of urllib2 into parts (urllib.error, urllib.parse, urllib.request) the library cannot be used with python 3.6.6. Once the client code updated to urllib another problem occurs: ../python3.6/site-packages/eureka_client/requests.py",...
When i run the next test: ``` from eureka_client import EurekaClient import logging logging.basicConfig() ec = EurekaClient("MyApplication", eureka_url="http://localhost:8080/eureka/v2/", region="eu-west-1", use_dns=False, data_center="asdasdasd", vip_address="http://localhost:7001/", health_check_url="http://localhost:7001/app1", host_name="localhost", port=7001, eureka_port=8080) print ec.register() ``` I...
This uses the python-future package and its futurize script to support Python 3. I've only tested on 2.7 and 3.5, but I would expect this to support 3.3+ (that's what...
This adds support for the `apps/delta` endpoint. I also added an optional new constructor argument called `eureka_host_name`, meant to be similar to `eureka_url`, but is processed in the same way...
Client now doesn't crash if secure_port isn't specified.