]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Remove unnecessary aws_* from user_creds
authorSteven Hardy <shardy@redhat.com>
Fri, 23 Aug 2013 10:28:01 +0000 (11:28 +0100)
committerSteven Hardy <shardy@redhat.com>
Tue, 27 Aug 2013 17:01:51 +0000 (18:01 +0100)
commit8765bf3d2ef07eb0e15719738e16cc0da2fa6afe
tree9c3d77f7490cdc7061810c000822c9bfa3cfa7d6
parentcc0b6e74079c62ab0678bfcdbad87d0ed319cb2b
Remove unnecessary aws_* from user_creds

We currently store aws_creds, but it's never used in any of the clients
which consume the stored context.  It makes sense to remove it from the
DB, but leave it in heat/common/context.py; then the credentials used for
real requests *to* heat (authenticated via the ec2token middleware) are
obtainable in the context, but we don't populate them in context to be
used in client connections for requests going *from* heat.

Fixes bug #1215850

Change-Id: I7a75c70beb0318a1e83ac0ab45d13802999d1282
heat/db/sqlalchemy/migrate_repo/versions/026_user_creds_drop_aws.py [new file with mode: 0644]
heat/db/sqlalchemy/models.py