Skip to content

Commit

Permalink
feat: 升级devops-framework版本 TencentBlueKing#73 升级mongo driver版本
Browse files Browse the repository at this point in the history
  • Loading branch information
yaoxuwan committed Apr 27, 2023
1 parent bbac80a commit 8114277
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
7 changes: 7 additions & 0 deletions src/backend/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ allprojects {
}
dependency("com.playtika.reactivefeign:feign-reactor-spring-cloud-starter:${Versions.ReactiveFeign}")
dependency("org.springframework.cloud:spring-cloud-sleuth-otel-dependencies:${Versions.SleuthOtel}")
dependencySet("org.mongodb:${Versions.Mongo}") {
entry("bson")
entry("bson-record")
entry("mongodb-driver-core")
entry("mongodb-driver-reactivestreams")
entry("mongodb-driver-sync")
}
}
}
ext["netty.version"] = Versions.Netty
Expand Down
1 change: 1 addition & 0 deletions src/backend/buildSrc/src/main/kotlin/Versions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,5 @@ object Versions {
const val SleuthOtel = "1.1.2"
const val KubernetesClient = "11.0.2"
const val ReactiveFeign = "3.2.6"
const val Mongo = "4.6.1"
}
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,4 @@ class OtelWebConfiguration {
const val HEADER_BKREPO_TRACE_ID = "X-BkRepo-Trace-Id"
const val TRACE_ID_BAGGAGE_KEY = "X-BKREPO-TRACE-ID"
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ data:
config: classpath:logback-config.xml
path: /data/workspace/logs
spring:
sleuth:
enabled: true
data:
mongodb:
uri: {{ include "bkrepo.mongodbUri" . }}
Expand Down

0 comments on commit 8114277

Please sign in to comment.