clarify / node-red-contrib-clarify

A Node-Red node to insert data into Clarify
Apache License 2.0
1 stars 2 forks source link

clarify_db: Move all db code into single + misc improvements #39

Closed khtufteland closed 3 years ago

khtufteland commented 3 years ago

commit 112a5ddd73441bfdd0d1cc605899fc3798068831 Author: Kjetil Hope Tufteland kjetil@searis.no Date: Mon Sep 6 15:37:25 2021 +0200

Clean gitignore to include package-lock.json in repo

commit 2e2fbccd9d782ac3cd8fd7ce492bedd8be172679 Author: Kjetil Hope Tufteland kjetil@searis.no Date: Mon Sep 6 15:40:10 2021 +0200

private/clarify_db: Move all db code into single

Decided to also split signal databases into separate files per
integration.

commit afc4c454aae65332c34875bb714292f6010a57e4 Author: Kjetil Hope Tufteland kjetil@searis.no Date: Mon Sep 6 14:18:22 2021 +0200

clarify_util: Check if payload.times and payload.values isn't empty

Shouldn't be allowed. Before they were valid causing an empty insert request to Clarify.

commit 9a98b59fbd9a2c8602ee1750f39a61ba71c78a05 Author: Kjetil Hope Tufteland kjetil@searis.no Date: Thu Sep 2 12:49:04 2021 +0200

clarify_insert: Check if api config is set