#------------
# datasource setting
#------------
spring.datasource.driver-class-name= org.postgresql.Driver
spring.datasource.url=jdbc:postgresql://192.168.33.10:5432/messenger
spring.datasource.username=messenger_adm01
spring.datasource.password=messenger_adm01
spring.datasource.max-active=3
spring.datasource.max-idle=1
spring.datasource.min-idle=1
spring.datasource.initial-size=1
spring.datasource.max-age=0

#------------
# For Actuator settings(do not chenge)
#------------
endpoints.autoconfig.enabled=false
endpoints.beans.enabled=false
endpoints.configprops.enabled=false
endpoints.dump.enabled=false
endpoints.env.enabled=false
endpoints.info.enabled=false
endpoints.metrics.enabled=false
endpoints.mappings.enabled=false
endpoints.shutdown.enabled=false
endpoints.trace.enabled=false
endpoints.health.enabled=true

#------------
# context-path setting
#------------
server.context-path=/messenger

#------------
# log setting
#------------
logging.config=classpath:logback.xml
f2.web.log.trace.sql.min.duration=0
#F؏̃[UIDL[iZbVL[__DTÕtB[h)
f2.rest.mdc.filter.mdc-redis-keys=userId:email

#------------
# portal setting
#------------
#|[^ڑzXg
portal.http.host=localhost
#|[^ڑ|[g
portal.http.port=8081
#|[^T[rXID
portal.param.serviceId=SVC000000000013
#|[^F؏Íp閧i32j
portal.param.encrypt.key=12345678901234567890123456789012
#[U[F؁E[U[擾APIpX
portal.http.path.user_list=/personal/webapi/portal/user_list
#[U[OAEgAPIpX
portal.http.path.logout=/personal/webapi/portal/logout
#ҏꗗ擾APIpX
portal.http.path.patient_list=/personal/webapi/portal/services/SVC000000000013/patient_list
#ҁEXbhꗗ擾i[U[F؂jAPIpX
portal.http.path.patient_thread_list=/personal/webapi/portal/services/SVC000000000013/patient_thread_list
#O[vꗗ擾i[UijAPIpX
portal.http.path.group_list=/personal/webapi/portal/services/SVC000000000013/group_list
#vbVID
portal.http.path.pushid_search=/portal/services/SVC000000000013/pushID
#yAPI_9zT[rXpҁiҁjꗗ擾APIpX
portal.http.path.portal.patient_list=/personal/webapi/portal/services/SVC000000000013/patient_list
#yAPI_25z[U[
portal.http.path.class_authority=/personal/webapi/portal/services/SVC000000000014/class_authority

#vbVID(bZW[p)
# URL̃T[rXID͎qT[rXID
#   p[^̃O[vID͎qO[vID
#   MAPIŎ󂯎
portal.http.path.pushid_group_id_search=/personal/webapi/portal/services/%s/pushID


#------------
# vbVՐݒ
#------------
#vbVՐڑzXg
push_server_host=192.168.33.11
#vbVՐڑ|[g
push_server_port=8080
#vbVՑMAPIpX
push_http_notify=/pushidmng/notify

#o^ԍ(UserCode)̕
user.code.length=10
#o^ԍ̔Ԃ̎s
numbering.relate.tries=3

#X|XZbg
portal.http.charset=UTF-8

#apns.message.format=%s̐VbZ[W܂B
apns.aps.default=default


# R[h
portal.user.relationship.cd.my=1


# apiKey storage REDIS
f2.web.tomcat.redis-host=192.168.33.10

#--------------------------------------------------------------------------
# extend parameter
#--------------------------------------------------------------------------

#Tvpݒ(s)
#cron.task.sampleCronTask=0 */1 * * * *

#cron.task.syncHospital=0 * * * * *
#cron.task.syncUser=0 * * * * *
cron.task.deleteMessage=0 0 1 * * *
cron.task.notifyMessage=0 */1 * * * *
cron.task.deleteDistributionTask=0 5 1 * * *
cron.task.sendMessageTask=0 1,31 * * * *


#============
# bZ[WzM
#============

#Jpݒ
spring.thymeleaf.cache=false

#zMIDtH[}bg(At@xbg1{)
format.distribution_id=M%09d
#`IDtH[}bg(At@xbg1{)
format.template_id=T%05d

#y[Wɂ1y[W̕\(Ή)
#md.search_list.rows_per_page=20
#bZ[WMAPI T[rXID(M)
messenger.param.serviceId=SVC000000000014

#------------
# Login
#------------

#ʃO[vGroupIDiOCOO[vIDj  []
portal.param.common-group.groupId=GRP000000001101

#------------
# DWH/VXeAg API
#------------
#dwh.http.host=10.107.246.182
dwh.http.host=localhost
#dwh.http.port=84
dwh.http.port=8081
#dwh.param.protocol.ssl=true
dwh.param.protocol.ssl=false
#dwh.http.path.departmentlist=/systemconnector/CollaborationProvider/API000000002300/
dwh.http.path.departmentlist=/stub/portal/API000000002300
#dwh.http.path.reservelist=/systemconnector/CollaborationProvider/API000000002400/
dwh.http.path.reservelist=/stub/portal/API000000002400
#dwh.http.path.patientbypatonly=/systemconnector/CollaborationProvider/API000000002500/
dwh.http.path.patientbypatonly=/stub/portal/API000000002500
#dwh.http.path.patientbyreserve=/systemconnector/CollaborationProvider/API000000002600/
dwh.http.path.patientbyreserve=/stub/portal/API000000002600
#dwh.http.path.patientbydept=/systemconnector/CollaborationProvider/API000000002700/
dwh.http.path.patientbydept=/stub/portal/API000000002700

#VXeAg̗vp[^œnŒ̃O[vID
dwh.param.groupId=GRP000000005857

#------------
# concierge setting
#------------
#RVFWڑzXg  []
#concierge.http.host=${portal.http.host}
concierge.http.host=localhost
#RVFWڑ|[g  []
#concierge.http.port=${portal.http.port}
concierge.http.port=8081
#RVFWSSLڑ  []
concierge.param.protocol.ssl=${portal.param.protocol.ssl:false}
#RVFWT[rXID  []
concierge.param.serviceId=SVC000000000011
#RVFW[U[擾APIpX  ΂/stub/`̂܂܃R~bgȂ 
concierge.http.path.authentication=/stub/portal/concierge_authentication_{email}
#concierge.http.path.authentication=/concierge/authentication
#RVFW[U[OAEgAPIpX  ΂/stub/`̂܂܃R~bgȂ 
concierge.http.path.logout=/stub/portal/logout
#concierge.http.path.logout=/concierge/logout

#HTTPNCAg ڑ^CAEgݒ(msec)
httpclient.connect.timeout=20000
#HTTPNCAg ^CAEgݒ(msec)
httpclient.socket.timeout=20000

#|[^ʐM ^CAEgݒ(msec)
portal.http.socket.timeout=${httpclient.socket.timeout}
#|[^API X^btꗗ擾pX
#portal.http.path.staffs_list=/personal/webapi/portal/services/SVC000000000012/groups/{group_id}/staffs_list
portal.http.path.staffs_list=/stub/portal/{group_id}_staffs_list
#RVFWʐM ^CAEgݒ(msec)
concierge.http.socket.timeout=${httpclient.socket.timeout}
#v擾
concierge.http.path.signup_stat=/stub/portal/signup_stat
#v擾
concierge.http.path.group_service=/stub/portal/group_service

#zMbZ[Wێ()
distributiondata.keep.days=180
