Avoid redefinition of test

test_add_member() is defined twice under the same
name, however checking for different things. Rename
the 2nd instance to _unauthorized to avoid overwriting
the first implementation.

The first check is actually duplicate to test_add_member_positive.
So merging the first check with test_add_member_positive.

Change-Id: Ifb029d8f34f9f4139557bb9b197492fb344a598e
Changed header from LLC to Foundation based on trademark policies

Fixes: Bug 1214176

Change-Id: I4e394c33d810fe7d48066ff7cb6143f7eae25f13
Log a message when image object not found in swift

We should log when a request for an image object in swift returns a 404.

Fix for bug 1227786.

Change-Id: I27a970840cf448196245ba1e58523b9e0b1495f5
Convert Windows to Unix style line endings

This is more consistent with other files and fixes
Hacking warning H601.

Change-Id: I2ba5436df78dc82ca48bf53bc178106edd514f4c
Cleanup and make HACKING.rst DRYer

Reference the OpenStack hacking guide in HACKING.rst and remove
duplicate entries. Adds placeholder section for glance specific
rules.

Change-Id: I1bfff8c69c9370e2d648197b7e71e229695ef627
checking length of argument list in "glance-cache-image" command

Currently, "image id" is got by "pop" method without checking length
of argument list in "queue_image" method(glance/cmd/cache_manage.py)

Consequently, only last element of argument list is used,
other elements are ignored.
 ex)
  glance-cache-image queue-image <image-id1> <image-id2> <image-id3>
  -> <image-id3> is selected and queued.
     <image-id1>/<image-id2> is ignored.

Because "glance-cache-image" command is user command(*),
I think that elements which are ignored should not be existed
and checking of length is essential.

In order to check length, I replaced "try/except" statement with
"if/else" statement.

Also, I modified 2 methods at the same point.
 -delete_queued_image
 -delete_cached_image

 * http://docs.openstack.org/developer/glance/cache.html

Change-Id: I5cff1f9b5fe8f718ca74f1c9f58dba469396dc8f
Closes-Bug: #1236709
Documentation for using policies for protected properties

Add documentation for using policies to describe
property protections.

Related to bp api-v2-property-protection

Change-Id: Ic1fc4d3d69dee7ba65462a5bda6cdbe1a266077e
Remove redundant dependencies in test-requirements

Hacking 0.7 already pins down pep8, pyflakes and flake8 so they can be
removed from test-requirements as they are indirect dependencies.

Co-author: Joe Gordon <joe.gordon0@gmail.com>

Change-Id: Ia9f50e35f292ba35f8ca036cd66c930a3ad46ffd
Use HTTP storage to test copy file functionality

The copy file functionality should be tested using Filesystem and HTTP
backend stores instead of S3 and Swift (requiring more configuration).

Closes-Bug: #1175940

Change-Id: I8c45598f2f004006f379861479f6f34150d0f649
Fixes wrong Qpid protocol configuration

notify_qpid.py is suffering from the same issue as described in
launchpad bug https://bugs.launchpad.net/oslo/+bug/1158807.
Instead of setting connection.transport, it is attempting to
set connection.protocol.

Fixes bug 1243821

Change-Id: Ice3e7ad917c158a5953475809f3f46f48fd6054d
Addition of third example for Property Protections

Includes an example to limit all property interactions to admin only using policy rule
context_is_admin defined in policy.json

Change-Id: I22dddc06a84312b3b1cbd195cb84839e0321a9f0
Closes-Bug: #1243945
Update my mailmap

Using new email address.

Change-Id: I8643bd23a1c7de9c8066b8e00853a2860dbbfd2f
Fixes content-type checking for image uploading in API v1 and v2

wsgi.Request.get_content_type() need a list or set for
allowed_content_types as parameter, but API controller passes request's
content type as a string into it directly. This caused 'in' testing
failure.

Fixes bug: 1241387

Change-Id: I820ccce92e4ec1c94b5144309d6ebe2b57baaf55
Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
Fix Pep8 1.4.6 warnings

Pep8 1.4.6 fixes some missed occassions of the indentation
checks.

Change-Id: Ie87005a9b204db70d4b22bc28425758b282b1eb0
Replace qpid_host with qpid_hostname

This patch replaces `qpid_host` with `qpid_hostname` in both the
documentation and the config file sample. `qpid_host` has been shipped
as the parameter to specify qpid's hostname, although the correct one is
`qpid_hostname`.

DocImpact
Closes-bug 1242715

Change-Id: I25f2d0e505560e1762f7f059728c33c47a23439e
Merge "Avoid redefinition of test"
Glance v2: Include image/member id in 404 Response

Fixes bug 1242920

Change-Id: Idfce3026073be036f0c2416d33065741a342abfd
Merge "Addition of third example for Property Protections"
Merge "Replace qpid_host with qpid_hostname"
Merge "checking length of argument list in "glance-cache-image" command"