12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- server:
- port: 8866
- servlet:
- context-path: /approve-gateway
- spring:
- application:
- name: approve-gateway
- cloud:
- nacos:
- discovery:
- server-addr: 127.0.0.1:8848
- zuul:
- retryable: true
- # 这个配置必须保留,才会传递Authorization,cookie等
- sensitive-headers:
- host:
- connect-timeout-millis: 60000
- socket-timeout-millis: 60000
- ribbon:
- ConnectTimeout: 60000 # 连接超时时间(ms)
- ReadTimeout: 60000 # 通信超时时间(ms)
- OkToRetryOnAllOperations: true # 是否对所有操作重试
- MaxAutoRetriesNextServer: 2 # 同一服务不同实例的重试次数
- MaxAutoRetries: 1 # 同一实例的重试次数
- hystrix:
- command:
- default:
- execution:
- isolation:
- thread:
- timeoutInMillisecond: 60000 # 熔断超时时长:6000ms
- duceap:
- license:
- dataCacheMethod: apollo
- #配置用来指定license对接的后端项目地址(格式:ip:port/context,如http://10.10.10.10:8080/ctx),默认使用HttpServletRequest.getLocalAddr()方法获取ip地址,应用在docker部署环境中无法获取机子的真实ip地址 考虑以配置参数的形式传入
- #address: http://10.10.10.10:8080/ctx
- enabled: false
- apollo:
- client:
- host: http://192.168.10.27:8070 #配置中心地址(portal端)
- security:
- ##配置登陆方式,dids、dssoac、dcuc、huawei
- type: dcuc
- ##dids登录配置#
- dids2:
- ##应用代码
- appCode: YHZX0000000000000001
- useSSO: true
- ##单点登录服务器地址
- SSOLoginUrl: http://10.201.7.30:9090/didsserver/login
- ##单点登录服务接口地址
- SSOValidateUrl: http://10.201.7.30:9090/didsserver/serviceValidate
- ##对接系统地址(ip:端口/上下文/login) 开发环境中, ip端口需要配置成代理的前端地址(请全程使用真实的ip 而不是localhost或者127.0.0.1,否则会导致登录失败)
- SSOServiceUrl: http://10.11.0.240:1645/approve-gateway/login
- accessType: 1
- ##单点登录服务接口地址
- webServiceUrl: http://10.201.7.30:9090/didsserver/webservices/
- jndi: JDBC/DIDS
- filterType: 1
- ##若匹配该地址,则无须过滤
- noFilterUrl: /api/v1/,/v1/,/v2/api-docs,services,hessian,commons,install.action,.xml,/install,/widgets-src/,/authorizationPage.html,/importAuthorizationFile.html,/license/LicenseManagerServlet,/authorizationFile/
- dcuc:
- casServerUrlPrefix: http://192.168.10.2:8877/sso
- serverName: http://10.11.0.240:1645 http://10.254.11.185:1645 http://10.11.0.200:1645
- ignorePattern: '/approve-core/api/*|/approve-core/v1/*|/approve-core/v2/*|/js/*|/img/*|/css/*|/api/*|/*.png|/rest/*|/webSocket/*|/oauthLogin/*|/authorizationPage.html|/importAuthorizationFile.html|/license/LicenseManagerServlet|/authorizationFile/|/auditsvr/|/authsvr/|/codelist/|/swagger-ui.html'
- appCode: YHZX0000000000000001
- security-access:
- jwt:
- enabled: false
- user-token-header-name: userToken
- dcuc:
- approve:
- bim-identity-url: https://127.0.0.1:8443/bim-server
- bim-login-id: app1
- bim-secret-key: app1@123
- huawei-login-filter-url: /approve-core/v2/api-docs,/approve-core/api/*,services,hessian,commons,install.action,.xml,/install,/widgets-src/,/authorizationPage.html,/importAuthorizationFile.html,/license/LicenseManagerServlet,/authorizationFile/
|