Commit Graph

5500 Commits

Author SHA1 Message Date
Syed Ali Raza 5b785b3ad2 Bael 924 Updated code based on review from editor (#2020)
* BAEL-924: How to get all LocalDates between two dates?

* BAEL-924: Updated code based on review from editor

* BAEL-924: Updated code based on review from editor
2017-06-08 22:06:04 +02:00
Grzegorz Piwowarek 41c35cea8b Hill-Climbing refactor (#2014)
* Rename test class

* HC Refactor

* refactor
2017-06-08 17:04:30 +02:00
Syed Ali Raza e59ecbc864 BAEL-924: How to get all LocalDates between two dates? (#2012) 2017-06-08 07:47:10 +02:00
PRITAM BANERJEE 4453358bfb BAEL-725: How to iterate over a map? (#1959)
* BAEL-725: How to iterate over a map?

* Changed the name of the tests in MapIterationTest.java
2017-06-07 22:22:28 +02:00
Abhinab Kanrar 0529906f47 moving jmh into libraries module (#1996)
* moving jmh into libraries module

* refactoring jmh

* Update pom.xml
2017-06-07 15:40:23 +02:00
Anand kumar 61135ac4da Change annotation parameters during runtime (#2006) 2017-06-07 15:24:47 +02:00
slavisa-baeldung cdc9f8f9a1 Merge pull request #2008 from eugenp/BAEL-839
BAEL-869 - Java 8 example of listing null properties
2017-06-07 10:52:13 +02:00
slavisa-baeldung 58a9ea0939 BAEL-869 - Java 8 example of listing null properties 2017-06-07 09:13:42 +01:00
Tian Baoqiang 0053a80758 set serenity dependency version to 1.4.0 instead of 1.4.1-rc (#2005) 2017-06-07 07:55:16 +02:00
Anton 4732baccab BAEL-768 Introduction to Netty (#1933)
* 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
2017-06-07 07:52:23 +02:00
Grzegorz Piwowarek 4c88eebd55 Rename test class (#2003) 2017-06-06 22:12:50 +02:00
Walter Gómez 3338f51cae Feature/selenium page object pattern (#1993)
* 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

* Selenium Page Object Pattern
Add Chromedrivers
Include hamcrest dependency for matchers on tests
Add PageObjects for Start Here and Home Page
Create config class for selenium

* Update Readme file
Add About page and model for additional example
Create new test for new impl
2017-06-06 19:35:31 +02:00
Tian Baoqiang a48ded75c0 #BAEL-914 SerenityBDD and Screenplay (#2001) 2017-06-06 12:32:25 +02:00
KevinGilmore 92b67adc12 BAEL-936: Update README (#2000)
* BAEL-886: Updated README

* BAEL-917 Testing with Google Truth

Updated README

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

* BAEL-936: Update README
2017-06-05 22:29:57 -05:00
Parth Karia 137e182f55 BAEL-875 Example of Hill Climbing algorithm (#1968)
* 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-831 removed wrapper class

* BAEL-875 - Hill Climbing Algorithm

BAEL-875 - Implementation for Hill Climbing Algorithm

* BAEL-875 Modified algorithm with stream api
2017-06-05 20:55:47 +02:00
Nikhil Khatwani 97c1291359 BAEL-952 Removed mutable state by having separate files for tests (#1994) 2017-06-05 18:02:27 +02:00
Grzegorz Piwowarek ecc91a6108 Fix kotlin tests (#1995) 2017-06-05 12:09:37 +02:00
KevinGilmore ef7264c53b BAEL-936 akka-streams module added to parent pom (#1991)
* BAEL-886: Updated README

* BAEL-917 Testing with Google Truth

Updated README

* BAEL-936: adding akka-streams module to parent
2017-06-04 15:33:48 -05:00
Tomasz Lelek 71ddfeecb7 BAEL-936 code for akka_streams article (#1939)
* BAEL-936 code for akka_streams article

* rename
2017-06-04 14:50:00 -05:00
hariprasad108 c17d19ff21 Difference between url and uri bael 864 hariprasad (#1987)
* Commit URUURLJNDIFS added.

* URI URL REST commit.

* Revert "URI URL REST commit."

This reverts commit d9e26399be1f3a26d871cd0600036e3a4558cde2.

* Difference URI URL REST BAEL-864.

* Commit Difference URI URL REST #864, small changes.

* Difference URI URL REST project has been moved to spring-rest.

* BAEL-864. Deleted unused project and did one small change.
2017-06-04 21:39:21 +02:00
Grzegorz Piwowarek 29e3437545 Nbosecker merge (#1989)
* Solr w Apache SolrJ

* Solr w Apache SolrJ

* updated test names and moved add to @before method

* create apache-solrj module, moved code from spring-data-solr

* More examples for indexing,delete,and query for solrj

* More examples for indexing,delete,and query for solrj

* Jackson Map Serialize/Deserialize

* Jackson Map Serialize/Deserialize

* Jackson version update

* keydeserializer code added

* keydeserializer code added

* remove explicit types from map instantion

* one objectmapper per class

* refactor to spring-rest-simple module

* Fix spring-rest-simple
2017-06-04 10:07:05 +02:00
Wim Deblauwe 4b2e7a5e85 BAEL-885 - How to merge two Java streams? (#1986)
Use the java.util.stream.Stream interface as much as possible
2017-06-04 09:54:38 +02:00
Grzegorz Piwowarek a5d5460a9f Stream API: last Stream element example refactor (#1943)
* Refactor

* Delete ApplicationContextTestBeanInjectionTypes.java

* Delete BeanInjectionJavaConfigIntegrationTest.java

* Delete BeanInjectionXMLConfigIntegrationTest.java
2017-06-03 20:49:56 +02:00
Grzegorz Piwowarek b840f15629 Merge rest-digest (#1985)
* Merge modules

* Merge rest-digest
2017-06-03 18:49:32 +02:00
slavisa-baeldung dbd0104863 Merge pull request #1984 from eugenp/bael-755
bael-755
2017-06-03 18:15:35 +02:00
Grzegorz Piwowarek 8fcb5494a3 Merge modules (#1983) 2017-06-03 17:52:10 +02:00
slavisa-baeldung d1715342e4 BAEL-755 - removing spring-boot-kotlin module 2017-06-03 16:28:05 +01:00
slavisa-baeldung 47a69beb1a Merge remote-tracking branch 'origin/master' 2017-06-03 16:08:19 +01:00
slavisa-baeldung 494a9c1af1 Merge pull request #1981 from eugenp/spring-boot-kotlin
BAEL-755 - moving kotlin code to spring-5-mvc
2017-06-03 14:35:17 +01:00
slavisa-baeldung ec435b1633 BAEL-755 - moving kotlin code to spring-5-mvc 2017-06-03 14:11:13 +01:00
Grzegorz Piwowarek beef36b912 Update pom.xml (#1980) 2017-06-03 11:23:58 +02:00
Grzegorz Piwowarek 73971c4d01 spring-boot-kotlin refactor (#1979) 2017-06-03 10:22:33 +02:00
Parth Joshi 5b0302524f Added DAO for Supplier (#1950)
* First commit for Hibernate 5 Multitenancy tutorial

* Changes to fix the code.

* Added hibernate begin transaction code.

* Changes to solve the multitenancy issue.

* Changes to integrate h2

* Changing configs to solve the error

* Changes to solve h2 error...

* Changes to fix H2 error.

* Cleaned POM.xml and changed entity name

* Changes table name to supplier

* Removed MySql Dep from pom.xml.

* Changes as per comment in the PR...

* Removed try-catch from test functions.

* Removing the hibernate xml config.

* Changed the formatting as per the formatter.

* Clean up after merge.

* # WARNING: head commit changed in the meantime

Merge remote-tracking branch 'upstream/master' into
hibernate5-multitenancy

Conflicts:
	hibernate5/pom.xml
	pom.xml

* Introduced Supplier DAO

* shifting hibernate properties to src/test/resouces

* removed the old test.

* Filled up the stubs in the DAO.
2017-06-02 22:18:15 -05:00
iaforek 25de280068 BAEL-821 Added more test and updated round methods. (#1973)
* 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.
2017-06-03 00:04:22 +02:00
Tomasz Lelek 49ce027993 Bael 679 reactive streams (#1978)
* BAEL-679 code for reactive streams

* BAEL-679 typo

* BAEL-679 awaitility
2017-06-02 21:42:30 +02:00
Andrea Bergonzo af40bd48f0 Fix UUID article link (#1977)
Fix the link now that the article is up.
2017-06-02 19:53:07 +02:00
Tomasz Lelek 9184693a2b BAEL-679 code for reactive streams (#1970)
* BAEL-679 code for reactive streams

* BAEL-679 typo
2017-06-02 18:48:17 +02:00
slavisa-baeldung d614fc2fa7 Merge pull request #1972 from eugenp/spring-kotlin-refactor
Kotlin refactor
2017-06-02 10:46:46 +02:00
Tomasz Sobala b7b1693df5 [BAEL-872] map and flatMap difference (#1892)
* injecting beans

* XML-based configuration replaced with Java Config.

* [BAEL-431] Exploring TestRestTemplate.

* Revert of evaluation task "XML-based configuration replaced with Java Config."

This reverts commit 66471cf0574c85f8ff514ec4caf5ba44ebba1a74.

* Revert of evaluation task "injecting beans"

This reverts commit d2ac20185e636245bc0ae0b4ccb952965de88e28.

* [BAEL-431] fix to the tests in TestRestTemplateBasicLiveTest.

* [BAEL-431] added more meaningful user and password for auth.

* [BAEL-820] examples of wait() and sleep() methods.

* [BAEL-820] wait() and sleep() examples.

* [BAEL-829] number of occurences of a char in a String.

* [BAEL-829] printlns changed to assertions.

* [BAEL-829] improved names of the tests.

* [BAEL-872] map and flatMap difference.

* removed duplicated countingChars class.

* [BAEL-872] changed Object into List.

* [BAEL-872] improved code for map() and flatMap() article.
2017-06-02 08:06:12 +02:00
lor6 d3597a84c7 Bael 911 (#1969)
* log4j2 examples

* log4j2 examples
2017-06-01 15:33:52 -05:00
Grzegorz Piwowarek 19d084e728 Kotlin refactor 2017-06-01 20:28:25 +02:00
Doha2012 3cf4dc5a78 second client fo sso (#1971)
* minor logging fix

* spring security sso

* use basic auth

* use form login

* cleanup

* cleanup

* final cleanup

* second client app for sso
2017-06-01 13:14:41 -05:00
Doha2012 8bb276cabd sso using oauth (#1955)
* minor logging fix

* spring security sso

* use basic auth

* use form login

* cleanup

* cleanup

* final cleanup
2017-06-01 08:10:59 -05:00
slavisa-baeldung 639bc980a8 Merge pull request #1967 from tschiman/master
BAEL-755 Updating code with suggested changes
2017-06-01 09:33:25 +02:00
iaforek 8edc3bfbaa BAEL-821 - How to round a number to n decimal places in Java (#1953)
* 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
2017-06-01 01:24:21 +02:00
tschiman 50cf9a5070 BAEL-755 changing the name of the POKO to a DTO and removing the use of @Autowired in the constructor as it is not needed. 2017-05-31 16:33:27 -06:00
tschiman 73b3c09dd0 Merge remote-tracking branch 'upstream/master' 2017-05-31 16:31:17 -06:00
tschiman ea302a5f33 BAEL-755 changing the name of the POKO to a DTO and removing the use of @Autowired in the constructor as it is not needed. 2017-05-31 16:31:02 -06:00
Tomasz Lelek 0b108e387d BAEL-949 java9 optional test (#1960) 2017-05-31 20:21:01 +02:00
Danil Kornishev 98e768c863 Structurizr (#1927)
* Structurizr

* Structurizr
2017-05-31 19:39:35 +02:00