Commit Graph
100 Commits
Author SHA1 Message Date
Grzegorz Piwowarek 0c7c689d3b Add parallel-collectors samples (#7187)
* Add ParallelCollectorsTest

* Add dependency

* Fix naming
2019-06-26 22:07:16 +02:00
Grzegorz Piwowarek b47140fdd2 Delete . .. 2019-01-17 15:44:27 +01:00
Grzegorz Piwowarek 6d1e1647d5 Core scala refactor (#5654)
* encoding

* Converting synchronous and asynchronous API to observables

* Adding different ways of converting sync/async APIs to observalbles.

* Replace anonymous class with lambda

* update based on comment from Grzegorz Piwowarek

* Refactor core-scala examples

* Cleanup
2018-11-10 12:45:08 +01:00
Grzegorz Piwowarek 03f530126f Multiple threads odd-even refactor (#5617)
* encoding

* Converting synchronous and asynchronous API to observables

* Adding different ways of converting sync/async APIs to observalbles.

* Replace anonymous class with lambda

* update based on comment from Grzegorz Piwowarek

* Refactor even-odd semaphore demo

* Remove unrelated files
2018-11-10 12:22:48 +01:00
Grzegorz Piwowarek 1bca2a8c54 Update README.md (#5525) 2018-10-23 04:50:09 -07:00
Grzegorz Piwowarek 58ad03cbe1 Refator tests 2018-09-23 07:28:22 +02:00
Grzegorz Piwowarek 2a2d4222bb Reimplement unfold 2018-09-23 07:26:49 +02:00
Grzegorz Piwowarek 77b21b0a9e refactor givenMultipleStream_whenInterleaved_thenInterleaved 2018-09-23 06:53:46 +02:00
Grzegorz Piwowarek 8455646125 Rename CoroutinesTest.kt to CoroutinesUnitTest.kt (#5281) 2018-09-17 22:15:58 +02:00
Grzegorz Piwowarek cb86a05efd Kotlin Builder example refactor (#4895)
* encoding

* Refactor builder

* Usage

* Builder as data class
2018-08-18 14:01:01 +02:00
Grzegorz Piwowarek f69c265185 Update SseEmitterController.java (#4864) 2018-08-01 22:10:58 +02:00
Grzegorz Piwowarek a8288f98a7 Update pom.xml (#4843) 2018-08-01 07:27:32 +02:00
Grzegorz Piwowarek e7091ab382 Update ResponseBodyEmitterController.java 2018-07-31 07:44:14 +02:00
Grzegorz Piwowarek bb3afbc9f8 Update README.md (#4706) 2018-07-24 16:48:19 +02:00
Grzegorz Piwowarek 692eafafea Fix Trie implementation (#4668)
* encoding

* Fix Trie implementation
2018-07-09 16:26:52 +02:00
Grzegorz Piwowarek 2b0c6ed655 Kiview ftpclient (#4456)
* Add example for FTP client

Using Apache Commons Net

* Add missing resource

* Fix wrong file download in integration test

* Add example for using FTP support in JDK

* Close input stream after copy

* Fix test name
2018-06-13 08:19:03 -07:00
Grzegorz Piwowarek 8767e923a4 Refactor MappingFrameworksPerfomance (#4436)
* Refactor MappingFrameworksPerfomance

* Increase warmups

* Simplify tests
2018-06-10 08:02:41 +02:00
Grzegorz Piwowarek 6dad233602 BAEL-1758 Idiomatic Kotlin usage in enum (#4434) 2018-06-09 11:29:35 +02:00
Grzegorz Piwowarek b2fc0d7bde Update README.md (#4330) 2018-06-08 18:25:08 +02:00
Grzegorz Piwowarek 8bba7874b0 Update JavaReadFromFileUnitTest.java (#4404) 2018-06-08 18:24:22 +02:00
Grzegorz Piwowarek dbef49604d Merge branch 'master' into thombergs-patch-6 2018-06-06 17:55:11 +02:00
Grzegorz Piwowarek ee00aa4270 Merge branch 'master' into BAEL-1799 2018-06-06 17:54:56 +02:00
Grzegorz Piwowarek 1395211756 Merge branch 'master' into hemantvsn_SpringBootNonWebApp_30May18 2018-06-06 07:33:08 +02:00
Grzegorz Piwowarek 2c2915e584 Merge branch 'master' into BAEL-1799 2018-06-06 07:32:22 +02:00
Grzegorz Piwowarek 9fd6025127 Merge branch 'master' into BAEL-1689 2018-06-06 07:32:09 +02:00
Grzegorz Piwowarek 1a58d62dcf Merge branch 'master' into thombergs-patch-6 2018-06-06 07:31:03 +02:00
Grzegorz Piwowarek 5c0004c746 Update pom.xml (#4412) 2018-06-05 21:03:30 +02:00
pivovarit 836722cb06 Rename test 2018-06-05 20:00:15 +02:00
pivovarit 11fa0cf492 Disable PMD aggregate 2018-06-05 10:03:20 +02:00
Grzegorz Piwowarek fb04fc4588 BAEL-1325 (#4272)
* NatsClient refactor

* add: mongodb reactive repositories

* fix: test names

* fix: test names

* fix: test running on maven

* fix: test name

* fix: test class names

* Rename tests
2018-05-21 07:37:44 +02:00
Grzegorz Piwowarek fdd80a278f Update README.md (#4155) 2018-05-02 09:20:30 +02:00
Grzegorz Piwowarek e7672c79f0 Update README.md (#4156) 2018-05-02 09:20:16 +02:00
Grzegorz Piwowarek b77aa22527 Update README.md (#4152) 2018-05-02 07:26:49 +02:00
Grzegorz Piwowarek 2ff50cca98 Update README.md (#4153) 2018-05-02 07:26:40 +02:00
Grzegorz Piwowarek 3a5715cf4a Update README.md (#4154) 2018-05-02 07:26:27 +02:00
Grzegorz Piwowarek 40d6af7fab Refactor Ignite samples (#4010)
* asd

* Update IgniteStream.java

* Update IgniteStream.java

* Update IgniteStream.java
2018-04-29 17:24:13 +02:00
Grzegorz Piwowarek 443a691752 Update README.md (#3991)
* Update README.md

* Update README.md
2018-04-29 17:23:48 +02:00
Grzegorz Piwowarek 9512a76998 Update README.md (#4128) 2018-04-29 17:20:59 +02:00
Grzegorz Piwowarek 9b4405675e Update .travis.yml (#4118) 2018-04-28 07:42:24 +02:00
Grzegorz Piwowarek b284c29a43 Fix FileReaderTest (#3996) 2018-04-14 10:00:24 +02:00
Grzegorz Piwowarek 0c0a3cab16 Adjust config (#3979)
* Adjust config

* Adjust config

* Adjust config

* fix

* fix

* Rename MetricTypeTest

* Rename MetricTypeTest

* Rename MetricTypeTest

* Rename MetricTypeTest

* Install custom pmd jar to local maven repo during maven validate phase, so that it becomes available during project build

* maven install plugin - adding base path

* changed the phase for maven directory plugin to validate to make sure that the base directory variable is available to maven install plugin

* pmd violation flag back to false
2018-04-13 07:08:55 +02:00
Grzegorz Piwowarek ede9b12252 Rename MetricTypeTest (#3989) 2018-04-12 10:09:15 +03:00
Grzegorz Piwowarek 64e9b41aef FileReader idiomatic refactor (#3936) 2018-04-11 12:20:33 +02:00
Grzegorz Piwowarek 0e95588c54 Refactor (#3923)
* NatsClient refactor

* Use lambda
2018-04-11 12:20:03 +02:00
Grzegorz Piwowarek df42f243f2 NatsClient refactor (#3914) 2018-04-11 12:19:49 +02:00
Grzegorz Piwowarek 39ac68e2e0 Update UnitTestNamingConventionRule.java (#3978) 2018-04-11 05:20:34 +02:00
Grzegorz Piwowarek d337266c7a Fail the build when naming conventions violated (#3974)
* Failing build if unit test name does not follow one of the following conventions : ..IntegrationTest, ..LongRunningUnitTest, ..ManualTest, ..JdbcTest, ..LiveTest

* Custom PMD Rules project

* Fixed this issue when unit test classes were not being scanned by custom PMD rule (This happened after I pulled code from upstream project)

* Don't fail the build if PMD custom rule fails

* Reconfigure PMD

* Reformat POM

* Adjust PMD rules

* Rename test
2018-04-10 23:50:17 +02:00
Grzegorz Piwowarek edc1cc159f Build fix (#3972)
* Fixed a unit test and commented others to fix the build failures

* Rename test
2018-04-10 08:48:29 +02:00
Grzegorz Piwowarek 0a018254ae Rename test (#3971) 2018-04-10 06:54:31 +02:00
Grzegorz Piwowarek 70b5e9b403 Update ObservableCombineUnitTest.java (#3896) 2018-03-28 09:31:16 +02:00
Grzegorz Piwowarek 94fc6997fe Servlet refactor (#3851) 2018-03-19 12:02:28 -07:00
Grzegorz Piwowarek 764ccb54a9 BAEL-1417 Spring Data with Spring Security (#3720)
* Define beans for handling different message types in a lean chat app

* Add class based spring beans configuration

* Define spring configuration in XML for constructor based bean injection

* Refactor package structure to separate constructor based bean injection code set from setter based bean injection code set

* Define configuration and classes specific to setter-based bean injection.

* Implement tests for constructor-based and setter-based bean injections

* develop codes for explaining type erasure

* Write unit tests for type erasure examples

* Remove evaluation article code

* Modify type erasure examples and unit tests

* Modify type erasure examples and unit tests

* Add expected exception in TypeErasureUnitTest

* Correct grammar in class name

* Implement File Manager app to demonstrate Polymorphism. Develop unit tests for Polymorphism article code

* Add examples for static polymorphism

* Change sysout statments to slf4j log info statements

* Add assertions and expected errors check on Test

* Add assertions and expected errors check on Test

* Correct compile time error of symbol not found

* Removed commented out non-compiling test.

* Replace string concatenations with String.format

* Replace string concatenations with String.format

* Remove verbose file info descriptor and replace with simpler one

* Add example codes for Hibernate Interceptors article
Write tests for session-scoped and sessionFactory-scoped interceptors

* Implement serializable on customInterceptorImpl

* Implement examples for spring data with spring security integration

* Remove webapp example implementations; too extensive
2018-03-18 06:49:39 +01:00
Grzegorz Piwowarek a4a6577a4a Update .travis.yml (#3819) 2018-03-17 10:31:01 +01:00
Grzegorz Piwowarek 3380dba316 Delete README.md (#3796) 2018-03-10 21:56:29 +01:00
Grzegorz Piwowarek a6d3ddd38f Revert "evaluation article, different types of bean injection. (#3511)" (#3719)
This reverts commit 54bd8a5cdd.
2018-02-24 21:32:29 +01:00
Grzegorz Piwowarek c0bf1c7a93 Refactor Infinispan example (#3684)
* Refactor Infinispan examples

* Refactor Infinispan examples
2018-02-19 17:20:16 +01:00
Grzegorz Piwowarek 0cb1447797 JSP Refactor (#3689) 2018-02-19 01:43:23 +01:00
Grzegorz Piwowarek 710c25fb01 Ocheja fix (#3572)
* Define beans for handling different message types in a lean chat app

* Add class based spring beans configuration

* Define spring configuration in XML for constructor based bean injection

* Refactor package structure to separate constructor based bean injection code set from setter based bean injection code set

* Define configuration and classes specific to setter-based bean injection.

* Implement tests for constructor-based and setter-based bean injections

* develop codes for explaining type erasure

* Write unit tests for type erasure examples

* Remove evaluation article code

* Modify type erasure examples and unit tests

* Modify type erasure examples and unit tests

* Add expected exception in TypeErasureUnitTest

* Correct grammar in class name

* Implement File Manager app to demonstrate Polymorphism. Develop unit tests for Polymorphism article code

* Add examples for static polymorphism

* Change sysout statments to slf4j log info statements

* Add assertions and expected errors check on Test

* Add assertions and expected errors check on Test

* Correct compile time error of symbol not found

* Removed commented out non-compiling test.

* Replace string concatenations with String.format

* Replace string concatenations with String.format

* Remove verbose file info descriptor and replace with simpler one

* Add example codes for Hibernate Interceptors article
Write tests for session-scoped and sessionFactory-scoped interceptors

* Implement serializable on customInterceptorImpl

* Implement examples for spring data with spring security integration

* Remove webapp example implementations; too extensive
2018-02-03 12:37:28 +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
Grzegorz Piwowarek 43a4d08c36 Sudoku refactor (#3556)
* BacktrackingAlgorithm refactor

* DancingLinks refactor
2018-01-31 18:50:37 +01:00
Grzegorz Piwowarek 955a2e7e18 Reactive exception handling 2018-01-27 06:52:34 +01:00
Grzegorz Piwowarek f2777f3be7 Merge branch 'master' into master 2018-01-23 09:24:38 +01:00
Grzegorz Piwowarek f8e4ecef08 Merge branch 'master' into master 2018-01-23 09:23:32 +01:00
Grzegorz Piwowarek 7bd1fbf734 Refactor Trie (#3469) 2018-01-20 15:05:41 +01:00
Grzegorz Piwowarek d64468eddc Refactor elastic (#3467) 2018-01-20 13:33:02 +01:00
Grzegorz Piwowarek b1520c93fd Update README.md (#3443) 2018-01-20 11:54:39 +01:00
Grzegorz Piwowarek 0293c65f77 Trie Examples (#3466)
* Implement Trie

* Implement TrieTest

* Delete testDelete method

* Refactorings

* Refactor Trie

* Refactor TrieNode

* Refactor Trie
2018-01-20 11:54:24 +01:00
Grzegorz Piwowarek e99619dcdc Update .travis.yml (#3334)
* Update .travis.yml

* Update .travis.yml
2018-01-04 17:21:52 +02:00
Grzegorz Piwowarek da4bd50cdb Core Java 8 refactor (#3342) 2018-01-04 17:21:32 +02:00
Grzegorz Piwowarek 2afc7dc623 Refactor Vavr Future (#3349) 2018-01-04 17:21:16 +02:00
Grzegorz Piwowarek c7ba3a08aa Build optimize (#3328)
* CustomConverterIntegrationTest

* StringToEmployeeConverterControllerIntegrationTest

* PersonsRepositoryIntegrationTest

* Refactor spring-rest-embedded-tomcat pom

* Disable Rxjava test
2017-12-30 23:10:54 +01:00
Grzegorz Piwowarek 7b797ff97a Update BinaryTree.java 2017-12-28 13:45:03 +01:00
Grzegorz Piwowarek e9c7fefc21 Create pom.xml (#3298) 2017-12-27 15:32:45 +01:00
Grzegorz Piwowarek bac07e4dca Update README.md (#3252) 2017-12-16 13:15:22 +01:00
Grzegorz Piwowarek 04df1cfef0 Remove spring-flyway (#3240)
* Remove spring-flyway

* Remove spring-flyway
2017-12-14 08:06:17 -08:00
Grzegorz Piwowarek f54fb92864 Add main entry point (#3233) 2017-12-13 14:32:44 +01:00
Grzegorz Piwowarek 443dc05f53 Update pom.xml (#3232) 2017-12-13 13:10:46 +01:00
Grzegorz Piwowarek 112f33acb9 Optimize build (#3227)
* Exclude NeurophTest

* Fix build
2017-12-13 11:25:47 +01:00
Grzegorz Piwowarek bb5a1697dd CAS fix (#3207) 2017-12-08 14:24:47 +01:00
Grzegorz Piwowarek 909109ec91 Create README.md (#3202) 2017-12-07 10:24:26 +01:00
Grzegorz Piwowarek fb8f07c852 Update PolygonFactory.java (#3108) 2017-11-29 12:10:22 +01:00
Grzegorz Piwowarek 3feaee499a Update README.md (#3044) 2017-11-29 12:07:35 +01:00
Grzegorz Piwowarek 7f2ace0da9 FilesTest fix (#3146)
* FilesTest fix

* StopThreadTest fix
2017-11-27 21:02:42 +01:00
Grzegorz Piwowarek 6536e39622 Update README.md (#3050) 2017-11-27 10:03:08 +01:00
Grzegorz Piwowarek 4d3e730637 BAEL-1181 manual (#3104)
* Move data.sql - schema.sql

* Implement NameAscendingOrderOfExecutionTest

* Implement DefaultOrderOfExecutionTest

* Implement JVMOrderOfExecutionTest
2017-11-22 23:07:51 +01:00
Grzegorz Piwowarek 408cf8476e Update README.md (#3051) 2017-11-17 21:47:05 +01:00
Grzegorz Piwowarek 7a21f5ee85 Move data.sql - schema.sql (#3067) 2017-11-17 07:22:09 +01:00
Grzegorz Piwowarek 34ad3ad29b Build opt (#3062)
* spring-boot-admin

* Optimization
2017-11-16 22:59:02 +01:00
Grzegorz Piwowarek d54917c7e9 Spring cloud samples (#3010)
* Matchers is now deprecated in Mockito 2, it's now replaced by ArgumentMatchers

* BAEL-1069: Guide to diamond operator in Java

* Changes after review

* BAEL-719: Intro to Spring Cloud Stream

* Pull request changes done

* Renamed unit tests

* Add spring-cloud-stream

* Add module

* Exclude integration tests from spring-cloud
2017-11-15 17:57:10 +01:00
Grzegorz Piwowarek 95868bf28e Update README.md (#3015) 2017-11-15 07:24:54 +01:00
Grzegorz Piwowarek d64b61548e Update pom.xml (#3041) 2017-11-14 13:58:56 +01:00
Grzegorz Piwowarek ebc5b52b3a Update README.MD (#3040) 2017-11-14 08:52:11 +01:00
Grzegorz Piwowarek 00282dd43e Build fix (#3033) 2017-11-13 18:10:14 +01:00
Grzegorz Piwowarek 82337c59cf OSGi cleanup (#3018) 2017-11-13 08:52:28 +01:00
Grzegorz Piwowarek 294a055ce5 Update README.md (#3016) 2017-11-13 08:23:17 +01:00
Grzegorz Piwowarek 776a01429e Group testing modules (#3014)
* move security content from spring-security-rest-full

* swagger update

* move query language to new module

* rename spring-security-rest-full to spring-rest-full

* group persistence modules

* group testing modules

* try fix conflict
2017-11-12 11:16:46 +01:00
Grzegorz Piwowarek c65795c7b0 Remove <testFailureIgnore>true (#2919) 2017-11-06 18:12:14 +02:00
Grzegorz Piwowarek f896e02d6e Refactor EchoServer (#2934) 2017-11-01 11:18:27 +01:00
Grzegorz Piwowarek 2f060a8f28 Revert KeycloakConfigurationTest (#2905) 2017-10-29 16:55:06 +01:00