rackerlabs/deuce — pull request #119 by BenjamenMeyer (2014-09-02 22:18:34+00:00)
Title: Enhancement hook storage url

- Rename swifthook.py to openstackswifthook.py
- Remove AuthToken usage from everywhere that is unnecessary
- Disable the OpenStack and OpenStack Swift Hooks in default configuration
- Update the OpenStack Swift Hook to get the Storage URL from the Base64 JSON UTF-8 encoded X-Service-Catalog header field
- Add specific tests for the OpenStack and OpenStack Swift Hooks
- Add a Datacenter field to the Deuce Context which the OpenStack Swift Hook uses to determine which Storage URL to store in the context
- Removed unnecessary initialization of the Deuce Context, etc.