release version 1.12.0

This commit is contained in:
2026-02-18 23:32:39 +03:00
parent 24ce86f470
commit 5d0e27b3e2
2858 changed files with 18366 additions and 113588 deletions

View File

@@ -3,7 +3,7 @@
<parent>
<groupId>ru.entaxy.esb.platform.runtime.core</groupId>
<artifactId>objects-implementations</artifactId>
<version>1.11.0</version>
<version>1.12.0</version>
</parent>
<groupId>ru.entaxy.esb.platform.runtime.core.objects-implementations</groupId>
<artifactId>service-implementation</artifactId>

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>ru.entaxy.esb.platform.runtime.core.objects-implementations</groupId>
<artifactId>service-implementation</artifactId>
<version>1.11.0</version>
<version>1.12.0</version>
</parent>
<groupId>ru.entaxy.esb.platform.runtime.core.objects-implementations.service-implementation</groupId>
<artifactId>service-producing</artifactId>

View File

@@ -2,7 +2,7 @@
* ~~~~~~licensing~~~~~~
* connector-producing
* ==========
* 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

View File

@@ -38,18 +38,38 @@
"@UI": {
"transmitAlways": true
}
},
"removeAllHeadersBeforeAnswering": {
"displayName": "Remove all headers before answering",
"description": "Enable to removing all headers before answering.",
"type": "Boolean",
"required": false,
"group": "main",
"defaultValue": true,
"@UI": {
"transmitAlways": true
}
}
},
"outputs": {}
"outputs": {
"init": {
"fields" : {
"__headerFilterStrategyTemplate": {
"type": "entaxy.runtime.service",
"defaultValue": {
"type": "entaxy.runtime.service"
}
},
"@IMPORT": [
{
"sourceFactoryId": "header-filter-strategy",
"location": "fields",
"prefix": ""
}
]
}
},
"header-filter-strategy": {
"fields": {
"__headerFilterStrategyTemplate": {}
},
"scopes": [
"private"
],
"config": {
"@SKIP_PUBLISH": {},
"configurable": false
}
}
}
}

View File

