techhero-gateway-dev.yml 1.85 KB
Newer Older
Administrator committed
1 2 3 4
zuul:
  ribbon:
    eager-load:
      enabled: true
5
      clients: techhero-auth,techhero-base-supportplatform,techhero-project-emergencycommand,techhero-project-visualization,techhero-permission,techhero-base-basicdata,techhero-preventioncheat,techhero-component-message,techhero-component-websocket
Administrator committed
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
  ignoredServices: '*'
  host:
    connect-timeout-millis: 10000
    socket-timeout-millis: 10000

security:
  encode:
    key: '1234567887654321' #必须16位
  validate:
    code: true
    preview: false
  sessions: stateless
  oauth2:
    client:
      client-id: techhero
      client-secret: techhero
    resource:
      jwt:
24
        key-uri: http://119.96.87.17:10420/oauth/token_key #解析jwt令牌所需要密钥的地址
Administrator committed
25
    authorization:
26
      check-token-access: http://119.96.87.17:10420/oauth/check_token
Administrator committed
27 28 29 30 31 32 33 34 35
      
ignore:
  urls:
    - /auth/**
    - /swagger/api-docs
    - /swagger-resources/**
    - /swagger-ui.html
    - /*/v2/api-docs
    - /webjars/**
36
    - /emerycommand/open/**
Administrator committed
37 38
    - /emerycommand/open/zh/queue/**
    # - /emerycommand/**
39
    - /visualization/open/**
40
    - /visualization/open/switchUrl/overview**
Administrator committed
41 42 43 44 45 46 47 48 49 50 51
    - /emerycommand/demo/**
    - /basicdata/zh/rest/**/exportExecl  #导出表数据
    - /basicdata/dc/rest/**/exportExecl
    - /basicdata/dc/rest/**/downloadTemplate  #下载表格模板
    - /basicdata/zh/rest/**/downloadTemplate
    - /basicdata/dc/rest/**/uploadExcel  #Excel导入数据
    - /basicdata/zh/rest/**/uploadExcel
    - /preventioncheat/zbfk/ksjh/record/export #作弊防控导出相关
    - /preventioncheat/zbfk/ksjh/eaxmPlan/export
    - /preventioncheat/zbfk/sbgl/device/export
    - /preventioncheat/zbfk/xyxh/cheat/export
52
    - /platform/vc/**  #验证码
53
    - /basicdata/dc/rest/dcBmszsqkbgxxb/**  #按时间区分数据测试使用
54
    - /message/**  #msg测试使用
55
    - /emerycommand/wjdc/rest/djrxx/getDjrxxData/*