Commit Graph

85 Commits

Author SHA1 Message Date
pcoates33 16fdea7267 BAEL-2721 Moved JsonAliasUnitTest into new module called jackson-2. (#6555)
* BAEL-2721 Examples of @JsonAlias and Gson's alternate parameter

* BAEL-2721 Update class and method names for JsonAlias and GsonAlternate

* BAEL-2721 move JsonAliasUnitTest into new jackson-2 module

* BAEL-2721 Removed unused dependencies from pom.xml

* BAEL-2721 Tidy up logback.xml

* BAEL-2721 fix url in README.md
2019-03-17 23:56:13 -07:00
pcoates33 8ecfd8de08 Bael 2721 - JSON deserialization mapping different JSON fields to same Java field (#6434)
* BAEL-2721 Examples of @JsonAlias and Gson's alternate parameter

* BAEL-2721 Update class and method names for JsonAlias and GsonAlternate
2019-03-12 21:54:34 -07:00
Ganesh Pagade ef94015a36 review comments 2019-03-10 11:24:33 +05:30
Ganesh Pagade 213349420b review comments 2019-03-09 15:06:07 +05:30
Ganesh Pagade 02fd91ad35 review comments 2019-03-09 14:59:08 +05:30
Ganesh Pagade b1834b6d96 minor change 2019-03-05 22:29:31 +05:30
Ganesh Pagade 9c62f1ea0c minor change 2019-03-05 22:27:46 +05:30
Ganesh Pagade c2cb4d4bc0 gson advanced list examples 2019-03-05 00:01:05 +05:30
KevinGilmore 09e7e61901
BAEL-2490 BAEL-2471 BAEL-2738 BAEL-2583 update README.md (#6457)
* BAEL-2246: add link back to article

* BAEL-2174: rename core-java-net module to core-java-networking

* BAEL-2174: add link back to article

* BAEL-2363 BAEL-2337 BAEL-1996 BAEL-2277 add links back to articles

* BAEL-2367: add link back to article

* BAEL-2335: add link back to article

* BAEL-2413: add link back to article

* Update README.MD

* BAEL-2577: add link back to article

* BAEL-2490: add link back to article

* BAEL-2471: add link back to article

* BAEL-2583: add link back to article

* BAEL-2738: add link back to article
2019-03-03 09:19:12 -06:00
dcalap c2a300baae BAEL-2738 - Convert String to JsonObject with GSON (#6318)
* BAEL-2738 - Convert String to JsonObject with GSON

* BAEL-2738 Assertions added in example 2 (Using fromJson)

* Update gson/src/test/java/org/baeldung/gson/conversion/JsonObjectConversionsUnitTest.java

Rename test name

Co-Authored-By: dcalap <dcalap@gmail.com>

* Update gson/src/test/java/org/baeldung/gson/conversion/JsonObjectConversionsUnitTest.java

Rename test

Co-Authored-By: dcalap <dcalap@gmail.com>

* Blank spaces added in order to separate given/when/then parts of the test
2019-02-23 07:37:02 -06:00
collaboratewithakash e67486cf73
backlink added 2019-01-04 17:55:40 +05:30
Javier 4ea86703d4 BAEL-2412
Change method names to a BDD-style.
2018-12-18 05:27:49 +01:00
Javier bdc8b066a5 BAEL-2412
Remove boolean and char fields from some of the examples.
2018-12-14 20:29:48 +01:00
Javier 78096d4712 BAEL-2412
Change test for min and max values by negative and positive infinity.
2018-12-14 20:21:50 +01:00
Javier 366cb9a0bc BAEL-2412
Add limit values when dealing with floats (min, max, NaN).
2018-12-12 06:41:39 +01:00
Javier f69d154862 BAEL-2412
New example showing that the empty string can be deserialized into a char.
2018-12-12 06:30:01 +01:00
Javier 089162e91c BAEL-2412
Add new code examples when deserializing real numbers to discrete number types.
2018-12-12 06:12:12 +01:00
Javier 24bd4644ff BAEL-2412
Add example of deserialization of a double whose precission is too high.
2018-12-12 06:01:38 +01:00
Javier bc1a22babc BAEL-2412
Remove custom serializer and deserializer for converting byte into a string of
bits.
2018-12-12 05:46:16 +01:00
Javier e3b698620c BAEL-2412
Add tests with all the primitive values.
Remove those that weren't expected to work.
2018-12-07 23:53:46 +01:00
Javier cdd6968c31 BAEL-2412
Changes PR.
2018-12-07 10:57:30 +01:00
Javier 19ed35aef4 BAEL-2412
Change name of a class.
Move class init code to tests.
Add solution to deserializing a boolean from an 2-value integer.
Change formatting for long sentences, mainly the serializers/deserializers.
2018-12-06 12:00:25 +01:00
Javier 4c0ce1d746 BAEL-2412
Replace main apps by unit tests.
2018-12-04 20:34:30 +01:00
Javier 44e5a0b6a2 BAEL-2412
Renaming packages.
2018-12-04 06:46:41 +01:00
Javier f2d258a205 BAEL-2412
Working with primitive values in Gson.
2018-12-03 21:53:58 +01:00
KevinGilmore 1889fa7d37
BAEL-2176 README update (#5588)
* BAEL-1766: Update README

* BAEL-1853: add link to article

* BAEL-1801: add link to article

* Added links back to articles

* Add links back to articles

* BAEL-1795: Update README

* BAEL-1901 and BAEL-1555 add links back to article

* BAEL-2026 add link back to article

* BAEL-2029: add link back to article

* BAEL-1898: Add link back to article

* BAEL-2102 and BAEL-2131 Add links back to articles

* BAEL-2132 Add link back to article

* BAEL-1980: add link back to article

* BAEL-2200: Display auto-configuration report in Spring Boot

* BAEL-2253: Add link back to article

* BAEL-2200 BAEL-2287 Add links back to articles

* BAEL-2176: add link back to article
2018-10-31 10:39:20 -05:00
Swapan Pramanick 586e911a02 BAEL-2176 (#5441)
* Evaluation Article - Spring web-flux

* Evaluation Article - Spring web-flux

* Evaluation Article - Spring web-flux

* Evaluation Article - Spring web-flux

* core-scala: initial commit

* adding core-scala to pom

* Revert "core-scala: initial commit"

This reverts commit d46873405a.

* BAEL-2176

* inserting new lines between given, when and then parts

* Formatted using formatter

* indentation changed further

* Suggested changes in coding

* Adding Date Deserializer

* BAEL-2176: Switching to functional paradigm

* BAEL-2176

* BAEL-2176: changing HashMap to Map

* BAEL-2176: changed exception type

* BAEL-2176
2018-10-31 08:17:17 -05:00
Swapan Pramanick 59a5313d96 Changes for BAEL-2176 (#5305)
* Evaluation Article - Spring web-flux

* Evaluation Article - Spring web-flux

* Evaluation Article - Spring web-flux

* Evaluation Article - Spring web-flux

* core-scala: initial commit

* adding core-scala to pom

* Revert "core-scala: initial commit"

This reverts commit d46873405a.

* BAEL-2176

* inserting new lines between given, when and then parts

* Formatted using formatter

* indentation changed further

* Suggested changes in coding
2018-10-01 21:28:53 -05:00
Rokon Uddin Ahmed fccf56fdc2 BAEL-8287 (#5180)
* Update README.md

* Update README.md

* Update README.md

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

* 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

* 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

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2018-09-07 13:56:13 +03:00
sachin fb0023286a BAEL-7674: Let's make sure our logging configuration has the same pattern 2018-08-21 18:22:53 -04:00
saikat 538d2a4ef1 Code sample for BAEL-2085 2018-08-18 14:40:54 +05:30
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
charlesgonzales ce4b42926f Add back-links and created new readme.md for the relevant articles (#4428)
* Update README.md

* Create README.MD

add relevant article

* Update README.MD

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md
2018-06-10 08:41:07 +02:00
Andrea Ligios a3563f0ef5 BAEL-1778 (#4351)
* Also needed

* BAEL-1698

* BAEL-1698

* BAEL-1778
2018-05-27 13:49:31 -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 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
Doha2012 48cd6f876f Fix test names (#1853)
* 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

* cleanup pom

* add missing parent

* fix logging issue

* fix test names
2017-05-15 11:35:14 -05: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
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
DOHA f938c89321 cleanup and upgrade 2016-12-12 21:54:16 +02:00
DOHA fe2359144e fix timezone 2016-10-28 13:41:59 +02:00
Naoshadul Islam 918257839f Updated README.md 2016-10-16 13:05:59 +03:00
eugenp 2aa2f43c6e maven cleanup 2016-10-12 07:44:40 +03:00
Grzegorz Piwowarek feb53db0e6 Fix formatting 2016-08-12 11:18:15 +02:00
Grzegorz Piwowarek fa6f482f2a Refactor Gson examples 2016-08-10 18:56:51 +02:00
Grzegorz Piwowarek a0b086c4c3 Refactor ActorGson 2016-08-10 18:54:56 +02:00
Nancy Bosecker 31d9e1bef6 Added jackson/gson updates (#552) 2016-08-10 06:51:06 +02:00