104 lines
4.8 KiB
XML
104 lines
4.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
~~~~~~licensing~~~~~~
|
|
system-management-api
|
|
==========
|
|
Copyright (C) 2020 - 2023 EmDev LLC
|
|
==========
|
|
You may not use this file except in accordance with the License Terms of the Copyright
|
|
Holder located at: https://entaxy.ru/eula . All copyrights, all intellectual property
|
|
rights to the Software and any copies are the property of the Copyright Holder. Unless
|
|
it is explicitly allowed the Copyright Holder, the User is prohibited from using the
|
|
Software for commercial purposes to provide services to third parties.
|
|
|
|
The Copyright Holder hereby declares that the Software is provided on an "AS IS".
|
|
Under no circumstances does the Copyright Holder guarantee or promise that the
|
|
Software provided by him will be suitable or not suitable for the specific purposes
|
|
of the User, that the Software will meet all commercial and personal subjective
|
|
expectations of the User, that the Software will work properly, without technical
|
|
errors, quickly and uninterruptedly.
|
|
|
|
Under no circumstances shall the Copyright Holder or its Affiliates is not liable
|
|
to the User for any direct or indirect losses of the User, his expenses or actual
|
|
damage, including, downtime; loss of bussines; lost profit; lost earnings; loss
|
|
or damage to data, property, etc.
|
|
~~~~~~/licensing~~~~~~
|
|
-->
|
|
|
|
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
|
|
xmlns:cxf="http://cxf.apache.org/blueprint/core"
|
|
xmlns:jaxws="http://cxf.apache.org/blueprint/jaxws"
|
|
xsi:schemaLocation="
|
|
http://www.osgi.org/xmlns/blueprint/v1.0.0 https://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
|
|
http://cxf.apache.org/blueprint/core http://cxf.apache.org/schemas/blueprint/core.xsd
|
|
">
|
|
|
|
<cxf:bus>
|
|
<cxf:features>
|
|
<cxf:logging/>
|
|
</cxf:features>
|
|
</cxf:bus>
|
|
|
|
<cm:property-placeholder persistent-id="ru.entaxy.esb.system.management" update-strategy="reload">
|
|
<cm:default-properties>
|
|
<cm:property name="system-management.endpoint.address" value="/system-management"/>
|
|
<cm:property name="system-management.endpoint.master" value="true"/>
|
|
</cm:default-properties>
|
|
</cm:property-placeholder>
|
|
|
|
<jaxws:server serviceClass="ru.entaxy.esb.system.management.soap.SystemManagementService"
|
|
address="${system-management.endpoint.address}"
|
|
start="${system-management.endpoint.master}">
|
|
<jaxws:serviceBean>
|
|
<ref component-id="systemManagementService"/>
|
|
</jaxws:serviceBean>
|
|
<jaxws:inInterceptors>
|
|
<ref component-id="authInterceptor"/>
|
|
<ref component-id="serviceInterceptor"/>
|
|
<ref component-id="soapHeaderInterceptor"/>
|
|
</jaxws:inInterceptors>
|
|
</jaxws:server>
|
|
|
|
<reference id="serviceInterceptor" interface="org.apache.cxf.phase.PhaseInterceptor"
|
|
filter="(type=service)"/>
|
|
<reference id="authInterceptor" interface="org.apache.cxf.phase.PhaseInterceptor"
|
|
filter="(type=authentication)"/>
|
|
<bean id="soapHeaderInterceptor" class="ru.entaxy.esb.system.common.interceptor.SoapHeaderInterceptor">
|
|
<property name="namespaceUri" value="http://www.entaxy.ru/system-management-service/"/>
|
|
</bean>
|
|
|
|
<bean id="systemManagementService" class="ru.entaxy.esb.system.management.SystemManagementServiceImpl">
|
|
<property name="profileManager" ref="profileManager"/>
|
|
<property name="bridgeProfileManager" ref="bridgeProfileManager"/>
|
|
<property name="connectorManager" ref="connectorManager"/>
|
|
<property name="permissionManager" ref="permissionManager"/>
|
|
|
|
<property name="mapper" ref="mapper"/>
|
|
</bean>
|
|
|
|
<bean id="mapper" class="ru.entaxy.esb.system.management.mapper.MapperImpl"/>
|
|
|
|
<reference id="profileManager"
|
|
interface="ru.entaxy.esb.system.management.profile.manager.ProfileManager"
|
|
timeout="30000"
|
|
availability="mandatory"/>
|
|
|
|
<reference id="bridgeProfileManager"
|
|
interface="ru.entaxy.esb.system.management.bridge.profile.manager.BridgeProfileManager"
|
|
timeout="30000"
|
|
availability="mandatory"/>
|
|
|
|
<reference id="connectorManager"
|
|
interface="ru.entaxy.esb.system.management.connector.manager.ConnectorManager"
|
|
timeout="30000"
|
|
availability="mandatory"/>
|
|
|
|
<reference id="permissionManager"
|
|
interface="ru.entaxy.esb.system.management.permission.manager.PermissionManager"
|
|
timeout="30000"
|
|
availability="mandatory"/>
|
|
|
|
</blueprint>
|