Skip to content

feat: add config option for informerListLimit #669

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

Merged
merged 3 commits into from
Aug 16, 2023
Merged

feat: add config option for informerListLimit #669

merged 3 commits into from
Aug 16, 2023

Conversation

csviri
Copy link
Contributor

@csviri csviri commented Jul 27, 2023

No description provided.

@csviri csviri self-assigned this Jul 27, 2023
@csviri
Copy link
Contributor Author

csviri commented Jul 27, 2023

@metacosm do I understand correctly that the error:

Caused by: java.lang.ClassCastException: class java.util.Optional cannot be cast to class java.lang.Long (java.util.Optional and java.lang.Long are in module java.base of loader 'bootstrap')

is because of the Optional, is there an other way to fix this, than rename the property in this case?

@csviri csviri marked this pull request as ready for review August 8, 2023 08:15
@csviri csviri marked this pull request as draft August 8, 2023 08:16
@csviri csviri marked this pull request as ready for review August 8, 2023 09:04
@csviri csviri requested a review from metacosm August 8, 2023 09:04
@metacosm
Copy link
Member

metacosm commented Aug 8, 2023

LGTM but will keep this open until operator-framework/java-operator-sdk#2004 is available in a JOSDK release so that we add the associated changes here as well.

@csviri
Copy link
Contributor Author

csviri commented Aug 8, 2023

@metacosm kk, will prepare those changes

csviri and others added 3 commits August 16, 2023 13:11
Quarkus recordable constructors require a getter for each named
parameter, with the appropriate type. In this case, the parameter was
named informerListLimit and of type Long while the corresponding getter
was returning Optional<Long>, hence the mismatch.
@csviri csviri merged commit f78ab7f into main Aug 16, 2023
@csviri csviri deleted the informer-paging branch August 16, 2023 12:48
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