| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- #daily extract
- spring:
- profiles: dailyExtract
- datasource:
- url: jdbc:edb://10.176.11.23:5432/crss?currentSchema=metering
- username: crss_meterprocess
- password: Fh7UcXpW
- maxPoolSize: 5
- test-on-borrow: true
- validation-query: SELECT 1
- cloud:
- stream:
- bindings:
- output:
- content-type: application/json
- jdbc:
- query: "select * from txn_meter_data_daily where consumed <> TRUE or consumed is null limit 10000;"
- update: "update txn_meter_data_daily set consumed = TRUE where meter_data_id in (:meter_data_id);"
- trigger:
- fixed-delay: 5
- time-unit: SECONDS
- logging:
- level:
- com.pemc: DEBUG
- ---
- #Monthly extract
- spring:
- profiles: monthlyExtract
- datasource:
- url: jdbc:edb://10.176.11.23:5432/crss?currentSchema=metering
- username: crss_meterprocess
- password: Fh7UcXpW
- maxPoolSize: 5
- test-on-borrow: true
- validation-query: SELECT 1
- cloud:
- stream:
- bindings:
- output:
- content-type: application/json
- jdbc:
- query: "select * from txn_meter_data_monthly where consumed <> TRUE or consumed is null limit 10000;"
- update: "update txn_meter_data_monthly set consumed = TRUE where meter_data_id in (:meter_data_id);"
- trigger:
- fixed-delay: 5
- time-unit: SECONDS
- logging:
- level:
- com.pemc: DEBUG
- ---
- # default
- spring:
- datasource:
- url: jdbc:edb://10.176.11.23:5432/crss?currentSchema=metering
- username: crss_meterprocess
- password: Fh7UcXpW
- maxPoolSize: 5
- test-on-borrow: true
- validation-query: SELECT 1
- cloud:
- stream:
- bindings:
- output:
- content-type: application/json
- jdbc:
- query: "select * from txn_meter_data_monthly where consumed <> TRUE or consumed is null limit 10000;"
- update: "update txn_meter_data_monthly set consumed = TRUE where meter_data_id in (:meter_data_id);"
- trigger:
- fixed-delay: 5
- time-unit: SECONDS
|