Commit Graph

11012 Commits

Author SHA1 Message Date
Ralf Ueberfuhr e4214237da BAEL-6097: Pitfalls on Testing with Spring Boot (#13441)
* BAEL-6097: Create project

* BAEL-6097: Implement sample code and tests with custom test slices

* BAEL-6097: Fix application-test.yml

* BAEL-6097: Rename tests to match BDD naming strategy, add test for Mapper Integration Test
2023-02-13 22:28:13 -08:00
Stef Serban-Cristian cb308a89e8 [BAEL-5788] Accessing Private Constructor 2023-02-13 23:42:35 +02:00
Daniel Strmecki c311ca5ad3 Feature/bael 6101 singleton (#13325)
* BAEL-6101: singleton bean and pattern example

* BAEL-6101: change package

* BAEL-6101: refactor

* BAEL-6101: refactor

* BAEL-6101: PR comment fix
2023-02-13 19:41:29 +00:00
Dhawal Kapil 7575ceee89 Added Ebook related notes in the Readme (#13472) 2023-02-13 23:27:26 +05:30
Kai Yuan 8e7055060f [is-object-array] Check if Object is an Array in Java (#13463) 2023-02-12 23:14:55 -06:00
Kumar Prabhash Anand cdd9f1a29e added parent in pox.xml (#13469) 2023-02-12 13:33:02 -08:00
timis1 4c5bbd838a JAVA-17765 Cleanup un-committed or un-ignored artifacts - Week 6 - 2023 (#13456)
Co-authored-by: timis1 <noreplay@yahoo.com>
2023-02-12 22:13:59 +05:30
exaucae 4ccb022bad remove generated code 2023-02-12 13:05:10 +00:00
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
exaucae ed738777df feat: add jextract & FFM API examples 2023-02-08 01:19:46 +00:00
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