From 718d86c513343bb6c12f97724a8a2c0debd000d4 Mon Sep 17 00:00:00 2001
From: Ivan Kondov <ivan.kondov@kit.edu>
Date: Fri, 14 Jul 2017 16:43:39 +0200
Subject: [PATCH] added templates for Problem 2.1

---
 exercises/inputs/2_data_flow/template.json | 81 ++++++++++++++++++++++
 exercises/inputs/2_data_flow/template.yaml | 42 +++++++++++
 2 files changed, 123 insertions(+)
 create mode 100644 exercises/inputs/2_data_flow/template.json
 create mode 100644 exercises/inputs/2_data_flow/template.yaml

diff --git a/exercises/inputs/2_data_flow/template.json b/exercises/inputs/2_data_flow/template.json
new file mode 100644
index 0000000..1cf1a51
--- /dev/null
+++ b/exercises/inputs/2_data_flow/template.json
@@ -0,0 +1,81 @@
+{
+  "fws": [
+    {
+      "fw_id": 1,
+      "name": "Post the job",
+      "spec": {
+        "_tasks": [
+          {
+            "_fw_name": "PythonFunctionTask",
+            "function": "auxiliary.print_func",
+            "inputs": ["job description"],
+            "outputs": [""]
+          }
+        ],
+        "job description": {}
+      }
+    },
+    {
+      "fw_id": 2,
+      "name": "Candidates apply",
+      "spec": {
+        "_tasks": [
+          {
+            "_fw_name": "PythonFunctionTask",
+            "function": "",
+            "inputs": [
+                "",
+                ""
+            ],
+            "outputs": [""]
+          }
+        ],
+        "application template": {},
+        "maximum applications": 50
+      }
+    },
+    {
+      "fw_id": 3,
+      "name": "Screen candidates",
+      "spec": {
+        "_tasks": [
+          {
+            "_fw_name": "PythonFunctionTask",
+            "function": "",
+            "inputs": [
+                "",
+                "",
+                "",
+                ""
+            ],
+            "outputs": [""]
+          }
+        ],
+        "number to invite": 4,
+        "minimum score": 2
+      }
+    },
+    {
+      "fw_id": 4,
+      "name": "Interview candidates",
+      "spec": {
+        "_tasks": [
+          {
+            "_fw_name": "PythonFunctionTask",
+            "function": "",
+            "inputs": [
+                "",
+                "",
+                ""
+            ],
+            "outputs": [""]
+          }
+        ],
+        "number to fill": 2
+      }
+    }
+  ],
+  "links": {},
+  "metadata": {},
+  "name": ""
+}
diff --git a/exercises/inputs/2_data_flow/template.yaml b/exercises/inputs/2_data_flow/template.yaml
new file mode 100644
index 0000000..d0b247c
--- /dev/null
+++ b/exercises/inputs/2_data_flow/template.yaml
@@ -0,0 +1,42 @@
+fws:
+- fw_id: 1
+  name: Post the job
+  spec:
+    _tasks:
+    - _fw_name: PythonFunctionTask
+      function: auxiliary.print_func
+      inputs: [job description]
+      outputs: ['']
+    job description: {}
+- fw_id: 2
+  name: Candidates apply
+  spec:
+    _tasks:
+    - _fw_name: PythonFunctionTask
+      function: ''
+      inputs: ['', '']
+      outputs: ['']
+    application template: {}
+    maximum applications: 50
+- fw_id: 3
+  name: Screen candidates
+  spec:
+    _tasks:
+    - _fw_name: PythonFunctionTask
+      function: ''
+      inputs: ['', '', '', '']
+      outputs: ['']
+    minimum score: 2
+    number to invite: 4
+- fw_id: 4
+  name: Interview candidates
+  spec:
+    _tasks:
+    - _fw_name: PythonFunctionTask
+      function: ''
+      inputs: ['', '', '']
+      outputs: ['']
+    number to fill: 2
+links: {}
+metadata: {}
+name: ''
-- 
GitLab