Commit Graph

1106 Commits

Author SHA1 Message Date
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
Haroon Khan 5ab2b9b8e4 [JAVA-12011] Remove redundant comments from pom files 2022-05-22 11:44:39 +01:00
kwoyke e7221c9b84 Merge pull request #12234 from dkapil/task/JAVA-11489
Task/java 11489
2022-05-20 08:49:22 +02:00
Greg Martin 6875f86ca2 Merge pull request #12162 from hmdrzsharifi/bael-5249
Bael 5249: Get Keycloak User ID in Spring
2022-05-19 08:08:06 -04:00
Dhawal Kapil b1c0a40b0e JAVA-11489 Renamed PropertiesReloadIntegrationTest to *ManualTest 2022-05-18 23:59:18 +05:30
Loredana Crusoveanu 43a6d1e3fd Merge pull request #12216 from azhwani/BAEL-5448
BAEL-5448: Improvement: Scan Multiple Paths using the @ComponentScan Annotation
2022-05-16 14:02:14 +03:00
Azhwani 0e501405a4 init commit 2022-05-15 19:26:22 +02:00
Loredana Crusoveanu ab255dbc0a Merge pull request #11994 from arvind-kumar-avinash/patch-1
Update UserController.java
2022-05-15 20:08:16 +03:00
kwoyke 232d5776cf Merge pull request #12198 from panos-kakos/JAVA-8688
[JAVA-8688] Added tomcat dependecy
2022-05-13 08:16:51 +02:00
Haroon Khan efd9a398a1 [JAVA-11979] Rename Keycloak server Integration test to Live test 2022-05-12 19:36:01 +01:00
panagiotiskakos 1b1a411770 [JAVA-8688] Added tomcat dependecy 2022-05-11 13:53:42 +03:00
Asjad J 1e2b926b8e Updated README.md
added link back to the article: https://www.baeldung.com/postman-add-headers-pre-request
2022-05-10 06:36:05 +05:00
kwoyke 7c2845bc79 Merge pull request #12185 from freelansam/JAVA-11792
JAVA-11792: Fix formatting of POMs
2022-05-09 11:04:26 +02:00
sampadawagde aed8f9100b JAVA-11792: Fix formatting of POMs 2022-05-08 16:36:25 +05:30
Loredana Crusoveanu 66cca46069 Merge pull request #12171 from eugenp/lor6-patch-1
Create GraphQL collection.postman_collection.json
2022-05-07 11:12:13 +03:00
Loredana Crusoveanu cd49cc0640 Merge pull request #12175 from johnA1331/master
BAEL-53616 - Main - github-related test fixes - 03.05.2022
2022-05-07 10:03:18 +03:00
kwoyke f62a3ee5ca Merge pull request #12159 from anuragkumawat/JAVA-8271
JAVA-8271 Lets try different jaxb2-maven-plugin version
2022-05-06 13:59:16 +02:00
Loredana Crusoveanu 67db9161fa Create GraphQL collection.postman_collection.json 2022-05-05 23:06:57 +03:00
johnA1331 10c1ce6cd2 Delete README.md 2022-05-05 23:03:28 +08:00
johnA1331 cf74afc395 Update README.md 2022-05-05 20:55:35 +08:00
johnA1331 be54650992 Update README.md 2022-05-05 20:52:49 +08:00
johnA1331 6c0561e0e3 Update README.md 2022-05-05 20:22:08 +08:00
johnA1331 8dbffdcd8b Update README.md 2022-05-05 18:51:06 +08:00
chrisjaimes 744f71356b added Student API Collection json file (#12161)
Co-authored-by: Christian Jaimes <christian.jaimes@oracle>
2022-05-03 12:18:18 -07:00
sharifi 23e2df0c99 bael-5249: add User ID to view 2022-05-03 17:55:48 +04:30
sharifi b9da120df0 bael-5249: add User ID 2022-05-03 17:55:30 +04:30
sharifi da3f8ad4a0 bael-5249: add application-properties 2022-05-03 17:54:14 +04:30
anuragkumawat b4b9ba8b32 JAVA-8271 Lets try different jaxb2-maven-plugin version 2022-05-03 15:31:32 +05:30
Krzysiek 15867c393d Revert "JAVA-8271 Uncommenting spring-boot-keycloak module"
This reverts commit 05cdb533d7.
2022-05-03 10:38:57 +02:00
anuragkumawat 05cdb533d7 JAVA-8271 Uncommenting spring-boot-keycloak module 2022-04-29 23:19:37 +05:30
freelansam 4690807a09 JAVA-11420: Dissolve spring-boot-1 and spring-boot-2 inside (#12122)
spring-boot-modules
2022-04-28 22:45:45 +05:30
Loredana Crusoveanu da3f811962 Merge branch 'master' into master 2022-04-25 18:02:24 +03:00
johnA1331 320ddd421d Update README.md 2022-04-20 23:32:53 +08:00
johnA1331 30c3679e4f Update README.md 2022-04-20 23:32:16 +08:00
Asjad J f93ca672b4 Created/Updated README.md
added link back to the article: https://www.baeldung.com/spring-boot-properties-migrator
2022-04-18 17:09:18 +05:00
Sameer 4f6634745d Spring Boot Properties Migrator Demo (#11975)
* Spring Boot Properties Migrator Demo

* updated demo properties (#1)

Co-authored-by: s9m33r <no-reply>

* Article/bael 5446 (#2)

* updated demo properties

* formatting

Co-authored-by: s9m33r <no-reply>

Co-authored-by: s9m33r <no-reply>
2022-04-15 09:16:47 -05:00
freelansam 20762cfeb9 JAVA-10516: Revisit spring-boot module inside spring-boot-modules folder (#12038) 2022-04-15 14:57:20 +05:30
soni.sk@1969 d8b5ab0111 BAEL-5329 : Updated code module 2022-04-14 21:31:50 +05:30
Asjad J 598d0e41ab Updated README.md
added link back to the article: https://www.baeldung.com/spring-swagger-hide-field
2022-04-13 16:22:00 +05:00
Asjad J a8fca31d66 Updated README.md
added link back to the article: https://www.baeldung.com/jpa-bootstrap-mode
2022-04-13 05:54:09 +05:00
kwoyke d535eefb84 Merge pull request #12032 from anuragkumawat/master
JAVA-8372 Split or move spring-boot-data module
2022-04-11 08:58:20 +02:00
davidmartinezbarua 3ddf3023c9 Merge pull request #11968 from christian-german/master
BAEL-5431 - BootstrapMode for JPA Repositories
2022-04-09 21:07:16 -03:00
anuragkumawat dfad1122a4 JAVA-8372 Split or move spring-boot-data module 2022-04-08 21:06:02 +05:30
priya-soni dbbc6a6a1d BAEL-5329 Hide a Request Field in Swagger UI (#11992)
* BAEL-5329 Hide a Request Field in Swagger UI

* Updated indentation
2022-04-04 20:44:28 +02:00
Krzysiek 6b89f0d2f2 JAVA-10238-2: Run jobrunr dashboard on random port 2022-03-31 11:17:24 +02:00
Arvind Kumar Avinash f493bfc959 Update UserController.java
Changed the name and email address of the second and the third user to avoid confusion for the readers.
2022-03-31 08:59:10 +01:00
johnA1331 90448ef4ad Create README.md 2022-03-31 14:04:45 +08:00
johnA1331 5550a58a43 Update README.md 2022-03-31 13:59:24 +08:00
johnA1331 b558c9fca4 Update README.md 2022-03-31 13:59:04 +08:00
johnA1331 0a2f8431b3 Update README.md 2022-03-31 13:58:12 +08:00
Michael Pratt 1df8b146ba Add sample code for API prefix article (#11959)
* Add sample code for API prefix article

* Update README.md
2022-03-29 20:04:34 -05:00
Greg Martin 4a887226a1 Merge pull request #11755 from JoannaaKL/master
BAEL-5304
2022-03-25 13:51:03 -04:00
Asjad J 6003125569 Updated README.md
Moved over https://www.baeldung.com/spring-junit-failed-to-load-applicationcontext from spring-boot-testing
2022-03-24 11:36:20 +05:00
Asjad J a026580eed Updated README.md
Moved https://www.baeldung.com/spring-junit-failed-to-load-applicationcontext to spring-boot-testing-2
2022-03-24 11:36:03 +05:00
Christian GERMAN 2c4bffbe3b BAEL-5431 BootstrapMode for JPA Repositories 2022-03-23 17:55:49 +01:00
johnA1331 6e2b15f5d7 Update README.md 2022-03-24 00:06:02 +08:00
Haroon Khan 10bde9d0af [JAVA-10500] Investigate and reduce springdoc build time 2022-03-19 18:27:30 +00:00
Loredana Crusoveanu cc2fedf771 Merge pull request #11933 from johnA1331/master
BAEL-50661 - add links to github-baeldung articles - Week 11 - 2022
2022-03-17 10:47:00 +02:00
Loredana Crusoveanu 89564d234a Merge pull request #11919 from hmdrzsharifi/BAEL-4197-2
bael-4197: move source code to spring-boot-testing-2 module
2022-03-17 10:45:15 +02:00
johnA1331 12eacbcfe7 Create README.md 2022-03-16 21:38:26 +08:00
Jonathan Cook 7681cb2d65 BAEL-5234 - Apache Camel Routes Testing in Spring Boot (#11925)
* 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

Co-authored-by: Jonathan Cook <jcook@sciops.esa.int>
2022-03-14 15:35:32 -07:00
JoannaaKL 837cf3194a Merge branch 'eugenp:master' into master 2022-03-14 21:02:32 +01:00
kwoyke cdc6380359 Merge pull request #11920 from freelansam/JAVA-10138
JAVA-10138 - Fix formatting of POMs
2022-03-14 15:00:17 +01:00
davidmartinezbarua 2695ba0fde Merge pull request #11863 from sanitaso/master
BAEL-5375 Set List of Objects in Swagger API response
2022-03-13 11:11:42 -03:00
sampadawagde b8176a265a JAVA-10138 - Fix formatting of POMs 2022-03-13 14:48:44 +05:30
sharifi 64bc644d55 bael-4197: move source code to spring-boot-testing-2 module 2022-03-12 09:49:18 +03:30
Krzysiek 227afb71cf JAVA-10271: Fix circular dependency issue 2022-03-10 15:08:46 +01:00
sanitaso e3966f2efd add dir 2022-03-08 15:15:11 +01:00
sanitaso bc543e9c79 remove dir 2022-03-08 15:13:42 +01:00
sanitaso a735229a84 change the module directory 2022-03-08 15:10:36 +01:00
sanitaso f62de53554 modify pom 2022-02-25 15:25:38 +01:00
sanitaso de6d367e41 add files to springdoc 2022-02-25 12:54:20 +01:00
kwoyke d988efb89f Merge pull request #11852 from freelansam/JAVA-9824
JAVA-9824: Identify boot modules not using parent-boot-2 as parent and
2022-02-23 16:43:13 +01:00
johnA1331 9c5f0cdaf0 Update README.md 2022-02-23 19:56:08 +08:00
johnA1331 5c33e8c30c Update README.md 2022-02-23 19:46:49 +08:00
johnA1331 ca061932b3 Update README.md 2022-02-23 19:18:05 +08:00
Jonathan Cook fe0f83b4a2 BAEL-5408 - Update Camel version in spring-boot-camel module (#11851)
* 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

Co-authored-by: Jonathan Cook <jcook@sciops.esa.int>
2022-02-22 12:16:38 -08:00
sampadawagde 9d19160043 JAVA-9824: Identify boot modules not using parent-boot-2 as parent and
upgrade log4j for them
2022-02-22 21:53:39 +05:30
Muhammad Abdullah Azam Khan 74b2b2e910 Bael 5303 graphqlvs rest (#11715)
* GraphQL and REST Comparison

* Updating README

* Reformatting code
2022-02-22 09:28:27 +00:00
doodoroma 1174272f75 Merge pull request #11812 from abh1navv/BAEL-5340
BAEL-5340 - Spring security configuring ant matchers
2022-02-21 08:56:01 +01:00
Krzysiek 8b161f8f55 JAVA-9880: Activate spring-boot-swagger module 2022-02-18 09:30:42 +01:00
Parikshit Murria c747712a0e Update swaggerDirectory to target folder 2022-02-17 16:30:42 -07:00
Krzysiek a7765c6a19 JAVA-9880: Temporarily disable spring-boot-swagger module as it fails the builds 2022-02-16 13:42:23 +01:00
Asjad J 9e4da20259 Updated README.md
Linked back to: https://www.baeldung.com/spring-no-converter-with-preset
2022-02-15 21:36:09 +05:00
Parikshit Murria fc4c77ed94 BAEL-5326 - Documenting Enum in swagger using swagger maven plugin (#11811)
* BAEL-5326 - Documenting Enum in swagger using swagger maven plugin

* BAEL-5326 - Documenting Enum in swagger using swagger maven plugin
Changes:
HireControllerTest -> HireControllerUnitTest
hireEmployee_RoleEngineer_ReturnsRoleString -> givenRoleEngineer_whenHireEmployee_thenReturnsRoleInString

* Moved to module: spring-boot-swagger
2022-02-14 09:43:32 -08:00
Abhinav Pandey 13b769cd37 BAEL-5340 - Spring security configuring ant matchers 2022-02-13 14:31:17 +05:30
sampadawagde 34aa920593 JAVA-9825: Upgrade log4j version for modules that use log4j-core library
directly
2022-02-09 16:09:44 +05:30
johnA1331 e541f20095 Update README.md 2022-02-09 13:58:25 +08:00
johnA1331 02bfadafc0 Update README.md 2022-02-09 13:53:54 +08:00
asia eba9e9aed7 Remove unnecessary line breaks. 2022-02-08 20:26:02 +01:00
Azhwani 61dd13d64e init commit (#11767) 2022-02-08 08:48:06 -06:00
Abhinav Pandey ed09368f21 BAEL-5327 - Set a description and an example in Swagger (#11749)
* BAEL-5327 - Set a description and an example in Swagger

* BAEL-5327 - two space indentation for line continuation

Co-authored-by: Abhinav Pandey <Abhinav2.Pandey@airtel.com>
2022-02-07 11:37:48 +05:30
Ralf Ueberfuhr 9a8d9227b7 BAEL-5323: Spring Boot with multiple data sources (#11741)
* BAEL-5323: Spring Boot with multiple data sources

* BAEL-5323: small fixes

* BAEL-5323: fix test class

* BAEL-5323: Refactor configuration classes

* BAEL-5323: Set proeprty to private

* BAEL-5323: rename test class to follow naming conventions
2022-02-04 08:58:16 -08:00
kwoyke b9174fb3f4 Merge pull request #11771 from hkhan/JAVA-9616-update-maven-wrapper-code
[JAVA-9616] Add simple demo application for mvn wrapper
2022-02-04 17:51:41 +01:00
Loredana Crusoveanu 5f23404ee4 Merge pull request #11770 from kwoyke/JAVA-9840
JAVA-9840: Upgrade parent-boot-2 to 2.6.3
2022-02-03 15:16:19 +02:00
Haroon Khan 7728df176e [JAVA-9616] Add simple demo application for mvn wrapper 2022-02-03 10:37:47 +00:00
Krzysiek 15bd0c0966 JAVA-9840: Upgrade spring-core version to 5.3.15 2022-02-03 11:23:05 +01:00
Gaetano Piazzolla 533f2014a8 BAEL-5319 - Remove Basic Error Controller in Swagger (#11743)
* BAEL-5319 - Remove Basic Error Controller in Swagger

* BAEL-5319 - fixed style

* BAEL-5319 - removed comments and private info

* BAEL-5319 - removed private info

* two space indent for line continuation, optimized import.

Co-authored-by: gpiazzolla <gaetano.piazzolla@dxc.com>
2022-02-03 15:47:55 +05:30
Haroon Khan 01ca4575ba [JAVA-9604] Refactor and code clean-up for Metrics article 2022-01-31 12:45:28 +00:00
asia 39cc6be1ab Add SPQR project. 2022-01-30 21:31:15 +01:00
Krzysiek 5242966787 JAVA-9486: Use guava.version defined in the parent pom 2022-01-18 09:42:21 +01:00
Krzysiek 8c08be0403 JAVA-9123: POM properties cleanup 2022-01-17 14:03:32 +01:00
chaos2418 c55e569096 JAVA-8356: split or move spring-boot-properties 2022-01-14 13:34:42 +05:30
kwoyke 4000ebcf65 Merge pull request #11659 from chaos2418/JAVA-8981
JAVA:8981: verify spring.mvc.pathmatch.matching-strategy property usage
2022-01-13 11:01:21 +01:00
Loredana Crusoveanu f351643119 Merge pull request #11686 from johnA1331/master
BAEL-47035 - add links to github-baeldung articles
2022-01-13 11:02:43 +02:00
kwoyke 4eb04dc0bc Merge pull request #11670 from freelansam/JAVA-9022
JAVA-9022: Fix formatting of POMs
2022-01-13 09:50:07 +01:00
johnA1331 cfc2e7bec9 Update README.md 2022-01-13 15:24:21 +08:00
sampadawagde 65f643262d JAVA-9022: Fix formatting of POMs 2022-01-10 22:05:47 +05:30
Greg 7ec3819d9c Merge pull request #11549 from hmdrzsharifi/BAEL-4197
Bael 4197: Failed to Load Applicationcontext for Junit Test of Spring Controller
2022-01-08 13:56:12 -05:00
sharifi 45c495f327 bael-4197: add application-context.xml in resource directory 2022-01-08 12:49:30 +03:30
sharifi 9e7329ce5e bael-4197: indent with spaces instead of tab 2022-01-08 12:48:48 +03:30
chaos2418 0bc3f44656 JAVA:8981: verify spring.mvc.pathmatch.matching-strategy property usage 2022-01-08 13:12:01 +05:30
johnA1331 95f5f30421 Create README.md 2022-01-05 20:46:29 +08:00
Ralf Ueberfuhr 6bcc01f60a BAEL-5251: Spring Boot with Swagger UI and Keycloak-Integration (#11632) 2022-01-04 19:58:21 -06:00
sharifi fd8b39247c bael-4197: add @ContextConfiguration for loading application context 2022-01-02 13:09:06 +03:30
chaos2418 c5250929f5 JAVA-8695: GitHub Issue: Order in FilterRegistrationBean is ignored 2021-12-30 10:34:14 +05:30
kwoyke 58eb7f641a Merge pull request #11609 from chaos2418/JAVA-3591
JAVA-3591: updating mockito version in parent-boot-2
2021-12-23 12:59:14 +01:00
chaos2418 1227c38388 JAVA-3591: updating mockito version in parent-boot-2 2021-12-23 14:58:50 +05:30
johnA1331 29e26c08c1 Update README.md 2021-12-23 02:15:32 +08:00
johnA1331 2d1b4d2e47 Update README.md 2021-12-23 01:32:39 +08:00
johnA1331 d33aa1f036 Update README.md 2021-12-23 01:08:59 +08:00
kwoyke 514e80aae7 Merge pull request #11585 from chaos2418/JAVA-3591
JAVA-3591: updating mockito-core to 4.1.0
2021-12-20 09:38:12 +01:00
Amy DeGregorio 08433b1631 BAEL-4811 (#11597)
* BAEL-4811

* BAEL-4811 Add unit tests

* JAVA-8794: Upgrade Spring Boot to 2.6.1 in the parent-boot-2

* JAVA-8794: Upgrade spring-mybatis dependencies

* JAVA-8794: Make spring-boot-springdoc 2.6 compatible

* JAVA-8794: Add spring.mongodb.embedded.version property

* JAVA-8794: Upgrade spring-boot-environment cloud dependencies

* JAVA-8794: Set spring.mvc.pathmatch.matching-strategy property

* JAVA-8794: Update Spring Cloud dependencies

* JAVA-8794: allow-circular-references in spring-cloud-ribbon-client

* JAVA-8794: Replace deprecated ConfigFileApplicationContextInitializer

* JAVA-8794: Fix spring-resttemplate pom

* JAVA-8794: Use spring.mongodb.embedded.version=3.5.5

* JAVA-8794: Use spring.mongodb.embedded.version=3.5.5

* JAVA-8794: Fix circural dependencies in spring-security-web-boot-2

* JAVA-8794: Fix circural dependencies in spring-security-core

* JAVA-8794: Fix quart schema initialization

* JAVA-8794: Set spring.mvc.pathmatch.matching-strategy=ant-path-matcher

* JAVA-8794: Leave spring-kafka on Spring Boot 2.5.4

* JAVA-8794: Set spring.mongodb.embedded.version=3.5.5 in spring-jenkins-pipeline

* JAVA-8794: Update Spring Cloud version

* JAVA-8794: Update spring-cloud-zuul dependencies

* JAVA-8794: Update Spring Cloud version in spring-cloud-bus

* JAVA-8794: Set spring.mongodb.embedded.version=3.5.5 in spring-boot-persistence-mongodb

* JAVA-8794: Fix spring-data-jpa-query-2 dependencies

* JAVA-8794: Fix circular dependency issue in spring-security-web-thymeleaf

* JAVA-8794: Fix circular dependency issue in spring-session-redis

* JAVA-8794: Fix circular dependency issue in spring-boot-libraries-2

* JAVA-8794: Update spring-cloud-starter version

* JAVA-8794: Leave spring-zuul-rate-limiting on 2.4.7

* JAVA-8794: Ignore EnversFooBarAuditIntegrationTest

* BAEL-4811 Fix formatting

* BAEL-4811 Fix formatting

Co-authored-by: Krzysiek <krzysztofwoyke@gmail.com>
Co-authored-by: Loredana Crusoveanu <lore.crusoveanu@gmail.com>
2021-12-19 11:53:05 -08:00
Loredana Crusoveanu 77dcb8853f Merge pull request #11592 from eugenp/JAVA-8794
JAVA-8794: Upgrade to Spring Boot 2.6.1
2021-12-19 11:57:17 +02:00
davidmartinezbarua 6b6f1fcf1a Merge pull request #11564 from mladensavic94/master
Speed up Spring Boot Startup Time
2021-12-18 10:14:47 -03:00
chaos2418 000dcdf966 JAVA-3591: updating mockito-core to 4.1.0 2021-12-18 13:40:53 +05:30
sampadawagde 89004f02de JAVA-8359: Split or move spring-boot-artifacts module 2021-12-17 19:23:10 +05:30
Krzysiek c7aef4d95f Merge remote-tracking branch 'upstream/master' into JAVA-8794 2021-12-16 12:21:43 +01:00
Krzysiek 106603023d JAVA-8794: Update spring-cloud-starter version 2021-12-16 10:49:19 +01:00
kwoyke f54e5b2cf2 Merge pull request #11583 from freelansam/JAVA-8373
JAVA-8373: Split or move spring-boot-bootstrap module
2021-12-16 09:47:12 +01:00
Krzysiek 077898aaa5 JAVA-8794: Fix circular dependency issue in spring-boot-libraries-2 2021-12-15 20:08:11 +01:00
sampadawagde 8e175b72e2 JAVA-8373: Split or move spring-boot-bootstrap module 2021-12-15 22:35:42 +05:30
Loredana Crusoveanu 8f4672e162 Merge pull request #11576 from lucaCambi77/BAEL-5109_fix
fix: [ BAEL-5109 ] Environment Variable Prefixes in Spring Boot 2.5
2021-12-15 17:19:38 +02:00
Haroon Khan 9f382cd21c [JAVA-8377] Code clean up 2021-12-15 10:50:22 +00:00
Haroon Khan 1a59d99991 [JAVA-8377] Split spring-boot-testing module 2021-12-14 23:22:25 +00:00
Amy DeGregorio 1bf2293e0b BAEL-4811 (#11552)
* BAEL-4811

* BAEL-4811 Add unit tests
2021-12-14 10:15:43 -08:00
Krzysiek 61b0f3f919 JAVA-8794: Update Spring Cloud dependencies 2021-12-13 15:23:22 +01:00
Krzysiek bec3866129 JAVA-8794: Set spring.mvc.pathmatch.matching-strategy property 2021-12-13 13:58:01 +01:00
Krzysiek be93fa066f JAVA-8794: Upgrade spring-boot-environment cloud dependencies 2021-12-13 13:46:45 +01:00
Krzysiek a4fe28eef5 JAVA-8794: Make spring-boot-springdoc 2.6 compatible 2021-12-13 13:12:11 +01:00
LUCA 727b34ea22 fix: use env to get properties 2021-12-13 10:38:28 +01:00
sampadawagde 46007cd515 JAVA-8366: Split or move spring-boot-annotations module 2021-12-12 17:21:57 +05:30
Loredana Crusoveanu 4054e8f860 Merge branch 'master' into JAVA-7244-Review_log_statements_for_projects 2021-12-09 10:22:41 +02:00
Mladen Savic e8abe028d3 Merge branch 'eugenp:master' into master 2021-12-07 16:14:17 +01:00
Mladen Savic 247c2961a2 Speed up Spring Boot Startup Time 2021-12-07 16:12:55 +01:00
sharifi 7f17253b07 bael-4197: fix bug 2021-12-05 14:28:10 +03:30
sharifi 58b01b624a bael-4197: add test class 2021-12-05 13:58:51 +03:30
sharifi 232bd3080b bael-4197: add test context 2021-12-05 13:58:28 +03:30
sharifi 63843c008c bael-4197: add main source 2021-12-05 13:58:13 +03:30
sharifi 8fd0ab58b9 bael-4197: add application-context 2021-12-05 13:57:38 +03:30
johnA1331 0673bc708b Update README.md 2021-12-04 19:44:36 +08:00
Krzysiek 205ad52ea2 JAVA-8764: Fix test/main directories structure 2021-12-02 12:27:52 +01:00
Krzysiek f913e0c006 JAVA-8358: Move Spring Boot Exit Codes code 2021-12-01 10:48:53 +01:00
Teica 719c4e4e0b Feature bael 5253 (#11526)
* BAEL-5032 Swagger to PDF

* BAEL-5032 added lombok as dependency

* BAEL-5253 moving the tests to other module

* renaming the test class

* Update pom.xml

* Update pom.xml

* Update pom.xml

* Delete pom.xml

* Create pom.xml

Co-authored-by: Matea Pejčinović <matea.pejcinovic@intellexi.hr>
2021-11-29 16:26:16 -08:00
kwoyke f09327b2d9 Merge pull request #11518 from freelansam/JAVA-8620
JAVA-8620: Fix references to parents
2021-11-26 17:53:31 +01:00
sampadawagde d0df1f9e23 JAVA-8620: Fix references to parents 2021-11-26 19:28:29 +05:30
Krzysiek 49f90c3a55 JAVA-8699: Use @KeycloakConfiguration annotation 2021-11-26 10:56:49 +01:00
Loredana Crusoveanu be86acb87f Merge pull request #11510 from kwoyke/JAVA-8363
JAVA-8363: Split or move spring-boot-mvc-2 module
2021-11-25 19:11:38 +02:00
Krzysiek e3ba14139e JAVA-8363: Update README.md files 2021-11-25 13:26:46 +01:00
Krzysiek 49ffde8b48 JAVA-8363: Fix FooLiveTest - separate mime from etag code 2021-11-25 13:25:40 +01:00
Krzysiek 8d8ae5daa9 JAVA-8363: Move etag code to spring-boot-mvc-3 2021-11-25 13:10:58 +01:00
kwoyke c0a0247cf7 Merge branch 'master' into JAVA-3592 2021-11-25 09:03:54 +01:00
Krzysiek b04d57541a JAVA-8664: Cleanup 2021-11-24 09:51:22 +01:00
Krzysiek 2f9ce6cf36 JAVA-8664: Change ports numbers and cleanup the code 2021-11-24 09:47:43 +01:00
kwoyke 1871d1a89c Merge pull request #11468 from chaos2418/JAVA-8405
JAVA-8405: reducing logging for tutorials-build-job
2021-11-23 13:43:19 +01:00
kwoyke 592376bf09 Merge pull request #11477 from freelansam/JAVA-3592
JAVA-3592: Upgrade h2 dependency in the main pom.xml
2021-11-22 09:22:17 +01:00
sampadawagde d9b23200d1 removed explicit h2.version as parent now is at the required 1.4.200 2021-11-21 17:58:26 +05:30
sampadawagde 848fa01e47 JAVA-3592: Upgrade h2 dependency in the main pom.xml 2021-11-19 23:17:22 +05:30
Loredana Crusoveanu ee70035562 Merge pull request #11470 from kwoyke/JAVA-8436
JAVA-8436: Manage AssertJ dependency in the main pom.xml
2021-11-19 16:56:22 +02:00
chaos2418 58e6087b3d JAVA-8405: reducing logging for tutorials-build-job 2021-11-19 13:39:00 +05:30
johnA1331 d086f57024 Update README.md 2021-11-19 13:37:18 +08:00
Krzysiek 5088366074 JAVA-8436: Remove AssertJ depenendency from the child modules - part 2 2021-11-18 12:23:39 +01:00
johnA1331 6934b67f3c Update README.md 2021-11-18 01:05:19 +08:00
kwoyke 67a3a596a9 Merge pull request #11460 from Maiklins/JAVA-8393-Split_or_move_spring-security-core_module
JAVA-8393 Split or move spring-security-core module
2021-11-17 09:33:47 +01:00
kwoyke a43cef6a91 Merge pull request #11459 from Maiklins/JAVA-8374-Split_or_move_spring-boot-libraries_module
JAVA-8374 Split or move spring-boot-libraries module
2021-11-17 09:30:54 +01:00
mikr f4ee97e3bd JAVA-8393 Split or move spring-security-core module 2021-11-17 09:20:17 +01:00
mikr 96d1d4658f JAVA-8374 Split or move spring-boot-libraries module 2021-11-17 08:39:05 +01:00
kwoyke af8deeaf19 Merge pull request #11457 from Maiklins/JAVA-8376-Split_or_move_spring-boot-properties-2-module
JAVA-8376 Split or move spring-boot-properties-2 module
2021-11-16 21:26:08 +01:00
mikr 94d0a715e6 JAVA-8376 Split or move spring-boot-properties-2 module 2021-11-16 20:45:27 +01:00
kwoyke ebd0a42716 Merge pull request #11454 from Maiklins/JAVA-8293-Split_or_move_spring-boot_module
JAVA-8293 Split or move spring boot module
2021-11-16 09:25:38 +01:00
mikr c4ed8d458e JAVA-8293 Split or move Spring Boot module (fix review comments) 2021-11-15 21:37:22 +01:00
mikr 68bcffe243 JAVA-8293 Split or move spring boot module 2021-11-14 22:51:58 +01:00
kwoyke 16a3798673 Merge pull request #11450 from Maiklins/JAVA-8286-Split_or_move_spring-boot-runtime_module
JAVA-8286 Split or move spring boot runtime module
2021-11-14 17:54:52 +01:00
mikr 3c5cb8f470 JAVA-8286 Split or move spring boot runtime module 2021-11-14 11:08:17 +01:00
nishitgoyal17 2db042443d BAEL-4243:Once per request filter (#11239)
* executing junit via command line

* incorporating review comments

* incorporating review comments

* OncePerReqFilter

* Delete FirstUnitTest.java

* Delete SecondUnitTest.java

* Delete pom.xml

* Reverting

* Update pom.xml

* OncePerReqFilter

* Update MyFilter.java

* OncePerReqFilter

* OncePerReqFilter

* Update pom.xml

* Update pom.xml

* Update pom.xml

* fixing extra changes

* OncePerReqFilter

* Reverting

* Update MyOncePerRequestFilter.java

* Update HelloController.java

* fromatting changes

* fromatting changes

* formatting

* Apply suggestions from code review

Co-authored-by: KevinGilmore <kpg102@gmail.com>

* OncePerRequest changes

* OncePerRequest changes

* OncePerRequest changes

* OncePerRequest changes

* OncePerRequest changes

Co-authored-by: KevinGilmore <kpg102@gmail.com>
2021-11-13 22:07:03 +05:30
kwoyke 22012780e6 Merge pull request #11434 from freelansam/JAVA-8204
JAVA-8204: Fix formatting of POMs
2021-11-13 10:55:30 +01:00
johnA1331 87dfb9e110 Update README.md 2021-11-10 19:31:26 +08:00
freelansam 77e3e6a419 Merge branch 'master' into JAVA-8204 2021-11-09 18:20:05 +05:30
Krzysiek afe1cfae09 JAVA-8202: Move spring-boot-react to the heavy profile 2021-11-09 12:36:38 +01:00
sampadawagde b984a4b618 JAVA-8204: Fix formatting of POMs 2021-11-09 16:27:03 +05:30
Haroon Khan 82572378b2 [BAEL-5110] Actuator endpoint for startup tracking (#11351) 2021-11-08 09:01:53 +00:00
Loredana Crusoveanu fcf4e6527c Merge pull request #11412 from kwoyke/JAVA-8269
JAVA-8269: Temporarily disable spring-boot-keycloak
2021-11-04 17:03:50 +02:00
Krzysiek 04f000b4ba JAVA-8269: Temporarily disable spring-boot-keycloak 2021-11-04 12:37:59 +01:00
Loredana Crusoveanu c7ac0809b1 Merge pull request #11411 from johnA1331/master
BAEL-43297 - add links to github-baeldung articles
2021-11-04 13:01:34 +02:00
Krzysiek af715aa493 JAVA-8269: Do not use project.basedir in the xjc config 2021-11-04 10:20:28 +01:00
johnA1331 abaaf21c1f Update README.md 2021-11-04 00:50:18 +08:00
Loredana Crusoveanu 987b69d137 Merge pull request #11390 from chaos2418/JAVA-1664
JAVA-1664: upgrading parent-boot-2 junit and surefire configurations
2021-11-03 11:47:32 +02:00
davidmartinezbarua 453ca3ea3b Merge pull request #11369 from navuluri/bael-4965
BAEL-4965: Securing SOAP Services Using Keycloak
2021-11-02 18:34:57 -03:00
chaos2418 9bbd34d45f JAVA-1664: upgrading parent-boot-2 junit and surefire configurations 2021-11-02 14:51:24 +05:30
mikr e3aebd9c10 Merge branch 'master' of https://github.com/Maiklins/tutorials into JAVA-7244-Review_log_statements_for_projects
 Conflicts:
	algorithms-searching/src/test/java/com/baeldung/algorithms/quadtree/QuadTreeSearchUnitTest.java
2021-10-31 20:54:51 +01:00
Dhawal Kapil 1ab0a19d25 Java 3590 (#11367) (#11380)
* Java 3590 (#11367)

* JAVA-3590: updating junit-jupiter dependency in the main pom.xml

* resolving unnecessary mockito stubbings exception

* adding junit-bom in dependency management

* fixing tests which were not getting discovered

* Revert "fixing tests which were not getting discovered"

This reverts commit 2e9ed8df42eb96f7e0929167aabbc2ddd374a263.

* fixing tests in ninja, open-liberty and spring-ejb

* removing junit4 dependency and replacing it with junit-vintage-engine

* removing junit4 dependency and replacing it with junit-vintage-engine in testing-modules, maven-modules and aws-lambda

* removing junit dependency and replacing it with junit-vintage-engine

* removing junit and replacing it with junit-vintage-engine

* fixing tests that were not getting discovered due to old version of junit:junit

* updated failsafe plugin configuration to skip integration tests in blade

* fixing tests that were not getting discovered due to old version of junit:junit

* fixing tests in libraries and libraries-2 modules

Co-authored-by: chaos2418 <>

* Java 3590 - fixing integration tests in restx and spring-5-webflux (#11382)

* JAVA-3590: updating junit-jupiter dependency in the main pom.xml

* resolving unnecessary mockito stubbings exception

* adding junit-bom in dependency management

* fixing tests which were not getting discovered

* Revert "fixing tests which were not getting discovered"

This reverts commit 2e9ed8df42eb96f7e0929167aabbc2ddd374a263.

* fixing tests in ninja, open-liberty and spring-ejb

* removing junit4 dependency and replacing it with junit-vintage-engine

* removing junit4 dependency and replacing it with junit-vintage-engine in testing-modules, maven-modules and aws-lambda

* removing junit dependency and replacing it with junit-vintage-engine

* removing junit and replacing it with junit-vintage-engine

* fixing tests that were not getting discovered due to old version of junit:junit

* updated failsafe plugin configuration to skip integration tests in blade

* fixing tests that were not getting discovered due to old version of junit:junit

* fixing tests in libraries and libraries-2 modules

* fixing integration tests in restx and spring-5-webflux

Co-authored-by: chaos2418 <>

Co-authored-by: chaos2418 <92030908+chaos2418@users.noreply.github.com>
2021-10-29 09:37:04 +05:30
Bhaskara Navuluri f9feb0aad7 removed debug info 2021-10-25 15:26:06 +05:30
Bhaskara Navuluri cac3ae3a5e Added code for BAEL-4965: Securing SOAP services using Keycloa 2021-10-25 15:16:58 +05:30