davsclaus opened a new pull request, #28530:
URL: https://github.com/apache/camel/pull/28530

   ## Summary
   
   Follow-up to #27935 (CAMEL-21873, the new camel-hibernate component).
   
   
`CatalogDocExamplesTest.everyYamlExampleOfTheDocumentationPassesTheCatalogChecks`
 (camel-jbang-core) fails on `main`, and on any PR whose CI runs it (see 
#28528):
   
   ```
   hibernate-component example 1: hibernate: Option 'selectionQuery' is not 
applicable in producer only mode ...
   hibernate-component example 5: hibernate: Option 'selectionQuery' is not 
applicable in consumer only mode ...
   (6 failures)
   ```
   
   `selectionQuery`, `readOnly`, `filters` and `tenantIdentifier` were declared 
with `label = "producer,consumer"`. The catalog therefore grouped them as 
consumer options, and the endpoint DSL generator left them out of the DSL 
builders entirely.
   
   ## Changes
   
   - `HibernateEndpoint`: removed the `producer,consumer` label from these four 
options, so they become common options, as `camel-jpa` does for `query` / 
`namedQuery`.
   - Regenerated the component metadata, the catalog and the endpoint DSL. 
`HibernateEndpointBuilderFactory` now has `selectionQuery`, `readOnly`, 
`filters` and `tenantIdentifier` on the consumer, producer and common builders. 
The component is unreleased (4.24.0-SNAPSHOT), so nothing changes for released 
users.
   
   ## Testing
   
   - `components/camel-hibernate`: `mvn install -DskipITs` passes (52 tests).
   - `dsl/camel-jbang/camel-jbang-core`: `CatalogDocExamplesTest` passes.
   
   _Claude Code on behalf of Claus Ibsen_
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to