Commit Graph

5260 Commits

Author SHA1 Message Date
Tomasz Sobala 609ba4ab1d [BAEL-829] Number of occurrences of a char in a String (#1785)
* injecting beans

* XML-based configuration replaced with Java Config.

* [BAEL-431] Exploring TestRestTemplate.

* Revert of evaluation task "XML-based configuration replaced with Java Config."

This reverts commit 66471cf0574c85f8ff514ec4caf5ba44ebba1a74.

* Revert of evaluation task "injecting beans"

This reverts commit d2ac20185e636245bc0ae0b4ccb952965de88e28.

* [BAEL-431] fix to the tests in TestRestTemplateBasicLiveTest.

* [BAEL-431] added more meaningful user and password for auth.

* [BAEL-820] examples of wait() and sleep() methods.

* [BAEL-820] wait() and sleep() examples.

* [BAEL-829] number of occurences of a char in a String.

* [BAEL-829] printlns changed to assertions.

* [BAEL-829] improved names of the tests.
2017-05-12 16:43:28 +02:00
Tomasz Lelek 5cfb7b0979 BAEL-906 code for min max priority queue and evicting queue (#1827)
* BAEL-906 code for min max priority queue and evicting queue

* BAEL-906 simplify example

* BAEL-906 test method renamed
2017-05-12 14:12:22 +02:00
Walter Gómez c5766f2bfe Feature/kotlin equality (#1831)
* 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
2017-05-12 09:36:35 +02:00
Grzegorz Piwowarek dd3dab15cd feign-client fix (#1830) 2017-05-11 12:24:14 -05:00
Doha2012 35231d0c19 cleanup parent dependencies (#1828)
* 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
2017-05-11 11:02:04 -05:00
iaforek 9fd2a911b1 BAEL-838 Re-adding last changes with regexp and new line strings. (#1825)
* 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.
2017-05-11 12:22:34 +02:00
buddhini81 e8e3234647 Add renamed tests for BAEL-876 (#1822)
* Deleting file AccountHolderUnitTest

* Deleting file CyclicDependancyUnitTest

* Delete

InfiniteRecursionWithTerminationConditionUnitTest

* Delete file UnintendedInfiniteRecursionUnitTest

* Create .test

* Add renamed tests for BAEL-876

* Delete file
2017-05-11 10:30:32 +02:00
iaforek c53095a3d7 BAEL-838 Refromatted code using formatter.xml. Added Assert.assertEquals import. Renamed test to follow convention. Reordered tests.
(cherry picked from commit d9d35f8)
2017-05-11 00:45:24 +02:00
iaforek b29cb580a6 BAEL-838 Corrected Helper class and associated empty string test case. Added StringUtils.substing tests.
(cherry picked from commit 124966a)
2017-05-11 00:45:16 +02:00
iaforek 6e589636ed BAEL-838 Initial code showing how to remove last char - helper class and tests.
(cherry picked from commit d889dba)
2017-05-11 00:45:04 +02:00
slavisa-baeldung c0164a3d6c Merge pull request #1814 from eugenp/report-generation-ref
Idiomatic reporting refactor
2017-05-10 17:19:20 +02:00
Yasin d67d03bb17 BAEL-899 Guide to @RepeatedTest in Junit 5 (#1815)
* BAEL-88 Testing in Spring Boot

* BAEL-88 Integration tests fixed.

* BAEL-905 Improvement task for spring boot testing

* BAEL-905 Improvement task for spring boot testing

* BAEL-926 Upgrade Junit 5 dependencies to use M4

* BAEL-899 Guide to @RepeatedTest in Junit 5
2017-05-10 08:53:28 +02:00
Doha2012 9692ae36fb add parent to pom (#1816)
* 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
2017-05-09 23:37:43 +03:00
pivovarit fd3f569f20 Refactor 2017-05-09 21:44:39 +02:00
pivovarit 6856ff42ad Idiomatic refactor 2017-05-09 19:47:06 +02:00
slavisa-baeldung 4e8a466b45 BAEL-768 - Simplifying report generation code 2017-05-09 14:25:36 +01:00
slavisa-baeldung 9f031bb287 Merge remote-tracking branch 'origin/master' 2017-05-09 14:24:35 +01:00
buddhini81 1c1885d37a Code for BAEL-876 (#1800)
* Create new folder stackoverflowerror

* Committing code for BAEL-876

* Delete the file

* Feature/beal 642 classtoinstancemap (#1801)

* BAEL-642 ClassToInstanceMap example added

* BAEL-642 Improved example for ClassToInstanceMap

* Reverted change in pom.xml

* BAEL-642 Move the ClassToInstanceMap examples to guava module as unit tests

* BAEL-642 changed test names to given_when

* Fix tests

* Fix tests

* BAEL-521 (#1799)

* refactor: Moved JHipster Monolithic to a subfolder

* feat: Add JHipster Microservice modules

closes BAEL-521

* BAEL-926 Upgrade Junit 5 dependencies to use M4 (#1802)

* BAEL-88 Testing in Spring Boot

* BAEL-88 Integration tests fixed.

* BAEL-905 Improvement task for spring boot testing

* BAEL-905 Improvement task for spring boot testing

* BAEL-926 Upgrade Junit 5 dependencies to use M4

* BAEL-252 A Java Client to Consume a WebSockets API (#1805)

* @BAEL-252 - Initial checkin

* BAEL-252 : Added junit tests

* @BAEL-252(A Java Client to consume a WebSockets API) : Fixed the junit name

* BAEL-252 A Java Client to Consume a WebSockets API
Fixed junit test name as per the standard

* Double brace (#1798)

* BAL-36 File size api in java and apache commons IO

* BAEL-282 grep in java - fixes after code review

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor

* BAEL-519 Moved all supporting classes to main source

* BAEL-519 Moved all supporting classes to main source

* BAEL-519 Moved asserts and test classes in test folder.

* BAEL-519 moved test related producer and consumer to src.

* BAEL-586 Guide to Guava BiMap.

* BAEL-587 formatted code.

* BAEL-519 LMAX Disruptor

* BAEL-587 resolved merge

* BAEL-587 Resolved merge

* BAEL-519 Removed disruptor link.

* BAEL-519 Reverted Guava changes

* RFQ-587 Added disruptor as a separate module.

* BAEL-519 Disruptor changes.

* BAEL-519 Removed disruptor from core-java module.

* BAEL-729 Expose additional information programmatically in /info
endpoint of actuator.

* BAEL-824 Usage of Double braces in Java.

* Deleted sample project

* updated test and names.

* BAEL-870 How to Call a Method During Runtime Using Reflection (#1806)

* small fix (#1809)

* BAEL-870 README (#1810)

* 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

* DoubleBraceTest refactor

* Bael 883 phaser (#1794)

* BAEL-883 Code for the Phaser

* BAEL-883 remove comments

* Refactoring code for BAEL-876

* Refactoring code for BAEL-876

* Refactoring code for BAEL-876

* Delete the class

* Refactor code for BAEL-876

* Refactor code for BAEL-876

* Refactor code for BAEL-876

* Create new folder

* Unit tests for BAEL-876

* Delete .test

* BAEL-876 Formatting
2017-05-09 13:58:29 +02:00
slavisa-baeldung 737d2e1b62 Merge remote-tracking branch 'origin/master' 2017-05-09 12:35:04 +01:00
Tomasz Lelek 13035331e3 Bael 883 phaser (#1794)
* BAEL-883 Code for the Phaser

* BAEL-883 remove comments
2017-05-09 04:28:12 +02:00
pivovarit b5f816ae2d DoubleBraceTest refactor 2017-05-08 19:45:28 +02:00
KevinGilmore f8d14b711a BAEL-870 README (#1810)
* 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
2017-05-08 09:26:11 -05:00
lor6 cb57a8d0c6 small fix (#1809) 2017-05-08 14:46:14 +02:00
slavisa-baeldung aada5952c3 Merge remote-tracking branch 'origin/master' 2017-05-08 10:27:49 +01:00
Raúl Juárez dcc4045371 BAEL-870 How to Call a Method During Runtime Using Reflection (#1806) 2017-05-07 19:54:23 -05:00
Muhammed Almas 46d9022879 Double brace (#1798)
* BAL-36 File size api in java and apache commons IO

* BAEL-282 grep in java - fixes after code review

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor

* BAEL-519 Moved all supporting classes to main source

* BAEL-519 Moved all supporting classes to main source

* BAEL-519 Moved asserts and test classes in test folder.

* BAEL-519 moved test related producer and consumer to src.

* BAEL-586 Guide to Guava BiMap.

* BAEL-587 formatted code.

* BAEL-519 LMAX Disruptor

* BAEL-587 resolved merge

* BAEL-587 Resolved merge

* BAEL-519 Removed disruptor link.

* BAEL-519 Reverted Guava changes

* RFQ-587 Added disruptor as a separate module.

* BAEL-519 Disruptor changes.

* BAEL-519 Removed disruptor from core-java module.

* BAEL-729 Expose additional information programmatically in /info
endpoint of actuator.

* BAEL-824 Usage of Double braces in Java.

* Deleted sample project

* updated test and names.
2017-05-07 21:04:35 +02:00
Kalyan 0bcd8514cf BAEL-252 A Java Client to Consume a WebSockets API (#1805)
* @BAEL-252 - Initial checkin

* BAEL-252 : Added junit tests

* @BAEL-252(A Java Client to consume a WebSockets API) : Fixed the junit name

* BAEL-252 A Java Client to Consume a WebSockets API
Fixed junit test name as per the standard
2017-05-07 20:07:36 +02:00
Yasin 1e6f0da46a BAEL-926 Upgrade Junit 5 dependencies to use M4 (#1802)
* BAEL-88 Testing in Spring Boot

* BAEL-88 Integration tests fixed.

* BAEL-905 Improvement task for spring boot testing

* BAEL-905 Improvement task for spring boot testing

* BAEL-926 Upgrade Junit 5 dependencies to use M4
2017-05-07 19:41:55 +02:00
Felipe Reis 2c23aa6ce9 BAEL-521 (#1799)
* refactor: Moved JHipster Monolithic to a subfolder

* feat: Add JHipster Microservice modules

closes BAEL-521
2017-05-07 19:00:32 +02:00
pivovarit 2b8abda078 Fix tests 2017-05-07 18:27:38 +02:00
pivovarit 7292b0de13 Fix tests 2017-05-07 18:22:39 +02:00
Mateusz Mrozewski b2dbc9d2b9 Feature/beal 642 classtoinstancemap (#1801)
* BAEL-642 ClassToInstanceMap example added

* BAEL-642 Improved example for ClassToInstanceMap

* Reverted change in pom.xml

* BAEL-642 Move the ClassToInstanceMap examples to guava module as unit tests

* BAEL-642 changed test names to given_when
2017-05-07 16:32:42 +02:00
slavisa-baeldung 382072c51e Merge remote-tracking branch 'origin/master' 2017-05-07 11:52:36 +01:00
pivovarit 960e8a3b44 Merge cucumber -> testing 2017-05-07 09:49:56 +02:00
slavisa-baeldung 4541f7f58a Merge remote-tracking branch 'origin/master' 2017-05-07 08:07:16 +01:00
Kalyan 4a3662b4ab BAEL-252(A Java Client to consume a WebSockets API) (#1791)
* @BAEL-252 - Initial checkin

* BAEL-252 : Added junit tests
2017-05-06 22:25:39 +02:00
pivovarit 2c790c40cb Refactor LOG 2017-05-06 21:24:55 +02:00
lor6 1e691b3a75 period and duration test (#1795) 2017-05-06 21:21:15 +02:00
pivovarit 6bda038a28 Fix tests 2017-05-06 20:57:50 +02:00
Raúl Juárez 934fc3ff39 BAEL-870 How to Call a Method During Runtime Using Reflection (#1789)
* BAEL-870 How to Call a Method During Runtime Using Reflection

* Update OperationsUnitTest.java

Rename Test Name
2017-05-06 13:00:40 -05:00
Grzegorz Piwowarek cae4e4c78d Update pom.xml 2017-05-06 15:07:27 +02:00
Grzegorz Piwowarek e87b8c36bb Update pom.xml 2017-05-06 14:18:06 +02:00
pivovarit ec5c07bb10 Refactor CustomisedReports 2017-05-05 18:49:49 +02:00
pivovarit 40621d6bd7 Update tests 2017-05-05 17:53:59 +02:00
pivovarit 1a54133472 Refactor multipart upload 2017-05-05 17:50:36 +02:00
pivovarit 744799630f Fix Spring 5 tests 2017-05-05 17:45:28 +02:00
lor6 e72744dbd0 compile functional test (#1788) 2017-05-05 17:35:44 +02:00
slavisa-baeldung 1fcdc1314e Merge remote-tracking branch 'origin/master' 2017-05-05 16:23:27 +01:00
Grzegorz Piwowarek 30df1541a1 Spring 5 reff (#1786)
* Fix Spring5 snippets

* Refactor Spring 5 samples

* Refactor Spring 5 samples

* Enable Spring5
2017-05-05 16:26:25 +02:00
pivovarit 67968089a0 Use newer runners 2017-05-05 16:11:13 +02:00