Propagate trace context in RESTAPI runner() 11/143111/1 master
authorFiete Ostkamp <fiete.ostkamp@telekom.de>
Wed, 4 Feb 2026 09:08:31 +0000 (10:08 +0100)
committerFiete Ostkamp <fiete.ostkamp@telekom.de>
Wed, 4 Feb 2026 09:08:31 +0000 (10:08 +0100)
commit013fc5f1aff30c714aaeb3b322cd58d8593ac8a5
tree83409c3fcbfb387b7178c1306034efa9df88bb89
parentdcc52ae5795563e14e7bed929ef03cba7a34ee45
Propagate trace context in RESTAPI runner()

- the runner() method is used in the aai-resources service
  to run the aai-core logic within a dedicated thread
- wrap this thread in a callable to propagate otel trace
  context to the thread

Issue-ID: AAI-4224
Change-Id: Ib94d614de0483577a1f895187a5e9d824711e99b
Signed-off-by: Fiete Ostkamp <fiete.ostkamp@telekom.de>
aai-core/pom.xml
aai-core/src/main/java/org/onap/aai/restcore/RESTAPI.java