CloudFoundry unmap_domain Command Documentation -- Auto-generated.
expand | collapse | back
"CF"  "Cloud_Controller"  "Health_Manager"  "DEA"  "Router"  "Warden"  "UAA"
|-------------------->(+)
CF to Cloud_Controller

0. MSG: (+)
REST
["GET", "v2/domains", {:accept=>:json, :params=>{:q=>"name:my.domain.com", :"inline-relations-depth"=>1}}]


<--------------------|(+)
Cloud_Controller to CF

1. MSG: (+)
REST
[{:url=>"http://127.0.0.1:8181/v2/domains?q=name%3Amy.domain.com&inline-relations-depth=1", :method=>"GET", :headers=>{"Content-Length"=>0, "Authorization"=>"bearer eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiIzOTJlOWFlYS1iY2ZiLTQxZTItOGVjMi00OWYyZjQ3YjAzYjciLCJzdWIiOiI4NGU5NzZhMi1iNWVjLTRlZjAtOGU5Zi1iOTYwMDZjMzVhZjAiLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIiwiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSIsIm9wZW5pZCIsInBhc3N3b3JkLndyaXRlIiwic2NpbS5yZWFkIiwic2NpbS51c2VyaWRzIiwic2NpbS53cml0ZSJdLCJjbGllbnRfaWQiOiJjZiIsImNpZCI6ImNmIiwiZ3JhbnRfdHlwZSI6InBhc3N3b3JkIiwidXNlcl9pZCI6Ijg0ZTk3NmEyLWI1ZWMtNGVmMC04ZTlmLWI5NjAwNmMzNWFmMCIsInVzZXJfbmFtZSI6ImFkbWluIiwiZW1haWwiOiJhZG1pbiIsImlhdCI6MTM3Nzc5MTcxMywiZXhwIjoxMzc3ODM0OTEzLCJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjgwODAvdWFhL29hdXRoL3Rva2VuIiwiYXVkIjpbInNjaW0iLCJvcGVuaWQiLCJjbG91ZF9jb250cm9sbGVyIiwicGFzc3dvcmQiXX0.V1E63TIjCoF-7_L9k95W4_4w4kr3e77G-1GeL3RXibw", "Accept"=>"application/json"}, :body=>nil}, {:headers=>{"x-frame-options"=>"sameorigin", "x-xss-protection"=>"1; mode=block", "content-type"=>"application/json;charset=utf-8", "x-vcap-request-id"=>"ddd4f89a-2872-45f4-a0da-9fd1f443a1e2", "content-length"=>"3195", "connection"=>"keep-alive", "server"=>"thin 1.5.1 codename Straight Razor"}, :status=>"200", :body=>"{\n \"total_results\": 1,\n \"total_pages\": 1,\n \"prev_url\": null,\n \"next_url\": null,\n \"resources\": [\n {\n \"metadata\": {\n \"guid\": \"826cfc7e-cfbd-4db3-84aa-0e3d84b46704\",\n \"url\": \"/v2/domains/826cfc7e-cfbd-4db3-84aa-0e3d84b46704\",\n \"created_at\": \"2013-08-29 15:59:00 +0000\",\n \"updated_at\": null\n },\n \"entity\": {\n \"name\": \"my.domain.com\",\n \"owning_organization_guid\": \"29e2d6cd-44f5-4180-8fbd-5413f22de6a6\",\n \"wildcard\": true,\n \"spaces_url\": \"/v2/domains/826cfc7e-cfbd-4db3-84aa-0e3d84b46704/spaces\",\n \"spaces\": [\n {\n \"metadata\": {\n \"guid\": \"2c0736fe-9ab8-48fe-b0ef-fe0eb3625ad7\",\n \"url\": \"/v2/spaces/2c0736fe-9ab8-48fe-b0ef-fe0eb3625ad7\",\n \"created_at\": \"2013-08-29 15:58:30 +0000\",\n \"updated_at\": \"2013-08-29 15:58:38 +0000\"\n },\n \"entity\": {\n \"name\": \"new-tmp-space\",\n \"organization_guid\": \"29e2d6cd-44f5-4180-8fbd-5413f22de6a6\",\n \"developers_url\": \"/v2/spaces/2c0736fe-9ab8-48fe-b0ef-fe0eb3625ad7/developers\",\n \"managers_url\": \"/v2/spaces/2c0736fe-9ab8-48fe-b0ef-fe0eb3625ad7/managers\",\n \"auditors_url\": \"/v2/spaces/2c0736fe-9ab8-48fe-b0ef-fe0eb3625ad7/auditors\",\n \"apps_url\": \"/v2/spaces/2c0736fe-9ab8-48fe-b0ef-fe0eb3625ad7/apps\",\n \"domains_url\": \"/v2/spaces/2c0736fe-9ab8-48fe-b0ef-fe0eb3625ad7/domains\",\n \"service_instances_url\": \"/v2/spaces/2c0736fe-9ab8-48fe-b0ef-fe0eb3625ad7/service_instances\",\n \"app_events_url\": \"/v2/spaces/2c0736fe-9ab8-48fe-b0ef-fe0eb3625ad7/app_events\",\n \"organization_url\": \"/v2/organizations/29e2d6cd-44f5-4180-8fbd-5413f22de6a6\"\n }\n }\n ],\n \"owning_organization_url\": \"/v2/organizations/29e2d6cd-44f5-4180-8fbd-5413f22de6a6\",\n \"owning_organization\": {\n \"metadata\": {\n \"guid\": \"29e2d6cd-44f5-4180-8fbd-5413f22de6a6\",\n \"url\": \"/v2/organizations/29e2d6cd-44f5-4180-8fbd-5413f22de6a6\",\n \"created_at\": \"2013-08-29 15:58:26 +0000\",\n \"updated_at\": \"2013-08-29 15:58:42 +0000\"\n },\n \"entity\": {\n \"name\": \"new-tmp-org\",\n \"billing_enabled\": false,\n \"quota_definition_guid\": \"20694537-7476-4716-b1b8-38a1a6c1941b\",\n \"spaces_url\": \"/v2/organizations/29e2d6cd-44f5-4180-8fbd-5413f22de6a6/spaces\",\n \"domains_url\": \"/v2/organizations/29e2d6cd-44f5-4180-8fbd-5413f22de6a6/domains\",\n \"users_url\": \"/v2/organizations/29e2d6cd-44f5-4180-8fbd-5413f22de6a6/users\",\n \"managers_url\": \"/v2/organizations/29e2d6cd-44f5-4180-8fbd-5413f22de6a6/managers\",\n \"billing_managers_url\": \"/v2/organizations/29e2d6cd-44f5-4180-8fbd-5413f22de6a6/billing_managers\",\n \"auditors_url\": \"/v2/organizations/29e2d6cd-44f5-4180-8fbd-5413f22de6a6/auditors\",\n \"app_events_url\": \"/v2/organizations/29e2d6cd-44f5-4180-8fbd-5413f22de6a6/app_events\",\n \"quota_definition_url\": \"/v2/quota_definitions/20694537-7476-4716-b1b8-38a1a6c1941b\"\n }\n }\n }\n }\n ]\n}"}]


