application-qa.yml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. #daily extract
  2. spring:
  3. profiles: dailyExtract
  4. datasource:
  5. driver-class-name: org.postgresql.Driver
  6. password: 123qwe
  7. username: postgres
  8. url: jdbc:postgresql://10.64.0.4:5432/crss_metering
  9. maxPoolSize: 5
  10. test-on-borrow: true
  11. validation-query: SELECT 1
  12. cloud:
  13. stream:
  14. bindings:
  15. output:
  16. content-type: application/json
  17. jdbc:
  18. query: "select * from txn_meter_data_daily where consumed <> TRUE or consumed is null limit 10000;"
  19. update: "update txn_meter_data_daily set consumed = TRUE where meter_data_id in (:meter_data_id);"
  20. trigger:
  21. fixed-delay: 5
  22. time-unit: SECONDS
  23. logging:
  24. level:
  25. com.pemc: DEBUG
  26. ---
  27. #Monthly extract
  28. spring:
  29. profiles: monthlyExtract
  30. datasource:
  31. driver-class-name: org.postgresql.Driver
  32. password: 123qwe
  33. username: postgres
  34. url: jdbc:postgresql://10.64.0.4:5432/crss_metering
  35. maxPoolSize: 5
  36. test-on-borrow: true
  37. validation-query: SELECT 1
  38. cloud:
  39. stream:
  40. bindings:
  41. output:
  42. content-type: application/json
  43. jdbc:
  44. query: "select * from txn_meter_data_monthly where consumed <> TRUE or consumed is null limit 10000;"
  45. update: "update txn_meter_data_monthly set consumed = TRUE where meter_data_id in (:meter_data_id);"
  46. trigger:
  47. fixed-delay: 5
  48. time-unit: SECONDS
  49. logging:
  50. level:
  51. com.pemc: DEBUG
  52. ---
  53. # default
  54. spring:
  55. datasource:
  56. driver-class-name: org.postgresql.Driver
  57. password: 123qwe
  58. username: postgres
  59. url: jdbc:postgresql://10.64.0.4:5432/crss_metering
  60. maxPoolSize: 5
  61. test-on-borrow: true
  62. validation-query: SELECT 1
  63. cloud:
  64. stream:
  65. bindings:
  66. output:
  67. content-type: application/json
  68. jdbc:
  69. query: "select * from txn_meter_data_monthly where consumed <> TRUE or consumed is null limit 10000;"
  70. update: "update txn_meter_data_monthly set consumed = TRUE where meter_data_id in (:meter_data_id);"
  71. trigger:
  72. fixed-delay: 5
  73. time-unit: SECONDS
  74. logging:
  75. level:
  76. com.pemc: DEBUG