Re: Camel JBang OpenAPI to REST DSL generator issue with enums: Unsupported field: allowableValues

2022-12-29 Thread Claus Ibsen
On Thu, Dec 29, 2022 at 8:46 PM Mikael Koskinen wrote: > Hey, > > Unfortunately I don't have the ASF Jira account and the registration > to Jira is disabled so I can't submit the ticket. > > The guide how to create ASF account is linked in the text in the top, eg its https://infra.apache.org/jira

Re: Camel JBang OpenAPI to REST DSL generator issue with enums: Unsupported field: allowableValues

2022-12-29 Thread Mikael Koskinen
Hey, Unfortunately I don't have the ASF Jira account and the registration to Jira is disabled so I can't submit the ticket. Best regards, Mikael to 29. jouluk. 2022 klo 21.12 Claus Ibsen (claus.ib...@gmail.com) kirjoitti: > > Hi > > Yeah it smells like a yaml-dsl bug, can you create a JIRA ticke

Re: Camel JBang OpenAPI to REST DSL generator issue with enums: Unsupported field: allowableValues

2022-12-29 Thread Claus Ibsen
Hi Okay so if you use as a workaround (its due to the model being special - and it may even cause XML DSL to be wrong as well) @XmlElementWrapper(name = "allowableValues") @XmlElement(name = "value") private List allowableValues; value: - available - pending - sold On Thu, Dec 29, 2022

Re: Camel JBang OpenAPI to REST DSL generator issue with enums: Unsupported field: allowableValues

2022-12-29 Thread Claus Ibsen
Hi Yeah it smells like a yaml-dsl bug, can you create a JIRA ticket On Thu, Dec 29, 2022 at 10:24 AM Mikael Koskinen wrote: > Hey, > > Just a quick update: Here's a minimal gist which shows the issue: > > camel run > https://gist.github.com/mikoskinen/dccfffd7b6fa6d95f5a0bce66e491765 > > Hope t

Upgrading from 2.24.2 to 3.14.7 - xtokenize performance

2022-12-29 Thread Steven George
Hi Camel Users, I'm upgrading an application that uses Camel 2.24.2/Spring Boot/JDK8 to the latest JDK8 compatible Camel LTS version 3.14.7. The application processes large XML files, using the xtokenize language and the com.fasterxml.woodstox::woodstox-core::6.4.0 parser. I ran into a significa

Camel 3.x and CamelBlueprintTestSupport+CamelTestSupport

2022-12-29 Thread Ephemeris Lappis
Hello. One more surprise with Camel 3.x. The class CamelTestSupport has been deprecated, while CamelBlueprintTestSupport seems to use it with no depreciation. I can't find any valid replacement to test blueprint contexts. Did I miss something ? Should we use deprecated code for tests ? Thanks ag

Re: Camel JBang OpenAPI to REST DSL generator issue with enums: Unsupported field: allowableValues

2022-12-29 Thread Mikael Koskinen
Hey, Just a quick update: Here's a minimal gist which shows the issue: camel run https://gist.github.com/mikoskinen/dccfffd7b6fa6d95f5a0bce66e491765 Hope this helps. Best regards, Mikael to 29. jouluk. 2022 klo 11.08 Mikael Koskinen (mijap...@gmail.com) kirjoitti: > > Hi, > > I'm testing the C

Camel JBang OpenAPI to REST DSL generator issue with enums: Unsupported field: allowableValues

2022-12-29 Thread Mikael Koskinen
Hi, I'm testing the Camel JBang 3.20 OpenAPI to REST generator and encountering some issues with enums when trying to run the generated file. The schema in the error message looks peculiar when trying to run the XML DSL as it points to spring but I'm not sure if it should look like that. Error wi