Make the jax-rs resource a spring boot RestController
[aai/traversal.git] / aai-traversal / src / main / resources / application.properties
index c86fa8a..5242148 100644 (file)
@@ -8,7 +8,7 @@ spring.application.name=aai-traversal
 spring.jersey.type=filter
 spring.main.allow-bean-definition-overriding=true
 
-server.servlet.context-path=/
+server.servlet.context-path=${schema.uri.base.path}
 spring.autoconfigure.exclude=\
   org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,\
   org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration,\
@@ -16,7 +16,7 @@ spring.autoconfigure.exclude=\
   org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration, \
   org.springframework.boot.actuate.autoconfigure.security.servlet.ManagementWebSecurityAutoConfiguration
 
-spring.jersey.application-path=${schema.uri.base.path}
+spring.jersey.application-path=/
 
 #The max number of active threads in this pool
 jetty.threadPool.maxThreads=200