diff options
author | 2024-06-18 15:28:32 +0200 | |
---|---|---|
committer | 2024-07-20 15:47:25 +0200 | |
commit | eb1e3dbeb2d493f253ad0b720872fb08b9c0222d (patch) | |
tree | 1038933eca4661f7768d56ee5aacd6e944ba86d0 /aai-resources/src/main | |
parent | e74cffd22147bf7e99c44ba9d8c00c34d662c4de (diff) |
Make LegacyMoxyConsumerTest a @SpringBootTest
- replace AAISetup with @SpringBootTest in LegacyMoxyConsumerTest
- introduce WebTestClient to more elegantly declare requests
- do not statically invoke AAIGraph.getInstance in some tests [1]
[1] If those tests are run individually, launching the graph will fail
since the spring context is not available then.
It works in the pipeline, since other tests run before that launch the context.
Issue-ID: AAI-3887
Change-Id: I075c1f94e0a519d5cfa760cc07e446a26549c699
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'aai-resources/src/main')
-rw-r--r-- | aai-resources/src/main/resources/application.properties | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/aai-resources/src/main/resources/application.properties b/aai-resources/src/main/resources/application.properties index 960db1b0..2f33d8ad 100644 --- a/aai-resources/src/main/resources/application.properties +++ b/aai-resources/src/main/resources/application.properties @@ -26,7 +26,7 @@ spring.autoconfigure.exclude=\ spring.jersey.application-path=${schema.uri.base.path} -spring.profiles.active=production,one-way-ssl,kafka +spring.profiles.active=production,one-way-ssl #The max number of active threads in this pool server.jetty.threads.max=200 #The minimum number of threads always kept alive @@ -43,6 +43,7 @@ server.certs.location=${server.local.startpath}/etc/auth/ server.keystore.name=aai_keystore server.truststore.name=aai_keystore server.port=8447 + server.ssl.enabled=false server.ssl.enabled-protocols=TLSv1.1,TLSv1.2 server.ssl.key-store=${server.certs.location}${server.keystore.name} |