151 Commits

Author SHA1 Message Date
Sanjay Patel
cddf858c05 BAEL-5246: pom cleanup (#4620)
* BAEL-5246: round 1 of pom cleanup - upto "jersey" project

* BAEL-5246: Initial pass for pom cleanup - upto spring-cloud

* BAEL-5246: pom cleanup upto testing-modules/junit5

* BAEL-5246: pom cleanup - upto xstream

* BAEL-5246: pom cleanup - last round (before review)
2018-07-12 09:04:54 +02:00
Denis
3b7cb37379 BAEL-1165 Resilience4j (#4312)
* BAEL-1165 Resilience4j

* BAEL-1165 Resilience4j

Applied editor's suggestions
2018-07-08 11:04:24 +02:00
Dhawal Kapil
11edaaf4bc BAEL-1712 Fix tests in libraries project (#4630)
* BAEL-1712 Fix tests in libraries project

-Renamed 45 test files to standard naming conventions.
-Updated maven dependencies in libraries/pom.xml
-Fixed assertion errors in some tests.
-Included libraries project back into parent pom.xml

* BAEL-1712 Fix tests in libraries project

-Downgraded apache maven pmd plugin from 3.9.0 to 3.8 because pmd 6.0.1 present in pmd plugin 3.9.0 was unable to resolve classes having static final inner classes and was resulting into build failure.

* BAEL-1712 Fix libraries

-Fixed JodaTimeUnitTest
2018-07-06 17:33:23 +02:00
Aprian Diaz Novandi
d757050209 BAEL-1200 JavaPoet (#4500)
* Initial commit

* Implement JavaPoet examples
2018-06-20 00:32:28 +02:00
Grzegorz Piwowarek
2b0c6ed655 Kiview ftpclient (#4456)
* Add example for FTP client

Using Apache Commons Net

* Add missing resource

* Fix wrong file download in integration test

* Add example for using FTP support in JDK

* Close input stream after copy

* Fix test name
2018-06-13 08:19:03 -07:00
Seun Matt
3f9cf77272 Example Code for BAEL-1425 (#4394)
* added example code for Java mail

* added examp code for BAEL-1425

* updated example code for BAEL-1425
2018-06-02 22:13:07 -07:00
christopherfranklin
ca5a7d2e40 [BAEL-1659] Create REST microservices with javalin (#4145)
* [BAEL-1615] Code to support article.

* Adding example of provides...with

* Adding uses to main module

* [BAEL-1659] Creat REST microservices with javalin

* [BAEL-1659] Update article code based on feedback

* Revert parent pom change

* Using Optional instead of null
2018-05-12 06:23:23 +02:00
amit2103
f2128ad054 Bael 5249 cleanup (#4108)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* [BAEL-5249] - 21.02 - pom cleanup - formatted pom.xml
2018-04-26 14:37:47 +02:00
amit2103
ba1ba8455d Bael 5249 (#4052)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* Defined the integration profile in the parent

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* Spring-dependency injection

* BAEL-1683-Guide to Java Clock class

* BAEL-1683-Guide to Java Clock class

* added article link

* added article link

* fixed link

* refactoring packages and using generics

* BAEL-717: Singleton Session Bean. (#4046)

* BAEL-717: Singleton EJB Bean

Files for BAEL-717:Singleton EJB Bean.

* BAEL-717: Singleton EJB Bean

Corrected Indentation.

* BAEL-717: Singleton EJB Bean

Corrected Indentation.

* BAEL-717: Singleton EJB Bean

Corrected Indentation.

* BAEL-717: Singleton EJB Bean

Corrected Indentation.

* BAEL-717: Singleton EJB Bean

Changed artifactId value.

* BAEL-717: Singleton EJB Bean.

Added module for Singleton EJB Bean.

* BAEL-717: Singleton EJB Bean. 

Removed Singleton EJB Bean Module.

* BAEL-717: Singleton EJB Bean

Changed the JNDI Lookup name.

* BAEL-717: Singleton EJB Bean. 

Added the "singleton-ejb-bean" module.

* BAEL-717: Singleton EJB Bean.

Corrected Indentation.

* BAEL-717: Singleton EJB Bean

Corrected Indentation.

* BAEL-717: Singleton EJB Bean.

Corrected Indentation.

* BAEL-717: Singleton EJB Bean.

Corrected Indentation.

* BAEL-717:Singleton EJB Bean.

Corrected Indentation.

* BAEL-717:Singleton EJB Bean.

Corrected Indentation.

* BAEL-717: Singleton Session Bean.

Added class for Bean-Managed concurrrency.
Changed class name from CountryStateCacheBean to CountryStateContainerManagedBean.

* BAEL-717: Singleton Session Bean.

Changing the name of the class to CountryStateContainerManagedBean.

* BAEL-717: Singleton Session Bean.

Added method to test Bean-Managed concurrency.

* Get Latest.

* deleting CountryStateBeanManagedBean for new file.

* deleting CountryStateCacheBean for new file.

* deleting CountryStateContainerManagedBean for new file.

* BAEL-717: Singleton Session Bean.

Adding file for Bean with Bean-Managed concurrency.
Changing file name for original file to CountryStateContainerManagedBean with Container-Managed concurrency.

* Deleting file for new checkin.

* BAEL-717: Singleton Session Bean.

Added test case for Bean-Manged concurrency.
Change in JNDI names.

* BAEL-717: Singleton Session Bean.

Changed the assert method parameter order and null check in test cases.

* BAEL-717:Singleton Session Bean

Removed volatile keyword for the variable countryStatesMap. Marking it as final.

* [BAEL-1641] Find all pairs of numbers in an array that add up to a given sum (#3890)

* [BAEL-1641] Find all pairs of numbers in an array that add up to a given sum

* Commiting editor's suggested changes

* Commiting article Spring Data Reactive Mongo DB microservice in Kotlin

* Revert commit for BAEL 1687 - Moving those files to a new branch

* Use AssertJ and BDD-style on unit testing

* BAEL 1639: added singleton examples and test. (#3977)

* BAEL-1701 (#4012)

* BAEL-1701: Create SQSApplication, add most functionality (still need to format, and add queue monitoring)

* BAEL-1701: Complete examples

* added article links

* removed folder "SpringDependencyInjection"
e Please enter the commit message for your changes. Lines starting

* BAEL-1706 - optional parameters in java (#4050)

* BAEL-1706 - optional parameters in java

* minor adjustments per review

* add tests
* fix formatting
* fix constructor issue with MultiVitaminOverloading

* BAEL-1706 Test name change, formatting

* working with booleans in thymeleaf (#4061)

* BAEL-1725 Java Pass-by-reference vs Pass-by-value - First commit (#4058)

* BAEL-1725 Java Pass-by-reference vs Pass-by-value - First commit

* updated test cases

* Update README.md

* Demonstration of Java assert

* BAEL-1679 (#3959)

* BAEL-1412 add java 8 spring data features

* BAEL-21 new HTTP API overview

* BAEL-21 fix executor

* BAEL-1432 add custom gradle task

* BAEL-1567 add samples of cookie and session in serlvet

* BAEL-1567 use stream api

* BAEL-1567 fix optional

* BAEL-1679 add query annotation jpa spring data

* BAEL-1679 added new junits

* BAEL-1679 use assertJ, use givenWhenThen naming convention

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* spring-data final

* service locator pattern

* service locator pattern

* variable name changes

* Spring MVC @PathVariable dot (.) get truncated

* testing changes

* Update README files (#4065)

* BAEL-1612: Update README

* BAEL-1562: Update README

* BAEL-1562: Update README

* BAEL-1369

* BAEL-1369

* BAEL-1369

* remove comments

* Back-link corrected (#4071)

* Back-link corrected (#4073)

* Back-link added (#4074)

* Back-link added (#4075)

* Back-link added (#4076)

* Back-link added (#4077)

* Back-link added (#4078)

* Back-link added (#4080)

* Back-link added (#4081)

* Back-link added (#4083)

* Back-link corrected (#4086)

* Back-link added (#4087)

* Back-link added (#4091)

* Back-link added (#4089)

* added example code for Java mail (#4101)

* Back-link added (#4099)

* Back-link added (#4088)

* Back-link added (#4082)

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* 21.02 - pom cleanup
2018-04-26 08:50:35 +02:00
Tom Hombergs
0bb4359ac3
Merge branch 'master' into BAEL-1423-jctools 2018-04-18 22:46:00 +02:00
amit2103
86cebe51d7 Bael 5926 (#4023)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* Aligned and Defined the common plugins in the parents

* Removed dependency-reduced-pom.xml from undertow module

* Reverting test fail modules with surefire testFailureIgnore ture

* Reverted wrong push with org.hsqldb
2018-04-18 08:04:50 +02:00
Tom Hombergs
45a4e47ddc
Merge branch 'master' into BAEL-1423-jctools 2018-04-16 22:06:44 +02:00
Denis Zhdanov
4073b10bbe BAEL-1423 Java Concurrency Utility with JCTools library
Addressed editor's comments
2018-04-16 01:39:16 +03:00
Adam InTae Gerard
8cc218de70 BAEL-1484: Synchronous OpenCSV (#3784)
* BAEL-1484: Synchronous OpenCSV

* corrected pom.xml and package

* Refactored for future async example

* Resource Link
2018-04-12 09:58:55 +03:00
Eugen Paraschiv
27086aab33 pom cleanup 2018-04-07 00:17:10 +03:00
Eugen Paraschiv
624c72b1c3 testing work 2018-04-07 00:02:53 +03:00
Eric Goebelbecker
b34473ebbb BAEL-1595 - JetS3t for S3 storage. (#3920) 2018-04-01 22:38:51 -07:00
Eric Goebelbecker
48b8d2c8a5 BAEL-1545 - Nats Tutorial (#3904) 2018-03-28 22:06:24 -07:00
Alessio Stalla
c8ad201cf2 Code for BAEL-1040 (#3897) 2018-03-27 14:02:22 -07:00
Radu Tamas
0f533405da Adding code and jUnits for BAEL-1435 2018-03-14 16:20:24 +02:00
Dhrubajyoti Bhattacharjee
ade15ea80a BAEL-1576 Guide to unirest (#3779) 2018-03-12 22:07:03 +01:00
Eugen Paraschiv
698e78150c testing cleanup 2018-03-04 18:05:37 +02:00
Allan Vital
6eeff13c45 BAEL-1368: infinispan article (#3633) 2018-02-11 14:36:33 +01:00
Grzegorz Piwowarek
d2a4e04f37
Merge branch 'master' into BAEL-1267-programmatic-tomcat 2018-02-03 12:37:01 +01:00
tamasradu
72c9fea7e2 Radutamas/bael 1487 (#3569)
* Code for test article: Different Types of Bean Injection in Spring

* Adding jUnits for test article: Different Types of Bean Injection in Spring

* BAEL-1265: Adding jUnit for article

* BAEL-1265: Closing ExecutorService in jUnit

* BAEL-1487: Adding test for AsyncHtpClient tutorial
2018-02-01 14:56:36 +01:00
mkuligowski
a48e062598 BAEL-1204 (#3508)
* Initialize smooks subproject

* Add Smooks dependency

* Delete files form badly created submodule

* Add domain classes

* Create class responsible for converting Orders

* Create class responsible for validating messages

* Add configuration file

* Add integration tests for Smooks converters and validators

* ADd en_US locale and fix date format

* Fix number format in expected messages

* Delete unused mapping

* Remove unused conversion to JSON

* Add assertion for ruleName in givenIncorrectOrderXML_whenValidate_thenExpectValidationErrors
2018-01-30 22:49:54 +01:00
Adi
3f3204e14f BAEL-1267: programmatically create, configure and run a tomcat server - remove unused dependencies 2018-01-26 21:18:17 +02:00
Donato Rimenti
db903618f3 BAEL-1321 Jetty 9 Server - Create, Configure programmatically (#3482)
* Implemented server factory and its tests. Changed Jetty version to latest, removed duplicate entry and added jetty-webapp dependency in pom.xml.

* Added missing war file and changed tests port for Travis build.
2018-01-23 00:28:45 +01:00
Adi
369ec4e181 BAEL-1267: programmatically create, configure and run a tomcat server 2018-01-19 00:06:57 +02:00
Hakan Özler
db04ce54f0 [BAEL-1455] add docker client test cases and update pom (#3375) 2018-01-08 16:40:32 +01:00
Doha2012
962dfd228f make sure modules using java8 (#3313) 2017-12-28 15:30:01 +01:00
Tomasz Lelek
2ef351434e Bael 1421 (#3222)
* BAEL-1421 live test of kafka streams

* BAEL-1421 Removed not-needed dependency

* BAEL-1421 rearannge

* BAEL-1421 rearannge

* fix pom
2017-12-24 06:33:37 +01:00
Loredana Crusoveanu
18c8747c98 BAEL-1248 google sheets api example (#3189)
* google sheets api example

* add dependencies

* rename test

* update test

* add comment

* trigger build

* trigger build

* Formatting to standards

* Getting rid of stray tabs

* Applying formatting rules to source files as well

* trigger build
2017-12-13 21:26:03 -07:00
hugosama1
30f78fc3ca BAEL-1345 - Apachefileupload (#3185)
* Added code for file upload controller

* changed to spring module
2017-12-12 14:01:06 +01:00
parth.karia
b1782b3c19 Resolve conflicts manually 2017-11-27 12:05:18 +05:30
parth.karia
043ea5e574 Removes jgrapht from libraries 2017-11-27 12:03:43 +05:30
parth.karia
41cf86b228 Merge upstream/master
Conflicts:
	libraries/pom.xml
2017-11-27 11:57:56 +05:30
hgomez
06985d5b0e chnaged client version to property 2017-11-13 08:48:57 -05:00
hgomez
d936889921 first version 2017-11-04 17:43:04 -04:00
Grzegorz Piwowarek
88adbb6421
Update pom.xml (#2897) 2017-10-29 07:21:20 +01:00
Shaimaa Shalaby
303db6c663 Intro to JDO Queries 2/2 article (#2871)
* ADD 
MyApp.java class
ProductItem.java class

modify:
package.jdo to add a named query
pom.xml to add datanucleus-jdo-query.jar

* remove sys.out statements
2017-10-27 23:42:37 +02:00
nabyla
7489cf6eff PR Bouncycastle article (#2882)
* Add bouncycastle depedencies

* Add certificate and private key to resources folder

* add bouncycastle code sample

* Add bouncycastle test
2017-10-27 11:46:29 +02:00
Anton
31f4581de3 BAEL-1041 Introduction to Caffeine (#2585)
* BAEL-748 quick guide to @Value

* BAEL-748 changes from review

* BAEL-748 inject comma-separated values into array

* BAEL-768 Introduction to Netty

* BAEL-768 remove commented code

* BAEL-861 Introduction to Awaitility

* BAEL-861 rename Test to UnitTest

* BAEL-1041 Introduction in Caffeine

* BAEL-1041 fix test

* BAEL-1041 fix formatting

* BAEL-1041 fix expected/actual order

* BAEL-1041 remove trailing underscore

* Formatting after merge

* BAEL-1041 add spaces between data and assertions

* BAEL-1041 soft values example

* BAEL-1041 remove duplicate dependency

* BAEL-1041 formatting fix

* BAEL-1041 formatting fix
2017-10-10 20:53:59 -05:00
YasinBhojawala
9c0b6b4a47 BAEL-1139 move to new saas module (#2719)
* Removed unintentionally commented code

* BAEL-1139 move jira API to a new saas module

* no tabs only spaces

* changes
2017-10-10 09:21:35 -07:00
nabyla
26508f3104 Docx4j article (#2714)
* add docx4j dependencies

* Add image.jpg (docx4j)

* add Docx4j example

* Add docx4j test

* Remove unused import

* Fix typo (baeldung instead of baledung)
2017-10-08 12:47:15 +02:00
Tomasz Lelek
c521aa66af BAEL-1155 crdt (#2659)
* BAEL-1155 crdt

* BAEL-1155 fix pom
2017-10-06 10:36:50 +02:00
YasinBhojawala
e71902db06 BAEL-1139 added more examples (#2686)
* BAEL-1139 How to Integration with the JIRA API

* BAEL-1139 How to Integration with the JIRA API

* BAEL-1139 How to Integration with the JIRA API

* BAEL-1139 added more examples

* BAEL-1139 How to Integration with the JIRA API

* How to Integration with the JIRA API

* BAEL-1139 add and delete issue

* BAEL-1139 minor improvements

* BAEL-1139 comment conflicting dependencies

* Update pom.xml
2017-10-05 07:56:50 -07:00
Parth Karia
d343c59a3c BAEL-815 Move JGraphT code from libraries to algorithms (#2695)
* BAEL-815 Introduction to JGraphT

* BAEL-815 Move code from libraries to algorithms
2017-09-30 23:46:48 -07:00
Parth Karia
692fe31575 BAEL-815 Introduction to JGraphT (#2653)
* BAEL-243 Spring Batch using Partitioner

* BAEL-1106 Introduction to javax.measure

* Unnecessary Committed

* BAEL-1106 Move code to libraries from core-java

* BAEL-1106 Move code to libraries from core-java

* BAEL-815 Introduction to JGraphT

* BAEL-815 Introduction to JGraphT
2017-09-27 07:50:08 -07:00
parthkaria
38b2dc0028 BAEL-815 Introduction to JGraphT 2017-09-27 14:52:54 +05:30