
This adds the CORS support middleware to Trove, allowing a deployer to optionally configure rules under which a javascript client may break the single-origin policy and access the API directly. For trove, the paste.ini method of deploying the middleware was chosen, because it needs to be able to annotate responses created by keystonemiddleware. If the middleware were explicitly included as in the previous patch, keystone would reject the request before the cross-domain headers could be annotated, resulting in an error response that was unreadable by the user agent. OpenStack Spec: http://specs.openstack.org/openstack/openstack-specs/specs/cors-support.html Oslo_Middleware Docs: http://docs.openstack.org/developer/oslo.middleware/cors.html Cloud Admin Guide Documentation: http://docs.openstack.org/admin-guide-cloud/cross_project_cors.html Change-Id: Ic55305607e44069d893baf2a261d5fe7da777303
46 lines
1.3 KiB
Plaintext
46 lines
1.3 KiB
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.
|
|
pbr>=1.6
|
|
SQLAlchemy<1.1.0,>=0.9.9
|
|
eventlet>=0.17.4
|
|
keystonemiddleware!=2.4.0,>=2.0.0
|
|
kombu>=3.0.7
|
|
Routes!=2.0,!=2.1,>=1.12.3;python_version=='2.7'
|
|
Routes!=2.0,>=1.12.3;python_version!='2.7'
|
|
WebOb>=1.2.3
|
|
PasteDeploy>=1.5.0
|
|
Paste
|
|
sqlalchemy-migrate>=0.9.6
|
|
netaddr!=0.7.16,>=0.7.12
|
|
netifaces>=0.10.4
|
|
httplib2>=0.7.5
|
|
lxml>=2.3
|
|
passlib>=1.6
|
|
python-heatclient>=0.6.0
|
|
python-novaclient!=2.33.0,>=2.29.0
|
|
python-cinderclient>=1.3.1
|
|
python-keystoneclient!=1.8.0,>=1.6.0
|
|
python-swiftclient>=2.2.0
|
|
python-designateclient>=1.5.0
|
|
python-neutronclient>=2.6.0
|
|
iso8601>=0.1.9
|
|
jsonschema!=2.5.0,<3.0.0,>=2.0.0
|
|
Jinja2>=2.6 # BSD License (3 clause)
|
|
pexpect!=3.3,>=3.1 # ISC License
|
|
oslo.config>=2.6.0 # Apache-2.0
|
|
oslo.context>=0.2.0 # Apache-2.0
|
|
oslo.i18n>=1.5.0 # Apache-2.0
|
|
oslo.middleware>=2.8.0 # Apache-2.0
|
|
oslo.serialization>=1.10.0 # Apache-2.0
|
|
oslo.service>=0.10.0 # Apache-2.0
|
|
oslo.utils!=2.6.0,>=2.4.0 # Apache-2.0
|
|
oslo.concurrency>=2.3.0 # Apache-2.0
|
|
MySQL-python;python_version=='2.7'
|
|
Babel>=1.3
|
|
six>=1.9.0
|
|
stevedore>=1.5.0 # Apache-2.0
|
|
oslo.messaging!=1.17.0,!=1.17.1,!=2.6.0,!=2.6.1,>=1.16.0 # Apache-2.0
|
|
osprofiler>=0.3.0 # Apache-2.0
|
|
oslo.log>=1.8.0 # Apache-2.0
|