Closed gauthierj closed 10 years ago
That's actually not the only source we could use to get the validation query. We implemented recently #1282 which reuse the configuration of the datasource Boot builds. #1287 may provide better defaulting.
If that does not work, it means the DataSource
that spring cloud provides does not have a proper DataSourceMetadata
attached to it. Maybe we need an extra DataSourceMetadataProvider
for this case. ping @dsyer
As we discussed offline, you're using 1.1.6 and #1282 is implemented in 1.2. Could you please try with 1.2.0.M1 ?
Yes indeed, it works fine with 1.2.0.M1.
Thanks, regards,
Gauthier
Hi, I've create a Spring-cloud connector for DB2 (see this pull request : https://github.com/spring-cloud/spring-cloud-connectors/pull/87). But Spring-boot actuator does not use the validation query provided by the DataSourceCreator object.
Thanks, regards,
Gauthier