Commit Graph

5761 Commits

Author SHA1 Message Date
Grzegorz Piwowarek 3e2d766f37 Refactor TemporalAdjusters (#2266) 2017-07-15 17:08:56 +02:00
Tian Baoqiang 1acbe9b162 #BAEL-1007 (#2264)
* #BAEL-1007

* fix format err of pom
2017-07-15 09:24:28 +02:00
lor6 26fdeaac46 vavr spring data (#2242)
* vavr spring data

* formatting

* formatting

* formatting

* formatting
2017-07-13 22:06:36 -05:00
Grzegorz Piwowarek 4233d90902 Remove vaadin tests (#2257)
* Refactor Vaadin samples

* Refactor Vaadin samples
2017-07-13 21:15:19 +02:00
Tomasz Lelek 3718dfd0d1 Bael 1010 hll (#2256)
* BAEL-1010 HLL article code

* BAEL-1010 moved tolerated difference to a variable

* Merge branch 'master' of https://github.com/eugenp/tutorials into BAEL-1010_hll

# Conflicts:
#	libraries/pom.xml

* BAEL-1010 clearer code
2017-07-13 13:24:49 -05:00
yetanotherallisonf 7df3f24350 Update README.md (#2249) 2017-07-13 19:24:07 +02:00
yetanotherallisonf 835d9814fd Update README.md (#2252) 2017-07-13 19:23:53 +02:00
Rokon Uddin Ahmed 8ca38e15da Github11.07 (#2254)
* Update README.md

* Update README.md

* Create README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.MD

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md
2017-07-13 15:43:43 +02:00
ramansahasi 24b14e55b7 BAEL-787 AWS S3 with Java (#2179)
* Files - S3 Bucket Creation and Object Upload

S3 Bucket Creation and Object Upload Using the AWS SDK for Java.
Please note. This code is not readily plug-and-play type. User needs to put his own 'access key' and 'secret key'

* S3 Bucket Creation and Object Upload-dependencies

S3 Bucket Creation and Object Upload - Adding Dependencies

* Update S3Application.java

* Update S3Application.java

* Update S3Application.java

* Fixed Test Names

* Update S3Application.java

* Added more test cases

* Added more examples

* Delete AWSS3Service.java

* Delete S3Application.java

* Added more examples

* Added more test cases
2017-07-13 15:32:32 +02:00
Syed Ali Raza 78de955aac BAEL-995: resolved merge issues (#2255) 2017-07-13 09:02:05 +02:00
Grzegorz Piwowarek 84956990b6 Build optimization (#2253) 2017-07-12 19:28:47 +02:00
slavisa-baeldung e5abeb4fd9 Merge pull request #2251 from eugenp/bael-964-map-util
bael-964-map-util
2017-07-11 17:18:01 +02:00
slavisa-baeldung de93039d4a BAEL-964 - removing assertion from print formatted map 2017-07-11 15:49:57 +01:00
KevinGilmore 5767ff1832 BAEL-509 README (#2250)
* BAEL-886: Updated README

* BAEL-917 Testing with Google Truth

Updated README

* BAEL-936: adding akka-streams module to parent

* BAEL-936: Update README

* BAEL-918: Update README

* BAEL-980: Update README

* BAEL-967: Update README

* BAEL-509: Using @GetMapping instead of @RequestMapping with method=GET

* BAEL-1005: Update README

* BAEL-509: Security and WebSockets (README)
2017-07-11 08:08:44 -05:00
lor6 dfae14537b junit 5 extensions (#2233)
* junit 5 extensions

* fix exceptions

* add back parent
2017-07-11 07:54:52 +02:00
Tomasz Lelek e6a0bbe090 BAEL-1010 HLL article code (#2188)
* BAEL-1010 HLL article code

* BAEL-1010 moved tolerated difference to a variable

* Merge branch 'master' of https://github.com/eugenp/tutorials into BAEL-1010_hll

# Conflicts:
#	libraries/pom.xml
2017-07-10 21:05:08 -05:00
KevinGilmore 2f651ddea3 BAEL-1005: README (#2246)
* BAEL-886: Updated README

* BAEL-917 Testing with Google Truth

Updated README

* BAEL-936: adding akka-streams module to parent

* BAEL-936: Update README

* BAEL-918: Update README

* BAEL-980: Update README

* BAEL-967: Update README

* BAEL-509: Using @GetMapping instead of @RequestMapping with method=GET

* BAEL-1005: Update README
2017-07-10 20:20:20 -05:00
Raúl Juárez 9c643cd652 BAEL-970 A Guide to Apache Commons DbUtils (#2125)
* BAEL-970 A Guide to Apache Commons DbUtils

* BAEL-970 A Guide to Apache Commons DbUtils

* BAEL-970 A Guide to Apache Commons DbUtils

- Added employeeId to Email class
- Minor corrections
2017-07-10 20:04:02 -05:00
Tomasz Lelek 1b9353c83e Bael 806 lazy (#2248)
* BAEL-806 lazy article code

* BAEL-806 remove comment
2017-07-10 21:02:21 +02:00
Jesus Boadas 54c6928bfe Introduction to Vaadin (#2247)
* deleted OpenNLP

* Introduction to Vaadin
2017-07-10 18:11:23 +02:00
slavisa-baeldung ecac42f3a1 Merge pull request #2244 from eugenp/bael-964-map-util
bael-964-map-util
2017-07-10 13:06:07 +02:00
slavisa-baeldung c2a0fba1a1 BAEL-964 - fixing version variable in maven 2017-07-10 11:41:09 +01:00
slavisa-baeldung b844db5d27 Merge remote-tracking branch 'origin/master' into bael-964-map-util 2017-07-10 07:38:35 +01:00
slavisa-baeldung 2e5cae0f20 BAEL-964 - map util test 2017-07-10 07:37:59 +01:00
Doha2012 2f3398beaf add more collection examples (#2243)
* minor logging fix

* spring security sso

* use basic auth

* use form login

* cleanup

* cleanup

* final cleanup

* second client app for sso

* spring boot bootstrap

* add logic

* cleanup

* add simple controller

* add thymeleaf and security

* minor fix

* minor fix

* add more boot properties

* fix live test

* fix live test

* minor fix

* semaphores

* fix configuration

* kotlin collection

* add more collection examples
2017-07-10 07:47:58 +02:00
Daniele Demichelis 2e119a5e99 BAEL-557 Spring Remoting with RMI (#2240)
* Burlap & Hessian server added

* Burlap & Hessian client work

* Fixed main

* Fixed formatting

* Spring Remote example based on Burlap & Hessian runs in a JUnit test

* Fixed main

* Fixed formatting

* Spring Remote example based on Burlap & Hessian runs in a JUnit test

* Spring Remote example based on Burlap & Hessian runs in a JUnit test

* Burlap & Hessian client work

* Fixed main

* Fixed main

* Fixed formatting

* Fixed formatting

* Spring Remote example based on Burlap & Hessian runs in a JUnit test

* Spring Remote example based on Burlap & Hessian runs in a JUnit test

* Fixed POM

* First version of remoting example based on RMI

* Fixed format

* Fixed format

* Fixed format
2017-07-09 21:22:17 +02:00
Doha2012 fc33d62cc3 kotlin collection (#2241)
* minor logging fix

* spring security sso

* use basic auth

* use form login

* cleanup

* cleanup

* final cleanup

* second client app for sso

* spring boot bootstrap

* add logic

* cleanup

* add simple controller

* add thymeleaf and security

* minor fix

* minor fix

* add more boot properties

* fix live test

* fix live test

* minor fix

* semaphores

* fix configuration

* kotlin collection
2017-07-09 21:10:38 +02:00
Grzegorz Piwowarek e422edadd0 Either refactor (#2237) 2017-07-09 12:28:04 +02:00
Parth Karia a219184b46 BAEL-1004 changes in variable names (#2238) 2017-07-09 12:23:21 +02:00
Mansi e704d296bf BAEL-79 Intro to Activiti with Spring (#2127)
* 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
2017-07-09 10:35:11 +02:00
Ahmed Tawila 13eec7e57c BAEL-994 - TemporalAdjuster in Java (#2232)
* 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
2017-07-09 09:15:22 +02:00
Abhinab Kanrar f876c6d02e vavr's either (#2180)
* 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
2017-07-09 09:03:08 +02:00
Grzegorz Piwowarek 62254d9beb Serenity build fox (#2236)
* Dependency clash resolved

* Fix GuavaStreams tests

* Fix GuavaStreams tests
2017-07-09 08:56:51 +02:00
Grzegorz Piwowarek fe2d2a6604 Dependency clash resolved (#2235) 2017-07-09 07:45:22 +02:00
Grzegorz Piwowarek 9ad123a655 Versions update (#2234)
* Mockito refactor

* Httpclient refactor

* Refactor json-path

* MongoDB Refactor
2017-07-09 06:27:31 +02:00
Devendra Tiwari 1957750382 How to zip two collections in Java? (#2176)
* How to zip two collections in Java?

How to zip two collections in Java? | http://jira.baeldung.com/browse/BAEL-780

* Updated pom to add jool dependency

* Added Unit Tests of Zip Collections

* Moved files to libraries folder

* Fixed Compilation Error

* Removed jool dependency as code has been moved to libraries

* Removed jool property attribute
2017-07-08 22:20:49 +02:00
Tomasz Lelek 57279a1b5c BAEL-1005 bloom filter code (#2171) 2017-07-08 12:30:38 -05:00
Grzegorz Piwowarek d191622109 Ratelimiter fix (#2231)
* RateLimiter fix

* RateLimiter fix
2017-07-08 13:16:40 +02:00
slavisa-baeldung edda728d5e Merge pull request #2230 from eugenp/BAEL-965-removing-lambda
BAEL-965 - reverting to anonymous classes
2017-07-08 09:12:08 +02:00
Grzegorz Piwowarek c598b937f0 RateLimiter fix (#2229) 2017-07-08 08:43:14 +02:00
slavisa-baeldung 94ee35bed7 BAEL-965 - reverting to anonymous classes 2017-07-08 07:36:06 +01:00
Ahmed Tawila 647455b029 BAEL-994 - TemporalAdjuster in Java (#2227)
* 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
2017-07-08 07:59:59 +02:00
Grzegorz Piwowarek fdd26c7c52 Refactor awaitility (#2226)
* Awaitility refactor

* Refactor
2017-07-08 07:58:42 +02:00
Tomasz Lelek 98633dce67 Beal 1006 rate limmiter (#2224)
* BAEL-1006 rate limiter tests

* BAEL-1006 simpler example
2017-07-08 06:51:41 +02:00
Doha2012 50054a218b fix configuration (#2225)
* minor logging fix

* spring security sso

* use basic auth

* use form login

* cleanup

* cleanup

* final cleanup

* second client app for sso

* spring boot bootstrap

* add logic

* cleanup

* add simple controller

* add thymeleaf and security

* minor fix

* minor fix

* add more boot properties

* fix live test

* fix live test

* minor fix

* semaphores

* fix configuration
2017-07-07 21:08:04 -04:00
iaforek a6ba135f77 BAEL-579 Spring Cloud Bus (#2218)
* 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.
2017-07-07 19:01:53 +02:00
Jesus Boadas 9e641358ff deleted OpenNLP (#2223) 2017-07-07 19:01:16 +02:00
hariprasad108 7bfceb34c7 URI, URL BAEL-864. Article renamed and extended URI part. (#2217) 2017-07-07 12:27:45 +02:00
Walter Gómez 2863d0c3e0 Feature/kotlin map examples (#2220)
* 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

* Add Kotlin test to convert list to map

* Add additional associate methods on test for ListToMap file
2017-07-07 09:03:37 +02:00
fromalexwithluv 5a184d4e0d BAEL-871 What is serialVersionUID? (#2203)
* Bean Injection in Spring – ashrafmsokkar@gmail.com

* Bean Injection in Spring – ashrafmsokkar@gmail.com

* BAEL-871: What is serialVersionUID?

* BAEL-871: What is serialVersionUID?

* BAEL-871 What is serialVersionUID?

* BAEL-871 Implemented feedback
2017-07-07 08:45:03 +02:00