summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVan Hung Pham <hungpv@vn.fujitsu.com>2017-06-13 10:19:50 +0700
committerVan Hung Pham <hungpv@vn.fujitsu.com>2017-06-13 10:20:56 +0700
commitd0f8de0eb6dc9b88632a6566880e4902f1597560 (patch)
treecace1490ea21f8d8fd765a172d10fb1ab954db55
parent7dc7ff1e3d4c8dbf4550af598dbe991151bbd457 (diff)
downloadoslo-context-d0f8de0eb6dc9b88632a6566880e4902f1597560.tar.gz
Optimize the link address2.15.0
Update link address to ensure safety and preciseness Change-Id: Id193a5cefa3220036df69f5ca48aadc7ae02890b
-rw-r--r--CONTRIBUTING.rst4
-rw-r--r--HACKING.rst4
-rw-r--r--README.rst10
-rw-r--r--doc/source/examples.rst2
-rw-r--r--doc/source/examples/usage.py2
-rw-r--r--doc/source/examples/usage_simple.py2
-rw-r--r--doc/source/examples/usage_user_identity.py2
-rw-r--r--doc/source/usage.rst10
-rw-r--r--oslo_context/context.py2
-rw-r--r--setup.cfg2
10 files changed, 20 insertions, 20 deletions
diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst
index 31f7fdd..7075126 100644
--- a/CONTRIBUTING.rst
+++ b/CONTRIBUTING.rst
@@ -1,13 +1,13 @@
If you would like to contribute to the development of OpenStack,
you must follow the steps in this page:
- http://docs.openstack.org/infra/manual/developers.html
+ https://docs.openstack.org/infra/manual/developers.html
Once those steps have been completed, changes to OpenStack
should be submitted for review via the Gerrit tool, following
the workflow documented at:
- http://docs.openstack.org/infra/manual/developers.html#development-workflow
+ https://docs.openstack.org/infra/manual/developers.html#development-workflow
Pull requests submitted through GitHub will be ignored.
diff --git a/HACKING.rst b/HACKING.rst
index ef0558b..5c3da69 100644
--- a/HACKING.rst
+++ b/HACKING.rst
@@ -1,4 +1,4 @@
oslo.context Style Commandments
-======================================================
+===============================
-Read the OpenStack Style Commandments http://docs.openstack.org/developer/hacking/
+Read the OpenStack Style Commandments https://docs.openstack.org/developer/hacking/
diff --git a/README.rst b/README.rst
index 2c1133d..7c2aad6 100644
--- a/README.rst
+++ b/README.rst
@@ -2,8 +2,8 @@
Team and repository tags
========================
-.. image:: http://governance.openstack.org/badges/oslo.context.svg
- :target: http://governance.openstack.org/reference/tags/index.html
+.. image:: https://governance.openstack.org/badges/oslo.context.svg
+ :target: https://governance.openstack.org/reference/tags/index.html
.. Change things from this point on
@@ -24,6 +24,6 @@ about a request context. The request context is usually populated in
the WSGI pipeline and used by various modules such as logging.
* License: Apache License, Version 2.0
-* Documentation: http://docs.openstack.org/developer/oslo.context
-* Source: http://git.openstack.org/cgit/openstack/oslo.context
-* Bugs: http://bugs.launchpad.net/oslo.context
+* Documentation: https://docs.openstack.org/developer/oslo.context
+* Source: https://git.openstack.org/cgit/openstack/oslo.context
+* Bugs: https://bugs.launchpad.net/oslo.context
diff --git a/doc/source/examples.rst b/doc/source/examples.rst
index 798a027..c5d2f70 100644
--- a/doc/source/examples.rst
+++ b/doc/source/examples.rst
@@ -8,7 +8,7 @@ These files can be found in the doc/source/examples directory of
the git source of this project. They can also be found at the
`online git repository`_ of this project.
-.. _online git repository: http://git.openstack.org/cgit/openstack/oslo.context/tree/doc/source/examples
+.. _online git repository: https://git.openstack.org/cgit/openstack/oslo.context/tree/doc/source/examples
.. _example_usage_simple.py:
diff --git a/doc/source/examples/usage.py b/doc/source/examples/usage.py
index d7d18e5..aa5318f 100644
--- a/doc/source/examples/usage.py
+++ b/doc/source/examples/usage.py
@@ -22,7 +22,7 @@ $ pip install oslo.context oslo.log
More information can be found at:
- http://docs.openstack.org/developer/oslo.context/usage.html
+ https://docs.openstack.org/developer/oslo.context/usage.html
"""
from oslo_config import cfg
diff --git a/doc/source/examples/usage_simple.py b/doc/source/examples/usage_simple.py
index 4755395..3c247f8 100644
--- a/doc/source/examples/usage_simple.py
+++ b/doc/source/examples/usage_simple.py
@@ -22,7 +22,7 @@ $ pip install oslo.context oslo.log
More information can be found at:
- http://docs.openstack.org/developer/oslo.context/usage.html
+ https://docs.openstack.org/developer/oslo.context/usage.html
"""
from oslo_config import cfg
diff --git a/doc/source/examples/usage_user_identity.py b/doc/source/examples/usage_user_identity.py
index 609f696..c0a2c4f 100644
--- a/doc/source/examples/usage_user_identity.py
+++ b/doc/source/examples/usage_user_identity.py
@@ -22,7 +22,7 @@ $ pip install oslo.context oslo.log
More information can be found at:
- http://docs.openstack.org/developer/oslo.context/usage.html
+ https://docs.openstack.org/developer/oslo.context/usage.html
"""
from oslo_config import cfg
diff --git a/doc/source/usage.rst b/doc/source/usage.rst
index 6674613..ef01467 100644
--- a/doc/source/usage.rst
+++ b/doc/source/usage.rst
@@ -9,7 +9,7 @@ object.
This code example demonstrates two INFO log records with varying output
format due to the use of RequestContext.
-.. _oslo.log: http://docs.openstack.org/developer/oslo.log/
+.. _oslo.log: https://docs.openstack.org/developer/oslo.log/
.. highlight:: python
.. literalinclude:: examples/usage_simple.py
@@ -31,9 +31,9 @@ The format of these log records are defined by the
configuration options respectively. The `logging_user_identity_format`_ option
also provides further context aware definition flexibility.
-.. _logging_default_format_string: http://docs.openstack.org/developer/oslo.log/opts.html#logging_default_format_string
-.. _logging_context_format_string: http://docs.openstack.org/developer/oslo.log/opts.html#logging_context_format_string
-.. _logging_user_identity_format: http://docs.openstack.org/developer/oslo.log/opts.html#logging_user_identity_format
+.. _logging_default_format_string: https://docs.openstack.org/developer/oslo.log/opts.html#logging_default_format_string
+.. _logging_context_format_string: https://docs.openstack.org/developer/oslo.log/opts.html#logging_context_format_string
+.. _logging_user_identity_format: https://docs.openstack.org/developer/oslo.log/opts.html#logging_user_identity_format
-----------------
Context Variables
@@ -101,7 +101,7 @@ to provide additional attributes that can be using with oslo.log. The Nova
`RequestContext`_ class for example provides additional variables including
user_name and project_name.
-.. _RequestContext: http://git.openstack.org/cgit/openstack/nova/tree/nova/context.py
+.. _RequestContext: https://git.openstack.org/cgit/openstack/nova/tree/nova/context.py
This can for example enable the defining of **logging_user_identity_format =
%(user_name)s %(project_name)s** which would produce a log record
diff --git a/oslo_context/context.py b/oslo_context/context.py
index cc88ff6..5f290b9 100644
--- a/oslo_context/context.py
+++ b/oslo_context/context.py
@@ -393,7 +393,7 @@ class RequestContext(object):
"""
# Load a new context object from the environment variables set by
# auth_token middleware. See:
- # http://docs.openstack.org/developer/keystonemiddleware/api/keystonemiddleware.auth_token.html#what-auth-token-adds-to-the-request-for-use-by-the-openstack-service
+ # https://docs.openstack.org/developer/keystonemiddleware/api/keystonemiddleware.auth_token.html#what-auth-token-adds-to-the-request-for-use-by-the-openstack-service
# add kwarg if not specified by user from a list of possible headers
for k, v_list in _ENVIRON_HEADERS.items():
diff --git a/setup.cfg b/setup.cfg
index bb90bcd..ab199af 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -5,7 +5,7 @@ description-file =
README.rst
author = OpenStack
author-email = openstack-dev@lists.openstack.org
-home-page = http://docs.openstack.org/developer/oslo.context
+home-page = https://docs.openstack.org/developer/oslo.context
classifier =
Environment :: OpenStack
Intended Audience :: Information Technology