~ubuntu-branches/ubuntu/saucy/heat/saucy-updates

« back to all changes in this revision

Viewing changes to heat/engine/signal_responder.py

  • Committer: Package Import Robot
  • Author(s): James Page, Chuck Short, James Page
  • Date: 2013-08-08 15:23:59 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20130808152359-9jgqjp23kssvc3x9
Tags: 2013.2~b2.a186.g2b4b248-0ubuntu1
[ Chuck Short ]
* debian/patches/rename-quantumclient.patch: Dropped no longer needed. 
* debian/control: Add python-oslo.sphinx

[ James Page ]
* New upstream snapshot.
* d/watch: Updated to track releases on launchpad.
* d/control: Drop BD in pep8, no longer required.
* d/control,rules: Drop use of openstack-pkg-tools, revert use of xz
  compression for debs.
* d/control,*.config,*.templates,po: Drop use of debconf/dbconfig-common
  to configure heat.
* d/*.upstart: Add upstart configurations for Ubuntu.
* d/p/default-kombu.patch: Switch default messaging from qpid to
  kombu.
* d/p/default-sqlite.patch: Use sqlite as default database option.
* d/control: Add python-ceilometerclient to BD's.
* d/rules: Fail package build for unit test failures.
* d/*.install: Directly install configuration files to /etc/heat.
* d/control: Update VCS locations to ubuntu-server-dev branches.
* d/heat-common.{install,manpages}: Include new binaries and associated
  manpages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
) = (
32
32
    '/waitcondition', '/signal'
33
33
)
 
34
SIGNAL_VERB = {WAITCONDITION: 'PUT',
 
35
               SIGNAL: 'POST'}
34
36
 
35
37
 
36
38
class SignalResponder(resource.Resource):
75
77
        # ensure the actual URL contains the quoted version...
76
78
        unquoted_path = urllib.unquote(host_url.path + path)
77
79
        request = {'host': host_url.netloc.lower(),
78
 
                   'verb': 'PUT',
 
80
                   'verb': SIGNAL_VERB[signal_type],
79
81
                   'path': unquoted_path,
80
82
                   'params': {'SignatureMethod': 'HmacSHA256',
81
83
                              'SignatureVersion': '2',