Commit Graph

7312 Commits

Author SHA1 Message Date
Loredana Crusoveanu a72246af2f
Merge pull request #3699 from magkrause/BAEL-1543_2
BAEL-1543: Moving from XML to Java based Spring config.
2018-02-20 17:37:15 +02:00
Magdalena Krause 40e23a70e7 BAEL-1543: Moving from XML to Java based Spring config. 2018-02-20 10:43:07 -03:00
Carsten Gräf 0903c30bab
Merge pull request #3697 from felipeazv/master
[BAEL-1449] Combining Publishers (Project Reactor) fix test names
2018-02-20 12:28:56 +01:00
abirkhan04 6826ad1853 Spring Cloud Task modules are added. (#3675)
* Spring Cloud Task modules are added.

* Unnecessary files are removed.

* All Sysout are replaced by Logger from Util.

* class name is fixed in Logger.

* Spring cloud task batch module POM updated with dependencies from Maven
Central.

* Links are removed and unnecessary comments are removed from POM.
2018-02-19 21:35:52 -08:00
José Carlos Valero Sánchez 327d8b5d97
Merge pull request #3384 from Wosin/BAEL-1409-flowable-rxjava2
BAEL-1409: Rxjava2 Flowable Tests
2018-02-20 00:31:07 +01:00
felipeazv f066168229 [BAEL-1449] Combining Publishers (Project Reactor) fix test names 2018-02-19 23:36:49 +01:00
Carsten Gräf a4d682e57b
Merge pull request #3694 from knightdna/BAEL-681-2
BAEL-681 (2)
2018-02-19 19:11:51 +01:00
Tarang Bhalodia a243d8494d BAEL-1524: Chain of Responsibility Design Pattern in Java (#3573)
* BAEL-1422: measure performance of Random and ThreadLocalRandom using JMH

* BAEL-1422: updated benchmarking examples of Random and ThreadLocalRandom to use newWorkStealingPool that leverages ForkJoinPool

* BAEL-1422: refactored benchmarking examples for comparing performance of ThreadLocalRandom and Random
- initialised the collection of Callable before running benchmarking
- removed for loop for submitting task and instead used executor.invokeAll(collection_of_callable)

* BAEL-1282: added TDD type junit tests for geospatial queries elasticsearch

* BAEL-1524: added example for chain of responsibility design pattern

* BAEL-1524: added BDD style jUnit test to test unknown handler in ChainOfResponsibility design pattern

* BAEL-1524: refactored ChainOfResponsibility design pattern example

* BAEL-1524: refactored ChainOfResponsibility design pattern example

* BAEL-1524: updated ChainOfResponsibility design pattern example

* BAEL-1524: updated ChainOfResponsibility design pattern example
2018-02-19 17:49:48 +01:00
Grzegorz Piwowarek c0bf1c7a93 Refactor Infinispan example (#3684)
* Refactor Infinispan examples

* Refactor Infinispan examples
2018-02-19 17:20:16 +01:00
Dassi orleando 6da6722ec4 BAEL-1587: JUnit 5 Upgrade (#3695)
* 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

* BAEL-1285: Update Jackson articles

* BAEL-1273: implement both MVC and Rest approach to serve RSS content

* RSS(XML & Json) with a custom model

* BAEL-1273: remove a resource

* BAEL-1519: Guide to scribejava

* BAEL-1273: improve xml representation

* Fix pom

* BAEL-1587: JUnit 5 upgrade
2018-02-18 23:35:21 -08:00
Diaz Novandi 22b047f98b Use DynamoDB repo server in the US 2018-02-19 07:04:49 +01:00
Diaz Novandi e31ff3c59a Update based on code review feedback 2018-02-19 07:03:28 +01:00
Grzegorz Piwowarek 0cb1447797 JSP Refactor (#3689) 2018-02-19 01:43:23 +01:00
myluckagain fe97d98c30 BAEL-1553 (#3679) 2018-02-19 01:30:31 +01:00
Dominik 9ba2cebdfd Changed test names. 2018-02-19 00:26:27 +01:00
Dassi orleando 6385ba4fb0 Improve rss(BAEL-1273) and done with BAEL-1519 (#3692)
* 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

* BAEL-1285: Update Jackson articles

* BAEL-1273: implement both MVC and Rest approach to serve RSS content

* RSS(XML & Json) with a custom model

* BAEL-1273: remove a resource

* BAEL-1519: Guide to scribejava

* BAEL-1273: improve xml representation

* Fix pom
2018-02-18 13:51:53 -08:00
Tom Hombergs 62c1a46b01
Merge pull request #3663 from nguyennamthai/BAEL-1537
Initial commit for List TDD
2018-02-18 22:29:40 +01:00
Loredana Crusoveanu cfbe9f5ca8
Merge pull request #3690 from eugenp/BAEL-1526
rename vars
2018-02-18 17:42:44 +02:00
Loredana Crusoveanu 476ed301f6 rename vars 2018-02-18 13:59:42 +02:00
Loredana Crusoveanu 544cd5253c
Merge pull request #3688 from harshjain25/BAEL-1526-string-comparison
BAEL-1526 : Comparing strings in Java
2018-02-18 13:50:41 +02:00
Harsh Jain 5aa81d9be3 BAEL-1526 : added exmaple unit test cases for string comparison 2018-02-18 12:19:44 +05:30
Nguyen Nam Thai 7debccf695 Fix a test 2018-02-18 11:08:00 +07:00
Nguyen Nam Thai c1787cc07a Change the test method names 2018-02-18 11:05:00 +07:00
Dassi orleando 1b0e859d3a BAEL-1273: RSS improvements with a custom model (#3665)
* 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

* BAEL-1285: Update Jackson articles

* BAEL-1273: implement both MVC and Rest approach to serve RSS content

* RSS(XML & Json) with a custom model

* BAEL-1273: remove a resource
2018-02-17 15:08:19 -08:00
Andrea Ligios 2a127b3df3 . (#3687) 2018-02-17 12:40:01 -08:00
Carsten Gräf 2afb745b6d
Merge pull request #3682 from arekssu/bael-1460
Adding solidity example file
2018-02-17 13:29:54 +01:00
Nam Thai Nguyen 08d53a2cbb Change the names of test methods 2018-02-17 11:45:03 +07:00
Gurinder Singh b219245e5b Gurinder spring cloud contract (#3547)
* adding producer side sample for spring-cloud-contract

* adding consumer side sample for spring-cloud-contract

* removing un neccessary code

* adding latest version for spring-cloud-contract in both producer and consumer

* adding producer dependency in consumer

* refactoring after review-1

* refactoring after review-2

* refactoring after review-3
2018-02-16 20:09:35 -06:00
Eugen Paraschiv 414d805f6b renaming the DSL to configurer 2018-02-17 01:03:29 +02:00
Eugen Paraschiv 5d4bfa2e73 renaming the DSL to configurer 2018-02-17 01:02:20 +02:00
Loredana Crusoveanu 0f6f60f825
Merge pull request #3681 from magkrause/BAEL-1543_2
BAEL-1543: Logging to console instead of file.
2018-02-17 00:30:04 +02:00
Loredana Crusoveanu 90cd7e3e5f
Merge pull request #3680 from eugenp/issue-3554
fix spring-cloud-gateway project setup, update boot version
2018-02-16 22:52:09 +02:00
Alex Vargas 1372a565e2 Adding solidity example file 2018-02-16 12:01:12 -08:00
Magdalena Krause 8af29e8df5 BAEL-1543: Logging to console instead of file. 2018-02-16 16:54:04 -03:00
Loredana Crusoveanu 53529f0c50 fix spring-cloud-gateway project setup, update boot version 2018-02-16 21:35:11 +02:00
Harshil Sharma 666c07c7be BAEL-1539 shuffling collections (#3567)
* BAEL-1539 Added list, set and map shuffling code exaamples

* #BAEL-1539 fixed a typo

* #BAEL-1539 refactored sample code, added unit tests

* #BAEL-1539 Added unit tests and example for shuffling with custom randomness

* #BAEL-1539 removed source code and kept only tests as tests are sufficient code sample themselves

* #BAEL-1539 updated map shuffling example to use lambdas

* #BAEL-1539 lambda refactoring

* Fixed an indentation
2018-02-16 07:33:34 -06:00
Loredana Crusoveanu 25424dfe3d
Merge pull request #3669 from magkrause/BAEL-1543_2
Bael 1543 2
2018-02-16 10:05:52 +02:00
iaforek a27e73a57f BAEL-1298 - Variable renames (#3653)
* 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

* Extracted 'constraints' methods and renamed coverBoard variable

* Extracted 'constraints' methods and renamed coverBoard variable

* Renamed variables

* More variable renames
2018-02-16 07:13:26 +01:00
KevinGilmore 7d0efdb67d
BAEL-113 README (#3658)
* 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

* BAEL-113 README
2018-02-15 17:53:22 -06:00
Carsten Gräf e4e9f48b83
Merge pull request #3659 from knightdna/BAEL-681
BAEL-681
2018-02-15 20:31:15 +01:00
Magdalena Krause d09a828a58 BAEL-1543: Changing tests names. 2018-02-15 13:28:56 -03:00
Magdalena Krause 443e990fd1 BAEL-1543: Spring Batch: Tasklets vs Chunks 2018-02-15 13:23:00 -03:00
linhvovn 93213af112 [BAEL 1382] tlinh2110 - Remove unnecessary logs (#3667)
* [tlinh2110-BAEL1382] Add Security in SI

* [tlinh2110-BAEL1382] Upgrade to Spring 5 & add Logger

* [tlinh2110-BAEL-1382] Update Unit Test

* [tlinh2110-BAEL1382] Remove unnecessary logs
2018-02-15 08:22:23 -08:00
Nam Thai Nguyen a67d99a09a Initial commit for List TDD 2018-02-14 17:10:18 +07:00
Diaz Novandi 9376e8ce69 Refine test using Hamcrest and refactor JUnit rule 2018-02-14 06:39:40 +01:00
Diaz Novandi b8f433859e BAEL-681 Configuring DynamoDB locally for integration tests 2018-02-14 06:39:40 +01:00
Alejandro Gervasio 4f6988b134 Method Overloading and Overriding in Java - BAEL-1507 (#3621)
* Initial Commit

* Update Multiplier.java

* Refactored MethodOverridingUnitTest class

* Update Car.java

* Update Vehicle.java

* Update MethodOverridingUnitTest.java

* Update MethodOverridingUnitTest.java

* Fix package names
2018-02-13 21:08:31 -06:00
Allan Vital 83bc46ee22 BAEL-1368 Infinispan Guide (#3651)
* BAEL-1368: infinispan article

* BAEL-1368: new method timing method
2018-02-14 02:13:37 +01:00
haseebahmad11 bcc3b6ed95 BAEL-1343 MVC Architecture with Servlets and JSP code (#3624)
* BAEL-1343 MVC Architecture with Servlets and JSP code

* BAEL-1343 code refactoring

* BAEL-1343 code refactoring

* BAEL-1343 updated code formatting

* BAEL-1343 code refactoring
2018-02-14 01:49:46 +01:00
christopherfranklin 3d4a179ca3 [BAEL-1542] - Simple Tagging with JPA (#3626)
* Code samples for Simple Tagging with JPA

* Fix pom relative path for spring-jpa
2018-02-12 22:36:16 +00:00