|
|
|
@ -25,13 +25,32 @@
|
|
|
|
|
|
|
|
|
|
<jaxrs:server id="services" address="/">
|
|
|
|
|
<jaxrs:serviceBeans>
|
|
|
|
|
<ref bean="deviceOrganizationService"/>
|
|
|
|
|
<ref bean="deviceOrganizationMgtService"/>
|
|
|
|
|
</jaxrs:serviceBeans>
|
|
|
|
|
<jaxrs:providers>
|
|
|
|
|
<bean class="org.codehaus.jackson.jaxrs.JacksonJsonProvider"/>
|
|
|
|
|
<ref bean="jsonProvider"/>
|
|
|
|
|
<!--<ref bean="errorHandler"/>-->
|
|
|
|
|
<ref bean="swaggerWriter"/>
|
|
|
|
|
</jaxrs:providers>
|
|
|
|
|
</jaxrs:server>
|
|
|
|
|
|
|
|
|
|
<bean id="deviceOrganizationService" class="io.entgra.device.mgt.core.device.mgt.extensions.device.organization.api.DeviceOrganizationMgtServiceImpl"/>
|
|
|
|
|
<bean id="swaggerWriter" class="io.swagger.jaxrs.listing.SwaggerSerializers" />
|
|
|
|
|
<bean id="swaggerResource" class="io.swagger.jaxrs.listing.ApiListingResource" />
|
|
|
|
|
|
|
|
|
|
<bean id="swaggerConfig" class="io.swagger.jaxrs.config.BeanConfig">
|
|
|
|
|
<property name="resourcePackage" value="io.entgra.device.mgt.core.device.mgt.extensions.device.organization.api"/>
|
|
|
|
|
<property name="version" value="1.0"/>
|
|
|
|
|
<property name="host" value="localhost:9443"/>
|
|
|
|
|
<property name="schemes" value="https" />
|
|
|
|
|
<property name="basePath" value="/api/device-mgt/v1.0"/>
|
|
|
|
|
<property name="title" value="Device Management Admin Service API Definitions"/>
|
|
|
|
|
<property name="contact" value="dev@entgra.io"/>
|
|
|
|
|
<property name="license" value="Apache 2.0"/>
|
|
|
|
|
<property name="licenseUrl" value="http://www.apache.org/licenses/LICENSE-2.0.html"/>
|
|
|
|
|
<property name="scan" value="true"/>
|
|
|
|
|
</bean>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<bean id="deviceOrganizationMgtService" class="io.entgra.device.mgt.core.device.mgt.extensions.device.organization.api.DeviceOrganizationMgtServiceImpl"/>
|
|
|
|
|
|
|
|
|
|
</beans>
|
|
|
|
|