summaryrefslogtreecommitdiffstats
path: root/aai-resources
diff options
context:
space:
mode:
authorIgor Dysko <igor1.dysko@orange.com>2020-07-07 14:15:29 +0200
committerIgor Dysko <igor1.dysko@orange.com>2020-07-07 14:15:29 +0200
commit31c7747f1050c5a64320b655d838fcc3624b43a0 (patch)
tree81b4aed73ddbfafd9e45ec8065f95950c266c2c3 /aai-resources
parentab2bb5226afb59fcecb7ce710b3536e612df9a7e (diff)
Update to spring boot 2
Replaced unsupported property Issue-ID: AAI-2526 Signed-off-by: Igor Dysko <igor1.dysko@orange.com> Change-Id: I98bde0863a4c473175f5f19c19f9b36d101a2ec1
Diffstat (limited to 'aai-resources')
-rw-r--r--aai-resources/src/main/resources/application.properties2
-rw-r--r--aai-resources/src/test/resources/application-test.properties2
2 files changed, 2 insertions, 2 deletions
diff --git a/aai-resources/src/main/resources/application.properties b/aai-resources/src/main/resources/application.properties
index e26199c..0366e33 100644
--- a/aai-resources/src/main/resources/application.properties
+++ b/aai-resources/src/main/resources/application.properties
@@ -8,7 +8,7 @@ spring.application.name=Resources Microservice
spring.jersey.type=filter
spring.main.allow-bean-definition-overriding=true
-server.contextPath=/
+server.servlet.context-path=/
spring.autoconfigure.exclude=\
org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,\
org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
diff --git a/aai-resources/src/test/resources/application-test.properties b/aai-resources/src/test/resources/application-test.properties
index 320b8e1..e8a4703 100644
--- a/aai-resources/src/test/resources/application-test.properties
+++ b/aai-resources/src/test/resources/application-test.properties
@@ -7,7 +7,7 @@ info.build.version=1.1.0
spring.application.name=aai-resources
spring.jersey.type=filter
-server.contextPath=/
+server.servlet.context-path=/
spring.jersey.application-path=${schema.uri.base.path}