Vantiq / vantiq-extension-sources

Contains source code for VANTIQ Extension sources as well as SDKs for building these sources.
Other
13 stars 6 forks source link

Fix some camel deprecation warnings #526

Closed fhcarter closed 1 month ago

fhcarter commented 1 month ago

No issue reported

Camel's yaml format now encourages camelCase rather than kebab-case. Fix places in tests & route overrides where this happens.

There are still a couple of places where this shows up, but those are preserved from the Camel Kamelet definitions, so we'll leave those at the source kamelets define them. The kebab-case properties still work; we just get deprecation warnings in the code. Where we're generating these, we fix them.

fhcarter commented 1 month ago

Jenkins run -- underway.

sfitts commented 1 month ago

kebab-case

That's a new one for me. Guess it is hard to come up with another animal to match with camel and snake. Also, it only makes sense that Camel should prefer camel casing ;).

fhcarter commented 1 month ago

no argument: Just using their words...

WARN The kebab-case 'route-template' is deprecated and it will be removed in the next version. Use the camelCase 'routeTemplate' instead.

fhcarter commented 1 month ago

At least one definition says snake_case vs. kebab-case is _ vs -