You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2022/03/30 15:44:21 UTC
[camel-kamelets] 06/08: Adding schema for input type
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
commit 09ad6c99a32707cbfdd2150c70e9ba741a9f830c
Author: Maria Arias de Reyna <ar...@redhat.com>
AuthorDate: Tue Mar 29 12:51:17 2022 +0200
Adding schema for input type
---
kamelets/salesforce-delete-sink.kamelet.yaml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/kamelets/salesforce-delete-sink.kamelet.yaml b/kamelets/salesforce-delete-sink.kamelet.yaml
index 03e37f0..fded774 100644
--- a/kamelets/salesforce-delete-sink.kamelet.yaml
+++ b/kamelets/salesforce-delete-sink.kamelet.yaml
@@ -77,9 +77,19 @@ spec:
types:
in:
mediaType: application/json
+ schema:
+ type: object
+ required: ["sObjectId", "sObjectName"]
+ properties:
+ sObjectId:
+ type: string
+ sObjectName:
+ type: string
dependencies:
- "camel:salesforce"
- "camel:kamelet"
+ - "camel:core"
+ - "camel:jsonpath"
template:
beans:
- name: local-delete-salesforce