Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848
Change-Id: I21616cbbd11d2ccab60155ea78ed261ee12db5d4
This patch set adds functional environment to tox
to be able to create post_hook file for functional gate.
Change-Id: I8e918fe47f6008b9570e39c2d0e9159d0d223362
help=_("Show detailed information about metric collectors."))
==>
help=_("Show detailed information about each goal."))
Change-Id: If6bf750a6a7941524dd144430abcc48b9f44a9d3
This Patch Set implements functional tests for
watcherclient to cover all use cases of watcher objects.
Implements : blueprint tempest-cli-test
Change-Id: I920d5b1ae25c62a72d3474538f866a5415c2e119
This patch set allows python-watcherclient to show
parents field instead of next_uuid field.
Partially Implements: blueprint planner-storage-action-plan
Change-Id: I00cefd2ba6dad5daa6470c851c2fdfb7c22d7a63
Depends-On: Ide2c8fc521488e486eac8f9f89d3f808ccf4b4d7
keystoneauth was extracted from keystoneclient, this CR replaces usage
of keystoneclient in favor of keystoneauth.
Implements: blueprint use-keystoneauth-instead-of-keystoneclient
Change-Id: Iada0f8b45ae30a89908a4ae9e5f55a33e3744e17
`MANIFEST.in` was used to handle git files but now pbr can do it instead.
`openstack-common.conf` was used to copy files from oslo-incubator, but
oslo-incubator is no longer maintained. So delete the two files from repo.
Change-Id: I976434e8283c588191d7bfb9321f46cea724406a
End user does not get the unit of 'interval' when use command
``watcher audit create -h``. This patch adds unit for the option
'interval'. Aslo use single quotes.
Change-Id: I9e3df031822f2f2704a3c661c6a5953d7e0caae5
Closes-Bug: #1653322
This patch set adds support of auto-triggering for action plans.
You can use it by adding new attribute '--auto-trigger' to
watcher audit create command.
Change-Id: I2e4ee53f9f639cb3248c0e4dcc7b9716ff1fc352
Partially-Implements: blueprint automatic-triggering-audit
Depends-On: I36b7dff8eab5f6ebb18f6f4e752cf4b263456293
'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
1.As mentioned in [1], we should avoid using
six.iteritems to achieve iterators. We can
use dict.items instead, as it will return
iterators in PY3 as well. And dict.items/keys
will more readable. 2.In py2, the performance
about list should be negligible, see the link [2].
[1] https://wiki.openstack.org/wiki/Python3
[2] http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html
Change-Id: Ic6af69d5b4b36f3dd02aab0f9c446aa54970f388
Openstack common has a wrapper for generating uuids.
We should only use that function when generating
uuids for consistency.
Change-Id: Ic36426c6ab4228826b66a926e74e3331e9a9abdc
Closes-Bug: #1082248
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
In the class UpdateAuditTemplate, there is a help message with an extra
')'. This patch set removes that extra ')'.
Change-Id: I1463144e38ebb5db59f49a94406ff884f0e2450b
Closes-Bug: #1639681