Commit Graph

4997 Commits

Author SHA1 Message Date
Nancy Bosecker 87be4ede27 Moved objectmapper to class level, one per class (#1558)
* Solr w Apache SolrJ

* Solr w Apache SolrJ

* updated test names and moved add to @before method

* create apache-solrj module, moved code from spring-data-solr

* More examples for indexing,delete,and query for solrj

* More examples for indexing,delete,and query for solrj

* Jackson Map Serialize/Deserialize

* Jackson Map Serialize/Deserialize

* Jackson version update

* keydeserializer code added

* keydeserializer code added

* remove explicit types from map instantion

* one objectmapper per class
2017-04-01 19:26:50 +02:00
Grzegorz Piwowarek 2c50b4f1b7 SS refactor (#1555) 2017-04-01 11:00:44 +02:00
Grzegorz Piwowarek 09d4c6f873 Refactor Vertx samples (#1554) 2017-04-01 10:50:41 +02:00
Grzegorz Piwowarek 760692b8eb Build time optimization (#1553)
* Add integration tests

* Optimize build
2017-04-01 09:06:59 +02:00
Andrew Morgan 4b98413c4a Moved AOP module and removed Spring Boot starter (#1506)
* Moved AOP module and removed Spring Boot starter

* Fixed accidentally committed git message

* Fixed pom
2017-04-01 08:53:56 +02:00
Grzegorz Piwowarek cc0c7d54a9 Enable hbase (#1545) 2017-04-01 08:18:52 +02:00
gitterjim-I aaf5a3e7b8 Latest review changes: more concise code and suggested refactoring. (#1549)
* article Bael-667 initial commit.

* Switch to use logging framework for output.

* Make code more concise. Refactor as suggested.
2017-03-31 22:05:23 +02:00
Danil Kornishev 3c334e6b56 Spring State Machine x4 (#1547)
* [Fix] Move stateDo onto a separate state

* Change tests to spring runner

* Add generic params to StateMachine variables
2017-03-31 22:01:27 +02:00
azrairshad 4c84fabd1a Updated ArrayCopy assert statements. (#1540) 2017-03-31 19:54:11 +02:00
Tomasz Sobala 0975123b83 Exploring the Spring Boot TestRestTemplate (#1550)
* 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.
2017-03-31 19:33:34 +02:00
Nikhil Khatwani 4daef51161 BAEL-711 Guide_to_Microservices_using_lagom_framework Changes (#1495)
* BAEL_711_Guide_to_Microservices_using_lagom_framework Changes

* BAEL_711_Guide_to_Microservices_using_lagom_framework_v2

* BAEL_711_Guide_to_Microservices_using_lagom-Review Comments
2017-03-31 18:47:58 +02:00
KevinGilmore c73c252924 BAEL-680 and BAEL-756 README files (#1539)
* 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
2017-03-31 06:54:17 -05:00
Grzegorz Piwowarek 626db733b9 Corrected Indentation using formatter. (#1541) (#1544) 2017-03-31 12:25:37 +02:00
Abhinab Kanrar d3590de13c ratpack with google guice (#1542)
* 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
2017-03-30 23:10:45 +02:00
Danil Kornishev 99688e9b19 Spring State Machine x3 (#1538)
* [Fix] Move stateDo onto a separate state

* Change tests to spring runner
2017-03-30 22:27:22 +02:00
Devendra Tiwari ce589cc7b5 Corrected Indentation using formatter. (#1541) 2017-03-30 20:21:17 +02:00
Doha2012 e28dfe6a4a modify ratings controller (#1536)
* upgrade to spring boot 1.5.2

* add full update to REST API

* modify ratings controller
2017-03-30 13:52:40 +02:00
Sunil Mogadati ec089be605 BAEL-611: Minor formatting changes (#1534)
* Add NDC and JBoss Logging to the demo application

* NDC for Log4j, Log4j2 and JBoss Logging

* Simplify NDC example by making it a single operation instead of two

* Make NDC example as RestController, Use JBoss Logging only as a logging bridge

* Fix merge conflicts in pull request - log-mdc pom.xml updated

* BAEL-445 Update to Spring security SpEL example

* BAEL-445: Change tabs to spaces in the updated code

* BAEL-245: Add Enum Serialization exmaple

* BAEL-245: Remove the folder jackson/src/test/java/com/baeldung/jackson/dtos/withEnum as the example is not used anymore

* Add more enum serialization examples to align with previous example and prevent build fail

* BAEL-611: Minor formatting changes

* BAEL-611: Update Test case method names
2017-03-30 02:54:26 -06:00
Eunice A. Obugyei 47dfe6b641 Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611] (#1224)
* Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]

* Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]

* Removed unnecessary comment

* Added mockito-core dependency

* Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]
Added Exception test cases

* Applied baeldung formatter in Eclipse
2017-03-30 01:28:32 -06:00
gitterjim-I ea345fa246 Integrate forEach and stream changes to test, removing non-test class. (#1529)
* article Bael-667 initial commit.

* Switch to use logging framework for output.
2017-03-29 23:18:20 +02:00
Nancy Bosecker b63ef448db removed explicit types from map instantiation (#1532)
* Solr w Apache SolrJ

* Solr w Apache SolrJ

* updated test names and moved add to @before method

* create apache-solrj module, moved code from spring-data-solr

* More examples for indexing,delete,and query for solrj

* More examples for indexing,delete,and query for solrj

* Jackson Map Serialize/Deserialize

* Jackson Map Serialize/Deserialize

* Jackson version update

* keydeserializer code added

* keydeserializer code added

* remove explicit types from map instantion
2017-03-29 17:42:38 +02:00
Tomasz Lelek 6f75ad86a6 Bael 756 (#1531)
* BAEL-756 code for kotlin null-safety article

* BAEL-756 fix typo

* BAEL-756 increment version of Kotlin

* BAEL-756 remove duplicate form pom

* BAEL-756 add also and run example
2017-03-29 13:41:37 +02:00
Tian Baoqiang e6d9dde931 add a main-class variable on maven building and exclude IntegrationTests (#1530)
* add a main-class variable on maven building and exclude IntegrationTests

* hardcode spring-boot main class to Spring5Application
2017-03-29 11:43:21 +02:00
Tomasz Lelek 1a7ccb8248 Bael 756 (#1513)
* BAEL-756 code for kotlin null-safety article

* BAEL-756 fix typo

* BAEL-756 increment version of Kotlin

* BAEL-756 remove duplicate form pom
2017-03-28 21:14:32 -05:00
Nancy Bosecker 361df07694 Added KeyDeserializer class and test code (#1523)
* Solr w Apache SolrJ

* Solr w Apache SolrJ

* updated test names and moved add to @before method

* create apache-solrj module, moved code from spring-data-solr

* More examples for indexing,delete,and query for solrj

* More examples for indexing,delete,and query for solrj

* Jackson Map Serialize/Deserialize

* Jackson Map Serialize/Deserialize

* Jackson version update

* keydeserializer code added

* keydeserializer code added
2017-03-28 20:18:00 -05:00
Devendra Tiwari 6fe778979a Guide to Guava | common.util.concurrent (#1528)
Code and Tests for common.util.concurrent package
2017-03-28 22:48:47 +02:00
Grzegorz Piwowarek 6e2dcfcf59 Refactor PizzaUnitTest (#1527) 2017-03-28 22:45:46 +02:00
Chandravadan S 17042f0420 BAEL-732: String to enum (#1526) 2017-03-28 17:31:25 +02:00
ahamedm ef91c379b7 BAEL-696 Implement OR in the REST API Query Language (#1518)
* Dependency Injection Types, XML-Config, Java-Config, Test Classes

* Formatting done with Formatter Configuration in Eclipse

* REST Query Lang - Adv Search Ops - Improvement - C1

* REST Query Lang - Adv Search Ops - Improvement - C2

* BAEL-696 Code formatting

* REST Query Lang - Adv Search Ops - Improvement - C3

* BAEL-636: add standalone deployment (#1521)

* BAEL-696 Formatting
2017-03-28 16:50:00 +02:00
Parth Joshi 70d8fecc54 Comparator comparing (#1515)
* Initial commit for Comparator.comparing article.

* Changes in the code as per suggestions in review.

* Change in test names as per suggestions...

* Changes in tests names for nullFirst and nullLast cases

* clean up.
2017-03-28 07:59:33 -05:00
Tian Baoqiang 0bc9bfbacb BAEL-636: register servlet using java config (#1525) 2017-03-28 13:50:03 +02:00
Tian Baoqiang a18d779294 BAEL-636: add standalone deployment (#1521) 2017-03-28 11:56:57 +02:00
Grzegorz Piwowarek 85969c69d2 State machine refactor (#1520)
* State machine refactor

* Add surefire plugin

* Refactor
2017-03-28 08:17:00 +02:00
azrairshad 0c8aa7e46d Added an example for array copy via stream (#1510) 2017-03-27 23:17:58 +02:00
Tomasz Sobala 6a0e142064 BAEL-431 Exploring the Spring Boot TestRestTemplate (#1444)
* 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.
2017-03-27 21:28:15 +02:00
Danil Kornishev 1c1c557a39 Spring State Machine (#1493)
* Neo4j cleanup

* Neo4j cleanup

* Neo4j cleanup x2

* State Machine Init

* cleanup

* White background, Java Util Logging

* Change to Logging

* Static import of asserts.
rename test methods

* fix attempt for S3 -> S4

* Remove awaitility.  add teardown

* fix attempt for S3 -> S4

* fix attempt for S3 -> S4 Final
2017-03-27 21:21:03 +02:00
Nancy Bosecker 365d75a8d7 Jackson version updated (#1516)
* Solr w Apache SolrJ

* Solr w Apache SolrJ

* updated test names and moved add to @before method

* create apache-solrj module, moved code from spring-data-solr

* More examples for indexing,delete,and query for solrj

* More examples for indexing,delete,and query for solrj

* Jackson Map Serialize/Deserialize

* Jackson Map Serialize/Deserialize

* Jackson version update
2017-03-27 11:44:59 -05:00
KevinGilmore c5806d4e05 BAEL-737 README (#1514)
* 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
2017-03-27 08:46:04 -05:00
Nancy Bosecker 427077ebfa Jackson Map Serialize/Deserialize (#1511)
* Solr w Apache SolrJ

* Solr w Apache SolrJ

* updated test names and moved add to @before method

* create apache-solrj module, moved code from spring-data-solr

* More examples for indexing,delete,and query for solrj

* More examples for indexing,delete,and query for solrj

* Jackson Map Serialize/Deserialize

* Jackson Map Serialize/Deserialize
2017-03-27 07:46:58 -05:00
Mohamed Sanaulla e6836c01c7 sample for BAEL-747 Check if a number is prime in Java (#1508) 2017-03-26 22:57:36 +02:00
lor6 6322aa350f Bael 737 v2 (#1509)
* in memory test

* update dependencies

* rename db

* remove create db

* update version

* update properties file
2017-03-26 20:19:07 +02:00
Grzegorz Piwowarek e913702d7d Update pom.xml (#1507) 2017-03-26 19:38:09 +02:00
Tian Baoqiang d3e57d38a6 #BAEL-636 (#1468)
* jira #BAEL-636

* remove redundant dependency spring-boot-starter-reactive
2017-03-26 18:23:28 +02:00
Tomasz Lelek 52eb7c2bc4 Bael 738 (#1504)
* BAEL-724 code for put/patch article

* BAEL-724 fix typo

* BAEL-728 more generic patch approach

* BAEL-738 change url of PUT method

* fix route confict
2017-03-26 15:56:20 +02:00
lor6 052c149b0e in memory test (#1476)
* in memory test

* update dependencies

* rename db

* remove create db

* update version
2017-03-25 16:12:17 -05:00
baljeet20 de29cd5632 BAEL-750 Added Java configuration (#1494)
* BAEL-750 A guide to gemfire with spring data

* BAEL-750 A guide to gemfire with spring data

* BAEL-750 A guide to gemfire with spring data
2017-03-25 21:23:04 +01:00
buddhini81 e62f8fa3d8 Add javaEE annotation sample project (#1481)
* Delete AccountServlet.java

* Delete BankAppServletContextListener.java

* Delete LogInFilter.java

* Delete UploadCustomerDocumentsServlet.java

* Delete index.jsp

* Delete login.jsp

* Delete upload.jsp

* Delete web.xml

* Create javaeeannotations

* Delete javaeeannotations

* commit javaEE annotations project
2017-03-25 19:50:46 +01:00
Grzegorz Piwowarek 9b48f77c8d ContactNumberValidator refactor (#1491)
* ContactNumberValidator refactor

* Refactor controllers
2017-03-25 11:47:14 +01:00
Tomasz Lelek 21f9df6330 Bael 518 protobuffer (#1400)
* BEEL-518 code for protobuf article

* BEEL-518 add generated protobuf class

* BEEL-550 use newest version of protobuff

* BAEL-518 Small refactoring in protobuffer module

* BEEL-518 simpler protobuf example

* BEEL-518 proper package
2017-03-25 11:14:09 +01:00
Grzegorz Piwowarek 669f4d6dce Further build improvements (#1486) 2017-03-25 11:00:16 +01:00