From ff78ef472f8e481afb39f24a1d37737ef8dfab60 Mon Sep 17 00:00:00 2001 From: talig Date: Thu, 9 Aug 2018 13:13:23 +0300 Subject: Add activity spec code Move code from sdc repository and: 1. place according to this project structure 2. refactor DTOs and use mapstruct 3. change errorResponse to be a json instead of a string (for all workflow code) Change-Id: Ia85590b53ab59ff7600e05b8a6d52e06b1773220 Issue-ID: SDC-1606 Signed-off-by: talig --- .../resources/json/createActivitySpec.json | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 workflow-bdd/resources/json/createActivitySpec.json (limited to 'workflow-bdd/resources/json/createActivitySpec.json') diff --git a/workflow-bdd/resources/json/createActivitySpec.json b/workflow-bdd/resources/json/createActivitySpec.json new file mode 100644 index 00000000..bf1b6012 --- /dev/null +++ b/workflow-bdd/resources/json/createActivitySpec.json @@ -0,0 +1,23 @@ +{ + "name": "RANDOM", + "description": "Start Server", + "categoryList": [ + "Server" + ], + "inputs": [ + { + "name": "host", + "type": "string", + "value": "10.1.2.3" + } + ], + "outputs": [ + { + "name": "status", + "type": "string", + "value": "started" + } + ], + "type": "string", + "content": "test" +} \ No newline at end of file -- cgit 1.2.3-korg