#===============================================================================
# \uc6b4\uc601 \uc11c\ubc84 \ud658\uacbd \uc124\uc815 (PROD)
#===============================================================================

# \uc6b4\uc601\uc11c\ubc84 \ud0c0\uc785
Globals.OsType=LINUX

#===============================================================================
# PostgreSQL 17 + PostGIS 3.4 \uc5f0\uacb0 \uc815\ubcf4 (\uc6b4\uc601 \uc11c\ubc84)
#===============================================================================

# \uba54\uc778 DB (\uae30\ubcf8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 DB) - P6Spy \ube44\ud65c\uc131\ud654 (\uc6b4\uc601\uc6a9)
globals.postgres.driverClassName=org.postgresql.Driver
globals.postgres.jdbcUrl=jdbc:postgresql://10.161.3.74:6432/ags
globals.postgres.username=icusr
globals.postgres.password=icusr
globals.postgres.maximumPoolSize=25
globals.postgres.minimumIdle=5
globals.postgres.connectionTimeout=3000
globals.postgres.idleTimeout=600000
globals.postgres.maxLifetime=1800000
globals.postgres.leakDetectionThreshold=0
globals.postgres.validationTimeout=3000

# \uc678\ubd80 DB (\uc5f0\ub3d9\uc6a9)
globals.external.postgres.driverClassName=org.postgresql.Driver
globals.external.postgres.jdbcUrl=jdbc:postgresql://10.161.3.67:6432/sgp
globals.external.postgres.username=icusr
globals.external.postgres.password=icusr
globals.external.postgres.maximumPoolSize=15
globals.external.postgres.minimumIdle=3
globals.external.postgres.connectionTimeout=3000
globals.external.postgres.idleTimeout=600000
globals.external.postgres.maxLifetime=1800000
globals.external.postgres.leakDetectionThreshold=0
globals.external.postgres.validationTimeout=3000

# HikariCP \uc124\uc815\uc740 \uc704\uc758 globals.postgres \uc139\uc158\uc5d0\uc11c \uad00\ub9ac\ub428

#===============================================================================
# Crypto Config (\uc6b4\uc601 \uc11c\ubc84\uc6a9)
#===============================================================================
Globals.crypto.passwordEncoder.algorithm=SHA-256
Globals.crypto.passwordEncoder.hashedPassword=incheon2024
Globals.crypto.aria.blockSize=1024

#===============================================================================
# Spring Boot Multipart \uc124\uc815
#===============================================================================
spring.servlet.multipart.enabled=true
spring.servlet.multipart.max-file-size=100MB
spring.servlet.multipart.max-request-size=100MB
spring.servlet.multipart.file-size-threshold=2KB

#===============================================================================
# Logback \uc124\uc815
#===============================================================================
# \uc124\uc815 \ud30c\uc77c \uba85\uc2dc\uc801 \uc9c0\uc815 (\uc758\uc874\uc131 jar\uc758 logback.xml \ubb34\uc2dc)
logging.config=classpath:logback-spring.xml

#===============================================================================
# H2 Console \uc124\uc815
#===============================================================================
# \uc6b4\uc601 \uc11c\ubc84\uc5d0\uc11c\ub294 H2 \ucf58\uc194 \ube44\ud65c\uc131\ud654
spring.h2.console.enabled=false

#===============================================================================
# Spring Boot DevTools \uc124\uc815 (\uc6b4\uc601 \uc11c\ubc84\uc6a9)
#===============================================================================
spring.devtools.restart.enabled=false
spring.devtools.livereload.enabled=false

#===============================================================================
# MyBatis \uc124\uc815
#===============================================================================
mybatis.mapper-locations=classpath:incheon/mapper/**/*.xml
mybatis.type-aliases-package=incheon.com.cmm
mybatis.configuration.map-underscore-to-camel-case=true

#===============================================================================
# GIS Server \uc124\uc815
#===============================================================================
# GIS Server
gis.server.url=http://10.161.3.72:3004/MapPrimeServer
gis.server.prefix=incheon

# 3D Manager Server
gis.manager.url=http://10.161.3.77:3004/MapPrime3DManager
gis.manager.prefix=incheon

# 3D Build Server
gis.build.url=http://10.161.3.77:20004
gis.build.prefix=incheon

#===============================================================================
# \uc678\ubd80 API \uc5f0\ub3d9 \uc124\uc815
#===============================================================================
# \uad50\ud1b5\uc9c0\ub3c4 API (ITS OPEN API)
trf.api.base-url=https://openapi.its.go.kr:9443
trf.api.key=2c180918cb9c4a92a18239519de3518d
trf.api.connect-timeout-ms=5000
trf.api.timeout-ms=7000
trf.api.traffic-url=/trafficInfo
trf.api.cctv-url=/cctvInfo

# Weather Realtime API URL / API key (DEMO: OPEN API)
sgp.weather.api.base-url=https://apihub.kma.go.kr/api/typ02/openApi/VilageFcstInfoService_2.0/getUltraSrtFcst
sgp.weather.api.key=v-y9N2uVSsKsvTdrlXrCYA
sgp.weather.api.connect-timeout-ms=5000
sgp.weather.api.timeout-ms=7000

