Building a RESTful Web Service :: Learn how to create a RESTful web service with Spring. :: spring-boot http://spring.io/guides/gs/rest-service/

run-on-pws.json 931B

12345678910111213141516171819202122232425262728293031323334
  1. {
  2. "orgName": "spring-guides",
  3. "orgUuid": "",
  4. "spaces": [
  5. {
  6. "name": "spring-guides",
  7. "routes": [
  8. {
  9. "name": "random1",
  10. "value": "${random-word}"
  11. }
  12. ],
  13. "apps": [
  14. {
  15. "name": "rest-service",
  16. "code": {
  17. "url": "https://springio-guides.s3.amazonaws.com/gs-rest-service-0.1.0.jar",
  18. "content_type": "application/war",
  19. "actions": [
  20. "push"
  21. ]
  22. },
  23. "instances": 1,
  24. "memory_in_mb": 1024,
  25. "disk_in_mb": 1024,
  26. "map_routes": [
  27. "random1"
  28. ]
  29. }
  30. ]
  31. }
  32. ]
  33. }