# \ub85c\uceec \uac1c\ubc1c \ud658\uacbd \uc124\uc815
# \uc11c\ubc84 \ud0c0\uc785
Globals.OsType=LINUX

# PostgreSQL 16 + PostGIS 3.4 \uc5f0\uacb0 \uc815\ubcf4 (\ub85c\uceec Docker \ud658\uacbd) + P6Spy
# \uba54\uc778 DB (\uae30\ubcf8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 DB)
globals.postgres.driverClassName=com.p6spy.engine.spy.P6SpyDriver
globals.postgres.jdbcUrl=jdbc:p6spy:postgresql://127.0.0.1:5433/incheon
globals.postgres.username=incheon
globals.postgres.password=incheon
globals.postgres.maximumPoolSize=5
globals.postgres.minimumIdle=0
globals.postgres.connectionTimeout=3000
globals.postgres.idleTimeout=300000
globals.postgres.maxLifetime=900000
globals.postgres.leakDetectionThreshold=60000
globals.postgres.validationTimeout=3000

# \uc678\ubd80 DB (\uc5f0\ub3d9 \ud14c\uc2a4\ud2b8\uc6a9)
globals.external.postgres.driverClassName=com.p6spy.engine.spy.P6SpyDriver
globals.external.postgres.jdbcUrl=jdbc:p6spy:postgresql://127.0.0.1:15432/incheon
globals.external.postgres.username=incheon
globals.external.postgres.password=incheon
globals.external.postgres.maximumPoolSize=3
globals.external.postgres.minimumIdle=0
globals.external.postgres.connectionTimeout=30000
globals.external.postgres.idleTimeout=300000
globals.external.postgres.maxLifetime=900000
globals.external.postgres.leakDetectionThreshold=60000
globals.external.postgres.validationTimeout=3000

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

# Crypto Config (\uac1c\ubc1c \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

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

# \uac1c\ubc1c \uc11c\ubc84\uc5d0\uc11c\ub294 H2 \ucf58\uc194 \ube44\ud65c\uc131\ud654
spring.h2.console.enabled=false

# \uac1c\ubc1c \ub3c4\uad6c \ud65c\uc131\ud654
spring.devtools.restart.enabled=true
spring.devtools.livereload.enabled=true

# 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
gis.server.url=http://10.100.232.241/MapPrimeServer
gis.server.prefix=incheon

# 3DManager Server
gis.manager.url=http://10.100.232.242:3004/MapPrime3DManager
gis.manager.prefix=incheon

# 3DManager Server
gis.build.url=http://10.100.232.242:20004
gis.build.prefix=incheon

# Traffic Realtime/CCTV API URL / API key (DEMO: 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

external.api.key= TEST-API-KEY-1234567890

# ============================================
# \uacf5\ud1b5 \ucca8\ubd80\ud30c\uc77c \uc124\uc815 (Common File Upload)
# ============================================
# \ud30c\uc77c \uc800\uc7a5 \uacbd\ub85c (\uac1c\ubc1c \uc11c\ubc84)
Globals.comfile.storage.path=../upload
Globals.comfile.storage.temp.path=../upload/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 (PSS File Upload)
# ============================================
# PSS \ud30c\uc77c \uc800\uc7a5 \uacbd\ub85c
Globals.pss.upload.path=../incheon-geo-platform/upload/pss

# ============================================
# DSS \ud30c\uc77c \uc5c5\ub85c\ub4dc \uc124\uc815 (DSS File Upload)
# ============================================
# DSS \ud30c\uc77c \uc800\uc7a5 \uacbd\ub85c
Globals.dss.upload.path=../incheon-geo-platform/upload/dss
Globals.dss.resource.path=../resources/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

# ============================================
# \ub808\uc2dc\ud53c \ud30c\uc77c \uc5c5\ub85c\ub4dc \uc124\uc815 (Recipe File Upload)
# ============================================
# \ub808\uc2dc\ud53c \ud30c\uc77c \uc800\uc7a5 \uacbd\ub85c
Globals.resources.api.url=http://10.100.232.211:8080
ags.mrb.image.path=/home/incheon/env/apps/resources

# ============================================
# \uc2dc\uc2a4\ud15c \ub9ac\uc18c\uc2a4 \uacbd\ub85c (Static Resources)
# ============================================
# \ubbf8\ub9ac \uc138\ud305\ud55c \uc815\uc801 \ud30c\uc77c (\ud15c\ud50c\ub9bf, \uc0d8\ud50c, \ub9e4\ub274\uc5bc \ub4f1)
Globals.resources.path=../resources

# DRM Content FIle Path
drm.upload.base-path.win=D:/resources
drm.upload.base-path.linux=/home/incheon/env/apps/resources

# DTM Content File Path(\uc218\uce58\uc9c0\ud615\ub3c4)
dtm.upload.path.win=D:/resources
dtm.resource.path.linux=../resources/ags/dtm

# Session Cookie (LOCAL: HTTP \ud5c8\uc6a9)
server.servlet.session.cookie.secure=false
#-----------------------------------------------------------------------
# Actuator \ud658\uacbd\ubcc4 \uc124\uc815 (\ub85c\uceec \uac1c\ubc1c)
#-----------------------------------------------------------------------
# \ub85c\uceec \ud658\uacbd: \ubaa8\ub4e0 IP \ud5c8\uc6a9 (\uac1c\ubc1c \ud3b8\uc758\uc131)
management.security.allowed-ip-ranges=0.0.0.0/0

#-----------------------------------------------------------------------
# UIS \ud658\uacbd\ubcc4 \uc124\uc815
#-----------------------------------------------------------------------
# UIS Schema \uc124\uc815
uis.schema.name=icuis
# UIS Geometry SRID \uc124\uc815
uis.geometry.srid=5186
# UIS FILE StorPath
uis.fileStorePath=/home/incheon/env/apps/incheon-geo-platform/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 SOAP URL
por.klis.api.mode=local
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=C:/Program Files (x86)/JAVA/jdk-17.0.12/lib
por.cais.api.certpath=D:/resources/sgp/por/cais/cert
por.cais.api.jarpath=D:/resources/sgp/por/cais/cert/caiscall.jar
