Add example project

This commit is contained in:
Lorenzo Venerandi
2025-01-29 00:44:03 +01:00
parent 5f403bef2b
commit e282e2f388
2 changed files with 11 additions and 0 deletions

0
project/tasks/task1.go Normal file
View File

11
project/workflow.yaml Normal file
View File

@@ -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