root vor 5 Jahren
Ursprung
Commit
7678fc1720

+ 90 - 72
config-repo/application-dev.yml

@@ -1,72 +1,90 @@
-#dev环境公共配置文件
-spring:
-#  boot:
-#    admin:
-#      url: http://192.168.1.135:9101
-  rabbitmq:
-    host: 192.168.1.210
-    port: 5672
-    username: guest
-    password: guest
-  redis:      #redis 配置
-    database: 0
-    password: Cs123456
-    host: 192.168.1.210
-    port: 6379
-    pool:
-      max-wait: 30
-      max-idle: 5
-  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:
-  stream:
-    queue:
-      enabled: false
-  command:
-    default:
-      execution:
-        isolation:
-          thread.timeoutInMilliseconds: 50000 #让Hystrix的超时时间改为5秒,默认1秒
-
-logging:
-    config: classpath:logback-custom.xml
-logstash:
-    host: 192.168.1.104:4560
+#dev环境公共配置文件
+spring:
+  rabbitmq:
+    host: 192.168.1.210
+    port: 5672
+    username: guest
+    password: guest
+  redis:      #redis 配置
+    database: 0
+    password: Cs123456
+    host: 192.168.1.210
+    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://192.168.1.104:8080/upload
+hadoop:
+  hdfs: hdfs://192.168.1.135:9000
+
+server:
+  undertow:
+    accesslog:
+      enabled: false
+    pattern: common
+
+
+
+

+ 15 - 14
config-repo/aspect-server-dev.yml

@@ -1,14 +1,15 @@
-#app
-server:
-    port: 8001
-
-
-socket:
-  io:
-    host:  0.0.0.0
-    port:  9093
-
-
-#日志等级 和 日志中心地址
-logging:
-  level.root: INFO
+#app
+server:
+    port: 8001
+
+
+socket:
+  io:
+    host:  0.0.0.0
+    port:  9093
+
+
+#日志等级 和 日志中心地址
+logging:
+  level.root: INFO
+

+ 27 - 0
config-repo/echo-server-dev.yml

@@ -0,0 +1,27 @@
+#logging:
+#  config: classpath:logback-local.xml
+
+server:
+  context-parameters: #指定环境参数
+    enable: true
+    minTime: -1
+    maxShowParam: 1
+
+spring:
+  sleuth:
+    sampler:
+      percentage: 1.0
+    hystrix:
+      strategy:
+        enabled: false
+
+
+
+mybatis:
+  mapperLocations: classpath*:mapper/**/*Dao.xml
+  executor-type: REUSE
+saa:
+  power: false
+  basePackage: ins/**/po
+elk:
+  log: 192.168.1.104:4560

+ 64 - 0
config-repo/im-server-dev.yml

@@ -0,0 +1,64 @@
+socket:
+  io:
+    host: 0.0.0.0
+    port: 9092
+    platform: /inform
+
+#dev环境公共配置文件
+spring:
+  sleuth:
+    sampler:
+      percentage: 1.0
+    hystrix:
+      strategy:
+        enabled: false
+  datasource:
+    url: jdbc:mysql://192.168.1.201:3306/callcenterdb2.0?useUnicode=true&characterEncoding=utf-8
+    username: root
+    password: admin01
+    max-idle: 10
+    max-wait: 10000
+    min-idle: 5
+    initial-size: 5
+    validation-query: SELECT 1
+    test-on-borrow: false
+    test-while-idle: true
+    time-between-eviction-runs-millis: 18800
+    jdbc-interceptors: ConnectionState;SlowQueryReport(threshold=0)
+
+#mybatis-plus
+#mybatis-plus
+mybatis-plus:
+  mapper-locations: classpath*:/mapper/**/*.xml
+  #实体扫描,多个package用逗号或者分号分隔
+  typeAliasesPackage: ins.platform.po
+  #typeEnumsPackage: com.baomidou.springboot.entity.enums
+  global-config:
+    # 数据库相关配置
+    db-config:
+      #主键类型  AUTO:"数据库ID自增", INPUT:"用户输入ID",ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
+      id-type: id_worker
+      #字段策略 IGNORED:"忽略判断",NOT_NULL:"非 NULL 判断"),NOT_EMPTY:"非空判断"
+      field-strategy: not_empty
+      #驼峰下划线转换
+      column-underline: true
+      #数据库大写下划线转换
+      #capital-mode: true
+      #逻辑删除配置
+      logic-delete-value: 0
+      logic-not-delete-value: 1
+      db-type: h2
+    #刷新mapper 调试神器
+    refresh: true
+
+  # 打印sql
+logging:
+  level:
+    com.onepro.custom.mapper: DEBUG
+
+saa:
+  power: false
+  basePackage: ins/**/po
+
+address:
+  record: /home/record/

+ 77 - 0
config-repo/misc-server-dev.yml

