Narendra9793 opened a new pull request, #13940:
URL: https://github.com/apache/iceberg/pull/13940
This PR implements the feature request from [#13580], which introduces a new
Events REST endpoint along with its request and response objects.
Changes in this PR
Added EventsController to expose /events/{prefix} endpoint.
Added EventsService to handle business logic for fetching events.
Implemented request/response models:
GetEventsRequest
EventsResponse
Added unit tests:
EventsServiceTest
EventsControllerTest
EventsControllerMockMvcTest for endpoint validation
Ensured all new files include the ASF license header and follow project
formatting (spotlessApply).
Testing
Verified endpoint functionality with MockMvc tests.
Confirmed request and response objects serialize/deserialize correctly.
All unit tests pass (gradle build successful).
Notes
This PR addresses and completes issue #13580.
Feedback and suggestions are welcome.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]