Commit Graph

10513 Commits

Author SHA1 Message Date
Daniel Strmecki 84a93ffbd4 Feature/bael 5756 choose api (#13227)
* BAEL-5756: Rest controller

* BAEL-5756: GraphQL controller (without tests)

* BAEL-5756: Fix GraphQL test

* BAEL-5756: Fix GraphQL test 2

* BAEL-5756: GRPC working

* BAEL-5756: GRPC with Spring Boot

* BAEL-5756: Books proto service

* BAEL-5756: Fix grpc integration test

* BAEL-5756: Refactor

* BAEL-5756: Revert some changes

* BAEL-5756: Fix integration tests port issue between gRPC and GraphQL

* BAEL-5756: Fix pom merge issue

* BAEL-5756: Fix typo
2023-01-03 13:52:58 +00:00
neha298 ca9fecfaae Multiple repositories in Gradle (#13226)
* Creating a deep vs shallow copy of an object

* WIP: Initial commit

* Publish package to GitHub registry

* Import library from package registry

* Evaluation code removal

Co-authored-by: neha <neha.puraswani@smartsensesolutions.com>
2023-01-03 18:02:13 +05:30
cesarevalenti90 d6bc6bb5d2 BAEL-6057 - Implementing Retry In Kafka Consumer (#13229)
* Added test class for a simple shallow copy and deep copy

* Added test class for a simple shallow copy and deep copy

* refactor naming of test method

* formatted

* refactor test whenIsAShallowCopyDoneByCopyConstructor_thenImmutableObjectWillNotChange

* Renamed package and added md file

* refactor README.md

* first push

* refactor

* Revert "refactor README.md"

This reverts commit eae77c453ba0bf2af62bad52dc1ed61d07931e34.

* Revert "Renamed package and added md file"

This reverts commit 42c6f97cbde39cc0a5e0bacf34f86a32ded4f4aa.

* Revert "refactor test whenIsAShallowCopyDoneByCopyConstructor_thenImmutableObjectWillNotChange"

This reverts commit 44fb57fe2b51857f960dc216d33508e718e5414f.

* Revert "formatted"

This reverts commit 44be87ef25e566b8e9175cb0fdeed7f0ef485dd3.

* Revert "refactor naming of test method"

This reverts commit 6133c31057e39b19c4978f960cda1c0ba5559aae.

* Revert "Added test class for a simple shallow copy and deep copy"

This reverts commit 2cae083578883ae693d1c5e76fd4948e213e9ea0.

* Revert "Added test class for a simple shallow copy and deep copy"

This reverts commit f43312e2c1979410409f46020a3f7d555e11e966.

* Merge prohect java-supplier-callable to project core-java-lambdas

* adjusted package name

* removed AbstractAgeCalculator.java

* added test for supplier-callable

* first push for article "Implementing Retry In Kafka Consumer"

Co-authored-by: Cesare <cesare.valenti@hotmail.com>
2023-01-02 12:08:01 -08:00
Kapil Khandelwal 306949719b Fixing the No such DSL method Error in Jenkins Pipeline (#13223) 2023-01-02 12:01:12 -08:00
Dhawal Kapil 111532dc4a Revert "Java 16013 Add suffix legacy to spring-cloud-bootstrap module (#13218)" (#13231)
This reverts commit 4c153707aa.
2023-01-03 00:02:26 +05:30
anuragkumawat 4c153707aa Java 16013 Add suffix legacy to spring-cloud-bootstrap module (#13218)
* JAVA-16013 Add suffix legacy spring-cloud-bootstrap to module

* JAVA-16013 Revert local change done to run test
2023-01-02 23:40:25 +05:30
anuragkumawat 1c8006a1df JAVA-16722 Upgrade and Fix unit tests of jersey module (#13193) 2023-01-02 21:22:06 +05:30
Kilian Schneider a26acf8a0c BAEL-6055 NonUniqueResultException in Spring Data JPA (#13173)
* BAEL-6055 NonUniqueResultException in Spring Data JPA

* update using AssertJ Exception

* Update persistence-modules/spring-data-jpa-query-3/src/test/java/com/baeldung/spring/data/jpa/query/nonuniqueresultexception/NonUniqueResultExceptionIntegrationTest.java

Co-authored-by: KevinGilmore <kpg102@gmail.com>

* Update persistence-modules/spring-data-jpa-query-3/src/test/java/com/baeldung/spring/data/jpa/query/nonuniqueresultexception/NonUniqueResultExceptionIntegrationTest.java

Co-authored-by: KevinGilmore <kpg102@gmail.com>

Co-authored-by: KevinGilmore <kpg102@gmail.com>
2022-12-30 11:03:21 -07:00
Graham Cox 6579553e8d BAEL-6036: Enable caching on the TasksService for Lightrun Article (#13221) 2022-12-30 12:13:44 +01:00
Ralf Ueberfuhr 40249f907c BAEL-5867: Micrometer Observability API with Spring Boot 3 (#13180)
* BAEL-5867: Create project and create first usage main method

* BAEL-5867: Use Observation API in Boot

* BAEL-5867: Refactoring and testing

* BAEL-5867: Add tracing

* BAEL-5867: Remove notes and add project as a module to the aggregator

* BAEL-5867: Fix pmd rules violation
2022-12-28 21:47:49 +01:00
Shaun Phillips ab892ba982 BAEL-4487 Add Crypto Exceptions (#13183) 2022-12-28 08:52:02 +01:00
panos-kakos d01629a246 Java 16960 (#13201)
* [JAVA-16960]

* [JAVA-16960]

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-12-28 00:28:30 +05:30
Dhawal Kapil 2850dd5de1 Task/java 16779 (#13211)
* JAVA-16779 Removed kubernetes-spring from the kubernetes-modules

- Removed kubernete-spring from the parent pom of kubernetes-modules
since it is a JDK11 module

* JAVA-16779 Converted KinesisApplicationIntegrationTest to ManualTest

- Converted KinesisApplicationIntegrationTest to ManualTest since it
needs working AWS credentials to work
- Added missing properties
2022-12-28 00:27:48 +05:30
Dhawal Kapil 3ab37c4d42 JAVA-16779 Removed kubernetes-spring from the kubernetes-modules (#13210)
- Removed kubernete-spring from the parent pom of kubernetes-modules
since it is a JDK11 module
2022-12-28 00:01:41 +05:30
panos-kakos 2211a204c7 [JAVA-16856] (#13200)
* [JAVA-16856]

* [JAVA-16856] Reverted change

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-12-27 22:20:12 +05:30
Loredana Crusoveanu e4a775f1e4 Merge pull request #13204 from eugenp/BAEL-71323
BAEL-71323 re-org modules
2022-12-25 17:14:15 +02:00
Loredana Crusoveanu e99b6866f5 BAEL-71323 remove old module from pom 2022-12-25 15:13:43 +02:00
Loredana Crusoveanu fd63a915f3 BAEL-71323 re-org modules 2022-12-25 15:08:05 +02:00
Loredana Crusoveanu d6620d4b99 Merge pull request #13198 from collaboratewithakash/master
few backlinks added
2022-12-25 14:02:02 +02:00
collaboratewithakash c67ef1932c backlink fixed 2022-12-24 17:12:50 +05:30
collaboratewithakash 3e429428a7 backlink added 2022-12-24 13:22:01 +05:30
collaboratewithakash 74c28e8b79 backlink removed 2022-12-24 13:17:29 +05:30
Michael Olayemi 966b349fba BAEL-5943 Using Watermarks with iText in Java (#13178)
* BAEL-5943 Using Watermarks with iText in Java

* BAEL-5943 Update

* BAEL-5943 Update

* BAEL-5943 Update
2022-12-23 12:05:04 -08:00
Loredana Crusoveanu 9215eee368 Merge pull request #13184 from edizor/master
Update README
2022-12-23 16:39:32 +02:00
Grzegorz Piwowarek 20e0ff4aa3 Fix givenOneThreadIsWriting_whenAnotherThreadWritesAtSameKey_thenWaitAndGetCorrectValue (#13186) 2022-12-22 23:18:30 +01:00
pedrolopes 0a5a54f6d0 BAEL-5946: Fix unit tests (#13187)
* consistent read unit test

* unit test to show  consistency in writing to the same key of map

* testing writes at different map key

* fix to bugs on test 1 and 2

* removing repeated tests
2022-12-22 23:18:05 +01:00
Kai Yuan efad3fe07f [BAEL-6051_intListToStrList] convert List<Integer> to List<String> (#13169) 2022-12-22 15:23:29 -06:00
freelansam f5131d9ad0 JAVA-15822: Which sub-modules aren't being built (#13153)
* JAVA-15822: Which sub-modules aren't being built

* JAVA-15822: build error

* JAVA-15822: build error

* modified comment for gcp-firebase
2022-12-23 00:33:54 +05:30
edizor 0c05461ab7 Update README.md
[skip ci]
2022-12-22 22:40:03 +08:00
edizor 7c3fc3b10f Update README.md
[skip ci]
2022-12-22 22:38:21 +08:00
edizor fb17e68942 Update README.md
[skip ci]
2022-12-22 22:33:40 +08:00
edizor f699da12c6 Update README.md
[skip ci]
2022-12-22 22:29:03 +08:00
edizor aa58d16e8f Update README.md
[skip ci]
2022-12-22 22:25:58 +08:00
edizor 5a3d675ff7 Update README.md
[skip ci]
2022-12-22 22:17:45 +08:00
edizor 65cc5b6d05 Update README.md
[skip ci]
2022-12-22 22:13:12 +08:00
edizor 769406aa32 Update README.md
[skip ci]
2022-12-22 22:06:38 +08:00
edizor 6dbfd8bcf8 Update README.md
[skip ci]
2022-12-22 22:02:36 +08:00
edizor 3f0c4c27a2 Update README.md
[skip ci]
2022-12-22 21:57:36 +08:00
Loredana Crusoveanu 76f06cdd9c Merge pull request #12997 from press0/master
fix getLogger class name
2022-12-22 15:37:35 +02:00
Azhwani c71ade5790 BAEL-6023: Throwing an Exception If an Optional Is Present (#13116) 2022-12-21 17:18:46 +01:00
anuragkumawat 0e5e21f2ae Java 15439 PR to check failing test for modules fixed till date (#13150)
* JAVA-15439 Upgrade h2 database version - libraries-testing and deltaspike modules

* JAVA-15439 Fix for hibernate-queries,  hibernate-5,  java-jpa-2,  java-jpa-3 modules

* JAVA-15439 Fix for java-jpa, spring-jpa, spring-jpa-2 modules

* JAVA-15439 Revert changes for java-jpa-2 module

* JAVA-15439 Fix for core-java-persistence-2 and hibernate-exceptions modules

* JAVA-15439 Modules hibernate-mapping-2, read-only-transactions, log4j2, spring-data-eclipselink
2022-12-20 23:17:29 +05:30
freelansam 456652e02b JAVA-16563: Fix formatting of POMs (#13175) 2022-12-20 22:37:54 +05:30
Haroon Khan 015b146df0 [JAVA-16560] Update .gitignore with generated derby.log file (#13162) 2022-12-20 22:27:35 +05:30
Avin Buricha 343bc16821 BAEL-6002 | Article code (#13172) 2022-12-20 07:57:11 +05:30
pedrolopes 6bb5598904 BAEL-5946: Reading and Writing With a ConcurrentHashMap (#13163)
* consistent read unit test

* unit test to show  consistency in writing to the same key of map

* testing writes at different map key
2022-12-19 22:02:08 +01:00
Ulisses Lima 88f2eca118 BAEL 5842 - Calling JMX MBean Method from a Shell Script (#13028)
* bael 5842

* bael-5842 - editor review 1
2022-12-19 15:29:17 +01:00
cesarevalenti90 0fd77aa664 [BAEL 5909]-Callable vs Supplier and When to Use Them in Java (#13041)
* Added test class for a simple shallow copy and deep copy

* Added test class for a simple shallow copy and deep copy

* refactor naming of test method

* formatted

* refactor test whenIsAShallowCopyDoneByCopyConstructor_thenImmutableObjectWillNotChange

* Renamed package and added md file

* refactor README.md

* first push

* refactor

* Revert "refactor README.md"

This reverts commit eae77c453ba0bf2af62bad52dc1ed61d07931e34.

* Revert "Renamed package and added md file"

This reverts commit 42c6f97cbde39cc0a5e0bacf34f86a32ded4f4aa.

* Revert "refactor test whenIsAShallowCopyDoneByCopyConstructor_thenImmutableObjectWillNotChange"

This reverts commit 44fb57fe2b51857f960dc216d33508e718e5414f.

* Revert "formatted"

This reverts commit 44be87ef25e566b8e9175cb0fdeed7f0ef485dd3.

* Revert "refactor naming of test method"

This reverts commit 6133c31057e39b19c4978f960cda1c0ba5559aae.

* Revert "Added test class for a simple shallow copy and deep copy"

This reverts commit 2cae083578883ae693d1c5e76fd4948e213e9ea0.

* Revert "Added test class for a simple shallow copy and deep copy"

This reverts commit f43312e2c1979410409f46020a3f7d555e11e966.

* Merge prohect java-supplier-callable to project core-java-lambdas

* adjusted package name

* removed AbstractAgeCalculator.java

* added test for supplier-callable

Co-authored-by: Cesare <cesare.valenti@hotmail.com>
2022-12-19 19:23:17 +05:30
Tapan Avasthi 39f29ec690 BAEL-6015: Split String by Whitespace in Java (#13146)
- Using split() method of String class
- Using StringTokenizer class
- Using split() utility method of the StringUtils class

Co-authored-by: Tapan Avasthi <tavasthi@Tapans-MacBook-Air.local>
2022-12-18 22:07:11 -06:00
Kapil Khandelwal ee9122794c BAEL:3628 - Trigger another job from a jenkins pipeline (#13170) 2022-12-18 14:29:56 -08:00
Bogdan Cardoş ba7371baac BAEL-5525 add mainClass and layout configuration to the spring boot maven plugin (#13049)
* BAEL-5617 Handle classes with the same name in Java

code samples

* BAEL-5617 Handle classes with the same name in Java

update project module

* BAEL-5754 Convert a List of String to a comma-separated String

code samples

* BAEL-5754 update unit test class name

* BAEL-5754 update unit test methods naming

* BAEL-5754 update tests order so to reflect the article

* BAEL-5754 align code to article

* BAEL-5525 add mainClass and layout configuration to the spring boot maven plugin
2022-12-17 15:44:23 +00:00