This is an automated email from the ASF dual-hosted git repository.
davsclaus 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 fb3fe310a351 CAMEL-27867: camel-robotframework: six options map to
robot options that Robot Framework 4.1.2 rejects, variables is never passed
(#31154)
fb3fe310a351 is described below
commit fb3fe310a35170a197998a933c74433ff4a74076
Author: Guillaume Nodet <[email protected]>
AuthorDate: Tue Dec 1 14:26:28 2026 +0100
CAMEL-27867: camel-robotframework: six options map to robot options that
Robot Framework 4.1.2 rejects, variables is never passed (#31154)
Co-authored-by: Claude Sonnet 4.6 <[email protected]>
---
.../camel/catalog/components/robotframework.json | 28 ++--
.../component/robotframework/robotframework.json | 28 ++--
.../RobotFrameworkCamelConfiguration.java | 55 ++++---
.../robotframework/RobotFrameworkEndpoint.java | 15 +-
.../RobotFrameworkOptionsFixTest.java | 104 +++++++++++++
.../robotframework/assert_static_variable.robot | 20 +++
.../ROOT/pages/camel-4x-upgrade-guide-4_25.adoc | 22 +++
.../dsl/RobotframeworkComponentBuilderFactory.java | 51 +++----
.../dsl/RobotFrameworkEndpointBuilderFactory.java | 168 ++++++++++-----------
9 files changed, 326 insertions(+), 165 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/robotframework.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/robotframework.json
index 1437214117b2..e7713d5bae4b 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/robotframework.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/robotframework.json
@@ -41,8 +41,8 @@
"logLevel": { "index": 14, "kind": "property", "displayName": "Log Level",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "The threshold level for
logging (the robot --loglevel option): TRACE, DEBUG, INFO (the default of R
[...]
"logTitle": { "index": 15, "kind": "property", "displayName": "Log Title",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "The title of the HTML
log file (the robot --logtitle option). By default the suite name followed by
[...]
"metadata": { "index": 16, "kind": "property", "displayName": "Metadata",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Metadata of the
top-level test suite, in the format name:value (the robot --metadata option).
Separa [...]
- "monitorColors": { "index": 17, "kind": "property", "displayName":
"Monitor Colors", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Passed as the robot
--monitorcolors option, which the Robot Framework version of this com [...]
- "monitorWidth": { "index": 18, "kind": "property", "displayName": "Monitor
Width", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "78", "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Passed as the robot
--monitorwidth option, which the Robot Framework [...]
+ "monitorColors": { "index": 17, "kind": "property", "displayName":
"Monitor Colors", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "ANSI color use in the
console output (the robot --consolecolors option): auto (the defaul [...]
+ "monitorWidth": { "index": 18, "kind": "property", "displayName": "Monitor
Width", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": true, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Deprecated: the robot
--monitorwidth option was removed in Robot Framework 3.0. This option [...]
"name": { "index": 19, "kind": "property", "displayName": "Name", "group":
"common", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "The name of the
top-level test suite (the robot --name option). By default Robot Framework
derives it from t [...]
"nonCriticalTags": { "index": 20, "kind": "property", "displayName": "Non
Critical Tags", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Deprecated since Robot
Framework 4.0 (the robot --noncritical option, an alias of -- [...]
"noStatusReturnCode": { "index": 21, "kind": "property", "displayName":
"No Status Return Code", "group": "common", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Whether the return code
in the CamelRobotReturnCode header is [...]
@@ -54,12 +54,12 @@
"reportTitle": { "index": 27, "kind": "property", "displayName": "Report
Title", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "The title of the HTML
report file (the robot --reporttitle option). By default the suite name [...]
"runEmptySuite": { "index": 28, "kind": "property", "displayName": "Run
Empty Suite", "group": "common", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Whether to run the test
suite even if it has no test cases, for example w [...]
"runFailed": { "index": 29, "kind": "property", "displayName": "Run
Failed", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "The path of the XML
output file of an earlier run, to run again only the test cases that failed i
[...]
- "runMode": { "index": 30, "kind": "property", "displayName": "Run Mode",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Passed as the robot
--runmode option, which the Robot Framework version of this component (4.1.2)
no [...]
+ "runMode": { "index": 30, "kind": "property", "displayName": "Run Mode",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": true, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Deprecated: the robot
--runmode option was removed in Robot Framework 2.8. Use dryrun, exitOnFailure,
[...]
"skipTeardownOnExit": { "index": 31, "kind": "property", "displayName":
"Skip Teardown On Exit", "group": "common", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Whether to skip the
teardowns when the test execution is stopp [...]
- "splitOutputs": { "index": 32, "kind": "property", "displayName": "Split
Outputs", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Passed as the robot
--splitoutputs option, which the Robot Framework version of this compon [...]
+ "splitOutputs": { "index": 32, "kind": "property", "displayName": "Split
Outputs", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": true, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Deprecated: the robot
--splitoutputs option was removed in Robot Framework 3.0. This option [...]
"suites": { "index": 33, "kind": "property", "displayName": "Suites",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Selects the test suites
to run by name (the robot --suite option). The name can be a pattern and
contain [...]
"suiteStatLevel": { "index": 34, "kind": "property", "displayName": "Suite
Stat Level", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "How many suite levels to
show in the Statistics by Suite table of the log and report f [...]
- "summaryTitle": { "index": 35, "kind": "property", "displayName": "Summary
Title", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Passed as the robot
--summarytitle option, which the Robot Framework version of this compon [...]
+ "summaryTitle": { "index": 35, "kind": "property", "displayName": "Summary
Title", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": true, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Deprecated: the robot
--summarytitle option was removed in Robot Framework 3.0. This option [...]
"tagDocs": { "index": 36, "kind": "property", "displayName": "Tag Docs",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Adds documentation to
the tags matching a pattern, in the format pattern:doc (the robot --tagdoc opti
[...]
"tags": { "index": 37, "kind": "property", "displayName": "Tags", "group":
"common", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Tags that are set to all
executed test cases (the robot --settag option). Separate several tags with
comma." },
"tagStatExcludes": { "index": 38, "kind": "property", "displayName": "Tag
Stat Excludes", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Excludes the matching
tags from the Statistics by Tag table of the log and report fi [...]
@@ -68,8 +68,8 @@
"tests": { "index": 41, "kind": "property", "displayName": "Tests",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Selects the test cases
to run by name or long name, such as Parent.Test (the robot --test option). The
nam [...]
"timestampOutputs": { "index": 42, "kind": "property", "displayName":
"Timestamp Outputs", "group": "common", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Whether to add a
timestamp in the format YYYYMMDD-hhmmss to the name [...]
"variableFiles": { "index": 43, "kind": "property", "displayName":
"Variable Files", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Variable files to read
variables from (the robot --variablefile option). Arguments to a v [...]
- "variables": { "index": 44, "kind": "property", "displayName":
"Variables", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Variables in the format
name:value, which Robot Framework would get with the robot --variable opti [...]
- "warnOnSkippedFiles": { "index": 45, "kind": "property", "displayName":
"Warn On Skipped Files", "group": "common", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Passed as the robot
--warnonskippedfiles option, which the Rob [...]
+ "variables": { "index": 44, "kind": "property", "displayName":
"Variables", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Variables in the format
name:value to pass to Robot Framework (the robot --variable option). Separ [...]
+ "warnOnSkippedFiles": { "index": 45, "kind": "property", "displayName":
"Warn On Skipped Files", "group": "common", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": true, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Deprecated: the robot
--warnonskippedfiles option was removed i [...]
"xunitFile": { "index": 46, "kind": "property", "displayName": "Xunit
File", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "The path of the xUnit
compatible XML result file (the robot --xunit option), relative to outputDi
[...]
"bridgeErrorHandler": { "index": 47, "kind": "property", "displayName":
"Bridge Error Handler", "group": "consumer", "label": "consumer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Allows for bridging the consumer to the Camel routing Error Handler, which
mean any exceptions (if possible) occurred while the Camel consumer is trying
to pickup incoming messages, or the lik [...]
"lazyStartProducer": { "index": 48, "kind": "property", "displayName":
"Lazy Start Producer", "group": "producer", "label": "producer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "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 fai [...]
@@ -105,8 +105,8 @@
"logLevel": { "index": 15, "kind": "parameter", "displayName": "Log
Level", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "The threshold level for
logging (the robot --loglevel option): TRACE, DEBUG, INFO (the default of [...]
"logTitle": { "index": 16, "kind": "parameter", "displayName": "Log
Title", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "The title of the HTML
log file (the robot --logtitle option). By default the suite name followed b
[...]
"metadata": { "index": 17, "kind": "parameter", "displayName": "Metadata",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Metadata of the
top-level test suite, in the format name:value (the robot --metadata option).
Separ [...]
- "monitorColors": { "index": 18, "kind": "parameter", "displayName":
"Monitor Colors", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Passed as the robot
--monitorcolors option, which the Robot Framework version of this co [...]
- "monitorWidth": { "index": 19, "kind": "parameter", "displayName":
"Monitor Width", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "78", "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Passed as the robot
--monitorwidth option, which the Robot Framework [...]
+ "monitorColors": { "index": 18, "kind": "parameter", "displayName":
"Monitor Colors", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "ANSI color use in the
console output (the robot --consolecolors option): auto (the defau [...]
+ "monitorWidth": { "index": 19, "kind": "parameter", "displayName":
"Monitor Width", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": true, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Deprecated: the robot
--monitorwidth option was removed in Robot Framework 3.0. This option [...]
"name": { "index": 20, "kind": "parameter", "displayName": "Name",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "The name of the
top-level test suite (the robot --name option). By default Robot Framework
derives it from [...]
"nonCriticalTags": { "index": 21, "kind": "parameter", "displayName": "Non
Critical Tags", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Deprecated since Robot
Framework 4.0 (the robot --noncritical option, an alias of - [...]
"noStatusReturnCode": { "index": 22, "kind": "parameter", "displayName":
"No Status Return Code", "group": "common", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Whether the return code
in the CamelRobotReturnCode header is [...]
@@ -118,12 +118,12 @@
"reportTitle": { "index": 28, "kind": "parameter", "displayName": "Report
Title", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "The title of the HTML
report file (the robot --reporttitle option). By default the suite nam [...]
"runEmptySuite": { "index": 29, "kind": "parameter", "displayName": "Run
Empty Suite", "group": "common", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Whether to run the test
suite even if it has no test cases, for example [...]
"runFailed": { "index": 30, "kind": "parameter", "displayName": "Run
Failed", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "The path of the XML
output file of an earlier run, to run again only the test cases that failed
[...]
- "runMode": { "index": 31, "kind": "parameter", "displayName": "Run Mode",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Passed as the robot
--runmode option, which the Robot Framework version of this component (4.1.2)
no [...]
+ "runMode": { "index": 31, "kind": "parameter", "displayName": "Run Mode",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": true, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Deprecated: the robot
--runmode option was removed in Robot Framework 2.8. Use dryrun, exitOnFailure,
[...]
"skipTeardownOnExit": { "index": 32, "kind": "parameter", "displayName":
"Skip Teardown On Exit", "group": "common", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Whether to skip the
teardowns when the test execution is stop [...]
- "splitOutputs": { "index": 33, "kind": "parameter", "displayName": "Split
Outputs", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Passed as the robot
--splitoutputs option, which the Robot Framework version of this compo [...]
+ "splitOutputs": { "index": 33, "kind": "parameter", "displayName": "Split
Outputs", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": true, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Deprecated: the robot
--splitoutputs option was removed in Robot Framework 3.0. This option [...]
"suites": { "index": 34, "kind": "parameter", "displayName": "Suites",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Selects the test suites
to run by name (the robot --suite option). The name can be a pattern and contai
[...]
"suiteStatLevel": { "index": 35, "kind": "parameter", "displayName":
"Suite Stat Level", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "How many suite levels to
show in the Statistics by Suite table of the log and report [...]
- "summaryTitle": { "index": 36, "kind": "parameter", "displayName":
"Summary Title", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Passed as the robot
--summarytitle option, which the Robot Framework version of this compo [...]
+ "summaryTitle": { "index": 36, "kind": "parameter", "displayName":
"Summary Title", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": true, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Deprecated: the robot
--summarytitle option was removed in Robot Framework 3.0. This option [...]
"tagDocs": { "index": 37, "kind": "parameter", "displayName": "Tag Docs",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Adds documentation to
the tags matching a pattern, in the format pattern:doc (the robot --tagdoc opt
[...]
"tags": { "index": 38, "kind": "parameter", "displayName": "Tags",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Tags that are set to all
executed test cases (the robot --settag option). Separate several tags with
comma." },
"tagStatExcludes": { "index": 39, "kind": "parameter", "displayName": "Tag
Stat Excludes", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Excludes the matching
tags from the Statistics by Tag table of the log and report f [...]
@@ -132,8 +132,8 @@
"tests": { "index": 42, "kind": "parameter", "displayName": "Tests",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Selects the test cases
to run by name or long name, such as Parent.Test (the robot --test option). The
na [...]
"timestampOutputs": { "index": 43, "kind": "parameter", "displayName":
"Timestamp Outputs", "group": "common", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Whether to add a
timestamp in the format YYYYMMDD-hhmmss to the nam [...]
"variableFiles": { "index": 44, "kind": "parameter", "displayName":
"Variable Files", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Variable files to read
variables from (the robot --variablefile option). Arguments to a [...]
- "variables": { "index": 45, "kind": "parameter", "displayName":
"Variables", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Variables in the format
name:value, which Robot Framework would get with the robot --variable opt [...]
- "warnOnSkippedFiles": { "index": 46, "kind": "parameter", "displayName":
"Warn On Skipped Files", "group": "common", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Passed as the robot
--warnonskippedfiles option, which the Ro [...]
+ "variables": { "index": 45, "kind": "parameter", "displayName":
"Variables", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Variables in the format
name:value to pass to Robot Framework (the robot --variable option). Sepa [...]
+ "warnOnSkippedFiles": { "index": 46, "kind": "parameter", "displayName":
"Warn On Skipped Files", "group": "common", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": true, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Deprecated: the robot
--warnonskippedfiles option was removed [...]
"xunitFile": { "index": 47, "kind": "parameter", "displayName": "Xunit
File", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "The path of the xUnit
compatible XML result file (the robot --xunit option), relative to outputD [...]
"sendEmptyMessageWhenIdle": { "index": 48, "kind": "parameter",
"displayName": "Send Empty Message When Idle", "group": "consumer", "label":
"consumer", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "If the polling consumer did not poll any files, you can
enable this option to send an empty message (no body) instead." },
"bridgeErrorHandler": { "index": 49, "kind": "parameter", "displayName":
"Bridge Error Handler", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Allows for bridging the consumer to the
Camel routing Error Handler, which mean any exceptions (if possible) occurred
while the Camel consumer is trying to pickup incoming [...]
diff --git
a/components/camel-robotframework/src/generated/resources/META-INF/org/apache/camel/component/robotframework/robotframework.json
b/components/camel-robotframework/src/generated/resources/META-INF/org/apache/camel/component/robotframework/robotframework.json
index 1437214117b2..e7713d5bae4b 100644
---
a/components/camel-robotframework/src/generated/resources/META-INF/org/apache/camel/component/robotframework/robotframework.json
+++
b/components/camel-robotframework/src/generated/resources/META-INF/org/apache/camel/component/robotframework/robotframework.json
@@ -41,8 +41,8 @@
"logLevel": { "index": 14, "kind": "property", "displayName": "Log Level",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "The threshold level for
logging (the robot --loglevel option): TRACE, DEBUG, INFO (the default of R
[...]
"logTitle": { "index": 15, "kind": "property", "displayName": "Log Title",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "The title of the HTML
log file (the robot --logtitle option). By default the suite name followed by
[...]
"metadata": { "index": 16, "kind": "property", "displayName": "Metadata",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Metadata of the
top-level test suite, in the format name:value (the robot --metadata option).
Separa [...]
- "monitorColors": { "index": 17, "kind": "property", "displayName":
"Monitor Colors", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Passed as the robot
--monitorcolors option, which the Robot Framework version of this com [...]
- "monitorWidth": { "index": 18, "kind": "property", "displayName": "Monitor
Width", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "78", "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Passed as the robot
--monitorwidth option, which the Robot Framework [...]
+ "monitorColors": { "index": 17, "kind": "property", "displayName":
"Monitor Colors", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "ANSI color use in the
console output (the robot --consolecolors option): auto (the defaul [...]
+ "monitorWidth": { "index": 18, "kind": "property", "displayName": "Monitor
Width", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": true, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Deprecated: the robot
--monitorwidth option was removed in Robot Framework 3.0. This option [...]
"name": { "index": 19, "kind": "property", "displayName": "Name", "group":
"common", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "The name of the
top-level test suite (the robot --name option). By default Robot Framework
derives it from t [...]
"nonCriticalTags": { "index": 20, "kind": "property", "displayName": "Non
Critical Tags", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Deprecated since Robot
Framework 4.0 (the robot --noncritical option, an alias of -- [...]
"noStatusReturnCode": { "index": 21, "kind": "property", "displayName":
"No Status Return Code", "group": "common", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Whether the return code
in the CamelRobotReturnCode header is [...]
@@ -54,12 +54,12 @@
"reportTitle": { "index": 27, "kind": "property", "displayName": "Report
Title", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "The title of the HTML
report file (the robot --reporttitle option). By default the suite name [...]
"runEmptySuite": { "index": 28, "kind": "property", "displayName": "Run
Empty Suite", "group": "common", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Whether to run the test
suite even if it has no test cases, for example w [...]
"runFailed": { "index": 29, "kind": "property", "displayName": "Run
Failed", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "The path of the XML
output file of an earlier run, to run again only the test cases that failed i
[...]
- "runMode": { "index": 30, "kind": "property", "displayName": "Run Mode",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Passed as the robot
--runmode option, which the Robot Framework version of this component (4.1.2)
no [...]
+ "runMode": { "index": 30, "kind": "property", "displayName": "Run Mode",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": true, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Deprecated: the robot
--runmode option was removed in Robot Framework 2.8. Use dryrun, exitOnFailure,
[...]
"skipTeardownOnExit": { "index": 31, "kind": "property", "displayName":
"Skip Teardown On Exit", "group": "common", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Whether to skip the
teardowns when the test execution is stopp [...]
- "splitOutputs": { "index": 32, "kind": "property", "displayName": "Split
Outputs", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Passed as the robot
--splitoutputs option, which the Robot Framework version of this compon [...]
+ "splitOutputs": { "index": 32, "kind": "property", "displayName": "Split
Outputs", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": true, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Deprecated: the robot
--splitoutputs option was removed in Robot Framework 3.0. This option [...]
"suites": { "index": 33, "kind": "property", "displayName": "Suites",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Selects the test suites
to run by name (the robot --suite option). The name can be a pattern and
contain [...]
"suiteStatLevel": { "index": 34, "kind": "property", "displayName": "Suite
Stat Level", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "How many suite levels to
show in the Statistics by Suite table of the log and report f [...]
- "summaryTitle": { "index": 35, "kind": "property", "displayName": "Summary
Title", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Passed as the robot
--summarytitle option, which the Robot Framework version of this compon [...]
+ "summaryTitle": { "index": 35, "kind": "property", "displayName": "Summary
Title", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": true, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Deprecated: the robot
--summarytitle option was removed in Robot Framework 3.0. This option [...]
"tagDocs": { "index": 36, "kind": "property", "displayName": "Tag Docs",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Adds documentation to
the tags matching a pattern, in the format pattern:doc (the robot --tagdoc opti
[...]
"tags": { "index": 37, "kind": "property", "displayName": "Tags", "group":
"common", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Tags that are set to all
executed test cases (the robot --settag option). Separate several tags with
comma." },
"tagStatExcludes": { "index": 38, "kind": "property", "displayName": "Tag
Stat Excludes", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Excludes the matching
tags from the Statistics by Tag table of the log and report fi [...]
@@ -68,8 +68,8 @@
"tests": { "index": 41, "kind": "property", "displayName": "Tests",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Selects the test cases
to run by name or long name, such as Parent.Test (the robot --test option). The
nam [...]
"timestampOutputs": { "index": 42, "kind": "property", "displayName":
"Timestamp Outputs", "group": "common", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Whether to add a
timestamp in the format YYYYMMDD-hhmmss to the name [...]
"variableFiles": { "index": 43, "kind": "property", "displayName":
"Variable Files", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Variable files to read
variables from (the robot --variablefile option). Arguments to a v [...]
- "variables": { "index": 44, "kind": "property", "displayName":
"Variables", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Variables in the format
name:value, which Robot Framework would get with the robot --variable opti [...]
- "warnOnSkippedFiles": { "index": 45, "kind": "property", "displayName":
"Warn On Skipped Files", "group": "common", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Passed as the robot
--warnonskippedfiles option, which the Rob [...]
+ "variables": { "index": 44, "kind": "property", "displayName":
"Variables", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Variables in the format
name:value to pass to Robot Framework (the robot --variable option). Separ [...]
+ "warnOnSkippedFiles": { "index": 45, "kind": "property", "displayName":
"Warn On Skipped Files", "group": "common", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": true, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Deprecated: the robot
--warnonskippedfiles option was removed i [...]
"xunitFile": { "index": 46, "kind": "property", "displayName": "Xunit
File", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "The path of the xUnit
compatible XML result file (the robot --xunit option), relative to outputDi
[...]
"bridgeErrorHandler": { "index": 47, "kind": "property", "displayName":
"Bridge Error Handler", "group": "consumer", "label": "consumer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Allows for bridging the consumer to the Camel routing Error Handler, which
mean any exceptions (if possible) occurred while the Camel consumer is trying
to pickup incoming messages, or the lik [...]
"lazyStartProducer": { "index": 48, "kind": "property", "displayName":
"Lazy Start Producer", "group": "producer", "label": "producer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "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 fai [...]
@@ -105,8 +105,8 @@
"logLevel": { "index": 15, "kind": "parameter", "displayName": "Log
Level", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "The threshold level for
logging (the robot --loglevel option): TRACE, DEBUG, INFO (the default of [...]
"logTitle": { "index": 16, "kind": "parameter", "displayName": "Log
Title", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "The title of the HTML
log file (the robot --logtitle option). By default the suite name followed b
[...]
"metadata": { "index": 17, "kind": "parameter", "displayName": "Metadata",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Metadata of the
top-level test suite, in the format name:value (the robot --metadata option).
Separ [...]
- "monitorColors": { "index": 18, "kind": "parameter", "displayName":
"Monitor Colors", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Passed as the robot
--monitorcolors option, which the Robot Framework version of this co [...]
- "monitorWidth": { "index": 19, "kind": "parameter", "displayName":
"Monitor Width", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "78", "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Passed as the robot
--monitorwidth option, which the Robot Framework [...]
+ "monitorColors": { "index": 18, "kind": "parameter", "displayName":
"Monitor Colors", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "ANSI color use in the
console output (the robot --consolecolors option): auto (the defau [...]
+ "monitorWidth": { "index": 19, "kind": "parameter", "displayName":
"Monitor Width", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": true, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Deprecated: the robot
--monitorwidth option was removed in Robot Framework 3.0. This option [...]
"name": { "index": 20, "kind": "parameter", "displayName": "Name",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "The name of the
top-level test suite (the robot --name option). By default Robot Framework
derives it from [...]
"nonCriticalTags": { "index": 21, "kind": "parameter", "displayName": "Non
Critical Tags", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Deprecated since Robot
Framework 4.0 (the robot --noncritical option, an alias of - [...]
"noStatusReturnCode": { "index": 22, "kind": "parameter", "displayName":
"No Status Return Code", "group": "common", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Whether the return code
in the CamelRobotReturnCode header is [...]
@@ -118,12 +118,12 @@
"reportTitle": { "index": 28, "kind": "parameter", "displayName": "Report
Title", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "The title of the HTML
report file (the robot --reporttitle option). By default the suite nam [...]
"runEmptySuite": { "index": 29, "kind": "parameter", "displayName": "Run
Empty Suite", "group": "common", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Whether to run the test
suite even if it has no test cases, for example [...]
"runFailed": { "index": 30, "kind": "parameter", "displayName": "Run
Failed", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "The path of the XML
output file of an earlier run, to run again only the test cases that failed
[...]
- "runMode": { "index": 31, "kind": "parameter", "displayName": "Run Mode",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Passed as the robot
--runmode option, which the Robot Framework version of this component (4.1.2)
no [...]
+ "runMode": { "index": 31, "kind": "parameter", "displayName": "Run Mode",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": true, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Deprecated: the robot
--runmode option was removed in Robot Framework 2.8. Use dryrun, exitOnFailure,
[...]
"skipTeardownOnExit": { "index": 32, "kind": "parameter", "displayName":
"Skip Teardown On Exit", "group": "common", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Whether to skip the
teardowns when the test execution is stop [...]
- "splitOutputs": { "index": 33, "kind": "parameter", "displayName": "Split
Outputs", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Passed as the robot
--splitoutputs option, which the Robot Framework version of this compo [...]
+ "splitOutputs": { "index": 33, "kind": "parameter", "displayName": "Split
Outputs", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": true, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Deprecated: the robot
--splitoutputs option was removed in Robot Framework 3.0. This option [...]
"suites": { "index": 34, "kind": "parameter", "displayName": "Suites",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Selects the test suites
to run by name (the robot --suite option). The name can be a pattern and contai
[...]
"suiteStatLevel": { "index": 35, "kind": "parameter", "displayName":
"Suite Stat Level", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "How many suite levels to
show in the Statistics by Suite table of the log and report [...]
- "summaryTitle": { "index": 36, "kind": "parameter", "displayName":
"Summary Title", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Passed as the robot
--summarytitle option, which the Robot Framework version of this compo [...]
+ "summaryTitle": { "index": 36, "kind": "parameter", "displayName":
"Summary Title", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": true, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Deprecated: the robot
--summarytitle option was removed in Robot Framework 3.0. This option [...]
"tagDocs": { "index": 37, "kind": "parameter", "displayName": "Tag Docs",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Adds documentation to
the tags matching a pattern, in the format pattern:doc (the robot --tagdoc opt
[...]
"tags": { "index": 38, "kind": "parameter", "displayName": "Tags",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Tags that are set to all
executed test cases (the robot --settag option). Separate several tags with
comma." },
"tagStatExcludes": { "index": 39, "kind": "parameter", "displayName": "Tag
Stat Excludes", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Excludes the matching
tags from the Statistics by Tag table of the log and report f [...]
@@ -132,8 +132,8 @@
"tests": { "index": 42, "kind": "parameter", "displayName": "Tests",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Selects the test cases
to run by name or long name, such as Parent.Test (the robot --test option). The
na [...]
"timestampOutputs": { "index": 43, "kind": "parameter", "displayName":
"Timestamp Outputs", "group": "common", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Whether to add a
timestamp in the format YYYYMMDD-hhmmss to the nam [...]
"variableFiles": { "index": 44, "kind": "parameter", "displayName":
"Variable Files", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Variable files to read
variables from (the robot --variablefile option). Arguments to a [...]
- "variables": { "index": 45, "kind": "parameter", "displayName":
"Variables", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Variables in the format
name:value, which Robot Framework would get with the robot --variable opt [...]
- "warnOnSkippedFiles": { "index": 46, "kind": "parameter", "displayName":
"Warn On Skipped Files", "group": "common", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Passed as the robot
--warnonskippedfiles option, which the Ro [...]
+ "variables": { "index": 45, "kind": "parameter", "displayName":
"Variables", "group": "common", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Variables in the format
name:value to pass to Robot Framework (the robot --variable option). Sepa [...]
+ "warnOnSkippedFiles": { "index": 46, "kind": "parameter", "displayName":
"Warn On Skipped Files", "group": "common", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": true, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "Deprecated: the robot
--warnonskippedfiles option was removed [...]
"xunitFile": { "index": 47, "kind": "parameter", "displayName": "Xunit
File", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration",
"configurationField": "configuration", "description": "The path of the xUnit
compatible XML result file (the robot --xunit option), relative to outputD [...]
"sendEmptyMessageWhenIdle": { "index": 48, "kind": "parameter",
"displayName": "Send Empty Message When Idle", "group": "consumer", "label":
"consumer", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "If the polling consumer did not poll any files, you can
enable this option to send an empty message (no body) instead." },
"bridgeErrorHandler": { "index": 49, "kind": "parameter", "displayName":
"Bridge Error Handler", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Allows for bridging the consumer to the
Camel routing Error Handler, which mean any exceptions (if possible) occurred
while the Camel consumer is trying to pickup incoming [...]
diff --git
a/components/camel-robotframework/src/main/java/org/apache/camel/component/robotframework/RobotFrameworkCamelConfiguration.java
b/components/camel-robotframework/src/main/java/org/apache/camel/component/robotframework/RobotFrameworkCamelConfiguration.java
index 68e10ed0c10f..4ff55df1f3ef 100644
---
a/components/camel-robotframework/src/main/java/org/apache/camel/component/robotframework/RobotFrameworkCamelConfiguration.java
+++
b/components/camel-robotframework/src/main/java/org/apache/camel/component/robotframework/RobotFrameworkCamelConfiguration.java
@@ -58,9 +58,10 @@ public class RobotFrameworkCamelConfiguration implements
Cloneable {
+ "--skiponfailure): a test case that has one of
these tags is marked as skipped instead "
+ "of failed when it fails. Separate several tags
with comma.")
private String nonCriticalTags;
- @UriParam(description = "Passed as the robot --runmode option, which the
Robot Framework version of this "
- + "component (4.1.2) no longer has: setting it
makes the run fail with return code 252. "
- + "Use dryrun, exitOnFailure, skipTeardownOnExit
and randomize instead.")
+ @Deprecated
+ @UriParam(description = "Deprecated: the robot --runmode option was
removed in Robot Framework 2.8. "
+ + "Use dryrun, exitOnFailure, skipTeardownOnExit
and randomize instead. "
+ + "This option is ignored.")
private String runMode;
@UriParam(defaultValue = "false",
description = "Whether to run in dry run mode (the robot
--dryrun option): Robot Framework verifies the "
@@ -80,10 +81,10 @@ public class RobotFrameworkCamelConfiguration implements
Cloneable {
+ "cases), suites, tests or none. Add :seed to use
a given integer random seed, such as "
+ "tests:1234.")
private String randomize;
- @UriParam(description = "Variables in the format name:value, which Robot
Framework would get with the robot "
- + "--variable option. Separate several variables
with comma. Note that the component does "
- + "not pass this option to Robot Framework: only
the variables created from the message "
- + "are passed.")
+ @UriParam(description = "Variables in the format name:value to pass to
Robot Framework (the robot --variable "
+ + "option). Separate several variables with comma.
When a variable is also set by the "
+ + "exchange message (body, headers or exchange
variables), the message value takes "
+ + "precedence over the endpoint variable on the
same name.")
private String variables;
@UriParam(description = "Variable files to read variables from (the robot
--variablefile option). Arguments to a "
+ "variable file can be given after its path,
separated with colon, such as vars.py:arg1. "
@@ -116,8 +117,9 @@ public class RobotFrameworkCamelConfiguration implements
Cloneable {
@UriParam(description = "Whether to add a timestamp in the format
YYYYMMDD-hhmmss to the names of all output "
+ "files, between the base name and the extension
(the robot --timestampoutputs option).")
private boolean timestampOutputs;
- @UriParam(description = "Passed as the robot --splitoutputs option, which
the Robot Framework version of this "
- + "component (4.1.2) does not have: setting it
makes the run fail with return code 252.")
+ @Deprecated
+ @UriParam(description = "Deprecated: the robot --splitoutputs option was
removed in Robot Framework 3.0. "
+ + "This option is ignored.")
private String splitOutputs;
@UriParam(description = "The title of the HTML log file (the robot
--logtitle option). By default the suite name "
+ "followed by Test Log.")
@@ -125,8 +127,9 @@ public class RobotFrameworkCamelConfiguration implements
Cloneable {
@UriParam(description = "The title of the HTML report file (the robot
--reporttitle option). By default the suite "
+ "name followed by Test Report.")
private String reportTitle;
- @UriParam(description = "Passed as the robot --summarytitle option, which
the Robot Framework version of this "
- + "component (4.1.2) does not have: setting it
makes the run fail with return code 252.")
+ @Deprecated
+ @UriParam(description = "Deprecated: the robot --summarytitle option was
removed in Robot Framework 3.0. "
+ + "This option is ignored.")
private String summaryTitle;
@UriParam(description = "The background colors of the HTML report file, in
the order passed:failed:skipped, where "
+ "skipped can be omitted (the robot
--reportbackground option). Color names and codes "
@@ -167,18 +170,18 @@ public class RobotFrameworkCamelConfiguration implements
Cloneable {
+ "option), as a class name or the path of a
listener file, with arguments after the name "
+ "separated with colon. Use listeners for
several.")
private String listener;
- @UriParam(description = "Passed as the robot --warnonskippedfiles option,
which the Robot Framework version of "
- + "this component (4.1.2) does not have: enabling
it makes the run fail with return code "
- + "252.")
+ @Deprecated
+ @UriParam(description = "Deprecated: the robot --warnonskippedfiles option
was removed in Robot Framework 3.0. "
+ + "This option is ignored.")
private boolean warnOnSkippedFiles;
- @UriParam(defaultValue = "78",
- description = "Passed as the robot --monitorwidth option, which
the Robot Framework version of this "
- + "component (4.1.2) does not have (it is now
--consolewidth): setting it makes the run "
- + "fail with return code 252. Not passed unless
set.")
+ @Deprecated
+ @UriParam(description = "Deprecated: the robot --monitorwidth option was
removed in Robot Framework 3.0. "
+ + "This option is ignored.")
private String monitorWidth;
- @UriParam(description = "Passed as the robot --monitorcolors option, which
the Robot Framework version of this "
- + "component (4.1.2) does not have (it is now
--consolecolors): setting it makes the run "
- + "fail with return code 252.")
+ @UriParam(description = "ANSI color use in the console output (the robot
--consolecolors option): auto (the "
+ + "default, colors on Unix and when output is
redirected to a terminal, but not on "
+ + "Windows), on (always on Unix), ansi (like on
but with ANSI codes on Windows too), "
+ + "or off (never).")
private String monitorColors;
@UriParam(description = "The path of a text file to read more robot
command line arguments from, one per line "
+ "(the robot --argumentfile option).")
@@ -243,6 +246,7 @@ public class RobotFrameworkCamelConfiguration implements
Cloneable {
return nonCriticalTags;
}
+ @Deprecated
public String getRunMode() {
return runMode;
}
@@ -299,6 +303,7 @@ public class RobotFrameworkCamelConfiguration implements
Cloneable {
return timestampOutputs;
}
+ @Deprecated
public String getSplitOutputs() {
return splitOutputs;
}
@@ -311,6 +316,7 @@ public class RobotFrameworkCamelConfiguration implements
Cloneable {
return reportTitle;
}
+ @Deprecated
public String getSummaryTitle() {
return summaryTitle;
}
@@ -355,10 +361,12 @@ public class RobotFrameworkCamelConfiguration implements
Cloneable {
return listener;
}
+ @Deprecated
public boolean isWarnOnSkippedFiles() {
return warnOnSkippedFiles;
}
+ @Deprecated
public String getMonitorWidth() {
return monitorWidth;
}
@@ -423,6 +431,7 @@ public class RobotFrameworkCamelConfiguration implements
Cloneable {
this.nonCriticalTags = nonCriticalTags;
}
+ @Deprecated
public void setRunMode(String runMode) {
this.runMode = runMode;
}
@@ -479,6 +488,7 @@ public class RobotFrameworkCamelConfiguration implements
Cloneable {
this.timestampOutputs = timestampOutputs;
}
+ @Deprecated
public void setSplitOutputs(String splitOutputs) {
this.splitOutputs = splitOutputs;
}
@@ -491,6 +501,7 @@ public class RobotFrameworkCamelConfiguration implements
Cloneable {
this.reportTitle = reportTitle;
}
+ @Deprecated
public void setSummaryTitle(String summaryTitle) {
this.summaryTitle = summaryTitle;
}
@@ -535,10 +546,12 @@ public class RobotFrameworkCamelConfiguration implements
Cloneable {
this.listener = listener;
}
+ @Deprecated
public void setWarnOnSkippedFiles(boolean warnOnSkippedFiles) {
this.warnOnSkippedFiles = warnOnSkippedFiles;
}
+ @Deprecated
public void setMonitorWidth(String monitorWidth) {
this.monitorWidth = monitorWidth;
}
diff --git
a/components/camel-robotframework/src/main/java/org/apache/camel/component/robotframework/RobotFrameworkEndpoint.java
b/components/camel-robotframework/src/main/java/org/apache/camel/component/robotframework/RobotFrameworkEndpoint.java
index 63a8ff9c427a..d9810e4f03e1 100644
---
a/components/camel-robotframework/src/main/java/org/apache/camel/component/robotframework/RobotFrameworkEndpoint.java
+++
b/components/camel-robotframework/src/main/java/org/apache/camel/component/robotframework/RobotFrameworkEndpoint.java
@@ -108,26 +108,25 @@ public class RobotFrameworkEndpoint extends
ResourceEndpoint {
generatedArguments.addNonEmptyStringToArguments(configuration.getName(), "-N");
generatedArguments.addNonEmptyStringToArguments(configuration.getDocument(),
"-D");
-
generatedArguments.addNonEmptyStringToArguments(configuration.getRunMode(),
"--runmode");
+ // --runmode was removed in Robot Framework 2.8; use
dryrun/exitOnFailure/skipTeardownOnExit/randomize instead
generatedArguments.addFlagToArguments(configuration.isDryrun(),
"--dryrun");
generatedArguments.addFlagToArguments(configuration.isExitOnFailure(),
"--exitonfailure");
generatedArguments.addFlagToArguments(configuration.isSkipTeardownOnExit(),
"--skipteardownonexit");
generatedArguments.addNonEmptyStringToArguments(configuration.getRandomize(),
"--randomize");
-
generatedArguments.addNonEmptyStringToArguments(configuration.getSplitOutputs(),
"--splitoutputs");
+ // --splitoutputs and --summarytitle were removed in Robot Framework
3.0
generatedArguments.addNonEmptyStringToArguments(configuration.getLogTitle(),
"--logtitle");
generatedArguments.addNonEmptyStringToArguments(configuration.getReportTitle(),
"--reporttitle");
generatedArguments.addNonEmptyStringToArguments(configuration.getReportBackground(),
"--reportbackground");
-
generatedArguments.addNonEmptyStringToArguments(configuration.getSummaryTitle(),
"--summarytitle");
generatedArguments.addNonEmptyStringToArguments(configuration.getLogLevel(),
"-L");
generatedArguments.addNonEmptyStringToArguments(configuration.getSuiteStatLevel(),
"--suitestatlevel");
-
generatedArguments.addNonEmptyStringToArguments(configuration.getMonitorWidth(),
"--monitorwidth");
-
generatedArguments.addNonEmptyStringToArguments(configuration.getMonitorColors(),
"--monitorcolors");
+ // --monitorwidth and --warnonskippedfiles were removed in Robot
Framework 3.0
+ // --monitorcolors was replaced by --consolecolors in Robot Framework
2.9
+
generatedArguments.addNonEmptyStringToArguments(configuration.getMonitorColors(),
"--consolecolors");
generatedArguments.addNonEmptyStringToArguments(configuration.getListener(),
"--listener");
generatedArguments.addFlagToArguments(configuration.isRunEmptySuite(),
"--runemptysuite");
generatedArguments.addFlagToArguments(configuration.isNoStatusReturnCode(),
"--nostatusrc");
generatedArguments.addFlagToArguments(configuration.isTimestampOutputs(), "-T");
-
generatedArguments.addFlagToArguments(configuration.isWarnOnSkippedFiles(),
"--warnonskippedfiles");
generatedArguments.addListToArguments(
Arrays.asList((configuration.getMetadata() != null ?
configuration.getMetadata() : "").split(",")), "-M");
@@ -149,6 +148,10 @@ public class RobotFrameworkEndpoint extends
ResourceEndpoint {
(configuration.getNonCriticalTags() != null ?
configuration.getNonCriticalTags() : "").split(",")),
"-n");
+ // add user-configured static variables first (-v name:value)
+ generatedArguments.addListToArguments(
+ Arrays.asList((configuration.getVariables() != null ?
configuration.getVariables() : "").split(",")), "-v");
+
// create variables from camel exchange to pass into robot
List<String> variables
=
RobotFrameworkCamelUtils.createRobotVariablesFromCamelExchange(exchange,
isAllowContextMapAll());
diff --git
a/components/camel-robotframework/src/test/java/org/apache/camel/component/robotframework/RobotFrameworkOptionsFixTest.java
b/components/camel-robotframework/src/test/java/org/apache/camel/component/robotframework/RobotFrameworkOptionsFixTest.java
new file mode 100644
index 000000000000..0b83366abd29
--- /dev/null
+++
b/components/camel-robotframework/src/test/java/org/apache/camel/component/robotframework/RobotFrameworkOptionsFixTest.java
@@ -0,0 +1,104 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.robotframework;
+
+import org.apache.camel.Exchange;
+import org.apache.camel.builder.RouteBuilder;
+import org.apache.camel.component.mock.MockEndpoint;
+import org.apache.camel.test.junit6.CamelTestSupport;
+import org.apache.camel.util.ObjectHelper;
+import org.junit.jupiter.api.Test;
+
+import static org.junit.jupiter.api.Assertions.assertEquals;
+
+/**
+ * Regression tests for CAMEL-27867: six deprecated CLI options must not be
passed to Robot Framework (they cause
+ * rc=252), and the endpoint's {@code variables} option must be forwarded as
{@code -v} arguments.
+ */
+class RobotFrameworkOptionsFixTest extends CamelTestSupport {
+
+ /**
+ * Verifies that setting deprecated options (runMode, splitOutputs,
summaryTitle, monitorWidth, warnOnSkippedFiles)
+ * does not cause rc=252. With the old code, any non-null value for these
options was passed as a CLI flag that RF
+ * 4.1.2 rejects with rc=252. Now they must be silently ignored, so the
run succeeds (rc=0).
+ */
+ @Test
+ void testDeprecatedOptionsDoNotCauseFailure() throws Exception {
+ MockEndpoint mock = getMockEndpoint("mock:deprecatedResult");
+ mock.expectedMessageCount(1);
+
+ template.sendBody("direct:deprecated", "ignored");
+
+ MockEndpoint.assertIsSatisfied(context);
+
+ Exchange exchange = mock.getExchanges().get(0);
+ int rc = (int) ObjectHelper.cast(Integer.class,
+
exchange.getIn().getHeader(RobotFrameworkCamelConstants.CAMEL_ROBOT_RETURN_CODE));
+ assertEquals(0, rc,
+ "rc=252 means RF rejected an unrecognised option; the
deprecated options must not be forwarded");
+ }
+
+ /**
+ * End-to-end: static variables set via the endpoint {@code variables}
option are passed as {@code -v} args to Robot
+ * Framework and are available in the test suite.
+ */
+ @Test
+ void testStaticVariablesPassedToRobotFramework() throws Exception {
+ MockEndpoint mock = getMockEndpoint("mock:staticVarResult");
+ mock.expectedMessageCount(1);
+
+ template.sendBody("direct:staticVar", "ignored");
+
+ MockEndpoint.assertIsSatisfied(context);
+
+ Exchange exchange = mock.getExchanges().get(0);
+ assertEquals(0, (int) ObjectHelper.cast(Integer.class,
+
exchange.getIn().getHeader(RobotFrameworkCamelConstants.CAMEL_ROBOT_RETURN_CODE)),
+ "Robot Framework must return 0 (all tests passed) when the
static variable is correctly passed");
+ }
+
+ @Override
+ protected RouteBuilder createRouteBuilder() {
+ return new RouteBuilder() {
+ @Override
+ public void configure() {
+ RobotFrameworkComponent rf =
context.getComponent("robotframework", RobotFrameworkComponent.class);
+ rf.getConfiguration().setOutputDirectory("target");
+
+ // All deprecated options set; none must be forwarded to RF
(they would cause rc=252)
+ from("direct:deprecated")
+
.to("robotframework:src/test/resources/org/apache/camel/component/robotframework/"
+ + "send_no_camel_exchnage_only_camel_configs.robot"
+ + "?runMode=dryrun"
+ + "&splitOutputs=1"
+ + "&summaryTitle=Summary"
+ + "&monitorWidth=100"
+ + "&warnOnSkippedFiles=true"
+ + "&xunitFile=target/out-deprecated.xml")
+ .to("mock:deprecatedResult");
+
+ // variables=staticVar:staticValue must be forwarded as -v
staticVar:staticValue
+ from("direct:staticVar")
+
.to("robotframework:src/test/resources/org/apache/camel/component/robotframework/"
+ + "assert_static_variable.robot"
+ + "?variables=staticVar:staticValue"
+ + "&xunitFile=target/out-static-var.xml")
+ .to("mock:staticVarResult");
+ }
+ };
+ }
+}
diff --git
a/components/camel-robotframework/src/test/resources/org/apache/camel/component/robotframework/assert_static_variable.robot
b/components/camel-robotframework/src/test/resources/org/apache/camel/component/robotframework/assert_static_variable.robot
new file mode 100644
index 000000000000..a690bcfd9cf6
--- /dev/null
+++
b/components/camel-robotframework/src/test/resources/org/apache/camel/component/robotframework/assert_static_variable.robot
@@ -0,0 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+*** Test Cases ***
+Assert Static Variable Test Case
+ Should Be Equal ${staticVar} staticValue
diff --git
a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_25.adoc
b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_25.adoc
index fc4278e4a287..34200b07b0c9 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_25.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_25.adoc
@@ -198,3 +198,25 @@ Translate, so a name that does not exist now fails the
request with a `ResourceN
A header of another type, such as an `Integer`, now fails the exchange with an
`IllegalArgumentException` instead of
being ignored.
+
+=== camel-robotframework - obsolete options suppressed, variables passthrough
fixed
+
+Five endpoint options that were forwarded to Robot Framework but no longer
exist in
+Robot Framework 4.1.2 (the version bundled with this component) now no longer
cause
+the run to fail with return code 252. Setting them is now a silent no-op:
+
+* `runMode` (removed in Robot Framework 2.8; use `dryrun`, `exitOnFailure`,
+ `skipTeardownOnExit` and `randomize` instead)
+* `splitOutputs` (removed in Robot Framework 3.0)
+* `summaryTitle` (removed in Robot Framework 3.0)
+* `monitorWidth` (removed in Robot Framework 3.0)
+* `warnOnSkippedFiles` (removed in Robot Framework 3.0)
+
+The `monitorColors` option, which previously caused the run to fail because it
was sent
+as the removed `--monitorcolors` flag, is now forwarded as `--consolecolors`.
Valid values
+are `auto` (the default), `on`, `ansi`, and `off`.
+
+The `variables` option previously declared in the endpoint URI was not passed
to Robot
+Framework. It is now forwarded as `--variable` arguments. Variables set by the
exchange
+message (body, headers, or exchange variables) are added after the endpoint
variables and
+take precedence over them when a variable name collides.
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/RobotframeworkComponentBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/RobotframeworkComponentBuilderFactory.java
index e4a268560a5b..6232973ae032 100644
---
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/RobotframeworkComponentBuilderFactory.java
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/RobotframeworkComponentBuilderFactory.java
@@ -356,9 +356,10 @@ public interface RobotframeworkComponentBuilderFactory {
}
/**
- * Passed as the robot --monitorcolors option, which the Robot
Framework
- * version of this component (4.1.2) does not have (it is now
- * --consolecolors): setting it makes the run fail with return code
252.
+ * ANSI color use in the console output (the robot --consolecolors
+ * option): auto (the default, colors on Unix and when output is
+ * redirected to a terminal, but not on Windows), on (always on Unix),
+ * ansi (like on but with ANSI codes on Windows too), or off (never).
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -372,21 +373,18 @@ public interface RobotframeworkComponentBuilderFactory {
return this;
}
-
/**
- * Passed as the robot --monitorwidth option, which the Robot Framework
- * version of this component (4.1.2) does not have (it is now
- * --consolewidth): setting it makes the run fail with return code 252.
- * Not passed unless set.
+ * Deprecated: the robot --monitorwidth option was removed in Robot
+ * Framework 3.0. This option is ignored.
*
* The option is a: <code>java.lang.String</code> type.
*
- * Default: 78
* Group: common
*
* @param monitorWidth the value to set
* @return the dsl builder
*/
+ @Deprecated
default RobotframeworkComponentBuilder monitorWidth(java.lang.String
monitorWidth) {
doSetProperty("monitorWidth", monitorWidth);
return this;
@@ -585,10 +583,9 @@ public interface RobotframeworkComponentBuilderFactory {
}
/**
- * Passed as the robot --runmode option, which the Robot Framework
- * version of this component (4.1.2) no longer has: setting it makes
the
- * run fail with return code 252. Use dryrun, exitOnFailure,
- * skipTeardownOnExit and randomize instead.
+ * Deprecated: the robot --runmode option was removed in Robot
Framework
+ * 2.8. Use dryrun, exitOnFailure, skipTeardownOnExit and randomize
+ * instead. This option is ignored.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -597,6 +594,7 @@ public interface RobotframeworkComponentBuilderFactory {
* @param runMode the value to set
* @return the dsl builder
*/
+ @Deprecated
default RobotframeworkComponentBuilder runMode(java.lang.String
runMode) {
doSetProperty("runMode", runMode);
return this;
@@ -622,9 +620,8 @@ public interface RobotframeworkComponentBuilderFactory {
}
/**
- * Passed as the robot --splitoutputs option, which the Robot Framework
- * version of this component (4.1.2) does not have: setting it makes
the
- * run fail with return code 252.
+ * Deprecated: the robot --splitoutputs option was removed in Robot
+ * Framework 3.0. This option is ignored.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -633,6 +630,7 @@ public interface RobotframeworkComponentBuilderFactory {
* @param splitOutputs the value to set
* @return the dsl builder
*/
+ @Deprecated
default RobotframeworkComponentBuilder splitOutputs(java.lang.String
splitOutputs) {
doSetProperty("splitOutputs", splitOutputs);
return this;
@@ -673,9 +671,8 @@ public interface RobotframeworkComponentBuilderFactory {
}
/**
- * Passed as the robot --summarytitle option, which the Robot Framework
- * version of this component (4.1.2) does not have: setting it makes
the
- * run fail with return code 252.
+ * Deprecated: the robot --summarytitle option was removed in Robot
+ * Framework 3.0. This option is ignored.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -684,6 +681,7 @@ public interface RobotframeworkComponentBuilderFactory {
* @param summaryTitle the value to set
* @return the dsl builder
*/
+ @Deprecated
default RobotframeworkComponentBuilder summaryTitle(java.lang.String
summaryTitle) {
doSetProperty("summaryTitle", summaryTitle);
return this;
@@ -829,10 +827,11 @@ public interface RobotframeworkComponentBuilderFactory {
}
/**
- * Variables in the format name:value, which Robot Framework would get
- * with the robot --variable option. Separate several variables with
- * comma. Note that the component does not pass this option to Robot
- * Framework: only the variables created from the message are passed.
+ * Variables in the format name:value to pass to Robot Framework (the
+ * robot --variable option). Separate several variables with comma.
When
+ * a variable is also set by the exchange message (body, headers or
+ * exchange variables), the message value takes precedence over the
+ * endpoint variable on the same name.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -848,9 +847,8 @@ public interface RobotframeworkComponentBuilderFactory {
/**
- * Passed as the robot --warnonskippedfiles option, which the Robot
- * Framework version of this component (4.1.2) does not have: enabling
- * it makes the run fail with return code 252.
+ * Deprecated: the robot --warnonskippedfiles option was removed in
+ * Robot Framework 3.0. This option is ignored.
*
* The option is a: <code>boolean</code> type.
*
@@ -860,6 +858,7 @@ public interface RobotframeworkComponentBuilderFactory {
* @param warnOnSkippedFiles the value to set
* @return the dsl builder
*/
+ @Deprecated
default RobotframeworkComponentBuilder warnOnSkippedFiles(boolean
warnOnSkippedFiles) {
doSetProperty("warnOnSkippedFiles", warnOnSkippedFiles);
return this;
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/RobotFrameworkEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/RobotFrameworkEndpointBuilderFactory.java
index a443695e7cf4..0c279a15cc01 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/RobotFrameworkEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/RobotFrameworkEndpointBuilderFactory.java
@@ -398,9 +398,10 @@ public interface RobotFrameworkEndpointBuilderFactory {
return this;
}
/**
- * Passed as the robot --monitorcolors option, which the Robot
Framework
- * version of this component (4.1.2) does not have (it is now
- * --consolecolors): setting it makes the run fail with return code
252.
+ * ANSI color use in the console output (the robot --consolecolors
+ * option): auto (the default, colors on Unix and when output is
+ * redirected to a terminal, but not on Windows), on (always on Unix),
+ * ansi (like on but with ANSI codes on Windows too), or off (never).
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -414,19 +415,17 @@ public interface RobotFrameworkEndpointBuilderFactory {
return this;
}
/**
- * Passed as the robot --monitorwidth option, which the Robot Framework
- * version of this component (4.1.2) does not have (it is now
- * --consolewidth): setting it makes the run fail with return code 252.
- * Not passed unless set.
+ * Deprecated: the robot --monitorwidth option was removed in Robot
+ * Framework 3.0. This option is ignored.
*
* The option is a: <code>java.lang.String</code> type.
*
- * Default: 78
* Group: common
*
* @param monitorWidth the value to set
* @return the dsl builder
*/
+ @Deprecated
default RobotFrameworkEndpointConsumerBuilder monitorWidth(String
monitorWidth) {
doSetProperty("monitorWidth", monitorWidth);
return this;
@@ -645,10 +644,9 @@ public interface RobotFrameworkEndpointBuilderFactory {
return this;
}
/**
- * Passed as the robot --runmode option, which the Robot Framework
- * version of this component (4.1.2) no longer has: setting it makes
the
- * run fail with return code 252. Use dryrun, exitOnFailure,
- * skipTeardownOnExit and randomize instead.
+ * Deprecated: the robot --runmode option was removed in Robot
Framework
+ * 2.8. Use dryrun, exitOnFailure, skipTeardownOnExit and randomize
+ * instead. This option is ignored.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -657,6 +655,7 @@ public interface RobotFrameworkEndpointBuilderFactory {
* @param runMode the value to set
* @return the dsl builder
*/
+ @Deprecated
default RobotFrameworkEndpointConsumerBuilder runMode(String runMode) {
doSetProperty("runMode", runMode);
return this;
@@ -696,9 +695,8 @@ public interface RobotFrameworkEndpointBuilderFactory {
return this;
}
/**
- * Passed as the robot --splitoutputs option, which the Robot Framework
- * version of this component (4.1.2) does not have: setting it makes
the
- * run fail with return code 252.
+ * Deprecated: the robot --splitoutputs option was removed in Robot
+ * Framework 3.0. This option is ignored.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -707,6 +705,7 @@ public interface RobotFrameworkEndpointBuilderFactory {
* @param splitOutputs the value to set
* @return the dsl builder
*/
+ @Deprecated
default RobotFrameworkEndpointConsumerBuilder splitOutputs(String
splitOutputs) {
doSetProperty("splitOutputs", splitOutputs);
return this;
@@ -744,9 +743,8 @@ public interface RobotFrameworkEndpointBuilderFactory {
return this;
}
/**
- * Passed as the robot --summarytitle option, which the Robot Framework
- * version of this component (4.1.2) does not have: setting it makes
the
- * run fail with return code 252.
+ * Deprecated: the robot --summarytitle option was removed in Robot
+ * Framework 3.0. This option is ignored.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -755,6 +753,7 @@ public interface RobotFrameworkEndpointBuilderFactory {
* @param summaryTitle the value to set
* @return the dsl builder
*/
+ @Deprecated
default RobotFrameworkEndpointConsumerBuilder summaryTitle(String
summaryTitle) {
doSetProperty("summaryTitle", summaryTitle);
return this;
@@ -907,10 +906,11 @@ public interface RobotFrameworkEndpointBuilderFactory {
return this;
}
/**
- * Variables in the format name:value, which Robot Framework would get
- * with the robot --variable option. Separate several variables with
- * comma. Note that the component does not pass this option to Robot
- * Framework: only the variables created from the message are passed.
+ * Variables in the format name:value to pass to Robot Framework (the
+ * robot --variable option). Separate several variables with comma.
When
+ * a variable is also set by the exchange message (body, headers or
+ * exchange variables), the message value takes precedence over the
+ * endpoint variable on the same name.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -924,9 +924,8 @@ public interface RobotFrameworkEndpointBuilderFactory {
return this;
}
/**
- * Passed as the robot --warnonskippedfiles option, which the Robot
- * Framework version of this component (4.1.2) does not have: enabling
- * it makes the run fail with return code 252.
+ * Deprecated: the robot --warnonskippedfiles option was removed in
+ * Robot Framework 3.0. This option is ignored.
*
* The option is a: <code>boolean</code> type.
*
@@ -936,14 +935,14 @@ public interface RobotFrameworkEndpointBuilderFactory {
* @param warnOnSkippedFiles the value to set
* @return the dsl builder
*/
+ @Deprecated
default RobotFrameworkEndpointConsumerBuilder
warnOnSkippedFiles(boolean warnOnSkippedFiles) {
doSetProperty("warnOnSkippedFiles", warnOnSkippedFiles);
return this;
}
/**
- * Passed as the robot --warnonskippedfiles option, which the Robot
- * Framework version of this component (4.1.2) does not have: enabling
- * it makes the run fail with return code 252.
+ * Deprecated: the robot --warnonskippedfiles option was removed in
+ * Robot Framework 3.0. This option is ignored.
*
* The option will be converted to a <code>boolean</code> type.
*
@@ -953,6 +952,7 @@ public interface RobotFrameworkEndpointBuilderFactory {
* @param warnOnSkippedFiles the value to set
* @return the dsl builder
*/
+ @Deprecated
default RobotFrameworkEndpointConsumerBuilder
warnOnSkippedFiles(String warnOnSkippedFiles) {
doSetProperty("warnOnSkippedFiles", warnOnSkippedFiles);
return this;
@@ -2036,9 +2036,10 @@ public interface RobotFrameworkEndpointBuilderFactory {
return this;
}
/**
- * Passed as the robot --monitorcolors option, which the Robot
Framework
- * version of this component (4.1.2) does not have (it is now
- * --consolecolors): setting it makes the run fail with return code
252.
+ * ANSI color use in the console output (the robot --consolecolors
+ * option): auto (the default, colors on Unix and when output is
+ * redirected to a terminal, but not on Windows), on (always on Unix),
+ * ansi (like on but with ANSI codes on Windows too), or off (never).
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -2052,19 +2053,17 @@ public interface RobotFrameworkEndpointBuilderFactory {
return this;
}
/**
- * Passed as the robot --monitorwidth option, which the Robot Framework
- * version of this component (4.1.2) does not have (it is now
- * --consolewidth): setting it makes the run fail with return code 252.
- * Not passed unless set.
+ * Deprecated: the robot --monitorwidth option was removed in Robot
+ * Framework 3.0. This option is ignored.
*
* The option is a: <code>java.lang.String</code> type.
*
- * Default: 78
* Group: common
*
* @param monitorWidth the value to set
* @return the dsl builder
*/
+ @Deprecated
default RobotFrameworkEndpointProducerBuilder monitorWidth(String
monitorWidth) {
doSetProperty("monitorWidth", monitorWidth);
return this;
@@ -2283,10 +2282,9 @@ public interface RobotFrameworkEndpointBuilderFactory {
return this;
}
/**
- * Passed as the robot --runmode option, which the Robot Framework
- * version of this component (4.1.2) no longer has: setting it makes
the
- * run fail with return code 252. Use dryrun, exitOnFailure,
- * skipTeardownOnExit and randomize instead.
+ * Deprecated: the robot --runmode option was removed in Robot
Framework
+ * 2.8. Use dryrun, exitOnFailure, skipTeardownOnExit and randomize
+ * instead. This option is ignored.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -2295,6 +2293,7 @@ public interface RobotFrameworkEndpointBuilderFactory {
* @param runMode the value to set
* @return the dsl builder
*/
+ @Deprecated
default RobotFrameworkEndpointProducerBuilder runMode(String runMode) {
doSetProperty("runMode", runMode);
return this;
@@ -2334,9 +2333,8 @@ public interface RobotFrameworkEndpointBuilderFactory {
return this;
}
/**
- * Passed as the robot --splitoutputs option, which the Robot Framework
- * version of this component (4.1.2) does not have: setting it makes
the
- * run fail with return code 252.
+ * Deprecated: the robot --splitoutputs option was removed in Robot
+ * Framework 3.0. This option is ignored.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -2345,6 +2343,7 @@ public interface RobotFrameworkEndpointBuilderFactory {
* @param splitOutputs the value to set
* @return the dsl builder
*/
+ @Deprecated
default RobotFrameworkEndpointProducerBuilder splitOutputs(String
splitOutputs) {
doSetProperty("splitOutputs", splitOutputs);
return this;
@@ -2382,9 +2381,8 @@ public interface RobotFrameworkEndpointBuilderFactory {
return this;
}
/**
- * Passed as the robot --summarytitle option, which the Robot Framework
- * version of this component (4.1.2) does not have: setting it makes
the
- * run fail with return code 252.
+ * Deprecated: the robot --summarytitle option was removed in Robot
+ * Framework 3.0. This option is ignored.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -2393,6 +2391,7 @@ public interface RobotFrameworkEndpointBuilderFactory {
* @param summaryTitle the value to set
* @return the dsl builder
*/
+ @Deprecated
default RobotFrameworkEndpointProducerBuilder summaryTitle(String
summaryTitle) {
doSetProperty("summaryTitle", summaryTitle);
return this;
@@ -2545,10 +2544,11 @@ public interface RobotFrameworkEndpointBuilderFactory {
return this;
}
/**
- * Variables in the format name:value, which Robot Framework would get
- * with the robot --variable option. Separate several variables with
- * comma. Note that the component does not pass this option to Robot
- * Framework: only the variables created from the message are passed.
+ * Variables in the format name:value to pass to Robot Framework (the
+ * robot --variable option). Separate several variables with comma.
When
+ * a variable is also set by the exchange message (body, headers or
+ * exchange variables), the message value takes precedence over the
+ * endpoint variable on the same name.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -2562,9 +2562,8 @@ public interface RobotFrameworkEndpointBuilderFactory {
return this;
}
/**
- * Passed as the robot --warnonskippedfiles option, which the Robot
- * Framework version of this component (4.1.2) does not have: enabling
- * it makes the run fail with return code 252.
+ * Deprecated: the robot --warnonskippedfiles option was removed in
+ * Robot Framework 3.0. This option is ignored.
*
* The option is a: <code>boolean</code> type.
*
@@ -2574,14 +2573,14 @@ public interface RobotFrameworkEndpointBuilderFactory {
* @param warnOnSkippedFiles the value to set
* @return the dsl builder
*/
+ @Deprecated
default RobotFrameworkEndpointProducerBuilder
warnOnSkippedFiles(boolean warnOnSkippedFiles) {
doSetProperty("warnOnSkippedFiles", warnOnSkippedFiles);
return this;
}
/**
- * Passed as the robot --warnonskippedfiles option, which the Robot
- * Framework version of this component (4.1.2) does not have: enabling
- * it makes the run fail with return code 252.
+ * Deprecated: the robot --warnonskippedfiles option was removed in
+ * Robot Framework 3.0. This option is ignored.
*
* The option will be converted to a <code>boolean</code> type.
*
@@ -2591,6 +2590,7 @@ public interface RobotFrameworkEndpointBuilderFactory {
* @param warnOnSkippedFiles the value to set
* @return the dsl builder
*/
+ @Deprecated
default RobotFrameworkEndpointProducerBuilder
warnOnSkippedFiles(String warnOnSkippedFiles) {
doSetProperty("warnOnSkippedFiles", warnOnSkippedFiles);
return this;
@@ -3036,9 +3036,10 @@ public interface RobotFrameworkEndpointBuilderFactory {
return this;
}
/**
- * Passed as the robot --monitorcolors option, which the Robot
Framework
- * version of this component (4.1.2) does not have (it is now
- * --consolecolors): setting it makes the run fail with return code
252.
+ * ANSI color use in the console output (the robot --consolecolors
+ * option): auto (the default, colors on Unix and when output is
+ * redirected to a terminal, but not on Windows), on (always on Unix),
+ * ansi (like on but with ANSI codes on Windows too), or off (never).
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -3052,19 +3053,17 @@ public interface RobotFrameworkEndpointBuilderFactory {
return this;
}
/**
- * Passed as the robot --monitorwidth option, which the Robot Framework
- * version of this component (4.1.2) does not have (it is now
- * --consolewidth): setting it makes the run fail with return code 252.
- * Not passed unless set.
+ * Deprecated: the robot --monitorwidth option was removed in Robot
+ * Framework 3.0. This option is ignored.
*
* The option is a: <code>java.lang.String</code> type.
*
- * Default: 78
* Group: common
*
* @param monitorWidth the value to set
* @return the dsl builder
*/
+ @Deprecated
default RobotFrameworkEndpointBuilder monitorWidth(String
monitorWidth) {
doSetProperty("monitorWidth", monitorWidth);
return this;
@@ -3283,10 +3282,9 @@ public interface RobotFrameworkEndpointBuilderFactory {
return this;
}
/**
- * Passed as the robot --runmode option, which the Robot Framework
- * version of this component (4.1.2) no longer has: setting it makes
the
- * run fail with return code 252. Use dryrun, exitOnFailure,
- * skipTeardownOnExit and randomize instead.
+ * Deprecated: the robot --runmode option was removed in Robot
Framework
+ * 2.8. Use dryrun, exitOnFailure, skipTeardownOnExit and randomize
+ * instead. This option is ignored.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -3295,6 +3293,7 @@ public interface RobotFrameworkEndpointBuilderFactory {
* @param runMode the value to set
* @return the dsl builder
*/
+ @Deprecated
default RobotFrameworkEndpointBuilder runMode(String runMode) {
doSetProperty("runMode", runMode);
return this;
@@ -3334,9 +3333,8 @@ public interface RobotFrameworkEndpointBuilderFactory {
return this;
}
/**
- * Passed as the robot --splitoutputs option, which the Robot Framework
- * version of this component (4.1.2) does not have: setting it makes
the
- * run fail with return code 252.
+ * Deprecated: the robot --splitoutputs option was removed in Robot
+ * Framework 3.0. This option is ignored.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -3345,6 +3343,7 @@ public interface RobotFrameworkEndpointBuilderFactory {
* @param splitOutputs the value to set
* @return the dsl builder
*/
+ @Deprecated
default RobotFrameworkEndpointBuilder splitOutputs(String
splitOutputs) {
doSetProperty("splitOutputs", splitOutputs);
return this;
@@ -3382,9 +3381,8 @@ public interface RobotFrameworkEndpointBuilderFactory {
return this;
}
/**
- * Passed as the robot --summarytitle option, which the Robot Framework
- * version of this component (4.1.2) does not have: setting it makes
the
- * run fail with return code 252.
+ * Deprecated: the robot --summarytitle option was removed in Robot
+ * Framework 3.0. This option is ignored.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -3393,6 +3391,7 @@ public interface RobotFrameworkEndpointBuilderFactory {
* @param summaryTitle the value to set
* @return the dsl builder
*/
+ @Deprecated
default RobotFrameworkEndpointBuilder summaryTitle(String
summaryTitle) {
doSetProperty("summaryTitle", summaryTitle);
return this;
@@ -3545,10 +3544,11 @@ public interface RobotFrameworkEndpointBuilderFactory {
return this;
}
/**
- * Variables in the format name:value, which Robot Framework would get
- * with the robot --variable option. Separate several variables with
- * comma. Note that the component does not pass this option to Robot
- * Framework: only the variables created from the message are passed.
+ * Variables in the format name:value to pass to Robot Framework (the
+ * robot --variable option). Separate several variables with comma.
When
+ * a variable is also set by the exchange message (body, headers or
+ * exchange variables), the message value takes precedence over the
+ * endpoint variable on the same name.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -3562,9 +3562,8 @@ public interface RobotFrameworkEndpointBuilderFactory {
return this;
}
/**
- * Passed as the robot --warnonskippedfiles option, which the Robot
- * Framework version of this component (4.1.2) does not have: enabling
- * it makes the run fail with return code 252.
+ * Deprecated: the robot --warnonskippedfiles option was removed in
+ * Robot Framework 3.0. This option is ignored.
*
* The option is a: <code>boolean</code> type.
*
@@ -3574,14 +3573,14 @@ public interface RobotFrameworkEndpointBuilderFactory {
* @param warnOnSkippedFiles the value to set
* @return the dsl builder
*/
+ @Deprecated
default RobotFrameworkEndpointBuilder warnOnSkippedFiles(boolean
warnOnSkippedFiles) {
doSetProperty("warnOnSkippedFiles", warnOnSkippedFiles);
return this;
}
/**
- * Passed as the robot --warnonskippedfiles option, which the Robot
- * Framework version of this component (4.1.2) does not have: enabling
- * it makes the run fail with return code 252.
+ * Deprecated: the robot --warnonskippedfiles option was removed in
+ * Robot Framework 3.0. This option is ignored.
*
* The option will be converted to a <code>boolean</code> type.
*
@@ -3591,6 +3590,7 @@ public interface RobotFrameworkEndpointBuilderFactory {
* @param warnOnSkippedFiles the value to set
* @return the dsl builder
*/
+ @Deprecated
default RobotFrameworkEndpointBuilder warnOnSkippedFiles(String
warnOnSkippedFiles) {
doSetProperty("warnOnSkippedFiles", warnOnSkippedFiles);
return this;