Skip to content

Commit

Permalink
Fix validate failed bug & New emerging vuls.
Browse files Browse the repository at this point in the history
Signed-off-by: Yongchun Chang<yongchunc@vmware.com>
  • Loading branch information
yongchunc authored and changxiaohui committed Jul 31, 2023
1 parent a877f31 commit 03cbcc5
Show file tree
Hide file tree
Showing 14 changed files with 38 additions and 54 deletions.
22 changes: 1 addition & 21 deletions aggregator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.12</version>
<version>2.7.14</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>

Expand Down Expand Up @@ -48,16 +48,6 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
<exclusions>
<exclusion>
<artifactId>netty-common</artifactId>
<groupId>io.netty</groupId>
</exclusion>
<exclusion>
<artifactId>netty-buffer</artifactId>
<groupId>io.netty</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down Expand Up @@ -100,16 +90,6 @@
<version>${junit5.vintage.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-common</artifactId>
<version>4.1.94.Final</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-buffer</artifactId>
<version>4.1.94.Final</version>
</dependency>
<dependency>
<groupId>it.ozimov</groupId>
<artifactId>embedded-redis</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion common-restclient/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.12</version>
<version>2.7.14</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>

Expand Down
46 changes: 25 additions & 21 deletions flowgate-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.12</version>
<version>2.7.14</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>

Expand Down Expand Up @@ -60,16 +60,6 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
<exclusions>
<exclusion>
<artifactId>netty-common</artifactId>
<groupId>io.netty</groupId>
</exclusion>
<exclusion>
<artifactId>netty-buffer</artifactId>
<groupId>io.netty</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down Expand Up @@ -204,16 +194,6 @@
<artifactId>commons-jexl3</artifactId>
<version>3.1</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-common</artifactId>
<version>4.1.94.Final</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-buffer</artifactId>
<version>4.1.94.Final</version>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
Expand All @@ -225,6 +205,30 @@
<artifactId>tomcat-embed-core</artifactId>
<version>${tomcat-embed-core.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-core</artifactId>
<version>2.3.0.1</version>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.1</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.3.1</version>
</dependency>
<dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.29.2-GA</version>
</dependency>
</dependencies>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class VRopsAuth {
public VRopsAuth(SDDCSoftwareConfig config) {
String url = String.format("https://%s/suite-api", config.getServerURL());
this.client = ClientConfig.builder()
.useJson().serverUrl(url).verify(String.valueOf(config.isVerifyCert()))
.useJson().serverUrl(url).verify(String.valueOf(config.isVerifyCert())).useClusterTruststore(true)
.ignoreHostName(!config.isVerifyCert()).useInternalApis(false).build().newClient();
UsernamePassword up = new UsernamePassword(config.getUserName(), config.getPassword());
AuthToken token = client.userAndAuthManagementClient().acquireToken(up);
Expand Down
2 changes: 1 addition & 1 deletion flowgate-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-commons</artifactId>
<version>2.7.12</version>
<version>2.7.14</version>
</dependency>
</dependencies>
<build>
Expand Down
2 changes: 1 addition & 1 deletion infoblox-worker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.12</version>
<version>2.7.14</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>

Expand Down
2 changes: 1 addition & 1 deletion labsdb-worker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.12</version>
<version>2.7.14</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>

Expand Down
2 changes: 1 addition & 1 deletion management/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.12</version>
<version>2.7.14</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion nlyte-worker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.12</version>
<version>2.7.14</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>

Expand Down
2 changes: 1 addition & 1 deletion openmanage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.12</version>
<version>2.7.14</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>

Expand Down
2 changes: 1 addition & 1 deletion poweriq-worker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.12</version>
<version>2.7.14</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>

Expand Down
2 changes: 1 addition & 1 deletion vc-worker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.12</version>
<version>2.7.14</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>

Expand Down
2 changes: 1 addition & 1 deletion vro-worker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.12</version>
<version>2.7.14</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>

Expand Down
2 changes: 1 addition & 1 deletion worker-jobs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.12</version>
<version>2.7.14</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>

Expand Down

0 comments on commit 03cbcc5

Please sign in to comment.