This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new f646dcc  Regen for commit a9646086f935e521490e11984a85c7ffaf9f0481
f646dcc is described below

commit f646dcc714383a413b95d642b8ee417fc8f32a81
Author: davsclaus <davscl...@users.noreply.github.com>
AuthorDate: Wed Feb 2 12:20:43 2022 +0000

    Regen for commit a9646086f935e521490e11984a85c7ffaf9f0481
    
    Signed-off-by: GitHub <nore...@github.com>
---
 .../org/apache/camel/catalog/models.properties     |   1 +
 .../org/apache/camel/catalog/models/saga.json      |   2 +-
 .../apache/camel/catalog/models/sagaOption.json    |  20 ++++
 .../apache/camel/catalog/schemas/camel-spring.xsd  | 106 ++++++++++++++-------
 4 files changed, 93 insertions(+), 36 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models.properties
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models.properties
index 8453518..aae3d87 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models.properties
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models.properties
@@ -160,6 +160,7 @@ routes
 routingSlip
 rss
 saga
+sagaOption
 sample
 script
 secureRandomParameters
diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/saga.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/saga.json
index 0da4305..cae9146 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/saga.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/saga.json
@@ -17,7 +17,7 @@
     "timeout": { "kind": "attribute", "displayName": "Timeout", "required": 
false, "type": "duration", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "description": "Set the maximum amount of 
time for the Saga. After the timeout is expired, the saga will be compensated 
automatically (unless a different decision has been taken in the meantime)." },
     "compensation": { "kind": "element", "displayName": "Compensation", 
"required": false, "type": "object", "javaType": 
"org.apache.camel.model.SagaActionUriDefinition", "deprecated": false, 
"autowired": false, "secret": false, "description": "The compensation endpoint 
URI that must be called to compensate all changes done in the route. The route 
corresponding to the compensation URI must perform compensation and complete 
without error. If errors occur during compensation, the saga serv [...]
     "completion": { "kind": "element", "displayName": "Completion", 
"required": false, "type": "object", "javaType": 
"org.apache.camel.model.SagaActionUriDefinition", "deprecated": false, 
"autowired": false, "secret": false, "description": "The completion endpoint 
URI that will be called when the Saga is completed successfully. The route 
corresponding to the completion URI must perform completion tasks and terminate 
without error. If errors occur during completion, the saga service may c [...]
-    "option": { "kind": "element", "displayName": "Option", "required": false, 
"type": "array", "javaType": 
"java.util.List<org.apache.camel.model.SagaOptionDefinition>", "deprecated": 
false, "autowired": false, "secret": false, "description": "Allows to save 
properties of the current exchange in order to re-use them in a 
compensation\/completion callback route. Options are usually helpful e.g. to 
store and retrieve identifiers of objects that should be deleted in 
compensating actions. O [...]
+    "sagaOption": { "kind": "element", "displayName": "Saga Option", 
"required": false, "type": "array", "javaType": 
"java.util.List<org.apache.camel.model.SagaOptionDefinition>", "deprecated": 
false, "autowired": false, "secret": false, "description": "Allows to save 
properties of the current exchange in order to re-use them in a 
compensation\/completion callback route. Options are usually helpful e.g. to 
store and retrieve identifiers of objects that should be deleted in 
compensating a [...]
     "sagaServiceRef": { "kind": "attribute", "displayName": "Saga Service 
Ref", "required": false, "type": "string", "javaType": "java.lang.String", 
"deprecated": false, "autowired": false, "secret": false, "description": 
"Refers to the id to lookup in the registry for the specific CamelSagaService 
to use." },
     "id": { "kind": "attribute", "displayName": "Id", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "description": "Sets the id of this node" 
},
     "description": { "kind": "element", "displayName": "Description", 
"required": false, "type": "object", "javaType": 
"org.apache.camel.model.DescriptionDefinition", "deprecated": false, 
"autowired": false, "secret": false, "description": "Sets the description of 
this node" }
diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/sagaOption.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/sagaOption.json
new file mode 100644
index 0000000..ecd347d
--- /dev/null
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/sagaOption.json
@@ -0,0 +1,20 @@
+{
+  "model": {
+    "kind": "model",
+    "name": "sagaOption",
+    "title": "Saga Option",
+    "description": "Allows declaring options on Sagas",
+    "deprecated": false,
+    "label": "configuration",
+    "javaType": "org.apache.camel.model.SagaOptionDefinition",
+    "abstract": false,
+    "input": true,
+    "output": false
+  },
+  "properties": {
+    "expression": { "kind": "expression", "displayName": "Expression", 
"required": true, "type": "object", "javaType": 
"org.apache.camel.model.language.ExpressionDefinition", "oneOf": [ "constant", 
"csimple", "datasonnet", "exchangeProperty", "groovy", "header", "hl7terser", 
"joor", "jsonpath", "language", "method", "mvel", "ognl", "ref", "simple", 
"spel", "tokenize", "xpath", "xquery", "xtokenize" ], "deprecated": false, 
"autowired": false, "secret": false },
+    "name": { "kind": "attribute", "displayName": "Name", "required": true, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "description": "Name of the option. It 
identifies the name of the header where the value of the expression will be 
stored when the compensation or completion routes will be called." },
+    "id": { "kind": "attribute", "displayName": "Id", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "description": "Sets the id of this node" 
},
+    "description": { "kind": "element", "displayName": "Description", 
"required": false, "type": "object", "javaType": 
"org.apache.camel.model.DescriptionDefinition", "deprecated": false, 
"autowired": false, "secret": false, "description": "Sets the description of 
this node" }
+  }
+}
diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
index 4ef0d4c..806af3e 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
@@ -1368,6 +1368,14 @@ Enables Sagas on the route
     </xs:annotation>
   </xs:element>
 
+  <xs:element name="sagaOption" type="tns:sagaOptionDefinition">
+    <xs:annotation>
+      <xs:documentation xml:lang="en"><![CDATA[
+Allows declaring options on Sagas
+      ]]></xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
   <xs:element name="sample" type="tns:samplingDefinition">
     <xs:annotation>
       <xs:documentation xml:lang="en"><![CDATA[
@@ -3019,6 +3027,7 @@ will fallback to use the fixed value if the Expression 
result was null or 0.
             <xs:element ref="tns:route"/>
             <xs:element ref="tns:routingSlip"/>
             <xs:element ref="tns:saga"/>
+            <xs:element ref="tns:sagaOption"/>
             <xs:element ref="tns:sample"/>
             <xs:element ref="tns:script"/>
             <xs:element ref="tns:setBody"/>
@@ -3499,6 +3508,7 @@ should be intercepted by this exception type or not.
             <xs:element ref="tns:route"/>
             <xs:element ref="tns:routingSlip"/>
             <xs:element ref="tns:saga"/>
+            <xs:element ref="tns:sagaOption"/>
             <xs:element ref="tns:sample"/>
             <xs:element ref="tns:script"/>
             <xs:element ref="tns:setBody"/>
@@ -3599,6 +3609,7 @@ should be intercepted by this exception type or not.
             <xs:element ref="tns:route"/>
             <xs:element ref="tns:routingSlip"/>
             <xs:element ref="tns:saga"/>
+            <xs:element ref="tns:sagaOption"/>
             <xs:element ref="tns:sample"/>
             <xs:element ref="tns:script"/>
             <xs:element ref="tns:setBody"/>
@@ -3687,6 +3698,7 @@ should be intercepted by this exception type or not.
             <xs:element ref="tns:route"/>
             <xs:element ref="tns:routingSlip"/>
             <xs:element ref="tns:saga"/>
+            <xs:element ref="tns:sagaOption"/>
             <xs:element ref="tns:sample"/>
             <xs:element ref="tns:script"/>
             <xs:element ref="tns:setBody"/>
@@ -3767,6 +3779,7 @@ should be intercepted by this exception type or not.
             <xs:element ref="tns:route"/>
             <xs:element ref="tns:routingSlip"/>
             <xs:element ref="tns:saga"/>
+            <xs:element ref="tns:sagaOption"/>
             <xs:element ref="tns:sample"/>
             <xs:element ref="tns:script"/>
             <xs:element ref="tns:setBody"/>
@@ -4840,6 +4853,7 @@ org.apache.camel.spi.SendDynamicAware . Default value: 
true
             <xs:element ref="tns:route"/>
             <xs:element ref="tns:routingSlip"/>
             <xs:element ref="tns:saga"/>
+            <xs:element ref="tns:sagaOption"/>
             <xs:element ref="tns:sample"/>
             <xs:element ref="tns:script"/>
             <xs:element ref="tns:setBody"/>
@@ -4925,6 +4939,7 @@ Setting this allows to know if the filter predicate 
evaluated as true or false.
             <xs:element ref="tns:route"/>
             <xs:element ref="tns:routingSlip"/>
             <xs:element ref="tns:saga"/>
+            <xs:element ref="tns:sagaOption"/>
             <xs:element ref="tns:sample"/>
             <xs:element ref="tns:script"/>
             <xs:element ref="tns:setBody"/>
@@ -5064,6 +5079,7 @@ Global option value.
             <xs:element ref="tns:route"/>
             <xs:element ref="tns:routingSlip"/>
             <xs:element ref="tns:saga"/>
+            <xs:element ref="tns:sagaOption"/>
             <xs:element ref="tns:sample"/>
             <xs:element ref="tns:script"/>
             <xs:element ref="tns:setBody"/>
@@ -5243,6 +5259,7 @@ Set if validation is required for this input type. 
Default value: false
             <xs:element ref="tns:route"/>
             <xs:element ref="tns:routingSlip"/>
             <xs:element ref="tns:saga"/>
+            <xs:element ref="tns:sagaOption"/>
             <xs:element ref="tns:sample"/>
             <xs:element ref="tns:script"/>
             <xs:element ref="tns:setBody"/>
@@ -5336,6 +5353,7 @@ configured, then all incoming messages is intercepted.
             <xs:element ref="tns:route"/>
             <xs:element ref="tns:routingSlip"/>
             <xs:element ref="tns:saga"/>
+            <xs:element ref="tns:sagaOption"/>
             <xs:element ref="tns:sample"/>
             <xs:element ref="tns:script"/>
             <xs:element ref="tns:setBody"/>
@@ -5436,6 +5454,7 @@ process its result.
             <xs:element ref="tns:route"/>
             <xs:element ref="tns:routingSlip"/>
             <xs:element ref="tns:saga"/>
+            <xs:element ref="tns:sagaOption"/>
             <xs:element ref="tns:sample"/>
             <xs:element ref="tns:script"/>
             <xs:element ref="tns:setBody"/>
@@ -5530,6 +5549,7 @@ specified using uri syntax, eg mynamecount=4&type=gold.
             <xs:element ref="tns:route"/>
             <xs:element ref="tns:routingSlip"/>
             <xs:element ref="tns:saga"/>
+            <xs:element ref="tns:sagaOption"/>
             <xs:element ref="tns:sample"/>
             <xs:element ref="tns:script"/>
             <xs:element ref="tns:setBody"/>
@@ -5824,6 +5844,7 @@ To refer to a custom logger instance to lookup from the 
registry.
             <xs:element ref="tns:route"/>
             <xs:element ref="tns:routingSlip"/>
             <xs:element ref="tns:saga"/>
+            <xs:element ref="tns:sagaOption"/>
             <xs:element ref="tns:sample"/>
             <xs:element ref="tns:script"/>
             <xs:element ref="tns:setBody"/>
@@ -8850,6 +8871,7 @@ decompressed size. Default value: 1073741824
             <xs:element ref="tns:route"/>
             <xs:element ref="tns:routingSlip"/>
             <xs:element ref="tns:saga"/>
+            <xs:element ref="tns:sagaOption"/>
             <xs:element ref="tns:sample"/>
             <xs:element ref="tns:script"/>
             <xs:element ref="tns:setBody"/>
@@ -9060,6 +9082,7 @@ should be invoked or not.
             <xs:element ref="tns:route"/>
             <xs:element ref="tns:routingSlip"/>
             <xs:element ref="tns:saga"/>
+            <xs:element ref="tns:sagaOption"/>
             <xs:element ref="tns:sample"/>
             <xs:element ref="tns:script"/>
             <xs:element ref="tns:setBody"/>
@@ -9228,6 +9251,7 @@ failure. If this option is enabled then its considered 
handled as well.
             <xs:element ref="tns:route"/>
             <xs:element ref="tns:routingSlip"/>
             <xs:element ref="tns:saga"/>
+            <xs:element ref="tns:sagaOption"/>
             <xs:element ref="tns:sample"/>
             <xs:element ref="tns:script"/>
             <xs:element ref="tns:setBody"/>
@@ -9590,6 +9614,7 @@ generate the log message from exchange.
             <xs:element ref="tns:route"/>
             <xs:element ref="tns:routingSlip"/>
             <xs:element ref="tns:saga"/>
+            <xs:element ref="tns:sagaOption"/>
             <xs:element ref="tns:sample"/>
             <xs:element ref="tns:script"/>
             <xs:element ref="tns:setBody"/>
@@ -9727,6 +9752,7 @@ Include finding route builder from these java package 
names.
             <xs:element ref="tns:route"/>
             <xs:element ref="tns:routingSlip"/>
             <xs:element ref="tns:saga"/>
+            <xs:element ref="tns:sagaOption"/>
             <xs:element ref="tns:sample"/>
             <xs:element ref="tns:script"/>
             <xs:element ref="tns:setBody"/>
@@ -9804,6 +9830,7 @@ Include finding route builder from these java package 
names.
             <xs:element ref="tns:route"/>
             <xs:element ref="tns:routingSlip"/>
             <xs:element ref="tns:saga"/>
+            <xs:element ref="tns:sagaOption"/>
             <xs:element ref="tns:sample"/>
             <xs:element ref="tns:script"/>
             <xs:element ref="tns:setBody"/>
@@ -10338,6 +10365,7 @@ Name of property to remove.
             <xs:element ref="tns:route"/>
             <xs:element ref="tns:routingSlip"/>
             <xs:element ref="tns:saga"/>
+            <xs:element ref="tns:sagaOption"/>
             <xs:element ref="tns:sample"/>
             <xs:element ref="tns:script"/>
             <xs:element ref="tns:setBody"/>
@@ -10620,6 +10648,7 @@ Reference to the routes in the xml dsl.
             <xs:element ref="tns:route"/>
             <xs:element ref="tns:routingSlip"/>
             <xs:element ref="tns:saga"/>
+            <xs:element ref="tns:sagaOption"/>
             <xs:element ref="tns:sample"/>
             <xs:element ref="tns:script"/>
             <xs:element ref="tns:setBody"/>
@@ -10961,17 +10990,7 @@ the saga service may call again the completion URI to 
retry.
               ]]></xs:documentation>
             </xs:annotation>
           </xs:element>
-          <xs:element maxOccurs="unbounded" minOccurs="0" name="option" 
type="tns:sagaOptionDefinition">
-            <xs:annotation>
-              <xs:documentation xml:lang="en"><![CDATA[
-Allows to save properties of the current exchange in order to re-use them in a
-compensation/completion callback route. Options are usually helpful e.g. to
-store and retrieve identifiers of objects that should be deleted in 
compensating
-actions. Option values will be transformed into input headers of the
-compensation/completion exchange.
-              ]]></xs:documentation>
-            </xs:annotation>
-          </xs:element>
+          <xs:element maxOccurs="unbounded" minOccurs="0" 
ref="tns:sagaOption"/>
           <xs:choice maxOccurs="unbounded" minOccurs="0">
             <xs:element ref="tns:aggregate"/>
             <xs:element ref="tns:bean"/>
@@ -11016,6 +11035,7 @@ compensation/completion exchange.
             <xs:element ref="tns:route"/>
             <xs:element ref="tns:routingSlip"/>
             <xs:element ref="tns:saga"/>
+            <xs:element ref="tns:sagaOption"/>
             <xs:element ref="tns:sample"/>
             <xs:element ref="tns:script"/>
             <xs:element ref="tns:setBody"/>
@@ -11082,30 +11102,42 @@ use.
   </xs:complexType>
 
   <xs:complexType name="sagaOptionDefinition">
-    <xs:choice>
-      <xs:element ref="tns:expressionDefinition"/>
-      <xs:element ref="tns:csimple"/>
-      <xs:element ref="tns:constant"/>
-      <xs:element ref="tns:datasonnet"/>
-      <xs:element ref="tns:exchangeProperty"/>
-      <xs:element ref="tns:groovy"/>
-      <xs:element ref="tns:header"/>
-      <xs:element ref="tns:hl7terser"/>
-      <xs:element ref="tns:joor"/>
-      <xs:element ref="tns:jsonpath"/>
-      <xs:element ref="tns:language"/>
-      <xs:element ref="tns:method"/>
-      <xs:element ref="tns:mvel"/>
-      <xs:element ref="tns:ognl"/>
-      <xs:element ref="tns:ref"/>
-      <xs:element ref="tns:simple"/>
-      <xs:element ref="tns:spel"/>
-      <xs:element ref="tns:tokenize"/>
-      <xs:element ref="tns:xtokenize"/>
-      <xs:element ref="tns:xpath"/>
-      <xs:element ref="tns:xquery"/>
-    </xs:choice>
-    <xs:attribute name="optionName" type="xs:string" use="required"/>
+    <xs:complexContent>
+      <xs:extension base="tns:processorDefinition">
+        <xs:choice>
+          <xs:element ref="tns:expressionDefinition"/>
+          <xs:element ref="tns:csimple"/>
+          <xs:element ref="tns:constant"/>
+          <xs:element ref="tns:datasonnet"/>
+          <xs:element ref="tns:exchangeProperty"/>
+          <xs:element ref="tns:groovy"/>
+          <xs:element ref="tns:header"/>
+          <xs:element ref="tns:hl7terser"/>
+          <xs:element ref="tns:joor"/>
+          <xs:element ref="tns:jsonpath"/>
+          <xs:element ref="tns:language"/>
+          <xs:element ref="tns:method"/>
+          <xs:element ref="tns:mvel"/>
+          <xs:element ref="tns:ognl"/>
+          <xs:element ref="tns:ref"/>
+          <xs:element ref="tns:simple"/>
+          <xs:element ref="tns:spel"/>
+          <xs:element ref="tns:tokenize"/>
+          <xs:element ref="tns:xtokenize"/>
+          <xs:element ref="tns:xpath"/>
+          <xs:element ref="tns:xquery"/>
+        </xs:choice>
+        <xs:attribute name="name" type="xs:string" use="required">
+          <xs:annotation>
+            <xs:documentation xml:lang="en"><![CDATA[
+Name of the option. It identifies the name of the header where the value of the
+expression will be stored when the compensation or completion routes will be
+called.
+            ]]></xs:documentation>
+          </xs:annotation>
+        </xs:attribute>
+      </xs:extension>
+    </xs:complexContent>
   </xs:complexType>
 
   <xs:complexType name="samplingDefinition">
@@ -11402,6 +11434,7 @@ Sets a reference to lookup for the comparator to use 
for sorting.
             <xs:element ref="tns:route"/>
             <xs:element ref="tns:routingSlip"/>
             <xs:element ref="tns:saga"/>
+            <xs:element ref="tns:sagaOption"/>
             <xs:element ref="tns:sample"/>
             <xs:element ref="tns:script"/>
             <xs:element ref="tns:setBody"/>
@@ -11620,6 +11653,7 @@ the sake of backward compatibility. Default value: false
             <xs:element ref="tns:route"/>
             <xs:element ref="tns:routingSlip"/>
             <xs:element ref="tns:saga"/>
+            <xs:element ref="tns:sagaOption"/>
             <xs:element ref="tns:sample"/>
             <xs:element ref="tns:script"/>
             <xs:element ref="tns:setBody"/>
@@ -12052,6 +12086,7 @@ Whether to auto startup components when toD is starting 
up. Default value: true
             <xs:element ref="tns:route"/>
             <xs:element ref="tns:routingSlip"/>
             <xs:element ref="tns:saga"/>
+            <xs:element ref="tns:sagaOption"/>
             <xs:element ref="tns:sample"/>
             <xs:element ref="tns:script"/>
             <xs:element ref="tns:setBody"/>
@@ -12166,6 +12201,7 @@ Sets a reference to use for lookup the policy in the 
registry.
             <xs:element ref="tns:route"/>
             <xs:element ref="tns:routingSlip"/>
             <xs:element ref="tns:saga"/>
+            <xs:element ref="tns:sagaOption"/>
             <xs:element ref="tns:sample"/>
             <xs:element ref="tns:script"/>
             <xs:element ref="tns:setBody"/>

Reply via email to