release version 1.11.0

This commit is contained in:
2025-07-10 23:47:05 +03:00
parent 5cb6857fa1
commit 8dd9cf9cf2
3082 changed files with 278464 additions and 1833 deletions

View File

@ -3,7 +3,7 @@
<parent>
<groupId>ru.entaxy.esb.platform.runtime.modules</groupId>
<artifactId>uniform-service</artifactId>
<version>1.10.0</version>
<version>1.11.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -3,7 +3,7 @@
~~~~~~licensing~~~~~~
support
==========
Copyright (C) 2020 - 2024 EmDev LLC
Copyright (C) 2020 - 2025 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

View File

@ -2,7 +2,7 @@
~~~~~~licensing~~~~~~
support
==========
Copyright (C) 2020 - 2024 EmDev LLC
Copyright (C) 2020 - 2025 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

View File

@ -2,7 +2,7 @@
~~~~~~licensing~~~~~~
support
==========
Copyright (C) 2020 - 2024 EmDev LLC
Copyright (C) 2020 - 2025 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

View File

@ -2,7 +2,7 @@
~~~~~~licensing~~~~~~
support
==========
Copyright (C) 2020 - 2024 EmDev LLC
Copyright (C) 2020 - 2025 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

View File

@ -2,7 +2,7 @@
~~~~~~licensing~~~~~~
support
==========
Copyright (C) 2020 - 2024 EmDev LLC
Copyright (C) 2020 - 2025 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

View File

@ -2,7 +2,7 @@
~~~~~~licensing~~~~~~
support
==========
Copyright (C) 2020 - 2024 EmDev LLC
Copyright (C) 2020 - 2025 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

View File

@ -2,7 +2,7 @@
~~~~~~licensing~~~~~~
support
==========
Copyright (C) 2020 - 2024 EmDev LLC
Copyright (C) 2020 - 2025 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

View File

@ -2,7 +2,7 @@
~~~~~~licensing~~~~~~
support
==========
Copyright (C) 2020 - 2024 EmDev LLC
Copyright (C) 2020 - 2025 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

View File

@ -2,7 +2,7 @@
~~~~~~licensing~~~~~~
support
==========
Copyright (C) 2020 - 2024 EmDev LLC
Copyright (C) 2020 - 2025 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

View File

@ -2,7 +2,7 @@
~~~~~~licensing~~~~~~
support
==========
Copyright (C) 2020 - 2024 EmDev LLC
Copyright (C) 2020 - 2025 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

View File

@ -2,7 +2,7 @@
~~~~~~licensing~~~~~~
support
==========
Copyright (C) 2020 - 2024 EmDev LLC
Copyright (C) 2020 - 2025 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

View File

@ -2,7 +2,7 @@
~~~~~~licensing~~~~~~
support
==========
Copyright (C) 2020 - 2024 EmDev LLC
Copyright (C) 2020 - 2025 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

View File

@ -2,7 +2,7 @@
~~~~~~licensing~~~~~~
support
==========
Copyright (C) 2020 - 2024 EmDev LLC
Copyright (C) 2020 - 2025 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

View File

@ -2,7 +2,7 @@
~~~~~~licensing~~~~~~
support
==========
Copyright (C) 2020 - 2024 EmDev LLC
Copyright (C) 2020 - 2025 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

View File

@ -2,7 +2,7 @@
~~~~~~licensing~~~~~~
support
==========
Copyright (C) 2020 - 2024 EmDev LLC
Copyright (C) 2020 - 2025 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

View File

@ -2,7 +2,7 @@
~~~~~~licensing~~~~~~
support
==========
Copyright (C) 2020 - 2024 EmDev LLC
Copyright (C) 2020 - 2025 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

View File

@ -17,6 +17,8 @@
<xsd:complexType name="TResponse">
<xsd:sequence>
<xsd:element name="status" type="xsd:string"/>
<xsd:element name="description" type="xsd:string" minOccurs="0"/>
<xsd:element name="stacktrace" type="xsd:string" minOccurs="0"/>
<xsd:element ref="tns:packets" minOccurs="0"/>
<xsd:element ref="tns:uuids" minOccurs="0"/>
<!-- BigPacketsGoesHere -->

View File

@ -0,0 +1,85 @@
<?xml version="1.0" encoding="UTF-8"?>
<route>
<from uri="direct:uniform-passive-service-operation-router"/>
<choice>
<when>
<simple>${headers.operationName} == 'PutPackets'</simple>
<log loggingLevel="DEBUG"
message="${headers.NTX_loggingKey} Called operation: ${headers.operationName} with message-type: ${header.message-type}"/>
<log loggingLevel="DEBUG" message="${headers.NTX_loggingKey} Sending to connector: in"/>
<log loggingLevel="TRACE" message="${headers.NTX_loggingKey} Body: ${body}"/>
<to uri="bean:uniform-passive-service-in-connector-registry?method=inConnectorFind"/>
<choice>
<when>
<simple>${headers.NTX_targetConnector} != null</simple>
<setProperty name="NTX_TMP_targetConnector">
<simple>${headers.NTX_targetConnector}</simple>
</setProperty>
<removeHeader headerName="NTX_targetConnector"/>
<toD uri="${exchangeProperty.NTX_TMP_targetConnector}"/>
</when>
<otherwise>
<log message="${headers.NTX_loggingKey} Connector not found: service=uniform-service; profile=${headers[X-SystemName]}; direction=in"
loggingLevel="ERROR"/>
<throwException
exceptionType="ru.entaxy.platform.services.runtime.exceptions.ConnectorNotFound"
message="Connector not found: service=uniform-service; profile=${headers[X-SystemName]}; direction=in"/>
</otherwise>
</choice>
</when>
<when>
<simple>${headers.operationName} == 'ConfirmGettingPackets'</simple>
<log loggingLevel="DEBUG"
message="${headers.NTX_loggingKey} Called operation: ${headers.operationName}"/>
<log loggingLevel="DEBUG" message="${headers.NTX_loggingKey} Sending to connector: out"/>
<to uri="bean:uniform-passive-service-out-connector-registry?method=outConnectorFind"/>
<choice>
<when>
<simple>${headers.NTX_targetConnector} != null</simple>
<setProperty name="NTX_TMP_targetConnector">
<simple>${headers.NTX_targetConnector}</simple>
</setProperty>
<removeHeader headerName="NTX_targetConnector"/>
<toD uri="${exchangeProperty.NTX_TMP_targetConnector}"/>
</when>
<otherwise>
<log message="${headers.NTX_loggingKey} Connector not found: service=uniform-service; profile=${headers[X-SystemName]}; direction=out"
loggingLevel="ERROR"/>
<throwException
exceptionType="ru.entaxy.platform.services.runtime.exceptions.ConnectorNotFound"
message="Connector not found: service=uniform-service; profile=${headers[X-SystemName]}; direction=out"/>
</otherwise>
</choice>
</when>
<when>
<simple>${headers.operationName} == 'GetPackets'</simple>
<log loggingLevel="DEBUG"
message="${headers.NTX_loggingKey} Called operation: ${headers.operationName}"/>
<log loggingLevel="DEBUG" message="${headers.NTX_loggingKey} Sending to connector: out"/>
<to uri="bean:uniform-passive-service-out-connector-registry?method=outConnectorFind"/>
<choice>
<when>
<simple>${headers.NTX_targetConnector} != null</simple>
<setProperty name="NTX_TMP_targetConnector">
<simple>${headers.NTX_targetConnector}</simple>
</setProperty>
<removeHeader headerName="NTX_targetConnector"/>
<toD uri="${exchangeProperty.NTX_TMP_targetConnector}"/>
</when>
<otherwise>
<log message="${headers.NTX_loggingKey} Connector not found: service=uniform-service; profile=${headers[X-SystemName]}; direction=out"
loggingLevel="ERROR"/>
<throwException
exceptionType="ru.entaxy.platform.services.runtime.exceptions.ConnectorNotFound"
message="Connector not found: service=uniform-service; profile=${headers[X-SystemName]}; direction=out"/>
</otherwise>
</choice>
</when>
<otherwise>
<log message="${headers.NTX_loggingKey} Uniform service operation ${header.operationName} isn't support"
loggingLevel="ERROR"/>
<throwException exceptionType="java.lang.IllegalArgumentException"
message="Uniform service operation ${header.operationName} isn't support"/>
</otherwise>
</choice>
</route>