summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormicha <micha@tpad.(none)>2012-01-16 19:00:36 +0100
committermicha <micha@tpad.(none)>2012-01-16 19:00:36 +0100
commit33babc8050bf00dba4929cb35d65bef926c9b7b4 (patch)
treeb5080c6b94c95da3fbb8b2c5dc6f4ddf11a2bab3
parent2da57e942972fcfe85ad3bf0671ab82e128fb292 (diff)
Task cleanup method
-rw-r--r--aa-local.yaml2
-rw-r--r--aa-server.yaml2
2 files changed, 4 insertions, 0 deletions
diff --git a/aa-local.yaml b/aa-local.yaml
index aa08799..75cccd0 100644
--- a/aa-local.yaml
+++ b/aa-local.yaml
@@ -29,6 +29,8 @@
- !ruby/regexp /sign_(in|out)$/
? - :PUT
: - !ruby/regexp /http:\/\/ESCAPEDSERVERNGINX_PORT\/task/
+ ? - :DELETE
+ : - "http://SERVERNAMENGINX_PORT/task/cleanup"
:authorize_exceptions: #request-method for uri only authenticated, no authorization
? - :POST
diff --git a/aa-server.yaml b/aa-server.yaml
index aa08799..75cccd0 100644
--- a/aa-server.yaml
+++ b/aa-server.yaml
@@ -29,6 +29,8 @@
- !ruby/regexp /sign_(in|out)$/
? - :PUT
: - !ruby/regexp /http:\/\/ESCAPEDSERVERNGINX_PORT\/task/
+ ? - :DELETE
+ : - "http://SERVERNAMENGINX_PORT/task/cleanup"
:authorize_exceptions: #request-method for uri only authenticated, no authorization
? - :POST