From 7dd777ad876fc9823a2be0f96053b57c6812d11e Mon Sep 17 00:00:00 2001 From: spicy-sauce Date: Mon, 18 Mar 2024 14:27:57 +0200 Subject: [PATCH] jobs and data dirs --- examples/.gitignore | 1 - examples/{ => data}/test.csv | 0 examples/{ => jobs}/airbnb_csv_to_redis.dy.yaml | 0 examples/{ => jobs}/test_csv_producer.dy.yaml | 4 ++-- examples/{ => jobs}/test_redis_producer.dy.yaml | 0 5 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 examples/.gitignore rename examples/{ => data}/test.csv (100%) rename examples/{ => jobs}/airbnb_csv_to_redis.dy.yaml (100%) rename examples/{ => jobs}/test_csv_producer.dy.yaml (88%) rename examples/{ => jobs}/test_redis_producer.dy.yaml (100%) diff --git a/examples/.gitignore b/examples/.gitignore deleted file mode 100644 index adbb97d2..00000000 --- a/examples/.gitignore +++ /dev/null @@ -1 +0,0 @@ -data/ \ No newline at end of file diff --git a/examples/test.csv b/examples/data/test.csv similarity index 100% rename from examples/test.csv rename to examples/data/test.csv diff --git a/examples/airbnb_csv_to_redis.dy.yaml b/examples/jobs/airbnb_csv_to_redis.dy.yaml similarity index 100% rename from examples/airbnb_csv_to_redis.dy.yaml rename to examples/jobs/airbnb_csv_to_redis.dy.yaml diff --git a/examples/test_csv_producer.dy.yaml b/examples/jobs/test_csv_producer.dy.yaml similarity index 88% rename from examples/test_csv_producer.dy.yaml rename to examples/jobs/test_csv_producer.dy.yaml index 05de6932..70d5afc7 100644 --- a/examples/test_csv_producer.dy.yaml +++ b/examples/jobs/test_csv_producer.dy.yaml @@ -1,14 +1,14 @@ input: uses: files.read_csv with: - file: examples/test.csv + file: test.csv steps: - uses: add_field with: fields: - field: full_name language: jmespath - expression: concat([fname, ' ' , lname]) + expression: concat([fname, ' ', lname]) - uses: map with: expression: diff --git a/examples/test_redis_producer.dy.yaml b/examples/jobs/test_redis_producer.dy.yaml similarity index 100% rename from examples/test_redis_producer.dy.yaml rename to examples/jobs/test_redis_producer.dy.yaml