heat/heat/common
huangtianhua 2314ed85c2 To use id instead of name when making credentials from context
If tenant_name or user_name has chinese characters,
an 'UnicodeEncodeError' exception raised when making
credentials from request context.
There are two solutions to fix this problem:
1. Call encodeutils.safe_encode to encode the tenant_name
with utf-8 before using.
2. Modify to use tenant_id/user_id instead
of name as other OpenStack projects(Nova, Cinder, Neutron...)
did.

This patch select the  option2 to fix the problem.

Change-Id: I2510405b7b2cc9125828a19a151a56bcd44c2222
Closes-Bug: #1488754
2015-09-03 00:53:19 +00:00
..
__init__.py Empty files shouldn't contain copyright nor license 2013-12-24 20:29:31 +08:00
auth_password.py Update logging according oslo.i18n recommendations 2015-06-29 15:37:04 +01:00
auth_url.py Correctly determine keystone v3 endpoint 2015-08-12 21:00:04 +00:00
cache.py Enable caching for property constraints 2015-07-22 09:22:04 +00:00
config.py Adds resource uuid, volume support to lifecycle scheduler hints 2015-08-27 12:05:39 -04:00
context.py To use id instead of name when making credentials from context 2015-09-03 00:53:19 +00:00
crypt.py py34: heat.tests.db.* 2015-08-01 20:50:55 +05:30
custom_backend_auth.py Don't use a different thread local store to oslo.log 2015-03-24 11:28:31 +10:00
environment_format.py Encrypt Heat template hidden parameters 2015-05-12 10:50:49 -05:00
exception.py Add resource_type-specific policies 2015-08-25 15:37:26 +03:00
grouputils.py Don't raise exception when get nested stack 2015-08-07 14:26:07 +08:00
heat_keystoneclient.py Correctly determine keystone v3 endpoint 2015-08-12 21:00:04 +00:00
i18n.py Make import of oslo libraries namespaceless 2015-02-18 22:54:10 +01:00
identifier.py Make import of oslo libraries namespaceless 2015-02-18 22:54:10 +01:00
lifecycle_plugin_utils.py Update logging according oslo.i18n recommendations 2015-06-29 15:37:04 +01:00
messaging.py Fix some new PEP8 errors found at gate 2015-03-24 11:13:50 +08:00
param_utils.py Raise HTTPBadRequest instead of ValueError for API validation 2015-05-27 03:48:44 +00:00
plugin_loader.py Update the rest of the code to satisfy flake8 in a py34 env 2015-04-24 11:53:43 +05:30
policy.py Add resource_type-specific policies 2015-08-25 15:37:26 +03:00
profiler.py Make import of oslo libraries namespaceless 2015-02-18 22:54:10 +01:00
serializers.py py34: heat.tests.test_common_serializers 2015-08-26 13:09:04 +05:30
service_utils.py Make import of oslo libraries namespaceless 2015-02-18 22:54:10 +01:00
short_id.py Port short_id to return unicode 2015-07-09 07:15:49 +00:00
template_format.py Fixes JSON to YAML conversion bug 2015-06-25 07:32:34 -07:00
timeutils.py Refactor timeout calculation to utility 2015-07-18 08:51:59 +05:30
urlfetch.py Make import of oslo libraries namespaceless 2015-02-18 22:54:10 +01:00
wsgi.py Merge "py34: heat.tests.api (1)" 2015-09-01 10:40:23 +00:00