Commit Graph

5387 Commits

Author SHA1 Message Date
Daniele Demichelis 4ded9c02f7 Bael 556 - spring remoting with jms (#1900)
* Burlap & Hessian server added

* Burlap & Hessian client work

* Fixed main

* Fixed formatting

* Spring Remote example based on Burlap & Hessian runs in a JUnit test

* Fixed main

* Fixed formatting

* Spring Remote example based on Burlap & Hessian runs in a JUnit test

* Spring Remote example based on Burlap & Hessian runs in a JUnit test

* Burlap & Hessian client work

* Fixed main

* Fixed main

* Fixed formatting

* Fixed formatting

* Spring Remote example based on Burlap & Hessian runs in a JUnit test

* Spring Remote example based on Burlap & Hessian runs in a JUnit test

* Fixed POM

* first step, compile

* works!

* works with proper list of trusted packages

* works the SpringBoot style

* Fixed indentation.
2017-05-23 08:47:18 +02:00
Mansi 3b1337598f BAEL-823 Iterating over enum values in Java (#1886)
* Example Code For Evaluation Article

This is an example code for the evaluation article on "Different Types of Bean Injection in Spring"

* Added unit tests

* Minor changes to application context

* BAEL-823 Iterating over enum values in Java

* Removed code committed for evaluation article
2017-05-22 21:58:17 -05:00
Tian Baoqiang 4fd99ca7a5 replace #BAEL-913 test scenario with simple add and sum test (#1895) 2017-05-22 20:46:43 +02:00
parthkaria 28adbeb53d BAEL-831 ClassNotFoundExceptions vs NoClassDefFoundError (#1899)
* Dependency Injection examples

Dependency Injection examples for evaluation article

* Junit test cases added for dependency injection

Junit test cases added for dependency injection

* ClassNotFoundException vs NoClassDefFoundError

Example to reproduce ClassNotFoundException & NoClassDefFoundError

* JUnit test cases for ClassNotFoundException & NoClassDefFoundError

test cases to reproduce ClassNotFoundException & NoClassDefFoundError

* Deleting exampls for evaluation article

* BAEL-831 Examples for ClassNotFoundException & NoClassDefFoundError

* deleting config file for evaluation article

deleting config file for evaluation article
2017-05-22 19:32:48 +02:00
Grzegorz Piwowarek 45e16d409b Update GoogleTruthUnitTest.java (#1897) 2017-05-22 09:26:51 -05:00
Sunil Mogadati d1e4eed806 BAEL-741: Spring Security Multiple Authentication Providers (#1838)
* Add NDC and JBoss Logging to the demo application

* NDC for Log4j, Log4j2 and JBoss Logging

* Simplify NDC example by making it a single operation instead of two

* Make NDC example as RestController, Use JBoss Logging only as a logging bridge

* Fix merge conflicts in pull request - log-mdc pom.xml updated

* BAEL-445 Update to Spring security SpEL example

* BAEL-445: Change tabs to spaces in the updated code

* BAEL-245: Add Enum Serialization exmaple

* BAEL-245: Remove the folder jackson/src/test/java/com/baeldung/jackson/dtos/withEnum as the example is not used anymore

* Add more enum serialization examples to align with previous example and prevent build fail

* BAEL-611: Minor formatting changes

* BAEL-611: Update Test case method names

* BAEL-611 Add JAX-WS client and JUnit Test

* BAEL-245: Issue 1753. Fix the typo - change from writeNumber() to writeString()

* BAEL-741: Spring Security Multiple Authentication Providers

* BAEL-741: Spring Security Multiple Authentication Providers

* Remove unnecessary change in pom.xml
2017-05-22 11:49:00 +02:00
slavisa-baeldung 02d153b953 Merge pull request #1896 from eugenp/BAEL-839
BAEL-839 - minor test changes
2017-05-22 09:22:00 +02:00
slavisa-baeldung 3aae854ea2 BAEL-839 - minor test changes 2017-05-22 06:08:39 +01:00
slavisa-baeldung 7ceac32faf Merge pull request #1894 from buddhini81/master
Code for article BAEL-839
2017-05-22 06:51:41 +02:00
buddhini81 abdc904426 Delete 2017-05-22 08:54:14 +05:30
buddhini81 ef1c191dfb Delete 2017-05-22 08:53:19 +05:30
buddhini81 156c8a3bdd Add EscapingCharsManualTest BAEL-839 2017-05-22 08:52:22 +05:30
buddhini81 338e74ae3f Create new folder BAEL-839 2017-05-22 08:51:30 +05:30
buddhini81 0a5526ea23 Add class EscapingChars
for BAEL-839
2017-05-22 08:49:36 +05:30
buddhini81 468c06ff19 Create new folder
for BAEL-839
2017-05-22 08:48:02 +05:30
Raúl Juárez 489e0e012f BAEL-886 How to add a single element to a Stream (#1887) 2017-05-21 21:06:05 -05:00
KevinGilmore e74de67c59 BAEL-827 README (#1890)
* Add files via upload

* Update pom.xml

* Update RunGuice.java

* Update Communication.java

* Update CommunicationMode.java

* Update DefaultCommunicator.java

* Update EmailCommunicationMode.java

* Update IMCommunicationMode.java

* Update SMSCommunicationMode.java

* Update MessageLogger.java

* Update MessageSentLoggable.java

* Update AOPModule.java

* Update BasicModule.java

* Update CommunicationModel.java

* Update Communicator.java

* Update BasicModule.java

* Update RunGuice.java

* Update MessageLogger.java

* Update Communicator.java

* Update pom.xml

* BAEL-278: Updated README.md

* BAEL-554: Add and update README.md files

* Update pom.xml

* Update pom.xml

* Update pom.xml

* BAEL-345: fixed assertion

* BAEL-109: Updated README.md

* BAEL-345: Added README.md

* Reinstating reactor-core module in root-level pom

* BAEL-393: Adding guide-intro module to root pom

* BAEL-9: Updated README.md

* BAEL-157: README.md updated

* Changed project name

* Update RunGuice.java

Removed references to message logging and output

* Update Communication.java

Removed message logging-related code

* BAEL-566: Updated README.md

* New project name

* BAEL-393: removing guice-intro directory

* BAEL-393: renamed module guice-intro to guice in root pom.xml

* BAEL-393 and BAEL-541 README.md files

* BAEL-731: Updated README.md

* BAEL-680: renamed test methods

* BAEL-714: Updated README.md

* BAEL-737: Updated README.md

* BAEL-680 and BAEL-756 README.md updates

* BAEL-666: Updated README

* BAEL-415: Custom Scope

* BAEL-415: Custom Scope - renamed classes to reflect TenantScope

* README file updates for BAEL-723, BAEL-763, and BAEL-415

* BAEL-735: README

* BAEL-567: README

* BAEL-736: README

* BAEL-766: Update README

* BAEL-555: README update

* BAEL-761: README update

* BAEL-742: Stripe API for Java README file

* BAEL-86: Correction to README file

* BAEL-828: Updated README.md

* BAEL-830: Updated README

* BAEL-870: Switched from TestNG to JUnit due to build errors

* BAEL-870: Update README

* BAEL-827: Updated README
2017-05-21 15:58:12 -05:00
Raúl Juárez 378d20f053 BAEL-917 Testing with Google Truth (#1874)
* BAEL-917 Testing with Google Truth

* BAEL-917 Testing with Google Truth
2017-05-21 13:23:04 -05:00
Grzegorz Piwowarek 3a34f906a2 Mustache refactor (#1889) 2017-05-21 16:24:50 +02:00
Mohamed Sanaulla cfc44ecbb6 code for BAEL-860 - Introduction to mustache (#1885) 2017-05-20 19:21:33 +02:00
Yasin d1cc70666e BAEL-900 Guide to Dynamic Tests in Junit 5 (#1883)
* BAEL-900 Guide to dynamic tests in Junit 5

* BAEL-900 Guide to Dynamic Tests in Junit 5

* Revert "BAEL-900 Guide to Dynamic Tests in Junit 5"

This reverts commit d0d45c9067223347da20d0f2c80de391fcade38e.

* BAEL-900 Guide to Dynamic Tests in Junit 5
2017-05-19 18:36:34 +02:00
adasioo e09ba8e3c2 BAEL-923 How to inject a value from properties to a class not managed by Spring? (#1878)
* adam.zawada@gmail.com - Different Types of Bean Injection in Spring

* adam.zawada@gmail.com - Different Types of Bean Injection in Spring
switch to Java based configuration

* BAEL-895 calculate the period/duration between two dates in Java 8

* clean old PR

* BAEL-923 How to inject a value from properties to a class not managed by Spring?

* clean PR
2017-05-19 09:10:21 +02:00
Jesus Boadas e338d3eb0e Introduction to Testing with Arquillian (#1877) 2017-05-19 08:46:47 +02:00
Grzegorz Piwowarek a6168a139b Update .travis.yml (#1876) 2017-05-19 07:59:49 +02:00
Raúl Juárez fdfbab9365 BAEL-939 Improve split to string article (#1875) 2017-05-18 22:09:41 +03:00
Grzegorz Piwowarek ec7ee8bc42 Update pom.xml 2017-05-18 20:59:21 +02:00
lor6 70680ea79a vavr refactor (#1871)
* vavr refactor

* small fix
2017-05-18 21:44:35 +03:00
eugenp 7728d58e5b minor cleanup 2017-05-18 10:24:05 +03:00
eugenp 54d136518e minor cleanup 2017-05-18 10:22:09 +03:00
lor6 6d4682fa36 boot example app (#1808)
* boot example app

* move project and rename packages

* update constructor injection
2017-05-18 02:16:13 -05:00
Zeger Hendrikse 88e27db6c5 Replaced tabs by spaces 2017-05-18 09:11:44 +02:00
Abhinab Kanrar 74d4c4f72c final version (#1867) 2017-05-18 08:08:17 +02:00
Vivek Kumar 3f22a70bb3 Add unit test for File path article - BAEL-827 (#1784)
* BAEL-827 Add unit test for file paths

* BAEL-827 - Update path IOException test to execute only on Windows

* BAELL-827 - Update unit test method name
2017-05-17 22:21:40 -05:00
slavisa-baeldung dacc694f02 Merge pull request #1741 from tschiman/master
BAEL-797 Angular App For Cloud Series
2017-05-18 01:09:11 +02:00
slavisa-baeldung fe73a256d4 Merge branch 'master' into master 2017-05-18 01:08:29 +02:00
eugenp b3f7f90ba2 travis CI fix 2017-05-17 19:47:28 +03:00
Doha2012 9081eae3d7 minor logging fix (#1869) 2017-05-17 07:43:57 -05:00
slavisa-baeldung 9d6815284e Merge pull request #1854 from dhruba619/master
BAEL-839 added test cases and refactored code
2017-05-17 11:51:17 +02:00
pivovarit ee770f3d5f Refactor 2017-05-17 11:34:34 +03:00
Yasin faa15d50ce BAEL-900 Guide to dynamic tests in Junit 5 (#1860) 2017-05-16 18:22:13 +02:00
Doha2012 91be1eaf49 fix test names (#1865)
* upgrade to spring boot 1.5.2

* add full update to REST API

* modify ratings controller

* upgrade herold

* fix integration test

* fix integration test

* minor fix

* fix integration test

* fix integration test

* minor cleanup

* minor cleanup

* remove log4j properties

* use standard logbook.xml

* remove log4j dependencies

* remove commons-logging

* merge

* fix conflict

* exclude commons-logging dependency

* cleanup

* minor fix

* minor fix

* fix dependency issues

* Revert "fix dependency issues"

This reverts commit 83bf1f9fd2e1a9a55f9cacb085669568b06b49ec.

* fix dependency issues

* minor fix

* minor fix

* minor fix

* cleanup generated files

* fix commons-logging issue

* add parent to pom

* cleanup parent dependencies

* cleanup pom

* cleanup pom

* add missing parent

* fix logging issue

* fix test names

* fix merge

* minor fix

* fix test names

* fix test names
2017-05-16 11:03:40 -05:00
iaforek 9e644af344 BAEL-838 Tiny change to keep code consistant. Return null or empty. (#1866)
* 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.
2017-05-16 17:05:38 +02:00
Tomasz Lelek ce43d80f8b BAEL-855 stm (#1855)
* BAEL-855 code for the STM article

* BAEL-855 method ordering

* BAEL-855 Better test case

* BAEL-855 formatting

* BAEL-855 rename

* BAEL-855 change to expected

* Merge branch 'master' of https://github.com/eugenp/tutorials into BAEL-855_stm

# Conflicts:
#	libraries/pom.xml
2017-05-16 16:53:47 +02:00
lor6 ee79ac3a02 fix test (#1864) 2017-05-16 17:00:41 +03:00
Walter Gómez 63611daf7b Fix/kotlin equality (#1861)
* Add project for hibernate immutable article
Add Event entity
Add hibernate configuration file
Add hibernateutil for configuration
Add test to match snippets from article

* Update master

* Add simplet test to check Kotlin rerence vs strutural equality

* Update README

* Kotlin equality - fix
Add suite of tests for complex object and arrays
Add User class
2017-05-16 12:03:58 +03:00
Tian Baoqiang e2aabe819e #BAEL-913 serenitybdd and spring (#1845) 2017-05-16 12:01:28 +03:00
lor6 9f88ff0d2e pageable controller and test (#1862)
* pageable controller and test

* removed unused imports
2017-05-16 11:52:04 +03:00
pivovarit 15fe1f0996 Fix JavaSortingUnitTest 2017-05-16 09:39:39 +03:00
pivovarit adb4b9bfdf Fix HexToAsciiUnitTest 2017-05-16 09:34:45 +03:00
pivovarit 924b960746 JavaInputStreamToXUnitTest refactor 2017-05-16 09:20:54 +03:00