Migrating from v5.2 to v5.3
Migrating from v5.2 to v5.3
Rename of JUnit module
If you use JUnit extension in your test just rename it from:
<dependency>
<groupId>io.javaoperatorsdk</groupId>
<artifactId>operator-framework-junit-5</artifactId>
<version>5.2.x<version>
<scope>test</scope>
</dependency>
to
<dependency>
<groupId>io.javaoperatorsdk</groupId>
<artifactId>operator-framework-junit</artifactId>
<version>5.3.0<version>
<scope>test</scope>
</dependency>
Metrics interface changes
The Metrics interface changed in non backwards compatible way, in order to make the API cleaner:
The following table shows the relevant method renames:
| v5.2 method | v5.3 method |
|---|---|
reconcileCustomResource | reconciliationSubmitted |
reconciliationExecutionStarted | reconciliationStarted |
reconciliationExecutionFinished | reconciliationSucceeded |
failedReconciliation | reconciliationFailed |
finishedReconciliation | reconciliationFinished |
cleanupDoneFor | cleanupDone |
receivedEvent | eventReceived |
Other changes:
reconciliationFinished(..)method is extended withRetryInfomonitorSizeOf(..)method is removed.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.