mirror of
https://github.com/danieldemus/openhab-addons
synced 2026-07-29 12:34:21 +02:00
[timescaledb] Upgrade libraries and make Docker test optional (#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>
This commit is contained in:
@@ -15,9 +15,9 @@
|
||||
<name>openHAB Add-ons :: Bundles :: Persistence Service :: TimescaleDB</name>
|
||||
|
||||
<properties>
|
||||
<bnd.importpackage>!com.codahale.metrics.*,!io.prometheus.*,!org.checkerframework.*,!org.jetbrains.annotations.*,!org.hibernate.*,!waffle.windows.auth.*,!org.osgi.service.jdbc.*,!com.sun.jna.*,!javassist.*,!com.google.errorprone.annotations.*,!sun.misc.*</bnd.importpackage>
|
||||
<postgresql.version>42.7.9</postgresql.version>
|
||||
<hikari.version>5.1.0</hikari.version>
|
||||
<bnd.importpackage>!io.dropwizard.metrics5.*,!com.codahale.metrics.*,!io.prometheus.*,!org.checkerframework.*,!org.jetbrains.annotations.*,!org.hibernate.*,!waffle.windows.auth.*,!org.osgi.service.jdbc.*,!com.sun.jna.*,!javassist.*,!com.google.errorprone.annotations.*,!sun.misc.*</bnd.importpackage>
|
||||
<postgresql.version>42.7.11</postgresql.version>
|
||||
<hikari.version>7.0.2</hikari.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
@@ -45,13 +45,13 @@
|
||||
<dependency>
|
||||
<groupId>org.testcontainers</groupId>
|
||||
<artifactId>testcontainers-postgresql</artifactId>
|
||||
<version>2.0.3</version>
|
||||
<version>2.0.5</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.testcontainers</groupId>
|
||||
<artifactId>testcontainers-junit-jupiter</artifactId>
|
||||
<version>2.0.3</version>
|
||||
<version>2.0.5</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
+1
-1
@@ -90,7 +90,7 @@ import com.zaxxer.hikari.HikariDataSource;
|
||||
* @author René Ulbricht - Initial contribution
|
||||
*/
|
||||
@Tag("integration")
|
||||
@Testcontainers
|
||||
@Testcontainers(disabledWithoutDocker = true)
|
||||
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
|
||||
@NonNullByDefault({ DefaultLocation.RETURN_TYPE, DefaultLocation.PARAMETER })
|
||||
@SuppressWarnings("null")
|
||||
|
||||
Reference in New Issue
Block a user