Commit Graph

1037 Commits

Author SHA1 Message Date
Ralf Ueberfuhr b82aabffc0 BAEL 5951: Update Spring Boot 3 Version from release candidate to release version (#13091)
* Update Spring Boot, Spring Native and Native Maven Plugin versions

* BAEL-5951: Spring Boot 3 Sample for Native Image builds incl. Runtime Hints

* BAEL-5951: Configure POMs and add Swagger UI runtime hints

* BAEL-5951: Remove Swagger UI runtime hints

* BAEL-5951: Remove Spring Boot3 parent POM from profiles because of JDK17 dependency during build (building the parent POM is even not necessary)

* BAEL-5951: Add tests

* BAEL-5951: Fix tests (PMD naming conventions)

* BAEL-5951: Update from Spring Boot version 3.0.0-RC1 to 3.0.0 (release)
2022-11-27 10:58:07 +01:00
h_sharifi b46712fa14 #BAEL-5948:add sample loan process 2022-11-27 10:50:56 +03:30
h_sharifi e3f229f61d #BAEL-5948:add main source code 2022-11-27 10:50:29 +03:30
h_sharifi 68c5a730eb #BAEL-5948:add gitignore file 2022-11-27 10:50:05 +03:30
h_sharifi 9ac3f4ffea #BAEL-5948:add new maven module 2022-11-27 10:49:48 +03:30
edizor 8978bd34d5 Update README.md
[skip ci]
2022-11-25 15:15:31 +08:00
Ralf Ueberfuhr b913e47c13 BAEL-5951: Spring Boot 3 Sample for Native Image builds incl. Runtime Hints (#13047)
* Update Spring Boot, Spring Native and Native Maven Plugin versions

* BAEL-5951: Spring Boot 3 Sample for Native Image builds incl. Runtime Hints

* BAEL-5951: Configure POMs and add Swagger UI runtime hints

* BAEL-5951: Remove Swagger UI runtime hints

* BAEL-5951: Remove Spring Boot3 parent POM from profiles because of JDK17 dependency during build (building the parent POM is even not necessary)

* BAEL-5951: Add tests

* BAEL-5951: Fix tests (PMD naming conventions)
2022-11-24 09:47:54 +01:00
Ehsan Sasanianno bf057db224 update bucket4j version in spring-boot-libraries 2022-11-19 17:11:59 +01:00
Tapan Avasthi f9e34aa9f1 BAEL-5854: Toggle Endpoints at Runtime with Spring Boot (#13014)
Co-authored-by: Tapan Avasthi <tavasthi@Tapans-MacBook-Air.local>
2022-11-17 20:19:32 -06:00
freelansam 5bfbf38f59 JAVA-15409: Fix formatting of POMs (#12992) 2022-11-18 00:26:06 +05:30
Loredana Crusoveanu 2055285698 Update README.md 2022-11-13 18:03:56 +02:00
edizor 0981b8fb4f Update README.md
[skip ci]
2022-11-11 09:50:59 +08:00
collaboratewithakash 66604fcc83 Update README.md 2022-11-05 17:27:41 +05:30
Jonathan Cook 90812f01ee BAEL-5236 - Apache Camel Exception Handling (#12973)
* BAEL-4706 - Spring Boot with Spring Batch

* BAEL-3948 - Fix test(s) in spring-batch which leaves repository.sqlite
changed

* BAEL-4736 - Convert JSONArray to List of Object using camel-jackson

* BAEL-4756 - Mockito MockSettings

* BAEL-4756 - Mockito MockSettings - fix spelling

* BAEL-2674 - Upgrade the Okhttp article

* BAEL-4204 - Adding Interceptors in OkHTTP

* BAEL-4836 - Mocking Static Methods with Mockito

* BAEL-4205 - A Guide to Events in OkHTTP

* BAEL-5408 - Update Camel version in spring-boot-camel module

* BAEL-5234 - Apache Camel Routes Testing in Spring Boot

* BAEL-5234 - Apache Camel Routes Testing in Spring Boot

* BAEL-5237 - Apache Camel Conditional Routing

* BAEL-5236 - Apache Camel Exception Handling

Co-authored-by: Jonathan Cook <jcook@sciops.esa.int>
2022-11-03 09:40:26 -07:00
edizor eb81b01c19 Update README.md
[skip ci]
2022-11-02 21:14:44 +08:00
edizor cde43cc5a3 Update README.md 2022-11-02 20:43:48 +08:00
Palaniappan Arunachalam 1cd1a6cf24 BAEL-359: Introduction to Spring Groovy Configuration (#12864)
* BAEL-359: Introduction to Spring Groovy Configuration

* BAEL-359: Removed unused import

* BAEL-359: Moved groovy files under src/main/groovy

* BAEL-359: Upgraded Groovy version to 3.0.13
2022-10-31 09:48:31 +05:30
panagiotiskakos 6d0608d3ab [JAVA-15588] Moved code from spring-di to spring-boot-di 2022-10-30 10:49:39 +02:00
Loredana Crusoveanu 319cbe296c Merge pull request #12869 from hkhan/JAVA-15377-update-graphql-spqr
[JAVA-15377] Update code for Graphql SPQR article
2022-10-30 08:51:42 +02:00
anuragkumawat e506e68202 JAVA-14682 Update spring-boot-keycloak-2 module under spring-boot-modules to remove usage of deprecated WebSecurityConfigurerAdapter (#12927) 2022-10-29 02:21:56 +05:30
Maciej Główka e0ff03f828 BAEL-5691: Log properties in Spring Boot application (#12663)
* BAEL-5691: Log properties in Spring Boot application

* removed lombok

* merged 2 streams into one

* removed unnecessary exception handling
2022-10-27 19:53:05 +01:00
Loredana Crusoveanu 0da831a483 Merge pull request #12873 from edizor/master
Update README.md
2022-10-19 17:01:21 +03:00
Loredana Crusoveanu c192ba162a BAEL-5798 rename test to manual 2022-10-19 16:52:31 +03:00
edizor 28cf4bde77 Update README.md
[skip ci]
2022-10-19 11:04:04 +08:00
edizor c705475701 Update README.md
[skip ci]
2022-10-19 10:53:17 +08:00
Tapan Avasthi 58b522ec56 BAEL-5798: Guide to Resilience4j with Spring Boot (#12854)
Co-authored-by: Tapan Avasthi <tavasthi@Tapans-MacBook-Air.local>
2022-10-16 21:33:41 -05:00
Haroon Khan e4a874c0e9 [JAVA-15377] Update code for Graphql SPQR article 2022-10-15 17:42:41 +01:00
Amar Wadhwani 0c61184a4f BAEL-5715 Updated Code Formatting 2022-10-15 11:04:57 +05:30
Amar Wadhwani f40f203e9e BAEL-5715 Updated Code 2022-10-14 20:43:54 +05:30
Amar Wadhwani 083b1b42d7 BAEL-5715 Updated Code 2022-10-14 20:16:00 +05:30
Haroon Khan bf719b41aa [JAVA-15376] Update for Graphql Postman article (#12853)
Co-authored-by: Dhawal Kapil <dhawalkapil@gmail.com>
2022-10-12 21:17:10 +05:30
Haroon Khan f4be8916b8 [JAVA-15353] Update code for GraphQL vs REST article (#12849) 2022-10-12 21:08:39 +05:30
Haroon Khan 4897b0afa0 [JAVA-14660] Update code for Graphql error handling (#12839) 2022-10-11 00:46:12 +05:30
anuragkumawat 02f8f60d53 JAVA-14677 Update spring-boot-keycloak module under spring-boot-modules to remove usage of deprecated WebSecurityConfigurerAdapter (#12842) 2022-10-10 23:24:23 +05:30
Haroon Khan c18ce8a0cf [JAVA-14663] Update Graphql code for Boot 2.7.x changes and move to new module (#12729) 2022-10-07 22:51:41 +05:30
Loredana Crusoveanu e8ffc2b71a BAEL-4639 add start class, exclude jobrunr autoconfig 2022-10-03 17:03:53 +03:00
Loredana Crusoveanu 2d40c9c71d Merge pull request #12789 from panos-kakos/JAVA-14985
[JAVA-14985] Moved code related to articles from spring-boot-mvc-2 to…
2022-09-30 11:09:02 +03:00
panagiotiskakos 29cb486075 [JAVA-14985] Clean up 2022-09-29 21:16:16 +03:00
Loredana Crusoveanu dd4dff2e13 change keycloak test to live test 2022-09-29 16:15:46 +03:00
panagiotiskakos 8727f678d0 [JAVA-14985] Moved code related to articles from spring-boot-mvc-2 to spring-boot-swagger-2 2022-09-29 08:10:58 +03:00
Christian German efb70f280c BAEL-5717 - Fix spring-oauth2-resource-server Autoconfiguration failure (#12740)
* BAEL-5717 - Fix spring-oauth2-resource-server Autoconfiguration failure

* BAEL-5717 - Updating imports order.
2022-09-25 19:09:14 +02:00
collaboratewithakash 85d6618c15 Update README.md 2022-09-23 16:11:33 +05:30
collaboratewithakash 1a710ec0e9 Update README.md 2022-09-23 14:14:49 +05:30
Loredana Crusoveanu be5b79756b Merge pull request #12736 from anuragkumawat/JAVA-14676
JAVA-14676 Update spring-boot-security module under spring-boot-modules to remove usage of deprecated WebSecurityConfigurerAdapter
2022-09-22 18:40:41 +03:00
anuragkumawat db79faf569 JAVA-14679 Update spring-boot-bootstrap module under spring-boot-modules to remove usage of deprecated WebSecurityConfigurerAdapter 2022-09-20 20:00:27 +05:30
davidmartinezbarua 814b637849 Merge pull request #12724 from hmdrzsharifi/BAEL-5443
Bael 5443: Making improvement to this article: "A Quick Guide to Using Keycloak with Spring Boot"
2022-09-19 20:49:03 -03:00
h_sharifi 7b82660b2e #BAEL-5443: Remove the test 2022-09-19 09:03:20 +04:30
h_sharifi 1a24c7dccb #BAEL-5443: Fix the keycloak url 2022-09-18 11:40:59 +04:30
anuragkumawat 919da4dfe6 JAVA-14680 Update spring-boot-admin module under spring-boot-modules to remove usage of deprecated WebSecurityConfigurerAdapter (#12732) 2022-09-18 10:32:09 +05:30
anuragkumawat 3a3021fe53 JAVA-14681 Update spring-boot-libraries module under spring-boot-modules to remove usage of deprecated WebSecurityConfigurerAdapter (#12725)
* JAVA-14681 Update spring-boot-libraries module under spring-boot-modules to remove usage of deprecated WebSecurityConfigurerAdapter

* JAVA-14681 Correct Java Formatting
2022-09-18 10:19:53 +05:30
anuragkumawat a22e548364 JAVA-14676 Update remaining code 2022-09-17 23:50:10 +05:30
anuragkumawat 2901f17a2e JAVA-14676 Update spring-boot-security module under spring-boot-modules to remove usage of deprecated WebSecurityConfigurerAdapter 2022-09-17 20:38:19 +05:30
Loredana Crusoveanu 30f56aede0 Merge pull request #12703 from panos-kakos/JAVA-14014
[JAVA-14014] Added matching strategy
2022-09-14 16:09:43 +03:00
h_sharifi 886d7c1fbf #BAEL-5443: add logout handler 2022-09-14 11:03:04 +04:30
h_sharifi 61073210ea #BAEL-5443: add resttemplate for logout 2022-09-14 11:02:44 +04:30
h_sharifi 898661f142 #BAEL-5443: add logout config 2022-09-14 11:02:02 +04:30
h_sharifi bca12a0764 #BAEL-5443: add scope to properties 2022-09-14 11:00:25 +04:30
freelansam dc1815c10c JAVA-14673 - Fix formatting of POMs (#12722)
* JAVA-14673 - Fix formatting of POMs

* cleanup
2022-09-13 21:22:49 +05:30
h_sharifi 359a33a2ba #BAEL-5443: add spring.security.oauth2.client properties 2022-09-12 15:39:41 +04:30
h_sharifi 326ce93f67 #BAEL-5443: add oauth2-client dependency 2022-09-12 15:36:30 +04:30
h_sharifi 9ffebf472a #BAEL-5443:
1- add http.oauth2Login()
2- remove KeycloakAdpter Beans
2022-09-12 15:35:56 +04:30
Haroon Khan 66944937b5 [JAVA-14659] Downgrade Boot to 2.6.x and temporarily ignore integration tests for incompatible modules (#12708) 2022-09-11 12:01:35 +05:30
panagiotiskakos 9744e121ab [JAVA-14014] Added matching strategy 2022-09-09 11:10:49 +03:00
Christian German 39acb99790 BAEL-5717 - Removing deprecated Keycloak Adapter and use Spring OAuth2 resource server instead (#12665) 2022-09-05 08:27:12 +02:00
freelansam 13d3bd0b57 JAVA-14446: which submodules arent being built (#12679) 2022-09-02 20:19:15 +05:30
Asjad J b54aa0d423 Updated README.md
added link back to the article: https://www.baeldung.com/spring-apache-camel-conditional-routing
2022-09-02 09:03:18 +05:00
Jonathan Cook cd9f1cce2e BAEL-5237 - Apache Camel Conditional Routing (#12675)
* BAEL-4706 - Spring Boot with Spring Batch

* BAEL-3948 - Fix test(s) in spring-batch which leaves repository.sqlite
changed

* BAEL-4736 - Convert JSONArray to List of Object using camel-jackson

* BAEL-4756 - Mockito MockSettings

* BAEL-4756 - Mockito MockSettings - fix spelling

* BAEL-2674 - Upgrade the Okhttp article

* BAEL-4204 - Adding Interceptors in OkHTTP

* BAEL-4836 - Mocking Static Methods with Mockito

* BAEL-4205 - A Guide to Events in OkHTTP

* BAEL-5408 - Update Camel version in spring-boot-camel module

* BAEL-5234 - Apache Camel Routes Testing in Spring Boot

* BAEL-5234 - Apache Camel Routes Testing in Spring Boot

* BAEL-5237 - Apache Camel Conditional Routing

Co-authored-by: Jonathan Cook <jcook@sciops.esa.int>
2022-08-31 07:39:29 -07:00
Asjad J 9d308ba331 Merge branch 'eugenp:master' into master 2022-08-25 22:06:22 +05:00
Asjad J 966a49f0b6 Updated README.md
added link back to the article: https://www.baeldung.com/swagger-two-responses-one-response-code
2022-08-25 21:37:45 +05:00
Haroon Khan 7f6b12abcb [JAVA-13976] Fix integration tests after Spring Boot upgrade to 2.7.2 (#12647) 2022-08-25 21:30:13 +05:30
panos-kakos e151d4d1d0 [JAVA-13220] Added comment about failing test (#12644)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-08-25 21:24:56 +05:30
Asjad J afc57731b4 Updated README.md
added link back to the article: https://www.baeldung.com/swagger-apioperation-vs-apiresponse
2022-08-25 16:42:01 +05:00
davidmartinezbarua 923ab8e513 Merge pull request #12634 from thibaultfaure/article/BAEL-4345-swagger-specify-two-response-with-same-code
BAEL-4345 add code for the swagger specify two responses with the sam…
2022-08-24 00:34:19 -03:00
Haroon Khan b9789c23f0 [JAVA-13976] Upgrade Spring Boot to 2.7.2 (#12603)
* [JAVA-13976] Upgrade Spring Boot to 2.7.2

* [JAVA-13976] Fix failing test due to incorrect Jackson version
2022-08-22 22:47:32 +05:30
thibault.faure 26483e6232 BAEL-4345 add code for the swagger specify two responses with the same code article 2022-08-22 00:05:31 +02:00
apeterlic e703663759 Add @ApiOperation vs @ApiResponse in Swagger (#12570)
* Add @ApiOperation vs @ApiResponse in Swagger

* Minor fixes

* Fix - rename package
2022-08-19 12:55:36 +02:00
panos-kakos 520c7d7083 [JAVA-13944] Upgrade lombok dependency for main pom.xml + child modules (#12617)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-08-19 12:13:42 +05:30
freelansam 23f33d32fe JAVA-13826: Align module names, folder names and artifact id (#12601) 2022-08-19 12:04:58 +05:30
Asjad J 169f3c756f Created README.md
added link back to the article: https://www.baeldung.com/spring-boot-3-spring-6-new
2022-08-10 09:19:50 +05:00
Asjad J 35bb8070f6 Updated README.md
added link back to the article: https://www.baeldung.com/java-scan-annotations-runtime
2022-08-10 09:04:34 +05:00
thibault.faure 067cddb33e Fix failed integration tests 2022-07-29 21:45:18 +02:00
Elçim Duran 67c9cfec23 Bael-5645 - Scanning Java Annotations at Runtime (#12527)
* BAEL-5645 - Annotation scanners using Spring context, Spring core, reflections, java reflection, and Jandex libraries are implemented

* BAEL-5645 - Library versions are incremented in pom.xml

* BAEL-5645 - Some refactoring and indentation adjustments

* BAEL-5645 - Revert of annotation value in unit test

* BAEL-5645 - Merge with the latest remote version (after resolution of the conflicts)

* BAEL-5645 - Some refactoring due to review comments

Co-authored-by: elcimduran <elcim.duran@kboxglobal.com>
2022-07-29 15:13:54 +02:00
Asjad J 35dadda533 Merge branch 'eugenp:master' into master 2022-07-29 00:11:05 +05:00
Ralf Ueberfuhr 33c18f2cd5 BAEL-5630: Spring Boot 3 Sample (#12449)
* BAEL-5630: Spring Boot 3 Sample

* BAEL-5630: Reorganize project in Maven profiles

* BAEL-5630: Upgrade Maven PMD plugin version

* BAEL-5630: Rename tests to follow naming conventions
2022-07-28 21:04:26 +02:00
Asjad J 47aaa04661 Updated README.md
added link back to the article: https://www.baeldung.com/spring-openapi-global-securityscheme
2022-07-28 23:25:23 +05:00
Christian GERMAN 1eeb2721e7 BAEL-5589 - Skipping tests with docker from pipeline. 2022-07-28 14:30:02 +02:00
davidmartinezbarua 343a79e402 Merge pull request #12447 from thibaultfaure/improvements/BAEL-842-add-a-dynamic-example
BAEL-842 improvement to the spring controller return image or file in…
2022-07-26 16:53:57 -03:00
victorsempere a4691406f2 BAEL-5328 (#12457)
* BAEL-5328

First draft of the code to the article:
https://drafts.baeldung.com/wp-admin/post.php?post=136328&action=edit

* BAEL-5328

Fixed comment. Used  entry point instead of endpoint

* BAEL-5328

Added SecurityFilterChain configuration to allow requests to:
* "/api/auth/**", "/swagger-ui-custom.html" ,"/swagger-ui.html", "/swagger-ui/**", "/v3/api-docs/**", "/webjars/**", "/swagger-ui/index.html","/api-docs/**"
As the spring-boot-starter-security has been started we need to add it to keep this article, simple.
Fixed description of the login() method for the 200 httpstatus response

* BAEL-5328

Added required attribute in @RequestBody of the login() method

* BAEL-5328

Code formatting
2022-07-25 09:21:00 +05:30
Elçim Duran 50955510ca BAEL-5645 - Scanning Java Annotations at Runtime (#12511)
* BAEL-5645 - Annotation scanners using Spring context, Spring core, reflections, java reflection, and Jandex libraries are implemented

* BAEL-5645 - Library versions are incremented in pom.xml

Co-authored-by: elcimduran <elcim.duran@kboxglobal.com>
2022-07-21 21:17:26 +02:00
Asjad J d576113964 Updated README.md
added link back to the article: https://www.baeldung.com/spring-boot-keycloak-integration-testing
2022-07-21 12:20:38 +05:00
Asjad J 8563763944 Updated README.md
added link back to the article: https://www.baeldung.com/spring-boot-redis-testcontainers
2022-07-21 12:13:17 +05:00
Abhinav Pandey bf5ed18f63 BAEL-3201 - Deleting Integration Test file 2022-07-18 14:35:30 +00:00
Abhinav Pandey 170c8990a9 Merge branch 'master' of https://github.com/abh1navv/tutorials into BAEL-3201 2022-07-17 08:52:52 +00:00
Abhinav Pandey 0518e6726b BAEL-3201 - Skipping test container based test 2022-07-16 20:18:52 +05:30
thibault.faure bd44bc5f2d BAEL-842 fix failed build because of UserAccountUnitTest 2022-07-16 15:57:24 +02:00
thibault.faure 9d59e267ac BAEL-842 improvement to the spring controller return image or file in controller example: add a dynamic example 2022-07-16 15:57:24 +02:00
Christian German b8dc7b574a BAEL-5589-springboot-keycloak-integration-testing-with-testcontainers (#12484) 2022-07-15 17:34:13 +02:00
kwoyke 18f919bf30 Merge pull request #12496 from freelansam/JAVA-13136
JAVA-13136: Fix formatting of POMs
2022-07-15 17:07:52 +02:00
anuragkumawat f56d707bf4 JAVA-13088 Check whether spring-boot-multiple-datasources and spring-data-jdbc modules have duplicate code (#12495) 2022-07-15 14:39:17 +05:30
kwoyke ab3a728721 Merge pull request #12477 from panos-kakos/JAVA-13222
Java 13222
2022-07-15 09:31:12 +02:00