feat: update prices
ecolyo#769 (closed)
Related toWhat does this MR do ?
- Konnector now fetches water prices from the backoffice.
- If prices are found, applies them directly to the data
- If prices are not found, keep the latest price set if any
- (bonus) update aggregates only if needed
How to test ?
-
add this line to your
konnector-dev-config.json
"boBaseUrl": "https://ecolyo-agent-rec.apps.grandlyon.com",
-
Launch
yarn standalone
-
Modify some data loads or prices in
importedData.json
and relaunchyarn standalone
You can also deploy this branch to your Alpha instance (I have already added the boBaseUrl secret to the stack)
Edited by Rémi PAILHAREY