DescriptionCreate gwacl session objects for management & API.
I commented out one of the new functions at the last moment (as well as its
test), even though the test passes. This was done because we're still working
out a detail in gwacl that may result in an incompatible change.
For some of the code in here, including Config(), the only interesting aspect
to test really is the locking. It's the one thing that can go wrong. None of
the other providers seem to test for this, and it's a bit of a losing game in
that whenever you forget to lock, you're likely to forget to test for locking
as well. But I wrote up a simple, reusable pattern so that at least we can
guard against regressions.
The pattern was discussed with Gavin, the gwacl work with Raphaƫl.
https://code.launchpad.net/~jtv/juju-core/create-gwacl-sessions/+merge/170032
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 1
MessagesTotal messages: 6
|