# ====================== 生产环境配置 ======================
# 激活方式：spring.profiles.active=prod
# 或启动参数：--spring.profiles.active=prod
#
# 注意：生产环境 datasource 密码等敏感信息请通过环境变量或启动参数注入，
#       不要明文写在配置文件中。

spring:
  datasource:
    driver-class-name: oracle.jdbc.OracleDriver
    url: ${ORACLE_URL:jdbc:oracle:thin:@//127.0.0.1:1521/XEPDB1}
    username: ${ORACLE_USERNAME:developer}
    password: ${ORACLE_PASSWORD:}
    hikari:
      connection-test-query: SELECT 1 FROM DUAL

# 合同推送 —— 正式环境地址
contract-push:
  settlement:
    systemKey: ${SETTLEMENT_SYSTEM_KEY:stamp-settlement-prod-key}
    secretKey: ${SETTLEMENT_SECRET_KEY:}
    tokenUrl: https://jtfw.nbport.com.cn/grcv5/serverapi/restapi/other/v1/ecp/getToken
    pushContractUrl: https://jtfw.nbport.com.cn/grcv5/serverapi/restapi/other/v1/ecp/pushContract
    approveQueryUrl: https://jtfw.nbport.com.cn/grcv5/serverapi/restapi/other/v1/ecp/queryInfoByContractSysId
    archiveUrl: https://jtfw.nbport.com.cn/grcv5/serverapi/restapi/other/v1/ecp/collectContractArchive
    approveViewBaseUrl: https://jtfw.nbport.com.cn/wp/grcv5/contractView/G_1_viewContractApprove.htm
  dataCollection:
    systemKey: ${COLLECTION_SYSTEM_KEY:stamp-collection-prod-key}
    secretKey: ${COLLECTION_SECRET_KEY:}
    sysCode: ${COLLECTION_SYS_CODE:stamp-end-prod}
    # V3.0 数据采集正式地址待集团提供，当前为占位符，部署前替换
    tokenUrl: ${COLLECTION_TOKEN_URL:http://x.x.x.x:x/x/cj/rest/dataCenter/getToken}
    uploadUrl: ${COLLECTION_UPLOAD_URL:http://x.x.x.x:x/x/cj/rest/dataCenter/upload}
    collectOppositesUrl: ${COLLECTION_OPPOSITES_URL:http://x.x.x.x:x/x/cj/rest/dataCenter/collectOpposites}
    collectZtbsUrl: ${COLLECTION_ZTBS_URL:http://x.x.x.x:x/x/cj/rest/dataCenter/collectZtbs}
    collectContractUrl: ${COLLECTION_CONTRACT_URL:http://x.x.x.x:x/x/cj/rest/dataCenter/collectContract}
    collectPlanFeedbackUrl: ${COLLECTION_PLAN_FEEDBACK_URL:http://x.x.x.x:x/x/cj/rest/dataCenter/collectPlanFeedback}
    collectContractCloseUrl: ${COLLECTION_CLOSE_URL:http://x.x.x.x:x/x/cj/rest/dataCenter/collectContractClose}
    collectContractArchiveUrl: ${COLLECTION_ARCHIVE_URL:http://x.x.x.x:x/x/cj/rest/dataCenter/collectContractArchive}
    queryApproveInfoUrl: ${COLLECTION_APPROVE_INFO_URL:http://x.x.x.x:x/x/cj/rest/dataCenter/queryApproveInfo}
    approveViewBaseUrl: https://jtfw.nbport.com.cn/grcv5/wp/contractView/G_1_viewContractApprove.htm
