Commit Graph

11 Commits

Author SHA1 Message Date
Frode Nordahl 574a0c2837
Support database migrations
A charm may request principal to perform a DB migration.  The charm
may also optionally flag that interface availability should be
gated on the completion of the requested DB migration.

Change-Id: Id9ed69880f06b835ff2385721d4cb22e47f37c5d
Depends-On: Iaefcb81fff5ed8a9441c93ac4c8bac3fa12eef15
2019-09-30 08:21:45 +02:00
Frode Nordahl 4f7dba3da8
Extend configurable variables and retrieve config data
Gate ``available`` state on remote end signalling availability.

Depends-On: I9eb5f8a6039b74288a395a584f844507448cdc23
Change-Id: I44a23549e4830d89ba3182250c40dfe395767fb0
2019-09-30 08:21:20 +02:00
Nobuto Murata 46e001d36c subordinate_configuration in the interface expects a dict
When a subordinate charm doesn't provide an explicit value for the
optional "subordinate_configuration" arg, the error "TypeError: argument
of type 'NoneType' is not iterable" happends. Because the principal
charm expects it as a dict as documented in the interface. So let's use
a empty dict as the fallback value.

Change-Id: Ib8456ab32ec8ee5bee160d0b38a61b7ee43e16ca
Closes-Bug: #1803040
2018-11-14 10:51:51 +09:00
Liam Young 85f776e541 Added readme 2016-09-15 07:34:54 +00:00
Liam Young efe2305668 Add standard available state 2016-09-14 15:58:00 +00:00
Liam Young 2b795745e1 Generl tidy, docstrings, copyright, tox.ini etc 2016-09-12 15:02:22 +00:00
Liam Young 365cd84af0 Fix plugin name 2016-09-12 13:45:34 +00:00
Liam Young bba0039e0d Fix missing uuid import 2016-09-12 10:34:04 +00:00
Liam Young 7fdf92e499 Add remote restart support 2016-09-12 09:36:40 +00:00
James Page c6469fc1dc Fixup for new reactive package naming 2015-11-04 13:39:55 +00:00
James Page be82dfb140 Initial commit of interface 2015-07-15 17:06:36 +01:00