aa74817686d12825730f377b51fbfe020490ae58
When we call audittemplate list without filters, it returns all Audit Templates that are not deleted, as expected. If we add any filter to query and context.show_deleted is None (we request only current AT), query.filter_by adds filter to joined table (for example, goals, results in a query like JOIN goals ... WHERE ... goals.deleted_at IS NULL) not to model's table (AuditTemplate in our case). We change call for filter_by to filter, explicitly point to model that we want to filter. Also, we moved query generating code to new method _get_model_list(). As a result we applied same fix to all of the other models. Change-Id: I4d2f44fa149aee564c62a69822c6ad79de5bba8a Closes-bug: 1761956
========================
Team and repository tags
========================
.. image:: https://governance.openstack.org/tc/badges/watcher.svg
:target: https://governance.openstack.org/tc/reference/tags/index.html
.. Change things from this point on
..
Except where otherwise noted, this document is licensed under Creative
Commons Attribution 3.0 License. You can view the license at:
https://creativecommons.org/licenses/by/3.0/
=======
Watcher
=======
OpenStack Watcher provides a flexible and scalable resource optimization
service for multi-tenant OpenStack-based clouds.
Watcher provides a robust framework to realize a wide range of cloud
optimization goals, including the reduction of data center
operating costs, increased system performance via intelligent virtual machine
migration, increased energy efficiency and more!
* Free software: Apache license
* Wiki: https://wiki.openstack.org/wiki/Watcher
* Source: https://github.com/openstack/watcher
* Bugs: https://bugs.launchpad.net/watcher
* Documentation: https://docs.openstack.org/watcher/latest/
Description
Languages
Python
99.7%
Shell
0.3%