Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-mail'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.retry:spring-retry'
implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
implementation 'org.springframework:spring-aspects'
implementation 'org.springframework.boot:spring-boot-starter-amqp'
implementation 'io.jsonwebtoken:jjwt-api:0.12.5'
Expand All @@ -63,6 +64,13 @@ dependencies {
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}

dependencyManagement {
imports {
// This coordinates and provides the correct version for the Eureka client automatically
mavenBom "org.springframework.cloud:spring-cloud-dependencies:2023.0.1"
}
}

// Unified test configuration block
tasks.named('test') {
useJUnitPlatform()
Expand Down
11 changes: 8 additions & 3 deletions src/main/resources/application-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
spring:
application:
name: identity-and-access-management-service
name: iam-service

data:
mongodb:
Expand Down Expand Up @@ -63,7 +63,7 @@ mdc:
key: traceId

server:
port: 5600
port: 4200

logging:
level:
Expand All @@ -85,4 +85,9 @@ management:

endpoint:
health:
show-details: always
show-details: always

eureka:
client:
service-url:
defaultZone: http://localhost:8761/eureka/
Loading