You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
can throw checked exception (not just runtime exception), and that also can be handled by `ErrorStatusHandler`.
16
+
-`cleanup` method is extracted from the `Reconciler` interface to a
17
+
separate [`Cleaner`](https://github.com/java-operator-sdk/java-operator-sdk/blob/main/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/Cleaner.java)
18
+
interface. Finalizers only makes sense that the `Cleanup` is implemented, from
19
+
now finalizer is only added if the `Reconciler` implements this interface (or has managed dependent resources
20
+
implementing `Deleter` interface, see dependent resource docs).
result changed, it functionally has been extended to now prevent Exception to be retried and handles checked
25
+
exceptions as mentioned above.
26
+
27
+
28
+
## Event Sources
29
+
30
+
- Event Sources are now registered with a name. But [utility method](https://github.com/java-operator-sdk/java-operator-sdk/blob/92bfafd8831e5fb9928663133f037f1bf4783e3e/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/EventSourceInitializer.java#L33-L33)
31
+
is available to make it easy to [migrate](https://github.com/java-operator-sdk/java-operator-sdk/blob/92bfafd8831e5fb9928663133f037f1bf4783e3e/sample-operators/webpage/src/main/java/io/javaoperatorsdk/operator/sample/WebPageStandaloneDependentsReconciler.java#L51-L52)
constructor changed to reflect additional functionality in a non backwards compatible way. All the configuration
35
+
options from the constructor where moved to [`InformerConfiguration`](https://github.com/java-operator-sdk/java-operator-sdk/blob/f6c6d568ea0a098e11beeeded20fe70f9c5bf692/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/informer/InformerConfiguration.java)
36
+
. See sample usage in [`WebPageReconciler`](https://github.com/java-operator-sdk/java-operator-sdk/blob/f6c6d568ea0a098e11beeeded20fe70f9c5bf692/sample-operators/webpage/src/main/java/io/javaoperatorsdk/operator/sample/WebPageReconciler.java#L56-L59)
37
+
.
38
+
-`PrimaryResourcesRetriever` was renamed to `SecondaryToPrimaryMapper`
39
+
-`AssociatedSecondaryResourceIdentifier` was renamed to `PrimaryToSecondaryMapper`
40
+
-`getAssociatedResource` is now renamed to get `getSecondaryResource` in multiple places
Copy file name to clipboardExpand all lines: operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/ControllerConfiguration.java
+2-2
Original file line number
Diff line number
Diff line change
@@ -16,8 +16,8 @@
16
16
17
17
/**
18
18
* Optional finalizer name, if it is not provided, one will be automatically generated. Note that
19
-
* finalizers are only added when Reconciler implement {@link Cleaner} interface, or at least one
20
-
* managed dependent resource implement
19
+
* finalizers are only added when Reconciler implement {@link Cleaner} interface and/or at least
0 commit comments