]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Move dbinstance into a TemplateResource
authorAngus Salkeld <asalkeld@redhat.com>
Thu, 5 Sep 2013 10:47:07 +0000 (20:47 +1000)
committerSteve Baker <sbaker@redhat.com>
Fri, 6 Sep 2013 23:04:39 +0000 (11:04 +1200)
commit13b7f54ad810c7471afd55458c6034b7777a5a2b
tree18d2937715c7697e36d6da226dcbfd2481b34d07
parent5fc4d75cf52ef39149a1d5fe69de7f7019659a58
Move dbinstance into a TemplateResource

The old dbinstance will soon be overtaken by the trove resource.
- The only reason for keeping this around is for people that don't
  have trove installed and want to use the AWS resource.
- Seperating it out into a TemplateResource really makes it easier
  for deployers and users to customise it.
- The old dbinstance did nothing "special" in python, and was really
  one of the first "TemplateResources" as it attempted to convert properties
  into parameters. Since this in now done a lot better in the TemplateResource
  lets just make use of that.

This will make it easier to migrate to other distros and versions.

Partial-Bug: #1215797
Change-Id: If72e1f40f67dc831551e0db8df8caaa002aaaeda
etc/heat/environment.d/default.yaml
etc/heat/templates/AWS_RDS_DBInstance.yaml [new file with mode: 0644]
heat/engine/resources/dbinstance.py [deleted file]
heat/tests/test_dbinstance.py