feat:Init project
This commit is contained in:
@@ -0,0 +1,167 @@
|
||||
proxy:
|
||||
enabled: true # set to true to enable proxy
|
||||
host: 10.33.35.10
|
||||
port: 8080
|
||||
server:
|
||||
port: 8086
|
||||
spring:
|
||||
datasource:
|
||||
ops-app-db:
|
||||
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
|
||||
jdbc-url: jdbc:sqlserver://QVMHADBS01;databasename=db_sjm_profile;encrypt=false;trustServerCertificate=true;hostNameInCertificate=*;loginTimeout=30
|
||||
username: s-tg-user
|
||||
password: P@ssw0rd12345678
|
||||
hikari:
|
||||
pool-name: ops-app-db
|
||||
maximum-pool-size: 50
|
||||
minimum-idle: 5
|
||||
connection-timeout: 20000
|
||||
idle-timeout: 300000
|
||||
max-lifetime: 1200000
|
||||
leak-detection-threshold: 60000
|
||||
jpa:
|
||||
open-in-view: false
|
||||
show-sql: false
|
||||
properties:
|
||||
hibernate:
|
||||
format_sql: true
|
||||
dialect: org.hibernate.dialect.SQLServerDialect
|
||||
# 运行时由 DbDialect 覆盖;切库请用 OPS_APP_DB_TYPE 或 profile db-mysql / db-postgres
|
||||
proc:
|
||||
param_null_passing: true
|
||||
mail:
|
||||
host: mail.macausjm-glp.com
|
||||
port: 25
|
||||
username: qa-kitpun@sjmresorts.com
|
||||
password: Qweqwe@123123123
|
||||
protocol: smtp
|
||||
properties:
|
||||
mail:
|
||||
smtp:
|
||||
auth: false
|
||||
starttls:
|
||||
enable: false
|
||||
ssl:
|
||||
enable: false
|
||||
connectiontimeout: 5000
|
||||
timeout: 5000
|
||||
writetimeout: 5000
|
||||
ldap:
|
||||
urls: ldap://macausjm-glp.com:389
|
||||
base: DC=macausjm-glp,DC=com
|
||||
username: s-toa-app
|
||||
password: KJYr9y6gx@&PjA9
|
||||
base-environment:
|
||||
java.naming.referral: follow
|
||||
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
|
||||
firebase:
|
||||
credential:
|
||||
path: serviceKey.json
|
||||
dry-run: false
|
||||
ops-app:
|
||||
deeplink:
|
||||
url: myapp://open
|
||||
opera:
|
||||
close-popup: true
|
||||
parent-origin: https://mucu1ua.oraclehospitality.us-ashburn-1.ocs.oraclecloud.com
|
||||
close-delay-ms: 200
|
||||
notification:
|
||||
batch-size: 500
|
||||
invalid-token-cleanup: true
|
||||
api-logging-level: error
|
||||
frontend:
|
||||
url: http://localhost:8080/#/
|
||||
app-setting:
|
||||
cache-minutes: 5
|
||||
schedule-job:
|
||||
max-thread-pool: 10
|
||||
task-config:
|
||||
escalation-level-1: 1 * * * * ?
|
||||
check-idle-session-interval: 300000
|
||||
network-share:
|
||||
basePath: \\qvhubint51\GLPGMAPP\MobileHub\
|
||||
# \\qvhubin51\GLPGMAPP\MobileHub\
|
||||
domain: macausjm-glp.com
|
||||
username: qa-xxxxxx
|
||||
password: xxxxxxxx
|
||||
security:
|
||||
jwt:
|
||||
secret_key: SecretKeyWhichShouldBeLongEnoughToBeSecure67848563
|
||||
app_authorization_code: SecretKeyOfAppLoginAuthorization
|
||||
api_token_expiration: 5
|
||||
cms_session_expiration: 15
|
||||
app_session_expiration: 300
|
||||
notification:
|
||||
authorization_code: SecretKeyOfAuthorization
|
||||
expiration: 15
|
||||
esign:
|
||||
legacy-api:
|
||||
enabled: true
|
||||
warn-headers: true
|
||||
reservation:
|
||||
notification:
|
||||
enabled: true
|
||||
broadcast-if-no-hotel-match: true
|
||||
title: 新预订待处理
|
||||
body-template: "预订号 {reservationId} 已就绪,请点击查看"
|
||||
trigger-task: RESERVATION_NOTIFY
|
||||
action: OPEN_RESERVATION
|
||||
third-party:
|
||||
base-url: https://mucu1ua.oraclehospitality.us-ashburn-1.ocs.oraclecloud.com
|
||||
timeout-ms: 30000
|
||||
oauth:
|
||||
enabled: true
|
||||
token-path: /oauth/v1/tokens
|
||||
client-id:
|
||||
client-secret:
|
||||
app-key:
|
||||
enterprise-id:
|
||||
hotel-id:
|
||||
scope: urn:opc:hgbu:ws:__myscopes__
|
||||
grant-type: client_credentials
|
||||
timeout-ms: 30000
|
||||
registration-card:
|
||||
regenerate: false
|
||||
signed-only: false
|
||||
reservation-id-context: OPERA
|
||||
reservation-id-type: Reservation
|
||||
language: EN
|
||||
signed-upload:
|
||||
enabled: true
|
||||
reservation-lookup:
|
||||
path-template: /rsv/v1/hotels/{hotelId}/reservations
|
||||
fetch-instructions: Reservation
|
||||
file-attachment:
|
||||
path: /med/config/v1/fileAttachments
|
||||
user-name: USER@HOTEL
|
||||
description: E
|
||||
link-type: Reservation
|
||||
overwrite-existing: Y
|
||||
global-yn: Y
|
||||
profile-fields:
|
||||
enabled: true
|
||||
path-template: /crm/v1/profiles/{profileId}
|
||||
authorization:
|
||||
auth-user:
|
||||
auth-password:
|
||||
profile:
|
||||
security:
|
||||
# 是否启用认证(JWT解密和LDAP认证)
|
||||
# false: 不启用认证,使用默认测试组(用于开发测试)
|
||||
# true: 启用认证,需要JWT token和LDAP验证
|
||||
authentication-enabled: true
|
||||
report:
|
||||
api-server: http://10.51.92.11:8082
|
||||
gaming-report-data-url: /api/gamingDashboard
|
||||
request-timeout-seconds: 30
|
||||
auth-user: apiuser
|
||||
auth-password: apipassword
|
||||
Reference in New Issue
Block a user