#===============================================================================
# \uac1c\ubc1c \uc11c\ubc84 \ud658\uacbd \uc124\uc815 (DEV)
#===============================================================================

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

#===============================================================================
# PostgreSQL 16 + PostGIS 3.4 \uc5f0\uacb0 \uc815\ubcf4 (\uac1c\ubc1c \uc11c\ubc84)
#===============================================================================

# \uba54\uc778 DB (\uae30\ubcf8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 DB) - P6Spy \ud65c\uc131\ud654 (\uac1c\ubc1c\uc6a9)
globals.postgres.driverClassName=com.p6spy.engine.spy.P6SpyDriver
globals.postgres.jdbcUrl=jdbc:p6spy:postgresql://10.100.232.213:6432/ags
globals.postgres.username=icusr
globals.postgres.password=icusr
globals.postgres.maximumPoolSize=15
globals.postgres.minimumIdle=0
globals.postgres.connectionTimeout=3000
globals.postgres.idleTimeout=600000
globals.postgres.maxLifetime=1800000
globals.postgres.leakDetectionThreshold=60000
globals.postgres.validationTimeout=3000

# \uc678\ubd80 DB (\uc5f0\ub3d9\uc6a9)
globals.external.postgres.driverClassName=org.postgresql.Driver
globals.external.postgres.jdbcUrl=jdbc:postgresql://10.100.232.212:6432/sgp
globals.external.postgres.username=icusr
globals.external.postgres.password=icusr
globals.external.postgres.maximumPoolSize=10
globals.external.postgres.minimumIdle=0
globals.external.postgres.connectionTimeout=3000
globals.external.postgres.idleTimeout=600000
globals.external.postgres.maxLifetime=1800000
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

#===============================================================================
# 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
#===============================================================================
# \uac1c\ubc1c \uc11c\ubc84\uc5d0\uc11c\ub294 H2 \ucf58\uc194 \ube44\ud65c\uc131\ud654
spring.h2.console.enabled=false

#===============================================================================
# Spring Boot DevTools \uc124\uc815 (\uac1c\ubc1c \uc11c\ubc84\uc6a9)
#===============================================================================
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 \uc124\uc815
#===============================================================================
# GIS Server
gis.server.url=http://10.100.232.241/MapPrimeServer
gis.server.prefix=incheon

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

# 3D Build Server
gis.build.url=http://10.100.232.242: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

# \uac80\uc0c9 API \uc124\uc815
# \uc8fc\uc18c \uac80\uc0c9
search.api.address.url=http://10.100.232.241:8983/app/search/addrSearchApi.do
# POI \uac80\uc0c9
search.api.poi.url=http://10.100.232.242:5000/keyword
# POI \uc704\uce58 \uac80\uc0c9
search.api.coor.url=http://10.100.232.242:5000/location


# MSSQL Apollo \uc124\uc815 (\uac1c\ubc1c \uc11c\ubc84\uc6a9)
#===============================================================================
# \uac1c\ubc1c \uc11c\ubc84\uc5d0\ub294 MSSQL \uc5c6\uc74c
mssql.enabled=true
globals.external.mssql.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
globals.external.mssql.jdbcUrl=jdbc:sqlserver://10.100.232.247:1433;databaseName=APOLLO_CATALOG;encrypt=true;trustServerCertificate=true;loginTimeout=5
globals.external.mssql.username=sa
globals.external.mssql.password=incheon
globals.external.mssql.maximumPoolSize=5
globals.external.mssql.minimumIdle=0
globals.external.mssql.connectionTimeout=3000
globals.external.mssql.idleTimeout=600000
globals.external.mssql.maxLifetime=1800000
globals.external.mssql.leakDetectionThreshold=60000
globals.external.mssql.validationTimeout=3000

#===============================================================================
# \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
#===============================================================================
Globals.pss.upload.path=../incheon-geo-platform/upload/pss

#===============================================================================
# DSS \ud30c\uc77c \uc5c5\ub85c\ub4dc \uc124\uc815
#===============================================================================
# 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

