[GitHub] [camel-quarkus] github-actions[bot] commented on issue #2926: [CI] - Quarkus Main Branch Build Failure
github-actions[bot] commented on issue #2926: URL: https://github.com/apache/camel-quarkus/issues/2926#issuecomment-1152037518 The [quarkus-main](https://github.com/apache/camel-quarkus/tree/quarkus-main) branch build has failed: * Build ID: 2472385197-778-13b7053f-ff4a-47cd-b881-92e6cf3d2dd7 * Camel Quarkus Commit: a1ac1d48adfb6836a0342a324d95316bfb73efa8 * Quarkus Main Commit: 4589debf2ce5d87ce29342276f5efe479ad1b119 * Link to build: https://github.com/apache/camel-quarkus/actions/runs/2472385197 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] jamesnetherton opened a new issue, #2926: [CI] - Quarkus Main Branch Build Failure
jamesnetherton opened a new issue, #2926: URL: https://github.com/apache/camel-quarkus/issues/2926 This is a placeholder issue used by the [nightly sync workflow](https://github.com/apache/camel-quarkus/actions/workflows/quarkus-master-cron.yaml) for the [`quarkus-main`](https://github.com/apache/camel-quarkus/tree/quarkus-main) branch. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] github-actions[bot] commented on pull request #7758: CAMEL-18180 - Force LF endings in .adoc files
github-actions[bot] commented on PR #7758: URL: https://github.com/apache/camel/pull/7758#issuecomment-1152035665 :no_entry_sign: There are (likely) no components to be tested in this PR -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] github-actions[bot] commented on pull request #7756: CAMEL-18170 - Enabling to serviceAccountKey as base64 to google-drive…
github-actions[bot] commented on PR #7756: URL: https://github.com/apache/camel/pull/7756#issuecomment-1152034546 There are too many components to be tested in this PR, components were removed or the code needs a rebase: (63 likely to be tested) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch regen_bot updated (77eb601c4c1 -> cabcdfef050)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel.git from 77eb601c4c1 Use snapshot repository only for SNAPSHOT artifacts (#7755) add cabcdfef050 CAMEL-18168: camel-main - Add test for configuring apiProperties on rest No new revisions were added by this update. Summary of changes: .../camel/main/MainRestConfigurationTest.java | 66 ++ 1 file changed, 66 insertions(+) create mode 100644 core/camel-main/src/test/java/org/apache/camel/main/MainRestConfigurationTest.java
[GitHub] [camel] rhuan080 commented on pull request #7756: CAMEL-18170 - Enabling to serviceAccountKey as base64 to google-drive…
rhuan080 commented on PR #7756: URL: https://github.com/apache/camel/pull/7756#issuecomment-1152008276 Updated! I`ll upgrade the guide! Thank you @davsclaus :-) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] rgala opened a new pull request, #7758: CAMEL-18180 - Force LF endings in .adoc files
rgala opened a new pull request, #7758: URL: https://github.com/apache/camel/pull/7758 Fore LF line endings in .adoc files during checkout. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] davsclaus commented on pull request #7756: CAMEL-18170 - Enabling to serviceAccountKey as base64 to google-drive…
davsclaus commented on PR #7756: URL: https://github.com/apache/camel/pull/7756#issuecomment-1151981616 > I think we should rename the option keyResource to serviceAccountKey. Yeah if its for this then a better name is a good idea. You are welcome to rename the option. We then need to add a note in the 3.18 upgrade guide at about this: https://github.com/apache/camel/blob/main/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_18.adoc -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main updated: CAMEL-18168: camel-main - Add test for configuring apiProperties on rest
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 cabcdfef050 CAMEL-18168: camel-main - Add test for configuring apiProperties on rest cabcdfef050 is described below commit cabcdfef05001386b99a801a102885e208c58725 Author: Claus Ibsen AuthorDate: Fri Jun 10 07:58:11 2022 +0200 CAMEL-18168: camel-main - Add test for configuring apiProperties on rest --- .../camel/main/MainRestConfigurationTest.java | 66 ++ 1 file changed, 66 insertions(+) diff --git a/core/camel-main/src/test/java/org/apache/camel/main/MainRestConfigurationTest.java b/core/camel-main/src/test/java/org/apache/camel/main/MainRestConfigurationTest.java new file mode 100644 index 000..9ccce0c1e18 --- /dev/null +++ b/core/camel-main/src/test/java/org/apache/camel/main/MainRestConfigurationTest.java @@ -0,0 +1,66 @@ +/* + * 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.main; + +import java.util.Map; +import java.util.Properties; + +import org.apache.camel.spi.RestConfiguration; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertTrue; + +public class MainRestConfigurationTest { + +@Test +public void testRestConfiguration() { +Properties properties = new Properties(); +properties.setProperty("camel.rest.component", "platform-http"); +properties.setProperty("camel.rest.enableCORS", "true"); +properties.setProperty("camel.rest.apiContextPath", "/openapi"); +properties.setProperty("camel.rest.apiVendorExtension", "true"); +properties.setProperty("camel.rest.apiProperties[dummyKey]", "Dummy Value"); +properties.setProperty("camel.rest.apiProperties[api.title]", "My Title"); +properties.setProperty("camel.rest.apiProperties[api.version]", "1.2.3"); +properties.setProperty("camel.rest.apiProperties[base.path]", "/mybase"); + +Main main = new Main(); +main.setOverrideProperties(properties); + +try { +main.start(); + +RestConfiguration rf = main.getCamelContext().getRestConfiguration(); +assertEquals("platform-http", rf.getComponent()); +assertTrue(rf.isEnableCORS()); +assertEquals("/openapi", rf.getApiContextPath()); +assertTrue(rf.isApiVendorExtension()); + +Map map = rf.getApiProperties(); +Assertions.assertNotNull(map); + +assertEquals("Dummy Value", map.get("dummyKey")); +assertEquals("My Title", map.get("api.title")); +assertEquals("1.2.3", map.get("api.version")); +assertEquals("/mybase", map.get("base.path")); +} finally { +main.stop(); +} +} +}
[GitHub] [camel] rhuan080 commented on pull request #7756: CAMEL-18170 - Enabling to serviceAccountKey as base64 to google-drive…
rhuan080 commented on PR #7756: URL: https://github.com/apache/camel/pull/7756#issuecomment-1151978086 Hi @davsclaus, Yes! Actually, it is working. Thus, I think the issue was a misunderstanding caused by the option name. The BigQuery use the `serviceAccountKey` name and the google drive (and remaining components) uses `keyResource`. Thus, I think the changes are just about docs. I think we should rename the option `keyResource` to `serviceAccountKey`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] github-actions[bot] commented on pull request #7757: Typos in documentation
github-actions[bot] commented on PR #7757: URL: https://github.com/apache/camel/pull/7757#issuecomment-1151950906 :heavy_check_mark: Finished component verification: 0 component(s) test failed out of **1 component(s) tested** -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-spring-boot] branch main updated: Regen
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-spring-boot.git The following commit(s) were added to refs/heads/main by this push: new 84ca7894cf2 Regen 84ca7894cf2 is described below commit 84ca7894cf252f1d487c83053835b72eaa5a143f Author: Claus Ibsen AuthorDate: Fri Jun 10 07:14:07 2022 +0200 Regen --- .../org/apache/camel/springboot/catalog/components/cql.json | 3 ++- .../apache/camel/springboot/catalog/components/hashicorp-vault.json | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/cql.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/cql.json index 550d7f03c50..0755c55eaf5 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/cql.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/cql.json @@ -27,7 +27,8 @@ "autowiredEnabled": { "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which t [...] }, "headers": { -"CamelCqlQuery": { "kind": "header", "displayName": "", "group": "producer", "label": "producer", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The CQL query to execute.", "constantName": "org.apache.camel.component.cassandra.CassandraConstants#CQL_QUERY" } +"CamelCqlQuery": { "kind": "header", "displayName": "", "group": "producer", "label": "producer", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The CQL query to execute.", "constantName": "org.apache.camel.component.cassandra.CassandraConstants#CQL_QUERY" }, +"CamelCqlResumeQuery": { "kind": "header", "displayName": "", "group": "consumer", "label": "consumer", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The resume action to execute when resuming.", "constantName": "org.apache.camel.component.cassandra.CassandraConstants#CASSANDRA_RESUME_ACTION" } }, "properties": { "beanRef": { "kind": "path", "displayName": "Bean Ref", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "beanRef is defined using bean:id" }, diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/hashicorp-vault.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/hashicorp-vault.json index 73d2572312c..c8bdbd97adc 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/hashicorp-vault.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/hashicorp-vault.json @@ -26,13 +26,14 @@ "autowiredEnabled": { "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which t [...] }, "headers": { -"CamelHashicorpVaultProducerOperation": { "kind": "header", "displayName": "", "group": "producer", "label": "producer", "required": false, "javaType": "org.apache.camel.component.azure.key.vault.KeyVaultOperationDefinition", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Overrides the desired operation to be used in the producer.", "constantName": "org.apache.camel.component.hashicorp.vault.HashicorpVaultConstants#OPERATION" } +"CamelHashicorpVaultProducerOperation": { "kind": "header", "displayName": "", "group": "producer", "label": "producer", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowire
[camel] branch regen_bot updated (616b465f241 -> 77eb601c4c1)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel.git from 616b465f241 CAMEL-18181: prevent non-printable characters from breaking the doc generation add 5d715dc5931 Typos add 77eb601c4c1 Use snapshot repository only for SNAPSHOT artifacts (#7755) No new revisions were added by this update. Summary of changes: components/camel-slack/src/main/docs/slack-component.adoc | 2 +- docs/user-manual/modules/ROOT/pages/parameter-binding-annotations.adoc | 2 +- dsl/camel-kamelet-main/src/main/resources/camelGrapeConfig.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
[GitHub] [camel] davsclaus commented on pull request #7756: CAMEL-18170 - Enabling to serviceAccountKey as base64 to google-drive…
davsclaus commented on PR #7756: URL: https://github.com/apache/camel/pull/7756#issuecomment-1151927313 There should already be support for this out of the box org.apache.camel.impl.engine.DefaultResourceResolvers.Base64Resolver Does it not already work? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main updated: Use snapshot repository only for SNAPSHOT artifacts (#7755)
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 77eb601c4c1 Use snapshot repository only for SNAPSHOT artifacts (#7755) 77eb601c4c1 is described below commit 77eb601c4c1cdfa43e9047049f0f5b0f991d93c5 Author: Marat Gubaidullin AuthorDate: Fri Jun 10 00:27:09 2022 -0400 Use snapshot repository only for SNAPSHOT artifacts (#7755) --- dsl/camel-kamelet-main/src/main/resources/camelGrapeConfig.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsl/camel-kamelet-main/src/main/resources/camelGrapeConfig.xml b/dsl/camel-kamelet-main/src/main/resources/camelGrapeConfig.xml index 8044b3eeb8d..50ea1457cf6 100644 --- a/dsl/camel-kamelet-main/src/main/resources/camelGrapeConfig.xml +++ b/dsl/camel-kamelet-main/src/main/resources/camelGrapeConfig.xml @@ -34,7 +34,7 @@ -https://repository.apache.org/snapshots"; m2compatible="true"/> +https://repository.apache.org/snapshots"; m2compatible="true" changingMatcher="regexp" changingPattern=".*SNAPSHOT.*" checkmodified="true" />
[GitHub] [camel] davsclaus merged pull request #7755: Use snapshot repository only for SNAPSHOT artifacts
davsclaus merged PR #7755: URL: https://github.com/apache/camel/pull/7755 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main updated: Typos
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/main by this push: new 5d715dc5931 Typos 5d715dc5931 is described below commit 5d715dc593153bc8bc87582515e2584228d8a948 Author: Adriano Machado AuthorDate: Thu Jun 9 22:00:03 2022 -0400 Typos --- components/camel-slack/src/main/docs/slack-component.adoc | 2 +- docs/user-manual/modules/ROOT/pages/parameter-binding-annotations.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-slack/src/main/docs/slack-component.adoc b/components/camel-slack/src/main/docs/slack-component.adoc index d75e42d3c67..e2cc64fd68d 100644 --- a/components/camel-slack/src/main/docs/slack-component.adoc +++ b/components/camel-slack/src/main/docs/slack-component.adoc @@ -62,7 +62,7 @@ include::partial$component-endpoint-options.adoc[] // endpoint options: END -== Configuring in Sprint XML +== Configuring in Spring XML The SlackComponent with XML must be configured as a Spring or Blueprint bean that contains the incoming webhook url or the app token for the integration as a diff --git a/docs/user-manual/modules/ROOT/pages/parameter-binding-annotations.adoc b/docs/user-manual/modules/ROOT/pages/parameter-binding-annotations.adoc index e2f5e5c812c..03861ef0ad2 100644 --- a/docs/user-manual/modules/ROOT/pages/parameter-binding-annotations.adoc +++ b/docs/user-manual/modules/ROOT/pages/parameter-binding-annotations.adoc @@ -231,7 +231,7 @@ public class MySimpleIdGenerator { And finally we just need to remember to have our bean registered in the xref:registry.adoc[Registry]: -For example in Sprint XML: +For example in Spring XML: [source,xml]
[GitHub] [camel] oscerd merged pull request #7757: Typos in documentation
oscerd merged PR #7757: URL: https://github.com/apache/camel/pull/7757 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-quarkus] branch main updated: Updated CHANGELOG.md
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git The following commit(s) were added to refs/heads/main by this push: new 45d4ae0681 Updated CHANGELOG.md 45d4ae0681 is described below commit 45d4ae0681ed03ef59fbcb51aac7360ab23f9d82 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Fri Jun 10 03:36:53 2022 + Updated CHANGELOG.md --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ce21df8b6..5c2a1dc91f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ **Fixed bugs:** - \[Quarkus 2.10.0\] Unable to build native image with XML JAXB extension [\#3838](https://github.com/apache/camel-quarkus/issues/3838) +- \[Quarkus 2.10.0\] `ElasticsearchRestTest.testElasticsearchDeleteIndex` test failue [\#3831](https://github.com/apache/camel-quarkus/issues/3831) - Duplicate JMSMessageIDs in camel-quarkus-activemq [\#3807](https://github.com/apache/camel-quarkus/issues/3807) - Registry lookup for overridden `DefaultBean` types does not work [\#3797](https://github.com/apache/camel-quarkus/issues/3797) - Slack integration tests fail with the real Slack service [\#3781](https://github.com/apache/camel-quarkus/issues/3781) @@ -67,6 +68,7 @@ **Merged pull requests:** +- Ensure ElasticSearch REST delete index route uses the correct URI scheme [\#3845](https://github.com/apache/camel-quarkus/pull/3845) ([jamesnetherton](https://github.com/jamesnetherton)) - Modify Cassandra & AWS S3 tests to pick up Camel 3.17.0 fixes [\#3843](https://github.com/apache/camel-quarkus/pull/3843) ([jamesnetherton](https://github.com/jamesnetherton)) - Auto discover routes created as LambdaEndpointRouteBuilder [\#3842](https://github.com/apache/camel-quarkus/pull/3842) ([jamesnetherton](https://github.com/jamesnetherton)) - Use timer repeatCount of 1 in foundation timer tests [\#3840](https://github.com/apache/camel-quarkus/pull/3840) ([jamesnetherton](https://github.com/jamesnetherton))
[GitHub] [camel-quarkus] github-actions[bot] commented on issue #2927: [CI] - Camel Main Branch Build Failure
github-actions[bot] commented on issue #2927: URL: https://github.com/apache/camel-quarkus/issues/2927#issuecomment-1151879313 The [camel-main](https://github.com/apache/camel-quarkus/tree/camel-main) branch build has failed: * Build ID: 2471922116-674-58ee9d5f-977e-4f31-bf34-a9a3c2a567a9 * Camel Quarkus Commit: 5f117d69bfd7d0cb19edc06de82db69c3baf71a5 * Camel Main Commit: 4589debf2ce5d87ce29342276f5efe479ad1b119 * Link to build: https://github.com/apache/camel-quarkus/actions/runs/2471922116 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-k] branch main updated: fix(lint): fix more forcetypeassert
This is an automated email from the ASF dual-hosted git repository. tsato pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git The following commit(s) were added to refs/heads/main by this push: new 9fce62bd0 fix(lint): fix more forcetypeassert 9fce62bd0 is described below commit 9fce62bd049e944ea308de282d0d6a3bcaa32416 Author: Tadayoshi Sato AuthorDate: Thu Jun 9 19:42:37 2022 +0900 fix(lint): fix more forcetypeassert --- cmd/util/doc-gen/generators/traitdocgen.go | 16 pkg/util/kubernetes/collection.go | 14 -- pkg/util/kubernetes/util.go| 4 +++- 3 files changed, 27 insertions(+), 7 deletions(-) diff --git a/cmd/util/doc-gen/generators/traitdocgen.go b/cmd/util/doc-gen/generators/traitdocgen.go index 9c1f084be..7e701e108 100644 --- a/cmd/util/doc-gen/generators/traitdocgen.go +++ b/cmd/util/doc-gen/generators/traitdocgen.go @@ -84,8 +84,12 @@ func (g *traitDocGen) Filter(context *generator.Context, t *types.Type) bool { } func (g *traitDocGen) GenerateType(context *generator.Context, t *types.Type, out io.Writer) error { - docDir := g.arguments.CustomArgs.(*CustomArgs).DocDir - traitPath := g.arguments.CustomArgs.(*CustomArgs).TraitPath + customArgs, ok := g.arguments.CustomArgs.(*CustomArgs) + if !ok { + return fmt.Errorf("type assertion failed: %v", g.arguments.CustomArgs) + } + docDir := customArgs.DocDir + traitPath := customArgs.TraitPath traitID := getTraitID(t) traitFile := traitID + ".adoc" filename := path.Join(docDir, traitPath, traitFile) @@ -108,8 +112,12 @@ func (g *traitDocGen) Finalize(c *generator.Context, w io.Writer) error { } func (g *traitDocGen) FinalizeNav(*generator.Context) error { - docDir := g.arguments.CustomArgs.(*CustomArgs).DocDir - navPath := g.arguments.CustomArgs.(*CustomArgs).NavPath + customArgs, ok := g.arguments.CustomArgs.(*CustomArgs) + if !ok { + return fmt.Errorf("type assertion failed: %v", g.arguments.CustomArgs) + } + docDir := customArgs.DocDir + navPath := customArgs.NavPath filename := path.Join(docDir, navPath) return util.WithFileContent(filename, func(file *os.File, data []byte) error { diff --git a/pkg/util/kubernetes/collection.go b/pkg/util/kubernetes/collection.go index 54e344905..0a0579f41 100644 --- a/pkg/util/kubernetes/collection.go +++ b/pkg/util/kubernetes/collection.go @@ -157,7 +157,12 @@ func (c *Collection) RemoveDeployment(filter func(*appsv1.Deployment) bool) *app if res == nil { return nil } - return res.(*appsv1.Deployment) + deploy, ok := res.(*appsv1.Deployment) + if !ok { + return nil + } + + return deploy } // VisitConfigMap executes the visitor function on all ConfigMap resources. @@ -191,7 +196,12 @@ func (c *Collection) RemoveConfigMap(filter func(*corev1.ConfigMap) bool) *corev if res == nil { return nil } - return res.(*corev1.ConfigMap) + cm, ok := res.(*corev1.ConfigMap) + if !ok { + return nil + } + + return cm } // VisitService executes the visitor function on all Service resources. diff --git a/pkg/util/kubernetes/util.go b/pkg/util/kubernetes/util.go index f9fe01a51..3d029c202 100644 --- a/pkg/util/kubernetes/util.go +++ b/pkg/util/kubernetes/util.go @@ -51,7 +51,9 @@ func ToYAMLNoManagedFields(value runtime.Object) ([]byte, error) { return nil, err } - delete(mapdata["metadata"].(map[string]interface{}), "managedFields") + if m, ok := mapdata["metadata"].(map[string]interface{}); ok { + delete(m, "managedFields") + } return util.MapToYAML(mapdata) }
[GitHub] [camel-k] tadayosi merged pull request #3346: fix(lint): fix more forcetypeassert
tadayosi merged PR #3346: URL: https://github.com/apache/camel-k/pull/3346 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] ammachado opened a new pull request, #7757: Typos in documentation
ammachado opened a new pull request, #7757: URL: https://github.com/apache/camel/pull/7757 Fixing a couple of typos in the documentation -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] github-actions[bot] commented on pull request #7757: Typos in documentation
github-actions[bot] commented on PR #7757: URL: https://github.com/apache/camel/pull/7757#issuecomment-1151834067 :warning: This PR changes Camel components and will be tested automatically. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-karaf] branch automatic-periodic-sync updated (7afaa256 -> 6bfc938f)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch automatic-periodic-sync in repository https://gitbox.apache.org/repos/asf/camel-karaf.git from 7afaa256 Regen add ff17f4fd Upgrade AWS SDK v2 bundle to version 2.17.198_1 add 2cbb4409 Upgrade Zxing bundle to version 3.5.0_1 add 77f27e45 Upgrade Libphonenumber bundle to version 8.12.48_1 add fd11080e Upgrade Jt400 bundle to version 11.0_1 add 6bfc938f Upgrade DNS Java bundle to version 3.5.1_1 No new revisions were added by this update. Summary of changes: pom.xml | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-)
[GitHub] [camel-k] ammachado opened a new issue, #3347: Configmap properties changes are not being detected in dev mode
ammachado opened a new issue, #3347: URL: https://github.com/apache/camel-k/issues/3347 I'm using `kamel run --dev` to test my integration. All my configurations are on a config map on the cluster. My integration declares a config `modeline` using a configmap. The first time I run `kamel run --dev Integration.java` the configuration is loaded from the configmap. I can change the code and changes are reflected on the integration without any issue. However, if I make any change on the configmap and try to either reload the integration by making a code change or by hitting `Ctrl+C` and running `kamel run --dev Integration.java` again, the changes on the configmap are not reflected in the integration. The only way to reflect the changes is either create a new configmap and change the modeline to the new configmap or deleting everything (the integration and the integrationkit) from the cluster. Is this the expected behavior? When `kamel run --dev Integration.java` is running a pod is created on the cluster. For the sake of curiosity, I inspected the YAML of the pod and there isn't a volume mount for the configmap, but it is present when you run the integration without the `--dev` parameter. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] github-actions[bot] commented on pull request #7756: CAMEL-18170 - Enabling to serviceAccountKey as base64 to google-drive…
github-actions[bot] commented on PR #7756: URL: https://github.com/apache/camel/pull/7756#issuecomment-1151742707 :heavy_check_mark: Finished component verification: 0 component(s) test failed out of **1 component(s) tested** -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] github-actions[bot] commented on pull request #7756: CAMEL-18170 - Enabling to serviceAccountKey as base64 to google-drive…
github-actions[bot] commented on PR #7756: URL: https://github.com/apache/camel/pull/7756#issuecomment-1151712351 :warning: This PR changes Camel components and will be tested automatically. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] rhuan080 opened a new pull request, #7756: CAMEL-18170 - Enabling to serviceAccountKey as base64 to google-drive…
rhuan080 opened a new pull request, #7756: URL: https://github.com/apache/camel/pull/7756 … component Signed-off-by: Rhuan Rocha Enabling to use service account key as base64. - [x] Make sure there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for the change (usually before you start working on it). Trivial changes like typos do not require a JIRA issue. Your pull request should address just this issue, without pulling in other changes. - [x] Each commit in the pull request should have a meaningful subject line and body. - [x] If you're unsure, you can format the pull request title like `[CAMEL-XXX] Fixes bug in camel-file component`, where you replace `CAMEL-XXX` with the appropriate JIRA issue. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Run `mvn clean install -Psourcecheck` in your module with source check enabled to make sure basic checks pass and there are no checkstyle violations. A more thorough check will be performed on your pull request automatically. Below are the contribution guidelines: https://github.com/apache/camel/blob/main/CONTRIBUTING.md -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-karavan] branch main updated: Saas fix1 (#361)
This is an automated email from the ASF dual-hosted git repository. marat pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-karavan.git The following commit(s) were added to refs/heads/main by this push: new 8ab2174 Saas fix1 (#361) 8ab2174 is described below commit 8ab217452014d37c5da087101dc14b51c3b41678 Author: Marat Gubaidullin AuthorDate: Thu Jun 9 17:11:09 2022 -0400 Saas fix1 (#361) * New menu * Dockerfile * Dockerfile * Project create/copy * UI improvements * UI improvements * UI improvements --- karavan-app/pom.xml| 4 + .../org/apache/camel/karavan/api/GitResource.java | 4 +- .../apache/camel/karavan/api/ProjectResource.java | 21 ++- .../org/apache/camel/karavan/model/Project.java| 52 +-- .../apache/camel/karavan/service/GitService.java | 2 +- .../camel/karavan/service/InfinispanService.java | 25 ++-- karavan-app/src/main/webapp/src/Logo.tsx | 135 +- karavan-app/src/main/webapp/src/Main.tsx | 152 - karavan-app/src/main/webapp/src/api/KaravanApi.tsx | 16 ++- .../main/webapp/src/components/ComponentCard.tsx | 1 - karavan-app/src/main/webapp/src/index.css | 40 ++ .../src/main/webapp/src/models/ProjectModels.ts| 29 +++- .../main/webapp/src/projects/CreateFileModal.tsx | 2 +- .../src/main/webapp/src/projects/ProjectPage.tsx | 99 -- .../src/main/webapp/src/projects/ProjectsPage.tsx | 97 + karavan-docker/Dockerfile | 25 +++- karavan-docker/demo/application.properties | 2 - 17 files changed, 455 insertions(+), 251 deletions(-) diff --git a/karavan-app/pom.xml b/karavan-app/pom.xml index 67e2ada..2830d0a 100644 --- a/karavan-app/pom.xml +++ b/karavan-app/pom.xml @@ -94,6 +94,10 @@ camel-quarkus-kubernetes 2.9.0 + +com.google.guava +guava + diff --git a/karavan-app/src/main/java/org/apache/camel/karavan/api/GitResource.java b/karavan-app/src/main/java/org/apache/camel/karavan/api/GitResource.java index 0368459..05966b4 100644 --- a/karavan-app/src/main/java/org/apache/camel/karavan/api/GitResource.java +++ b/karavan-app/src/main/java/org/apache/camel/karavan/api/GitResource.java @@ -64,8 +64,8 @@ public class GitResource { @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON) public Project push(@HeaderParam("username") String username, Project project) throws Exception { -Project p = infinispanService.getProject(project.getName()); -List files = infinispanService.getProjectFiles(project.getName()); +Project p = infinispanService.getProject(project.getKey()); +List files = infinispanService.getProjectFiles(project.getKey()); String commitId = gitService.save(p, files); p.setLastCommit(commitId); infinispanService.saveProject(p); diff --git a/karavan-app/src/main/java/org/apache/camel/karavan/api/ProjectResource.java b/karavan-app/src/main/java/org/apache/camel/karavan/api/ProjectResource.java index e22ff6a..b0cc160 100644 --- a/karavan-app/src/main/java/org/apache/camel/karavan/api/ProjectResource.java +++ b/karavan-app/src/main/java/org/apache/camel/karavan/api/ProjectResource.java @@ -16,6 +16,7 @@ */ package org.apache.camel.karavan.api; +import org.apache.camel.karavan.model.GroupedKey; import org.apache.camel.karavan.model.Project; import org.apache.camel.karavan.model.ProjectFile; import org.apache.camel.karavan.service.InfinispanService; @@ -34,6 +35,7 @@ import java.net.URLDecoder; import java.nio.charset.StandardCharsets; import java.util.Comparator; import java.util.List; +import java.util.Map; import java.util.stream.Collectors; @Path("/project") @@ -46,7 +48,7 @@ public class ProjectResource { @Produces(MediaType.APPLICATION_JSON) public List getAll(@HeaderParam("username") String username) throws Exception { return infinispanService.getProjects().stream() -.sorted(Comparator.comparing(Project::getName)) +.sorted(Comparator.comparing(Project::getKey)) .collect(Collectors.toList()); } @@ -72,4 +74,21 @@ public class ProjectResource { @PathParam("project") String project) throws Exception { infinispanService.deleteProject(URLDecoder.decode(project, StandardCharsets.UTF_8.toString())); } + +@POST +@Produces(MediaType.APPLICATION_JSON) +@Consumes(MediaType.APPLICATION_JSON) +@Path("/copy/{sourceProject}") +public Project copy(@HeaderParam("username") String username, @PathParam("sourceProject") String sourceProject, Project project) throws Exception { +//Save project +Project s = infinispanService.getProject(source
[GitHub] [camel-karavan] mgubaidullin merged pull request #361: Saas fix1
mgubaidullin merged PR #361: URL: https://github.com/apache/camel-karavan/pull/361 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] github-actions[bot] commented on pull request #7755: Use snapshot repository only for SNAPSHOT artifacts
github-actions[bot] commented on PR #7755: URL: https://github.com/apache/camel/pull/7755#issuecomment-1151585547 :no_entry_sign: There are (likely) no components to be tested in this PR -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-k] astefanutti commented on a diff in pull request #3344: [WIP] configuring maven builds based on CPU quota if set any
astefanutti commented on code in PR #3344: URL: https://github.com/apache/camel-k/pull/3344#discussion_r893897547 ## pkg/util/maven/maven_command.go: ## @@ -74,6 +74,14 @@ func (c *Command) Do(ctx context.Context) error { args = append(args, "--settings", settingsPath) } + if cpuQuota, ok := os.LookupEnv("CPU_QUOTA"); ok { + args = append(args, "--define", "org.apache.camel.container.cpus="+cpuQuota) + } + + if cpuQuota, ok := os.LookupEnv("CPU_QUOTA"); ok { + args = append(args, "--define", "maven.artifact.threads="+cpuQuota) Review Comment: Yes, unless it’s already provided? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-k] SubhasmitaSw commented on a diff in pull request #3344: [WIP] configuring maven builds based on CPU quota if set any
SubhasmitaSw commented on code in PR #3344: URL: https://github.com/apache/camel-k/pull/3344#discussion_r893891506 ## pkg/util/maven/maven_command.go: ## @@ -74,6 +74,14 @@ func (c *Command) Do(ctx context.Context) error { args = append(args, "--settings", settingsPath) } + if cpuQuota, ok := os.LookupEnv("CPU_QUOTA"); ok { + args = append(args, "--define", "org.apache.camel.container.cpus="+cpuQuota) + } + + if cpuQuota, ok := os.LookupEnv("CPU_QUOTA"); ok { + args = append(args, "--define", "maven.artifact.threads="+cpuQuota) Review Comment: setting the -T flag as an explicit arg? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch snapshot-in-ivysettings-1 created (now 75e811d71ef)
This is an automated email from the ASF dual-hosted git repository. marat pushed a change to branch snapshot-in-ivysettings-1 in repository https://gitbox.apache.org/repos/asf/camel.git at 75e811d71ef Use snapshot repository only for SNAPSHOT artifacts This branch includes the following new commits: new 75e811d71ef Use snapshot repository only for SNAPSHOT artifacts The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
[camel] 01/01: Use snapshot repository only for SNAPSHOT artifacts
This is an automated email from the ASF dual-hosted git repository. marat pushed a commit to branch snapshot-in-ivysettings-1 in repository https://gitbox.apache.org/repos/asf/camel.git commit 75e811d71ef39d5b9ba7eff4561d547144478357 Author: Marat Gubaidullin AuthorDate: Thu Jun 9 15:38:11 2022 -0400 Use snapshot repository only for SNAPSHOT artifacts --- dsl/camel-kamelet-main/src/main/resources/camelGrapeConfig.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsl/camel-kamelet-main/src/main/resources/camelGrapeConfig.xml b/dsl/camel-kamelet-main/src/main/resources/camelGrapeConfig.xml index 8044b3eeb8d..50ea1457cf6 100644 --- a/dsl/camel-kamelet-main/src/main/resources/camelGrapeConfig.xml +++ b/dsl/camel-kamelet-main/src/main/resources/camelGrapeConfig.xml @@ -34,7 +34,7 @@ -https://repository.apache.org/snapshots"; m2compatible="true"/> +https://repository.apache.org/snapshots"; m2compatible="true" changingMatcher="regexp" changingPattern=".*SNAPSHOT.*" checkmodified="true" />
[camel] 01/01: Use apache-snapshot only for SNAPSHOT dependencies
This is an automated email from the ASF dual-hosted git repository. marat pushed a commit to branch snapshot-in-ivysettings in repository https://gitbox.apache.org/repos/asf/camel.git commit e9adae1f70752565658f1d25b3395bef59eb3708 Author: Marat Gubaidullin AuthorDate: Thu Jun 9 15:36:47 2022 -0400 Use apache-snapshot only for SNAPSHOT dependencies --- dsl/camel-kamelet-main/src/main/resources/camelGrapeConfig.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsl/camel-kamelet-main/src/main/resources/camelGrapeConfig.xml b/dsl/camel-kamelet-main/src/main/resources/camelGrapeConfig.xml index 8044b3eeb8d..308c87c48e9 100644 --- a/dsl/camel-kamelet-main/src/main/resources/camelGrapeConfig.xml +++ b/dsl/camel-kamelet-main/src/main/resources/camelGrapeConfig.xml @@ -34,7 +34,7 @@ -https://repository.apache.org/snapshots"; m2compatible="true"/> +
[camel] branch snapshot-in-ivysettings created (now e9adae1f707)
This is an automated email from the ASF dual-hosted git repository. marat pushed a change to branch snapshot-in-ivysettings in repository https://gitbox.apache.org/repos/asf/camel.git at e9adae1f707 Use apache-snapshot only for SNAPSHOT dependencies This branch includes the following new commits: new e9adae1f707 Use apache-snapshot only for SNAPSHOT dependencies The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
[GitHub] [camel-website] zregvart commented on pull request #856: Get Camel lsp in Emacs blog
zregvart commented on PR #856: URL: https://github.com/apache/camel-website/pull/856#issuecomment-1151532259 @Navyashree0923 can you [edit your profile](https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/personalizing-your-profile#changing-your-profile-name) on GitHub to add **Name**, [the blog post](https://camel.apache.org/blog/2022/06/06/) currently shows only the picture from the profile without the name -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch regen_bot updated (23c0ea51201 -> 616b465f241)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel.git from 23c0ea51201 CAMEL-18127: make the resume actions reusable by other components add b4587fafd06 (chores) ci: do not fail fast on the matrix build for alternative OSes add 616b465f241 CAMEL-18181: prevent non-printable characters from breaking the doc generation No new revisions were added by this update. Summary of changes: .github/workflows/alternative-os-build.yml | 1 + .../main/java/org/apache/camel/maven/packaging/UpdateReadmeMojo.java| 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
[GitHub] [camel] github-actions[bot] commented on pull request #7753: (chores) ci: do not fail fast on the matrix build for alternative OSes
github-actions[bot] commented on PR #7753: URL: https://github.com/apache/camel/pull/7753#issuecomment-1151409194 :no_entry_sign: There are (likely) no components to be tested in this PR -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-quarkus] branch main updated: Ensure ElasticSearch REST delete index route uses the correct URI scheme
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git The following commit(s) were added to refs/heads/main by this push: new 4589debf2c Ensure ElasticSearch REST delete index route uses the correct URI scheme 4589debf2c is described below commit 4589debf2ce5d87ce29342276f5efe479ad1b119 Author: James Netherton AuthorDate: Thu Jun 9 15:49:54 2022 +0100 Ensure ElasticSearch REST delete index route uses the correct URI scheme Fixes #3831 --- .../component/elasticsearch/rest/it/ElasticsearchRestRoutes.java | 2 +- .../component/elasticsearch/rest/it/ElasticSearchTestResource.java| 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/integration-tests/elasticsearch-rest/src/main/java/org/apache/camel/quarkus/component/elasticsearch/rest/it/ElasticsearchRestRoutes.java b/integration-tests/elasticsearch-rest/src/main/java/org/apache/camel/quarkus/component/elasticsearch/rest/it/ElasticsearchRestRoutes.java index 222bb05c75..aa804dc339 100644 --- a/integration-tests/elasticsearch-rest/src/main/java/org/apache/camel/quarkus/component/elasticsearch/rest/it/ElasticsearchRestRoutes.java +++ b/integration-tests/elasticsearch-rest/src/main/java/org/apache/camel/quarkus/component/elasticsearch/rest/it/ElasticsearchRestRoutes.java @@ -36,7 +36,7 @@ public class ElasticsearchRestRoutes extends RouteBuilder { .toD("${header.component}://elasticsearch?operation=Delete"); from("direct:deleteIndex") - .to("elasticsearch-rest://elasticsearch?operation=DeleteIndex"); + .toD("${header.component}://elasticsearch?operation=DeleteIndex"); from("direct:exists") .toD("${header.component}://elasticsearch?operation=Exists"); diff --git a/integration-tests/elasticsearch-rest/src/test/java/org/apache/camel/quarkus/component/elasticsearch/rest/it/ElasticSearchTestResource.java b/integration-tests/elasticsearch-rest/src/test/java/org/apache/camel/quarkus/component/elasticsearch/rest/it/ElasticSearchTestResource.java index 6bf5b31ad4..f878e48d07 100644 --- a/integration-tests/elasticsearch-rest/src/test/java/org/apache/camel/quarkus/component/elasticsearch/rest/it/ElasticSearchTestResource.java +++ b/integration-tests/elasticsearch-rest/src/test/java/org/apache/camel/quarkus/component/elasticsearch/rest/it/ElasticSearchTestResource.java @@ -35,14 +35,14 @@ public class ElasticSearchTestResource implements QuarkusTestResourceLifecycleMa private static final String ELASTICSEARCH_PASSWORD = "changeme"; private static final int ELASTICSEARCH_PORT = 9200; -private GenericContainer container; +private GenericContainer container; @Override public Map start() { LOGGER.info(TestcontainersConfiguration.getInstance().toString()); try { -container = new GenericContainer(ELASTICSEARCH_IMAGE) +container = new GenericContainer<>(ELASTICSEARCH_IMAGE) .withExposedPorts(ELASTICSEARCH_PORT) .withLogConsumer(new Slf4jLogConsumer(LOGGER)) .withEnv("discovery.type", "single-node")
[GitHub] [camel-quarkus] jamesnetherton closed issue #3831: [Quarkus 2.10.0] `ElasticsearchRestTest.testElasticsearchDeleteIndex` test failue
jamesnetherton closed issue #3831: [Quarkus 2.10.0] `ElasticsearchRestTest.testElasticsearchDeleteIndex` test failue URL: https://github.com/apache/camel-quarkus/issues/3831 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] jamesnetherton merged pull request #3845: Ensure ElasticSearch REST delete index route uses the correct URI scheme
jamesnetherton merged PR #3845: URL: https://github.com/apache/camel-quarkus/pull/3845 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] github-actions[bot] commented on pull request #7754: CAMEL-18127: added adapter auto-configuration for Couchbase
github-actions[bot] commented on PR #7754: URL: https://github.com/apache/camel/pull/7754#issuecomment-1151393259 :x: Finished component verification: **1 component(s) test failed** out of 1 component(s) tested -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main updated: CAMEL-18181: prevent non-printable characters from breaking the doc generation
This is an automated email from the ASF dual-hosted git repository. orpiske 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 616b465f241 CAMEL-18181: prevent non-printable characters from breaking the doc generation 616b465f241 is described below commit 616b465f2413498ce91c8d96028b5e1cf6f7d2b8 Author: Otavio Rodolfo Piske AuthorDate: Thu Jun 9 12:17:06 2022 -0300 CAMEL-18181: prevent non-printable characters from breaking the doc generation --- .../main/java/org/apache/camel/maven/packaging/UpdateReadmeMojo.java| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/UpdateReadmeMojo.java b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/UpdateReadmeMojo.java index 45d4959a4ca..768d87938de 100644 --- a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/UpdateReadmeMojo.java +++ b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/UpdateReadmeMojo.java @@ -560,7 +560,7 @@ public class UpdateReadmeMojo extends AbstractGeneratorMojo { boolean copy = false; if (updated || RELOCATE_MANUAL_ATTRIBUTES) { outer: for (String line : lines) { -if (!copy && line.isEmpty()) { +if (!copy && line.trim().isEmpty()) { copy = true; } else if (copy) {
[GitHub] [camel] orpiske merged pull request #7753: (chores) ci: do not fail fast on the matrix build for alternative OSes
orpiske merged PR #7753: URL: https://github.com/apache/camel/pull/7753 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main updated: (chores) ci: do not fail fast on the matrix build for alternative OSes
This is an automated email from the ASF dual-hosted git repository. orpiske 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 b4587fafd06 (chores) ci: do not fail fast on the matrix build for alternative OSes b4587fafd06 is described below commit b4587fafd061bb4550c265c2cb6caa6fbabaaa24 Author: Otavio Rodolfo Piske AuthorDate: Thu Jun 9 18:33:15 2022 +0200 (chores) ci: do not fail fast on the matrix build for alternative OSes --- .github/workflows/alternative-os-build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/alternative-os-build.yml b/.github/workflows/alternative-os-build.yml index f952be8755b..1b8e9f00c2f 100644 --- a/.github/workflows/alternative-os-build.yml +++ b/.github/workflows/alternative-os-build.yml @@ -31,6 +31,7 @@ jobs: strategy: matrix: os: [windows-latest, macos-latest, windows-2019] + fail-fast: false steps: - uses: actions/checkout@v3 with:
[GitHub] [camel] orpiske merged pull request #7752: CAMEL-18181: prevent non-printable characters from breaking the doc generation
orpiske merged PR #7752: URL: https://github.com/apache/camel/pull/7752 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] jskillin-idt commented on issue #3844: If jandex is present in an extension, the RouteBuilder beans created by a runtime extension appear to be duplicated
jskillin-idt commented on issue #3844: URL: https://github.com/apache/camel-quarkus/issues/3844#issuecomment-1151368788 Hey James, I think the downfall of the minimal reproduction I created is it doesn't do a good job demonstrating the intent behind the design. What RouteBuilders are available is not known at the time of writing this code. The app will live in a different location and there will be many of them. The idea is that the extensions will build RouteBuilders in response to customized rules. If we disable this bootstrapping that Camel does, is there additional work to do to replace that functionality? I can do more investigation on this as I'm somewhat new to this ecosystem. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] github-actions[bot] commented on pull request #7752: CAMEL-18181: prevent non-printable characters from breaking the doc generation
github-actions[bot] commented on PR #7752: URL: https://github.com/apache/camel/pull/7752#issuecomment-1151365314 :no_entry_sign: There are (likely) no components to be tested in this PR -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] github-actions[bot] commented on pull request #7754: CAMEL-18127: added adapter auto-configuration for Couchbase
github-actions[bot] commented on PR #7754: URL: https://github.com/apache/camel/pull/7754#issuecomment-1151355492 :warning: This PR changes Camel components and will be tested automatically. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] orpiske opened a new pull request, #7754: CAMEL-18127: added adapter auto-configuration for Couchbase
orpiske opened a new pull request, #7754: URL: https://github.com/apache/camel/pull/7754 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch regen_bot updated (845230ee80f -> 23c0ea51201)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel.git from 845230ee80f (chores) Fixed missing license header in hashicorp-vault component add 23c0ea51201 CAMEL-18127: make the resume actions reusable by other components No new revisions were added by this update. Summary of changes: .../resources/org/apache/camel/catalog/components/cql.json | 2 +- .../resources/org/apache/camel/component/cassandra/cql.json | 2 +- .../org/apache/camel/component/cassandra/CassandraConstants.java| 2 +- .../org/apache/camel/component/cassandra/CassandraConsumer.java | 4 ++-- .../cassandra/consumer/support/CassandraResumeAdapter.java | 3 ++- .../cassandra/consumer/support/DefaultCassandraResumeAdapter.java | 5 +++-- .../cassandra/integration/CassandraComponentResumeStrategyIT.java | 6 +++--- .../src/main/java/org/apache/camel/resume/ResumeAction.java | 4 ++-- 8 files changed, 15 insertions(+), 13 deletions(-) rename components/camel-cassandraql/src/main/java/org/apache/camel/component/cassandra/consumer/support/CassandraResumeAction.java => core/camel-api/src/main/java/org/apache/camel/resume/ResumeAction.java (91%)
[GitHub] [camel] orpiske opened a new pull request, #7753: (chores) ci: do not fail fast on the matrix build for alternative OSes
orpiske opened a new pull request, #7753: URL: https://github.com/apache/camel/pull/7753 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] orpiske opened a new pull request, #7752: CAMEL-18181: prevent non-printable characters from breaking the doc generation
orpiske opened a new pull request, #7752: URL: https://github.com/apache/camel/pull/7752 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main updated: CAMEL-18127: make the resume actions reusable by other components
This is an automated email from the ASF dual-hosted git repository. orpiske 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 23c0ea51201 CAMEL-18127: make the resume actions reusable by other components 23c0ea51201 is described below commit 23c0ea51201aeb33231f83e2a76e7be43773ec21 Author: Otavio Rodolfo Piske AuthorDate: Thu Jun 9 15:02:08 2022 +0200 CAMEL-18127: make the resume actions reusable by other components --- .../resources/org/apache/camel/catalog/components/cql.json | 2 +- .../resources/org/apache/camel/component/cassandra/cql.json | 2 +- .../org/apache/camel/component/cassandra/CassandraConstants.java| 2 +- .../org/apache/camel/component/cassandra/CassandraConsumer.java | 4 ++-- .../cassandra/consumer/support/CassandraResumeAdapter.java | 3 ++- .../cassandra/consumer/support/DefaultCassandraResumeAdapter.java | 5 +++-- .../cassandra/integration/CassandraComponentResumeStrategyIT.java | 6 +++--- .../src/main/java/org/apache/camel/resume/ResumeAction.java | 4 ++-- 8 files changed, 15 insertions(+), 13 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/cql.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/cql.json index 2a568f0f551..5e44352680f 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/cql.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/cql.json @@ -28,7 +28,7 @@ }, "headers": { "CamelCqlQuery": { "kind": "header", "displayName": "", "group": "producer", "label": "producer", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The CQL query to execute.", "constantName": "org.apache.camel.component.cassandra.CassandraConstants#CQL_QUERY" }, -"CamelCqlResumeQuery": { "kind": "header", "displayName": "", "group": "consumer", "label": "consumer", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The CQL query to execute when resuming.", "constantName": "org.apache.camel.component.cassandra.CassandraConstants#CASSANDRA_RESUME_ACTION" } +"CamelCqlResumeQuery": { "kind": "header", "displayName": "", "group": "consumer", "label": "consumer", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The resume action to execute when resuming.", "constantName": "org.apache.camel.component.cassandra.CassandraConstants#CASSANDRA_RESUME_ACTION" } }, "properties": { "beanRef": { "kind": "path", "displayName": "Bean Ref", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "beanRef is defined using bean:id" }, diff --git a/components/camel-cassandraql/src/generated/resources/org/apache/camel/component/cassandra/cql.json b/components/camel-cassandraql/src/generated/resources/org/apache/camel/component/cassandra/cql.json index 2a568f0f551..5e44352680f 100644 --- a/components/camel-cassandraql/src/generated/resources/org/apache/camel/component/cassandra/cql.json +++ b/components/camel-cassandraql/src/generated/resources/org/apache/camel/component/cassandra/cql.json @@ -28,7 +28,7 @@ }, "headers": { "CamelCqlQuery": { "kind": "header", "displayName": "", "group": "producer", "label": "producer", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The CQL query to execute.", "constantName": "org.apache.camel.component.cassandra.CassandraConstants#CQL_QUERY" }, -"CamelCqlResumeQuery": { "kind": "header", "displayName": "", "group": "consumer", "label": "consumer", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The CQL query to execute when resuming.", "constantName": "org.apache.camel.component.cassandra.CassandraConstants#CASSANDRA_RESUME_ACTION" } +"CamelCqlResumeQuery": { "kind": "header", "displayName": "", "group": "consumer", "label": "consumer", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The resume action to execute when resuming.", "constantName": "org.apache.camel.component.cassandra.CassandraConstants#CASSANDRA_RESUME_ACTION" } }, "properties": { "beanRef": { "kind": "path", "displayName": "Bean Ref", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.Stri
[GitHub] [camel] orpiske merged pull request #7751: CAMEL-18127: make the resume actions reusable by other components
orpiske merged PR #7751: URL: https://github.com/apache/camel/pull/7751 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] github-actions[bot] commented on pull request #7751: CAMEL-18127: make the resume actions reusable by other components
github-actions[bot] commented on PR #7751: URL: https://github.com/apache/camel/pull/7751#issuecomment-1151290996 :heavy_check_mark: Finished component verification: 0 component(s) test failed out of **1 component(s) tested** -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch regen_bot updated (e6e631c4bf2 -> 845230ee80f)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel.git from e6e631c4bf2 (chores) camel-mail: removed usages of Thread.sleep add 845230ee80f (chores) Fixed missing license header in hashicorp-vault component No new revisions were added by this update. Summary of changes: .../operations/HashicorpProducerReadSecretIT.java | 17 + 1 file changed, 17 insertions(+)
[camel] branch regen_bot updated (28977a4d415 -> e6e631c4bf2)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel.git omit 28977a4d415 Regen for commit 9d581cae407794f55cace2c7bb3a8734db036172 add 81b78d58cba Bump actions/labeler from 2.2.0 to 4.0.0 add ef2ef87e19f Bump actions/checkout from 2 to 3 add 5615cf53f57 (chores) ci: try to escape the profile options in the alternative OS builds add 6c60411c0e1 (chores) ci: increase frequency of alternative OS builds until it works add 5c49cba9f70 (chores) ci: escaped a few more build parameters for the Windows build add 005dfc010d8 Regen for commit 9d581cae407794f55cace2c7bb3a8734db036172 add b1bcfa2976e Bump peter-evans/create-pull-request from 3 to 4 add e6e631c4bf2 (chores) camel-mail: removed usages of Thread.sleep This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (28977a4d415) \ N -- N -- N refs/heads/regen_bot (e6e631c4bf2) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes: .github/workflows/alternative-os-build.yml | 8 .github/workflows/generic-pr.yaml | 2 +- .github/workflows/main-checkstyle-build.yml | 2 +- .github/workflows/main-push-build.yml | 4 ++-- .github/workflows/master-pr-build.yml | 4 ++-- components/camel-mail/pom.xml | 5 + .../camel/component/mail/MailCommitOnCompletionTest.java| 8 +--- .../camel/component/mail/MailConsumerIdleMessageTest.java | 1 - .../org/apache/camel/component/mail/MailCopyToTest.java | 8 +--- .../org/apache/camel/component/mail/MailFetchSizeTest.java | 11 +++ .../MailIdempotentRepositoryDuplicateNotRemoveTest.java | 8 +--- .../mail/MailIdempotentRepositoryDuplicateTest.java | 8 +--- .../camel/component/mail/MailIdempotentRepositoryTest.java | 8 +--- .../org/apache/camel/component/mail/MailMoveToTest.java | 13 +++-- 14 files changed, 54 insertions(+), 36 deletions(-)
[GitHub] [camel] github-actions[bot] commented on pull request #7751: CAMEL-18127: make the resume actions reusable by other components
github-actions[bot] commented on PR #7751: URL: https://github.com/apache/camel/pull/7751#issuecomment-1151163218 :x: Finished component verification: **1 component(s) test failed** out of 1 component(s) tested -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main updated: (chores) Fixed missing license header in hashicorp-vault component
This is an automated email from the ASF dual-hosted git repository. orpiske 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 845230ee80f (chores) Fixed missing license header in hashicorp-vault component 845230ee80f is described below commit 845230ee80faeb75092dd3f308843c558c1691e5 Author: Otavio Rodolfo Piske AuthorDate: Thu Jun 9 15:30:49 2022 +0200 (chores) Fixed missing license header in hashicorp-vault component --- .../operations/HashicorpProducerReadSecretIT.java | 17 + 1 file changed, 17 insertions(+) diff --git a/components/camel-hashicorp-vault/src/test/java/org/apache/camel/component/hashicorp/vault/integration/operations/HashicorpProducerReadSecretIT.java b/components/camel-hashicorp-vault/src/test/java/org/apache/camel/component/hashicorp/vault/integration/operations/HashicorpProducerReadSecretIT.java index 1f26837be85..44c29ee9601 100644 --- a/components/camel-hashicorp-vault/src/test/java/org/apache/camel/component/hashicorp/vault/integration/operations/HashicorpProducerReadSecretIT.java +++ b/components/camel-hashicorp-vault/src/test/java/org/apache/camel/component/hashicorp/vault/integration/operations/HashicorpProducerReadSecretIT.java @@ -1,3 +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. + */ + package org.apache.camel.component.hashicorp.vault.integration.operations; import java.util.Map;
[camel] branch main updated: (chores) camel-mail: removed usages of Thread.sleep
This is an automated email from the ASF dual-hosted git repository. orpiske 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 e6e631c4bf2 (chores) camel-mail: removed usages of Thread.sleep e6e631c4bf2 is described below commit e6e631c4bf2f6743166f46fe2ac5f15750502f56 Author: Otavio Rodolfo Piske AuthorDate: Thu Jun 9 14:37:46 2022 +0200 (chores) camel-mail: removed usages of Thread.sleep --- components/camel-mail/pom.xml | 5 + .../camel/component/mail/MailCommitOnCompletionTest.java| 8 +--- .../camel/component/mail/MailConsumerIdleMessageTest.java | 1 - .../org/apache/camel/component/mail/MailCopyToTest.java | 8 +--- .../org/apache/camel/component/mail/MailFetchSizeTest.java | 11 +++ .../MailIdempotentRepositoryDuplicateNotRemoveTest.java | 8 +--- .../mail/MailIdempotentRepositoryDuplicateTest.java | 8 +--- .../camel/component/mail/MailIdempotentRepositoryTest.java | 8 +--- .../org/apache/camel/component/mail/MailMoveToTest.java | 13 +++-- 9 files changed, 44 insertions(+), 26 deletions(-) diff --git a/components/camel-mail/pom.xml b/components/camel-mail/pom.xml index c9c56d143cb..b4ba7f3208f 100644 --- a/components/camel-mail/pom.xml +++ b/components/camel-mail/pom.xml @@ -112,6 +112,11 @@ assertj-core test + +org.awaitility +awaitility +test + diff --git a/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailCommitOnCompletionTest.java b/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailCommitOnCompletionTest.java index fc8450c254b..d6853b488fa 100644 --- a/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailCommitOnCompletionTest.java +++ b/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailCommitOnCompletionTest.java @@ -16,6 +16,8 @@ */ package org.apache.camel.component.mail; +import java.util.concurrent.TimeUnit; + import javax.mail.Folder; import javax.mail.Message; import javax.mail.Store; @@ -28,6 +30,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.jvnet.mock_javamail.Mailbox; +import static org.awaitility.Awaitility.await; import static org.junit.jupiter.api.Assertions.assertEquals; /** @@ -53,9 +56,8 @@ public class MailCommitOnCompletionTest extends CamelTestSupport { mock.assertIsSatisfied(); // wait a bit because delete is on completion -Thread.sleep(500); - -assertEquals(0, mailbox.size()); +await().atMost(500, TimeUnit.MILLISECONDS) +.untilAsserted(() -> assertEquals(0, mailbox.size())); } private void prepareMailbox() throws Exception { diff --git a/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailConsumerIdleMessageTest.java b/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailConsumerIdleMessageTest.java index e12188692be..32b4fcadde2 100644 --- a/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailConsumerIdleMessageTest.java +++ b/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailConsumerIdleMessageTest.java @@ -31,7 +31,6 @@ public class MailConsumerIdleMessageTest extends CamelTestSupport { @Test public void testConsumeIdleMessages() throws Exception { -Thread.sleep(110); MockEndpoint mock = getMockEndpoint("mock:result"); mock.expectedMinimumMessageCount(2); assertMockEndpointsSatisfied(); diff --git a/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailCopyToTest.java b/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailCopyToTest.java index cc2ac9e4348..e7b48d96369 100644 --- a/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailCopyToTest.java +++ b/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailCopyToTest.java @@ -16,6 +16,8 @@ */ package org.apache.camel.component.mail; +import java.util.concurrent.TimeUnit; + import javax.mail.Folder; import javax.mail.Message; import javax.mail.Store; @@ -24,6 +26,7 @@ import javax.mail.internet.MimeMessage; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.apache.camel.test.junit5.CamelTestSupport; +import org.awaitility.Awaitility; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.jvnet.mock_javamail.Mailbox; @@ -50,9 +53,8 @@ public class MailCopyToTest extends CamelTestSupport { assertMockEndpointsSatisfied(); // windows need a little slack -Thread.sleep(500); - -assertEquals(0, Mailbox.get("jones@localhost").g
[GitHub] [camel] orpiske merged pull request #7750: (chores) camel-mail: removed usages of Thread.sleep
orpiske merged PR #7750: URL: https://github.com/apache/camel/pull/7750 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] orpiske commented on pull request #7750: (chores) camel-mail: removed usages of Thread.sleep
orpiske commented on PR #7750: URL: https://github.com/apache/camel/pull/7750#issuecomment-1151120453 Checkstyle issue is not on this code, so it's safe to merge. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] github-actions[bot] commented on pull request #7750: (chores) camel-mail: removed usages of Thread.sleep
github-actions[bot] commented on PR #7750: URL: https://github.com/apache/camel/pull/7750#issuecomment-1151118750 :heavy_check_mark: Finished component verification: 0 component(s) test failed out of **1 component(s) tested** -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] github-actions[bot] commented on pull request #7751: CAMEL-18127: make the resume actions reusable by other components
github-actions[bot] commented on PR #7751: URL: https://github.com/apache/camel/pull/7751#issuecomment-1151109620 :warning: This PR changes Camel components and will be tested automatically. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] orpiske opened a new pull request, #7751: CAMEL-18127: make the resume actions reusable by other components
orpiske opened a new pull request, #7751: URL: https://github.com/apache/camel/pull/7751 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Error while running github feature from .asf.yaml in camel-website-pub!
An error occurred while running github feature in .asf.yaml!: 422 {"message": "Validation Failed", "errors": [{"message": "Sorry, you need to allow at least one merge strategy. (no_merge_method)", "resource": "Repository", "field": "merge_commit_allowed", "code": "invalid"}], "documentation_url": "https://docs.github.com/rest/reference/repos#update-a-repository"}
[camel-website-pub] branch asf-site updated (bd804b3a -> 55042197)
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a change to branch asf-site in repository https://gitbox.apache.org/repos/asf/camel-website-pub.git discard bd804b3a Website updated to e490654a9a4d5f8c5678aeea8fcb489435fd2d16 discard 3e22d4a5 Website updated to 325e929157412b27394080f4d4dba3d821476ddf new a2261e9b Website updated to 325e929157412b27394080f4d4dba3d821476ddf new 55042197 Website updated to 9edc4fe87e3a859f49549ea9ec9a78fe1fdf5c47 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (bd804b3a) \ N -- N -- N refs/heads/asf-site (55042197) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .htaccess | 52 +- .well-known/security.txt |2 +- blog/2022/05/camel317-whatsnew/index.html |2 +- blog/2022/06/06/images/Errordetection.gif | Bin 0 -> 88518 bytes blog/2022/06/06/images/Spellchecker.gif| Bin 0 -> 146047 bytes blog/2022/06/06/images/camell.gif | Bin 0 -> 577886 bytes blog/2022/06/06/index.html | 88 + blog/index.html|2 +- blog/index.xml | 15 +- blog/page/10/index.html|2 +- blog/page/11/index.html|2 +- blog/page/12/index.html|2 +- blog/page/13/index.html|2 +- blog/page/14/index.html|2 +- blog/page/15/index.html|2 +- blog/page/16/index.html|2 +- blog/page/17/index.html|2 +- blog/page/18/index.html|2 +- blog/page/19/index.html|2 +- blog/page/2/index.html |2 +- blog/page/20/index.html|2 +- blog/page/21/index.html|2 +- blog/page/22/index.html|2 +- blog/page/23/index.html|2 +- blog/page/24/index.html|2 +- blog/page/25/index.html|2 +- blog/page/26/index.html|2 +- blog/page/27/index.html|2 +- blog/page/28/index.html|2 +- blog/page/29/index.html|2 +- blog/page/3/index.html |2 +- blog/page/30/index.html|2 +- blog/page/31/index.html|2 +- blog/page/32/index.html|2 +- blog/page/33/index.html|2 +- blog/page/34/index.html|2 +- blog/page/35/index.html|2 +- blog/page/36/index.html|2 +- blog/page/37/index.html|2 +- blog/page/38/index.html|2 +- blog/page/39/index.html|2 +- blog/page/4/index.html |2 +- blog/page/40/index.html|2 +- blog/page/41/index.html|2 +- blog/page/42/index.html|2 +- blog/page/43/index.html|2 +- blog/page/44/index.html|2 +- blog/page/45/index.html|2 +- blog/page/46/index.html|2 +- blog/page/47/index.html|2 +- blog/page/48/index.html|2 +- blog/page/49/index.html|2 +- blog/page/5/index.html |2 +- blog/page/50/index.html|2 +- blog/page/51/index.html|2 +- blog/page/52/index.html|2 +- blog/page/53/index.html
[GitHub] [camel] orpiske merged pull request #7746: Bump peter-evans/create-pull-request from 3 to 4
orpiske merged PR #7746: URL: https://github.com/apache/camel/pull/7746 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main updated: Bump peter-evans/create-pull-request from 3 to 4
This is an automated email from the ASF dual-hosted git repository. orpiske 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 b1bcfa2976e Bump peter-evans/create-pull-request from 3 to 4 b1bcfa2976e is described below commit b1bcfa2976ec48b720afc737dac6240905bb4286 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> AuthorDate: Thu Jun 9 11:47:47 2022 + Bump peter-evans/create-pull-request from 3 to 4 Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3 to 4. - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](https://github.com/peter-evans/create-pull-request/compare/v3...v4) --- updated-dependencies: - dependency-name: peter-evans/create-pull-request dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/main-push-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main-push-build.yml b/.github/workflows/main-push-build.yml index ba2bba5f8d5..f244e407d38 100644 --- a/.github/workflows/main-push-build.yml +++ b/.github/workflows/main-push-build.yml @@ -50,7 +50,7 @@ jobs: - name: mvn formatter and build run: ${{ steps.install-mvnd.outputs.mvnd-dir }}/mvnd -Dmvnd.threads=2 -V -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --no-transfer-progress -Pformat,fastinstall -DskipTests verify - name: Create Pull Request -uses: peter-evans/create-pull-request@v3 +uses: peter-evans/create-pull-request@v4 with: base: main token: ${{ secrets.GITHUB_TOKEN }}
[GitHub] [camel] orpiske commented on pull request #7746: Bump peter-evans/create-pull-request from 3 to 4
orpiske commented on PR #7746: URL: https://github.com/apache/camel/pull/7746#issuecomment-1151078186 Infra says this one should be authorized already, so let's merge and keep an eye on it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main updated: Regen for commit 9d581cae407794f55cace2c7bb3a8734db036172
This is an automated email from the ASF dual-hosted git repository. orpiske 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 005dfc010d8 Regen for commit 9d581cae407794f55cace2c7bb3a8734db036172 005dfc010d8 is described below commit 005dfc010d870bedadf9e742c8fed55dd073b66a Author: orpiske AuthorDate: Thu Jun 9 12:13:36 2022 + Regen for commit 9d581cae407794f55cace2c7bb3a8734db036172 Signed-off-by: GitHub --- .../src/main/java/org/apache/camel/resume/cache/ResumeCache.java| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/camel-api/src/main/java/org/apache/camel/resume/cache/ResumeCache.java b/core/camel-api/src/main/java/org/apache/camel/resume/cache/ResumeCache.java index 9791287579e..a3d31fecc74 100644 --- a/core/camel-api/src/main/java/org/apache/camel/resume/cache/ResumeCache.java +++ b/core/camel-api/src/main/java/org/apache/camel/resume/cache/ResumeCache.java @@ -17,7 +17,6 @@ package org.apache.camel.resume.cache; -import java.util.function.BiConsumer; import java.util.function.BiFunction; import java.util.function.Function; @@ -98,6 +97,7 @@ public interface ResumeCache { /** * Performs the given action for each member of the cache + * * @param action the action to execute */ void forEach(BiFunction action);
[GitHub] [camel] orpiske merged pull request #7749: Generated sources regen
orpiske merged PR #7749: URL: https://github.com/apache/camel/pull/7749 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main updated: (chores) ci: escaped a few more build parameters for the Windows build
This is an automated email from the ASF dual-hosted git repository. orpiske 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 5c49cba9f70 (chores) ci: escaped a few more build parameters for the Windows build 5c49cba9f70 is described below commit 5c49cba9f706d33c9a07dec9626679a71a89b912 Author: Otavio Rodolfo Piske AuthorDate: Thu Jun 9 14:40:58 2022 +0200 (chores) ci: escaped a few more build parameters for the Windows build --- .github/workflows/alternative-os-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/alternative-os-build.yml b/.github/workflows/alternative-os-build.yml index 6d8147d1498..f952be8755b 100644 --- a/.github/workflows/alternative-os-build.yml +++ b/.github/workflows/alternative-os-build.yml @@ -42,7 +42,7 @@ jobs: java-version: 11 cache: 'maven' - name: mvn sourcecheck ${{ matrix.os }} -run: mvn -B -V -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --no-transfer-progress -P'format,fastinstall' -DskipTests verify +run: mvn -B -V -D'http.keepAlive=false' -D'maven.wagon.http.pool=false' -D'maven.wagon.httpconnectionManager.ttlSeconds=120' --no-transfer-progress -P'format,fastinstall' -DskipTests verify - name: Archive logs ${{ matrix.os }} uses: actions/upload-artifact@v3 if: always()
[GitHub] [camel] github-actions[bot] commented on pull request #7750: (chores) camel-mail: removed usages of Thread.sleep
github-actions[bot] commented on PR #7750: URL: https://github.com/apache/camel/pull/7750#issuecomment-1151067961 :warning: This PR changes Camel components and will be tested automatically. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] orpiske opened a new pull request, #7750: (chores) camel-mail: removed usages of Thread.sleep
orpiske opened a new pull request, #7750: URL: https://github.com/apache/camel/pull/7750 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] github-actions[bot] commented on pull request #7746: Bump peter-evans/create-pull-request from 3 to 4
github-actions[bot] commented on PR #7746: URL: https://github.com/apache/camel/pull/7746#issuecomment-1151060506 :no_entry_sign: There are (likely) no components to be tested in this PR -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch regen_bot updated (58fa381e9fd -> 28977a4d415)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel.git omit 58fa381e9fd Regen for commit 4ebbef5371fe8754d7c909fc1a7453d9854a00b9 add 1741a40c197 Upgrade DNSJava to version 3.5.1 add a082ecbcfb3 Sync deps add 44c228d1542 Regen for commit 4ebbef5371fe8754d7c909fc1a7453d9854a00b9 add 9d581cae407 CAMEL-18127: added adapter auto-configuration for Cassandra add 28977a4d415 Regen for commit 9d581cae407794f55cace2c7bb3a8734db036172 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (58fa381e9fd) \ N -- N -- N refs/heads/regen_bot (28977a4d415) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes: camel-dependencies/pom.xml | 2 +- .../org/apache/camel/catalog/components/cql.json | 3 +- .../component/caffeine/resume/CaffeineCache.java | 13 ++ .../org/apache/camel/component/cassandra/cql.json | 3 +- .../component/cassandra/CassandraConstants.java| 3 ++ .../component/cassandra/CassandraConsumer.java | 15 +-- ...sumeAdapter.java => CassandraResumeAction.java} | 16 +++ .../consumer/support/CassandraResumeAdapter.java | 9 ++-- .../support/DefaultCassandraResumeAdapter.java}| 50 ++ .../org/apache/camel/resume/adapter.properties}| 2 +- .../CassandraComponentResumeStrategyIT.java| 30 - .../org/apache/camel/resume/cache/ResumeCache.java | 7 +++ parent/pom.xml | 2 +- 13 files changed, 96 insertions(+), 59 deletions(-) copy components/camel-cassandraql/src/main/java/org/apache/camel/component/cassandra/consumer/support/{CassandraResumeAdapter.java => CassandraResumeAction.java} (70%) copy components/{camel-file/src/main/java/org/apache/camel/component/file/consumer/adapters/AbstractFileResumeAdapter.java => camel-cassandraql/src/main/java/org/apache/camel/component/cassandra/consumer/support/DefaultCassandraResumeAdapter.java} (50%) copy components/{camel-solr/src/test/resources/solr/collection1/core.properties => camel-cassandraql/src/main/resources/org/apache/camel/resume/adapter.properties} (90%)
[camel-website] branch regen_bot updated (e490654a -> 9edc4fe8)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel-website.git from e490654a Add zhfeng to committers table (#855) add b8191986 Camel Blog add 7edaad8f Get Camel lsp in Emacs blog add 9ad242cc Removed Trailing Whitespaces add 38d50142 Removed Trailing Whitespaces add 9edc4fe8 Updated date No new revisions were added by this update. Summary of changes: content/blog/2022/06/images/Errordetection.gif | Bin 0 -> 88518 bytes content/blog/2022/06/images/Spellchecker.gif | Bin 0 -> 146047 bytes content/blog/2022/06/images/camell.gif | Bin 0 -> 577886 bytes content/blog/2022/06/index.md | 140 + 4 files changed, 140 insertions(+) create mode 100644 content/blog/2022/06/images/Errordetection.gif create mode 100644 content/blog/2022/06/images/Spellchecker.gif create mode 100644 content/blog/2022/06/images/camell.gif create mode 100644 content/blog/2022/06/index.md
[GitHub] [camel] github-actions[bot] opened a new pull request, #7749: Generated sources regen
github-actions[bot] opened a new pull request, #7749: URL: https://github.com/apache/camel/pull/7749 Regen bot :robot: found some uncommitted changes after running build on :camel: main. Please do not delete `regen_bot` branch after merge/rebase. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-website] 05/05: Updated date
This is an automated email from the ASF dual-hosted git repository. zregvart pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-website.git commit 9edc4fe87e3a859f49549ea9ec9a78fe1fdf5c47 Author: Navyashree0923 AuthorDate: Thu Jun 9 15:58:13 2022 +0530 Updated date --- content/blog/2022/06/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/blog/2022/06/index.md b/content/blog/2022/06/index.md index 6ae0d626..3791578b 100644 --- a/content/blog/2022/06/index.md +++ b/content/blog/2022/06/index.md @@ -1,6 +1,6 @@ --- title: "Client implementation of the Apache Camel Language Server Protocol for Emacs" -date: 2022-06-08 +date: 2022-06-09 authors: [Navyashree0923] categories: ["Tooling"] preview: "Client implementation of the Apache Camel Language Server Protocol for Emacs"
[camel-website] 03/05: Removed Trailing Whitespaces
This is an automated email from the ASF dual-hosted git repository. zregvart pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-website.git commit 9ad242cc8503edd76db947f1be5fc7f1154ba08c Author: Navyashree0923 AuthorDate: Wed Jun 8 18:03:22 2022 +0530 Removed Trailing Whitespaces --- content/blog/2022/06/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/blog/2022/06/index.md b/content/blog/2022/06/index.md index 193e192c..23202347 100644 --- a/content/blog/2022/06/index.md +++ b/content/blog/2022/06/index.md @@ -48,7 +48,7 @@ In a `~/.emacs.d/init.el` file: ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ) - + (require 'lsp-mode) (add-hook 'nxml-mode-hook #'lsp) ``` @@ -133,7 +133,7 @@ In a `~/.emacs.d/lsp-camel.el` file: * Loading Camel LS by calling: `M-x lsp-install-server` and choosing `camells` -Follow [this link](https://github.com/camel-tooling/camel-lsp-client-emacs) to know more about configuring Emacs and have up-to-date information. +Follow [this link](https://github.com/camel-tooling/camel-lsp-client-emacs) to know more about configuring Emacs and have up-to-date information. Then you can enjoy editing capabilities of Camel URI.
[camel-website] 01/05: Camel Blog
This is an automated email from the ASF dual-hosted git repository. zregvart pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-website.git commit b81919867d2fb492d7083f73f7f263cd0a37c8a0 Author: Navyashree0923 AuthorDate: Wed Jun 8 12:48:24 2022 +0530 Camel Blog --- content/blog/2022/06/images/Errordetection.gif | Bin 0 -> 88518 bytes content/blog/2022/06/images/Spellchecker.gif | Bin 0 -> 146047 bytes content/blog/2022/06/images/camell.gif | Bin 0 -> 577886 bytes content/blog/2022/06/index.md | 138 + 4 files changed, 138 insertions(+) diff --git a/content/blog/2022/06/images/Errordetection.gif b/content/blog/2022/06/images/Errordetection.gif new file mode 100644 index ..ff9a4c99 Binary files /dev/null and b/content/blog/2022/06/images/Errordetection.gif differ diff --git a/content/blog/2022/06/images/Spellchecker.gif b/content/blog/2022/06/images/Spellchecker.gif new file mode 100644 index ..c80aa21e Binary files /dev/null and b/content/blog/2022/06/images/Spellchecker.gif differ diff --git a/content/blog/2022/06/images/camell.gif b/content/blog/2022/06/images/camell.gif new file mode 100644 index ..ce9a0d44 Binary files /dev/null and b/content/blog/2022/06/images/camell.gif differ diff --git a/content/blog/2022/06/index.md b/content/blog/2022/06/index.md new file mode 100644 index ..01f56560 --- /dev/null +++ b/content/blog/2022/06/index.md @@ -0,0 +1,138 @@ +--- +title: "Client implementation of the Apache Camel Language Server Protocol for Emacs" +date: 2022-06-08 +authors: [Navyashree0923] +categories: ["Tooling"] +preview: "Client implementation of the Apache Camel Language Server Protocol for Emacs" +--- + +# Text Editing capabilities of Camel URI with Camel XML DSL + +For instance, code completion for Camel XML Dsl. The capabilities are based on the Camel Language Server. + +![Demo](images/camell.gif) + +Error detection for Camel XML Dsl + +![errordetection](images/Errordetection.gif) + +Spell correction for Camel XML Dsl + +![spellcorrection](images/Spellchecker.gif) + + +# How to configure Emacs? + +* For the convenience to have all the Emacs configuration in one directory, should use `~/.emacs.d/init.el` + +In a `~/.emacs.d/init.el` file: + +```lisp +(require 'package) +(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/";) t) +;; Comment/uncomment this line to enable MELPA Stable if desired. See `package-archive-priorities` +;; and `package-pinned-packages`. Most users will not need or want to do this. +;;(add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/";) t) +(package-initialize) +(custom-set-variables + ;; custom-set-variables was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + '(package-selected-packages '(lsp-mode))) +(custom-set-faces + ;; custom-set-faces was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + ) + +(require 'lsp-mode) +(add-hook 'nxml-mode-hook #'lsp) +``` + +* Create `~/.emacs.d/lsp-camel.el` + +In a `~/.emacs.d/lsp-camel.el` file: + +```lisp +;;; lsp-camel.el --- LSP Camel server integration-*- lexical-binding: t; -*- + + +;;; Code: + +(require 'lsp-mode) + +(defgroup lsp-camel nil + "LSP support for Camel, using camel-language-server" + :group 'lsp-mode + :tag "Language Server" + :package-version '(lsp-mode . "8.0.0")) + +;; Define a variable to store camel language server jar version +(defconst lsp-camel-jar-version "1.5.0") + +;; Define a variable to store camel language server jar name +(defconst lsp-camel-jar-name (format "camel-lsp-server-%s.jar" lsp-camel-jar-version)) + +;; Directory in which the servers will be installed. Lsp Server Install Dir: ~/.emacs.d/.cache/camells +(defcustom lsp-camel-jar-file (f-join lsp-server-install-dir "camells" lsp-camel-jar-name) + "Camel Language server jar command." + :type 'string + :group 'lsp-camel + :type 'file + :package-version '(lsp-mode . "8.0.0")) + +(defcustom lsp-camel-jar-download-url + (format "https://repo1.maven.org/maven2/com/github/camel-tooling/camel-lsp-server/%s/%s"; lsp-camel-jar-version lsp-camel-jar-name) + "Automatic download url for lsp-camel." + :type 'string + :group 'lsp-camel + :package-version '(lsp-mode . "8.0.0")) + +(lsp-dependency +'camells +'(:system lsp-camel-jar-file) +`(:download :url lsp-camel-jar-download-url + :store-path lsp-camel-jar-file)) + +(defcustom lsp-camel-server-command `("java" "-jar" , lsp-camel-jar-file) + "Camel server command." + :type '(repeat string) + :group 'lsp-camel + :package-version '(lsp-mode . "8.0.0")) + +(defun lsp-camel--create-con
[camel-website] 02/05: Get Camel lsp in Emacs blog
This is an automated email from the ASF dual-hosted git repository. zregvart pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-website.git commit 7edaad8f9c15081b494f3ff004ed481d615b42e3 Author: Navyashree0923 AuthorDate: Wed Jun 8 14:24:16 2022 +0530 Get Camel lsp in Emacs blog Fixes #856 --- content/blog/2022/06/index.md | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/content/blog/2022/06/index.md b/content/blog/2022/06/index.md index 01f56560..193e192c 100644 --- a/content/blog/2022/06/index.md +++ b/content/blog/2022/06/index.md @@ -8,17 +8,19 @@ preview: "Client implementation of the Apache Camel Language Server Protocol for # Text Editing capabilities of Camel URI with Camel XML DSL -For instance, code completion for Camel XML Dsl. The capabilities are based on the Camel Language Server. +The capabilities are based on the Camel Language Server. -![Demo](images/camell.gif) +For instance, code completion of Camel URI with Camel XML Dsl: -Error detection for Camel XML Dsl +![Demo of completion in Camel URI](images/camell.gif) -![errordetection](images/Errordetection.gif) +Diagnostic of Camel URI attribute value with Camel XML Dsl: -Spell correction for Camel XML Dsl +![Diagnostic of Camel URI attribute value, the exchangePattern attribute is an enum. An error is reported when a value which is not part of the enumeration is provided](images/Errordetection.gif) -![spellcorrection](images/Spellchecker.gif) +Diagnostic of Camel URI attribute name with Camel XML Dsl: + +![Diagnostic of Camel URI attribute name](images/Spellchecker.gif) # How to configure Emacs? @@ -51,7 +53,8 @@ In a `~/.emacs.d/init.el` file: (add-hook 'nxml-mode-hook #'lsp) ``` -* Create `~/.emacs.d/lsp-camel.el` +* Create `~/.emacs.d/lsp-camel.el`file with the following content: + In a `~/.emacs.d/lsp-camel.el` file: @@ -130,9 +133,8 @@ In a `~/.emacs.d/lsp-camel.el` file: * Loading Camel LS by calling: `M-x lsp-install-server` and choosing `camells` - -Follow this link to know more about configuring Emacs - (https://github.com/camel-tooling/camel-lsp-client-emacs) +Follow [this link](https://github.com/camel-tooling/camel-lsp-client-emacs) to know more about configuring Emacs and have up-to-date information. Then you can enjoy editing capabilities of Camel URI. -NOTE - The configuration will be simplified with next release of lsp-mode +NOTE - The configuration will be simplified with next release of [lsp-mode](https://github.com/emacs-lsp/lsp-mode) thanks to [built-in support of Camel Language Server](https://github.com/emacs-lsp/lsp-mode/issues/3528).
[camel-website] 04/05: Removed Trailing Whitespaces
This is an automated email from the ASF dual-hosted git repository. zregvart pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-website.git commit 38d501423b814455147834802b8eef72554c78ee Author: Navyashree0923 AuthorDate: Wed Jun 8 18:33:21 2022 +0530 Removed Trailing Whitespaces --- content/blog/2022/06/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/blog/2022/06/index.md b/content/blog/2022/06/index.md index 23202347..6ae0d626 100644 --- a/content/blog/2022/06/index.md +++ b/content/blog/2022/06/index.md @@ -8,7 +8,7 @@ preview: "Client implementation of the Apache Camel Language Server Protocol for # Text Editing capabilities of Camel URI with Camel XML DSL -The capabilities are based on the Camel Language Server. +The capabilities are based on the [Camel Language Server](https://github.com/camel-tooling/camel-language-server). For instance, code completion of Camel URI with Camel XML Dsl:
[camel] branch main updated: (chores) ci: increase frequency of alternative OS builds until it works
This is an automated email from the ASF dual-hosted git repository. orpiske 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 6c60411c0e1 (chores) ci: increase frequency of alternative OS builds until it works 6c60411c0e1 is described below commit 6c60411c0e14905224c22358ad1dd930958c5cb8 Author: Otavio Rodolfo Piske AuthorDate: Thu Jun 9 13:59:52 2022 +0200 (chores) ci: increase frequency of alternative OS builds until it works --- .github/workflows/alternative-os-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/alternative-os-build.yml b/.github/workflows/alternative-os-build.yml index 5a2863c385a..6d8147d1498 100644 --- a/.github/workflows/alternative-os-build.yml +++ b/.github/workflows/alternative-os-build.yml @@ -19,8 +19,8 @@ name: alternative os build on: schedule: -# Every 5th minute every 3 hours during working days -- cron: '20 * * * 1' +# Every 5th minute every 1 hour during working days +- cron: '5 * * * *' permissions: contents: read
[camel-website] branch main updated (e490654a -> 9edc4fe8)
This is an automated email from the ASF dual-hosted git repository. zregvart pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-website.git from e490654a Add zhfeng to committers table (#855) new b8191986 Camel Blog new 7edaad8f Get Camel lsp in Emacs blog new 9ad242cc Removed Trailing Whitespaces new 38d50142 Removed Trailing Whitespaces new 9edc4fe8 Updated date The 5 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: content/blog/2022/06/images/Errordetection.gif | Bin 0 -> 88518 bytes content/blog/2022/06/images/Spellchecker.gif | Bin 0 -> 146047 bytes content/blog/2022/06/images/camell.gif | Bin 0 -> 577886 bytes content/blog/2022/06/index.md | 140 + 4 files changed, 140 insertions(+) create mode 100644 content/blog/2022/06/images/Errordetection.gif create mode 100644 content/blog/2022/06/images/Spellchecker.gif create mode 100644 content/blog/2022/06/images/camell.gif create mode 100644 content/blog/2022/06/index.md
[GitHub] [camel-website] zregvart merged pull request #856: Get Camel lsp in Emacs blog
zregvart merged PR #856: URL: https://github.com/apache/camel-website/pull/856 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-website] github-actions[bot] commented on pull request #856: Get Camel lsp in Emacs blog
github-actions[bot] commented on PR #856: URL: https://github.com/apache/camel-website/pull/856#issuecomment-1151032919 🚀 Preview is available at https://pr-856--camel.netlify.app -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main updated: (chores) ci: try to escape the profile options in the alternative OS builds
This is an automated email from the ASF dual-hosted git repository. orpiske 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 5615cf53f57 (chores) ci: try to escape the profile options in the alternative OS builds 5615cf53f57 is described below commit 5615cf53f57310792862658f587c73894dd3df59 Author: Otavio Rodolfo Piske AuthorDate: Thu Jun 9 13:54:44 2022 +0200 (chores) ci: try to escape the profile options in the alternative OS builds --- .github/workflows/alternative-os-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/alternative-os-build.yml b/.github/workflows/alternative-os-build.yml index 49010a215a0..5a2863c385a 100644 --- a/.github/workflows/alternative-os-build.yml +++ b/.github/workflows/alternative-os-build.yml @@ -42,7 +42,7 @@ jobs: java-version: 11 cache: 'maven' - name: mvn sourcecheck ${{ matrix.os }} -run: mvn -B -V -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --no-transfer-progress -P"format,fastinstall" -DskipTests verify +run: mvn -B -V -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --no-transfer-progress -P'format,fastinstall' -DskipTests verify - name: Archive logs ${{ matrix.os }} uses: actions/upload-artifact@v3 if: always()
[camel] branch dependabot/github_actions/peter-evans/create-pull-request-4 updated (77c33c24866 -> 4f4a6864719)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/github_actions/peter-evans/create-pull-request-4 in repository https://gitbox.apache.org/repos/asf/camel.git omit 77c33c24866 Bump peter-evans/create-pull-request from 3 to 4 add f0d22792803 camel-infinispan-common: Replace redundant dependency on infinispan-core with infinispan-commons add e4ee53a0a74 CAMEL-18045: Remove redundant infinispan-marshaller-protostuff dependency add 7fe73207fbb CAMEL-18044: Switch from deprecated JBossUserMarshaller to JavaSerializationMarshaller add 0cde2d978e7 (chores) camel-jbang: fixed variable order add 75e94951516 Bump actions/setup-java from 2 to 3 add c6053f9e454 (chores) ci: fixed incorrect name for the alternative OS build add 4bbf1273a83 Upgrade JT400 to version 11.0 add 84b0ec77185 Sync deps add 432f3b8c1b7 CAMEL-17689 - Create a Camel Hashicorp Vault Component - Read secret operation add 5ed03d60b88 CAMEL-17689 - Create a Camel Hashicorp Vault Component - Read Secret operation add 65c7a44ffea (chores) ci: use batch mode for alternative OS build add dffaaed8543 (chores) ci: try to escape the profile options in the alternative OS builds add 47d9047b601 CAMEL-17689 - Create a Camel Hashicorp Vault Component - Define Spring-vault-core version in a property placeholder add 5cf25bc03e5 CAMEL-17689 - Create a Camel Hashicorp Vault Component - Fix Description add cb718511202 CAMEL-17689 - Create a Camel Hashicorp Vault Component - Fix Description add 9b1bd5aa628 Sync deps and regen add 4ebbef5371f CAMEL-18175: camel-jbang - Download artifacts problem when they have custom classifier add 1741a40c197 Upgrade DNSJava to version 3.5.1 add a082ecbcfb3 Sync deps add 44c228d1542 Regen for commit 4ebbef5371fe8754d7c909fc1a7453d9854a00b9 add 9d581cae407 CAMEL-18127: added adapter auto-configuration for Cassandra add 81b78d58cba Bump actions/labeler from 2.2.0 to 4.0.0 add ef2ef87e19f Bump actions/checkout from 2 to 3 add 4f4a6864719 Bump peter-evans/create-pull-request from 3 to 4 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (77c33c24866) \ N -- N -- N refs/heads/dependabot/github_actions/peter-evans/create-pull-request-4 (4f4a6864719) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes: .github/workflows/alternative-os-build.yml | 8 +- .github/workflows/generic-pr.yaml | 2 +- .github/workflows/main-checkstyle-build.yml| 4 +- .github/workflows/main-push-build.yml | 4 +- .github/workflows/master-pr-build.yml | 8 +- camel-dependencies/pom.xml | 7 +- .../org/apache/camel/catalog/components/cql.json | 3 +- .../camel/catalog/components/hashicorp-vault.json | 5 +- .../component/caffeine/resume/CaffeineCache.java | 13 ++ .../org/apache/camel/component/cassandra/cql.json | 3 +- .../component/cassandra/CassandraConstants.java| 3 + .../component/cassandra/CassandraConsumer.java | 15 +- ...sumeAdapter.java => CassandraResumeAction.java} | 16 +- .../consumer/support/CassandraResumeAdapter.java | 9 +- .../support/DefaultCassandraResumeAdapter.java | 70 .../org/apache/camel/resume/adapter.properties | 19 +++ .../CassandraComponentResumeStrategyIT.java| 30 ++-- components/camel-hashicorp-vault/pom.xml | 4 +- .../services/org/apache/camel/component.properties | 2 +- .../component/hashicorp/vault/hashicorp-vault.json | 5 +- .../hashicorp/vault/HashicorpVaultConstants.java | 7 +- .../hashicorp/vault/HashicorpVaultOperation.java | 3 +- .../hashicorp/vault/HashicorpVaultProducer.java| 17 ++ .../operations/HashicorpProducerReadSecretIT.java | 66 .../camel-infinispan-common/pom.xml| 2 +- .../InfinispanIdempotentRepositoryTestSupport.java | 4 +- .../camel-infinispan/camel-infinispan/pom.xml | 12 +- .../InfinispanRemoteAggregationRepository.java | 15 +- .../DefaultExchangeHolderInitializer.java} | 23 +-- .../DefaultExchangeHolderProtoAdapter.java | 38 + .../protostream/DefaultExchangeHolderUtils.java| 54 +++ .../org/apache/camel/resume/cache/ResumeCache.java | 7 + .../cam
[GitHub] [camel] orpiske commented on pull request #7746: Bump peter-evans/create-pull-request from 3 to 4
orpiske commented on PR #7746: URL: https://github.com/apache/camel/pull/7746#issuecomment-1151021751 @dependabot rebase -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] orpiske commented on pull request #7746: Bump peter-evans/create-pull-request from 3 to 4
orpiske commented on PR #7746: URL: https://github.com/apache/camel/pull/7746#issuecomment-1151008179 Please don't merge. This one probably needs to be approved by INFRA before it's merged. I'll have to check. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main updated: Bump actions/checkout from 2 to 3
This is an automated email from the ASF dual-hosted git repository. orpiske 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 ef2ef87e19f Bump actions/checkout from 2 to 3 ef2ef87e19f is described below commit ef2ef87e19f1858e737bb8d216dd7180153a1f75 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> AuthorDate: Thu Jun 9 08:46:03 2022 + Bump actions/checkout from 2 to 3 Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/alternative-os-build.yml | 2 +- .github/workflows/main-checkstyle-build.yml | 2 +- .github/workflows/main-push-build.yml | 2 +- .github/workflows/master-pr-build.yml | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/alternative-os-build.yml b/.github/workflows/alternative-os-build.yml index 1020129a585..49010a215a0 100644 --- a/.github/workflows/alternative-os-build.yml +++ b/.github/workflows/alternative-os-build.yml @@ -32,7 +32,7 @@ jobs: matrix: os: [windows-latest, macos-latest, windows-2019] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: persist-credentials: false - name: Set up JDK ${{ matrix.os }} diff --git a/.github/workflows/main-checkstyle-build.yml b/.github/workflows/main-checkstyle-build.yml index 7069464de76..dd3341627a0 100644 --- a/.github/workflows/main-checkstyle-build.yml +++ b/.github/workflows/main-checkstyle-build.yml @@ -31,7 +31,7 @@ jobs: matrix: java: [ '11' ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: persist-credentials: false - id: install-mvnd diff --git a/.github/workflows/main-push-build.yml b/.github/workflows/main-push-build.yml index 829189c0dd0..ba2bba5f8d5 100644 --- a/.github/workflows/main-push-build.yml +++ b/.github/workflows/main-push-build.yml @@ -36,7 +36,7 @@ jobs: matrix: java: [ '11' ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: persist-credentials: false - id: install-mvnd diff --git a/.github/workflows/master-pr-build.yml b/.github/workflows/master-pr-build.yml index c5638dca5ff..b2ce374c283 100644 --- a/.github/workflows/master-pr-build.yml +++ b/.github/workflows/master-pr-build.yml @@ -34,7 +34,7 @@ jobs: checkstyle: runs-on: ubuntu-latest steps: -- uses: actions/checkout@v2 +- uses: actions/checkout@v3 with: persist-credentials: false - id: install-mvnd @@ -61,7 +61,7 @@ jobs: matrix: java: [ '11' ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: persist-credentials: false fetch-depth: 0
[GitHub] [camel] orpiske merged pull request #7747: Bump actions/checkout from 2 to 3
orpiske merged PR #7747: URL: https://github.com/apache/camel/pull/7747 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main updated: Bump actions/labeler from 2.2.0 to 4.0.0
This is an automated email from the ASF dual-hosted git repository. orpiske 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 81b78d58cba Bump actions/labeler from 2.2.0 to 4.0.0 81b78d58cba is described below commit 81b78d58cbaf631b5e722e6c79e451dccc16c358 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> AuthorDate: Thu Jun 9 08:45:56 2022 + Bump actions/labeler from 2.2.0 to 4.0.0 Bumps [actions/labeler](https://github.com/actions/labeler) from 2.2.0 to 4.0.0. - [Release notes](https://github.com/actions/labeler/releases) - [Commits](https://github.com/actions/labeler/compare/2.2.0...v4.0.0) --- updated-dependencies: - dependency-name: actions/labeler dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/generic-pr.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/generic-pr.yaml b/.github/workflows/generic-pr.yaml index 24390cf2f2e..779964f47f9 100644 --- a/.github/workflows/generic-pr.yaml +++ b/.github/workflows/generic-pr.yaml @@ -41,7 +41,7 @@ jobs: (github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'synchronize') -uses: actions/labeler@2.2.0 +uses: actions/labeler@v4.0.0 with: repo-token: ${{ secrets.GITHUB_TOKEN }} configuration-path: .github/workflows/generic-pr/label-config.yml
[GitHub] [camel] orpiske merged pull request #7745: Bump actions/labeler from 2.2.0 to 4.0.0
orpiske merged PR #7745: URL: https://github.com/apache/camel/pull/7745 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org