@@ -18,15 +18,15 @@
"isValidate": {
"required": false,
"defaultValue" : false,
"description": "Enables schema validation for the request body. Throws an exception if the request body does not comply with the specified API schema. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/schema/Rest_services.html\">Entaxy docs</a>",
"description": "Enables schema validation for the request body. Throws an exception if the request body does not comply with the specified API schema. For more details see <a target=\"_blank\" href=\"/entaxy-documentation/entaxy-documentation-${entaxy.documentation.version}/entaxy-core/${entaxy.documentation.version}/core/schema/Rest_services.html\">Entaxy docs</a>",
"group": "main",
"displayName": "Schema Validation Enabled",
"type": "Boolean"
},
"resultType": {
"required": false,
"required": true,
"defaultValue" : "POJO",
"description": "Processing data format: <br/> POJO: Use to work with data in the form of Java objects; <br/> ORIGIN: Use to work with data in its original form. <br/> For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/schema/Rest_services.html\">Entaxy docs</a>",
"description": "Processing data format: <br/> POJO: Use to work with data in the form of Java objects; <br/> ORIGIN: Use to work with data in its original form. <br/> For more details see <a target=\"_blank\" href=\"/entaxy-documentation/entaxy-documentation-${entaxy.documentation.version}/entaxy-core/${entaxy.documentation.version}/core/schema/Rest_services.html\">Entaxy docs</a>",
"displayName": "Data Format",
"group": "main",
"type": "String",
@@ -36,6 +36,9 @@
"POJO",
"ORIGIN"
]
},
"@UI": {
"transmitAlways": true
}
},
"address": {
@@ -43,7 +46,7 @@
"type": "String",
"required": true,
"group": "main",
"description": "The service publication address. Specifies the address at which the service will be available for interaction with other system components. If the field is left blank, it will be generated automatically based on the Service Id. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/schema/Rest_services.html\">Entaxy docs</a>",
"description": "The service publication address. Specifies the address at which the service will be available for interaction with other system components. If the field is left blank, it will be generated automatically based on the Service Id. For more details see <a target=\"_blank\" href=\"/entaxy-documentation/entaxy-documentation-${entaxy.documentation.version}/entaxy-core/${entaxy.documentation.version}/core/schema/Rest_services.html\">Entaxy docs</a>",
"defaultValue": {
"@CALCULATED": {
"lazy": false,
@@ -103,6 +106,31 @@
"isDefault": true,
"fields": {
"address": {},
"camel_headerFilterStrategy": {
"description": "To use a custom org.apache.camel.spi.HeaderFilterStrategy to filter header to and from Camel message. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"defaultValue": "org.apache.camel.component.cxf.jaxrs.CxfRsHeaderFilterStrategy",
"@UI": {
"transmitAlways": true
},
"@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.jaxrs.CxfRsHeaderFilterStrategy",
"custom"
]
}
},
"headerFilterStrategyPattern": {
"@UI": {
"displayBlocks": [
"org.apache.camel.support.DefaultHeaderFilterStrategy",
"org.apache.camel.component.cxf.jaxrs.CxfRsHeaderFilterStrategy"
]
}
},
"isValidate": {},
"resultType": {},
"##publish": {}

View File

@@ -14,7 +14,7 @@
"fields": {
"bridgeErrorHandler": {
"displayName": "Bridge Error Handler",
"description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "consumer",
"type": "boolean",
"required": false,
@@ -39,7 +39,7 @@
},
"lazyStartProducer": {
"displayName": "Lazy Start Producer",
"description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel\u0027s routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel\u0027s routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "producer",
"type": "boolean",
"required": false,
@@ -64,7 +64,7 @@
},
"basicPropertyBinding": {
"displayName": "Basic Property Binding",
"description": "Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "advanced",
"type": "boolean",
"required": false,
@@ -89,7 +89,7 @@
},
"headerFilterStrategy": {
"displayName": "Header Filter Strategy",
"description": "To use a custom org.apache.camel.spi.HeaderFilterStrategy to filter header to and from Camel message. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "To use a custom org.apache.camel.spi.HeaderFilterStrategy to filter header to and from Camel message. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "filter",
"type": "object",
"required": false,
@@ -113,7 +113,7 @@
},
"useGlobalSslContextParameters": {
"displayName": "Use Global Ssl Context Parameters",
"description": "Enable usage of global SSL context parameters. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "Enable usage of global SSL context parameters. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "security",
"type": "boolean",
"kind": "property",
@@ -129,7 +129,7 @@
},
"beanId": {
"displayName": "Bean Id",
"description": "To lookup an existing configured CxfRsEndpoint. Must used bean: as prefix. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "To lookup an existing configured CxfRsEndpoint. Must used bean: as prefix. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "",
"type": "string",
"kind": "path",
@@ -144,7 +144,7 @@
},
"address": {
"displayName": "Address",
"description": "The service publish address. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "The service publish address. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "",
"type": "string",
"kind": "path",
@@ -159,7 +159,7 @@
},
"features": {
"displayName": "Features",
"description": "Set the feature list to the CxfRs endpoint. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "Set the feature list to the CxfRs endpoint. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "",
"type": "array",
"kind": "parameter",
@@ -174,7 +174,7 @@
},
"loggingFeatureEnabled": {
"displayName": "Logging Feature Enabled",
"description": "This option enables CXF Logging Feature which writes inbound and outbound REST messages to log. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "This option enables CXF Logging Feature which writes inbound and outbound REST messages to log. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "",
"type": "boolean",
"kind": "parameter",
@@ -190,7 +190,7 @@
},
"loggingSizeLimit": {
"displayName": "Logging Size Limit",
"description": "To limit the total size of number of bytes the logger will output when logging feature has been enabled. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "To limit the total size of number of bytes the logger will output when logging feature has been enabled. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "",
"type": "number",
"kind": "parameter",
@@ -205,7 +205,7 @@
},
"modelRef": {
"displayName": "Model Ref",
"description": "This option is used to specify the model file which is useful for the resource class without annotation. When using this option, then the service class can be omitted, to emulate document-only endpoints. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "This option is used to specify the model file which is useful for the resource class without annotation. When using this option, then the service class can be omitted, to emulate document-only endpoints. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "",
"type": "string",
"kind": "parameter",
@@ -220,7 +220,7 @@
},
"providers": {
"displayName": "Providers",
"description": "Set custom JAX-RS provider(s) list to the CxfRs endpoint. You can specify a string with a list of providers to lookup in the registy separated by comma. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "Set custom JAX-RS provider(s) list to the CxfRs endpoint. You can specify a string with a list of providers to lookup in the registy separated by comma. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "",
"type": "string",
"kind": "parameter",
@@ -235,7 +235,7 @@
},
"resourceClasses": {
"displayName": "Resource Classes",
"description": "The resource classes which you want to export as REST service. Multiple classes can be separated by comma. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "The resource classes which you want to export as REST service. Multiple classes can be separated by comma. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "",
"type": "array",
"kind": "parameter",
@@ -250,7 +250,7 @@
},
"schemaLocations": {
"displayName": "Schema Locations",
"description": "Sets the locations of the schema(s) which can be used to validate the incoming XML or JAXB-driven JSON. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "Sets the locations of the schema(s) which can be used to validate the incoming XML or JAXB-driven JSON. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "",
"type": "array",
"kind": "parameter",
@@ -265,7 +265,7 @@
},
"skipFaultLogging": {
"displayName": "Skip Fault Logging",
"description": "This option controls whether the PhaseInterceptorChain skips logging the Fault that it catches. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "This option controls whether the PhaseInterceptorChain skips logging the Fault that it catches. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "",
"type": "boolean",
"kind": "parameter",
@@ -281,7 +281,7 @@
},
"bindingStyle": {
"displayName": "Binding Style",
"description": "Sets how requests and responses will be mapped to/from Camel. Two values are possible: SimpleConsumer: This binding style processes request parameters, multiparts, etc. and maps them to IN headers, IN attachments and to the message body. It aims to eliminate low-level processing of org.apache.cxf.message.MessageContentsList. It also also adds more flexibility and simplicity to the response mapping. Only available for consumers. Default: The default style. For consumers this passes on a MessageContentsList to the route, requiring low-level processing in the route. This is the traditional binding style, which simply dumps the org.apache.cxf.message.MessageContentsList coming in from the CXF stack onto the IN message body. The user is then responsible for processing it according to the contract defined by the JAX-RS method signature. Custom: allows you to specify a custom binding through the binding option. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "Sets how requests and responses will be mapped to/from Camel. Two values are possible: SimpleConsumer: This binding style processes request parameters, multiparts, etc. and maps them to IN headers, IN attachments and to the message body. It aims to eliminate low-level processing of org.apache.cxf.message.MessageContentsList. It also also adds more flexibility and simplicity to the response mapping. Only available for consumers. Default: The default style. For consumers this passes on a MessageContentsList to the route, requiring low-level processing in the route. This is the traditional binding style, which simply dumps the org.apache.cxf.message.MessageContentsList coming in from the CXF stack onto the IN message body. The user is then responsible for processing it according to the contract defined by the JAX-RS method signature. Custom: allows you to specify a custom binding through the binding option. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "consumer",
"type": "object",
"kind": "parameter",
@@ -305,7 +305,7 @@
},
"publishedEndpointUrl": {
"displayName": "Published Endpoint Url",
"description": "This option can override the endpointUrl that published from the WADL which can be accessed with resource address url plus _wadl. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "This option can override the endpointUrl that published from the WADL which can be accessed with resource address url plus _wadl. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "consumer",
"type": "string",
"kind": "parameter",
@@ -320,7 +320,7 @@
},
"exceptionHandler": {
"displayName": "Exception Handler",
"description": "To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "consumer,advanced",
"type": "object",
"kind": "parameter",
@@ -336,7 +336,7 @@
},
"exchangePattern": {
"displayName": "Exchange Pattern",
"description": "Sets the exchange pattern when the consumer creates an exchange. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "Sets the exchange pattern when the consumer creates an exchange. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "consumer,advanced",
"type": "object",
"kind": "parameter",
@@ -359,7 +359,7 @@
},
"serviceBeans": {
"displayName": "Service Beans",
"description": "The service beans (the bean ids to lookup in the registry) which you want to export as REST service. Multiple beans can be separated by comma. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "The service beans (the bean ids to lookup in the registry) which you want to export as REST service. Multiple beans can be separated by comma. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "consumer,advanced",
"type": "string",
"kind": "parameter",
@@ -374,7 +374,7 @@
},
"cookieHandler": {
"displayName": "Cookie Handler",
"description": "Configure a cookie handler to maintain a HTTP session. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "Configure a cookie handler to maintain a HTTP session. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "producer",
"type": "object",
"kind": "parameter",
@@ -389,7 +389,7 @@
},
"hostnameVerifier": {
"displayName": "Hostname Verifier",
"description": "The hostname verifier to be used. Use the # notation to reference a HostnameVerifier from the registry. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "The hostname verifier to be used. Use the # notation to reference a HostnameVerifier from the registry. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "producer",
"type": "object",
"kind": "parameter",
@@ -404,7 +404,7 @@
},
"sslContextParameters": {
"displayName": "Ssl Context Parameters",
"description": "The Camel SSL setting reference. Use the # notation to reference the SSL Context. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "The Camel SSL setting reference. Use the # notation to reference the SSL Context. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "producer",
"type": "object",
"kind": "parameter",
@@ -419,7 +419,7 @@
},
"throwExceptionOnFailure": {
"displayName": "Throw Exception On Failure",
"description": "This option tells the CxfRsProducer to inspect return codes and will generate an Exception if the return code is larger than 207. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "This option tells the CxfRsProducer to inspect return codes and will generate an Exception if the return code is larger than 207. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "producer",
"type": "boolean",
"kind": "parameter",
@@ -435,7 +435,7 @@
},
"httpClientAPI": {
"displayName": "Http Client API",
"description": "If it is true, the CxfRsProducer will use the HttpClientAPI to invoke the service. If it is false, the CxfRsProducer will use the ProxyClientAPI to invoke the service. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "If it is true, the CxfRsProducer will use the HttpClientAPI to invoke the service. If it is false, the CxfRsProducer will use the ProxyClientAPI to invoke the service. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "producer,advanced",
"type": "boolean",
"kind": "parameter",
@@ -451,7 +451,7 @@
},
"ignoreDeleteMethodMessageBody": {
"displayName": "Ignore Delete Method Message Body",
"description": "This option is used to tell CxfRsProducer to ignore the message body of the DELETE method when using HTTP API. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "This option is used to tell CxfRsProducer to ignore the message body of the DELETE method when using HTTP API. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "producer,advanced",
"type": "boolean",
"kind": "parameter",
@@ -467,7 +467,7 @@
},
"maxClientCacheSize": {
"displayName": "Max Client Cache Size",
"description": "This option allows you to configure the maximum size of the cache. The implementation caches CXF clients or ClientFactoryBean in CxfProvider and CxfRsProvider. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "This option allows you to configure the maximum size of the cache. The implementation caches CXF clients or ClientFactoryBean in CxfProvider and CxfRsProvider. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "producer,advanced",
"type": "number",
"kind": "parameter",
@@ -483,7 +483,7 @@
},
"binding": {
"displayName": "Binding",
"description": "To use a custom CxfBinding to control the binding between Camel Message and CXF Message. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "To use a custom CxfBinding to control the binding between Camel Message and CXF Message. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "advanced",
"type": "object",
"kind": "parameter",
@@ -498,7 +498,7 @@
},
"bus": {
"displayName": "Bus",
"description": "To use a custom configured CXF Bus. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "To use a custom configured CXF Bus. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "advanced",
"type": "object",
"kind": "parameter",
@@ -513,7 +513,7 @@
},
"continuationTimeout": {
"displayName": "Continuation Timeout",
"description": "This option is used to set the CXF continuation timeout which could be used in CxfConsumer by default when the CXF server is using Jetty or Servlet transport. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "This option is used to set the CXF continuation timeout which could be used in CxfConsumer by default when the CXF server is using Jetty or Servlet transport. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "advanced",
"type": "duration",
"kind": "parameter",
@@ -529,7 +529,7 @@
},
"cxfRsConfigurer": {
"displayName": "Cxf Rs Configurer",
"description": "This option could apply the implementation of org.apache.camel.component.cxf.jaxrs.CxfRsEndpointConfigurer which supports to configure the CXF endpoint in programmatic way. User can configure the CXF server and client by implementing configure{Server/Client} method of CxfEndpointConfigurer. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "This option could apply the implementation of org.apache.camel.component.cxf.jaxrs.CxfRsEndpointConfigurer which supports to configure the CXF endpoint in programmatic way. User can configure the CXF server and client by implementing configure{Server/Client} method of CxfEndpointConfigurer. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "advanced",
"type": "object",
"kind": "parameter",
@@ -544,7 +544,7 @@
},
"defaultBus": {
"displayName": "Default Bus",
"description": "Will set the default bus when CXF endpoint create a bus by itself. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "Will set the default bus when CXF endpoint create a bus by itself. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "advanced",
"type": "boolean",
"kind": "parameter",
@@ -560,7 +560,7 @@
},
"performInvocation": {
"displayName": "Perform Invocation",
"description": "When the option is true, Camel will perform the invocation of the resource class instance and put the response object into the exchange for further processing. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "When the option is true, Camel will perform the invocation of the resource class instance and put the response object into the exchange for further processing. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "advanced",
"type": "boolean",
"kind": "parameter",
@@ -576,7 +576,7 @@
},
"propagateContexts": {
"displayName": "Propagate Contexts",
"description": "When the option is true, JAXRS UriInfo, HttpHeaders, Request and SecurityContext contexts will be available to custom CXFRS processors as typed Camel exchange properties. These contexts can be used to analyze the current requests using JAX-RS API. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "When the option is true, JAXRS UriInfo, HttpHeaders, Request and SecurityContext contexts will be available to custom CXFRS processors as typed Camel exchange properties. These contexts can be used to analyze the current requests using JAX-RS API. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "advanced",
"type": "boolean",
"kind": "parameter",
@@ -592,7 +592,7 @@
},
"synchronous": {
"displayName": "Synchronous",
"description": "Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "advanced",
"type": "boolean",
"kind": "parameter",
@@ -1436,4 +1436,4 @@
}
}
}
}
}

View File

@@ -3,7 +3,7 @@
"id": "openapi-based-rest-client",
"displayName": "REST :: OPENAPI :: CLIENT",
"type": "entaxy.runtime.service",
"description": "Public openapi-based REST service client. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/schema/Rest_services.html\">Entaxy docs</a>",
"description": "Public openapi-based REST service client. For more details see <a target=\"_blank\" href=\"/entaxy-documentation/entaxy-documentation-${entaxy.documentation.version}/entaxy-core/${entaxy.documentation.version}/core/schema/Rest_services.html\">Entaxy docs</a>",
"isAbstract": false,
"parent": "openapi-based-rest-service-public",
"label": "service,rest",
@@ -225,13 +225,13 @@
"isHidden": true
},
"camel_headerFilterStrategy": {
"description": "To use a custom org.apache.camel.spi.HeaderFilterStrategy to filter header to and from Camel message. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>"
"group": "header filter"
},
"camel_cookieHandler": {
"description": "To use a custom org.apache.camel.http.base.cookie.CookieHandler to maintain a HTTP session. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>"
"description": "To use a custom org.apache.camel.http.base.cookie.CookieHandler to maintain a HTTP session. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>"
},
"camel_hostnameVerifier": {
"description": "To use a custom javax.net.ssl.HostnameVerifier. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>"
"description": "To use a custom javax.net.ssl.HostnameVerifier. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>"
},
"camel_bus": {
"@TODO": "Now hidden, to process in next releases",
@@ -263,7 +263,7 @@
},
"camel_exchangePattern": {
"displayName": "Exchange Pattern",
"description": "Sets the exchange pattern when the consumer creates an exchange. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"description": "Sets the exchange pattern when the consumer creates an exchange. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxfrs-component.html\">Camel docs</a>",
"label": "consumer,advanced",
"type": "String",
"kind": "parameter",
@@ -316,11 +316,6 @@
"location": "fields",
"prefix": ""
},
{
"sourceFactoryId": "header-filter-strategy",
"location": "fields",
"prefix": ""
},
{
"sourceFactoryId": "cookie-handler",
"location": "fields",
@@ -358,12 +353,6 @@
"type": "entaxy.runtime.service"
}
},
"__headerFilterStrategyTemplate": {
"type": "entaxy.runtime.service",
"defaultValue": {
"type": "entaxy.runtime.service"
}
},
"__cookieHandlerTemplate": {
"type": "entaxy.runtime.service",
"defaultValue": {
@@ -407,18 +396,6 @@
"configurable": false
}
},
"header-filter-strategy": {
"fields": {
"__headerFilterStrategyTemplate": {}
},
"scopes": [
"private"
],
"config": {
"@SKIP_PUBLISH": {},
"configurable": false
}
},
"cookie-handler": {
"fields": {
"__cookieHandlerTemplate": {}
@@ -456,4 +433,4 @@
}
}
}
}
}

View File

@@ -3,7 +3,7 @@
"id": "openapi-based-rest-service-protected",
"displayName": "REST :: OPENAPI :: PROTECTED",
"type": "entaxy.runtime.service",
"description": "Protected openapi-based REST service. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/schema/Rest_services.html\">Entaxy docs</a>",
"description": "Protected openapi-based REST service. For more details see <a target=\"_blank\" href=\"/entaxy-documentation/entaxy-documentation-${entaxy.documentation.version}/entaxy-core/${entaxy.documentation.version}/core/schema/Rest_services.html\">Entaxy docs</a>",
"isAbstract": false,
"_parent": "openapi-based-rest-service",
"parent": "openapi-based-rest-service-public",

View File

@@ -3,7 +3,7 @@
"id": "openapi-based-rest-service-public",
"displayName": "REST :: OPENAPI :: PUBLIC",
"type": "entaxy.runtime.service",
"description": "Public openapi-based REST service. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/schema/Rest_services.html\">Entaxy docs</a>",
"description": "Public openapi-based REST service. For more details see <a target=\"_blank\" href=\"/entaxy-documentation/entaxy-documentation-${entaxy.documentation.version}/entaxy-core/${entaxy.documentation.version}/core/schema/Rest_services.html\">Entaxy docs</a>",
"isAbstract": false,
"parent": "openapi-based-rest-service",
"label": "service,rest,openapi",
@@ -29,7 +29,6 @@
"outputs": {
"init": {
"fields" : {
"removeAllHeadersBeforeAnswering": {},
"generateLoggingKey": {}
}
}

View File

@@ -13,7 +13,7 @@
"fields": {
"serviceTitle": {
"displayName": "Title",
"description": "The title of the API. Populated automatically based on the selected YAML/JSON resource. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/schema/Rest_services.html\">Entaxy docs</a>",
"description": "The title of the API. Populated automatically based on the selected YAML/JSON resource. For more details see <a target=\"_blank\" href=\"/entaxy-documentation/entaxy-documentation-${entaxy.documentation.version}/entaxy-core/${entaxy.documentation.version}/core/schema/Rest_services.html\">Entaxy docs</a>",
"type": "String",
"group": "main",
"required": false,

View File

@@ -113,7 +113,7 @@
"fields": {
"authorizationType": {
"displayName": "Authorization Type",
"description": "The type of authorization used to access the service. <br/> JAAS: Provides authorization using Java Authentication and Authorization Service (JAAS), which supports management of multiple realms; <br/> OAUTH STAND ALONE: Provides stand-alone authorization using locally managed keys and settings, independent of external services (OAuth2); <br/> OAUTH INTROSPECT: Provides verification and validation of access tokens by calling the introspection endpoint to obtain information about the token and its state (OAuth2). <br/> For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/security/security.html\">Entaxy docs</a>",
"description": "The type of authorization used to access the service. <br/> JAAS: Provides authorization using Java Authentication and Authorization Service (JAAS), which supports management of multiple realms; <br/> OAUTH STAND ALONE: Provides stand-alone authorization using locally managed keys and settings, independent of external services (OAuth2); <br/> OAUTH INTROSPECT: Provides verification and validation of access tokens by calling the introspection endpoint to obtain information about the token and its state (OAuth2). <br/> For more details see <a target=\"_blank\" href=\"/entaxy-documentation/entaxy-documentation-${entaxy.documentation.version}/entaxy-core/${entaxy.documentation.version}/core/security/security.html\">Entaxy docs</a>",
"type": "string",
"required": true,
"group": "security",
@@ -122,7 +122,7 @@
"authorizationRealm": {
"displayName": "Authorization realm",
"type": "entaxy.security.jaas.realm",
"description": "Defines an authorization realm for the service and associates it with the corresponding security settings. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/security/security-jaas.html\">Entaxy docs</a>",
"description": "Defines an authorization realm for the service and associates it with the corresponding security settings. For more details see <a target=\"_blank\" href=\"/entaxy-documentation/entaxy-documentation-${entaxy.documentation.version}/entaxy-core/${entaxy.documentation.version}/core/security/security-jaas.html\">Entaxy docs</a>",
"required": false,
"group": "security",
"__defaultValue": "karaf",
@@ -167,7 +167,7 @@
},
"restrictByRoles": {
"displayName": "Restrict access by roles",
"description": "Enables to restrict access to the service based on roles. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/security/security-jaas.html\">Entaxy docs</a>",
"description": "Enables to restrict access to the service based on roles. For more details see <a target=\"_blank\" href=\"/entaxy-documentation/entaxy-documentation-${entaxy.documentation.version}/entaxy-core/${entaxy.documentation.version}/core/security/security-jaas.html\">Entaxy docs</a>",
"type": "boolean",
"required": false,
"group": "security",
@@ -184,7 +184,7 @@
},
"globalRoles": {
"displayName": "Roles allowed to access",
"description": "List of roles that are allowed to access the service. Multiple roles can be specified, separated by commas. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/security/security-jaas.html\">Entaxy docs</a>",
"description": "List of roles that are allowed to access the service. Multiple roles can be specified, separated by commas. For more details see <a target=\"_blank\" href=\"/entaxy-documentation/entaxy-documentation-${entaxy.documentation.version}/entaxy-core/${entaxy.documentation.version}/core/security/security-jaas.html\">Entaxy docs</a>",
"type": "String",
"required": false,
"group": "security",
@@ -203,7 +203,7 @@
"jwtAuthzFilterRegexp": {
"defaultValue": "\\W+",
"displayName": "Regexp for jwt auth filter",
"description": "Regexp for jwt auth filter. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/security/oauth.html\">Entaxy docs</a>",
"description": "Regexp for jwt auth filter. For more details see <a target=\"_blank\" href=\"/entaxy-documentation/entaxy-documentation-${entaxy.documentation.version}/entaxy-core/${entaxy.documentation.version}/core/security/oauth.html\">Entaxy docs</a>",
"type": "String",
"required": false,
"group": "security",
@@ -247,7 +247,7 @@
},
"jwtKeystore": {
"displayName": "Keystore",
"description": "Keystore used for token verification. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/security/keystores.html\">Entaxy docs</a> and <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/security/oauth.html\">Entaxy docs</a>",
"description": "Keystore used for token verification. For more details see <a target=\"_blank\" href=\"/entaxy-documentation/entaxy-documentation-${entaxy.documentation.version}/entaxy-core/${entaxy.documentation.version}/core/security/keystores.html\">Entaxy docs</a> and <a target=\"_blank\" href=\"/entaxy-documentation/entaxy-documentation-${entaxy.documentation.version}/entaxy-core/${entaxy.documentation.version}/core/security/oauth.html\">Entaxy docs</a>",
"type": "Url",
"required": false,
"group": "security",
@@ -269,7 +269,7 @@
},
"jwtAlias": {
"displayName": "Jwt Alias",
"description": "The alias of the certificate from the selected keystore. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/security/keystores.html\">Entaxy docs</a> and <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/security/oauth.html\">Entaxy docs</a>",
"description": "The alias of the certificate from the selected keystore. For more details see <a target=\"_blank\" href=\"/entaxy-documentation/entaxy-documentation-${entaxy.documentation.version}/entaxy-core/${entaxy.documentation.version}/core/security/keystores.html\">Entaxy docs</a> and <a target=\"_blank\" href=\"/entaxy-documentation/entaxy-documentation-${entaxy.documentation.version}/entaxy-core/${entaxy.documentation.version}/core/security/oauth.html\">Entaxy docs</a>",
"type": "String",
"required": false,
"group": "security",
@@ -324,7 +324,7 @@
"introspectAuthorizationLogin": {
"defaultValue": "",
"displayName": "Introspect Authorization Login",
"description": "Authorization login used to access the identity provider. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/security/oauth.html\">Entaxy docs</a>",
"description": "Authorization login used to access the identity provider. For more details see <a target=\"_blank\" href=\"/entaxy-documentation/entaxy-documentation-${entaxy.documentation.version}/entaxy-core/${entaxy.documentation.version}/core/security/oauth.html\">Entaxy docs</a>",
"type": "String",
"required": false,
"group": "security",
@@ -338,7 +338,7 @@
},
"introspectAuthorizationPasswordVault": {
"defaultValue": "$ENTAXY_SECRETS{password@for-service}",
"description": "Authorization password used to access the identity provider. It is possible to use secrets with $ENTAXY_SECRETS{your_alias@your_vault}. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/security/vaults.html\">Entaxy docs</a> and <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/security/oauth.html\">Entaxy docs</a>",
"description": "Authorization password used to access the identity provider. It is possible to use secrets with $ENTAXY_SECRETS{your_alias@your_vault}. For more details see <a target=\"_blank\" href=\"/entaxy-documentation/entaxy-documentation-${entaxy.documentation.version}/entaxy-core/${entaxy.documentation.version}/core/security/vaults.html\">Entaxy docs</a> and <a target=\"_blank\" href=\"/entaxy-documentation/entaxy-documentation-${entaxy.documentation.version}/entaxy-core/${entaxy.documentation.version}/core/security/oauth.html\">Entaxy docs</a>",
"displayName": "Introspect Authorization Password",
"type": "String",
"required": false,
@@ -354,7 +354,7 @@
"introspectAccept": {
"defaultValue": "application/json",
"displayName": "Introspect Accept",
"description": "Authorization Accept used to access the identity provider. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/security/oauth.html\">Entaxy docs</a>",
"description": "Authorization Accept used to access the identity provider. For more details see <a target=\"_blank\" href=\"/entaxy-documentation/entaxy-documentation-${entaxy.documentation.version}/entaxy-core/${entaxy.documentation.version}/core/security/oauth.html\">Entaxy docs</a>",
"type": "String",
"required": false,
"isHidden": true,
@@ -369,7 +369,7 @@
},
"introspectAddress": {
"displayName": "Introspect URL",
"description": "Authorization URL used to access the identity provider. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/security/oauth.html\">Entaxy docs</a>",
"description": "Authorization URL used to access the identity provider. For more details see <a target=\"_blank\" href=\"/entaxy-documentation/entaxy-documentation-${entaxy.documentation.version}/entaxy-core/${entaxy.documentation.version}/core/security/oauth.html\">Entaxy docs</a>",
"type": "String",
"required": false,
"group": "security",
@@ -384,7 +384,7 @@
"introspectHttpReceiveTimeout": {
"defaultValue": "60",
"displayName": "Http receive timeout",
"description": "Http receive timeout used to access the identity provider. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/security/oauth.html\">Entaxy docs</a>",
"description": "Http receive timeout used to access the identity provider. For more details see <a target=\"_blank\" href=\"/entaxy-documentation/entaxy-documentation-${entaxy.documentation.version}/entaxy-core/${entaxy.documentation.version}/core/security/oauth.html\">Entaxy docs</a>",
"type": "integer",
"javaType": "java.lang.Integer",
"required": false,

View File

@@ -18,7 +18,7 @@
"address": {
"displayName": "Address",
"type": "String",
"description": "The service publication address. Specifies the address at which the service will be available for interaction with other system components. If the field is left blank, it will be generated automatically based on the Service Id. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/schema/Soap_services.html\">Entaxy docs</a>",
"description": "The service publication address. Specifies the address at which the service will be available for interaction with other system components. If the field is left blank, it will be generated automatically based on the Service Id. For more details see <a target=\"_blank\" href=\"/entaxy-documentation/entaxy-documentation-${entaxy.documentation.version}/entaxy-core/${entaxy.documentation.version}/core/schema/Soap_services.html\">Entaxy docs</a>",
"required": true,
"group": "main",
"defaultValue": {
@@ -80,6 +80,31 @@
"isDefault": true,
"fields": {
"address": {},
"camel_headerFilterStrategy": {
"description": "To use a custom org.apache.camel.spi.HeaderFilterStrategy to filter header to and from Camel message. For more details see <a target=\"_blank\" href=\"/camel-documentation/camel-documentation-${camel-docs.version}.entaxy/components/${camel-docs.version}/cxf-component.html\">Camel docs</a>",
"defaultValue": "org.apache.camel.component.cxf.common.header.CxfHeaderFilterStrategy",
"@UI": {
"transmitAlways": true
},
"@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",
"custom"
]
}
},
"headerFilterStrategyPattern": {
"@UI": {
"displayBlocks": [
"org.apache.camel.support.DefaultHeaderFilterStrategy",
"org.apache.camel.component.cxf.common.header.CxfHeaderFilterStrategy"
]
}
},
"##publish": {}
}
}

View File

@@ -302,6 +302,9 @@
"removeAllHeadersBeforeAnswering": {
"isHidden": true
},
"camel_headerFilterStrategy": {
"group": "header filter"
},
"authorizationRealm": {
"isHidden": true
},
@@ -314,9 +317,6 @@
"globalRoles": {
"isHidden": true
},
"camel_headerFilterStrategy": {
"description": "To use a custom org.apache.camel.spi.HeaderFilterStrategy to filter header to and from Camel message. For more details see <a target=\"_blank\" href=\"https://camel-docs.entaxy.ru/components/${camel-docs.version}/cxf-component.html\">Camel docs</a>"
},
"@IMPORT": [
{
"sourceFactoryId": "service-components",
@@ -328,11 +328,6 @@
"location": "fields",
"prefix": ""
},
{
"sourceFactoryId": "header-filter-strategy",
"location": "fields",
"prefix": ""
},
{
"sourceFactoryId": "#",
"location": "fields",
@@ -355,12 +350,6 @@
"type": "entaxy.runtime.service"
}
},
"__headerFilterStrategyTemplate":{
"type": "entaxy.runtime.service",
"defaultValue": {
"type": "entaxy.runtime.service"
}
},
"connectorOutFactory": {},
"##headers": {}
}
@@ -384,17 +373,6 @@
"@SKIP_PUBLISH": {},
"configurable": false
}
},
"header-filter-strategy": {
"fields": {
"__headerFilterStrategyTemplate":{
}
},
"scopes": ["private"],
"config": {
"@SKIP_PUBLISH": {},
"configurable": false
}
}
}
}

View File

@@ -3,7 +3,7 @@
"id": "wsdl-based-soap-service-protected",
"displayName": "SOAP :: WSDL :: PROTECTED",
"type": "entaxy.runtime.service",
"description": "Protected WSDL-based SOAP service. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/schema/Soap_services.html\">Entaxy docs</a>",
"description": "Protected WSDL-based SOAP service. For more details see <a target=\"_blank\" href=\"/entaxy-documentation/entaxy-documentation-${entaxy.documentation.version}/entaxy-core/${entaxy.documentation.version}/core/schema/Soap_services.html\">Entaxy docs</a>",
"isAbstract": false,
"parent": "wsdl-based-soap-service-public",
"label": "service,soap",

View File

@@ -3,7 +3,7 @@
"id": "wsdl-based-soap-service-public",
"displayName": "SOAP :: WSDL :: PUBLIC",
"type": "entaxy.runtime.service",
"description": "Public WSDL-based SOAP service. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/schema/Soap_services.html\">Entaxy docs</a>",
"description": "Public WSDL-based SOAP service. For more details see <a target=\"_blank\" href=\"/entaxy-documentation/entaxy-documentation-${entaxy.documentation.version}/entaxy-core/${entaxy.documentation.version}/core/schema/Soap_services.html\">Entaxy docs</a>",
"isAbstract": false,
"parent": "wsdl-based-soap-service",
"label": "service,soap",
@@ -33,7 +33,6 @@
"config": {},
"fields": {
"generateLoggingKey": {},
"removeAllHeadersBeforeAnswering": {},
"authorizationType": {
"required": true,
"@UI": {

View File

@@ -12,7 +12,7 @@
"fields": {
"serviceFullName": {
"displayName": "Service Full Name",
"description": "Full name of the selected service from the WSDL resource. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/schema/Soap_services.html\">Entaxy docs</a>",
"description": "Full name of the selected service from the WSDL resource. For more details see <a target=\"_blank\" href=\"/entaxy-documentation/entaxy-documentation-${entaxy.documentation.version}/entaxy-core/${entaxy.documentation.version}/core/schema/Soap_services.html\">Entaxy docs</a>",
"type": "String",
"group": "main",
"required": true,
@@ -31,7 +31,7 @@
},
"port": {
"displayName": "Port",
"description": "The port of the selected service from the WSDL resource. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/schema/Soap_services.html\">Entaxy docs</a>",
"description": "The port of the selected service from the WSDL resource. For more details see <a target=\"_blank\" href=\"/entaxy-documentation/entaxy-documentation-${entaxy.documentation.version}/entaxy-core/${entaxy.documentation.version}/core/schema/Soap_services.html\">Entaxy docs</a>",
"type": "String",
"group": "main",
"required": true,
@@ -65,7 +65,7 @@
},
"dataFormat": {
"displayName": "Data Format",
"description": "Supported data formats: <br/> PAYLOAD is the message payload (the contents of the soap:body) after message configuration in the CXF endpoint is applied. Only Protocol JAX-WS handler is supported. Logical JAX-WS handler is not supported. <br/> CXF_MESSAGE allows for invoking the full capabilities of CXF interceptors by converting the message from the transport layer into a raw SOAP message <br/> For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/schema/Soap_services.html\">Entaxy docs</a>",
"description": "Supported data formats: <br/> PAYLOAD is the message payload (the contents of the soap:body) after message configuration in the CXF endpoint is applied. Only Protocol JAX-WS handler is supported. Logical JAX-WS handler is not supported. <br/> CXF_MESSAGE allows for invoking the full capabilities of CXF interceptors by converting the message from the transport layer into a raw SOAP message <br/> For more details see <a target=\"_blank\" href=\"/entaxy-documentation/entaxy-documentation-${entaxy.documentation.version}/entaxy-core/${entaxy.documentation.version}/core/schema/Soap_services.html\">Entaxy docs</a>",
"type": "String",
"required": true,
"group": "main",
@@ -80,7 +80,7 @@
},
"mtomEnabled": {
"displayName": "MTOM Enabled",
"description": "Enables MTOM (attachments). This requires to use POJO or PAYLOAD data format mode. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/schema/Soap_services.html\">Entaxy docs</a>",
"description": "Enables MTOM (attachments). This requires to use POJO or PAYLOAD data format mode. For more details see <a target=\"_blank\" href=\"/entaxy-documentation/entaxy-documentation-${entaxy.documentation.version}/entaxy-core/${entaxy.documentation.version}/core/schema/Soap_services.html\">Entaxy docs</a>",
"type": "Boolean",
"required": true,
"group": "main",
@@ -88,7 +88,7 @@
},
"schemaValidationEnabled": {
"displayName": "Schema Validation Enabled",
"description": "Enables schema validation for messages. Throws an exception if the message does not comply with the specified XML schema. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/schema/Soap_services.html\">Entaxy docs</a>",
"description": "Enables schema validation for messages. Throws an exception if the message does not comply with the specified XML schema. For more details see <a target=\"_blank\" href=\"/entaxy-documentation/entaxy-documentation-${entaxy.documentation.version}/entaxy-core/${entaxy.documentation.version}/core/schema/Soap_services.html\">Entaxy docs</a>",
"type": "string",
"required": true,
"group": "main",
@@ -262,7 +262,7 @@
"init": {
"fields": {
"schemaUrl": {
"description": "The resource on which the current service is based. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/schema/Soap_services.html\">Entaxy docs</a>",
"description": "The resource on which the current service is based. For more details see <a target=\"_blank\" href=\"/entaxy-documentation/entaxy-documentation-${entaxy.documentation.version}/entaxy-core/${entaxy.documentation.version}/core/schema/Soap_services.html\">Entaxy docs</a>",
"displayName": "WSDL schema",
"group": "main",
"@TYPEINFO": {

View File

@@ -1,16 +0,0 @@
[#if properties.camel_headerFilterStrategy??]
[#if properties.camel_headerFilterStrategy == "custom"]
[#assign headerFilterStrategyReference = properties.headerFilterStrategyReference]
[#else]
[#assign headerFilterStrategyReference = "headerFilterStrategy"]
[/#if]
[#global properties = properties + {"camel_headerFilterStrategy": "#[=headerFilterStrategyReference]"} ]
[/#if]
[#if properties.camel_sslContextParameters??]
[#if properties.camel_sslContextParameters == "custom"]
[#assign sslContextParametersReference = properties.sslContextParametersReference]
[#else]
[#assign sslContextParametersReference = "sslContextParameters"]
[/#if]
[#global properties = properties + {"camel_sslContextParameters": "#[=sslContextParametersReference]"} ]
[/#if]

View File

@@ -8,8 +8,8 @@
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
">
[#import "templates:object-commons/common-utils.ftl" as utils]
[#include "customObjectReferences.ftl" ]
[#import "templates:object-commons/common-utils.ftl" as utils]
[#include "templates:base-object/customObjectReferences.ftl" ]
<!--
INFO:

View File

@@ -1,139 +0,0 @@
[#ftl attributes={"generated.type":"blueprint"}]
<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:camelcxf="http://camel.apache.org/schema/blueprint/cxf"
xmlns:cxf="http://cxf.apache.org/blueprint/core"
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
">
<!--
factoryId: openapi-based-rest-service-public
factoryType: entaxy.runtime.service
outputType: init
properties:
[#list properties?keys as key]
[=key]
[/#list]
-->
[#if properties.authorizationType == "JAAS"]
<reference id="systemInterceptor" interface="org.apache.cxf.phase.PhaseInterceptor"
filter="(type=system)"/>
<reference id="authInterceptor" interface="org.apache.cxf.phase.PhaseInterceptor"
filter="(type=authentication)"/>
<reference id="serviceInterceptor" interface="org.apache.cxf.phase.PhaseInterceptor"
filter="(type=service)"
timeout="30000" availability="mandatory"/>
<bean id="resolveLoginInterceptor" class="ru.entaxy.platform.services.runtime.interceptor.ResolveLoginInterceptor" />
[/#if]
<!-- JAXRS providers -->
<bean id="jsonProviderFactory" class="ru.entaxy.platform.core.objects.service.producing.JacksonJsonProviderFactory"/>
<bean id="jsonProvider" factory-ref="jsonProviderFactory" factory-method="create"/>
<!-- CXF OpenApiFeature -->
<bean id="openApiFeature" class="org.apache.cxf.jaxrs.openapi.OpenApiFeature">
<property name="runAsFilter" value="true" />
<property name="useContextBasedConfig" value="true" />
<property name="scan" value="true" />
</bean>
<!-- CXF Bus -->
<cxf:bus bus="cxf-local-[=objectId]" name="cxf-local-[=objectId]">
<cxf:properties key-type="java.lang.String" value-type="java.lang.Object">
<entry key="org.apache.cxf.common.util.ClassUnwrapper" value-ref="class-unwrapper-[=objectId]" />
</cxf:properties>
</cxf:bus>
[#if properties._serviceMetadata.classes.apis??]
[#list 0..properties._serviceMetadata.classes.apis?size-1 as i]
<bean id="proxy-bean-[=objectId]-[=i]" activation="eager" class="ru.entaxy.platform.core.support.runtime.cxf.EntaxyCxfServiceClassProxyBean">
<property name="realClassName" value="[=properties._serviceMetadata.classes.apis[i]]"></property>
</bean>
[/#list]
[/#if]
<bean id="class-unwrapper-[=objectId]" activation="eager" class="ru.entaxy.platform.core.support.runtime.cxf.EntaxyCxfClassResourceUnwrapper"
init-method="activate">
<property name="resourceFolders">
<list value-type="java.lang.String">
<value>service-resources:[=properties._serviceMetadata.serviceResourcesRoot]/[=properties._serviceMetadata.classes.folder]/</value>
</list>
</property>
<property name="useCache" value="true"></property>
<property name="bus" ref="cxf-local-[=objectId]"></property>
<property name="bundleContext" ref="blueprintBundleContext"></property>
</bean>
<!--
<bean id="[=objectId]-connector-registry" class="ru.entaxy.platform.services.runtime.impl.EntaxyServiceConnectorRegistry" activation="eager">
<property name="profileNameHeaders">
<list value-type="java.lang.String">
<value>X-SystemName</value>
</list>
</property>
</bean>
<reference-list id="connectorList"
interface="ru.entaxy.platform.services.runtime.EntaxyServiceConnectorInfo"
filter="(service=[=objectId])" availability="optional">
<reference-listener ref="[=objectId]-connector-registry"
bind-method="register" unbind-method="unregister"/>
</reference-list>
-->
<camelcxf:rsServer id="[=objectId]-rs-server"
address="/[=properties.address]"
loggingFeatureEnabled="true"
loggingSizeLimit="50"
bus="cxf-local-[=objectId]">
<camelcxf:serviceBeans>
[#if properties._serviceMetadata.classes.apis??]
[#list 0..properties._serviceMetadata.classes.apis?size-1 as i]
<ref component-id="proxy-bean-[=objectId]-[=i]"/>
[/#list]
[/#if]
</camelcxf:serviceBeans>
<camelcxf:providers>
<ref component-id="jsonProvider"/>
</camelcxf:providers>
<camelcxf:features>
<ref component-id="openApiFeature"/>
</camelcxf:features>
<camelcxf:inInterceptors>
[#if properties.authorizationType == "JAAS"]
<ref component-id="authInterceptor"/>
<ref component-id="systemInterceptor"/>
<ref component-id="resolveLoginInterceptor"/>
[/#if]
</camelcxf:inInterceptors>
</camelcxf:rsServer>
<camelContext id="openapi-[=objectId]-context" xmlns="http://camel.apache.org/schema/blueprint"
errorHandlerRef="commonErrorHandler">
<errorHandler id="commonErrorHandler" redeliveryPolicyRef="noRedelivery"
type="DeadLetterChannel" deadLetterUri="direct-vm:commonErrorEndpoint"/>
<redeliveryPolicyProfile id="noRedelivery" disableRedelivery="true"/>
<route id="[=objectId]-cxf-rs-endpoint" streamCache="true">
<from uri="cxfrs:bean:[=objectId]-rs-server?bindingStyle=SimpleConsumer"/>
<setHeader name="ENTAXY_EndpointName">
<simple>[=objectId]</simple>
</setHeader>
<setHeader name="NTX_ERROR_HANDLER_SYNC_TYPE">
<constant>application/json</constant>
</setHeader>
[#include "templates:service-components/generateLoggingKey.ftl"]
<to uri="direct:[=objectId]-operation-router" />
</route>
</camelContext>
</blueprint>

View File

@@ -0,0 +1,8 @@
[#ftl attributes={"generated.type":"blueprint.fragment"}]
[#if properties.objectClass?? && properties.objectClass == "org.apache.camel.component.cxf.jaxrs.CxfRsHeaderFilterStrategy"]
<bean id="[=properties.reference]" class="[=properties.objectClass]">
<property name="outFilterPattern" value="[=properties.pattern]"/>
</bean>
[#else]
[#include "templates:base-object/header-filter-strategy.ftl" ]
[/#if]

View File

@@ -25,7 +25,10 @@
[=key]
[/#list]
-->
[#import "templates:object-commons/common-utils.ftl" as utils]
[#include "templates:base-object/customObjectReferences.ftl" ]
[#if properties.authorizationType != "NONE" && properties.displayServiceSchema]
<bean id="publicOpenApiSchemaInterceptor" class="ru.entaxy.platform.services.runtime.interceptor.PublicOpenApiSchemaInterceptor">
</bean>
@@ -130,6 +133,12 @@
<property name="failOnUnknownProperties" value="false"/>
</bean>
<bean id="jsonProvider" factory-ref="jsonProviderFactory" factory-method="create"/>
<bean id="jaxbProvider" class="org.apache.cxf.jaxrs.provider.JAXBElementProvider">
<property name="marshallAsJaxbElement" value="true"/>
<property name="unmarshallAsJaxbElement" value="true"/>
</bean>
<!-- CXF OpenApiFeature -->
<bean id="openApiFeature" class="org.apache.cxf.jaxrs.openapi.OpenApiFeature">
<property name="runAsFilter" value="true" />
@@ -179,7 +188,7 @@
<bean id="validationProviderResolver" class="ru.entaxy.platform.services.runtime.resolver.HibernateValidationProviderResolver"/>
[/#if]
[#assign finalAddress=properties.address]
[#if !finalAddress?starts_with('http://') && !finalAddress?starts_with('https://')]
[#if !finalAddress?starts_with('/')]
@@ -201,6 +210,7 @@
</camelcxf:serviceBeans>
<camelcxf:providers>
<ref component-id="jsonProvider"/>
<ref component-id="jaxbProvider"/>
[#if properties.authorizationType == "OAUTH STAND ALONE"]
<ref component-id="jwtAuthzFilter"/>
[/#if]
@@ -248,7 +258,8 @@
<camelContext id="openapi-[=objectId]-context" xmlns="http://camel.apache.org/schema/blueprint">
<route id="[=objectId]-cxf-rs-endpoint" streamCache="true">
<from uri="cxfrs:bean:[=objectId]-rs-server?bindingStyle=SimpleConsumer"/>
[#global properties = properties + {"camel_bindingStyle": "SimpleConsumer"} ]
<from uri="cxfrs:bean:[=objectId]-rs-server[=utils.createQueryString(properties, "camel_", true, ["fieldToExclude1","fieldToExclude2"])]"/>
<setHeader name="ENTAXY_EndpointName">
<simple>[=objectId]</simple>
</setHeader>
@@ -257,20 +268,26 @@
</setHeader>
[#if properties.resultType?? && properties.resultType == "ORIGIN"]
<marshal>
<json library="Jackson" autoDiscoverObjectMapper="true"/>
</marshal>
<choice>
<when>
<simple>${headers.Content-Type.contains("xml")}</simple>
<marshal>
<jacksonxml useList="true"/>
</marshal>
</when>
<otherwise>
<marshal>
<json library="Jackson" autoDiscoverObjectMapper="true"/>
</marshal>
</otherwise>
</choice>
[/#if]
[#include "templates:service-components/generateLoggingKey.ftl"]
<to uri="direct:[=objectId]-operation-router" />
[#if properties.removeAllHeadersBeforeAnswering]
<removeHeaders pattern="*"/>
[/#if]
<removeProperties pattern="NTX.+|ENTAXY.+"/>
<removeHeaders pattern="NTX.+|ENTAXY.+"/>
</route>
</camelContext>

View File

@@ -1,21 +0,0 @@
[#ftl attributes={"generated.type":"blueprint.fragment"}]
<route>
<from uri="direct:pre-route" />
<operation-router>
[#if properties.service??]
[#if properties.service.operations??]
[#list properties.service.operations as path, operationData]
[#list operationData as verb, operation]
<operation name="[=operation.operationIdCamelCase]">
<!-- path: [=path]; verb: [=verb]; operationId: [=operation.original!"isn't set"]-->
<log message="Called operation: ${headers.operationName}" loggingLevel="INFO"/>
</operation>
[/#list]
[/#list]
<unknown-operation>
<log message="Unknown operation: ${headers.operationName}" loggingLevel="WARN"/>
</unknown-operation>
[/#if]
[/#if]
</operation-router>
</route>

View File

@@ -1,23 +0,0 @@
[#ftl attributes={"generated.type":"blueprint.fragment"}]
<?xml version="1.0" encoding="UTF-8"?>
<route>
<operation-router-start />
<operation-router>
[#if properties.service??]
[#if properties.service.operations??]
[#list properties.service.operations as path, operationData]
[#list operationData as verb, operation]
<operation name="[=operation.operationIdCamelCase]">
<!-- path: [=path]; verb: [=verb]; operationId: [=operation.original!"isn't set"]-->
<log message="Called operation: ${headers.operationName}" loggingLevel="INFO"/>
<connector direction="in" />
</operation>
[/#list]
[/#list]
<unknown-operation>
<log message="Unknown operation: ${headers.operationName}" loggingLevel="WARN"/>
</unknown-operation>
[/#if]
[/#if]
</operation-router>
</route>

View File

@@ -1,22 +0,0 @@
[#ftl attributes={"generated.type":"blueprint.fragment"}]
<?xml version="1.0" encoding="UTF-8"?>
<route>
<operation-router-start />
<operation-router>
[#if properties.service??]
[#if properties.service.operations??]
[#list properties.service.operations as path, operationData]
[#list operationData as verb, operation]
<operation name="[=operation.operationIdCamelCase]">
<!-- path: [=path]; verb: [=verb]; operationId: [=operation.original!"isn't set"]-->
<log message="Called operation: ${headers.operationName}" loggingLevel="INFO"/>
</operation>
[/#list]
[/#list]
<unknown-operation>
<log message="Unknown operation: ${headers.operationName}" loggingLevel="WARN"/>
</unknown-operation>
[/#if]
[/#if]
</operation-router>
</route>

View File

@@ -1,18 +0,0 @@
[#ftl attributes={"generated.type":"blueprint.fragment"}]
<route>
<from uri="direct:pre-route" />
<operation-router>
[#if properties.service??]
[#if properties.service.port??]
[#list properties.service.port.operations as operation]
<operation name="[=operation]">
<log message="Called operation: ${headers.operationName}" loggingLevel="INFO"/>
</operation>
[/#list]
<unknown-operation>
<log message="Unknown operation: ${headers.operationName}" loggingLevel="WARN"/>
</unknown-operation>
[/#if]
[/#if]
</operation-router>
</route>

View File

@@ -1,20 +0,0 @@
[#ftl attributes={"generated.type":"blueprint.fragment"}]
<?xml version="1.0" encoding="UTF-8"?>
<route>
<operation-router-start />
<operation-router>
[#if properties.service??]
[#if properties.service.port??]
[#list properties.service.port.operations as operation]
<operation name="[=operation]">
<log message="Called operation: ${headers.operationName}" loggingLevel="INFO"/>
<connector direction="in" />
</operation>
[/#list]
<unknown-operation>
<log message="Unknown operation: ${headers.operationName}" loggingLevel="WARN"/>
</unknown-operation>
[/#if]
[/#if]
</operation-router>
</route>

View File

@@ -1,19 +0,0 @@
[#ftl attributes={"generated.type":"blueprint.fragment"}]
<?xml version="1.0" encoding="UTF-8"?>
<route>
<operation-router-start />
<operation-router>
[#if properties.service??]
[#if properties.service.port??]
[#list properties.service.port.operations as operation]
<operation name="[=operation]">
<log message="Called operation: ${headers.operationName}" loggingLevel="INFO"/>
</operation>
[/#list]
<unknown-operation>
<log message="Unknown operation: ${headers.operationName}" loggingLevel="WARN"/>
</unknown-operation>
[/#if]
[/#if]
</operation-router>
</route>

View File

@@ -1,16 +0,0 @@
[#if properties.camel_headerFilterStrategy??]
[#if properties.camel_headerFilterStrategy == "custom"]
[#assign headerFilterStrategyReference = properties.headerFilterStrategyReference]
[#else]
[#assign headerFilterStrategyReference = "headerFilterStrategy"]
[/#if]
[#global properties = properties + {"camel_headerFilterStrategy": "#[=headerFilterStrategyReference]"} ]
[/#if]
[#if properties.camel_sslContextParameters??]
[#if properties.camel_sslContextParameters == "custom"]
[#assign sslContextParametersReference = properties.sslContextParametersReference]
[#else]
[#assign sslContextParametersReference = "sslContextParameters"]
[/#if]
[#global properties = properties + {"camel_sslContextParameters": "#[=sslContextParametersReference]"} ]
[/#if]

View File

@@ -10,7 +10,7 @@
http://cxf.apache.org/blueprint/core http://cxf.apache.org/schemas/blueprint/core.xsd
">
[#import "templates:object-commons/common-utils.ftl" as utils]
[#include "customObjectReferences.ftl" ]
[#include "templates:base-object/customObjectReferences.ftl" ]
<!-- xmlns:soap-type="http://www.entaxy.ru/ExchangeTypes/1.0" -->
<!--

View File

@@ -1,111 +0,0 @@
[#ftl attributes={"generated.type":"blueprint"}]
<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:camelcxf="http://camel.apache.org/schema/blueprint/cxf"
xmlns:cxf="http://cxf.apache.org/blueprint/core"
xmlns:[=objectId]="[=properties.serviceNamespace]"
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
">
<!-- xmlns:soap-type="http://www.entaxy.ru/ExchangeTypes/1.0" -->
<!--
factoryId: wsdl-based-soap-service-public
factoryType: entaxy.runtime.service
outputType: init
properties:
[#list properties?keys as key]
[=key]
[/#list]
-->
<camelcxf:cxfEndpoint id="[=objectId]-cxf-endpoint"
address="/[=properties.address]"
endpointName="[=objectId]:[=properties.port]"
serviceName="[=objectId]:[=properties.serviceName]"
wsdlURL="entaxy-resource://[=properties.schemaUrl?replace(":", "/")]">
<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]"/>
</camelcxf:properties>
<camelcxf:inInterceptors>
[#if properties.displayServiceSchema]
<ref component-id="isSchemaDisplayInterceptor"/>
[/#if]
<ref component-id="authInterceptor"/>
<ref component-id="systemInterceptor"/>
<ref component-id="validator"/>
<ref component-id="resolveLoginInterceptor"/>
</camelcxf:inInterceptors>
<camelcxf:outFaultInterceptors>
<ref component-id="handleOutFaultInterceptor"/>
</camelcxf:outFaultInterceptors>
</camelcxf:cxfEndpoint>
[#if properties.displayServiceSchema]
<bean id="isSchemaDisplayInterceptor" class="ru.entaxy.platform.services.runtime.interceptor.IsSchemaDisplayInterceptor">
<property name="isDisplayServiceSchema" value="[=displayServiceSchema?c]"/>
</bean>
[/#if]
<bean id="handleOutFaultInterceptor"
class="ru.entaxy.esb.system.core.common.error.handler.interceptor.HandleOutFaultInterceptor">
<argument ref="soap-[=objectId]-context"/>
<argument value="direct:error_from_cxf"/>
</bean>
<bean id="validator" class="ru.entaxy.esb.system.common.validator.ValidateInterceptor">
<property name="schemaValidationEnabled" value="[=properties.schemaValidationEnabled?c]"/>
</bean>
<reference id="systemInterceptor" interface="org.apache.cxf.phase.PhaseInterceptor"
filter="(type=system)"/>
<reference id="authInterceptor" interface="org.apache.cxf.phase.PhaseInterceptor"
filter="(type=authentication)"/>
<bean id="resolveLoginInterceptor" class="ru.entaxy.platform.services.runtime.interceptor.ResolveLoginInterceptor" />
<bean id="[=objectId]-connector-registry" class="ru.entaxy.platform.services.runtime.impl.EntaxyServiceConnectorRegistry" activation="eager">
<property name="profileNameHeaders">
<list value-type="java.lang.String">
<value>X-SystemName</value>
</list>
</property>
</bean>
<reference-list id="connectorList"
interface="ru.entaxy.platform.services.runtime.EntaxyServiceConnectorInfo"
filter="(service=[=objectId])" availability="optional">
<reference-listener ref="[=objectId]-connector-registry"
bind-method="register" unbind-method="unregister"/>
</reference-list>
<camelContext id="soap-[=objectId]-context" xmlns="http://camel.apache.org/schema/blueprint"
errorHandlerRef="commonErrorHandler">
<errorHandler id="commonErrorHandler" redeliveryPolicyRef="noRedelivery"
type="DeadLetterChannel" deadLetterUri="direct-vm:commonErrorEndpoint"/>
<redeliveryPolicyProfile id="noRedelivery" disableRedelivery="true"/>
<route id="error_from_cxf">
<from uri="direct:error_from_cxf"/>
<log message="cxf message: ${body}" loggingLevel="DEBUG"/>
<log message="headers: ${headers}\n" loggingLevel="DEBUG"/>
<to uri="direct-vm:cxfErrorEndpoint"/>
</route>
<route id="[=objectId]-cxf-endpoint" streamCache="true">
<from uri="cxf:bean:[=objectId]-cxf-endpoint"/>
<setHeader name="ENTAXY_EndpointName">
<simple>[=objectId]</simple>
</setHeader>
[#include "templates:service-components/generateLoggingKey.ftl"]
<to uri="direct:[=objectId]-operation-router" />
</route>
</camelContext>
</blueprint>

View File

@@ -0,0 +1,8 @@
[#ftl attributes={"generated.type":"blueprint.fragment"}]
[#if properties.objectClass?? && properties.objectClass == "org.apache.camel.component.cxf.common.header.CxfHeaderFilterStrategy"]
<bean id="[=properties.reference]" class="[=properties.objectClass]">
<property name="outFilterPattern" value="[=properties.pattern]"/>
</bean>
[#else]
[#include "templates:base-object/header-filter-strategy.ftl" ]
[/#if]

View File

@@ -20,7 +20,10 @@
[=key]
[/#list]
-->
[#import "templates:object-commons/common-utils.ftl" as utils]
[#include "templates:base-object/customObjectReferences.ftl" ]
[#assign finalAddress=properties.address]
[#if !finalAddress?starts_with('http://') && !finalAddress?starts_with('https://')]
[#if !finalAddress?starts_with('/')]
@@ -126,7 +129,7 @@
</route>
<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>
@@ -135,11 +138,7 @@
<to uri="direct:[=objectId]-operation-router" />
[#if properties.removeAllHeadersBeforeAnswering]
<removeHeaders pattern="*"/>
[/#if]
<removeProperties pattern="NTX.+|ENTAXY.+"/>
<removeHeaders pattern="NTX.+|ENTAXY.+"/>
</route>
</camelContext>

View File

@@ -3,7 +3,7 @@
<parent>
<groupId>ru.entaxy.esb.platform.runtime.core.objects-implementations</groupId>
<artifactId>service-implementation</artifactId>
<version>1.11.0</version>
<version>1.12.0</version>
</parent>
<groupId>ru.entaxy.esb.platform.runtime.core.objects-implementations.service-implementation</groupId>
<artifactId>service-runtime</artifactId>

View File

@@ -2,7 +2,7 @@
* ~~~~~~licensing~~~~~~
* service-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

View File

@@ -2,7 +2,7 @@
* ~~~~~~licensing~~~~~~
* system-commons
* ==========
* 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

View File

@@ -2,7 +2,7 @@
* ~~~~~~licensing~~~~~~
* service-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

View File

@@ -2,7 +2,7 @@
* ~~~~~~licensing~~~~~~
* service-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

View File

@@ -2,7 +2,7 @@
* ~~~~~~licensing~~~~~~
* service-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

View File

@@ -2,7 +2,7 @@
* ~~~~~~licensing~~~~~~
* service-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

View File

@@ -2,7 +2,7 @@
* ~~~~~~licensing~~~~~~
* service-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

View File

@@ -2,7 +2,7 @@
* ~~~~~~licensing~~~~~~
* service-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

View File

@@ -2,7 +2,7 @@
* ~~~~~~licensing~~~~~~
* basic-auth-impl
* ==========
* 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

View File

@@ -2,7 +2,7 @@
* ~~~~~~licensing~~~~~~
* service-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

View File

@@ -2,7 +2,7 @@
* ~~~~~~licensing~~~~~~
* system-commons
* ==========
* 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

View File

@@ -2,7 +2,7 @@
* ~~~~~~licensing~~~~~~
* system-commons
* ==========
* 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

View File

@@ -2,7 +2,7 @@
* ~~~~~~licensing~~~~~~
* service-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

View File

@@ -2,7 +2,7 @@
* ~~~~~~licensing~~~~~~
* service-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

View File

@@ -2,7 +2,7 @@
* ~~~~~~licensing~~~~~~
* service-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

View File

@@ -2,7 +2,7 @@
* ~~~~~~licensing~~~~~~
* service-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

View File

@@ -2,7 +2,7 @@
* ~~~~~~licensing~~~~~~
* system-commons
* ==========
* 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

View File

@@ -3,7 +3,7 @@
~~~~~~licensing~~~~~~
service-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