This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch 2502-4.10.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit ec21a67b883c8a9523e7824a221ed87ba775410a
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Fri Jun 20 10:49:54 2025 +0200

    Add ref and bean to the pattern for ResourceUri
    
    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 17d87120f..a79a794c0 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 99e4589f0..a36510456 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 will be used. 
diff --git a/kamelets/jslt-action.kamelet.yaml 
b/kamelets/jslt-action.kamelet.yaml
index 8a6b448d4..d709fd60f 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 de2b2ee5e..ec024057e 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 144799a6d..092b10dec 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 4f79940e5..8a3534131 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 8ccac9098..bee82840c 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 0d5e910a5..75b756c47 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 2d79689b7..89b3669a4 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 0da2433d3..b3e1101a8 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 e17034d43..4498d849e 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 30a22002d..d97b194fa 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 c2d42c767..72935072a 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 d13f51d79..7c9aff6d9 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 17d87120f..a79a794c0 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 99e4589f0..a36510456 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 will be 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 8a6b448d4..d709fd60f 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 de2b2ee5e..ec024057e 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 144799a6d..092b10dec 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 4f79940e5..8a3534131 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 8ccac9098..bee82840c 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 0d5e910a5..75b756c47 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 2d79689b7..89b3669a4 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 0da2433d3..b3e1101a8 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 e17034d43..4498d849e 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 30a22002d..d97b194fa 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 c2d42c767..72935072a 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 d13f51d79..7c9aff6d9 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"

Reply via email to