Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2344)

Issue 98490043: Callbacks instead of ServiceManagers

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 11 months ago by johnsca
Modified:
9 years, 11 months ago
Reviewers:
benjamin.saller, mp+220733
Visibility:
Public.

Description

Callbacks instead of ServiceManagers Refactored charmhelpers.core.services to use callbacks instead of service types / managers, to make it easier for charms to specify custom behavior. https://code.launchpad.net/~johnsca/charm-helpers/services-callback-fu/+merge/220733 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 5

Patch Set 2 : Callbacks instead of ServiceManagers #

Patch Set 3 : Callbacks instead of ServiceManagers #

Patch Set 4 : Callbacks instead of ServiceManagers #

Patch Set 5 : Callbacks instead of ServiceManagers #

Patch Set 6 : Callbacks instead of ServiceManagers #

Patch Set 7 : Callbacks instead of ServiceManagers #

Unified diffs Side-by-side diffs Delta from patch set Stats (+868 lines, -582 lines) Patch
A [revision details] View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M charmhelpers/contrib/cloudfoundry/contexts.py View 1 1 chunk +41 lines, -32 lines 0 comments Download
M charmhelpers/core/host.py View 1 chunk +5 lines, -0 lines 0 comments Download
M charmhelpers/core/services.py View 1 2 3 4 5 1 chunk +316 lines, -79 lines 0 comments Download
M charmhelpers/core/templating.py View 1 1 chunk +38 lines, -145 lines 0 comments Download
M test-requirements-tox.txt View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M tests/contrib/cloudfoundry/test_render_context.py View 1 2 chunks +28 lines, -23 lines 0 comments Download
M tests/core/test_host.py View 1 chunk +10 lines, -0 lines 0 comments Download
M tests/core/test_services.py View 1 2 3 4 5 1 chunk +398 lines, -118 lines 0 comments Download
M tests/core/test_templating.py View 1 3 chunks +22 lines, -177 lines 0 comments Download
M tox.ini View 1 chunk +7 lines, -7 lines 0 comments Download

Messages

Total messages: 11
johnsca
Please take a look.
9 years, 11 months ago (2014-05-22 22:54:16 UTC) #1
benjamin.saller
LGTM with some trivials Thanks for this. https://codereview.appspot.com/98490043/diff/1/charmhelpers/core/host.py File charmhelpers/core/host.py (right): https://codereview.appspot.com/98490043/diff/1/charmhelpers/core/host.py#newcode67 charmhelpers/core/host.py:67: """Determine whether ...
9 years, 11 months ago (2014-05-22 23:47:43 UTC) #2
johnsca
On 2014/05/22 23:47:43, benjamin.saller wrote: > We should also consider an 'incomplete' event, if a ...
9 years, 11 months ago (2014-05-23 13:46:55 UTC) #3
johnsca
Please take a look.
9 years, 11 months ago (2014-05-26 18:50:34 UTC) #4
johnsca
Please take a look.
9 years, 11 months ago (2014-05-26 21:18:16 UTC) #5
johnsca
Please take a look.
9 years, 11 months ago (2014-05-27 17:27:31 UTC) #6
benjamin.saller
Comments for this went into the charm, but this LGTM as well, thanks.
9 years, 11 months ago (2014-05-27 18:07:24 UTC) #7
johnsca
Please take a look.
9 years, 11 months ago (2014-05-27 21:18:59 UTC) #8
johnsca
Please take a look.
9 years, 11 months ago (2014-05-29 17:24:30 UTC) #9
benjamin.saller
Thanks for tracking down the err0r, and yes, explicit win (esp. since we hit this ...
9 years, 11 months ago (2014-05-29 17:40:21 UTC) #10
johnsca
9 years, 11 months ago (2014-05-29 20:17:58 UTC) #11
*** Submitted:

Callbacks instead of ServiceManagers

Refactored charmhelpers.core.services to use callbacks instead of
service types / managers, to make it easier for charms to specify
custom behavior.

R=benjamin.saller
CC=
https://codereview.appspot.com/98490043
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b