spring-io / pivotal-cla

Apache License 2.0
10 stars 16 forks source link

deploy.gradle should switch to cla.pivotal.io as well #91

Closed rwinch closed 8 years ago

rwinch commented 8 years ago

Right now we use pivotal-cla.cfapps.io for the URL. However, we really need to deploy to cla.pivotal.io for the production app.

rwinch commented 8 years ago

@mp911de Any thoughts on this?

mp911de commented 8 years ago

The Gradle 1.1.2 and 1.1.3 plugin call the deprecated domains for Space URI to obtain a list of domains. The response is:

Request URI: GET /v2/spaces/…/domains?inline-relations-depth=1

Response:

{
  "total_results": 1,
  "total_pages": 1,
  "prev_url": null,
  "next_url": null,
  "resources": [
    {
      "metadata": {
        "guid": "fb6bd89f-2ed9-49d4-9ad1-97951a573135",
        "url": "/v2/domains/fb6bd89f-2ed9-49d4-9ad1-97951a573135",
        "created_at": "2013-05-04T00:29:46Z",
        "updated_at": null
      },
      "entity": {
        "name": "cfapps.io",
        "router_group_guid": null,
        "router_group_type": null
      }
    }
  ]
}

Calling GET /v2/domains returns the full list of domains.