Commit Graph

109 Commits

Author SHA1 Message Date
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
Loredana Crusoveanu 78912c3d3b replace hsql with h2 2018-04-15 09:21:07 +03:00
amit2103 0466d4613d Added parent module on poms that have no parent defined (#3997)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module
2018-04-14 10:00:05 +02:00
xenteros 327719e1bb Add complete codes for an article about deep copy (#3610)
* Add complete codes for an article about deep copy

* Add missing gson dependency

* Apply changes suggested in PR comments

* Apply changes suggested in PR comments

* Apply changes suggested in PR comments
2018-02-22 21:07:12 -06:00
Jonathan 8108875723 BAEL-1068 (#3070)
* BAEL-1068 - Javadoc example classes

* BAEL-1068 - Formatting change for pom.xml

* Updated javadoc comments to reflect article example
2018-01-06 18:01:49 +01:00
Doha2012 962dfd228f make sure modules using java8 (#3313) 2017-12-28 15:30:01 +01:00
Binesh Narayanan 94ace2eda8 BAEL-1348 | BatchProcessing example using jdbc (#3216)
* BAEL-EVAL | Adding an example to demo Bean Injection

### Changes done
A Spring boot app to demo bean injection

* Adding @Autowired for Constructor Injection

* BAEL-EVAL | Correcting the method name

* BAEL-EVAL

* BAEL-1348 | Adding example of Batch Processing in JDBC

### Changes done
- Added one example using statement
- Added one example using preparedstatement

* Removing evaluation article

* BAEL-1348 | Adding example of Batch Processing in JDBC

### Changes done
- Added an example using statement
- Added an example using preparedstatement

* BAEL-1348 | BatchProcessing example using jdbc

### Changes done
- Add example using statement
- Add example using PreparedStatement
- Add Unit Tests

* BAEL-1348 | Changes to pom.xml and refactoring UnitTest

* BAEL-1348 | Removing the example using spring-boot
2017-12-19 07:37:35 +01:00
Michael C Good b7a86b1b56 BAEL-1341 JDBC RowSet Interface (#3175)
* michael.good703@gmail.com

michael.good703@gmail.com

* michael.good703@gmail.com

michael.good703@gmail.com

* michael.good703@gmail.com

michael.good703@gmail.com

* update

* michael.good703@gmail.com

Had to add @SpringBootApplication(exclude = MySQLAutoconfiguration.class)

* Updated for 3.3.0.Final

BAEL-1238

* Update pom.xml

* BAEL-1238

Added new module spring-boot-keycloak and removed Keycloak code from spring-boot module

* Minor changes to pom.xml

* Update CustomConverterTest.java

* Update StringToEmployeeConverter.java

* Update GenericBigDecimalConverter.java

* Update MyFeatures.java

* Update .gitignore

* Formatting changes

* "Resolving conflicts"

* Updated spring-boot to remove keycloak

* Updated to see

* Update

* Updated

* Found remnant file and deleted it

* Update pom.xml

Added spring-boot-keycloak module

* Added reference to parent-boot-5

I changed the parent from org.springframework.boot to parent-boot-5.

* Update GenericBigDecimalConverter.java

Copy current GenericBigDecimalConverter to resolve any conflicts

* Update StringToEmployeeConverter.java

Copy current version to resolve any conflicts

* Update pom.xml

* Update pom.xml

* Delete remnant files

* Updated pom.xml

* Update pom.xml

* BAEL-1341 JDBC RowSet Interface

This commit includes the main package and test package to accompany the tutorial JDBC RowSet Interface.

* Update pom.xml

* Changed from MySQL to h2

Changed MySQL to embedded database for ease of use.
2017-12-01 19:28:09 +01:00
Eugen Paraschiv 5f57a6cb4b separating the sun specific functionality into a new module 2017-11-28 12:36:54 +02:00
Loredana Crusoveanu bc29683080 update guava versiob 2017-11-21 18:19:10 +02:00
Loredana Crusoveanu b383d83bf4
Merge pull request #2972 from denis-zhdanov/BAEL-1290-javac-plugin
BAEL-1290 Creating a Java Compiler Plugin
2017-11-11 23:06:36 +02:00
Denis Zhdanov 8e5e0e3bb3 BAEL-1290 Creating a Java Compiler Plugin
* a sample Javac plugin
* a test framework for Javac plugins
* sample Javac plugin's tests
2017-11-06 22:16:23 +03:00
Grzegorz Piwowarek c65795c7b0
Remove <testFailureIgnore>true (#2919) 2017-11-06 18:12:14 +02:00
Nikhil Khatwani 231500bbf6 Chnages for BAEL-527 (#2621) 2017-09-15 09:02:28 +03:00
Grzegorz Piwowarek bf515679fe Fix int tests (#2607)
* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename Integration tests to Live tests

* Turn off benchmarks
2017-09-11 16:23:43 +02:00
Grzegorz Piwowarek 57f55e1b8c Fix int tests (#2605)
* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename JdbcIntegrationTest to JdbcLiveTest
2017-09-11 15:18:41 +02:00
Grzegorz Piwowarek 2b5a6c13f8 Build opt (#2593)
* Build optimization

* Build optimization
2017-09-09 21:11:48 +02:00
Grzegorz Piwowarek 216f7d8976 Reformat pom.xml (#2567)
* Refactor RxJava

* Reformat pom.xml
2017-09-06 11:53:21 +02:00
iaforek 7904c3ee04 BAEL-1065 Simple performance check StringBuffer vs StringBuilder. (#2512)
* 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.

* BAEL-821 New class that shows different rounding techniques. Updated POM.

* BAEL-821 - Added unit test for different round methods.

* BAEL-821 Changed test method name to follow the convention

* BAEL-821 Added more test and updated round methods.

* BAEL-837 - initial commit. A few examples of adding doubles.

* BAEL-837 - Couple of smaller changes

* BAEL-837 - Added jUnit test.

* BAEL-579 Updated Spring Cloud Version

I was getting error: java.lang.NoSuchMethodError:
org.springframework.cloud.config.environment.Environment
After version update, all is okay.

* BAEL-579 Added actuator to Cloud Config Client.

* BAEL-579 Enabled cloud bus and updated dependencies.

* BAEL-579 Config Client using Spring Cloud Bus.

* BAEL-579 Recreated Basic Config Server.

* BAEL-579 Recreated Config Client.

* BAEL-579 Removed test Git URL.

* BAEL-579 Added Actuator to Config Client

* BAEL-579 Added Spring Cloud Bus to Client.

* BAEL-579 Server changes for Spring Cloud Bus

Added dependencies and removed git.clone-on-start as this was causing
server to throw errors after git properties change.

* BAEL-579 Removed Git URL.

* Revert "BAEL-579 Updated Spring Cloud Version"

This reverts commit f775bf91e5.

* Revert "BAEL-579 Config Client using Spring Cloud Bus."

This reverts commit 1d96bc5761.

* Revert "BAEL-579 Enabled cloud bus and updated dependencies."

This reverts commit 7845da922d.

* Revert "BAEL-579 Added actuator to Cloud Config Client."

This reverts commit 076657a26a.

* BAEL-579 Added missing dependency versions.

* BAEL-579 Added missing dependency versions.

* Updated gitignore

* BAEL-1065 Simple performance check StringBuffer vs StringBuilder.

* BAEL-1065 Added JMH benchmarks
2017-09-06 08:31:52 +02:00
ramansahasi 133bbe1aca Introduced jmh benchmarking (#2549) 2017-09-04 07:22:28 -07:00
Predrag Maric 12ffbe027d BAEL-1078 Code formatting (#2539) 2017-08-31 18:42:03 +02:00
shekhar-s 2f3e36405a Moved article code to libraries, added a null check and reverted change to core-java pom.xml (#2530) 2017-08-31 10:10:37 +02:00
Dassi orleando 2aeef70d39 BAEL-1074 move difference between dates from core-java to libraries (#2533)
* Different types of bean injection in Spring

* Difference between two dates in java

* Update README.md

* Simple clean of difference between dates

* Clean my test article

* Improve dates diff: for dates and datetimes

* Move difference between dates from core-java to libraries
2017-08-30 16:23:59 +02:00
shekhar-s 3c5ed71063 BAEL-1075 (#2497)
* Adding test cases for "how to delete a directory"

* Removing .gitignore from Empty folder

* Adding .gitignore to Empty folder

* Updated method names and removed unnecessary imports

* Removed toBedeleted folder from src/test/resources. Updated the test
case to create the directory on the fly using a temporary location
2017-08-29 11:19:25 +02:00
Predrag Maric b3a291a580 BAEL-1078 Stream Indices - Update pom.xml (#2516)
* Update pom.xml

* BAEL-1078 Stream indices
2017-08-29 07:36:55 +02:00
Dassi orleando 8180274da2 BAEL-1074 Difference between two dates in Java (#2493)
* Different types of bean injection in Spring

* Difference between two dates in java

* Update README.md

* Simple clean of difference between dates

* Clean my test article
2017-08-25 10:39:12 -07:00
ramansahasi 415b80d03f BAEL-1072 - Difference between Proxy, Decorator, Adapter, and Bridge Patterns (#2390)
* Structural Design Patterns 

Difference between several types of structural design patterns

* Structural Design Pattern

Difference between several types of structural design patterns

* Structural Design Patterns

Difference between several types of structural design patterns

* Structural Design Patterns

Difference between several types of structural design patterns
2017-08-08 10:56:53 -07:00
Yasin deb79bbd83 BAEL-887 How to collect a Java Stream to an immutable collection? (#2339)
* 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

* BAEL-900 Guide to dynamic tests in Junit 5

* removed unnecessary annotation

* BAEL-900 unused imports removed

* BAEL-900 simplified input generator code

* BAEL-252 A Java Client to consume a WebSockets API

* BAEL-887 How to collect a Java Stream to an immutable collection?
2017-07-30 09:33:51 -07:00
Jose Carvajal f445a4d11b BAEL-373: Improve/Upgrade existing Mockito articles to Mockito 2 (#2311)
* BAEL-373: Improve/Upgrade existing Mockito articles to Mockito 2

* Fix formatting issue with LoginControllerIntegrationTest
2017-07-29 17:29:25 -05:00
Devendra Tiwari 1957750382 How to zip two collections in Java? (#2176)
* How to zip two collections in Java?

How to zip two collections in Java? | http://jira.baeldung.com/browse/BAEL-780

* Updated pom to add jool dependency

* Added Unit Tests of Zip Collections

* Moved files to libraries folder

* Fixed Compilation Error

* Removed jool dependency as code has been moved to libraries

* Removed jool property attribute
2017-07-08 22:20:49 +02:00
slavisa-baeldung 342c356b89 BAEL-835 - code rerfactor 2017-06-30 15:29:37 +01:00
maibin ed926b3790 Revert "Difference between url and uri bael 864 hariprasad net (#2108)" (#2110)
This reverts commit 9048d5215b.
2017-06-19 15:43:23 +02:00
hariprasad108 9048d5215b Difference between url and uri bael 864 hariprasad net (#2108)
* BAEL-864, java.net.*

* java-networking Bael-864, revision

* Final and static keywords removed.

* Bael-486 Static import for JUnit into pom.xml was added.

* Bael-486, pom.xml was renamed on networking-pom.xml to deactivate it.

* Maven pom.xml changed.

* Delete java-networing project.

* Bael-684, rearanged.
2017-06-19 00:27:34 +02:00
Seun Matt 920167f5b7 BAEL-865 - updated example code (#2029)
* added project files for evaluation article by smatt382@gmail.com

* added project files for evaluation article by smatt382@gmail.com

* added class com.baeldung.string.StringToCharStream by smatt382@gmail.com

* updated the example codes. Use assert statements

* updated example codes

* fixed conflict in pom.xml

* remove redundant files'

* added unit test
2017-06-09 14:32:20 +02:00
hariprasad108 c17d19ff21 Difference between url and uri bael 864 hariprasad (#1987)
* Commit URUURLJNDIFS added.

* URI URL REST commit.

* Revert "URI URL REST commit."

This reverts commit d9e26399be1f3a26d871cd0600036e3a4558cde2.

* Difference URI URL REST BAEL-864.

* Commit Difference URI URL REST #864, small changes.

* Difference URI URL REST project has been moved to spring-rest.

* BAEL-864. Deleted unused project and did one small change.
2017-06-04 21:39:21 +02:00
iaforek 8edc3bfbaa BAEL-821 - How to round a number to n decimal places in Java (#1953)
* 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.

* BAEL-821 New class that shows different rounding techniques. Updated POM.

* BAEL-821 - Added unit test for different round methods.

* BAEL-821 Changed test method name to follow the convention
2017-06-01 01:24:21 +02:00
lor6 bf71b3442b baos example (#1858) 2017-05-16 09:16:17 +03:00
Abhinab Kanrar d46af17af4 HikariCP (#1851)
* jvm log forging

* jvm log forging

* jvm log forging

* log forging

* adding hikariCP module

* try-with-resources

* adding employee use case

* moving HikariCP to libraries
2017-05-15 17:11:27 +02:00
Abhinab Kanrar 1cc1f703be hikaricp module (#1781)
* jvm log forging

* jvm log forging

* jvm log forging

* log forging

* adding hikariCP module

* try-with-resources

* adding employee use case
2017-05-14 22:42:35 +02:00
Doha2012 7c73abdede cleanup pom (#1836)
* 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
2017-05-12 13:32:54 -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
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
KevinGilmore e2555c2210 BAEL-870: Switch from TestNG to JUnit to fix broken build (#1787)
* 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
2017-05-05 07:40:24 -05: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
Jesus Boadas b0e15fcca0 Guide to JDO (#1730)
* Guide to JDO

* Guide to JDO

* Guide to JDO
2017-04-25 20:54:32 +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
Abhinab Kanrar 782c5565fe jvm log forging (#1643)
* jvm log forging

* jvm log forging

* jvm log forging
2017-04-13 10:08:00 +02:00