Commit Graph

9525 Commits

Author SHA1 Message Date
hesamghiasi ba99476330 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
Loredana Crusoveanu 2a27f6e4f3 Merge pull request #12569 from panos-kakos/JAVA-13838
[JAVA-13838] Updated jackson dependency in main pom.xml
2022-08-06 16:29:26 +03:00
anuragkumawat eb91f373ce JAVA-13606 Remove mention of Mockito 2 as a separate library (#12571) 2022-08-06 18:35:30 +05:30
panagiotiskakos 4dd55bc517 [JAVA-13838] 2022-08-06 10:30:03 +03:00
Dhawal Kapil 717e3fafdb JAVA-13629 More fixes and updates (#12566) 2022-08-05 01:19:05 +05:30
Dhawal Kapil 0dc36fdb43 BAEL-5230 Added code and test for Fauna IoT application article (#12554)
* BAEL-5230 Added code and test for Fauna IoT application article

* BAEL-5230 Removed secrets from the codebase

* BAEL-5230 Removed spring-boot-configuration-processor
2022-08-04 21:29:43 +02:00
ACHRAF TAITAI d24f73002a Load Image With Spring Boot and Thymeleaf (#12486)
* Load Image With Spring Boot and Thymeleaf

* Load Image With Spring Boot and Thymeleaf
2022-08-04 10:49:11 +02:00
Adrian Bob 81b05fb3ac BAEL-5638: Added display logged-in user details in Thymeleaf tutorial (#12524)
* BAEL-5638: Added display logged-in user details in Thymeleaf tutorial

* BAEL-5638: Removed unneeded security config
2022-08-04 09:24:49 +05:30
Kai Yuan 8ec8c01a67 Arrays.asList() vs Collections.singletonList() (#12552) 2022-08-03 21:38:13 -05:00
Loredana Crusoveanu 82603cfaf4 Merge pull request #12431 from samdalvai/fix-cassandra-naming
Fix naming of parameters in documentation
2022-08-03 21:31:14 +03:00
sdhiray7 a6ef4b67d1 BAEL-5608 - Get current stack trace java (#12533)
* 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
2022-08-02 19:36:48 -05:00
Eugene Kovko 614795051e BAEL-5682 - Atomic vs Volatile (#12528)
Co-authored-by: eugene.kovko <eugene.kovko@tensquaregames.com>
2022-08-01 20:16:24 -05:00
davidmartinezbarua b58a7a7c12 Merge pull request #12543 from thibaultfaure/articles/BAEL-5664-using-env-variables-in-application-properties
Articles/bael 5664 using env variables in application properties
2022-08-01 12:59:13 -03:00
kwoyke f5e90c1bc6 Merge pull request #12545 from freelansam/JAVA-12729
JAVA-12729: rename jackson module
2022-07-31 22:25:37 +02:00
kwoyke 75db30f1c1 Merge pull request #12538 from dkapil/task/JAVA-13629
Task/java 13629
2022-07-31 22:15:33 +02:00
kwoyke e07dba99a3 Merge pull request #12536 from dkapil/task/JAVA-13628
Task/java 13628
2022-07-31 22:13:25 +02:00
kwoyke 6356579778 Merge pull request #12555 from dkapil/task/JAVA-13627_2
JAVA-13627 Updated code to use assertThatThrownBy instead of assertTh…
2022-07-31 22:12:24 +02:00
kwoyke a07425cc49 Merge pull request #12549 from anuragkumawat/JAVA-13614
JAVA-13614 Look into How to Read HTTP Headers in Spring REST Controllers article
2022-07-31 21:57:54 +02:00
Dhawal Kapil 3229bf87b3 Merge branch 'master' of https://github.com/eugenp/tutorials into task/JAVA-13628 2022-07-31 22:01:33 +05:30
Dhawal Kapil 17d2d5a999 Merge branch 'master' of https://github.com/eugenp/tutorials into task/JAVA-13629 2022-07-31 22:00:29 +05:30
Dhawal Kapil 53629eeb0b JAVA-13627 Updated code to use assertThatThrownBy instead of assertThrows 2022-07-31 21:57:45 +05:30
thibault.faure ac46a47524 BAEL-5664 code for the using environment varibales in application.properties article 2022-07-31 18:02:05 +02:00
Loredana Crusoveanu 8db0d7b277 Merge pull request #12548 from Asjad-J/master
Updated links titles
2022-07-31 15:27:12 +03:00
lucaCambi77 0ec6a036ba Spring Security: Upgrading the deprecated WebSecurityConfigurerAdapter (#12540)
* add SecurityFilterChain application in spring security web boot 4

* pmd violation

* fix: pom description

* remove unused code, format

* make tests grouped logically

* add missing case for user role

* rename package to lower case
2022-07-30 21:43:09 -05:00
Matei Cernăianu 858e158680 BAEL-5651: How to check if an integer is in a given range? (#12470)
* BAEL-5651: How to check if an integer is in a given range?

* BAEL-5651: How to check if an integer is in a given range?
2022-07-30 19:18:52 -04:00
Thiago dos Santos Hora a313c855d3 [BAEL-5631] Quarkus vs Spring boot improvements (#12520)
* Initial impl

* Update framework versions testing from jm to wrk

* Add hyperfoil

* Add hyperfoil read me
2022-07-30 14:26:16 +02:00
ACHRAF TAITAI d0ba47e75d BAEL-5643 : Replace at Specific Index in Java ArrayList (#12539) 2022-07-30 14:22:59 +02:00
lalitrajput72 ef758acef0 [BAEL-5622] static vs instance initializer block (#12271)
* Deep copy vs Shallow copy Code commit

* Static and instance block

* Deep copy branch chanaged from master to other

* static vs instance block

* Update InstanceBlockExample.java

* Update StaticBlockExample.java

Co-authored-by: Lalit Rajput <lalit.rajput@globallogic.com>
Co-authored-by: paritoshsunny <sams.sunny.16@gmail.com>
2022-07-30 12:39:02 +02:00
kwoyke e9fdf78b77 Merge pull request #12547 from thibaultfaure/BAEL-842/fix-integrations-tests
Fix failed integration tests
2022-07-30 09:52:49 +02:00
anuragkumawat 7602a36fae JAVA-13614 Look into How to Read HTTP Headers in Spring REST Controllers article 2022-07-30 12:12:16 +05:30
Asjad J 065846c376 Updated README.md
Updated title from 'Hibernate's “Detached Entity Passed to Persist” Error' to 'Hibernate’s “Detached Entity Passed to Persist” Error'
2022-07-30 06:46:34 +05:00
Asjad J be5e772318 Updated README.md
Updated link title in README from 'Sealed Classes and Interfaces in Java 17' to 'Sealed Classes and Interfaces in Java'
2022-07-30 06:34:42 +05:00
Asjad J 300d9408f6 Updated README.md
Updated link title in README from 'Guide to QuarkusIO' to 'Guide to Quarkus'
2022-07-30 06:26:40 +05:00
thibault.faure 067cddb33e Fix failed integration tests 2022-07-29 21:45:18 +02:00
sampadawagde 5c8d615fdb JAVA-12729: rename jackson module 2022-07-29 19:32:11 +05:30
anuragkumawat e97b4c899a JAVA-10376 Code Mismatch | Exploring the Spring 5 WebFlux URL Matching (#12509)
* JAVA-10376 Code Mismatch | Exploring the Spring 5 WebFlux URL Matching

* JAVA-10376 Code Mismatch | Exploring the Spring 5 WebFlux URL Matching
2022-07-29 19:14:40 +05:30
Elçim Duran 67c9cfec23 Bael-5645 - Scanning Java Annotations at Runtime (#12527)
* BAEL-5645 - Annotation scanners using Spring context, Spring core, reflections, java reflection, and Jandex libraries are implemented

* BAEL-5645 - Library versions are incremented in pom.xml

* BAEL-5645 - Some refactoring and indentation adjustments

* BAEL-5645 - Revert of annotation value in unit test

* BAEL-5645 - Merge with the latest remote version (after resolution of the conflicts)

* BAEL-5645 - Some refactoring due to review comments

Co-authored-by: elcimduran <elcim.duran@kboxglobal.com>
2022-07-29 15:13:54 +02:00
Loredana Crusoveanu d41f65b479 Merge pull request #12542 from Asjad-J/master
Updated README.md
2022-07-29 10:38:38 +03:00
Asjad J 35dadda533 Merge branch 'eugenp:master' into master 2022-07-29 00:11:05 +05:00
Ralf Ueberfuhr 33c18f2cd5 BAEL-5630: Spring Boot 3 Sample (#12449)
* BAEL-5630: Spring Boot 3 Sample

* BAEL-5630: Reorganize project in Maven profiles

* BAEL-5630: Upgrade Maven PMD plugin version

* BAEL-5630: Rename tests to follow naming conventions
2022-07-28 21:04:26 +02:00
Asjad J a9115211bc Updated README.md
added link back to the article: https://www.baeldung.com/spring-jms-testing
2022-07-28 23:40:22 +05:00
Asjad J e34a4ed143 Updated README.md
added link back to the article: https://www.baeldung.com/spring-reactive-read-flux-into-inputstream
2022-07-28 23:36:27 +05:00
Asjad J 594cfc0c0e Updated README.md
added link back to the article: https://www.baeldung.com/maven-snapshot-release-repository
2022-07-28 23:30:32 +05:00
Asjad J 47aaa04661 Updated README.md
added link back to the article: https://www.baeldung.com/spring-openapi-global-securityscheme
2022-07-28 23:25:23 +05:00
Asjad J 463a4aeee9 Merge branch 'eugenp:master' into master 2022-07-28 23:22:56 +05:00
Asjad J b358b17bc0 Updated README.md
added link back to the articles: https://www.baeldung.com/java-string-remove-whitespace
2022-07-28 23:15:33 +05:00
davidmartinezbarua c0d5df745e Merge pull request #12505 from thibaultfaure/articles/BAEL-5663-filter-java-stream-to-only-one-element
BAEL-5663 code for the filter java stream to only one element article
2022-07-28 14:44:35 -03:00
kwoyke 495e40630b Merge pull request #12541 from christian-german/BAEL-5589-fixing-integration-tests
BAEL-5589 - Skipping tests with docker from pipeline.
2022-07-28 15:19:41 +02:00
Christian GERMAN 1eeb2721e7 BAEL-5589 - Skipping tests with docker from pipeline. 2022-07-28 14:30:02 +02:00
kwoyke 9fa417faf5 Merge pull request #12537 from freelansam/JAVA-13134
JAVA-13134: Fix references to parents
2022-07-28 10:43:56 +02:00