Formula metadata should support relation definition
Bug #677265 reported by
Jim Baker
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
Low
|
Jim Baker |
Bug Description
Our docs describe how to define peer, provides, and requires relations, but our code in ensemble.
Related branches
lp:~jimbaker/pyjuju/metadata-relations
- Gustavo Niemeyer: Approve
-
Diff: 307 lines (+235/-6)5 files modifiedensemble/formula/metadata.py (+108/-2)
ensemble/formula/tests/repository/mysql/metadata.yaml (+7/-0)
ensemble/formula/tests/repository/riak/metadata.yaml (+13/-0)
ensemble/formula/tests/repository/wordpress/metadata.yaml (+21/-0)
ensemble/formula/tests/test_metadata.py (+86/-4)
Changed in ensemble: | |
status: | New → In Progress |
importance: | Undecided → Low |
assignee: | nobody → Jim Baker (jimbaker) |
Changed in ensemble: | |
status: | In Progress → Fix Committed |
Changed in ensemble: | |
milestone: | none → 0.3 |
Changed in ensemble: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Adds support to ensemble. formula. metadata so that peers, provides, and requires properties are available.
One key aspect is that it coerces the shorthand representations for defining relations to a long-form version, which is also what is stored internally in ZK.