Files
distcloud/distributedcloud/dcagent
Hugo Brito 8cfe96a7da DCagent cache cleanup
The previously introduced token caching mechanism [1] reduces token
requests to subclouds and also effectively handles Keystone endpoint
caching, as the endpoint catalog is cached alongside tokens.

This commit applies the endpoint_cache logic to DCAgent.

[1] https://review.opendev.org/c/starlingx/distcloud/+/931830

Test Plan:
- PASS: Manage a healthy subcloud and verify the audit is working
        as expected.
- PASS: Execute a sw-deploy orchestration and check audit works
        as expected.
- PASS: Manage a healthy subcloud and verify Fernet keys rotation and
        audit sync afterward.
- PASS: Check token validation and expiration after 1h.
- PASS: Check that Keystone requests are still being made only once
        per cycle.

Story: 2011311
Task: 52377

Change-Id: If8e4ec365b4f2e6d2ab0ff9983a86a27afed6c76
Signed-off-by: Hugo Brito <hugo.brito@windriver.com>
2025-06-23 17:34:34 +00:00
..
2025-06-23 17:34:34 +00:00
2025-06-23 17:34:34 +00:00