-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
HELP.md | ||
.gradle | ||
.DS_Store | ||
build/ | ||
!gradle/wrapper/gradle-wrapper.jar | ||
!**/src/main/**/build/ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#Thu Oct 19 08:27:32 KST 2023 | ||
gradle.version=7.6 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"java.configuration.updateBuildConfiguration": "interactive" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
#application server port 설정 | ||
server: | ||
port: 8080 | ||
|
||
logging: | ||
pattern: | ||
level: "%5p [${spring.application.name},%X{trace_id},%X{span_id}]" | ||
|
||
spring: | ||
application: | ||
name: appManager #application 이름 설정 ( 필수 : opentracing에도 사용 됨 ) | ||
|
||
#DB Connection 설정 | ||
datasource: | ||
hikari: | ||
username: #db user-name value 들어가야함. | ||
password: #db password value 들어가야함. | ||
driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy | ||
jdbc-url: # {url}:{port}/{db schema}?serverTimeZone=UTC | ||
idle-timeout: 250 #pool에서 일 안하는 커넥션 유지시간. ( default: 600000ms : 10min ) | ||
max-lifetime: 250 #connections pool에 있을 수 있는 최대 시간. ( 사용중인 connection은 제거되지 않음 , default:1800000ms : 30min ) | ||
|
||
|
||
|
||
#Actuator 사용 설정 | ||
management: | ||
endpoints: | ||
enabled-by-default: false #기본 enable로 설정되어 있는 값을 disable로 설정 ( 보안 처리를 위해 필요한곳만 enable 처리 ) | ||
web: | ||
exposure: | ||
include: info, health, metrics #보안처리 | ||
base-path: /mmpact | ||
endpoint: | ||
info: | ||
enabled: true | ||
health: | ||
enabled: true | ||
metrics: | ||
enabled: true | ||
|
||
#Jaeger 설정 | ||
# opentracing.jaeger.service-name 이 없을시 spring.application.name 으로 사용된다. | ||
# tracing log의 header format을 정할 수 있음. | ||
# - opentracing.jaeger.enable-b3-propagation = true ( B3 : zipkin collector 호환성 포맷 ) | ||
# - opentracing.jaeger.enable-w3c-propagation = true ( W3C Trace Context format ) | ||
opentracing: | ||
jaeger: | ||
udp-sender: | ||
host: 210.217.178.128 | ||
port: 30689 | ||
const-sampler: | ||
decision: true #모든 Trace가 sampled된다. | ||
probabilistic-sampler: | ||
sampling-rate: 1.0 #rate는 0.0(no sampling) 과 1.0(every request) 사이 | ||
enabled: true #Jaeger Tracing을 사용 여부 설정. | ||
|
||
|
||
springdoc: | ||
swagger-ui: | ||
groups-order: desc #정렬 순서 정의 | ||
operations-sorter: method #명세서 안에 메소드 순으로 정렬 | ||
show-actuator: true #actuator uri 보여짐. | ||
# api 명세서 scan 대상 ( package, uri path ) 설정 안하면 전체를 대상으로 스캔함. | ||
# packages-to-scan: | ||
# - kr.co.strato.mmpstartkit.controller | ||
# paths-to-match: | ||
# - /api/** | ||
|
||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#mybatis log4jdbc | ||
log4jdbc.spylogdelegator.name=net.sf.log4jdbc.log.slf4j.Slf4jSpyLogDelegator | ||
log4jdbc.dump.sql.maxlinelength=0 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration> | ||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>[%d{yyyy-MM-dd HH:mm:ss}:%-3relative][%thread] %green(%-5level) %logger{35} %cyan(%logger{15}) - %msg %n</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<logger name="jdbc" level="OFF"/> | ||
|
||
<logger name="jdbc.sqlonly" level="OFF"/> | ||
<logger name="jdbc.sqltiming" level="INFO"/> | ||
<logger name="jdbc.audit" level="OFF"/> | ||
<logger name="jdbc.resultset" level="OFF"/> | ||
<logger name="jdbc.resultsettable" level="INFO"/> | ||
<logger name="jdbc.connection" level="OFF"/> | ||
|
||
<root level="INFO"> | ||
<appender-ref ref="STDOUT" /> | ||
</root> | ||
</configuration> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
server: | ||
port: 18085 | ||
|
||
logging: | ||
pattern: | ||
level: "%5p [${spring.application.name},%X{trace_id},%X{span_id}]" | ||
|
||
spring: | ||
application: | ||
name: appManager | ||
|
||
# datasource: | ||
# hikari: | ||
# username: ${DB_USER_NAME} | ||
# password: ${DB_PWD} | ||
# driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy | ||
# jdbc-url: "jdbc:mariadb://${DB_URL:localhost:3306}/mcmp?characterEncoding=UTF-8&serverTimezone=UTC&autoReconnect=true&useSSL=false" | ||
# idle-timeout: 250 | ||
# max-lifetime: 250 | ||
datasource: | ||
hikari: | ||
username: root | ||
password: roqkftpsxj12#$ | ||
driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy | ||
jdbc-url: jdbc:mariadb://10.10.30.28:13306/m-cmp?characterEncoding=UTF-8&serverTimezone=UTC&autoReconnect=true&useSSL=false | ||
idle-timeout: 250 | ||
max-lifetime: 250 | ||
|
||
|
||
management: | ||
endpoints: | ||
enabled-by-default: false | ||
web: | ||
exposure: | ||
include: info, health | ||
base-path: /mmpact | ||
endpoint: | ||
info: | ||
enabled: true | ||
health: | ||
enabled: true | ||
|
||
springdoc: | ||
swagger-ui: | ||
groups-order: desc | ||
operations-sorter: method | ||
show-actuator: false | ||
|
||
## ArgoCd | ||
argocd: | ||
project: | ||
name: m-cmp | ||
|
||
aes: | ||
key: fb1755281b0ca6184a0ee644e6477ee7 | ||
|
||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#mybatis log4jdbc | ||
log4jdbc.spylogdelegator.name=net.sf.log4jdbc.log.slf4j.Slf4jSpyLogDelegator | ||
log4jdbc.dump.sql.maxlinelength=0 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration> | ||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>[%d{yyyy-MM-dd HH:mm:ss}:%-3relative][%thread] %green(%-5level) %logger{35} %cyan(%logger{15}) - %msg %n</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<logger name="jdbc" level="OFF"/> | ||
|
||
<logger name="jdbc.sqlonly" level="OFF"/> | ||
<logger name="jdbc.sqltiming" level="INFO"/> | ||
<logger name="jdbc.audit" level="OFF"/> | ||
<logger name="jdbc.resultset" level="OFF"/> | ||
<logger name="jdbc.resultsettable" level="INFO"/> | ||
<logger name="jdbc.connection" level="OFF"/> | ||
|
||
<root level="INFO"> | ||
<appender-ref ref="STDOUT" /> | ||
</root> | ||
</configuration> |