@@ -0,0 +1,77 @@
+spring:
+  sleuth:
+    sampler:
+      percentage: 1.0
+    hystrix: 
+      strategy: 
+        enabled: false    
+  datasource:
+    url: jdbc:mysql://192.168.1.201:3306/callcenterdb2.0?useUnicode=true&characterEncoding=utf-8
+    username: root
+    password: admin01
+    max-idle: 10
+    max-wait: 10000
+    min-idle: 5
+    initial-size: 5
+    validation-query: SELECT 1
+    test-on-borrow: false
+    test-while-idle: true
+    time-between-eviction-runs-millis: 18800
+    jdbc-interceptors: ConnectionState;SlowQueryReport(threshold=0)
+
+#mybatis-plus
+mybatis-plus:
+  mapper-locations: classpath*:/mapper/**/*.xml
+  #实体扫描,多个package用逗号或者分号分隔
+  typeAliasesPackage: ins.platform.po
+  #typeEnumsPackage: com.baomidou.springboot.entity.enums
+  global-config:
+    # 数据库相关配置
+    db-config:
+      #主键类型  AUTO:"数据库ID自增", INPUT:"用户输入ID",ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
+      id-type: id_worker
+      #字段策略 IGNORED:"忽略判断",NOT_NULL:"非 NULL 判断"),NOT_EMPTY:"非空判断"
+      field-strategy: not_empty
+      #驼峰下划线转换
+      column-underline: true
+      #数据库大写下划线转换
+      #capital-mode: true
+      #逻辑删除配置
+      logic-delete-value: 0
+      logic-not-delete-value: 1
+      db-type: h2
+    #刷新mapper 调试神器
+    refresh: true
+
+#工作流
+bpm:
+  rule: WorkOrderNodeRule
+server:
+  port: 18020
+
+address:
+  record: /home/record/
+
+saa:
+  power: false
+  basePackage: ins/**/po
+
+#aodFeed:
+#  base-url: http://172.42.3.34:9001
+#  token: abc
+
+logging:
+  level: debug
+
+mail:
+  server: smtp.qq.com
+  sender: 247614188@qq.com
+  nickname:  中科软科技
+  username: 247614188@qq.com
+  password: csdudyxumxnkbhag
+
+tisson:
+  account:  'hb@test1'
+  password:  'hbtest114'
+  area:  '0755'
+  sendnumber:  '118114'

+ 39 - 57
config-repo/osms-server-dev.yml

@@ -1,57 +1,39 @@
-#app
-server:
-    port: 8080
-
-#spring
-spring:
-  devtools:
-    restart:
-      enabled: false
-
-  # H2 DATABASE CONFIG
-  datasource:
-    type: com.zaxxer.hikari.HikariDataSource
-   # schema: classpath:/db/schema-h2.sql
-   # data: classpath:/db/data-h2.sql
-    url: jdbc:mysql://192.168.1.204:3306/callcenterdb2.0?useUnicode=true&characterEncoding=utf-8
-    username: root
-    password: Cs123456
-    initialization-mode: always
-    continue-on-error: true
-
-#mybatis
-mybatis-plus:
-  mapper-locations: classpath:/mapper/*Mapper.xml
-  #实体扫描,多个package用逗号或者分号分隔
-  typeAliasesPackage: ins.platform.osms.user.po
-  #typeEnumsPackage: com.baomidou.springboot.entity.enums
-  global-config:
-    # 数据库相关配置
-    db-config:
-      #主键类型  AUTO:"数据库ID自增", INPUT:"用户输入ID",ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
-      id-type: id_worker
-      #字段策略 IGNORED:"忽略判断",NOT_NULL:"非 NULL 判断"),NOT_EMPTY:"非空判断"
-      field-strategy: not_empty
-      #驼峰下划线转换
-      column-underline: true
-      #数据库大写下划线转换
-      #capital-mode: true
-      #逻辑删除配置
-      logic-delete-value: 0
-      logic-not-delete-value: 1
-      db-type: mysql
-    #刷新mapper 调试神器
-    refresh: true
-  # 原生配置
-  configuration:
-    map-underscore-to-camel-case: true
-    cache-enabled: false
-##logging
-#logging:
-#  level: warn
-
-socket:
-  io:
-    host:  0.0.0.0
-    port:  9095
-    platform: /osms
+#app
+server:
+    port: 8002
+
+socket:
+  io:
+    host:  0.0.0.0
+    port:  9095
+    platform: /osms
+#dev环境公共配置文件
+spring:
+    # mysql DATABASE CONFIG
+  datasource:
+      url: jdbc:mysql://192.168.1.201:3306/callcenterdb2.0?useUnicode=true&characterEncoding=utf-8
+      username: root
+      password: admin01
+      max-idle: 10
+      max-wait: 10000
+      min-idle: 5
+      initial-size: 5
+      validation-query: SELECT 1
+      test-on-borrow: false
+      test-while-idle: true
+      time-between-eviction-runs-millis: 18800
+      jdbc-interceptors: ConnectionState;SlowQueryReport(threshold=0)
+
+mybatis:
+  mapperLocations: classpath*:mapper/**/*Dao.xml
+  executor-type: REUSE
+  configuration:
+      log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+
+#日志等级 和 日志中心地址
+logging:
+  level.root: INFO
+
+saa:
+  power: false
+  basePackage: ins/**/po

