Commit Graph

7182 Commits

Author SHA1 Message Date
orrym 0b71d385f0 BAEL-1517: Editor Review changes 2018-02-11 10:33:00 +02:00
orrym c9006942c2 Revert "Add XML, JavaConfig and Autowired examples."
This reverts commit 8f4df6b903.
2018-02-06 19:54:52 +02:00
orrym 145db05949 BAEL-1517: Upgrade AssertJ to 3.9.0;
add Java 8 style assertion tests
2018-02-03 15:45:17 +02:00
orrym 4344479d7a BAEL-1517: Added Java7 style assertions 2018-02-03 13:06:31 +02:00
orrym 3eb71bca92 Merge remote-tracking branch 'upstream/master' 2018-02-03 11:38:31 +02: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
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
Ganesh 32e309ae4d BAEL-1456 - How to implement task prioritization in Java (#3366)
* priority based job execution in java

* minor fixes

* updated to use java 8 features
2018-01-30 15:55:08 +01:00
abialas bdae4fe99b BAEL-21 new Java9 HTTP API overview (#3536)
* BAEL-1412 add java 8 spring data features

* BAEL-21 new HTTP API overview
2018-01-29 18:32:09 -08:00
Tom Hombergs b0191da9f7
Merge pull request #3546 from nguyennamthai/BAEL-1500
Initial commit for BAEL-1500
2018-01-29 22:05:29 +01:00
Nam Thai Nguyen be90e9870c Initial commit for BAEL-1500 2018-01-29 17:02:48 +07:00
Aprian Diaz Novandi d1a4848cb4 BAEL-1464 Guava Memoizer (#3420)
* BAEL-1464 Guava Memoizer

* Update codes based on code review and discussion in JIRA
2018-01-29 09:26:15 +01:00
Carsten Gräf 829c0414fe
Merge pull request #3542 from eugenp/pr/3538
Pr/3538
2018-01-29 08:33:34 +01:00
Carsten Gräf b070f3ddaa fixed formatting 2018-01-29 07:37:17 +01:00
Carsten Gräf cd64578fbf
Merge pull request #3522 from eugenp/reactive-websocket-refactor
Reactive exception handling
2018-01-29 07:15:42 +01:00
Bogdan Stoean f888a3f78a BAEL-1410 - refactor tests (#3525)
* initial setup with spring boot/ spring data jpa/ flyway

* BAEL-1315 - added flyway test extensions for spring

* BAEL-1315 - added flyway test extensions for spring

* BAEL-1315 - created multiple migration scripts and locations

* BAEL-1315 - test insert after schema creation

* cleanup

* BAEL-1315 - test data changes by a migration

* [BAEL-1410] Spring Boot Security Auto-Configuration

* [BAEL-1410] Added some tests for incorrect credentials use case

* [BAEL-1410] Added readme and some code improvements

* [BAEL-1410] removed form based auth config because is redundant
added oauth2 server auto-configuration sample with test

* [BAEL-1410] added custom Authorization Server Config

* [BAEL-1410] update README

* [BAEL-1410]refactor tests

* [BAEL-1410]oauth2 resource server

* [BAEL-1410]oauth2 sso sample with facebook

* [BAEL-1410]remove spring-flyway

* [BAEL-1410]refactor tests

* [BAEL-1410] refactor tests

* [BAEL-1410] update
2018-01-29 06:44:40 +01:00
k0l0ssus 4d8f0a48ae
Add Java vs Vavr Stream sample 2018-01-28 18:06:11 -05:00
k0l0ssus bdc785ac47
Merge pull request #1 from eugenp/master
Sync Up
2018-01-28 17:56:15 -05:00
Adam InTae Gerard 0d85d1ad01 BAEL-1175 - corrected directory cmd (#3534) 2018-01-28 14:11:10 +01:00
Dassi orleando f9649c0926 BAEL-1273: move code to another module (#3532)
* BAEL-1216: improve tests

* BAEL-1448: Update Spring 5 articles to use the release version

* Setting up the Maven Wrapper on a maven project

* Add Maven Wrapper on spring-boot module

* simple add

* BAEL-976: Update spring version

* BAEL-1273: Display RSS feed with spring mvc (AbstractRssFeedView)

* Move RSS feed with Spring MVC from spring-boot to spring-mvc-simple
2018-01-27 13:52:46 -08:00
orrym 8f4df6b903 Add XML, JavaConfig and Autowired examples. 2018-01-27 18:11:07 +02:00
Loredana Crusoveanu 70b81ca807
Merge pull request #3529 from eugenp/internationalization-assets
remove enablemvc
2018-01-27 18:08:55 +02:00
Loredana Crusoveanu 999dfbf381 remove enablemvc 2018-01-27 17:43:23 +02:00
Grzegorz Piwowarek 955a2e7e18 Reactive exception handling 2018-01-27 06:52:34 +01:00
Satish Pandey fab4aec7a1 Instance profile credentials example. (#3401)
* Instance profile credentials example.

* InstanceProfile CloudFormation template included to provision AWS
environment.

* Included java package installation under Yaml script.

* Using SpringApplication reference to prepare application context.

* Introducing SpringCloudS3Service to handle all S3 operations.
2018-01-27 06:24:22 +01:00
ramansahasi 5d6c47789e Logged InterruptedException instead of ignoring it (#3517) 2018-01-26 10:04:38 -08:00
Tom Hombergs 2332bc1a14
Merge pull request #3513 from eugenp/thombergs-patch-1
added link to finalize article
2018-01-25 22:43:01 +01:00
Tom Hombergs 211c8a0c30
added link to finalize article 2018-01-25 22:06:00 +01:00
gautamshetty 19e8849361 [BAEL 1209] - Java RMI Files. (#3374)
* [BAEL 1209] - Java RMI Files.

* Added parent tag and deleted dependency tag for junit.

* Added java-rmi module.

* Removed duplicate java-lite module entry.

* Deleting this file as it is covered in test class.

* Spell check.
2018-01-25 11:16:39 +01:00
Eugen Paraschiv 70e4a55256 minor import cleanup 2018-01-25 11:33:50 +02:00
Carsten Gräf 948243384e
Merge pull request #3092 from Thoughtscript/master
BAEL-1175 - Using a Spring Cloud App Starter
2018-01-24 19:53:56 +01:00
Carsten Gräf 026ff3be45
Merge pull request #3488 from felipeazv/master
BAEL-1475: code formatting
2018-01-24 19:45:18 +01:00
Ahmad Alsanie 0585764866 BAEL-1473 replaced int with AtomicInteger for safe usage in multi-threaded env (#3497)
* BAEL-1473 Intoduction to Spliterator in Java

* BAEL-1473 - Replace .out with logger.info

* removed log

* BAEL-1473 - added test-cases

* modify test-cases

* AtomicInteger instead of int

* SIZED removed
2018-01-24 09:29:14 -08:00