Ger Roza
b6183e9315
[BAEL-9498] Fix failing context tests - part 2 ( #7738 )
...
* fixed Spring Context Test in spring-data-rest-querydsl module
* fixed spring-ejb/spring-ejb-client Context tests, removed ContextIntegrationTest and added a note to the ContextLiveTest. Plus, redefined spring-ejb-remote url in pom, it was not working properly'
* Fixed Context test in spring-remoting/remoting-jms/remoting-jms-server, added notes for Live Test
* Fixed Context test in spring-remoting/remoting-rmi\remoting-rmi-server, added notes for Live Test
* Fixed Context test in spring-rest-query-language, added note for ContextTest and deleter ContextIntegrationTest
* renamed SpringContextIntegrationTest to SpringContextTest, as per comment in BAEL-14304
2019-09-09 12:16:40 +01:00
Ger Roza
e9e4f63313
[BAEL-9497] Fix failing context tests - part 1 ( #7719 )
...
* fixed context dependency issue and added LiveContext notes in persistence-modules/spring-data-couchbase-2 module
* fixed Context tests and added notes for spring-cloud-bus/spring-cloud-config-client module
* Added context test in spring-cloud-data-flow/spring-cloud-data-flow-stream-processing/data-flow-server module, mainly due to incompatible dependencies, plus fixed parent pom path in different modules
* fixed context tests for spring-cloud/spring-cloud-task/springcloudtaskbatch module, renamed ContextLiveTest as IntegrationTest, now configured to run with an H2 embedded instance. Moved the run note to the application
* Added SpringContextLiveTests in persistence-modules/spring-data-mongodb module
2019-09-06 10:19:30 +01:00
Ger Roza
5bc7d85eee
[BAEL-3066] (Reverted and Redone) Spring Security: Exploring JDBC Authentication article ( #7565 )
...
* Revert "[BAEL-3066] Spring Security: Exploring JDBC Authentication (#7441 )"
This reverts commit 5aecdeb021 .
* Redone Spring-Security-Exploring-JDBC-Authentication code, now witout using submodules
2019-08-20 06:42:47 +02:00
Gerardo Roza
418064b74d
added back removed Context Tests
2019-08-12 19:17:00 -03:00
Gerardo Roza
cb6306b172
Upgraded parent-spring-5 versions, and fixed minor issues in modules using the parent module
2019-08-09 21:10:20 -03:00
Gerardo Roza
f174fa0ae9
Fix test naming, now renamed as LiveTest
2019-07-29 09:58:14 -03:00
Ger Roza
5aecdeb021
[BAEL-3066] Spring Security: Exploring JDBC Authentication ( #7441 )
...
* created multi-module project from spring-security-mvc-boot
* Added JDBC Authentication application to spring-security-mvc-boot-default
* Added JDBC Authentication application to spring-security-mvc-boot-mysql
* Added JDBC Authentication application to spring-security-mvc-boot-postgre
* adding new modules to parent spring-security-mvc-boot module, reformatting sql scripts, and added form fields to H2 LiveTest
2019-07-29 07:56:21 +02:00
Gerardo Roza
30f4da3dd5
renamed spring-security-mvc-session to simply spring-security-mvc
2019-07-25 12:08:47 -03:00
Gerardo Roza
b981da41c8
added live tests for session timeout properties
2019-07-25 11:40:21 -03:00
Gerardo Roza
b355af4d01
fixed migration to spring boot 2, plus now added properties in articles
2019-07-23 16:22:20 -03:00
Gerardo Roza
ff2988fc51
Moved Circular Depenednecy article from spring-mvc-java to spring-core module
2019-07-15 20:02:12 -03:00
Gerardo Roza
3150b6d4fd
Moved MediaTypeNotAcceptableException article from spring-mvc-java to spring-mvc-basics module, and added test
2019-07-15 13:07:01 -03:00
Gerardo Roza
fc24c7b69b
Fixed article links, previously moved to spring-boot-mvc
2019-07-15 11:13:30 -03:00
Ger Roza
cda387711f
[BAEL-15425] Update Spring Security Database article ( #7227 )
...
* Simplified and updated module, pom and or.baeldung.custom project
* *disabled csrf in custom package for existing junit live test
* fixed Integration test for new simplified spring context
* Reverted pom file to its original version
* modifications to address PR comments:
* enabling CSRF
* using annotations to obtain principal
* using requestmapping shorthands
2019-07-05 21:42:56 -06:00
Gerardo Roza
e239fb9763
Added Integration test for ModelAttribute article
2019-07-01 22:30:44 -03:00
Gerardo Roza
dc3c793717
Moved ModeAttribute article from spring-mvc-java to spring-mvc-basics module
2019-07-01 22:08:02 -03:00
Gerardo Roza
bb2765c4e3
Moved Using @ResponseStatus article from spring-mvc-java to spring-mvc-basics module
2019-07-01 20:26:45 -03:00
Gerardo Roza
e77faf8d99
Moved MVC Custom Valitation article code from spring-mvc-java to spring-mvc-basics module
2019-07-01 19:35:33 -03:00
Gerardo Roza
e84ea4d4c5
Moved RequestMapping Shortcut annotations article code from spring-mvc-java to spring-mvc-basics
2019-07-01 18:32:49 -03:00
Gerardo Roza
00c4774774
Moved Content Negotiation article code from spring-mvc-java to spring-mvc-basics
2019-07-01 18:29:47 -03:00
Gerardo Roza
1e9364a7dc
Moved code of article spring-handler-mappings from spring-mvc-java to spring-mvc-basics
...
Renamed beans to avoid collisions
2019-06-17 11:07:50 -03:00
Gerardo Roza
802000d545
Migrated spring-mvc-basics to a Spring Boot project
2019-06-17 11:07:49 -03:00
Gerardo Roza
ed7630c2d0
Moved ViewResolver article related code from spring-mvc-java to spring-mvc-basics
2019-06-17 11:07:49 -03:00
Gerardo Roza
ee4953b7ef
* Added example and test for "using @ResponseStatus" article in the spring-mvc-basics module
2019-06-17 11:07:48 -03:00
Gerardo Roza
33d0ac5738
* Moved Controller vs RestController article code from spring-mvc-java to spring-mvc-basics
...
* now using jupiter tests for the tests involved
* fixed error in involved test
2019-06-17 11:07:47 -03:00
Gerardo Roza
20c2c2dd76
* moved 'Spring MVC Tutorial' code from spring-mvc-java to new module spring-mvc-basics
...
* cleaned spring-mvc-basics pom
2019-06-17 11:07:46 -03:00
Gerardo Roza
416c103cda
Created new empty module spring-mvc-basics
2019-06-17 11:07:46 -03:00
Gerardo Roza
9d5e6519cc
Deleted duplicated readme file. It was generating issues in case unsensitive os
2019-06-14 11:04:37 -03:00
Gerardo Roza
5eaa028123
* Added test for constructor dependency injection article
...
* removed spring version in xml file
2019-06-13 13:10:54 -03:00
Ger Roza
2a815eb742
Upgraded spring Cloud Eureka article code to the latest versions
2019-05-04 13:36:43 -03:00
Ger Roza
01af809924
changed spring-boot-rest HATEOAS dependency, to use the starter dependency instead
2019-04-20 16:48:02 -03:00
Ger Roza
df075866cd
Added Context Test for missing spring-cloud-spring-cloud-archaius projects
2019-04-20 15:08:36 -03:00
Ger Roza
381c6a4999
fixed or added SpringContextIntegrationTests for spring cloud submodules:
...
spring-cloud-functions
spring-cloud-kubernetes/travel-agency-service
spring-cloud-openfeign
spring-cloud-task/springcloudtaskbatch
spring-cloud-vault
spring-cloud-zookeeper/HelloWorld
spring-cloud-zuul
2019-04-20 12:48:49 -03:00
Ger Roza
ea06f79651
Fixed Integration Tests for spring-cloud submodules:
...
* spring-cloud-archaius/basic-config
* spring-cloud-aws
* spring-cloud-bootstrap projects
2019-04-20 12:48:49 -03:00
Ger Roza
15b053c6a8
[BAEL-2735] REST-Assured Authentication article ( #6753 )
...
* Added restassured test using basic auth, form auth and digest.
* Added Rest Assured Authentication - OAuth Live Test
* Add Authentication with Rest Assured for autoconfigured Form Login
* Add OAuth 1 Rest Assured scenario
2019-04-18 08:34:40 -07:00
Ger Roza
f391ddf462
Moved Spring HATEOAS article to spring-boot-rest module
2019-04-16 17:13:15 -03:00
Ger Roza
c685f8d4ff
fixed spring-cloud context integration tests - part 2:
2019-04-10 17:58:34 -03:00
Ger Roza
b42febfd83
Fixed or added Context Integration Tests for modules named in ticket
2019-04-02 09:06:34 -03:00
Ger Roza
786888f7c3
BAEL-12777 Upgrade parent-spring-5 version:
...
* Migrated parent-spring-5 version (spring-core and spring-security)
* Cleaned spring-security version being used in some modules. Now using the parent version
2019-03-08 08:39:44 -03:00
Ger Roza
7ee231b817
[BAEL-11601] Move and update Testing REST with multiple MIME types article code
...
Moved the code and cleaned spring-rest-full module.
2019-02-24 11:49:28 -03:00
Ger Roza
1e9efcd606
Added scenario using FooPageableLiveTest bean
2019-02-24 09:40:25 -03:00
Ger Roza
52b164ffca
[BAEL-11597] Move and update Etags article
...
* Moved etags article related code
* Fixed existing etag Ignored test
* Added etag scentsio adding etag support to a single endpoint
* Added tests for single endpoint etag scenario
* Cleaned now unused code in spring-rest-full module
2019-02-24 09:40:25 -03:00
Ger Roza
6a30f3d9d8
There was no code associated to this article. Also, the spring-rest readme file didn't contain the article's link.
2019-02-22 09:14:52 -03:00
Ger Roza
578d35d25d
Move and Update Rest and Http Message Converter Article:
...
moved code (mostly commented out)
changed readme file
added spring boot exampel simply adding bean, for xml too
2019-02-19 16:23:44 -03:00
Ger Roza
f8f78afe85
Moved al HATEOAS related code from spring-rest-full module to spring-boot-rest
2019-02-14 11:54:35 -02:00
Ger Roza
2814327079
Moved article from Readme files
2019-01-29 19:17:01 -02:00
Ger Roza
e51d996ec1
Added spring boot related tests for building Rest API article
2019-01-29 17:12:46 -02:00
Ger Roza
0b988db96d
Moved Building REST API article related code from spring-rest-full to spring-boot-rest module
2019-01-29 17:04:33 -02:00
Ger Roza
b50ef0b400
improved slightly link generation code
2019-01-21 23:19:07 -02:00
Ger Roza
14b65b327f
moved Rest Pagination article code from spring-rest-full to spring-boot-rest
2019-01-21 17:15:51 -02:00
Ger Roza
dea88da777
Adding dao dependencies and exception handling of original classes
2019-01-19 17:00:30 -02:00
Ger Roza
8a307c1aba
moved new package to existing one
2019-01-19 09:32:54 -02:00
Ger Roza
684ee6040e
Added example for spring boot exception handling
2019-01-17 17:44:49 -02:00
Ger Roza
22e98e06ea
Removed most exception handlers from spring-rest-full (except the ones used in other articles) and moved them to spring-boot-rest
2019-01-15 18:45:36 -02:00
Ger Roza
b395dc1d41
Now using Auth and Resource servers from Baeldung/spring-security-oauth ( #6128 )
2019-01-12 12:57:19 -08:00
Ger Roza
a15045f8a7
edit readme to trigger travis build
2019-01-10 18:17:59 -02:00
Ger Roza
94c146e245
just to trigger the Travis build
2019-01-10 14:21:27 -02:00
geroza
8c34b3e93b
* removed temporary parent module parent-spring-5
2019-01-10 11:05:18 -02:00
geroza
1ca15e5919
Migrated modules using parent-spring-5:
...
ethereum
persistence-modules/spring-data-elasticsearch
persistence-modules/spring-data-mongodb
spring-dispatcher-servlet
spring-mvc-forms-jsp
spring-mvc-java
2019-01-10 11:05:18 -02:00
geroza
39bfa04d11
change to kick off build
2019-01-09 23:54:26 -02:00
geroza
04a4c339b7
change to kick off build
2019-01-09 23:54:26 -02:00
geroza
63258737ce
modified readme file to kick off travis build
2019-01-09 23:54:26 -02:00
geroza
74df0da304
fixed removed import by mistake
2019-01-09 23:54:26 -02:00
geroza
cde1d1c7ad
Fixed usage of deprecated GzipResourceResolver in spring-static-resources
...
added back spring-version modification in module that hasnt been worked yet
cleaned unused classes
2019-01-09 23:54:26 -02:00
geroza
c7ba38ffcd
migrated the following modules using parent-spring-5 to spring 5.1:
...
spring-mvc-simple
spring-security-mvc-custom
spring-security-mvc-login
spring-security-rest
spring-security-rest-basic-auth
spring-static-resources
spring-thymeleaf
2019-01-09 23:54:26 -02:00
Ger Roza
bbb6c93598
[BAEL-2315] spring-5-reactive-oauth & spring-5-security-oauth | WebClient and OAuth2 support ( #6053 )
...
* Cleaned shared properties in spring-5-security-oauth module, and made some final tunings on authorization service and the resource server
* Added and modified example for webclient-oauth2
* Cleaned authorization service and resource service for webclient and oauth2 article
* Added examples for auth code with client and with login
cleaned properties and packages
* Added examples fow webclient + oauth2
2019-01-02 16:13:35 -08:00
geroza
40e26514f4
* Renamed IntegrationTests that needed manual configurations to run succesfully as ManualTests
...
* Renamed Integrationtests that needed the project (or related project, in case of client-server) as LiveTests
* Fixed migration of mustache module to make it compatible with spring-boot 2.1
2018-12-29 19:09:35 -02:00
geroza
6de56600db
Merge branch 'master' of github.com:eugenp/tutorials into geroza/BAEL-9523_migrate-projects-to-paren-t-pom-2
2018-12-29 15:20:52 -02:00
geroza
cb259f6f6c
minor fixes:
...
fixed method naming
added dirtiesContext annotation to classes that shouldnt share the app context state
using SpringApplication instead of unnecessary SpringApplicationBuilder
2018-12-22 11:05:38 -02:00
geroza
832a3dc176
Fixed deprecation usage in spring-boot
2018-12-22 10:38:25 -02:00
geroza
cb4470edea
migration of modules:
...
spring-zuul
spring-vertx
spring-sleuth
2018-12-22 10:38:25 -02:00
geroza
dcc054d6de
Migrated the following modules to parent-boot-2:
...
spring-reactor
spring-quartz
2018-12-22 10:38:25 -02:00
geroza
a1b5d77656
Migrated the following modules, nos using parent-boot-2:
...
spring-protobuf
spring-mockito
spring-mustache
spring-kafka
spring-jooq
spring-cucumber
spring-aop
spring-amqp-simple
2018-12-22 10:36:08 -02:00
geroza
29b4110b34
just migrated poms, nothing checked
2018-12-22 10:36:08 -02:00
Ger Roza
291abe3dee
change in README just to kick off a Travis build
2018-12-14 09:02:17 -02:00
geroza
1ad6d9c872
Deleted temporary parent-boot module using spring-boot 2.0.x
2018-12-12 10:26:07 -02:00
geroza
9ee33c151f
migrated modules to parent-boot-2 with spring-boot 2.1:
...
spring-session/spring-session-jdbc
spring-vault
spring-webflux-amqp
vaadin
vavr
2018-12-12 09:29:23 -02:00
geroza
99dd82d2ff
Migrated modules to parent-boot-2 usign spring-boot 2.1:
...
spring-mvc-forms-thymeleaf
spring-rest
spring-rest-angular
spring-rest-query-language
spring-rest-shell
spring-rest-simple
spring-rest-template
spring-resttemplate
spring-security-mvc-boot
spring-security-openid
spring-security-sso
spring-security-thymeleaf
2018-12-12 09:29:23 -02:00
geroza
24d6fe7f80
Migrated the following modules to parent-boot with spring-boot 2.1:
...
spring-cloud-data-flow/etl/customer-mongodb-sink
spring-cloud-data-flow/etl/customer-transform
2018-12-09 11:10:19 -02:00
geroza
bad04601be
* migrated the following modules:
...
spring-boot
spring-boot-autoconfiguration
spring-boot-bootstrap
spring-boot-client
spring-boot-ctx-fluent
spring-boot-disable-console-logging
spring-boot-jasypt
spring-boot-mvc
spring-boot-ops
spring-boot-vue
spring-cloud/spring-cloud-vault
spring-data-rest
2018-12-09 11:10:19 -02:00
geroza
a2ceb57dd1
Migrated modules to use parent-boot with version spring-boot 2.1
2018-12-09 11:10:19 -02:00
Ger Roza
a21f82001c
Added cases using subscribeOn and publishOn when debuggin reactive streams, for analysis ( #5841 )
2018-12-04 19:14:12 -08:00
geroza
64acbeec4e
Migrated modules to parent-boot with spring-boot 2.1:
...
* spring-boot-persistence
* persistence-modules/spring-data-jpa
* persistence-modules/spring-data-keyvalue
* persistence-modules/spring-data-redis
2018-12-03 21:38:12 -02:00
geroza
b91f7e321e
Migrated the following modules to parent-boot with spring-boot 2.1:
...
* spring-5-reactive-client
* spring-5-reactive-security
* spring-5-security
* spring-5-security-oauth
* spring-all
2018-12-03 19:13:43 -02:00
geroza
baa6288375
Migration of the following modules:
...
* spring-5-mvc
* spring-5-reactive
2018-12-03 14:53:39 -02:00
geroza
8eb95df40b
migrated the following modules:
...
* azure
* jib
* spring-5
* spring-5-data-reactive
2018-12-02 12:46:28 -02:00
geroza
6ced126022
created parent-boot-2 copy, and point all projects to that new temporary parent pom
2018-12-01 17:37:34 -02:00
Ger Roza
3d2f6eff67
[BAEL-2278] spring-5-reactive | debugging reactive streams ( #5789 )
...
* First approach for the scenario, not stable yet.
* Added 2 services for teh article
Consumer is the main example project, with all the debugging functionality
* * cleaned unused spring-5-data functionality
* cleaning unused spring-5-data pom
* *fixed indentation error
* addressed Jira comments:
* Created live test, and renamed unit test as integrtion test
* Tried to fix issue in CI, couldnt reproduce locally
2018-11-27 11:32:34 -08:00
geroza
31825c7b3b
Fixed one other scenario not working properly
2018-11-18 19:29:38 -02:00
geroza
e4c7f7e72e
minor estetic changes
2018-11-17 01:55:14 -02:00
geroza
de37cc8af1
Fixed LiveTests for migration of spring-boot module to Spring Boot 2
2018-11-17 01:14:10 -02:00
geroza
47735dcd70
Fixed issues due to parent-boot-2 migration (migration to Spring-boot 2):
...
* Configured Hiberante 5 correctly
* Configured Git plugin correctly
* Changed hibernate methods to comply with new method naming conventions
* Removed and replaced deprecated properties
* Updated Actuator test to use new response structure
* Using random port in Mongo integration test, to avoid clashing with a potential instance using the mongo default port
2018-11-16 14:34:48 -02:00
geroza
55ba7955f9
Fixed:
...
* SimpleDateFormatUnitTest test, which relied on the system locale, thus making it platform dependent
* UppercaseFileReaderUnitTest, LowercaseFileReaderUnitTest and StandardFileReaderUnitTest, which were using an approach that seems to be efficient only on Windows; on Linux it raises an exception. The new approach should be good for all cases, but we need testing on a Windows environment
2018-11-13 00:36:08 -02:00
geroza
4a130b57a7
9 - ninth commit to split core-java. In this commit:
...
* added core-java-arrays module to the root pom
2018-11-10 16:18:46 -02:00
geroza
4e5302ddf5
8- Eighth commit to split core-java. This commit includes:
...
* Creating core-java-lang and core-java-arrays README files
* Cleaning core-java README file
2018-11-10 16:04:32 -02:00
geroza
2380a4abad
7- Seventh commit for splitting core-java module task. This commit includes:
...
* Cleaning core-java-lang pom
* Cleaning core-java-arrays pom
* Fixing core-java artifact version, not using property
2018-11-10 13:25:10 -02:00
geroza
6634c0e100
6 - Sixth commit to split core-java module. This commit includes:
...
* fixiing failing unit tests, moving required resources to new modules
2018-11-10 12:55:07 -02:00
geroza
7249a2c88d
5 - Fifth commit to split core-java. This one includes:
...
* to core-java-lang:
* https://www.baeldung.com/java-separate-double-into-integer-decimal-parts
* https://www.baeldung.com/java-sneaky-throws
* https://www.baeldung.com/java-inheritance-composition
* to core-java-array:
* https://www.baeldung.com/java-array-copy
* https://www.baeldung.com/java-initialize-array
* https://www.baeldung.com/java-array-contains-value
* https://www.baeldung.com/java-invert-array
* https://www.baeldung.com/java-array-sum-average
* https://www.baeldung.com/java-jagged-arrays
* https://www.baeldung.com/java-util-arrays
* https://www.baeldung.com/java-common-array-operations (from core-java-collections)
2018-11-10 11:13:04 -02:00
geroza
55c49b25f1
4- Fourth commit for core-java module splitting. This commit includes:
...
* to core-java-lang:
* https://www.baeldung.com/java-stack-overflow-error
* https://www.baeldung.com/java-new-custom-exception
* https://www.baeldung.com/java-exceptions
* https://www.baeldung.com/java-final-finally-finalize
* https://www.baeldung.com/java-static-dynamic-binding
* https://www.baeldung.com/java-throw-throws
* https://www.baeldung.com/java-synthetic
* https://www.baeldung.com/java-switch
* https://www.baeldung.com/modulo-java
* https://www.baeldung.com/java-ternary-operator
2018-11-10 10:29:12 -02:00
geroza
61574b7228
3-Third commit for articles:
...
* to core-java-lang:
* https://www.baeldung.com/java-lang-system
* https://www.baeldung.com/java-type-erasure
* https://www.baeldung.com/java-assert
* https://www.baeldung.com/java-pass-by-value-or-pass-by-reference
* https://www.baeldung.com/java-variable-method-hiding
* https://www.baeldung.com/java-access-modifiers
* https://www.baeldung.com/java-super
* https://www.baeldung.com/java-this
* https://www.baeldung.com/java-immutable-object
* https://www.baeldung.com/java-classnotfoundexception-and-noclassdeffounderror
* https://www.baeldung.com/infinite-loops-java (changes for this were included in commit 1, with other loop-related examples)
2018-11-10 01:21:58 -02:00