Commit Graph

1008 Commits

Author SHA1 Message Date
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
freelansam d7c38b05d6 Merge branch 'master' into JAVA-13136 2022-07-15 10:01:48 +05:30
sampadawagde 2b5179baba JAVA-13136: Fix formatting of POMs 2022-07-15 09:59:54 +05:30
Abhinav Pandey 56fd1ef7b4 BAEL-3201 - Unit testing with Redis test containers (#12441)
* BAEL-3201 - Unit testing with Redis test containers

* BAEL-3201 - Updated test method names

Co-authored-by: Abhinav Pandey <Abhinav2.Pandey@airtel.com>
2022-07-14 09:50:08 +05:30
Abhinav Pandey bc4857f6be BAEL-3201 - Updated test method names 2022-07-10 19:14:31 +05:30
panagiotiskakos 56e012d8f6 small fix 2022-07-10 15:32:55 +03:00
panagiotiskakos ac7354648f JAVA-13222 2022-07-10 15:27:33 +03:00
kwoyke c876ceb2e0 Merge pull request #12452 from freelansam/JAVA-12733
JAVA-12733: Move spring-boot-jsp into spring-boot-modules
2022-07-06 15:31:56 +02:00
sampadawagde dda5fc0093 JAVA-12733: Move spring-boot-jsp into spring-boot-modules 2022-07-05 19:39:15 +05:30
sampadawagde 2991701dc7 JAVA-12733: Move spring-boot-jsp into spring-boot-modules 2022-07-05 19:38:52 +05:30
Christian GERMAN 017dfa3d6d BAEL-5252-new-spring-boot-keycloak-2-module 2022-07-03 18:09:53 +02:00
Abhinav Pandey 282cd67ad4 BAEL-3201 - Unit testing with Redis test containers 2022-07-02 16:56:07 +05:30
Asjad J bb003c64a0 Updated README.md
edited link back to article from https://www.baeldung.com/expose-graphql-field-with-different-name to https://www.baeldung.com/graphql-field-name
2022-06-29 18:51:58 +05:00
Asjad J 3f4688d2b3 Updated README.md
removed the article Hide a Request Field in Swagger API. It's already been moved to https://github.com/eugenp/tutorials/tree/master/spring-boot-modules/spring-boot-mvc-4.
2022-06-24 15:35:58 +05:00
Asjad J e6d52af6dd Updated README.md
added link back to the article: https://www.baeldung.com/spring-data-jpa-run-app-without-db
2022-06-21 11:19:32 +05:00
Abhinav Pandey a5ddb7dd9c Bael 5543 - Running a spring boot app without DB (#12339)
* BAEL-5543 - Running a spring boot app without db

* BAEL-5543 - Adding authentication properties

* BAEL-5543 - Moving to a new module

* BAEL-5543 - Changing test class name

* BAEL-5543 - Reducing Java version

Co-authored-by: Abhinav Pandey <Abhinav2.Pandey@airtel.com>
2022-06-16 12:58:07 +05:30
Asjad J ae9d2a354c Updated README.md
added link back to the article: https://www.baeldung.com/spring-keycloak-security-disable
2022-06-14 09:51:09 +05:00
Asjad J fc4a117f2c Updated README.md
added link back to the article: https://www.baeldung.com/openapi-jwt-authentication
2022-06-14 09:46:50 +05:00
Loredana Crusoveanu 23267c5e68 Merge pull request #12324 from johnA1331/master
BAEL-56567 - Main - github-related test fixes - 03.06.2022
2022-06-07 16:10:58 +03:00
kwoyke 58ddbdaf29 Merge pull request #12319 from navuluri/BAEL-5534
Bael 5534
2022-06-07 09:17:53 +02:00
Christian German 8422a655ac BAEL-5252-Disable-Keycloak-Security-in-Spring-Boot (#12218) 2022-06-07 09:42:52 +05:30
johnA1331 33290fd7e3 Update README.md 2022-06-07 00:53:35 +08:00
Bhaskara a273de1902 Merge branch 'master' into BAEL-5534 2022-06-06 20:42:25 +05:30
Bhaskara Navuluri a26d45e5c0 Fixed the Integration Build Pipeline 2022-06-06 20:35:38 +05:30
Bhaskara 55867b7206 BAEL-5534 Configure JWT Authentication for OpenAPI (#12288)
Co-authored-by: Bhaskara Navuluri <bhaskara.navuluri@hpe.com>
2022-06-02 08:20:02 -07:00
Asjad J 2b5ce458b1 Updated README.md
added link back to the article: https://www.baeldung.com/spring-webserviceservertest
2022-06-02 08:15:18 +05:00
Muhammad Abdullah Azam Khan aef4affc28 Expose GraphQL field with different name (#12289) 2022-05-31 14:35:54 -07:00
Bhaskara Navuluri 24cdf2b672 BAEL-5534 Configure JWT Authentication for OpenAPI 2022-05-31 20:24:47 +05:30
Haroon Khan f8edd495ba [BAEL-5346] Code for @WebServiceServerTest article (#12229) 2022-05-27 22:27:51 -05:00
Asjad J 429fb3c660 Updated README.md
added link back to the article: https://www.baeldung.com/spring-keycloak-get-user-id
2022-05-23 17:07:54 +05:00