From 5d9d7d8325eb731f935de116f28049e1c0d6226f Mon Sep 17 00:00:00 2001 From: Aaron Steinfeld Date: Tue, 22 Jul 2025 10:26:48 -0400 Subject: [PATCH] chore: update to use bom --- .github/workflows/update-locks.yml | 30 ++++++ build.gradle.kts | 17 ++- docstore-metrics/build.gradle.kts | 17 ++- docstore-metrics/gradle.lockfile | 64 +++++++++++ gradle/libs.versions.toml | 33 +++++- .../build.gradle.kts | 12 +-- .../gradle.lockfile | 60 +++++++++++ .../build.gradle.kts | 33 +++--- .../gradle.lockfile | 95 ++++++++++++++++ .../build.gradle.kts | 32 +++--- .../gradle.lockfile | 80 ++++++++++++++ .../build.gradle.kts | 14 +-- .../gradle.lockfile | 102 ++++++++++++++++++ platform-metrics/build.gradle.kts | 43 ++++---- platform-metrics/gradle.lockfile | 66 ++++++++++++ platform-service-framework/build.gradle.kts | 34 +++--- platform-service-framework/gradle.lockfile | 73 +++++++++++++ service-framework-spi/build.gradle.kts | 2 +- service-framework-spi/gradle.lockfile | 10 ++ settings.gradle.kts | 9 ++ 20 files changed, 714 insertions(+), 112 deletions(-) create mode 100644 .github/workflows/update-locks.yml create mode 100644 docstore-metrics/gradle.lockfile create mode 100644 integrationtest-service-framework/gradle.lockfile create mode 100644 platform-grpc-service-framework/gradle.lockfile create mode 100644 platform-http-service-framework/gradle.lockfile create mode 100644 platform-hybrid-service-framework/gradle.lockfile create mode 100644 platform-metrics/gradle.lockfile create mode 100644 platform-service-framework/gradle.lockfile create mode 100644 service-framework-spi/gradle.lockfile diff --git a/.github/workflows/update-locks.yml b/.github/workflows/update-locks.yml new file mode 100644 index 0000000..ce21524 --- /dev/null +++ b/.github/workflows/update-locks.yml @@ -0,0 +1,30 @@ +name: Update Locks +on: + workflow_dispatch: + schedule: + - cron: '18 22 * * 1' +jobs: + update-versions: + runs-on: ubuntu-24.04 + steps: + - name: Check out code + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Calculate simple repository name + id: repo-basename + shell: bash + run: | + echo "value=`basename ${{ github.repository }}`" >> $GITHUB_OUTPUT + - name: Get Token from Github App + uses: tibdex/github-app-token@v2 + id: generate-token + with: + app_id: ${{ secrets.GH_CI_APP_ID }} + private_key: ${{ secrets.GH_CI_APP_PRIVATE_KEY }} + repositories: >- + [${{ toJson(steps.repo-basename.outputs.value) }}] + - name: Update locks if needed + uses: hypertrace/github-actions/raise-lock-pr@main + with: + token: ${{ steps.generate-token.outputs.token }} \ No newline at end of file diff --git a/build.gradle.kts b/build.gradle.kts index 909ed14..40dc7c6 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -2,25 +2,24 @@ import org.hypertrace.gradle.publishing.HypertracePublishExtension import org.hypertrace.gradle.publishing.License plugins { - id("org.hypertrace.repository-plugin") version "0.5.0" - id("org.hypertrace.ci-utils-plugin") version "0.4.0" - 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.hypertrace.java-convention") version "0.4.0" - id("org.owasp.dependencycheck") version "12.1.0" + alias(commonLibs.plugins.hypertrace.repository) + alias(commonLibs.plugins.hypertrace.ciutils) + alias(commonLibs.plugins.hypertrace.codestyle) apply false + alias(commonLibs.plugins.hypertrace.publish) apply false + alias(localLibs.plugins.hypertrace.java.convention) + alias(commonLibs.plugins.owasp.dependencycheck) } subprojects { group = "org.hypertrace.core.serviceframework" - pluginManager.withPlugin("org.hypertrace.publish-plugin") { + pluginManager.withPlugin(rootProject.commonLibs.plugins.hypertrace.publish.get().pluginId) { configure { license.set(License.APACHE_2_0) } } pluginManager.withPlugin("java") { configure { - apply(plugin = "org.hypertrace.code-style-plugin") + apply(plugin = rootProject.commonLibs.plugins.hypertrace.codestyle.get().pluginId) } } } diff --git a/docstore-metrics/build.gradle.kts b/docstore-metrics/build.gradle.kts index d892993..afb0e30 100644 --- a/docstore-metrics/build.gradle.kts +++ b/docstore-metrics/build.gradle.kts @@ -1,17 +1,16 @@ plugins { `java-library` jacoco - id("org.hypertrace.publish-plugin") - id("org.hypertrace.jacoco-report-plugin") + alias(commonLibs.plugins.hypertrace.publish) + alias(commonLibs.plugins.hypertrace.jacoco) } dependencies { - annotationProcessor(libs.lombok) - compileOnly(libs.lombok) + annotationProcessor(commonLibs.lombok) + compileOnly(commonLibs.lombok) - api(libs.hypertrace.documentStore) - api(project(":service-framework-spi")) - api(platform("com.fasterxml.jackson:jackson-bom:2.16.0")) - implementation(project(":platform-metrics")) - implementation("com.google.guava:guava:32.0.1-jre") + api(commonLibs.hypertrace.documentstore) + api(projects.serviceFrameworkSpi) + implementation(projects.platformMetrics) + implementation(commonLibs.guava) } diff --git a/docstore-metrics/gradle.lockfile b/docstore-metrics/gradle.lockfile new file mode 100644 index 0000000..d8774ed --- /dev/null +++ b/docstore-metrics/gradle.lockfile @@ -0,0 +1,64 @@ +# This is a Gradle generated file for dependency locking. +# Manual edits can break the build and are not advised. +# This file is expected to be part of source control. +com.fasterxml.jackson.core:jackson-annotations:2.16.1=runtimeClasspath,testRuntimeClasspath +com.fasterxml.jackson.core:jackson-core:2.16.1=runtimeClasspath,testRuntimeClasspath +com.fasterxml.jackson.core:jackson-databind:2.16.1=runtimeClasspath,testRuntimeClasspath +com.fasterxml.jackson:jackson-bom:2.16.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.code.findbugs:jsr305:3.0.2=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.errorprone:error_prone_annotations:2.18.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.guava:failureaccess:1.0.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.guava:guava-parent:32.1.2-jre=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.guava:guava:32.1.2-jre=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.j2objc:j2objc-annotations:2.8=compileClasspath,testCompileClasspath +com.typesafe:config:1.4.2=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +commons-logging:commons-logging:1.2=runtimeClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-core:4.2.25=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-jakarta-servlet:4.2.25=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-jvm:4.2.25=runtimeClasspath,testRuntimeClasspath +io.github.mweirauch:micrometer-jvm-extras:0.2.2=runtimeClasspath,testRuntimeClasspath +io.grpc:grpc-bom:1.68.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.micrometer:micrometer-commons:1.14.4=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.micrometer:micrometer-core:1.14.4=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.micrometer:micrometer-observation:1.14.4=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.micrometer:micrometer-registry-prometheus-simpleclient:1.14.4=runtimeClasspath,testRuntimeClasspath +io.netty:netty-bom:4.1.118.Final=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.prometheus:simpleclient:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_common:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_dropwizard:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_pushgateway:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_servlet_common:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_servlet_jakarta:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_tracer_common:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_tracer_otel:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_tracer_otel_agent:0.16.0=runtimeClasspath,testRuntimeClasspath +jakarta.servlet:jakarta.servlet-api:6.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +net.jodah:failsafe:2.4.4=runtimeClasspath,testRuntimeClasspath +org.apache.commons:commons-collections4:4.4=runtimeClasspath,testRuntimeClasspath +org.apache.commons:commons-dbcp2:2.9.0=runtimeClasspath,testRuntimeClasspath +org.apache.commons:commons-lang3:3.18.0=runtimeClasspath,testRuntimeClasspath +org.apache.commons:commons-pool2:2.10.0=runtimeClasspath,testRuntimeClasspath +org.checkerframework:checker-qual:3.33.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.jetty.toolchain:jetty-jakarta-servlet-api:5.0.2=runtimeClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-bom:11.0.24=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-http:11.0.24=runtimeClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-io:11.0.24=runtimeClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-security:11.0.24=runtimeClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-server:11.0.24=runtimeClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-servlet:11.0.24=runtimeClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-util:11.0.24=runtimeClasspath,testRuntimeClasspath +org.hdrhistogram:HdrHistogram:2.2.2=runtimeClasspath,testRuntimeClasspath +org.hypertrace.bom:hypertrace-bom:0.3.51=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.hypertrace.core.documentstore:document-store:0.8.6=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.hypertrace.core.kafkastreams.framework:kafka-bom:0.6.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.latencyutils:LatencyUtils:2.0.3=runtimeClasspath,testRuntimeClasspath +org.mongodb:bson-record-codec:5.2.0=runtimeClasspath,testRuntimeClasspath +org.mongodb:bson:5.2.0=runtimeClasspath,testRuntimeClasspath +org.mongodb:mongodb-driver-core:5.2.0=runtimeClasspath,testRuntimeClasspath +org.mongodb:mongodb-driver-sync:5.2.0=runtimeClasspath,testRuntimeClasspath +org.postgresql:postgresql:42.5.5=runtimeClasspath,testRuntimeClasspath +org.projectlombok:lombok:1.18.30=annotationProcessor,compileClasspath +org.slf4j:slf4j-api:2.0.7=compileClasspath,testCompileClasspath +org.slf4j:slf4j-api:2.0.9=runtimeClasspath,testRuntimeClasspath +empty= diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index daa5302..04c60a8 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,3 +1,32 @@ +[versions] +hypertrace-grpcutils = "0.13.14" +jetty = "11.0.24" +guice = "7.0.0" +dropwizard-metrics = "4.2.25" +micrometer = "1.14.4" +prometheus-simpleclient = "0.16.0" +caffeine = "3.1.8" + [libraries] -lombok = { module = "org.projectlombok:lombok", version = "1.18.38" } -hypertrace-documentStore = { module = "org.hypertrace.core.documentstore:document-store", version = "0.9.5" } +awaitility = { module = "org.awaitility:awaitility", version = "4.0.3" } +hypertrace-grpcutils-server = { module = "org.hypertrace.core.grpcutils:grpc-server-utils", version.ref = "hypertrace-grpcutils" } +grpc-services = { module = "io.grpc:grpc-services" } +jakarta-servlet-api = { module = "jakarta.servlet:jakarta.servlet-api", version = "6.0.0" } +dropwizard-metrics-jakarta-servlet = { module = "io.dropwizard.metrics:metrics-jakarta-servlet", version.ref = "dropwizard-metrics" } +dropwizard-metrics-jakarta-servlets = { module = "io.dropwizard.metrics:metrics-jakarta-servlets", version.ref = "dropwizard-metrics" } +dropwizard-metrics-jvm = { module = "io.dropwizard.metrics:metrics-jvm", version.ref = "dropwizard-metrics" } +micrometer-core = { module = "io.micrometer:micrometer-core", version.ref = "micrometer" } +micrometer-registry-prometheus-simpleclient = { module = "io.micrometer:micrometer-registry-prometheus-simpleclient", version.ref = "micrometer" } +micrometer-jvm-extras = { module = "io.github.mweirauch:micrometer-jvm-extras", version = "0.2.2" } +prometheus-simpleclient-dropwizard = { module = "io.prometheus:simpleclient_dropwizard", version.ref = "prometheus-simpleclient" } +prometheus-simpleclient-servlet-jakarta = { module = "io.prometheus:simpleclient_servlet_jakarta", version.ref = "prometheus-simpleclient" } +prometheus-simpleclient-pushgateway = { module = "io.prometheus:simpleclient_pushgateway", version.ref = "prometheus-simpleclient" } +jetty-servlet = { module = "org.eclipse.jetty:jetty-servlet", version.ref = "jetty" } +jetty-server = { module = "org.eclipse.jetty:jetty-server", version.ref = "jetty" } +jetty-servlets = { module = "org.eclipse.jetty:jetty-servlets", version.ref = "jetty" } +caffeine = { module = "com.github.ben-manes.caffeine:caffeine", version.ref = "caffeine" } +guice-servlet = { module = "com.google.inject.extensions:guice-servlet", version.ref = "guice" } +apache-httpcomponents-httpclient = { module = "org.apache.httpcomponents:httpclient", version = "4.5.13" } + +[plugins] +hypertrace-java-convention = { id = "org.hypertrace.java-convention", version = "0.4.0" } diff --git a/integrationtest-service-framework/build.gradle.kts b/integrationtest-service-framework/build.gradle.kts index 4d8506a..4d5b288 100644 --- a/integrationtest-service-framework/build.gradle.kts +++ b/integrationtest-service-framework/build.gradle.kts @@ -1,8 +1,8 @@ plugins { `java-library` jacoco - id("org.hypertrace.publish-plugin") - id("org.hypertrace.jacoco-report-plugin") + alias(commonLibs.plugins.hypertrace.publish) + alias(commonLibs.plugins.hypertrace.jacoco) } tasks.test { @@ -10,11 +10,11 @@ tasks.test { } dependencies { - implementation(project(":platform-service-framework")) + implementation(projects.platformServiceFramework) // Configuration - implementation("com.typesafe:config:1.4.2") + implementation(commonLibs.typesafe.config) // Logging - implementation("org.slf4j:slf4j-api:1.7.36") - implementation("org.awaitility:awaitility:4.0.3") + implementation(commonLibs.slf4j2.api) + implementation(localLibs.awaitility) } diff --git a/integrationtest-service-framework/gradle.lockfile b/integrationtest-service-framework/gradle.lockfile new file mode 100644 index 0000000..72f7b0e --- /dev/null +++ b/integrationtest-service-framework/gradle.lockfile @@ -0,0 +1,60 @@ +# This is a Gradle generated file for dependency locking. +# Manual edits can break the build and are not advised. +# This file is expected to be part of source control. +com.fasterxml.jackson.core:jackson-annotations:2.16.1=runtimeClasspath,testRuntimeClasspath +com.fasterxml.jackson.core:jackson-core:2.16.1=runtimeClasspath,testRuntimeClasspath +com.fasterxml.jackson.core:jackson-databind:2.16.1=runtimeClasspath,testRuntimeClasspath +com.fasterxml.jackson:jackson-bom:2.16.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.code.findbugs:jsr305:3.0.2=runtimeClasspath,testRuntimeClasspath +com.google.errorprone:error_prone_annotations:2.18.0=runtimeClasspath,testRuntimeClasspath +com.google.guava:failureaccess:1.0.1=runtimeClasspath,testRuntimeClasspath +com.google.guava:guava-parent:32.1.2-jre=runtimeClasspath,testRuntimeClasspath +com.google.guava:guava:32.1.2-jre=runtimeClasspath,testRuntimeClasspath +com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=runtimeClasspath,testRuntimeClasspath +com.helger:profiler:1.1.1=runtimeClasspath,testRuntimeClasspath +com.typesafe:config:1.4.2=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +commons-codec:commons-codec:1.11=runtimeClasspath,testRuntimeClasspath +commons-logging:commons-logging:1.2=runtimeClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-core:4.2.25=runtimeClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-healthchecks:4.2.25=runtimeClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-jakarta-servlet:4.2.25=runtimeClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-jakarta-servlets:4.2.25=runtimeClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-json:4.2.25=runtimeClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-jvm:4.2.25=runtimeClasspath,testRuntimeClasspath +io.github.mweirauch:micrometer-jvm-extras:0.2.2=runtimeClasspath,testRuntimeClasspath +io.grpc:grpc-bom:1.68.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.micrometer:micrometer-commons:1.14.4=runtimeClasspath,testRuntimeClasspath +io.micrometer:micrometer-core:1.14.4=runtimeClasspath,testRuntimeClasspath +io.micrometer:micrometer-observation:1.14.4=runtimeClasspath,testRuntimeClasspath +io.micrometer:micrometer-registry-prometheus-simpleclient:1.14.4=runtimeClasspath,testRuntimeClasspath +io.netty:netty-bom:4.1.118.Final=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.prometheus:simpleclient:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_common:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_dropwizard:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_pushgateway:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_servlet_common:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_servlet_jakarta:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_tracer_common:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_tracer_otel:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_tracer_otel_agent:0.16.0=runtimeClasspath,testRuntimeClasspath +jakarta.servlet:jakarta.servlet-api:6.0.0=runtimeClasspath,testRuntimeClasspath +org.apache.httpcomponents:httpclient:4.5.13=runtimeClasspath,testRuntimeClasspath +org.apache.httpcomponents:httpcore:4.4.13=runtimeClasspath,testRuntimeClasspath +org.awaitility:awaitility:4.0.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.checkerframework:checker-qual:3.33.0=runtimeClasspath,testRuntimeClasspath +org.eclipse.jetty.toolchain:jetty-jakarta-servlet-api:5.0.2=runtimeClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-bom:11.0.24=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-http:11.0.24=runtimeClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-io:11.0.24=runtimeClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-security:11.0.24=runtimeClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-server:11.0.24=runtimeClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-servlet:11.0.24=runtimeClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-util:11.0.24=runtimeClasspath,testRuntimeClasspath +org.hamcrest:hamcrest:2.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.hdrhistogram:HdrHistogram:2.2.2=runtimeClasspath,testRuntimeClasspath +org.hypertrace.bom:hypertrace-bom:0.3.51=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.hypertrace.core.kafkastreams.framework:kafka-bom:0.6.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.latencyutils:LatencyUtils:2.0.3=runtimeClasspath,testRuntimeClasspath +org.slf4j:slf4j-api:2.0.7=compileClasspath,testCompileClasspath +org.slf4j:slf4j-api:2.0.9=runtimeClasspath,testRuntimeClasspath +empty=annotationProcessor diff --git a/platform-grpc-service-framework/build.gradle.kts b/platform-grpc-service-framework/build.gradle.kts index 34a4977..8bb6d33 100644 --- a/platform-grpc-service-framework/build.gradle.kts +++ b/platform-grpc-service-framework/build.gradle.kts @@ -1,26 +1,25 @@ plugins { `java-library` jacoco - id("org.hypertrace.publish-plugin") - id("org.hypertrace.jacoco-report-plugin") + alias(commonLibs.plugins.hypertrace.publish) + alias(commonLibs.plugins.hypertrace.jacoco) } dependencies { - api(project(":platform-service-framework")) - api(platform("io.grpc:grpc-bom:1.68.3")) - api("io.grpc:grpc-api") - api("io.grpc:grpc-services") - api("org.hypertrace.core.grpcutils:grpc-client-utils:0.13.14") - api("com.typesafe:config:1.4.2") - api("com.google.protobuf:protobuf-java:3.25.5") - api(project(":service-framework-spi")) + api(projects.platformServiceFramework) + api(commonLibs.grpc.api) + api(localLibs.grpc.services) + api(commonLibs.hypertrace.grpcutils.client) + api(commonLibs.typesafe.config) + api(commonLibs.protobuf.java) + api(projects.serviceFrameworkSpi) - annotationProcessor(libs.lombok) - compileOnly(libs.lombok) + annotationProcessor(commonLibs.lombok) + compileOnly(commonLibs.lombok) - implementation(project(":platform-metrics")) - implementation("io.grpc:grpc-inprocess") - implementation("io.grpc:grpc-netty") - implementation("org.slf4j:slf4j-api:1.7.36") - implementation("org.hypertrace.core.grpcutils:grpc-server-utils:0.13.14") + implementation(projects.platformMetrics) + implementation(commonLibs.grpc.inprocess) + implementation(commonLibs.grpc.netty) + implementation(commonLibs.slf4j2.api) + implementation(localLibs.hypertrace.grpcutils.server) } diff --git a/platform-grpc-service-framework/gradle.lockfile b/platform-grpc-service-framework/gradle.lockfile new file mode 100644 index 0000000..ec5e75a --- /dev/null +++ b/platform-grpc-service-framework/gradle.lockfile @@ -0,0 +1,95 @@ +# This is a Gradle generated file for dependency locking. +# Manual edits can break the build and are not advised. +# This file is expected to be part of source control. +com.auth0:java-jwt:4.4.0=runtimeClasspath,testRuntimeClasspath +com.auth0:jwks-rsa:0.22.0=runtimeClasspath,testRuntimeClasspath +com.fasterxml.jackson.core:jackson-annotations:2.16.1=runtimeClasspath,testRuntimeClasspath +com.fasterxml.jackson.core:jackson-core:2.16.1=runtimeClasspath,testRuntimeClasspath +com.fasterxml.jackson.core:jackson-databind:2.16.1=runtimeClasspath,testRuntimeClasspath +com.fasterxml.jackson:jackson-bom:2.16.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.android:annotations:4.1.1.4=runtimeClasspath,testRuntimeClasspath +com.google.api.grpc:proto-google-common-protos:2.41.0=runtimeClasspath,testRuntimeClasspath +com.google.code.findbugs:jsr305:3.0.2=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.code.gson:gson:2.13.1=runtimeClasspath,testRuntimeClasspath +com.google.errorprone:error_prone_annotations:2.28.0=compileClasspath,testCompileClasspath +com.google.errorprone:error_prone_annotations:2.38.0=runtimeClasspath,testRuntimeClasspath +com.google.guava:failureaccess:1.0.2=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.guava:guava:33.2.1-android=compileClasspath,testCompileClasspath +com.google.guava:guava:33.2.1-jre=runtimeClasspath,testRuntimeClasspath +com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.j2objc:j2objc-annotations:2.8=runtimeClasspath,testRuntimeClasspath +com.google.j2objc:j2objc-annotations:3.0.0=compileClasspath,testCompileClasspath +com.google.protobuf:protobuf-java-util:3.25.5=runtimeClasspath,testRuntimeClasspath +com.google.protobuf:protobuf-java:3.25.5=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.helger:profiler:1.1.1=runtimeClasspath,testRuntimeClasspath +com.typesafe:config:1.4.2=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +commons-codec:commons-codec:1.11=runtimeClasspath,testRuntimeClasspath +commons-logging:commons-logging:1.2=runtimeClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-core:4.2.25=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-healthchecks:4.2.25=runtimeClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-jakarta-servlet:4.2.25=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-jakarta-servlets:4.2.25=runtimeClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-json:4.2.25=runtimeClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-jvm:4.2.25=runtimeClasspath,testRuntimeClasspath +io.github.mweirauch:micrometer-jvm-extras:0.2.2=runtimeClasspath,testRuntimeClasspath +io.grpc:grpc-api:1.68.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.grpc:grpc-bom:1.68.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.grpc:grpc-context:1.68.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.grpc:grpc-core:1.68.3=runtimeClasspath,testRuntimeClasspath +io.grpc:grpc-inprocess:1.68.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.grpc:grpc-netty:1.68.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.grpc:grpc-protobuf-lite:1.68.3=runtimeClasspath,testRuntimeClasspath +io.grpc:grpc-protobuf:1.68.3=runtimeClasspath,testRuntimeClasspath +io.grpc:grpc-services:1.68.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.grpc:grpc-stub:1.68.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.grpc:grpc-util:1.68.3=runtimeClasspath,testRuntimeClasspath +io.micrometer:micrometer-commons:1.14.4=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.micrometer:micrometer-core:1.14.4=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.micrometer:micrometer-observation:1.14.4=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.micrometer:micrometer-registry-prometheus-simpleclient:1.14.4=runtimeClasspath,testRuntimeClasspath +io.netty:netty-bom:4.1.118.Final=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.netty:netty-buffer:4.1.118.Final=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.netty:netty-codec-http2:4.1.118.Final=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.netty:netty-codec-http:4.1.118.Final=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.netty:netty-codec-socks:4.1.118.Final=runtimeClasspath,testRuntimeClasspath +io.netty:netty-codec:4.1.118.Final=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.netty:netty-common:4.1.118.Final=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.netty:netty-handler-proxy:4.1.118.Final=runtimeClasspath,testRuntimeClasspath +io.netty:netty-handler:4.1.118.Final=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.netty:netty-resolver:4.1.118.Final=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.netty:netty-transport-native-unix-common:4.1.118.Final=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.netty:netty-transport:4.1.118.Final=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.perfmark:perfmark-api:0.27.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_common:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_dropwizard:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_pushgateway:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_servlet_common:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_servlet_jakarta:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_tracer_common:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_tracer_otel:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_tracer_otel_agent:0.16.0=runtimeClasspath,testRuntimeClasspath +jakarta.servlet:jakarta.servlet-api:6.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.apache.httpcomponents:httpclient:4.5.13=runtimeClasspath,testRuntimeClasspath +org.apache.httpcomponents:httpcore:4.4.13=runtimeClasspath,testRuntimeClasspath +org.checkerframework:checker-qual:3.42.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.codehaus.mojo:animal-sniffer-annotations:1.24=runtimeClasspath,testRuntimeClasspath +org.eclipse.jetty.toolchain:jetty-jakarta-servlet-api:5.0.2=runtimeClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-bom:11.0.24=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-http:11.0.24=runtimeClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-io:11.0.24=runtimeClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-security:11.0.24=runtimeClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-server:11.0.24=runtimeClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-servlet:11.0.24=runtimeClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-util:11.0.24=runtimeClasspath,testRuntimeClasspath +org.hdrhistogram:HdrHistogram:2.2.2=runtimeClasspath,testRuntimeClasspath +org.hypertrace.bom:hypertrace-bom:0.3.51=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.hypertrace.core.grpcutils:grpc-client-utils:0.13.14=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.hypertrace.core.grpcutils:grpc-context-utils:0.13.14=runtimeClasspath,testRuntimeClasspath +org.hypertrace.core.grpcutils:grpc-server-utils:0.13.14=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.hypertrace.core.kafkastreams.framework:kafka-bom:0.6.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.latencyutils:LatencyUtils:2.0.3=runtimeClasspath,testRuntimeClasspath +org.projectlombok:lombok:1.18.30=annotationProcessor,compileClasspath +org.slf4j:slf4j-api:2.0.7=compileClasspath,testCompileClasspath +org.slf4j:slf4j-api:2.0.9=runtimeClasspath,testRuntimeClasspath +empty= diff --git a/platform-http-service-framework/build.gradle.kts b/platform-http-service-framework/build.gradle.kts index 7151e61..6ee5e7b 100644 --- a/platform-http-service-framework/build.gradle.kts +++ b/platform-http-service-framework/build.gradle.kts @@ -1,23 +1,23 @@ plugins { `java-library` - id("org.hypertrace.publish-plugin") + alias(commonLibs.plugins.hypertrace.publish) } dependencies { - api(project(":platform-service-framework")) - api("org.hypertrace.core.grpcutils:grpc-client-utils:0.13.14") - api("com.typesafe:config:1.4.2") - api("jakarta.servlet:jakarta.servlet-api:6.0.0") - api("com.google.inject:guice:7.0.0") - api(project(":service-framework-spi")) + api(projects.platformServiceFramework) + api(commonLibs.hypertrace.grpcutils.client) + api(commonLibs.typesafe.config) + api(localLibs.jakarta.servlet.api) + api(commonLibs.guice) + api(projects.serviceFrameworkSpi) - implementation(project(":platform-metrics")) - implementation("org.slf4j:slf4j-api:1.7.36") - implementation("com.google.inject.extensions:guice-servlet:7.0.0") - implementation("com.google.guava:guava:31.1-jre") - implementation("org.eclipse.jetty:jetty-servlet:11.0.24") - implementation("org.eclipse.jetty:jetty-server:11.0.24") - implementation("org.eclipse.jetty:jetty-servlets:11.0.24") - annotationProcessor(libs.lombok) - compileOnly(libs.lombok) + implementation(projects.platformMetrics) + implementation(commonLibs.slf4j2.api) + implementation(localLibs.guice.servlet) + implementation(commonLibs.guava) + implementation(localLibs.jetty.servlet) + implementation(localLibs.jetty.server) + implementation(localLibs.jetty.servlets) + annotationProcessor(commonLibs.lombok) + compileOnly(commonLibs.lombok) } diff --git a/platform-http-service-framework/gradle.lockfile b/platform-http-service-framework/gradle.lockfile new file mode 100644 index 0000000..ba86e45 --- /dev/null +++ b/platform-http-service-framework/gradle.lockfile @@ -0,0 +1,80 @@ +# This is a Gradle generated file for dependency locking. +# Manual edits can break the build and are not advised. +# This file is expected to be part of source control. +aopalliance:aopalliance:1.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.auth0:java-jwt:4.4.0=runtimeClasspath,testRuntimeClasspath +com.auth0:jwks-rsa:0.22.0=runtimeClasspath,testRuntimeClasspath +com.fasterxml.jackson.core:jackson-annotations:2.16.1=runtimeClasspath,testRuntimeClasspath +com.fasterxml.jackson.core:jackson-core:2.16.1=runtimeClasspath,testRuntimeClasspath +com.fasterxml.jackson.core:jackson-databind:2.16.1=runtimeClasspath,testRuntimeClasspath +com.fasterxml.jackson:jackson-bom:2.16.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.android:annotations:4.1.1.4=runtimeClasspath,testRuntimeClasspath +com.google.code.findbugs:jsr305:3.0.2=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.code.gson:gson:2.13.1=runtimeClasspath,testRuntimeClasspath +com.google.errorprone:error_prone_annotations:2.28.0=compileClasspath,testCompileClasspath +com.google.errorprone:error_prone_annotations:2.38.0=runtimeClasspath,testRuntimeClasspath +com.google.guava:failureaccess:1.0.1=compileClasspath,testCompileClasspath +com.google.guava:failureaccess:1.0.2=runtimeClasspath,testRuntimeClasspath +com.google.guava:guava-parent:32.1.2-jre=compileClasspath,testCompileClasspath +com.google.guava:guava:32.1.2-jre=compileClasspath,testCompileClasspath +com.google.guava:guava:33.2.1-android=runtimeClasspath,testRuntimeClasspath +com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.inject.extensions:guice-servlet:7.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.inject:guice:7.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.j2objc:j2objc-annotations:2.8=compileClasspath,testCompileClasspath +com.helger:profiler:1.1.1=runtimeClasspath,testRuntimeClasspath +com.typesafe:config:1.4.2=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +commons-codec:commons-codec:1.11=runtimeClasspath,testRuntimeClasspath +commons-logging:commons-logging:1.2=runtimeClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-core:4.2.25=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-healthchecks:4.2.25=runtimeClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-jakarta-servlet:4.2.25=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-jakarta-servlets:4.2.25=runtimeClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-json:4.2.25=runtimeClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-jvm:4.2.25=runtimeClasspath,testRuntimeClasspath +io.github.mweirauch:micrometer-jvm-extras:0.2.2=runtimeClasspath,testRuntimeClasspath +io.grpc:grpc-api:1.68.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.grpc:grpc-bom:1.68.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.grpc:grpc-context:1.68.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.grpc:grpc-core:1.68.3=runtimeClasspath,testRuntimeClasspath +io.grpc:grpc-inprocess:1.68.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.micrometer:micrometer-commons:1.14.4=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.micrometer:micrometer-core:1.14.4=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.micrometer:micrometer-observation:1.14.4=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.micrometer:micrometer-registry-prometheus-simpleclient:1.14.4=runtimeClasspath,testRuntimeClasspath +io.netty:netty-bom:4.1.118.Final=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.perfmark:perfmark-api:0.27.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_common:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_dropwizard:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_pushgateway:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_servlet_common:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_servlet_jakarta:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_tracer_common:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_tracer_otel:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_tracer_otel_agent:0.16.0=runtimeClasspath,testRuntimeClasspath +jakarta.inject:jakarta.inject-api:2.0.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +jakarta.servlet:jakarta.servlet-api:6.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.apache.httpcomponents:httpclient:4.5.13=runtimeClasspath,testRuntimeClasspath +org.apache.httpcomponents:httpcore:4.4.13=runtimeClasspath,testRuntimeClasspath +org.checkerframework:checker-qual:3.33.0=compileClasspath,testCompileClasspath +org.checkerframework:checker-qual:3.42.0=runtimeClasspath,testRuntimeClasspath +org.codehaus.mojo:animal-sniffer-annotations:1.24=runtimeClasspath,testRuntimeClasspath +org.eclipse.jetty.toolchain:jetty-jakarta-servlet-api:5.0.2=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-bom:11.0.24=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-http:11.0.24=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-io:11.0.24=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-security:11.0.24=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-server:11.0.24=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-servlet:11.0.24=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-servlets:11.0.24=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-util:11.0.24=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.hdrhistogram:HdrHistogram:2.2.2=runtimeClasspath,testRuntimeClasspath +org.hypertrace.bom:hypertrace-bom:0.3.51=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.hypertrace.core.grpcutils:grpc-client-utils:0.13.14=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.hypertrace.core.grpcutils:grpc-context-utils:0.13.14=runtimeClasspath,testRuntimeClasspath +org.hypertrace.core.kafkastreams.framework:kafka-bom:0.6.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.latencyutils:LatencyUtils:2.0.3=runtimeClasspath,testRuntimeClasspath +org.projectlombok:lombok:1.18.30=annotationProcessor,compileClasspath +org.slf4j:slf4j-api:2.0.9=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +empty= diff --git a/platform-hybrid-service-framework/build.gradle.kts b/platform-hybrid-service-framework/build.gradle.kts index b48047a..c940cc0 100644 --- a/platform-hybrid-service-framework/build.gradle.kts +++ b/platform-hybrid-service-framework/build.gradle.kts @@ -1,15 +1,15 @@ plugins { `java-library` jacoco - id("org.hypertrace.publish-plugin") - id("org.hypertrace.jacoco-report-plugin") + alias(commonLibs.plugins.hypertrace.publish) + alias(commonLibs.plugins.hypertrace.jacoco) } dependencies { - api(project(":platform-grpc-service-framework")) - api(project(":platform-http-service-framework")) - api(project(":platform-service-framework")) + api(projects.platformGrpcServiceFramework) + api(projects.platformHttpServiceFramework) + api(projects.platformServiceFramework) - annotationProcessor(libs.lombok) - compileOnly(libs.lombok) + annotationProcessor(commonLibs.lombok) + compileOnly(commonLibs.lombok) } diff --git a/platform-hybrid-service-framework/gradle.lockfile b/platform-hybrid-service-framework/gradle.lockfile new file mode 100644 index 0000000..495ef96 --- /dev/null +++ b/platform-hybrid-service-framework/gradle.lockfile @@ -0,0 +1,102 @@ +# This is a Gradle generated file for dependency locking. +# Manual edits can break the build and are not advised. +# This file is expected to be part of source control. +aopalliance:aopalliance:1.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.auth0:java-jwt:4.4.0=runtimeClasspath,testRuntimeClasspath +com.auth0:jwks-rsa:0.22.0=runtimeClasspath,testRuntimeClasspath +com.fasterxml.jackson.core:jackson-annotations:2.16.1=runtimeClasspath,testRuntimeClasspath +com.fasterxml.jackson.core:jackson-core:2.16.1=runtimeClasspath,testRuntimeClasspath +com.fasterxml.jackson.core:jackson-databind:2.16.1=runtimeClasspath,testRuntimeClasspath +com.fasterxml.jackson:jackson-bom:2.16.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.android:annotations:4.1.1.4=runtimeClasspath,testRuntimeClasspath +com.google.api.grpc:proto-google-common-protos:2.41.0=runtimeClasspath,testRuntimeClasspath +com.google.code.findbugs:jsr305:3.0.2=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.code.gson:gson:2.13.1=runtimeClasspath,testRuntimeClasspath +com.google.errorprone:error_prone_annotations:2.28.0=compileClasspath,testCompileClasspath +com.google.errorprone:error_prone_annotations:2.38.0=runtimeClasspath,testRuntimeClasspath +com.google.guava:failureaccess:1.0.2=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.guava:guava:33.2.1-android=compileClasspath,testCompileClasspath +com.google.guava:guava:33.2.1-jre=runtimeClasspath,testRuntimeClasspath +com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.inject.extensions:guice-servlet:7.0.0=runtimeClasspath,testRuntimeClasspath +com.google.inject:guice:6.0.0=compileClasspath,testCompileClasspath +com.google.inject:guice:7.0.0=runtimeClasspath,testRuntimeClasspath +com.google.j2objc:j2objc-annotations:2.8=runtimeClasspath,testRuntimeClasspath +com.google.j2objc:j2objc-annotations:3.0.0=compileClasspath,testCompileClasspath +com.google.protobuf:protobuf-java-util:3.25.5=runtimeClasspath,testRuntimeClasspath +com.google.protobuf:protobuf-java:3.25.5=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.helger:profiler:1.1.1=runtimeClasspath,testRuntimeClasspath +com.typesafe:config:1.4.2=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +commons-codec:commons-codec:1.11=runtimeClasspath,testRuntimeClasspath +commons-logging:commons-logging:1.2=runtimeClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-core:4.2.25=runtimeClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-healthchecks:4.2.25=runtimeClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-jakarta-servlet:4.2.25=runtimeClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-jakarta-servlets:4.2.25=runtimeClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-json:4.2.25=runtimeClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-jvm:4.2.25=runtimeClasspath,testRuntimeClasspath +io.github.mweirauch:micrometer-jvm-extras:0.2.2=runtimeClasspath,testRuntimeClasspath +io.grpc:grpc-api:1.68.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.grpc:grpc-bom:1.68.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.grpc:grpc-context:1.68.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.grpc:grpc-core:1.68.3=runtimeClasspath,testRuntimeClasspath +io.grpc:grpc-inprocess:1.68.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.grpc:grpc-netty:1.68.3=runtimeClasspath,testRuntimeClasspath +io.grpc:grpc-protobuf-lite:1.68.3=runtimeClasspath,testRuntimeClasspath +io.grpc:grpc-protobuf:1.68.3=runtimeClasspath,testRuntimeClasspath +io.grpc:grpc-services:1.68.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.grpc:grpc-stub:1.68.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.grpc:grpc-util:1.68.3=runtimeClasspath,testRuntimeClasspath +io.micrometer:micrometer-commons:1.14.4=runtimeClasspath,testRuntimeClasspath +io.micrometer:micrometer-core:1.14.4=runtimeClasspath,testRuntimeClasspath +io.micrometer:micrometer-observation:1.14.4=runtimeClasspath,testRuntimeClasspath +io.micrometer:micrometer-registry-prometheus-simpleclient:1.14.4=runtimeClasspath,testRuntimeClasspath +io.netty:netty-bom:4.1.118.Final=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.netty:netty-buffer:4.1.118.Final=runtimeClasspath,testRuntimeClasspath +io.netty:netty-codec-http2:4.1.118.Final=runtimeClasspath,testRuntimeClasspath +io.netty:netty-codec-http:4.1.118.Final=runtimeClasspath,testRuntimeClasspath +io.netty:netty-codec-socks:4.1.118.Final=runtimeClasspath,testRuntimeClasspath +io.netty:netty-codec:4.1.118.Final=runtimeClasspath,testRuntimeClasspath +io.netty:netty-common:4.1.118.Final=runtimeClasspath,testRuntimeClasspath +io.netty:netty-handler-proxy:4.1.118.Final=runtimeClasspath,testRuntimeClasspath +io.netty:netty-handler:4.1.118.Final=runtimeClasspath,testRuntimeClasspath +io.netty:netty-resolver:4.1.118.Final=runtimeClasspath,testRuntimeClasspath +io.netty:netty-transport-native-unix-common:4.1.118.Final=runtimeClasspath,testRuntimeClasspath +io.netty:netty-transport:4.1.118.Final=runtimeClasspath,testRuntimeClasspath +io.perfmark:perfmark-api:0.27.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_common:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_dropwizard:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_pushgateway:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_servlet_common:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_servlet_jakarta:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_tracer_common:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_tracer_otel:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_tracer_otel_agent:0.16.0=runtimeClasspath,testRuntimeClasspath +jakarta.inject:jakarta.inject-api:2.0.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +jakarta.servlet:jakarta.servlet-api:6.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +javax.inject:javax.inject:1=compileClasspath,testCompileClasspath +org.apache.httpcomponents:httpclient:4.5.13=runtimeClasspath,testRuntimeClasspath +org.apache.httpcomponents:httpcore:4.4.13=runtimeClasspath,testRuntimeClasspath +org.checkerframework:checker-qual:3.42.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.codehaus.mojo:animal-sniffer-annotations:1.24=runtimeClasspath,testRuntimeClasspath +org.eclipse.jetty.toolchain:jetty-jakarta-servlet-api:5.0.2=runtimeClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-bom:11.0.24=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-http:11.0.24=runtimeClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-io:11.0.24=runtimeClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-security:11.0.24=runtimeClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-server:11.0.24=runtimeClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-servlet:11.0.24=runtimeClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-servlets:11.0.24=runtimeClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-util:11.0.24=runtimeClasspath,testRuntimeClasspath +org.hdrhistogram:HdrHistogram:2.2.2=runtimeClasspath,testRuntimeClasspath +org.hypertrace.bom:hypertrace-bom:0.3.51=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.hypertrace.core.grpcutils:grpc-client-utils:0.13.14=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.hypertrace.core.grpcutils:grpc-context-utils:0.13.14=runtimeClasspath,testRuntimeClasspath +org.hypertrace.core.grpcutils:grpc-server-utils:0.13.14=runtimeClasspath,testRuntimeClasspath +org.hypertrace.core.kafkastreams.framework:kafka-bom:0.6.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.latencyutils:LatencyUtils:2.0.3=runtimeClasspath,testRuntimeClasspath +org.projectlombok:lombok:1.18.30=annotationProcessor,compileClasspath +org.slf4j:slf4j-api:2.0.7=compileClasspath,testCompileClasspath +org.slf4j:slf4j-api:2.0.9=runtimeClasspath,testRuntimeClasspath +empty= diff --git a/platform-metrics/build.gradle.kts b/platform-metrics/build.gradle.kts index 1ec8821..af90582 100644 --- a/platform-metrics/build.gradle.kts +++ b/platform-metrics/build.gradle.kts @@ -1,8 +1,8 @@ plugins { `java-library` jacoco - id("org.hypertrace.publish-plugin") - id("org.hypertrace.jacoco-report-plugin") + alias(commonLibs.plugins.hypertrace.publish) + alias(commonLibs.plugins.hypertrace.jacoco) } tasks.test { @@ -10,28 +10,25 @@ tasks.test { } dependencies { - api("com.typesafe:config:1.4.2") - api("io.dropwizard.metrics:metrics-jakarta-servlet:4.2.25") - api("io.micrometer:micrometer-core:1.14.4") - api("jakarta.servlet:jakarta.servlet-api:6.0.0") + api(commonLibs.typesafe.config) + api(localLibs.dropwizard.metrics.jakarta.servlet) + api(localLibs.micrometer.core) + api(localLibs.jakarta.servlet.api) - // Using simpleclient flavour since with version >= 1.13.0 micrometer does not support io.prometheus.simpleclient dependencies - // https://github.com/micrometer-metrics/micrometer/wiki/1.13-Migration-Guide - implementation("io.micrometer:micrometer-registry-prometheus-simpleclient:1.14.4") + implementation(localLibs.micrometer.registry.prometheus.simpleclient) + implementation(localLibs.micrometer.jvm.extras) + implementation(commonLibs.slf4j2.api) + implementation(localLibs.dropwizard.metrics.jvm) + implementation(localLibs.prometheus.simpleclient.dropwizard) + implementation(localLibs.prometheus.simpleclient.servlet.jakarta) + implementation(localLibs.prometheus.simpleclient.pushgateway) + implementation(localLibs.jetty.servlet) + implementation(commonLibs.guava) - implementation("io.github.mweirauch:micrometer-jvm-extras:0.2.2") - implementation("org.slf4j:slf4j-api:1.7.36") - implementation("io.dropwizard.metrics:metrics-jvm:4.2.16") - implementation("io.prometheus:simpleclient_dropwizard:0.16.0") - implementation("io.prometheus:simpleclient_servlet_jakarta:0.16.0") - implementation("io.prometheus:simpleclient_pushgateway:0.16.0") - implementation("org.eclipse.jetty:jetty-servlet:11.0.24") - implementation("com.google.guava:guava:32.0.1-jre") + compileOnly(localLibs.caffeine) - compileOnly("com.github.ben-manes.caffeine:caffeine:3.1.8") - - testImplementation("org.junit.jupiter:junit-jupiter:5.9.0") - testImplementation("org.mockito:mockito-core:4.8.0") - testImplementation("com.github.ben-manes.caffeine:caffeine:3.1.8") - testRuntimeOnly("org.apache.logging.log4j:log4j-slf4j-impl:2.19.0") + testImplementation(commonLibs.junit.jupiter) + testImplementation(commonLibs.mockito.core) + testImplementation(localLibs.caffeine) + testRuntimeOnly(commonLibs.log4j.slf4j2.impl) } diff --git a/platform-metrics/gradle.lockfile b/platform-metrics/gradle.lockfile new file mode 100644 index 0000000..b4340d0 --- /dev/null +++ b/platform-metrics/gradle.lockfile @@ -0,0 +1,66 @@ +# This is a Gradle generated file for dependency locking. +# Manual edits can break the build and are not advised. +# This file is expected to be part of source control. +com.fasterxml.jackson:jackson-bom:2.16.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.github.ben-manes.caffeine:caffeine:3.1.8=compileClasspath,testCompileClasspath,testRuntimeClasspath +com.google.code.findbugs:jsr305:3.0.2=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.errorprone:error_prone_annotations:2.18.0=runtimeClasspath +com.google.errorprone:error_prone_annotations:2.21.1=compileClasspath,testCompileClasspath,testRuntimeClasspath +com.google.guava:failureaccess:1.0.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.guava:guava-parent:32.1.2-jre=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.guava:guava:32.1.2-jre=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.j2objc:j2objc-annotations:2.8=compileClasspath,testCompileClasspath +com.typesafe:config:1.4.2=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-core:4.2.25=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-jakarta-servlet:4.2.25=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-jvm:4.2.25=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.github.mweirauch:micrometer-jvm-extras:0.2.2=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.grpc:grpc-bom:1.68.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.micrometer:micrometer-commons:1.14.4=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.micrometer:micrometer-core:1.14.4=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.micrometer:micrometer-observation:1.14.4=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.micrometer:micrometer-registry-prometheus-simpleclient:1.14.4=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.netty:netty-bom:4.1.118.Final=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.prometheus:simpleclient:0.16.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.prometheus:simpleclient_common:0.16.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.prometheus:simpleclient_dropwizard:0.16.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.prometheus:simpleclient_pushgateway:0.16.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.prometheus:simpleclient_servlet_common:0.16.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.prometheus:simpleclient_servlet_jakarta:0.16.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.prometheus:simpleclient_tracer_common:0.16.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.prometheus:simpleclient_tracer_otel:0.16.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.prometheus:simpleclient_tracer_otel_agent:0.16.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +jakarta.servlet:jakarta.servlet-api:6.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +net.bytebuddy:byte-buddy-agent:1.14.10=testCompileClasspath,testRuntimeClasspath +net.bytebuddy:byte-buddy:1.14.10=testCompileClasspath,testRuntimeClasspath +org.apache.logging.log4j:log4j-api:2.20.0=testRuntimeClasspath +org.apache.logging.log4j:log4j-core:2.20.0=testRuntimeClasspath +org.apache.logging.log4j:log4j-slf4j2-impl:2.20.0=testRuntimeClasspath +org.apiguardian:apiguardian-api:1.1.2=testCompileClasspath +org.checkerframework:checker-qual:3.33.0=runtimeClasspath +org.checkerframework:checker-qual:3.37.0=compileClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.jetty.toolchain:jetty-jakarta-servlet-api:5.0.2=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-bom:11.0.24=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-http:11.0.24=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-io:11.0.24=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-security:11.0.24=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-server:11.0.24=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-servlet:11.0.24=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-util:11.0.24=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.hdrhistogram:HdrHistogram:2.2.2=runtimeClasspath,testRuntimeClasspath +org.hypertrace.bom:hypertrace-bom:0.3.51=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.hypertrace.core.kafkastreams.framework:kafka-bom:0.6.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.junit.jupiter:junit-jupiter-api:5.10.0=testCompileClasspath,testRuntimeClasspath +org.junit.jupiter:junit-jupiter-engine:5.10.0=testRuntimeClasspath +org.junit.jupiter:junit-jupiter-params:5.10.0=testCompileClasspath,testRuntimeClasspath +org.junit.jupiter:junit-jupiter:5.10.0=testCompileClasspath,testRuntimeClasspath +org.junit.platform:junit-platform-commons:1.10.0=testCompileClasspath,testRuntimeClasspath +org.junit.platform:junit-platform-engine:1.10.0=testRuntimeClasspath +org.junit:junit-bom:5.10.0=testCompileClasspath,testRuntimeClasspath +org.latencyutils:LatencyUtils:2.0.3=runtimeClasspath,testRuntimeClasspath +org.mockito:mockito-core:5.8.0=testCompileClasspath,testRuntimeClasspath +org.objenesis:objenesis:3.3=testRuntimeClasspath +org.opentest4j:opentest4j:1.3.0=testCompileClasspath,testRuntimeClasspath +org.slf4j:slf4j-api:2.0.9=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +empty=annotationProcessor diff --git a/platform-service-framework/build.gradle.kts b/platform-service-framework/build.gradle.kts index 1d62938..0975830 100644 --- a/platform-service-framework/build.gradle.kts +++ b/platform-service-framework/build.gradle.kts @@ -1,8 +1,8 @@ plugins { `java-library` jacoco - id("org.hypertrace.publish-plugin") - id("org.hypertrace.jacoco-report-plugin") + alias(commonLibs.plugins.hypertrace.publish) + alias(commonLibs.plugins.hypertrace.jacoco) } tasks.test { @@ -10,30 +10,20 @@ tasks.test { } dependencies { - api(project(":service-framework-spi")) - api(platform("com.fasterxml.jackson:jackson-bom:2.16.0")) - implementation(project(":platform-metrics")) + api(projects.serviceFrameworkSpi) + implementation(projects.platformMetrics) - api("org.slf4j:slf4j-api:1.7.36") - api("com.typesafe:config:1.4.2") + api(commonLibs.slf4j2.api) + implementation(localLibs.apache.httpcomponents.httpclient) // Use for thread dump servlet - implementation("io.dropwizard.metrics:metrics-jakarta-servlets:4.2.25") - implementation("org.eclipse.jetty:jetty-servlet:11.0.24") + implementation(localLibs.dropwizard.metrics.jakarta.servlets) + implementation(localLibs.jetty.servlet) // Use for metrics servlet - implementation("io.prometheus:simpleclient_servlet_jakarta:0.16.0") + implementation(localLibs.prometheus.simpleclient.servlet.jakarta) - // http client - implementation("org.apache.httpcomponents:httpclient:4.5.13") - - constraints { - implementation("commons-codec:commons-codec:1.15") { - because("version 1.12 has a vulnerability https://snyk.io/vuln/SNYK-JAVA-COMMONSCODEC-561518") - } - } - - testImplementation("org.apache.logging.log4j:log4j-slf4j-impl:2.19.0") - testImplementation("org.junit.jupiter:junit-jupiter:5.9.0") - testImplementation("org.mockito:mockito-core:4.8.0") + testImplementation(commonLibs.log4j.slf4j2.impl) + testImplementation(commonLibs.junit.jupiter) + testImplementation(commonLibs.mockito.core) } diff --git a/platform-service-framework/gradle.lockfile b/platform-service-framework/gradle.lockfile new file mode 100644 index 0000000..424e12b --- /dev/null +++ b/platform-service-framework/gradle.lockfile @@ -0,0 +1,73 @@ +# This is a Gradle generated file for dependency locking. +# Manual edits can break the build and are not advised. +# This file is expected to be part of source control. +com.fasterxml.jackson.core:jackson-annotations:2.16.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.fasterxml.jackson.core:jackson-core:2.16.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.fasterxml.jackson.core:jackson-databind:2.16.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.fasterxml.jackson:jackson-bom:2.16.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.code.findbugs:jsr305:3.0.2=runtimeClasspath,testRuntimeClasspath +com.google.errorprone:error_prone_annotations:2.18.0=runtimeClasspath,testRuntimeClasspath +com.google.guava:failureaccess:1.0.1=runtimeClasspath,testRuntimeClasspath +com.google.guava:guava-parent:32.1.2-jre=runtimeClasspath,testRuntimeClasspath +com.google.guava:guava:32.1.2-jre=runtimeClasspath,testRuntimeClasspath +com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=runtimeClasspath,testRuntimeClasspath +com.helger:profiler:1.1.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.typesafe:config:1.4.2=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +commons-codec:commons-codec:1.11=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +commons-logging:commons-logging:1.2=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-core:4.2.25=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-healthchecks:4.2.25=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-jakarta-servlet:4.2.25=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-jakarta-servlets:4.2.25=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-json:4.2.25=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.dropwizard.metrics:metrics-jvm:4.2.25=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.github.mweirauch:micrometer-jvm-extras:0.2.2=runtimeClasspath,testRuntimeClasspath +io.grpc:grpc-bom:1.68.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.micrometer:micrometer-commons:1.14.4=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.micrometer:micrometer-core:1.14.4=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.micrometer:micrometer-observation:1.14.4=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.micrometer:micrometer-registry-prometheus-simpleclient:1.14.4=runtimeClasspath,testRuntimeClasspath +io.netty:netty-bom:4.1.118.Final=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.prometheus:simpleclient:0.16.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.prometheus:simpleclient_common:0.16.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.prometheus:simpleclient_dropwizard:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_pushgateway:0.16.0=runtimeClasspath,testRuntimeClasspath +io.prometheus:simpleclient_servlet_common:0.16.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.prometheus:simpleclient_servlet_jakarta:0.16.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.prometheus:simpleclient_tracer_common:0.16.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.prometheus:simpleclient_tracer_otel:0.16.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.prometheus:simpleclient_tracer_otel_agent:0.16.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +jakarta.servlet:jakarta.servlet-api:6.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +net.bytebuddy:byte-buddy-agent:1.14.10=testCompileClasspath,testRuntimeClasspath +net.bytebuddy:byte-buddy:1.14.10=testCompileClasspath,testRuntimeClasspath +org.apache.httpcomponents:httpclient:4.5.13=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.apache.httpcomponents:httpcore:4.4.13=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.apache.logging.log4j:log4j-api:2.20.0=testCompileClasspath,testRuntimeClasspath +org.apache.logging.log4j:log4j-core:2.20.0=testRuntimeClasspath +org.apache.logging.log4j:log4j-slf4j2-impl:2.20.0=testCompileClasspath,testRuntimeClasspath +org.apiguardian:apiguardian-api:1.1.2=testCompileClasspath +org.checkerframework:checker-qual:3.33.0=runtimeClasspath,testRuntimeClasspath +org.eclipse.jetty.toolchain:jetty-jakarta-servlet-api:5.0.2=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-bom:11.0.24=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-http:11.0.24=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-io:11.0.24=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-security:11.0.24=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-server:11.0.24=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-servlet:11.0.24=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-util:11.0.24=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.hdrhistogram:HdrHistogram:2.2.2=runtimeClasspath,testRuntimeClasspath +org.hypertrace.bom:hypertrace-bom:0.3.51=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.hypertrace.core.kafkastreams.framework:kafka-bom:0.6.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.junit.jupiter:junit-jupiter-api:5.10.0=testCompileClasspath,testRuntimeClasspath +org.junit.jupiter:junit-jupiter-engine:5.10.0=testRuntimeClasspath +org.junit.jupiter:junit-jupiter-params:5.10.0=testCompileClasspath,testRuntimeClasspath +org.junit.jupiter:junit-jupiter:5.10.0=testCompileClasspath,testRuntimeClasspath +org.junit.platform:junit-platform-commons:1.10.0=testCompileClasspath,testRuntimeClasspath +org.junit.platform:junit-platform-engine:1.10.0=testRuntimeClasspath +org.junit:junit-bom:5.10.0=testCompileClasspath,testRuntimeClasspath +org.latencyutils:LatencyUtils:2.0.3=runtimeClasspath,testRuntimeClasspath +org.mockito:mockito-core:5.8.0=testCompileClasspath,testRuntimeClasspath +org.objenesis:objenesis:3.3=testRuntimeClasspath +org.opentest4j:opentest4j:1.3.0=testCompileClasspath,testRuntimeClasspath +org.slf4j:slf4j-api:2.0.9=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +empty=annotationProcessor diff --git a/service-framework-spi/build.gradle.kts b/service-framework-spi/build.gradle.kts index 6653826..bc25db1 100644 --- a/service-framework-spi/build.gradle.kts +++ b/service-framework-spi/build.gradle.kts @@ -1,4 +1,4 @@ plugins { `java-library` - id("org.hypertrace.publish-plugin") + alias(commonLibs.plugins.hypertrace.publish) } diff --git a/service-framework-spi/gradle.lockfile b/service-framework-spi/gradle.lockfile new file mode 100644 index 0000000..d7cc2fd --- /dev/null +++ b/service-framework-spi/gradle.lockfile @@ -0,0 +1,10 @@ +# This is a Gradle generated file for dependency locking. +# Manual edits can break the build and are not advised. +# This file is expected to be part of source control. +com.fasterxml.jackson:jackson-bom:2.16.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.grpc:grpc-bom:1.68.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.netty:netty-bom:4.1.118.Final=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.jetty:jetty-bom:11.0.24=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.hypertrace.bom:hypertrace-bom:0.3.51=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.hypertrace.core.kafkastreams.framework:kafka-bom:0.6.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +empty=annotationProcessor diff --git a/settings.gradle.kts b/settings.gradle.kts index b5ed956..ff59eb9 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,3 +1,5 @@ +import org.hypertrace.gradle.dependency.DependencyPluginSettingExtension + rootProject.name = "service-framework" pluginManagement { @@ -10,8 +12,15 @@ pluginManagement { plugins { id("org.hypertrace.version-settings") version "0.3.0" + id("org.hypertrace.dependency-settings") version "0.2.0" +} + +configure { + catalogVersion.set("0.3.51") } +enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS") + include(":platform-grpc-service-framework") include(":platform-http-service-framework") include(":platform-hybrid-service-framework")