Skip to content

Commit

Permalink
update dependencies (#138)
Browse files Browse the repository at this point in the history
* update dependencies

* explicitely set version for azurite testcontainer to ensure correct api version

---------

Co-authored-by: Tobias Watzl <[email protected]>
  • Loading branch information
twatzl and Tobias Watzl authored Jan 7, 2025
1 parent f091ccb commit a972765
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 14 deletions.
8 changes: 4 additions & 4 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[versions]
assertj = "3.26.0"

azure = "5.16.0"
azure-identity = "1.13.3"
azure = "5.19.0"
azure-identity = "1.14.2"

# we provide the latest version of guava here, as queryDSL pulls in a very old (and vulnerable) version of guava, and we want to override that here
guava = "33.2.1-jre"
Expand All @@ -18,8 +18,8 @@ opentelemetry = "1.38.0"

shedlock = "5.13.0"

spring-boot = "3.3.5"
spring-cloud = "2023.0.3"
spring-boot = "3.4.1"
spring-cloud = "2024.0.0"

[libraries]
archunit-ccv = { module = "io.cloudflight.cleancode.archunit:archunit-cleancode-verifier", version = "0.5.0" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@ class PlatformI18nAutoConfiguration : MessageSourceAutoConfiguration() {
@Bean
override fun messageSource(properties: MessageSourceProperties): MessageSource {
val messageSource = PlatformMessageSourceImpl()
if (StringUtils.hasText(properties.basename)) {
messageSource.setBasenames(
*StringUtils
.commaDelimitedListToStringArray(StringUtils.trimAllWhitespace(properties.basename))
)
if (properties.basename.isNotEmpty()) {
messageSource.setBasenames(*properties.basename.toTypedArray<String>())
}
if (properties.encoding != null) {
messageSource.setDefaultEncoding(properties.encoding.name())
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package io.cloudflight.platform.spring.jpa.autoconfigure

import org.springframework.boot.autoconfigure.transaction.PlatformTransactionManagerCustomizer
import org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizer
import org.springframework.transaction.support.AbstractPlatformTransactionManager

class TransactionCustomizer(private val properties: TransactionProperties) : PlatformTransactionManagerCustomizer<AbstractPlatformTransactionManager> {
class TransactionCustomizer(private val properties: TransactionProperties) : TransactionManagerCustomizer<AbstractPlatformTransactionManager> {

override fun customize(transactionManager: AbstractPlatformTransactionManager) {
// we want to have that validation here in order to ensure that if a read-only transaction is being opened that
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class ManagementSecurityAutoConfiguration {
disable()
}

authorizeRequests {
authorizeHttpRequests {
authorize(EndpointRequest.toAnyEndpoint(), permitAll)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class AzuriteContainer(dockerImageName: DockerImageName) : GenericContainer<Azur
val accountKey = AzuriteContainerConnectionDetailsFactory.ACCOUNT_KEY

companion object {
private const val DEFAULT_IMAGE_NAME = "mcr.microsoft.com/azure-storage/azurite"
private const val DEFAULT_IMAGE_NAME = "mcr.microsoft.com/azure-storage/azurite:3.33.0"

private const val AZURITE_PORT = 10000
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import org.springframework.boot.testcontainers.service.connection.ContainerConne

class AzuriteContainerConnectionDetailsFactory :
ContainerConnectionDetailsFactory<AzuriteContainer, AzuriteConnectionDetails>(
null,
"",
"io.cloudflight.platform.spring.storage.azure.autoconfigure.PlatformAzureStorageBlobAutoConfiguration"
) {

Expand Down

0 comments on commit a972765

Please sign in to comment.