Commit Graph

7209 Commits

Author SHA1 Message Date
shouvikbhattacharya 9d9045f130 BAEL-1525: New changes added. 2018-02-08 21:04:46 +05:30
shouvikbhattacharya 15ea8a7c01 Merge branch 'master' of https://github.com/eugenp/tutorials into BAEL-1525-Check-if-a-String-is-a-palindrome 2018-02-07 20:32:03 +05:30
shouvikbhattacharya 6887bc10d1 BAEL-1525: More changes. 2018-02-07 20:29:35 +05:30
deep20jain efb66e3001 Bael 1299 - Maze Solver - deep20jain@gmail.com (#3537)
* Maze solver using DFS

* Adding BFS maze solver

* Fixing formatting
2018-02-06 21:07:38 +01:00
Orry 5a34de448e AssertJ Exception Assertions (#3600)
* Add XML, JavaConfig and Autowired examples.

* BAEL-1517: Added Java7 style assertions

* BAEL-1517: Upgrade AssertJ to 3.9.0;
add Java 8 style assertion tests

* Revert "Add XML, JavaConfig and Autowired examples."

This reverts commit 8f4df6b903.
2018-02-06 11:47:26 -08:00
linhvovn 56316fd029 [tlinh2110-BAEL1382] Add Security in SI (#3593)
* [tlinh2110-BAEL1382] Add Security in SI

* [tlinh2110-BAEL1382] Upgrade to Spring 5 & add Logger
2018-02-06 11:43:44 -08:00
shouvikbhattacharya 604f5b1535 Merge branch 'master' of https://github.com/eugenp/tutorials into BAEL-1525-Check-if-a-String-is-a-palindrome 2018-02-06 20:15:32 +05:30
Eric Goebelbecker 372cba10bb BAEL-1486 - small changes to JGroups (#3590)
* BAEL-1486 - sample code for JGroups. Fixed a typo in InfluxDB.

* BAEL-1486 - updates for JGroups.
2018-02-05 16:47:17 -08:00
Loredana Crusoveanu d75f6fc58a
Merge pull request #3595 from eugenp/lor6-patch-8
Update README.md
2018-02-05 21:58:25 +02:00
Tom Hombergs 0e7d8c0d9d
Merge pull request #3596 from eugenp/thombergs-patch-3
added link to article
2018-02-05 20:45:09 +01:00
Loredana Crusoveanu 1011edf288
Update README.md 2018-02-05 21:16:09 +02:00
Tom Hombergs 43d0f4c15c
added link to article 2018-02-05 20:10:44 +01:00
Loredana Crusoveanu fcb114b50c
Update README.md 2018-02-05 20:55:45 +02:00
daoire bd103bdd41
Merge pull request #3592 from eugenp/daoire-patch-6
Update README.md
2018-02-05 14:49:32 +00:00
daoire 422fef6e7c
Merge pull request #3591 from eugenp/daoire-patch-5
Update README
2018-02-05 12:42:42 +00:00
daoire 34e8c290fd
Update README.md 2018-02-05 12:30:23 +00:00
daoire a6a291ce22
Update README 2018-02-05 12:18:04 +00:00
daoire 08dbab446f
Merge pull request #3454 from adrianprecub/BAEL-1267-programmatic-tomcat
BAEL-1267: programmatically create, configure and run a tomcat server
2018-02-05 12:15:30 +00:00
abialas 84782d054e BAEL-21 (#3587)
* BAEL-1412 add java 8 spring data features

* BAEL-21 new HTTP API overview

* BAEL-21 fix executor
2018-02-04 14:44:22 -08:00
Loredana Crusoveanu 8ada19dafe
Merge pull request #3576 from asturcon/tutorials/jpaAttributeConverters
BAEL-1509 - JPA  Attribute Converters
2018-02-04 23:02:36 +02:00
Tom Hombergs 18f77c0f37
Merge pull request #3562 from nguyennamthai/BAEL-1516
Initial commit for BAEL-1516
2018-02-04 19:45:01 +01:00
Marcos 796277bdaa fix assert 2018-02-04 14:06:11 +01:00
shouvikbhattacharya 581e8592ae BAEL-1525: Article code completed. 2018-02-04 18:22:17 +05:30
Eric Goebelbecker bf5b3045a1 BAEL-1486 - sample code for JGroups. Fixed a typo in InfluxDB. (#3578) 2018-02-03 19:49:11 -08:00
Tom Hombergs 8b7630335a
Merge pull request #3575 from nguyennamthai/BAEL-1500
Modifies the Data class
2018-02-03 21:21:01 +01:00
Marcos 0bf3102188 code cleanup 2018-02-03 19:25:48 +01:00
Marcos ecf1cae3f7 JPA Attribute Converters 2018-02-03 19:01:20 +01:00
Nam Thai Nguyen 53bb927610 Modifies the Data class 2018-02-03 20:21:46 +07:00
Grzegorz Piwowarek 710c25fb01
Ocheja fix (#3572)
* Define beans for handling different message types in a lean chat app

* Add class based spring beans configuration

* Define spring configuration in XML for constructor based bean injection

* Refactor package structure to separate constructor based bean injection code set from setter based bean injection code set

* Define configuration and classes specific to setter-based bean injection.

* Implement tests for constructor-based and setter-based bean injections

* develop codes for explaining type erasure

* Write unit tests for type erasure examples

* Remove evaluation article code

* Modify type erasure examples and unit tests

* Modify type erasure examples and unit tests

* Add expected exception in TypeErasureUnitTest

* Correct grammar in class name

* Implement File Manager app to demonstrate Polymorphism. Develop unit tests for Polymorphism article code

* Add examples for static polymorphism

* Change sysout statments to slf4j log info statements

* Add assertions and expected errors check on Test

* Add assertions and expected errors check on Test

* Correct compile time error of symbol not found

* Removed commented out non-compiling test.

* Replace string concatenations with String.format

* Replace string concatenations with String.format

* Remove verbose file info descriptor and replace with simpler one

* Add example codes for Hibernate Interceptors article
Write tests for session-scoped and sessionFactory-scoped interceptors

* Implement serializable on customInterceptorImpl

* Implement examples for spring data with spring security integration

* Remove webapp example implementations; too extensive
2018-02-03 12:37:28 +01:00
Grzegorz Piwowarek d2a4e04f37
Merge branch 'master' into BAEL-1267-programmatic-tomcat 2018-02-03 12:37:01 +01:00
Jose Carvajal ff76cbc1fe Bael 113 (#3484)
* BAEL-399: A Guide to Multitenancy in Hibernate 5

* Removed unused properties in profile 2

* Changes after code review

* BAEL-113

* Changes after code review

* Added main method in spring boot application

* Removed extra files
2018-02-02 22:00:27 -06:00
Tom Hombergs 2781e27d1d
Merge pull request #3558 from nguyennamthai/BAEL-1515
Initial commit for BAEL-1515
2018-02-02 21:13:56 +01:00
Tom Hombergs fa906a2b59 removed Car class 2018-02-02 21:01:22 +01:00
Tom Hombergs 7d8a3bf686 Merge branch 'BAEL-1515' of https://github.com/nguyennamthai/tutorials into BAEL-1515 2018-02-02 20:25:36 +01:00
Grzegorz Piwowarek 2169be4301
Async refactor (#3570) 2018-02-02 15:40:03 +01:00
Nam Thai Nguyen c057808c6e Modifies error messages 2018-02-02 11:59:17 +07:00
myluckagain 55660e7702 BAEL-1497 (#3568) 2018-02-01 23:17:53 +01:00
Alessio Stalla 310e31e2bd Code for BAEL-68 (#3559) 2018-02-01 20:30:54 +01:00
tamasradu 72c9fea7e2 Radutamas/bael 1487 (#3569)
* Code for test article: Different Types of Bean Injection in Spring

* Adding jUnits for test article: Different Types of Bean Injection in Spring

* BAEL-1265: Adding jUnit for article

* BAEL-1265: Closing ExecutorService in jUnit

* BAEL-1487: Adding test for AsyncHtpClient tutorial
2018-02-01 14:56:36 +01:00
ramansahasi 15f18bbb83 BAEL 1269 Intro to JSON-JAVA (#3493)
* Final commit

* Made changes as per last review

* Moved from core-java to json module
2018-02-01 10:57:48 +01:00
Nam Thai Nguyen 63b8aa334f Refactor BAEL-1515 2018-02-01 11:00:51 +07:00
ramansahasi 3e4b6df194 Interrupted thread before logging (#3563) 2018-01-31 13:06:16 -08:00
Nam Thai Nguyen 6e23e8f4fd Initial commit for BAEL-1516 2018-02-01 03:16:53 +07:00
Grzegorz Piwowarek 43a4d08c36
Sudoku refactor (#3556)
* BacktrackingAlgorithm refactor

* DancingLinks refactor
2018-01-31 18:50:37 +01:00
Aprian Diaz Novandi bd9a87c137 Simplify unit test logic (#3548) 2018-01-31 15:58:52 +01:00
Nam Thai Nguyen 5f87ceb1ff Relocate custom assertion classes 2018-01-31 18:34:09 +07:00
Nam Thai Nguyen 950434a873 Fix the scope of AssertJ core 2018-01-31 16:46:19 +07:00
Nam Thai Nguyen eb99ad5753 Initial commit for BAEL-1515 2018-01-31 16:32:21 +07:00
mkuligowski a48e062598 BAEL-1204 (#3508)
* Initialize smooks subproject

* Add Smooks dependency

* Delete files form badly created submodule

* Add domain classes

* Create class responsible for converting Orders

* Create class responsible for validating messages

* Add configuration file

* Add integration tests for Smooks converters and validators

* ADd en_US locale and fix date format

* Fix number format in expected messages

* Delete unused mapping

* Remove unused conversion to JSON

* Add assertion for ruleName in givenIncorrectOrderXML_whenValidate_thenExpectValidationErrors
2018-01-30 22:49:54 +01:00
iaforek f6cfff3f9d BAEL-1298 - How to create a Sudoku solver (#3197)
* 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.

* BAEL-837 - initial commit. A few examples of adding doubles.

* BAEL-837 - Couple of smaller changes

* BAEL-837 - Added jUnit test.

* BAEL-579 Updated Spring Cloud Version

I was getting error: java.lang.NoSuchMethodError:
org.springframework.cloud.config.environment.Environment
After version update, all is okay.

* BAEL-579 Added actuator to Cloud Config Client.

* BAEL-579 Enabled cloud bus and updated dependencies.

* BAEL-579 Config Client using Spring Cloud Bus.

* BAEL-579 Recreated Basic Config Server.

* BAEL-579 Recreated Config Client.

* BAEL-579 Removed test Git URL.

* BAEL-579 Added Actuator to Config Client

* BAEL-579 Added Spring Cloud Bus to Client.

* BAEL-579 Server changes for Spring Cloud Bus

Added dependencies and removed git.clone-on-start as this was causing
server to throw errors after git properties change.

* BAEL-579 Removed Git URL.

* Revert "BAEL-579 Updated Spring Cloud Version"

This reverts commit f775bf91e5.

* Revert "BAEL-579 Config Client using Spring Cloud Bus."

This reverts commit 1d96bc5761.

* Revert "BAEL-579 Enabled cloud bus and updated dependencies."

This reverts commit 7845da922d.

* Revert "BAEL-579 Added actuator to Cloud Config Client."

This reverts commit 076657a26a.

* BAEL-579 Added missing dependency versions.

* BAEL-579 Added missing dependency versions.

* Updated gitignore

* BAEL-1065 Simple performance check StringBuffer vs StringBuilder.

* BAEL-1065 Added JMH benchmarks

* BAEL-1298 Sudoku - Backtracking Algorithm

* BAEL-1298 Sudoku - Backtracking Algorithm

* BAEL-1298 Dancing Links Algorithm. Smaller changes to Backtracking

* BAEL-1298 Resolve conflict - use most up-to-date POM

* Updated code - mostly with CONSTANTS. Extracted methods.

* Removed pointless Java8 code. Renamed constant
2018-01-30 19:13:53 +01:00