[ 
https://issues.apache.org/jira/browse/CAMEL-21579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17916060#comment-17916060
 ] 

Aurélien Pupier commented on CAMEL-21579:
-----------------------------------------

still happening with:

jbang --fresh '-Dcamel.jbang.version=4.10.0-SNAPSHOT' camel@apache/camel init 
'test.camel.yaml'
jbang --fresh '-Dcamel.jbang.version=4.10.0-SNAPSHOT' camel@apache/camel 
kubernetes run test.camel.yaml --cluster-type=openshift

{noformat}
[INFO] --- oc:1.18.0:resource (default) @ test ---
[INFO] oc: Using container image name of namespace: apupier-dev
[INFO] oc: Using resource templates from 
/home/apupier/ws/test-jbang-serializer-export/.camel-jbang-run/test/src/main/jkube
[INFO] oc: jkube-healthcheck-quarkus: Adding readiness probe on port 8080, 
path='/q/health/ready', scheme='HTTP', with initial delay 5 seconds
[INFO] oc: jkube-healthcheck-quarkus: Adding liveness probe on port 8080, 
path='/q/health/live', scheme='HTTP', with initial delay 10 seconds
[INFO] oc: jkube-healthcheck-quarkus: Adding startup probe on port 8080, 
path='/q/health/started', scheme='HTTP', with initial delay 5 seconds
[INFO] oc: jkube-openshift-deploymentconfig: Converting Deployment to 
DeploymentConfig
[INFO] oc: jkube-service-discovery: Using first mentioned service port '80' 
[INFO] oc: jkube-service-discovery: Using first mentioned service port '80' 
[INFO] oc: jkube-service-discovery: Using first mentioned service port '80' 
[INFO] oc: jkube-revision-history: Adding revision history limit to 2
[INFO] oc: validating 
/home/apupier/ws/test-jbang-serializer-export/.camel-jbang-run/test/target/classes/META-INF/jkube/openshift/test-route.yml
 resource
[WARNING] Unknown keyword serializer - you should define your own Meta Schema. 
If the keyword is irrelevant for validation, just use a NonValidationKeyword or 
if it should generate annotations AnnotationKeyword
[WARNING] Unknown keyword deserializer - you should define your own Meta 
Schema. If the keyword is irrelevant for validation, just use a 
NonValidationKeyword or if it should generate annotations AnnotationKeyword
[INFO] oc: validating 
/home/apupier/ws/test-jbang-serializer-export/.camel-jbang-run/test/target/classes/META-INF/jkube/openshift/test-deploymentconfig.yml
 resource
[INFO] oc: validating 
/home/apupier/ws/test-jbang-serializer-export/.camel-jbang-run/test/target/classes/META-INF/jkube/openshift/test-service.yml
 resource
{noformat}

> Avoid "Unknown keyword serializer" and "Unknown keyword deserializer" when 
> exporting project with JBang
> -------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-21579
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21579
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jbang
>    Affects Versions: 4.9.0
>            Reporter: Aurélien Pupier
>            Priority: Minor
>             Fix For: 4.10.0
>
>
> jbang '-Dcamel.jbang.version=4.9.0' camel@apache/camel init 
> 'test-from-vscode.camel.yaml'
> jbang '-Dcamel.jbang.version=4.9.0' camel@apache/camel kubernetes run 
> test-from-vscode.camel.yaml --camel-version=4.9.0 --cluster-type=openshift 
> {noformat}
> [WARNING] Unknown keyword serializer - you should define your own Meta 
> Schema. If the keyword is irrelevant for validation, just use a 
> NonValidationKeyword or if it should generate annotations AnnotationKeyword
> [WARNING] Unknown keyword deserializer - you should define your own Meta 
> Schema. If the keyword is irrelevant for validation, just use a 
> NonValidationKeyword or if it should generate annotations AnnotationKeyword
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to