Add new appconfig for spring-boot sparky
[aai/test-config.git] / sparky / appconfig / camel-rests / sparky-core-prepareSchema.xml
diff --git a/sparky/appconfig/camel-rests/sparky-core-prepareSchema.xml b/sparky/appconfig/camel-rests/sparky-core-prepareSchema.xml
new file mode 100644 (file)
index 0000000..20dba6f
--- /dev/null
@@ -0,0 +1,11 @@
+<rests xmlns="http://camel.apache.org/schema/spring">
+       <rest>
+               <post uri="/visualization/prepareVisualization">
+                       <route>
+                               <to uri="bean:schemaVisualizationProcessor?method=processVisualizationRequest" />
+                       </route>
+               </post>
+       </rest>
+</rests>
+
+