Commit Graph

9787 Commits

Author SHA1 Message Date
anuragkumawat fe187e8f98 JAVA-14666 Update spring-session module under spring-web-modules to … (#12717)
* JAVA-14666 Update spring-session module under spring-web-modules to remove usage of deprecated WebSecurityConfigurerAdapter

* JAVA-14666 Correct Java Formatting
2022-09-18 10:28:39 +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
Viktor Ardelean 859e91538a BAEL-5649 (#12677)
* add hexagonal architecture example project

* rename class

* add unit test and integration test

* add new line

* reorder pom

* remove maven wrapper

* [BAEL-5649] add article code

* remove files added by mistake

* get parameter type using reflection and serioalize JSON into POJOs

* clean code

* clean code

* reformat

* implement PR feedback

* reformat with contiunation space eq to 2

* replace UserDto with firstName and lastName
2022-09-17 13:30:26 -04:00
lucaCambi77 7f4e962fc7 assign static ip (#12727) 2022-09-17 10:39:38 -05:00
Kai Yuan a7fc8039ff [extractFilename] Getting the Filename From a String Containing an Absolute File Path (#12728) 2022-09-17 10:00:11 -05:00
Ulisses Lima f3ef5a257f BAEL-5666 - Create Date from Unix timestamp in Java (#12650)
* moving SpringBootPersistenceApplication class to its own package

* from com.baeldung to com.baeldung.logging to prevent it from loading
contexts from other applications.

* moving SpringBootPersistenceApplication class to its own package

* from com.baeldung to com.baeldung.logging to prevent it from loading
contexts from other applications.

* Spring Data MongoDB - Configure Connection

Ready for revision.

* fixed tests to reflect article changes

* BAEL-5657

* reverting BAEL-5657

* reverting BAEL-5657

* ready for review

* removing bael-5366

* removing bael-5366

* removing extra blank space

* bael-5666

editor review

* editor review

* long literals
* junit 5
* private constructor for utils

* junit5 assertThat
2022-09-16 22:31:27 +02:00
victorsempere 171e4bd7c8 BAEL-5699 (#12674)
* BAEL-5699

First draft of the article example

* BAEL-5699

Removed unused class FifoFixedSizeQueueRemoveOldestInOffer.java
Removed unused UnitTest for the removed class
Added some tests to check count attribute
2022-09-15 20:04:23 +01:00
apeterlic f8ea63de51 Add Difference Between Class.getResource() and ClassLoader.getResource() (#12669)
* Add Difference Between Class.getResource() and ClassLoader.getResource()

* Fix - replace System.out with Logger

* Fix - move code to a different module
2022-09-15 19:57:43 +01:00
panos-kakos b8a97cbebd [JAVA-14177] Renamed rule-engines to rule-enfines-modules (#12723)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-09-14 19:55:00 +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
davidmartinezbarua 937c5738c9 Merge pull request #12721 from thibaultfaure/article/BAEL-5456-add-comment-in-dockerfile
BAEL-5456 code for the add comments in a dockerfile article
2022-09-14 09:09:06 -03:00
Mateusz Szablak 7e63494eb4 BAEL-5656 Constructing a Relative Path in Java from Two Absolute Paths or URLs (#12726) 2022-09-14 10:36:21 +05:30
Azhwani b836dce329 move https://www.baeldung.com/java-hashmap-inside-list code to core-java-collections-list-4 module (#12671) 2022-09-14 00:52:30 +02:00
freelansam dc1815c10c JAVA-14673 - Fix formatting of POMs (#12722)
* JAVA-14673 - Fix formatting of POMs

* cleanup
2022-09-13 21:22:49 +05:30
davidmartinezbarua 5a666085ac Merge pull request #12716 from etrandafir93/features/BAEL-5674-streams-multiple-vs-single-filters
BAEL-5674: basic auth with Postman
2022-09-12 18:08:41 -03:00
Amitabh Tiwari a04ad088d9 Bael 5679 json to protobuf (#12702)
* Initial Changes

* Update ProtobufUtilUnitTest.java

* Changes for JSON to Protobuf

* Corrected the file name

* Update ProtobufUtilUnitTest.java

* Update ProtobufUtilUnitTest.java

* Update ProtobufUtilUnitTest.java

* Removed confusing changes
2022-09-12 12:23:59 -07:00
Timothy Kruger d07ff5878c BAEL-5614 Remove Last Char from String Builder (#12577)
* BAEL-5614 Remove Last Char from String Builder
- Added initial code with main
- Added initial tests for each method going to be written on

* Update RemoveLastChar.java

* Update and rename RemoveLastCharTest.java to RemoveLastCharUnitTest.java

Co-authored-by: Grzegorz Piwowarek <gpiwowarek@gmail.com>
2022-09-12 12:49:27 +02:00
Loredana Crusoveanu a05517302d Merge pull request #12709 from Asjad-J/master
Updated README.md
2022-09-12 12:53:45 +03:00
thibault.faure db81033991 BAEL-5456 code for the add comments in a dockerfile article 2022-09-11 21:44:46 +02:00
anuragkumawat f9bd9e372c JAVA-5849 Fix parent of twitterhdfs (#12712) 2022-09-11 18:51:51 +05:30
emanueltrandafir1993 6773b9b3e8 BAEL-5674: basic auth with Postman 2022-09-11 15:18:37 +02:00
lucaCambi77 eebbdf82d9 fix: add embedded properties to tests (#12714) 2022-09-11 15:24:49 +05: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
panos-kakos ac619f1f4b [JAVA-14461] Improvement/ making code more declarative (#12710)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-09-11 11:59:03 +05:30
Asjad J 5d0aca0b52 Updated README.md
added link back to the article: https://www.baeldung.com/ops/docker-compose-restart-container
2022-09-11 10:18:09 +05:00
Asjad J 3673e49e86 Updated README.md
added link back to the article: https://www.baeldung.com/java-lightrun
2022-09-11 10:13:56 +05:00
lucaCambi77 8066e08c68 fix: exclude embedded autoconfig, remove unused boot class (#12707) 2022-09-10 23:31:00 +05:30
anuragkumawat 63249f5339 JAVA-14175 Rename play-framework to play-modules (#12705) 2022-09-10 21:23:09 +05:30
Kai Yuan 1b334f6a2d Positive or negative (#12706)
* Check if a number is positive or negative in Java

* reformat single line if/else statements

* Check if a number is positive or negative in Java

* [positiveOrNegative] using compareTo() instead of == to compare float numbers

* [positiveOrNegative] re-org imports
2022-09-10 10:06:11 -05:00
Dhawal Kapil ecfe4a05a2 JAVA-14423 Removed/Renamed module names (#12704) 2022-09-10 10:16:17 +05:30
panos-kakos cb8e969f17 [JAVA-13964] Upgrade javax-servlet-api to 4.0.1 (#12683)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
Co-authored-by: Dhawal Kapil <dhawalkapil@gmail.com>
2022-09-10 00:01:01 +05:30
anuragkumawat 58b6560a6b JAVA-14445 POM Properties Cleanup - Week 28 - 2022 (#12691) 2022-09-09 23:41:18 +05:30
anuragkumawat f2fb6926ce JAVA-14172 Rename intellij to intellij-modules (#12688) 2022-09-09 23:31:59 +05:30
panos-kakos b8a13c548c [JAVA-13965] Upgrade javax.servlet.jsp to 2.3.3 (#12684)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-09-09 21:44:59 +05:30
panagiotiskakos 9744e121ab [JAVA-14014] Added matching strategy 2022-09-09 11:10:49 +03:00
Abdul Wahab 176111197a BAEL-5696: Adds TTL configuration for caching (#12700)
Co-authored-by: Abdul Wahab <abdul.wahab@monese.com>
2022-09-08 14:57:48 -07:00
Harry9656 cbcf5d4050 BAEL-5712: Improvement in Listing files under directory (#12643)
Co-authored-by: Harpal Singh <harpal.singh@kaleyra.com>
2022-09-08 21:48:29 +01:00
Loredana Crusoveanu b8bab5bcbe Merge pull request #12556 from GeoffChurch/insertInStream
Improve `insertInStream`
2022-09-08 10:35:33 +03:00
Amitabh Tiwari 82dfba062c Bael 5679 json to protobuf (#12696)
* Initial Changes

* Update ProtobufUtilUnitTest.java

* Changes for JSON to Protobuf
2022-09-06 22:26:18 -07:00
Gerard Klijs 2f9967dcd3 BAEL-4769 Additions for 'Querying the Query Model in Axon' (#12578)
* Update to latest and include script to start axon server

* Add the two other types of queries

* Add unit and integration tests for the queries

* BAEL-4769 Formatting

Co-authored-by: bipster <openbip@gmail.com>
2022-09-06 14:04:07 -04:00
davidmartinezbarua c1a759900e Merge pull request #12678 from thibaultfaure/article/BAEL-5709-find-roots-of-a-quadratic-equation
BAEL-5709 code for the Finding the roots of a quadratic equation article
2022-09-05 21:03:35 -03:00
thibault.faure faaebaddbe BAEL-5709 code for the Finding the roots of a quadratic equation article 2022-09-05 22:07:07 +02:00
Eugene Kovko 06fc7ae257 BAEL-4795: Static garbage collected fields (#12693)
* BAEL-4795: Static garbage collected fields

* BAEL-4795: Fix readAllBytes()
2022-09-05 08:45:31 -07: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
Loredana Crusoveanu f56135fa93 Merge pull request #12690 from Asjad-J/master
Updated README.mds
2022-09-04 12:01:26 +03:00
Asjad J aaa85a4010 Update README.md
changed the expired link https://www.baeldung.com/mockito-2-java-8 to correct link https://www.baeldung.com/mockito-java-8
2022-09-04 06:11:07 +05:00
Asjad J 6b1e4f6f68 Update README.md
changed the expired link https://www.baeldung.com/mockito-2-lazy-verification to correct link https://www.baeldung.com/mockito-lazy-verification
2022-09-04 06:07:40 +05:00
Asjad J a537128503 Updated README.md
Moved 'UUID as Entity ID in MongoDB' from spring-data-mongodb to spring-data-mongodb-2
2022-09-04 06:03:02 +05:00
Asjad J a4af7a0512 Updated README.md
Moved 'UUID as Entity ID in MongoDB' from spring-data-mongodb to spring-data-mongodb-2
2022-09-04 06:02:04 +05:00
Asjad J 4346ab2887 Updated README.md
updated the link to article
2022-09-03 21:47:42 +05:00