#dev环境公共配置文件
spring:
  rabbitmq:
    host: 172.16.88.235
    port: 5672
    username: guest
    password: guest
  redis:      #redis 配置
    database: 0
    password: Cs123456
    host: 172.16.88.235
    port: 6379
    pool:
      max-wait: 30
      max-idle: 5
  boot:
    admin:
      client:
        service-base-url: http://localhost:9101
  cache:
    type: redis
# JWT
jwt:
  header: Authorization
  secret: arch6Secret
  expiration: 86400
  tokenHead: "Arch6WithCloud "
  jackson:
    serialization:
      INDENT_OUTPUT: true
eureka:
  client:
    registry-fetch-interval-seconds: 10        # 默认为30秒
  instance:
    lease-renewal-interval-in-seconds: 10     # 心跳时间,即服务续约间隔时间(缺省为30s)
    lease-expiration-duration-in-seconds: 30  # 发呆时间,即服务续约到期时间(缺省为90s)
    prefer-ip-address: true
    instance-id: ${spring.cloud.client.ipAddress}:${server.port}
management:
  health:
    rabbit:
      enabled: false
    binders:
      enabled: false
  security:
    enabled: false # spring-boot 1.5.2之后严格执行安全策略,所以需要配置这个为false ,否则很多点监控不到
feign:
  hystrix:
    enabled: false #Hystrix支持,如果为true,hystrix库必须在classpath中
  compression:
    request:
      enabled: true #请求GZIP压缩支持
      mime-types: text/xml,application/xml,application/json #支持压缩的mime types
      min-request-size: 2048
    response:
      enabled: true #响应GZIP压缩支持
  httpclient:
    enabled: true

hystrix:
  command:
    default:
      execution:
        timeout:
          enabled: false
        isolation:
          thread:
            timeoutInMilliseconds: 60000 #让Hystrix的超时时间改为5秒,默认1秒


logging:
   config: classpath:logback-custom.xml
logstash:
    host: 192.168.1.104:4560
gofastdfs:
  url: http://120.24.186.63:18080/group1/upload
  recordUrl: http://120.24.186.63:18080/group1
  smartUrl: http://120.24.186.63:18080

server:
  undertow:
    accesslog:
      enabled: false
    pattern: common

ignore:
  tables: "agent_record_summary_byday,ai_sale_phone,api_area_info,api_hospital_info,ast_service_threshold,crm_area_code,crm_base_area,crm_batch_task,
    crm_batch_task_1,crm_campaign_batch,crm_campaign_intention,crm_campaign_template,crm_campaign_time,crm_campaign_time,crm_fail_reason,crm_hour_data,
    crm_phone_code,crm_tenant,crm_tenant_config,im_campaign_allot_rule,im_campaign_allot_rule_detail,im_campaign_extract_rule,im_campaign_extract_rule_detail,
    im_campaign_result,im_chat_message,im_config_overtime_config,im_config_quick_reply_attachment,im_config_reception_config,im_context_history,
    im_context_quality_model_log,im_context_quality_task,im_context_quality_task_log,im_taboo_record,saa_tenant_button,saa_tenant_menu,service_record_summary_byday,
    smt_config_industry,smt_dialog_answer,smt_knowledge_question,smt_knowledge_reply,smt_phone_config,smt_produce,smt_produce_process,smt_robot_back,
    smt_robot_current,smt_robot_exon,smt_robot_penetrant,smt_robot_queue,smt_robot_task,smt_task_intention,smt_task_log,smt_task_template,
    smt_workorder_template_element,sys_operation_log,zuul_client_relation,zuul_gateway,zuul_rate_limit"