Merge lp:~johnsca/charm-helpers/provide-data-fix into lp:charm-helpers
Proposed by
Cory Johns
on 2015-05-20
| Status: | Merged |
|---|---|
| Merged at revision: | 376 |
| Proposed branch: | lp:~johnsca/charm-helpers/provide-data-fix |
| Merge into: | lp:charm-helpers |
| Diff against target: |
191 lines (+83/-55) 4 files modified
VERSION (+1/-1) charmhelpers/core/services/base.py (+30/-9) scripts/update-revno (+2/-2) tests/core/test_services.py (+50/-43) |
| To merge this branch: | bzr merge lp:~johnsca/charm-helpers/provide-data-fix |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Tim Van Steenburgh | Approve on 2015-05-20 | ||
| Nick Moffitt | 2015-05-20 | Approve on 2015-05-20 | |
|
Review via email:
|
|||
Description of the Change
Fix issues with provide_data in services framework:
* Providing data is gated on data being complete, with no option for sending partial data (necessary for two-way communication)
* Providing data is gated on current hook (no way to, e.g., send new data out in response to a config-changed hook)
* Providing data happens before data_ready with no way of telling if data_ready was triggered
I also fixed an issue with update-revno where the generated version.py was failing lint.
To post a comment you must log in.
lp:~johnsca/charm-helpers/provide-data-fix
updated
on 2015-05-20
- 377. By Cory Johns on 2015-05-20
-
Removed class type check
review:
Approve


+1 LGTM.