Commit Graph

4420 Commits

Author SHA1 Message Date
Sunil Mogadati 08896d72bc BAEL-445: Update to the simple Spring Security hasRole example (#940)
* 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
2016-12-29 16:55:40 -06:00
eugenp 07cfaecbd9 minor cleanup 2016-12-30 00:46:38 +02:00
Tomasz Lelek 0e163811ac Custom media types rest (#939)
* Custom Media Types for REST

* add test, add DTO, remove example of API versioning to make example simpler

* client accept only that custom-media type

* remove not needed new_line

* leave custom media type on class level

* do not need content type header

* GET do not need content-Type

* add liveTest for custom Content type

* Merge branch 'master' of https://github.com/eugenp/tutorials into Custom_media_types_rest

# Conflicts:
#	spring-rest/src/main/java/org/baeldung/web/controller/mediatypes/CustomMediaTypeController.java
#	spring-rest/src/main/java/org/baeldung/web/dto/BaeldungItem.java
#	spring-rest/src/test/java/org/baeldung/web/controller/mediatypes/CustomMediaTypeControllerTest.java
2016-12-29 16:44:21 -06:00
pivovarit 373f336b81 Refactor Selenium tests 2016-12-29 18:47:11 +01:00
Sunil Gulabani 2c99d93c3f BAEL-549: AWS Lambda (#932) 2016-12-29 18:46:46 +01:00
Sandeep4odesk fa50144eef Changes in assert statement (#941) 2016-12-29 18:40:22 +01:00
slavisa-baeldung b7b5463309 BAEL-97 - adding BeanNameMappingHandler 2016-12-29 17:11:28 +01:00
slavisa-baeldung de3d64b86d BAEL-97 - adding handler mapping examples 2016-12-29 16:47:20 +01:00
Ravi-ronic 4a96076ecf BAEL-538 Basic introduction to JMX technology (#937)
wordpress link http://inprogress.baeldung.com/wp-admin/post.php?post=27628&action=edit
2016-12-29 03:00:03 -06:00
eugenp 76485ab399 formatting work 2016-12-28 16:35:14 +02:00
Tomasz Lelek cbf878ba34 Custom Media Types for REST (#918)
* Custom Media Types for REST

* add test, add DTO, remove example of API versioning to make example simpler

* client accept only that custom-media type

* remove not needed new_line

* leave custom media type on class level
2016-12-28 08:33:04 -06:00
eugenp 082a45ebd6 minor cleanup 2016-12-28 14:36:48 +02:00
pivovarit 07364d0b79 Refactor NotificationController 2016-12-28 11:19:26 +01:00
Egima profile babd9da492 Javaslang project (#927)
* made changes to java reflection

* removed redundant method makeSound in Animal abstract class

* added project for play-framework article

* added project for regex

* changed regex project from own model to core-java

* added project for routing in play

* made changes to regex project

* refactored code for REST API with Play project

* refactored student store indexing to zero base

* added unit tests, removed bad names

* added NIO Selector project under core-java module

* requested changes made

* added project for nio2

* standardized exception based tests

* fixed exception based tests

* removed redundant files

* added network interface project

* used UUID other than timestamps

* fixed network interface tests

* removed filetest change

* made changes to NIO2 FileTest names

* added project for asyncronous channel apis

* added project for NIO2 advanced filesystems APIS

* merge conflicts

* merged changes to asyncfiletest with future get API

* removed while loops from async client and server

* added project for java8 optional

* fixed merge conflicts in spring-core

* fixed optional

* fixed optional

* fixed asyncechotest

* shifted optional to own package

* made additional tests to demo filter API

* added code for Map

* added javaslang project

* javaslang project

* added pattern matcher code
2016-12-28 08:33:38 +01:00
pivovarit c5b67b5620 Refactor Spring-Reactor samples 2016-12-28 08:25:21 +01:00
pivovarit 06f10646b1 Refactor Spring-Reactor samples 2016-12-28 08:19:55 +01:00
Abhinab Kanrar 20bbeb3e65 commiting spring reactor (#922)
* commiting spring reactor

* updating exception handling
2016-12-28 08:11:13 +01:00
Yasser Afifi f8edea40ae added HandlerMapping exampels 2016-12-27 21:55:41 +00:00
KevinGilmore b1d2595b65 Update README.md 2016-12-27 15:12:48 -06:00
eugenp bfaff06813 maven cleanup work 2016-12-27 13:00:01 +02:00
maibin ed89b85f18 Slope One refactoring (#926)
* @Async and Spring Security

* @Async with SecurityContext propagated

* Spring and @Async

* Simulated Annealing algorithm

* Simulated Annealing algorithm

* Rebase

* Rebase

* SA further fixes

* Slope One plus package refactoring

* SlopeOne refactoring
2016-12-26 21:21:17 +01:00
eugenp bc518a5bc1 maven work 2016-12-26 18:09:10 +02:00
eugenp 759d8e1687 maven upgrade 2016-12-26 17:07:32 +02:00
Pedja ff5e07323d Renamed module imageprocessing to image-processing 2016-12-26 13:25:12 +01:00
Luís Soares c271755048 Initial commit of Jsoup example (#913)
* Initial commit of Jsoup example

* Initial commit of Jsoup example

* Fix the requested changes
2016-12-25 08:11:27 -06:00
Saptarshi Basu 428bfcc8f2 WatchService vs. Apache Commons IO Mnitoring (#921)
* WatchService vs. Apache Commons IO Mnitoring

* Indentation fixed
2016-12-24 13:44:35 -06:00
pivovarit 69f902cc04 Rename module 2016-12-24 18:51:00 +01:00
slavisa-baeldung b80f7963e2 BAEL-315 - updating README 2016-12-24 15:22:28 +01:00
pivovarit c3feed8089 Refactor OpenIMAJRectExample 2016-12-24 14:23:52 +01:00
pedja4 338deb18e4 Merge pull request #920 from pared/introduce_openimaj
refactor packages & introduce OpenIMAJ
2016-12-24 11:43:50 +01:00
Daniele Demichelis e3b3dff244 Pull Request for fix to "A Guide to Rolling File Appenders" article. (#919)
* First test with log4j rolling appenders

* small fix

* Log4j rolling appender

* First set up with rolling file on log4j 2

* Added logback code.

* log4j2 more detailed example

* log4j2 more detailed example

* Improved names and examples

* Fixed configurations

* improved configs

* formatted

* Final fix

* fixed formatting

* Formatting fix

* Fix sample apps to avoid try / catch

* Fix request to replace files

* Fix end lines

* Log4j2 logger is shot down at the end.
2016-12-23 21:59:29 -06:00
prd e04a15bc8e refactor pom for image processing 2016-12-24 01:27:48 +01:00
prd ac20dd32d0 refactor packages & introduce OpenIMAJ 2016-12-24 01:19:33 +01:00
maibin 1a17166d36 Slope One Algorithm (#917)
* @Async and Spring Security

* @Async with SecurityContext propagated

* Spring and @Async

* Simulated Annealing algorithm

* Simulated Annealing algorithm

* Rebase

* Rebase

* SA further fixes

* Slope One plus package refactoring
2016-12-23 12:36:08 -06:00
Tuan 5226c5f414 BAEL-406 (#902)
* Change text/xml to application/xml

* Revert "Change text/xml to application/xml"

This reverts commit b61b82cd2a.

* Apache CXF Aegis data bindings

* remove else condition

* remove else condition

* spring retry introduction

* remove else condition

* remove spring retry, format code

* BAEL-315 Removing the unnecessary version on spring session. Renaming the module from spring-cloud-integration to spring-could-bootstrap

* add unit test

* BAEL-40: Add NDC and JBoss Logging to the demo application (#880)

* 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

* Simulated Annealing algorithm (#900)

* @Async and Spring Security

* @Async with SecurityContext propagated

* Spring and @Async

* Simulated Annealing algorithm

* Simulated Annealing algorithm

* Rebase

* Rebase

* create intelliJ formatter

* fix intelliJ formatter

* add unit test

* BAEL-36 BAEL-282 Getting file size using Java and apache commons IO api. Also grep in Java (#890)

* BAL-36 File size api in java and apache commons IO

* BAEL-36 Getting file size using Java and commons IO api.

* BAEL-282 Added support for grep functionality.

* BAEL-282 Rename the text file extension.

* maven fix and small formatting work

* BAEL-35: Added test methods using Apache Commons Collections4

* Created README.md and added relevant articles (#901)

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Added relevant articles

* Added relevant articles

* Update README.md

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Update README.md

* Added relevant articles

* Update README.md

* Created README.md and added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Update README.md

* Refactor EJBClient.java

* BAEL-282 - Grep in Java after code review (#903)

* BAEL-242 Package refactoring after code review for article Grep in Java

* BAEL-282 Updated readme file

* Update README.md

* maven cleanup work

* maven cleanup work

* Pull Request for "A Guide to Rolling File Appenders" article. (#876)

* First test with log4j rolling appenders

* small fix

* Log4j rolling appender

* First set up with rolling file on log4j 2

* Added logback code.

* log4j2 more detailed example

* log4j2 more detailed example

* Improved names and examples

* Fixed configurations

* improved configs

* formatted

* Final fix

* fixed formatting

* Formatting fix

* Fix sample apps to avoid try / catch

* Fix request to replace files

* Fix end lines

* maven work

* init

* cleanup work

* cleanup work

* Update README.md

* set default timezone

* Simulated Annnealing fixes (#907)

* @Async and Spring Security

* @Async with SecurityContext propagated

* Spring and @Async

* Simulated Annealing algorithm

* Simulated Annealing algorithm

* Rebase

* Rebase

* Nashorn (#896)

* Simulated Annealing fix (#910)

* @Async and Spring Security

* @Async with SecurityContext propagated

* Spring and @Async

* Simulated Annealing algorithm

* Simulated Annealing algorithm

* Rebase

* Rebase

* SA further fixes

* change tab to space in xml files and add equal, hashcode, toString using apache commons lang

* BAEL-315 Adding test class for demonstrating features of Spring Session and Spring Cloud

* add integration profile

* add live profile

* add integration profile

* add integration profile

* add integration profile

* BAEL-127: Spring Security - @PreFilter and @PostFilter (#911)

* BAEL-127: simple app with filters

* removed data rest dependency, final adjustments

* added first live test for the rest api

* move filters code to new module

* moved to root of module, create service layer, standard pom

* added spring-security-core module to root pom

* Modified code to reflect the code from the article

* Merge changes from branch

* BAEL-315 - skipping live test

* adding missing modules to parent pom

* Advanced Camel article (#905)

* - changed test package name from org.baeldung to com.baeldung
- streams are added where neccessary
- format fixes

* Adding Java config for Content Based File Router

* Adding Java config for Content Based File Router

* Code for Map (#909)

* made changes to java reflection

* removed redundant method makeSound in Animal abstract class

* added project for play-framework article

* added project for regex

* changed regex project from own model to core-java

* added project for routing in play

* made changes to regex project

* refactored code for REST API with Play project

* refactored student store indexing to zero base

* added unit tests, removed bad names

* added NIO Selector project under core-java module

* requested changes made

* added project for nio2

* standardized exception based tests

* fixed exception based tests

* removed redundant files

* added network interface project

* used UUID other than timestamps

* fixed network interface tests

* removed filetest change

* made changes to NIO2 FileTest names

* added project for asyncronous channel apis

* added project for NIO2 advanced filesystems APIS

* merge conflicts

* merged changes to asyncfiletest with future get API

* removed while loops from async client and server

* added project for java8 optional

* fixed merge conflicts in spring-core

* fixed optional

* fixed optional

* fixed asyncechotest

* shifted optional to own package

* made additional tests to demo filter API

* added code for Map

* change unit test package dir

* minor maven cleanup

* Reformat JaxbTest

* Added demonstration of @JsonFormat and associated test. (#906)

* remove duplicate test

* rename tests

* delete bool.xml file

* remove jaxb

* spring retry introduction

* remove else condition

* remove spring retry, format code
2016-12-23 18:41:51 +01:00
Zeger Hendrikse d61e7ec8e8 Added pom.xml 2016-12-23 17:41:30 +01:00
nguyennamthai 4f1ac2e776 Apache POI Support for MS Word (#908)
* Initial commit for Apache POI support for MS Word

* Relocate the POI Word project

* Add Apache POI to the repo
2016-12-23 17:38:23 +01:00
DOHA 0467e93b9e rename tests 2016-12-22 21:08:13 +02:00
DOHA 0a9245cd52 remove duplicate test 2016-12-22 20:18:58 +02:00
jaysridhar eadf45d628 Added demonstration of @JsonFormat and associated test. (#906) 2016-12-22 10:37:13 +01:00
pivovarit ba89722236 Reformat JaxbTest 2016-12-22 10:22:03 +01:00
eugenp 6886ebc511 minor maven cleanup 2016-12-22 09:15:11 +02:00
Egima profile 3b6d709108 Code for Map (#909)
* made changes to java reflection

* removed redundant method makeSound in Animal abstract class

* added project for play-framework article

* added project for regex

* changed regex project from own model to core-java

* added project for routing in play

* made changes to regex project

* refactored code for REST API with Play project

* refactored student store indexing to zero base

* added unit tests, removed bad names

* added NIO Selector project under core-java module

* requested changes made

* added project for nio2

* standardized exception based tests

* fixed exception based tests

* removed redundant files

* added network interface project

* used UUID other than timestamps

* fixed network interface tests

* removed filetest change

* made changes to NIO2 FileTest names

* added project for asyncronous channel apis

* added project for NIO2 advanced filesystems APIS

* merge conflicts

* merged changes to asyncfiletest with future get API

* removed while loops from async client and server

* added project for java8 optional

* fixed merge conflicts in spring-core

* fixed optional

* fixed optional

* fixed asyncechotest

* shifted optional to own package

* made additional tests to demo filter API

* added code for Map
2016-12-21 21:07:46 +01:00
Ante Pocedulic acdea70d4c Advanced Camel article (#905)
* - changed test package name from org.baeldung to com.baeldung
- streams are added where neccessary
- format fixes

* Adding Java config for Content Based File Router

* Adding Java config for Content Based File Router
2016-12-21 20:34:34 +01:00
DOHA 42067af3e7 adding missing modules to parent pom 2016-12-21 14:22:07 +02:00
slavisa-baeldung 8f21e2bc52 BAEL-315 - skipping live test 2016-12-21 07:39:10 +01:00
slavisa-baeldung 469164caa2 Merge branch 'master' into pr/899-tim 2016-12-21 07:30:11 +01:00
Zeger Hendrikse 8442fc354b Merge changes from branch 2016-12-20 23:00:35 +01:00
Zeger Hendrikse 66e6ae6c19 Modified code to reflect the code from the article 2016-12-20 22:44:47 +01:00
felipe-gdr de2080f59f BAEL-127: Spring Security - @PreFilter and @PostFilter (#911)
* BAEL-127: simple app with filters

* removed data rest dependency, final adjustments

* added first live test for the rest api

* move filters code to new module

* moved to root of module, create service layer, standard pom

* added spring-security-core module to root pom
2016-12-20 15:31:30 -06:00