summaryrefslogtreecommitdiffstats
path: root/aai-resources/src/main
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-06-18 15:28:32 +0200
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-07-20 15:47:25 +0200
commiteb1e3dbeb2d493f253ad0b720872fb08b9c0222d (patch)
tree1038933eca4661f7768d56ee5aacd6e944ba86d0 /aai-resources/src/main
parente74cffd22147bf7e99c44ba9d8c00c34d662c4de (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.properties3
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 960db1b..2f33d8a 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}