Jump to: navigation, search



This is a proposal for a service that manages Heat Templates in a user-friendly, portable Catalog. This proposal is tied to the following Heat blueprint: https://blueprints.launchpad.net/heat/+spec/heat-template-repo

Use Cases

  1. The Template Catalog is defined as a service that would allow for a consistent interface to both store and retrieve templates in a controlled way with a configurable backend.
  2. Planned Deployment: The Heat engine should be able to parse a template with inputs, and produce a response with the quantity and types of resources/entities that would be spun up if the deployment were created, but not actually create the deployment as part of the planning call. This allows upstream callers of the service to make a determination of what resources will be spun up for a given template without having to actually implement template parsing logic. An example use case for this would be for Horizon to show, for any given template + user selected inputs, how much compute, loadbalancer, trove, etc. resources would need to be consumed (good for (1) determining if capacity exists in those systems before spinning up the deployment; (2) a control panel could calculate customer pricing for a deployment).
  3. Along with the template, the catalog should return an optional absolute url to an icon that represents the purpose of the template (Wordpress icon).
   icon: https://600861890ddb34a8670a-744765205721eed93c384dae790e86aa.ssl.cf2.rackcdn.com/wordpress-tattoo.png icon-20x20: https://600861890ddb34a8670a-744765205721eed93c384dae790e86aa.ssl.cf2.rackcdn.com/wordpress-icon-20x20.png
  1. The catalog should have a REST API endpoint to retrieve the version information about the template, (i.e. template version, authors, git SHA).
  2. The catalog should allow template tags to be created and queried via the REST API about each template.
   template-type: Application
   application-name: WordPress
   application-version: 3.6.1
   template_description: Single Linux server with WordPress 3.6.1 and MySQL 5.5
   supported: true

Catalog API