| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- #daily extract
- spring:
- profiles: dailyExtract
- datasource:
- driver-class-name: org.postgresql.Driver
- password: crss_metering
- username: crss_metering
- url: jdbc:postgresql://10.176.23.24:5432/crss_sit?currentSchema=metering
- maxPoolSize: 2
- test-on-borrow: true
- validation-query: SELECT 1
- cloud:
- stream:
- bindings:
- output:
- content-type: application/json
- redis:
- database: 4
- 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:
- driver-class-name: org.postgresql.Driver
- password: crss_metering
- username: crss_metering
- url: jdbc:postgresql://10.176.23.24:5432/crss_sit?currentSchema=metering
- maxPoolSize: 2
- 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:
- driver-class-name: org.postgresql.Driver
- password: crss_metering
- username: crss_metering
- url: jdbc:postgresql://10.176.23.24:5432/crss_sit?currentSchema=metering
- maxPoolSize: 2
- 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
|