Merge branch 'master' into 32-camunda-reporting-input-format
authorDavid Kaufmann <david.kaufmann@student.tuwien.ac.at>
Tue, 27 Nov 2018 02:13:40 +0000 (03:13 +0100)
committerDavid Kaufmann <david.kaufmann@student.tuwien.ac.at>
Tue, 27 Nov 2018 02:13:40 +0000 (03:13 +0100)
.gitattributes [new file with mode: 0644]
camunda-overlay/README.md [new file with mode: 0644]
camunda-overlay/camunda.py

diff --git a/.gitattributes b/.gitattributes
new file mode 100644 (file)
index 0000000..5e014fe
--- /dev/null
@@ -0,0 +1,6 @@
+# Set the default behavior, in case people don't have core.autocrlf set.
+* text=auto
+
+# Declare files that will always have LF line endings on checkout
+*.sh text eol=lf
+mvnw text eol=lf
diff --git a/camunda-overlay/README.md b/camunda-overlay/README.md
new file mode 100644 (file)
index 0000000..66b0767
--- /dev/null
@@ -0,0 +1,22 @@
+# Camunda process manager
+
+Run ```./camunda.py``` to just deploy the process.
+
+## Flags
+
+```--autoclick 1```: will deploy the process and run it with three terms.
+Result should be available in Camunda Tasklist -> All Tasks
+
+```--autoclick 2```: will deploy the process, run it with three terms, and tries to download the pdf
+
+```--no-deploy```: do not deploy the process, probably only useful with the autoclick-flag
+
+```--no-cleanup```: do not remove old deployments, keep tasks running (might be confusing if there are multiple deployments)
+
+## Default login
+
+URI: http://localhost:8080/camunda/
+
+User: demo
+
+Pass: demo
index 369d69c6a91bed4a15da39b7b4d63badb8fc3ed0..070603983bae43807ac62da0ee18417bda6da27a 100755 (executable)
@@ -95,7 +95,7 @@ def download_pdf():
 
 if __name__ == "__main__":
     parser = argparse.ArgumentParser()
-    parser.add_argument('--deploy', dest='deploy', default=True, action='store_false', help="Do deployment step")
+    parser.add_argument('--no-deploy', dest='deploy', default=True, action='store_false', help="Do not run the deployment step")
     parser.add_argument('--no-cleanup', dest='cleanup', default=True, action='store_false', help="Initial deploy does not need cleanup")
     parser.add_argument('--autoclick', dest='autoclick', type=int, default=0, help="How many steps to autoclick")
     args = parser.parse_args()