26914 Commits

Author SHA1 Message Date
timis1
101fc1b424 JAVA-18167 Upgrade persistence-modules to JDK 11 (#13714)
* JAVA-18167 Upgrade persistence-modules to JDK 11 (activejdbc and core-java-persistence)

* JAVA-16167 Update pom.xml to include just the updated modules

* JAVA-18167 Added vaadin because it looks that I removed

* JAVA-18167 Migration deltaspike

* JAVA-18167 Migration hbase module

* JAVA-18167 Migration hibernate-mapping-2

* JAVA-18167 Migration hibernate-exceptions

* JAVA-18167 Migration hibernate-jpa module

* JAVA-18167 Migration hibernate-jpa change the name of User entity

* JAVA-18167 Overwriting the version of slf4j and logback for hibernate-jpa

* JAVA-18167 Migrate deltaspike back to jdk8

* JAVA-18167 Remove some modules that was added elsewhere

* Revert "JAVA-18167 Migration deltaspike"

This reverts commit 874b4ba2

* JAVA-18167 Comment failed module (it will be migrated later)

---------

Co-authored-by: timis1 <noreplay@yahoo.com>
2023-04-07 07:23:12 +05:30
Tapan Avasthi
65e22c8b02 BAEL-6370: Introduce @JsonKey annotation for Map serialization (#13766)
Co-authored-by: Tapan Avasthi <tavasthi@Tapans-MacBook-Air.local>
2023-04-06 18:53:50 -05:00
jsgrah-spring
9633617144 JAVA-19970, Module gcp-firebase - use dummy keys. (#13742)
Co-authored-by: jogra <joseph.sterling.grah@miles.no>
2023-04-06 22:09:24 +05:30
Iniubong LA
eb04de7dfb arthurshur (#13737)
* Creating a deep vs shallow copy of an object in Java

* Creating a deep vs shallow copy of an object in Java

* Baeldung article converting number bases

* Baeldung article converting number bases

* edits made to Converting a Number from One Base to Another in Java

* added braces to oneliners

* added precondition to check input

* String[] vs String...

* helper vs Utility classes

* helper vs utility classes code

* helper vs utility classes refactor

* utility vs helper class

* Helper vs utility

* helper vs utility classes

* refactor package name

* Revert "refactor package name"

This reverts commit d9464aa2de.

* renamed package
2023-04-05 20:22:12 -05:00
Bipin kumar
054c9958be Dev 19389 (#13745)
* Java-19389 : commits made for adding two new test cases for UUID use:

* Java-19389 : commits made for adding two new test cases for UUID use:

* JAVA-19389: Changes made for incorporating review comments
2023-04-05 21:58:06 +05:30
Bipin kumar
0062225a20 Java-14972: changes made for adding new example using field annoted @… (#13746)
* Java-19389: changes made for adding new example using field annoted @jsonValue

* Java-14972: Changes made for renaming the test methods and removing commented code

* dev-14972 : Changes made for incorporating review comments

* dev-14972: changes made for adding GeneralBean class and test cases of jsonValue against the GeneralBean class
2023-04-05 21:56:04 +05:30
timis1
97c0a44901 JAVA-18609 GitHub Issue: Spring Batch - JobBuilderFactory and StepBui… (#13618)
* JAVA-18609 GitHub Issue: Spring Batch - JobBuilderFactory and StepBuilderFactory are deprecated

---------

Co-authored-by: timis1 <noreplay@yahoo.com>
2023-04-05 12:46:50 +03:00
Kai Yuan
fcacb8073a [BAEL-6284_tmpDir] add tests for the cleanup option (#13752) 2023-04-04 20:16:46 -05:00
Michael Olayemi
f4227a50a6 I text (#13770)
* BAEL-6226 Calculate Pi Java Program

* BAEL-6226 Calculate Pi Java Program

* Calculate Pi Java Program
2023-04-05 06:44:45 +05:30
Adrian Bob
ee5f5b2015 BAEL-6071: Resilience4j events endpoints (#13697)
* Add project for Resilience4j Events Endpoints article

* Update README

* Add spring-boot-resilience4j module

* Renamed test class to meet constraints

* Update package structure

* Added formatting

* Replaces .parallel() with Executor

* Updated concurrent calls for bulkhead test
2023-04-04 15:49:54 +02:00
kpentaris
7e64fce571 Add application file for BAEL-4496 (#13762) 2023-04-04 13:39:51 +02:00
mariudotsh
a3fc26ec50 BAEL-5985 Hibernate @CreationTimestamp and @UpdateTimestamp (#13690)
* BAEL-5985 Hibernate @CreationTimestamp and @UpdateTimestamp

* BAEL-5985 Remove unnecessary imports

* BAEL-5985 Swap order in assertEquals

---------

Co-authored-by: Mariusz Kaczmarczyk <to@mariu.sh>
2023-04-04 09:54:37 +02:00
Forb Yuan
b0a84c94d2 [BAEL-6203] Deserialize Generic Type with Jackson (#13764) 2023-04-03 20:47:51 -07:00
Michael Olayemi
3cdc10d6bb BAEL-6226 Calculate Pi Java Program (#13693)
* BAEL-6226 Calculate Pi Java Program

* BAEL-6226 Calculate Pi Java Program
2023-04-04 07:36:12 +05:30
panos-kakos
d186dc6997 [JAVA-18144] Moved jmh module to jdk9-and-above profile (#13725)
* [JAVA-18144] Moved jmh module to jdk9-and-above profile

* [JAVA-18144] Added configuration

* [JAVA-18144] Upgraded dependencies

* [JAVA-18144] Added compile argument
2023-04-03 22:57:36 +05:30
panos-kakos
61cf039ec1 [JAVA-19668] (#13721)
* [JAVA-19668] Moved libraries-5 module to jdk9-and-above profile

* [JAVA-19668] Moved libraries-4 module to jdk9-and-above profile

* [JAVA-19668] Moved libraries-6 module to jdk9-and-above profile

* [JAVA-19668] Moved libraries module to jdk9-and-above profile + reverted changes fro libraries-6

* [JAVA-19668] Created libraries-jdk8 module

* [JAVA-19668] Clean up
2023-04-03 22:52:11 +05:30
3hsan
d260f51d8b Upgrade osgi module to JDK 11 by moving it to jdk9-and-above profile (#13728) 2023-04-03 22:43:45 +05:30
anuragkumawat
6dd3dcd373 JAVA-19554 Move Constructor Injection in Spring with Lombok article from spring-core-4 module to lombok-2 module (#13758) 2023-04-03 22:14:08 +05:30
anuragkumawat
5ea41e8a30 JAVA-19549 Move A Spring Custom Annotation for a Better DAO article from spring-core-3 module to spring-data-jpa-annotations module (#13748) 2023-04-03 21:11:26 +05:30
Bipin kumar
9dedaa523a JAVA-19726: Changes made for cleaning code (#13763)
* JAVA-19726: Changes made for cleaning code

* JAVA-19726: Changes made for cleaning code

* JAVA-19726: Changes made for cleaning code
2023-04-03 19:54:23 +05:30
Chris
c3487c11a8 Prevent NPE when trying to create a deep copy (#13513) 2023-04-03 12:29:45 +05:30
Viktor Ardelean
38fa542b6e BAEL-6093 add spring boot 3 url matching code sample (#13744) 2023-04-02 14:00:58 -07:00
cesarevalenti90
3ea4317736 BAEL-6277 - A Guide To Spring Cloud Azure (#13704)
* BAEL-6255 - Run a Spring Boot application in AWS Lambda

* BAEL-6255 - Run a Spring Boot application in AWS Lambda

* fix on template.yaml

* fix on template.yaml

* removed log from test

* resolved issues reported on PR

* BAEL-6277 - A Guide To Spring Cloud Azure

First commit

* BAEL-6277 - A Guide To Spring Cloud Azure

Added to README.md the steps to create the secrets

* BAEL-6277 - A Guide To Spring Cloud Azure

Added the integration Azure Key Vault Properties

* BAEL-6277 - A Guide To Spring Cloud Azure

Added the integration Azure Key Vault Properties

* BAEL-6277 - A Guide To Spring Cloud Azure Key Vault

Added one level package keyvault

* BAEL-6277 - A Guide To Spring Cloud Azure Key Vault

removed target release version

* BAEL-6277 - A Guide To Spring Cloud Azure Key Vault

fix compilation of NoSuchElementException

* BAEL-6277 - A Guide To Spring Cloud Azure Key Vault

fix pom.xml

* Revert "BAEL-6277 - A Guide To Spring Cloud Azure Key Vault"

This reverts commit 1cca1d0d69.

* BAEL-6277 - A Guide To Spring Cloud Azure Key Vault

fix pom.xml

* BAEL-6277 - A Guide To Spring Cloud Azure Key Vault

downgrade version to fix jenkins pipeline error

* BAEL-6277 - A Guide To Spring Cloud Azure Key Vault

comment run on main class

---------

Co-authored-by: Cesare <cesare.valenti@hotmail.com>
2023-04-02 10:57:11 -05:00
Kai Yuan
e8e29e275d [str-to-uuid] uuid from string (#13736)
* [str-to-uuid] uuid from string

* [str-to-uuid] rename test methods
2023-04-01 10:06:23 -05:00
Eugene Kovko
2bbcc50584 BAEL-6282 Add Native Image Condition (#13739) 2023-03-31 14:27:40 -07:00
AttilaUhrin
00f1479681 [BAEL-6161] Add example code for article. (#13651)
Co-authored-by: Uhrin Attila <attila.uhrin@frontendart.com>
2023-03-31 07:53:12 +05:30
Kai Yuan
729873bd55 [BAEL-6297_boolean-to-str] convert boolean to java article (#13729)
* [BAEL-6297_boolean-to-str] convert boolean to java article

* [BAEL-6297_boolean-to-str] using Boolean.FALSE instead of false for the Boolean variable

* [BAEL-6297_boolean-to-str] rename test methods
2023-03-30 18:01:25 -05:00
Anastasios Ioannidis
66f1e56197 JAVA-18131 Upgrade core-java-modules to JDK 11 (#13462)
* JAVA-18131 Upgrade core-java-modules to JDK 11

* JAVA-18131 Fixed pom conflicts

* JAVA-18131 Upgraded ASM and updated expected test results

* JAVA-18131 Fixed FormatNumberUnitTest and removed core-java-security from upgrading to 17

* JAVA-18131 Removed core-java-sun from upgrading

* JAVA-18131 Removed core-java-jvm-2, fixed number test

* JAVA-18131 Removed core-java-sun from upgrading to 11

* JAVA-18131 Removed all edited submodules from pre-jdk9

* JAVA-18131 removed pre-jpms from pre-jdk9

* JAVA-18131 Removed core-java-numbers-3 from pre-jdk9 profiles

* JAVA-18131 Cleanup

* JAVA-18131 Cleanup 2 - Removed upgraded submodules from core-java-modules

* JAVA-18131 Cleanup completed

* JAVA-18131 Replaced core-java-modules submodules in main pom with core-java-modules

* JAVA-18131 Replaced core-java-modules submodules in main pom, continued

* JAVA-18131 Core-java-nio-2, core-java-serialization back to pre-jdk9

* JAVA-18131 Try removing math-3 from core-java-modules and explicitly refer in parent pom

* JAVA-18131 Removed -lang, -nio, -streams-2, -math-3, -conversions-2 from jdk9 profiles

* JAVA-18131 Corrected conversions-2 module

* JAVA-18131 Review fixes

* JAVA-18131 Fixed -nio, re-upgraded -lang

* JAVA-18131 Adapted -nio for JDK 11, returned -lang to JDK 8

* JAVA-18131 Final corrections
2023-03-31 01:39:12 +05:30
Loredana Crusoveanu
969ca6a1b5 Merge pull request #13741 from edizor/master
Update README
2023-03-30 20:58:43 +03:00
anuragkumawat
1e042cc6fe JAVA-19547 Move articles from spring-core-2 module to spring-boot modules (#13730) 2023-03-30 22:00:57 +05:30
anuragkumawat
8edd798024 JAVA-19058 Review the time of the build - Week 42 - 2022 (moved-18) (#13732) 2023-03-30 21:56:27 +05:30
anuragkumawat
76c20e61e5 Move articles from spring-core-6 module to other spring-boot modules (#13722)
* Move articles from spring-core-6 module to other spring-boot modules

* JAVA-19559 Move articles from spring-core-6 module to other spring-boot-3 modules

* JAVA-19559 Minor spacing change

* JAVA-19559 Revert  Minor spacing change
2023-03-30 21:53:07 +05:30
edizor
c49daa3e9f Update README.md
[skip ci]
2023-03-30 22:30:42 +08:00
edizor
992d52b46e Update README.md
[skip ci]
2023-03-30 22:22:08 +08:00
edizor
d550607640 Update README.md
[skip ci]
2023-03-30 22:14:12 +08:00
edizor
aaf2e0ceb7 Update README.md
[skip ci]
2023-03-30 22:10:01 +08:00
edizor
c8f86d6eed Update README.md
[skip ci]
2023-03-30 22:05:34 +08:00
edizor
d48726c527 Update README.md
[skip ci]
2023-03-30 21:12:49 +08:00
Balamurugan
cbb69570dc BAEL-5988: Added properties for fixing failing tests for R2DBCExampleApplicationIntegrationTest (#13738) 2023-03-29 23:15:36 -06:00
Abhinav Pandey
e08f12be91 BAEL-5936 - OffsetDateTime serialization with Jackson (#13680)
* BAEL-5936 - OffsetDateTime serialization with Jackson

* BAEL-5936 - Extracting methods and adding tests

* BAEL-5936 - Renaming test file

* BAEL-5936 - Changing test method names

* BAEL-5936 - removes implements serializable
2023-03-30 07:53:46 +05:30
Tapan Avasthi
e138ae3176 BAEL-5170: Expose Kafka Consumer Metrics via Actuator Endpoint (#13723)
Co-authored-by: Tapan Avasthi <tavasthi@Tapans-MacBook-Air.local>
2023-03-28 17:45:00 -05:00
Loredana Crusoveanu
0ac9e37f9a Merge pull request #13524 from eugenp/pivovarit-patch-1
Delete dependeny-exclusion directory
2023-03-28 17:22:23 +03:00
ACHRAF TAITAI
a758669e05 Finding the Minimum Value in an ArrayList along with the Index Number… (#13498)
* Finding the Minimum Value in an ArrayList along with the Index Number in Java

* BAEL-6147: rename test unit method

* adapt test method name
2023-03-28 17:39:47 +05:30
Loredana Crusoveanu
8c43d3d58f Merge pull request #13568 from Jacky-code519/master
Could com.baeldung.web: spring-boot-rest: 0.0.1-SNAPSHOT drop off redundant dependencies?
2023-03-28 14:07:17 +03:00
Loredana Crusoveanu
5c5dca3c7f Merge pull request #13520 from Daiven75/patch-1
[FIX] rename class according to the entity
2023-03-28 13:59:37 +03:00
Loredana Crusoveanu
b58afef21f Merge pull request #13727 from ulisseslima/bael--quickfix_PostRepository
PostRepository - removing redundant interface
2023-03-28 12:15:45 +03:00
timis1
492ef53b72 JAVA-17818 Split or move spring-cloud-openfeign module (conti-2) (#13621)
* JAVA-17818 Split or move spring-cloud-openfeign module (conti-2)

* JAVA-17818 Some adjustments in the README.md file

---------

Co-authored-by: timis1 <noreplay@yahoo.com>
2023-03-28 13:31:39 +05:30
Ulisses Lima
dfb2b08d2f removing redundant interface 2023-03-27 13:56:16 -03:00
timis1
88523ab8d1 JAVA-18152 Upgrade libraries-data-db module to JDK 11 (#13716)
Co-authored-by: timis1 <noreplay@yahoo.com>
2023-03-27 21:45:24 +05:30
Mikhail Polivakha
c5694dc2b7 misha2048 Retrying Requests using Apache HttpClient (#13712) 2023-03-27 08:52:56 -07:00