jhipster / jhipster-registry

JHipster Registry, based on Spring Cloud Netflix Eureka and Spring Cloud Config
Apache License 2.0
698 stars 657 forks source link

Python client #430

Closed unikzforce closed 4 years ago

unikzforce commented 4 years ago

Is it possible for you guys provide a way to register python services on jhipster-registry?

Overview of the issue

I couldn't connect with eureka python clients in the github to the jhipster registry, because of the extra authentication that it has and no library in the github cant't handle admin:admin@some-registry . In the microservices environment it's very usual to be polyglot, at least python is something many people use as a separate microservice especially the ML guys use it. please help me with this one.

Motivation for or Use Case
Reproduce the error
Related issues
Suggest a Fix
JHipster Registry Version(s)
Browsers and Operating System
unikzforce commented 4 years ago

I want to create a python client for jhipster registry based on an open source python eureka client.. Would you guys please guide me? What are the additional steps that are needed to be added to an standard eureka client so it could communicate correctly with jhipster-registry.. I want to create a PR for this client: https://github.com/keijack/python-eureka-client

gmarziou commented 4 years ago

python-eureka-client library already supports basic authentication so I don't think any PR is required: https://github.com/keijack/python-eureka-client/blob/master/py_eureka_client/http_client.py#L24

It only requires it to be base64 encoded; https://github.com/keijack/python-eureka-client/blob/master/py_eureka_client/http_client.py#L41

unikzforce commented 4 years ago

sorry , It was just a silly mistake, I'll close the Issue now