Files
Sooyoung Kim 75467de9f7 Refactor session handling and align test contexts
This change refactors database session management and aligns unit
tests with the production DB context handling.

- Replace _session_for_read() and _session_for_write() helpers with
  @main_context_manager.reader / @main_context_manager.writer decorators
  to simplify and standardize DB access.
- Update DB API methods to use context.session directly and rely on
  centralized transaction management through enginefacade.
- Switch tests to use cyborg.context.RequestContext instead of
  oslo_context.RequestContext for consistent context propagation.

Closes-Bug: #2061130
Change-Id: Idf7714ec9fa57b4885bd5679f431cdeac2ad1497
Signed-off-by: Sooyoung Kim <sykim.etri@gmail.com>
2025-10-28 20:13:25 +09:00
..
2025-01-09 23:15:59 +09:00
2023-02-16 14:52:32 +08:00
2024-01-26 06:15:42 +00:00
2024-10-31 16:05:51 +08:00
2023-07-04 20:50:40 +08:00
2022-01-01 09:37:54 +00:00
2024-09-17 20:56:51 -07:00
2020-10-07 06:25:20 +00:00
2022-05-05 12:13:13 +00:00