Skip to content

feat: allow return additional information for conditions #2426

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 23 commits into from
Jul 8, 2024

Conversation

metacosm
Copy link
Collaborator

@metacosm metacosm commented Jun 5, 2024

Fixes #2424. Currently, only exposed for ready post conditions but is
supported for all conditions if needed.

Signed-off-by: Chris Laprun [email protected]

@metacosm metacosm self-assigned this Jun 5, 2024
@metacosm metacosm requested a review from csviri June 5, 2024 14:30
@openshift-ci openshift-ci bot requested review from adam-sandor and andreaTP June 5, 2024 14:31
@csviri csviri linked an issue Jun 6, 2024 that may be closed by this pull request
import io.javaoperatorsdk.operator.api.reconciler.Context;
import io.javaoperatorsdk.operator.api.reconciler.dependent.DependentResource;

public interface ResultCondition<R, P extends HasMetadata, T> extends Condition<R, P> {
Copy link
Collaborator

Choose a reason for hiding this comment

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

One thing we should consider is to simply change the Condition since this is for v5. And have an optional result always.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Makes sense. Will do!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hmm, on second thought, it might make sense to leave it as-is because moving this to Condition would trigger needed changes to all existing conditions even if they don't have any interest in returning a result (unless, of course, we don't want to make it generic and just return Object as the result).

Copy link
Collaborator

Choose a reason for hiding this comment

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

Could it be just as a Matcher result? Simply factory methods

Copy link
Collaborator

Choose a reason for hiding this comment

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

That would really not be a big issue to migrate.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This isn't comparable to Matcher.Result: this isn't a result class, this is a class that can return a result so it is quite different.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I meant the Result interface not the ResultCondition.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I still think that we should not complicate things and have a separate ResultCondition and Condition, since we work on v5, putting this directly to condition is completely fine IMO, and can be easily migrated in a controller simply one line code change.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'd do that in a second step if you feel it's important. I'll let you check the impact on existing code first (hint: it's not a one line change 😉).

@csviri
Copy link
Collaborator

csviri commented Jun 11, 2024

I think we should add this to all conditions, and the functionality directly to Condition. What do you think, @metacosm ?

@metacosm
Copy link
Collaborator Author

The problem with adding it to all conditions is that we will need to rethink how results are reported since the conditions are more or less invisible at this point in the results apart from the non-ready dependents.

@csviri
Copy link
Collaborator

csviri commented Jun 14, 2024

The problem with adding it to all conditions is that we will need to rethink how results are reported since the conditions are more or less invisible at this point in the results apart from the non-ready dependents.

yes, what about putting here, into WorkflowReconcileResult:

private final List<DependentResource> reconciledDependents;
private final List<DependentResource> notReadyDependents;
private final Map<DependentResource, ReconcileResult> reconcileResults;

instead of List<DependentResource> a new object representing the reconciled node with also all the condition results. Something like List<DependentResourceNodeResult>:

class DependentResourceNodeResult {

DependentResource getDependentResource();

Optional<ReconcileResult> getReconcileResult();

Optional<ConditionResult> getReadyConditionResult();
Optional<ConditionResult> getReconcilePreconditionResult();
Optional<ConditionResult> getCleanupPostconditionResult();
}

@metacosm
Copy link
Collaborator Author

metacosm commented Jun 14, 2024

The problem with adding it to all conditions is that we will need to rethink how results are reported since the conditions are more or less invisible at this point in the results apart from the non-ready dependents.

yes, what about putting here, into WorkflowReconcileResult:

private final List<DependentResource> reconciledDependents;
private final List<DependentResource> notReadyDependents;
private final Map<DependentResource, ReconcileResult> reconcileResults;

instead of List<DependentResource> a new object representing the reconciled node with also all the condition results. Something like List<DependentResourceNodeResult>:

class DependentResourceNodeResult {

DependentResource getDependentResource();

Optional<ReconcileResult> getReconcileResult();

Optional<ConditionResult> getReadyConditionResult();
Optional<ConditionResult> getReconcilePreconditionResult();
Optional<ConditionResult> getCleanupPostconditionResult();
}

I have some ideas that I'm working on, hopefully will have something to show today but, yes, something of that order, though I wasn't sure I'd expose the class equivalent to DependentResourceNodeResult.

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 17, 2024
@csviri csviri force-pushed the better-conditions branch from 569ce1d to ac62935 Compare June 18, 2024 08:02
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 18, 2024
@metacosm metacosm marked this pull request as draft June 19, 2024 15:35
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 19, 2024
@metacosm metacosm force-pushed the better-conditions branch 2 times, most recently from 72fc2be to b3b47e2 Compare June 20, 2024 19:17
@metacosm metacosm marked this pull request as ready for review June 21, 2024 08:55
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 21, 2024
@openshift-ci openshift-ci bot requested a review from csviri June 21, 2024 08:55
@metacosm metacosm force-pushed the better-conditions branch 2 times, most recently from 673a531 to 60df558 Compare July 2, 2024 20:29
Copy link
Collaborator

