From 54344208fcd2acbe6edadf7be7eaea8307a78bca Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 22 Jul 2019 19:00:11 +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: I4101eced9c4bd26741f760e5651204f5d2dfea0f --- doc/source/architecture.rst | 2 +- doc/source/index.rst | 2 +- watcher/common/placement_helper.py | 2 +- watcher/decision_engine/model/element/volume.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/source/architecture.rst b/doc/source/architecture.rst index 6df6f1f90..047d23713 100644 --- a/doc/source/architecture.rst +++ b/doc/source/architecture.rst @@ -479,4 +479,4 @@ change to a new value: -.. _Watcher API: https://developer.openstack.org/api-ref/resource-optimization/ +.. _Watcher API: https://docs.openstack.org/api-ref/resource-optimization/ diff --git a/doc/source/index.rst b/doc/source/index.rst index 83069cc46..1fb8e80ed 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -83,7 +83,7 @@ API References .. toctree:: :maxdepth: 1 - API Reference + API Reference Watcher API Microversion History Plugins diff --git a/watcher/common/placement_helper.py b/watcher/common/placement_helper.py index 405bbcb28..7c34bcb90 100644 --- a/watcher/common/placement_helper.py +++ b/watcher/common/placement_helper.py @@ -33,7 +33,7 @@ class PlacementHelper(object): @staticmethod def get_error_msg(resp): json_resp = resp.json() - # https://developer.openstack.org/api-ref/placement/#errors + # https://docs.openstack.org/api-ref/placement/#errors if 'errors' in json_resp: error_msg = json_resp['errors'][0].get('detail') else: diff --git a/watcher/decision_engine/model/element/volume.py b/watcher/decision_engine/model/element/volume.py index ededef5e4..c3e08f45a 100644 --- a/watcher/decision_engine/model/element/volume.py +++ b/watcher/decision_engine/model/element/volume.py @@ -22,7 +22,7 @@ from watcher.objects import fields as wfields class VolumeState(enum.Enum): - # https://developer.openstack.org/api-ref/block-storage/v3/#volumes-volumes + # https://docs.openstack.org/api-ref/block-storage/v3/#volumes-volumes CREATING = 'creating' AVAILABLE = 'available'