From 9d27f7ff4e5cac8210e52bc98e54d1d6d39572c9 Mon Sep 17 00:00:00 2001 From: David Kaufmann Date: Sun, 20 Jan 2019 16:55:56 +0100 Subject: [PATCH] catch more stuff and send to offline_analysis --- camunda-overlay/sentiment-analysis.bpmn | 156 +++++++++++++++--------- 1 file changed, 100 insertions(+), 56 deletions(-) diff --git a/camunda-overlay/sentiment-analysis.bpmn b/camunda-overlay/sentiment-analysis.bpmn index 8b6b94c..0bed5ff 100644 --- a/camunda-overlay/sentiment-analysis.bpmn +++ b/camunda-overlay/sentiment-analysis.bpmn @@ -9,31 +9,7 @@ - - - - // make variable global -execution.setVariable("results", S('[]')) - - - SequenceFlow_15dip2q - - - SequenceFlow_0jebdb9 - - - SequenceFlow_1mnqqvo - SequenceFlow_0jebdb9 - - - SequenceFlow_15dip2q - SequenceFlow_1mphutj - SequenceFlow_0o77usd - - PT0S - - @@ -115,8 +91,59 @@ S(response); SequenceFlow_1bz7zx2 + SequenceFlow_0d4q1qg + + SequenceFlow_0a608kq + + + + + + + http://analysis:8081/offline_analysis/ + POST + + + application/json + application/json + + + ${tweets.toString()} + ${response.trim()} + + http-connector + + + SequenceFlow_0a608kq + SequenceFlow_0d4q1qg + + + + + + + SequenceFlow_0pjn3f9 + + + + SequenceFlow_15dip2q + SequenceFlow_0pjn3f9 + SequenceFlow_0o77usd + + PT0S + + + + + + // make variable global +execution.setVariable("results", S('[]')) + + + SequenceFlow_15dip2q + @@ -229,7 +256,6 @@ file SequenceFlow_1j2y6tv SequenceFlow_14nqu0e - SequenceFlow_14nqu0e SequenceFlow_1mnqqvo @@ -237,19 +263,21 @@ file PT0S - - SequenceFlow_1mphutj - - - + + SequenceFlow_1mnqqvo + SequenceFlow_0jebdb9 + + + SequenceFlow_0jebdb9 + - + - + @@ -273,58 +301,74 @@ file - + - + - + - + - - + + - - + + - - + + - - + + - - + + - + - - + + - + - + - - - - - + + + + + + + + + + + + + + + + + + + + + -- 2.43.0