Skip to content

Commit

Permalink
Bump org.apache.camel.kamelets:camel-kamelets-catalog
Browse files Browse the repository at this point in the history
Bumps org.apache.camel.kamelets:camel-kamelets-catalog from 4.9.0 to
4.10.0.

---
updated-dependencies:
- dependency-name: org.apache.camel.kamelets:camel-kamelets-catalog
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

adapt test to follow update of description of 2 kamelets

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored and apupier committed Feb 20, 2025
1 parent 7b451e7 commit 772d924
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 22 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<assertj.version>3.27.3</assertj.version>
<jgit.version>7.1.0.202411261347-r</jgit.version>
<camel.version>4.10.0</camel.version>
<camel.kamelet.catalog.version>4.9.0</camel.kamelet.catalog.version>
<camel.kamelet.catalog.version>4.10.0</camel.kamelet.catalog.version>
<camel.quarkus.version>3.18.0</camel.quarkus.version>
<roaster.version>2.30.1.Final</roaster.version>
<awaitility.version>4.2.2</awaitility.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,7 @@ private CompletionItem createAwsddbSourceCompletionItem() {
new TextEdit(
new Range(new Position(0, 19), new Position(0, 19)),
"aws-ddb-streams-source")));
completionItem.setDocumentation("Receive events from Amazon DynamoDB Streams.\n"
+ "\n"
+ "The basic authentication method for the AWS DynamoDB Streams service is to specify an access key and a secret key. These parameters are optional because the Kamelet provides a default credentials provider.\n"
+ "\n"
+ "If you use the default credentials provider, the DynamoDB Streams client loads the credentials through this provider and doesn't use the basic authentication method.");
completionItem.setDocumentation("Receive events from Amazon DynamoDB Streams.");
return completionItem;
}

Expand All @@ -146,17 +142,7 @@ private CompletionItem createAwsKinesisSinkCompletionItem() {
new TextEdit(
new Range(new Position(0, 19), new Position(0, 19)),
"aws-kinesis-sink")));
completionItem.setDocumentation("Send data to AWS Kinesis.\n"
+ "\n"
+ "The basic authentication method for the Kinesis service is to specify an access key and a secret key. These parameters are optional because the Kamelet provides a default credentials provider.\n"
+ "\n"
+ "If you use the default credentials provider, the Kinesis client loads the credentials through this provider and doesn't use the basic authentication method.\n"
+ "\n"
+ "In the header, you can optionally set the `file` / `ce-partition` property to set the Kinesis partition key.\n"
+ "\n"
+ "If you do not set the property in the header, the Kamelet uses the exchange ID for the partition key.\n"
+ "\n"
+ "You can also set the `sequence-number` / `ce-sequencenumber` property in the header to specify the Sequence number.");
completionItem.setDocumentation("Send data to AWS Kinesis.");
return completionItem;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,7 @@ void testHoverDocumentation(String testName, String camelUri, int characterPosit
static Stream<Arguments> testHoverDocumentation() {
return Stream.of(
Arguments.of("Provide Kamelet documentation on kamelet template id",
"kamelet:aws-ddb-streams-source", 15, "Receive events from Amazon DynamoDB Streams.\n"
+ "\n"
+ "The basic authentication method for the AWS DynamoDB Streams service is to specify an access key and a secret key. These parameters are optional because the Kamelet provides a default credentials provider.\n"
+ "\n"
+ "If you use the default credentials provider, the DynamoDB Streams client loads the credentials through this provider and doesn't use the basic authentication method."),
"kamelet:aws-ddb-streams-source", 15, "Receive events from Amazon DynamoDB Streams."),
Arguments.of("Provide generic documentation on hover on unknown kamelet",
"kamelet:unknown", 8, "kamelet:templateId/routeId"),
Arguments.of("Provide documentation on hover on known kamelet property name",
Expand Down

0 comments on commit 772d924

Please sign in to comment.