[timescaledb] Upgrade libraries and make Docker test optional - #20721
Conversation
holgerfriedrich
commented
May 13, 2026
- Upgrade postgresql from 42.7.9 to 42.7.11
- Upgrade hikari from 5.1.0 to 7.0.2 (lifting req. to Java 11)
- Make Docker test optional to avoid failure if Docker is not available
- Small adaptions
* Upgrade postgresql from 42.7.9 to 42.7.11 * Upgrade hikari from 5.1.0 to 7.0.2 (lifting req. to Java 11) * Make Docker test optional to avoid failure if Docker is not available * Small adaptions Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
There was a problem hiding this comment.
Thanks LGTM
Awaiting upload to jfrog (@florian-h05)
lsiepel
left a comment
There was a problem hiding this comment.
I would also expect the feature.xml to be update similar to
https://github.com/openhab/openhab-addons/pull/20722/changes
I don't think so. It seems the design decision for timescaledb was to embed the driver into the binding jar. Looking at the pom, all runtime dependencies seem to be pulled in using scope Overall it seems we drift away from sharing libs (OSGI bundles) to embedding them per binding. |
|
Yes, we could change it to |
|
Ok, I have to adapt my comment above: The OSGI packages mentioned above are a different topic. DB drivers are probably not OSGI packages. |
|
I‘ve uploaded Hikari to JFrog, so you can OSGi-ify this dependency if you want. |
| <groupId>org.postgresql</groupId> | ||
| <artifactId>postgresql</artifactId> | ||
| <version>${postgresql.version}</version> | ||
| <scope>compile</scope> |
There was a problem hiding this comment.
Was not talking about hikari, not sure if that is used elsewhere. Was mainly talking about postgresql:
There was a problem hiding this comment.
| <scope>provided</scope> |
There was a problem hiding this comment.
the suggestion seems to be at some wrong line... compiled => provided
There was a problem hiding this comment.
I am not sure if I like to do this change. Timescaledb is installed per default and I don't want to complicate things now.
There was a problem hiding this comment.
Not sure what you mean by per default. It is just a add-on like any other. I'll create a seperate PR to make use of the osgi feature sharing
|
@lsiepel I had somehow in mind that timescale is installed by the setup wizard. That's not the case.... Sorry for the confusion. |
…b#20721) * Upgrade postgresql from 42.7.9 to 42.7.11 * Upgrade hikari from 5.1.0 to 7.0.2 (lifting req. to Java 11) * Make Docker test optional to avoid failure if Docker is not available * Small adaptions Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
…b#20721) * Upgrade postgresql from 42.7.9 to 42.7.11 * Upgrade hikari from 5.1.0 to 7.0.2 (lifting req. to Java 11) * Make Docker test optional to avoid failure if Docker is not available * Small adaptions Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
…b#20721) * Upgrade postgresql from 42.7.9 to 42.7.11 * Upgrade hikari from 5.1.0 to 7.0.2 (lifting req. to Java 11) * Make Docker test optional to avoid failure if Docker is not available * Small adaptions Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
…b#20721) * Upgrade postgresql from 42.7.9 to 42.7.11 * Upgrade hikari from 5.1.0 to 7.0.2 (lifting req. to Java 11) * Make Docker test optional to avoid failure if Docker is not available * Small adaptions Signed-off-by: Holger Friedrich <mail@holger-friedrich.de> Signed-off-by: olemr <olemr@olemr.com>
…b#20721) * Upgrade postgresql from 42.7.9 to 42.7.11 * Upgrade hikari from 5.1.0 to 7.0.2 (lifting req. to Java 11) * Make Docker test optional to avoid failure if Docker is not available * Small adaptions Signed-off-by: Holger Friedrich <mail@holger-friedrich.de> Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>