Hi Sobha,
This is the output you asked for:
VERSION:
6.6.0-704d304
REQUEST: [2014-10-22T13:04:35-04:00]
POST /oauth/token HTTP/1.1
Host:
uaa.10.175.246.67.xip.ioAccept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/x-www-form-urlencoded
User-Agent: go-cli 6.6.0-704d304 / linux
grant_type=refresh_token&refresh_token=eyJhbGciOiJSUzI1NiJ9.eyJqdGkiOiI5ZmI0YWVjZC01MjNlLTRhNTgtYWUwYy04ZmM1MzVhMGQ3YTkiLCJzdWIiOiJlMWY0ZjNjMy01N2U0LTRhNzktODE4Ny1lMGYyMTkwMjdkMmQiLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLnJlYWQiLCJjbG91ZF9jb250cm9sbGVyLndyaXRlIiwib3BlbmlkIiwicGFzc3dvcmQud3JpdGUiXSwiaWF0IjoxNDEzODk0NzY3LCJleHAiOjE0MTUxMDQzNjcsImNpZCI6ImNmIiwiaXNzIjoiaHR0cDovL3VhYS4xMC4xNzUuMjQ2LjY3LnhpcC5pby9vYXV0aC90b2tlbiIsImdyYW50X3R5cGUiOiJwYXNzd29yZCIsInVzZXJfbmFtZSI6ImlvdCIsInVzZXJfaWQiOiJlMWY0ZjNjMy01N2U0LTRhNzktODE4Ny1lMGYyMTkwMjdkMmQiLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSIsIm9wZW5pZCIsInBhc3N3b3JkLndyaXRlIl19.QAhcI3iNZHFtfEYNUwICQ3f9HOXduq8FHT75TDerS3ekA6tsBlmwZbI2KBWT1aYEjzgaPxCiT8WhlcZIPA2-GhD93LX1zIU4FNbFVKhhE5z8KMIcdqvGb-kqW5V2f2esTNUedL3Ig3SNLPHrKqaY_PhCVNxFu1YhHcTG1sHc4DHC0zQYLTV85lZAo4HQB68lMffv3dySBn3Yb-YziZLQzWsAwkIV2N5DZUecelhmU6BdiD2YCUB6G8p_11qzFQx7MV8gIyaoAOjQG1udXV441pSeGj9Y7R14v574hYG8EURTeAa8p0IXzyzLL6ei6YSdf8Sa2Klf3v8P5RLkv2yI6Q&scope=
RESPONSE: [2014-10-22T13:04:35-04:00]
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Cache-Control: no-store
Content-Type: application/json;charset=UTF-8
Date: Wed, 22 Oct 2014 17:06:15 GMT
Pragma: no-cache
Server: Apache-Coyote/1.1
X-Cf-Requestid: f460fbba-16de-4a62-74b5-6acd344bdee9
84b
{"access_token":"[PRIVATE DATA HIDDEN]","token_type":"bearer","refresh_token":"[PRIVATE DATA HIDDEN]","expires_in":7199,"scope":"password.write openid cloud_controller.write cloud_controller.read","jti":"cc15ba7c-f7b2-4777-b84b-6e73d26de16c"}
0
REQUEST: [2014-10-22T13:04:35-04:00]
GET /v2/spaces/75858613-5ad9-4d72-a685-47e74d1c4f8c/apps?q=name%3Amy-app&inline-relations-depth=1 HTTP/1.1
Host:
api.10.175.246.67.xip.ioAccept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.6.0-704d304 / linux
RESPONSE: [2014-10-22T13:04:36-04:00]
HTTP/1.1 200 OK
Connection: close
Content-Length: 4329
Content-Type: application/json;charset=utf-8
Date: Wed, 22 Oct 2014 17:06:16 GMT
Server: nginx
X-Cf-Requestid: 8a9adacf-b20a-41da-5991-e99d280b0d72
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 2296ab40-b9e7-4a01-6b3b-ecd08bd9c50d::486c1620-5d84-4801-9993-e35a5213da16
{
"total_results": 1,
"total_pages": 1,
"prev_url": null,
"next_url": null,
"resources": [
{
"metadata": {
"guid": "fd1eca0c-9720-48d6-9d3c-e729834da315",
"url": "/v2/apps/fd1eca0c-9720-48d6-9d3c-e729834da315",
"created_at": "2014-10-22T17:04:13+00:00",
"updated_at": "2014-10-22T17:05:22+00:00"
},
"entity": {
"name": "my-app",
"production": false,
"space_guid": "75858613-5ad9-4d72-a685-47e74d1c4f8c",
"stack_guid": "9ca0898e-d30c-41cb-a275-2d6e8a04aa3e",
"buildpack": null,
"detected_buildpack": null,
"environment_json": {
"JBP_LOG_LEVEL": "debug"
},
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STARTED",
"version": "9f00144a-d458-48ce-abcc-1c3a4c04eb40",
"command": null,
"console": false,
"debug": null,
"staging_task_id": "7e6017dd08a94bee902f756a3b5c63ba",
"package_state": "FAILED",
"health_check_timeout": null,
"staging_failed_reason": "NoAppDetectedError",
"docker_image": null,
"package_updated_at": "2014-10-22T17:04:19+00:00",
"events_url": "/v2/apps/fd1eca0c-9720-48d6-9d3c-e729834da315/events",
"service_bindings_url": "/v2/apps/fd1eca0c-9720-48d6-9d3c-e729834da315/service_bindings",
"service_bindings": [
],
"routes_url": "/v2/apps/fd1eca0c-9720-48d6-9d3c-e729834da315/routes",
"routes": [
{
"metadata": {
"guid": "4bb2e5bf-fa49-4184-bda9-096270743ecb",
"url": "/v2/routes/4bb2e5bf-fa49-4184-bda9-096270743ecb",
"created_at": "2014-10-22T17:04:14+00:00",
"updated_at": null
},
"entity": {
"host": "my-app",
"domain_guid": "5f7eb777-482d-4990-a30e-b0186364511c",
"space_guid": "75858613-5ad9-4d72-a685-47e74d1c4f8c",
"domain_url": "/v2/domains/5f7eb777-482d-4990-a30e-b0186364511c",
"space_url": "/v2/spaces/75858613-5ad9-4d72-a685-47e74d1c4f8c",
"apps_url": "/v2/routes/4bb2e5bf-fa49-4184-bda9-096270743ecb/apps"
}
}
]
}
}
]
}
Updating app my-app in org IOT / space dev as iot...
REQUEST: [2014-10-22T13:04:36-04:00]
PUT /v2/apps/fd1eca0c-9720-48d6-9d3c-e729834da315?async=true&inline-relations-depth=1 HTTP/1.1
Host:
api.10.175.246.67.xip.ioAccept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.6.0-704d304 / linux
{"name":"my-app"}
RESPONSE: [2014-10-22T13:04:36-04:00]
HTTP/1.1 201 Created
Connection: close
Content-Length: 3842
Content-Type: application/json;charset=utf-8
Date: Wed, 22 Oct 2014 17:06:16 GMT
Server: nginx
X-Cf-Requestid: 5c5fbc50-347c-497a-5971-632fb6dca862
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: e574ac9c-a509-4356-4571-e7efe1522df0::3a15928a-f420-489d-bb53-c74c7f998790
{
"metadata": {
"guid": "fd1eca0c-9720-48d6-9d3c-e729834da315",
"url": "/v2/apps/fd1eca0c-9720-48d6-9d3c-e729834da315",
"created_at": "2014-10-22T17:04:13+00:00",
"updated_at": "2014-10-22T17:06:16+00:00"
},
"entity": {
"name": "my-app",
"production": false,
"space_guid": "75858613-5ad9-4d72-a685-47e74d1c4f8c",
"stack_guid": "9ca0898e-d30c-41cb-a275-2d6e8a04aa3e",
"buildpack": null,
"detected_buildpack": null,
"environment_json": {
"JBP_LOG_LEVEL": "debug"
},
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STARTED",
"version": "9f00144a-d458-48ce-abcc-1c3a4c04eb40",
"command": null,
"console": false,
"debug": null,
"staging_task_id": "7e6017dd08a94bee902f756a3b5c63ba",
"package_state": "FAILED",
"health_check_timeout": null,
"staging_failed_reason": "NoAppDetectedError",
"docker_image": null,
"package_updated_at": "2014-10-22T17:04:19+00:00",
"events_url": "/v2/apps/fd1eca0c-9720-48d6-9d3c-e729834da315/events",
"service_bindings_url": "/v2/apps/fd1eca0c-9720-48d6-9d3c-e729834da315/service_bindings",
"service_bindings": [
],
"routes_url": "/v2/apps/fd1eca0c-9720-48d6-9d3c-e729834da315/routes",
"routes": [
{
"metadata": {
"guid": "4bb2e5bf-fa49-4184-bda9-096270743ecb",
"url": "/v2/routes/4bb2e5bf-fa49-4184-bda9-096270743ecb",
"created_at": "2014-10-22T17:04:14+00:00",
"updated_at": null
},
"entity": {
"host": "my-app",
"domain_guid": "5f7eb777-482d-4990-a30e-b0186364511c",
"space_guid": "75858613-5ad9-4d72-a685-47e74d1c4f8c",
"domain_url": "/v2/domains/5f7eb777-482d-4990-a30e-b0186364511c",
"space_url": "/v2/spaces/75858613-5ad9-4d72-a685-47e74d1c4f8c",
"apps_url": "/v2/routes/4bb2e5bf-fa49-4184-bda9-096270743ecb/apps"
}
}
]
}
}
OK
REQUEST: [2014-10-22T13:04:36-04:00]
GET /v2/organizations/cd9ad988-0648-486e-9163-c8c443f18236/private_domains HTTP/1.1
Host:
api.10.175.246.67.xip.ioAccept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.6.0-704d304 / linux
RESPONSE: [2014-10-22T13:04:36-04:00]
HTTP/1.1 200 OK
Connection: close
Content-Length: 107
Content-Type: application/json;charset=utf-8
Date: Wed, 22 Oct 2014 17:06:16 GMT
Server: nginx
X-Cf-Requestid: 79bbf33c-fd57-42b0-72b1-d2e88513b781
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 4fbff8ea-1798-4edf-7c4f-91cd5aa1491d::e44b2f52-ad56-457b-b184-4ba91daae1bb
{
"total_results": 0,
"total_pages": 1,
"prev_url": null,
"next_url": null,
"resources": [
]
}
REQUEST: [2014-10-22T13:04:36-04:00]
GET /v2/shared_domains HTTP/1.1
Host:
api.10.175.246.67.xip.ioAccept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.6.0-704d304 / linux
RESPONSE: [2014-10-22T13:04:36-04:00]
HTTP/1.1 200 OK
Connection: close
Content-Length: 443
Content-Type: application/json;charset=utf-8
Date: Wed, 22 Oct 2014 17:06:16 GMT
Server: nginx
X-Cf-Requestid: 4af23b57-2404-46f9-408b-fec89b2de3a9
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 0967eebc-4daa-49a3-5852-e6ad52de7e31::9f21096d-ecd0-4410-a611-cd2a60be4222
{
"total_results": 1,
"total_pages": 1,
"prev_url": null,
"next_url": null,
"resources": [
{
"metadata": {
"guid": "5f7eb777-482d-4990-a30e-b0186364511c",
"url": "/v2/shared_domains/5f7eb777-482d-4990-a30e-b0186364511c",
"created_at": "2014-10-18T05:49:12+00:00",
"updated_at": "2014-10-22T11:02:03+00:00"
REQUEST: [2014-10-22T13:04:36-04:00]
PUT /v2/resource_match HTTP/1.1
Host:
api.10.175.246.67.xip.ioAccept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.6.0-704d304 / linux
[{"fn":"META-INF","sha1":"0","size":0},{"fn":"META-INF/MANIFEST.MF","sha1":"fbe99b24f5e75a825b6457fe986fd2f4f81efcb8","size":130},{"fn":"META-INF/maven","sha1":"0","size":0},{"fn":"META-INF/maven/com.journaldev","sha1":"0","size":0},{"fn":"META-INF/maven/com.journaldev/SpringRestExample","sha1":"0","size":0},{"fn":"META-INF/maven/com.journaldev/SpringRestExample/pom.properties","sha1":"b6266ed161b8c84ad18634edab19a80bf77bc20f","size":131},{"fn":"META-INF/maven/com.journaldev/SpringRestExample/pom.xml","sha1":"d49d167ed503c3b4845d1661e4819c7041242186","size":4808},{"fn":"WEB-INF","sha1":"0","size":0},{"fn":"WEB-INF/classes","sha1":"0","size":0},{"fn":"WEB-INF/classes/com","sha1":"0","size":0},{"fn":"WEB-INF/classes/com/journaldev","sha1":"0","size":0},{"fn":"WEB-INF/classes/com/journaldev/spring","sha1":"0","size":0},{"fn":"WEB-INF/classes/com/journaldev/spring/controller","sha1":"0","size":0},{"fn":"WEB-INF/classes/com/journaldev/spring/controller/EmpRestURIConstants.class","sha1":"781e30b0bad2465fe8524c715c75ba28771678d5","size":633},{"fn":"WEB-INF/classes/com/journaldev/spring/controller/EmployeeController.class","sha1":"8b09a0f2fced24637eb6066e58bf2a7379fdfab6","size":3942},{"fn":"WEB-INF/classes/com/journaldev/spring/model","sha1":"0","size":0},{"fn":"WEB-INF/classes/com/journaldev/spring/model/Employee.class","sha1":"a71309c8e0bdc7b4b7c0a1c3b417025b86e4eb47","size":1276},{"fn":"WEB-INF/classes/log4j.xml","sha1":"98562ef14b38a7d0116ae29ecf7fd3e01e39aeba","size":1042},{"fn":"WEB-INF/lib","sha1":"0","size":0},{"fn":"WEB-INF/lib/aopalliance-1.0.jar","sha1":"0235ba8b489512805ac13a8f9ea77a1ca5ebe3e8","size":4467},{"fn":"WEB-INF/lib/aspectjrt-1.7.4.jar","sha1":"e49a5c0acee8fd66225dc1d031692d132323417f","size":119683},{"fn":"WEB-INF/lib/jackson-annotations-2.2.3.jar","sha1":"0527fece4f23a457070a36c371a26d6c0208e1c3","size":33483},{"fn":"WEB-INF/lib/jackson-core-2.2.3.jar","sha1":"1a0113da2cab5f4c216b4e5e7c1dbfaa67087e14","size":192699},{"fn":"WEB-INF/lib/jackson-databind-2.2.3.jar","sha1":"03ae380888029daefb91d3ecdca3a37d8cb92bc9","size":865838},{"fn":"WEB-INF/lib/javax.inject-1.jar","sha1":"6975da39a7040257bd51d21a231b76c915872d38","size":2497},{"fn":"WEB-INF/lib/jcl-over-slf4j-1.7.5.jar","sha1":"0cd5970bd13fa85f7bed41ca606d6daf7cbf1365","size":16517},{"fn":"WEB-INF/lib/jstl-1.2.jar","sha1":"74aca283cd4f4b4f3e425f5820cda58f44409547","size":414240},{"fn":"WEB-INF/lib/log4j-1.2.15.jar","sha1":"f0a0d2e29ed910808c33135a3a5a51bba6358f7b","size":391834},{"fn":"WEB-INF/lib/slf4j-api-1.7.5.jar","sha1":"6b262da268f8ad9eff941b25503a9198f0a0ac93","size":26084},{"fn":"WEB-INF/lib/slf4j-log4j12-1.7.5.jar","sha1":"6edffc576ce104ec769d954618764f39f0f0f10d","size":8869},{"fn":"WEB-INF/lib/spring-aop-4.0.0.RELEASE.jar","sha1":"cceb3e9510774b3f88b008a70c6a9aefb98d891f","size":351240},{"fn":"WEB-INF/lib/spring-beans-4.0.0.RELEASE.jar","sha1":"97e97a04aede419679392176ec1df175d3e9a7a0","size":669267},{"fn":"WEB-INF/lib/spring-context-4.0.0.RELEASE.jar","sha1":"57586271e775982f8961e1e7e338447d4af1864c","size":950606},{"fn":"WEB-INF/lib/spring-core-4.0.0.RELEASE.jar","sha1":"73b485e25b13a7a44b73a301fe6757c3cbad453e","size":955328},{"fn":"WEB-INF/lib/spring-expression-4.0.0.RELEASE.jar","sha1":"199be03c976524b6427dff31078227bfc703400b","size":206507},{"fn":"WEB-INF/lib/spring-web-4.0.0.RELEASE.jar","sha1":"6ce2dda16a3c1581920fc17551f3ae17d26499aa","size":661567},{"fn":"WEB-INF/lib/spring-webmvc-4.0.0.RELEASE.jar","sha1":"a82202c4d09d684a8d52ade479c0e508d904700b","size":660682},{"fn":"WEB-INF/spring","sha1":"0","size":0},{"fn":"WEB-INF/spring/appServlet","sha1":"0","size":0},{"fn":"WEB-INF/spring/appServlet/servlet-context.xml","sha1":"bd011a9ec674b6c8d4eff071290280b1cbb1bcb7","size":1972},{"fn":"WEB-INF/spring/root-context.xml","sha1":"26ce33df20a25aeddad4991b50deacd548ed0efb","size":380},{"fn":"WEB-INF/views","sha1":"0","size":0},{"fn":"WEB-INF/views/home.jsp","sha1":"8475230c4846ae0d40c96572f010d80182319869","size":238},{"fn":"WEB-INF/web.xml","sha1":"11dcb3cc3cb22e6ed1a734649b1d0b6706b12d6d","size":1206}]
RESPONSE: [2014-10-22T13:04:37-04:00]
HTTP/1.1 200 OK
Connection: close
Content-Length: 1341
Content-Type: application/json;charset=utf-8
Date: Wed, 22 Oct 2014 17:06:16 GMT
Server: nginx
X-Cf-Requestid: bb296148-f5f6-4be6-50bb-081efc21bf4b
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 1a348360-3d41-466d-7ae1-58a90860dbee::f9ecc62b-8299-490e-bb27-284161edee53
[{"fn":"WEB-INF/lib/aspectjrt-1.7.4.jar","sha1":"e49a5c0acee8fd66225dc1d031692d132323417f","size":119683},{"fn":"WEB-INF/lib/jackson-core-2.2.3.jar","sha1":"1a0113da2cab5f4c216b4e5e7c1dbfaa67087e14","size":192699},{"fn":"WEB-INF/lib/jackson-databind-2.2.3.jar","sha1":"03ae380888029daefb91d3ecdca3a37d8cb92bc9","size":865838},{"fn":"WEB-INF/lib/jstl-1.2.jar","sha1":"74aca283cd4f4b4f3e425f5820cda58f44409547","size":414240},{"fn":"WEB-INF/lib/log4j-1.2.15.jar","sha1":"f0a0d2e29ed910808c33135a3a5a51bba6358f7b","size":391834},{"fn":"WEB-INF/lib/spring-aop-4.0.0.RELEASE.jar","sha1":"cceb3e9510774b3f88b008a70c6a9aefb98d891f","size":351240},{"fn":"WEB-INF/lib/spring-beans-4.0.0.RELEASE.jar","sha1":"97e97a04aede419679392176ec1df175d3e9a7a0","size":669267},{"fn":"WEB-INF/lib/spring-context-4.0.0.RELEASE.jar","sha1":"57586271e775982f8961e1e7e338447d4af1864c","size":950606},{"fn":"WEB-INF/lib/spring-core-4.0.0.RELEASE.jar","sha1":"73b485e25b13a7a44b73a301fe6757c3cbad453e","size":955328},{"fn":"WEB-INF/lib/spring-expression-4.0.0.RELEASE.jar","sha1":"199be03c976524b6427dff31078227bfc703400b","size":206507},{"fn":"WEB-INF/lib/spring-web-4.0.0.RELEASE.jar","sha1":"6ce2dda16a3c1581920fc17551f3ae17d26499aa","size":661567},{"fn":"WEB-INF/lib/spring-webmvc-4.0.0.RELEASE.jar","sha1":"a82202c4d09d684a8d52ade479c0e508d904700b","size":660682}]
Uploading app files from: ./xyz.war
Uploading 110.1K, 32 files
REQUEST: [2014-10-22T13:04:37-04:00]
PUT /v2/apps/fd1eca0c-9720-48d6-9d3c-e729834da315/bits?async=true HTTP/1.1
Content-Type: multipart/form-data; boundary=375ee276b676c135045e857758507d3956bc979f34a7ebcf4a08d72a30fa
User-Agent: go-cli 6.6.0-704d304 / linux
[MULTIPART/FORM-DATA CONTENT HIDDEN]
RESPONSE: [2014-10-22T13:04:37-04:00]
HTTP/1.1 201 Created
Connection: close
Content-Length: 275
Content-Type: application/json;charset=utf-8
Date: Wed, 22 Oct 2014 17:06:17 GMT
Server: nginx
X-Cf-Requestid: f2df2f49-d14f-4314-6074-d14d224d7a1a
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: e81fe218-5b23-4eba-7f8d-7372c48e7342::c6e72b06-fa74-42cb-b769-fb5d0ec3ab8c
{
"metadata": {
"guid": "123a0840-13d1-4883-8e88-edb5533f1dcc",
"created_at": "2014-10-22T17:06:17+00:00",
"url": "/v2/jobs/123a0840-13d1-4883-8e88-edb5533f1dcc"
},
"entity": {
"guid": "123a0840-13d1-4883-8e88-edb5533f1dcc",
"status": "queued"
}
}
REQUEST: [2014-10-22T13:04:37-04:00]
GET /v2/jobs/123a0840-13d1-4883-8e88-edb5533f1dcc HTTP/1.1
Host:
api.10.175.246.67.xip.ioAccept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.6.0-704d304 / linux
RESPONSE: [2014-10-22T13:04:38-04:00]
HTTP/1.1 200 OK
Connection: close
Content-Length: 275
Content-Type: application/json;charset=utf-8
Date: Wed, 22 Oct 2014 17:06:18 GMT
Server: nginx
X-Cf-Requestid: 67891928-26b8-4ef7-63c2-06661e981126
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 320ef550-6491-4bcf-40a4-89e0dfe95835::4d8edd7a-09cf-4eb4-8cf0-bba3d85dcbaf
{
"metadata": {
"guid": "123a0840-13d1-4883-8e88-edb5533f1dcc",
"created_at": "2014-10-22T17:06:17+00:00",
"url": "/v2/jobs/123a0840-13d1-4883-8e88-edb5533f1dcc"
},
"entity": {
"guid": "123a0840-13d1-4883-8e88-edb5533f1dcc",
"status": "queued"
}
}
REQUEST: [2014-10-22T13:04:43-04:00]
GET /v2/jobs/123a0840-13d1-4883-8e88-edb5533f1dcc HTTP/1.1
Host:
api.10.175.246.67.xip.ioAccept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.6.0-704d304 / linux
RESPONSE: [2014-10-22T13:04:43-04:00]
HTTP/1.1 200 OK
Connection: close
Content-Length: 172
Content-Type: application/json;charset=utf-8
Date: Wed, 22 Oct 2014 17:06:23 GMT
Server: nginx
X-Cf-Requestid: c5656dc2-e7df-40e7-7aab-809675fc6691
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 4aef8747-0f32-4615-6448-5c0deefb717d::a2b8021d-f941-4ea5-807b-e3307a4ef90f
{
"metadata": {
"guid": "0",
"created_at": "1970-01-01T00:00:00+00:00",
"url": "/v2/jobs/0"
},
"entity": {
"guid": "0",
"status": "finished"
}
}
OK
Stopping app my-app in org IOT / space dev as iot...
REQUEST: [2014-10-22T13:04:43-04:00]
PUT /v2/apps/fd1eca0c-9720-48d6-9d3c-e729834da315?async=true&inline-relations-depth=1 HTTP/1.1
Host:
api.10.175.246.67.xip.ioAccept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.6.0-704d304 / linux
{"state":"STOPPED"}
RESPONSE: [2014-10-22T13:04:43-04:00]
HTTP/1.1 201 Created
Connection: close
Content-Length: 3827
Content-Type: application/json;charset=utf-8
Date: Wed, 22 Oct 2014 17:06:23 GMT
Server: nginx
X-Cf-Requestid: b16390f9-32d2-4f0d-7bcc-74d7a92828cc
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 1bc4cc3c-550d-4fb3-6142-9e83c4198d04::39f8a401-b142-4e5f-8a40-b51d3d50630a
{
"metadata": {
"guid": "fd1eca0c-9720-48d6-9d3c-e729834da315",
"url": "/v2/apps/fd1eca0c-9720-48d6-9d3c-e729834da315",
"created_at": "2014-10-22T17:04:13+00:00",
"updated_at": "2014-10-22T17:06:23+00:00"
},
"entity": {
"name": "my-app",
"production": false,
"space_guid": "75858613-5ad9-4d72-a685-47e74d1c4f8c",
"stack_guid": "9ca0898e-d30c-41cb-a275-2d6e8a04aa3e",
"buildpack": null,
"detected_buildpack": null,
"environment_json": {
"JBP_LOG_LEVEL": "debug"
},
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "9f00144a-d458-48ce-abcc-1c3a4c04eb40",
"command": null,
"console": false,
"debug": null,
"staging_task_id": "7e6017dd08a94bee902f756a3b5c63ba",
"package_state": "PENDING",
"health_check_timeout": null,
"staging_failed_reason": null,
"docker_image": null,
"package_updated_at": "2014-10-22T17:06:19+00:00",
"events_url": "/v2/apps/fd1eca0c-9720-48d6-9d3c-e729834da315/events",
"service_bindings_url": "/v2/apps/fd1eca0c-9720-48d6-9d3c-e729834da315/service_bindings",
"service_bindings": [
],
"routes_url": "/v2/apps/fd1eca0c-9720-48d6-9d3c-e729834da315/routes",
"routes": [
{
"metadata": {
"guid": "4bb2e5bf-fa49-4184-bda9-096270743ecb",
"url": "/v2/routes/4bb2e5bf-fa49-4184-bda9-096270743ecb",
"created_at": "2014-10-22T17:04:14+00:00",
"updated_at": null
},
"entity": {
"host": "my-app",
"domain_guid": "5f7eb777-482d-4990-a30e-b0186364511c",
"space_guid": "75858613-5ad9-4d72-a685-47e74d1c4f8c",
"domain_url": "/v2/domains/5f7eb777-482d-4990-a30e-b0186364511c",
"space_url": "/v2/spaces/75858613-5ad9-4d72-a685-47e74d1c4f8c",
"apps_url": "/v2/routes/4bb2e5bf-fa49-4184-bda9-096270743ecb/apps"
}
}
]
}
}
OK
WEBSOCKET REQUEST: [2014-10-22T13:04:43-04:00]
GET /tail/?app=fd1eca0c-9720-48d6-9d3c-e729834da315 HTTP/1.1
WEBSOCKET RESPONSE: [2014-10-22T13:04:43-04:00]
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-Websocket-Accept: gSlNNi51svK87EiMaXyvouhhys0=
Starting app my-app in org IOT / space dev as iot...
REQUEST: [2014-10-22T13:04:43-04:00]
PUT /v2/apps/fd1eca0c-9720-48d6-9d3c-e729834da315?async=true&inline-relations-depth=1 HTTP/1.1
Host:
api.10.175.246.67.xip.ioAccept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.6.0-704d304 / linux
{"state":"STARTED"}
RESPONSE: [2014-10-22T13:04:44-04:00]
HTTP/1.1 201 Created
Connection: close
},
"entity": {
"name": "my-app",
"production": false,
"space_guid": "75858613-5ad9-4d72-a685-47e74d1c4f8c",
"stack_guid": "9ca0898e-d30c-41cb-a275-2d6e8a04aa3e",
"buildpack": null,
"detected_buildpack": null,
"environment_json": {
"JBP_LOG_LEVEL": "debug"
},
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STARTED",
"version": "8be03f8c-4316-480d-a2af-fe687d73900d",
"command": null,
"console": false,
"debug": null,
"staging_task_id": "6863b969b280446c8ca8ff431356f3f9",
"package_state": "PENDING",
"health_check_timeout": null,
"staging_failed_reason": null,
"docker_image": null,
"package_updated_at": "2014-10-22T17:06:19+00:00",
"events_url": "/v2/apps/fd1eca0c-9720-48d6-9d3c-e729834da315/events",
"service_bindings_url": "/v2/apps/fd1eca0c-9720-48d6-9d3c-e729834da315/service_bindings",
"service_bindings": [
],
"routes_url": "/v2/apps/fd1eca0c-9720-48d6-9d3c-e729834da315/routes",
"routes": [
{
"metadata": {
"guid": "4bb2e5bf-fa49-4184-bda9-096270743ecb",
"url": "/v2/routes/4bb2e5bf-fa49-4184-bda9-096270743ecb",
"created_at": "2014-10-22T17:04:14+00:00",
"updated_at": null
},
"entity": {
"host": "my-app",
"domain_guid": "5f7eb777-482d-4990-a30e-b0186364511c",
"space_guid": "75858613-5ad9-4d72-a685-47e74d1c4f8c",
"domain_url": "/v2/domains/5f7eb777-482d-4990-a30e-b0186364511c",
"space_url": "/v2/spaces/75858613-5ad9-4d72-a685-47e74d1c4f8c",
"apps_url": "/v2/routes/4bb2e5bf-fa49-4184-bda9-096270743ecb/apps"
}
}
]
}
}
OK
REQUEST: [2014-10-22T13:04:44-04:00]
GET /v2/apps/fd1eca0c-9720-48d6-9d3c-e729834da315/instances HTTP/1.1
Host:
api.10.175.246.67.xip.ioAccept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.6.0-704d304 / linux
RESPONSE: [2014-10-22T13:04:45-04:00]
HTTP/1.1 400 Bad Request
Connection: close
Content-Length: 89
Content-Type: application/json;charset=utf-8
Date: Wed, 22 Oct 2014 17:06:25 GMT
Server: nginx
X-Cf-Requestid: a105c052-909f-424e-5cb7-1940a2748e70
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: d95dddc7-8a84-4d46-7f10-ebbbc7a698f7::b3957647-53d1-4fe2-8683-c39955867edb
{"code":170002,"description":"App has not finished staging","error_code":"CF-NotStaged"}
REQUEST: [2014-10-22T13:04:50-04:00]
GET /v2/apps/fd1eca0c-9720-48d6-9d3c-e729834da315/instances HTTP/1.1
Host:
api.10.175.246.67.xip.ioAccept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.6.0-704d304 / linux
RESPONSE: [2014-10-22T13:04:50-04:00]
HTTP/1.1 400 Bad Request
Connection: close
Content-Length: 89
Content-Type: application/json;charset=utf-8
Date: Wed, 22 Oct 2014 17:06:33 GMT
Server: nginx
X-Cf-Requestid: 5e85973b-fa64-4085-5368-dad136ea53e1
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 422da502-54a0-4b93-55ce-531c0bbef041::c8a0dbbf-1b34-4455-bdea-60e5e2e26e9a
{"code":170002,"description":"App has not finished staging","error_code":"CF-NotStaged"}
REQUEST: [2014-10-22T13:04:55-04:00]
GET /v2/apps/fd1eca0c-9720-48d6-9d3c-e729834da315/instances HTTP/1.1
Host:
api.10.175.246.67.xip.ioAccept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.6.0-704d304 / linux
RESPONSE: [2014-10-22T13:04:55-04:00]
HTTP/1.1 400 Bad Request
Connection: close
Content-Length: 133
Content-Type: application/json;charset=utf-8
Date: Wed, 22 Oct 2014 17:06:41 GMT
Server: nginx
X-Cf-Requestid: c5f46342-fab2-4d66-788f-21c51c1c939c
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 4099c9d8-84c2-4959-7917-80cfde0151bb::ef89f00c-90ee-4468-b15f-ebcde9ad4b55
{"code":170003,"description":"An app was not successfully detected by any available buildpack","error_code":"CF-NoAppDetectedError"}
FAILED
Server error, status code: 400, error code: 170003, message: An app was not successfully detected by any available buildpack
TIP: use 'cf logs my-app --recent' for more information
FAILED
Server error, status code: 400, error code: 170003, message: An app was not successfully detected by any available buildpack
TIP: use 'cf logs my-app --recent' for more information