Problem with configuration and environment variables after updating to grails 3.3.3 #130
Comments
Hi, NavigableMapConfig.groovy from
Please fix this issue so the values provided in |
Also having this issue |
Encountered same issue with "port" config colliding with environment variable set by Heroku, preventing deployment of grails applications greater than 3.3.2 |
Were you able to find any workarounds other than downgrading grails to 3.3.2 ? |
Hi @budjb , could you please review my PR, it adds internal prefix Thanks for this plugin and thanks for reviewing my PR. Gevorg |
[#130]: Added rabbitmq prefix, to avoid conflicts with environment variables.
Hi,
I've updated to Grails 3.3.3 recently and started getting problems with this plugin.
According to grails/grails-core@65f7bc6, Grails now gives more priority to environment variables than
application.yml
configuration. That's a good thing I guess.The problem I have with this plugin right now is that it doesn't use the prefix
rabbitmq.connections
withusername
,password
, etc params (https://github.com/budjb/grails-rabbitmq-native/blob/grails-3.x/rabbitmq-native/src/main/groovy/com/budjb/rabbitmq/connection/ConnectionConfigurationImpl.groovy#L126) and I need ausername
environment variable (with different value) in my server. Sousername
environment variable is overriding theusername
rabbitmq configution.I think the best approach to avoid this is using
rabbitmq.connections.username
instead of justusername
, so no conflicts will happen againThe text was updated successfully, but these errors were encountered: