GithubHelp home page GithubHelp logo

Comments (3)

jabrena avatar jabrena commented on July 17, 2024

It is necessary to study this output:


VERSION:
6.12.1-56792aa


REQUEST: [2015-08-17T15:20:48+02:00]
GET /v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/apps?q=name%3Aapp2aside6&inline-relations-depth=1 HTTP/1.1
Host: api.MY_IP.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: MY_IP-cli 6.12.1-56792aa / windows



RESPONSE: [2015-08-17T15:20:48+02:00]
HTTP/1.1 200 OK
Content-Length: 4395
Content-Type: application/json;charset=utf-8
Date: Mon, 17 Aug 2015 13:18:35 GMT
Server: nginx
X-Cf-Requestid: 55aceb2b-092a-4dea-47d2-9c7f4b874e32
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 9306d656-9549-446a-7678-506f549ea3cb::50dfa895-7b4f-494c-90bc-38700a7583b3

{
  "total_results": 1,
  "total_pages": 1,
  "prev_url": null,
  "next_url": null,
  "resources": [
    {
      "metadata": {
        "guid": "2afa40de-8979-4988-9877-52b1c21ae81a",
        "url": "/v2/apps/2afa40de-8979-4988-9877-52b1c21ae81a",
        "created_at": "2015-08-17T13:13:28Z",
        "updated_at": "2015-08-17T13:18:22Z"
      },
      "entity": {
        "name": "app2aside6",
        "production": false,
        "space_guid": "e558b66a-1b9c-4c66-a779-5cf46e3b060c",
        "stack_guid": "4dc22bc6-e7f3-4cb5-b1d0-da53723c65df",
        "buildpack": "https://github.com/cloudfoundry/staticfile-buildpack",
        "detected_buildpack": null,
        "environment_json": {

        },
        "memory": 1024,
        "instances": 1,
        "disk_quota": 1024,
        "state": "STOPPED",
        "version": "f160617b-db96-4252-8e93-20c02bb7a9dd",
        "command": null,
        "console": false,
        "debug": null,
        "staging_task_id": "3cc2d7f978fc497dbee1f9e41e8b261a",
        "package_state": "STAGED",
        "health_check_type": "port",
        "health_check_timeout": null,
        "staging_failed_reason": null,
        "dieMY_IP": false,
        "docker_image": null,
        "package_updated_at": "2015-08-17T13:13:33Z",
        "detected_start_command": "sh boot.sh",
        "space_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c",
        "space": {
          "metadata": {
            "guid": "e558b66a-1b9c-4c66-a779-5cf46e3b060c",
            "url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c",
            "created_at": "2015-07-16T11:34:34Z",
            "updated_at": null
          },
          "entity": {
            "name": "dev",
            "organization_guid": "2fcae642-b4b9-4393-89dc-509ece372f7d",
            "space_quota_definition_guid": null,
            "organization_url": "/v2/organizations/2fcae642-b4b9-4393-89dc-509ece372f7d",
            "developers_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/developers",
            "managers_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/managers",
            "auditors_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/auditors",
            "apps_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/apps",
            "routes_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/routes",
            "domains_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/domains",
            "service_instances_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/service_instances",
            "app_events_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/app_events",
            "events_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/events",
            "security_groups_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/security_groups"
          }
        },
        "stack_url": "/v2/stacks/4dc22bc6-e7f3-4cb5-b1d0-da53723c65df",
        "stack": {
          "metadata": {
            "guid": "4dc22bc6-e7f3-4cb5-b1d0-da53723c65df",
            "url": "/v2/stacks/4dc22bc6-e7f3-4cb5-b1d0-da53723c65df",
            "created_at": "2015-07-15T12:32:30Z",
            "updated_at": null
          },
          "entity": {
            "name": "cflinuxfs2",
            "description": "Cloud Foundry Linux-based filesystem"
          }
        },
        "events_url": "/v2/apps/2afa40de-8979-4988-9877-52b1c21ae81a/events",
        "service_bindings_url": "/v2/apps/2afa40de-8979-4988-9877-52b1c21ae81a/service_bindings",
        "service_bindings": [

        ],
        "routes_url": "/v2/apps/2afa40de-8979-4988-9877-52b1c21ae81a/routes",
        "routes": [
          {
            "metadata": {
              "guid": "8e5e6661-ab40-4f2c-9778-bba76c2a0dbc",
              "url": "/v2/routes/8e5e6661-ab40-4f2c-9778-bba76c2a0dbc",
              "created_at": "2015-08-17T13:13:30Z",
              "updated_at": null
            },
            "entity": {
              "host": "app2aside6",
              "domain_guid": "a15f893b-2e8f-4afa-8a34-a45a27b4483f",
              "space_guid": "e558b66a-1b9c-4c66-a779-5cf46e3b060c",
              "domain_url": "/v2/domains/a15f893b-2e8f-4afa-8a34-a45a27b4483f",
              "space_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c",
              "apps_url": "/v2/routes/8e5e6661-ab40-4f2c-9778-bba76c2a0dbc/apps"
            }
          }
        ]
      }
    }
  ]
}

WEBSOCKET REQUEST: [2015-08-17T15:20:48+02:00]
GET /tail/?app=2afa40de-8979-4988-9877-52b1c21ae81a HTTP/1.1
Host: wss://loggregator.MY_IP.xip.io:4443
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Version: 13
Sec-WebSocket-Key: [HIDDEN]
Origin: http://localhost
Authorization: [PRIVATE DATA HIDDEN]


WEBSOCKET RESPONSE: [2015-08-17T15:20:49+02:00]
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-Websocket-Accept: tDIE/q0WMY_IPjRpDHBPAsopQZ8Xbk=

Starting app app2aside6 in org DevBox / space dev as admin...

REQUEST: [2015-08-17T15:20:49+02:00]
PUT /v2/apps/2afa40de-8979-4988-9877-52b1c21ae81a?async=true&inline-relations-depth=1 HTTP/1.1
Host: api.MY_IP.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: MY_IP-cli 6.12.1-56792aa / windows

{"state":"STARTED"}

RESPONSE: [2015-08-17T15:20:49+02:00]
HTTP/1.1 201 Created
Content-Length: 3904
Content-Type: application/json;charset=utf-8
Date: Mon, 17 Aug 2015 13:18:35 GMT
Server: nginx
X-Cf-Requestid: e9d2df6d-f65b-44db-4d6f-190b6c93946e
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: b8e92d31-dc25-4e33-76a5-e9897c36d0c2::30732a33-c59e-44c1-b076-02c0b205d513

{
  "metadata": {
    "guid": "2afa40de-8979-4988-9877-52b1c21ae81a",
    "url": "/v2/apps/2afa40de-8979-4988-9877-52b1c21ae81a",
    "created_at": "2015-08-17T13:13:28Z",
    "updated_at": "2015-08-17T13:18:35Z"
  },
  "entity": {
    "name": "app2aside6",
    "production": false,
    "space_guid": "e558b66a-1b9c-4c66-a779-5cf46e3b060c",
    "stack_guid": "4dc22bc6-e7f3-4cb5-b1d0-da53723c65df",
    "buildpack": "https://github.com/cloudfoundry/staticfile-buildpack",
    "detected_buildpack": null,
    "environment_json": {

    },
    "memory": 1024,
    "instances": 1,
    "disk_quota": 1024,
    "state": "STARTED",
    "version": "de752ccd-904c-48e4-b177-7513d28460d1",
    "command": null,
    "console": false,
    "debug": null,
    "staging_task_id": "3cc2d7f978fc497dbee1f9e41e8b261a",
    "package_state": "STAGED",
    "health_check_type": "port",
    "health_check_timeout": null,
    "staging_failed_reason": null,
    "dieMY_IP": false,
    "docker_image": null,
    "package_updated_at": "2015-08-17T13:13:33Z",
    "detected_start_command": "sh boot.sh",
    "space_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c",
    "space": {
      "metadata": {
        "guid": "e558b66a-1b9c-4c66-a779-5cf46e3b060c",
        "url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c",
        "created_at": "2015-07-16T11:34:34Z",
        "updated_at": null
      },
      "entity": {
        "name": "dev",
        "organization_guid": "2fcae642-b4b9-4393-89dc-509ece372f7d",
        "space_quota_definition_guid": null,
        "organization_url": "/v2/organizations/2fcae642-b4b9-4393-89dc-509ece372f7d",
        "developers_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/developers",
        "managers_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/managers",
        "auditors_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/auditors",
        "apps_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/apps",
        "routes_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/routes",
        "domains_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/domains",
        "service_instances_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/service_instances",
        "app_events_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/app_events",
        "events_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/events",
        "security_groups_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/security_groups"
      }
    },
    "stack_url": "/v2/stacks/4dc22bc6-e7f3-4cb5-b1d0-da53723c65df",
    "stack": {
      "metadata": {
        "guid": "4dc22bc6-e7f3-4cb5-b1d0-da53723c65df",
        "url": "/v2/stacks/4dc22bc6-e7f3-4cb5-b1d0-da53723c65df",
        "created_at": "2015-07-15T12:32:30Z",
        "updated_at": null
      },
      "entity": {
        "name": "cflinuxfs2",
        "description": "Cloud Foundry Linux-based filesystem"
      }
    },
    "events_url": "/v2/apps/2afa40de-8979-4988-9877-52b1c21ae81a/events",
    "service_bindings_url": "/v2/apps/2afa40de-8979-4988-9877-52b1c21ae81a/service_bindings",
    "service_bindings": [

    ],
    "routes_url": "/v2/apps/2afa40de-8979-4988-9877-52b1c21ae81a/routes",
    "routes": [
      {
        "metadata": {
          "guid": "8e5e6661-ab40-4f2c-9778-bba76c2a0dbc",
          "url": "/v2/routes/8e5e6661-ab40-4f2c-9778-bba76c2a0dbc",
          "created_at": "2015-08-17T13:13:30Z",
          "updated_at": null
        },
        "entity": {
          "host": "app2aside6",
          "domain_guid": "a15f893b-2e8f-4afa-8a34-a45a27b4483f",
          "space_guid": "e558b66a-1b9c-4c66-a779-5cf46e3b060c",
          "domain_url": "/v2/domains/a15f893b-2e8f-4afa-8a34-a45a27b4483f",
          "space_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c",
          "apps_url": "/v2/routes/8e5e6661-ab40-4f2c-9778-bba76c2a0dbc/apps"
        }
      }
    ]
  }
}


REQUEST: [2015-08-17T15:20:49+02:00]
GET /v2/apps/2afa40de-8979-4988-9877-52b1c21ae81a/instances HTTP/1.1
Host: api.MY_IP.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: MY_IP-cli 6.12.1-56792aa / windows



RESPONSE: [2015-08-17T15:20:49+02:00]
HTTP/1.1 200 OK
Content-Length: 125
Content-Type: application/json;charset=utf-8
Date: Mon, 17 Aug 2015 13:18:36 GMT
Server: nginx
X-Cf-Requestid: 185ad8ac-8495-4f1b-5dd1-a549d02cbefa
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 23608eec-2c98-419c-4704-eaed68a7b964::555bba5a-6065-41b3-a92e-5db483f24600

{"0":{"state":"STARTING","since":1439817515.9634953,"debug_ip":null,"debug_port":null,"console_ip":null,"console_port":null}}

REQUEST: [2015-08-17T15:20:49+02:00]
GET /v2/apps/2afa40de-8979-4988-9877-52b1c21ae81a/stats HTTP/1.1
Host: api.MY_IP.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: MY_IP-cli 6.12.1-56792aa / windows



RESPONSE: [2015-08-17T15:20:52+02:00]
HTTP/1.1 200 OK
Content-Length: 41
Content-Type: application/json;charset=utf-8
Date: Mon, 17 Aug 2015 13:18:38 GMT
Server: nginx
X-Cf-Requestid: 33965aff-b2fa-441d-5d5a-dd612510265e
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 38400688-abe1-4fdf-721a-cef5d4c9b284::964003d3-082a-4143-9abd-fc05f40fc6c2

{"0":{"state":"DOWN","since":1439817518}}
0 of 1 instances running, 1 starting

REQUEST: [2015-08-17T15:20:57+02:00]
GET /v2/apps/2afa40de-8979-4988-9877-52b1c21ae81a/instances HTTP/1.1
Host: api.MY_IP.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: MY_IP-cli 6.12.1-56792aa / windows



RESPONSE: [2015-08-17T15:20:57+02:00]
HTTP/1.1 200 OK
Content-Length: 124
Content-Type: application/json;charset=utf-8
Date: Mon, 17 Aug 2015 13:18:43 GMT
Server: nginx
X-Cf-Requestid: 7c3750e5-75e0-4e20-5eed-56195dbb13d9
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 9d4b84f3-0a2c-49f2-5226-0fde4d5eeb7f::b63a5b4b-9e65-4871-9b4f-50db4be4a0d7

{"0":{"state":"RUNNING","since":1439817517.2395906,"debug_ip":null,"debug_port":null,"console_ip":null,"console_port":null}}

REQUEST: [2015-08-17T15:20:57+02:00]
GET /v2/apps/2afa40de-8979-4988-9877-52b1c21ae81a/stats HTTP/1.1
Host: api.MY_IP.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: MY_IP-cli 6.12.1-56792aa / windows



RESPONSE: [2015-08-17T15:20:57+02:00]
HTTP/1.1 200 OK
Content-Length: 290
Content-Type: application/json;charset=utf-8
Date: Mon, 17 Aug 2015 13:18:44 GMT
Server: nginx
X-Cf-Requestid: bba783ff-7b5a-4b2f-799a-79b646be757a
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 74d9069b-4aaa-4ac9-6f6e-787d3bab8df1::599d8b2a-3c86-4659-ad8c-c3b3f0e21b12

{"0":{"state":"RUNNING","stats":{"name":"app2aside6","uris":["app2aside6.MY_IP.xip.io"],"host":"MY_IP","port":61667,"uptime":8,"mem_quota":1073741824,"disk_quota":1073741824,"fds_quota":16384,"usage":{"time":"2015-08-17 15:18:44 +0200","cpu":0,"mem":4509696,"disk":7618560}}}}
1 of 1 instances running

App started


OK

REQUEST: [2015-08-17T15:20:57+02:00]
GET /v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/apps?q=name%3Aapp2aside6&inline-relations-depth=1 HTTP/1.1
Host: api.MY_IP.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: MY_IP-cli 6.12.1-56792aa / windows



RESPONSE: [2015-08-17T15:20:57+02:00]
HTTP/1.1 200 OK
Content-Length: 4395
Content-Type: application/json;charset=utf-8
Date: Mon, 17 Aug 2015 13:18:44 GMT
Server: nginx
X-Cf-Requestid: cf8d37ad-2429-46d4-4574-07d0fbf51085
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: eaded078-a2ac-42f6-6ed1-47ede12fb187::8729361c-90a7-4057-9c13-f83ef5966911

{
  "total_results": 1,
  "total_pages": 1,
  "prev_url": null,
  "next_url": null,
  "resources": [
    {
      "metadata": {
        "guid": "2afa40de-8979-4988-9877-52b1c21ae81a",
        "url": "/v2/apps/2afa40de-8979-4988-9877-52b1c21ae81a",
        "created_at": "2015-08-17T13:13:28Z",
        "updated_at": "2015-08-17T13:18:35Z"
      },
      "entity": {
        "name": "app2aside6",
        "production": false,
        "space_guid": "e558b66a-1b9c-4c66-a779-5cf46e3b060c",
        "stack_guid": "4dc22bc6-e7f3-4cb5-b1d0-da53723c65df",
        "buildpack": "https://github.com/cloudfoundry/staticfile-buildpack",
        "detected_buildpack": null,
        "environment_json": {

        },
        "memory": 1024,
        "instances": 1,
        "disk_quota": 1024,
        "state": "STARTED",
        "version": "de752ccd-904c-48e4-b177-7513d28460d1",
        "command": null,
        "console": false,
        "debug": null,
        "staging_task_id": "3cc2d7f978fc497dbee1f9e41e8b261a",
        "package_state": "STAGED",
        "health_check_type": "port",
        "health_check_timeout": null,
        "staging_failed_reason": null,
        "dieMY_IP": false,
        "docker_image": null,
        "package_updated_at": "2015-08-17T13:13:33Z",
        "detected_start_command": "sh boot.sh",
        "space_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c",
        "space": {
          "metadata": {
            "guid": "e558b66a-1b9c-4c66-a779-5cf46e3b060c",
            "url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c",
            "created_at": "2015-07-16T11:34:34Z",
            "updated_at": null
          },
          "entity": {
            "name": "dev",
            "organization_guid": "2fcae642-b4b9-4393-89dc-509ece372f7d",
            "space_quota_definition_guid": null,
            "organization_url": "/v2/organizations/2fcae642-b4b9-4393-89dc-509ece372f7d",
            "developers_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/developers",
            "managers_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/managers",
            "auditors_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/auditors",
            "apps_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/apps",
            "routes_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/routes",
            "domains_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/domains",
            "service_instances_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/service_instances",
            "app_events_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/app_events",
            "events_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/events",
            "security_groups_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/security_groups"
          }
        },
        "stack_url": "/v2/stacks/4dc22bc6-e7f3-4cb5-b1d0-da53723c65df",
        "stack": {
          "metadata": {
            "guid": "4dc22bc6-e7f3-4cb5-b1d0-da53723c65df",
            "url": "/v2/stacks/4dc22bc6-e7f3-4cb5-b1d0-da53723c65df",
            "created_at": "2015-07-15T12:32:30Z",
            "updated_at": null
          },
          "entity": {
            "name": "cflinuxfs2",
            "description": "Cloud Foundry Linux-based filesystem"
          }
        },
        "events_url": "/v2/apps/2afa40de-8979-4988-9877-52b1c21ae81a/events",
        "service_bindings_url": "/v2/apps/2afa40de-8979-4988-9877-52b1c21ae81a/service_bindings",
        "service_bindings": [

        ],
        "routes_url": "/v2/apps/2afa40de-8979-4988-9877-52b1c21ae81a/routes",
        "routes": [
          {
            "metadata": {
              "guid": "8e5e6661-ab40-4f2c-9778-bba76c2a0dbc",
              "url": "/v2/routes/8e5e6661-ab40-4f2c-9778-bba76c2a0dbc",
              "created_at": "2015-08-17T13:13:30Z",
              "updated_at": null
            },
            "entity": {
              "host": "app2aside6",
              "domain_guid": "a15f893b-2e8f-4afa-8a34-a45a27b4483f",
              "space_guid": "e558b66a-1b9c-4c66-a779-5cf46e3b060c",
              "domain_url": "/v2/domains/a15f893b-2e8f-4afa-8a34-a45a27b4483f",
              "space_url": "/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c",
              "apps_url": "/v2/routes/8e5e6661-ab40-4f2c-9778-bba76c2a0dbc/apps"
            }
          }
        ]
      }
    }
  ]
}

App app2aside6 was started using this command `sh boot.sh`

Showing health and status for app app2aside6 in org DevBox / space dev as admin...

REQUEST: [2015-08-17T15:20:57+02:00]
GET /v2/apps/2afa40de-8979-4988-9877-52b1c21ae81a/summary HTTP/1.1
Host: api.MY_IP.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: MY_IP-cli 6.12.1-56792aa / windows



RESPONSE: [2015-08-17T15:20:58+02:00]
HTTP/1.1 200 OK
Content-Length: 1060
Content-Type: application/json;charset=utf-8
Date: Mon, 17 Aug 2015 13:18:44 GMT
Server: nginx
X-Cf-Requestid: 6c4cd106-c161-419c-4d09-c468ba62249c
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 9a096268-d227-4851-6ee3-89944968181d::c7f6be25-2fa8-48b0-bf5a-5cc351a07723

