]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Initial metadata server API
authorTomas Sedovic <tomas@sedovic.cz>
Wed, 2 May 2012 11:51:08 +0000 (13:51 +0200)
committerTomas Sedovic <tomas@sedovic.cz>
Wed, 2 May 2012 15:47:51 +0000 (17:47 +0200)
commit9843bc8baae066643d556c1bc5600202338011a6
treefb926807b1930b06b255f9cbbee2b9c7a6df612f
parentc061dc0029517b7d8a346f8a8661f30620aed9ff
Initial metadata server API

This implements the basic capabilities we need from the metadata server. Each
API call returns proper HTTP responses (404, 409, etc.).

The server is currently not connected to a real database. Rather, it uses a
simple mock. This allows for quick initial API changes before things stabilize.

The immediate next steps are to integrate the server with the cfn tools
(cfn-metadata being the prime candidate) to see what may be wrong/missing.

And then to connect the server to a real database.

Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>
heat/metadata/api/v1/__init__.py
heat/metadata/api/v1/metadata.py
heat/metadata/db.py [new file with mode: 0644]