From 27aa3be0f21b78a963f42991780fbc56ab194dd7 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 22 Jul 2019 20:53:27 +0200 Subject: [PATCH] Update api-ref location The api documentation is now published on docs.openstack.org instead of developer.openstack.org. Update all links that are changed to the new location. Note that redirects will be set up as well but let's point now to the new location. For details, see: http://lists.openstack.org/pipermail/openstack-discuss/2019-July/007828.html Change-Id: Id60f5c97058646c19a8a9d0befc56e9e97b202d8 --- os_service_types/data/service-types.json | 130 +++++++++++------------ os_service_types/tests/base.py | 6 +- 2 files changed, 68 insertions(+), 68 deletions(-) diff --git a/os_service_types/data/service-types.json b/os_service_types/data/service-types.json index b562ca5..5651fc7 100644 --- a/os_service_types/data/service-types.json +++ b/os_service_types/data/service-types.json @@ -230,7 +230,7 @@ "aliases": [ "registration" ], - "api_reference": "https://developer.openstack.org/api-ref/admin-logic/", + "api_reference": "https://docs.openstack.org/api-ref/admin-logic/", "project": "adjutant", "service_type": "admin-logic" }, @@ -248,7 +248,7 @@ "service_type": "key-manager" }, "blazar": { - "api_reference": "https://developer.openstack.org/api-ref/reservation/", + "api_reference": "https://docs.openstack.org/api-ref/reservation/", "project": "blazar", "service_type": "reservation" }, @@ -268,7 +268,7 @@ "volume", "block-store" ], - "api_reference": "https://developer.openstack.org/api-ref/block-storage/", + "api_reference": "https://docs.openstack.org/api-ref/block-storage/", "project": "cinder", "service_type": "block-storage" }, @@ -291,27 +291,27 @@ "service_type": "accelerator" }, "designate": { - "api_reference": "https://developer.openstack.org/api-ref/dns/", + "api_reference": "https://docs.openstack.org/api-ref/dns/", "project": "designate", "service_type": "dns" }, "ec2-api": { - "api_reference": "https://developer.openstack.org/api-ref/ec2-api/", + "api_reference": "https://docs.openstack.org/api-ref/ec2-api/", "project": "ec2-api", "service_type": "ec2-api" }, "freezer-api": { - "api_reference": "https://developer.openstack.org/api-ref/backup/", + "api_reference": "https://docs.openstack.org/api-ref/backup/", "project": "freezer-api", "service_type": "backup" }, "glance": { - "api_reference": "https://developer.openstack.org/api-ref/image/", + "api_reference": "https://docs.openstack.org/api-ref/image/", "project": "glance", "service_type": "image" }, "heat": { - "api_reference": "https://developer.openstack.org/api-ref/orchestration/", + "api_reference": "https://docs.openstack.org/api-ref/orchestration/", "project": "heat", "service_type": "orchestration" }, @@ -319,7 +319,7 @@ "aliases": [ "bare-metal" ], - "api_reference": "https://developer.openstack.org/api-ref/baremetal/", + "api_reference": "https://docs.openstack.org/api-ref/baremetal/", "project": "ironic", "service_type": "baremetal" }, @@ -329,12 +329,12 @@ "service_type": "baremetal-introspection" }, "karbor": { - "api_reference": "https://developer.openstack.org/api-ref/data-protection-orchestration/", + "api_reference": "https://docs.openstack.org/api-ref/data-protection-orchestration/", "project": "karbor", "service_type": "data-protection-orchestration" }, "keystone": { - "api_reference": "https://developer.openstack.org/api-ref/identity/", + "api_reference": "https://docs.openstack.org/api-ref/identity/", "project": "keystone", "service_type": "identity" }, @@ -343,7 +343,7 @@ "container-infrastructure", "container-infra" ], - "api_reference": "https://developer.openstack.org/api-ref/container-infrastructure-management/", + "api_reference": "https://docs.openstack.org/api-ref/container-infrastructure-management/", "project": "magnum", "service_type": "container-infrastructure-management" }, @@ -352,7 +352,7 @@ "sharev2", "share" ], - "api_reference": "https://developer.openstack.org/api-ref/shared-file-system/", + "api_reference": "https://docs.openstack.org/api-ref/shared-file-system/", "project": "manila", "service_type": "shared-file-system" }, @@ -360,7 +360,7 @@ "aliases": [ "ha" ], - "api_reference": "https://developer.openstack.org/api-ref/instance-ha/", + "api_reference": "https://docs.openstack.org/api-ref/instance-ha/", "project": "masakari", "service_type": "instance-ha" }, @@ -373,12 +373,12 @@ "service_type": "workflow" }, "monasca-api": { - "api_reference": "https://developer.openstack.org/api-ref/monitoring/", + "api_reference": "https://docs.openstack.org/api-ref/monitoring/", "project": "monasca-api", "service_type": "monitoring" }, "monasca-events-api": { - "api_reference": "https://developer.openstack.org/api-ref/monitoring-events/", + "api_reference": "https://docs.openstack.org/api-ref/monitoring-events/", "project": "monasca-events-api", "service_type": "monitoring-events" }, @@ -386,34 +386,34 @@ "aliases": [ "monitoring-log-api" ], - "api_reference": "https://developer.openstack.org/api-ref/monitoring-logging/", + "api_reference": "https://docs.openstack.org/api-ref/monitoring-logging/", "project": "monasca-log-api", "service_type": "monitoring-logging" }, "murano": { - "api_reference": "https://developer.openstack.org/api-ref/application-catalog/", + "api_reference": "https://docs.openstack.org/api-ref/application-catalog/", "project": "murano", "service_type": "application-catalog" }, "neutron": { - "api_reference": "https://developer.openstack.org/api-ref/network/", + "api_reference": "https://docs.openstack.org/api-ref/network/", "api_reference_project": "neutron-lib", "project": "neutron", "service_type": "network" }, "neutron-lib": { - "api_reference": "https://developer.openstack.org/api-ref/network/", + "api_reference": "https://docs.openstack.org/api-ref/network/", "api_reference_project": "neutron-lib", "project": "neutron", "service_type": "network" }, "nova": { - "api_reference": "https://developer.openstack.org/api-ref/compute/", + "api_reference": "https://docs.openstack.org/api-ref/compute/", "project": "nova", "service_type": "compute" }, "octavia": { - "api_reference": "https://developer.openstack.org/api-ref/load-balancer/", + "api_reference": "https://docs.openstack.org/api-ref/load-balancer/", "project": "octavia", "service_type": "load-balancer" }, @@ -426,22 +426,22 @@ "service_type": "event" }, "placement": { - "api_reference": "https://developer.openstack.org/api-ref/placement/", + "api_reference": "https://docs.openstack.org/api-ref/placement/", "project": "placement", "service_type": "placement" }, "qinling": { - "api_reference": "https://developer.openstack.org/api-ref/function-engine/", + "api_reference": "https://docs.openstack.org/api-ref/function-engine/", "project": "qinling", "service_type": "function-engine" }, "sahara": { - "api_reference": "https://developer.openstack.org/api-ref/data-processing/", + "api_reference": "https://docs.openstack.org/api-ref/data-processing/", "project": "sahara", "service_type": "data-processing" }, "searchlight": { - "api_reference": "https://developer.openstack.org/api-ref/search/", + "api_reference": "https://docs.openstack.org/api-ref/search/", "project": "searchlight", "service_type": "search" }, @@ -450,7 +450,7 @@ "resource-cluster", "cluster" ], - "api_reference": "https://developer.openstack.org/api-ref/clustering/", + "api_reference": "https://docs.openstack.org/api-ref/clustering/", "project": "senlin", "service_type": "clustering" }, @@ -463,12 +463,12 @@ "service_type": "application-deployment" }, "swift": { - "api_reference": "https://developer.openstack.org/api-ref/object-store/", + "api_reference": "https://docs.openstack.org/api-ref/object-store/", "project": "swift", "service_type": "object-store" }, "tacker": { - "api_reference": "https://developer.openstack.org/api-ref/nfv-orchestration/", + "api_reference": "https://docs.openstack.org/api-ref/nfv-orchestration/", "project": "tacker", "service_type": "nfv-orchestration" }, @@ -481,7 +481,7 @@ "service_type": "multi-region-network-automation" }, "trove": { - "api_reference": "https://developer.openstack.org/api-ref/database/", + "api_reference": "https://docs.openstack.org/api-ref/database/", "project": "trove", "service_type": "database" }, @@ -497,7 +497,7 @@ "aliases": [ "infra-optim" ], - "api_reference": "https://developer.openstack.org/api-ref/resource-optimization/", + "api_reference": "https://docs.openstack.org/api-ref/resource-optimization/", "project": "watcher", "service_type": "resource-optimization" }, @@ -505,7 +505,7 @@ "aliases": [ "messaging" ], - "api_reference": "https://developer.openstack.org/api-ref/message/", + "api_reference": "https://docs.openstack.org/api-ref/message/", "project": "zaqar", "service_type": "message" }, @@ -513,7 +513,7 @@ "aliases": [ "container" ], - "api_reference": "https://developer.openstack.org/api-ref/application-container/", + "api_reference": "https://docs.openstack.org/api-ref/application-container/", "project": "zun", "service_type": "application-container" } @@ -685,27 +685,27 @@ }, "services": [ { - "api_reference": "https://developer.openstack.org/api-ref/identity/", + "api_reference": "https://docs.openstack.org/api-ref/identity/", "project": "keystone", "service_type": "identity" }, { - "api_reference": "https://developer.openstack.org/api-ref/compute/", + "api_reference": "https://docs.openstack.org/api-ref/compute/", "project": "nova", "service_type": "compute" }, { - "api_reference": "https://developer.openstack.org/api-ref/image/", + "api_reference": "https://docs.openstack.org/api-ref/image/", "project": "glance", "service_type": "image" }, { - "api_reference": "https://developer.openstack.org/api-ref/load-balancer/", + "api_reference": "https://docs.openstack.org/api-ref/load-balancer/", "project": "octavia", "service_type": "load-balancer" }, { - "api_reference": "https://developer.openstack.org/api-ref/object-store/", + "api_reference": "https://docs.openstack.org/api-ref/object-store/", "project": "swift", "service_type": "object-store" }, @@ -714,12 +714,12 @@ "resource-cluster", "cluster" ], - "api_reference": "https://developer.openstack.org/api-ref/clustering/", + "api_reference": "https://docs.openstack.org/api-ref/clustering/", "project": "senlin", "service_type": "clustering" }, { - "api_reference": "https://developer.openstack.org/api-ref/data-processing/", + "api_reference": "https://docs.openstack.org/api-ref/data-processing/", "project": "sahara", "service_type": "data-processing" }, @@ -727,7 +727,7 @@ "aliases": [ "bare-metal" ], - "api_reference": "https://developer.openstack.org/api-ref/baremetal/", + "api_reference": "https://docs.openstack.org/api-ref/baremetal/", "project": "ironic", "service_type": "baremetal" }, @@ -742,7 +742,7 @@ "service_type": "key-manager" }, { - "api_reference": "https://developer.openstack.org/api-ref/ec2-api/", + "api_reference": "https://docs.openstack.org/api-ref/ec2-api/", "project": "ec2-api", "service_type": "ec2-api" }, @@ -750,7 +750,7 @@ "aliases": [ "infra-optim" ], - "api_reference": "https://developer.openstack.org/api-ref/resource-optimization/", + "api_reference": "https://docs.openstack.org/api-ref/resource-optimization/", "project": "watcher", "service_type": "resource-optimization" }, @@ -758,12 +758,12 @@ "aliases": [ "messaging" ], - "api_reference": "https://developer.openstack.org/api-ref/message/", + "api_reference": "https://docs.openstack.org/api-ref/message/", "project": "zaqar", "service_type": "message" }, { - "api_reference": "https://developer.openstack.org/api-ref/application-catalog/", + "api_reference": "https://docs.openstack.org/api-ref/application-catalog/", "project": "murano", "service_type": "application-catalog" }, @@ -772,17 +772,17 @@ "container-infrastructure", "container-infra" ], - "api_reference": "https://developer.openstack.org/api-ref/container-infrastructure-management/", + "api_reference": "https://docs.openstack.org/api-ref/container-infrastructure-management/", "project": "magnum", "service_type": "container-infrastructure-management" }, { - "api_reference": "https://developer.openstack.org/api-ref/search/", + "api_reference": "https://docs.openstack.org/api-ref/search/", "project": "searchlight", "service_type": "search" }, { - "api_reference": "https://developer.openstack.org/api-ref/dns/", + "api_reference": "https://docs.openstack.org/api-ref/dns/", "project": "designate", "service_type": "dns" }, @@ -812,17 +812,17 @@ "sharev2", "share" ], - "api_reference": "https://developer.openstack.org/api-ref/shared-file-system/", + "api_reference": "https://docs.openstack.org/api-ref/shared-file-system/", "project": "manila", "service_type": "shared-file-system" }, { - "api_reference": "https://developer.openstack.org/api-ref/data-protection-orchestration/", + "api_reference": "https://docs.openstack.org/api-ref/data-protection-orchestration/", "project": "karbor", "service_type": "data-protection-orchestration" }, { - "api_reference": "https://developer.openstack.org/api-ref/orchestration/", + "api_reference": "https://docs.openstack.org/api-ref/orchestration/", "project": "heat", "service_type": "orchestration" }, @@ -833,7 +833,7 @@ "volume", "block-store" ], - "api_reference": "https://developer.openstack.org/api-ref/block-storage/", + "api_reference": "https://docs.openstack.org/api-ref/block-storage/", "project": "cinder", "service_type": "block-storage" }, @@ -879,7 +879,7 @@ "service_type": "multi-region-network-automation" }, { - "api_reference": "https://developer.openstack.org/api-ref/database/", + "api_reference": "https://docs.openstack.org/api-ref/database/", "project": "trove", "service_type": "database" }, @@ -887,7 +887,7 @@ "aliases": [ "container" ], - "api_reference": "https://developer.openstack.org/api-ref/application-container/", + "api_reference": "https://docs.openstack.org/api-ref/application-container/", "project": "zun", "service_type": "application-container" }, @@ -900,18 +900,18 @@ "service_type": "root-cause-analysis" }, { - "api_reference": "https://developer.openstack.org/api-ref/nfv-orchestration/", + "api_reference": "https://docs.openstack.org/api-ref/nfv-orchestration/", "project": "tacker", "service_type": "nfv-orchestration" }, { - "api_reference": "https://developer.openstack.org/api-ref/network/", + "api_reference": "https://docs.openstack.org/api-ref/network/", "api_reference_project": "neutron-lib", "project": "neutron", "service_type": "network" }, { - "api_reference": "https://developer.openstack.org/api-ref/backup/", + "api_reference": "https://docs.openstack.org/api-ref/backup/", "project": "freezer-api", "service_type": "backup" }, @@ -919,22 +919,22 @@ "aliases": [ "monitoring-log-api" ], - "api_reference": "https://developer.openstack.org/api-ref/monitoring-logging/", + "api_reference": "https://docs.openstack.org/api-ref/monitoring-logging/", "project": "monasca-log-api", "service_type": "monitoring-logging" }, { - "api_reference": "https://developer.openstack.org/api-ref/monitoring/", + "api_reference": "https://docs.openstack.org/api-ref/monitoring/", "project": "monasca-api", "service_type": "monitoring" }, { - "api_reference": "https://developer.openstack.org/api-ref/monitoring-events/", + "api_reference": "https://docs.openstack.org/api-ref/monitoring-events/", "project": "monasca-events-api", "service_type": "monitoring-events" }, { - "api_reference": "https://developer.openstack.org/api-ref/placement/", + "api_reference": "https://docs.openstack.org/api-ref/placement/", "project": "placement", "service_type": "placement" }, @@ -942,17 +942,17 @@ "aliases": [ "ha" ], - "api_reference": "https://developer.openstack.org/api-ref/instance-ha/", + "api_reference": "https://docs.openstack.org/api-ref/instance-ha/", "project": "masakari", "service_type": "instance-ha" }, { - "api_reference": "https://developer.openstack.org/api-ref/reservation/", + "api_reference": "https://docs.openstack.org/api-ref/reservation/", "project": "blazar", "service_type": "reservation" }, { - "api_reference": "https://developer.openstack.org/api-ref/function-engine/", + "api_reference": "https://docs.openstack.org/api-ref/function-engine/", "project": "qinling", "service_type": "function-engine" }, @@ -965,7 +965,7 @@ "aliases": [ "registration" ], - "api_reference": "https://developer.openstack.org/api-ref/admin-logic/", + "api_reference": "https://docs.openstack.org/api-ref/admin-logic/", "project": "adjutant", "service_type": "admin-logic" } diff --git a/os_service_types/tests/base.py b/os_service_types/tests/base.py index 6a76dd5..08eabd6 100644 --- a/os_service_types/tests/base.py +++ b/os_service_types/tests/base.py @@ -151,7 +151,7 @@ class ServiceDataMixin(object): service_data = self.service_types.get_service_data(self.service_type) # TODO(mordred) Once all the docs have been aligned, remove # self.api_reference and replace with self.service_type - api_url = 'https://developer.openstack.org/api-ref/{api_reference}/' + api_url = 'https://docs.openstack.org/api-ref/{api_reference}/' # Tests self.official here, since we expect to get data back for all # official projects, regardless of service_type being an alias or not @@ -170,7 +170,7 @@ class ServiceDataMixin(object): self.service_type) # TODO(mordred) Once all the docs have been aligned, remove # self.api_reference and replace with self.service_type - api_url = 'https://developer.openstack.org/api-ref/{api_reference}/' + api_url = 'https://docs.openstack.org/api-ref/{api_reference}/' # Tests self.is_official here, since we expect only get data back for # official projects. @@ -203,7 +203,7 @@ class ServiceDataMixin(object): self.project) # TODO(mordred) Once all the docs have been aligned, remove # self.api_reference and replace with self.service_type - api_url = 'https://developer.openstack.org/api-ref/{api_reference}/' + api_url = 'https://docs.openstack.org/api-ref/{api_reference}/' self.assertIsNotNone(service_data) if self.api_reference_project: