forked from fabric8io/kubernetes-client
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix (camel-k) : Deserializing Kamelet fails with UnrecognizedProperty…
…Exception (fabric8io#3852) Kamelet resource seems to be using JSONSchemaProps. However, this JSONSchemaProps is not coming from Apiextensions. Camel repository seems to have it's own version of JSONSchemaProps. It contains some additional fields like `x-descriptors`. We've currently added a manual type mapping of JSONSchemaProps to `io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaProps` This works for most cases but doesn't work when some camel specific fields are used in Kamelet (like in case of fabric8io#3852, fabric8io#3182). Use CamelK's JSONSchemaProps instead of Apiextensions JSONSchemaProps. Signed-off-by: Rohan Kumar <rohaan@redhat.com>
- Loading branch information
1 parent
64acef6
commit 0aaf6fb
Showing
6 changed files
with
307 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.