diff --git a/_shared/images/hosts/JCON-2024.png b/_shared/images/hosts/JCON-2024.png new file mode 100644 index 0000000..7dd1603 Binary files /dev/null and b/_shared/images/hosts/JCON-2024.png differ diff --git a/slides/2024-05-15-rewrite-dive/images/61478321.png b/slides/2024-05-15-rewrite-dive/images/61478321.png new file mode 100644 index 0000000..77af48e Binary files /dev/null and b/slides/2024-05-15-rewrite-dive/images/61478321.png differ diff --git a/slides/2024-05-15-rewrite-dive/images/DepricatedServices.svg b/slides/2024-05-15-rewrite-dive/images/DepricatedServices.svg new file mode 100644 index 0000000..8e243e0 --- /dev/null +++ b/slides/2024-05-15-rewrite-dive/images/DepricatedServices.svg @@ -0,0 +1,21 @@ + + + + + + + + AwsomeServiceOtherServiceuses@DeprecatedNewServiceshould use diff --git a/slides/2024-05-15-rewrite-dive/images/SLA-Slack-from-Salesforce-logo-COLOR-RGB.jpg b/slides/2024-05-15-rewrite-dive/images/SLA-Slack-from-Salesforce-logo-COLOR-RGB.jpg new file mode 100644 index 0000000..1415fdb Binary files /dev/null and b/slides/2024-05-15-rewrite-dive/images/SLA-Slack-from-Salesforce-logo-COLOR-RGB.jpg differ diff --git a/slides/2024-05-15-rewrite-dive/images/Tune_Table_1980s_L.jpg b/slides/2024-05-15-rewrite-dive/images/Tune_Table_1980s_L.jpg new file mode 100644 index 0000000..7fd1bf4 Binary files /dev/null and b/slides/2024-05-15-rewrite-dive/images/Tune_Table_1980s_L.jpg differ diff --git a/slides/2024-05-15-rewrite-dive/images/Tune_Table_1980s_R.jpg b/slides/2024-05-15-rewrite-dive/images/Tune_Table_1980s_R.jpg new file mode 100644 index 0000000..6c7450a Binary files /dev/null and b/slides/2024-05-15-rewrite-dive/images/Tune_Table_1980s_R.jpg differ diff --git a/slides/2024-05-15-rewrite-dive/images/_sources.adoc b/slides/2024-05-15-rewrite-dive/images/_sources.adoc new file mode 100644 index 0000000..2710f0c --- /dev/null +++ b/slides/2024-05-15-rewrite-dive/images/_sources.adoc @@ -0,0 +1,4 @@ +== Image Credits +* Java Versions and JEPs over time from https://www.jrebel.com/resources/new-features-java[JRebel] +* Motorplane in front of airbus generated with Microsoft Designer Image Creator +* Netflix Microservices Traffic Flow from https://www.honeycomb.io/microservices[honeycomb.io/microservices] diff --git a/slides/2024-05-15-rewrite-dive/images/commonhouse-logo.svg b/slides/2024-05-15-rewrite-dive/images/commonhouse-logo.svg new file mode 100644 index 0000000..62a8786 --- /dev/null +++ b/slides/2024-05-15-rewrite-dive/images/commonhouse-logo.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/slides/2024-05-15-rewrite-dive/images/discord-logo-blue.png b/slides/2024-05-15-rewrite-dive/images/discord-logo-blue.png new file mode 100644 index 0000000..4cf1e83 Binary files /dev/null and b/slides/2024-05-15-rewrite-dive/images/discord-logo-blue.png differ diff --git a/slides/2024-05-15-rewrite-dive/images/frau-die-holzbretter-kratzt.jpg b/slides/2024-05-15-rewrite-dive/images/frau-die-holzbretter-kratzt.jpg new file mode 100644 index 0000000..28ec334 Binary files /dev/null and b/slides/2024-05-15-rewrite-dive/images/frau-die-holzbretter-kratzt.jpg differ diff --git a/slides/2024-05-15-rewrite-dive/images/java_jeps_overtime.webp b/slides/2024-05-15-rewrite-dive/images/java_jeps_overtime.webp new file mode 100644 index 0000000..515a8af Binary files /dev/null and b/slides/2024-05-15-rewrite-dive/images/java_jeps_overtime.webp differ diff --git a/slides/2024-05-15-rewrite-dive/images/java_spring_releases.webp b/slides/2024-05-15-rewrite-dive/images/java_spring_releases.webp new file mode 100644 index 0000000..437ee4c Binary files /dev/null and b/slides/2024-05-15-rewrite-dive/images/java_spring_releases.webp differ diff --git a/slides/2024-05-15-rewrite-dive/images/junit4-logo.png b/slides/2024-05-15-rewrite-dive/images/junit4-logo.png new file mode 100644 index 0000000..9b514f3 Binary files /dev/null and b/slides/2024-05-15-rewrite-dive/images/junit4-logo.png differ diff --git a/slides/2024-05-15-rewrite-dive/images/junit5-logo.png b/slides/2024-05-15-rewrite-dive/images/junit5-logo.png new file mode 100644 index 0000000..96ca829 Binary files /dev/null and b/slides/2024-05-15-rewrite-dive/images/junit5-logo.png differ diff --git a/slides/2024-05-15-rewrite-dive/images/man-ready-run-suit-full-shot.jpg b/slides/2024-05-15-rewrite-dive/images/man-ready-run-suit-full-shot.jpg new file mode 100644 index 0000000..708d75e Binary files /dev/null and b/slides/2024-05-15-rewrite-dive/images/man-ready-run-suit-full-shot.jpg differ diff --git a/slides/2024-05-15-rewrite-dive/images/modern_builder_remove.png b/slides/2024-05-15-rewrite-dive/images/modern_builder_remove.png new file mode 100644 index 0000000..e348775 Binary files /dev/null and b/slides/2024-05-15-rewrite-dive/images/modern_builder_remove.png differ diff --git a/slides/2024-05-15-rewrite-dive/images/modern_builder_remove_2.png b/slides/2024-05-15-rewrite-dive/images/modern_builder_remove_2.png new file mode 100644 index 0000000..a0c3bc3 Binary files /dev/null and b/slides/2024-05-15-rewrite-dive/images/modern_builder_remove_2.png differ diff --git a/slides/2024-05-15-rewrite-dive/images/modern_builder_result.png b/slides/2024-05-15-rewrite-dive/images/modern_builder_result.png new file mode 100644 index 0000000..293bb5c Binary files /dev/null and b/slides/2024-05-15-rewrite-dive/images/modern_builder_result.png differ diff --git a/slides/2024-05-15-rewrite-dive/images/modern_recipe_starter.png b/slides/2024-05-15-rewrite-dive/images/modern_recipe_starter.png new file mode 100644 index 0000000..9351693 Binary files /dev/null and b/slides/2024-05-15-rewrite-dive/images/modern_recipe_starter.png differ diff --git a/slides/2024-05-15-rewrite-dive/images/modern_search.png b/slides/2024-05-15-rewrite-dive/images/modern_search.png new file mode 100644 index 0000000..b07e229 Binary files /dev/null and b/slides/2024-05-15-rewrite-dive/images/modern_search.png differ diff --git a/slides/2024-05-15-rewrite-dive/images/moderne_commonhaus_statement.png b/slides/2024-05-15-rewrite-dive/images/moderne_commonhaus_statement.png new file mode 100644 index 0000000..065f603 Binary files /dev/null and b/slides/2024-05-15-rewrite-dive/images/moderne_commonhaus_statement.png differ diff --git a/slides/2024-05-15-rewrite-dive/images/moderne_logo.avif b/slides/2024-05-15-rewrite-dive/images/moderne_logo.avif new file mode 100644 index 0000000..d40cbaf Binary files /dev/null and b/slides/2024-05-15-rewrite-dive/images/moderne_logo.avif differ diff --git a/slides/2024-05-15-rewrite-dive/images/motorplane_and_modern.jpeg b/slides/2024-05-15-rewrite-dive/images/motorplane_and_modern.jpeg new file mode 100644 index 0000000..a734c92 Binary files /dev/null and b/slides/2024-05-15-rewrite-dive/images/motorplane_and_modern.jpeg differ diff --git a/slides/2024-05-15-rewrite-dive/images/netflix-microservices-traffic-flow-768x466.png b/slides/2024-05-15-rewrite-dive/images/netflix-microservices-traffic-flow-768x466.png new file mode 100644 index 0000000..253cd12 Binary files /dev/null and b/slides/2024-05-15-rewrite-dive/images/netflix-microservices-traffic-flow-768x466.png differ diff --git a/slides/2024-05-15-rewrite-dive/images/open_rewrite_catalog.png b/slides/2024-05-15-rewrite-dive/images/open_rewrite_catalog.png new file mode 100644 index 0000000..65ecf5e Binary files /dev/null and b/slides/2024-05-15-rewrite-dive/images/open_rewrite_catalog.png differ diff --git a/slides/2024-05-15-rewrite-dive/images/or_catalog_small.png b/slides/2024-05-15-rewrite-dive/images/or_catalog_small.png new file mode 100644 index 0000000..4b7bdae Binary files /dev/null and b/slides/2024-05-15-rewrite-dive/images/or_catalog_small.png differ diff --git a/slides/2024-05-15-rewrite-dive/images/powerOfRewrite.png b/slides/2024-05-15-rewrite-dive/images/powerOfRewrite.png new file mode 100644 index 0000000..9c52377 Binary files /dev/null and b/slides/2024-05-15-rewrite-dive/images/powerOfRewrite.png differ diff --git a/slides/2024-05-15-rewrite-dive/images/student-posiert-im-klassenzimmer.jpg b/slides/2024-05-15-rewrite-dive/images/student-posiert-im-klassenzimmer.jpg new file mode 100644 index 0000000..4977448 Binary files /dev/null and b/slides/2024-05-15-rewrite-dive/images/student-posiert-im-klassenzimmer.jpg differ diff --git a/slides/2024-05-15-rewrite-dive/index.html b/slides/2024-05-15-rewrite-dive/index.html new file mode 100644 index 0000000..1bebe35 --- /dev/null +++ b/slides/2024-05-15-rewrite-dive/index.html @@ -0,0 +1,750 @@ +Open Rewrite: 🤿 into Automated Refactorings

