Files
mgm-daylight-mcrm-api-gateway/src/main/resources/application-dev.yml
T
2026-10-12 15:17:12 +08:00

187 lines
5.1 KiB
YAML

spring:
datasource:
mgm:
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
jdbc-url: jdbc:sqlserver://47.238.46.81:1433;databasename=db_mgm_mcrm_daylight;encrypt=false;trustServerCertificate=false;hostNameInCertificate=*;loginTimeout=30
username: sa
password: 666888@Welcomewilltech
continue-on-error: true
hikari:
minimum-idle: 10
maximum-pool-size: 50
idle-timeout: 600000
connection-timeout: 600000
max-lifetime: 1800000
opera:
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
jdbc-url: jdbc:sqlserver://47.238.46.81:1433;databasename=db_mgm_mcrm_daylight;encrypt=false;trustServerCertificate=false;hostNameInCertificate=*;loginTimeout=30
username: sa
password: 666888@Welcomewilltech
continue-on-error: true
hikari:
minimum-idle: 10
maximum-pool-size: 50
idle-timeout: 600000
connection-timeout: 600000
max-lifetime: 1800000
http:
encoding:
force: true
charset: UTF-8
enabled: true
messages:
basename: i18n/messages
jpa:
show-sql: false
properties:
hibernate:
default_schema: dbo
format_sql: true
servlet:
multipart:
max-request-size: 10MB
max-file-size: 10MB
devtools:
restart:
enabled: false
#============== App Configuration ===============
mcrm:
proxy:
max-connection-pool: 100
connect-timeout: 20
read-timeout: 60
api-config:
daylight:
proxy-setting:
host:
port:
auth:
username:
password:
ssl-bundle-name:
skip-trust-validation: true
server-url: https://eu1.api.uat.development.abovecloud.io
request-timeout: 30
token:
token-url: /connect/token
username: mcrm.mcrm@MGMUAT
password: Shiji@123
grant-type: password
client-id: 3rd.willtech_technology
client-secret: HJIvAynCSCqvjEe8MC9K
request-timeout: 30
default-expiry-second: 700
security:
authorization-data: "[MCRM_APP/securItykeyOfCrmapp87895312],[MCRM_CMS/seCuritykeyOfCrmCms8wetw432]"
opera:
proxy-setting:
host:
port:
auth:
username:
password:
ssl-bundle-name:
skip-trust-validation: true
server-url: https://mgpmsdevows45.dev.mgmmacao.org
request-timeout: 30
security:
authorization-data: "[MCRM_APP/securItykeyOfCrmapp87895312],[MCRM_CMS/seCuritykeyOfCrmCms8wetw432]"
esb:
proxy-setting:
host:
port:
auth:
username:
password:
ssl-bundle-name:
skip-trust-validation: true
server-url: https://mmesbdevapp14.dev.mgmmacao.org
request-timeout: 30
api-path:
mcrm: /api/crmapp/v1.0
limo: /api/limo/v1.0
token:
token-url: /RequestAccessToken
mcrm:
app-id: mgmtestuser001
app-secret: MGM@!666
limo:
app-id: crmappid
app-secret: crmsecuritykey
request-timeout: 30
default-expiry-second: 700
security:
authorization-data: "[MCRM_APP/securItykeyOfCrmapp87895312],[MCRM_CMS/seCuritykeyOfCrmCms8wetw432]"
limo:
proxy-setting:
host:
port:
auth:
username:
password:
ssl-bundle-name:
skip-trust-validation: true
server-url: http://mmlimodevapp01
request-timeout: 30
security:
authorization-data: "[MCRM_APP/securItykeyOfCrmapp87895312],[MCRM_CMS/seCuritykeyOfCrmCms8wetw432]"
notification:
email-sender:
smtp-server: smtp.qq.com
smtp-port: 587
smtp-auth: true
username: 201249946@qq.com
password: oheejklduyydbife
starttls: true
default-send-to: 201249946@qq.com
security:
authorization-data: "[MCRM_APP/securItykeyOfCrmapp87895312],[MCRM_CMS/seCuritykeyOfCrmCms8wetw432]"
server:
port: 9087
referrer-policy: origin-when-cross-origin
tomcat:
uri-encoding: UTF-8
logging:
config: classpath:log4j2-spring.xml
springdoc:
swagger-ui:
path: /swagger-ui.html
operations-sorter: alpha
tags-sorter: alpha
doc-expansion: none
api-docs:
path: /v3/api-docs
default-consumes-media-type: application/json
default-produces-media-type: application/json
apns:
team-id: YXJ2H36G5R
key-id: 79FNU7K4J9
bundle-id: com.mgm.crmhostroombookingdaylightdevelopment
key-file: /AuthKey_79FNU7K4J9_Development.p8
proxy:
enabled: false
host:
port: 0
username:
password:
# Dev host
host: api.sandbox.push.apple.com
# Production Host
# host: api.push.apple.com
daylight:
scheduler:
# Cron fields: second minute hour day-of-month month day-of-week. Restart after changes.
configuration-cron: "0 0 2 * * ?"
configuration-zone: "Asia/Shanghai"
url: http://localhost:9087/api/daylight/proxy
system-id: 3a151ad3-46be-4644-b656-71d3b037b309