123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- spring:
- application:
- name: dcuc-auth-back
- cloud:
- nacos:
- discovery:
- # 配置nacos地址
- server-addr: 127.0.0.1:8848
- servlet:
- multipart:
- # 设置文件上传大小,springboot默认的最大上传大小是1MB
- max-file-size: 150MB
- max-request-size: 150MB
- server:
- port: 8861
- servlet:
- context-path: /dcucauth
- jsp:
- init-parameters:
- development: true
- management:
- endpoints:
- web:
- exposure:
- include: '*'
- duceap:
- swagger:
- enabled: true
- package-path: com.dragoninfo.dcuc.authweb.restcontroller.api
- license:
- #配置用来指定license对接的后端项目地址(格式:ip:port/context,如http://10.10.10.10:8080/ctx),
- #默认使用HttpServletRequest.getLocalAddr()方法获取ip地址,
- #应用在docker部署环境中无法获取机子的真实ip地址 考虑以配置参数的形式传入
- address: http://127.0.0.1:8861/auth
- apollo:
- client:
- host: http://10.201.3.20:8070
- security-access:
- jwt:
- enabled: true
- user-token-header-name: userToken
- security:
- # type: dcuc ## 注解掉不开启认证登录
- dcuc:
- cas-server-url-prefix: http://192.168.10.2:8877/sso
- server-name: 10.11.1.151:8000
- ignore-pattern: '/js/*|/img/*|/css/*|/api/*|/*.png|/rest/*|/webSocket/*|/oauthLogin/*|/authorizationPage.html|/importAuthorizationFile.html|/license/LicenseManagerServlet|/authorizationFile/'
- app-code: QXXT0000000000000001
- api-url: http://192.168.10.2:8860/dcuc
- dids2:
- appCode: YHZX0000000000000001
- SSOLoginUrl: http://192.168.6.128:9995/didsserver/login
- #单点登录服务接口地址
- SSOValidateUrl: http://192.168.6.128:9995/didsserver/serviceValidate
- #跳转前端地址
- SSOServiceUrl: http://10.11.0.240:18871/dcuc/login
- #单点登录服务接口地址
- webServiceUrl: http://192.168.6.128:9995/didsserver/webservices/
- noFilterUrl: services,hessian,commons,install.action,.xml,/install,/widgets-src/,/authorizationPage.html,/importAuthorizationFile.html,/license/LicenseManagerServlet,/authorizationFile/,/api/,/js/,/png/,/rest/
- hystrix:
- command:
- default:
- execution:
- timeout:
- #hystrix熔断器开关
- enabled: true
- isolation:
- thread:
- #hystrix熔断器熔断时间
- timeoutInMilliseconds: 30000
- ribbon:
- ReadTimeout: 30000
- ConnectTimeout: 30000
- dcuc:
- authweb:
- app-code: QXXT0000000000000001
- auth-access: true
- check-type-enum: token
|