Insert missing __init__.py to ensure xml_config tests run and update
call to `expandYaml` to handle multiple item return.
Change-Id: I8e409126556196f09a348d98a39ae9ca16245860
If no value is provided for 'keep' when calling delete_old_managed,
ensure a default empty iterable is used to prevent an exception.
Change-Id: I3110f8e03e287a6ff067b992ed8631e34121a8d2
Limit use of double underscore (or 'dunder') methods to python magic or
where it is an intention to avoid namespace collisions for classes
intended to be sub-classed.
An example were this would be applicable is a mixin class adding
memoisation to all methods would need to avoid namespace collisions
should it be added to a class intended to be sub-classed, and so for
any methods it uses to help manage the memoisation it should use
name-mangling to avoid them being accidentally overridden.
Change-Id: I0fe1e438687b23e2f0e1cef5229eef92e1a652ad
- update jabber plugin to use convert xml
- add plugin="jabber" and plugin="instant-messaging" attribute
- update test cases
- add new notification strategy option
Change-Id: I221f75f30e611ca206041be6f9a86e4075f6bb8d
Height and width are supported by the Plot Plugin today but
not made available in the Publisher. This adds support for
both with the same defaults that exist in the plugin.
This allows users to configure a height and width as desired.
Change-Id: I1846e73d2fc3f6a9f651646b74cd3af6f85aee6d
Provide syntax support for specifying default values to be substituted
for variables during deep_format when no other replacement is provided.
Allows for individual variables to have a default or be optionally blank
should nothing be placed after the custom specifier.
Change-Id: Ib97a33a2bbca123791d4ca6ef5248ed200992565
Plugins can use get_plugin_config() which will search in a plugin
namespace. For example:
[plugin "hipchat"]
authtoken = 123token
- Updated hipchat plugin to use get_plugin_config()
- Updated stash plugin to use get_plugin_config()
- Backwards compatibility is kept by falling back to the old
configuration setting if the new one is not found.
- Warning is displayed if the old configuration method is used.
Change-Id: I7cff063e2d179a5d9a3f221c85de6864382bc477
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
using python's "input" rather than "raw_input" raise exception
since the user's input is interpreted.
In python 3.x raw_input = input, so the interpertation bug
only exists in python 2.x
Change-Id: I28781a8742d6e03bc850fd0178f317474603a9d2
- update performance plugin to use convert xml
- add new parameters for performance plugin
- update test cases
- add plugin="performance" attribute
Change-Id: Ice3420d3413d85daf4e6f678011382788e2bdd97