config.sql 6.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. # org config
  2. delete from `integrated_config` where application = 'dmp-org';
  3. INSERT INTO `integrated_config`
  4. (`APPLICATION`,`PPROFILE`,`LABLE`,`BELONGTO`,`ISUPDATE`,`PKEY`,`PVALUE`,`DESCRIPTION`)
  5. VALUES
  6. ('dmp-org','default','master','DMP',1,'spring.jackson.time-zone', 'Asia/Shanghai', null),
  7. ('dmp-org','default','master','DMP',1,'spring.jpa.show-sql', 'false', null),
  8. ('dmp-org','default','master','DMP',1,'spring.jpa.hibernate.ddl-auto', 'none', null),
  9. ('dmp-org','default','master','DMP',1,'management.endpoints.web.exposure.include', '*', null),
  10. ('dmp-org','default','master','DMP',1,'management.endpoint.health.show-details', 'ALWAYS', null),
  11. ('dmp-org','default','master','DMP',1,'eureka.client.fetch-registry','true',null),
  12. ('dmp-org','default','master','DMP',1,'eureka.client.register-with-eureka','true',null),
  13. ('dmp-org','default','master','DMP',1,'eureka.instance.lease-renewal-interval-in-seconds','10',null),
  14. ('dmp-org','default','master','DMP',1,'eureka.instance.lease-expiration-duration-in-seconds','30',null),
  15. ('dmp-org','default','master','DMP',1,'eureka.instance.hostname','${spring.application.name}',null),
  16. ('dmp-org','default','master','DMP',1,'eureka.instance.prefer-ip-address','true',null),
  17. ('dmp-org','default','master','DMP',1,'eureka.instance.instance-id','${spring.cloud.client.ip-address}:${server.port}',null),
  18. ('dmp-org','default','master','DMP',1,'spring.shardingsphere.props.sql.show', 'false', null),
  19. ('dmp-org','default','master','DMP',1,'spring.shardingsphere.datasource.names', 'ds0', null),
  20. ('dmp-org','default','master','DMP',1,'spring.shardingsphere.datasource.ds0.type', 'com.alibaba.druid.pool.DruidDataSource', null),
  21. ('dmp-org','default','master','DMP',1,'spring.shardingsphere.datasource.ds0.driverClassName', 'com.mysql.cj.jdbc.Driver', null),
  22. ('dmp-org','default','master','DMP',1,'spring.shardingsphere.datasource.ds0.url', 'jdbc:mysql://${persagy.mysql.host}:${persagy.mysql.port}/${persagy.mysql.database}?useUnicode=true&characterEncoding=utf-8&mysqlEncoding=utf8&useSSL=false', null),
  23. ('dmp-org','default','master','DMP',1,'spring.shardingsphere.datasource.ds0.username', '${persagy.mysql.username}', null),
  24. ('dmp-org','default','master','DMP',1,'spring.shardingsphere.datasource.ds0.password', '${persagy.mysql.password}', null),
  25. ('dmp-org','default','master','DMP',1,'spring.shardingsphere.datasource.ds0.initialSize', '${persagy.mysql.initialSize}', null),
  26. ('dmp-org','default','master','DMP',1,'spring.shardingsphere.datasource.ds0.maxActive', '${persagy.mysql.maxActive}', null),
  27. ('dmp-org','default','master','DMP',1,'spring.shardingsphere.sharding.default-data-source-name', 'ds0', null),
  28. ('dmp-org','default','master','DMP',1,'spring.rabbitmq.host', '${persagy.rabbitmq.host}', null),
  29. ('dmp-org','default','master','DMP',1,'spring.rabbitmq.port', '${persagy.rabbitmq.port}', null),
  30. ('dmp-org','default','master','DMP',1,'spring.rabbitmq.username', '${persagy.rabbitmq.username}', null),
  31. ('dmp-org','default','master','DMP',1,'spring.rabbitmq.password', '${persagy.rabbitmq.password}', null),
  32. ('dmp-org','default','master','DMP',1,'spring.rabbitmq.virtual-host', '${persagy.rabbitmq.virtual-host}', null),
  33. ('dmp-org','default','master','DMP',1,'spring.redis.host', '${persagy.redis.host}', null),
  34. ('dmp-org','default','master','DMP',1,'spring.redis.port', '${persagy.redis.port}', null),
  35. ('dmp-org','default','master','DMP',1,'spring.redis.password', '${persagy.redis.password}', null),
  36. ('dmp-org','default','master','DMP',1,'spring.redis.database', '${persagy.redis.database}', null),
  37. ('dmp-org','default','master','DMP',1,'spring.redis.pool.max-active', '${persagy.redis.max-active}', null),
  38. ('dmp-org','default','master','DMP',1,'spring.redis.pool.max-idle', '${persagy.redis.max-idle}', null),
  39. ('dmp-org','default','master','DMP',1,'spring.redis.pool.min-idle', '${persagy.redis.min-idle}', null),
  40. ('dmp-org','default','master','DMP',1,'persagy.dmp.exchange', 'exchange-dmp', null),
  41. ('dmp-org','default','master','DMP',1,'persagy.dmp.dic.routingKey', 'routing-dmp-dic', null),
  42. ('dmp-org','default','master','DMP',1,'persagy.dmp.org.routingKey', 'routing-dmp-org', null),
  43. ('dmp-org','default','master','DMP',1,'persagy.dmp.rwd.routingKey', 'routing-dmp-rwd', null),
  44. ('dmp-org','default','master','DMP',1,'persagy.dmp.alarm.routingKey', 'routing-dmp-alarm', null),
  45. ('dmp-org','default','master','DMP',1,'persagy.dmp.task.routingKey', 'routing-dmp-task', null),
  46. ('dmp-org','dev','master','DMP',1,'server.port', '8080', null),
  47. ('dmp-org','dev','master','DMP',1,'eureka.client.service-url.defaultZone','http://frame:123456@localhost:9931/eureka/','注册中心地址'),
  48. ('dmp-org','dev','master','DMP',1,'eureka.instance.ip-address','localhost',null),
  49. ('dmp-org','dev','master','DMP',1,'persagy.iot.data.server', 'http://localhost:9981', 'IOT数据查询服务'),
  50. ('dmp-org','dev','master','DMP',1,'persagy.iot.setting.server', 'http://localhost:9983', 'IOT控制服务'),
  51. ('dmp-org','dev','master','DMP',1,'persagy.mysql.host', 'localhost', null),
  52. ('dmp-org','dev','master','DMP',1,'persagy.mysql.port', '3301', null),
  53. ('dmp-org','dev','master','DMP',1,'persagy.mysql.database', 'dmp_test', null),
  54. ('dmp-org','dev','master','DMP',1,'persagy.mysql.username', 'root', null),
  55. ('dmp-org','dev','master','DMP',1,'persagy.mysql.password', '123456', null),
  56. ('dmp-org','dev','master','DMP',1,'persagy.mysql.initialSize', '10', null),
  57. ('dmp-org','dev','master','DMP',1,'persagy.mysql.maxActive', '100', null),
  58. ('dmp-org','dev','master','DMP',1,'persagy.redis.host', 'localhost', null),
  59. ('dmp-org','dev','master','DMP',1,'persagy.redis.port', '6379', null),
  60. ('dmp-org','dev','master','DMP',1,'persagy.redis.password', '123456', null),
  61. ('dmp-org','dev','master','DMP',1,'persagy.redis.database', '0', null),
  62. ('dmp-org','dev','master','DMP',1,'persagy.redis.max-active', '300', null),
  63. ('dmp-org','dev','master','DMP',1,'persagy.redis.max-idle', '30', null),
  64. ('dmp-org','dev','master','DMP',1,'persagy.redis.min-idle', '10', null),
  65. ('dmp-org','dev','master','DMP',1,'persagy.rabbitmq.host', 'localhost', null),
  66. ('dmp-org','dev','master','DMP',1,'persagy.rabbitmq.port', '5672', null),
  67. ('dmp-org','dev','master','DMP',1,'persagy.rabbitmq.username', 'admin', null),
  68. ('dmp-org','dev','master','DMP',1,'persagy.rabbitmq.password', '123456', null),
  69. ('dmp-org','dev','master','DMP',1,'persagy.rabbitmq.virtual-host', '/test', 'rabbitmq虚拟机'),
  70. ('dmp-org','dev','master','DMP',1,'persagy.dmp.org.queue', 'queue-dmp-org', null),
  71. ('dmp-org','dev','master','DMP',1,'persagy.log.path', '.', '日志文件所在路径');