Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Python Eureka client to accept an application name via environment variable #38

Closed
sriramkrishnan opened this issue Oct 29, 2013 · 1 comment
Assignees
Labels

Comments

@sriramkrishnan
Copy link
Contributor

The current Eureka test client uses a keyword arg with appName set to "genie" by default.

Provide a backwards-compatible override mechanism to fetch an alternative application name registered with Eureka, which would take lower priority than the keyword argument itself.

Behavior should be as follows:

  • If appName is set, use it
  • If appName is not set, then fetch it from environment variable NETFLIX_APP
  • If it is still not set, default it to "genie"
@sriramkrishnan
Copy link
Contributor Author

Fixed.

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

No branches or pull requests

1 participant