Commit Graph

9929 Commits

Author SHA1 Message Date
Loredana Crusoveanu 3172233c58 Merge pull request #12748 from anuragkumawat/JAVA-14868
JAVA-14868 Update spring-security-web-sockets module under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter
2022-09-22 12:42:44 +03:00
Loredana Crusoveanu 28f1438ff5 Merge pull request #12744 from anuragkumawat/JAVA-14679
JAVA-14679 Update spring-boot-bootstrap module under spring-boot-modules to remove usage of deprecated WebSecurityConfigurerAdapter
2022-09-22 12:35:58 +03:00
Loredana Crusoveanu ea73ba8eab Merge pull request #12745 from anuragkumawat/JAVA-14866
JAVA-14866 Update spring-security-core module under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter
2022-09-22 12:17:22 +03:00
anuragkumawat 0b9cb50f23 JAVA-14868 Update spring-security-web-sockets module under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter 2022-09-21 20:25:28 +05:30
Mahn00rMalik 29d9ddb3b1 BAEL-5708: Create a BMI Calculator in Java (#12695)
* Deep vs Shallow copy of an object in java

* update indentaions

* Create a BMI Caclualtor in Java

* Create a BMI Caclualtor in Java

* Delete unused packages

* BAEL-5708: Create a BMI Calculator in Java

* BAEL-5708: Create a BMI Calculator in Java
2022-09-21 09:46:09 +05:30
Kumar Prabhash Anand a8f010e50e BAEL-5765 - Adding scan a char unit tests (#12741)
* BAEL-5765 Adding scan a char unit tests

* BAEL-5765 updated class name as per the convention

* BAEL-5765 updated test cases naming strategy
2022-09-20 12:52:25 -03:00
anuragkumawat 9f3ef7db7c JAVA-14866 Update spring-security-core module under spring-security-modules to remove usage of deprecated WebSecurityConfigurerAdapter 2022-09-20 20:25:21 +05:30
anuragkumawat db79faf569 JAVA-14679 Update spring-boot-bootstrap module under spring-boot-modules to remove usage of deprecated WebSecurityConfigurerAdapter 2022-09-20 20:00:27 +05:30
thibault.faure add52ad932 BAEL-5477 code for the Updating PATH variable in Dockerfile article 2022-09-20 15:03:33 +02:00
bipster 2842e5cee7 BAEL-5636 Move the files from patterns/ into patterns-modules/ (#12742) 2022-09-20 00:49:57 -04:00
hesamghiasi b695aa51b5 SEDA architecture with si and camel (#12588)
* 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

* adding seda package to design-patterns-architectural to demonstrate the implementation of SEDA architectural style in spring integration and apache camel in solving word count problem.

* changing version of apache camel to be compatible with java 8

* changing toList() to Collectors.toList() in order to be compatile with java 8

* fixing package names in test classes

* fixing string for scanning integration gateway

* resolving comments on pull request

* resolving comments on pull request

* renaming java file of a class

* changing variable name

* add a line before assertion

* some formatting of fluent API

* using transform instead of service activator

* change name of class

* BAEL-5636 Fixed compilation error and applied Baeldung formatter

Co-authored-by: bipster <openbip@gmail.com>
2022-09-19 22:46:47 -04:00
alemoles 062d7026cd BAEL-5583 String concatenation: concat() vs + operator (#12719)
* BAEL-5583 String concatenation: concat() vs + operator (#10)

* BAEL-5583 String concatenation: concat() vs + operator
2022-09-19 21:14:43 -05:00
davidmartinezbarua 814b637849 Merge pull request #12724 from hmdrzsharifi/BAEL-5443
Bael 5443: Making improvement to this article: "A Quick Guide to Using Keycloak with Spring Boot"
2022-09-19 20:49:03 -03:00
panos-kakos 63a9bfbad9 [JAVA-14174] Renamed paterns to paterns-module (#12718)
* [JAVA-14174] Renamed paterns to paterns-module

* [JAVA-14174] naming fixes

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-09-19 12:14:14 +05:30
h_sharifi 7b82660b2e #BAEL-5443: Remove the test 2022-09-19 09:03:20 +04:30
davidmartinezbarua 74dcaa0935 Merge pull request #12738 from thibaultfaure/article/BAEL-5725-Trifunction-interface
BAEL-5725 code for the TriFunction interface article
2022-09-18 15:26:32 -03:00
thibault.faure ed608d1ede BAEL-5725 code for the TriFunction interface article 2022-09-18 12:01:28 +02:00
Loredana Crusoveanu 6b6a9f1556 Merge pull request #12734 from Asjad-J/master
Updated README.mds
2022-09-18 10:29:01 +03:00
h_sharifi 1a24c7dccb #BAEL-5443: Fix the keycloak url 2022-09-18 11:40:59 +04:30
anuragkumawat 919da4dfe6 JAVA-14680 Update spring-boot-admin module under spring-boot-modules to remove usage of deprecated WebSecurityConfigurerAdapter (#12732) 2022-09-18 10:32:09 +05:30
anuragkumawat fe187e8f98 JAVA-14666 Update spring-session module under spring-web-modules to … (#12717)
* JAVA-14666 Update spring-session module under spring-web-modules to remove usage of deprecated WebSecurityConfigurerAdapter

* JAVA-14666 Correct Java Formatting
2022-09-18 10:28:39 +05:30
anuragkumawat 3a3021fe53 JAVA-14681 Update spring-boot-libraries module under spring-boot-modules to remove usage of deprecated WebSecurityConfigurerAdapter (#12725)
* JAVA-14681 Update spring-boot-libraries module under spring-boot-modules to remove usage of deprecated WebSecurityConfigurerAdapter

* JAVA-14681 Correct Java Formatting
2022-09-18 10:19:53 +05:30
anuragkumawat a22e548364 JAVA-14676 Update remaining code 2022-09-17 23:50:10 +05:30
Viktor Ardelean 859e91538a BAEL-5649 (#12677)
* add hexagonal architecture example project

* rename class

* add unit test and integration test

* add new line

* reorder pom

* remove maven wrapper

* [BAEL-5649] add article code

* remove files added by mistake

* get parameter type using reflection and serioalize JSON into POJOs

* clean code

* clean code

* reformat

* implement PR feedback

* reformat with contiunation space eq to 2

* replace UserDto with firstName and lastName
2022-09-17 13:30:26 -04:00
lucaCambi77 7f4e962fc7 assign static ip (#12727) 2022-09-17 10:39:38 -05:00
anuragkumawat 2901f17a2e JAVA-14676 Update spring-boot-security module under spring-boot-modules to remove usage of deprecated WebSecurityConfigurerAdapter 2022-09-17 20:38:19 +05:30
Kai Yuan a7fc8039ff [extractFilename] Getting the Filename From a String Containing an Absolute File Path (#12728) 2022-09-17 10:00:11 -05:00
Asjad J d61a319bb5 Updated README.md
added link back to the article: https://www.baeldung.com/java-class-vs-classloader-getresource
2022-09-17 09:23:55 +05:00
Asjad J a1ed83d554 Updated README.md
added link back to the article: https://www.baeldung.com/java-fixed-size-queue
2022-09-17 09:20:45 +05:00
Asjad J 15ef83a5e0 Updated README.md
added link back to the article: https://www.baeldung.com/ops/docker-dockerfile-comments/
2022-09-17 08:59:01 +05:00
Asjad J e8ed01721d Updated README.md
added link back to the article: https://www.baeldung.com/java-relative-path-absolute
2022-09-17 08:53:42 +05:00
Asjad J fc03564b9f Updated README.md
added link back to the article: https://www.baeldung.com/java-postman-authentication/
2022-09-17 08:47:59 +05:00
Asjad J b51d0c0007 Updated README.md
added link back to the article: https://www.baeldung.com/java-convert-json-protobuf
2022-09-17 08:43:21 +05:00
Asjad J e555a75dd2 Updated README.md
added link back to the article: https://www.baeldung.com/java-static-fields-gc
2022-09-17 08:36:04 +05:00
Asjad J 7189c19914 Updated README.md
added link back to the article: https://www.baeldung.com/axon-query-dispatching/
2022-09-17 08:33:03 +05:00
Asjad J 471453d301 Updated README.md
added link back to the article: https://www.baeldung.com/java-md5-checksum-file
2022-09-17 08:30:26 +05:00
Asjad J cf2f7d3471 Updated README.md
added link back to the article: https://www.baeldung.com/roots-quadratic-equation/
2022-09-17 08:27:21 +05:00
Asjad J 7adda7e067 Updated README.md
added link back to the article: https://www.baeldung.com/java-classes-same-name
2022-09-17 05:56:27 +05:00
Asjad J e320b6dc21 Updated README.md
added link back to the article: https://www.baeldung.com/mongodb-multiple-databases-spring-data
2022-09-17 05:53:03 +05:00
Ulisses Lima f3ef5a257f BAEL-5666 - Create Date from Unix timestamp in Java (#12650)
* 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

* ready for review

* removing bael-5366

* removing bael-5366

* removing extra blank space

* bael-5666

editor review

* editor review

* long literals
* junit 5
* private constructor for utils

* junit5 assertThat
2022-09-16 22:31:27 +02:00
victorsempere 171e4bd7c8 BAEL-5699 (#12674)
* BAEL-5699

First draft of the article example

* BAEL-5699

Removed unused class FifoFixedSizeQueueRemoveOldestInOffer.java
Removed unused UnitTest for the removed class
Added some tests to check count attribute
2022-09-15 20:04:23 +01:00
apeterlic f8ea63de51 Add Difference Between Class.getResource() and ClassLoader.getResource() (#12669)
* Add Difference Between Class.getResource() and ClassLoader.getResource()

* Fix - replace System.out with Logger

* Fix - move code to a different module
2022-09-15 19:57:43 +01:00
thibault.faure 4d26f2168e BAEL-5494 code for the Keep Subdirectory Structure in Dockerfile Copy article 2022-09-15 16:39:25 +02:00
panos-kakos b8a97cbebd [JAVA-14177] Renamed rule-engines to rule-enfines-modules (#12723)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-09-14 19:55:00 +05:30
Loredana Crusoveanu 30f56aede0 Merge pull request #12703 from panos-kakos/JAVA-14014
[JAVA-14014] Added matching strategy
2022-09-14 16:09:43 +03:00
davidmartinezbarua 937c5738c9 Merge pull request #12721 from thibaultfaure/article/BAEL-5456-add-comment-in-dockerfile
BAEL-5456 code for the add comments in a dockerfile article
2022-09-14 09:09:06 -03:00
h_sharifi 886d7c1fbf #BAEL-5443: add logout handler 2022-09-14 11:03:04 +04:30
h_sharifi 61073210ea #BAEL-5443: add resttemplate for logout 2022-09-14 11:02:44 +04:30
h_sharifi 898661f142 #BAEL-5443: add logout config 2022-09-14 11:02:02 +04:30
h_sharifi bca12a0764 #BAEL-5443: add scope to properties 2022-09-14 11:00:25 +04:30