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

How do I get route config json in java? #679

Open
sss0350 opened this issue Apr 21, 2018 · 1 comment
Open

How do I get route config json in java? #679

sss0350 opened this issue Apr 21, 2018 · 1 comment

Comments

@sss0350
Copy link

sss0350 commented Apr 21, 2018

Hi there,
I'm trying to separate my configuration variables from code , and want to put it on routes config.
My route config was like this:
{
.....
"config": { "XXX_DB" : "1234567"}
....
}
I thought I can get XXX_DB by env variable in my java code , but I print all my env variables , I just can't find it. Anyone knows how to get this config values?

@c0ze
Copy link
Contributor

c0ze commented Jun 18, 2018

hello @sss0350 , sorry for taking time to get to this. Were you able to get config vars ?

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

No branches or pull requests

2 participants