From 380486d09736628f6875cda364df7bd9f64646b9 Mon Sep 17 00:00:00 2001 From: Mike Szczys Date: Fri, 27 Sep 2024 16:22:35 -0500 Subject: [PATCH] pipelines: use json to lightdb with path injection Listen for JSON data on any path, route the data to LightDB using the same path that was received from the device. Signed-off-by: Mike Szczys --- pipelines/{cbor-to-lightdb.yml => json-to-lightdb.yml} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename pipelines/{cbor-to-lightdb.yml => json-to-lightdb.yml} (70%) diff --git a/pipelines/cbor-to-lightdb.yml b/pipelines/json-to-lightdb.yml similarity index 70% rename from pipelines/cbor-to-lightdb.yml rename to pipelines/json-to-lightdb.yml index 6279576..22f1a93 100644 --- a/pipelines/cbor-to-lightdb.yml +++ b/pipelines/json-to-lightdb.yml @@ -1,10 +1,10 @@ filter: path: "*" - content_type: application/cbor + content_type: application/json steps: - name: step-0 transformer: - type: cbor-to-json + type: inject-path version: v1 destination: type: lightdb-stream