Commit Graph

4985 Commits

Author SHA1 Message Date
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
Grzegorz Piwowarek efc2043e52 KafkaProducerConfig refactor (#1488) 2017-03-25 10:37:00 +01:00
Grzegorz Piwowarek b6e271f1f0 spring-custom-aop -> spring-aop (#1489) 2017-03-25 09:25:51 +01:00
mujahid 9472f0dd65 BAEL-347 - change solr-fulltext-search to solr (#1462)
* solr-fulltext-search module created

* solr-fulltext-search modue created

* solr-fulltext-search change
s

* pom changes merged from upstream

* removed integration tests from mvn build

* Refactoring test class

* removed test profile

* module solr-fulltext-search changed to solr

* module solr added in parent pom

* delete file

* removed unused file, changed test to default solr port
2017-03-25 08:18:20 +01:00
Abhinab Kanrar c3764e3f44 CORS in JAX-RS (#1484)
* 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
2017-03-24 23:02:42 +01:00
Yasin 2aca6e085b BAEL-745 Quick Math.pow example (#1482)
* yasin.bhojawala@gmail.com

Evaluation article on Different Types of Bean Injection in Spring

* Revert "yasin.bhojawala@gmail.com"

This reverts commit 963cc51a7a15b75b550108fe4e198cd65a274032.

* Fixing compilation error and removing unused import

* Introduction to Java9 StackWalking API - yasin.bhojawala@gmail.com

Code examples for the article "Introduction to Java9 StackWalking API"

* BAEL-608 Introduction to Java9 StackWalking API

* BAEL-608 Introduction to Java9 StackWalking API

changing the test names to BDD style

* BAEL-608 Introduction to Java9 StackWalking API

correcting the typo

* BAEL-608 Introduction to Java9 StackWalking API

improving method names

* BAEL-608 Introduction to Java9 StackWalking API

test method names improvements

* BAEL-718 Quick intro to javatuples

* merging pom from master

* BAEL-722 Intro to JSONassert

* BAEL-722 Intro to JSONassert

Updated to 1.5.0

* BAEL-745 Quick Math.pow example
2017-03-24 21:27:45 +01:00
Grzegorz Piwowarek 092d883dde Revert "Spring State Machine" (#1485)
* Revert "Merge modules (#1471)"

This reverts commit 11cdf67fad.

* Revert "(BAEL-746) How to Copy an Array in Java (#1474)"

This reverts commit 44f5742f16.

* Revert "Bs santosh spring mybatis (#1479)"

This reverts commit 3140ea166d.

* Revert "Spring State Machine (#1424)"

This reverts commit 319dd2653a.
2017-03-24 20:12:13 +01:00
Grzegorz Piwowarek 11cdf67fad Merge modules (#1471)
* Merge modules

* Update pom.xml
2017-03-24 20:06:32 +01:00
azrairshad 44f5742f16 (BAEL-746) How to Copy an Array in Java (#1474) 2017-03-24 17:55:02 +01:00
bs-santosh 3140ea166d Bs santosh spring mybatis (#1479)
* Spring and MyBatis integration maven project

Complete article is available in http://inprogress.baeldung.com/wp-admin/post.php

* Spring-MyBatis integration example

This code demonstrates how to use MyBatis in Sring environment. Full details could be found in article http://inprogress.baeldung.com/?p=31706&preview=true
2017-03-24 17:19:32 +01:00
Danil Kornishev 319dd2653a Spring State Machine (#1424)
* 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
2017-03-24 16:55:27 +01:00
Grzegorz Piwowarek f673acbb47 Update .travis.yml 2017-03-24 16:44:28 +01:00
pivovarit d0b0debd06 Exclude integration tests 2017-03-24 16:17:34 +01:00