Commit Graph

21 Commits

Author SHA1 Message Date
Zane Bitter
9e237f5a66 Add the beginnings of an OpenStack ReST API
So far only access to stacks (not resources and events) is implemented.

Change-Id: I9655e9441087ef60c06e67e2d6ae68ec4a3b2d11
Signed-off-by: Zane Bitter <zbitter@redhat.com>
2012-09-27 21:37:37 +02:00
Zane Bitter
2f9a1310e3 Rename heat-api to heat-api-cfn
The previous heat-api is, in fact, a CloudFormation-compatible API. Rename
it to heat-api-cfn, analogous to how the EC2 API in Nova is named
nova-api-ec2.

Change-Id: I9759f10cee6a60cdc9cb917966eb9fb95a618f85
Signed-off-by: Zane Bitter <zbitter@redhat.com>
2012-09-06 16:11:24 +02:00
Tomas Sedovic
6029c031ea Use eventlet's wsgi again
Ref #55

This adds a monkey patch for the eventlet's maximum url length issue (ref #18).
With it, we can use eventlet as our wsgi server again.

Once Eventlet releases a new version (the fix is already in master) we'll drop
the monkey patch and set the limit proper.

Change-Id: Ia122af8d53b49587ade0ead6897fdd10107f4a87
Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>
2012-07-18 13:34:35 +02: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
cfd1232038 Remove duplicate setup_logging()
This is already done in load_paste_app()

Fixes #146

Change-Id: I3631b7ade06c8b142960abbf9c172461fae93a56
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-06-20 14:01:29 +10:00
Angus Salkeld
7e02a65f79 Fix the setup of daemon config
Change-Id: I02d4a3da63d2438067cf64c15432d66b539c30bc
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-06-06 23:07:54 +10:00
Angus Salkeld
93ea554c0e Teach heat-api about the bind_host
Change-Id: Ica32693373a87f01c41755a2b041c187bddd034d
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-06-04 21:16:31 +10:00
Tomas Sedovic
669f312c9a Update heat-api docstring 2012-04-27 15:25:50 +02:00
Steven Dake
2ba3934ce0 Put Starting Heat API in log file and add logging setup to bin/heat-api
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-04-26 11:02:15 -07:00
Steven Hardy
39f822f04f heat, heat-api: Add missing licence to header
Adds missing licence header to heat and heat-api

Signed-off-by: Steven Hardy <shardy@redhat.com>
2012-04-18 20:47:03 +01:00
Chris Alfonso
f0862d8b88 renaming CloudFormations to CloudFormation 2012-04-13 15:01:41 -04: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
Tomas Sedovic
7690e1b5d4 Fix --template-file
Fixes #47

The code that causes the URI TOO LONG error is in eventlet.wsgi.

So for the time being we're replacing that with paste.httpserver which serves
WSGI apps, too.

Longer term, we want to use eventlet but they need to make the maximum URL
length configurable.
2012-04-04 19:28:47 +02:00
Chris Alfonso
589eaa75e4 Removing OpenStack LLC copyright 2012-03-28 12:50:49 -04:00
Ian Main
622bb9a702 A few cleanups and some comments. Nothing major.
Signed-off-by: Ian Main <imain@redhat.com>
2012-03-22 17:37:17 -07:00
Tomas Sedovic
53859a38ca Display message on heat-api and heat-engine startup
When a Heat server is started, the user will now see a message that says so and
shows the port number the server uses.
2012-03-21 16:41:54 +01:00
Angus Salkeld
82888427f3 Move the default port number into common.config
It was defined in multiple places.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-16 10:12:45 +11:00
Angus Salkeld
0f6375a931 Change the default port references to DEFAULT_PORT
If we need to change it again then this will make it easier.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-16 09:05:20 +11:00
Angus Salkeld
3b9c41fb6c Initial commit (basics copied from glance)
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-13 21:48:07 +11:00