Ensure HttpEntry bean is request scoped in aai-common 87/136987/5
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Mon, 15 Jan 2024 07:21:05 +0000 (08:21 +0100)
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Mon, 15 Jan 2024 08:28:35 +0000 (09:28 +0100)
commit23dc519d86982e7b0cf0af5d9eadda91559afdb5
tree88879d0a27d28a0d85c6968eb416666057fba90b
parent6ecaa012a9712c5579e80ed9096f4e89c1285bf7
Ensure HttpEntry bean is request scoped in aai-common

- declare separate request scoped HttpEntry beans
- leave the existing prototype scoped HttpEntry beans in place [1]
- disable flaky test

[1] some of the existing tests (in traversal+resources) use them in a non-web context
In those cases, using request scoped beans requires extra annotations to make it work

Issue-ID: AAI-3723
Change-Id: I1295fe8d18f3364472f4230f28ea6ef936c5f42b
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
aai-core/src/main/java/org/onap/aai/config/RestBeanConfig.java
aai-els-onap-logging/src/test/java/org/onap/aai/logging/ErrorLogHelperTest.java