Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make MailUtils lazy #2204

Merged
merged 2 commits into from
Jan 17, 2024
Merged

Make MailUtils lazy #2204

merged 2 commits into from
Jan 17, 2024

Conversation

snuyanzin
Copy link
Contributor

The main idea is ,ovement knowledge about what property should be loaded for a specific MailType to MailType itself. After that it makes it loading a lazy way by loading only what is required

@snuyanzin snuyanzin force-pushed the mail branch 2 times, most recently from 1517f38 to 5f467e4 Compare January 15, 2024 17:15
+ m.approverUsername
+ "because : "
+ m.reasonToDecline),
REGISTER_USER_REQUEST("TODO", (Function<MailInfo, String>) null),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

No usages of this were found, should we just remove it?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah you can remove it, its called from another area (that i literally was looking at a few hours ago because of a seperate bug Murali fixed )

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, thanks for confirmation, removed

+ m.acl
+ " by team : "
+ m.username),
NEW_USER_ADDED("TODO", (Function<MailInfo, String>) null),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

No usages of this were found, should we just remove it?

Copy link
Contributor

Choose a reason for hiding this comment

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

Also good to go

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, thanks for confirmation, removed

@snuyanzin snuyanzin force-pushed the mail branch 2 times, most recently from 94b1455 to ed9c64e Compare January 17, 2024 14:09
Copy link
Contributor

@aindriu-aiven aindriu-aiven left a comment

Choose a reason for hiding this comment

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

LGTM

I did some testing on Acls, topics and connectors didnt find any issues.

Signed-off-by: Sergey Nuyanzin <[email protected]>
Signed-off-by: Sergey Nuyanzin <[email protected]>
@snuyanzin
Copy link
Contributor Author

Thanks for taking a look

@snuyanzin snuyanzin merged commit 3054509 into Aiven-Open:main Jan 17, 2024
19 checks passed
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.

2 participants