Commit Graph

5312 Commits

Author SHA1 Message Date
Tomasz Lelek f979a4075d BAEL-856 code for long adder and accumulator (#1723)
* BAEL-856 code for long adder and accumulator

* BAEL-856 rearange packages

* BAEL-856 Formatting
2017-04-26 12:57:16 +02:00
slavisa-baeldung 94c6de1962 Merge remote-tracking branch 'origin/master' 2017-04-26 08:57:07 +01:00
Jesus Boadas b0e15fcca0 Guide to JDO (#1730)
* Guide to JDO

* Guide to JDO

* Guide to JDO
2017-04-25 20:54:32 +02:00
Luís Soares 129c751cb4 Simplify annotation usage (#1729)
BAEL-742
2017-04-25 07:36:21 -05:00
Grzegorz Piwowarek 3751e27288 Rename tests (#1728) 2017-04-25 14:18:07 +02:00
Walter Gómez d6e58f6efd Feature/kotlin interop (#1709)
* 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 Kotlin Java Interoperability
Add kotlin-reflect dependency

* Fix test for customer
Remove unused imports
2017-04-25 09:50:02 +02:00
Tomasz Lelek 1c53e62641 Bael 845 transfer queue (#1727)
* BAEL-845 tranferqueue article

* BAEL-845 m to m example

* BAEL-845 move code to test

* BAEL-845 use tryTransfer

* BAEL-845 proper if logic

* BAEL-845 proper test

* BAEL-845 robust test

* BAEL-856 invert logic
2017-04-25 09:44:59 +02:00
Sunil Mogadati 6aeb90de5b BAEL-611 Add JAX-WS client and JUnit Test (#1725)
* 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
2017-04-25 00:56:08 -06:00
Yasin cee7e71400 BAEL-88 Testing in Spring Boot (#1722) 2017-04-25 07:05:40 +02:00
Eunice A. Obugyei a7b7ccad2d Introduction to JAX-WS (#1696)
* Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]

* Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]

* Removed unnecessary comment

* Added mockito-core dependency

* Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]
Added Exception test cases

* Applied baeldung formatter in Eclipse

* Merged from https://github.com/eugenp/tutorials
Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]

* Revert "Merged from https://github.com/eugenp/tutorials"

This reverts commit 74447a163b9e3f244a2578315fbdb525d20cd16b.

* Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]

* Removed mockito version from properties

* Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]
2017-04-24 22:55:34 -06:00
lor6 c10f709e17 Bael 830 (#1682)
* java http request

* httpclient code

* small fixes

* remove try catch
2017-04-24 21:24:41 -05:00
maibin 4eb3f44b14 HashSet and TreeSet comparison (#1698) 2017-04-24 20:29:26 -05:00
lor6 91552e127d update boot version (#1720) 2017-04-24 20:52:34 +02:00
pedja4 b0df0937f2 BAEL-845 TransferQueueTest.java (#1719) 2017-04-24 16:16:05 +02:00
Chandravadan S 4d17d26405 Bael 697 - @ConfigurationProperties in Spring Boot (#1712)
* Initial commit for @ConfigurationProperties

(BAEL-697)

* Additional validations added

(BAEL-697)

* Formatting changes

* Updated main properties file

* Minor changes to pass TravisCI

(BAEL-697)

* Optimisation of imports

(BAEL-697)

* Renamed ConfigPropertiesTest to Integration test

(BAEL-697)
2017-04-24 08:38:53 +02:00
Tian Baoqiang 8b028a2946 BAEL-758 (#1704)
* BAEL-758

* remove unnecessary pom configurations
2017-04-24 08:36:58 +02:00
Doha2012 48c0e41791 fix commons-logging issue (#1714)
* 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
2017-04-23 22:10:56 +02:00
dhruba619 cf24ede9ab BAEL-786 Updated custom test reports 2017-04-24 01:04:35 +05:30
KevinGilmore c4d9be177f BAEL-761: Updated README.md (#1713)
* 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
2017-04-23 13:51:45 -05:00
KevinGilmore 9c9c0ae2a0 BAEL-555: Updated README.md (#1711)
* 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
2017-04-23 12:08:32 -05:00
slavisa-baeldung 5532225228 BAEL - 318 - removing commented out code 2017-04-23 13:27:57 +01:00
slavisa-baeldung 8b39484abc Merge pull request #1710 from eugenp/sybraimah-master
BAEL-318 - springmvc-webform
2017-04-23 14:18:32 +02:00
Artem V. Navrotskiy 52d1fe174f Fix whenSerializingDateToISO8601_thenSerializedToText test. (#1593)
Suddenly,  "1970-01-01T02:30:00.000+0000" is not a correct ISO 8601 date: it mix basic timezone format and extended date and time format.
Correct value looks like:

 * 1970-01-01T02:30:00.000+00:00 (Extended format)
 * 19700101T023000.000+0000 (Basic format)
2017-04-23 13:31:12 +02:00
madven s a8b633701d minor java8 update (#1684)
Anonymous new Consumer<String>() replaced with method reference.
2017-04-23 13:27:12 +02:00
Thang Le f4d56d7765 upgrade version (#1706)
* upgrade version

* upgrade spring to 4.3.7
2017-04-23 13:26:31 +02:00
slavisa-baeldung f508eccfdc BAEL - 318 - resolving conflicts 2017-04-23 08:50:57 +01:00
slavisa-baeldung 64f0428e00 Merge remote-tracking branch 'origin/master' 2017-04-23 08:18:56 +01:00
Doha2012 9f9dc8770a cleanup generated files (#1705)
* 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
2017-04-22 19:58:20 +02:00
Grzegorz Piwowarek f88d40442c Refactor MySQLAutoconfiguration (#1703) 2017-04-22 14:19:39 +02:00
Adam InTae Gerard 7a96484ba3 BAEL-86 (#1535)
* BAEL-86

* Added Themes and Beans

* Improvements and fully tested locally
2017-04-21 22:00:42 -05:00
Daniele Demichelis caab7829e7 Bael 555 spring remoting with amqp (#1654)
* 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 experiments with amqp

* First experiments with amqp

* Firts example of remoting working with AMQP

* Server code fixed

* Client code fixed

* Removed wrongly pushed work folder

* Removed derby.log file.

* Fixed client and server package.

* Fixed indentation.
2017-04-21 21:31:56 -05:00
Alexandre Lombard 2a3030dd98 BAEL 767 - Moving module apache-commons-math to module libraries (#1701)
* BAEL 767 - Introduction to apache commons math

* BAEL 767 - Moving examples to test classes

* BAEL 767 - Renaming tests with BDD convention

* BAEL 767 - Introduction to apache commons math

* BAEL 767 - Moving examples to test classes

* BAEL 767 - Renaming tests with BDD convention

* BAEL 767 - Moving module apache-commons-math to module libraries

* BAEL 767 - Delete directory apache-commons-math
2017-04-21 10:38:01 +02:00
yetanotherallisonf bac494c0be Update README.md for BAEL-748 2017-04-20 21:09:31 -05:00
Tomasz Lelek c70ee03a24 BAEL-846 code for a syncrhonous queue article (#1699)
* code for the unsafe article

* more descriptive example

* proper eng

* better test name

* free memory call

* java 8 style

* BAEL-814 Added call to freeMemory() in off-heap test

* BAEL-846 code for a syncrhonous queue article

* BAEL-814 Switched from Random to ThreadLocalRandom
2017-04-21 00:31:35 +02:00
Tomasz Lelek 2648a4ec25 Bael 845 transfer queue (#1697)
* BAEL-845 tranferqueue article

* BAEL-845 m to m example

* BAEL-845 move code to test

* BAEL-845 use tryTransfer

* BAEL-845 proper if logic

* BAEL-845 proper test

* BAEL-845 robust test
2017-04-20 23:05:44 +02:00
Parth Joshi 76673a33f1 Hibernate 5 Multitenancy tutorial (#1150)
* First commit for Hibernate 5 Multitenancy tutorial

* Changes to fix the code.

* Added hibernate begin transaction code.

* Changes to solve the multitenancy issue.

* Changes to integrate h2

* Changing configs to solve the error

* Changes to solve h2 error...

* Changes to fix H2 error.

* Cleaned POM.xml and changed entity name

* Changes table name to supplier

* Removed MySql Dep from pom.xml.

* Changes as per comment in the PR...
2017-04-20 07:55:34 -05:00
Luís Soares 4b19cb6bcc Charge a credit card with Stripe (#1556)
* Charge a credit card with Stripe

Spring Boot project that includes Stripe Java library and does a
charge to a credit card.

BAEL-742

* Use ExceptionHandler for Stripe exceptions

BAEL-742

* Show more detail at result page

BAEL-742

* Show more detail at result page

BAEL-742
2017-04-20 07:52:42 -05:00
Tomasz Lelek e37ab29a42 BAEL-845 transfer queue (#1676)
* BAEL-845 tranferqueue article

* BAEL-845 m to m example

* BAEL-845 move code to test

* BAEL-845 use tryTransfer

* BAEL-845 proper if logic
2017-04-20 02:25:42 +02:00
lor6 aa08d1262b spring boot mysql autoconfiguration (#1639)
* spring boot mysql autoconfiguration

* exclude autoconfig from other main classes

* update property condition
2017-04-19 17:49:09 -05:00
Doha2012 87bc04ae98 minor fix (#1694)
* 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
2017-04-19 22:57:17 +02:00
lor6 4c6b529571 Bael 736 ver2 (#1693)
* add notnull

* fix formatting
2017-04-19 21:03:01 +02:00
Doha2012 2d1379a46a fix dependency issues (#1691)
* 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
2017-04-19 20:37:34 +02:00
Grzegorz Piwowarek bc6bcc3caf Mark integration tests (#1690) 2017-04-19 19:27:30 +02:00
Doha2012 5e1e320cee exclude commons-logging dependency (#1686)
* 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
2017-04-19 16:14:10 +02:00
lor6 699cf9d77b Bael 736 (#1685)
* dynamic validation

* small fixes

* remove set property

* fix conflicts

* fix conflicts

* add optional

* small fix

* update get
2017-04-19 14:27:02 +02:00
Vivek Kumar 54d24521af add modules for spring boot custom starter BAEL-762 (#1661) 2017-04-19 11:04:12 +02:00
Mateusz Mrozewski 709857b9aa BAEL-427 Examples for topic and fanout exchanges. (#1648)
* BAEL-427 Examples for topic and fanout exchanges.

* BAEL-427 Separating code for the new article from the old one
2017-04-19 10:02:42 +02:00
Anton f674f12eac BAEL-748 updated Quick Guide to @Value (#1663)
* BAEL-748 quick guide to @Value

* BAEL-748 changes from review

* BAEL-748 inject comma-separated values into array
2017-04-18 22:36:43 -05:00
Doha2012 74688cf30e remove log4j dependencies (#1675)
* 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
2017-04-18 22:39:13 +02:00
mariiakulik a5f4ae927d Readme files update (#1680)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Create README.md

* Update README.md

* Create README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.MD

* Update README

* Rename README to README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2017-04-18 22:20:20 +02:00