From 3d00a76810b0cbe74597e7ca8afd3b6d879572b0 Mon Sep 17 00:00:00 2001
From: Ruchir Vani <32844383+ruchirvaninasdaq@users.noreply.github.com>
Date: Mon, 7 Mar 2022 14:45:22 -0500
Subject: [PATCH] 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
---
ncds-sdk/pom.xml | 30 ++++---------------
.../core/controlevent/StreamInitiated.java | 6 ----
ncdssdk-client/pom.xml | 3 +-
pom.xml | 8 ++---
4 files changed, 11 insertions(+), 36 deletions(-)
diff --git a/ncds-sdk/pom.xml b/ncds-sdk/pom.xml
index b0671e0..8af6ffe 100644
--- a/ncds-sdk/pom.xml
+++ b/ncds-sdk/pom.xml
@@ -7,37 +7,25 @@
com.nasdaq.ncds
ncds
- 0.6.0
+ 0.7.0
ncds-sdk
jar
kafka_2.12
- 5.6.2
+ 5.7.2
1.3.2
2.12.0
1.7.30
2.22.2
+ 0.8.1
SDK
Provide Development Kit to connect with Kafka
-
-
-
- org.apache.httpcomponents
- httpclient
- 4.5.10
-
-
-
- commons-io
- commons-io
- 2.5
-
@@ -50,8 +38,7 @@
io.strimzi
kafka-oauth-common
- 0.6.0
- compile
+ ${strimzi.oauth.version}
@@ -78,7 +65,7 @@
com.salesforce.kafka.test
kafka-junit-core
- 3.2.2
+ 3.2.3
test
@@ -135,13 +122,6 @@
test
-
- com.h2database
- h2
- 1.3.176
- test
-
-
diff --git a/ncds-sdk/src/test/java/com/nasdaq/ncdsclient/core/controlevent/StreamInitiated.java b/ncds-sdk/src/test/java/com/nasdaq/ncdsclient/core/controlevent/StreamInitiated.java
index 483580f..1e75246 100644
--- a/ncds-sdk/src/test/java/com/nasdaq/ncdsclient/core/controlevent/StreamInitiated.java
+++ b/ncds-sdk/src/test/java/com/nasdaq/ncdsclient/core/controlevent/StreamInitiated.java
@@ -1,7 +1,6 @@
package com.nasdaq.ncdsclient.core.controlevent;
import org.apache.avro.Schema;
-import org.h2.util.StringUtils;
import java.time.LocalDate;
import java.util.Date;
@@ -61,11 +60,6 @@ public Schema getMessageSchema() {
return messageSchema;
}
- public boolean isSameStreamForDate(final StreamInitiated other) {
- return StringUtils.equals(this.name, other.name)
- && this.referenceDate.equals(other.referenceDate);
- }
-
@Override
public boolean equals(Object o) {
if (this == o) return true;
diff --git a/ncdssdk-client/pom.xml b/ncdssdk-client/pom.xml
index 8cf7847..c4ac94b 100644
--- a/ncdssdk-client/pom.xml
+++ b/ncdssdk-client/pom.xml
@@ -7,11 +7,12 @@
com.nasdaq.ncds
ncds
- 0.6.0
+ 0.7.0
ncdssdk-client
jar
+
Client
Provide example client to interact with data
diff --git a/pom.xml b/pom.xml
index 43d6833..bc6da82 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
4.0.0
com.nasdaq.ncds
ncds
- 0.6.0
+ 0.7.0
pom
Nasdaq Cloud Data Service
@@ -16,7 +16,8 @@
1.8.2
- 2.6.0
+ 2.8.0
+ 0.8.1
true
@@ -40,10 +41,9 @@
io.strimzi
kafka-oauth-client
- 0.6.0
+ ${strimzi.oauth.version}
-
org.slf4j
slf4j-log4j12