Open Rewrite

🤿 into Automated Refactorings

+ + +
+ +
+ + +
+
+ +
+

Java Software Engineer

+

Line of Business Public

+
+
+
+
+
+ + +
+
+ + +

+ Merlin Bögershausen + / @mboegie +

+
+
+ +
+

Why modernization?

JEPs over Time

java jeps overtime
+

Evolution of Java

java spring releases
+

Act now!

motorplane and modern
+
+

How modernizations work?

Refactorings

Refactoring is a controlled technique for improving the design of an existing code base. +Its essence is applying a series of small behavior-preserving transformations, each of which "too small to be worth doing".
— Fowler

Just another Method

DepricatedServices

Just a new version

+ + + + + +
+
junit4 logo
+
➜ +
junit5 logo
+
+
@Before /*->*/ @BeforeEach
+@AfterClass /*->*/ @AfterAll
+@Test(expected = IndexOutOfBoundsException.class)
+  /*->*/ assertThrows(IndexOutOfBoundsException.class, () -> {})
+Assert.assertEquals("One is one", 1, 1);
+  /*->*/ Assertions.assertEquals(1, 1, "One is one");
+@Test(timeout = 500) /*->*/ @Test @Timeout(500)

Check Please!

Setup Annotations +30 min each

+

Timeouts +10 min/use

+

Expected Exceptions +10 min/use

+

times the hourly rate

+

😳😳

+
ChezDuke

Repeat on next

netflix microservices traffic flow 768x466
+
+
+ + + + + + + + +
.stretch
moderne logo
.stretch

Commonhaus Foundation

Instruction

Tune Table 1980s L
+
Tune Table 1980s R

Support for

powerOfRewrite

Moderne / Open Rewrite

moderne commonhaus statement
+

What to do now?

Start Playing & Calculate

Collaborate

Coffee and Talk

+
+

Contact

+

Me

+MBoegie@fosstodon.org // +@MBoegi // +MBoegers +
+

adesso

+Infos // +DevBlog +

Approach direct

+I'm here all day with cookies!
+

Jobs

+
qrcode adesso jobs
+
+

Image Credits

  • Java Versions and JEPs over time from JRebel

  • Motorplane in front of airbus generated with Microsoft Designer Image Creator

  • Netflix Microservices Traffic Flow from honeycomb.io/microservices

\ No newline at end of file