Skip to content

Support fetchOrientation parameter in OperationRestApi.getOperationLog #7428

Closed
ychris78 wants to merge 3 commits into
apache:masterfrom
ychris78:add-fetch-orientation-to-operation-log
Closed

Support fetchOrientation parameter in OperationRestApi.getOperationLog #7428
ychris78 wants to merge 3 commits into
apache:masterfrom
ychris78:add-fetch-orientation-to-operation-log

Conversation

@ychris78
Copy link
Copy Markdown
Contributor

@ychris78 ychris78 commented May 2, 2026

Why are the changes needed?

The current getOperationLog method in OperationRestApi does not support the fetchOrientation parameter, which limits the client's ability to control the fetch direction (e.g., FETCH_NEXT, FETCH_FIRST) when retrieving operation logs. This change adds an overloaded method that accepts
fetchOrientation, while keeping the original method signature for backward compatibility.

How was this patch tested?

  • Existing tests should pass as the original method signature is preserved via method overloading.
  • Manual verification by calling the new API with and without fetchOrientation.

Was this patch authored or co-authored using generative AI tooling?

No

@pan3793 pan3793 added this to the v1.12.0 milestone May 4, 2026
@pan3793 pan3793 closed this in c961d1c May 4, 2026
@pan3793
Copy link
Copy Markdown
Member

pan3793 commented May 4, 2026

thanks, merged to master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants