Commit Graph

10845 Commits

Author SHA1 Message Date
Bogdan Pistol df30c2986f https://jira.baeldung.com/browse/BAEL-5871 added sample code used in article (#12986) 2022-12-15 09:33:07 +05:30
rafyen 9e7a6d2b3d Add code for BAEL-5878: Getting a Value in JSONObject (#13157)
* BAEL-5878: Getting a Value in JSONObject. Add JsonObjectValueGetter with unit tests

* Move json-value-getter under json-2 module

* Update packages for the source and unit test files

* Rename test class, move employee.json under test/resources

Co-authored-by: Rafael Engibaryan <rafael.engibaryan.1@gmail.com>
2022-12-14 11:58:33 +01:00
Carlos Chacin 78124d60dd [BAEL-5976]: Extract Values using AssertJ in Java (#13105)
JIRA: https://jira.baeldung.com/browse/BAEL-5976
2022-12-13 16:55:12 -08:00
Michael Olayemi abd9f8a38b BAEL-5979 Instanceof Alternatives (#13082)
* simple-thymeleaf-expression

* expression-update

* instanceof

* instanceof

* instanceof

* update

* Update pom.xml

* Update pom.xml

* instanceof

* update

* instanceofnew

* instanceofnew

* instanceofnew

* instanceofnew

* instanceofnew

* instanceofnew

* update

* pom

* Revert "pom"

This reverts commit c5075e6ba7e1e91159864d57bcbc18dd90314e16.

* Revert "Update pom.xml"

This reverts commit 7dd02df1aea201572fb64d8bc4a2990a94b6b4c0.

* Revert "Revert "Update pom.xml""

This reverts commit a02a1f67d16eb0bc781cc588af48f36fcc93d601.

* Update pom.xml

* Revert "Update pom.xml"

This reverts commit 7dd02df1aea201572fb64d8bc4a2990a94b6b4c0.

* Update pom.xml

* JAVA-8436: Remove AssertJ depenendency from the child modules - part 4

* Update pom.xml

* JAVA-8436: Remove AssertJ depenendency from the child modules - part 4

* BAEL-5979 Instanceof Alternatives
2022-12-12 20:56:43 -06:00
vunamtien 9c8d1d127d BAEL-5919-java-print-pascal-triangle (#13155)
* pascal triangle

* pascal triangle

Co-authored-by: tienvn4 <tienvn4@ghtk.co>
2022-12-12 11:24:54 +01:00
Azhwani a288f8db7e BAEL-5844: Convert Anonymous Class into Lambda in Java (#13088) 2022-12-12 08:53:16 +01:00
apeterlic 29d97308f6 Add Type Parameter vs Wildcard in Java Generics (#12988)
* Add Type Parameter vs Wildcard in Java Generics

* Fix Logger variable and code format

* Update Cat class

* Add missing import

* Add warning comment
2022-12-12 08:35:27 +01:00
Adrian Bob 4fc53df118 Updated README (#13152) 2022-12-11 09:23:11 -08:00
anuragkumawat 6fb90f67eb JAVA-15689 Update spring-activiti module to remove usage of deprecated WebSecurityConfigurerAdapter (#13141) 2022-12-11 12:14:57 +05:30
Haroon Khan 5eddf177a5 [JAVA-16680] Update Spring version to 5.3.24 (#13142)
* [JAVA-16680] Update Spring version to 5.3.24

* [JAVA-16680] Fix parent module path
2022-12-11 10:46:29 +05:30
TomVerkon 795200d2a7 Master java 15108 (#13144)
* Added server.servlet.register-default-servlet=true

to application.properties file to eliminate
java.lang.IllegalStateException: Unable to locate the default servlet
for serving static content. error

* Changed mysql-connector name space

to eliminate warning message The artifact
mysql:mysql-connector-java:jar:8.0.31 has been relocated to
com.mysql:mysql-connector-j:jar:8.0.31

* Fixed test givenDisabledSecurityExpression_whenGetFooByName_thenError()

Removed second assert, because "java.lang.RuntimeException: method
hasAuthority() not allowed" is seen in console but is not passed to
testing. Test returns "Internal Server Error"

* Removed location changes I previously made to mysql-connector-java in
the pom

Co-authored-by: tverk <tverk@TomsXPS17-9720.attlocal.net>
2022-12-11 10:43:05 +05:30
Avin Buricha 5c1c08e713 BAEL-5982 | Article code (#13097)
* BAEL-5982 | Article code

* Renaming unit test methods

* Rearranging module list in alphabetic order
2022-12-11 08:30:01 +05:30
Loredana Crusoveanu 897a98ada4 Merge pull request #13145 from edizor/master
Update README
2022-12-10 15:50:02 +02:00
kwoyke 1d52e2cc86 Merge pull request #13139 from hkhan/JAVA-16711-logging-cleanup
[JAVA-16711] Remove unnecessary system out logging
2022-12-10 13:07:34 +01:00
kwoyke 141c85a5b4 Merge pull request #13071 from ehsansasanian/java-15229-update-bucket4j-version
update bucket4j version in spring-boot-libraries module
2022-12-10 13:02:13 +01:00
davidmartinezbarua bd984d5592 Merge pull request #13117 from etrandafir93/features/BAEL-5908-rxjava_just_vs_callable
BAEL-5908: Single.just vs fromCallable
2022-12-09 15:50:20 -03:00
Adrian Bob f45b2c8659 BAEL-5325: Add Spring Security login/logout API with Springdoc (#13027)
* BAEL-5325: Add Spring Security login/logout API with Springdoc

* Updated Spring version and using annotations for Basic Auth config

* Added tests

* Removed unused dependencies

* Removed dependencies which were accidentally added.

* Removed plugins which were accidentally added.

* Removed property which was accidentally added.
2022-12-09 10:35:09 -08:00
apeterlic 10d561451a BAEL-5986 - Getting Started with Blaze Persistence (#13107)
* BAEL-5986 - Getting Started with Blaze Persistence

* Optimize imports

* Fix test class name

* Switch to JUnit5

* Removed dependencies and Controller classes

* Update pom.xml

* Update Configuration class
2022-12-09 18:40:18 +01:00
panos-kakos 0264bb82c8 Java 13914 (#13083)
* [JAVA-13914] Replaced Junit4 annotations with Junit5

* [JAVA-13914] Replaced Junit4 annotations with Junit5

* [JAVA-13914] Fixed test

* [JAVA-13914] Clean up

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-12-08 19:47:51 +05:30
panos-kakos 205506f00a [JAVA-15029] Upgraded to apache httpClient 5 (#13112)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-12-08 19:46:13 +05:30
Loredana Crusoveanu 2285190be6 Merge pull request #13063 from eugenp/sam/move-article-files
[BAEL-5684] Move article files to new module
2022-12-08 16:04:12 +02:00
anuragkumawat 3810a37078 JAVA-16250 Update spring-activiti module to use parent-boot-2 module as parent (#13120) 2022-12-08 19:18:02 +05:30
freelansam 7b9ab06c14 JAVA-16264: review module names (#13136) 2022-12-08 18:58:09 +05:30
Harry9656 3b31ba4f99 JAVA-5958: Ratelimit with client ip address (#13067)
* JAVA-5958: Ratelimit with client ip address

Co-authored-by: Harpal Singh <harpal.singh@kaleyra.com>
2022-12-08 01:09:03 -07:00
edizor 521215ae47 Create README.md
[skip ci]
2022-12-08 15:47:27 +08:00
edizor c9ceba772d Update README.md
[skip ci]
2022-12-08 15:43:38 +08:00
edizor 0276e154a5 Update README.md
[skip ci]
2022-12-08 15:38:32 +08:00
edizor 7c9018299c Update README.md
[skip ci]
2022-12-08 15:33:10 +08:00
edizor 002051b590 Create README.md
[skip ci]
2022-12-08 15:24:05 +08:00
edizor 290eefa062 Merge branch 'eugenp:master' into master 2022-12-08 15:21:13 +08:00
Dhawal Kapil 963ea1f9f5 JAVA-16288 Disabled intermittently failing test (#13140) 2022-12-08 11:32:44 +05:30
Haroon Khan e367437bb7 [JAVA-16711] Remove unnecessary system out logging 2022-12-07 21:57:15 +00:00
kwoyke 85fded9b10 Merge pull request #13118 from freelansam/JAVA-16260
JAVA-16301: Check Article Code Matches GitHub
2022-12-07 20:59:38 +01:00
HARDEMAN Sebastien 61b5922c60 Merge branch 'master' of https://github.com/sebx59/tutorials 2022-12-07 15:53:55 +01:00
HARDEMAN Sebastien 9a42f64454 rework following Saajan Nagendra's review 2022-12-07 15:53:34 +01:00
edizor 7fd529781c Update README.md
[skip ci]
2022-12-07 19:35:24 +08:00
edizor 671116d6ab Update README.md
[skip ci]
2022-12-07 19:31:38 +08:00
edizor a8c2029284 Create README.md
[skip ci]
2022-12-07 19:28:19 +08:00
edizor 4c752a371f Update README.md
[skip ci]
2022-12-07 19:25:14 +08:00
Dhawal Kapil e9a11ae9ed JAVA-16288 Fixed core-java-jndi unit test (#13135)
* JAVA-16288 Fixed core-java-jndi unit test

* JAVA-16288 Disabled
givenNoContext_whenLookupObject_thenThrowNoInitialContext test
2022-12-07 00:20:28 +05:30
panos-kakos dd2c1fee77 Java 15017 (#13080)
* [JAVA-15017] Upgraded httpClient version to 5.2

* [JAVA-15017] Added CustomResponseHandler in favour of upgrading deprecated execute() method

* [JAVA-15017] Replaced CustomResponseHandler with BasicHttpClientResponseHandler

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-12-07 00:19:44 +05:30
davidmartinezbarua 0a0d532995 Merge pull request #13099 from etrandafir93/features/BAEL-5819-java_collections_pecs
BAEL-5819: java collections pecs
2022-12-06 15:29:43 -03:00
Kilian Schneider eed4f4f5e4 BAEL-5744 - excel date format (#13123) 2022-12-06 17:28:57 +01:00
Bhaskar Ghosh Dastidar e858d14b86 [JAVA-6029] reversing a stack (#13122)
* [JAVA-6029] reversing a stack

* [JAVA-6029] un-necessary file changes removed

Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2022-12-06 16:56:02 +01:00
Abhinav Pandey 061c30aa08 BAEL-5789 - reinitializing singleton beans in context (#13096)
* BAEL-5789 - reinitializing singleton beans in context

* BAEL-5789 - reinitializing singleton beans in context - changing file path to relative
2022-12-06 10:58:59 +05:30
AndiCover 2ea3448efa Bael 4555 selenium tab switching (#13131)
* BAEL-4555 Added Selenium TabHelper and tab switching live tests

* BAEL-4555 Upgraded Selenium to 4.6.0

* BAEL-4555 fixed naming

Co-authored-by: andicover <w&j3$d9NEcfAQTXfxju9>
2022-12-05 16:08:01 -08:00
Harry9656 fd623cb9f8 [JAVA-5805]: Logging to Graylog with Spring Boot Update (#12934)
Co-authored-by: Harpal Singh <harpal.singh@kaleyra.com>
2022-12-05 17:35:30 +00:00
Loredana Crusoveanu 70e1917f1e Merge pull request #13130 from collaboratewithakash/master
backlink fixed
2022-12-05 17:14:23 +02:00
davidmartinezbarua efeabcc945 Merge pull request #12861 from brokenhardisk/master
BAEL-5715 Updated Code
2022-12-05 10:05:40 -03:00
collaboratewithakash 260511f92a backlink removed 2022-12-05 16:45:24 +05:30