unit and unit relation workflow is needed
Bug #681540 reported by
Kapil Thangavelu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
Medium
|
Kapil Thangavelu |
Bug Description
A unit agent executes a workflow against the unit and its associated unit relations. In response to workflow changes, the agent will execute hooks and watch related units.
Related branches
lp:~hazmat/pyjuju/unit-workflow
- Gustavo Niemeyer: Approve
-
Diff: 1540 lines (+922/-51) (has conflicts)13 files modifiedensemble/hooks/scheduler.py (+14/-1)
ensemble/hooks/tests/test_scheduler.py (+12/-3)
ensemble/lib/statemachine.py (+53/-13)
ensemble/lib/testing.py (+6/-2)
ensemble/lib/tests/test_statemachine.py (+80/-10)
ensemble/state/hook.py (+1/-1)
ensemble/state/relation.py (+8/-2)
ensemble/state/service.py (+1/-0)
ensemble/state/tests/test_relation.py (+65/-2)
ensemble/unit/lifecycle.py (+81/-14)
ensemble/unit/tests/test_lifecycle.py (+74/-3)
ensemble/unit/tests/test_workflow.py (+280/-0)
ensemble/unit/workflow.py (+247/-0)
Changed in ensemble: | |
assignee: | nobody → Kapil Thangavelu (hazmat) |
status: | New → In Progress |
milestone: | none → 0.3 |
Changed in ensemble: | |
importance: | Undecided → Medium |
status: | In Progress → Fix Committed |
Changed in ensemble: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.