Skip to content

Commit

Permalink
Upgrading grpc netty version to fix snyk build failure (#32)
Browse files Browse the repository at this point in the history
* Upgrading grpc netty version to fix snyk build failure

* Upgrade dependencies for data-model and netty.

* Update guava for protobuf

* Update guava dependencies
  • Loading branch information
mohit-a21 authored Oct 27, 2020
1 parent 5e14bbf commit 78da9a5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
3 changes: 3 additions & 0 deletions raw-span-constants/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,8 @@ sourceSets {

dependencies {
api("com.google.protobuf:protobuf-java-util:3.7.0")
api("com.google.guava:guava:30.0-jre") {
because("https://snyk.io/vuln/SNYK-JAVA-COMGOOGLEGUAVA-1015415")
}
implementation("org.slf4j:slf4j-api:1.7.30")
}
11 changes: 8 additions & 3 deletions span-normalizer/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,22 @@ dependencies {
implementation(project(":span-normalizer-api"))
implementation(project(":span-normalizer-constants"))

implementation("org.hypertrace.core.datamodel:data-model:0.1.9")
implementation("org.hypertrace.core.datamodel:data-model:0.1.10")
implementation("org.hypertrace.core.serviceframework:platform-service-framework:0.1.9")
implementation("org.hypertrace.core.serviceframework:platform-metrics:0.1.8")
implementation("org.hypertrace.core.kafkastreams.framework:kafka-streams-framework:0.1.7")


// Required for the GRPC clients.
runtimeOnly("io.grpc:grpc-netty:1.31.1")
runtimeOnly("io.grpc:grpc-netty:1.33.0")
runtime("io.netty:netty-codec-http2:4.1.53.Final") {
because("https://snyk.io/vuln/SNYK-JAVA-IONETTY-1020439")
}
runtime("io.netty:netty-handler-proxy:4.1.53.Final") {
because("https://snyk.io/vuln/SNYK-JAVA-IONETTY-1020439")
}
implementation("com.typesafe:config:1.4.0")
implementation("de.javakaffee:kryo-serializers:0.45")

implementation("io.confluent:kafka-avro-serializer:5.5.1")
implementation("org.apache.commons:commons-lang3:3.10")
implementation("org.apache.httpcomponents:httpclient:4.5.13")
Expand Down

0 comments on commit 78da9a5

Please sign in to comment.