Advertisement
Guest User

Untitled

a guest
Dec 6th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1. {
  2. "id": "workspaceba1yqhwar1o983fd",
  3. "status": "STOPPED",
  4. "runtime": null,
  5. "config": {
  6. "commands": [
  7. {
  8. "commandLine": "echo ${CHE_OSO_CLUSTER//api/console}",
  9. "name": "Get OpenShift Console URL",
  10. "type": "custom",
  11. "attributes": {}
  12. }
  13. ],
  14. "defaultEnv": "default",
  15. "description": "string",
  16. "environments": {
  17. "default": {
  18. "recipe": {
  19. "type": "openshift",
  20. "location": null,
  21. "contentType": "application/x-yaml",
  22. "content": "kind: List\nitems:\n - \n apiVersion: v1\n kind: Pod\n metadata:\n name: ws\n spec:\n containers:\n - \n image: 'eclipse/che-dev:nightly'\n name: dev\n resources:\n limits:\n memory: 512Mi\n"
  23. },
  24. "machines": {
  25. "ws/dev": {
  26. "agents": [],
  27. "attributes": {
  28. "memoryLimitBytes": "536870912"
  29. }
  30. }
  31. }
  32. }
  33. },
  34. "name": "rh-che-nfrhr",
  35. "links": [],
  36. "projects": [
  37. {
  38. "name": "rh-che",
  39. "type": "blank",
  40. "description": "Created via che-starter API",
  41. "path": "/rh-che",
  42. "source": {
  43. "parameters": {
  44. "branch": "master",
  45. "keepVcs": "true"
  46. },
  47. "type": "git",
  48. "location": "https://github.com/redhat-developer/rh-che"
  49. },
  50. "attributes": {},
  51. "links": [],
  52. "mixins": [
  53. "git"
  54. ]
  55. }
  56. ]
  57. },
  58. "links": [
  59. {
  60. "href": "https://che.prod-preview.openshift.io/api/workspace/workspaceba1yqhwar1o983fd",
  61. "rel": "self link",
  62. "method": "GET"
  63. },
  64. {
  65. "href": "https://che.prod-preview.openshift.io/api/workspace/workspaceba1yqhwar1o983fd/runtime",
  66. "rel": "start workspace",
  67. "method": "POST"
  68. },
  69. {
  70. "href": "https://che.prod-preview.openshift.io/api/workspace/workspaceba1yqhwar1o983fd",
  71. "rel": "remove workspace",
  72. "method": "DELETE"
  73. },
  74. {
  75. "href": "https://che.prod-preview.openshift.io/api/workspace",
  76. "rel": "get all user workspaces",
  77. "method": "GET"
  78. },
  79. {
  80. "href": "https://che.prod-preview.openshift.io/api/workspace/workspaceba1yqhwar1o983fd/snapshot",
  81. "rel": "get workspace snapshot",
  82. "method": "GET"
  83. },
  84. {
  85. "href": "https://che.prod-preview.openshift.io/ibuziuk@redhat.com/rh-che-nfrhr",
  86. "rel": "ide url",
  87. "method": "GET"
  88. }
  89. ]
  90. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement