Commit Graph

10842 Commits

Author SHA1 Message Date
Amit Kumatr 792bda644d renamed the Test class 2023-02-12 13:30:21 +05:30
davidmartinezbarua 570e3bc1ca Merge pull request #13424 from etrandafir93/features/BAEL-6198-junit5_nested_annotation
BAEL-6198: junit5 @Nested tests
2023-02-11 12:21:45 -03:00
emanueltrandafir1993 79cb26d04f BAEL-6198: fixed spacing for line continuation 2023-02-11 13:40:09 +01:00
Alexandru Borza 5b852b64b5 BAEL-6195 Find the First Embedded Occurrence of an Integer in a Java String (#13448)
* initialize arraylist with null or zeros

* configure pom parent

* move code

* delete module

* BAEL-6195

* first occurence of an integer

* review changes
2023-02-11 10:08:29 +05:30
Michael Olayemi 749cace098 BAEL-5729 Convert Hex to RGB Using Java (#13432) 2023-02-11 09:49:29 +05:30
Roger 5fb9fe4642 BAEL-5720 Java HttpClient Connection Management (#13452)
* BAEL-5642 Using @NotNull as a method parameter

* BAEL-5642 Add Spring Boot and bump spring and hibernate-validator versions

* BAEL-5720 Java HttpClient Connection Management

* BAEL-5720 Java HttpClient Connection Management

* BAEL-5720 move JavaHttpClient test to core-java-httpclient module

* BAEL-5720 move jetty-logging-properties to core-java-httpclient module

* BAEL-5720 add wiremock to pom

* Update pom.xml

* Delete jetty-logging.properties

---------

Co-authored-by: Loredana Crusoveanu <lore.crusoveanu@gmail.com>
2023-02-10 08:19:24 -08:00
Kumar Prabhash Anand 5c9dcf7733 BAEL-6155 adding quarkus funqy code (#13436)
* BAEL-6155 adding quarkus funqy code

* BAEL-6155 removed extra files

* BAEL-6155 removed unused files

* BAEL-6155 updated test naming convention
2023-02-10 08:11:06 -08:00
timis1 6e3c61380d JAVA-17327 Fix and enable spring-roo module (#13459)
Co-authored-by: timis1 <noreplay@yahoo.com>
2023-02-10 00:10:27 +05:30
Azhwani db4f473262 BAEL-5742: Fix EmptyResultDataAccessException when using Jdbctemplate (#13338) 2023-02-09 19:10:51 +01:00
Avin Buricha a43afaccc9 BAEL-6072 | Create Dynamic Queues in RabbitMQ (#13301)
* BAEL-6072 | Article code

* Code changes as per editor review

* Test cases updated

* Removed unused imports

* Updated test case
2023-02-09 19:10:24 +01:00
Arya e48229dc25 Record vs Final class in Java (#13455)
* Added code for record vs final.

* Fixed a small mistake.
2023-02-09 09:58:24 -08:00
Loredana Crusoveanu 7a65d453ed Merge pull request #13453 from edizor/master
Update README
2023-02-09 10:49:21 +02:00
Pedro Lopes bfb2b1b9f4 BAEL-6119: Difference Between findBy and findAllBy in Spring Data JPA (#13344)
* player entity and repository. test structure

* moving modules

* test findFirst. cleanups.

* adding @Repository

* player entity and repository. test structure

* moving modules

* test findFirst. cleanups.

* adding @Repository

* changing module

* adding show-sql config

* removing unrelated change

* properties SB annotation
2023-02-08 21:58:28 -07:00
edizor a621e30de6 Update README.md
[skip ci]
2023-02-09 08:01:56 +08:00
edizor a9a80b292a Create README.md
[skip ci]
2023-02-09 07:54:56 +08:00
edizor 220a73e43b Update README.md
[skip ci]
2023-02-09 07:51:27 +08:00
edizor 3a82caa5b6 Update README.md
[skip ci]
2023-02-09 07:31:37 +08:00
edizor bc0ecd5118 Update README.md
[skip ci]
2023-02-09 07:26:39 +08:00
edizor 091c6e3d5c Update README.md
[skip ci]
2023-02-09 07:21:16 +08:00
edizor ada858078f Update README.md
[skip ci]
2023-02-09 07:18:14 +08:00
edizor 66ebab819e Update README.md
[skip ci]
2023-02-09 07:13:07 +08:00
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
emanueltrandafir1993 b12a58d375 BAEL-6198: renaming 2023-02-04 16:49:19 +01:00
emanueltrandafir1993 fecb0722ee BAEL-6198: junit5 @Nested tests 2023-02-04 16:40:35 +01: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