You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
93 lines
3.3 KiB
YAML
93 lines
3.3 KiB
YAML
# Server configuration
|
|
server:
|
|
port: 8090
|
|
servlet:
|
|
context-path: /
|
|
encoding:
|
|
charset: UTF-8
|
|
enabled: true
|
|
force: true # 서버가 지정한 인코딩(UTF-8)을 항상 강제로 적용, 클라이언트의 요청과 상관없이 서버 인코딩이 우선
|
|
|
|
|
|
Globals:
|
|
DbType: maria
|
|
|
|
# Common application properties
|
|
spring:
|
|
profiles:
|
|
active: local
|
|
application:
|
|
name: '@projectName@'
|
|
mvc:
|
|
view:
|
|
prefix: /WEB-INF/views/
|
|
suffix: .jsp
|
|
|
|
# MyBatis configuration
|
|
# MyBatis-Spring-Boot-Starter는 DataSource를 이용해 SqlSessionFactory 빈을 자동으로 생성
|
|
# SqlSessionFactory를 이용해 SqlSessionTemplate 빈을 생성
|
|
# 최종적으로 datasource 와 mybatis 연결
|
|
mybatis:
|
|
config-location: classpath:mybatis/mybatis-config.xml
|
|
mapper-locations: classpath:mybatis/mapper/**/*_${Globals.DbType}.xml
|
|
type-aliases-package: go.kr.project.**.model,egovframework.**.model
|
|
|
|
# Springdoc OpenAPI 설정
|
|
springdoc:
|
|
swagger-ui:
|
|
operations-sorter: method # API 메서드별 정렬 (GET, POST, PUT, DELETE 순)
|
|
tags-sorter: alpha # 태그 알파벳 순 정렬
|
|
display-request-duration: true # 요청 시간 표시
|
|
doc-expansion: none # 초기 확장 상태: none(모두 접힘)
|
|
filter: true # 검색 필터 활성화
|
|
supportedSubmitMethods: [get, post] # Swagger UI에서 실행 가능한 메서드 제한
|
|
packages-to-scan: go.kr.project # API 스캔 대상 패키지
|
|
# 참고: Swagger UI는 브라우저 쿠키를 자동으로 사용하여 세션 인증을 처리합니다
|
|
|
|
# Login configuration
|
|
login:
|
|
url: /login/login.do # 로그인 페이지 URL (공통으로 사용)
|
|
lock:
|
|
count: 0 # 비밀번호 잠김 최종 카운트 (0일 경우 잠김 로직 pass)
|
|
DefaultPassword: ibmspassword # 초기 비밀번호, 초기화 비밀번호
|
|
allowMultipleLogin: true # 동시 접속 가능 여부 (true: 가능, false: 불가능)
|
|
|
|
# Query executor configuration
|
|
query-executor:
|
|
transaction:
|
|
timeout-minutes: 5 # 트랜잭션 타임아웃 (분 단위, 기본값: 5분)
|
|
|
|
# Mariadb aes_secret_key # 참고용도, 실제는 DB function에 하드코딩되어 있음
|
|
aes-secret-key: Copyright(c)2015-xit.co.kr
|
|
|
|
# Interceptor configuration
|
|
interceptor:
|
|
interceptorExclude:
|
|
- /ubi4/** #ubi report test
|
|
- /UbiServer/** #ubi report test
|
|
- /login/** #로그인
|
|
- / #루트 페이지
|
|
- /.well-known/** #개발 툴
|
|
#- /common/** #공통 조회, 코드 등
|
|
- /common/config/** #공통 설정 조회
|
|
- /resources/** #web server 배포
|
|
- /css/** #css
|
|
- /img/** #images
|
|
- /js/** #js
|
|
- /xit/** #xit 자체 공통
|
|
- /plugins/** #jquery plugins
|
|
- /font/** #font page
|
|
- /error/** #에러 페이지
|
|
- /favicon.ico #파비콘
|
|
- /swagger-ui/** #Swagger UI
|
|
- /v3/api-docs/** #Swagger API 문서
|
|
refererExclude:
|
|
- /** #모두 승인 (개발 시에만)
|
|
- /login/** #로그인 관련 페이지
|
|
- / #루트 페이지
|
|
- /main.do #메인 페이지
|
|
- /error/** #에러 페이지
|
|
- /common/** #공통 페이지
|
|
- /swagger-ui/** #Swagger UI
|
|
- /v3/api-docs/** #Swagger API 문서
|