Commit Graph

140 Commits

Author SHA1 Message Date
amit2103 89e39c37cb [BAEL-12666] - POM Properties Cleanup 2019-02-24 17:02:52 +05:30
Loredana 2cb4faddb0 fix core-java test and back to build 2019-01-11 23:03:38 +02:00
amit2103 b4ff5c46f0 [BAEL-11402] - Moved articles out of core-java (part 3) 2018-12-30 01:19:12 +05:30
amit2103 9def7653f7 [BAEL-11401] - Removed spring web dependency from core-java 2018-12-29 21:59:01 +05:30
Loredana Crusoveanu 68f1cb23dd
Merge pull request #5981 from amit2103/BAEL-9044
[BAEL-9044] - Moved articles out of core-java
2018-12-25 13:44:59 +02:00
amit2103 ec53cb77ac [BAEL-9044] - Moved articles out of core-java 2018-12-23 16:32:19 +05:30
amit2103 78735f582b [BAEL-10866] - Upgrade jackson version in tutorials repository 2018-12-16 23:57:08 +05:30
Dhawal Kapil 4058bfc601 BAEL-9567 Align module names, folder names and artifact id
- Added "name" in pom.xml whereever it was missing and aligned the present ones with the artifactid and foldername
2018-11-30 22:16:08 +05:30
Loredana Crusoveanu 43483cfeca
Update pom.xml 2018-11-13 23:52:32 +02:00
Dhawal Kapil 9b809fcc62 BAEL-10313 Help with test fixes in Abstract Classes and SimpleDateFormat
-Removed corrupted surefire config from core-java module
2018-11-13 21:06:36 +05:30
geroza 2380a4abad 7- Seventh commit for splitting core-java module task. This commit includes:
* Cleaning core-java-lang pom
* Cleaning core-java-arrays pom
* Fixing core-java artifact version, not using property
2018-11-10 13:25:10 -02:00
amit2103 ab17b8e697 [BAEL-8232] - Moved java string related code and github links into new module java-strings 2018-08-18 23:24:10 +05:30
amit2103 4bd162e5a5 Moved core persisatnce codes from core java to core java persistence 2018-08-16 00:05:58 +05:30
Dhawal Kapil e7485a1813 Task/bael 8020 (#4919)
* BAEL-8020 Fix surefire configs of spring-5 projects

-Removed surefire configurations from spring-5 projects

* BAEL-8020 Fix surefire configs of spring-5 projects

-Fixed surefire and junit configuration of spring-5-** projects
-Fixed mavensurefire plugin to execute JUnit5 tests BAEL-8125

* BAEL-8020 Fix sure fire configs in spring5 project

-Fixed dependency for junit-5

* BAEL-8020 Fix sure fire configs in spring5 project

-Fixed dependency for junit5-migration

* BAEL-8020 Fix surefire configs

-Updated maven war plugin to 3.0.0

* BAEL-8020 Fix surefire configs

-Upgraded surefire custom logger api version to 2.21.0 for all child projects

* BAEL-8020

-Deleted empty test SpringBootMvcApplicationTests.java in spring-boot-mvc.
-Renamed SpringBootMvcApplicationTests.java correct in spring-boot-vue

* BAEL-8020 Fix surfire configs

-Added junit vintage dependency to run junit4 tests
2018-08-09 19:13:44 +03:00
Alejandro Gervasio fc02400f5f BAEL-1818 A Simple Guide to Connection Pooling in Java (#4823)
* Initial Commit

* Update parent pom.xml

* Update BasicConnectionPool class

* Update BasicConnectionPool class

* BAEL-1818 removed code from core-java module, cleaned up a little pom files

* BAEL-1818 moved the code from connectionpool.connectionpools package to connectionpool
2018-07-28 08:44:51 +02:00
Adi ecb14dd834 BAEL-1728: add java instrumentation 2018-07-22 22:53:59 +01:00
the-java-guy c78bf78957 BAEL-1934 (#4768)
* Bean Object, server side and client side example for event streaming
example

* BAEL-1628

Access a File from the Classpath in a Spring Application

* inputstream retrieval added

* Removed files related to evaluation article

* + Aligning code to the article. Removed Utility methods and classes

* BAEL - 1628

* PMD fixes

* Code Review changes
Refactored : whenResourceUtils_thenReadSuccessful

* BAEL-1934

* +indentation correction in pom.xml

* synced with master

* indentation correction
2018-07-21 17:52:23 +02:00
Alejandro Gervasio ac801b4319 BAEL-1818 - A Guide to Connection Pools in Java (#4735)
* Strange git issue with README.MD, wouldn't revert the file

* Initial Commit

* Initial Commit

* Update pom.xml

* Update pom.xml

* Initial Commit

* Update pom.xml

* Update source files

* Update source files

* Update source files

* Update source files

* Update Application.java

* Update pom.xml

* Update HikariCPDataSourceUnitTest class

* Update HikariCPDataSourceUnitTest.java

* Update pom.xml

* Update unit test classes

* Update BasicConnectionPoolUnitTest.java

* Fix indentation in DBCDDataSource class

* Update DBCPDataSource.java

* Update BasicConnectionPool class

* Update BasicConnectionPool class

* Update BasicConnectionPool.java

* Update BasicConnectionPool.java

* Update pom.xml

* Update pom.xml

* BAEL-1818 Refactored getConnection(), added shutdown(), cleaned up pom.xml

* BAEL-1818 Removed getConnectionPool(), upgraded c3po version

* BAEL-1818 Deleted obsolete connectionpool module

* BAEL-1818 Deleted obsolete connectionpool module
2018-07-21 01:28:01 +02:00
Jonathan Cook b44883b364 BAEL-1889 - Let's move the Java Number articles into a new module (#4619)
* BAEL-1849 - Convert from String to Date in Java

* BAEL-1863 - Calling Callbacks with Mockito

* BAEL-1889 - Let's move the Java Number articles into a new module

* BAEL-1889 - Let's move the Java Number articles into a new module
2018-07-14 15:00:37 +02:00
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
Loredana Crusoveanu 76317f8052
Merge branch 'master' into master 2018-06-30 11:26:37 +03:00
Loredana Crusoveanu 07f3ab60fd
Merge pull request #4517 from asturcon/tutorials/titleCase
BAEL-1928 - Convert a string to title case
2018-06-26 22:30:30 +03:00
gangadkho a0b0e1c705 Java Custom Exception 2018-06-26 14:48:41 +08:00
Sanjay Patel f7953fd65d BAEL-6506: Added IntTest to pmd and poms (#4525) 2018-06-22 13:09:57 +02:00
Marcos Lopez Gonzalez 5d589d37d4 convert string to tiltle case 2018-06-20 22:57:14 +02: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
amit2103 05b7e933bd Bael 5247 (#4175)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* Added new parent pom

* initial clean up of child poms

* Added new parent pom

* [BAEL-5247] - New Parents in the tutorials repo
2018-05-05 22:30:00 +02:00
amit2103 cfd98d2fe3 [Bael 6056] - Move collection-related logic from core-java to core-java-collections (#4114)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* [BAEL-6056] - Move collection-related logic from core-java to core-java-collections

* [BAEL-6056] - Move collection-related logic from core-java to core-java-collections

* [BAEL-6056] - Move collection-related logic from core-java to core-java-collections

* [BAEL-6056] - Move collection-related logic from core-java to core-java-collections
2018-04-29 08:38:59 +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
Seun Matt 4ff02d4213 added example code for Java mail (#4101) 2018-04-25 07:52:05 -07: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
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