You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/07/09 15:45:53 UTC

[GitHub] [camel-k] astefanutti opened a new pull request #1600: feat: Structured traits configuration serialization

astefanutti opened a new pull request #1600:
URL: https://github.com/apache/camel-k/pull/1600


   This PR enables structured traits configuration, relying on traits struct for JSON serialization. It also moves the Kamel CLI trait option mapping logic on the client-side, which will enable more advanced validation by leveraging the trait option types.
   
   Note that it removes the intermediate `Configuration` field from the `v1.TraitSpec` struct. I fail to see the benefit of having that intermediate field. However this raises the question of backward compatibility, that we may want to address by introducing a new API version.
   
   Fixes #1593.
   Fixes #395.
   
   **Release Note**
   ```release-note
   feat: Structured traits configuration serialization
   ```
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-k] astefanutti merged pull request #1600: feat: Structured traits configuration serialization

Posted by GitBox <gi...@apache.org>.
astefanutti merged pull request #1600:
URL: https://github.com/apache/camel-k/pull/1600


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org