Actionplan create command can create new
audit which looks ambiguous as audit should only
be created by audit command.
Change-Id: I6d8116b4520be5cbb4289de7caf9cc99251e1f9f
Closes-bug: #1764654
This patch set replaces itervalues() method with values()
to get py3.* compatibility.
Closes-Bug: #1738772
Change-Id: Ie13d15d6f407b08ba087168ac647669c0df2c30a
This patch adds changes for python-watcherclient for
multiple global efficacy indicator.
Change-Id: I8a7b283f4f79dc5e412fc0addfc4302ae49425ae
Implements: blueprint multiple-global-efficacy-indicator
This patch CLI for for action plan cancel
watcher action plan cancel <action-plan-uuid>
Change-Id: I9c8d53107b1926d6ce4532d7c696dc36c84c6cf8
Partially-Implements: blueprint cancel-action-plan
help=_("ActionPlan type.")
=>
help=_("Audit type. It must be ONESHOT or CONTINUOUS. "
"Default is ONESHOT."))
Change-Id: Ic79b5d1d0cb5ed459aaa290269219ff0e00065d5
'global_efficacy' field print too many digits
after the decimal point.
for example 14.2857142857 %
two digits are enough
for example 14.29%
Closes-Bug: #1650159
Change-Id: I4af3ef5b250d7e0b921269cc91ec46978d090c10
As we are about to version the Watcher objects, we need to make sure
that upcoming model/object modifications are additive in order to
avoid having to bump the major version of the API. Therefore,
this changeset removes 2 unused DB fields: extra in Audit Template
object and deadline in Audit object.
Change-Id: Ib9750d2dee8b565bd837341f826999b64c4e2cc3
Partially-Implements: blueprint watcher-versioned-objects
This patch set stop importing from the python-openstackclient and
start importing from osc-lib.
Change-Id: I6e4000565e48467f3e32a9cc408ab8a04b9c5f8a
Closes-Bug: #1604047
There's a number of places where a field of an object is named "type",
which isn't good thing. Actually type is keyword in python, so wherever
I found type used in models/api/object/test, I have fixed it to
audit_type in the audit files
Change-Id: Ic09458b455820787f5483e48aed940a2196b297e
Closes-Bug: #1533392
In this changeset, I updated the CLI as followed:
- The 'efficacy_specification' field is now shown by the
'goal list --detail' and the 'goal show <goal>' subcommands.
- Both the 'global_efficacy' and the 'efficacy_indicators' fields
are now displayed when issuing 'actionplan list --detail' or
'actionplan show <action_plan_uuid>'.
Change-Id: I47462d0af92318773ec9284828180b62166ca936
Partially-Implements: blueprint efficacy-indicator
In this changeset, I flattened the project structure by removing
the 'osc' package as it is now shared by both the OSC plugin and by
the 'watcher' command.
Closes-Bug: #1570467
Partially Implements: blueprint openstackclient-plugin
Change-Id: I867fd23c3a27cfc925dcc28f8dd158cb690c5659
In this changeset, I switched the watcher command line to now use
the OpenStackClient code to avoid code duplication.
Partially Implements: blueprint openstackclient-plugin
Change-Id: I2e0df6a96f4c7c59d33b92c01962f65129bfc7cc
Following the change in Watcher, this patchset updates the
Watcher CLI to support this change. Also it updates README.rst
to pass python 3.4 ascii-tests.
Change-Id: Idfcf99ee3d6b5b7342f1bbc4f726e6edd82fc77c
Closes-Bug: #1548377
Related-Bug: #1554347
Following https://review.openstack.org/269700, we now have to make the
same changes to the python-watcherclient project.
Change-Id: I894508dc3b04dd0f24101c5dfb396116f41dc23f
Related-Bug: #1533245
Most of librairies available under openstack/common folder are
now deployed by using oslo dedicated package. So we can remove
them and point to new python package.
Moreover, According to the November agreement in Oslo team,
apiclient and clituils will be removed from Oslo incubator.
We should keep the local copy by ourselfs
Change-Id: I3abc09d1c512df1f5cb868ed462a7900260705ce
Implements: blueprint make-watcherclient-use-graduated-oslo-lib