Commit Graph

552 Commits

Author SHA1 Message Date
Alexandre Lombard 223cc5357f BAEL-874 - How to convert stacktrace to String in Java? (#1771) 2017-05-04 12:20:03 +02:00
Grzegorz Piwowarek 05807aebed Hibernate5 fix (#1774)
* Reduce logging

* Reduce logging

* Reduce logging

* Reduce logging

* Reduce logging

* Optimize build

* Remove testng from core-java

* Fix hibernate tests

* Exclude hibernate5

* Fix settest

* XStream refactor

* Refactor

* Refactor
2017-05-03 18:38:08 +02:00
lor6 bb1ab4a775 BAEL-863 jdbc test (#1764)
* BAEL-863 jdbc test

* Reduce logging

* Reduce logging

* Reduce logging

* Reduce logging

* Reduce logging

* Optimize build

* Remove testng from core-java
2017-05-03 11:36:17 +02:00
Grzegorz Piwowarek 6e86dc27ff Optimize build and reduce logging (#1772)
* Reduce logging

* Reduce logging

* Reduce logging

* Reduce logging

* Reduce logging

* Optimize build

* Remove testng from core-java
2017-05-03 09:29:10 +02:00
Jesus Boadas a2b327cc9d Move JDO from core-java to libraries (#1758) 2017-04-30 19:26:23 +02:00
Tomasz Lelek b9484b244b BAEL-881 copyOnWriteArrayList tests (#1750) 2017-04-30 08:21:11 +02:00
slavisa-baeldung 68a58253d2 Merge pull request #1747 from mfarid/string-split
String split tests
2017-04-30 07:05:11 +02:00
Danil Kornishev 772002f3ad Dynamic Proxy (#1702) 2017-04-29 20:36:53 +02:00
KevinGilmore 594920af9b BAEL-828 README (#1751)
* 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
2017-04-29 20:36:05 +02:00
Grzegorz Piwowarek 0f300ece2e JDO -> Integration (#1752)
* JDOIntegration

* JDOIntegration
2017-04-29 20:10:52 +02:00
Tomasz Lelek 9a3df1fe76 Bael 856 long adder (#1748)
* BAEL-856 code for long adder and accumulator

* BAEL-856 rearange packages

* BAEL-856 Formatting

* BAEL-850 accumulator accumulates values

* BAEL-881 use Long::sum
2017-04-28 19:33:06 +02:00
Tomasz Lelek 01cad343f7 Bael 851 mapped byte buffer (#1742)
* BAEL-851 code for the MappedByteBuffer

* BAEL-851 formatting

* SetTest refactor (#1724)

* Bael 850 (#1744)

* BAEL-850 ConcurentskipLIst

* BAEL-850 formatting

* BAEL-850 Formatting

* spring 5 work

* SetTest refactor (#1724)

* BAEL-850 use lambda

* BAEL-850 no need to casting

* Build optimization (#1746)

* Build optimization

* Build optimization

* [BAEL-820] Difference between wait() and sleep() in Java (#1708)

* 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.

* remove utility classes (#1733)

* remove utility classes

* remove httpclient, extend http

* move code to core-java
2017-04-28 17:02:08 +02:00
lor6 e83002ce99 remove utility classes (#1733)
* remove utility classes

* remove httpclient, extend http

* move code to core-java
2017-04-28 06:37:51 -05:00
Mohd Farid 14f518107e String split tests 2017-04-28 16:46:07 +05:30
Tomasz Sobala 1c24e0a2cf [BAEL-820] Difference between wait() and sleep() in Java (#1708)
* 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.
2017-04-28 10:34:28 +02:00
Grzegorz Piwowarek 5b5003b391 Build optimization (#1746)
* Build optimization

* Build optimization
2017-04-28 09:34:39 +02:00
Tomasz Lelek ac8700ff65 Bael 850 (#1744)
* BAEL-850 ConcurentskipLIst

* BAEL-850 formatting

* BAEL-850 Formatting

* spring 5 work

* SetTest refactor (#1724)

* BAEL-850 use lambda

* BAEL-850 no need to casting
2017-04-27 19:35:22 +02:00
Grzegorz Piwowarek 2bebf73db2 SetTest refactor (#1724) 2017-04-27 16:58:13 +02:00
Tomasz Lelek 966d2ea30f Bael 850 (#1732)
* BAEL-786 Updated custom test reports

* BAEL-850 ConcurentskipLIst

* BAEL-850 formatting

* BAEL-856 code for long adder and accumulator (#1723)

* BAEL-856 code for long adder and accumulator

* BAEL-856 rearange packages

* BAEL-856 Formatting

* BAEL-742 Create README for Stripe API article (#1731)

* 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

* Merge aspectj -> spring-aop (#1737)

* BAEL-88 Integration tests fixed. (#1739)

* BAEL-88 Testing in Spring Boot

* BAEL-88 Integration tests fixed.

* Merge assertj -> testing (#1738)

* Guide to JDO (#1736)

* Guide to JDO

* Guide to JDO

* Guide to JDO

* Guide To JDO

* BAEL-86: Corrected URL in README.md (#1740)

* 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-850 Formatting
2017-04-27 13:26:42 +02:00
Jesus Boadas bf02497b7c Guide to JDO (#1736)
* Guide to JDO

* Guide to JDO

* Guide to JDO

* Guide To JDO
2017-04-26 21:30:04 +02:00
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
Jesus Boadas b0e15fcca0 Guide to JDO (#1730)
* Guide to JDO

* Guide to JDO

* Guide to JDO
2017-04-25 20:54:32 +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
maibin 4eb3f44b14 HashSet and TreeSet comparison (#1698) 2017-04-24 20:29:26 -05:00
pedja4 b0df0937f2 BAEL-845 TransferQueueTest.java (#1719) 2017-04-24 16:16:05 +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
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
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
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
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
Doha2012 7525544e09 use standard logback.xml (#1666)
* 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
2017-04-17 18:41:23 +02:00
yetanotherallisonf cdab6acdbf Update README.md (#1657) 2017-04-16 20:01:32 +02:00
Abhinab Kanrar c313256e8e log forging (#1659)
* jvm log forging

* jvm log forging

* jvm log forging

* log forging
2017-04-16 10:44:56 +02:00
pedja4 99a0b6e2f1 Update UnsafeTest.java (#1655) 2017-04-15 18:32:41 +02:00
Tomasz Lelek 5e0d1e88ef BAEL-814 unsafe (#1645)
* code for the unsafe article

* more descriptive example

* proper eng

* better test name

* free memory call

* java 8 style
2017-04-15 17:34:56 +02:00
Tomasz Lelek a5879bf8b7 Bael 822 thread local (#1625)
* code for thread local article

* userNameSecret

* better to string

* fix typo
2017-04-13 21:16:53 -05:00
Abhinab Kanrar 782c5565fe jvm log forging (#1643)
* jvm log forging

* jvm log forging

* jvm log forging
2017-04-13 10:08:00 +02:00
João Melo 1a288b5911 Code for Avoiding ConcurrentModificationException when iterating and removing (#1617) 2017-04-10 12:44:16 +02:00
Walter Gómez a78a4dc544 Update on README (#1619)
* 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 articles to README
2017-04-10 07:21:44 +02:00
Grzegorz Piwowarek 60c2edaaeb StringTokenizerTest refactor (#1611)
* TokenizerRefactor

* TokenizerRefactor

* TokenizerRefactor
2017-04-08 13:49:01 +02:00
Grzegorz Piwowarek 196ea6b5f7 Refactor Tokenizer (#1605) 2017-04-07 18:15:19 +02:00
Abhinab Kanrar 7ab1e37356 cusstom token (#1588)
* rest with spark java

* 4

* Update Application.java

* indentation changes

* spring @requestmapping shortcuts

* removing spring requestmapping and pushing spring-mvc-java

* Joining/Splitting Strings with Java and Stream API

* adding more join/split functionality

* changing package name

* testcase change

* adding webutils

* adding testcase for WebUtils and ServletRequestUtils

* adding testcase

* spring-security-stormpath

* adding ratpack module

* adding pom.xml

* adding following modules with updated testcase : DB, Filter, Json

* adding spring-boot custom banner tutorial

* changing banner format in plain text

* Delete banner.txt~

* Delete b.txt~

* CORS in JAX-RS

* ratpack with google guice

* adding factory instance example

* quick-guide-to-the-java-stringtokenizer

* Update Application.java

* Delete MovieCrudService.java~

* token customization

* Update Application.java

* adding csv test

* adding csv test

* Update Application.java

* adding collection module
2017-04-07 16:33:10 +02:00
Walter Gómez 22dda8c2be Fix/readme update (#1602)
* 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 Readme for core-java and spring-hibernate4

* Updating repo
2017-04-07 08:09:53 +02:00
gitterjim-I 57fe1fce37 Change test names once more (#1596)
* article Bael-667 initial commit.

* Switch to use logging framework for output.

* Make code more concise. Refactor as suggested.

* modify test method names
2017-04-05 21:40:09 +02:00
Abhinab Kanrar 50ff1d18c4 quick-guide-to-the-java-stringtokenizer (#1587)
* rest with spark java

* 4

* Update Application.java

* indentation changes

* spring @requestmapping shortcuts

* removing spring requestmapping and pushing spring-mvc-java

* Joining/Splitting Strings with Java and Stream API

* adding more join/split functionality

* changing package name

* testcase change

* adding webutils

* adding testcase for WebUtils and ServletRequestUtils

* adding testcase

* spring-security-stormpath

* adding ratpack module

* adding pom.xml

* adding following modules with updated testcase : DB, Filter, Json

* adding spring-boot custom banner tutorial

* changing banner format in plain text

* Delete banner.txt~

* Delete b.txt~

* CORS in JAX-RS

* ratpack with google guice

* adding factory instance example

* quick-guide-to-the-java-stringtokenizer

* Update Application.java

* Delete MovieCrudService.java~
2017-04-04 12:32:55 +02:00
gitterjim-I 2a76b9c656 change test names, bael-667 (#1581)
* article Bael-667 initial commit.

* Switch to use logging framework for output.

* Make code more concise. Refactor as suggested.

* modify test method names
2017-04-04 00:30:45 +02:00
dhruba619 c817aec2dc BAEL-716 Junit vs testng improvement updated formatting 2017-04-02 21:20:31 +05:30
dhruba619 d85f1640d7 BAEL-716 Junit vs testng improvement 2017-04-02 16:35:58 +05:30