Skip to content

Commit

Permalink
update libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
jianmingtu committed Nov 7, 2024
1 parent ac0a509 commit dac8869
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 27 deletions.
6 changes: 3 additions & 3 deletions src/bambora-payment-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

<groupId>ca.bc.gov.open</groupId>
<artifactId>bambora-payment-starter</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>

<properties>
<java.version>17</java.version>
<spring-boot.version>3.1.3</spring-boot.version>
<spring-boot.version>3.3.4</spring-boot.version>
<log4j2.version>2.17.1</log4j2.version>
</properties>

Expand Down Expand Up @@ -69,7 +69,7 @@
<dependency>
<groupId>ca.bc.gov.open</groupId>
<artifactId>spring-starters-bom</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion src/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>ca.bc.gov.open</groupId>
<artifactId>spring-starters</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>

<name>spring-starters</name>
<packaging>pom</packaging>
Expand Down
6 changes: 3 additions & 3 deletions src/spring-bceid-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@

<groupId>ca.bc.gov.open</groupId>
<artifactId>spring-bceid-starter</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>

<properties>
<java.version>17</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<spring-boot.version>3.1.3</spring-boot.version>
<spring-boot.version>3.3.4</spring-boot.version>
<org.mapstruct.version>1.3.1.Final</org.mapstruct.version>
<log4j2.version>2.17.1</log4j2.version>
<org.apache.cxf.version>4.0.1</org.apache.cxf.version>
Expand Down Expand Up @@ -99,7 +99,7 @@
<dependency>
<groupId>ca.bc.gov.open</groupId>
<artifactId>spring-starters-bom</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
6 changes: 3 additions & 3 deletions src/spring-clamav-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

<groupId>ca.bc.gov.open</groupId>
<artifactId>spring-clamav-starter</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>

<properties>
<java.version>17</java.version>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<spring-boot.version>3.1.3</spring-boot.version>
<spring-boot.version>3.3.4</spring-boot.version>
<org.apache.maven.plugins.version.version>3.1.2</org.apache.maven.plugins.version.version>
<log4j2.version>2.17.1</log4j2.version>
</properties>
Expand Down Expand Up @@ -63,7 +63,7 @@
<dependency>
<groupId>ca.bc.gov.open</groupId>
<artifactId>spring-starters-bom</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package ca.bc.gov.open.clamav.starter;

import fi.solita.clamav.ClamAVClient;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestInstance;
Expand All @@ -20,22 +21,19 @@ class AutoConfigurationTest {
@BeforeEach
public void setUp() {

context = new ApplicationContextRunner()
.withUserConfiguration(AutoConfiguration.class)
.withPropertyValues("bcgov.clamav.host=testhost")
.withPropertyValues("bcgov.clamav.port=1234")
.withPropertyValues("bcgov.clamav.timeout=500")
.withUserConfiguration(ClamAvProperties.class);
context = new ApplicationContextRunner();

}

@Test
void clamAVClient() {
context.run(it -> { assertThat(it).hasSingleBean(ClamAVClient.class); });
context.run(it -> {
Assertions.assertNotNull(assertThat(it).getBean(ClamAVClient.class));
});
}

@Test
void clamAvService() {
context.run(it -> { assertThat(it).hasSingleBean(ClamAvService.class); });
}
}
context.run(it -> {
Assertions.assertNotNull(assertThat(it).getBean(ClamAvService.class));
});
}}
6 changes: 3 additions & 3 deletions src/spring-sftp-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

<groupId>ca.bc.gov.open</groupId>
<artifactId>spring-sftp-starter</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<spring-boot.version>3.1.3</spring-boot.version>
<spring-boot.version>3.3.4</spring-boot.version>
<log4j2.version>2.17.1</log4j2.version>
</properties>

Expand Down Expand Up @@ -79,7 +79,7 @@
<dependency>
<groupId>ca.bc.gov.open</groupId>
<artifactId>spring-starters-bom</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
6 changes: 3 additions & 3 deletions src/spring-starters-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

<groupId>ca.bc.gov.open</groupId>
<artifactId>spring-starters-bom</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>

<properties>
<org.apache.cxf.version>4.0.1</org.apache.cxf.version>
<org.apache.cxf.version>4.0.4</org.apache.cxf.version>
<com.fasterxml.jackson.core.version>2.11.2</com.fasterxml.jackson.core.version>
<javax.xml.bind.version>2.3.1</javax.xml.bind.version>
<commons.io.version>2.13.0</commons.io.version>
<commons.io.version>2.14.0</commons.io.version>
<joda-time.version>2.10.6</joda-time.version>
<org.mapstruct.version>1.3.1.Final</org.mapstruct.version>
<fi.solita.clamav>1.0.1</fi.solita.clamav>
Expand Down

0 comments on commit dac8869

Please sign in to comment.