<property name="connectTimeoutInMs" value="60000" />
<property name="readTimeoutInMs" value="30000" />
<property name="basicAuthUserName" value="AaiUI" />
- <property name="basicAuthUserPassword" value="OBF:1gfr1p571unz1p4j1gg7" />
+ <property name="basicAuthPassword" value="OBF:1gfr1p571unz1p4j1gg7" />
<property name="truststoreFileName" value="synchronizer.jks" />
<property name="validateServerCertChain" value="false" />
<property name="validateServerHostname" value="false" />
<constructor-arg ref="viewInspectySchemaConfig" />
<constructor-arg name="numActiveInventoryWorkers" value="5" />
<constructor-arg ref="oxmEntityLookup" />
+ <constructor-arg ref="subscriptionConfig" />
</bean>
<bean id="schemaVisualizationProcessor"
</property>
</bean>
+
+ <bean id="subscriptionConfig"
+ class="org.onap.aai.sparky.subscription.config.SubscriptionConfig">
+ <property name="subscriptionTarget" value="" />
+ <property name="subscriptionOrigin" value="" />
+ <property name="subscriptionMessageType" value="" />
+ <property name="subscriptionTopic" value="" />
+ <property name="launchOITarget" value="" />
+ <property name="launchOIOrigin" value="" />
+ <property name="launchOIMessageType" value="" />
+ <property name="launchOITopic" value="" />
+ </bean>
+
+ <bean id="subscriptionService"
+ class="org.onap.aai.sparky.subscription.services.SubscriptionService">
+ <constructor-arg ref="subscriptionConfig" />
+ </bean>
+
+ <bean id="subscriptionServiceProcessor"
+ class="org.onap.aai.sparky.subscription.SubscriptionServiceProcessor">
+ <constructor-arg ref="subscriptionService" />
+ </bean>
</beans>
--- /dev/null
+<route xmlns="http://camel.apache.org/schema/spring" trace="true">
+ <from uri="restlet:/subscription/getsubscription?restletMethods=get,post" />
+ <to uri="bean:subscriptionServiceProcessor?method=getSubscription"/>
+</route>
\ No newline at end of file