Restore Swagger
[clamp.git] / src / test / resources / application.properties
index 7d6ba51..d9d0f0e 100644 (file)
@@ -60,7 +60,7 @@ server.port=8080
 ### server.ssl.key-password=mypass\r
 ### server.http-to-https-redirection.port=8090  <-- The HTTP port\r
 \r
-server.contextPath=/\r
+server.servlet.context-path=/\r
 #Modified engine-rest applicationpath\r
 spring.profiles.active=clamp-default,clamp-spring-authentication,clamp-sdc-controller\r
 \r
@@ -76,14 +76,16 @@ server.context_parameters.p-name=value #context parameter with p-name as key and
 \r
 camel.springboot.consumer-template-cache-size=1000\r
 camel.springboot.producer-template-cache-size=1000\r
-camel.springboot.jmx-enabled=false\r
+# JMX enabled to have Camel Swagger runtime working\r
+camel.springboot.jmx-enabled=true\r
 camel.defaultthreadpool.poolsize=10\r
 camel.defaultthreadpool.maxpoolsize=20\r
 camel.defaultthreadpool.maxqueuesize=1000\r
 camel.defaultthreadpool.keepaliveTime=60\r
 camel.defaultthreadpool.rejectpolicy=CallerRuns\r
 #camel.springboot.xmlRoutes = false\r
-camel.springboot.xmlRoutes=classpath:/clds/camel/*.xml\r
+camel.springboot.xmlRoutes=classpath:/clds/camel/routes/*.xml\r
+camel.springboot.xmlRests=classpath:/clds/camel/rest/*.xml\r
 #camel.springboot.typeConversion = false\r
 \r
 #clds datasource connection details\r