List of Input Parameters for VSP
[sdc.git] / openecomp-be / api / openecomp-sdc-rest-webapp / onboarding-rest-war / src / main / webapp / WEB-INF / beans-services.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <beans xmlns="http://www.springframework.org/schema/beans"
3        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4        xmlns:jaxrs="http://cxf.apache.org/jaxrs"
5        xmlns:context="http://www.springframework.org/schema/context"
6        xsi:schemaLocation="http://www.springframework.org/schema/beans
7        http://www.springframework.org/schema/beans/spring-beans.xsd
8        http://cxf.apache.org/jaxrs http://cxf.apache.org/schemas/jaxrs.xsd
9        http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
10
11
12     <import resource="classpath:META-INF/cxf/cxf.xml"/>
13     <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
14
15     <!-- CXF -->
16     <context:component-scan base-package="org.openecomp.sdcrests"/>
17     <!-- Needed for JSR-303 validations. May be removed when moving to JAX-RS 2.0 -->
18     <bean id="validator" class="org.springframework.validation.beanvalidation.LocalValidatorFactoryBean"/>
19
20     <!-- Needed for JSR-303 validations. May be removed when moving to JAX-RS 2.0 -->
21     <bean class="org.springframework.validation.beanvalidation.MethodValidationPostProcessor"/>
22
23     <bean id="jacksonObjectMapper" class="org.codehaus.jackson.map.ObjectMapper">
24         <property name="serializationInclusion" value="NON_NULL"/>
25     </bean>
26
27     <bean id="jsonProvider" class="org.codehaus.jackson.jaxrs.JacksonJsonProvider">
28         <property name="mapper" ref="jacksonObjectMapper"/>
29     </bean>
30
31     <bean id="outEmptyResponseInterceptor" class="org.openecomp.server.interceptors.EmptyOutputOutInterceptor"/>
32
33     <!-- ASDC -->
34     <bean id="uploadValidationManager" class="org.openecomp.sdc.validation.impl.UploadValidationManagerImpl"/>
35     <bean id="actionManager" class="org.openecomp.sdc.action.impl.ActionManagerImpl"/>
36     <bean id="applicationConfigManager" class="org.openecomp.sdc.applicationconfig.impl.ApplicationConfigManagerImpl"/>
37
38     <!-- aspect beans -->
39     <bean id = "healthCheck" class="org.openecomp.sdcrests.health.rest.services.HealthCheckImpl"/>
40     <bean id = "itemPermissions" class="org.openecomp.sdcrests.itempermissions.rest.services.ItemPermissionsImpl"/>
41     <bean id = "notifications" class="org.openecomp.sdcrests.notifications.rest.services.impl.NotificationsImpl"/>
42     <bean id = "togglz" class="org.openecomp.sdcrests.togglz.rest.services.TogglzFeaturesImpl"/>
43     <bean id = "items" class="org.openecomp.sdcrests.item.rest.services.ItemsImpl"/>
44     <bean id = "uniqueTypes" class="org.openecomp.sdcrests.uniquevalue.rest.services.UniqueTypesImpl"/>
45
46     <!-- External Testing Interface Beans -->
47     <bean id = "externalTestingManager" class="org.openecomp.core.externaltesting.impl.ExternalTestingManagerImpl"/>
48     <bean id = "csarHandler" class="org.openecomp.core.externaltesting.impl.CsarMetadataVariableResolver"/>
49
50     <!-- RESTful Services -->
51     <jaxrs:server id="restContainer" address="/">
52
53         <jaxrs:serviceBeans>
54             <ref bean="versions"/>
55             <ref bean="conflicts"/>
56             <ref bean="vendorLicenseModels"/>
57             <ref bean="licenseAgreements"/>
58             <ref bean="featureGroups"/>
59             <ref bean="entitlementPools"/>
60             <ref bean="entitlementPoolLimits"/>
61             <ref bean="licenseKeyGroups"/>
62             <ref bean="licenseKeyGroupLimits"/>
63             <ref bean="vendorSoftwareProducts"/>
64             <ref bean="networks"/>
65             <ref bean="components"/>
66             <ref bean="nics"/>
67             <ref bean="computes"/>
68             <ref bean="processes"/>
69             <ref bean="componentProcesses"/>
70             <ref bean="validation"/>
71             <ref bean="externaltesting"/>
72             <ref bean="actions"/>
73             <ref bean="applicationConfiguration"/>
74             <ref bean="componentMonitoringUploads"/>
75             <ref bean="deploymentFlavors"/>
76                 <ref bean="images"/>
77             <ref bean="orchestrationTemplateCandidate"/>
78             <ref bean="vnfPackageRepository"/>
79             <ref bean="componentDependencies"/>
80             <ref bean="healthCheck"/>
81             <ref bean="itemPermissions"/>
82             <ref bean="notifications"/>
83             <ref bean="togglz"/>
84             <ref bean="items"/>
85             <ref bean="uniqueTypes"/>
86         </jaxrs:serviceBeans>
87
88         <jaxrs:providers>
89             <ref bean="jsonProvider"/>
90             <bean class="org.openecomp.sdc.action.errors.ActionExceptionMapper"/>
91             <bean class="org.openecomp.sdcrests.errors.DefaultExceptionMapper"/>
92             <bean class="org.openecomp.sdcrests.errors.ZusammenExceptionMapper"/>
93             <bean class="org.openecomp.sdc.logging.servlet.jaxrs.LoggingRequestFilter">
94                 <property name="requestIdHeaders" value="X-ECOMP-RequestID,X-ONAP-RequestID"/>
95                 <property name="partnerNameHeaders" value="USER_ID"/>
96             </bean>
97             <bean class="org.openecomp.sdc.logging.servlet.jaxrs.LoggingResponseFilter"/>
98         </jaxrs:providers>
99
100         <jaxrs:outInterceptors>
101             <ref bean="outEmptyResponseInterceptor"/>
102         </jaxrs:outInterceptors>
103     </jaxrs:server>
104
105 </beans>