bf3fb085cc
This changeset handles the details of creating, updating, listing and deleting Trove 'modules.' Two new tables have been added to the Trove database: modules instance_modules although the instance_modules table is at present unused. Scenario tests have been written as well, to exercise the new functionality. These tests can be run by: ./redstack int-tests --group=module_create In the follow-up changeset, all module tests can be run by: ./redstack int-tests --group=module Since module support is available for all datastores (controlled by a CONF option) the module test has been added to the common modules group. Note: Trying to do admin tasks with none admin credentials results in an Unauthorized exception being thrown, instead of Forbidden. This is due to the fact that Forbidden is in the HTTPUnauthorized section of wsgi.py instead of the HTTPForbidden section. Moving the exception caused too many failures, so I created a 'Module' Forbidden exception and put it in the right section. Change-Id: I755b0431b33b870ae02d903527f071fd8e23130d Depends-On: I54d37025275dee4731ad49ebbd21612c4464e4c4 Depends-On: I779c24472d3d96a7b2fe4ed0284fd5869cdef93b Partially-Implements: blueprint module-maintenance
27 lines
894 B
Plaintext
27 lines
894 B
Plaintext
# The order of packages is significant, because pip processes them in the order
|
|
# of appearance. Changing the order has an impact on the overall integration
|
|
# process, which may cause wedges in the gate later.
|
|
# Hacking already pins down pep8, pyflakes and flake8
|
|
hacking<0.11,>=0.10.0
|
|
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD
|
|
oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0
|
|
reno>=0.1.1 # Apache2
|
|
coverage>=3.6 # Apache-2.0
|
|
nose # LGPL
|
|
nosexcover # BSD
|
|
openstack-doc-tools>=0.23 # Apache-2.0
|
|
openstack.nose-plugin>=0.7 # Apache-2.0
|
|
WebTest>=2.0 # MIT
|
|
wsgi-intercept>=0.6.1 # MIT License
|
|
proboscis>=1.2.5.3 # Apache-2.0
|
|
python-troveclient>=1.2.0 # Apache-2.0
|
|
mock>=1.2 # BSD
|
|
mox3>=0.7.0 # Apache-2.0
|
|
testtools>=1.4.0 # MIT
|
|
testrepository>=0.0.18 # Apache-2.0/BSD
|
|
pymongo>=3.0.2 # Apache-2.0
|
|
redis>=2.10.0 # MIT
|
|
psycopg2>=2.5 # LGPL/ZPL
|
|
cassandra-driver>=2.1.4 # Apache-2.0
|
|
pycrypto>=2.6 # Public Domain
|