application-devoracle.yml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. #daily extract
  2. spring:
  3. profiles: dailyExtract
  4. datasource:
  5. driver-class-name: oracle.jdbc.driver.OracleDriver
  6. password: crss
  7. username: crss_meterprocess_metering
  8. url: jdbc:oracle:thin:@192.168.235.6:1521:ORCL
  9. cloud:
  10. stream:
  11. bindings:
  12. output:
  13. content-type: application/json
  14. jdbc:
  15. max-rows-per-poll: 1
  16. query: "select * from txn_meter_data_daily where consumed <> 'Y' or consumed is null or consumed = ''"
  17. split: true
  18. update: "update txn_meter_data_daily set consumed = 'Y' where meter_data_id in (:meter_data_id)"
  19. trigger:
  20. # cron: '0/1 * * * * ?'
  21. # date-format: 'MM/dd/yyyy'
  22. fixed-delay: 100
  23. initial-delay: 100
  24. max-messages: 1
  25. time-unit: MILLISECONDS
  26. logging:
  27. level:
  28. org.springframework: DEBUG
  29. ---
  30. #Monthly extract
  31. spring:
  32. profiles: monthlyExtract
  33. datasource:
  34. driver-class-name: oracle.jdbc.driver.OracleDriver
  35. password: crss
  36. username: crss_meterprocess_metering
  37. url: jdbc:oracle:thin:@192.168.235.6:1521:ORCL
  38. cloud:
  39. stream:
  40. bindings:
  41. output:
  42. content-type: application/json
  43. jdbc:
  44. max-rows-per-poll: 1
  45. query: "select * from txn_meter_data_monthly where consumed <> 'Y' or consumed is null or consumed = ''"
  46. split: true
  47. update: "update txn_meter_data_monthly set consumed = 'Y' where meter_data_id in (:meter_data_id)"
  48. trigger:
  49. # cron: '0/1 * * * * ?'
  50. # date-format: 'MM/dd/yyyy'
  51. fixed-delay: 100
  52. initial-delay: 100
  53. max-messages: 1
  54. time-unit: MILLISECONDS
  55. ---
  56. # default
  57. spring:
  58. datasource:
  59. driver-class-name: oracle.jdbc.driver.OracleDriver
  60. password: crss
  61. username: crss_meterprocess_metering
  62. url: jdbc:oracle:thin:@192.168.235.6:1521:ORCL
  63. cloud:
  64. stream:
  65. bindings:
  66. output:
  67. content-type: application/json
  68. jdbc:
  69. max-rows-per-poll: 1
  70. query: "select * from txn_meter_data_monthly where consumed <> 'Y' or consumed is null or consumed = ''"
  71. split: true
  72. update: "update txn_meter_data_monthly set consumed = 'Y' where meter_data_id in (:meter_data_id)"
  73. trigger:
  74. # cron: '0/1 * * * * ?'
  75. # date-format: 'MM/dd/yyyy'
  76. fixed-delay: 100
  77. initial-delay: 100
  78. max-messages: 1
  79. time-unit: MILLISECONDS