Commit Graph

9873 Commits

Author SHA1 Message Date
panos-kakos f391cba986 [Java 11503] (#12626)
* [JAVA-11503] Created new vertx-modules

* [JAVA-11503] Moved vertx(sub-module) to vertx-modules(parent)

* [JAVA-11503] Moved spring-vertx(sub-module) to vertx-modules(parent)

* [JAVA-11503] Moved vertx-and-java(sub-module) to vertx-modules(parent)

* [JAVA-11503] deleted modules that were moved

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-08-25 21:18:34 +05:30
panos-kakos 3ce04cafd5 [Java 11502] (#12625)
* [JAVA-11502] Added vavr-modules (parent)

* [JAVA-11502] Added vavr(submodule) to vavr-modules(parent)

* [JAVA-11502] Added vavr-2(submodule) to vavr-modules(parent)

* [JAVA-11502] Added java-vavr-stream(submodule) to vavr-modules(parent)

* [JAVA-11502] deleted modules that were moved + cleanup

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
Co-authored-by: Dhawal Kapil <dhawalkapil@gmail.com>
2022-08-25 21:17:55 +05:30
Asjad J 84a5e7f58f Updated README.md
added a link back to the article: https://www.baeldung.com/fauna-spring-building-iot-applications
2022-08-25 18:32:51 +05:00
Asjad J eb6eba8575 Updated README.md
added link back to the article: https://www.baeldung.com/spring-jdbc-batch-inserts
2022-08-25 18:29:34 +05:00
Asjad J 46b3bde188 Updated README.md
added link back to the article: https://www.baeldung.com/java-toggle-boolean
2022-08-25 17:04:21 +05:00
Asjad J 8bc901c7d1 Updated README.md
added link back to the article: https://www.baeldung.com/java-check-number-positive-negative
2022-08-25 16:59:44 +05:00
Asjad J 4859fc9324 Updated README.md
added link back to the article: https://www.baeldung.com/java-read-json-from-url
2022-08-25 16:50:48 +05:00
Asjad J afc57731b4 Updated README.md
added link back to the article: https://www.baeldung.com/swagger-apioperation-vs-apiresponse
2022-08-25 16:42:01 +05:00
Asjad J 974174bdb9 Updated README.md
added link back to the article: https://www.baeldung.com/apache-kafka-check-server-is-running
2022-08-25 16:36:48 +05:00
Asjad J 9721105cf2 Updated the README.md
added link back to the article: https://www.baeldung.com/java-string-permutations
2022-08-25 16:32:08 +05:00
Asjad J 0a0edd8569 Updated README.md
added link back to the article: https://www.baeldung.com/java-tostring-valueof
2022-08-25 16:23:45 +05:00
Kai Yuan 18d1cb40dc Armstrong Number in Java (#12637) 2022-08-24 20:40:26 -05:00
kpentaris 876d78b188 [BAEL-4500] Add locked ownable synchronizers example code (#12608)
* Add locked ownable synchronizers example code

* refactor application snippet
2022-08-24 15:47:46 +02:00
davidmartinezbarua 923ab8e513 Merge pull request #12634 from thibaultfaure/article/BAEL-4345-swagger-specify-two-response-with-same-code
BAEL-4345 add code for the swagger specify two responses with the sam…
2022-08-24 00:34:19 -03:00
Hamid Reza Sharifi 7af516d159 Bael 5407: Multitenancy with Spring Data JPA (#12507)
* BAEL-5407: add entity, repository, controller, main class

* BAEL-5407: add starter-web and postgres dependencies

* BAEL-5407: add sample script

* BAEL-5407: add tenant definition file

* BAEL-5407: add tenant filter

* BAEL-5407: add AbstractRoutingDataSource class

* BAEL-5407: add TenantContext class

* BAEL-5407: add MultitenantConfiguration class

* BAEL-5407: replace Object with String

* BAEL-5407: improve indentation

* BAEL-5407: remove printStackTrace()

* BAEL-5407: add security classes

* BAEL-5407: add security dependencies

* BAEL-5407: get Tenant from JWT token

* BAEL-5407: improve indent

* BAEL-5407: improve code quality

Co-authored-by: h_sharifi <h_sharifi@modernisc.com>
2022-08-23 22:33:31 +01:00
Harry9656 77671ade4b JAVA-5683: Difference Between List.of and Arrays.asList (#12564)
Co-authored-by: Harpal Singh <harpal.singh@kaleyra.com>
2022-08-23 22:22:43 +01:00
Ashley Frieze c987c8caf7 BAEL-5676 Implement ini file parsing and unit tests 2022-08-23 22:09:27 +01:00
psevestre d03fb7e217 [BAEL-2765] Rename test & add module (#12639)
* [BAEL-2765] Rename test & add module

* [BAEL-2765] Fix java target

* [BAEL-2765] Fix java target
2022-08-23 17:00:55 +02:00
anuragkumawat 1c87d1dfce JAVA-13856 Remove log file (#12631) 2022-08-22 22:50:30 +05:30
anuragkumawat 788cb3ba37 JAVA-13855 Add missing jar file (#12632) 2022-08-22 22:49:42 +05:30
Haroon Khan b9789c23f0 [JAVA-13976] Upgrade Spring Boot to 2.7.2 (#12603)
* [JAVA-13976] Upgrade Spring Boot to 2.7.2

* [JAVA-13976] Fix failing test due to incorrect Jackson version
2022-08-22 22:47:32 +05:30
thibault.faure 26483e6232 BAEL-4345 add code for the swagger specify two responses with the same code article 2022-08-22 00:05:31 +02:00
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
Amitabh Tiwari 9ab0fc1fc5 Update pom.xml 2022-08-21 17:52:10 +05:30
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