Commit Graph

25287 Commits

Author SHA1 Message Date
Asjad J
62e43cfeaf Created README.md
added link back to the article: https://www.baeldung.com/gradle-conditional-dependencies
2022-08-17 16:18:06 +05:00
Abhinav Pandey
778691a703 BAEL-5677 - Logging to both file and console with log4j (#12550)
* BAEL-5677 - Logging to both file and console with log4j

* Moving from log4j to log4j2

* Correction in class name

* Moving to log4j2 package
2022-08-17 09:35:59 +05:30
davidmartinezbarua
c4259cba3e Merge pull request #12590 from etrandafir93/features/BAEL-5674-streams-multiple-vs-single-filters
BAEL-5674: added code examples for the article
2022-08-16 15:55:52 -03:00
anuragkumawat
86c6881a5e JAVA-13734 Update article Introduction to JSON Schema in Java (#12565)
* JAVA-13734 Update article Introduction to JSON Schema in Java

* JAVA-13734 Corrected the code formatting
2022-08-16 22:16:34 +05:30
anuragkumawat
cd4db56c34 JAVA-12628 Rename CountdownLatchResetExampleUnitTest (#12602) 2022-08-16 22:14:49 +05:30
Chrys Exaucet
463ffd8b61 BAEL-5540: Sending Soap Request via Postman (#12581)
* fix(build): remove jaxb2-maven-plugin plugin

XCJ fails due to unresolved/conflicting  dependencies. The project runs fine without jaxb2-maven-plugin plugin, given maven-jaxb2-plugin is already there.

* fix(build): correct gen files imports

maven-jaxb2-plugin generates in  com.baeldung.springsoap.client.gen, not com.baeldung.springsoap.gen

* chore: add postman collection

* revert: set back jaxb2-maven-plugin

Didn't run project with Java 1.8, that's why I was facing build errors

reverts cb3aed358c & 56f2b1fd93
2022-08-15 22:01:44 -06:00
lucaCambi77
22d1c03114 [ BAEL 5508 ] - Mounting Multiple Volumes on a Docker Container (#12589)
* multiple mounts docker compose

* exclude localstack files
2022-08-15 20:09:12 -05:00
Kai Yuan
6d61dae693 Named Placeholders in String Formatting (#12576)
* Named Placeholders in String Formatting

* assert notEqualTo
2022-08-15 19:48:15 -05:00
Haroon Khan
2f48abf647 [JAVA-12608] Fix WebClient integration tests (#12597) 2022-08-15 14:08:46 +05:30
panos-kakos
adef98c334 [JAVA-13838] fixed tests (#12596)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-08-15 12:15:26 +05:30
Eugene Kovko
444e46acd9 BAEL-5646: String permutation examples (#12595) 2022-08-14 20:35:52 +02:00
sdhiray7
401675634d [BAEL-5661] Integer.toString vs String.valueOf (#12591)
* Initial commit for Object copy in Java

* review comments commit for Object copy in Java

* Initial commit for parseInt vs valueOf java

* Review comments commit for parseInt vs valueOf java

* Modify readme

* review comments

* build failure

* build failure retry

* build failure retry remove parseInt(java.lang.String,int,int,int)

* build failure add comment

* change examples

* review comments

* review comments 2

* review comments 3

* Initial commit for get current stacktrace

* Remove old files

* Name updates

* Jenkins error

* changes to file name

* Review comments

* Create unit test file

* Remove unnecessary files
2022-08-14 20:23:47 +02:00
emanueltrandafir1993
25c2c1fd50 BAEL-5674: added code examples for the article 2022-08-13 18:44:03 +02:00
Haroon Khan
07f954d161 [JAVA-12608] Add logging to debug failing tests (#12587) 2022-08-12 20:32:30 +05:30
Loredana Crusoveanu
d72b7782fa Merge pull request #12585 from dkapil/task/JAVA-13630
Task/java 13630
2022-08-11 15:16:16 +03:00
Loredana Crusoveanu
1a48ef259b Merge pull request #12586 from panos-kakos/JAVA-13838
[JAVA-13838] updated version for overriden jackson library
2022-08-11 15:11:51 +03:00
panagiotiskakos
f4e84a5d8b [JAVA-13838] updated version for overriden jackson library in gradle files 2022-08-11 12:33:45 +03:00
panagiotiskakos
6901d88742 [JAVA-13838] updated version for overriden jackson library 2022-08-11 09:48:49 +03:00
Dhawal Kapil
b4c7469fcf Merge branch 'master' of https://github.com/eugenp/tutorials into
task/JAVA-13630

# Conflicts:
#	persistence-modules/fauna/pom.xml
2022-08-11 00:03:03 +05:30
Dhawal Kapil
96fbdcc83b Merge branch 'task/JAVA-13630' of https://github.com/dkapil/tutorials into task/JAVA-13630 2022-08-10 23:59:47 +05:30
Dhawal Kapil
d4f06c9498 JAVA-13634 Cleanup 2022-08-10 23:47:50 +05:30
Dhawal Kapil
cee0b1446b JAVA-13630 Fixed/Clean Imports 2022-08-10 23:08:14 +05:30
Loredana Crusoveanu
c516f96a46 Merge pull request #12582 from Asjad-J/master
Updated README.mds
2022-08-10 09:51:41 +03:00
Asjad J
4fb6b2f5b7 Updated README.md
added link back to the article: https://www.baeldung.com/java-kafka-count-topic-messages
2022-08-10 09:40:12 +05:00
Asjad J
c8c14a310d Updated README.md
added link back to the article: https://www.baeldung.com/java-arraylist-replace-at-index
2022-08-10 09:37:05 +05:00
Asjad J
cfacf109ae Updated README.md
added link back to the article: https://www.baeldung.com/spring-thymeleaf-user-info
2022-08-10 09:34:39 +05:00
Asjad J
43aa3cc774 Created README.md
added link back to the article: https://www.baeldung.com/java-dockerize-app
2022-08-10 09:31:18 +05:00
Asjad J
3d399508d1 Updated README.md
added link back to the article: https://www.baeldung.com/spring-boot-thymeleaf-image-upload
2022-08-10 09:28:25 +05:00
Asjad J
ff5bf2db39 Updated README.md
added link back to the article: https://www.baeldung.com/java-aslist-vs-singletonlist
2022-08-10 09:25:46 +05:00
Asjad J
88048743b3 Updated README.md
added link back to the article: https://www.baeldung.com/java-interval-contains-integer
2022-08-10 09:23:50 +05:00
Asjad J
133f967b75 Updated README.md
added link back to the article: https://www.baeldung.com/java-get-current-stack-trace
2022-08-10 09:21:59 +05:00
Asjad J
be1e59ad2c Created README.md
added link back to the article: https://www.baeldung.com/spring-boot-3-spring-6-new
2022-08-10 09:19:50 +05:00
Asjad J
c6706b3477 Updated README.md
added link back to the article: https://www.baeldung.com/java-volatile-vs-atomic
2022-08-10 09:14:15 +05:00
Asjad J
7259ef1a51 Updated README.md
added link back to the article: https://www.baeldung.com/spring-boot-properties-env-variables
2022-08-10 09:07:32 +05:00
Asjad J
e97a89e711 Updated README.md
added link back to the article: https://www.baeldung.com/java-scan-annotations-runtime
2022-08-10 09:04:34 +05:00
Asjad J
61bb9c3f21 Updated README.md
added link back to the article: https://www.baeldung.com/spring-deprecated-websecurityconfigureradapter
2022-08-10 09:00:59 +05:00
Asjad J
a1cba10581 Updated README.md
added link back to the article: https://www.baeldung.com/java-multiple-keys-map
2022-08-10 08:57:37 +05:00
Asjad J
030de87fe7 Updated README.md
added link back to the article: https://www.baeldung.com/java-static-instance-initializer-blocks
2022-08-10 08:55:16 +05:00
Asjad J
d191f1bbb7 Updated README.md
added link back to the article: https://www.baeldung.com/java-filter-stream-unique-element
2022-08-10 08:52:55 +05:00
AttilaUhrin
52d7090056 [BAEL-5602] Fix docker issue with integration build, rename test to "LiveTest". (#12580) 2022-08-09 22:46:37 +05:30
Dhawal Kapil
4448627da8 JAVA-13632 Updated code for Mocking Void Methods with Mockito 2022-08-09 22:41:27 +05:30
Dhawal Kapil
0e52611952 Task/java 13772 (#12579)
* JAVA-13772 Updated the link of PDF to a valid one

* JAVA-13772 Updated File url and checksum
2022-08-09 22:19:56 +05:30
davidmartinezbarua
a67d14f0d9 Merge pull request #12563 from thibaultfaure/improvement/BAEL-3644-performance-of-java-mapping-framework
BAEL-3644 improvement to the performance of java mapping framework ar…
2022-08-08 14:04:39 -03:00
anuragkumawat
6f63712774 JAVA-13132 Cleaned persistence-modules sub-modules poms (#12553)
* JAVA-13132 Cleaned persistence-modules sub-modules poms

* JAVA-13132 Moved testcontainers.version property up

* JAVA-13132 Update java-jpa-3 pom
2022-08-08 19:25:28 +05:30
freelansam
06905cce28 JAVA-13736: Fix maven-generate-war parent (#12575) 2022-08-08 19:10:32 +05:30
Keerthi
0f57319d9c JAVA-12045 : move java concurrency ebook content code to common module (#12559)
* JAVA-12045 : move java concurrency ebook content code to common module

* JAVA-12045: addressed the review comments .. renamed package names and placed core-java-concurrency-simple module in pom.xml

* JAVA-12045: removed duplicate module after renaming java-simple-module to core-java-simple-module
2022-08-08 18:56:55 +05:30
Sameer
861764512d Articles/bael 4903 (#12572)
* conditional dependency demo

* added Gradle 7 submodule

Co-authored-by: s9m33r <no-reply>
2022-08-08 13:08:34 +02:00
Muhammad Abdullah Azam Khan
a998854249 Update KafkaApplication.java (#12424)
* Update KafkaApplication.java

Added partition offset to the listener so that it can start consuming the messages from the beginning of the topic.

* Revert "Update KafkaApplication.java"

This reverts commit 28801f8517.

* Counting Messages

1. Counting messages from Producer offset
2. Counting messages from Consumer
3. Rest APIs to view the count

* Refactoring

* Adding 3rd programmatic method to count number of messages in Kafka topic

* Removing irrelevant code

* Server port removed
2022-08-08 09:33:20 +05:30
Dhawal Kapil
112fda8603 JAVA-13416 Converting to *LiveTest as it makes live call to httpbin URLs (#12573) 2022-08-06 23:56:44 +05:30
hesamghiasi
f4da85f3da fixing time ago unit tests (#12560)
* adding getCurrentTime method to TimeAgoCalculatorUnitTest in order to always return the same time and avoid problems related to reading date from local system.
adding two methods to TimeAgoCalculator to always return the same date as the current date in order to avoid problems related to reading current time from local host. One of these two methods accepts time zone

* adding getCurrentTime method to TimeAgoCalculatorUnitTest in order to always return the same time and avoid problems related to reading date from local system.
adding two methods to TimeAgoCalculator to always return the same date as the current date in order to avoid problems related to reading current time from local host. One of these two methods accepts time zone
correcting some formattings
adding comments in code to clarify adding of getCurrentTime methods

* reverting changes to ZuulConfig
2022-08-06 19:08:59 +05:30