diff options
author | 2020-11-13 15:29:25 +0100 | |
---|---|---|
committer | 2020-12-01 15:45:31 +0100 | |
commit | f0f29d4ceb6ffc5c1fb3f5012a8b8b84faf22740 (patch) | |
tree | 3f8c18e08d2f4b42aafc24b3559a2ed10d254e9d /src/main/resources | |
parent | 011cb09ec1972a4c4961a6fc9c10e4cbf7801d1c (diff) |
Update to spring boot 2
Update of dependencies and source code to spring boot 2
Issue-ID: AAI-3140
Signed-off-by: Igor Dysko <igor1.dysko@orange.com>
Change-Id: I4b386ef27b726ffd47b3515b0df05dc404e55943
Diffstat (limited to 'src/main/resources')
-rw-r--r-- | src/main/resources/application.properties | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index cd51b92..1937032 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -8,7 +8,7 @@ spring.jersey.type=filter spring.mvc.urls=swagger,docs,prometheus -server.contextPath=/ +server.servlet.context-path=/ spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration spring.profiles.active=production,one-way-ssl @@ -36,7 +36,7 @@ archetype.name=sdk-java-jersey-archetype server.local.startpath=src/main/resources/ server.basic.auth.location=${server.local.startpath}etc/auth/realm.properties -server.port = 8444 +server.port=8444 server.ssl.enabled-protocols=TLSv1.1,TLSv1.2 server.ssl.key-store=${server.local.startpath}etc/auth/aai_keystore server.ssl.key-store-password=password(OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0) @@ -46,9 +46,9 @@ server.ssl.client-auth=want server.ssl.key-store-type=JKS #mongodb configuration values -mongodb.host=localhost -mongodb.dbName=aai -mongodb.port=27017 +spring.data.mongodb.host=localhost +spring.data.mongodb.database=aai +spring.data.mongodb.port=27017 #logging configurations aai.transaction.logging=true |