{"guid":"2afa40de-8979-4988-9877-52b1c21ae81a","name":"app2aside6","routes":[{"guid":"8e5e6661-ab40-4f2c-9778-bba76c2a0dbc","host":"app2aside6","domain":{"guid":"a15f893b-2e8f-4afa-8a34-a45a27b4483f","name":"MY_IP.xip.io"}}],"running_instances":1,"services":[],"available_domains":[{"guid":"a15f893b-2e8f-4afa-8a34-a45a27b4483f","name":"MY_IP.xip.io"}],"name":"app2aside6","production":false,"space_guid":"e558b66a-1b9c-4c66-a779-5cf46e3b060c","stack_guid":"4dc22bc6-e7f3-4cb5-b1d0-da53723c65df","buildpack":"https://github.com/cloudfoundry/staticfile-buildpack","detected_buildpack":null,"environment_json":{},"memory":1024,"instances":1,"disk_quota":1024,"state":"STARTED","version":"de752ccd-904c-48e4-b177-7513d28460d1","command":null,"console":false,"debug":null,"staging_task_id":"3cc2d7f978fc497dbee1f9e41e8b261a","package_state":"STAGED","health_check_type":"port","health_check_timeout":null,"staging_failed_reason":null,"dieMY_IP":false,"docker_image":null,"package_updated_at":"2015-08-17T13:13:33Z","detected_start_command":"sh boot.sh"}

REQUEST: [2015-08-17T15:20:58+02:00]
GET /v2/apps/2afa40de-8979-4988-9877-52b1c21ae81a/instances HTTP/1.1
Host: api.MY_IP.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: MY_IP-cli 6.12.1-56792aa / windows



RESPONSE: [2015-08-17T15:20:58+02:00]
HTTP/1.1 200 OK
Content-Length: 124
Content-Type: application/json;charset=utf-8
Date: Mon, 17 Aug 2015 13:18:44 GMT
Server: nginx
X-Cf-Requestid: 38f37842-2402-485c-42cf-eb627ae47873
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 65ecc492-678d-4988-75cb-95abac0e16e8::5e95b0cf-b3e8-4b2a-93c7-b612a7249236

{"0":{"state":"RUNNING","since":1439817517.2395906,"debug_ip":null,"debug_port":null,"console_ip":null,"console_port":null}}

REQUEST: [2015-08-17T15:20:58+02:00]
GET /v2/apps/2afa40de-8979-4988-9877-52b1c21ae81a/stats HTTP/1.1
Host: api.MY_IP.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: MY_IP-cli 6.12.1-56792aa / windows



RESPONSE: [2015-08-17T15:20:58+02:00]
HTTP/1.1 200 OK
Content-Length: 290
Content-Type: application/json;charset=utf-8
Date: Mon, 17 Aug 2015 13:18:45 GMT
Server: nginx
X-Cf-Requestid: 44f5d16f-c622-4261-640a-34badafcd772
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 85341be6-ec98-40c9-7fa7-634425b7f246::abf9968d-cbc9-44ae-896c-018095b203b9

{"0":{"state":"RUNNING","stats":{"name":"app2aside6","uris":["app2aside6.MY_IP.xip.io"],"host":"MY_IP","port":61667,"uptime":9,"mem_quota":1073741824,"disk_quota":1073741824,"fds_quota":16384,"usage":{"time":"2015-08-17 15:18:45 +0200","cpu":0,"mem":4509696,"disk":7618560}}}}
OK

requested state: started
instances: 1/1
usage: 1G x 1 instances
urls: app2aside6.MY_IP.xip.io
last uploaded: Mon Aug 17 13:13:33 UTC 2015
stack: cflinuxfs2
buildpack: https://github.com/cloudfoundry/staticfile-buildpack

     state     since                    cpu    memory       disk         details   
#0   running   2015-08-17 03:18:37 PM   0.0%   4.3M of 1G   7.3M of 1G      

from cf-nodejs-client.

jabrena avatar jabrena commented on July 17, 2024

It is necessary to test the concepto about handling promises in a loop:
https://gist.github.com/victorherraiz/78a831aba85071869f19

from cf-nodejs-client.

jabrena avatar jabrena commented on July 17, 2024

Fixed.

from cf-nodejs-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.