Commit Graph

5490 Commits

Author SHA1 Message Date
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
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