From dfb32eb576a94ca807f5209ad78a6dc1944976de Mon Sep 17 00:00:00 2001 From: cdiep Date: Fri, 9 Oct 2015 16:29:30 -0700 Subject: [PATCH] Update for hosting RefStack server at OpenStack Infrastructure. Update RefStack UI and API URLs from refstack.net to refstack.openstack.net Change-Id: Icec7a451ab0683b2134cfaa151f864b093e8345e --- README.rst | 2 +- doc/uploading-private-results.md | 8 ++++---- etc/refstack.conf.sample | 4 ++-- refstack-ui/app/components/about/about.html | 2 +- refstack-ui/app/config.json.sample | 2 +- refstack/api/app.py | 8 ++++---- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.rst b/README.rst index 1dcc7e26..e76f3408 100644 --- a/README.rst +++ b/README.rst @@ -55,5 +55,5 @@ after their software has been incorporated into the distro or cloud. * Mailing List: fits@OpenStack.org * IRC: #refstack on Freenode * Dev Meetings: Mondays @ 19:00 UTC in #openstack-meeting-alt on Freenode -* Web-site: http://refstack.net +* Web-site: https://refstack.openstack.org * Wiki: https://wiki.OpenStack.org/wiki/RefStack diff --git a/doc/uploading-private-results.md b/doc/uploading-private-results.md index 5086266a..c85c9219 100644 --- a/doc/uploading-private-results.md +++ b/doc/uploading-private-results.md @@ -65,7 +65,7 @@ like below: ####Upload the ssh public key and the signature -Sign into [http://refstack.net](http://refstack.net) with +Sign into [https://refstack.openstack.org](https://refstack.openstack.org) with your OpenStack ID. Click the "Profile" link in the upper right corner. Now click the "Import public key" button on your profile page. A popup window with two entry fields will appear. Just copy and paste the key and signature @@ -75,14 +75,14 @@ complete, click the 'Import public key' button. ####Upload the test result with refstack-client -- `./refstack-client upload /path_to_testresult_json_file --url http://refstack.net/api -i ~/.ssh/id_rsa` +- `./refstack-client upload /path_to_testresult_json_file --url https://refstack.openstack.org/api -i ~/.ssh/id_rsa` The 'path\_to\_testresult\_json\_file' here is the json file of your test result. If the command runs correctly, there will be output like below: - Test results will be uploaded to http://refstack.net/api. Ok? (yes/y): y + Test results will be uploaded to https://refstack.openstack.org/api. Ok? (yes/y): y Test results uploaded! - URL: http://refstack.net/#/results/88a1e6f4-707d-4627-b658-b14b7e6ba70d. + URL: https://refstack.openstack.org/#/results/88a1e6f4-707d-4627-b658-b14b7e6ba70d. You can find your uploaded test results by clicking the 'My Results' link on the RefStack website. diff --git a/etc/refstack.conf.sample b/etc/refstack.conf.sample index 3e40ad9a..af65d549 100644 --- a/etc/refstack.conf.sample +++ b/etc/refstack.conf.sample @@ -97,7 +97,7 @@ # Url of user interface for Refstack. Need for redirects after sign in # and sign out. (string value) -#ui_url = http://refstack.net +#ui_url = https://refstack.openstack.org # The backend to use for database. (string value) #db_backend = sqlalchemy @@ -110,7 +110,7 @@ # # Url of public Refstack API. (string value) -#api_url = http://api.refstack.net +#api_url = https://refstack.openstack.org/api # The directory where your static files can be found. Pecan comes with # middleware that can be used to serve static files (like CSS and diff --git a/refstack-ui/app/components/about/about.html b/refstack-ui/app/components/about/about.html index 0db25fdc..0d7d0126 100644 --- a/refstack-ui/app/components/about/about.html +++ b/refstack-ui/app/components/about/about.html @@ -79,7 +79,7 @@
  • IRC: #refstack on Freenode
  • Dev Meetings: Mondays @ 19:00 UTC in #openstack-meeting-alt on Freenode
  • Web-site: - http://refstack.net + https://refstack.openstack.org
  • Wiki: https://wiki.OpenStack.org/wiki/RefStack diff --git a/refstack-ui/app/config.json.sample b/refstack-ui/app/config.json.sample index 8cbb065e..7cdc52b6 100644 --- a/refstack-ui/app/config.json.sample +++ b/refstack-ui/app/config.json.sample @@ -1 +1 @@ -{"refstackApiUrl": "http://api.refstack.net/v1"} +{"refstackApiUrl": "https://refstack.openstack.org/api/v1"} diff --git a/refstack/api/app.py b/refstack/api/app.py index 62d25e6c..4c286bd5 100644 --- a/refstack/api/app.py +++ b/refstack/api/app.py @@ -37,16 +37,16 @@ PROJECT_ROOT = os.path.join(os.path.dirname(os.path.abspath(__file__)), os.pardir) UI_OPTS = [ cfg.StrOpt('ui_url', - default='http://refstack.net', - help='Url of user interface for Refstack. Need for redirects ' + default='https://refstack.openstack.org', + help='Url of user interface for RefStack. Need for redirects ' 'after sign in and sign out.' ), ] API_OPTS = [ cfg.StrOpt('api_url', - default='http://refstack.net', - help='Url of public Refstack API.' + default='https://refstack.openstack.org/api', + help='Url of public RefStack API.' ), cfg.StrOpt('static_root', default='refstack-ui/app',