Commit Graph

25234 Commits

Author SHA1 Message Date
Dhawal Kapil
112fda8603 JAVA-13416 Converting to *LiveTest as it makes live call to httpbin URLs (#12573) 2022-08-06 23:56:44 +05:30
hesamghiasi
f4da85f3da 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
a0d6a09dd5 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
75abf5a2d0 JAVA-13606 Remove mention of Mockito 2 as a separate library (#12571) 2022-08-06 18:35:30 +05:30
panagiotiskakos
dc06c2b5f6 [JAVA-13838] 2022-08-06 10:30:03 +03:00
Dhawal Kapil
16c395d695 JAVA-13629 More fixes and updates (#12566) 2022-08-05 01:19:05 +05:30
Dhawal Kapil
e0a76fd50e 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
33279dbdde 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
44b1ed6504 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
502d17adef Arrays.asList() vs Collections.singletonList() (#12552) 2022-08-03 21:38:13 -05:00
Loredana Crusoveanu
ccd092a5c5 Merge pull request #12431 from samdalvai/fix-cassandra-naming
Fix naming of parameters in documentation
2022-08-03 21:31:14 +03:00
sdhiray7
1879e294a2 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
9403406f4c BAEL-5682 - Atomic vs Volatile (#12528)
Co-authored-by: eugene.kovko <eugene.kovko@tensquaregames.com>
2022-08-01 20:16:24 -05:00
davidmartinezbarua
78c8c2d915 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
007603b304 Merge pull request #12545 from freelansam/JAVA-12729
JAVA-12729: rename jackson module
2022-07-31 22:25:37 +02:00
kwoyke
ca0748794d Merge pull request #12538 from dkapil/task/JAVA-13629
Task/java 13629
2022-07-31 22:15:33 +02:00
kwoyke
629500bd8e Merge pull request #12536 from dkapil/task/JAVA-13628
Task/java 13628
2022-07-31 22:13:25 +02:00
kwoyke
a253e3820d 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
b2a69142ea 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
5e6e2df301 Merge branch 'master' of https://github.com/eugenp/tutorials into task/JAVA-13628 2022-07-31 22:01:33 +05:30
Dhawal Kapil
2dde5c95e3 Merge branch 'master' of https://github.com/eugenp/tutorials into task/JAVA-13629 2022-07-31 22:00:29 +05:30
Dhawal Kapil
c75fb84a22 JAVA-13627 Updated code to use assertThatThrownBy instead of assertThrows 2022-07-31 21:57:45 +05:30
thibault.faure
c71981ced6 BAEL-5664 code for the using environment varibales in application.properties article 2022-07-31 18:02:05 +02:00
Loredana Crusoveanu
c3c6b30b3c Merge pull request #12548 from Asjad-J/master
Updated links titles
2022-07-31 15:27:12 +03:00
lucaCambi77
2776db95e0 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
ee96978ceb 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
04ec3d81d3 [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
7828348f35 BAEL-5643 : Replace at Specific Index in Java ArrayList (#12539) 2022-07-30 14:22:59 +02:00
lalitrajput72
bde661d2b5 [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
c27d184df2 Merge pull request #12547 from thibaultfaure/BAEL-842/fix-integrations-tests
Fix failed integration tests
2022-07-30 09:52:49 +02:00
anuragkumawat
613ec791df JAVA-13614 Look into How to Read HTTP Headers in Spring REST Controllers article 2022-07-30 12:12:16 +05:30
Asjad J
38fa2e6c65 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
5e650f4992 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
ca7df55175 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
39b5bdcc95 Fix failed integration tests 2022-07-29 21:45:18 +02:00
sampadawagde
b1362343e7 JAVA-12729: rename jackson module 2022-07-29 19:32:11 +05:30
anuragkumawat
bef6b2243a 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
c0a70f7740 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
05e60a36e4 Merge pull request #12542 from Asjad-J/master
Updated README.md
2022-07-29 10:38:38 +03:00
Asjad J
7a177e043c Merge branch 'eugenp:master' into master 2022-07-29 00:11:05 +05:00
Ralf Ueberfuhr
e344dd81a8 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
f9aa4f8aef 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
a8bfa24531 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
bf4f89eca5 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
a325df89aa 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
4fa9305eae Merge branch 'eugenp:master' into master 2022-07-28 23:22:56 +05:00
Asjad J
92d15b611e 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
dba64361b7 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
6ee1a6f2a6 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
97720f15bf BAEL-5589 - Skipping tests with docker from pipeline. 2022-07-28 14:30:02 +02:00