|-------------------->(+)
CF to Cloud_Controller

2. MSG: (+)
REST
["GET", "v2/spaces/da6462e8-82f0-4179-8075-4d8471ff94ee", {:accept=>:json, :params=>{:"inline-relations-depth"=>1}}]


      <--------------------------------|(+)
       Health_Manager to Cloud_Controller

Channel: cloudcontrollers.hm.requests.ng
3. MSG: (+)
NATS
{"droplet":"8f10fd85-37f0-43d9-9467-b5709d777f99","op":"STOP","last_updated":1377791627,"instances":["7d0928cb30f54568f755a4084775f413"]}


      |------------------------------------->(+)
       Cloud_Controller to DEA

Channel: dea.stop
4. MSG: (+)
NATS
{"droplet":"8f10fd85-37f0-43d9-9467-b5709d777f99"}


<--------------------|(+)
Cloud_Controller to CF

5. MSG: (+)
REST
[{:url=>"http://127.0.0.1:8181/v2/spaces/da6462e8-82f0-4179-8075-4d8471ff94ee?inline-relations-depth=1", :method=>"GET", :headers=>{"Content-Length"=>0, "Authorization"=>"bearer eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiIzOTJlOWFlYS1iY2ZiLTQxZTItOGVjMi00OWYyZjQ3YjAzYjciLCJzdWIiOiI4NGU5NzZhMi1iNWVjLTRlZjAtOGU5Zi1iOTYwMDZjMzVhZjAiLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIiwiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSIsIm9wZW5pZCIsInBhc3N3b3JkLndyaXRlIiwic2NpbS5yZWFkIiwic2NpbS51c2VyaWRzIiwic2NpbS53cml0ZSJdLCJjbGllbnRfaWQiOiJjZiIsImNpZCI6ImNmIiwiZ3JhbnRfdHlwZSI6InBhc3N3b3JkIiwidXNlcl9pZCI6Ijg0ZTk3NmEyLWI1ZWMtNGVmMC04ZTlmLWI5NjAwNmMzNWFmMCIsInVzZXJfbmFtZSI6ImFkbWluIiwiZW1haWwiOiJhZG1pbiIsImlhdCI6MTM3Nzc5MTcxMywiZXhwIjoxMzc3ODM0OTEzLCJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjgwODAvdWFhL29hdXRoL3Rva2VuIiwiYXVkIjpbInNjaW0iLCJvcGVuaWQiLCJjbG91ZF9jb250cm9sbGVyIiwicGFzc3dvcmQiXX0.V1E63TIjCoF-7_L9k95W4_4w4kr3e77G-1GeL3RXibw", "Accept"=>"application/json"}, :body=>nil}, {:headers=>{"x-frame-options"=>"sameorigin", "x-xss-protection"=>"1; mode=block", "content-type"=>"application/json;charset=utf-8", "x-vcap-request-id"=>"80681c94-0506-4bc2-9d12-073e735a7796", "content-length"=>"5007", "connection"=>"keep-alive", "server"=>"thin 1.5.1 codename Straight Razor"}, :status=>"200", :body=>"{\n \"metadata\": {\n \"guid\": \"da6462e8-82f0-4179-8075-4d8471ff94ee\",\n \"url\": \"/v2/spaces/da6462e8-82f0-4179-8075-4d8471ff94ee\",\n \"created_at\": \"2013-08-29 15:58:34 +0000\",\n \"updated_at\": null\n },\n \"entity\": {\n \"name\": \"space-tmp\",\n \"organization_guid\": \"29e2d6cd-44f5-4180-8fbd-5413f22de6a6\",\n \"developers_url\": \"/v2/spaces/da6462e8-82f0-4179-8075-4d8471ff94ee/developers\",\n \"developers\": [\n {\n \"metadata\": {\n \"guid\": \"84e976a2-b5ec-4ef0-8e9f-b96006c35af0\",\n \"url\": \"/v2/users/84e976a2-b5ec-4ef0-8e9f-b96006c35af0\",\n \"created_at\": \"2013-08-29 15:49:18 +0000\",\n \"updated_at\": null\n },\n \"entity\": {\n \"admin\": true,\n \"active\": true,\n \"default_space_guid\": null,\n \"spaces_url\": \"/v2/users/84e976a2-b5ec-4ef0-8e9f-b96006c35af0/spaces\",\n \"organizations_url\": \"/v2/users/84e976a2-b5ec-4ef0-8e9f-b96006c35af0/organizations\",\n \"managed_organizations_url\": \"/v2/users/84e976a2-b5ec-4ef0-8e9f-b96006c35af0/managed_organizations\",\n \"billing_managed_organizations_url\": \"/v2/users/84e976a2-b5ec-4ef0-8e9f-b96006c35af0/billing_managed_organizations\",\n \"audited_organizations_url\": \"/v2/users/84e976a2-b5ec-4ef0-8e9f-b96006c35af0/audited_organizations\",\n \"managed_spaces_url\": \"/v2/users/84e976a2-b5ec-4ef0-8e9f-b96006c35af0/managed_spaces\",\n \"audited_spaces_url\": \"/v2/users/84e976a2-b5ec-4ef0-8e9f-b96006c35af0/audited_spaces\"\n }\n }\n ],\n \"managers_url\": \"/v2/spaces/da6462e8-82f0-4179-8075-4d8471ff94ee/managers\",\n \"managers\": [\n {\n \"metadata\": {\n \"guid\": \"84e976a2-b5ec-4ef0-8e9f-b96006c35af0\",\n \"url\": \"/v2/users/84e976a2-b5ec-4ef0-8e9f-b96006c35af0\",\n \"created_at\": \"2013-08-29 15:49:18 +0000\",\n \"updated_at\": null\n },\n \"entity\": {\n \"admin\": true,\n \"active\": true,\n \"default_space_guid\": null,\n \"spaces_url\": \"/v2/users/84e976a2-b5ec-4ef0-8e9f-b96006c35af0/spaces\",\n \"organizations_url\": \"/v2/users/84e976a2-b5ec-4ef0-8e9f-b96006c35af0/organizations\",\n \"managed_organizations_url\": \"/v2/users/84e976a2-b5ec-4ef0-8e9f-b96006c35af0/managed_organizations\",\n \"billing_managed_organizations_url\": \"/v2/users/84e976a2-b5ec-4ef0-8e9f-b96006c35af0/billing_managed_organizations\",\n \"audited_organizations_url\": \"/v2/users/84e976a2-b5ec-4ef0-8e9f-b96006c35af0/audited_organizations\",\n \"managed_spaces_url\": \"/v2/users/84e976a2-b5ec-4ef0-8e9f-b96006c35af0/managed_spaces\",\n \"audited_spaces_url\": \"/v2/users/84e976a2-b5ec-4ef0-8e9f-b96006c35af0/audited_spaces\"\n }\n }\n ],\n \"auditors_url\": \"/v2/spaces/da6462e8-82f0-4179-8075-4d8471ff94ee/auditors\",\n \"auditors\": [\n\n ],\n \"apps_url\": \"/v2/spaces/da6462e8-82f0-4179-8075-4d8471ff94ee/apps\",\n \"apps\": [\n\n ],\n \"domains_url\": \"/v2/spaces/da6462e8-82f0-4179-8075-4d8471ff94ee/domains\",\n \"domains\": [\n {\n \"metadata\": {\n \"guid\": \"26aad25d-51a1-4c12-99a8-090bdc0baa4c\",\n \"url\": \"/v2/domains/26aad25d-51a1-4c12-99a8-090bdc0baa4c\",\n \"created_at\": \"2013-07-24 18:26:10 +0000\",\n \"updated_at\": null\n },\n \"entity\": {\n \"name\": \"vcap.me\",\n \"owning_organization_guid\": null,\n \"wildcard\": true,\n \"spaces_url\": \"/v2/domains/26aad25d-51a1-4c12-99a8-090bdc0baa4c/spaces\"\n }\n }\n ],\n \"service_instances_url\": \"/v2/spaces/da6462e8-82f0-4179-8075-4d8471ff94ee/service_instances\",\n \"service_instances\": [\n\n ],\n \"app_events_url\": \"/v2/spaces/da6462e8-82f0-4179-8075-4d8471ff94ee/app_events\",\n \"app_events\": [\n\n ],\n \"organization_url\": \"/v2/organizations/29e2d6cd-44f5-4180-8fbd-5413f22de6a6\",\n \"organization\": {\n \"metadata\": {\n \"guid\": \"29e2d6cd-44f5-4180-8fbd-5413f22de6a6\",\n \"url\": \"/v2/organizations/29e2d6cd-44f5-4180-8fbd-5413f22de6a6\",\n \"created_at\": \"2013-08-29 15:58:26 +0000\",\n \"updated_at\": \"2013-08-29 15:58:42 +0000\"\n },\n \"entity\": {\n \"name\": \"new-tmp-org\",\n \"billing_enabled\": false,\n \"quota_definition_guid\": \"20694537-7476-4716-b1b8-38a1a6c1941b\",\n \"spaces_url\": \"/v2/organizations/29e2d6cd-44f5-4180-8fbd-5413f22de6a6/spaces\",\n \"domains_url\": \"/v2/organizations/29e2d6cd-44f5-4180-8fbd-5413f22de6a6/domains\",\n \"users_url\": \"/v2/organizations/29e2d6cd-44f5-4180-8fbd-5413f22de6a6/users\",\n \"managers_url\": \"/v2/organizations/29e2d6cd-44f5-4180-8fbd-5413f22de6a6/managers\",\n \"billing_managers_url\": \"/v2/organizations/29e2d6cd-44f5-4180-8fbd-5413f22de6a6/billing_managers\",\n \"auditors_url\": \"/v2/organizations/29e2d6cd-44f5-4180-8fbd-5413f22de6a6/auditors\",\n \"app_events_url\": \"/v2/organizations/29e2d6cd-44f5-4180-8fbd-5413f22de6a6/app_events\",\n \"quota_definition_url\": \"/v2/quota_definitions/20694537-7476-4716-b1b8-38a1a6c1941b\"\n }\n }\n }\n}"}]


