Skip to content

Commit 3d00a76

Browse files
Release 0.7.x release
1. Updated Strimzi Oauth common version to 0.8.1 2. Updated kafka version to 2.8.0 3. Fixing vulnerabilities highlighted by github scan
1 parent 7292aff commit 3d00a76

File tree

4 files changed

+11
-36
lines changed

4 files changed

+11
-36
lines changed

ncds-sdk/pom.xml

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -7,37 +7,25 @@
77
<parent>
88
<groupId>com.nasdaq.ncds</groupId>
99
<artifactId>ncds</artifactId>
10-
<version>0.6.0</version>
10+
<version>0.7.0</version>
1111
</parent>
1212

1313
<artifactId>ncds-sdk</artifactId>
1414
<packaging>jar</packaging>
1515
<properties>
1616
<kafkaScalaVersion>kafka_2.12</kafkaScalaVersion>
17-
<junit5.version>5.6.2</junit5.version>
17+
<junit5.version>5.7.2</junit5.version>
1818
<junit5PlatformProvider.version>1.3.2</junit5PlatformProvider.version>
1919
<curatorTestVersion>2.12.0</curatorTestVersion>
2020
<slf4jVersion>1.7.30</slf4jVersion>
2121
<surefire.version>2.22.2</surefire.version>
22+
<strimzi.oauth.version>0.8.1</strimzi.oauth.version>
2223
</properties>
2324

2425
<name>SDK</name>
2526
<description>Provide Development Kit to connect with Kafka</description>
2627

2728
<dependencies>
28-
<!-- Apache https for getting certificate -->
29-
30-
<dependency>
31-
<groupId>org.apache.httpcomponents</groupId>
32-
<artifactId>httpclient</artifactId>
33-
<version>4.5.10</version>
34-
</dependency>
35-
36-
<dependency>
37-
<groupId>commons-io</groupId>
38-
<artifactId>commons-io</artifactId>
39-
<version>2.5</version>
40-
</dependency>
4129

4230
<!-- https://mvnrepository.com/artifact/org.json/json -->
4331
<dependency>
@@ -50,8 +38,7 @@
5038
<dependency>
5139
<groupId>io.strimzi</groupId>
5240
<artifactId>kafka-oauth-common</artifactId>
53-
<version>0.6.0</version>
54-
<scope>compile</scope>
41+
<version>${strimzi.oauth.version}</version>
5542
</dependency>
5643

5744
<!-- Testing -->
@@ -78,7 +65,7 @@
7865
<dependency>
7966
<groupId>com.salesforce.kafka.test</groupId>
8067
<artifactId>kafka-junit-core</artifactId>
81-
<version>3.2.2</version>
68+
<version>3.2.3</version>
8269
<scope>test</scope>
8370
</dependency>
8471

@@ -135,13 +122,6 @@
135122
<scope>test</scope>
136123
</dependency>
137124

138-
<dependency>
139-
<groupId>com.h2database</groupId>
140-
<artifactId>h2</artifactId>
141-
<version>1.3.176</version>
142-
<scope>test</scope>
143-
</dependency>
144-
145125
</dependencies>
146126

147127
<build>

ncds-sdk/src/test/java/com/nasdaq/ncdsclient/core/controlevent/StreamInitiated.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package com.nasdaq.ncdsclient.core.controlevent;
22

33
import org.apache.avro.Schema;
4-
import org.h2.util.StringUtils;
54

65
import java.time.LocalDate;
76
import java.util.Date;
@@ -61,11 +60,6 @@ public Schema getMessageSchema() {
6160
return messageSchema;
6261
}
6362

64-
public boolean isSameStreamForDate(final StreamInitiated other) {
65-
return StringUtils.equals(this.name, other.name)
66-
&& this.referenceDate.equals(other.referenceDate);
67-
}
68-
6963
@Override
7064
public boolean equals(Object o) {
7165
if (this == o) return true;

ncdssdk-client/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@
77
<parent>
88
<groupId>com.nasdaq.ncds</groupId>
99
<artifactId>ncds</artifactId>
10-
<version>0.6.0</version>
10+
<version>0.7.0</version>
1111
</parent>
1212

1313
<artifactId>ncdssdk-client</artifactId>
1414
<packaging>jar</packaging>
15+
1516
<name>Client</name>
1617
<description>Provide example client to interact with data</description>
1718

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>com.nasdaq.ncds</groupId>
77
<artifactId>ncds</artifactId>
8-
<version>0.6.0</version>
8+
<version>0.7.0</version>
99
<packaging>pom</packaging>
1010
<name>Nasdaq Cloud Data Service </name>
1111

@@ -16,7 +16,8 @@
1616

1717
<properties>
1818
<avro.version>1.8.2</avro.version>
19-
<kafka.version>2.6.0</kafka.version>
19+
<kafka.version>2.8.0</kafka.version>
20+
<strimzi.oauth.version>0.8.1</strimzi.oauth.version>
2021
<checkstyle.skip>true</checkstyle.skip>
2122
</properties>
2223

@@ -40,10 +41,9 @@
4041
<dependency>
4142
<groupId>io.strimzi</groupId>
4243
<artifactId>kafka-oauth-client</artifactId>
43-
<version>0.6.0</version>
44+
<version>${strimzi.oauth.version}</version>
4445
</dependency>
4546

46-
4747
<dependency>
4848
<groupId>org.slf4j</groupId>
4949
<artifactId>slf4j-log4j12</artifactId>

0 commit comments

Comments
 (0)