diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml index 26136e3..bb48353 100644 --- a/.github/workflows/pr-build.yml +++ b/.github/workflows/pr-build.yml @@ -9,16 +9,21 @@ on: jobs: build: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: # Set fetch-depth: 0 to fetch commit history and tags for use in version calculation - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{github.event.pull_request.head.ref}} repository: ${{github.event.pull_request.head.repo.full_name}} fetch-depth: 0 + - uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '11' + - name: Build with Gradle uses: hypertrace/github-actions/gradle@main with: diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml index 7ad6d10..e43917a 100644 --- a/.github/workflows/pr-test.yml +++ b/.github/workflows/pr-test.yml @@ -7,14 +7,19 @@ on: jobs: test: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: # Set fetch-depth: 0 to fetch commit history and tags for use in version calculation - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 + - uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '11' + - name: Unit test uses: hypertrace/github-actions/gradle@main with: @@ -46,7 +51,13 @@ jobs: files: ./**/build/test-results/**/*.xml dependency-check: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: + - uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '11' - name: Dependency Check uses: hypertrace/github-actions/dependency-check@main + with: + nvd-api-key: ${{ secrets.NVD_API_KEY }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 079bc0a..f6a5dab 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,11 +8,11 @@ on: jobs: publish-artifacts: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: # Set fetch-depth: 0 to fetch commit history and tags for use in version calculation - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -21,6 +21,6 @@ jobs: with: args: publish env: - ORG_GRADLE_PROJECT_artifactory_contextUrl: ${{ secrets.ARTIFACTORY_CONTEXT_URL }} - ORG_GRADLE_PROJECT_artifactory_user: ${{ secrets.ARTIFACTORY_PUBLISH_USER }} - ORG_GRADLE_PROJECT_artifactory_password: ${{ secrets.ARTIFACTORY_PUBLISH_TOKEN }} + ORG_GRADLE_PROJECT_maven_repo_url: ${{ secrets.HAR_REPO_URL }} + ORG_GRADLE_PROJECT_maven_user: ${{ secrets.HAR_PUBLISH_USER }} + ORG_GRADLE_PROJECT_maven_password: ${{ secrets.HAR_PUBLISH_TOKEN }} diff --git a/README.md b/README.md index 11672c9..95f3c04 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # Kafka streams application framework ###### org.hypertrace.core.kafkastreams.framework -[![CircleCI](https://circleci.com/gh/hypertrace/kafka-streams-framework.svg?style=svg)](https://circleci.com/gh/hypertrace/kafka-streams-framework) - A library to create kafka streams based applications (services) diff --git a/build.gradle.kts b/build.gradle.kts index c06ab13..e7cc1d5 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -2,13 +2,13 @@ import org.hypertrace.gradle.publishing.HypertracePublishExtension import org.hypertrace.gradle.publishing.License plugins { - id("org.hypertrace.repository-plugin") version "0.4.2" - id("org.hypertrace.ci-utils-plugin") version "0.3.2" - id("org.hypertrace.avro-plugin") version "0.4.0" apply false - id("org.hypertrace.publish-plugin") version "1.0.5" apply false - id("org.hypertrace.jacoco-report-plugin") version "0.2.1" apply false - id("org.hypertrace.code-style-plugin") version "2.0.0" apply false - id("org.owasp.dependencycheck") version "8.2.1" + id("org.hypertrace.repository-plugin") version "0.5.0" + id("org.hypertrace.ci-utils-plugin") version "0.4.0" + id("org.hypertrace.avro-plugin") version "0.5.1" apply false + id("org.hypertrace.publish-plugin") version "1.1.1" apply false + id("org.hypertrace.jacoco-report-plugin") version "0.3.0" apply false + id("org.hypertrace.code-style-plugin") version "2.1.2" apply false + id("org.owasp.dependencycheck") version "12.1.0" } subprojects { diff --git a/kafka-event-listener/build.gradle.kts b/kafka-event-listener/build.gradle.kts index b7003f6..cb1ac2c 100644 --- a/kafka-event-listener/build.gradle.kts +++ b/kafka-event-listener/build.gradle.kts @@ -13,7 +13,7 @@ dependencies { api(platform(project(":kafka-bom"))) api("org.apache.kafka:kafka-clients") - implementation("org.hypertrace.core.serviceframework:platform-metrics:0.1.81") + implementation("org.hypertrace.core.serviceframework:platform-metrics:0.1.89") testImplementation("org.junit.jupiter:junit-jupiter:5.9.2") testImplementation("org.mockito:mockito-core:5.2.0") testImplementation("com.github.ben-manes.caffeine:caffeine:3.1.8") diff --git a/kafka-streams-framework/build.gradle.kts b/kafka-streams-framework/build.gradle.kts index f6b76dc..692e2a4 100644 --- a/kafka-streams-framework/build.gradle.kts +++ b/kafka-streams-framework/build.gradle.kts @@ -18,12 +18,12 @@ dependencies { api(platform(project(":kafka-bom"))) api("org.apache.kafka:kafka-streams") api("io.confluent:kafka-streams-avro-serde") - api("org.hypertrace.core.grpcutils:grpc-client-utils:0.13.7") + api("org.hypertrace.core.grpcutils:grpc-client-utils:0.13.14") implementation("org.apache.avro:avro") implementation("org.apache.kafka:kafka-clients") - implementation("org.hypertrace.core.serviceframework:platform-metrics:0.1.81") - implementation("org.hypertrace.core.serviceframework:platform-service-framework:0.1.81") + implementation("org.hypertrace.core.serviceframework:platform-metrics:0.1.89") + implementation("org.hypertrace.core.serviceframework:platform-service-framework:0.1.89") implementation("org.apache.commons:commons-lang3:3.12.0") testCompileOnly("org.projectlombok:lombok:1.18.26") diff --git a/kafka-streams-partitioners/weighted-group-partitioner/build.gradle.kts b/kafka-streams-partitioners/weighted-group-partitioner/build.gradle.kts index 88589c7..6c2f360 100644 --- a/kafka-streams-partitioners/weighted-group-partitioner/build.gradle.kts +++ b/kafka-streams-partitioners/weighted-group-partitioner/build.gradle.kts @@ -15,11 +15,11 @@ dependencies { api(platform(project(":kafka-bom"))) api("org.apache.kafka:kafka-streams") - api("org.hypertrace.core.grpcutils:grpc-client-utils:0.13.7") + api("org.hypertrace.core.grpcutils:grpc-client-utils:0.13.14") api("com.typesafe:config:1.4.2") implementation("com.google.guava:guava:32.0.1-jre") - implementation("org.hypertrace.core.grpcutils:grpc-context-utils:0.13.7") - implementation("org.hypertrace.config.service:partitioner-config-service-api:0.1.46") + implementation("org.hypertrace.core.grpcutils:grpc-context-utils:0.13.14") + implementation("org.hypertrace.config.service:partitioner-config-service-api:0.1.73") implementation("org.slf4j:slf4j-api:1.7.36") testImplementation("org.junit.jupiter:junit-jupiter:5.8.2") diff --git a/settings.gradle.kts b/settings.gradle.kts index e9e1ad9..32894ad 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -4,12 +4,12 @@ pluginManagement { repositories { mavenLocal() gradlePluginPortal() - maven("https://hypertrace.jfrog.io/artifactory/maven") + maven("https://us-maven.pkg.dev/hypertrace-repos/maven") } } plugins { - id("org.hypertrace.version-settings") version "0.2.0" + id("org.hypertrace.version-settings") version "0.3.0" } include(":kafka-streams-framework")