VeVr8muj
2017-01-12 01:30:04

#disable connection to redis

spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.session.SessionAutoConfiguration
spring.profiles.active=dev
spring.thymeleaf.cache=false

# Hibernate Config
spring.jpa.hibernate.ddl-auto=update
spring.jpa.hibernate.naming-strategy=org.hibernate.cfg.ImprovedNamingStrategy
spring.jpa.database=mysql
spring.jpa.show-sql=true

# Pharma Datasource
spring.datasource.driverClassName=com.mysql.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/pis
spring.datasource.username=root
spring.datasource.password=

# Authentication datasource
auth.datasource.driverClassName=com.mysql.jdbc.Driver
auth.datasource.url=jdbc:mysql://localhost:3306/oauth2
auth.datasource.username=root
auth.datasource.password=

safesat.credential.endpointURL=http://localhost:8085
safesat.credential.clientId=safesatadmin
safesat.credential.secret=safesatsecret

safesat-ssl.port=9443
safesat-ssl.redirectPort=8080

#change me.
pis-ssl.keyStore=/srv/pis-web/config/keystore.jks
pis-ssl.keyStorePassword=adminadmin
pis-ssl.keyPassword=adminadmin
pis-ssl.alias=server

pis.redis.port=6380
pis.redis.hostName=localhost

#Ping the connection and keep it alive
server.port=8086
auth.datasource.testOnBorrow=true
auth.datasource.validationQuery=SELECT 1
auth.datasource.testWhileIdle=true

spring.datasource.testOnBorrow=true
spring.datasource.validationQuery=SELECT 1
spring.datasource.testWhileIdle=true

logging.config=logback-spring.xml
#Email Config
spring.mail.host=safesat.yourwebhosting.com
spring.mail.port=587
spring.mail.username=airrx@safesat.com.ph
spring.mail.password=AirRx123!
spring.mail.properties.mail.smtp.starttls.enable=true
spring.mail.properties.mail.debug=true
spring.mail.properties.mail.smtp.auth=true


#JasperReport Config
#change values according to location of files in server
#jasper.report.rx.logo.url=/srv/pis-web/src/main/resources/static/resources/tst/img/rx.jpg
#jasper.report.prescairreport.logo.url=/srv/pis-web/src/main/resources/static/resources/tst/img/prescair_report.jpg

#File uploads config
#attachment.file.location=/srv/pis-web/private_files/
#public folder directories
#pharma.files.location=/srv/pis-web/uploaded_files/
#pharma.files.repo=${prescair.baseurl}/uploaded_files

#multipart.max-file-size=25MB
#multipart.max-request-size=25MB

#front page video sources
#login-doctorVideos.chrome=
#login-doctorVideos.firefox=
#login-doctorVideos.safari=
#login-doctorVideos.opera=
#login-patientVideos.chrome=
#login-patientVideos.firefox=
#login-patientVideos.safari=
#login-patientVideos.opera=
#login-pharmacistVideos.chrome=
#login-pharmacistVideos.firefox=
#login-pharmacistVideos.safari=
#login-pharmacistVideos.opera=


#rabbitMQ config
spring.rabbitmq.host=localhost
spring.rabbitmq.port=5672
spring.rabbitmq.username=guest
spring.rabbitmq.password=guest
spring.rabbitmq.virtual-host=/
#change value for reconnection timeout in stomp to rabbitmq server
rabbit.timeout=5000

#Email Sender Config
#change values according to URL/IP address of Prescair
prescair.baseurl=http://172.16.0.142:8086
admin.email=kate@totalsofttech.com.ph

mqtt.username=safesat
mqtt.password=s4f3s4T!
mqtt.url=tcp://172.16.0.16:1883
mqtt.timeout=10000

#queue url
queue.accountId=2
#queue.url.base=http://172.16.0.111:8091
queue.url.base=http://172.16.0.133:8091
queue.webservice.create=${queue.url.base}/api/queue/patient/add
queue.webservice.update=${queue.url.base}/api/queue/patient/updateByReference
queue.webservice.findByDateAndNumber=${queue.url.base}/api/queue/patient/find
queue.webservice.update.walkin=${queue.url.base}/api/queue/patient/updateBySchedule

pis.baseurl=http://172.16.0.46:8086
pis.files.location=/srv/pis-web/
pis.files.repo=${pis.baseurl}/files
report.baseurl=/srv/pis-web/reports/
report.prescription.url=${report.baseurl}prescription.jasper