]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Replace httplib with requests for ec2tokens auth
authorSteve Baker <sbaker@redhat.com>
Wed, 21 Aug 2013 21:51:24 +0000 (09:51 +1200)
committerSteve Baker <sbaker@redhat.com>
Wed, 21 Aug 2013 23:10:22 +0000 (11:10 +1200)
commitff24b65eaeca07c07ef70b62e18a286ee52fb54c
treeb549c618f262ad09070f792c3713be7ed1763076
parentda0313cf7b1591666d76b79615b2eccc78c67ffd
Replace httplib with requests for ec2tokens auth

This vastly simplifies the implementation and test mocking.

ec2token middleware is the last piece of code in the heat
repository to be making direct httplib calls.

Change-Id: I3807b27a7699ff19eb46e2721aaa5afd9d6c8ff9
heat/api/aws/ec2token.py
heat/tests/test_api_ec2token.py