@csviri csviri left a comment

Choose a reason for hiding this comment

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

Added some comments and quiestion.

Could you pls update or add an integration test that will serves as a sample / show it working in practice?

import io.javaoperatorsdk.operator.api.reconciler.Context;
import io.javaoperatorsdk.operator.api.reconciler.dependent.DependentResource;

public interface ResultCondition<R, P extends HasMetadata, T> extends Condition<R, P> {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could it be just as a Matcher result? Simply factory methods

import io.javaoperatorsdk.operator.api.reconciler.Context;
import io.javaoperatorsdk.operator.api.reconciler.dependent.DependentResource;

public interface ResultCondition<R, P extends HasMetadata, T> extends Condition<R, P> {
Copy link
Collaborator

Choose a reason for hiding this comment

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

That would really not be a big issue to migrate.

return detailedIsMet(dependentResource, primary, context).isSuccess();
}

interface Result<T> {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can't we have this as a builder rather? this feels a bit smelly to have it as an interface

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Not sure I'm following how a builder would help here.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we see this working in an integration test, that might shed a light on it.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@metacosm metacosm requested a review from csviri July 5, 2024 13:05
Copy link
Collaborator

@csviri csviri left a comment

Choose a reason for hiding this comment

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

Please update docs with the new type of condition and how to access results, with links to the integration tests

@metacosm metacosm force-pushed the better-conditions branch from fd0e92c to d5c5c8b Compare July 8, 2024 15:23
@metacosm metacosm requested a review from csviri July 8, 2024 15:32
@metacosm
Copy link
Collaborator Author

metacosm commented Jul 8, 2024

Please update docs with the new type of condition and how to access results, with links to the integration tests

Added documentation.

metacosm added a commit that referenced this pull request Aug 8, 2024
Fixes #2424.

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
metacosm added a commit that referenced this pull request Aug 9, 2024
Fixes #2424.

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
metacosm added a commit that referenced this pull request Aug 9, 2024
* chore: set version to 5.0.0-SNAPSHOT (#2200)

Signed-off-by: Attila Mészáros <[email protected]>

* improve: replace current formatting plugins with spotless plugin  (#2302)

Signed-off-by: Attila Mészáros <[email protected]>

* fix: format after rebase

Signed-off-by: Attila Mészáros <[email protected]>

* bump: chore use slf4j v2 (#2406)

Signed-off-by: Attila Mészáros <[email protected]>

* feat: allow returning additional information from conditions (#2426)

Fixes #2424.

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>

* refactor: move @InformerConfig to more appropriate package

Signed-off-by: Chris Laprun <[email protected]>

* refactor: move InformerConfigHolder to appropriate package

Signed-off-by: Chris Laprun <[email protected]>

* chore: remove unneeded code & dependencies

Signed-off-by: Chris Laprun <[email protected]>

* refactor: InformerConfiguration to InformerEventSourceConfiguration

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename inner InformerConfigurationBuilder to simply Builder

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename InformerConfig and associated field to Informer

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename InformerConfigHolder to InformerConfiguration

Signed-off-by: Chris Laprun <[email protected]>

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
csviri added a commit that referenced this pull request Aug 15, 2024
Fixes #2424.

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
csviri added a commit that referenced this pull request Aug 15, 2024
* chore: set version to 5.0.0-SNAPSHOT (#2200)

Signed-off-by: Attila Mészáros <[email protected]>

* improve: replace current formatting plugins with spotless plugin  (#2302)

Signed-off-by: Attila Mészáros <[email protected]>

* fix: format after rebase

Signed-off-by: Attila Mészáros <[email protected]>

* bump: chore use slf4j v2 (#2406)

Signed-off-by: Attila Mészáros <[email protected]>

* feat: allow returning additional information from conditions (#2426)

Fixes #2424.

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>

* refactor: move @InformerConfig to more appropriate package

Signed-off-by: Chris Laprun <[email protected]>

* refactor: move InformerConfigHolder to appropriate package

Signed-off-by: Chris Laprun <[email protected]>

* chore: remove unneeded code & dependencies

Signed-off-by: Chris Laprun <[email protected]>

* refactor: InformerConfiguration to InformerEventSourceConfiguration

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename inner InformerConfigurationBuilder to simply Builder

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename InformerConfig and associated field to Informer

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename InformerConfigHolder to InformerConfiguration

Signed-off-by: Chris Laprun <[email protected]>

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
metacosm added a commit that referenced this pull request Aug 16, 2024
Fixes #2424.

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
metacosm added a commit that referenced this pull request Aug 29, 2024
Fixes #2424.

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
metacosm added a commit that referenced this pull request Aug 29, 2024
* chore: set version to 5.0.0-SNAPSHOT (#2200)

Signed-off-by: Attila Mészáros <[email protected]>

* improve: replace current formatting plugins with spotless plugin  (#2302)

Signed-off-by: Attila Mészáros <[email protected]>

* fix: format after rebase

Signed-off-by: Attila Mészáros <[email protected]>

* bump: chore use slf4j v2 (#2406)

Signed-off-by: Attila Mészáros <[email protected]>

* feat: allow returning additional information from conditions (#2426)

Fixes #2424.

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>

* refactor: move @InformerConfig to more appropriate package

Signed-off-by: Chris Laprun <[email protected]>

* refactor: move InformerConfigHolder to appropriate package

Signed-off-by: Chris Laprun <[email protected]>

* chore: remove unneeded code & dependencies

Signed-off-by: Chris Laprun <[email protected]>

* refactor: InformerConfiguration to InformerEventSourceConfiguration

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename inner InformerConfigurationBuilder to simply Builder

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename InformerConfig and associated field to Informer

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename InformerConfigHolder to InformerConfiguration

Signed-off-by: Chris Laprun <[email protected]>

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
csviri added a commit that referenced this pull request Sep 20, 2024
Fixes #2424.

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
csviri added a commit that referenced this pull request Sep 20, 2024
* chore: set version to 5.0.0-SNAPSHOT (#2200)

Signed-off-by: Attila Mészáros <[email protected]>

* improve: replace current formatting plugins with spotless plugin  (#2302)

Signed-off-by: Attila Mészáros <[email protected]>

* fix: format after rebase

Signed-off-by: Attila Mészáros <[email protected]>

* bump: chore use slf4j v2 (#2406)

Signed-off-by: Attila Mészáros <[email protected]>

* feat: allow returning additional information from conditions (#2426)

Fixes #2424.

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>

* refactor: move @InformerConfig to more appropriate package

Signed-off-by: Chris Laprun <[email protected]>

* refactor: move InformerConfigHolder to appropriate package

Signed-off-by: Chris Laprun <[email protected]>

* chore: remove unneeded code & dependencies

Signed-off-by: Chris Laprun <[email protected]>

* refactor: InformerConfiguration to InformerEventSourceConfiguration

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename inner InformerConfigurationBuilder to simply Builder

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename InformerConfig and associated field to Informer

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename InformerConfigHolder to InformerConfiguration

Signed-off-by: Chris Laprun <[email protected]>

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
metacosm added a commit that referenced this pull request Oct 10, 2024
Fixes #2424.

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
metacosm added a commit that referenced this pull request Oct 10, 2024
* chore: set version to 5.0.0-SNAPSHOT (#2200)

Signed-off-by: Attila Mészáros <[email protected]>

* improve: replace current formatting plugins with spotless plugin  (#2302)

Signed-off-by: Attila Mészáros <[email protected]>

* fix: format after rebase

Signed-off-by: Attila Mészáros <[email protected]>

* bump: chore use slf4j v2 (#2406)

Signed-off-by: Attila Mészáros <[email protected]>

* feat: allow returning additional information from conditions (#2426)

Fixes #2424.

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>

* refactor: move @InformerConfig to more appropriate package

Signed-off-by: Chris Laprun <[email protected]>

* refactor: move InformerConfigHolder to appropriate package

Signed-off-by: Chris Laprun <[email protected]>

* chore: remove unneeded code & dependencies

Signed-off-by: Chris Laprun <[email protected]>

* refactor: InformerConfiguration to InformerEventSourceConfiguration

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename inner InformerConfigurationBuilder to simply Builder

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename InformerConfig and associated field to Informer

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename InformerConfigHolder to InformerConfiguration

Signed-off-by: Chris Laprun <[email protected]>

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
metacosm added a commit that referenced this pull request Nov 5, 2024
Fixes #2424.

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
metacosm added a commit that referenced this pull request Nov 5, 2024
* chore: set version to 5.0.0-SNAPSHOT (#2200)

Signed-off-by: Attila Mészáros <[email protected]>

* improve: replace current formatting plugins with spotless plugin  (#2302)

Signed-off-by: Attila Mészáros <[email protected]>

* fix: format after rebase

Signed-off-by: Attila Mészáros <[email protected]>

* bump: chore use slf4j v2 (#2406)

Signed-off-by: Attila Mészáros <[email protected]>

* feat: allow returning additional information from conditions (#2426)

Fixes #2424.

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>

* refactor: move @InformerConfig to more appropriate package

Signed-off-by: Chris Laprun <[email protected]>

* refactor: move InformerConfigHolder to appropriate package

Signed-off-by: Chris Laprun <[email protected]>

* chore: remove unneeded code & dependencies

Signed-off-by: Chris Laprun <[email protected]>

* refactor: InformerConfiguration to InformerEventSourceConfiguration

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename inner InformerConfigurationBuilder to simply Builder

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename InformerConfig and associated field to Informer

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename InformerConfigHolder to InformerConfiguration

Signed-off-by: Chris Laprun <[email protected]>

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
metacosm added a commit that referenced this pull request Nov 6, 2024
Fixes #2424.

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
metacosm added a commit that referenced this pull request Nov 6, 2024
* chore: set version to 5.0.0-SNAPSHOT (#2200)

Signed-off-by: Attila Mészáros <[email protected]>

* improve: replace current formatting plugins with spotless plugin  (#2302)

Signed-off-by: Attila Mészáros <[email protected]>

* fix: format after rebase

Signed-off-by: Attila Mészáros <[email protected]>

* bump: chore use slf4j v2 (#2406)

Signed-off-by: Attila Mészáros <[email protected]>

* feat: allow returning additional information from conditions (#2426)

Fixes #2424.

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>

* refactor: move @InformerConfig to more appropriate package

Signed-off-by: Chris Laprun <[email protected]>

* refactor: move InformerConfigHolder to appropriate package

Signed-off-by: Chris Laprun <[email protected]>

* chore: remove unneeded code & dependencies

Signed-off-by: Chris Laprun <[email protected]>

* refactor: InformerConfiguration to InformerEventSourceConfiguration

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename inner InformerConfigurationBuilder to simply Builder

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename InformerConfig and associated field to Informer

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename InformerConfigHolder to InformerConfiguration

Signed-off-by: Chris Laprun <[email protected]>

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
csviri added a commit that referenced this pull request Nov 13, 2024
Fixes #2424.

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
csviri added a commit that referenced this pull request Nov 13, 2024
* chore: set version to 5.0.0-SNAPSHOT (#2200)

Signed-off-by: Attila Mészáros <[email protected]>

* improve: replace current formatting plugins with spotless plugin  (#2302)

Signed-off-by: Attila Mészáros <[email protected]>

* fix: format after rebase

Signed-off-by: Attila Mészáros <[email protected]>

* bump: chore use slf4j v2 (#2406)

Signed-off-by: Attila Mészáros <[email protected]>

* feat: allow returning additional information from conditions (#2426)

Fixes #2424.

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>

* refactor: move @InformerConfig to more appropriate package

Signed-off-by: Chris Laprun <[email protected]>

* refactor: move InformerConfigHolder to appropriate package

Signed-off-by: Chris Laprun <[email protected]>

* chore: remove unneeded code & dependencies

Signed-off-by: Chris Laprun <[email protected]>

* refactor: InformerConfiguration to InformerEventSourceConfiguration

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename inner InformerConfigurationBuilder to simply Builder

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename InformerConfig and associated field to Informer

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename InformerConfigHolder to InformerConfiguration

Signed-off-by: Chris Laprun <[email protected]>

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
metacosm added a commit that referenced this pull request Nov 19, 2024
Fixes #2424.

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
metacosm added a commit that referenced this pull request Nov 19, 2024
* chore: set version to 5.0.0-SNAPSHOT (#2200)

Signed-off-by: Attila Mészáros <[email protected]>

* improve: replace current formatting plugins with spotless plugin  (#2302)

Signed-off-by: Attila Mészáros <[email protected]>

* fix: format after rebase

Signed-off-by: Attila Mészáros <[email protected]>

* bump: chore use slf4j v2 (#2406)

Signed-off-by: Attila Mészáros <[email protected]>

* feat: allow returning additional information from conditions (#2426)

Fixes #2424.

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>

* refactor: move @InformerConfig to more appropriate package

Signed-off-by: Chris Laprun <[email protected]>

* refactor: move InformerConfigHolder to appropriate package

Signed-off-by: Chris Laprun <[email protected]>

* chore: remove unneeded code & dependencies

Signed-off-by: Chris Laprun <[email protected]>

* refactor: InformerConfiguration to InformerEventSourceConfiguration

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename inner InformerConfigurationBuilder to simply Builder

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename InformerConfig and associated field to Informer

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename InformerConfigHolder to InformerConfiguration

Signed-off-by: Chris Laprun <[email protected]>

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
metacosm added a commit that referenced this pull request Nov 20, 2024
Fixes #2424.

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
metacosm added a commit that referenced this pull request Nov 20, 2024
* chore: set version to 5.0.0-SNAPSHOT (#2200)

Signed-off-by: Attila Mészáros <[email protected]>

* improve: replace current formatting plugins with spotless plugin  (#2302)

Signed-off-by: Attila Mészáros <[email protected]>

* fix: format after rebase

Signed-off-by: Attila Mészáros <[email protected]>

* bump: chore use slf4j v2 (#2406)

Signed-off-by: Attila Mészáros <[email protected]>

* feat: allow returning additional information from conditions (#2426)

Fixes #2424.

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>

* refactor: move @InformerConfig to more appropriate package

Signed-off-by: Chris Laprun <[email protected]>

* refactor: move InformerConfigHolder to appropriate package

Signed-off-by: Chris Laprun <[email protected]>

* chore: remove unneeded code & dependencies

Signed-off-by: Chris Laprun <[email protected]>

* refactor: InformerConfiguration to InformerEventSourceConfiguration

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename inner InformerConfigurationBuilder to simply Builder

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename InformerConfig and associated field to Informer

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename InformerConfigHolder to InformerConfiguration

Signed-off-by: Chris Laprun <[email protected]>

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
metacosm added a commit that referenced this pull request Nov 27, 2024
Fixes #2424.

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
metacosm added a commit that referenced this pull request Nov 27, 2024
* chore: set version to 5.0.0-SNAPSHOT (#2200)

Signed-off-by: Attila Mészáros <[email protected]>

* improve: replace current formatting plugins with spotless plugin  (#2302)

Signed-off-by: Attila Mészáros <[email protected]>

* fix: format after rebase

Signed-off-by: Attila Mészáros <[email protected]>

* bump: chore use slf4j v2 (#2406)

Signed-off-by: Attila Mészáros <[email protected]>

* feat: allow returning additional information from conditions (#2426)

Fixes #2424.

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>

* refactor: move @InformerConfig to more appropriate package

Signed-off-by: Chris Laprun <[email protected]>

* refactor: move InformerConfigHolder to appropriate package

Signed-off-by: Chris Laprun <[email protected]>

* chore: remove unneeded code & dependencies

Signed-off-by: Chris Laprun <[email protected]>

* refactor: InformerConfiguration to InformerEventSourceConfiguration

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename inner InformerConfigurationBuilder to simply Builder

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename InformerConfig and associated field to Informer

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename InformerConfigHolder to InformerConfiguration

Signed-off-by: Chris Laprun <[email protected]>

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
csviri added a commit that referenced this pull request Dec 6, 2024
Fixes #2424.

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
csviri added a commit that referenced this pull request Dec 6, 2024
* chore: set version to 5.0.0-SNAPSHOT (#2200)

Signed-off-by: Attila Mészáros <[email protected]>

* improve: replace current formatting plugins with spotless plugin  (#2302)

Signed-off-by: Attila Mészáros <[email protected]>

* fix: format after rebase

Signed-off-by: Attila Mészáros <[email protected]>

* bump: chore use slf4j v2 (#2406)

Signed-off-by: Attila Mészáros <[email protected]>

* feat: allow returning additional information from conditions (#2426)

Fixes #2424.

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>

* refactor: move @InformerConfig to more appropriate package

Signed-off-by: Chris Laprun <[email protected]>

* refactor: move InformerConfigHolder to appropriate package

Signed-off-by: Chris Laprun <[email protected]>

* chore: remove unneeded code & dependencies

Signed-off-by: Chris Laprun <[email protected]>

* refactor: InformerConfiguration to InformerEventSourceConfiguration

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename inner InformerConfigurationBuilder to simply Builder

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename InformerConfig and associated field to Informer

Signed-off-by: Chris Laprun <[email protected]>

* refactor: rename InformerConfigHolder to InformerConfiguration

Signed-off-by: Chris Laprun <[email protected]>

---------

Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Co-authored-by: Attila Mészáros <[email protected]>
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.

[Feature Request] Add type to result of condition evaluation
3 participants