Commit Graph

9619 Commits

Author SHA1 Message Date
Kai Yuan a20006b451 toggle boolean (#12618) 2022-08-21 11:43:45 -05:00
Shaun Phillips 94ecd00052 CS-868 Add Luhn Algorithm (#12594)
* CS-868 Add Luhn Algorithm
2022-08-21 08:32:00 -06:00
panos-kakos 0b9549bd3e [JAVA-13854] Half list moved (#12598)
* [JAVA-13854] added parent module

* [JAVA-13854] moved apache-tapestry(submodule) to web-modules(parent)

* [JAVA-13854] moved bootique(submodule) to web-modules(parent)

* [JAVA-13854] moved dropwizard(submodule) to web-modules(parent)

* [JAVA-13854] moved blade(submodule) to web-modules(parent)

* [JAVA-13854] moved java-lite(submodule) to web-modules(parent)

* [JAVA-13854] moved jooby(submodule) to web-modules(parent)

* [JAVA-13854] moved linkrest(submodule) to web-modules(parent)

* [JAVA-13854] moved ninja(submodule) to web-modules(parent)

* [JAVA-13854] moved ratpack(submodule) to web-modules(parent)

* [JAVA-13854] moved resteasy(submodule) to web-modules(parent)

* [JAVA-13854] moved restx(submodule) to web-modules(parent)

* [JAVA-13854] moved spark-java(submodule) to web-modules(parent)

* [JAVA-13854] moved vraptor(submodule) to web-modules(parent)

* [JAVA-13854] delete modules that were moved

* [JAVA-13854]

* [JAVA-13854]

* [JAVA-13854] delete ninja submodule  + moved raml(submodule) to web-modules(parent)

* [JAVA-13854] moved gwt(submodule) to web-modules(parent)

* [JAVA-13854] moved jakarta-ee(submodule) to web-modules(parent)

* [JAVA-13854] moved javax-servlets(submodule) to web-modules(parent)

* [JAVA-13854] moved javax-servlets-2(submodule) to web-modules(parent)

* [JAVA-13854] moved jee-7(submodule) to web-modules(parent)

* [JAVA-13854] moved play-framework(not a module) to web-modules

* [JAVA-13854] fix failing test

* [JAVA-13854] moved struts-2(submodule) to web-modules(parent)

* [JAVA-13854] moved wicket(submodule) to web-modules(parent)

* [JAVA-13854] deleted modules that were moved to web-modules

* JAVA-13854 Removed moved modules from the main pom.xml

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
Co-authored-by: Dhawal Kapil <dhawalkapil@gmail.com>
2022-08-21 14:44:00 +05:30
Kai Yuan 842a71ad92 Check if a number is positive or negative in Java (#12604)
* Check if a number is positive or negative in Java

* reformat single line if/else statements

* Check if a number is positive or negative in Java
2022-08-20 21:46:14 -05:00
freelansam 3f1f6bd34b JAVA-13826: Align module names, folder names and artifact id (#12624) 2022-08-20 23:54:43 +05:30
anuragkumawat 6bc1d484ca JAVA-13855 Create new microservices-modules (#12612) 2022-08-20 14:20:24 +05:30
anuragkumawat 14c998c3ac JAVA-13856 Create new security-modules (#12622) 2022-08-20 13:47:25 +05:30
Dhawal Kapil b38eb760d1 JAVA-13941 Incremented version of esapi (#12621) 2022-08-19 23:09:28 +05:30
apeterlic e703663759 Add @ApiOperation vs @ApiResponse in Swagger (#12570)
* Add @ApiOperation vs @ApiResponse in Swagger

* Minor fixes

* Fix - rename package
2022-08-19 12:55:36 +02:00
panos-kakos 520c7d7083 [JAVA-13944] Upgrade lombok dependency for main pom.xml + child modules (#12617)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-08-19 12:13:42 +05:30
panos-kakos 99adc6e67e Java 13945 (#12611)
* [JAVA-13945] Upgrade guava version to 31.1-jre

* [JAVA-13945] Use guava.version property in child modules

* [JAVA-13945] Use guava.version property in child modules

* [JAVA-13945] revert changes

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-08-19 12:06:35 +05:30
freelansam 23f33d32fe JAVA-13826: Align module names, folder names and artifact id (#12601) 2022-08-19 12:04:58 +05:30
Ulisses Lima 941d6701f3 BAEL-5657 - Reading JSON from a URL in Java (#12584)
* moving SpringBootPersistenceApplication class to its own package

* from com.baeldung to com.baeldung.logging to prevent it from loading
contexts from other applications.

* moving SpringBootPersistenceApplication class to its own package

* from com.baeldung to com.baeldung.logging to prevent it from loading
contexts from other applications.

* Spring Data MongoDB - Configure Connection

Ready for revision.

* fixed tests to reflect article changes

* BAEL-5657

* reverting BAEL-5657

* reverting BAEL-5657

* done

* reverting bael-5366

* revert bael-5366

* revert bael-3366

* including section 3

3. Using commons-io and org.json

* replacing tabs with spaces
2022-08-19 00:00:45 +02:00
Loredana Crusoveanu 7050d0a1e8 Merge pull request #12464 from jrelmar/spring-jdbc-batch
BAEL-5545: prepared a simple demo to benchmark spring jdbc batch inserts
2022-08-18 20:28:12 +03:00
davidmartinezbarua 7253aab7f8 Merge pull request #12599 from thibaultfaure/improvement/BAEL-5582-kafka-message-filtering
BAEL-5582 add code for the kafka message filtering improvement
2022-08-18 10:53:39 -03:00
panos-kakos 7bbcb55290 Java 13943 (#12609)
* [JAVA-13943] Upgrade commons-cli version to 1.5

* [JAVA-13943] Upgrade commons-cli version to 1.5.0

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-08-18 12:40:34 +05:30
panos-kakos 172f9fb592 [JAVA-13946] Upgrade byte-buddy to 1.12.13 (#12607)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-08-18 12:39:05 +05:30
psevestre a0942e5c53 [BAEL-2765] PKCE Support for Secret Clients (#12605)
* [BAEL-4849] Article code

* [BAEL-4968] Article code

* [BAEL-4968] Article code

* [BAEL-4968] Article code

* [BAEL-4968] Remove extra comments

* [BAEL-5258] Article Code

* [BAEL-2765] PKCE Support for Secret Clients
2022-08-18 08:25:19 +02:00
dupliaka 4e0ea2972f Update optaplanner example (#12467)
* Update optaplanner example

Moved to 8.24.0.Final version
Removed deprecated drools calculation
Added constraints stream solver
Updated to solver config java api

* Update optaplanner/pom.xml

Co-authored-by: Jiří Locker <jiri.locker@gmail.com>

* PR feedback

* Move OptaPlanner module to jdk9-and-above
Moved to default-jdk9-and-above and integration-jdk9-and-above

Co-authored-by: Jiří Locker <jiri.locker@gmail.com>
2022-08-18 10:02:25 +05:30
Tapan Avasthi 4e18fd0aa9 BAEL-5680: Guide to Check if Apache Kafka Server is Running (#12600)
Co-authored-by: Tapan Avasthi <tavasthi@Tapans-MacBook-Air.local>
2022-08-17 21:52:06 -05:00
Eugene Kovko 2d5e7da1fa BAEL-5646: String permutation improvements (#12613) 2022-08-17 22:14:47 +02:00
Loredana Crusoveanu fad5f79b8c Merge pull request #12610 from Asjad-J/master
Updated README.md
2022-08-17 20:30:15 +03:00
sdhiray7 087a50b2e7 [BAEL-5661] Integer.toString(int i) vs String.valueOf(int i) (#12606)
* 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

* Update package name
2022-08-17 17:34:12 +02:00
Asjad J 4df68da1c6 Updated README.md
added link back to the article: https://www.baeldung.com/java-log4j2-file-and-console
2022-08-17 16:40:01 +05:00
Asjad J aba86e1819 Updated README.md
added link back to the article: https://www.baeldung.com/java-streams-multiple-filters-vs-condition
2022-08-17 16:37:28 +05:00
Asjad J b8dfb5701f Updated README.md
added link back to the article: https://www.baeldung.com/spring-openfeign-propagate-exception
2022-08-17 16:34:32 +05:00
Asjad J 82346b90c8 Updated README.md
added link back to the article: https://www.baeldung.com/postman-soap-request
2022-08-17 16:31:41 +05:00
Asjad J 589c347b1a Updated README.md
added link back to the article: https://www.baeldung.com/ops/docker-mounting-multiple-volumes
2022-08-17 16:29:50 +05:00
Asjad J 75d7bb2f55 Updated README.md
added link back to the article: https://www.baeldung.com/java-string-formatting-named-placeholders
2022-08-17 16:27:03 +05:00
Asjad J e731fdd59a Updated README.md
added link back to the article: https://www.baeldung.com/spring-data-mongodb-connection
2022-08-17 16:24:19 +05:00
Asjad J 84ae89a14c 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 72409da627 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 ff63982af2 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 2122565082 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 e96af43f40 JAVA-12628 Rename CountdownLatchResetExampleUnitTest (#12602) 2022-08-16 22:14:49 +05:30
Chrys Exaucet 38546b77ae 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 c712729d6a [ 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 8ce82953c5 Named Placeholders in String Formatting (#12576)
* Named Placeholders in String Formatting

* assert notEqualTo
2022-08-15 19:48:15 -05:00
Haroon Khan c8bb6d7603 [JAVA-12608] Fix WebClient integration tests (#12597) 2022-08-15 14:08:46 +05:30
thibault.faure 90ccda2db3 BAEL-5582 add code for the kafka message filtering improvement 2022-08-15 08:48:59 +02:00
panos-kakos f242abf1a1 [JAVA-13838] fixed tests (#12596)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-08-15 12:15:26 +05:30
Eugene Kovko e983f3572b BAEL-5646: String permutation examples (#12595) 2022-08-14 20:35:52 +02:00
sdhiray7 06ac43bc9e [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 536866c40b BAEL-5674: added code examples for the article 2022-08-13 18:44:03 +02:00
Haroon Khan a800f72b99 [JAVA-12608] Add logging to debug failing tests (#12587) 2022-08-12 20:32:30 +05:30
Loredana Crusoveanu 3252ba5775 Merge pull request #12585 from dkapil/task/JAVA-13630
Task/java 13630
2022-08-11 15:16:16 +03:00
Loredana Crusoveanu 4b6d1caaeb 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 32efa1699a [JAVA-13838] updated version for overriden jackson library in gradle files 2022-08-11 12:33:45 +03:00
panagiotiskakos 2f58121c08 [JAVA-13838] updated version for overriden jackson library 2022-08-11 09:48:49 +03:00
Dhawal Kapil 0406bde4e3 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