Skip to content

Conversation

@rishii-19-works
Copy link
Contributor

@rishii-19-works rishii-19-works commented Jan 8, 2026

This PR is a draft toward implementing #3209 and is based on the approach proposed in the POC in #3391. It explores a mechanism to carry intermediate data produced during the request lifecycle into the event system, without tying events strictly to response DTOs. The intent is to allow request-scoped intermediate POJOs to be made available at event emission time, following the same design direction as the original proposal, while refining it toward a production-ready implementation.

Copy link
Contributor

@dimas-b dimas-b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, for your contribution, @rishii-19-works ! I'm adding extra reviewers, who, I hope, are more familiar with the affected code.

CreateGenericTableRequest createGenericTableRequest,
RealmContext realmContext,
SecurityContext securityContext) {

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: these whitespace change appear to be irrelevant to the purpose of the PR. Since the PR does not attempt to refactor code, why introduce whitespace changes? IMHO, they complicate review.

delegate.createGenericTable(
prefix, namespace, createGenericTableRequest, realmContext, securityContext);

LoadGenericTableResponse responseEntity = (LoadGenericTableResponse) resp.getEntity();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here: why extract a variable when the PR's intention is to "document" ? 🤔

@dimas-b dimas-b requested review from flyrain and gh-yzou January 8, 2026 16:52
@dimas-b
Copy link
Contributor

dimas-b commented Jan 8, 2026

@adnanhemani : FYI

@adnanhemani
Copy link
Contributor

I'm sorry, I'm not sure I see any utility in any part of this PR. The point of #3209 is not to "document" anything, but to come up with a solution. Anyone who reads and understands the code is aware of this limitation - documentation does not change anything.

Copy link
Contributor

@dimas-b dimas-b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-1 Blocking for now due to irrelevant changes.

// generalized it to support non-aws S3 implementations
@JsonIgnore public static final String ROLE_ARN_PATTERN = "^.+:(.*):iam:.*:(.*):role/.+$";
@JsonIgnore
public static final String ROLE_ARN_PATTERN = "^.+:(.*):iam:.*:(.*):role/.+$";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-1 This change is irrelevant to the purpose of this PR stated in the description.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review. I understand the concern about the irrelevant changes.

I’ll clean up the PR to keep it strictly scoped to the intended change and remove any unrelated modifications. I’ll update the PR shortly.

@rishii-19-works rishii-19-works marked this pull request as draft January 9, 2026 05:11
@rishii-19-works rishii-19-works changed the title Document limitation of event data availability in generic table events Implement intermediate data support for events (based on #3391) Jan 9, 2026
@rishii-19-works
Copy link
Contributor Author

Closing this draft PR to rework it based on the approach proposed in #3391. I’ll open a new PR once aligned.

@github-project-automation github-project-automation bot moved this from PRs In Progress to Done in Basic Kanban Board Jan 9, 2026
@rishii-19-works rishii-19-works deleted the event-intermediate-data-demo branch January 9, 2026 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants