Commit Graph

9896 Commits

Author SHA1 Message Date
Haroon Khan 0bbab5326c [JAVA-13976] Fix integration tests after Spring Boot upgrade to 2.7.2 (#12656) 2022-08-28 18:33:11 +05:30
thibault.faure a979ac2f47 BAEL-5511 code for the Rebuild docker container with docker-compose article 2022-08-27 20:41:33 +02:00
Loredana Crusoveanu e17700100f Merge pull request #12474 from amitiw4u/BAEL-5297_ExceptionHandling
Bael 5297 exception handling
2022-08-27 21:10:14 +03:00
Kai Yuan d8599a4c35 Remove the last character of a Java StringBuilder (#12653) 2022-08-27 11:07:36 -05:00
Kai Yuan 0ea458117e List all factors of a number in Java (#12646)
* List all factors of a number in Java

* format the map code in the test
2022-08-26 20:26:38 -05:00
freelansam 46499a2419 JAVA-13823: Review module names (#12628)
* JAVA-13823: rename struts-2 to struts

* JAVA-13823: rename spring-cloud-bus submodules

* JAVA-13823: rename spring-cloud-config submodules

* JAVA-13823: rename spring-cloud-data-flow submodules

* JAVA-13823: rename spring-cloud-hystrix submodules

* JAVA-13823: rename spring-cloud-netflix-sidecar submodules

* JAVA-13823: rename spring-cloud-zookeeper submodules

* JAVA-13823: rename spring-cloud-zuul-fallback submodules

* JAVA-13823: rename spring-security-web-angular submodules

Co-authored-by: Dhawal Kapil <dhawalkapil@gmail.com>
2022-08-26 16:20:12 +05:30
Haroon Khan eb24cfa8be [JAVA-13010] Convert file tests to manual tests (#12561) 2022-08-26 14:17:08 +05:30
Ulisses Lima f8278e0f63 BAEL-5366 Spring Data MongoDB - Configure Connection (#12544)
* 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
2022-08-26 10:34:07 +02:00
panos-kakos ec6499d944 [JAVA-13942] Upgrade jmh-core and jmh-generator dependency at main pom.xml (#12623)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-08-26 13:09:34 +05:30
Dhawal Kapil d7556fc543 JAVA-11502 Fixed next and previous links of submodules of vavr-modules (#12651) 2022-08-26 13:06:36 +05:30
Ulisses Lima 6bd4ff5165 Merge branch 'eugenp:master' into master 2022-08-25 16:55:26 -03:00
Loredana Crusoveanu f798bc1d82 Merge pull request #12619 from ashleyfrieze/BAEL-5676-ini-files
BAEL-5676 Implement ini file parsing and unit tests
2022-08-25 20:49:28 +03:00
Loredana Crusoveanu b049fe706a Merge pull request #12648 from Asjad-J/master
Updated README.mds
2022-08-25 20:48:14 +03:00
Asjad J 9d308ba331 Merge branch 'eugenp:master' into master 2022-08-25 22:06:22 +05:00
Asjad J 2da3b9df1d Updated README.md
added link back to the article: https://www.baeldung.com/java-armstrong-numbers
2022-08-25 21:45:03 +05:00
Asjad J a4116d2f9f Updated README.md
added link back to the article: https://www.baeldung.com/multitenancy-with-spring-data-jpa/
2022-08-25 21:42:38 +05:00
Asjad J 4acb523a5d Updated README.md
added link back to the article: https://www.baeldung.com/java-validate-cc-number
2022-08-25 21:40:17 +05:00
Asjad J 966a49f0b6 Updated README.md
added link back to the article: https://www.baeldung.com/swagger-two-responses-one-response-code
2022-08-25 21:37:45 +05:00
Asjad J c086d40875 Updated README.md
added link back to the article: https://www.baeldung.com/java-arrays-aslist-vs-list-of
2022-08-25 21:35:11 +05:00
Asjad J 6a2c013bf1 Updated README.md
added link back to the article: https://www.baeldung.com/locked-ownable-synchronizers
2022-08-25 21:31:46 +05:00
Asjad J 3e867be8c8 Created README.md
added link back to the article: https://www.baeldung.com/spring-security-pkce-secret-clients
2022-08-25 21:29:14 +05:00
Haroon Khan 7f6b12abcb [JAVA-13976] Fix integration tests after Spring Boot upgrade to 2.7.2 (#12647) 2022-08-25 21:30:13 +05:30
panos-kakos e151d4d1d0 [JAVA-13220] Added comment about failing test (#12644)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-08-25 21:24:56 +05:30
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