|-------------------->(+)
CF to Cloud_Controller

6. MSG: (+)
REST
["DELETE", "v2/spaces/da6462e8-82f0-4179-8075-4d8471ff94ee/domains/826cfc7e-cfbd-4db3-84aa-0e3d84b46704", {:accept=>:json}]


<--------------------|(+)
Cloud_Controller to CF

7. MSG: (+)
REST
[{:url=>"http://127.0.0.1:8181/v2/spaces/da6462e8-82f0-4179-8075-4d8471ff94ee/domains/826cfc7e-cfbd-4db3-84aa-0e3d84b46704", :method=>"DELETE", :headers=>{"Content-Length"=>0, "Authorization"=>"bearer eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiIzOTJlOWFlYS1iY2ZiLTQxZTItOGVjMi00OWYyZjQ3YjAzYjciLCJzdWIiOiI4NGU5NzZhMi1iNWVjLTRlZjAtOGU5Zi1iOTYwMDZjMzVhZjAiLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIiwiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSIsIm9wZW5pZCIsInBhc3N3b3JkLndyaXRlIiwic2NpbS5yZWFkIiwic2NpbS51c2VyaWRzIiwic2NpbS53cml0ZSJdLCJjbGllbnRfaWQiOiJjZiIsImNpZCI6ImNmIiwiZ3JhbnRfdHlwZSI6InBhc3N3b3JkIiwidXNlcl9pZCI6Ijg0ZTk3NmEyLWI1ZWMtNGVmMC04ZTlmLWI5NjAwNmMzNWFmMCIsInVzZXJfbmFtZSI6ImFkbWluIiwiZW1haWwiOiJhZG1pbiIsImlhdCI6MTM3Nzc5MTcxMywiZXhwIjoxMzc3ODM0OTEzLCJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjgwODAvdWFhL29hdXRoL3Rva2VuIiwiYXVkIjpbInNjaW0iLCJvcGVuaWQiLCJjbG91ZF9jb250cm9sbGVyIiwicGFzc3dvcmQiXX0.V1E63TIjCoF-7_L9k95W4_4w4kr3e77G-1GeL3RXibw", "Accept"=>"application/json"}, :body=>nil}, {:headers=>{"x-frame-options"=>"sameorigin", "x-xss-protection"=>"1; mode=block", "content-type"=>"application/json;charset=utf-8", "x-vcap-request-id"=>"f3f8e14a-dd73-4402-ac54-9f9bc49f5d91", "content-length"=>"973", "connection"=>"keep-alive", "server"=>"thin 1.5.1 codename Straight Razor"}, :status=>"201", :body=>"{\n \"metadata\": {\n \"guid\": \"da6462e8-82f0-4179-8075-4d8471ff94ee\",\n \"url\": \"/v2/spaces/da6462e8-82f0-4179-8075-4d8471ff94ee\",\n \"created_at\": \"2013-08-29 15:58:34 +0000\",\n \"updated_at\": null\n },\n \"entity\": {\n \"name\": \"space-tmp\",\n \"organization_guid\": \"29e2d6cd-44f5-4180-8fbd-5413f22de6a6\",\n \"developers_url\": \"/v2/spaces/da6462e8-82f0-4179-8075-4d8471ff94ee/developers\",\n \"managers_url\": \"/v2/spaces/da6462e8-82f0-4179-8075-4d8471ff94ee/managers\",\n \"auditors_url\": \"/v2/spaces/da6462e8-82f0-4179-8075-4d8471ff94ee/auditors\",\n \"apps_url\": \"/v2/spaces/da6462e8-82f0-4179-8075-4d8471ff94ee/apps\",\n \"domains_url\": \"/v2/spaces/da6462e8-82f0-4179-8075-4d8471ff94ee/domains\",\n \"service_instances_url\": \"/v2/spaces/da6462e8-82f0-4179-8075-4d8471ff94ee/service_instances\",\n \"app_events_url\": \"/v2/spaces/da6462e8-82f0-4179-8075-4d8471ff94ee/app_events\",\n \"organization_url\": \"/v2/organizations/29e2d6cd-44f5-4180-8fbd-5413f22de6a6\"\n }\n}"}]


      <--------------------------------|(+)
       Health_Manager to Cloud_Controller

Channel: cloudcontrollers.hm.requests.ng
8. MSG: (+)
NATS
{"droplet":"8f10fd85-37f0-43d9-9467-b5709d777f99","op":"START","last_updated":1377791627,"version":"c09f2937-e02c-4740-bf7a-96cddc6be808","indices":[0]}