152 Commits

Author SHA1 Message Date
Grzegorz Piwowarek
c0bf1c7a93 Refactor Infinispan example (#3684)
* Refactor Infinispan examples

* Refactor Infinispan examples
2018-02-19 17:20:16 +01:00
Allan Vital
83bc46ee22 BAEL-1368 Infinispan Guide (#3651)
* BAEL-1368: infinispan article

* BAEL-1368: new method timing method
2018-02-14 02:13:37 +01:00
Allan Vital
6eeff13c45 BAEL-1368: infinispan article (#3633) 2018-02-11 14:36:33 +01:00
Grzegorz Piwowarek
d2a4e04f37
Merge branch 'master' into BAEL-1267-programmatic-tomcat 2018-02-03 12:37:01 +01:00
Grzegorz Piwowarek
2169be4301
Async refactor (#3570) 2018-02-02 15:40:03 +01:00
tamasradu
72c9fea7e2 Radutamas/bael 1487 (#3569)
* Code for test article: Different Types of Bean Injection in Spring

* Adding jUnits for test article: Different Types of Bean Injection in Spring

* BAEL-1265: Adding jUnit for article

* BAEL-1265: Closing ExecutorService in jUnit

* BAEL-1487: Adding test for AsyncHtpClient tutorial
2018-02-01 14:56:36 +01:00
mkuligowski
a48e062598 BAEL-1204 (#3508)
* Initialize smooks subproject

* Add Smooks dependency

* Delete files form badly created submodule

* Add domain classes

* Create class responsible for converting Orders

* Create class responsible for validating messages

* Add configuration file

* Add integration tests for Smooks converters and validators

* ADd en_US locale and fix date format

* Fix number format in expected messages

* Delete unused mapping

* Remove unused conversion to JSON

* Add assertion for ruleName in givenIncorrectOrderXML_whenValidate_thenExpectValidationErrors
2018-01-30 22:49:54 +01:00
Donato Rimenti
db903618f3 BAEL-1321 Jetty 9 Server - Create, Configure programmatically (#3482)
* Implemented server factory and its tests. Changed Jetty version to latest, removed duplicate entry and added jetty-webapp dependency in pom.xml.

* Added missing war file and changed tests port for Travis build.
2018-01-23 00:28:45 +01:00
Loredana Crusoveanu
692f12636f add pact provider test (#3475) 2018-01-22 17:46:11 +01:00
Adi
369ec4e181 BAEL-1267: programmatically create, configure and run a tomcat server 2018-01-19 00:06:57 +02:00
Hakan Özler
db04ce54f0 [BAEL-1455] add docker client test cases and update pom (#3375) 2018-01-08 16:40:32 +01:00
Tomasz Lelek
2ef351434e Bael 1421 (#3222)
* BAEL-1421 live test of kafka streams

* BAEL-1421 Removed not-needed dependency

* BAEL-1421 rearannge

* BAEL-1421 rearannge

* fix pom
2017-12-24 06:33:37 +01:00
Loredana Crusoveanu
18c8747c98 BAEL-1248 google sheets api example (#3189)
* google sheets api example

* add dependencies

* rename test

* update test

* add comment

* trigger build

* trigger build

* Formatting to standards

* Getting rid of stray tabs

* Applying formatting rules to source files as well

* trigger build
2017-12-13 21:26:03 -07:00
Grzegorz Piwowarek
112f33acb9
Optimize build (#3227)
* Exclude NeurophTest

* Fix build
2017-12-13 11:25:47 +01:00
Grzegorz Piwowarek
c65795c7b0
Remove <testFailureIgnore>true (#2919) 2017-11-06 18:12:14 +02:00
nabyla
7489cf6eff PR Bouncycastle article (#2882)
* Add bouncycastle depedencies

* Add certificate and private key to resources folder

* add bouncycastle code sample

* Add bouncycastle test
2017-10-27 11:46:29 +02:00
Grzegorz Piwowarek
8248a66ddb Build Optimization 25.10 (#2867)
* First round

* Second round
2017-10-25 22:35:21 +02:00
Anton
31f4581de3 BAEL-1041 Introduction to Caffeine (#2585)
* BAEL-748 quick guide to @Value

* BAEL-748 changes from review

* BAEL-748 inject comma-separated values into array

* BAEL-768 Introduction to Netty

* BAEL-768 remove commented code

* BAEL-861 Introduction to Awaitility

* BAEL-861 rename Test to UnitTest

* BAEL-1041 Introduction in Caffeine

* BAEL-1041 fix test

* BAEL-1041 fix formatting

* BAEL-1041 fix expected/actual order

* BAEL-1041 remove trailing underscore

* Formatting after merge

* BAEL-1041 add spaces between data and assertions

* BAEL-1041 soft values example

* BAEL-1041 remove duplicate dependency

* BAEL-1041 formatting fix

* BAEL-1041 formatting fix
2017-10-10 20:53:59 -05:00
Grzegorz Piwowarek
47783354dd Build opt (#2721)
* Refactor JettyIntegrationTest

* Refactor RxJava samples

* Refactor RxJava samples
2017-10-09 23:51:39 +02:00
Grzegorz Piwowarek
491649a866 Refactor Docx examples (#2716) 2017-10-08 14:07:30 +02:00
nabyla
26508f3104 Docx4j article (#2714)
* add docx4j dependencies

* Add image.jpg (docx4j)

* add Docx4j example

* Add docx4j test

* Remove unused import

* Fix typo (baeldung instead of baledung)
2017-10-08 12:47:15 +02:00
Tomasz Lelek
c521aa66af BAEL-1155 crdt (#2659)
* BAEL-1155 crdt

* BAEL-1155 fix pom
2017-10-06 10:36:50 +02:00
Kiran
dcc7fa65dd Updated for BAEL 971 (#2702)
* Updated Lang3Utils.java

Added a new test for ConcurrentException and updated other exception with Lambda

* LazyInitializer sample files

* Updated file with LazyInitializer Unit Test

* Updated BuidlerMethods class to include LazyInitializer & BackgroundInitializer

* Updated Lang3UtilsTest class

* Updated Lang3UtilsTest class
2017-10-03 23:29:54 +02:00
Parth Karia
d343c59a3c BAEL-815 Move JGraphT code from libraries to algorithms (#2695)
* BAEL-815 Introduction to JGraphT

* BAEL-815 Move code from libraries to algorithms
2017-09-30 23:46:48 -07:00
Parth Karia
692fe31575 BAEL-815 Introduction to JGraphT (#2653)
* BAEL-243 Spring Batch using Partitioner

* BAEL-1106 Introduction to javax.measure

* Unnecessary Committed

* BAEL-1106 Move code to libraries from core-java

* BAEL-1106 Move code to libraries from core-java

* BAEL-815 Introduction to JGraphT

* BAEL-815 Introduction to JGraphT
2017-09-27 07:50:08 -07:00
adamd1985
8bf825d046 Code examples for the articl on Apache bags (#2671) 2017-09-25 20:24:24 +02:00
Ahmed Tawila
68d807e0c4 close cache instances properly (#2630)
* Evaluation article: Different Types of Bean Injection in Spring

* added tests & changed configuration to Java-based config

* removed xml config files

* rename unit tests

* BAEL-972 - Apache Commons Text

* remove code from evaluation article

* remove code from evaluation article

* BAEL-972 - Apache Commons Text - added another example

* BAEL-972 - Apache Commons Text - just indentation

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java - fix problems

* BAEL-1033 Introduction to StreamUtils

* BAEL-1033 Introduction to StreamUtils

* BAEL-1033 Introduction to StreamUtils

* fix formatting

* BAEL-1033 minor refactor

* BAEL-1035 Introduction to Eclipse Collections

* format

* BAEL-1035 Introduction to Eclipse Collections

* BAEL-1035 Introduction to Eclipse Collections

* BAEL-1035 Introduction to Eclipse Collections

* cleanup

* cleanup

* BAEL-1109 Introduction to JCache

* BAEL-1109 Introduction to JCache

* remove unneeded property in pom.xml

* fix formatting

* close cache instances properly

* remove latest commit

* BAEL-1057 Introduction to rxjava-jdbc
2017-09-23 11:42:36 +02:00
lor6
5fe5887be7 add simpleentry test (#2654) 2017-09-21 10:22:04 +02:00
Devendra Tiwari
0dd6ddd137 Updated test method names to BDD convention (#2643) 2017-09-18 14:17:49 -07:00
Kiran
a3f70aafe4 Updated Lang3Utils.java (#2584)
* Updated Lang3Utils.java

Added a new test for ConcurrentException and updated other exception with Lambda

* LazyInitializer sample files

* Updated file with LazyInitializer Unit Test
2017-09-16 18:49:21 +02:00
Grzegorz Piwowarek
556e8fa90b Refactor jcache examples (#2620) 2017-09-14 11:02:05 +03:00
dimitarsazdovski
8ac23221fe Bael 817 refactor (#2575)
* Code refactor according to comments

* Moved to new module

* Changes in pom file
2017-09-13 12:28:01 +02:00
Grzegorz Piwowarek
4cba067620 Fix int tests (#2609)
* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename Integration tests to Live tests

* Turn off benchmarks

* BroadcastIntegratonTest -> BroadcastLiveTest

* Refactor Retrofit samples
2017-09-11 20:31:34 +02:00
nabyla
07d7ec51e8 Functional Java PR (#2599)
* Update pom.xml with functionalJava dependencies

* Add functionalJava classes

* update README.md

* remove unnecessary functionalJava dependencies

* add FunctionalJava Tests

* Delete FunctionalJavaMain.java

* Fix Package Name
2017-09-10 07:53:27 -07:00
Ahmed Tawila
aa612b71bb BAEL-1109 Introduction to JCache (#2594)
* Evaluation article: Different Types of Bean Injection in Spring

* added tests & changed configuration to Java-based config

* removed xml config files

* rename unit tests

* BAEL-972 - Apache Commons Text

* remove code from evaluation article

* remove code from evaluation article

* BAEL-972 - Apache Commons Text - added another example

* BAEL-972 - Apache Commons Text - just indentation

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java - fix problems

* BAEL-1033 Introduction to StreamUtils

* BAEL-1033 Introduction to StreamUtils

* BAEL-1033 Introduction to StreamUtils

* fix formatting

* BAEL-1033 minor refactor

* BAEL-1035 Introduction to Eclipse Collections

* format

* BAEL-1035 Introduction to Eclipse Collections

* BAEL-1035 Introduction to Eclipse Collections

* BAEL-1035 Introduction to Eclipse Collections

* cleanup

* cleanup

* BAEL-1109 Introduction to JCache

* BAEL-1109 Introduction to JCache

* remove unneeded property in pom.xml

* fix formatting
2017-09-09 12:37:26 -07:00
Eric Goebelbecker
da32a94d12 BAEL-1018 - Introduction to MBassador (#2576)
* BAEL-1018 - Introduction to MBassador

* BAEL-1018 - Introduction to MBassador. Add type for some of the MBassadors.
2017-09-07 07:16:10 -07:00
Charith De Silva
efbac53ec9 BAEL-973 Apache Commons Commons IO (#2262)
* BAEL-973 Apache Commons Commons IO

* BAEL-973 : fix up formatting

* BAEL-973 : review comments.

* BAEL-973 : review comments.

* BAEL-973 : review comments.

* BAEL-973 : review comments.

* BAEL-973 : review comments.

* BAEL-973 : review comments.
2017-09-06 22:52:48 -05:00
lor6
4b9ec46ca3 unit-api examples (#2566)
* unit-api examples

* fix conflict
2017-09-06 07:49:55 +02:00
Grzegorz Piwowarek
cafdf51bd7 Refactor JDeffered (#2559) 2017-09-05 19:59:42 +02:00
bankole salako
7b836d9211 Pairs functionality in Java (Core Java, Apache Commons and Vavr) (#2563)
* Unit tests for pairs functionality in Java (Core Java, Apache Commons and Vavr)

* Remove default file templates

* Refactor mustache

* BAEL-1123 - Testing Linked List for Cycles - deep20jain@gmail.com (#2525)

* Adding node and cycle detection by hashing

* Adding implementation for all algorithms for cycle detection and removal

* Applying formatting rules

* JDeferred (#2553)

* moving jmh into libraries module

* refactoring jmh

* Update pom.xml

* manual algorightm

* with BM result

* fix for space issue

* Fixed indentation

* change as per suggestion

* vavr either

* adding unit test and othe rutilities

* adding concurrent module

* concurrent package description

* concurrent package description

* Update EitherUnitTest.java

* introducing lambda expression

* jooby project

* jooby project

* reducing employee bean content

* bootique module

* bootique

* bootique

* undertow module

* undertow module

* refactoring

* using lambda

* as per baeldung formatter

* easy code added for simplicity

* simpliflying

* adding JDeferred module

* moved jdeferred to librarires module

* BAEL-1116 Spring swagger codegen (#2527)

* Spring integration with Swagger client code genrator

* Refactor

* format pom.xml

* BAEL-1106 Introduction to javax.measure (#2522)

* BAEL-243 Spring Batch using Partitioner

* BAEL-1106 Introduction to javax.measure

* Unnecessary Committed

* BAEL-1106 Move code to libraries from core-java

* BAEL-1106 Move code to libraries from core-java

* Update pom.xml

* Introduced jmh benchmarking (#2549)

* Bael 1043/protonpack (#2415)

* BAEL-1043/ Introduction to protonpack

* Added test cases for windowed() api

* Resolving merge issues

* Retrofit rx (#2519)

* Retrofit with RxJava

* Correct spelling mistake

* Use spaces for indentation instead of tabs in pom.xml

* Use spaces for indentation instead of tabs in pom.xml

* Add Retrofit integration with RxJava to libraries module

* Remove standalone project for Retrofit integration with RxJava

* remove retrofit-rxjava module

* Fixed error in pom.xml caused by an issue while merging

* Retrofit integration with RxJava

* Fix test cases

* Fix merge issues

* BAEL-1016 Merging master

* import source BAEL-1084 (#2560)

* Moved to libraries folder from core-java
2017-09-05 17:51:08 +02:00
Hany Ahmed
fd37ffb7c2 Retrofit rx (#2519)
* Retrofit with RxJava

* Correct spelling mistake

* Use spaces for indentation instead of tabs in pom.xml

* Use spaces for indentation instead of tabs in pom.xml

* Add Retrofit integration with RxJava to libraries module

* Remove standalone project for Retrofit integration with RxJava

* remove retrofit-rxjava module

* Fixed error in pom.xml caused by an issue while merging

* Retrofit integration with RxJava

* Fix test cases

* Fix merge issues

* BAEL-1016 Merging master
2017-09-04 21:47:19 +02:00
Devendra Tiwari
1afa7e2fcf Bael 1043/protonpack (#2415)
* BAEL-1043/ Introduction to protonpack

* Added test cases for windowed() api

* Resolving merge issues
2017-09-04 10:04:18 -07:00
Parth Karia
839a68f616 BAEL-1106 Introduction to javax.measure (#2522)
* BAEL-243 Spring Batch using Partitioner

* BAEL-1106 Introduction to javax.measure

* Unnecessary Committed

* BAEL-1106 Move code to libraries from core-java

* BAEL-1106 Move code to libraries from core-java

* Update pom.xml
2017-09-04 13:47:36 +02:00
Abhinab Kanrar
acf9bf7c4a JDeferred (#2553)
* moving jmh into libraries module

* refactoring jmh

* Update pom.xml

* manual algorightm

* with BM result

* fix for space issue

* Fixed indentation

* change as per suggestion

* vavr either

* adding unit test and othe rutilities

* adding concurrent module

* concurrent package description

* concurrent package description

* Update EitherUnitTest.java

* introducing lambda expression

* jooby project

* jooby project

* reducing employee bean content

* bootique module

* bootique

* bootique

* undertow module

* undertow module

* refactoring

* using lambda

* as per baeldung formatter

* easy code added for simplicity

* simpliflying

* adding JDeferred module

* moved jdeferred to librarires module
2017-09-03 22:39:16 +02:00
Eric Goebelbecker
3c4faf999d BAEL-1018 - Introduction to MBassador (#2551) 2017-09-02 16:08:39 -07:00
shekhar-s
498a84c8b3 removed If condition (#2546) 2017-09-01 23:44:37 +02:00
Grzegorz Piwowarek
aaa3d117e2 Update versions in libraries (#2543)
* Bump datanucleus versions

* Update HikariCP

* Update Hoverfly-java
2017-09-01 14:23:05 +02:00
Grzegorz Piwowarek
6d797a2cc3 Refactor JavaDirectoryDelete (#2542) 2017-09-01 09:41:11 +02:00
shekhar-s
2f3e36405a Moved article code to libraries, added a null check and reverted change to core-java pom.xml (#2530) 2017-08-31 10:10:37 +02:00
Dassi orleando
2aeef70d39 BAEL-1074 move difference between dates from core-java to libraries (#2533)
* Different types of bean injection in Spring

* Difference between two dates in java

* Update README.md

* Simple clean of difference between dates

* Clean my test article

* Improve dates diff: for dates and datetimes

* Move difference between dates from core-java to libraries
2017-08-30 16:23:59 +02:00