You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "christophd (via GitHub)" <gi...@apache.org> on 2023/08/31 14:26:28 UTC
[GitHub] [camel-kamelets] christophd opened a new pull request, #1607: Use Data Type Transformer API provided by Camel 4.0
christophd opened a new pull request, #1607:
URL: https://github.com/apache/camel-kamelets/pull/1607
- Camel 4.0 introduces a data type support based on the transformer API. Use this instead of the interim implementation in utils
- Remove data type transformers that are now provided by Camel core
- Remove interim data type processor implementation in this repository and use data type processor implementation provided by Camel 4
- Refactor data type action Kamelet to use new Camel 4 data type processor
- Keep those data type transformer implementations (Avro, Json Struct, ...) that have not been ported to Camel core yet
- Update to YAKS 0.16.0 as it allows to explicitly set the camel-kamelets version in Camel JBang
--
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-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-kamelets] oscerd merged pull request #1607: Use Data Type Transformer API provided by Camel 4.0
Posted by "oscerd (via GitHub)" <gi...@apache.org>.
oscerd merged PR #1607:
URL: https://github.com/apache/camel-kamelets/pull/1607
--
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-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-kamelets] christophd commented on pull request #1607: Use Data Type Transformer API provided by Camel 4.0
Posted by "christophd (via GitHub)" <gi...@apache.org>.
christophd commented on PR #1607:
URL: https://github.com/apache/camel-kamelets/pull/1607#issuecomment-1701740481
YAY, tests are green!
@claudio4j thank you! Yes I really like the new way to use transform EIP in combination with data types:
```yaml
from:
uri: "kamelet:source"
steps:
- transform:
to-type: "aws2-ddb:application-json"
- to:
uri: "aws2-ddb:{{table}}"
```
Also the built-in data type support on Kamelet source/sink makes it easy to use it in a pipe/binding:
```yaml
kind: KameletBinding
metadata:
name: aws-s3-to-http
spec:
source:
ref:
kind: Kamelet
apiVersion: camel.apache.org/v1alpha1
name: aws-s3-source
properties:
# ...
dataTypes:
out:
format: "aws2-s3:application-cloudevents"
```
--
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-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-kamelets] claudio4j commented on pull request #1607: Use Data Type Transformer API provided by Camel 4.0
Posted by "claudio4j (via GitHub)" <gi...@apache.org>.
claudio4j commented on PR #1607:
URL: https://github.com/apache/camel-kamelets/pull/1607#issuecomment-1701348436
The implementation and kamelets are more clear and concise to use.
--
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-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-kamelets] oscerd commented on pull request #1607: Use Data Type Transformer API provided by Camel 4.0
Posted by "oscerd (via GitHub)" <gi...@apache.org>.
oscerd commented on PR #1607:
URL: https://github.com/apache/camel-kamelets/pull/1607#issuecomment-1702195855
Thanks a lot.
--
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-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org