dept44-example.4.3.0.source-code.application-it.properties Maven / Gradle / Ivy
#===============================================================================
# TEST SPECIFIC SETTINGS (it-tests)
#===============================================================================
#===============================================================================
# Integration settings
#===============================================================================
#-------------------------------------------------------------------------------
# Datasource settings
#-------------------------------------------------------------------------------
spring.jpa.properties.jakarta.persistence.schema-generation.database.action=validate
# Driver
spring.datasource.driver-class-name=org.testcontainers.jdbc.ContainerDatabaseDriver
# URL to database test container
spring.datasource.url=jdbc:tc:mariadb:10.6.4:///
# Flyway
spring.flyway.enabled=true
#-------------------------------------------------------------------------------
# PetStore integration
#-------------------------------------------------------------------------------
# Rest client
integration.petstore.url=http://localhost:${wiremock.server.port}/api-petstore
# Oauth2
spring.security.oauth2.client.registration.petstore.client-id=the-client-id
spring.security.oauth2.client.registration.petstore.client-secret=the-client-secret
spring.security.oauth2.client.provider.petstore.token-uri=http://localhost:${wiremock.server.port:}/api-gateway/token