~ubuntu-branches/ubuntu/vivid/heat/vivid

« back to all changes in this revision

Viewing changes to bin/heat-api-cloudwatch

  • Committer: Package Import Robot
  • Author(s): Chuck Short, Chuck Short, Corey Bryant
  • Date: 2015-01-06 08:55:22 UTC
  • mfrom: (1.1.21)
  • Revision ID: package-import@ubuntu.com-20150106085522-4o3hnaff5lacvtrf
Tags: 2015.1~b1-0ubuntu1
[ Chuck Short ]
* Open up for vivid.
* debian/control: Update bzr branch. 
* debian/control: Add python-saharaclient,
  python-osprofiler, python-oslo.middleware, python-oslo.serialization.
* debian/patches/fix-reqirements.patch: Refreshed.
* debian/patches/skip-tests.patch: Updated to skip more tests.
* debian/rules: Skip integration tests.

[ Corey Bryant ]
* New upstream release.
  - d/control: Align requirements with upstream.
  - d/watch: Update uversionmangle for kilo beta naming.
  - d/rules: Generate heat.conf.sample and apply patch before copy.
  - d/rules: Run base tests instead of integration tests.
  - d/p/fix-requirements.patch: Refreshed.
  - d/p/remove-gettextutils-import.patch: Cherry picked from master.
* d/control: Bumped Standards-Version to 3.9.6.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
from oslo import i18n
38
38
 
39
39
from heat.common import config
40
 
from heat.common.i18n import _
 
40
from heat.common.i18n import _LI
41
41
from heat.common import messaging
 
42
from heat.common import profiler
42
43
from heat.common import wsgi
43
44
from heat.openstack.common import log as logging
44
45
from heat.openstack.common import systemd
57
58
 
58
59
        port = cfg.CONF.heat_api_cloudwatch.bind_port
59
60
        host = cfg.CONF.heat_api_cloudwatch.bind_host
60
 
        LOG.info(_('Starting Heat CloudWatch API on %(host)s:%(port)s'),
 
61
        LOG.info(_LI('Starting Heat CloudWatch API on %(host)s:%(port)s'),
61
62
                 {'host': host, 'port': port})
 
63
        profiler.setup('heat-api-cloudwatch', host)
62
64
        server = wsgi.Server()
63
65
        server.start(app, cfg.CONF.heat_api_cloudwatch, default_port=port)
64
66
        systemd.notify_once()