Commit Graph

9430 Commits

Author SHA1 Message Date
Abhinayak Swar 8cbca2f805 Code check-in for http://jira.baeldung.com/browse/BAEL-2012 (Set a Response body in JAX-RS) (#5009)
* abh.swar@gmail.com: Code check-in for article on Spring WebFlux
1. EmailWebClient is the client that subscribes to the data from WebFlux server
2. EmailGenerator generates one email per second randomly
3. EmailHandler and EmailRouter deal with handling of request of the subscriber
4. Email is the POJO for data transmitted by the server

* Code check-on for (http://jira.baeldung.com/browse/BAEL-1897) How to increment a Date by one day
- Added code and test to increment date by one day using java 8 and joda-time
- Added joda-time 2.10 dependency in pom.xml

* Revert "abh.swar@gmail.com: Code check-in for article on Spring WebFlux 1. EmailWebClient is the client that subscribes to the data from WebFlux server 2. EmailGenerator generates one email per second randomly 3. EmailHandler and EmailRouter deal with handling of request of the subscriber 4. Email is the POJO for data transmitted by the server"

This reverts commit 6254ad9

* Code check-on for (http://jira.baeldung.com/browse/BAEL-1897) How to increment a Date by one day
- Added code and test to increment date by one day using java.util.Calendar and ApacheCommons and unit tests for it
- Used properties for ${joda.version}
- Formatted the code using IntelliJ formatter
- Renamed DateIncrementerTest to DateIncrementerUnitTest
- Changed test method names to follow _given_when_then convention

* Code check-on for (http://jira.baeldung.com/browse/BAEL-1897) How to increment a Date by one day
- Removed unnecessary comment

* Code check-on for (http://jira.baeldung.com/browse/BAEL-1897) How to increment a Date by one day
- Corrected the order of parameters of assertEquals() method

* Code check-in for http://jira.baeldung.com/browse/BAEL-2012 (Set a Response body in JAX-RS)
- Added a Responder resource that has all the REST endpoints
- Added a POJO Person which will be used for JSON serialization

* Create test

* Delete test
2018-09-01 09:50:42 +03:00
Sam Millington 5e3a0c7ad3 BAEL-2033 - Removing duplicates and @Test (#5125)
* removed BenchmarkUnitTest from cove-java-8

* Removed StreamsOrderingUnitTest from core-java-8

* Removed test annotation from the unit test

This test will not need to be run manually.
2018-08-31 18:28:27 -06:00
Loredana Crusoveanu 4ba8e227e5
Merge pull request #5100 from den314/master
BAEL-2144 Sorting a String alphabetically
2018-08-31 08:43:03 +03:00
Alejandro Gervasio d7edc9a7c2 BAEL-2102 - Configure a Tomcat Connection Pool in Spring Boot (#5095)
* Initial Commit

* Initial Commit

* Initial Commit

* Update CommandLineCrudRunner.java

* Update pom.xml

* Update Customer.java

* Update application.properties

* Update pom.xml

* Update SpringBootConsoleApplication.java

* Update SpringBootConsoleApplication.java

* Update SpringBootConsoleApplication.java

* Update CommandLineCrudRunner.java

* Update pom.xml
2018-08-30 20:31:26 -05:00
myluckagain 3824590375 float to double (#5118) 2018-08-30 23:42:16 +02:00
Denis db0caea588 BAEL-2144 remove duplicated anagram validator from old location 2018-08-30 22:08:34 +02:00
Denis 61de6251ec BAEL-2144 move code to different module 2018-08-30 21:58:38 +02:00
Tom Hombergs 278cb53c7f
Merge pull request #5113 from eugenp/move-spring-jersey-rx
moved spring-jersey-rx into spring-jersey
2018-08-30 21:49:25 +02:00
Loredana Crusoveanu 9d8495d8aa
Merge pull request #5119 from dkapil/task/BAEL-8506
BAEL-8506 Test in CDI project failing
2018-08-30 21:27:46 +03:00
Hai Nguyen be05fabb4e Spring Security Taglibs (#4947)
* BAEL-1846: Java Image to Base64 String

* Move from using main method to Junit test

* Update to use environment variables for testing

* reformat and add test file

* spring boot jsp security taglibs

* add more test

* add more test

* refactor spring config

* refactor spring config

* Update README.md

* fi alignment

* fix requested comments

* additional tests and content

* additional tests and content

* update examples

* Delete Readme file

* edit form example

* adding example for spring boot security tag libs

* Remove old tag libs module
2018-08-30 12:19:13 -06:00
Amitabh Mandal aa2822c5fc BAEL-1991 - Understanding Process (#4863)
* Understanding Process

* Refactored names

* Refactored junit names based on document guidance

* Added alive

* renamed junits as behavior Driven requirements

* Added alive method junit

* added waitFor method time interval junit

* getOutputStream

* changed exception

* dummy commit

* Dummy Commit with blank lines

* Fixed assert and commented @Test

* fixed asserts

* Replaced System.out.println with logging

* replaced system.out.println with logging

* Dummy commit to ensure clean build

* Renamed Junit

* Fixed extra spaces and typo

* Uncommented @Test for 3 methods
2018-08-30 19:08:21 +01:00
Dhawal Kapil db704cbe4d BAEL-8506 Test in CDI project failing
- Fixed assertion of local time logic
2018-08-30 23:33:42 +05:30
Eugen Paraschiv 201d616c6b minor cleanup 2018-08-30 20:36:27 +03:00
Corneil du Plessis 5deb5311f8 BAEL-2105: Change for deployment to Cloud Foundry (#5060) 2018-08-30 01:00:11 +02:00
myluckagain 2a12e9abd4 BAEL-2151 (#5087)
BAEL-2151
2018-08-30 00:56:21 +02:00
Tom Hombergs 7b639b69cd removed spring-jersey-rx from pom.xml 2018-08-29 22:05:08 +02:00
Tom Hombergs 0782ae03c0 moved spring-jersey-rx into spring-jersey 2018-08-29 22:01:34 +02:00
Loredana Crusoveanu 2274e39392
Merge pull request #5112 from dkapil/task/BAEL-8507_1
BAEL-8507 Merge spring-data-spring-security into another appropriate …
2018-08-29 22:47:18 +03:00
Loredana Crusoveanu 8b1b7254e9
Merge pull request #5110 from dkapil/task/BAEL-8508
BAEL-8508 Let's upgrade these Jackson articles
2018-08-29 21:54:29 +03:00
Dhawal Kapil 4bc6dcad27 BAEL-8507 Merge spring-data-spring-security into another appropriate module
- Removed project spring-data-spring-security and moved its content in spring-security-mvc-boot
2018-08-30 00:22:19 +05:30
Tom Hombergs e3581ae9d3
Merge pull request #5019 from kartiksingla/BAEL-1302
[BAEL-1302] - Overview and Need of DelegatingFilterProxy in spring
2018-08-29 20:47:32 +02:00
Dhawal Kapil 5b3a9c55ee BAEL-8508 Let's upgrade these Jackson articles
- Upgraded dependencies in jackson module
2018-08-29 22:46:14 +05:30
Kacper c4cb6eec73 Move optional to java-8-core (#5105) 2018-08-29 06:51:41 -07:00
Loredana Crusoveanu 9028707a89
Merge pull request #5106 from dkapil/task/BAEL-8773
Task/bael 8773
2018-08-29 16:06:54 +03:00
Loredana Crusoveanu 4f3969611b
Merge pull request #5099 from dkapil/task/BAEL-8504
Task/bael 8504
2018-08-29 16:06:32 +03:00
Dhawal Kapil 68aaf0b6da BAEL-8773 Fixing spring-ejb-client module
- Fixed hierarchy of spring-ejb modules
2018-08-29 15:16:12 +05:30
Dhawal Kapil 723681fecb BAEL-8773 Fixing spring-ejb-client module
- Fixed hierarchy of spring-ejb modules
2018-08-29 14:03:16 +05:30
Dhawal Kapil dc8676630d Merge branch 'master' of https://github.com/eugenp/tutorials 2018-08-29 13:56:44 +05:30
fanatixan 163585858b Use Criteria Queries in a Spring Data Application (#5014)
* Use Criteria Queries in a Spring Data Application

* formatting fix

* making the workflow more readable
2018-08-29 08:39:01 +03:00
Dhawal Kapil dd5daf56cc BAEL-8504 Fix surefire configs
- Reverted changes for spring-ejb* projects
2018-08-29 10:33:18 +05:30
Eugen 1c455d1c1c
Update README.md 2018-08-29 00:44:58 +03:00
Tom Hombergs 0d56c806e5
Merge pull request #5016 from MajewskiKrzysztof/BAEL-2097
BAEL-2056
2018-08-28 21:28:58 +02:00
Dhawal Kapil 3443953123 BAEL-8504 Fix surefire configs of spring-5 projects part 2
- Fixed hierarchy for spring-ejb modules
2018-08-29 00:14:21 +05:30
Dhawal Kapil db3e47c498 BAEL-8504 Fix surefire configs of spring-5 projects part 2
- Disable invocation of testsuite in default profile
2018-08-28 23:47:20 +05:30
Sam Millington 8a65afeb5d BAEL:2033 - Stream-ordering files moved to the Java-Streams module (#5097)
* Added stream-ordering files

* Removed old files

* Rename core-java-8/src/test/java/com/baeldung/streamordering/BenchmarkUnitTest.java to java-streams/src/test/java/com/baeldung/streamordering/BenchmarkUnitTest.java

* Rename core-java-8/src/test/java/com/baeldung/streamordering/StreamsOrderingUnitTest.java to java-streams/src/test/com/baeldung/streamordering/StreamsOrderingUnitTest.java

* Rename java-streams/src/test/com/baeldung/streamordering/StreamsOrderingUnitTest.java to java-streams/src/test/java/com/baeldung/streamordering/StreamsOrderingUnitTest.java

* Updated Pom with JMH dependencies
2018-08-28 09:57:52 -06:00
Denis b2644c5cfc BAEL-2144 sort string alphabetically 2018-08-28 17:28:41 +02:00
Dhawal Kapil d635b3b05f BAEL-8504 Fix surefire configs of spring-5 projects part 2
- Disabled surefire configs, will be controlled by parent pom.xml
2018-08-28 20:28:13 +05:30
the-java-guy 991335da42 BAEL-1782 (#5067)
* 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

* Precommit fix

* PMD fixes

* Code Review changes
Refactored : whenResourceUtils_thenReadSuccessful

* BAEL-1934

* +indentation correction in pom.xml

* synced with master

* Precommit : rebase

* BAEL-1782
2018-08-28 16:23:01 +03:00
Dhawal Kapil 1d0eadf585 BAEL-8504 Fix surefire configs of spring-5 projects part 2
-Removed redundant surefire configs
2018-08-28 13:35:27 +05:30
Sam Millington 1256735a42 BAEL-2033: Added stream-ordering files (#5080)
* Added stream-ordering files

* Removed old files
2018-08-27 17:28:44 -06:00
Alessio Stalla 64ba651582 #BAEL-693 tests and code examples. (#5091) 2018-08-27 22:32:15 +02:00
Kacper 8ac53f70c4 Optional or else throw (#5088)
* Throw and throws in Java

* BAEL-2122 | throw exception in optional

* BAEL-2122 | optional orelsethrow

* fix test
2018-08-27 22:21:33 +02:00
josephine-barboza c209eecd5e BAEL-1666 Working with custom attributes in Thymeleaf (#5089)
* BAEL-1666 Working with custom attributes in Thymeleaf

* Delete listCourses.html
2018-08-27 22:19:59 +02:00
Denis 913ec96209 Merge remote-tracking branch 'upstream/master' 2018-08-27 21:34:10 +02:00
Loredana Crusoveanu 710a40be08
Merge pull request #5084 from dkapil/task/BAEL-8497
Task/bael 8497
2018-08-27 21:22:16 +03:00
Dhawal Kapil 1d0581cafb Merge branch 'master' of https://github.com/eugenp/tutorials 2018-08-27 23:36:29 +05:30
Siben Nayak ae287cb55f [BAEL-2032] Operate on an item in a Stream then remove it (#5086)
* [BAEL-2032] Operate on an item in a Stream then remove it

* [BAEL-2032] Refactored unit test

* [BAEL-2032] Added a new test for filter and used logger

* Stored the predicate in a separate variable
2018-08-27 13:07:35 +01:00
José Carlos Valero Sánchez 1c78267e4b
Merge pull request #5082 from chandra1123/BAEL-1829-1
Bael 1829 Overview of Apache Crunch
2018-08-27 10:52:52 +01:00
Dhawal Kapil 3ff20c353e BAEL-8497 Update "File to InputStream" article
- Added new tests for data input stream and sequence input stream in JavaXToInputStreamUnitTest
- Added new test resource anothersample.txt
2018-08-27 14:07:09 +05:30
Dhawal Kapil 17cf6fcb36 Merge branch 'master' of https://github.com/eugenp/tutorials 2018-08-27 13:46:55 +05:30