# Incheon \ubc84\uc2a4 \ub3c4\ucc29 \uc815\ubcf4 API
external.bus.arrival_url=https://apis.data.go.kr/6280000/busArrivalService/getAllRouteBusArrivalList
external.bus.arrival-service-key=2c8d1bdf36ffa0fe8eaf96b0d4a9fbd35faa406069e23c9992c194d875af26ab

# \uc678\ubd80 API \ud0a4
external.api.key=TEST-API-KEY-1234567890

#===============================================================================
# MSSQL Apollo \uc124\uc815
#===============================================================================
mssql.enabled=true
globals.external.mssql.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
globals.external.mssql.jdbcUrl=jdbc:sqlserver://101.0.1.43:1433;databaseName=APOLLO_CATALOG;encrypt=true;trustServerCertificate=true;loginTimeout=5
globals.external.mssql.username=sa
globals.external.mssql.password=z7340050!
globals.external.mssql.maximumPoolSize=10
globals.external.mssql.minimumIdle=2
globals.external.mssql.connectionTimeout=3000
globals.external.mssql.idleTimeout=600000
globals.external.mssql.maxLifetime=1800000
globals.external.mssql.leakDetectionThreshold=0
globals.external.mssql.validationTimeout=3000

#===============================================================================
# \uacf5\ud1b5 \ucca8\ubd80\ud30c\uc77c \uc124\uc815 (Common File Upload)
#===============================================================================
# \ud30c\uc77c \uc800\uc7a5 \uacbd\ub85c (\uc6b4\uc601 \uc11c\ubc84)
Globals.comfile.storage.path=/idc01/mw/idsp/upload/com
Globals.comfile.storage.temp.path=/idc01/mw/idsp/upload/com/temp
Globals.comfile.max.file.size=104857600
# \ud5c8\uc6a9 \ud655\uc7a5\uc790\ub294 application.properties\uc758 Globals.fileUpload.Extensions \uc0ac\uc6a9

#===============================================================================
# PSS \ud30c\uc77c \uc5c5\ub85c\ub4dc \uc124\uc815
#===============================================================================
Globals.pss.upload.path=/idc01/mw/idsp/upload/pss

#===============================================================================
# DSS \ud30c\uc77c \uc5c5\ub85c\ub4dc \uc124\uc815
#===============================================================================
# DSS \ud30c\uc77c \uc800\uc7a5 \uacbd\ub85c
Globals.dss.upload.path=/idc01/mw/idsp/upload/dss
Globals.dss.resource.path=/idc01/mw/idsp/resource/dss

# DSS Open API - Sinkhole Subsidence Info
dss.openapi.sinkhole.service-key=2e3db54905a9a583fdb2c60f700a128c3b85c4dde0f918b55536fa5336a1ca33
dss.openapi.sinkhole.url-list=http://apis.data.go.kr/1613000/undergroundsafetyinfo01/getSubsidenceList01
dss.openapi.sinkhole.url-detail=http://apis.data.go.kr/1613000/undergroundsafetyinfo01/getSubsidenceInfo01

#===============================================================================
# \uc2a4\ud0c0\uc77c \uc5f0\ub3d9 \uc124\uc815
#===============================================================================
# \ub9f5\ud504\ub77c\uc784 \uc2a4\ud0c0\uc77c API \uc5f0\ub3d9 URL (\ubcf4\uc548 \ubc0f \uc678\ubd80 \uc811\uadfc\uc744 \uc704\ud574 \ub3c4\uba54\uc778\uc73c\ub85c \uc124\uc815)
Globals.resources.api.url=https://inmap.incheon-int.go.kr

# \uc678\ubd80 \uc2dc\uc2a4\ud15c \uc5f0\ub3d9
external.data.analysis.system.url=https://data.go.kr

#===============================================================================
# \uc2dc\uc2a4\ud15c \ub9ac\uc18c\uc2a4 \uacbd\ub85c (Static Resources)
#===============================================================================
# \uc815\uc801 \ud30c\uc77c (\ud15c\ud50c\ub9bf, \uc0d8\ud50c, \ub9e4\ub274\uc5bc \ub4f1)
Globals.resources.path=/idc01/mw/idsp/resource

# DRM Content File Path
drm.upload.base-path.win=D:/resources
drm.upload.base-path.linux=/idc01/mw/idsp/resource

# DTM Content FIle Path
dtm.upload.path.win=D:/resources
dtm.resource.path.linux=/idc01/mw/idsp/resource/ags/dtm

#===============================================================================
# \ub3c4\ub85c\uad74\ucc29 \uad00\ub828 \uc124\uc815 (RES - Road Excavation System)
#===============================================================================
# \ub3c4\ub85c\uad74\ucc29 \ud30c\uc77c \uacbd\ub85c
res.fileLocation=/idc01/mw/idsp/upload/res/rps

# API \uacbd\ub85c
api.rps-path=/rps
api.rcs-path=/rcs

# Levy \uc124\uc815
levy.ip=10.60.75.57
levy.port=22281

