distcloud/distributedcloud/dcmanager/tests
Tee Ngo ec3811f321 Move subcloud filtering out of audit worker
The following changes aim to reduce the number of database
requests by dcmanager:
  - Move logic to filter out non-qualified subclouds from audit
    worker to audit manager.
  - Add new db api to mark end audit timestamp in bulk.

Test Plan:
Perform a batch subcloud deployment
  - Verify that subclouds being deployed are excluded from the
    audit_subclouds RPC requests to dcmanager audit workers.
  - Verify that the end audit timestamp of skipped subclouds
    is set in one database transaction.

Story: 2011106
Task: 50218

Change-Id: Ie4f9804a0ef870f81eb726fb9cd451b5284962ab
Signed-off-by: Tee Ngo <tee.ngo@windriver.com>
2024-05-31 14:19:33 -04:00
..
unit Move subcloud filtering out of audit worker 2024-05-31 14:19:33 -04:00
__init__.py Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
base.py Improve unit test coverage for dcmanager/manager/system_peer_manager.py (1/2) 2024-05-07 08:59:07 -04:00
utils.py Update tox pylint/pep8 for dcmanager 2024-01-18 21:51:25 +00:00