diff --git a/nflg-wms-admin/src/main/resources/application.yml b/nflg-wms-admin/src/main/resources/application.yml index 6453e699..e36a23fc 100644 --- a/nflg-wms-admin/src/main/resources/application.yml +++ b/nflg-wms-admin/src/main/resources/application.yml @@ -33,4 +33,12 @@ management: web: exposure: include: '*' - enabled-by-default: on \ No newline at end of file + enabled-by-default: on + endpoint: + health: + show-details: always + health: + db: + enabled: true + redis: + enabled: true \ No newline at end of file diff --git a/nflg-wms-auth/pom.xml b/nflg-wms-auth/pom.xml index 3761b7d9..568457cb 100644 --- a/nflg-wms-auth/pom.xml +++ b/nflg-wms-auth/pom.xml @@ -44,6 +44,10 @@ com.github.loki4j loki-logback-appender + + org.springframework.boot + spring-boot-starter-actuator + com.jcraft jsch diff --git a/nflg-wms-auth/src/main/resources/application.yml b/nflg-wms-auth/src/main/resources/application.yml index 058150cd..16000a39 100644 --- a/nflg-wms-auth/src/main/resources/application.yml +++ b/nflg-wms-auth/src/main/resources/application.yml @@ -33,4 +33,18 @@ sa-token: jwt-secret-key: asdasdasifhueuiwyurfewbfjsdafjk logging: level: - root: info \ No newline at end of file + root: info +management: + endpoints: + web: + exposure: + include: '*' + enabled-by-default: on + endpoint: + health: + show-details: always + health: + db: + enabled: true + redis: + enabled: true \ No newline at end of file diff --git a/nflg-wms-gateway/src/main/resources/application.yml b/nflg-wms-gateway/src/main/resources/application.yml index 8c88d137..803277b8 100644 --- a/nflg-wms-gateway/src/main/resources/application.yml +++ b/nflg-wms-gateway/src/main/resources/application.yml @@ -31,4 +31,13 @@ management: endpoints: web: exposure: - include: "*" \ No newline at end of file + include: '*' + enabled-by-default: on + endpoint: + health: + show-details: always + health: + db: + enabled: true + redis: + enabled: true \ No newline at end of file diff --git a/nflg-wms-scheduled/pom.xml b/nflg-wms-scheduled/pom.xml index 3febb551..0cea5c1c 100644 --- a/nflg-wms-scheduled/pom.xml +++ b/nflg-wms-scheduled/pom.xml @@ -50,6 +50,10 @@ org.springframework.ldap spring-ldap-core + + org.springframework.boot + spring-boot-starter-actuator + diff --git a/nflg-wms-scheduled/src/main/resources/application.yml b/nflg-wms-scheduled/src/main/resources/application.yml index 9ce6c31b..0f660931 100644 --- a/nflg-wms-scheduled/src/main/resources/application.yml +++ b/nflg-wms-scheduled/src/main/resources/application.yml @@ -19,4 +19,18 @@ spring: group: ${spring.profiles.active} logging: level: - root: info \ No newline at end of file + root: info +management: + endpoints: + web: + exposure: + include: '*' + enabled-by-default: on + endpoint: + health: + show-details: always + health: + db: + enabled: true + redis: + enabled: true \ No newline at end of file diff --git a/nflg-wms-srm-receive/pom.xml b/nflg-wms-srm-receive/pom.xml index 0dc2f65f..6d30d596 100644 --- a/nflg-wms-srm-receive/pom.xml +++ b/nflg-wms-srm-receive/pom.xml @@ -34,6 +34,10 @@ com.github.loki4j loki-logback-appender + + org.springframework.boot + spring-boot-starter-actuator + com.jcraft jsch diff --git a/nflg-wms-srm-receive/src/main/resources/application.yml b/nflg-wms-srm-receive/src/main/resources/application.yml index 5e9893ba..cc62a668 100644 --- a/nflg-wms-srm-receive/src/main/resources/application.yml +++ b/nflg-wms-srm-receive/src/main/resources/application.yml @@ -23,4 +23,18 @@ spring: group: ${spring.profiles.active} logging: level: - root: info \ No newline at end of file + root: info +management: + endpoints: + web: + exposure: + include: '*' + enabled-by-default: on + endpoint: + health: + show-details: always + health: + db: + enabled: true + redis: + enabled: true \ No newline at end of file diff --git a/pom.xml b/pom.xml index 433d87c5..e8a5cb79 100644 --- a/pom.xml +++ b/pom.xml @@ -30,7 +30,7 @@ ${java.version} ${java.version} UTF-8 - 1.18.34 + 1.18.38 2023.0.1 2023.0.1.0 5.8.36