feat: Add Global Datasource configuration application for data-source-properties
Right now this PR allows globally setting values in data-source-properties, via global.datasources.data-source-properties. We find this to be extremely helpful when enforcing organisational standards - for example, providing helm charts which provide these values out of the box which force connection pinning on PostgreSQL via assumeMinServerVersion and forcing the ApplicationName to match the provisioned microservice.
Naturally we could improve this in future to also allow global configuration of other properties rather than just the data-source-properties map, but this is a nice start
Hi @graemerocher , I was wondering if it would be possible to get this merged in at some point? not sure who else to ping to get a review
Instead of the listener you should inject the global conf and apply the settings in the post construct method.