Files
distcloud/distributedcloud/dcmanager/tests/unit/audit
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
..