Commit Graph

5626 Commits

Author SHA1 Message Date
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
KevinGilmore fb3c480fa4 BAEL-917: README (#1908)
* BAEL-886: Updated README

* BAEL-917 Testing with Google Truth

Updated README
2017-05-30 21:58:07 +02:00
yetanotherallisonf 33653d82c2 Update README.md (#1907) 2017-05-30 21:57:41 +02:00
Alex Theedom 3bf80a1f2b Merge pull request #1880 from pritambanerjee999/master
EJB Session Beans
2017-05-30 10:26:41 +01:00
Pritam Banerjee ec041202ae Fixed EJB 2017-05-30 01:53:54 -07:00
adasioo 96004deac1 BAEL-923 init class not managed by Spring with Spring Bean (#1906)
* adam.zawada@gmail.com - Different Types of Bean Injection in Spring

* adam.zawada@gmail.com - Different Types of Bean Injection in Spring
switch to Java based configuration

* BAEL-895 calculate the period/duration between two dates in Java 8

* clean old PR

* BAEL-923 How to inject a value from properties to a class not managed by Spring?

* clean PR

* BAEL-923 init class not managed by Spring with Spring Bean

* clean previous PR

* added mockito spring boot for test dependency
2017-05-29 22:21:03 +02:00
slavisa-baeldung 689a72ddf2 Merge pull request #1947 from buddhini81/master
Changes done for BAEL-839 - Remove EscapingChars class and changes done in EscapingCharsTest
2017-05-29 20:33:05 +02:00
asif-anwar 8f3039b292 spring-5-mvc (#1952) 2017-05-29 11:58:25 -05:00
buddhini81 4eeaf5b790 BAEL-839 - Add the missing imports 2017-05-29 18:30:53 +05:30
buddhini81 4586d471a1 BAEL-839 changes in all test methods 2017-05-29 17:55:10 +05:30
buddhini81 3e28582bac BAEL-839 Delete as no longer needed 2017-05-29 17:47:39 +05:30
asif-anwar fe841fe53b spring-5-mvc (#1946)
* Spring5 MVC Project

* Spring5 MVC Project
2017-05-29 07:13:41 -05:00
slavisa-baeldung 404ea81ac8 Merge pull request #1940 from tschiman/master
BAEL-755 Spring Boot Kotlin
2017-05-29 13:05:35 +02:00
Wim Deblauwe b135086d07 BAEL-885 - How to merge two Java streams? (#1884)
Added examples using:
* JDK8
* StreamEx library
* JOOl library
2017-05-29 10:30:25 +02:00
Chandravadan S 994ac4ddbf Dining Philosophers Problem (#1944) 2017-05-29 08:34:13 +02:00
Parth Joshi efd2c2bd34 Hibernate5 multitenancy changing to hibernate.properties config file. (#1881)
* 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
2017-05-28 11:43:31 -05:00
Syed Ali Raza 8c8c01ebbb BAEL-833: How to get last element of a Stream in Java? (#1930)
* Different Types of Bean Injection in Spring

* Fixed code formatting and test names for "Different Types of Bean Injection in Spring"

* BAEL-833: How to get last element of a Stream in Java?

* BAEL-833: Updated based on review from editor
2017-05-28 12:07:15 +02:00
Anand kumar 99c7a91587 guide to uuid generation in java (#1879)
* guide to uuid generation in java

* updated readme.md
2017-05-28 12:06:56 +02:00
Grzegorz Piwowarek 7c6536685c Extract a Random instance to a variable (#1942) 2017-05-27 20:13:30 +02:00
Yasin 0ce35bb11e BAEL-900 Input generator simplified (#1941)
* BAEL-900 Guide to dynamic tests in Junit 5

* BAEL-900 Guide to Dynamic Tests in Junit 5

* Revert "BAEL-900 Guide to Dynamic Tests in Junit 5"

This reverts commit d0d45c9067223347da20d0f2c80de391fcade38e.

* BAEL-900 Guide to Dynamic Tests in Junit 5

* BAEL-900 Guide to dynamic tests in Junit 5

* removed unnecessary annotation

* BAEL-900 unused imports removed

* BAEL-900 simplified input generator code
2017-05-27 15:48:20 +02:00
tschiman 7eb0eafe94 Merge remote-tracking branch 'upstream/master' 2017-05-26 18:05:16 -06:00
tschiman 7bbfde57e1 BAEL-755 Kotlin and Spring Boot 2.x tutorial 2017-05-26 18:04:48 -06:00
Yasin b9b642c6a9 BAEL-900 Guide to dynamic tests in Junit 5 (#1932)
* BAEL-900 Guide to dynamic tests in Junit 5

* BAEL-900 Guide to Dynamic Tests in Junit 5

* Revert "BAEL-900 Guide to Dynamic Tests in Junit 5"

This reverts commit d0d45c9067223347da20d0f2c80de391fcade38e.

* BAEL-900 Guide to Dynamic Tests in Junit 5

* BAEL-900 Guide to dynamic tests in Junit 5

* removed unnecessary annotation

* BAEL-900 unused imports removed
2017-05-26 22:17:42 +02:00
amilabanuka 49724d1691 BAEL-919: Introduction to JUnitParams (#1938)
* BAEL-919
Added the JUnitParams intorduction classes

* BAEL-919
Added the JUnitParams intorduction classes

* Reverting the adding to libraries folder
2017-05-26 17:47:50 +02:00
Sunil Mogadati 8e709d587d Update README.MD to include Multiple Authentication Providers (#1936) 2017-05-26 07:26:55 -06:00