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-kamelets.git
The following commit(s) were added to refs/heads/main by this push: new 2af53e014 Add ref and bean to the pattern for ResourceUri (#2505) 2af53e014 is described below commit 2af53e0141efc221aa2c9f43df0bf858f93e9d62 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Fri Jun 20 11:00:29 2025 +0200 Add ref and bean to the pattern for ResourceUri (#2505) Signed-off-by: Andrea Cosentino <anco...@gmail.com> --- kamelets/freemarker-template-action.kamelet.yaml | 2 +- kamelets/jolt-transformation-action.kamelet.yaml | 2 +- kamelets/jslt-action.kamelet.yaml | 2 +- kamelets/json-patch-action.kamelet.yaml | 2 +- kamelets/json-schema-validator-action.kamelet.yaml | 2 +- kamelets/jsonata-action.kamelet.yaml | 2 +- kamelets/mustache-template-action.kamelet.yaml | 2 +- kamelets/mvel-template-action.kamelet.yaml | 2 +- kamelets/rest-openapi-sink.kamelet.yaml | 2 +- kamelets/sftp-sink.kamelet.yaml | 2 +- kamelets/sftp-source.kamelet.yaml | 2 +- kamelets/string-template-action.kamelet.yaml | 2 +- kamelets/velocity-template-action.kamelet.yaml | 2 +- kamelets/xj-template-action.kamelet.yaml | 2 +- .../src/main/resources/kamelets/freemarker-template-action.kamelet.yaml | 2 +- .../src/main/resources/kamelets/jolt-transformation-action.kamelet.yaml | 2 +- .../camel-kamelets/src/main/resources/kamelets/jslt-action.kamelet.yaml | 2 +- .../src/main/resources/kamelets/json-patch-action.kamelet.yaml | 2 +- .../main/resources/kamelets/json-schema-validator-action.kamelet.yaml | 2 +- .../src/main/resources/kamelets/jsonata-action.kamelet.yaml | 2 +- .../src/main/resources/kamelets/mustache-template-action.kamelet.yaml | 2 +- .../src/main/resources/kamelets/mvel-template-action.kamelet.yaml | 2 +- .../src/main/resources/kamelets/rest-openapi-sink.kamelet.yaml | 2 +- .../camel-kamelets/src/main/resources/kamelets/sftp-sink.kamelet.yaml | 2 +- .../camel-kamelets/src/main/resources/kamelets/sftp-source.kamelet.yaml | 2 +- .../src/main/resources/kamelets/string-template-action.kamelet.yaml | 2 +- .../src/main/resources/kamelets/velocity-template-action.kamelet.yaml | 2 +- .../src/main/resources/kamelets/xj-template-action.kamelet.yaml | 2 +- 28 files changed, 28 insertions(+), 28 deletions(-) diff --git a/kamelets/freemarker-template-action.kamelet.yaml b/kamelets/freemarker-template-action.kamelet.yaml index ff8b8060d..6ee1c42fe 100644 --- a/kamelets/freemarker-template-action.kamelet.yaml +++ b/kamelets/freemarker-template-action.kamelet.yaml @@ -41,7 +41,7 @@ spec: description: The inline template type: string example: "file:////template.ftl" - pattern: "^(http|https|file|classpath)://.*" + pattern: "^(http|https|file|classpath|ref|bean)://.*" dependencies: - "camel:freemarker" - "camel:kamelet" diff --git a/kamelets/jolt-transformation-action.kamelet.yaml b/kamelets/jolt-transformation-action.kamelet.yaml index c4d09ce49..1340da4df 100644 --- a/kamelets/jolt-transformation-action.kamelet.yaml +++ b/kamelets/jolt-transformation-action.kamelet.yaml @@ -41,7 +41,7 @@ spec: description: The inline template type: string example: "file:////template.json" - pattern: "^(http|https|file|classpath)://.*" + pattern: "^(http|https|file|classpath|ref|bean)://.*" transform: title: Transform DSL description: Specifies the Transform DSL of the endpoint resource. If none is specified, Chainr is used. diff --git a/kamelets/jslt-action.kamelet.yaml b/kamelets/jslt-action.kamelet.yaml index 31660693f..06826a476 100644 --- a/kamelets/jslt-action.kamelet.yaml +++ b/kamelets/jslt-action.kamelet.yaml @@ -41,7 +41,7 @@ spec: description: The inline template for JSLT Transformation type: string example: "file://template.json" - pattern: "^(http|https|file|classpath)://.*" + pattern: "^(http|https|file|classpath|ref|bean)://.*" dependencies: - "camel:jslt" - "camel:kamelet" diff --git a/kamelets/json-patch-action.kamelet.yaml b/kamelets/json-patch-action.kamelet.yaml index 41416a335..432a2d9f2 100644 --- a/kamelets/json-patch-action.kamelet.yaml +++ b/kamelets/json-patch-action.kamelet.yaml @@ -41,7 +41,7 @@ spec: description: The json patch transformation type: string example: "file:////template.json" - pattern: "^(http|https|file|classpath)://.*" + pattern: "^(http|https|file|classpath|ref|bean)://.*" dependencies: - "camel:json-patch" - "camel:kamelet" diff --git a/kamelets/json-schema-validator-action.kamelet.yaml b/kamelets/json-schema-validator-action.kamelet.yaml index ea7ce0139..d37523933 100644 --- a/kamelets/json-schema-validator-action.kamelet.yaml +++ b/kamelets/json-schema-validator-action.kamelet.yaml @@ -41,7 +41,7 @@ spec: description: The inline template type: string example: "file:////template.json" - pattern: "^(http|https|file|classpath)://.*" + pattern: "^(http|https|file|classpath|ref|bean)://.*" dependencies: - "camel:json-validator" - "camel:kamelet" diff --git a/kamelets/jsonata-action.kamelet.yaml b/kamelets/jsonata-action.kamelet.yaml index aac2e45d7..270618598 100644 --- a/kamelets/jsonata-action.kamelet.yaml +++ b/kamelets/jsonata-action.kamelet.yaml @@ -41,7 +41,7 @@ spec: description: The inline template. type: string example: "file:////template.spec" - pattern: "^(http|https|file|classpath)://.*" + pattern: "^(http|https|file|classpath|ref|bean)://.*" dependencies: - "camel:jsonata" - "camel:kamelet" diff --git a/kamelets/mustache-template-action.kamelet.yaml b/kamelets/mustache-template-action.kamelet.yaml index b062b7132..88d055cc6 100644 --- a/kamelets/mustache-template-action.kamelet.yaml +++ b/kamelets/mustache-template-action.kamelet.yaml @@ -41,7 +41,7 @@ spec: description: The inline template. type: string example: "file:////template.mustache" - pattern: "^(http|https|file|classpath)://.*" + pattern: "^(http|https|file|classpath|ref|bean)://.*" dependencies: - "camel:mustache" - "camel:kamelet" diff --git a/kamelets/mvel-template-action.kamelet.yaml b/kamelets/mvel-template-action.kamelet.yaml index f52911604..c67c143e2 100644 --- a/kamelets/mvel-template-action.kamelet.yaml +++ b/kamelets/mvel-template-action.kamelet.yaml @@ -41,7 +41,7 @@ spec: description: The inline template type: string example: "file:////template.mvel" - pattern: "^(http|https|file|classpath)://.*" + pattern: "^(http|https|file|classpath|ref|bean)://.*" dependencies: - "camel:mvel" - "camel:kamelet" diff --git a/kamelets/rest-openapi-sink.kamelet.yaml b/kamelets/rest-openapi-sink.kamelet.yaml index 4c0df8c3e..fdb0dcc90 100644 --- a/kamelets/rest-openapi-sink.kamelet.yaml +++ b/kamelets/rest-openapi-sink.kamelet.yaml @@ -41,7 +41,7 @@ spec: description: The URI to the OpenApi specification file. type: string example: "https://api.example.com/openapi.json" - pattern: "^(http|https|file|classpath)://.*" + pattern: "^(http|https|file|classpath|ref|bean)://.*" operation: title: Operation ID description: The operation to call. diff --git a/kamelets/sftp-sink.kamelet.yaml b/kamelets/sftp-sink.kamelet.yaml index 8a25a7604..e4d7ef261 100644 --- a/kamelets/sftp-sink.kamelet.yaml +++ b/kamelets/sftp-sink.kamelet.yaml @@ -96,7 +96,7 @@ spec: title: Private Key URI description: Set the private key file (loaded from classpath by default) so that the SFTP endpoint can do private key verification. type: string - pattern: "^(http|https|file|classpath)://.*" + pattern: "^(http|https|file|classpath|ref|bean)://.*" strictHostKeyChecking: title: Strict Host Checking description: Sets whether to use strict host key checking. diff --git a/kamelets/sftp-source.kamelet.yaml b/kamelets/sftp-source.kamelet.yaml index 67c0a95ca..f36b162e5 100644 --- a/kamelets/sftp-source.kamelet.yaml +++ b/kamelets/sftp-source.kamelet.yaml @@ -101,7 +101,7 @@ spec: title: Private Key URI description: Set the private key file (loaded from classpath by default) so that the SFTP endpoint can do private key verification. type: string - pattern: "^(http|https|file|classpath)://.*" + pattern: "^(http|https|file|classpath|ref|bean)://.*" strictHostKeyChecking: title: Strict Host Checking description: Sets whether to use strict host key checking. diff --git a/kamelets/string-template-action.kamelet.yaml b/kamelets/string-template-action.kamelet.yaml index bfa6e1449..c1f0b5570 100644 --- a/kamelets/string-template-action.kamelet.yaml +++ b/kamelets/string-template-action.kamelet.yaml @@ -41,7 +41,7 @@ spec: description: The inline template type: string example: "file:////template.tm" - pattern: "^(http|https|file|classpath)://.*" + pattern: "^(http|https|file|classpath|ref|bean)://.*" dependencies: - "camel:stringtemplate" - "camel:kamelet" diff --git a/kamelets/velocity-template-action.kamelet.yaml b/kamelets/velocity-template-action.kamelet.yaml index c973b6c44..34e8b4bed 100644 --- a/kamelets/velocity-template-action.kamelet.yaml +++ b/kamelets/velocity-template-action.kamelet.yaml @@ -41,7 +41,7 @@ spec: description: The inline template type: string example: "file:////template.vm" - pattern: "^(http|https|file|classpath)://.*" + pattern: "^(http|https|file|classpath|ref|bean)://.*" dependencies: - "camel:velocity" - "camel:kamelet" diff --git a/kamelets/xj-template-action.kamelet.yaml b/kamelets/xj-template-action.kamelet.yaml index 60c4f9abb..9db7c20be 100644 --- a/kamelets/xj-template-action.kamelet.yaml +++ b/kamelets/xj-template-action.kamelet.yaml @@ -47,7 +47,7 @@ spec: description: The inline template to apply a transformation through template. type: string example: "file:////template.vm" - pattern: "^(http|https|file|classpath)://.*" + pattern: "^(http|https|file|classpath|ref|bean)://.*" dependencies: - "camel:xj" - "camel:kamelet" diff --git a/library/camel-kamelets/src/main/resources/kamelets/freemarker-template-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/freemarker-template-action.kamelet.yaml index ff8b8060d..6ee1c42fe 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/freemarker-template-action.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/freemarker-template-action.kamelet.yaml @@ -41,7 +41,7 @@ spec: description: The inline template type: string example: "file:////template.ftl" - pattern: "^(http|https|file|classpath)://.*" + pattern: "^(http|https|file|classpath|ref|bean)://.*" dependencies: - "camel:freemarker" - "camel:kamelet" diff --git a/library/camel-kamelets/src/main/resources/kamelets/jolt-transformation-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/jolt-transformation-action.kamelet.yaml index c4d09ce49..1340da4df 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/jolt-transformation-action.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/jolt-transformation-action.kamelet.yaml @@ -41,7 +41,7 @@ spec: description: The inline template type: string example: "file:////template.json" - pattern: "^(http|https|file|classpath)://.*" + pattern: "^(http|https|file|classpath|ref|bean)://.*" transform: title: Transform DSL description: Specifies the Transform DSL of the endpoint resource. If none is specified, Chainr is used. diff --git a/library/camel-kamelets/src/main/resources/kamelets/jslt-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/jslt-action.kamelet.yaml index 31660693f..06826a476 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/jslt-action.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/jslt-action.kamelet.yaml @@ -41,7 +41,7 @@ spec: description: The inline template for JSLT Transformation type: string example: "file://template.json" - pattern: "^(http|https|file|classpath)://.*" + pattern: "^(http|https|file|classpath|ref|bean)://.*" dependencies: - "camel:jslt" - "camel:kamelet" diff --git a/library/camel-kamelets/src/main/resources/kamelets/json-patch-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/json-patch-action.kamelet.yaml index 41416a335..432a2d9f2 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/json-patch-action.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/json-patch-action.kamelet.yaml @@ -41,7 +41,7 @@ spec: description: The json patch transformation type: string example: "file:////template.json" - pattern: "^(http|https|file|classpath)://.*" + pattern: "^(http|https|file|classpath|ref|bean)://.*" dependencies: - "camel:json-patch" - "camel:kamelet" diff --git a/library/camel-kamelets/src/main/resources/kamelets/json-schema-validator-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/json-schema-validator-action.kamelet.yaml index ea7ce0139..d37523933 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/json-schema-validator-action.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/json-schema-validator-action.kamelet.yaml @@ -41,7 +41,7 @@ spec: description: The inline template type: string example: "file:////template.json" - pattern: "^(http|https|file|classpath)://.*" + pattern: "^(http|https|file|classpath|ref|bean)://.*" dependencies: - "camel:json-validator" - "camel:kamelet" diff --git a/library/camel-kamelets/src/main/resources/kamelets/jsonata-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/jsonata-action.kamelet.yaml index aac2e45d7..270618598 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/jsonata-action.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/jsonata-action.kamelet.yaml @@ -41,7 +41,7 @@ spec: description: The inline template. type: string example: "file:////template.spec" - pattern: "^(http|https|file|classpath)://.*" + pattern: "^(http|https|file|classpath|ref|bean)://.*" dependencies: - "camel:jsonata" - "camel:kamelet" diff --git a/library/camel-kamelets/src/main/resources/kamelets/mustache-template-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/mustache-template-action.kamelet.yaml index b062b7132..88d055cc6 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/mustache-template-action.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/mustache-template-action.kamelet.yaml @@ -41,7 +41,7 @@ spec: description: The inline template. type: string example: "file:////template.mustache" - pattern: "^(http|https|file|classpath)://.*" + pattern: "^(http|https|file|classpath|ref|bean)://.*" dependencies: - "camel:mustache" - "camel:kamelet" diff --git a/library/camel-kamelets/src/main/resources/kamelets/mvel-template-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/mvel-template-action.kamelet.yaml index f52911604..c67c143e2 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/mvel-template-action.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/mvel-template-action.kamelet.yaml @@ -41,7 +41,7 @@ spec: description: The inline template type: string example: "file:////template.mvel" - pattern: "^(http|https|file|classpath)://.*" + pattern: "^(http|https|file|classpath|ref|bean)://.*" dependencies: - "camel:mvel" - "camel:kamelet" diff --git a/library/camel-kamelets/src/main/resources/kamelets/rest-openapi-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/rest-openapi-sink.kamelet.yaml index 4c0df8c3e..fdb0dcc90 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/rest-openapi-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/rest-openapi-sink.kamelet.yaml @@ -41,7 +41,7 @@ spec: description: The URI to the OpenApi specification file. type: string example: "https://api.example.com/openapi.json" - pattern: "^(http|https|file|classpath)://.*" + pattern: "^(http|https|file|classpath|ref|bean)://.*" operation: title: Operation ID description: The operation to call. diff --git a/library/camel-kamelets/src/main/resources/kamelets/sftp-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/sftp-sink.kamelet.yaml index 8a25a7604..e4d7ef261 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/sftp-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/sftp-sink.kamelet.yaml @@ -96,7 +96,7 @@ spec: title: Private Key URI description: Set the private key file (loaded from classpath by default) so that the SFTP endpoint can do private key verification. type: string - pattern: "^(http|https|file|classpath)://.*" + pattern: "^(http|https|file|classpath|ref|bean)://.*" strictHostKeyChecking: title: Strict Host Checking description: Sets whether to use strict host key checking. diff --git a/library/camel-kamelets/src/main/resources/kamelets/sftp-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/sftp-source.kamelet.yaml index 67c0a95ca..f36b162e5 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/sftp-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/sftp-source.kamelet.yaml @@ -101,7 +101,7 @@ spec: title: Private Key URI description: Set the private key file (loaded from classpath by default) so that the SFTP endpoint can do private key verification. type: string - pattern: "^(http|https|file|classpath)://.*" + pattern: "^(http|https|file|classpath|ref|bean)://.*" strictHostKeyChecking: title: Strict Host Checking description: Sets whether to use strict host key checking. diff --git a/library/camel-kamelets/src/main/resources/kamelets/string-template-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/string-template-action.kamelet.yaml index bfa6e1449..c1f0b5570 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/string-template-action.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/string-template-action.kamelet.yaml @@ -41,7 +41,7 @@ spec: description: The inline template type: string example: "file:////template.tm" - pattern: "^(http|https|file|classpath)://.*" + pattern: "^(http|https|file|classpath|ref|bean)://.*" dependencies: - "camel:stringtemplate" - "camel:kamelet" diff --git a/library/camel-kamelets/src/main/resources/kamelets/velocity-template-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/velocity-template-action.kamelet.yaml index c973b6c44..34e8b4bed 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/velocity-template-action.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/velocity-template-action.kamelet.yaml @@ -41,7 +41,7 @@ spec: description: The inline template type: string example: "file:////template.vm" - pattern: "^(http|https|file|classpath)://.*" + pattern: "^(http|https|file|classpath|ref|bean)://.*" dependencies: - "camel:velocity" - "camel:kamelet" diff --git a/library/camel-kamelets/src/main/resources/kamelets/xj-template-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/xj-template-action.kamelet.yaml index 60c4f9abb..9db7c20be 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/xj-template-action.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/xj-template-action.kamelet.yaml @@ -47,7 +47,7 @@ spec: description: The inline template to apply a transformation through template. type: string example: "file:////template.vm" - pattern: "^(http|https|file|classpath)://.*" + pattern: "^(http|https|file|classpath|ref|bean)://.*" dependencies: - "camel:xj" - "camel:kamelet"