config.sql 6.0 KB

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