From 140ff03920644a3a74282fd0a7652180fe827146 Mon Sep 17 00:00:00 2001
From: OpenDev Sysadmins <openstack-infra@lists.openstack.org>
Date: Fri, 19 Apr 2019 19:49:48 +0000
Subject: [PATCH] OpenDev Migration Patch

This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
---
 .gitreview                       |  4 ++--
 .zuul.d/zuul.yaml                | 10 +++++-----
 roles/ara_api/defaults/main.yaml |  2 +-
 roles/ara_tests/tasks/main.yaml  |  2 +-
 roles/ara_web/defaults/main.yaml |  2 +-
 5 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/.gitreview b/.gitreview
index 66de0a43..36da8e69 100644
--- a/.gitreview
+++ b/.gitreview
@@ -1,5 +1,5 @@
 [gerrit]
-host=review.openstack.org
+host=review.opendev.org
 port=29418
-project=openstack/ara
+project=recordsansible/ara
 defaultbranch=feature/1.0
diff --git a/.zuul.d/zuul.yaml b/.zuul.d/zuul.yaml
index 5fd00cc7..45023843 100644
--- a/.zuul.d/zuul.yaml
+++ b/.zuul.d/zuul.yaml
@@ -61,7 +61,7 @@
     pre-run: tests/role-integration-pre.yaml
     run: playbooks/ara_api.yaml
     vars:
-      ara_api_source: "{{ ansible_user_dir }}/src/git.openstack.org/openstack/ara"
+      ara_api_source: "{{ ansible_user_dir }}/src/opendev.org/recordsansible/ara"
       ansible_python_interpreter: /usr/bin/python3
 
 - job:
@@ -94,11 +94,11 @@
       - package.json
       - package-lock.json
     required-projects:
-      - openstack/ara-web
+      - recordsansible/ara-web
     run: playbooks/ara_web.yaml
     post-run: tests/role-ara-web-post.yaml
     vars:
-      ara_web_source: "{{ ansible_user_dir }}/src/git.openstack.org/openstack/ara-web"
+      ara_web_source: "{{ ansible_user_dir }}/src/opendev.org/recordsansible/ara-web"
       ara_web_api_server: "https://api.demo.recordsansible.org"
       ansible_python_interpreter: /usr/bin/python3
 
@@ -163,8 +163,8 @@
 - job:
     name: ara-upload-git-mirror
     parent: upload-git-mirror
-    description: Mirrors openstack/ara to ansible-community/ara
-    allowed-projects: openstack/ara
+    description: Mirrors recordsansible/ara to ansible-community/ara
+    allowed-projects: recordsansible/ara
     vars:
       git_mirror_repository: ansible-community/ara
     secrets:
diff --git a/roles/ara_api/defaults/main.yaml b/roles/ara_api/defaults/main.yaml
index 77d14cd2..f5f7d659 100644
--- a/roles/ara_api/defaults/main.yaml
+++ b/roles/ara_api/defaults/main.yaml
@@ -37,7 +37,7 @@ ara_api_install_method: source
 
 # When installing from source, the URL or filesystem path where the git source
 # repository can be cloned from.
-ara_api_source: "https://git.openstack.org/openstack/ara"
+ara_api_source: "https://opendev.org/recordsansible/ara"
 
 # When installing from source, location where the source repository will be checked out to.
 ara_api_source_checkout: "{{ ara_api_root_dir }}/git/ara"
diff --git a/roles/ara_tests/tasks/main.yaml b/roles/ara_tests/tasks/main.yaml
index c922650c..3c1d1bed 100644
--- a/roles/ara_tests/tasks/main.yaml
+++ b/roles/ara_tests/tasks/main.yaml
@@ -29,7 +29,7 @@
 
 - name: Set location of the git repository with Zuul
   set_fact:
-    _ara_tests_repository: "{{ ansible_user_dir }}/src/git.openstack.org/openstack/ara"
+    _ara_tests_repository: "{{ ansible_user_dir }}/src/opendev.org/recordsansible/ara"
   when: zuul is defined
 
 - name: Set location of the git repository without Zuul
diff --git a/roles/ara_web/defaults/main.yaml b/roles/ara_web/defaults/main.yaml
index b7319414..e91c3fe3 100644
--- a/roles/ara_web/defaults/main.yaml
+++ b/roles/ara_web/defaults/main.yaml
@@ -28,7 +28,7 @@ ara_web_static_dir: "{{ ara_web_root_dir }}/www/ara-web"
 ara_web_install_method: source
 
 # When installing from source, the location of the remote or local git repository
-ara_web_source: "https://git.openstack.org/openstack/ara-web"
+ara_web_source: "https://opendev.org/recordsansible/ara-web"
 
 # Location where ara-web will be checked out
 ara_web_source_checkout: "{{ ara_web_root_dir }}/git/ara-web"