]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Allow templates specified from local filesystem
authorTomas Sedovic <tomas@sedovic.cz>
Mon, 2 Apr 2012 16:00:00 +0000 (18:00 +0200)
committerTomas Sedovic <tomas@sedovic.cz>
Mon, 2 Apr 2012 16:01:18 +0000 (18:01 +0200)
commit4679fb01c641053d45a197b598e28552144391a9
tree2deeb63abb928f0de78b4dbbc33434781e5d4ea2
parentdaa4fc256b16d90d437df1590e8f64fe8f88967f
Allow templates specified from local filesystem

Fixes #47

Passing a template file (as opposed to a URL) to the CLI:

      ./heat -d create wordpress \
        --template-file=../templates/WordPress_Single_Instance.template

caused a 'URI too long' error. The reason was that we were passing the entire
template contents to the Heat API server inside the URL params.

This makes sure that templates are passed around inside HTTP body rather than
the URL.
heat/api/v1/__init__.py
heat/api/v1/stacks.py
heat/client.py
heat/common/client.py
heat/engine/client.py