aboutsummaryrefslogtreecommitdiffstats
path: root/aai-traversal/pom.xml
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-12-08 16:47:19 +0100
committerFiete Ostkamp <fiete.ostkamp@telekom.de>2023-12-08 16:01:39 +0000
commit33521592f3a466fd5cb6959340c1ec70e412dfa8 (patch)
tree659c25943b5eb35da24f4aea09107b6676446a96 /aai-traversal/pom.xml
parentefe52a581c4a1217ae9117e2177e157841e75ffa (diff)
Separate entity retrieval from jax-rs Response creation
- move logic to retrieve entity from db into a separate method - do not use runner() from AAI core [1][2] - use global ExceptionHandler to provide a common exception to error response mapping [1] the runner will spawn a separate thread to process the request. In this change there is nothing to replace this functionality. The reason that it is removed is that it tightly couples the app with a) aai-common and b) jax-rs and is also catching all exceptions. Also the timeout mechanism that is implemented is not actually stopping the execution of the thread after the timeout, but rather returning an early response (after 3 minutes(!)). [2] these changes are also done to make a future full migration to spring boot/the removal of jax-rs easier Issue-ID: AAI-3693 Change-Id: I177913c5f6295e1cab476e3c206fecacd7620f69 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'aai-traversal/pom.xml')
-rw-r--r--aai-traversal/pom.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/aai-traversal/pom.xml b/aai-traversal/pom.xml
index c079cf4..e8a7916 100644
--- a/aai-traversal/pom.xml
+++ b/aai-traversal/pom.xml
@@ -771,6 +771,12 @@
<version>${keycloak.version}</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.projectlombok</groupId>
+ <artifactId>lombok</artifactId>
+ <version>1.18.30</version>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
<dependencyManagement>
<dependencies>