Commit Graph

10 Commits (bbf29137282769f6c96123fe92babe41ea64e625)

Author SHA1 Message Date
Zane Bitter 97135b8f60 Create a new heat.rpc package
The definition of the RPC API is common between the engine (server) and the
clients, so move the client and common definitions out of the heat.engine
package.

Change-Id: I5fd2ba26f09c86ba1adecab4f9e06e69a694fe90
Signed-off-by: Zane Bitter <zbitter@redhat.com>
2012-11-30 17:05:13 +01:00
Steven Dake e9eee939c7 Import openstack.common.rpc
Use openstack.common routines.  One of the parameters changed to
create_consumer().

Thanks to Russell Bryant for assistance with sorting out that problem.

Change-Id: I4badc7ca22298cd0aafc57a2335b3d6801289be8
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-07-17 08:27:19 -07:00
Steven Dake b0a0f0c24e Use global cfg.CONF instead of config classes
Importing rpc.common requires the use of the global cfg.CONF.
In fact, most of common requires the use of this global.  This
patch removes all the object specific access to config options
and directly accesses the global in prep for rpc openstack-common
import.

Change-Id: I5989a436964c199df0dc38dbb191dc3d867e5ce7
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-07-17 07:18:42 -07:00
Steven Dake c7ec88f2c7 Import openstack.common.log and use inside heat infrastructure
Allows heat to match openstack-common log calling conventions such
as using a context object or instance UUID for better traceability.

Change-Id: Idaa6c04270d9d7143c85988d685c0f9e241b635b
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-07-14 13:51:38 -07:00
Angus Salkeld 524d214b84 more pep fixups.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-27 13:15:15 +10:00
Angus Salkeld 1f141a6d04 openstack-common: timeutils and importutils seperated out
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-27 10:23:19 +10:00
Steven Dake a1908e5014 Kill prints and replace with LOG in heat/rpc/__init__.py
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-04-26 10:29:54 -07:00
Angus Salkeld dfe12cbaba Fix a heap of pep8 errors
./run_tests.sh is much cleaner now.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-16 17:07:07 +10:00
Angus Salkeld e7f05dba5d Add utils & exception from openstack-common
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-05 16:43:09 +10:00
Angus Salkeld 5c30a02e00 Initial work on migrating heat-engine to rpc
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-27 11:38:48 +11:00