[camel-quarkus] branch camel-main updated (f30862f802 -> 8286989cef)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git omit f30862f802 Upgrade Camel to 3.19.0 add 65020378cd Register LegacyPDFStreamEngine for runtime initialization add 69ab601560 Fix generated AsciiDoc id headings add 4489732d14 Upgrade OptaPlanner to 8.27.0.Final new 8286989cef Upgrade Camel to 3.19.0 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 (f30862f802) \ N -- N -- N refs/heads/camel-main (8286989cef) 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 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. Summary of changes: .../ROOT/pages/reference/extensions/activemq.adoc | 3 ++- .../ROOT/pages/reference/extensions/amqp.adoc | 3 ++- .../pages/reference/extensions/aws2-lambda.adoc| 2 +- .../reference/extensions/azure-eventhubs.adoc | 2 +- .../reference/extensions/azure-storage-blob.adoc | 2 +- .../extensions/azure-storage-datalake.adoc | 2 +- .../reference/extensions/azure-storage-queue.adoc | 2 +- .../pages/reference/extensions/bean-validator.adoc | 3 ++- .../pages/reference/extensions/cassandraql.adoc| 2 +- .../ROOT/pages/reference/extensions/core.adoc | 6 +- .../pages/reference/extensions/freemarker.adoc | 2 +- .../ROOT/pages/reference/extensions/gson.adoc | 2 +- .../pages/reference/extensions/infinispan.adoc | 3 ++- .../ROOT/pages/reference/extensions/jackson.adoc | 5 - .../ROOT/pages/reference/extensions/jaxb.adoc | 2 +- .../ROOT/pages/reference/extensions/jdbc.adoc | 3 ++- .../ROOT/pages/reference/extensions/jms.adoc | 3 ++- .../ROOT/pages/reference/extensions/jpa.adoc | 1 + .../ROOT/pages/reference/extensions/jq.adoc| 2 +- .../ROOT/pages/reference/extensions/jslt.adoc | 3 ++- .../ROOT/pages/reference/extensions/kafka.adoc | 2 +- .../ROOT/pages/reference/extensions/kamelet.adoc | 3 ++- .../reference/extensions/microprofile-health.adoc | 3 +++ .../reference/extensions/microprofile-metrics.adoc | 2 ++ .../pages/reference/extensions/platform-http.adoc | 8 ++-- .../ROOT/pages/reference/extensions/protobuf.adoc | 3 ++- .../ROOT/pages/reference/extensions/quartz.adoc| 2 +- .../ROOT/pages/reference/extensions/qute.adoc | 2 +- .../pages/reference/extensions/salesforce.adoc | 2 +- .../ROOT/pages/reference/extensions/sjms.adoc | 3 ++- .../ROOT/pages/reference/extensions/sjms2.adoc | 3 ++- .../ROOT/pages/reference/extensions/sql.adoc | 5 - .../ROOT/pages/reference/extensions/velocity.adoc | 2 +- .../reference/extensions/vertx-websocket.adoc | 5 +++-- .../ROOT/pages/reference/extensions/xslt.adoc | 2 ++ .../component/tika/deployment/TikaProcessor.java | 6 ++ pom.xml| 2 +- poms/bom/src/main/generated/flattened-full-pom.xml | 8 .../src/main/generated/flattened-reduced-pom.xml | 8 .../generated/flattened-reduced-verbose-pom.xml| 8 .../quarkus/maven/UpdateExtensionDocPageMojo.java | 19 --- .../quarkus/maven/processor/AsciiDocFile.java | 8 +++- .../maven/processor/SectionIdPostProcessor.java| 22 ++ 43 files changed, 115 insertions(+), 66 deletions(-)
[GitHub] [camel-quarkus] github-actions[bot] closed issue #2927: [CI] - Camel Main Branch Build Failure
github-actions[bot] closed issue #2927: [CI] - Camel Main Branch Build Failure URL: https://github.com/apache/camel-quarkus/issues/2927 -- 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] 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-1254547391 Build fixed with: * Camel Quarkus Commit: 8286989cefe5f92cc6c064b2c75ac7963582e0d7 * Camel Main Commit: 4489732d147c7bad00eb8744fb50b1ed1b8f1d35 * Link to build: https://github.com/apache/camel-quarkus/actions/runs/3101982446 -- 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-karavan] davsclaus commented on issue #480: Failed to send attachment with mail
davsclaus commented on issue #480: URL: https://github.com/apache/camel-karavan/issues/480#issuecomment-1254522189 Yeah that is great - and could you maybe also show what language you have selected, in the editor Expression (joor language) -- 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 automatic-periodic-sync updated (421413b607c -> eae395bf058)
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-spring-boot.git omit 421413b607c [create-pull-request] automated change add b7290aee904 [create-pull-request] automated change add 597b0fc46d5 CAMEL-17780: camel-elasticsearch - Impl based on the Java Api Client (#630) add 78d5d363c73 ✅ Add Servlet Attachment test (#631) add eae395bf058 CAMEL-18496: removed camel-ahc and camel-ahc-ws (#632) 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 (421413b607c) \ N -- N -- N refs/heads/automatic-periodic-sync (eae395bf058) 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/springboot/catalog/components.properties | 1 + ...{elasticsearch-rest.json => elasticsearch.json} | 76 components-starter/camel-ahc-starter/pom.xml | 49 - .../camel-ahc-starter/src/main/docs/ahc.json | 87 - .../springboot/AhcComponentAutoConfiguration.java | 79 .../ahc/springboot/AhcComponentConfiguration.java | 182 -- .../ahc/springboot/AhcComponentConverter.java | 73 .../src/main/resources/META-INF/spring.factories | 20 -- .../src/main/resources/META-INF/spring.provides| 17 -- components-starter/camel-ahc-ws-starter/pom.xml| 49 - .../camel-ahc-ws-starter/src/main/docs/ahc-ws.json | 94 -- .../springboot/WsComponentAutoConfiguration.java | 79 .../ws/springboot/WsComponentConfiguration.java| 199 .../ahc/ws/springboot/WsComponentConverter.java| 73 .../src/main/resources/META-INF/LICENSE.txt| 203 - .../src/main/resources/META-INF/NOTICE.txt | 11 -- .../src/main/resources/META-INF/spring.factories | 20 -- .../camel-elasticsearch-rest-starter/pom.xml | 2 +- .../pom.xml| 27 ++- .../src/main/docs/elasticsearch.json} | 78 .../ElasticsearchComponentAutoConfiguration.java | 8 +- .../ElasticsearchComponentConfiguration.java | 25 ++- .../ElasticsearchComponentConverter.java | 2 +- .../src/main/resources/META-INF/LICENSE.txt| 0 .../src/main/resources/META-INF/NOTICE.txt | 0 .../src/main/resources/META-INF/spring.factories | 4 +- .../src/main/resources/META-INF/spring.provides| 2 +- ...st.java => ServletAttachmentMultiPartTest.java} | 45 +++-- components-starter/pom.xml | 3 +- ...chRestTest.java => CamelElasticsearchTest.java} | 12 +- tooling/camel-spring-boot-bom/pom.xml | 15 +- tooling/camel-spring-boot-dependencies/pom.xml | 30 +-- 32 files changed, 175 insertions(+), 1390 deletions(-) copy catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/{elasticsearch-rest.json => elasticsearch.json} (66%) delete mode 100644 components-starter/camel-ahc-starter/pom.xml delete mode 100644 components-starter/camel-ahc-starter/src/main/docs/ahc.json delete mode 100644 components-starter/camel-ahc-starter/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentAutoConfiguration.java delete mode 100644 components-starter/camel-ahc-starter/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentConfiguration.java delete mode 100644 components-starter/camel-ahc-starter/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentConverter.java delete mode 100644 components-starter/camel-ahc-starter/src/main/resources/META-INF/spring.factories delete mode 100644 components-starter/camel-ahc-starter/src/main/resources/META-INF/spring.provides delete mode 100644 components-starter/camel-ahc-ws-starter/pom.xml delete mode 100644 components-starter/camel-ahc-ws-starter/src/main/docs/ahc-ws.json delete mode 100644 components-starter/camel-ahc-ws-starter/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentAutoConfiguration.java delete mode 100644 components-starter/camel-ahc-ws-starter/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentConfiguration.java delete mode 100644
[camel-karaf] branch automatic-periodic-sync updated (aeb6d2b1 -> 14b6039a)
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 aeb6d2b1 CAMEL-18031: camel-karaf - Upgrade to 4.4.1 add 1953b09e CAMEL-18496: removed camel-ahc and camel-ahc-ws add 14b6039a Regen No new revisions were added by this update. Summary of changes: .../camel/catalog/karaf/components.properties | 2 - .../camel/catalog/karaf/components/ahc-ws.json | 58 .../apache/camel/catalog/karaf/components/ahc.json | 64 -- .../karaf/features/src/main/resources/features.xml | 26 - 4 files changed, 150 deletions(-) delete mode 100644 catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components/ahc-ws.json delete mode 100644 catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components/ahc.json
[GitHub] [camel-k] github-actions[bot] commented on issue #3378: Add support for extended Knative trigger filters
github-actions[bot] commented on issue #3378: URL: https://github.com/apache/camel-k/issues/3378#issuecomment-1254360151 This issue has been automatically marked as stale due to 90 days of inactivity. It will be closed if no further activity occurs within 15 days. If you think that’s incorrect or the issue should never stale, please simply write any comment. Thanks for your contributions! -- 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] 01/02: Set theme for Expression editor
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 commit 7fc5e4f0d8ab3120a522608d558af03c7cff9187 Author: Marat Gubaidullin AuthorDate: Wed Sep 21 20:00:20 2022 -0400 Set theme for Expression editor --- .../src/designer/rest/RestDesigner.tsx | 2 +- .../src/designer/route/DslProperties.tsx | 7 +-- .../src/designer/route/RouteDesigner.tsx | 2 +- .../designer/route/property/DataFormatField.tsx| 2 ++ .../designer/route/property/DslPropertyField.tsx | 22 -- .../designer/route/property/ExpressionField.tsx| 2 ++ .../src/designer/route/property/ObjectField.tsx| 4 +++- 7 files changed, 30 insertions(+), 11 deletions(-) diff --git a/karavan-designer/src/designer/rest/RestDesigner.tsx b/karavan-designer/src/designer/rest/RestDesigner.tsx index 5f733a8..bc32cc9 100644 --- a/karavan-designer/src/designer/rest/RestDesigner.tsx +++ b/karavan-designer/src/designer/rest/RestDesigner.tsx @@ -243,7 +243,7 @@ export class RestDesigner extends React.Component { clipboardStep={undefined} isRouteDesigner={false} onClone={this.cloneRest} -/> +dark={this.props.dark}/> ) } diff --git a/karavan-designer/src/designer/route/DslProperties.tsx b/karavan-designer/src/designer/route/DslProperties.tsx index 38b7db8..71e15f1 100644 --- a/karavan-designer/src/designer/route/DslProperties.tsx +++ b/karavan-designer/src/designer/route/DslProperties.tsx @@ -49,6 +49,7 @@ interface Props { onSaveClipboardStep?: (element?: CamelElement) => void onClone?: (element: CamelElement) => void isRouteDesigner: boolean +dark: boolean } interface State { @@ -193,7 +194,8 @@ export class DslProperties extends React.Component { onExpressionChange={this.expressionChanged} onParameterChange={this.parametersChanged} onDataFormatChange={this.dataFormatChanged} - onChange={this.propertyChanged}/> + onChange={this.propertyChanged} + dark={this.props.dark}/> )} ) } @@ -224,7 +226,8 @@ export class DslProperties extends React.Component { integration={this.props.integration} dslName={this.state.step.dslName} value={this.state.step} -onDataFormatChange={this.dataFormatChanged}/> +onDataFormatChange={this.dataFormatChanged} +dark={this.props.dark}/> } diff --git a/karavan-designer/src/designer/route/RouteDesigner.tsx b/karavan-designer/src/designer/route/RouteDesigner.tsx index 77bed14..80a03e4 100644 --- a/karavan-designer/src/designer/route/RouteDesigner.tsx +++ b/karavan-designer/src/designer/route/RouteDesigner.tsx @@ -356,7 +356,7 @@ export class RouteDesigner extends React.Component { clipboardStep={this.state.clipboardStep} isRouteDesigner={true} onSaveClipboardStep={this.saveToClipboard} -/> + dark={this.props.dark}/> ) } diff --git a/karavan-designer/src/designer/route/property/DataFormatField.tsx b/karavan-designer/src/designer/route/property/DataFormatField.tsx index ba27c3f..8eac5c0 100644 --- a/karavan-designer/src/designer/route/property/DataFormatField.tsx +++ b/karavan-designer/src/designer/route/property/DataFormatField.tsx @@ -37,6 +37,7 @@ interface Props { value: CamelElement, onDataFormatChange?: (value: DataFormatDefinition) => void integration: Integration, +dark: boolean, } interface State { @@ -109,6 +110,7 @@ export class DataFormatField extends React.Component { onDataFormatChange={dataFormat => { console.log(dataFormat) }} + dark={this.props.dark} onChange={this.propertyChanged}/> )} ) diff --git a/karavan-designer/src/designer/route/property/DslPropertyField.tsx b/karavan-designer/src/designer/route/property/DslPropertyField.tsx index a47d824..37cadab 100644 --- a/karavan-designer/src/designer/route/property/DslPropertyField.tsx +++ b/karavan-designer/src/designer/route/property/DslPropertyField.tsx @@ -77,7 +77,8 @@ interface Props { element?: CamelElement integration: Integration, hideLabel?: boolean, -dslLanguage?: string +
[camel-karavan] 02/02: Expression editor in VSCode
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 commit e8b1ef09612a37f802ac8c2d7793dd279c05c85e Author: Marat Gubaidullin AuthorDate: Wed Sep 21 20:04:48 2022 -0400 Expression editor in VSCode --- karavan-vscode/package-lock.json | 252 +-- karavan-vscode/package.json | 12 +- 2 files changed, 140 insertions(+), 124 deletions(-) diff --git a/karavan-vscode/package-lock.json b/karavan-vscode/package-lock.json index 786eaf0..8017296 100644 --- a/karavan-vscode/package-lock.json +++ b/karavan-vscode/package-lock.json @@ -1,17 +1,18 @@ { "name": "karavan", - "version": "3.18.3", + "version": "3.18.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "karavan", - "version": "3.18.3", + "version": "3.18.4", "license": "Apache-2.0", "dependencies": { -"@patternfly/patternfly": "4.194.4", -"@patternfly/react-core": "4.214.1", -"@patternfly/react-table": "^4.83.1", +"@monaco-editor/react": "4.3.1", +"@patternfly/patternfly": "4.215.1", +"@patternfly/react-core": "4.239.0", +"@patternfly/react-table": "4.108.0", "@reactour/tour": "^2.10.2", "@types/js-yaml": "^4.0.5", "@types/uuid": "8.3.4", @@ -45,6 +46,7 @@ "file-loader": "^6.2.0", "mini-css-extract-plugin": "^1.6.0", "mocha": "^10.0.0", +"monaco-editor": "0.29.1", "prettier": "2.3.0", "run-script-os": "^1.1.6", "static-site-generator-webpack-plugin": "^3.4.2", @@ -2069,6 +2071,31 @@ "@jridgewell/sourcemap-codec": "^1.4.10" } }, +"node_modules/@monaco-editor/loader": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@monaco-editor/loader/-/loader-1.3.2.tgz;, + "integrity": "sha512-BTDbpHl3e47r3AAtpfVFTlAi7WXv4UQ/xZmz8atKl4q7epQV5e7+JbigFDViWF71VBi4IIBdcWP57Hj+OWuc9g==", + "dependencies": { +"state-local": "^1.0.6" + }, + "peerDependencies": { +"monaco-editor": ">= 0.21.0 < 1" + } +}, +"node_modules/@monaco-editor/react": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@monaco-editor/react/-/react-4.3.1.tgz;, + "integrity": "sha512-f+0BK1PP/W5I50hHHmwf11+Ea92E5H1VZXs+wvKplWUWOfyMa1VVwqkJrXjRvbcqHL+XdIGYWhWNdi4McEvnZg==", + "dependencies": { +"@monaco-editor/loader": "^1.2.0", +"prop-types": "^15.7.2" + }, + "peerDependencies": { +"monaco-editor": ">= 0.25.0 < 1", +"react": "^16.8.0 || ^17.0.0", +"react-dom": "^16.8.0 || ^17.0.0" + } +}, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz;, @@ -2105,19 +2132,19 @@ } }, "node_modules/@patternfly/patternfly": { - "version": "4.194.4", - "resolved": "https://registry.npmjs.org/@patternfly/patternfly/-/patternfly-4.194.4.tgz;, - "integrity": "sha512-SJxr502v0xXk1N5OiPLunD9pdKvHp5XXJLXcD5lIPrimjjUcy46m48X8YONjDvnC/Y5xV92UI2KxoCVucE34eA==" + "version": "4.215.1", + "resolved": "https://registry.npmjs.org/@patternfly/patternfly/-/patternfly-4.215.1.tgz;, + "integrity": "sha512-coOipHiQs92OYYO+pWfukEKOkY+VUL6ptusTxh98DvIu/tQYzJDJxEmzYXmwqxORM19oLxAJEGktPoLNKElj6A==" }, "node_modules/@patternfly/react-core": { - "version": "4.214.1", - "resolved": "https://registry.npmjs.org/@patternfly/react-core/-/react-core-4.214.1.tgz;, - "integrity": "sha512-XHEqXpnBEDyLVdAEDOYlGqFHnN43eNLSD5HABB99xO6541JV9MRnbxs0+v9iYnfhcKh/8bhA9ITXnUi3f2PEvg==", - "dependencies": { -"@patternfly/react-icons": "^4.65.1", -"@patternfly/react-styles": "^4.64.1", -"@patternfly/react-tokens": "^4.66.1", -"focus-trap": "6.2.2", + "version": "4.239.0", + "resolved": "https://registry.npmjs.org/@patternfly/react-core/-/react-core-4.239.0.tgz;, + "integrity": "sha512-6CmYABCJLUXTlzCk6C3WouMNZpS0BCT+aHU8CvYpFQ/NrpYp3MJaDsYbqgCRWV42rmIO5iXun/4WhXBJzJEoQg==", + "dependencies": { +"@patternfly/react-icons": "^4.90.0", +"@patternfly/react-styles": "^4.89.0", +"@patternfly/react-tokens": "^4.91.0", +"focus-trap": "6.9.2", "react-dropzone": "9.0.0", "tippy.js": "5.1.2", "tslib": "^2.0.0" @@ -2128,28 +2155,28 @@ } }, "node_modules/@patternfly/react-icons": { - "version": "4.75.1", - "resolved": "https://registry.npmjs.org/@patternfly/react-icons/-/react-icons-4.75.1.tgz;, - "integrity": "sha512-1ly8SVi/kcc0zkiViOjUd8D5BEr7GeqWGmDPuDSBtD60l1dYf3hZc44IWFVkRM/oHZML/musdrJkLfh4MDqX9w==", + "version": "4.90.0", + "resolved":
[camel-karavan] branch main updated (b6225c2 -> e8b1ef0)
This is an automated email from the ASF dual-hosted git repository. marat pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-karavan.git from b6225c2 Update patternfly new 7fc5e4f Set theme for Expression editor new e8b1ef0 Expression editor in VSCode 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: .../src/designer/rest/RestDesigner.tsx | 2 +- .../src/designer/route/DslProperties.tsx | 7 +- .../src/designer/route/RouteDesigner.tsx | 2 +- .../designer/route/property/DataFormatField.tsx| 2 + .../designer/route/property/DslPropertyField.tsx | 22 +- .../designer/route/property/ExpressionField.tsx| 2 + .../src/designer/route/property/ObjectField.tsx| 4 +- karavan-vscode/package-lock.json | 252 +++-- karavan-vscode/package.json| 12 +- 9 files changed, 170 insertions(+), 135 deletions(-)
[camel-karavan] 02/02: Update patternfly
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 commit b6225c28968f76e78c0ba79d599376d83fb9b9ce Author: Marat Gubaidullin AuthorDate: Wed Sep 21 19:26:51 2022 -0400 Update patternfly --- karavan-app/src/main/webapp/package-lock.json | 170 +- karavan-app/src/main/webapp/package.json | 8 +- 2 files changed, 90 insertions(+), 88 deletions(-) diff --git a/karavan-app/src/main/webapp/package-lock.json b/karavan-app/src/main/webapp/package-lock.json index f85754f..4cbe76e 100644 --- a/karavan-app/src/main/webapp/package-lock.json +++ b/karavan-app/src/main/webapp/package-lock.json @@ -9,10 +9,10 @@ "version": "3.18.4", "dependencies": { "@monaco-editor/react": "4.3.1", -"@patternfly/patternfly": "4.194.4", -"@patternfly/react-charts": "^6.74.3", -"@patternfly/react-core": "4.214.1", -"@patternfly/react-table": "^4.83.1", +"@patternfly/patternfly": "4.215.1", +"@patternfly/react-charts": "^6.92.0", +"@patternfly/react-core": "4.239.0", +"@patternfly/react-table": "^4.108.0", "@reactour/tour": "^2.10.2", "@types/js-yaml": "^4.0.5", "@types/uuid": "^8.3.4", @@ -2894,17 +2894,17 @@ } }, "node_modules/@patternfly/patternfly": { - "version": "4.194.4", - "resolved": "https://registry.npmjs.org/@patternfly/patternfly/-/patternfly-4.194.4.tgz;, - "integrity": "sha512-SJxr502v0xXk1N5OiPLunD9pdKvHp5XXJLXcD5lIPrimjjUcy46m48X8YONjDvnC/Y5xV92UI2KxoCVucE34eA==" + "version": "4.215.1", + "resolved": "https://registry.npmjs.org/@patternfly/patternfly/-/patternfly-4.215.1.tgz;, + "integrity": "sha512-coOipHiQs92OYYO+pWfukEKOkY+VUL6ptusTxh98DvIu/tQYzJDJxEmzYXmwqxORM19oLxAJEGktPoLNKElj6A==" }, "node_modules/@patternfly/react-charts": { - "version": "6.74.3", - "resolved": "https://registry.npmjs.org/@patternfly/react-charts/-/react-charts-6.74.3.tgz;, - "integrity": "sha512-kMjLUQkdgWOR2ZsKFdsCLAu8Z4aXg6Cl/Wz2alm08mr8KR/R05CzFbQTME/blhsZmreTpUW+59Rx+h3Q0/tMJw==", + "version": "6.92.0", + "resolved": "https://registry.npmjs.org/@patternfly/react-charts/-/react-charts-6.92.0.tgz;, + "integrity": "sha512-aQl+L7zH/tWX00L2xI6B0414xweaIocR98wbyhXLi6zknkhcAUcE2zITFIW4+EsU+qPvUlptwRiRufoH8/BlEw==", "dependencies": { -"@patternfly/react-styles": "^4.71.3", -"@patternfly/react-tokens": "^4.73.3", +"@patternfly/react-styles": "^4.89.0", +"@patternfly/react-tokens": "^4.91.0", "hoist-non-react-statics": "^3.3.0", "lodash": "^4.17.19", "tslib": "^2.0.0", @@ -2914,6 +2914,7 @@ "victory-chart": "^36.2.1", "victory-core": "^36.2.1", "victory-create-container": "^36.2.1", +"victory-cursor-container": "^36.2.1", "victory-group": "^36.2.1", "victory-legend": "^36.2.1", "victory-line": "^36.2.1", @@ -2930,14 +2931,14 @@ } }, "node_modules/@patternfly/react-core": { - "version": "4.214.1", - "resolved": "https://registry.npmjs.org/@patternfly/react-core/-/react-core-4.214.1.tgz;, - "integrity": "sha512-XHEqXpnBEDyLVdAEDOYlGqFHnN43eNLSD5HABB99xO6541JV9MRnbxs0+v9iYnfhcKh/8bhA9ITXnUi3f2PEvg==", - "dependencies": { -"@patternfly/react-icons": "^4.65.1", -"@patternfly/react-styles": "^4.64.1", -"@patternfly/react-tokens": "^4.66.1", -"focus-trap": "6.2.2", + "version": "4.239.0", + "resolved": "https://registry.npmjs.org/@patternfly/react-core/-/react-core-4.239.0.tgz;, + "integrity": "sha512-6CmYABCJLUXTlzCk6C3WouMNZpS0BCT+aHU8CvYpFQ/NrpYp3MJaDsYbqgCRWV42rmIO5iXun/4WhXBJzJEoQg==", + "dependencies": { +"@patternfly/react-icons": "^4.90.0", +"@patternfly/react-styles": "^4.89.0", +"@patternfly/react-tokens": "^4.91.0", +"focus-trap": "6.9.2", "react-dropzone": "9.0.0", "tippy.js": "5.1.2", "tslib": "^2.0.0" @@ -2948,28 +2949,28 @@ } }, "node_modules/@patternfly/react-icons": { - "version": "4.65.1", - "resolved": "https://registry.npmjs.org/@patternfly/react-icons/-/react-icons-4.65.1.tgz;, - "integrity": "sha512-CUYFRPztFkR7qrXq/0UAhLjeHd8FdjLe4jBjj8tfKc7OXwxDeZczqNFyRMATZpPaduTH7BU2r3OUjQrgAbquWg==", + "version": "4.90.0", + "resolved": "https://registry.npmjs.org/@patternfly/react-icons/-/react-icons-4.90.0.tgz;, + "integrity": "sha512-qEnQKbxbUgyiosiKSkeKEBwmhgJwWEqniIAFyoxj+kpzAdeu7ueWe5iBbqo06mvDOedecFiM5mIE1N0MXwk8Yw==", "peerDependencies": { "react": "^16.8.0 || ^17.0.0", "react-dom": "^16.8.0 || ^17.0.0" } }, "node_modules/@patternfly/react-styles": { - "version": "4.71.3", - "resolved":
[camel-karavan] 01/02: Expression editor
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 commit fee9c2a96104603e2a6e27bc5ce99ccdfbdb7100 Author: Marat Gubaidullin AuthorDate: Wed Sep 21 19:24:46 2022 -0400 Expression editor --- karavan-designer/package-lock.json | 218 + karavan-designer/package.json | 10 +- karavan-designer/src/App.tsx | 2 +- .../designer/route/property/DslPropertyField.tsx | 72 ++- .../designer/route/property/ExpressionField.tsx| 49 ++--- 5 files changed, 237 insertions(+), 114 deletions(-) diff --git a/karavan-designer/package-lock.json b/karavan-designer/package-lock.json index f9e83ae..6ada171 100644 --- a/karavan-designer/package-lock.json +++ b/karavan-designer/package-lock.json @@ -1,17 +1,18 @@ { "name": "karavan-designer", - "version": "3.18.3", + "version": "3.18.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "karavan-designer", - "version": "3.18.3", + "version": "3.18.4", "license": "Apache-2.0", "dependencies": { -"@patternfly/patternfly": "4.194.4", -"@patternfly/react-core": "4.214.1", -"@patternfly/react-table": "^4.83.1", +"@monaco-editor/react": "4.3.1", +"@patternfly/patternfly": "4.215.1", +"@patternfly/react-core": "4.239.0", +"@patternfly/react-table": "^4.108.0", "@reactour/tour": "^2.10.3", "@types/js-yaml": "^4.0.5", "@types/uuid": "8.3.4", @@ -30,11 +31,12 @@ "@types/dagre": "^0.7.47", "@types/react": "^17.0.38", "@types/react-dom": "^17.0.11", -"@types/react-router-dom": "^5.3.3" +"@types/react-router-dom": "^5.3.3", +"monaco-editor": "0.29.1" } }, "../karavan-core": { - "version": "3.18.3", + "version": "3.18.4", "license": "Apache-2.0", "dependencies": { "@types/js-yaml": "^4.0.5", @@ -2856,6 +2858,31 @@ "sourcemap-codec": "1.4.8" } }, +"node_modules/@monaco-editor/loader": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@monaco-editor/loader/-/loader-1.3.2.tgz;, + "integrity": "sha512-BTDbpHl3e47r3AAtpfVFTlAi7WXv4UQ/xZmz8atKl4q7epQV5e7+JbigFDViWF71VBi4IIBdcWP57Hj+OWuc9g==", + "dependencies": { +"state-local": "^1.0.6" + }, + "peerDependencies": { +"monaco-editor": ">= 0.21.0 < 1" + } +}, +"node_modules/@monaco-editor/react": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@monaco-editor/react/-/react-4.3.1.tgz;, + "integrity": "sha512-f+0BK1PP/W5I50hHHmwf11+Ea92E5H1VZXs+wvKplWUWOfyMa1VVwqkJrXjRvbcqHL+XdIGYWhWNdi4McEvnZg==", + "dependencies": { +"@monaco-editor/loader": "^1.2.0", +"prop-types": "^15.7.2" + }, + "peerDependencies": { +"monaco-editor": ">= 0.25.0 < 1", +"react": "^16.8.0 || ^17.0.0", +"react-dom": "^16.8.0 || ^17.0.0" + } +}, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz;, @@ -2889,19 +2916,19 @@ } }, "node_modules/@patternfly/patternfly": { - "version": "4.194.4", - "resolved": "https://registry.npmjs.org/@patternfly/patternfly/-/patternfly-4.194.4.tgz;, - "integrity": "sha512-SJxr502v0xXk1N5OiPLunD9pdKvHp5XXJLXcD5lIPrimjjUcy46m48X8YONjDvnC/Y5xV92UI2KxoCVucE34eA==" + "version": "4.215.1", + "resolved": "https://registry.npmjs.org/@patternfly/patternfly/-/patternfly-4.215.1.tgz;, + "integrity": "sha512-coOipHiQs92OYYO+pWfukEKOkY+VUL6ptusTxh98DvIu/tQYzJDJxEmzYXmwqxORM19oLxAJEGktPoLNKElj6A==" }, "node_modules/@patternfly/react-core": { - "version": "4.214.1", - "resolved": "https://registry.npmjs.org/@patternfly/react-core/-/react-core-4.214.1.tgz;, - "integrity": "sha512-XHEqXpnBEDyLVdAEDOYlGqFHnN43eNLSD5HABB99xO6541JV9MRnbxs0+v9iYnfhcKh/8bhA9ITXnUi3f2PEvg==", - "dependencies": { -"@patternfly/react-icons": "^4.65.1", -"@patternfly/react-styles": "^4.64.1", -"@patternfly/react-tokens": "^4.66.1", -"focus-trap": "6.2.2", + "version": "4.239.0", + "resolved": "https://registry.npmjs.org/@patternfly/react-core/-/react-core-4.239.0.tgz;, + "integrity": "sha512-6CmYABCJLUXTlzCk6C3WouMNZpS0BCT+aHU8CvYpFQ/NrpYp3MJaDsYbqgCRWV42rmIO5iXun/4WhXBJzJEoQg==", + "dependencies": { +"@patternfly/react-icons": "^4.90.0", +"@patternfly/react-styles": "^4.89.0", +"@patternfly/react-tokens": "^4.91.0", +"focus-trap": "6.9.2", "react-dropzone": "9.0.0", "tippy.js": "5.1.2", "tslib": "^2.0.0" @@ -2912,28 +2939,28 @@
[camel-karavan] branch main updated (7b249fa -> b6225c2)
This is an automated email from the ASF dual-hosted git repository. marat pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-karavan.git from 7b249fa Fix ##478 new fee9c2a Expression editor new b6225c2 Update patternfly 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: karavan-app/src/main/webapp/package-lock.json | 170 karavan-app/src/main/webapp/package.json | 8 +- karavan-designer/package-lock.json | 218 + karavan-designer/package.json | 10 +- karavan-designer/src/App.tsx | 2 +- .../designer/route/property/DslPropertyField.tsx | 72 ++- .../designer/route/property/ExpressionField.tsx| 49 ++--- 7 files changed, 327 insertions(+), 202 deletions(-)
[GitHub] [camel-karavan] mgubaidullin commented on issue #480: Failed to send attachment with mail
mgubaidullin commented on issue #480: URL: https://github.com/apache/camel-karavan/issues/480#issuecomment-1254331228 Something like that? ![expression](https://user-images.githubusercontent.com/1379213/191626990-d8d2-248f-4d87-8073-671633ce2904.gif) -- 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: Upgrade OptaPlanner to 8.27.0.Final
This is an automated email from the ASF dual-hosted git repository. aldettinger 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 4489732d14 Upgrade OptaPlanner to 8.27.0.Final 4489732d14 is described below commit 4489732d147c7bad00eb8744fb50b1ed1b8f1d35 Author: James Netherton AuthorDate: Wed Sep 21 13:15:17 2022 +0100 Upgrade OptaPlanner to 8.27.0.Final --- pom.xml | 2 +- poms/bom/src/main/generated/flattened-full-pom.xml| 8 poms/bom/src/main/generated/flattened-reduced-pom.xml | 8 poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml | 8 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/pom.xml b/pom.xml index fa9d1ec753..8f8c404306 100644 --- a/pom.xml +++ b/pom.xml @@ -47,7 +47,7 @@ camel-spring-boot-${camel.major.minor}.x 1.1.2 1.9.5.Final -8.24.1.Final +8.27.0.Final 1.1.2 1.2.0 1.5.0 diff --git a/poms/bom/src/main/generated/flattened-full-pom.xml b/poms/bom/src/main/generated/flattened-full-pom.xml index 312d15a0ef..413be45e9e 100644 --- a/poms/bom/src/main/generated/flattened-full-pom.xml +++ b/poms/bom/src/main/generated/flattened-full-pom.xml @@ -10358,7 +10358,7 @@ org.optaplanner optaplanner-quarkus -8.24.1.Final +8.27.0.Final jakarta.activation @@ -10373,7 +10373,7 @@ org.optaplanner optaplanner-quarkus-deployment -8.24.1.Final +8.27.0.Final jakarta.activation @@ -10388,7 +10388,7 @@ org.optaplanner optaplanner-quarkus-jackson -8.24.1.Final +8.27.0.Final jakarta.activation @@ -10403,7 +10403,7 @@ org.optaplanner optaplanner-quarkus-jackson-deployment -8.24.1.Final +8.27.0.Final jakarta.activation diff --git a/poms/bom/src/main/generated/flattened-reduced-pom.xml b/poms/bom/src/main/generated/flattened-reduced-pom.xml index 5c9993ea7f..6424e6e0a0 100644 --- a/poms/bom/src/main/generated/flattened-reduced-pom.xml +++ b/poms/bom/src/main/generated/flattened-reduced-pom.xml @@ -10329,7 +10329,7 @@ org.optaplanner optaplanner-quarkus -8.24.1.Final +8.27.0.Final jakarta.activation @@ -10344,7 +10344,7 @@ org.optaplanner optaplanner-quarkus-deployment -8.24.1.Final +8.27.0.Final jakarta.activation @@ -10359,7 +10359,7 @@ org.optaplanner optaplanner-quarkus-jackson -8.24.1.Final +8.27.0.Final jakarta.activation @@ -10374,7 +10374,7 @@ org.optaplanner optaplanner-quarkus-jackson-deployment -8.24.1.Final +8.27.0.Final jakarta.activation diff --git a/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml b/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml index 207a4cddda..35804aff8b 100644 --- a/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml +++ b/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml @@ -10329,7 +10329,7 @@ org.optaplanner optaplanner-quarkus -8.24.1.Final +8.27.0.Final jakarta.activation @@ -10344,7 +10344,7 @@ org.optaplanner optaplanner-quarkus-deployment -8.24.1.Final +8.27.0.Final jakarta.activation @@ -10359,7 +10359,7 @@ org.optaplanner optaplanner-quarkus-jackson -8.24.1.Final +8.27.0.Final jakarta.activation @@ -10374,7 +10374,7 @@ org.optaplanner optaplanner-quarkus-jackson-deployment -8.24.1.Final +8.27.0.Final jakarta.activation
[GitHub] [camel-quarkus] aldettinger merged pull request #4118: Upgrade OptaPlanner to 8.27.0.Final
aldettinger merged PR #4118: URL: https://github.com/apache/camel-quarkus/pull/4118 -- 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-karavan] mgubaidullin commented on issue #478: Beans properties should hide sensitive options
mgubaidullin commented on issue #478: URL: https://github.com/apache/camel-karavan/issues/478#issuecomment-1254170364 Done -- 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-karavan] mgubaidullin closed issue #478: Beans properties should hide sensitive options
mgubaidullin closed issue #478: Beans properties should hide sensitive options URL: https://github.com/apache/camel-karavan/issues/478 -- 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] 01/02: Generate List of Sensitive keys from camel core
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 commit 7a54e14eb9175c14bcfac716ad4d08ad186238dd Author: Marat Gubaidullin AuthorDate: Wed Sep 21 15:42:13 2022 -0400 Generate List of Sensitive keys from camel core --- karavan-core/src/core/model/CamelMetadata.ts | 71 ++ .../karavan/generator/CamelMetadataGenerator.java | 9 +++ 2 files changed, 80 insertions(+) diff --git a/karavan-core/src/core/model/CamelMetadata.ts b/karavan-core/src/core/model/CamelMetadata.ts index 81f0387..4725b96 100644 --- a/karavan-core/src/core/model/CamelMetadata.ts +++ b/karavan-core/src/core/model/CamelMetadata.ts @@ -2034,3 +2034,74 @@ export const CamelModelMetadata: ElementMeta[] = [ ]), ] +export const SensitiveKeys: string[] = [ +"oauthtokenurl", +"connectionstring", +"sslpassword", +"keypassword", +"accesstoken", +"accountkey", +"proxyauthusername", +"sslkeypassword", +"userpassword", +"acltoken", +"password", +"accesskey", +"consumersecret", +"proxyuser", +"oauthclientsecret", +"accesstokensecret", +"securerandom", +"keystore", +"refreshtoken", +"publishkey", +"accountsid", +"emailaddress", +"blobaccesskey", +"publickeyid", +"p12filename", +"ssltruststorepassword", +"fulltokenid", +"userauthenticationcredentials", +"passphrase", +"privatekeyfile", +"zookeeperpassword", +"apiuser", +"cipherkey", +"oauthappid", +"authkey", +"privatekeyname", +"systemid", +"oauthappsecret", +"secretkey", +"privatekeypassword", +"login", +"sourceblobaccesskey", +"apipassword", +"privatekey", +"sslkeystorepassword", +"oauthtoken", +"verificationcode", +"subscribekey", +"certresourcepassword", +"keystorepassword", +"oauthclientid", +"clientsecret", +"tokencredential", +"blobstoragesharedkeycredential", +"proxypassword", +"queueownerawsaccountid", +"token", +"proxyauthpassword", +"authorizationtoken", +"sharedaccesskey", +"apiusername", +"sasljaasconfig", +"httpproxypassword", +"oauthaccesstoken", +"user", +"passcode", +"consumerkey", +"sslkeystore", +"username" +] \ No newline at end of file diff --git a/karavan-generator/src/main/java/org/apache/camel/karavan/generator/CamelMetadataGenerator.java b/karavan-generator/src/main/java/org/apache/camel/karavan/generator/CamelMetadataGenerator.java index c2b724b..a67b087 100644 --- a/karavan-generator/src/main/java/org/apache/camel/karavan/generator/CamelMetadataGenerator.java +++ b/karavan-generator/src/main/java/org/apache/camel/karavan/generator/CamelMetadataGenerator.java @@ -17,6 +17,7 @@ package org.apache.camel.karavan.generator; import io.vertx.core.json.JsonObject; +import org.apache.camel.util.SensitiveUtils; import java.util.*; import java.util.stream.Collectors; @@ -135,6 +136,14 @@ public final class CamelMetadataGenerator extends AbstractGenerator { camelModel.append(getMetadataCode("CamelModelMetadata", classProps, stepNames, definitions, "model")); +// add Sensitive keys +List sk = new ArrayList(SensitiveUtils.getSensitiveKeys()); +camelModel.append("export const SensitiveKeys: string[] = [\n"); +for (int i = 0; i < sk.size(); i++) { +camelModel.append(" \"").append(sk.get(i)).append("\"").append(i < sk.size()-1 ? "," : "").append("\n"); +} +camelModel.append("]"); + writeFileText(targetModel, camelModel.toString()); }
[camel-karavan] branch main updated (f8602a1 -> 7b249fa)
This is an automated email from the ASF dual-hosted git repository. marat pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-karavan.git from f8602a1 Cleanup new 7a54e14 Generate List of Sensitive keys from camel core new 7b249fa Fix ##478 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: karavan-core/src/core/model/CamelMetadata.ts | 71 ++ karavan-designer/src/App.tsx | 2 +- .../src/designer/beans/BeanProperties.tsx | 44 ++ .../karavan/generator/CamelMetadataGenerator.java | 9 +++ 4 files changed, 113 insertions(+), 13 deletions(-)
[camel-karavan] 02/02: Fix ##478
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 commit 7b249fa9f1764cba82bcc10da37fa56ca8022b6a Author: Marat Gubaidullin AuthorDate: Wed Sep 21 16:02:12 2022 -0400 Fix ##478 --- karavan-designer/src/App.tsx | 2 +- .../src/designer/beans/BeanProperties.tsx | 44 -- 2 files changed, 33 insertions(+), 13 deletions(-) diff --git a/karavan-designer/src/App.tsx b/karavan-designer/src/App.tsx index 276c971..57145bf 100644 --- a/karavan-designer/src/App.tsx +++ b/karavan-designer/src/App.tsx @@ -139,7 +139,7 @@ class App extends React.Component { save(filename: string, yaml: string, propertyOnly: boolean) { // console.log(filename); -// console.log(yaml); +console.log(yaml); // console.log(propertyOnly); } diff --git a/karavan-designer/src/designer/beans/BeanProperties.tsx b/karavan-designer/src/designer/beans/BeanProperties.tsx index 3832a49..e6e5f59 100644 --- a/karavan-designer/src/designer/beans/BeanProperties.tsx +++ b/karavan-designer/src/designer/beans/BeanProperties.tsx @@ -27,6 +27,7 @@ import { } from "karavan-core/lib/model/CamelDefinition"; import {Integration} from "karavan-core/lib/model/IntegrationDefinition"; import {CamelUtil} from "karavan-core/lib/api/CamelUtil"; +import {SensitiveKeys} from "karavan-core/lib/model/CamelMetadata"; import {v4 as uuidv4} from "uuid"; import DeleteIcon from "@patternfly/react-icons/dist/js/icons/times-icon"; import AddIcon from "@patternfly/react-icons/dist/js/icons/plus-circle-icon"; @@ -36,6 +37,8 @@ import HelpIcon from "@patternfly/react-icons/dist/js/icons/help-icon"; import {KubernetesSelector} from "../route/property/KubernetesSelector"; import KubernetesIcon from "@patternfly/react-icons/dist/js/icons/openshift-icon"; import {KubernetesAPI} from "../utils/KubernetesAPI"; +import ShowIcon from "@patternfly/react-icons/dist/js/icons/eye-icon"; +import HideIcon from "@patternfly/react-icons/dist/js/icons/eye-slash-icon"; interface Props { @@ -48,7 +51,7 @@ interface Props { interface State { bean?: NamedBeanDefinition -properties: Map +properties: Map key: string, showKubernetesSelector: boolean kubernetesSelectorUuid?: string @@ -57,9 +60,9 @@ interface State { export class BeanProperties extends React.Component { -preparePropertiesMap = (properties: any): Map => { -const result = new Map(); -Object.keys(properties).forEach((k, i, a) => result.set(uuidv4(), [k, properties[k]])); +preparePropertiesMap = (properties: any): Map => { +const result = new Map(); +Object.keys(properties).forEach((k, i, a) => result.set(uuidv4(), [k, properties[k], false])); return result; } @@ -67,7 +70,7 @@ export class BeanProperties extends React.Component { bean: this.props.bean, key: '', showKubernetesSelector: false, -properties: this.props.bean?.properties ? this.preparePropertiesMap(this.props.bean?.properties) : new Map() +properties: this.props.bean?.properties ? this.preparePropertiesMap(this.props.bean?.properties) : new Map() }; componentDidUpdate = (prevProps: Readonly, prevState: Readonly, snapshot?: any) => { @@ -87,7 +90,7 @@ export class BeanProperties extends React.Component { setBean = (bean?: NamedBeanDefinition) => { this.setState({ bean: bean, -properties: bean?.properties ? this.preparePropertiesMap(bean.properties) : new Map() +properties: bean?.properties ? this.preparePropertiesMap(bean.properties) : new Map() }); } @@ -100,9 +103,9 @@ export class BeanProperties extends React.Component { } } -propertyChanged = (uuid: string, key: string, value: string) => { +propertyChanged = (uuid: string, key: string, value: string, showPassword: boolean) => { this.setState(state => { -state.properties.set(uuid, [key, value]); +state.properties.set(uuid, [key, value, showPassword]); return {properties: state.properties, key: Math.random().toString()}; }) } @@ -119,7 +122,7 @@ export class BeanProperties extends React.Component { const uuid = this.state.kubernetesSelectorUuid; if (propertyId && uuid){ if (value.startsWith("config") || value.startsWith("secret")) value = "{{" + value + "}}"; -this.propertyChanged(uuid, propertyId, value); +this.propertyChanged(uuid, propertyId, value, false); this.setState({showKubernetesSelector: false, kubernetesSelectorProperty: undefined}) } } @@ -194,9 +197,12 @@ export class BeanProperties extends React.Component { const i = v[0]; const key =
[GitHub] [camel-quarkus] gastaldi closed pull request #4120: Bump quarkus-jgit to 2.2.0
gastaldi closed pull request #4120: Bump quarkus-jgit to 2.2.0 URL: https://github.com/apache/camel-quarkus/pull/4120 -- 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] gastaldi opened a new pull request, #4120: Bump quarkus-jgit to 2.2.0
gastaldi opened a new pull request, #4120: URL: https://github.com/apache/camel-quarkus/pull/4120 -- 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: Cleanup
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 f8602a1 Cleanup f8602a1 is described below commit f8602a15e0bfa95da679e7c16833f48936e09929 Author: Marat Gubaidullin AuthorDate: Wed Sep 21 14:46:54 2022 -0400 Cleanup --- karavan-app/{Dockerfile.distroless.dockerignore => .dockerignore} | 3 ++- karavan-app/Dockerfile.distroless.dockerignore | 3 ++- karavan-app/pom.xml| 7 +-- .../main/java/org/apache/camel/karavan/service/StatusService.java | 2 +- karavan-app/src/main/resources/application.properties | 2 +- karavan-app/src/main/webapp/package-lock.json | 6 +++--- karavan-app/src/main/webapp/src/projects/ProjectInfo.tsx | 1 + 7 files changed, 15 insertions(+), 9 deletions(-) diff --git a/karavan-app/Dockerfile.distroless.dockerignore b/karavan-app/.dockerignore similarity index 66% copy from karavan-app/Dockerfile.distroless.dockerignore copy to karavan-app/.dockerignore index 94810d0..855da0f 100644 --- a/karavan-app/Dockerfile.distroless.dockerignore +++ b/karavan-app/.dockerignore @@ -2,4 +2,5 @@ !target/*-runner !target/*-runner.jar !target/lib/* -!target/quarkus-app/* \ No newline at end of file +!target/quarkus-app/* +src/* \ No newline at end of file diff --git a/karavan-app/Dockerfile.distroless.dockerignore b/karavan-app/Dockerfile.distroless.dockerignore index 94810d0..855da0f 100644 --- a/karavan-app/Dockerfile.distroless.dockerignore +++ b/karavan-app/Dockerfile.distroless.dockerignore @@ -2,4 +2,5 @@ !target/*-runner !target/*-runner.jar !target/lib/* -!target/quarkus-app/* \ No newline at end of file +!target/quarkus-app/* +src/* \ No newline at end of file diff --git a/karavan-app/pom.xml b/karavan-app/pom.xml index 0223375..9c8aab1 100644 --- a/karavan-app/pom.xml +++ b/karavan-app/pom.xml @@ -32,7 +32,7 @@ 2.11.2.Final 3.0.0-M5 0.9.0 -3.18.1 +3.18.2 @@ -91,6 +91,10 @@ io.quarkus quarkus-openshift-client + +io.quarkus +quarkus-minikube + io.quarkus quarkus-oidc @@ -131,7 +135,6 @@ io.quarkus quarkus-container-image-docker -compile io.quarkus diff --git a/karavan-app/src/main/java/org/apache/camel/karavan/service/StatusService.java b/karavan-app/src/main/java/org/apache/camel/karavan/service/StatusService.java index 0428d41..a947236 100644 --- a/karavan-app/src/main/java/org/apache/camel/karavan/service/StatusService.java +++ b/karavan-app/src/main/java/org/apache/camel/karavan/service/StatusService.java @@ -84,7 +84,7 @@ public class StatusService { } else if (project.getDeployed() && !hasDeployment) { project.setDeployed(false); infinispanService.saveProject(project); -//infinispanService.saveProjectStatus(new ProjectStatus(project.getProjectId(), List.of(), System.currentTimeMillis())); +infinispanService.saveProjectStatus(new ProjectStatus(project.getProjectId(), List.of(), System.currentTimeMillis())); } } }); diff --git a/karavan-app/src/main/resources/application.properties b/karavan-app/src/main/resources/application.properties index c58c496..63e986e 100644 --- a/karavan-app/src/main/resources/application.properties +++ b/karavan-app/src/main/resources/application.properties @@ -19,7 +19,7 @@ karavan.kamelets-git-main=main karavan.config.group-id=org.camel.karavan.demo karavan.config.image-group=karavan karavan.config.runtime=QUARKUS -karavan.config.runtime-version=2.11.2.Final +karavan.config.runtime-version=2.12.2.Final karavan.config.status-threshold=1000 karavan.config.environments[0].name=dev diff --git a/karavan-app/src/main/webapp/package-lock.json b/karavan-app/src/main/webapp/package-lock.json index 43fcfb8..f85754f 100644 --- a/karavan-app/src/main/webapp/package-lock.json +++ b/karavan-app/src/main/webapp/package-lock.json @@ -1,12 +1,12 @@ { "name": "karavan", - "version": "3.18.3", + "version": "3.18.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "karavan", - "version": "3.18.3", + "version": "3.18.4", "dependencies": { "@monaco-editor/react": "4.3.1", "@patternfly/patternfly": "4.194.4", @@ -42,7 +42,7 @@ } }, "../../../../karavan-core": { - "version": "3.18.3", + "version": "3.18.4", "license": "Apache-2.0", "dependencies": { "@types/js-yaml": "^4.0.5", diff --git
[GitHub] [camel-kafka-connector] oscerd commented on issue #1433: CamelSalesforcesourceSourceConnector: Failed to resolve endpoint error
oscerd commented on issue #1433: URL: https://github.com/apache/camel-kafka-connector/issues/1433#issuecomment-1254062886 Please try with camel-kafka-connector 3.18.1 just released. It brings in camel-kamelets 0.9.0 where there is a fix for this. -- 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 (c6cd3d0163e -> 457e7ab75ac)
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 discard c6cd3d0163e Regen for commit 70058e8f34157fbd5930f218d1eb1a709d53e024 add 457e7ab75ac Regen for commit c9fee17ec5a16128d7e72780adb3cbc8cd764ce1 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 (c6cd3d0163e) \ N -- N -- N refs/heads/regen_bot (457e7ab75ac) 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] [camel] github-actions[bot] closed pull request #8406: Generated sources regen
github-actions[bot] closed pull request #8406: Generated sources regen URL: https://github.com/apache/camel/pull/8406 -- 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-kafka-connector] mdimas commented on issue #1433: CamelSalesforcesourceSourceConnector: Failed to resolve endpoint error
mdimas commented on issue #1433: URL: https://github.com/apache/camel-kafka-connector/issues/1433#issuecomment-1254054831 This seems to be related to the issue highlighted here: https://stackoverflow.com/questions/72121976/camel-salesforce-kafka-source-connector-does-not-start, where it says "This type of settings should be done at component level not at endpoint level". -- 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-kafka-connector] mdimas opened a new issue, #1433: CamelSalesforcesourceSourceConnector: Failed to resolve endpoint error
mdimas opened a new issue, #1433: URL: https://github.com/apache/camel-kafka-connector/issues/1433 Given the following configuration options: ``` "name":"contacts-from-salesforce", "connector.class":"org.apache.camel.kafkaconnector.salesforcesource.CamelSalesforcesourceSourceConnector", "tasks.max":1, "key.converter":"org.apache.kafka.connect.storage.StringConverter", "value.converter":"org.apache.kafka.connect.storage.StringConverter", "camel.kamelet.salesforce-source.query":"SELECT Id, Name, Email, Phone FROM Contact", "camel.kamelet.salesforce-source.topicName":"salesforce-contacts", "camel.kamelet.salesforce-source.loginUrl":"https://my--sandbox.my.salesforce.com;, "camel.kamelet.salesforce-source.notifyForFields":"ALL", "camel.kamelet.salesforce-source.clientId":"CLIENT_ID", "camel.kamelet.salesforce-source.clientSecret":"CLIENT_SECRET", "camel.kamelet.salesforce-source.userName":"USER_NAME", "camel.kamelet.salesforce-source.password":"PASSWORD", ``` the connector is getting this error on startup: ``` Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: local-salesforce-6://salesforce-contacts?clientId=CLIENT_ID=xx=https%3A%2F%my--sandbox.my.salesforce.com=ALL=true=false=false=false=xx=SELECT+Id%2C+Name%2C+Email%2C+Phone+FROM+Contact=true=USER_NAME due to: There are 5 parameters that couldn't be set on the endpoint. Check the uri if the parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{clientId=CLIENT_ID, clientSecret=CLIENT_SECRET, loginUrl=https://my--sandbox.my.salesforce.com, password=PASSWORD, userName=USER_NAME}] at org.apache.camel.support.DefaultComponent.validateParameters(DefaultComponent.java:299) at org.apache.camel.support.DefaultComponent.createEndpoint(DefaultComponent.java:192) at org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:934) ``` -- 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
[camel] branch regen_bot updated (a856cc09651 -> c6cd3d0163e)
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 a856cc09651 Regen for commit c9fee17ec5a16128d7e72780adb3cbc8cd764ce1 add 55f8e2e69b6 Fixed javadoc in GCP Vault Configuration add 70058e8f341 CAMEL-18535: Upgrade HBase to 2.5.0 (#8404) add c6cd3d0163e Regen for commit 70058e8f34157fbd5930f218d1eb1a709d53e024 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 (a856cc09651) \ N -- N -- N refs/heads/regen_bot (c6cd3d0163e) 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 +- components/camel-hbase/pom.xml| 4 .../src/main/java/org/apache/camel/vault/GcpVaultConfiguration.java | 2 +- parent/pom.xml| 2 +- test-infra/camel-test-infra-hbase/pom.xml | 4 5 files changed, 11 insertions(+), 3 deletions(-)
[GitHub] [camel] github-actions[bot] opened a new pull request, #8406: Generated sources regen
github-actions[bot] opened a new pull request, #8406: URL: https://github.com/apache/camel/pull/8406 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
[GitHub] [camel] oscerd merged pull request #8405: Generated sources regen
oscerd merged PR #8405: URL: https://github.com/apache/camel/pull/8405 -- 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 (943d4a0a7ea -> a856cc09651)
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 943d4a0a7ea Improving knative documentation for ProducerTemplate usage (#8403) add a0266e8f8cf CAMEL-18506: updated camel-websocket documentation add 6f76693d284 CAMEL-18496: removed camel-ahc and camel-ahc-ws add c9fee17ec5a CAMEL-17780: camel-elasticsearch - Add doc about the SB component (#8402) add a856cc09651 Regen for commit c9fee17ec5a16128d7e72780adb3cbc8cd764ce1 No new revisions were added by this update. Summary of changes: apache-camel/src/main/release/README.txt |1 - bom/camel-bom/pom.xml | 10 - camel-dependencies/pom.xml |1 - catalog/camel-allcomponents/pom.xml|8 - .../org/apache/camel/catalog/components.properties |3 - .../apache/camel/catalog/components/ahc-ws.json| 58 - .../apache/camel/catalog/components/ahc-wss.json | 58 - .../org/apache/camel/catalog/components/ahc.json | 64 - components/camel-ahc-ws/pom.xml| 105 -- .../component/ahc/ws/WsComponentConfigurer.java| 49 - .../component/ahc/ws/WsEndpointConfigurer.java | 73 - .../component/ahc/ws/WsEndpointUriFactory.java | 95 -- .../services/org/apache/camel/component.properties |7 - .../services/org/apache/camel/component/ahc-ws |2 - .../services/org/apache/camel/component/ahc-wss|2 - .../org/apache/camel/configurer/ahc-ws-component |2 - .../org/apache/camel/configurer/ahc-ws-endpoint|2 - .../org/apache/camel/urifactory/ahc-ws-endpoint|2 - .../org/apache/camel/urifactory/ahc-wss-endpoint |2 - .../org/apache/camel/component/ahc/ws/ahc-ws.json | 58 - .../org/apache/camel/component/ahc/ws/ahc-wss.json | 58 - .../src/main/docs/ahc-ws-component.adoc| 118 -- .../apache/camel/component/ahc/ws/WsComponent.java | 43 - .../apache/camel/component/ahc/ws/WsConstants.java | 33 - .../apache/camel/component/ahc/ws/WsConsumer.java | 87 -- .../apache/camel/component/ahc/ws/WsEndpoint.java | 238 --- .../apache/camel/component/ahc/ws/WsProducer.java | 142 -- .../camel/component/ahc/ws/TestMessages.java | 41 - .../apache/camel/component/ahc/ws/TestServlet.java | 74 - .../camel/component/ahc/ws/TestServletFactory.java | 28 - .../component/ahc/ws/WsProducerConsumerTest.java | 176 --- .../camel/component/ahc/ws/WsProducerTest.java | 50 - .../camel/component/ahc/ws/WsProducerTestBase.java | 180 --- .../ahc/ws/WsProducerUsingStreamingTest.java | 67 - .../camel/component/ahc/ws/WssProducerTest.java| 110 -- .../src/test/resources/jsse/localhost.p12 | Bin 2533 -> 0 bytes .../src/test/resources/log4j2.properties | 31 - components/camel-ahc/pom.xml | 159 -- .../component/ahc/AhcComponentConfigurer.java | 91 -- .../camel/component/ahc/AhcEndpointConfigurer.java | 129 -- .../camel/component/ahc/AhcEndpointUriFactory.java | 84 - .../services/org/apache/camel/component.properties |7 - .../services/org/apache/camel/component/ahc|2 - .../org/apache/camel/configurer/ahc-component |2 - .../org/apache/camel/configurer/ahc-endpoint |2 - .../org/apache/camel/urifactory/ahc-endpoint |2 - .../org/apache/camel/component/ahc/ahc.json| 64 - .../camel-ahc/src/main/docs/ahc-component.adoc | 334 .../org/apache/camel/component/ahc/AhcBinding.java | 89 -- .../apache/camel/component/ahc/AhcComponent.java | 267 .../apache/camel/component/ahc/AhcConstants.java | 62 - .../apache/camel/component/ahc/AhcEndpoint.java| 331 .../component/ahc/AhcOperationFailedException.java | 79 - .../apache/camel/component/ahc/AhcProducer.java| 185 --- .../camel/component/ahc/DefaultAhcBinding.java | 388 - .../component/ahc/HttpHeaderFilterStrategy.java| 54 - .../ahc/HttpProtocolHeaderFilterStrategy.java | 87 -- .../camel/component/ahc/helper/AhcHelper.java | 209 --- .../ahc/AhcBridgeEndpointPathWithSpacesTest.java | 64 - .../camel/component/ahc/AhcBridgeEndpointTest.java | 77 - .../component/ahc/AhcClientConfigRealmUriTest.java | 45 - .../component/ahc/AhcClientConfigUriTest.java | 42 - ...ClientConfigGlobalSslContextParametersTest.java | 41 - ...ponentClientConfigSslContextParametersTest.java | 46 - .../ahc/AhcComponentClientConfigTest.java | 76 - ...entConfigWithClientConfigUriParametersTest.java | 44 - .../ahc/AhcComponentCustomClientConfigTest.java| 73 - .../ahc/AhcComponentNettyClientConfigTest.java | 75 - .../camel/component/ahc/AhcGoogleManualTest.java | 53 - .../ahc/AhcOperationFailedExceptionTest.java | 35 -
[GitHub] [camel] github-actions[bot] opened a new pull request, #8405: Generated sources regen
github-actions[bot] opened a new pull request, #8405: URL: https://github.com/apache/camel/pull/8405 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] branch main updated: CAMEL-18535: Upgrade HBase to 2.5.0 (#8404)
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 70058e8f341 CAMEL-18535: Upgrade HBase to 2.5.0 (#8404) 70058e8f341 is described below commit 70058e8f34157fbd5930f218d1eb1a709d53e024 Author: James Netherton AuthorDate: Wed Sep 21 18:07:03 2022 +0100 CAMEL-18535: Upgrade HBase to 2.5.0 (#8404) --- camel-dependencies/pom.xml| 2 +- components/camel-hbase/pom.xml| 4 parent/pom.xml| 2 +- test-infra/camel-test-infra-hbase/pom.xml | 4 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml index 9e087eb9257..2f555a2bb51 100644 --- a/camel-dependencies/pom.xml +++ b/camel-dependencies/pom.xml @@ -248,7 +248,7 @@ 1.11 1.22 5.1.3 -2.4.12 +2.5.0 2.1.11 6.2.4.Final 5.6.10.Final diff --git a/components/camel-hbase/pom.xml b/components/camel-hbase/pom.xml index e9ca0ba7e6c..628f59ca5ef 100644 --- a/components/camel-hbase/pom.xml +++ b/components/camel-hbase/pom.xml @@ -45,6 +45,10 @@ org.slf4j slf4j-log4j12 + +org.slf4j +slf4j-reload4j + log4j log4j diff --git a/parent/pom.xml b/parent/pom.xml index 58f740ab3c1..6090ac49ffa 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -229,7 +229,7 @@ 1.11 1.22 5.1.3 -2.4.12 +2.5.0 2.1.11 6.2.4.Final 5.6.10.Final diff --git a/test-infra/camel-test-infra-hbase/pom.xml b/test-infra/camel-test-infra-hbase/pom.xml index 587e0ef6b3a..22a74e736db 100644 --- a/test-infra/camel-test-infra-hbase/pom.xml +++ b/test-infra/camel-test-infra-hbase/pom.xml @@ -54,6 +54,10 @@ org.slf4j slf4j-log4j12 + +org.slf4j +slf4j-reload4j + log4j log4j
[GitHub] [camel] davsclaus merged pull request #8404: CAMEL-18535: Upgrade HBase to 2.5.0
davsclaus merged PR #8404: URL: https://github.com/apache/camel/pull/8404 -- 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: Fixed javadoc in GCP Vault Configuration
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 55f8e2e69b6 Fixed javadoc in GCP Vault Configuration 55f8e2e69b6 is described below commit 55f8e2e69b65647f46890e1222d12677b86b54a9 Author: Andrea Cosentino AuthorDate: Wed Sep 21 18:28:45 2022 +0200 Fixed javadoc in GCP Vault Configuration --- .../src/main/java/org/apache/camel/vault/GcpVaultConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/camel-api/src/main/java/org/apache/camel/vault/GcpVaultConfiguration.java b/core/camel-api/src/main/java/org/apache/camel/vault/GcpVaultConfiguration.java index 2cdebd2150c..67995c67434 100644 --- a/core/camel-api/src/main/java/org/apache/camel/vault/GcpVaultConfiguration.java +++ b/core/camel-api/src/main/java/org/apache/camel/vault/GcpVaultConfiguration.java @@ -19,7 +19,7 @@ package org.apache.camel.vault; import org.apache.camel.spi.Metadata; /** - * Configuration for access to AWS Secret. + * Configuration for access to GCP Secret Manager. */ public class GcpVaultConfiguration extends VaultConfiguration {
[GitHub] [camel] essobedo merged pull request #8402: CAMEL-17780: camel-elasticsearch - Add doc about the SB component
essobedo merged PR #8402: URL: https://github.com/apache/camel/pull/8402 -- 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-17780: camel-elasticsearch - Add doc about the SB component (#8402)
This is an automated email from the ASF dual-hosted git repository. nfilotto 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 c9fee17ec5a CAMEL-17780: camel-elasticsearch - Add doc about the SB component (#8402) c9fee17ec5a is described below commit c9fee17ec5a16128d7e72780adb3cbc8cd764ce1 Author: Nicolas Filotto AuthorDate: Wed Sep 21 18:18:50 2022 +0200 CAMEL-17780: camel-elasticsearch - Add doc about the SB component (#8402) ## Motivation A new component `camel-elasticsearch-starter` is available, and we would like to have the corresponding doc about it. ## Modifications: * Add the doc section about the corresponding starter * Replicate the doc related to the configuration of the sniffer --- .../src/main/docs/elasticsearch-component.adoc| 15 +++ 1 file changed, 15 insertions(+) diff --git a/components/camel-elasticsearch/src/main/docs/elasticsearch-component.adoc b/components/camel-elasticsearch/src/main/docs/elasticsearch-component.adoc index acaf630c5df..64fbcdb42da 100644 --- a/components/camel-elasticsearch/src/main/docs/elasticsearch-component.adoc +++ b/components/camel-elasticsearch/src/main/docs/elasticsearch-component.adoc @@ -6,6 +6,8 @@ :since: 3.19 :supportlevel: Preview :component-header: Only producer is supported +//Manually maintained attributes +:camel-spring-boot-name: elasticsearch *Since Camel {since}* @@ -275,3 +277,16 @@ List> response = template.requestBody("direct:multiSe For all the search operations, it is possible to indicate the type of document to retrieve in order to get the result already unmarshalled with the expected type. The document type can be set using the header "documentClass" or via the uri parameter of the same name. + +== Disable Sniffer when using Spring Boot + +When Spring Boot is on the classpath the Sniffer client for Elasticsearch is enabled by default. This option can be disabled in the Spring Boot Configuration: + +[source,yaml] + +spring: + autoconfigure: +exclude: org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchRestClientAutoConfiguration + + +include::spring-boot:partial$starter.adoc[]
[GitHub] [camel-karavan] davsclaus commented on issue #480: Failed to send attachment with mail
davsclaus commented on issue #480: URL: https://github.com/apache/camel-karavan/issues/480#issuecomment-1253933839 you can use groovy as language and then have code similar to what the user did - eg its just script inlined in a function. But if you want to use regular java code compiled with java compiler then you need all the boilerplate with class / method and to call it via bean expression ala #class:com.foo.MyBean -- that is way overhead for 3 lines of code. -- 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 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-karaf.git The following commit(s) were added to refs/heads/main by this push: new 14b6039a Regen 14b6039a is described below commit 14b6039a9f355e3278f8d4523be3c75690372283 Author: Claus Ibsen AuthorDate: Wed Sep 21 18:07:47 2022 +0200 Regen --- .../main/resources/org/apache/camel/catalog/karaf/components.properties | 2 -- 1 file changed, 2 deletions(-) diff --git a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components.properties b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components.properties index 4e48c422..e3989264 100644 --- a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components.properties +++ b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components.properties @@ -1,6 +1,4 @@ activemq -ahc -ahc-ws amqp arangodb as2
[camel-spring-boot] branch main updated: CAMEL-18496: removed camel-ahc and camel-ahc-ws (#632)
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 eae395bf058 CAMEL-18496: removed camel-ahc and camel-ahc-ws (#632) eae395bf058 is described below commit eae395bf0582b0c389980307f9cef7bc7878 Author: Otavio Rodolfo Piske AuthorDate: Wed Sep 21 18:07:29 2022 +0200 CAMEL-18496: removed camel-ahc and camel-ahc-ws (#632) --- components-starter/camel-ahc-starter/pom.xml | 49 - .../camel-ahc-starter/src/main/docs/ahc.json | 87 - .../springboot/AhcComponentAutoConfiguration.java | 79 .../ahc/springboot/AhcComponentConfiguration.java | 182 -- .../ahc/springboot/AhcComponentConverter.java | 73 .../src/main/resources/META-INF/LICENSE.txt| 203 - .../src/main/resources/META-INF/NOTICE.txt | 11 -- .../src/main/resources/META-INF/spring.factories | 20 -- .../src/main/resources/META-INF/spring.provides| 17 -- components-starter/camel-ahc-ws-starter/pom.xml| 49 - .../camel-ahc-ws-starter/src/main/docs/ahc-ws.json | 94 -- .../springboot/WsComponentAutoConfiguration.java | 79 .../ws/springboot/WsComponentConfiguration.java| 199 .../ahc/ws/springboot/WsComponentConverter.java| 73 .../src/main/resources/META-INF/LICENSE.txt| 203 - .../src/main/resources/META-INF/NOTICE.txt | 11 -- .../src/main/resources/META-INF/spring.factories | 20 -- .../src/main/resources/META-INF/spring.provides| 17 -- components-starter/pom.xml | 2 - tooling/camel-spring-boot-bom/pom.xml | 10 - tooling/camel-spring-boot-dependencies/pom.xml | 20 -- 21 files changed, 1498 deletions(-) diff --git a/components-starter/camel-ahc-starter/pom.xml b/components-starter/camel-ahc-starter/pom.xml deleted file mode 100644 index 0c5c53858eb..000 --- a/components-starter/camel-ahc-starter/pom.xml +++ /dev/null @@ -1,49 +0,0 @@ - - -http://maven.apache.org/POM/4.0.0; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd;> - 4.0.0 - -org.apache.camel.springboot -components-starter -3.19.0-SNAPSHOT - - camel-ahc-starter - jar - Camel SB Starters :: AHC - Spring-Boot Starter for Camel Async Http Client support - - - org.springframework.boot - spring-boot-starter - ${spring-boot-version} - - - org.apache.camel - camel-ahc - ${camel-version} - - - - org.apache.camel.springboot - camel-core-starter - - - - diff --git a/components-starter/camel-ahc-starter/src/main/docs/ahc.json b/components-starter/camel-ahc-starter/src/main/docs/ahc.json deleted file mode 100644 index dac99f4c874..000 --- a/components-starter/camel-ahc-starter/src/main/docs/ahc.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "groups": [ -{ - "name": "camel.component.ahc", - "type": "org.apache.camel.component.ahc.springboot.AhcComponentConfiguration", - "sourceType": "org.apache.camel.component.ahc.springboot.AhcComponentConfiguration" -}, -{ - "name": "camel.component.ahc.customizer", - "type": "org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon$CustomizerProperties", - "sourceType": "org.apache.camel.component.ahc.springboot.AhcComponentConfiguration", - "sourceMethod": "getCustomizer()" -} - ], - "properties": [ -{ - "name": "camel.component.ahc.allow-java-serialized-object", - "type": "java.lang.Boolean", - "description": "Whether to allow java serialization when a request uses context-type=application\/x-java-serialized-object This is by default turned off. If you enable this then be aware that Java will deserialize the incoming data from the request to Java and that can be a potential security risk.", - "sourceType": "org.apache.camel.component.ahc.springboot.AhcComponentConfiguration", - "defaultValue": false -}, -{ - "name": "camel.component.ahc.autowired-enabled", - "type": "java.lang.Boolean", - "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 then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc.", - "sourceType": "org.apache.camel.component.ahc.springboot.AhcComponentConfiguration", - "defaultValue": true -}, -{ - "name": "camel.component.ahc.binding", -
[GitHub] [camel-spring-boot] davsclaus merged pull request #632: CAMEL-18496: removed camel-ahc and camel-ahc-ws
davsclaus merged PR #632: URL: https://github.com/apache/camel-spring-boot/pull/632 -- 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: CAMEL-17780: camel-elasticsearch - Impl based on the Java Api Client (#630)
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 597b0fc46d5 CAMEL-17780: camel-elasticsearch - Impl based on the Java Api Client (#630) 597b0fc46d5 is described below commit 597b0fc46d5f0efbafd3dae35876dd6da9bba3be Author: Nicolas Filotto AuthorDate: Wed Sep 21 18:04:14 2022 +0200 CAMEL-17780: camel-elasticsearch - Impl based on the Java Api Client (#630) --- .../camel/springboot/catalog/components.properties | 1 + .../catalog/components/elasticsearch.json | 73 +++ .../camel-elasticsearch-rest-starter/pom.xml | 2 +- .../pom.xml| 27 +-- .../src/main/docs/elasticsearch.json | 122 +++ .../ElasticsearchComponentAutoConfiguration.java | 79 +++ .../ElasticsearchComponentConfiguration.java | 230 + .../ElasticsearchComponentConverter.java | 65 ++ .../src/main/resources/META-INF/LICENSE.txt| 203 ++ .../src/main/resources/META-INF/NOTICE.txt | 11 + .../src/main/resources/META-INF/spring.factories | 21 ++ .../src/main/resources/META-INF/spring.provides| 17 ++ components-starter/pom.xml | 1 + .../itest/springboot/CamelElasticsearchTest.java | 51 + tooling/camel-spring-boot-bom/pom.xml | 5 + tooling/camel-spring-boot-dependencies/pom.xml | 10 + 16 files changed, 901 insertions(+), 17 deletions(-) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components.properties b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components.properties index a6f9d4afc45..5cf6816f8a7 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components.properties +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components.properties @@ -90,6 +90,7 @@ drill dropbox dynamic-router ehcache +elasticsearch elasticsearch-rest exec facebook diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/elasticsearch.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/elasticsearch.json new file mode 100644 index 000..0b21ed9e5f8 --- /dev/null +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/elasticsearch.json @@ -0,0 +1,73 @@ +{ + "component": { +"kind": "component", +"name": "elasticsearch", +"title": "Elasticsearch", +"description": "Send requests to ElasticSearch via Java Client API.", +"deprecated": false, +"firstVersion": "3.19.0", +"label": "search,monitoring", +"javaType": "org.apache.camel.component.es.ElasticsearchComponent", +"supportLevel": "Preview", +"groupId": "org.apache.camel.springboot", +"artifactId": "camel-elasticsearch-starter", +"version": "3.19.0-SNAPSHOT", +"scheme": "elasticsearch", +"extendsScheme": "", +"syntax": "elasticsearch:clusterName", +"async": false, +"api": false, +"consumerOnly": false, +"producerOnly": true, +"lenientProperties": false + }, + "componentProperties": { +"connectionTimeout": { "kind": "property", "displayName": "Connection Timeout", "group": "producer", "label": "", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 3, "description": "The time in ms to wait before connection will timeout." }, +"hostAddresses": { "kind": "property", "displayName": "Host Addresses", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Comma separated list with ip:port formatted remote transport addresses to use. The ip and port options must be left blank for hostAddresses to be considered instead." }, +"lazyStartProducer": { "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during star [...] +"maxRetryTimeout": { "kind": "property", "displayName": "Max Retry Timeout", "group": "producer", "label": "", "required": false,
[GitHub] [camel-spring-boot] davsclaus merged pull request #631: ✅ Add Servlet Attachment test
davsclaus merged PR #631: URL: https://github.com/apache/camel-spring-boot/pull/631 -- 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: ✅ Add Servlet Attachment test (#631)
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 78d5d363c73 ✅ Add Servlet Attachment test (#631) 78d5d363c73 is described below commit 78d5d363c73425ba00da5c9221769a1f5d2ea733 Author: Federico Mariani <34543311+cro...@users.noreply.github.com> AuthorDate: Wed Sep 21 18:04:28 2022 +0200 ✅ Add Servlet Attachment test (#631) --- .../test/ServletAttachmentMultiPartTest.java | 86 ++ 1 file changed, 86 insertions(+) diff --git a/components-starter/camel-servlet-starter/src/test/java/org/apache/camel/component/servlet/springboot/test/ServletAttachmentMultiPartTest.java b/components-starter/camel-servlet-starter/src/test/java/org/apache/camel/component/servlet/springboot/test/ServletAttachmentMultiPartTest.java new file mode 100644 index 000..c424f0916a2 --- /dev/null +++ b/components-starter/camel-servlet-starter/src/test/java/org/apache/camel/component/servlet/springboot/test/ServletAttachmentMultiPartTest.java @@ -0,0 +1,86 @@ +/* + * 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.servlet.springboot.test; + +import org.apache.camel.CamelContext; +import org.apache.camel.attachment.AttachmentMessage; +import org.apache.camel.builder.RouteBuilder; +import org.apache.camel.test.spring.junit5.CamelSpringBootTest; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.boot.test.web.client.TestRestTemplate; +import org.springframework.http.HttpEntity; +import org.springframework.http.HttpHeaders; +import org.springframework.http.MediaType; +import org.springframework.test.annotation.DirtiesContext; +import org.springframework.test.context.ContextConfiguration; +import org.springframework.util.LinkedMultiValueMap; + +import javax.servlet.http.HttpServletRequest; + +/** + * Testing multipart processing with camel servlet + */ +@CamelSpringBootTest +@SpringBootApplication +@DirtiesContext +@ContextConfiguration(classes = ServletAttachmentMultiPartTest.class) +@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT) +public class ServletAttachmentMultiPartTest { + +@Autowired +private TestRestTemplate restTemplate; + +@Autowired +private CamelContext context; + +@BeforeEach +public void setup() throws Exception { +context.addRoutes(new RouteBuilder() { +@Override +public void configure() { + from("servlet:/test?disableStreamCache=true=true") +.process(exchange -> { + exchange.getIn().setBody(exchange.getIn(AttachmentMessage.class) +.getAttachments() +.keySet() +.iterator() +.next()); +}); +} +}); +} + +@Test +public void testMultipartRequest() throws Exception { +String fileName = "attachment"; +HttpHeaders httpHeaders = new HttpHeaders(); +httpHeaders.setContentType(MediaType.MULTIPART_FORM_DATA); +LinkedMultiValueMap message = new LinkedMultiValueMap<>(); +message.add(fileName, "Multipart Attachment Test"); +HttpEntity> httpEntity = new HttpEntity<>(message, httpHeaders); +Assertions.assertEquals(fileName, restTemplate.postForEntity("/camel/test", httpEntity, String.class).getBody()); +} + +} +
[GitHub] [camel-spring-boot] davsclaus merged pull request #630: CAMEL-17780: camel-elasticsearch - Impl based on the Java Api Client
davsclaus merged PR #630: URL: https://github.com/apache/camel-spring-boot/pull/630 -- 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-spring-boot] davsclaus commented on pull request #630: CAMEL-17780: camel-elasticsearch - Impl based on the Java Api Client
davsclaus commented on PR #630: URL: https://github.com/apache/camel-spring-boot/pull/630#issuecomment-1253917004 ok lets merge this -- 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 #8404: CAMEL-18535: Upgrade HBase to 2.5.0
github-actions[bot] commented on PR #8404: URL: https://github.com/apache/camel/pull/8404#issuecomment-1253911575 :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 (7fbf931c624 -> 943d4a0a7ea)
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 7fbf931c624 Polished add 943d4a0a7ea Improving knative documentation for ProducerTemplate usage (#8403) No new revisions were added by this update. Summary of changes: .../src/main/docs/knative-component.adoc | 10 ++ 1 file changed, 10 insertions(+)
[GitHub] [camel-spring-boot] essobedo commented on pull request #630: CAMEL-17780: camel-elasticsearch - Impl based on the Java Api Client
essobedo commented on PR #630: URL: https://github.com/apache/camel-spring-boot/pull/630#issuecomment-1253884275 The build fails because of the FTP tests and those changes have nothing to do with them -- 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-karavan] mgubaidullin commented on issue #480: Failed to send attachment with mail
mgubaidullin commented on issue #480: URL: https://github.com/apache/camel-karavan/issues/480#issuecomment-1253860098 1. Expression is already a TextArea 2. Could we code a bean with Groovy having less boilerplate stuff (public class, etc)? -- 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 main updated: CAMEL-18496: removed camel-ahc and camel-ahc-ws
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-karaf.git The following commit(s) were added to refs/heads/main by this push: new 1953b09e CAMEL-18496: removed camel-ahc and camel-ahc-ws 1953b09e is described below commit 1953b09ebaeafef3b390e0a1d75ca31890021a5c Author: Otavio Rodolfo Piske AuthorDate: Wed Sep 21 16:54:57 2022 +0200 CAMEL-18496: removed camel-ahc and camel-ahc-ws --- .../camel/catalog/karaf/components/ahc-ws.json | 58 .../apache/camel/catalog/karaf/components/ahc.json | 64 -- .../karaf/features/src/main/resources/features.xml | 26 - 3 files changed, 148 deletions(-) diff --git a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components/ahc-ws.json b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components/ahc-ws.json deleted file mode 100644 index 4f156753.. --- a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components/ahc-ws.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "component": { -"kind": "component", -"name": "ahc-ws", -"title": "Async HTTP Client (AHC) Websocket", -"description": "Exchange data with external Websocket servers using Async Http Client.", -"deprecated": true, -"firstVersion": "2.14.0", -"label": "websocket", -"javaType": "org.apache.camel.component.ahc.ws.WsComponent", -"supportLevel": "Stable", -"groupId": "org.apache.camel", -"artifactId": "camel-ahc-ws", -"version": "3.19.0-SNAPSHOT", -"scheme": "ahc-ws", -"extendsScheme": "ahc", -"alternativeSchemes": "ahc-ws,ahc-wss", -"syntax": "ahc-ws:httpUri", -"async": true, -"api": false, -"consumerOnly": false, -"producerOnly": false, -"lenientProperties": false - }, - "componentProperties": { -"bridgeErrorHandler": { "kind": "property", "displayName": "Bridge Error Handler", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a me [...] -"lazyStartProducer": { "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during star [...] -"allowJavaSerializedObject": { "kind": "property", "displayName": "Allow Java Serialized Object", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether to allow java serialization when a request uses context-type=application\/x-java-serialized-object This is by default turned off. If you enable this then be aware that Java will dese [...] -"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 [...] -"binding": { "kind": "property", "displayName": "Binding", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.ahc.AhcBinding", "deprecated": false, "autowired": false, "secret": false, "description": "To use a custom AhcBinding which allows to control how to bind between AHC and Camel." }, -"client": { "kind": "property", "displayName": "Client", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.asynchttpclient.AsyncHttpClient", "deprecated": false, "autowired": false, "secret": false, "description": "To use a custom AsyncHttpClient" }, -"clientConfig": { "kind": "property", "displayName": "Client Config", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.asynchttpclient.AsyncHttpClientConfig", "deprecated": false, "autowired": false, "secret": false, "description": "To
[GitHub] [camel-karaf] orpiske merged pull request #191: CAMEL-18496: removed camel-ahc and camel-ahc-ws
orpiske merged PR #191: URL: https://github.com/apache/camel-karaf/pull/191 -- 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-karavan] davsclaus commented on issue #480: Failed to send attachment with mail
davsclaus commented on issue #480: URL: https://github.com/apache/camel-karavan/issues/480#issuecomment-1253854891 yeah but people would often in a prototype put all the code in the same file. If you put it in a .java file you need all that public class ... stuff -- 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-karavan] davsclaus commented on issue #480: Failed to send attachment with mail
davsclaus commented on issue #480: URL: https://github.com/apache/camel-karavan/issues/480#issuecomment-1253853205 Ah yeah you can already do it, but its not as obvious as the others have that [ ] icon with "change to text area". -- 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-karavan] mgubaidullin commented on issue #480: Failed to send attachment with mail
mgubaidullin commented on issue #480: URL: https://github.com/apache/camel-karavan/issues/480#issuecomment-1253853079 I would put this kind of code to a bean instead of expression -- 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-karavan] mgubaidullin commented on issue #480: Failed to send attachment with mail
mgubaidullin commented on issue #480: URL: https://github.com/apache/camel-karavan/issues/480#issuecomment-1253851491 Like this? ![expand-expression](https://user-images.githubusercontent.com/1379213/191542050-8e0f0c28-633d-4f9b-94f5-41fe354ac4e8.gif) -- 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 (943d4a0a7ea -> 6f76693d284)
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel.git from 943d4a0a7ea Improving knative documentation for ProducerTemplate usage (#8403) new a0266e8f8cf CAMEL-18506: updated camel-websocket documentation new 6f76693d284 CAMEL-18496: removed camel-ahc and camel-ahc-ws 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: apache-camel/src/main/release/README.txt |1 - bom/camel-bom/pom.xml | 10 - camel-dependencies/pom.xml |1 - catalog/camel-allcomponents/pom.xml|8 - .../org/apache/camel/catalog/components.properties |3 - .../apache/camel/catalog/components/ahc-ws.json| 58 - .../apache/camel/catalog/components/ahc-wss.json | 58 - .../org/apache/camel/catalog/components/ahc.json | 64 - .../apache/camel/catalog/schemas/camel-spring.xsd | 7416 +++- components/camel-ahc-ws/pom.xml| 105 - .../component/ahc/ws/WsComponentConfigurer.java| 49 - .../component/ahc/ws/WsEndpointConfigurer.java | 73 - .../component/ahc/ws/WsEndpointUriFactory.java | 95 - .../services/org/apache/camel/component.properties |7 - .../services/org/apache/camel/component/ahc-ws |2 - .../services/org/apache/camel/component/ahc-wss|2 - .../org/apache/camel/configurer/ahc-ws-component |2 - .../org/apache/camel/configurer/ahc-ws-endpoint|2 - .../org/apache/camel/urifactory/ahc-ws-endpoint|2 - .../org/apache/camel/urifactory/ahc-wss-endpoint |2 - .../org/apache/camel/component/ahc/ws/ahc-ws.json | 58 - .../org/apache/camel/component/ahc/ws/ahc-wss.json | 58 - .../src/main/docs/ahc-ws-component.adoc| 118 - .../apache/camel/component/ahc/ws/WsComponent.java | 43 - .../apache/camel/component/ahc/ws/WsConstants.java | 33 - .../apache/camel/component/ahc/ws/WsConsumer.java | 87 - .../apache/camel/component/ahc/ws/WsEndpoint.java | 238 - .../apache/camel/component/ahc/ws/WsProducer.java | 142 - .../camel/component/ahc/ws/TestMessages.java | 41 - .../apache/camel/component/ahc/ws/TestServlet.java | 74 - .../camel/component/ahc/ws/TestServletFactory.java | 28 - .../component/ahc/ws/WsProducerConsumerTest.java | 176 - .../camel/component/ahc/ws/WsProducerTest.java | 50 - .../camel/component/ahc/ws/WsProducerTestBase.java | 180 - .../ahc/ws/WsProducerUsingStreamingTest.java | 67 - .../camel/component/ahc/ws/WssProducerTest.java| 110 - .../src/test/resources/jsse/localhost.p12 | Bin 2533 -> 0 bytes .../src/test/resources/log4j2.properties | 31 - components/camel-ahc/pom.xml | 159 - .../component/ahc/AhcComponentConfigurer.java | 91 - .../camel/component/ahc/AhcEndpointConfigurer.java | 129 - .../camel/component/ahc/AhcEndpointUriFactory.java | 84 - .../services/org/apache/camel/component.properties |7 - .../services/org/apache/camel/component/ahc|2 - .../org/apache/camel/configurer/ahc-component |2 - .../org/apache/camel/configurer/ahc-endpoint |2 - .../org/apache/camel/urifactory/ahc-endpoint |2 - .../org/apache/camel/component/ahc/ahc.json| 64 - .../camel-ahc/src/main/docs/ahc-component.adoc | 334 - .../org/apache/camel/component/ahc/AhcBinding.java | 89 - .../apache/camel/component/ahc/AhcComponent.java | 267 - .../apache/camel/component/ahc/AhcConstants.java | 62 - .../apache/camel/component/ahc/AhcEndpoint.java| 331 - .../component/ahc/AhcOperationFailedException.java | 79 - .../apache/camel/component/ahc/AhcProducer.java| 185 - .../camel/component/ahc/DefaultAhcBinding.java | 388 - .../component/ahc/HttpHeaderFilterStrategy.java| 54 - .../ahc/HttpProtocolHeaderFilterStrategy.java | 87 - .../camel/component/ahc/helper/AhcHelper.java | 209 - .../ahc/AhcBridgeEndpointPathWithSpacesTest.java | 64 - .../camel/component/ahc/AhcBridgeEndpointTest.java | 77 - .../component/ahc/AhcClientConfigRealmUriTest.java | 45 - .../component/ahc/AhcClientConfigUriTest.java | 42 - ...ClientConfigGlobalSslContextParametersTest.java | 41 - ...ponentClientConfigSslContextParametersTest.java | 46 - .../ahc/AhcComponentClientConfigTest.java | 76 - ...entConfigWithClientConfigUriParametersTest.java | 44 - .../ahc/AhcComponentCustomClientConfigTest.java| 73 - .../ahc/AhcComponentNettyClientConfigTest.java | 75 - .../camel/component/ahc/AhcGoogleManualTest.java | 53 -
[camel] 01/02: CAMEL-18506: updated camel-websocket documentation
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 commit a0266e8f8cfe3e633c4d202833698d8915655fba Author: Otavio Rodolfo Piske AuthorDate: Wed Sep 21 08:25:47 2022 +0200 CAMEL-18506: updated camel-websocket documentation --- components/camel-websocket/src/main/docs/websocket-component.adoc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/camel-websocket/src/main/docs/websocket-component.adoc b/components/camel-websocket/src/main/docs/websocket-component.adoc index ed2c3c9e5df..5d995cdcf68 100644 --- a/components/camel-websocket/src/main/docs/websocket-component.adoc +++ b/components/camel-websocket/src/main/docs/websocket-component.adoc @@ -70,8 +70,7 @@ message, we need to send the transformed message to the same endpoint This example is part of an unit test, which you can find https://svn.apache.org/repos/asf/camel/trunk/components/camel-websocket/src/test/java/org/apache/camel/component/websocket/WebsocketRouteExampleTest.java[here]. -As a client we use the xref:ahc-component.adoc[AHC] library which offers support -for web socket as well. +As a client we use Java's own HTTP client which offers support for web socket as well. Here is another example where webapp resources location have been defined to allow the Jetty Application Server to not only register the
[GitHub] [camel] orpiske merged pull request #8401: CAMEL-18496: removed camel-ahc and camel-ahc-ws
orpiske merged PR #8401: URL: https://github.com/apache/camel/pull/8401 -- 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 (e1b5343c65a -> 7fbf931c624)
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 e1b5343c65a Upgrade to quarkus 2.12.3 in jbang add 7fbf931c624 Polished No new revisions were added by this update. Summary of changes: .../src/main/java/org/apache/camel/impl/engine/DefaultRoutesLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[GitHub] [camel] github-actions[bot] commented on pull request #8404: CAMEL-18535: Upgrade HBase to 2.5.0
github-actions[bot] commented on PR #8404: URL: https://github.com/apache/camel/pull/8404#issuecomment-1253834593 :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-karavan] davsclaus commented on issue #480: Failed to send attachment with mail
davsclaus commented on issue #480: URL: https://github.com/apache/camel-karavan/issues/480#issuecomment-1253833926 https://user-images.githubusercontent.com/477100/191538926-37d4b71f-741a-4062-a18a-b509f9b3dd11.png;> -- 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-karaf] orpiske commented on pull request #191: CAMEL-18496: removed camel-ahc and camel-ahc-ws
orpiske commented on PR #191: URL: https://github.com/apache/camel-karaf/pull/191#issuecomment-1253831541 @oscerd @davsclaus Hopefully this does the trick for CAMEL-18496 for camel-karaf. Any thoughts? -- 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-karavan] davsclaus commented on issue #480: Failed to send attachment with mail
davsclaus commented on issue #480: URL: https://github.com/apache/camel-karavan/issues/480#issuecomment-1253831121 @mgubaidullin btw the "expression" panel in karavan needs that [ ] to make it big when you edit source code like above -- 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: Improving knative documentation for ProducerTemplate usage (#8403)
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 943d4a0a7ea Improving knative documentation for ProducerTemplate usage (#8403) 943d4a0a7ea is described below commit 943d4a0a7ea9de11128741f8f0b6ada25ab2cf7c Author: Zineb BENDHIBA AuthorDate: Wed Sep 21 16:39:41 2022 +0200 Improving knative documentation for ProducerTemplate usage (#8403) --- .../src/main/docs/knative-component.adoc | 10 ++ 1 file changed, 10 insertions(+) diff --git a/components/camel-knative/camel-knative-component/src/main/docs/knative-component.adoc b/components/camel-knative/camel-knative-component/src/main/docs/knative-component.adoc index fca9a1d2b84..bdb898b1ecc 100644 --- a/components/camel-knative/camel-knative-component/src/main/docs/knative-component.adoc +++ b/components/camel-knative/camel-knative-component/src/main/docs/knative-component.adoc @@ -167,3 +167,13 @@ public interface KnativeTransport extends Service { KnativeEnvironment.KnativeServiceDefinition service, Processor processor); } + +== Using ProducerTemplate +When using Knative producer with a ProducerTemplate, it is necessary to specify a value for the CloudEvent source, simply by setting a value for the header 'CamelCloudEventSource'. + +=== Example + +[source,java] + +producerTemplate.sendBodyAndHeader("knative:event/broker-test", body, CloudEvent.CAMEL_CLOUD_EVENT_SOURCE, "my-source-name"); + \ No newline at end of file
[GitHub] [camel] davsclaus merged pull request #8403: Improving knative documentation for ProducerTemplate usage
davsclaus merged PR #8403: URL: https://github.com/apache/camel/pull/8403 -- 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 camel-main updated (0555722a81 -> f30862f802)
This is an automated email from the ASF dual-hosted git repository. jiriondrusek pushed a change to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git omit 0555722a81 Upgrade Camel to 3.19.0 new f30862f802 Upgrade Camel to 3.19.0 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 (0555722a81) \ N -- N -- N refs/heads/camel-main (f30862f802) 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 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. Summary of changes: poms/bom/src/main/generated/flattened-full-pom.xml | 35 -- .../src/main/generated/flattened-reduced-pom.xml | 35 -- .../generated/flattened-reduced-verbose-pom.xml| 35 -- 3 files changed, 105 deletions(-)
[GitHub] [camel] github-actions[bot] commented on pull request #8403: Improving knative documentation for ProducerTemplate usage
github-actions[bot] commented on PR #8403: URL: https://github.com/apache/camel/pull/8403#issuecomment-1253805013 :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-quarkus] JiriOndrusek commented on pull request #4119: Quartz: solve autowired scheduler properly and remove quick workaroun…
JiriOndrusek commented on PR #4119: URL: https://github.com/apache/camel-quarkus/pull/4119#issuecomment-1253801681 @jamesnetherton I think that this solution is the right one and does not need any fix on Quarkus extension. -- 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] JiriOndrusek opened a new pull request, #4119: Quartz: solve autowired scheduler properly and remove quick workaroun…
JiriOndrusek opened a new pull request, #4119: URL: https://github.com/apache/camel-quarkus/pull/4119 fixes https://github.com/apache/camel-quarkus/issues/4076 I changed the default value of [quarkus.quartz.start-mode](https://quarkus.io/guides/quartz#quarkus-quartz_quarkus.quartz.start-mode) to `forced` ``` If set to "forced", scheduler will be started even if no scheduled business methods are found. This is necessary for "pure" programmatic scheduling. This mode seems to be the right one for the camel component. If user needs to use different mode, it is possible. I mentioned this change in Quartz doc. With this change, there is no need to change Quarkus extension (see https://github.com/quarkusio/quarkus/issues/27929) -- 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] galderz commented on issue #4065: Remove use of Xalan
galderz commented on issue #4065: URL: https://github.com/apache/camel-quarkus/issues/4065#issuecomment-1253788158 @zhfeng Ah yes. Could you please write up a bug report here? I can then ask someone to verify it and we can create the OpenJDK issue as well as help with proposing a fix. -- 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: Polished
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 7fbf931c624 Polished 7fbf931c624 is described below commit 7fbf931c624e4fbdd38f04e4123c7071c818eb64 Author: Claus Ibsen AuthorDate: Wed Sep 21 16:02:38 2022 +0200 Polished --- .../src/main/java/org/apache/camel/impl/engine/DefaultRoutesLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultRoutesLoader.java b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultRoutesLoader.java index 1e3506621e0..22864c346dd 100644 --- a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultRoutesLoader.java +++ b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultRoutesLoader.java @@ -104,7 +104,7 @@ public class DefaultRoutesLoader extends ServiceSupport implements RoutesLoader, Map> groups = new LinkedHashMap<>(); for (Resource resource : resources) { RoutesBuilderLoader loader = resolveRoutesBuilderLoader(resource); -List list = groups.getOrDefault(loader, new ArrayList()); +List list = groups.getOrDefault(loader, new ArrayList<>()); list.add(resource); groups.put(loader, list); }
[GitHub] [camel-karavan] davsclaus commented on issue #480: Failed to send attachment with mail
davsclaus commented on issue #480: URL: https://github.com/apache/camel-karavan/issues/480#issuecomment-1253779969 You need to use `joor` language when inlining java code (it uses joor-java) ``` expression: joor: expression: >- byte[] fileBytes = exchange.getIn().getBody(byte[].class); org.apache.camel.attachment.AttachmentMessage attMsg = exchange.getIn(org.apache.camel.attachment.AttachmentMessage.class); attMsg.addAttachment("report.pdf", new javax.activation.DataHandler(fileBytes, "application/pdf")); return exchange.getMessage().getBody(); ``` PS: We may rename `joor` to just `java` to make it less confusing. Also you need to use fully qualified class names which you almost had, try with above ^^^ -- 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-karavan] Asraf-Uddin-Ahmed opened a new issue, #480: Failed to send attachment with mail
Asraf-Uddin-Ahmed opened a new issue, #480: URL: https://github.com/apache/camel-karavan/issues/480 I can send mail through `SMTPS`. But, unable to attach any file with the mail. Although the code below compiles fine, but I am getting mail without attachments. The _Java_ version of the following flow is working alright. I can't figure out what's wrong I did in the _Karavan_ conversion. This is my `flow`: ``` apiVersion: camel.apache.org/v1 kind: Integration metadata: name: mail-with-attachment spec: flows: - route: from: uri: timer:test steps: - pollEnrich: expression: simple: expression: file:file_src?noop=true - log: message: 'polled: ${body}' - setBody: expression: exchangeProperty: expression: |- exchange -> { byte[] fileBytes = exchange.getIn().getBody(byte[].class); org.apache.camel.attachment.AttachmentMessage attMsg = exchange.getIn(org.apache.camel.attachment.AttachmentMessage.class); attMsg.addAttachment("report.pdf", new DataHandler(fileBytes, "application/pdf")); return exchange.getMessage().getBody(); } - setHeader: name: subject expression: simple: expression: Test subject from Karavan - setHeader: name: to expression: simple: expression: '{{mail.to}}' - setBody: expression: constant: expression: >- Hello,This is test body from Karavan with an attachment. - log: message: 'PDF_SENDER_ROUTE: mail body: ${body}' - toD: uri: >- smtps://{{mail.host}}:{{mail.port}}?password={{mail.password}}={{mail.username}}={{mail.content-type}} - log: message: 'PDF_SENDER_ROUTE: Mail Sent' loggingLevel: ERROR parameters: delay: '1000' period: '1' ``` This is my `properties` file: ``` camel.jbang.project-id=mail_with_attachment camel.jbang.project-name=mail_with_attachment camel.jbang.project-description=mail_with_attachment camel.jbang.gav=org.demo:mail-with-attachment:1.0 camel.jbang.runtime=quarkus camel.jbang.dependencies=mvn:io.quarkus:quarkus-container-image-jib,camel:microprofile-health,mvn:io.quarkus:quarkus-openshift,camel:file,camel:mail camel.health.enabled=true camel.health.exposure-level=full camel.jbang.quarkusVersion=2.11.2.Final quarkus.kubernetes-client.trust-certs=true quarkus.container-image.builder=jib quarkus.container-image.group=karavan quarkus.container-image.name=mail_with_attachment quarkus.openshift.route.expose=false quarkus.openshift.part-of=mail_with_attachment quarkus.openshift.replicas=1 mail.content-type=text/html mail.from=@gmail.com mail.password= mail.username=@gmail.com mail.host=smtp.gmail.com mail.port=465 mail.to=@gmail.com ``` **Note:** All files in `file_src` folder are _PDF_ **Java Version: 11 Camel Version: 3.18.2 Karavan Version: 3.18.2** **Run command:** `jbang -Dcamel.jbang.version=3.18.2 camel@apache/camel run *` I need some assistance. Please help. -- 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 #8403: Improving knative documentation for ProducerTemplate usage
github-actions[bot] commented on PR #8403: URL: https://github.com/apache/camel/pull/8403#issuecomment-1253732612 :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] zbendhiba opened a new pull request, #8403: Improving knative documentation for ProducerTemplate usage
zbendhiba opened a new pull request, #8403: URL: https://github.com/apache/camel/pull/8403 -- 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 (deac5677e87 -> e1b5343c65a)
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 deac5677e87 Update camel-jbang.adoc add 14c729ff597 Polished add e1b5343c65a Upgrade to quarkus 2.12.3 in jbang No new revisions were added by this update. Summary of changes: .../java/org/apache/camel/builder/FlexibleAggregationStrategy.java | 6 +++--- .../org/apache/camel/dsl/jbang/core/commands/ExportBaseCommand.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)
[camel] branch regen_bot updated (f62150458cd -> deac5677e87)
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 f62150458cd CAMEL-18534: camel-catalog - Include json schema for sensitive keys add deac5677e87 Update camel-jbang.adoc No new revisions were added by this update. Summary of changes: docs/user-manual/modules/ROOT/pages/camel-jbang.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[GitHub] [camel] github-actions[bot] commented on pull request #8401: CAMEL-18496: removed camel-ahc and camel-ahc-ws
github-actions[bot] commented on PR #8401: URL: https://github.com/apache/camel/pull/8401#issuecomment-1253684587 :heavy_check_mark: Finished component verification: 0 component(s) test failed out of **4 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-kameleon] branch main updated: Lets bump the version
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-kameleon.git The following commit(s) were added to refs/heads/main by this push: new 6de8e93 Lets bump the version 6de8e93 is described below commit 6de8e9319dfbb9efaccffa2897ab04ceb09bcc34 Author: Claus Ibsen AuthorDate: Wed Sep 21 15:05:49 2022 +0200 Lets bump the version --- README.md | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2faf40a..bed7400 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ mvn package ### Run ```bash -export MAVEN_HOME=$YOUR_MAVEN_HOME ; java -jar target/kameleon/kameleon-0.3.0-runner.jar +export MAVEN_HOME=$YOUR_MAVEN_HOME ; java -jar target/kameleon/kameleon-0.4.0-runner.jar ``` diff --git a/pom.xml b/pom.xml index c0edee7..ee324dd 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ under the License. 4.0.0 org.apache.camel.kameleon kameleon -0.3.0 +0.4.0 3.8.1 true
[camel-kameleon] branch main updated: Upgrade to quarkus 2.12.3
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-kameleon.git The following commit(s) were added to refs/heads/main by this push: new 1a2ecbe Upgrade to quarkus 2.12.3 1a2ecbe is described below commit 1a2ecbe42d344d2ffb30cebdc267f2b6b9e1e692 Author: Claus Ibsen AuthorDate: Wed Sep 21 15:01:40 2022 +0200 Upgrade to quarkus 2.12.3 --- src/main/resources/kameleon.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/kameleon.json b/src/main/resources/kameleon.json index a715ad4..182e82c 100644 --- a/src/main/resources/kameleon.json +++ b/src/main/resources/kameleon.json @@ -78,7 +78,7 @@ "suffix": "", "javaVersions": ["11"], "defaultJava": "11", - "runtimeVersion": "2.12.0.Final", + "runtimeVersion": "2.12.3.Final", "archetypeGroupId": "io.quarkus", "archetypeArtifactId": "quarkus-maven-plugin" }
[GitHub] [camel-kameleon] davsclaus closed issue #28: Remove CDI as a specific runtime
davsclaus closed issue #28: Remove CDI as a specific runtime URL: https://github.com/apache/camel-kameleon/issues/28 -- 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-kameleon] branch main updated: #28: Remove CDI
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-kameleon.git The following commit(s) were added to refs/heads/main by this push: new 6048557 #28: Remove CDI 6048557 is described below commit 604855732a7ee1df798677d05e69608059e05bfd Author: Claus Ibsen AuthorDate: Wed Sep 21 14:59:55 2022 +0200 #28: Remove CDI --- src/main/resources/META-INF/resources/app.js | 1 - .../META-INF/resources/templates/main-template.js | 3 -- src/main/resources/kameleon.json | 34 -- .../camel/kameleon/ConfigurationResourceTest.java | 5 ++-- 4 files changed, 2 insertions(+), 41 deletions(-) diff --git a/src/main/resources/META-INF/resources/app.js b/src/main/resources/META-INF/resources/app.js index f6097cd..be3b0da 100644 --- a/src/main/resources/META-INF/resources/app.js +++ b/src/main/resources/META-INF/resources/app.js @@ -28,7 +28,6 @@ const router = new VueRouter({ { path: '/', redirect: "/standalone" }, { path: '/standalone', component: Classic, props: { type: 'standalone', title: 'Standalone' } }, { path: '/spring', component: Classic, props: { type: 'spring', title: 'Spring' } }, -{ path: '/cdi', component: Classic, props: { type: 'cdi', title: 'CDI' } }, { path: '/quarkus', component: Classic, props: { type: 'quarkus', title: 'Quarkus'} }, { path: '/kamelet', component: Classic, props: { type: 'kamelet', title: 'Kamelet'} } ] diff --git a/src/main/resources/META-INF/resources/templates/main-template.js b/src/main/resources/META-INF/resources/templates/main-template.js index f33081f..c1be81d 100644 --- a/src/main/resources/META-INF/resources/templates/main-template.js +++ b/src/main/resources/META-INF/resources/templates/main-template.js @@ -33,9 +33,6 @@ const MainTemplate = ` Spring Boot - - CDI - Quarkus diff --git a/src/main/resources/kameleon.json b/src/main/resources/kameleon.json index 7c1c155..a715ad4 100644 --- a/src/main/resources/kameleon.json +++ b/src/main/resources/kameleon.json @@ -68,40 +68,6 @@ } ] }, -{ - "name": "cdi", - "pageTitle": "Camel CDI", - "componentListTitle": "Camel components", - "versions": [ -{ - "name": "3.18.2", - "suffix": "LTS", - "javaVersions": ["11", "17"], - "defaultJava": "11", - "runtimeVersion": "", - "archetypeGroupId": "org.apache.camel.archetypes", - "archetypeArtifactId": "camel-archetype-cdi" -}, -{ - "name": "3.14.4", - "suffix": "LTS", - "javaVersions": ["11", "1.8"], - "defaultJava": "11", - "runtimeVersion": "", - "archetypeGroupId": "org.apache.camel.archetypes", - "archetypeArtifactId": "camel-archetype-cdi" -}, -{ - "name": "2.25.4", - "suffix": "Legacy", - "javaVersions": ["1.8"], - "defaultJava": "1.8", - "runtimeVersion": "", - "archetypeGroupId": "org.apache.camel.archetypes", - "archetypeArtifactId": "camel-archetype-cdi" -} - ] -}, { "name": "quarkus", "pageTitle": "Camel Quarkus", diff --git a/src/test/java/org/apache/camel/kameleon/ConfigurationResourceTest.java b/src/test/java/org/apache/camel/kameleon/ConfigurationResourceTest.java index 9ceac8e..07a0902 100644 --- a/src/test/java/org/apache/camel/kameleon/ConfigurationResourceTest.java +++ b/src/test/java/org/apache/camel/kameleon/ConfigurationResourceTest.java @@ -49,11 +49,10 @@ public class ConfigurationResourceTest { .then() .statusCode(200) .contentType(ContentType.JSON) -.body("types.size()", is(5)) +.body("types.size()", is(4)) .body("types[0].name", equalTo("standalone")) .body("types[1].name", equalTo("spring")) -.body("types[2].name", equalTo("cdi")) -.body("types[3].name", equalTo("quarkus")); +.body("types[2].name", equalTo("quarkus")); } }
[camel-kameleon] branch main updated: Upgrade to quarkus 2.12.3 and renamed dependency that quarkus reports as renamed.
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-kameleon.git The following commit(s) were added to refs/heads/main by this push: new d6ad7e2 Upgrade to quarkus 2.12.3 and renamed dependency that quarkus reports as renamed. d6ad7e2 is described below commit d6ad7e269ab5a29734880a981dfe592abb006cd5 Author: Claus Ibsen AuthorDate: Wed Sep 21 14:55:27 2022 +0200 Upgrade to quarkus 2.12.3 and renamed dependency that quarkus reports as renamed. --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 0848b55..c0edee7 100644 --- a/pom.xml +++ b/pom.xml @@ -33,10 +33,10 @@ under the License. 11 UTF-8 UTF-8 -2.12.0.Final +2.12.3.Final quarkus-universe-bom io.quarkus -2.12.0.Final +2.12.3.Final 3.0.0-M5 2.12.0 3.18.2 @@ -65,7 +65,7 @@ under the License. io.quarkus -quarkus-vertx-web +quarkus-reactive-routes io.quarkus
[GitHub] [camel-k] squakez commented on issue #3662: kamel local run: extension to "build and output" CRs
squakez commented on issue #3662: URL: https://github.com/apache/camel-k/issues/3662#issuecomment-1253672290 By the way, the `local` and the `run` have different natures as the local won't be able to handle CRs such an Integration. -- 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 (e4bd273ab17 -> f62150458cd)
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 e4bd273ab17 (chores) camel-google-secret-manager: fixed formatting add f62150458cd CAMEL-18534: camel-catalog - Include json schema for sensitive keys No new revisions were added by this update. Summary of changes: .../apache/camel/catalog/main/sensitive-keys.json | 74 ++ .../maven/packaging/UpdateSensitizeHelper.java | 24 ++- 2 files changed, 96 insertions(+), 2 deletions(-) create mode 100644 catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/main/sensitive-keys.json
[GitHub] [camel-k] squakez commented on issue #3662: kamel local run: extension to "build and output" CRs
squakez commented on issue #3662: URL: https://github.com/apache/camel-k/issues/3662#issuecomment-1253670784 I have the feeling we can consider this more as a bug. The CLI should be able to output something even when disconnected. Thanks for reporting and feel free to contribute to the resolution. -- 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 (ecf56030d7f -> e4bd273ab17)
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 ecf56030d7f CAMEL-18532 - GCP Secret Manager Dev Console: Add to Vault command for camel-jbang add e4bd273ab17 (chores) camel-google-secret-manager: fixed formatting No new revisions were added by this update. Summary of changes: .../google/secret/manager/GoogleSecretManagerPropertiesFunction.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
[camel] 02/02: Upgrade to quarkus 2.12.3 in jbang
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 commit e1b5343c65a4bb8dbfd61a56e4f3f39251b4f25a Author: Claus Ibsen AuthorDate: Wed Sep 21 14:44:08 2022 +0200 Upgrade to quarkus 2.12.3 in jbang --- .../org/apache/camel/dsl/jbang/core/commands/ExportBaseCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportBaseCommand.java b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportBaseCommand.java index c88253e7a79..71fb1fbeedc 100644 --- a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportBaseCommand.java +++ b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportBaseCommand.java @@ -98,7 +98,7 @@ abstract class ExportBaseCommand extends CamelCommand { protected String quarkusArtifactId; @CommandLine.Option(names = { "--quarkus-version" }, description = "Quarkus Platform version", -defaultValue = "2.12.2.Final") +defaultValue = "2.12.3.Final") protected String quarkusVersion; @CommandLine.Option(names = { "--maven-wrapper" }, defaultValue = "true",
[camel] branch main updated (deac5677e87 -> e1b5343c65a)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel.git from deac5677e87 Update camel-jbang.adoc new 14c729ff597 Polished new e1b5343c65a Upgrade to quarkus 2.12.3 in jbang 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: .../java/org/apache/camel/builder/FlexibleAggregationStrategy.java | 6 +++--- .../org/apache/camel/dsl/jbang/core/commands/ExportBaseCommand.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)
[camel] 01/02: Polished
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 commit 14c729ff597b465a2ce1338ddf65d06509c4cbc3 Author: Claus Ibsen AuthorDate: Wed Sep 21 14:09:06 2022 +0200 Polished --- .../java/org/apache/camel/builder/FlexibleAggregationStrategy.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/camel-core-model/src/main/java/org/apache/camel/builder/FlexibleAggregationStrategy.java b/core/camel-core-model/src/main/java/org/apache/camel/builder/FlexibleAggregationStrategy.java index 8a898ae7ef9..8bcb5436a25 100644 --- a/core/camel-core-model/src/main/java/org/apache/camel/builder/FlexibleAggregationStrategy.java +++ b/core/camel-core-model/src/main/java/org/apache/camel/builder/FlexibleAggregationStrategy.java @@ -58,7 +58,7 @@ public class FlexibleAggregationStrategy implements AggregationStrategy { @SuppressWarnings("unchecked") private Class castAs = (Class) Object.class; private boolean storeNulls; -private boolean ignoreInvalidCasts; // = false +private boolean ignoreInvalidCasts; private FlexibleAggregationStrategyInjector injector = new BodyInjector(castAs); private TimeoutAwareMixin timeoutMixin; private CompletionAwareMixin completionMixin; @@ -189,7 +189,7 @@ public class FlexibleAggregationStrategy implements AggregationStrategy { /** * Plugs in logic to execute when a timeout occurs. * - * @param timeoutMixin + * @param timeoutMixin custom logic on timeout * @return This instance. */ public FlexibleAggregationStrategy timeoutAware(TimeoutAwareMixin timeoutMixin) { @@ -200,7 +200,7 @@ public class FlexibleAggregationStrategy implements AggregationStrategy { /** * Plugs in logic to execute when an aggregation batch completes. * - * @param completionMixin + * @param completionMixin custom logic on completion * @return This instance. */ public FlexibleAggregationStrategy completionAware(CompletionAwareMixin completionMixin) {
[camel] branch main updated: Update camel-jbang.adoc
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 deac5677e87 Update camel-jbang.adoc deac5677e87 is described below commit deac5677e87314989f6a5b4649a0ddd2b7ce5169 Author: Claus Ibsen AuthorDate: Wed Sep 21 14:40:40 2022 +0200 Update camel-jbang.adoc add --fresh for snapshot --- docs/user-manual/modules/ROOT/pages/camel-jbang.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc index 78ed0a552c4..434832300c0 100644 --- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc +++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc @@ -449,7 +449,7 @@ And you can also try bleeding edge development by using SNAPSHOT such as: [source,bash] -jbang run -Dcamel.jbang.version=3.19.0-SNAPSHOT camel@apache/camel [command] +jbang run --fresh -Dcamel.jbang.version=3.19.0-SNAPSHOT camel@apache/camel [command]
[GitHub] [camel-quarkus] ppalaga commented on issue #4107: Missing virtualDependencies in some integration tests support usage
ppalaga commented on issue #4107: URL: https://github.com/apache/camel-quarkus/issues/4107#issuecomment-1253644535 Sorry, I do not know from top of my head either. We probably need to split the set of extensions for Catalog generation from the set for adding virtual deps. A PR to the cq plugin would be welcome. -- 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: trait(ingress): Configure backend in ingress rule
This is an automated email from the ASF dual-hosted git repository. astefanutti 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 8936bd929 trait(ingress): Configure backend in ingress rule 8936bd929 is described below commit 8936bd9292a1883a24a917b5122e8b0e1d7aba5d Author: Antonin Stefanutti AuthorDate: Fri Sep 16 14:03:06 2022 +0200 trait(ingress): Configure backend in ingress rule --- pkg/trait/ingress.go | 34 +- pkg/trait/ingress_test.go | 6 +- 2 files changed, 26 insertions(+), 14 deletions(-) diff --git a/pkg/trait/ingress.go b/pkg/trait/ingress.go index f674c1ac7..99da27bba 100644 --- a/pkg/trait/ingress.go +++ b/pkg/trait/ingress.go @@ -85,6 +85,8 @@ func (t *ingressTrait) Apply(e *Environment) error { return errors.New("cannot Apply ingress trait: no target service") } + pathType := networkingv1.PathTypePrefix + ingress := networkingv1.Ingress{ TypeMeta: metav1.TypeMeta{ Kind: "Ingress", @@ -95,17 +97,27 @@ func (t *ingressTrait) Apply(e *Environment) error { Namespace: service.Namespace, }, Spec: networkingv1.IngressSpec{ - DefaultBackend: { - Service: { - Name: service.Name, - Port: networkingv1.ServiceBackendPort{ - Name: "http", - }, - }, - }, Rules: []networkingv1.IngressRule{ { Host: t.Host, + IngressRuleValue: networkingv1.IngressRuleValue{ + HTTP: { + Paths: []networkingv1.HTTPIngressPath{ + { + Path: "/", + PathType: , + Backend: networkingv1.IngressBackend{ + Service: { + Name: service.Name, + Port: networkingv1.ServiceBackendPort{ + Name: "http", + }, + }, + }, + }, + }, + }, + }, }, }, }, @@ -113,11 +125,7 @@ func (t *ingressTrait) Apply(e *Environment) error { e.Resources.Add() - message := fmt.Sprintf("%s(%s) -> %s(%s)", - ingress.Name, - t.Host, - ingress.Spec.DefaultBackend.Service.Name, - ingress.Spec.DefaultBackend.Service.Port.Name) + message := fmt.Sprintf("%s(%s) -> %s(%s)", ingress.Name, t.Host, service.Name, "http") e.Integration.Status.SetCondition( v1.IntegrationConditionExposureAvailable, diff --git a/pkg/trait/ingress_test.go b/pkg/trait/ingress_test.go index 1090a0c1f..3d620cf75 100644 --- a/pkg/trait/ingress_test.go +++ b/pkg/trait/ingress_test.go @@ -114,9 +114,13 @@ func TestApplyIngressTraitDoesSucceed(t *testing.T) { if ingress, ok := resource.(*networkingv1.Ingress); ok { assert.Equal(t, "service-name", ingress.Name) assert.Equal(t, "namespace", ingress.Namespace) - assert.Equal(t, "service-name", ingress.Spec.DefaultBackend.Service.Name) assert.Len(t, ingress.Spec.Rules, 1) assert.Equal(t, "hostname", ingress.Spec.Rules[0].Host) + assert.Len(t, ingress.Spec.Rules[0].HTTP.Paths, 1) + assert.Equal(t, "service-name", ingress.Spec.Rules[0].HTTP.Paths[0].Backend.Service.Name) + assert.Equal(t, "/", ingress.Spec.Rules[0].HTTP.Paths[0].Path) +
[GitHub] [camel-k] astefanutti merged pull request #3652: trait(ingress): Configure backend in ingress rule
astefanutti merged PR #3652: URL: https://github.com/apache/camel-k/pull/3652 -- 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 pull request, #4118: Upgrade OptaPlanner to 8.27.0.Final
jamesnetherton opened a new pull request, #4118: URL: https://github.com/apache/camel-quarkus/pull/4118 Align with the latest used in quarkus-platform. -- 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-karavan] davsclaus commented on issue #478: Beans properties should hide sensitive options
davsclaus commented on issue #478: URL: https://github.com/apache/camel-karavan/issues/478#issuecomment-1253612080 In Camel 3.19 you can now find a json file array with all the sensitive key names https://issues.apache.org/jira/browse/CAMEL-18534 -- 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-18534: camel-catalog - Include json schema for sensitive keys
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 f62150458cd CAMEL-18534: camel-catalog - Include json schema for sensitive keys f62150458cd is described below commit f62150458cdd5c51644399e1631946d4a1cd99fe Author: Claus Ibsen AuthorDate: Wed Sep 21 14:04:56 2022 +0200 CAMEL-18534: camel-catalog - Include json schema for sensitive keys --- .../apache/camel/catalog/main/sensitive-keys.json | 74 ++ .../maven/packaging/UpdateSensitizeHelper.java | 24 ++- 2 files changed, 96 insertions(+), 2 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/main/sensitive-keys.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/main/sensitive-keys.json new file mode 100644 index 000..488be216784 --- /dev/null +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/main/sensitive-keys.json @@ -0,0 +1,74 @@ +[ + "accesskey", + "accesstoken", + "accesstokensecret", + "accountkey", + "accountsid", + "acltoken", + "api_key", + "api_secret", + "apipassword", + "apiuser", + "apiusername", + "authkey", + "authorizationtoken", + "blobaccesskey", + "blobstoragesharedkeycredential", + "certresourcepassword", + "cipherkey", + "clientsecret", + "connectionstring", + "consumerkey", + "consumersecret", + "emailaddress", + "fulltokenid", + "httpproxypassword", + "keypassword", + "keystore", + "keystorepassword", + "login", + "oauthaccesstoken", + "oauthappid", + "oauthappsecret", + "oauthclientid", + "oauthclientsecret", + "oauthtoken", + "oauthtokenurl", + "p12filename", + "passcode", + "passphrase", + "password", + "privatekey", + "privatekeyfile", + "privatekeyname", + "privatekeypassword", + "proxyauthpassword", + "proxyauthusername", + "proxypassword", + "proxyuser", + "publickeyid", + "publishkey", + "queueownerawsaccountid", + "refreshtoken", + "sasljaasconfig", + "secretkey", + "securerandom", + "sharedaccesskey", + "sourceblobaccesskey", + "sslkeypassword", + "sslkeystore", + "sslkeystorepassword", + "sslpassword", + "ssltruststorepassword", + "subscribekey", + "systemid", + "token", + "tokencredential", + "user", + "userauthenticationcredentials", + "username", + "userpassword", + "verificationcode", + "webhookverifytoken", + "zookeeperpassword" +] diff --git a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/UpdateSensitizeHelper.java b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/UpdateSensitizeHelper.java index 9b8dcc4958c..e3c98b49cc3 100644 --- a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/UpdateSensitizeHelper.java +++ b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/UpdateSensitizeHelper.java @@ -34,6 +34,7 @@ import org.apache.camel.tooling.model.JsonMapper; import org.apache.camel.tooling.model.LanguageModel; import org.apache.camel.tooling.util.PackageHelper; import org.apache.camel.tooling.util.Strings; +import org.apache.camel.util.json.JsonArray; import org.apache.camel.util.json.JsonObject; import org.apache.camel.util.json.Jsoner; import org.apache.maven.plugin.MojoExecutionException; @@ -87,7 +88,13 @@ public class UpdateSensitizeHelper extends AbstractGeneratorMojo { try { String json = PackageHelper.loadText(file.toFile()); -JsonObject obj = (JsonObject) Jsoner.deserialize(json); +Object jo = Jsoner.deserialize(json); +JsonObject obj; +if (jo instanceof JsonObject) { +obj = (JsonObject) jo; +} else { +continue; +} Map model; boolean isComponent = (model = obj.getMap("component")) != null; @@ -149,10 +156,15 @@ public class UpdateSensitizeHelper extends AbstractGeneratorMojo { } else { getLog().debug("No changes to camel-util/src/main/java/org/apache/camel/util/SensitiveUtils.java file"); } - } catch (Exception e) { throw new MojoExecutionException("Error updating SensitiveUtils.java", e); } + +try { +updateSensitiveJsonSchema(baseDir, secrets); +} catch (Exception e) { +throw new MojoExecutionException("Error updating sensitive-keys.json", e); +} } private boolean updateSensitiveHelperKeys(File camelDir, Set secrets) throws Exception { @@ -229,4 +241,12 @@ public class UpdateSensitizeHelper extends AbstractGeneratorMojo { return false; } +private void