Commit Graph

7342 Commits

Author SHA1 Message Date
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
DOHA 798920d3a2 Merge remote-tracking branch 'eugenp/master' 2018-01-28 13:46:56 +02: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
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
Markus Gulden 81e8da29a4 BAEL-1335 2018-01-27 11:14:14 +01:00
markusgulden cb593c981d
Merge pull request #4 from eugenp/master
Update
2018-01-27 11:08:33 +01: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
Adi 3f3204e14f BAEL-1267: programmatically create, configure and run a tomcat server - remove unused dependencies 2018-01-26 21:18:17 +02: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
KevinGilmore 689083a090
BAEL-1148 README (#3505)
* BAEL-973: updated README

* BAEL-1069: Updated README

* BAEL-817: add README file

* BAEL-1084: README update

* BAEL-960: Update README

* BAEL-1155: updated README

* BAEL-1041: updated README

* BAEL-973: Updated README

* BAEL-1187: updated README

* BAEL-1183: Update README

* BAEL-1133: Updated README

* BAEL-1098: README update

* BAEL-719: add README.md

* BAEL-1272: README update

* BAEL-1272: README update

* BAEL-1196: Update README

* BAEL-1328: Updated README

* BAEL-1371: Update README.md

* BAEL-1371: Update README.md

* BAEL-1278: Update README

* BAEL-1326: Update README

* BAEL-399: Update README

* BAEL-1297: Update README

* BAEL-1218: README

* BAEL-1148 README update
2018-01-24 08:12:03 -06:00
christopherfranklin 9f1429b067 BAEL-1324 A Simple Tagging Implementation with Elasticsearch (#3464)
* Christopher Franklin A Simple Tagging Implementation with Elasticsearch

Modifying the existing Spring Data Elasticsearch example to use the tags
already on the model. Also added a number of tests as examples of how to
use the tags.
2018-01-23 18:29:31 +01:00
Grzegorz Piwowarek f2777f3be7
Merge branch 'master' into master 2018-01-23 09:24:38 +01:00
Grzegorz Piwowarek f8e4ecef08
Merge branch 'master' into master 2018-01-23 09:23:32 +01:00
Dassi orleando af3edc477d BAEL-1273: Display RSS feed with spring mvc (AbstractRssFeedView) (#3490)
* 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)
2018-01-22 19:43:24 -08:00
chrisoberle 3459d3ad47 BAEL-1418 Spring Security with Extra Login Fields (#3476)
* BAEL-1418 - spring security with extra login fields

* change delimeter for username/domain concatenation

* remove unnecessary class

* move source to spring-5-security module

* finish moving example code to spring-5-security module

* fix formatting in pom

* adjust spacing

* BAEL-1418 Spring Security with Extra Login Fields

* added additional custom example
* refactored and added tests

* remove final keywords and serialVersionUID constants
2018-01-23 00:41:03 +01:00
Donato Rimenti db903618f3 BAEL-1321 Jetty 9 Server - Create, Configure programmatically (#3482)
* Implemented server factory and its tests. Changed Jetty version to latest, removed duplicate entry and added jetty-webapp dependency in pom.xml.

* Added missing war file and changed tests port for Travis build.
2018-01-23 00:28:45 +01:00
felipeazv c38de161c6 removing verbose comment 2018-01-22 22:28:02 +01:00
felipeazv 3e5ac1de94 BAEL-1475: code formatting 2018-01-22 22:09:57 +01:00
Loredana Crusoveanu aa12596920
Merge pull request #3486 from alessiostalla/BAEL-1398
BAEL-1398
2018-01-22 22:20:23 +02:00
Loredana Crusoveanu 692f12636f add pact provider test (#3475) 2018-01-22 17:46:11 +01:00
Juan Moreno b1266c833b BAEL-1148 earth001@gmail.com - Merged spring-mvc-push module in spring-mvc-simple (#3459)
* Sample code for BAEL-1148 - earth001@gmail.com

* Change tabs for spaces in non java files

* Change tabs for spaces in non java files

* Removed unnecessary argument

* BAEL-1148 earth001@gmail.com - Mapped get method in controller / Removed resources

* Merged spring-mvc-push module in spring-mvc-simple
2018-01-22 09:08:33 -06:00
Alessio Stalla 7000fca197 BAEL-1398 Code for the article: HTTP Requests with Kotlin and khttp 2018-01-22 15:12:11 +01:00
Tom Hombergs a115c94f32
Merge pull request #3478 from nguyennamthai/BAEL-1479
BAEL-1479 Guide to finalize()
2018-01-22 08:37:34 +01:00
Ahmad Alsanie 25f449ad38 BAEL-1473 (#3477)
* BAEL-1473 Intoduction to Spliterator in Java

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

* removed log

* BAEL-1473 - added test-cases

* modify test-cases
2018-01-21 09:44:22 -08:00