| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- #daily extract
- spring:
- profiles: dailyExtract
- datasource:
- url: jdbc:postgresql://172.16.0.20:5432/crss?currentSchema=metering
- username: crss_metering
- password: Fh7UcXpW
- driver-class-name: org.postgresql.Driver
- maxPoolSize: 5
- test-on-borrow: true
- validation-query: SELECT 1
- cloud:
- stream:
- bindings:
- output:
- content-type: application/json
- jdbc:
- query: "select * from metering.txn_meter_data_daily where consumed <> TRUE or consumed is null limit 10000;"
- update: "update metering.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:postgresql://172.16.0.20:5432/crss?currentSchema=metering
- username: crss_metering
- password: Fh7UcXpW
- driver-class-name: org.postgresql.Driver
- maxPoolSize: 5
- test-on-borrow: true
- validation-query: SELECT 1
- cloud:
- stream:
- bindings:
- output:
- content-type: application/json
- jdbc:
- query: "select * from metering.txn_meter_data_monthly where consumed <> TRUE or consumed is null limit 10000;"
- update: "update metering.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:postgresql://172.16.0.20:5432/crss?currentSchema=metering
- username: crss_metering
- password: Fh7UcXpW
- driver-class-name: org.postgresql.Driver
- maxPoolSize: 5
- test-on-borrow: true
- validation-query: SELECT 1
- cloud:
- stream:
- bindings:
- output:
- content-type: application/json
- jdbc:
- query: "select * from metering.txn_meter_data_monthly where consumed <> TRUE or consumed is null limit 10000;"
- update: "update metering.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
|