Commit Graph

940 Commits

Author SHA1 Message Date
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
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