# RDM \uc124\uc815
rdm.com.minwon.cgg_mw_afr_cl_no=1500000021202
rdm.cappTot=0

#===============================================================================
# Session Cookie \uc124\uc815
#===============================================================================
# \uc6b4\uc601 \uc11c\ubc84: HTTPS \ud658\uacbd\uc774\uba74 true\ub85c \ubcc0\uacbd
server.servlet.session.cookie.secure=false

#===============================================================================
# Logging Level \uc124\uc815
#===============================================================================
# \uc6b4\uc601 \uc11c\ubc84: WARN \uae30\ubcf8, \uc560\ud50c\ub9ac\ucf00\uc774\uc158\ub9cc INFO
logging.level.root=WARN
logging.level.incheon=INFO
logging.level.org.springframework=WARN
logging.level.org.mybatis=WARN
logging.level.jdbc=OFF
logging.level.jdbc.sqlonly=OFF
logging.level.jdbc.sqltiming=OFF
logging.level.jdbc.audit=OFF
logging.level.jdbc.resultset=OFF
logging.level.jdbc.resultsettable=OFF
logging.level.jdbc.connection=OFF

#===============================================================================
# Actuator \uc124\uc815 (\uc6b4\uc601 \uc11c\ubc84\uc6a9)
#===============================================================================
# Actuator \ubcf4\uc548 - \uc6b4\uc601 \uc11c\ubc84\ub294 \ud2b9\uc815 IP\ub9cc \ud5c8\uc6a9
management.security.allowed-ip-ranges=0.0.0.0/0

#===============================================================================
# UIS (\ub3c4\uc2dc\uc815\ubcf4\uc2dc\uc2a4\ud15c) \uc124\uc815
#===============================================================================
# UIS Schema \uc124\uc815
uis.schema.name=icuis

# UIS Geometry SRID \uc124\uc815
uis.geometry.srid=5186

# UIS \ud30c\uc77c \uc800\uc7a5 \uacbd\ub85c
uis.fileStorePath=/idc01/mw/idsp/upload/uis

# UIS \ub4f1\ub85d/\uc218\uc815 \uac00\ub2a5\ud55c \uce74\ud14c\uace0\ub9ac \uc124\uc815 (\uacf5\ud1b5, \ub3c4\ub85c, \ub179\uc9c0, \ud558\uc218, \uacbd\uc81c\uccad)
uis.editable.categories=ucf,urf,ugf,usf,uef

#===============================================================================
# KLIS (\ud1a0\uc9c0\uc774\uc6a9\uc815\ubcf4\uc2dc\uc2a4\ud15c) \uc5f0\ub3d9
#===============================================================================
por.klis.api.mode=prod
por.klis.api.url=http://10.188.140.232:6333/ows/services/Klis
# por.klis.api.url=http://10.188.140.232:6333/ows/services/Klis?wsdl

#===============================================================================
# CAIS (\ud1a0\uc9c0\uc815\ubcf4 JAR\uc774\uc6a9) \uc5f0\ub3d9
#===============================================================================
por.cais.api.javapath=/idc01/mw/idsp/jdk/bin
por.cais.api.certpath=/idc01/mw/idsp/resource/sgp/por/cais/cert
por.cais.api.jarpath=/idc01/mw/idsp/resource/sgp/por/cais/cert

#===============================================================================
# \uacf5\uac04\uc815\ubcf4\ud3ec\ud138 \ud30c\uc77c \uad00\ub9ac
#===============================================================================
por.board.file.window.path=D:/resources/
por.board.file.linux.path=/idc01/mw/idsp/resource/sgp/por/bbs/

#===============================================================================
# \ud56d\uacf5\uc601\uc0c1 \ud30c\uc77c
#===============================================================================
aip.file.path=/idc01/mw/idsp/resource/ags/aip/
aip.file.win.path=D:/resources/ags/aip/


#===============================================================================
# \uc6b4\uc601 \uc804\uc6a9 \uc124\uc815
#===============================================================================
# \uc815\uc801 \ub9ac\uc18c\uc2a4 \uce90\uc2dc \ud65c\uc131\ud654 (1\ub144)
spring.web.resources.cache.period=31536000
spring.web.resources.cache.cachecontrol.max-age=31536000
spring.web.resources.cache.cachecontrol.cache-public=true

# Swagger \ube44\ud65c\uc131\ud654 (\uc6b4\uc601)
springdoc.api-docs.enabled=false
springdoc.swagger-ui.enabled=false

# \uc5d0\ub7ec \ud398\uc774\uc9c0 \uc124\uc815 (\uc6b4\uc601: \uc0c1\uc138 \uc5d0\ub7ec \uc228\uae40)
server.error.include-stacktrace=never
server.error.include-message=never
server.error.include-exception=false
server.error.include-binding-errors=never

# SSO \ub85c\uadf8\uc778 \uc131\uacf5 \ud6c4 \uae30\ubcf8 \uc774\ub3d9 URL (\uc784\uc2dc: UIS \uba54\uc778)
sso.default.target=/ags/main.do
