From b7606870f42939ab2beb6a78303868cdaa0f7bb1 Mon Sep 17 00:00:00 2001 From: David Kaufmann Date: Tue, 6 Nov 2018 22:27:17 +0100 Subject: [PATCH] move stuff around --- camunda-deploy.sh => sentiment-analysis/camunda-deploy.sh | 3 ++- .../src/main/resources/sentiment-analysis.bpmn | 0 2 files changed, 2 insertions(+), 1 deletion(-) rename camunda-deploy.sh => sentiment-analysis/camunda-deploy.sh (86%) rename sentiment-analysis.bpmn => sentiment-analysis/src/main/resources/sentiment-analysis.bpmn (100%) diff --git a/camunda-deploy.sh b/sentiment-analysis/camunda-deploy.sh similarity index 86% rename from camunda-deploy.sh rename to sentiment-analysis/camunda-deploy.sh index 94e9017..7265911 100755 --- a/camunda-deploy.sh +++ b/sentiment-analysis/camunda-deploy.sh @@ -3,6 +3,7 @@ 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} @@ -13,4 +14,4 @@ for old_id in ${old_ids}; do done # deploy new verson -curl -i "${camunda_deployment}/create" -H "Expect:" -F "deployment-name=${deployment_name}" -F "${file_name}=@${file_name}" +curl -i "${camunda_deployment}/create" -H "Expect:" -F "deployment-name=${deployment_name}" -F "${file_name}=@${file_path}${file_name}" diff --git a/sentiment-analysis.bpmn b/sentiment-analysis/src/main/resources/sentiment-analysis.bpmn similarity index 100% rename from sentiment-analysis.bpmn rename to sentiment-analysis/src/main/resources/sentiment-analysis.bpmn -- 2.43.0