+ 78 - 0
config-repo/weixin-server-dev.yml

@@ -0,0 +1,78 @@
+logging:
+  level:
+    org.springframework.web: INFO
+    com.github.binarywang.demo.wx.mp: DEBUG
+    me.chanjar.weixin: DEBUG
+wechat:
+  open:
+    componentAppId: wxebb6d40071dc817e
+    componentSecret: fb87e72522d3af0e1acd18fdc21522a3
+    componentToken: A_TOKEN
+    componentAesKey: lr3dxCbG0Clep5zo9F2wZ7owkjOaDBr76lmlGSRhLio
+  redis:      #redis 配置
+    database: 0
+    password: Cs123456
+    host: 192.168.1.210
+    port: 6379
+
+hadoop:
+  hdfs: hdfs://192.168.1.135:9000
+
+#spring
+spring:
+  devtools:
+    restart:
+      enabled: false
+  rabbitmq:
+      host: 192.168.1.210
+      port: 5672
+      username: guest
+      password: guest
+  datasource:
+    #指定自定义连接池
+    type: com.zaxxer.hikari.HikariDataSource
+    #指定数据库连接信息
+    driver-class-name: com.mysql.jdbc.Driver
+    #url: jdbc:mysql://sinosoft.vicp.io:11262/hmbst?useUnicode=true&characterEncoding=utf-8&useSSL=false
+    #username: root
+    #password: admin01
+    url: jdbc:mysql://192.168.1.201:3306/callcenterdb2.0?useUnicode=true&characterEncoding=utf-8
+    username: root
+    password: admin01
+
+    platform: mysql
+
+    hikari:
+      max-lifetime: 1765000
+      maximum-pool-size: 15
+      auto-commit: true
+      connection-test-query: select 1
+
+
+#mybatis
+mybatis-plus:
+  mapper-locations: classpath*:mapper/*Mapper.xml
+  #实体扫描,多个package用逗号或者分号分隔
+  typeAliasesPackage: com.sinosoft.gateway.wx.mp.entity;ins.platform.template.model
+  #typeEnumsPackage: com.baomidou.springboot.entity.enums
+  global-config:
+    # 数据库相关配置
+    db-config:
+      #主键类型  AUTO:"数据库ID自增", INPUT:"用户输入ID",ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
+      id-type: id_worker
+      #字段策略 IGNORED:"忽略判断",NOT_NULL:"非 NULL 判断"),NOT_EMPTY:"非空判断"
+      field-strategy: not_empty
+      #驼峰下划线转换
+      column-underline: true
+      #数据库大写下划线转换
+      #capital-mode: true
+      #逻辑删除配置
+      logic-delete-value: 0
+      logic-not-delete-value: 1
+      db-type: h2
+    #刷新mapper 调试神器
+    refresh: true
+  # 原生配置
+  configuration:
+    map-underscore-to-camel-case: true
+    cache-enabled: false

+ 54 - 0
config-repo/zuul-server-dev.yml

@@ -0,0 +1,54 @@
+spring:
+  sleuth:
+    sampler:
+      percentage: 1.0
+    hystrix:
+      strategy:
+        enabled: false
+  datasource:
+    url: jdbc:mysql://192.168.1.201:3306/callcenterdb2.0?useUnicode=true&characterEncoding=utf-8
+    username: root
+    password: admin01
+    max-idle: 10
+    max-wait: 10000
+    min-idle: 5
+    initial-size: 5
+    validation-query: SELECT 1
+    test-on-borrow: false
+    test-while-idle: true
+    time-between-eviction-runs-millis: 18800
+    jdbc-interceptors: ConnectionState;SlowQueryReport(threshold=0)
+
+#mybatis plus
+mybatis-plus:
+  mapper-locations: classpath*:/mapper/**/*.xml
+  #实体扫描,多个package用逗号或者分号分隔
+  typeAliasesPackage: ins.*.po
+  #typeEnumsPackage: com.baomidou.springboot.entity.enums
+  global-config:
+    # 数据库相关配置
+    db-config:
+      #主键类型  AUTO:"数据库ID自增", INPUT:"用户输入ID",ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
+      id-type: id_worker
+      #字段策略 IGNORED:"忽略判断",NOT_NULL:"非 NULL 判断"),NOT_EMPTY:"非空判断"
+      field-strategy: not_empty
+      #驼峰下划线转换
+      column-underline: true
+      #数据库大写下划线转换
+      #capital-mode: true
+      #逻辑删除配置
+      logic-delete-value: 0
+      logic-not-delete-value: 1
+      db-type: h2
+    #刷新mapper 调试神器
+    refresh: true
+  # 原生配置
+  configuration:
+    map-underscore-to-camel-case: true
+    cache-enabled: false
+saa:
+  power: false
+  basePackage: ins/**/po
+
+zuul:
+  forceOriginalQueryStringEncoding: true