#===============================================================================
# \uc2a4\ud0c0\uc77c \uc5f0\ub3d9 \uc124\uc815
#===============================================================================
# \ub9f5\ud504\ub77c\uc784 \uc2a4\ud0c0\uc77c API \uc5f0\ub3d9 URL (\ud074\ub77c\uc774\uc5b8\ud2b8 \uc811\uadfc\uc6a9 \ub3c4\uba54\uc778)
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=../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

#===============================================================================
# \ub3c4\ub85c\uad74\ucc29 \uad00\ub828 \uc124\uc815 (RES - Road Excavation System)
#===============================================================================
# \ub3c4\ub85c\uad74\ucc29 \ud30c\uc77c \uacbd\ub85c
res.fileLocation=/home/incheon/env/apps/resources/res/rps

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

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

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

#===============================================================================
# Session Cookie \uc124\uc815
#===============================================================================
# \uac1c\ubc1c \uc11c\ubc84: HTTP \ud5c8\uc6a9
server.servlet.session.cookie.secure=false

#===============================================================================
# Logging Level \uc124\uc815
#===============================================================================
# \uac1c\ubc1c \uc11c\ubc84: DEBUG \ub808\ubca8 \ud65c\uc131\ud654
logging.level.root=INFO
logging.level.incheon=DEBUG
logging.level.org.springframework=INFO
logging.level.org.springframework.web=WARN
logging.level.org.springframework.security=WARN
logging.level.org.mybatis=DEBUG
logging.level.p6spy=INFO
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 (\uac1c\ubc1c \uc11c\ubc84\uc6a9)
#===============================================================================
# Actuator \ubcf4\uc548 - \uac1c\ubc1c \uc11c\ubc84\ub294 \ubaa8\ub4e0 IP \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=/home/incheon/env/apps/incheon-geo-platform/upload/uis

# UIS \u00eb\u0093\u00b1\u00eb\u00a1\u009d/\u00ec\u0088\u0098\u00ec\u00a0\u0095 \u00ea\u00b0\u0080\u00eb\u008a\u00a5\u00ed\u0095\u009c \u00ec\u00b9\u00b4\u00ed\u0085\u008c\u00ea\u00b3\u00a0\u00eb\u00a6\u00ac \u00ec\u0084\u00a4\u00ec\u00a0\u0095 (\u00ea\u00b3\u00b5\u00ed\u0086\u00b5, \u00eb\u008f\u0084\u00eb\u00a1\u009c, \u00eb\u0085\u00b9\u00ec\u00a7\u0080, \u00ed\u0095\u0098\u00ec\u0088\u0098, \u00ea\u00b2\u00bd\u00ec\u00a0\u009c\u00ec\u00b2\u00ad)
uis.editable.categories=ucf,urf,ugf,usf,uef

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

#===============================================================================
# Oracle DB (UIS \u00ec\u008b\u009c\u00ec\u0084\u00a4\u00eb\u00ac\u00bc \u00ec\u0097\u00b0\u00ea\u00b3\u0084\u00ec\u009a\u00a9)
#===============================================================================
globals.external.oracle.driverClassName=oracle.jdbc.OracleDriver
globals.external.oracle.jdbcUrl=jdbc:oracle:thin:@10.100.232.247:15210:ICUIS
globals.external.oracle.username=system
globals.external.oracle.password=sys
globals.external.oracle.maximumPoolSize=5
globals.external.oracle.minimumIdle=0
globals.external.oracle.connectionTimeout=5000
globals.external.oracle.idleTimeout=600000
globals.external.oracle.maxLifetime=1800000
globals.external.oracle.leakDetectionThreshold=60000
globals.external.oracle.validationTimeout=3000

#===============================================================================
# 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

#===============================================================================
# \uacf5\uac04\uc815\ubcf4\ud3ec\ud138 \ud30c\uc77c \uad00\ub9ac
#===============================================================================
por.board.file.window.path=D:/resources/
por.board.file.linux.path=/home/incheon/env/apps/resources/sgp/por/bbs/

#===============================================================================
# \ud56d\uacf5\uc601\uc0c1 \ud30c\uc77c
#===============================================================================
aip.file.path=/home/incheon/env/apps/resources/ags/aip/
aip.file.win.path=D:/resources/ags/aip/

