Commit Graph

3072 Commits

Author SHA1 Message Date
pared 3613428993 random element from list guide (#690)
* random element from list guide

* refactor

* with removing

* refactor + thread optimized index generation

* refactor

* final review refactor
2016-10-04 18:35:37 +02:00
Grzegorz Piwowarek 2ef8bc2a68 Remove souts 2016-10-04 18:12:08 +02:00
Grzegorz Piwowarek f12e6ee2d0 Refactor FileNotFoundException examples 2016-10-04 18:11:37 +02:00
Grzegorz Piwowarek 0dc8119722 Refactor Play example 2016-10-04 17:54:59 +02:00
Grzegorz Piwowarek 1ecb726d7e Refactor StudentStore 2016-10-04 17:29:49 +02:00
Grzegorz Piwowarek 4a19a6ba88 Simplify StudentStore 2016-10-04 17:24:46 +02:00
Grzegorz Piwowarek 8a3c918b94 Merge branch 'master' of git://github.com/jgarciaheredero/tutorials into jgarciaheredero-master
# Conflicts:
#	spring-mvc-java/pom.xml
2016-10-04 17:02:21 +02:00
Juan García Heredero 08c31ec84b Update pom.xml 2016-10-04 15:16:50 +02:00
Juan García Heredero 87314b566e Removed new line at end of file 2016-10-04 15:11:31 +02:00
Juan García Heredero 3be90ef764 Update pom.xml 2016-10-04 15:10:18 +02:00
Álvaro Fernández González ee3db42880 Add more examples (#712)
* Add new module for mocks comparison.

* Add sources for testing.

* Changes on testCase.

* Enter some tests for mockito.

* More tests for Mockito.

* Even more tests.

* Add the rest of the mocking libraries.

* Javadoc on test.

* Test bare bones for EasyMock.

* Fist kind of test and setup.

* Add tests using EasyMock with a change on LoginService.

* Create LoginControllerTest.java

* Test setup

* [JMockit] No method called test.

* [JMockit] Two methods called test.

* [JMockit] One method called test.

* [JMockit] Exception mock test

* [JMockit] Mocked object to pass around test.

* [JMockit] Custom matcher test.

* [JMockit] Partial mocking test.

* [JMockit] Fix with IDE.

* Not stubs. Mocks. MOCKS!!!

* Remove unnecesary import.

* Use correct encoding. Was having problems with buildings.

* Remove failing module.

* Create new module mocks and move mock-comparisons there.

* Add jmockit module.

* Add model class.

* Add collaborator class.

* Add performer class.

* Add performer test.

* Fix

* Add interface for tests.

* Test for any.

* Test for with.

* Test for null.

* Test for times.

* Test for arg that.

* Test for result and returns.

* Test for delegate.

* Add verifications to any tests.

* Add verifications to with test.

* Add verification examples to methods using null.

* Add verifications to methods using times.

* Formatting.

* Compress tests and fix one test.

* Adding new article to readme.

* [BAEL-178] Add collaborator for advanced article.

* [BAEL-178] Add link to readme.

* [BAEL-178] Add test for mockUp.

* [BAEL-178] Add test for invoke method.

* [BAEL-178] Add constructors and tests for mockup for constructors.

* [BAEL-178] Add private fields and more test for deencapsulation.

* [BAEL-178] Add inner class and test for instantiating inner classes.

* [BAEL-178] Multimocks.

* [BAEL-178] Add test for expectation reusing.

* [BAEL-178] Move test class to tests folders.

* Add postgresql dependency.

* Add test and config with properties.

* [BAEL-114] Add new project for JPA with JNDI.

* [BAEL-114] Config without xml.

* [BAEL-114] Bring part of Foo, FooServie and FooDao.

* [BAEL-114] Show all foos.

* [BAEL-114] Readme.

* [BAEL-114] Undo changes on main jpa project.

* [BAEL-114] Remove unnecesary dependencies.

* [BAEL-114] Add tomcat config.

* [BAEL-114] Fixes.

* Add tests for Optional streams.

* Add Java 9 version of the test.

* Rename and move to new core-java-9 module.

* Move contents from spring-jpa-jndi to spring-jpa and make necessary changes.

* Do not use try-catch on configuration.

* Add example for FileNotFoundException mini-article.

* Add more examples.

* Change examples to tests.
2016-10-04 07:53:52 +02:00
Egima profile 455c71ae71 3 major changes (#716)
* made changes to java reflection

* removed redundant method makeSound in Animal abstract class

* added project for play-framework article

* added project for regex

* changed regex project from own model to core-java

* added project for routing in play

* made changes to regex project

* refactored code for REST API with Play project
2016-10-03 21:06:01 +02:00
Eugen 222c4b6a98 Merge pull request #713 from KevinGilmore/master
Consolidate Spring Data Couchbase and Couchbase SDK modules
2016-10-03 21:46:21 +03:00
Kevin Gilmore 73dd8fa71c Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	pom.xml
2016-10-01 21:29:43 -05:00
Kevin Gilmore 78998f1d20 BAEL-202: Consolidated Couchbase SDK and Spring Data Couchbase from five modules down to two 2016-10-01 21:25:26 -05:00
maibin 72b2eacb4f Thymeleaf inlining and natural processing (#711)
* Expression-Based Access Control

PermitAll, hasRole, hasAnyRole etc.
I modified classes regards to Security

* Added test cases for Spring Security Expressions

* Handler Interceptor - logging example

* Test for logger interceptor

* Removed conflicted part

* UserInterceptor (adding user information to model)

* Spring Handler Interceptor - session timers

* Spring Security CSRF attack protection with Thymeleaf

* Fix and();

* Logger update

* Changed config for Thymeleaf

* Thymeleaf Natural Processing and Inlining
2016-10-01 10:59:54 +02:00
Álvaro Fernández González c5fd46e5f2 Code for FileNotFoundException article. (#710)
* Add new module for mocks comparison.

* Add sources for testing.

* Changes on testCase.

* Enter some tests for mockito.

* More tests for Mockito.

* Even more tests.

* Add the rest of the mocking libraries.

* Javadoc on test.

* Test bare bones for EasyMock.

* Fist kind of test and setup.

* Add tests using EasyMock with a change on LoginService.

* Create LoginControllerTest.java

* Test setup

* [JMockit] No method called test.

* [JMockit] Two methods called test.

* [JMockit] One method called test.

* [JMockit] Exception mock test

* [JMockit] Mocked object to pass around test.

* [JMockit] Custom matcher test.

* [JMockit] Partial mocking test.

* [JMockit] Fix with IDE.

* Not stubs. Mocks. MOCKS!!!

* Remove unnecesary import.

* Use correct encoding. Was having problems with buildings.

* Remove failing module.

* Create new module mocks and move mock-comparisons there.

* Add jmockit module.

* Add model class.

* Add collaborator class.

* Add performer class.

* Add performer test.

* Fix

* Add interface for tests.

* Test for any.

* Test for with.

* Test for null.

* Test for times.

* Test for arg that.

* Test for result and returns.

* Test for delegate.

* Add verifications to any tests.

* Add verifications to with test.

* Add verification examples to methods using null.

* Add verifications to methods using times.

* Formatting.

* Compress tests and fix one test.

* Adding new article to readme.

* [BAEL-178] Add collaborator for advanced article.

* [BAEL-178] Add link to readme.

* [BAEL-178] Add test for mockUp.

* [BAEL-178] Add test for invoke method.

* [BAEL-178] Add constructors and tests for mockup for constructors.

* [BAEL-178] Add private fields and more test for deencapsulation.

* [BAEL-178] Add inner class and test for instantiating inner classes.

* [BAEL-178] Multimocks.

* [BAEL-178] Add test for expectation reusing.

* [BAEL-178] Move test class to tests folders.

* Add postgresql dependency.

* Add test and config with properties.

* [BAEL-114] Add new project for JPA with JNDI.

* [BAEL-114] Config without xml.

* [BAEL-114] Bring part of Foo, FooServie and FooDao.

* [BAEL-114] Show all foos.

* [BAEL-114] Readme.

* [BAEL-114] Undo changes on main jpa project.

* [BAEL-114] Remove unnecesary dependencies.

* [BAEL-114] Add tomcat config.

* [BAEL-114] Fixes.

* Add tests for Optional streams.

* Add Java 9 version of the test.

* Rename and move to new core-java-9 module.

* Move contents from spring-jpa-jndi to spring-jpa and make necessary changes.

* Do not use try-catch on configuration.

* Add example for FileNotFoundException mini-article.
2016-10-01 10:47:34 +02:00
Grzegorz Piwowarek 62fb8b257b Refactor MyUserDetailsService 2016-10-01 09:58:51 +02:00
slavisa-baeldung c8ff59ffe2 NOJIRA - fixing build 2016-09-30 21:19:27 +02:00
Prashant Khanal df25f34b06 Merge pull request #709 from lor6/custom-userservice-new-project
update loaduserbyusername
2016-09-30 10:54:23 -07:00
Loredana Crusoveanu a7340609b2 update loaduserbyusername 2016-09-30 12:01:23 -04:00
Slavisa Baeldung 1b57da559b BAEL-305 - flatten the module structure for patterns section 2016-09-30 16:10:03 +02:00
Slavisa Baeldung c250fa59f1 Merge remote-tracking branch 'origin/master' 2016-09-30 14:43:29 +02:00
Prashant Khanal 115220b481 Merge pull request #687 from lor6/custom-userservice-new-project
Custom userservice new project
2016-09-29 12:47:03 -07:00
Loredana Crusoveanu d12d4e6ca5 update dependency 2016-09-29 13:52:11 -04:00
slavisa-baeldung 2688cb9c10 Merge remote-tracking branch 'origin/master' 2016-09-29 16:22:00 +02:00
slavisa-baeldung e021ca1be6 BAEL-255 - read file from Java 2016-09-29 16:17:07 +02:00
Loredana Crusoveanu 769956a808 added pom.xml 2016-09-29 09:35:12 -04:00
Eugen 50990c622f Merge pull request #674 from joshiparthin/parth-md5
Parth md5
2016-09-29 14:20:32 +03:00
maverick 758c5f7319 Removed files not useful in this branch for MD5 article. 2016-09-29 15:06:45 +05:30
maverick e0d9cd41a2 Changes in pom.xml as suggested to remove formating changes in pom.xml
commit.
2016-09-29 14:57:30 +05:30
Eugen 7d5fd81c26 Merge pull request #673 from kirangonella/master
Spring integration with Tiles
2016-09-29 08:37:50 +03:00
slavisa-baeldung 25ea6ef7ee BAEL-314 - renaming module 2016-09-29 00:12:05 +02:00
slavisa-baeldung b7385424a9 Merge remote-tracking branch 'origin/master' 2016-09-28 23:45:27 +02:00
Egima profile f3b8bb0f14 Moved regex from own module to core-java (#707)
* made changes to java reflection

* removed redundant method makeSound in Animal abstract class

* added project for play-framework article

* added project for regex

* changed regex project from own model to core-java
2016-09-28 23:43:59 +02:00
slavisa-baeldung 4a0233f49a BAEL-314 - removing part 1 module 2016-09-28 23:40:29 +02:00
Kiran d98f232033 Updated indentation 2016-09-28 16:57:46 -04:00
Kiran 0836270add Updated indentation 2016-09-28 16:55:18 -04:00
Kiran 6b42940de8 Updated indentation 2016-09-28 16:51:55 -04:00
Kiran d9ae777b2e Updated indentation 2016-09-28 16:50:56 -04:00
Kiran 7f58390d53 Updated indentation 2016-09-28 16:50:14 -04:00
Kiran f6e5e17c9a Updated indentation 2016-09-28 16:49:17 -04:00
Kiran 651c407787 Added 'spring-mvc-tiles' module to parent pom.xml 2016-09-28 16:47:13 -04:00
Grzegorz Piwowarek e1ffd14c0d Refactor JavaFolderSizeTest 2016-09-28 19:46:18 +02:00
Loredana Crusoveanu e5302d4e75 add failed authentication test 2016-09-28 10:35:21 -04:00
Slavisa Baeldung a9dff7f259 Merge remote-tracking branch 'origin/master' 2016-09-28 16:29:28 +02:00
Sergey Petunin ea85fa99ee Added samples for annotation processing article. (#705)
* Added annotation processing examples. Fixed core-java8 build on OS X

* Moved projects to separate submodule
2016-09-28 16:24:03 +02:00
Grzegorz Piwowarek d1bd04d2dc Add example 2016-09-28 16:22:44 +02:00
Naoshadul Islam 4db012d57b Update README.md 2016-09-28 09:51:08 +06:00
Loredana Crusoveanu 9226fdc110 remove unnecessary code 2016-09-27 20:48:05 -04:00