Commit Graph

6319 Commits

Author SHA1 Message Date
Grzegorz Piwowarek 7d0e9da6ce Update README.md (#2571) 2017-09-12 15:26:46 +02:00
Grzegorz Piwowarek 0fd8f99871 Fix int tests (#2611)
* 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

* Rename ArquillianTest to ArquillianLiveTest
2017-09-12 14:21:40 +02:00
Dassi orleando 488eab1898 BAEL-890 - Kotlin-Allopen with Spring example (#2582)
* 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

* BAEL-890 - Kotlin-Allopen with Spring example
2017-09-12 12:05:06 +02:00
Walter Gómez 4edcd08cbd Kotlin jvm field (#2610)
* Add project for hibernate immutable article
Add Event entity
Add hibernate configuration file
Add hibernateutil for configuration
Add test to match snippets from article

* Update master

* Jvm Field
Add sample classes
Include test for sample classes
2017-09-11 23:18:03 -07:00
ahmetcetin39 22015c8007 BAEL-1088 Model, ModelMap and ModelView in Spring MVC (#2590)
* Add files via upload

* Controller methods are written. Test methods are written based on the controller methods and the view is created as an example.
2017-09-12 00:36:49 +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
Grzegorz Piwowarek 63678ff149 Fix int tests (#2608)
* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename Integration tests to Live tests

* Turn off benchmarks

* BroadcastIntegratonTest -> BroadcastLiveTest
2017-09-11 18:18:28 +02:00
Grzegorz Piwowarek bf515679fe Fix int tests (#2607)
* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename Integration tests to Live tests

* Turn off benchmarks
2017-09-11 16:23:43 +02:00
Grzegorz Piwowarek 57f55e1b8c Fix int tests (#2605)
* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename JdbcIntegrationTest to JdbcLiveTest
2017-09-11 15:18:41 +02:00
slavisa-baeldung 19204f5d2f Merge pull request #2603 from eugenp/BAEL-982
BAEL-982 - reusing model
2017-09-11 13:31:31 +02:00
aietcn de07e1f926 BAEL-1058 (#2606) 2017-09-11 12:26:55 +02:00
Grzegorz Piwowarek 19f39c141e Fix int tests (#2604)
* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename JdbcIntegrationTest to JdbcLiveTest
2017-09-11 09:56:37 +02:00
Grzegorz Piwowarek f95f0da640 Rename JdbcIntegrationTest to JdbcLiveTest (#2600) 2017-09-11 08:33:34 +02:00
Adam InTae Gerard 3e192a0707 BAEL-1085: @RequestBody and @ResponseBody Annotation (#2583)
* Simple Boot REST application and example

* BAEL-509 - Removed extra duplicate ant matcher

* Example and Unit Tests

* documentation

* BAEL-1085 - changes per PR code review and document review - altered integration to unit test - all's good

* BAEL-1085 - Renamed unit tests and added both to pom.xml

* IntelliJ formatter

* REVERT - Had removed a duplicate ant matcher from BAEL-509 - this was the incorrect process - reverting now, article has been corrected, but will issue a seperate PR for this

* BAEL-509: Removed duplicate ant matcher - does not impact code at runtime

* BAEL-1085: Per editor's request, removed Angular client - using CURL POST commands now in article - as such moved the code into a more appropriate module: spring-rest
2017-09-11 08:22:22 +02:00
slavisa-baeldung 5f59a1b245 BAEL-982 - reusing model 2017-09-11 06:43:00 +01:00
alincojanu d4d0305f3e Guide to RxJava (#2597)
* alin.cojanu25@gmail.com

* add junit tests

* core-java - sneaky throws

* delete project spring_sample_annotations and spring_sample_xml ->not intended for this article

* RxJava

* delete old project

* refactored lambdas

* repaired subject test

* guide to rxjava
2017-09-10 18:58:09 +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
hugosama1 f6ced9a7ac Examples for retrofit guide (#2596) 2017-09-10 11:37:12 +02:00
Alejandro Gervasio 514996c08e Java Beans Validation with Hibernate Validator - BAEL-1138 - Alejandro Gervasio - alejandro.gervasio@gmail.com (#2588)
* Initial Commit

* Fixed indentation in pom.xml

* Fixed indentation in pom.xml
2017-09-09 22:18:07 +02: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
Grzegorz Piwowarek 2b5a6c13f8 Build opt (#2593)
* Build optimization

* Build optimization
2017-09-09 21:11:48 +02:00
Grzegorz Piwowarek f01d1e257e Build optimization (#2591) 2017-09-09 16:55:05 +02:00
Predrag Maric 4589860efb BAEL-1090 Fixed minor issue with total time calculation (#2589) 2017-09-09 00:43:20 +02:00
Mansi 644ecbd0eb BAEL-1090 Difference between Compressed String and Compact String in Java 9 (#2574)
* Example Code For Evaluation Article

This is an example code for the evaluation article on "Different Types of Bean Injection in Spring"

* Added unit tests

* Minor changes to application context

* Removed code committed for evaluation article

* BAEL-944 Demonstrating the problems with new Url pattern matching in Spring 5

* BAEL-944 Demonstrating the problems with new Url pattern matching in Spring 5

* BAEL-944 Exploring the Spring MVC URL Matching Improvements

* BAEL-944 Exploring the Spring MVC URL Matching Improvements

* BAEL-944 Exploring the Spring MVC URL Matching Improvements

* BAEL-944 Code Formatting and solving build issue

* BAEL-944 Resolving build issue due to change in Spring version

* BAEL-944 Resolving build issue

* BAEL-944 Formatting code

* BAEL-944 Moving tests to correct package

* BAEL-944 Moving tests to correct package

* BAEL-944 Replacing @RequestMapping by @GetMapping

* BAEL-944 Remove unnecessary attribute name, "value" in annotations

* BAEL-79 Intro to Activiti with Spring

* BAEL-79 Intro to Activiti with Spring

* BAEL-79 Adding activiti module to the parent modules

* BAEL-79 Using latest version

* BAEL-79 Update Spring boot version that works with Activiti

* BAEL-79 Replace RequestMapping with GetMapping

* BAEL-79 Use Java 8 Syntax

* BAEL-79 Formatting

* BAEL-79 changed module name

* BAEL-378 A Guide to Activiti with Java

* BAEL-79 Fixed unit tests

* BAEL-79 Simplified the process

* BAEL-79 Fix test cases

* BAEL-1045 Lambda Behave

* BAEL-1045 Lambda Behave

* BAEL-1045 Lambda Behave

* BAEL-1090 Difference between compact and compressed strings in Java 9
2017-09-08 23:59:23 +02:00
deep20jain cccd6a3eab BAEL 1123 - deep20jain@gmail.com (#2572)
* Adding node and cycle detection by hashing

* Adding implementation for all algorithms for cycle detection and removal

* Applying formatting rules

* Refactoring methods and adding more tests

* Fixing infinite loop corner case
2017-09-08 19:23:55 +02:00
nabyla 35ac22c947 FunctionalJava article (#2586)
* Update pom.xml with functionalJava dependencies

* Add functionalJava classes

* update README.md
2017-09-08 09:31:39 -07:00
Grzegorz Piwowarek cc304b068b Update README.md (#2581) 2017-09-07 22:08:37 +02:00
Grzegorz Piwowarek f6d6274c9f Update README.md (#2580) 2017-09-07 22:08:22 +02:00
Grzegorz Piwowarek e62553523a Update README.md (#2579) 2017-09-07 20:10:16 +02:00
Grzegorz Piwowarek 9c753f6f5d Update README.md (#2578) 2017-09-07 20:10:03 +02:00
Grzegorz Piwowarek 4a6d2a6f93 Update README.md (#2577) 2017-09-07 20:09:46 +02: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
Adam InTae Gerard 9f10f7c0f4 BAEL-509: Removed Duplicate Ant Matcher (#2558)
* Simple Boot REST application and example

* BAEL-509 - Removed extra duplicate ant matcher

* Example and Unit Tests

* documentation

* BAEL-1085 - changes per PR code review and document review - altered integration to unit test - all's good

* BAEL-1085 - Renamed unit tests and added both to pom.xml

* IntelliJ formatter

* REVERT - Had removed a duplicate ant matcher from BAEL-509 - this was the incorrect process - reverting now, article has been corrected, but will issue a seperate PR for this

* BAEL-509: Removed duplicate ant matcher - does not impact code at runtime
2017-09-07 00:17:44 +02:00
slavisa-baeldung 2f1bb7b47f Merge pull request #2569 from eugenp/BAEL-982-mustache-spring-boot
BAEL-982 - Moving to mustache module
2017-09-06 22:54:26 +02:00
Grzegorz Piwowarek 4c73a0ca05 Update README.md (#2570) 2017-09-06 20:59:18 +02:00
Grzegorz Piwowarek 218210f76a Update Jenkins job link (#2548)
* Update Hazelcast

* Update Hbase

* Update Immutables

* Update Lombok

* Update JMockit

* Update CI link
2017-09-06 20:13:50 +02:00
Grzegorz Piwowarek e0c1678dfb Refactor Retrofit samples (#2568) 2017-09-06 18:37:58 +02:00
slavisa-baeldung 39fc39615e BAEL-982 - Moving to mustache module 2017-09-06 17:35:40 +01:00
Grzegorz Piwowarek 216f7d8976 Reformat pom.xml (#2567)
* Refactor RxJava

* Reformat pom.xml
2017-09-06 11:53:21 +02:00
iaforek 7904c3ee04 BAEL-1065 Simple performance check StringBuffer vs StringBuilder. (#2512)
* Code for Dependency Injection Article.

* Added Java based configuration. Downloaded formatter.xml and reformatted
all changed files. Manually changed tab into 4 spaces in XML
configuration files.

* BAEL-434 - Spring Roo project files generated by Spring Roo. No
formatting applied. Added POM, java and resources folders.

* Moved project from roo to spring-roo folder.

* BAEL-838 Initial code showing how to remove last char - helper class and tests.

* BAEL-838 Corrected Helper class and associated empty string test case. Added StringUtils.substing tests.

* BAEL-838 Refromatted code using formatter.xml. Added Assert.assertEquals import. Renamed test to follow convention. Reordered tests.

* BAEL-838 - Added regex method and updated tests.

* BAEL-838 Added new line examples.

* BAEL-838 Renamed RemoveLastChar class to StringHelper and added Java8 examples. Refactord code.

* BAEL-838 Changed method names

* BAEL-838 Tiny change to keep code consistant. Return null or empty.

* BAEL-838 Removed unresolved conflict.

* BAEL-821 New class that shows different rounding techniques. Updated POM.

* BAEL-821 - Added unit test for different round methods.

* BAEL-821 Changed test method name to follow the convention

* BAEL-821 Added more test and updated round methods.

* BAEL-837 - initial commit. A few examples of adding doubles.

* BAEL-837 - Couple of smaller changes

* BAEL-837 - Added jUnit test.

* BAEL-579 Updated Spring Cloud Version

I was getting error: java.lang.NoSuchMethodError:
org.springframework.cloud.config.environment.Environment
After version update, all is okay.

* BAEL-579 Added actuator to Cloud Config Client.

* BAEL-579 Enabled cloud bus and updated dependencies.

* BAEL-579 Config Client using Spring Cloud Bus.

* BAEL-579 Recreated Basic Config Server.

* BAEL-579 Recreated Config Client.

* BAEL-579 Removed test Git URL.

* BAEL-579 Added Actuator to Config Client

* BAEL-579 Added Spring Cloud Bus to Client.

* BAEL-579 Server changes for Spring Cloud Bus

Added dependencies and removed git.clone-on-start as this was causing
server to throw errors after git properties change.

* BAEL-579 Removed Git URL.

* Revert "BAEL-579 Updated Spring Cloud Version"

This reverts commit f775bf91e5.

* Revert "BAEL-579 Config Client using Spring Cloud Bus."

This reverts commit 1d96bc5761.

* Revert "BAEL-579 Enabled cloud bus and updated dependencies."

This reverts commit 7845da922d.

* Revert "BAEL-579 Added actuator to Cloud Config Client."

This reverts commit 076657a26a.

* BAEL-579 Added missing dependency versions.

* BAEL-579 Added missing dependency versions.

* Updated gitignore

* BAEL-1065 Simple performance check StringBuffer vs StringBuilder.

* BAEL-1065 Added JMH benchmarks
2017-09-06 08:31:52 +02:00
lor6 4b9ec46ca3 unit-api examples (#2566)
* unit-api examples

* fix conflict
2017-09-06 07:49:55 +02:00
Grzegorz Piwowarek 7916882668 Refactor stream with indices (#2565)
* Refactor RxJava

* Refactor Stream with indices
2017-09-05 23:55:15 +02:00
Grzegorz Piwowarek 830db34334 Refactor RxJava (#2564) 2017-09-05 20:43:00 +02:00
alincojanu 0d9068c040 A Guide to RxJava (#2557)
* alin.cojanu25@gmail.com

* add junit tests

* core-java - sneaky throws

* delete project spring_sample_annotations and spring_sample_xml ->not intended for this article

* RxJava

* delete old project

* refactored lambdas

* repaired subject test
2017-09-05 20:00:36 +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
chrisoberle 0d599aeca1 import source BAEL-1084 (#2560) 2017-09-04 20:39:03 -05: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
slavisa-baeldung b49ad4ea59 Merge pull request #2552 from eugenp/Refactor_mustache
Refactor mustache
2017-09-04 18:59:28 +01:00