From 2b99217219756d472a0e4dd1fe805daa8a91145c Mon Sep 17 00:00:00 2001
From: zhulingjie <easyzlj@gmail.com>
Date: Tue, 23 Apr 2019 16:55:43 +0800
Subject: [PATCH] Replace git.openstack.org URLs with opendev.org URLs

Change-Id: If528c06d9d5ff84d9d7df8ce946a46012d148417
---
 apiary.apib                                   | 4 ++--
 devstack/barbican-vagrant/install_devstack.sh | 6 +++---
 doc/source/configuration/plugin_backends.rst  | 2 +-
 doc/source/configuration/troubleshooting.rst  | 2 +-
 doc/source/contributor/devstack.rst           | 4 ++--
 5 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/apiary.apib b/apiary.apib
index f78ba655b..faeb39fc6 100644
--- a/apiary.apib
+++ b/apiary.apib
@@ -3,10 +3,10 @@ HOST: https://dfw.barbican.api.rackspacecloud.com/v1/
 --- Barbican API v1 ---
 ---
 Barbican is a ReST based key management service. It is built with
-[OpenStack](http://www.openstack.org/) in mind, but can be used outside
+[OpenStack](https://www.openstack.org/) in mind, but can be used outside
 an OpenStack implementation.
 
-More information can be found on [GitHub](https://github.com/cloudkeep/barbican).
+More information can be found on [OpenDev](https://opendev.org/openstack/barbican).
 ---
 
 --
diff --git a/devstack/barbican-vagrant/install_devstack.sh b/devstack/barbican-vagrant/install_devstack.sh
index e5102bdb3..f646452f3 100644
--- a/devstack/barbican-vagrant/install_devstack.sh
+++ b/devstack/barbican-vagrant/install_devstack.sh
@@ -4,12 +4,12 @@ export DEBIAN_FRONTEND=noninteractive
 sudo apt-get update
 sudo apt-get install -y python-pip python-dev libffi-dev libssl-dev git
 
-git clone https://github.com/openstack-dev/devstack.git
-git clone https://github.com/openstack/barbican.git
+git clone https://opendev.org/openstack/devstack.git
+git clone https://opendev.org/openstack/barbican.git
 
 cp barbican/devstack/local.conf.example devstack/local.conf
 
 sudo cp -R devstack/ /opt/stack/
 sudo chown -R vagrant:vagrant /opt/stack/
 
-echo "export SERVICE_HOST=\"localhost\"" >> .bashrc
\ No newline at end of file
+echo "export SERVICE_HOST=\"localhost\"" >> .bashrc
diff --git a/doc/source/configuration/plugin_backends.rst b/doc/source/configuration/plugin_backends.rst
index f3662eee8..ef38c22f9 100644
--- a/doc/source/configuration/plugin_backends.rst
+++ b/doc/source/configuration/plugin_backends.rst
@@ -15,7 +15,7 @@ choose to select preferred plugin backend for storing their secret at a project
 level.
 
 
-.. _Spec Link: https://review.openstack.org/#/c/263972
+.. _Spec Link: https://review.opendev.org/#/c/263972
 
 
 Enabling Multiple Barbican Backends
diff --git a/doc/source/configuration/troubleshooting.rst b/doc/source/configuration/troubleshooting.rst
index fdeca20eb..4eaa33dbe 100644
--- a/doc/source/configuration/troubleshooting.rst
+++ b/doc/source/configuration/troubleshooting.rst
@@ -201,7 +201,7 @@ An attempt to call the olso.config's ``register_cli_opt()`` function after the
 configuration arguments were 'parsed' (see the comments and method in
 `the oslo.config project's cfg.py file`__ for details.
 
-__ https://github.com/openstack/oslo.config/blob/master/oslo_config/cfg.py
+__ https://opendev.org/openstack/oslo.config/src/branch/master/oslo_config/cfg.py
 
 
 How to avoid
diff --git a/doc/source/contributor/devstack.rst b/doc/source/contributor/devstack.rst
index 9367547b2..a7c088aa6 100644
--- a/doc/source/contributor/devstack.rst
+++ b/doc/source/contributor/devstack.rst
@@ -38,7 +38,7 @@ running on Devstack.
 
     .. code-block:: bash
 
-        git clone https://github.com/openstack/barbican.git
+        git clone https://opendev.org/openstack/barbican.git
 
 2. Move the ``barbican-vagrant`` directory outside of the Barbican directory
    and into your current directory for vagrant files. If you do not have one,
@@ -106,7 +106,7 @@ Installation
 
     .. code-block:: bash
 
-        git clone https://github.com/openstack-dev/devstack.git
+        git clone https://opendev.org/openstack/devstack.git
 
 4. Add the Barbican plugin to the local.conf file and verify the minimum
    services required are included. You can pull down a specific branch by