From e282e2f38845f7cb4d6a12106f4975a13909cd25 Mon Sep 17 00:00:00 2001 From: Lorenzo Venerandi <68255980+Lore09@users.noreply.github.com> Date: Wed, 29 Jan 2025 00:44:03 +0100 Subject: [PATCH] Add example project --- project/tasks/task1.go | 0 project/workflow.yaml | 11 +++++++++++ 2 files changed, 11 insertions(+) create mode 100644 project/tasks/task1.go create mode 100644 project/workflow.yaml diff --git a/project/tasks/task1.go b/project/tasks/task1.go new file mode 100644 index 0000000..e69de29 diff --git a/project/workflow.yaml b/project/workflow.yaml new file mode 100644 index 0000000..09d6040 --- /dev/null +++ b/project/workflow.yaml @@ -0,0 +1,11 @@ +tasks: + - name: Data Aggregation # Displayed name + type: processor_nats # Used to select template + code: task1.go # Go code file inside tasks/ dir + target: # Where the component will be deployed + - edge + - cloud + source_topic: temp_sensor # Source NATS topic + dest_topic: aggregated_data # Destination NATS topic + component_name: data_aggregation # Component name displayed in the OCI artifact + version: 1.0.0 \ No newline at end of file