lp:~fwereade/pyjuju/restart-transitions
Created by
William Reade
and last modified
- Get this branch:
- bzr branch lp:~fwereade/pyjuju/restart-transitions
Only
William Reade
can upload to this branch. If you are
William Reade
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Kapil Thangavelu (community): Needs Fixing
-
Diff: 3532 lines (+1663/-928)17 files modifiedjuju/agents/tests/test_unit.py (+137/-153)
juju/agents/unit.py (+33/-125)
juju/control/tests/test_resolved.py (+2/-1)
juju/errors.py (+11/-1)
juju/hooks/scheduler.py (+4/-0)
juju/hooks/tests/test_scheduler.py (+4/-0)
juju/lib/statemachine.py (+1/-1)
juju/state/hook.py (+71/-6)
juju/state/relation.py (+4/-0)
juju/state/service.py (+10/-10)
juju/state/tests/test_hook.py (+3/-0)
juju/state/tests/test_relation.py (+8/-0)
juju/tests/test_errors.py (+31/-9)
juju/unit/lifecycle.py (+364/-145)
juju/unit/tests/test_lifecycle.py (+284/-47)
juju/unit/tests/test_workflow.py (+570/-390)
juju/unit/workflow.py (+126/-40)
Related bugs
Related blueprints
Branch information
Recent revisions
- 423. By William Reade
-
upgrade operations are now contained within a lifecycle method, called by the workflow as part of a state transition, on the agent's command
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:pyjuju