You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2021/09/27 08:32:31 UTC
[camel-quarkus] 06/07: Adapt to latest Camel API changes
This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch camel-main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit 3c97bf622c71a0ab024ab4bd56a6690768b5b284
Author: James Netherton <ja...@gmail.com>
AuthorDate: Thu Sep 2 08:53:34 2021 +0100
Adapt to latest Camel API changes
---
docs/modules/ROOT/pages/reference/extensions/google-sheets.adoc | 2 +-
docs/modules/ROOT/partials/reference/components/json-patch.adoc | 1 +
extensions-jvm/spark/integration-test/pom.xml | 2 +-
.../test/java/org/apache/camel/quarkus/component/as2/it/As2Sender.java | 2 +-
.../quarkus/component/google/pubsub/it/GooglePubsubTestResource.java | 1 +
5 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/docs/modules/ROOT/pages/reference/extensions/google-sheets.adoc b/docs/modules/ROOT/pages/reference/extensions/google-sheets.adoc
index ff46990..541a809 100644
--- a/docs/modules/ROOT/pages/reference/extensions/google-sheets.adoc
+++ b/docs/modules/ROOT/pages/reference/extensions/google-sheets.adoc
@@ -20,7 +20,7 @@ Manage spreadsheets in Google Sheets. Poll for changes in Google Sheets.
== What's inside
* xref:{cq-camel-components}::google-sheets-component.adoc[Google Sheets component], URI syntax: `google-sheets:apiName/methodName`
-* xref:{cq-camel-components}::google-sheets-stream-component.adoc[Google Sheets Stream component], URI syntax: `google-sheets-stream:apiName`
+* xref:{cq-camel-components}::google-sheets-stream-component.adoc[Google Sheets Stream component], URI syntax: `google-sheets-stream:spreadsheetId`
Please refer to the above links for usage and configuration details.
diff --git a/docs/modules/ROOT/partials/reference/components/json-patch.adoc b/docs/modules/ROOT/partials/reference/components/json-patch.adoc
new file mode 100644
index 0000000..a509c1d
--- /dev/null
+++ b/docs/modules/ROOT/partials/reference/components/json-patch.adoc
@@ -0,0 +1 @@
+// Empty partial for a Camel bit unsupported by Camel Quarkus to avoid warnings when this file is included from a Camel page
diff --git a/extensions-jvm/spark/integration-test/pom.xml b/extensions-jvm/spark/integration-test/pom.xml
index a6056d2..73df3c9 100644
--- a/extensions-jvm/spark/integration-test/pom.xml
+++ b/extensions-jvm/spark/integration-test/pom.xml
@@ -100,7 +100,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
- <argLine>--add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.util.concurrent=ALL-UNNAMED</argLine>
+ <argLine>--add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED</argLine>
</configuration>
</plugin>
</plugins>
diff --git a/integration-tests/as2/src/test/java/org/apache/camel/quarkus/component/as2/it/As2Sender.java b/integration-tests/as2/src/test/java/org/apache/camel/quarkus/component/as2/it/As2Sender.java
index e8d2d9e..b7f5fb2 100644
--- a/integration-tests/as2/src/test/java/org/apache/camel/quarkus/component/as2/it/As2Sender.java
+++ b/integration-tests/as2/src/test/java/org/apache/camel/quarkus/component/as2/it/As2Sender.java
@@ -44,7 +44,7 @@ public class As2Sender {
As2Helper.AS2_NAME,
As2Helper.AS2_NAME, AS2MessageStructure.PLAIN,
ContentType.create(AS2MediaType.APPLICATION_EDIFACT, AS2Charset.US_ASCII), null, null, null, null,
- null, As2Helper.DISPOSITION_NOTIFICATION_TO, As2Helper.SIGNED_RECEIPT_MIC_ALGORITHMS, null, null);
+ null, As2Helper.DISPOSITION_NOTIFICATION_TO, As2Helper.SIGNED_RECEIPT_MIC_ALGORITHMS, null, null, null);
}
public interface As2SenderClient {
diff --git a/integration-tests/google-pubsub/src/test/java/org/apache/camel/quarkus/component/google/pubsub/it/GooglePubsubTestResource.java b/integration-tests/google-pubsub/src/test/java/org/apache/camel/quarkus/component/google/pubsub/it/GooglePubsubTestResource.java
index 6e55116..8646edc 100644
--- a/integration-tests/google-pubsub/src/test/java/org/apache/camel/quarkus/component/google/pubsub/it/GooglePubsubTestResource.java
+++ b/integration-tests/google-pubsub/src/test/java/org/apache/camel/quarkus/component/google/pubsub/it/GooglePubsubTestResource.java
@@ -61,6 +61,7 @@ public class GooglePubsubTestResource implements QuarkusTestResourceLifecycleMan
"project.id", PROJECT_ID,
"topic.name", TOPIC,
"subscription.name", SUBSCRIPTION,
+ "camel.component.google-pubsub.authenticate", "false",
"camel.component.google-pubsub.endpoint", container.getEmulatorEndpoint());
} catch (Exception e) {
throw new RuntimeException(e);