Fix deployer app

Run it, then

$ curl localhost:8080/admin
{"sample":{"name":"sample","id":"81c568e36c7909ec1dd841aa7ee6d3e3","path":"..."}}

undeploy:

$ curl localhost:8080/admin/sample -X DELETE
{"id":"81c568e36c7909ec1dd841aa7ee6d3e3"}

redeploy

$ curl localhost:8080/admin/sample -d path=maven://com.example:function-sample-pojo:1.0.0.BUILD-SNAPSHOT
{"id":"81c568e36c7909ec1dd841aa7ee6d3e3"}

(Takes about 500ms)
This commit is contained in:
Dave Syer
2017-05-19 11:26:29 +02:00
parent 56b9be9b6e
commit 3606e51d78
4 changed files with 96 additions and 66 deletions

View File

@@ -15,7 +15,7 @@
</parent>
<properties>
<spring-cloud-deployer-thin.version>1.0.0.RELEASE</spring-cloud-deployer-thin.version>
<spring-cloud-deployer-thin.version>1.0.2.RELEASE</spring-cloud-deployer-thin.version>
</properties>
<dependencies>