From fbe022bfa92ba9314870f6f7b3eaa4afe4492315 Mon Sep 17 00:00:00 2001 From: David Kaufmann Date: Thu, 8 Nov 2018 17:19:27 +0100 Subject: [PATCH] move stuff to camunda-overlay --- {sentiment-analysis => camunda-overlay}/camunda-deploy.sh | 8 +++----- .../forms/download-pdf.html | 0 .../forms/input-terms.html | 0 .../sentiment-analysis.bpmn | 0 sentiment-analysis/.gitignore | 2 -- 5 files changed, 3 insertions(+), 7 deletions(-) rename {sentiment-analysis => camunda-overlay}/camunda-deploy.sh (72%) rename {sentiment-analysis => camunda-overlay}/forms/download-pdf.html (100%) rename {sentiment-analysis => camunda-overlay}/forms/input-terms.html (100%) rename {sentiment-analysis => camunda-overlay}/sentiment-analysis.bpmn (100%) delete mode 100644 sentiment-analysis/.gitignore diff --git a/sentiment-analysis/camunda-deploy.sh b/camunda-overlay/camunda-deploy.sh similarity index 72% rename from sentiment-analysis/camunda-deploy.sh rename to camunda-overlay/camunda-deploy.sh index de0031f..60d4d63 100755 --- a/sentiment-analysis/camunda-deploy.sh +++ b/camunda-overlay/camunda-deploy.sh @@ -3,8 +3,6 @@ camunda="http://localhost:8080" camunda_deployment="${camunda}/engine-rest/deployment" deployment_name="Sentiment Analysis" -file_path="./src/main/resources/" -file_name="sentiment-analysis.bpmn" # find old deployments named ${deployment_name} old_ids=`curl -s ${camunda_deployment}/ | python3 -c "import sys, json; doc = json.load(sys.stdin); items = [deployment['id'] for deployment in doc if deployment['name'] == '${deployment_name}']; print (*items, sep = '\n')"` @@ -17,6 +15,6 @@ done curl -i "${camunda_deployment}/create" \ -H "Expect:" \ -F "deployment-name=${deployment_name}" \ - -F "${file_name}=@${file_path}${file_name}" \ - -F "input-forms.html=@./src/main/webapp/forms/input-terms.html" \ - -F "download-pdf.html=@./src/main/webapp/forms/download-pdf.html" + -F "sentiment-analysis.bpmn=@sentiment-analysis.bpmn" \ + -F "input-forms.html=@forms/input-terms.html" \ + -F "download-pdf.html=@forms/download-pdf.html" diff --git a/sentiment-analysis/forms/download-pdf.html b/camunda-overlay/forms/download-pdf.html similarity index 100% rename from sentiment-analysis/forms/download-pdf.html rename to camunda-overlay/forms/download-pdf.html diff --git a/sentiment-analysis/forms/input-terms.html b/camunda-overlay/forms/input-terms.html similarity index 100% rename from sentiment-analysis/forms/input-terms.html rename to camunda-overlay/forms/input-terms.html diff --git a/sentiment-analysis/sentiment-analysis.bpmn b/camunda-overlay/sentiment-analysis.bpmn similarity index 100% rename from sentiment-analysis/sentiment-analysis.bpmn rename to camunda-overlay/sentiment-analysis.bpmn diff --git a/sentiment-analysis/.gitignore b/sentiment-analysis/.gitignore deleted file mode 100644 index ecc0147..0000000 --- a/sentiment-analysis/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -### ignore generated stuff ### -target/ -- 2.43.0