release version 1.12.0
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<groupId>ru.entaxy.esb.platform.runtime.modules</groupId>
|
||||
<artifactId>uniform-service</artifactId>
|
||||
<version>1.11.0</version>
|
||||
<version>1.12.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* jaas-runtime
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2025 EmDev LLC
|
||||
* Copyright (C) 2020 - 2026 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
|
||||
|
||||
@@ -124,6 +124,17 @@
|
||||
"factoryId": "uniform-based-soap-service-protected"
|
||||
}
|
||||
},
|
||||
"camel_headerFilterStrategy": {
|
||||
"@TYPEINFO": {
|
||||
"type": "enum",
|
||||
"values": [
|
||||
"org.apache.camel.http.common.HttpHeaderFilterStrategy",
|
||||
"org.apache.camel.http.common.HttpProtocolHeaderFilterStrategy",
|
||||
"org.apache.camel.support.DefaultHeaderFilterStrategy",
|
||||
"org.apache.camel.component.cxf.common.header.CxfHeaderFilterStrategy"
|
||||
]
|
||||
}
|
||||
},
|
||||
"@IMPORT": [
|
||||
{
|
||||
"sourceFactoryId": "service-components",
|
||||
|
||||
@@ -19,6 +19,13 @@
|
||||
[/#list]
|
||||
-->
|
||||
|
||||
[#import "templates:object-commons/common-utils.ftl" as utils]
|
||||
[#include "templates:base-object/customObjectReferences.ftl" ]
|
||||
|
||||
[#if schemaValidationEnabled?? && schemaValidationEnabled?is_boolean]
|
||||
[#assign schemaValidationEnabled = schemaValidationEnabled?then("BOTH","NONE")]
|
||||
[/#if]
|
||||
|
||||
<camelcxf:cxfEndpoint id="[=objectId]-cxf-endpoint"
|
||||
address="/[=properties.address]"
|
||||
endpointName="[=objectId]:[=properties.port]"
|
||||
@@ -27,7 +34,7 @@
|
||||
<camelcxf:properties>
|
||||
<entry key="dataFormat" value="[=properties.dataFormat]"/>
|
||||
<entry key="mtom-enabled" value="[=properties.mtomEnabled?c]"/>
|
||||
<entry key="schema-validation-enabled" value="[=properties.schemaValidationEnabled?c]"/>
|
||||
<entry key="schema-validation-enabled" value="[=properties.schemaValidationEnabled!"NONE"]"/>
|
||||
</camelcxf:properties>
|
||||
<camelcxf:inInterceptors>
|
||||
[#if properties.authorizationType == "JAAS"]
|
||||
@@ -49,7 +56,7 @@
|
||||
</camelcxf:cxfEndpoint>
|
||||
|
||||
<bean id="validator" class="ru.entaxy.platform.services.runtime.interceptor.SOAPValidateInterceptor">
|
||||
<property name="schemaValidationEnabled" value="[=properties.schemaValidationEnabled?c]"/>
|
||||
<property name="schemaValidationEnabled" value="[=(schemaValidationEnabled?? && schemaValidationEnabled=="BOTH")?c]"/>
|
||||
</bean>
|
||||
|
||||
[#if properties.authorizationType == "JAAS"]
|
||||
@@ -93,7 +100,7 @@
|
||||
<camelContext id="[=objectId]" xmlns="http://camel.apache.org/schema/blueprint">
|
||||
|
||||
<route id="[=objectId]-cxf-endpoint" streamCache="true">
|
||||
<from uri="cxf:bean:[=objectId]-cxf-endpoint"/>
|
||||
<from uri="cxf:bean:[=objectId]-cxf-endpoint[=utils.createQueryString(properties, "camel_", true, ["fieldToExclude1","fieldToExclude2"])]"/>
|
||||
<setHeader name="ENTAXY_EndpointName">
|
||||
<simple>[=objectId]</simple>
|
||||
</setHeader>
|
||||
|
||||
Reference in New Issue
Block a user