Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: Idac937dd704ef11dfc33e197f7539e3f7a5feb92
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found.
Change-Id: I6bd9fdee0ee275e4d9d3fcaf96c1512933ce35a6
Add a new EVENT type to audit type and change the microversion
to 1.4
Partially Implements: blueprint event-driven-optimization-based
Change-Id: Ia9608534d12f6877f9b93e88fa75fe9457c29347
A help string in a plugin command argument help string contained (a typo
and) some invalid sphinx-isms causing autoprogram-cliff building from
python-openstackclient to fail with:
.../python-openstackclient/doc/source/cli/plugin-commands/watcher.rst:30:Inline emphasis start-string without end-string.
and
<CreateAuditTemplate>:1:Unexpected indentation.
This commit fixes the (typo and) help string formatting.
Change-Id: Ifb668b9ada94b679672f3bab562410bf12f4ca64
1. Add data_model.py and data_model_shell.py for accept and
process request.
2. Add relative unittest.
Partically Implements: blueprint show-datamodel-api
Change-Id: I5e080453acaedf7e20734d67922b64511dd5f7fd
Removes old cliutils.py file that contains methods provided by osc_lib
and remove prettytable dependency that was only required by cliutils.py
Depends-on: I8bc3330a456f8bb76a17c4277a094a64fe9be449
Change-Id: Ib9eedafb211c205ff8b7dd18a9fc87e1f0b2739f
This patch set updates watcher api command argument.
1. os_watcher_api_version to os_infra_optim_api_version
2. OS_WATCHER_API_VERSION to OS_INFRA_OPTIM_API_VERSION
This patch set also updated --os-infra-optim-api-version help message.
Change-Id: I2502377b350b8cabfeba80c68f0569d567d24b3a
Add new start_time and end_time fields when audit create
Partially Implements: blueprint add-start-end-time-for-continuous-audit
Change-Id: I37d1bd13649dfb92ce7526f04b25054ed088c4f2
This patch set removes additional type verification
for goal and strategy entities to let CLI pass goal
and strategy names straight to API.
Depends-On: I89a9c7661616f49639151869055d8f5ebe723d5f
Change-Id: I323a66dd5bdef6f33d5fd5c60c99e1b4dcd7a7e0
Closes-Bug: #1794233
This patch set is intended for Python 3.x support and replace
itervalues() method with values().
Change-Id: I6852239d2d6634a4304c87a1694e64479f560de1
Closes-Bug: #1786784
Currently, watcher start actionplan command uses update request
to start the action plan.
PATCH /v1/action_plans
This Patch Set will send the request to new API for action plan start
POST /v1/action_plans/action_plan_uuid/start
Depends-on: I5353e4aa58d1675d8afb94bea35d9b953514129a
Change-Id: I15291efa994daf719342d764f6179ca7699d8b08
Related-Bug: #1756274