Commit Graph

2877 Commits

Author SHA1 Message Date
maibin 113afd40d4 Advanced Handler Interceptors (#672)
* 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
2016-09-07 08:14:26 +02:00
Zeger Hendrikse 9c1b87d3e5 src/main/java/com/baeldung/cassandra/java/client/CassandraClient.java 2016-09-06 21:57:58 +02:00
Zeger Hendrikse be1bea658e Merge branch 'annasp-master' 2016-09-06 21:46:05 +02:00
Zeger Hendrikse 1c4e39b075 Merge with master 2016-09-06 21:45:22 +02:00
Zeger Hendrikse 1cbb8341cf Merge with master 2016-09-06 21:41:47 +02:00
DOHA b62b5a37ab add possession relationship 2016-09-05 19:48:10 +02:00
Zeger Hendrikse 230a3054ad Merge pull request #652 from sanketmeghani/master
Database migration using flyway
2016-09-05 18:48:11 +02:00
Zeger Hendrikse 130595f8cc Minor modifications to make code compliant 2016-09-05 17:50:18 +02:00
Egima profile 15dd97b485 removed redundant makeSound sound method of abstract class Animal (#668)
* made changes to java reflection

* removed redundant method makeSound in Animal abstract class
2016-09-05 12:12:30 +02:00
Egima profile fc1bb6b7b1 made changes to java reflection (#667) 2016-09-05 09:20:45 +02:00
slavisa-baeldung 6913a968e5 BAEL-305 - adding plantuml 2016-09-05 06:38:28 +02:00
slavisa-baeldung 3d7ccfd56d BAEL-305 - front controller pattern source 2016-09-05 06:09:37 +02:00
Grzegorz Piwowarek 4c561c3e2e Update pom.xml 2016-09-04 12:49:49 +02:00
anton-k11 c68e1bfbc8 Java 9 new features (#660)
* initial push for core-java-9 tutorials

* Fixed Maven build with experimental java 9 Maven compiler plug-in. Minor
code changes

* Running maven build and changes to some of tests.

* Fixed maven build and modifications ot some tests

* Removing unnecessary files
2016-09-04 12:30:35 +02:00
Grzegorz Piwowarek 98ffbc1f37 Refactor ArrayList examples 2016-09-04 10:02:21 +02:00
eugenp 6bb724d828 fixing the pom (and sorting the modules a bit) 2016-09-04 10:37:27 +03:00
Alex Theedom 32231b1fb4 Remove Reflection module from pom 2016-09-04 08:04:06 +01:00
Alex Theedom 20e52971a7 Migrate Reflection code to Core-Java module 2016-09-04 08:02:40 +01:00
Grzegorz Piwowarek 6bd09ce0ae Refactor Reflection examples 2016-09-04 08:18:17 +02:00
Alex Theedom 89944e9a9f Minor changes following review 2016-09-03 19:24:33 +01:00
anna.spanou a28f344999 upgrade cassandra versions in pom and remove public modifier from default constructor 2016-09-03 21:13:32 +03:00
Alex Theedom d4706b98ef Merge pull request #662 from egimaben/master
Java reflection tutorial project
2016-09-03 19:13:26 +01:00
egimaben cb2c9d882c added reflection project 2016-09-03 20:37:55 +03:00
Alex Theedom 335770683c Change package to com.baeldung 2016-09-02 00:00:43 +01:00
slavisa-baeldung c14c66167e BAEL-169 - adding README file 2016-09-01 14:03:17 +02:00
slavisa-baeldung a0ef91fc92 BAEL-169 - grouping spring-cloud modules in a multi-maven project 2016-09-01 13:56:39 +02:00
Eugen 455d10eeff Merge pull request #659 from ivanp81/master
Add Stream processing example
2016-09-01 05:54:25 -05:00
Ivan Paolillo 54d3d40e72 Add Stream processing example 2016-09-01 12:20:44 +02:00
Ivan Paolillo d9da586447 Add Stream processing example 2016-09-01 10:57:47 +02:00
Grzegorz Piwowarek 7b53cdb9a7 Build fix 2016-08-30 22:51:37 +02:00
Anil Bhaskar 28f88b0ca3 adding webjars code to spring-boot (#648)
merging the code and webjars different project cleanup
2016-08-30 22:20:06 +02:00
sanketmeghani 9dc0c05a6b Adding sample migration file 2016-08-30 19:49:49 +05:30
sanketmeghani eba93a6447 Adding external flyway configuration file 2016-08-30 19:49:03 +05:30
sanketmeghani e4810b71b0 Adding pom.xml 2016-08-30 19:46:09 +05:30
sanketmeghani f670bd8443 Adding .gitignore 2016-08-30 19:45:52 +05:30
Nancy Bosecker ae907114c7 Added equals()/hashcode() (#646) 2016-08-30 07:48:11 +02:00
slavisa-baeldung e67584d9a7 Merge pull request #640 from christian-raedel/craedel-autovalue-tutorial/build-fix
Craedel autovalue tutorial/build fix
2016-08-29 18:47:31 +02:00
Zeger Hendrikse 4bf338680a Merge branch 'master' of https://github.com/annasp/tutorials into annasp-master 2016-08-28 23:45:33 +02:00
zinch84 b4e0135927 Create ArrayList demo (#643) 2016-08-28 07:47:47 +02:00
egimaben 784b5a6d82 added project for java reflection 2016-08-27 22:42:51 +03:00
egimaben f79a0c0ee3 added project for java reflection 2016-08-27 22:42:08 +03:00
Álvaro Fernández González e3184522c6 Code for Spring Persistence (Hibernate and JPA) with a JNDI datasource article (#632)
* 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.
2016-08-27 12:15:13 +02:00
Christian Raedel 7e07b0ebd3 Merge remote-tracking branch 'upstream/master' into craedel-autovalue-tutorial/build-fix 2016-08-26 21:04:59 +02:00
Slavisa Baeldung 03f1602d1b Merge branch 'pr/630-hystrix-christian'
Conflicts:
	pom.xml
2016-08-26 09:10:20 +02:00
Slavisa Baeldung 5b4c8129c7 BAEL-169 - Sources for Spring Cloud Hystrix article 2016-08-26 09:06:50 +02:00
Christian Raedel b6709ede52 Disabled usage of incremetal compilation in pom.xml 2016-08-26 03:35:23 +02:00
Alex Theedom 6ca37e314a Merge remote-tracking branch 'origin/master' 2016-08-25 22:08:09 +01:00
Alex Theedom 393106be61 Remove nulls 2016-08-25 22:07:52 +01:00
eugenp d9ca600cea skipping the gatling module as part of the standard build 2016-08-25 12:03:45 +03:00
Sergey Petunin 743f6c8806 Added example for Supplier lazy generation, corrected the reduce example (#638) 2016-08-25 10:30:40 +02:00