This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a change to branch CAMEL-26695-chaos-from-here
in repository https://gitbox.apache.org/repos/asf/camel.git
from a643d08a3c80 CAMEL-26695: camel-jbang - chaos from where you look: !
on an endpoint, a consumer or a diagram node opens the known chaos rules for it
add b7694cdd985a CAMEL-26690: camel-jbang - AI tools: a refused Citrus
test gets the send and receive actions and the body to write (#29323)
add 2eaf9e9c1ca2 CAMEL-26690: camel-jbang - AI tools: the column message
gives a place that works, misread messages say what is wrong, and the
errorHandler hint gives its kind (#29325)
add de251f07b81b CAMEL-26690: camel-jbang - AI tools: an sftp or ftp
endpoint without a login, and a header read in a split that no step sets
(#29326)
add 47e00007ca60 CAMEL-26690: camel-jbang - AI tools: jsonpath compiled at
write time, and the expression tool on a JSON text body (#29327)
add 2290b69d620b CAMEL-26694: drop Roaster from camel-report-maven-plugin
and from the camel-jbang configuration metadata (#29342)
add f24611c8549a CAMEL-26600: Fix flaky
CxfProducerTest.testInvokingAWrongServer by using the synchronous producer
(#29339)
add f2c17c00443f CAMEL-26656: camel-sftp - check whether a file exists
with one lstat instead of listing the directory (#29273)
add 4501d3938d99 CAMEL-26599: camel-aws2-kinesis - option to keep the KCL
checkpoint before a failed record (#29288)
add 3c506c5f3cb5 CAMEL-26673: camel-jbang - Look up the Quarkus Platform
only for the Quarkus runtime (#29315)
add f5d2b26c25ed CAMEL-26646: camel-couchdb - treat maxMessagesPerPoll <=
0 as unlimited (#29324)
add 6ebc180cfec4 CAMEL-26647: camel-google-pubsub - a manual ack of an
aggregated exchange acks every grouped message with synchronousPull (#29332)
add 8739833f7100 CAMEL-26066: camel-jsch - the scp producer reads the
first acknowledgement of the remote scp, so it waits until the file is written
(#29333)
add 1c6692d58ccf CAMEL-26648, CAMEL-26671: camel-mina-sftp - check whether
a file exists with one lstat, and wrap listing errors (#29337)
add 51aca061ca9c CAMEL-26692: camel-jms - a message sent from a transacted
route with a username and password is rolled back with it (#29340)
add 95850fb149ae CAMEL-26381: Do not start the CamelContext inside
Awaitility in the Consul cluster ITs (#29345)
add ea4ec7bf80ff CAMEL-26695: camel-jbang - chaos screen: add, change,
remove and clear rules, and a new experiment (#29346)
add 6140a7cd05f3 CAMEL-26284: camel-azure-storage-blob - validate the
copyBlob source account and container names (#29254)
add 689a2a54ad42 CAMEL-26695: camel-jbang - chaos screen: add a rule from
the known rules, with values picked from the integration (#29347)
add 27e1303b77d1 Merge main into CAMEL-26695-chaos-from-here (after #29347
was squash-merged)
No new revisions were added by this update.
Summary of changes:
.../camel/catalog/components/aws2-kinesis.json | 122 ++--
.../apache/camel/catalog/components/couchdb.json | 2 +-
.../org/apache/camel/catalog/components/ftp.json | 2 +-
.../org/apache/camel/catalog/components/ftps.json | 2 +-
.../apache/camel/catalog/components/mina-sftp.json | 2 +-
.../org/apache/camel/catalog/components/sftp.json | 2 +-
.../camel/catalog/docs/aws2-kinesis-component.adoc | 21 +
.../catalog/docs/google-pubsub-component.adoc | 26 +-
.../apache/camel/catalog/docs/jms-component.adoc | 6 +
.../camel/catalog/docs/mina-sftp-component.adoc | 16 +
.../apache/camel/catalog/docs/sftp-component.adoc | 18 +
.../jbang/camel-jbang-configuration-metadata.json | 2 +-
catalog/camel-report-maven-plugin/pom.xml | 12 -
.../ActiveMQCredentialsConnectionFactoryTest.java | 70 +++
.../amqp/AMQPTransactedCredentialsTest.java | 98 +++
.../aws2/kinesis/Kinesis2ComponentConfigurer.java | 6 +
.../aws2/kinesis/Kinesis2EndpointConfigurer.java | 6 +
.../aws2/kinesis/Kinesis2EndpointUriFactory.java | 3 +-
.../camel/component/aws2/kinesis/aws2-kinesis.json | 122 ++--
.../src/main/docs/aws2-kinesis-component.adoc | 21 +
.../aws2/kinesis/KclKinesis2Consumer.java | 92 ++-
.../aws2/kinesis/Kinesis2Configuration.java | 15 +
.../KclKinesis2ConsumerFailedRecordTest.java | 237 +++++++
.../KclKinesis2ConsumerRecordProcessingTest.java | 6 +-
.../storage/blob/operations/BlobOperations.java | 14 +
.../blob/operations/BlobOperationsTest.java | 36 ++
.../ConsulClusteredRoutePolicyFactoryIT.java | 12 +-
.../cluster/ConsulClusteredRoutePolicyIT.java | 12 +-
.../component/consul/cluster/ConsulMasterIT.java | 12 +-
.../apache/camel/component/couchdb/couchdb.json | 2 +-
.../component/couchdb/CouchDbClientWrapper.java | 12 +-
.../camel/component/couchdb/CouchDbEndpoint.java | 2 -
.../couchdb/CouchDbClientWrapperTest.java | 53 ++
.../camel/component/cxf/jaxws/CxfProducerTest.java | 6 +-
.../component/file/remote/RemoteFileEndpoint.java | 7 +-
.../apache/camel/component/file/remote/ftp.json | 2 +-
.../apache/camel/component/file/remote/ftps.json | 2 +-
.../apache/camel/component/file/remote/sftp.json | 2 +-
.../camel-ftp/src/main/docs/sftp-component.adoc | 18 +
.../component/file/remote/SftpOperations.java | 148 +++--
.../strategy/SftpExclusiveReadLockCheck.java | 46 +-
.../remote/sftp/integration/SftpExistsFileIT.java | 421 +++++++++++++
.../src/main/docs/google-pubsub-component.adoc | 26 +-
.../google/pubsub/consumer/AcknowledgeSync.java | 50 +-
.../GooglePubsubConsumerAggregatedAckTest.java | 263 ++++++++
.../AggregatedManualAcknowledgementIT.java | 109 ++++
.../camel-jms/src/main/docs/jms-component.adoc | 6 +
.../apache/camel/component/jms/JmsComponent.java | 60 +-
...sComponentCredentialsConnectionFactoryTest.java | 130 ++++
.../jms/tx/JmsTransactedCredentialsTest.java | 140 +++++
.../apache/camel/component/scp/ScpOperations.java | 29 +-
.../scp/ScpProduceAcknowledgementTest.java | 178 ++++++
.../component/file/remote/mina/mina-sftp.json | 2 +-
.../src/main/docs/mina-sftp-component.adoc | 16 +
.../file/remote/mina/MinaSftpOperations.java | 89 ++-
.../file/remote/mina/MinaSftpRemoteFile.java | 11 +-
.../MinaSftpChangedExclusiveReadLockStrategy.java | 108 ++--
.../MinaSftpConsumerMissingDirectoryIT.java | 137 ++++
.../mina/integration/MinaSftpExistsFileIT.java | 482 +++++++++++++++
.../ROOT/pages/camel-4x-upgrade-guide-4_18.adoc | 5 +
.../ROOT/pages/camel-4x-upgrade-guide-4_22.adoc | 5 +
.../ROOT/pages/camel-4x-upgrade-guide-4_24.adoc | 98 +++
.../ROOT/pages/camel-jbang-configuration.adoc | 2 +-
.../modules/ROOT/pages/camel-jbang-running.adoc | 3 +-
.../dsl/Aws2KinesisComponentBuilderFactory.java | 25 +
.../dsl/CouchDbEndpointBuilderFactory.java | 10 +-
.../endpoint/dsl/FtpEndpointBuilderFactory.java | 24 +-
.../endpoint/dsl/FtpsEndpointBuilderFactory.java | 24 +-
.../dsl/Kinesis2EndpointBuilderFactory.java | 44 ++
.../dsl/MinaSftpEndpointBuilderFactory.java | 24 +-
.../endpoint/dsl/SftpEndpointBuilderFactory.java | 24 +-
dsl/camel-jbang/camel-jbang-core/pom.xml | 8 +
.../camel-jbang-configuration-metadata.json | 2 +-
.../dsl/jbang/core/commands/ai/AuthoringTools.java | 27 +-
.../jbang/core/commands/ai/CitrusTestChecks.java | 686 ++++++++++++++++++++-
.../core/commands/ai/ExpressionEvaluator.java | 170 ++++-
.../core/commands/ai/HeaderPropertyMixups.java | 288 +++++++--
.../dsl/jbang/core/commands/ai/JsonPathChecks.java | 165 ++++-
.../dsl/jbang/core/commands/ai/LenientRepairs.java | 54 +-
.../jbang/core/commands/ai/RemoteFileLogins.java | 401 ++++++++++++
.../jbang/core/commands/ai/SourceValidator.java | 4 +-
.../dsl/jbang/core/commands/ai/ToolDescriptor.java | 22 +
.../core/commands/QuarkusPlatformLookupTest.java | 225 +++++++
.../core/commands/ai/AuthoringToolsCitrusTest.java | 51 +-
.../commands/ai/AuthoringToolsLenientTest.java | 127 ++++
.../core/commands/ai/CitrusTestChecksTest.java | 302 ++++++++-
.../core/commands/ai/EvalInTheIntegrationTest.java | 26 +
.../ai/ExpressionEvaluatorLanguageTest.java | 38 ++
.../core/commands/ai/HeaderPropertyMixupsTest.java | 167 ++++-
.../jbang/core/commands/ai/JsonPathChecksTest.java | 76 +++
.../core/commands/ai/RemoteFileLoginsTest.java | 194 ++++++
.../core/commands/ai/RepeatedToolCallsTest.java | 31 +
.../test/resources/golden/expected/chaos.run.txt | 6 -
.../test/resources/golden/expected/code.run.txt | 6 -
.../test/resources/golden/expected/deps.export.txt | 3 -
.../test/resources/golden/expected/deps.run.txt | 6 -
.../src/test/resources/golden/expected/dev.run.txt | 6 -
.../resources/golden/expected/excludes.export.txt | 3 -
.../resources/golden/expected/excludes.run.txt | 6 -
.../resources/golden/expected/groovy.export.txt | 3 -
.../test/resources/golden/expected/groovy.run.txt | 6 -
.../test/resources/golden/expected/java.export.txt | 3 -
.../test/resources/golden/expected/java.run.txt | 6 -
.../resources/golden/expected/kamelet.export.txt | 3 -
.../test/resources/golden/expected/kamelet.run.txt | 6 -
.../golden/expected/local-kamelet-dir.export.txt | 3 -
.../golden/expected/local-kamelet-dir.run.txt | 6 -
.../resources/golden/expected/mixed.export.txt | 3 -
.../test/resources/golden/expected/mixed.run.txt | 6 -
.../resources/golden/expected/openapi.export.txt | 3 -
.../test/resources/golden/expected/openapi.run.txt | 6 -
.../resources/golden/expected/options.export.txt | 3 -
.../test/resources/golden/expected/options.run.txt | 6 -
.../golden/expected/pom-project.export.txt | 3 -
.../golden/expected/profile-prod.export.txt | 3 -
.../resources/golden/expected/profile-prod.run.txt | 6 -
.../resources/golden/expected/profile.export.txt | 3 -
.../test/resources/golden/expected/profile.run.txt | 6 -
.../golden/expected/resource-dir.export.txt | 3 -
.../resources/golden/expected/resource-dir.run.txt | 6 -
.../resources/golden/expected/run-options.run.txt | 6 -
.../golden/expected/run-settings.export.txt | 3 -
.../resources/golden/expected/source-dir.run.txt | 6 -
.../resources/golden/expected/stub-all.run.txt | 6 -
.../resources/golden/expected/stub-names.run.txt | 6 -
.../test/resources/golden/expected/xml.export.txt | 3 -
.../src/test/resources/golden/expected/xml.run.txt | 6 -
.../resources/golden/expected/yaml-deps.export.txt | 3 -
.../resources/golden/expected/yaml-deps.run.txt | 6 -
.../test/resources/golden/expected/yaml.export.txt | 3 -
.../test/resources/golden/expected/yaml.run.txt | 6 -
.../jbang/core/commands/mcp/AuthoringTools.java | 6 +-
.../core/commands/mcp/AuthoringToolsTest.java | 46 +-
.../core/commands/kubernetes/MetadataHelper.java | 32 +-
.../apache/camel/dsl/jbang/run/RunPipeline.java | 7 +-
.../dsl/jbang/run/export/QuarkusExporter.java | 31 +-
.../camel/dsl/yaml/validator/SchemaHints.java | 59 +-
.../camel/dsl/yaml/validator/TextBodyFlow.java | 38 +-
.../camel/dsl/yaml/validator/YamlValidator.java | 373 ++++++++++-
.../camel/dsl/yaml/validator/TextBodyFlowTest.java | 44 ++
.../validator/YamlValidatorPropertyHintTest.java | 298 ++++++++-
.../maven/packaging/PrepareCamelJBangMojo.java | 123 ++--
.../maven/packaging/PrepareCamelJBangMojoTest.java | 103 ++++
143 files changed, 7473 insertions(+), 774 deletions(-)
create mode 100644
components/camel-activemq/src/test/java/org/apache/camel/component/activemq/ActiveMQCredentialsConnectionFactoryTest.java
create mode 100644
components/camel-amqp/src/test/java/org/apache/camel/component/amqp/AMQPTransactedCredentialsTest.java
create mode 100644
components/camel-aws/camel-aws2-kinesis/src/test/java/org/apache/camel/component/aws2/kinesis/KclKinesis2ConsumerFailedRecordTest.java
create mode 100644
components/camel-couchdb/src/test/java/org/apache/camel/component/couchdb/CouchDbClientWrapperTest.java
create mode 100644
components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpExistsFileIT.java
create mode 100644
components/camel-google/camel-google-pubsub/src/test/java/org/apache/camel/component/google/pubsub/GooglePubsubConsumerAggregatedAckTest.java
create mode 100644
components/camel-google/camel-google-pubsub/src/test/java/org/apache/camel/component/google/pubsub/integration/AggregatedManualAcknowledgementIT.java
create mode 100644
components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsComponentCredentialsConnectionFactoryTest.java
create mode 100644
components/camel-jms/src/test/java/org/apache/camel/component/jms/tx/JmsTransactedCredentialsTest.java
create mode 100644
components/camel-jsch/src/test/java/org/apache/camel/component/scp/ScpProduceAcknowledgementTest.java
create mode 100644
components/camel-mina-sftp/src/test/java/org/apache/camel/component/file/remote/mina/integration/MinaSftpConsumerMissingDirectoryIT.java
create mode 100644
components/camel-mina-sftp/src/test/java/org/apache/camel/component/file/remote/mina/integration/MinaSftpExistsFileIT.java
create mode 100644
dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ai/RemoteFileLogins.java
create mode 100644
dsl/camel-jbang/camel-jbang-core/src/test/java/org/apache/camel/dsl/jbang/core/commands/QuarkusPlatformLookupTest.java
create mode 100644
dsl/camel-jbang/camel-jbang-core/src/test/java/org/apache/camel/dsl/jbang/core/commands/ai/RemoteFileLoginsTest.java
create mode 100644
tooling/maven/camel-package-maven-plugin/src/test/java/org/apache/camel/maven/packaging/PrepareCamelJBangMojoTest.java