Commit Graph

4968 Commits

Author SHA1 Message Date
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
pivovarit cd0873751c add testing profile 2017-03-24 16:03:20 +01:00
pivovarit ae52b82255 mvn test 2017-03-24 16:00:05 +01:00
pivovarit 94e1fc2da6 Remove unused tests 2017-03-24 15:52:46 +01:00
Tomasz Lelek 2d556cd763 Bael 738 (#1478)
* BAEL-724 code for put/patch article

* BAEL-724 fix typo

* BAEL-728 more generic patch approach
2017-03-24 15:29:14 +01:00
Vivek Kumar e884e3f924 update spring-kafka project with support for multiple partitions and JSON serializer (#1472) 2017-03-23 21:50:30 +01:00
Tomasz Lelek b01c2c5a94 Bael 361 jackson streaming (#1459)
* BAEL-361 tests for Streaming API

* BAEL-361 do not use deprecated API

* BAEL-361 return to not read whole json document, only needed field
2017-03-23 13:46:32 +01:00
KevinGilmore a055ab5f81 BAEL-714: Updated README.md (#1475)
* 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
2017-03-22 19:29:59 -05:00
Justin Wilson e71358a9de BAEL-503: initial commit of a simple Spring AMQL example application (#1467) 2017-03-22 13:47:23 +01:00
KevinGilmore d66703b5d9 BAEL-680: rename test methods (#1470)
* 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
2017-03-21 17:46:06 -05:00
Alexandre Lombard bd237b2115 master (#1455)
* Example code to return image with @ResponseBody

* Example code showing how to return images using @ResponseBody

* Example code showing how to return images using @ResponseBody
2017-03-21 17:33:31 +01:00
Grzegorz Piwowarek eab4a5f8ca Move custom filter examples (#1465)
* Move custom filter examples

* Remove unused README entry
2017-03-21 17:10:30 +01:00
Grzegorz Piwowarek faea5eb510 Refactor Javaslang samples (#1469) 2017-03-21 16:49:29 +01:00
slavisa-baeldung 60bbd6de56 Merge pull request #1458 from eugenp/sla-pr/1381-vert.x-dhrubayotti
BAEL-702 - Intro to Vert.x
2017-03-21 12:29:29 +00:00
Felipe Reis 78f87104d6 BAEL-137 Intro do JHipster (#1427)
* refactor: Reorder tests without lambda

Moves inner implementations of Answer and ArgumentMatcher to the top of
the test classes.
Also changes the lambda expression to a regular "pre java 8" expression
in one of the tests.

Resolves: BAEL-632

* feat: Create basic Monolithic JHipster project

Commit just after creating a JHipster project, before making any modifications.

Resolves: BAEL-137

* chore: Change the artifactId and name of the project

From baeldung to jhipster-monolithic and JHipster Monolithic Application

Relates to: BAEL-137

* feat: Create entities Post and Comment

Relates to: BAEL-137

* feat: Fix Gatling configuration in pom.xml

Relates to: BAEL-137

* feat: Add files for Continuous Integration

Relates to: BAEL-137

* feat: Change pom.xml to conform to Baeldung standards

- moved the <properties> element to the bottom of the file
- excluded integration tests in the default surefire configuration
- added a new profile, called integration, and added the integration tests there
- added Java 8 in the <source> and <target> tags, under maven-compiler

solves: BAEL-137

* chore: Add jhipster module to parent pom
2017-03-21 12:23:41 +01:00
Parth Joshi 07c0e84bf4 Initial commit for merging modules spring-mvc-forms into (#1222)
spring-mvc-simple.
2017-03-21 11:24:57 +01:00
pivovarit b5ef48a1d8 Turn off spring-5 module 2017-03-21 10:00:35 +01:00
Yasin 9c755ee39c BAEL-722 Intro to JSONassert (#1460)
* 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
2017-03-20 19:13:42 +01:00