Commit Graph

7342 Commits

Author SHA1 Message Date
Patryk 378cae0821 [BAEL-1536] A Guide to the Resource Bundle (#3602)
* [BAEL-1536] A Guide to the Resource Bundle

The essential code for the article

* [BAEL-1536] A Guide to the Resource Bundle #2

The essential code for the article after the first article review.

* [BAEL-1536] A Guide to the Resource Bundle #3

Essential changes after the second review.

* [BAEL-1536] A Guide to the Resource Bundle #4

Essential changes after the second review:
- Doubles to BigDecimals
2018-02-22 20:45:27 +00:00
eelhazati d172168ace Eclipse MicroProfile (#3608)
* initial commit

* change path value

* change path value

* clean

* model to json mapper

* Model to Json mapper

* json to model

* rename

* clean

* clean

* Open Liberty runtime

* clean

* OpenLiberty Config File

* OpenLiberty maven plugin

* clean

* clean

* clean

* clean
2018-02-22 11:40:58 +00:00
Juan Moreno b89b1cab6d Sample code for BAEL-1159 - Working with Kotlin and JPA - earth001@gmail.com (#3711)
* Squashed commit of the following:

commit b31955df9638a6217a804e61faa230d8eacb293b
Author: Juan Moreno <earth001@gmail.com>
Date:   Wed Feb 21 22:45:52 2018 -0300

    Sample code for BAEL-1159 - Working with Kotlin and JPA - earth001@gmail.com

* Squashed commit of the following:

commit 4e6e27c914a401ee6bc599c7ffe913384137646a
Author: Juan Moreno <earth001@gmail.com>
Date:   Wed Feb 21 23:26:20 2018 -0300

    Fix package names

commit b31955df9638a6217a804e61faa230d8eacb293b
Author: Juan Moreno <earth001@gmail.com>
Date:   Wed Feb 21 22:45:52 2018 -0300

    Sample code for BAEL-1159 - Working with Kotlin and JPA - earth001@gmail.com
2018-02-22 09:52:40 +01:00
KevinGilmore c0f85101b2
BAEL-1539 README (#3712)
* 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

* BAEL-1158 README

* BAEL-1539: Update README
2018-02-21 22:28:29 -06:00
Alessio Stalla e685ca66db BAEL-1560 Code for the article: JDBC with Groovy (#3707) 2018-02-21 14:38:16 -08:00
Loredana Crusoveanu 612159c977
Merge pull request #3691 from Doha2012/master
add verify signature
2018-02-21 22:19:16 +02:00
KevinGilmore c54a1f9e11
BAEL-1158 Update README (#3702)
* 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

* BAEL-1158 README
2018-02-21 07:26:39 -06:00
Harshil Sharma d6407ef405 BAEL-1539 shuffling collections (#3701)
* 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

* #BAEL-1539 updated map shuffling logic to shuffle entryset instead of keyset
2018-02-21 11:46:15 +01:00
Daniele Demichelis b35b913cbe Bael 1490 the checker framework and java pluggable type systems (#3584)
* BAEL-1490 First examples, Maven setup

* BAEL-1490 Each checker has its own source file

* BAEL-1490 Added checker for String.format

* BAEL-1490 The Checker Framework and Java Pluggable Type Systems

* Added comments, removed example that is probably too technical for a brad audience.
2018-02-20 23:00:47 +00:00
DOHA 5f9e03c6a1 verify signature and claims 2018-02-20 18:34:11 +02:00
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
DOHA c18dd299c6 Merge remote-tracking branch 'eugenp/master' 2018-02-18 14:18:28 +02:00
DOHA 76dbe454f5 add verify signature 2018-02-18 14:18:20 +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