[QUESTION] Open API REST DSL with contract first OpenAPI

2024-08-12 Thread medved
centralized in the rest consumer would be lighter and cleaner. Best regards Jiri Medved

Re: [QUESTION] Open API REST DSL with contract first OpenAPI

2024-08-13 Thread medved
exchange is routed to the direct endpoint? In >> particular I would like to perform authorization check and some basic >> header validation. >> >> I can do that by some shared processor or route called at the beginning of >> each direct route but having it centralized in the rest consumer would be >> lighter and cleaner. >> >> Best regards >> >> Jiri Medved >> > > >-- >Claus Ibsen >- >@davsclaus >Camel in Action 2: https://www.manning.com/ibsen2 > >

Re: [QUESTION] Open API REST DSL with contract first OpenAPI

2024-08-13 Thread medved
use >> >> the new Documentation first approach as described here >> >> https://camel.apache.org/manual/rest-dsl-openapi.html. That helped us >> >> simplify out prooject quite a bit. >> >> >> >> My question is: Is it possible to inject some

Re: [QUESTION] Open API REST DSL with contract first OpenAPI

2024-08-13 Thread medved
t;>> > >>> > >>> > >>> >On Tue, Aug 13, 2024 at 8:31 AM wrote: >>> > >>> >> Hello comunity, >>> >> >>> >> we have migrated out Camel Spring Boot Project to v 4.7 and started to >>>

Re: [QUESTION] Open API REST DSL with contract first OpenAPI

2024-08-19 Thread medved
dsl-openapi.html. That helped us >> >> simplify out prooject quite a bit. >> >> >> >> My question is: Is it possible to inject some code (processor, bean, >> >> route) before the the exchange is routed to the direct endpoint? In >> >> particular I would like to perform authorization check and some basic >> >> header validation. >> >> >> >> I can do that by some shared processor or route called at the beginning >> of >> >> each direct route but having it centralized in the rest consumer would >> be >> >> lighter and cleaner. >> >> >> >> Best regards >> >> >> >> Jiri Medved >> >> >> > >> > >> >-- >> >Claus Ibsen >> >- >> >@davsclaus >> >Camel in Action 2: https://www.manning.com/ibsen2 >> > >> > >> > > >-- >Claus Ibsen >- >@davsclaus >Camel in Action 2: https://www.manning.com/ibsen2 > >

Re: [QUESTION] Open API Rest DSL - bindingPackageScan

2024-09-20 Thread medved
Hi Claus, i did a lot of investigations but i did not find the cause. I have forked the example repository and added the api specification https://github.com/jirmed/camel-spring-boot-examples/tree/open-api-coorder/openapi-contract-first I have tested in the debugger and the class Coorder is binde

[QUESTION] Open API Rest DSL - bindingPackageScan

2024-09-19 Thread medved
Hello community, i try to use OpenAPI wing bindingPackageScan to map the request to a POJO my route definition looks like following: restConfiguration() .bindingMode(RestBindingMode.json) .bindingPackageScan("cz.bvv.integrationservices.model"); rest()

Re: [QUESTION] Open API Rest DSL - bindingPackageScan

2024-09-24 Thread medved
Hello again, I performed some deeper investigation comparing the two projects 1. The generate classes Coorder.java are identical in both projects (except for timestamp) 2. Pom.xml are almost identical (except for parent) 3. Put on /api/v3/pet results in proper binding to Pet class in both proje

Camel Test Infrastructure FTP

2025-06-03 Thread medved
Hello, I would like to use Camel Infrastructure for my Spring Boot Camel End-to-End tests. II have spent quite some time investigating how it works. Unfortunately the documentation is very limited and I was not able to find any examples either. I started with a very simple scenario -> one rout