Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 17 ]
java-version: [ 21 ]
fail-fast: false

steps:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Gradle
.gradle
build
bin
local.properties
reports
secring.gpg
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ Maven:
<dependency>
<groupId>com.opendxl</groupId>
<artifactId>dxldatabusclient</artifactId>
<version>2.6.0</version>
<version>2.7.0</version>
</dependency>
```
or Gradle:
```groovy
compile 'com.opendxl:dxldatabusclient:2.6.0'
compile 'com.opendxl:dxldatabusclient:2.7.0'
```

## Bugs and Feedback
Expand Down
65 changes: 32 additions & 33 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ plugins {
}

group 'com.opendxl'
version = '2.6.0'
version = '2.7.0'

apply plugin: 'base'
apply plugin: 'java'
Expand All @@ -38,19 +38,18 @@ dependencyCheck {
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
languageVersion = JavaLanguageVersion.of(21)
}
}
jacoco {
toolVersion = "0.8.8"
reportsDir = file("$buildDir/reports/coverage")
toolVersion = "0.8.11"
}

jacocoTestReport {
reports {
xml.enabled false
csv.enabled false
html.destination file("$buildDir/reports/coverage")
xml.required.set(false)
csv.required.set(false)
html.outputLocation.set(file("$buildDir/reports/coverage"))
}
}

Expand All @@ -63,33 +62,31 @@ configurations {
}

dependencies {
implementation ('org.apache.kafka:kafka-clients:3.8.0') {
implementation ('org.apache.kafka:kafka-clients:3.8.1') {
exclude group: 'org.scala-lang', module: 'scala-reflect'
exclude group: 'org.lz4', module: 'lz4-java'
exclude group: 'org.xerial.snappy', module: 'snappy-java'
}
implementation ('org.apache.kafka:kafka-streams:3.8.0') {
implementation ('org.apache.kafka:kafka-streams:3.8.1') {
exclude group: 'org.scala-lang', module: 'scala-reflect'
}
implementation group: 'org.xerial.snappy', name: 'snappy-java', version: '1.1.10.5'
implementation 'org.scala-lang:scala-reflect:2.13.9'
implementation 'org.scala-lang:scala-library:2.13.9'
implementation 'org.lz4:lz4-java:1.8.0'
implementation 'org.apache.avro:avro:1.11.3'
implementation 'org.apache.avro:avro:1.12.0'
implementation 'com.google.code.gson:gson:2.8.9'
implementation 'org.apache.commons:commons-configuration2:2.11.0'
implementation 'commons-lang:commons-lang:2.6'
implementation 'org.slf4j:slf4j-api:1.7.36'
implementation 'net.sf.jopt-simple:jopt-simple:5.0.4'
testImplementation('org.apache.kafka:kafka_2.13:3.8.0') {
testImplementation('org.apache.kafka:kafka_2.13:3.8.1') {
exclude group: 'org.scala-lang', module: 'scala-reflect'
exclude group: 'org.xerial.snappy', module: 'snappy-java'
}
testImplementation 'org.scala-lang:scala-reflect:2.13.9'
testImplementation 'org.apache.zookeeper:zookeeper:3.6.4'
testImplementation('io.netty:netty-all:4.1.112.Final') {
force = true
}
testImplementation 'org.apache.zookeeper:zookeeper:3.9.3'
testImplementation enforcedPlatform('io.netty:netty-all:4.1.118.Final')
testImplementation 'commons-io:commons-io:2.11.0'
testImplementation 'junit:junit:4.13.2'
testImplementation 'com.github.stefanbirkner:system-rules:1.19.0'
Expand Down Expand Up @@ -119,18 +116,16 @@ dependencies {
// http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2019-16942
// http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2019-16943
// CVE-2020-25649
implementation 'com.fasterxml.jackson.module:jackson-module-scala_3:2.14.2'
kafkaInMemory ('com.fasterxml.jackson.core:jackson-databind:2.16.1') {
force = true
}
implementation 'com.fasterxml.jackson.module:jackson-module-scala_3:2.15.0'
kafkaInMemory ('com.fasterxml.jackson.core:jackson-databind:2.16.1')

// http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2019-12402
kafkaInMemory ('org.apache.commons:commons-compress:1.27.0') {
force = true
}
implementation ('org.apache.commons:commons-compress:1.27.0') {
force = true
}
kafkaInMemory enforcedPlatform('org.apache.commons:commons-compress:1.27.0')
kafkaInMemory 'org.apache.commons:commons-compress'

implementation enforcedPlatform('org.apache.commons:commons-compress:1.27.0')
implementation 'org.apache.commons:commons-compress'

}

repositories {
Expand All @@ -149,7 +144,6 @@ jar {

// Task for creating a jar with the source files
task sourceJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
archiveClassifier.set('sources')
duplicatesStrategy = DuplicatesStrategy.EXCLUDE // Handle duplicates
Expand All @@ -165,7 +159,7 @@ publishing {

// Task for creating a jar with JavaDoc
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
archiveClassifier.set('javadoc')
from javadoc.destinationDir
}

Expand Down Expand Up @@ -200,9 +194,12 @@ distributions {
from(configurations.compileClasspath) {
into("lib/3rdparty")
}
from(sphinx) {
into('doc')
}
//Since sphinx task is temporarily disabled, this has been commented out
// as the document is not generated.

// from(sphinx) {
// into('doc')
// }
from('sample') {
into 'sample'
}
Expand Down Expand Up @@ -276,8 +273,6 @@ task versionFile() {
checkstyle {
sourceSets = []
toolVersion '8.39'


}

publishing {
Expand Down Expand Up @@ -306,6 +301,10 @@ publishing {
}
}

tasks.withType(GenerateModuleMetadata) {
enabled = false
}

from components.java

artifact(sourceJar) {
Expand Down Expand Up @@ -358,5 +357,5 @@ signing {sign publishing.publications.maven}
check.dependsOn dependencyCheckAnalyze
distZip.dependsOn javadocJar
distZip.dependsOn sourceJar
sphinx.dependsOn(versionFile)
check.dependsOn dependencyCheckAnalyze
assemble.dependsOn(replaceVersionInREADME)
8 changes: 4 additions & 4 deletions docs/CLI-Example.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ library with no arguments displays help information:

::

$ java -jar dxldatabusclient-2.6.0.jar
$ java -jar dxldatabusclient-2.7.0.jar

ERROR: There are not options
Option (* = required) Description
Expand Down Expand Up @@ -50,7 +50,7 @@ few CLI operations. Operations arguments are placed after

::

$ java -jar dxldatabusclient-2.6.0.jar --operation <OPERATION_ARGUMENT> ...
$ java -jar dxldatabusclient-2.7.0.jar --operation <OPERATION_ARGUMENT> ...

Operation Arguments
^^^^^^^^^^^^^^^^^^^
Expand Down Expand Up @@ -123,7 +123,7 @@ example

::

$ java -jar dxldatabusclient-2.6.0.jar \
$ java -jar dxldatabusclient-2.7.0.jar \
--operation produce \
--to-topic <TOPIC_NAME> \
--brokers <0.0.0.0>:<PORT> \
Expand Down Expand Up @@ -230,7 +230,7 @@ example

::

java -jar dxldatabusclient-2.6.0.jar \
java -jar dxldatabusclient-2.7.0.jar \
--operation consume \
--from-topic <TOPIC_1,TOPIC_2,...,TOPIC_N> \
--brokers <BROKER_1_IP:BROKER_1_PORT,BROKER_2_PORT:BROKER_2_PORT,...> \
Expand Down
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ Maven:
<dependency>
<groupId>com.opendxl</groupId>
<artifactId>dxldatabusclient</artifactId>
<version>2.6.0</version>
<version>2.7.0</version>
</dependency>

or Gradle:

.. code:: groovy

compile 'com.opendxl:dxldatabusclient:2.6.0'
compile 'com.opendxl:dxldatabusclient:2.7.0'

API Documentation
-----------------
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=2.6.0
version=2.7.0
5 changes: 3 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#Thu Aug 22 13:18:26 ART 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-all.zip