Commit Graph

5932 Commits

Author SHA1 Message Date
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
cleversonzanon f3c99a7fcf BAEL-974 - Cleverson Santos | cleverson.ssantos1008@gmail.com (#2213)
* Different Types of Bean Injection in Spring code

* Dataclasses in Kotlin

* Revert "Different Types of Bean Injection in Spring code"

This reverts commit 4b747726b93a9f6bf76d6518792fc77e0d5c2fc9.
2017-07-07 08:37:08 +02:00
slavisa-baeldung 67261595dd Merge pull request #2221 from eugenp/cleaning-unnecessary-modules
BAEL-965 - removing unncessary modules
2017-07-07 08:35:36 +02:00
slavisa-baeldung 896c71906b BAEL-965 - removing unncessary modules 2017-07-07 07:08:00 +01:00
Anton 20b9f1bfa9 BAEL-861 Introduction to Awaitlity (#2150)
* 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
2017-07-06 22:12:41 -05:00
Grzegorz Piwowarek b9b230f83e Build optimization 6.07 (#2219)
* refactor testng

* refactor testng

* Remove test suites from surefire

* Refactor

* Refactor
2017-07-06 23:22:41 +02:00
Grzegorz Piwowarek c99bb7fced Minimax refactor (#2212) 2017-07-06 12:01:49 +02:00
Walter Gómez d6d5386613 Feature/kotlin list to map (#2216)
* 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
2017-07-06 09:27:32 +02:00
KevinGilmore a57103de78 BAEL-509: Uses @GetMapping (#2215)
* 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
2017-07-05 22:26:04 -05:00
Seun Matt 8ea31542ed Code Snippet for BidiMap BAEL-963 (#2204)
* 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
2017-07-06 01:17:17 +02:00
Grzegorz Piwowarek 178af4e049 Money fix (#2210)
* Fix problems with money

* Refactor
2017-07-05 17:20:04 +02:00
slavisa-baeldung 026c9717ce Merge pull request #2211 from eugenp/bael-951-responsive-services
bael-951-responsive-services
2017-07-05 17:05:36 +02:00
slavisa-baeldung e495a51b6d BAEL-951 adding @Repository stereotype 2017-07-05 15:25:27 +01:00
Ahamed Mustafa fb4ba02ecf BAEL-951 Self-Healing Services with Spring Cloud - C3 2017-07-05 15:22:38 +01:00
Ahamed Mustafa 0021df4637 BAEL-951 Self-Healing Services with Spring Cloud - C2 2017-07-05 15:22:26 +01:00
Ahamed Mustafa c03ca0e998 BAEL-951 Self-Healing Services with Spring Cloud - C1 2017-07-05 15:22:13 +01:00
slavisa-baeldung 8746b525d5 Merge pull request #2208 from hmantri05/master
Moving Address into Customer
2017-07-05 15:41:49 +02:00
slavisa-baeldung 79d9649c41 Merge pull request #2209 from eugenp/half-wit4u-master
BAEL-804
2017-07-05 14:57:04 +02:00
slavisa-baeldung 59216419e5 BAEL-804 - fixing wrong pom.xml 2017-07-05 13:15:46 +01:00
slavisa-baeldung da56de8794 Merge branch 'master' into half-wit4u-master 2017-07-05 12:56:07 +01:00
Himanshu Mantri 8a8e650c8f Moving Address into Customer 2017-07-05 16:57:11 +05:30
slavisa-baeldung 19439943b7 BAEL-804 - minor code refactors 2017-07-05 12:25:40 +01:00
Parth Karia 2f83bec231 BAEL-1004 (#2206)
* Dependency Injection examples

Dependency Injection examples for evaluation article

* Junit test cases added for dependency injection

Junit test cases added for dependency injection

* ClassNotFoundException vs NoClassDefFoundError

Example to reproduce ClassNotFoundException & NoClassDefFoundError

* JUnit test cases for ClassNotFoundException & NoClassDefFoundError

test cases to reproduce ClassNotFoundException & NoClassDefFoundError

* Deleting exampls for evaluation article

* BAEL-831 Examples for ClassNotFoundException & NoClassDefFoundError

* BAEL-831 Removed wrapper class

* Removing evaluation article example

* BAEL-875 - Hill Climbing Algorithm

BAEL-875 - Implementation for Hill Climbing Algorithm

* BAEL-875 removed unused imports

* BAEL-984 Monte Carlo tree search

BAEL-984 Implementation for tic tac toe using Monte Carlo tree search

* BAEL-984	 test cases for MCTS

BAEL-984 test cases for Monte Carlo tree search implementation

* BAEL-1004

Implementation of Minimax algorithm
2017-07-05 09:54:46 +02:00
mokhan 75c9345efa Merge branch 'master' of https://github.com/half-wit4u/tutorials.git
Conflicts:
	spring-drools/src/main/java/com/baeldung/spring/drools/app/ApplicationRunner.java
	spring-drools/src/main/java/com/baeldung/spring/drools/model/Fare.java
	spring-drools/src/test/java/com/baeldung/spring/drools/service/TaxiFareCalculatorServiceIntegrationTest.java
2017-07-04 20:57:13 +05:30
Mohammed Sarfaraz Khan 5d7e0bc531 Review Comment Incorporation 2017-07-04 20:52:56 +05:30
Jose Carvajal 76e2c35457 BAEL-902: Migrating from JUnit 4 to JUnit5 (#2202) 2017-07-04 14:34:09 +02:00
Mohammed Sarfaraz Khan a0d82c25e3 Review Comment Incorporation 2017-07-04 11:07:03 +05:30
slavisa-baeldung 172c6c95b0 Merge pull request #2201 from eugenp/bael-965-collection-util
bael-965-collection-util
2017-07-04 07:16:23 +02:00
slavisa-baeldung 27b119a3f5 Merge remote-tracking branch 'origin/master' into bael-965-collection-util 2017-07-04 05:43:06 +01:00
slavisa-baeldung 7a77016b3c BAEL-965 - adding changes as per Grzegorz comments 2017-07-04 05:38:13 +01:00