Add Oracle driver to timestamp apps

- Bumps version of timestamp-task and timestamp-batch to 2.0.1
This commit is contained in:
David Turanski
2022-03-30 14:22:11 -04:00
committed by GitHub
parent 4f840f9b66
commit 3bb4b54977
3 changed files with 30 additions and 4 deletions

View File

@@ -277,7 +277,7 @@ jobs:
docker-username: ${{ secrets.DOCKERHUB_USERNAME }}
docker-password: ${{ secrets.DOCKERHUB_TOKEN }}
docker-images: >-
springcloudtask/timestamp-task:2.0.0
springcloudtask/timestamp-task:2.0.1
timestamp-batch:
runs-on: ubuntu-latest
@@ -293,4 +293,4 @@ jobs:
docker-username: ${{ secrets.DOCKERHUB_USERNAME }}
docker-password: ${{ secrets.DOCKERHUB_TOKEN }}
docker-images: >-
springcloudtask/timestamp-batch-task:2.0.0
springcloudtask/timestamp-batch-task:2.0.1

View File

@@ -10,13 +10,14 @@
</parent>
<groupId>io.spring</groupId>
<artifactId>timestamp-batch-task</artifactId>
<version>2.0.0</version>
<version>2.0.1</version>
<name>timestamp-task</name>
<description>Simple Timestamp sample.</description>
<properties>
<java.version>8</java.version>
<spring-cloud.version>2021.0.0</spring-cloud.version>
<oracle-jdbc.version>21.1.0.0</oracle-jdbc.version>
</properties>
<dependencies>
@@ -34,6 +35,11 @@
<artifactId>postgresql</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc8</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.mariadb.jdbc</groupId>
<artifactId>mariadb-java-client</artifactId>
@@ -65,6 +71,13 @@
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc-bom</artifactId>
<version>${oracle-jdbc.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>

View File

@@ -10,13 +10,14 @@
</parent>
<groupId>io.spring</groupId>
<artifactId>timestamp-task</artifactId>
<version>2.0.0</version>
<version>2.0.1</version>
<name>timestamp-task</name>
<description>Simple Timestamp sample.</description>
<properties>
<java.version>8</java.version>
<spring-cloud.version>2021.0.0</spring-cloud.version>
<oracle-jdbc.version>21.1.0.0</oracle-jdbc.version>
</properties>
<dependencies>
@@ -34,6 +35,11 @@
<artifactId>postgresql</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc8</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.mariadb.jdbc</groupId>
<artifactId>mariadb-java-client</artifactId>
@@ -56,6 +62,13 @@
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc-bom</artifactId>
<version>${oracle-jdbc.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>