[
https://issues.apache.org/jira/browse/CAMEL-17719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17520713#comment-17520713
]
Jeremy Ross edited comment on CAMEL-17719 at 4/11/22 4:55 PM:
--------------------------------------------------------------
[~lb] How does
[this|https://gist.github.com/jeremyross/32abc5f2b9a166c7fa6d8a09b808379c]
look?
My current approach is to embed all the sobject schemas in a `oneOf`. I'm
piggybacking off the existing SchemaMojo. I added two properties to it:
GenerateChangeEventSchemas and ChangeEventSchemaFilename.
Let me know your thoughts.
was (Author: jeremyross):
[~lb] How does
[this|https://gist.github.com/jeremyross/32abc5f2b9a166c7fa6d8a09b808379c]
look?
My current approach is to embed all the sobject schemas in a `oneOf`. I'm
piggybacking off the existing SchemaMojo. I added two properties to it:
GenerateChangeEventSchemas and ChangeEventSchemaFilename.
Let me know your thoughts.
> camel-salesforce: allow to retrieve CDC json schema from meta service
> ---------------------------------------------------------------------
>
> Key: CAMEL-17719
> URL: https://issues.apache.org/jira/browse/CAMEL-17719
> Project: Camel
> Issue Type: New Feature
> Components: camel-salesforce
> Reporter: Luca Burgazzoli
> Assignee: Jeremy Ross
> Priority: Minor
>
> To get the full schema of a change event message, it it possible to make a
> GET request to the REST API that includes the schema ID sent in the event
> message, as example:
> {code}
> /vXX.X/event/eventSchema/<Schema_ID>
> {code}
> or by using the event name:
> {code}
> /vXX.X/sobjects/<EventName>/eventSchema
> {code}
> It would be nice if the meta data extension would be able to return the json
> schema of the
--
This message was sent by Atlassian Jira
(v8.20.1#820001)