kopia lustrzana https://github.com/jortage/poolmgr
Fix slf4j and blob store driver name
rodzic
e7b66883d1
commit
911c712be3
|
@ -19,6 +19,12 @@ sourceSets {
|
|||
}
|
||||
}
|
||||
|
||||
configurations.all {
|
||||
resolutionStrategy {
|
||||
force 'org.slf4j:slf4j-api:1.7.36'
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'blue.endless:jankson:1.2.3'
|
||||
implementation 'org.mariadb.jdbc:mariadb-java-client:3.1.4'
|
||||
|
|
|
@ -300,7 +300,7 @@ public class Poolmgr {
|
|||
}
|
||||
|
||||
private static BlobStore createBlobStore(JsonObject obj) {
|
||||
return ContextBuilder.newBuilder("s3")
|
||||
return ContextBuilder.newBuilder("aws-s3")
|
||||
.credentials(((JsonPrimitive)obj.get("accessKeyId")).asString(), ((JsonPrimitive)obj.get("secretAccessKey")).asString())
|
||||
.modules(ImmutableList.of(new SLF4JLoggingModule()))
|
||||
.endpoint(((JsonPrimitive)obj.get("endpoint")).asString())
|
||||
|
|
Ładowanie…
Reference in New Issue