Skip to content

Commit 6e2aa53

Browse files
committed
feat: ReconcileUtils for strongly consistent updates
1 parent eba5dad commit 6e2aa53

File tree

111 files changed

+2297
-1204
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+2297
-1204
lines changed

.github/workflows/e2e-test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@ on:
66
paths-ignore:
77
- 'docs/**'
88
- 'adr/**'
9-
branches: [ main, next ]
9+
branches: [ main, next, v5.3 ]
1010
push:
1111
paths-ignore:
1212
- 'docs/**'
1313
- 'adr/**'
1414
branches:
1515
- main
1616
- next
17+
- v5.3
1718

1819
jobs:
1920
sample_operators_tests:

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
paths-ignore:
1212
- 'docs/**'
1313
- 'adr/**'
14-
branches: [ main, v1, v2, v3, next ]
14+
branches: [ main, v1, v2, v3, next, v5.3 ]
1515
workflow_dispatch:
1616
jobs:
1717
check_format_and_unit_tests:

bootstrapper-maven-plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>io.javaoperatorsdk</groupId>
2424
<artifactId>java-operator-sdk</artifactId>
25-
<version>5.2.2-SNAPSHOT</version>
25+
<version>5.3.0-SNAPSHOT</version>
2626
</parent>
2727

2828
<artifactId>bootstrapper</artifactId>

bootstrapper-maven-plugin/src/main/resources/templates/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
</dependency>
5959
<dependency>
6060
<groupId>io.javaoperatorsdk</groupId>
61-
<artifactId>operator-framework-junit-5</artifactId>
61+
<artifactId>operator-framework-junit</artifactId>
6262
<version>${josdk.version}</version>
6363
<scope>test</scope>
6464
</dependency>

caffeine-bounded-cache-support/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>io.javaoperatorsdk</groupId>
2323
<artifactId>java-operator-sdk</artifactId>
24-
<version>5.2.2-SNAPSHOT</version>
24+
<version>5.3.0-SNAPSHOT</version>
2525
</parent>
2626

2727
<artifactId>caffeine-bounded-cache-support</artifactId>
@@ -43,7 +43,7 @@
4343
</dependency>
4444
<dependency>
4545
<groupId>io.javaoperatorsdk</groupId>
46-
<artifactId>operator-framework-junit-5</artifactId>
46+
<artifactId>operator-framework-junit</artifactId>
4747
<version>${project.version}</version>
4848
<scope>test</scope>
4949
</dependency>
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
title: Migrating from v5.2 to v5.3
3+
description: Migrating from v5.2 to v5.3
4+
---
5+
6+
7+
## Renamed JUnit Module
8+
9+
If you use JUnit extension in your test just rename it from:
10+
11+
```
12+
<dependency>
13+
<groupId>io.javaoperatorsdk</groupId>
14+
<artifactId>operator-framework-junit-5</artifactId>
15+
<version>5.2.x<version>
16+
<scope>test</scope>
17+
</dependency>
18+
```
19+
20+
to
21+
22+
```
23+
<dependency>
24+
<groupId>io.javaoperatorsdk</groupId>
25+
<artifactId>operator-framework-junit</artifactId>
26+
<version>5.3.0<version>
27+
<scope>test</scope>
28+
</dependency>
29+
```

micrometer-support/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>io.javaoperatorsdk</groupId>
2323
<artifactId>java-operator-sdk</artifactId>
24-
<version>5.2.2-SNAPSHOT</version>
24+
<version>5.3.0-SNAPSHOT</version>
2525
</parent>
2626

2727
<artifactId>micrometer-support</artifactId>
@@ -58,7 +58,7 @@
5858
</dependency>
5959
<dependency>
6060
<groupId>io.javaoperatorsdk</groupId>
61-
<artifactId>operator-framework-junit-5</artifactId>
61+
<artifactId>operator-framework-junit</artifactId>
6262
<version>${project.version}</version>
6363
<scope>test</scope>
6464
</dependency>

operator-framework-bom/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
<groupId>io.javaoperatorsdk</groupId>
2323
<artifactId>operator-framework-bom</artifactId>
24-
<version>5.2.2-SNAPSHOT</version>
24+
<version>5.3.0-SNAPSHOT</version>
2525
<packaging>pom</packaging>
2626
<name>Operator SDK - Bill of Materials</name>
2727
<description>Java SDK for implementing Kubernetes operators</description>
@@ -77,7 +77,7 @@
7777
</dependency>
7878
<dependency>
7979
<groupId>io.javaoperatorsdk</groupId>
80-
<artifactId>operator-framework-junit-5</artifactId>
80+
<artifactId>operator-framework-junit</artifactId>
8181
<version>${project.version}</version>
8282
</dependency>
8383
</dependencies>

operator-framework-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>io.javaoperatorsdk</groupId>
2323
<artifactId>java-operator-sdk</artifactId>
24-
<version>5.2.2-SNAPSHOT</version>
24+
<version>5.3.0-SNAPSHOT</version>
2525
<relativePath>../pom.xml</relativePath>
2626
</parent>
2727

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/Operator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ public <P extends HasMetadata> RegisteredController<P> register(
258258
"Cannot register reconciler with name "
259259
+ reconciler.getClass().getCanonicalName()
260260
+ " reconciler named "
261-
+ ReconcilerUtils.getNameFor(reconciler)
261+
+ ReconcilerUtilsInternal.getNameFor(reconciler)
262262
+ " because its configuration cannot be found.\n"
263263
+ " Known reconcilers are: "
264264
+ configurationService.getKnownReconcilerNames());

0 commit comments

Comments
 (0)