All checks were successful
Daily cloudflare API integration test / cloudflare-api-test (push) Successful in 1m48s
sample gradle build and test / build (pull_request) Successful in 2m7s
Build & Push CFTunnels / version (push) Successful in 6s
Build & Push Portainer Automation / version (push) Successful in 6s
Build & Push CFTunnels / build-and-push (push) Successful in 3m45s
Build & Push Portainer Automation / build-and-push (push) Successful in 2m2s
- Add spring-boot-starter-actuator dependency - Configure management port (8081) separate from application port (8080) - Expose /actuator/health and /actuator/info endpoints publicly - Block other actuator endpoints without authentication - Add ActuatorSecurityConfig for actuator-specific security rules - Update Docker Compose to expose management port (5003:8081) - Update Dockerfile to expose ports 8080 and 8081 - Add actuator configuration to all profile-specific properties files
48 lines
1.5 KiB
Groovy
48 lines
1.5 KiB
Groovy
apply plugin: 'org.springframework.boot'
|
|
|
|
dependencies {
|
|
implementation project(':common')
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
|
implementation 'org.springframework.boot:spring-boot-starter-actuator'
|
|
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.5'
|
|
implementation 'org.hibernate.validator:hibernate-validator'
|
|
|
|
runtimeOnly 'org.postgresql:postgresql'
|
|
runtimeOnly 'com.h2database:h2'
|
|
|
|
compileOnly 'org.projectlombok:lombok'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
testImplementation 'org.springframework.security:spring-security-test'
|
|
}
|
|
|
|
test {
|
|
systemProperty 'spring.profiles.active', 'ci'
|
|
useJUnitPlatform {
|
|
excludeTags 'integration'
|
|
}
|
|
testLogging {
|
|
events "passed", "skipped", "failed", "standardOut", "standardError"
|
|
exceptionFormat "full"
|
|
showStandardStreams = true
|
|
}
|
|
}
|
|
|
|
tasks.register('integrationTestOnly', Test) {
|
|
useJUnitPlatform {
|
|
includeTags 'integration'
|
|
}
|
|
description = 'Runs only integration tests tagged with @Tag("integration")'
|
|
group = 'verification'
|
|
testLogging {
|
|
events "passed", "skipped", "failed"
|
|
exceptionFormat "full"
|
|
showStandardStreams = true
|
|
}
|
|
}
|