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

Using environment variables in datasource.properties #255

Open
kevynb opened this issue Feb 23, 2015 · 0 comments
Open

Using environment variables in datasource.properties #255

kevynb opened this issue Feb 23, 2015 · 0 comments

Comments

@kevynb
Copy link

kevynb commented Feb 23, 2015

Hello,

until yesterday I was using Resthub 2.0 and I've migrated to Resthub 2.2.
I'm having troubles to get my project working, because up to now, I was using placeholders in my .properties files and they don't seem to work anymore.
My main problem is with the datasource.properties file.

I cannot use the ${VALUE:default} anymore which I was using since the beginning.
They still work in the persistence.properties though.

I figured that the issue might be coming from the util:properties in the boneCPContext instead of using a context:property-placeholder, but I couldn't find how to override this behaviour.

I'm deploying my project with elastic beanstalk and I'm using env variables to set all my db configurations. So i'm kind of stuck right now.

Thank you for your help

Ask me if you need more details

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

1 participant