State should not depend on the API server
Eric Snow
eric.snow at canonical.com
Tue Sep 2 14:34:04 UTC 2014
On Mon, Sep 1, 2014 at 12:03 AM, John Meinel <john at arbash-meinel.com> wrote:
> FWIW I'd favor 3 layers, though it does mean you have to do copying between
> structs that would likely otherwise be almost identical. A State layer for
> saving in the DB, an API layer for communication, and a Model layer for use
> in the Agents/Clients.
This is pretty much what I've done for the new backups in response to
conversations with Menno and William. It's worked out fine. The 3
types are similar, but in each case have been slightly different. So
the choice of having them different has proved helpful.
-eric
More information about the Juju-dev
mailing list