Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Egeria 4.1 #73

Merged
merged 6 commits into from
Jun 28, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
63 changes: 28 additions & 35 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ if (System.getenv("CI")) {
repositories {
mavenCentral()
maven { url("https://oss.sonatype.org/content/repositories/snapshots") }
mavenLocal() // note - this may pick up modified classes from ~/.m2
}

// ensures we pick up the very latest snapshots when built
Expand All @@ -28,43 +27,37 @@ configurations.all {

group = 'org.odpi.egeria'
version = '1.0-SNAPSHOT'

ext.name = 'Strimzi topic integration connector'
ext.name = 'strimzi-topic-integration-connector'
description = 'Strimzi topic integration connector for Egeria'

ext {
egeriaversion = '3.10'
slf4jVersion = '1.7.36'
jacksonVersion = '2.13.3'
jupiterVersion = '5.9.0'
httpclientVersion = '4.5.13'
egeriaVersion = '4.1'
httpClient5Version = '5.2.1'
}
dependencies {

// Only used for build - already present in server chassis at runtime
compileOnly "org.odpi.egeria:audit-log-framework:${egeriaversion}"
compileOnly "org.odpi.egeria:data-manager-api:${egeriaversion}"
// TODO: this is a dependency on an optional connector. validate, document as needed, consider packaging impact

compileOnly "org.odpi.egeria:kafka-open-metadata-topic-connector:${egeriaversion}"
compileOnly "org.odpi.egeria:open-connector-framework:${egeriaversion}"
compileOnly "org.odpi.egeria:repository-services-apis:${egeriaversion}"
compileOnly "org.odpi.egeria:repository-services:${egeriaversion}"
compileOnly "org.odpi.egeria:topic-integrator-api:${egeriaversion}"

// Needed for build and run
implementation "com.fasterxml.jackson.core:jackson-annotations:${jacksonVersion}"
implementation "com.fasterxml.jackson.core:jackson-core:${jacksonVersion}"
implementation "com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}"
implementation "org.apache.httpcomponents:httpclient:${httpclientVersion}"
implementation "org.slf4j:slf4j-api:${slf4jVersion}"
dependencies {
implementation platform("org.odpi.egeria:egeria:${egeriaVersion}")

implementation "org.odpi.egeria:open-connector-framework:${egeriaVersion}"
implementation "org.odpi.egeria:repository-services-apis"
implementation "org.odpi.egeria:data-manager-api"
implementation "org.odpi.egeria:open-integration-framework"
implementation "org.odpi.egeria:topic-integrator-api"
implementation "org.odpi.egeria:audit-log-framework"
implementation "com.fasterxml.jackson.core:jackson-annotations"
implementation "com.fasterxml.jackson.core:jackson-core"
implementation "com.fasterxml.jackson.core:jackson-databind"
implementation "org.apache.httpcomponents.client5:httpclient5:${httpClient5Version}"

compileOnly "org.springframework:spring-web"
compileOnly "org.apache.commons:commons-lang3"

// Only needed to compile test code
testCompileOnly "org.junit.jupiter:junit-jupiter-api:${jupiterVersion}"
testImplementation "org.odpi.egeria:topic-integrator-api:${egeriaversion}"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${jupiterVersion}"

// TODO: Refactor above with custom configurations if cleaner
testCompileOnly "org.junit.jupiter:junit-jupiter-api"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine"
testImplementation "org.mockito:mockito-junit-jupiter"
testImplementation "org.odpi.egeria:connector-configuration-factory"
testImplementation "org.odpi.egeria:fvt-utilities"
dbruns91 marked this conversation as resolved.
Show resolved Hide resolved
}


Expand All @@ -84,17 +77,17 @@ test {

// Maven Central (technically sonatype oss) requires we distribute source and javadoc
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
withJavadocJar()
withSourcesJar()
}

// More Java language settings
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
sourceCompatibility = "11"
targetCompatibility = "11"
sourceCompatibility = "17"
targetCompatibility = "17"
options.incremental = true
options.fork = true
options.failOnError = true
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
org.gradle.parallel=true

# Caching
org.gradle.caching=false
org.gradle.caching=true

# Watch fileystem - disable - too many files swamps OS
org.gradle.vfs.watch=false
org.gradle.vfs.watch=true

# Default logging output
org.gradle.console=auto
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
3 changes: 2 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading