Commit Graph

6249 Commits

Author SHA1 Message Date
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
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
ramansahasi 133bbe1aca Introduced jmh benchmarking (#2549) 2017-09-04 07:22:28 -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
Hany Ahmed 2b293e51e0 BAEL-1116 Spring swagger codegen (#2527)
* Spring integration with Swagger client code genrator

* Refactor

* format pom.xml
2017-09-04 05:41:49 +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
deep20jain d8398caaa2 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
2017-09-03 22:20:25 +02:00
Adam InTae Gerard 4baaf9f984 BAEL-1085 (#2428)
* 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
2017-09-03 09:56:40 +02:00
Seun Matt b6830cc736 Updated Vavr Collections Example Code (#2550)
* added updated example codes

* updated example code StringToCharStream

* deleted StringToCharStream.java locally

* removed redundant file

* added code for apache commons collection SetUtils

* refactored example code

* added example code for bytebuddy

* added example code for PCollections

* update pom

* refactored tests for PCollections

* spring security xml config

* spring security xml config

* remove redundant comment

* example code for apache-shiro

* updated example code for Vavr Collections

* updated Vavr's Collection example

* updated Vavr Collection file

* updated example code for Apache Shiro

* updated Vavr Collections example
2017-09-03 09:49:09 +02:00
Grzegorz Piwowarek 159f918806 Refactor mustache 2017-09-03 07:29:50 +02:00
Eric Goebelbecker 3c4faf999d BAEL-1018 - Introduction to MBassador (#2551) 2017-09-02 16:08:39 -07:00
alincojanu 01529c3202 sneaky throws (#2505)
* 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
2017-09-02 19:38:04 +02:00
Grzegorz Piwowarek 7262427421 Version update 9 02 (#2547)
* Update Hazelcast

* Update Hbase

* Update Immutables

* Update Lombok
2017-09-02 10:43:10 +02:00
Fatos Morina 94d02ed1f6 BAEL-1078 How to iterate over a stream with indices (#2544)
* Add the example with EntryStream

* Add the example with EntryStream

* Add vavr

* Implement the method getOddIndexedStringsVersionTwo

* Implement the method givenArray_whenGetIndexedStrings_thenReturnListOfOddStringsVersionTwo

* BAEL-1078 Code formatting

* Extract tuples using map

* Fix merge conflicts
2017-09-02 11:42:24 +03:00
Shivang Sarawagi d635e9a245 binary search folder created (#2541)
* binary search folder created

* Binary search test updated
2017-09-01 17:40:09 -07:00
shekhar-s 498a84c8b3 removed If condition (#2546) 2017-09-01 23:44:37 +02:00
Alejandro Gervasio 7e26990eb9 An Introduction to Vavr's Validation API - Alejandro Gervasio | alejandro.gervasio@gmail.com (#2526)
* Initial Commit

* Refactored Application class

* Refactored Application class

* Refactored Application class

* Refactored User class

* Added ValidationTest class

* Reorganized imports in ValidatorTest class

* Reformatted source code

* Reformatted source code
2017-09-01 23:33:58 +02:00
hugosama1 86c1d6d22d First proposition for introduction to spring-yarg (#2540) 2017-09-01 21:57:45 +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
Predrag Maric 12ffbe027d BAEL-1078 Code formatting (#2539) 2017-08-31 18:42:03 +02:00