cdssman-service-dev.yml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. server:
  2. port: 8778
  3. # 驱动配置信息
  4. spring:
  5. datasource:
  6. dynamic:
  7. primary: mysql
  8. # 数据库配置
  9. datasource:
  10. neo4j:
  11. driver-class-name: org.neo4j.jdbc.Driver
  12. url: jdbc:neo4j:http://192.168.3.150:7474
  13. username: neo4j
  14. password: 12345678
  15. #定义初始连接数
  16. initialSize: 0
  17. #定义最大连接数
  18. maxActive: 20
  19. #定义最大空闲
  20. maxIdle: 20
  21. #定义最小空闲
  22. minIdle: 1
  23. #定义最长等待时间
  24. maxWait: 60000
  25. mysql:
  26. driver-class-name: com.mysql.cj.jdbc.Driver
  27. platform: mysql
  28. url: jdbc:mysql://192.168.2.236:3306/cdss?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false&allowMultiQueries=true
  29. username: root
  30. password: lantone
  31. cloud:
  32. stream:
  33. bindings:
  34. outputLog:
  35. destination: myLog
  36. # contentType: text/plain # 实体 json string 在传递的类型装换 查看 http://docs.spring
  37. #mq
  38. rabbitmq:
  39. host: 192.168.2.236
  40. port: 5672
  41. username: lantone
  42. password: lantone
  43. publisher-confirms: true
  44. virtual-host: /
  45. #mybatis
  46. mybatis:
  47. type-aliases-package: com.diagbot.entity
  48. mapper-locations: classpath:mapper/**/*.xml
  49. #mybatis-plus
  50. mybatis-plus:
  51. mapper-locations: classpath:/mapper/*Mapper.xml
  52. #实体扫描,多个package用逗号或者分号分隔
  53. typeAliasesPackage: com.diagbot.entity
  54. global-config:
  55. #刷新mapper 调试神器
  56. db-config:
  57. #主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
  58. id-type: id_worker
  59. #字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
  60. field-strategy: not_empty
  61. #驼峰下划线转换
  62. column-underline: true
  63. #数据库大写下划线转换
  64. #capital-mode: true
  65. #刷新mapper 调试神器
  66. refresh-mapper: true
  67. #逻辑删除配置
  68. logic-delete-value: 0
  69. logic-not-delete-value: 1
  70. #自定义填充策略接口实现
  71. #meta-object-handler: com.baomidou.springboot.xxx
  72. #自定义SQL注入器
  73. #sql-injector: com.baomidou.springboot.xxx
  74. configuration:
  75. map-underscore-to-camel-case: true
  76. cache-enabled: false