ramu11 opened a new pull request, #27168:
URL: https://github.com/apache/camel/pull/27168
## Description
Adds a new producer-only `camel-odata` component for interacting with OData
services.
The component provides OData-specific request and response handling while
using Camel HTTP as the underlying HTTP transport.
### Supported functionality
* OData CRUD operations:
* `READ_SET`
* `READ_ENTRY`
* `CREATE`
* `UPDATE`
* `DELETE`
* Dynamic entity keys, including string and composite keys
* OData query options:
* `$filter`
* `$select`
* `$expand`
* `$orderby`
* `$top`
* `$skip`
* `$count`
* Endpoint configuration with message-header overrides
* Basic and Bearer authentication
* Message-level `Authorization` header precedence
* SSL context configuration
* ETag / `If-Match` support
* OData response metadata such as `@odata.count` and `@odata.nextLink`
* HTTP response status handling
* JSON request/response handling
`$batch` support is intentionally not included in this initial
implementation.
### Testing and validation
The component has dedicated component, endpoint, and producer tests covering
CRUD operations, query options, authentication, ETags, key handling, URI
encoding, error handling, response metadata, and concurrent endpoint isolation.
Validation performed:
* `./mvnw -pl components/camel-odata -am clean verify`
* `./mvnw -pl components/camel-odata -am clean install -Psourcecheck`
* `git diff --cached --check`
All completed successfully.
--
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]