summaryrefslogtreecommitdiffstats
path: root/sparkybe-onap-application/config/spring-beans/sparky-aai-proxy.xml
diff options
context:
space:
mode:
authorwr148d <wr148d@att.com>2021-02-11 09:14:58 -0500
committerwr148d <wr148d@att.com>2021-02-11 09:16:26 -0500
commit4d750d21cffd991b4bc5b735455fc9fceb516937 (patch)
tree6465cd80ca211e1581e4600857a81137dc8c7865 /sparkybe-onap-application/config/spring-beans/sparky-aai-proxy.xml
parentfc96fb063d9acc08173ef659088a993baf5c0dbf (diff)
Update the Sparky backend to support proxying calls to resources and traversal
Issue-ID: AAI-3250 Change-Id: I1c4d587ca30ea379ae28697b95ba2ca4602cd4e8 Signed-off-by: wr148d <wr148d@att.com>
Diffstat (limited to 'sparkybe-onap-application/config/spring-beans/sparky-aai-proxy.xml')
-rw-r--r--sparkybe-onap-application/config/spring-beans/sparky-aai-proxy.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/sparkybe-onap-application/config/spring-beans/sparky-aai-proxy.xml b/sparkybe-onap-application/config/spring-beans/sparky-aai-proxy.xml
new file mode 100644
index 0000000..bb0b98d
--- /dev/null
+++ b/sparkybe-onap-application/config/spring-beans/sparky-aai-proxy.xml
@@ -0,0 +1,15 @@
+<beans profile="aai-proxy" xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="
+ http://www.springframework.org/schema/beans
+ http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+ <bean id="proxyClientAdapter" class="org.onap.aai.sparky.util.ProxyClient">
+ <constructor-arg ref="aaiRestEndpointConfig" />
+ </bean>
+
+ <bean id="proxyHelper" class="org.onap.aai.sparky.ProxyHelper">
+ <constructor-arg ref="proxyClientAdapter" />
+ </bean>
+
+</beans> \ No newline at end of file