Commit Graph

10745 Commits

Author SHA1 Message Date
Dmitriy Budim 6a7adf631d [Difference Between Class.forName() and Class.forName().newInstance()] sample code (#13451) 2023-02-08 22:48:26 +01:00
panos-kakos 221790a93f [JAVA-15024] Changed HttpMultipartMode from STRICT to LEGACY (#13446)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2023-02-08 23:35:24 +05:30
timis1 940cc28ef5 JAVA-17333 Update Java Timer Article (#13423)
* JAVA-17333 Update Java Timer Article

* JAVA-17333 Rename the test class

---------

Co-authored-by: timis1 <noreplay@yahoo.com>
2023-02-08 21:47:09 +05:30
apeterlic 9b94733b9a BAEL-5864 - Getting the Current ApplicationContext in Spring (#13433) 2023-02-08 18:48:42 +05:30
Kai Yuan 0adee1c8d7 [streamOf-vs-intStreamRange] Understanding the Difference Between Str… (#13429)
* [streamOf-vs-intStreamRange] Understanding the Difference Between Stream.of and IntStream.range

* [streamOf-vs-intStreamRange] fix indent
2023-02-07 18:49:49 -06:00
Dhawal Kapil 3f66120503 Update README.md (#13444) 2023-02-07 23:21:05 +05:30
panos-kakos ac4255ef72 [JAVA-12714] Removed compiler plugin (#13420)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2023-02-07 21:21:29 +05:30
panos-kakos 16d05291af Java 15035 (#13421)
* [JAVA-15035] Created module httpclient4 and moved related code

* [JAVA-15035] Upgraded httpclient-simple to spring-boot-e

* [JAVA-15035] Moved modules to to right profiles

* [JAVA-15026] Upgraded headers code to apache 5.2 + moved code related to 4.5 to httpclient4 module

* [JAVA-14911] Final clean up for http-client module

---------

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2023-02-07 21:09:57 +05:30
panos-kakos 82757b243a [JAVA-18123] Upgraded algorithms-modules to java 11 + Upgraded unit t… (#13437)
* [JAVA-18123] Upgraded algorithms-modules to java 11 + Upgraded unit tests to junit5

* [JAVA-18123] Clean up properties

---------

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2023-02-07 20:12:21 +05:30
Muhammad Asif 0dbc07b1de BAEL-5990 Added JMeter-Dashboard profile to isolate (#13435)
* BAEL-5990 is implemented to generate JMeter dashboard reports

* BAEL-5990 made a fix to use Random nextInt() method with single arg

* BAEL-5990 updated code to use Arrays.asList rather than List.of

* BAEL-5990 Replaced tabs with space

* BAEL-5990 Removed unnecessary exception in the method declaration

* BAEL-5990 Updated class name

* BAEL-5990 Added JMeterDashboard profile to exclude DashboardApplication scan in other cases
2023-02-06 18:23:47 -06:00
Saikat Chakraborty 382e9255fc Bael 5961: OpenTelemetry integration with Spring Boot application (#13252)
* Open telemetry in spring boot

* Removed unused field

* Test add and seperate packages

* Refactored code

* Version moved to property

* Removed unused logback files

* update version in docker file

* corrected spacing

* COde review refactoring

* COde review refactoring

* COde review refactoring

* corrected property

* PostContruct add on repo setup

* corrected var names

* change to junit 5 and other improvements

* Port reverted back

* Code review implement

* Logger update

* Logger var update

---------

Co-authored-by: Saikat <saikatcse03y@gmail.com>
2023-02-06 19:01:12 +00:00
vunamtien 35e516d31e BAEL-6049-validate-ipv4-address (#13287)
* validate ipv4

* add unit test

* add more unit tests

* add more unit tests

* add more unit test

---------

Co-authored-by: tienvn4 <tienvn4@ghtk.co>
2023-02-06 18:54:29 +00:00
Muhammad Asif 107232d079 BAEL-5990 is implemented to generate JMeter dashboard reports (#13345)
* BAEL-5990 is implemented to generate JMeter dashboard reports

* BAEL-5990 made a fix to use Random nextInt() method with single arg

* BAEL-5990 updated code to use Arrays.asList rather than List.of

* BAEL-5990 Replaced tabs with space

* BAEL-5990 Removed unnecessary exception in the method declaration

* BAEL-5990 Updated class name
2023-02-04 10:25:23 -06:00
Kai Yuan 0e1a3beb99 [x-asserts-in-one] Single Assert Call for Multiple Properties in JUnit5 (#13413) 2023-02-04 10:19:19 -06:00
Kai Yuan c0be80a64a [instanceOf-stream] Checking instanceof in Java Stream (#13419) 2023-02-04 10:12:16 -06:00
Michael Olayemi a70afe6a9f BAEL-5866 Reading PDF File using Java (#13403) 2023-02-04 12:20:37 +05:30
anuragkumawat 58f8225215 JAVA-54 Create parents profile for tutorials repo (#13360) 2023-02-03 23:23:47 +05:30
anuragkumawat 706c611e99 JAVA-17200 Fix references to parents - Week 50 - 2022 (moved-3) (#13322) 2023-02-03 23:20:38 +05:30
jsgrah-spring 622971e5b8 Generate the firebase-service-account.json file, add file to class-path and make application run again. (#13337)
* JAVA-16938, Fix gcp-firebase module.

* JAVA-16938, Add the firebase-service-account.json file to the classpath.

---------

Co-authored-by: jogra <joseph.sterling.grah@miles.no>
2023-02-03 23:19:23 +05:30
Anastasios Ioannidis 456ff7d029 JAVA-15980 Upgrade AWS Kinesis (#13294)
* JAVA-15980 Upgrade AWS Kinesis

* JAVA-15980 Minor readability improvement
2023-02-03 23:17:48 +05:30
timis1 bf69ecf4bd JAVA-17762 Align module names, folder names and artifact id - Week 6 - 2023 (#13411)
Co-authored-by: timis1 <noreplay@yahoo.com>
2023-02-03 21:52:38 +05:30
Loredana Crusoveanu 03aa2d8920 Merge pull request #13416 from edizor/master
Update README
2023-02-03 17:32:16 +02:00
Dhawal Kapil 61cac1e1cc Java 12714 eugen (#13358)
* Java 12714 - Test build (#13191)

* [JAVA-12714] Moved modules from default-first to jdk9-and-above profile

* [JAVA-12714] Moved modules from default-second to jdk9-and-above profile

* [JAVA-12714] Moved modules from default-heavy to jdk9-and-above profile

* [JAVA-12714] Clean up - test build

* [JAVA-12714] Clean up

* [JAVA-12714] test  build

* [JAVA-12714] test  build

* [JAVA-12714] test  build

* [JAVA-12714] test  build

* [JAVA-12714] test  build

* [JAVA-12714] Clean up

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>

* Master to JAVA-12714-eugen (#13302)

* Java 15029 (#13257)

* [JAVA-15029] Formatting

* [JAVA-15029] Clean up

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>

* Java 15030 (#13253)

* [JAVA-15030] Upgrade to http client 5

* [JAVA-15030] Fixed MimeType test

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>

* Java 16961 (#13236)

* [JAVA-16961] Moved code for article "Create an Empty Map in Java"

* [JAVA-16961] Alter README.md

* [JAVA-16961] Moved code for article "Sorting a Hashset in Java"

* [JAVA-16961] Added links to README.md files

* [JAVA-16961] Revert link changes

* [JAVA-16961] Replaced junit4 with junit5 annotations

* [JAVA-16961] test build

* [JAVA-16961] Added junit annotations

* [JAVA-16961] Added links

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>

* [List-CaseInsenContains] Case-Insensitive Searching in ArrayList (#13280)

* Bael 5436 new (#13283)

* BAEL-5777 - Mocking a singleton with Mockito

* BAEL-5436 - Root mapping

* Revert "BAEL-5777 - Mocking a singleton with Mockito"

This reverts commit 358a061997a4b853e3215dea0217a070f0e391e4.

* BAEL-5436 - Uncommenting controller

* JAVA-15609 Changed to IntegrationTest to reproduce issue on Jenkins

* BAEL-5959: Adjust code style (#13299)

* BAEL-5959: Monad in Java

* Fix test name

* Fix code style

* JAVA-16085, Potential issue in "A Guide to SAML with Spring Security"  article (#13279)

* JAVA-16085, Potential issue in "A Guide to SAML with Spring Security" article.

* JAVA-16085, Cleanup unnecessary resources samlKeystore.jks and library maven-war-plugin.

Co-authored-by: jogra <joseph.sterling.grah@miles.no>

* JAVA-15621, Potential issue in "Guide to UUID in Java" article. (#13271)

* JAVA-15621, Potential issue in "Guide to UUID in Java" article.

* JAVA-15621, Keep the raw strings in the article to make it easy for users to understand.

* JAVA-15621, Keep the raw strings in the article to make it easy for users to understand.

Co-authored-by: jogra <joseph.sterling.grah@miles.no>

* [JAVA-17295] Create and initialize ThreadPoolTaskExecutor (#13249)

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>

* [JAVA-15025] Upgraded to apache http 5 (#13296)

* [JAVA-15025] Upgraded to apache http 5

* [JAVA-15025] Clean up

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>

* [JAVA-15016] Upgraded to apache http client 5.2 (#13269)

* [JAVA-15016] Upgraded to apache http client 5.2

* [JAVA-15016] Clean up

* [JAVA-15016] Junit 5 clean up

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>

Co-authored-by: panos-kakos <102670093+panos-kakos@users.noreply.github.com>
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
Co-authored-by: Kai Yuan <kent.yuan@Gmail.com>
Co-authored-by: Abhinav Pandey <abhinavpandey312@gmail.com>
Co-authored-by: Anastasios Ioannidis <anastasios.ioannidisa@gmail.com>
Co-authored-by: Anastasios Ioannidis <121166333+anastasiosioannidis@users.noreply.github.com>
Co-authored-by: Thiago dos Santos Hora <thiago.santos.hora@gmail.com>
Co-authored-by: jsgrah-spring <jsgrah@hotmail.com>
Co-authored-by: jogra <joseph.sterling.grah@miles.no>

* Update pom.xml

* [JAVA-12714] Removed plugin from atomix module (#13342)

* [JAVA-12714] Removed plugin from atomix module

* [JAVA-12714] Removed compiler plugin

* [JAVA-12714] Removed compiler plugin

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>

* JAVA-12714 Fixed conflicts

* JAVA-12714 Temporarily disabling ItemsUnitTest

* JAVA-12714 Removed Duplicate Classes

---------

Co-authored-by: panos-kakos <102670093+panos-kakos@users.noreply.github.com>
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
Co-authored-by: Kai Yuan <kent.yuan@Gmail.com>
Co-authored-by: Abhinav Pandey <abhinavpandey312@gmail.com>
Co-authored-by: Anastasios Ioannidis <anastasios.ioannidisa@gmail.com>
Co-authored-by: Anastasios Ioannidis <121166333+anastasiosioannidis@users.noreply.github.com>
Co-authored-by: Thiago dos Santos Hora <thiago.santos.hora@gmail.com>
Co-authored-by: jsgrah-spring <jsgrah@hotmail.com>
Co-authored-by: jogra <joseph.sterling.grah@miles.no>
2023-02-03 10:27:34 +05:30
Ulisses Lima 98560f9d93 calling start() (#13417) 2023-02-02 22:43:55 +01:00
timis1 5f1cc6ddba JAVA-16681 GitHub Issue: CacheUtils shown in this tutorial are now Deprecated and marked for removal (#13397)
Co-authored-by: timis1 <noreplay@yahoo.com>
2023-02-02 23:38:39 +05:30
timis1 edba3b292b JAVA-17281 GitHub Issue: Read only Spring Boot App- NoUniqueBeanDefinitionException: No qualifying bean of type available: expected single matching bean but found 2 (#13394)
Co-authored-by: n <noreplay@yahoo.com>
2023-02-02 23:15:55 +05:30
panos-kakos 7fa5e1159b [JAVA-15024] Upgraded multipart functionality to apache client 5 (#13378)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2023-02-02 22:34:40 +05:30
edizor 5ae8fa5069 Update README.md
[skip ci]
2023-02-02 23:29:26 +08:00
edizor c31505b584 Update README.md
[skip ci]
2023-02-02 23:27:36 +08:00
edizor b5c8b3a080 Update README.md
[skip ci]
2023-02-02 23:25:16 +08:00
edizor 8765a412dc Update README.md
[skip ci]
2023-02-02 23:20:20 +08:00
edizor fd7b8b6f0d Update README.md
[skip ci]
2023-02-02 23:15:00 +08:00
edizor f230853409 Update README.md
[skip ci]
2023-02-02 23:10:18 +08:00
edizor ccd2927e3a Update README.md
[skip ci]
2023-02-02 23:00:22 +08:00
edizor 6c90868613 Update README.md
[skip ci]
2023-02-02 22:55:14 +08:00
edizor dec4804734 Update README.md
[skip ci]
2023-02-02 22:42:42 +08:00
edizor 04ad33b9ba Update README.md
[skip ci]
2023-02-02 22:37:10 +08:00
edizor dfd175c5c8 Update README.md
[skip ci]
2023-02-02 22:34:44 +08:00
Loredana Crusoveanu 695546987f Merge pull request #13415 from eugenp/build-error
downgrade jaxb plugin
2023-02-02 16:30:35 +02:00
Loredana Crusoveanu e07a0205c2 downgrade jaxb plugin 2023-02-02 16:20:16 +02:00
Loredana Crusoveanu ad24d6769f Merge pull request #13414 from eugenp/build-error
match boot version, update path
2023-02-02 14:48:00 +02:00
Loredana Crusoveanu 51058e940b match boot version, update path 2023-02-02 14:25:53 +02:00
Loredana Crusoveanu 3d1184b69c Merge pull request #13412 from eugenp/build-error
update tests to use junit5, mark live test
2023-02-02 11:09:54 +02:00
Loredana Crusoveanu dba7084dbf update path to xml file 2023-02-02 11:03:11 +02:00
Loredana Crusoveanu be4a0dedf7 update tests to use junit5, mark live test 2023-02-02 11:01:37 +02:00
Kai Yuan cb98df168b [abs-int-diff] Return Absolute Difference Between Two Integers in Java (#13379) 2023-02-01 21:01:09 -06:00
Loredana Crusoveanu 14d504c4b6 Merge pull request #13404 from eugenp/BAEL-5856-v2
BAEL-5856 mark manual test
2023-02-01 11:29:28 +02:00
Olu c919c5e70c BAEL 5932 - Callback Functions in Java (#13364) 2023-02-01 08:04:40 +01:00
Kai Yuan 226fa47606 [strArrayToIntArray] convert str array to int array (#13217) 2023-01-31 20:11:14 -06:00
davidmartinezbarua ba8f9a6437 Merge pull request #13077 from sebx59/master
BAEL-5727 - Determine If a Class Implements an Interface in Java
2023-01-31 17:25:50 -03:00