Commit Graph

7119 Commits

Author SHA1 Message Date
Usman Mohyuddin dd50f5e80b Create GreetingsController.java (#11057)
* Create GreetingsController.java

add controller to test the content type being set properly or not

* add unit tests for greetings controller

* update to avoid PMD violation

* correct the file type

* Update GreetingsControllerUnitTest.java

fix some imports & correct the names

* Update GreetingsControllerUnitTest.java

update the unit case to avoid internal server error for junit
2021-07-25 10:02:16 -07:00
kwoyke ec02aed456 JAVA-6253: Review the time of the build (#11067)
* JAVA-6253: Move image-processing to the heavy profile

* JAVA-6253: Do not start blade app automatically by a plugin

Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-07-25 12:04:25 +05:30
doodoroma eef71ba53c Merge pull request #11034 from KarthickSridhar/article_java_check_ip_is_in_given_range
[BAEL-4478] IP address is in given range or not using java
2021-07-25 07:44:32 +02:00
Loredana Crusoveanu 8546382c7a Merge pull request #11070 from raviavhad/master
BAEL-4957-Spring validation in the service layer
2021-07-24 15:07:38 +03:00
Ravi Avhad 6b3e8de50f Moving method addUserAccount out of conditional block which checks for contraint violations 2021-07-24 14:25:40 +05:30
Ravi Avhad d63ff1db32 syncing with master 2021-07-24 14:21:40 +05:30
Ravi Avhad 5955e7bb41 moving spring service layer validation code 2021-07-24 14:17:29 +05:30
Ravi Avhad a9f9b29ef5 Adding code for BAEL-4957 - Spring validation in the service layer 2021-07-24 14:17:29 +05:30
raviavhad ed01815caf Update UserAccountService.java
Reverting changes
2021-07-24 14:15:50 +05:30
raviavhad d5399a7677 Update UserAccountService.java
Moving the call to addUserAccount method out of condition to check if violations exist.
2021-07-24 13:45:21 +05:30
Ravi Avhad 66360a6b31 Merge branch 'master' of https://github.com/raviavhad/tutorials 2021-07-24 13:32:22 +05:30
Ravi Avhad d1b2f3af21 moving spring service layer validation code 2021-07-24 13:19:51 +05:30
Ravi Avhad 5a37927a90 Adding code for BAEL-4957 - Spring validation in the service layer 2021-07-24 13:19:51 +05:30
anmoldeep0123 dd34c377da BAEL-4456 | Trusting a Self-Signed Cert in OkHTTP (#11065)
* BAEL-4220 | A Guide to IllegalAccessError and when it happens

* BAEL-4220 | A Guide to IllegalAccessError and when it happens | fix tests

* BAEL-4220 | A Guide to IllegalAccessError and when it happens | fix tests

* BAEL-4220 | A Guide to IllegalAccessError and when it happens | BDD test names

* BAEL-4494 | .toArray(new MyClass[0]) or .toArray(new MyClass[myList.size()])?

* BAEL-4494 | .toArray(new MyClass[0]) or .toArray(new MyClass[myList.size()])?

* BAEL-4933 | Differences between static classes and the singleton pattern in Java

* BAEL-4456 | Trusting a Self-Signed Cert in OkHTTP

Co-authored-by: root <anmoldeep0123@gmail.com>
2021-07-24 00:16:22 +02:00
Arash Ariani 0ed3f46015 Bael 4464 (#11062)
* BAEL-4464 : how to implement LRU-Cache in java codes added

* BAEL-4464 : how to implement LRU-Cache in java codes added - package named fixed

* BAEL-4464 : how to implement LRU-Cache in java codes added - package named changed

* BAEL-4464 : how to implement LRU-Cache in java codes added - unitTest fixed

* BAEL-4464 : issues 4,5 fixed.

* fixed some issues in BAEL-4464

* BAEL-4464 : some tips on unitTest fixed
2021-07-23 14:48:28 +02:00
makapszenna b39c550ff6 BAEL-4977 CQL Data Types (#11017)
Co-authored-by: Adrianna Zychewicz <adrianna.zychewicz@decerto.pl>
2021-07-23 12:13:16 +02:00
gjohnson 91bbabd97a First Draft - BAEL-4122 - A Quick Guide to Autocommit in JDBC 2021-07-23 01:00:45 +01:00
Karthick Sridhar dd4902e8da [BAEL-4478] IP address is in given range or not using java 2021-07-22 22:36:11 +05:30
Loredana Crusoveanu 8601038950 Merge pull request #11061 from johnA1331/master
BAEL-38308 - add links to github-baeldung articles
2021-07-22 09:19:42 +03:00
johnA1331 9fb3c09fd8 Update README.md 2021-07-22 01:35:37 +08:00
johnA1331 16571f28c0 Update README.md 2021-07-22 01:32:41 +08:00
johnA1331 ddb8d5202c Update README.md 2021-07-22 01:30:44 +08:00
johnA1331 9709c690e2 Update README.md 2021-07-22 01:28:15 +08:00
johnA1331 b32513fdb4 Create README.md 2021-07-22 01:26:08 +08:00
johnA1331 a038d87182 Create README.md 2021-07-22 01:22:46 +08:00
johnA1331 a28a32fdc9 Update README.md 2021-07-22 01:19:36 +08:00
johnA1331 d85e3aff2d Update README.md 2021-07-22 01:16:53 +08:00
davidmartinezbarua ceae1da0b5 Merge pull request #10896 from akhil90s/Deployment-Vs-StatefulSet
Deployment Vs StatefulSet
2021-07-21 10:07:45 -03:00
Kai Yuan b848bfead3 add Phaser implementations (#11051) 2021-07-20 22:17:19 -05:00
davidmartinezbarua c2bfff5698 Merge pull request #11028 from LiamGve/feature/BAEL-4908
BAEL-4908 added code for pubsub vs message queues tutorial
2021-07-20 17:30:37 -03:00
Arash Ariani 66b40ed662 Bael 4464 (#11041)
* BAEL-4464 : how to implement LRU-Cache in java codes added

* BAEL-4464 : how to implement LRU-Cache in java codes added - package named fixed

* BAEL-4464 : how to implement LRU-Cache in java codes added - package named changed

* BAEL-4464 : how to implement LRU-Cache in java codes added - unitTest fixed

* BAEL-4464 : issues 4,5 fixed.

* fixed some issues in BAEL-4464
2021-07-20 07:21:36 +02:00
Md Moinul Hossain bdec91c268 BAEL-4994 names updated 2021-07-20 11:21:17 +06:00
psevestre b9571f02f5 [BAEL-5014] Kubernetes Admission Controller (#11055)
* [BAEL-4849] Article code

* [BAEL-4968] Article code

* [BAEL-4968] Article code

* [BAEL-4968] Article code

* [BAEL-4968] Remove extra comments
2021-07-19 19:41:58 -07:00
Ahwin Oghenerukevwe 4524fbf9e3 BAEL-4143: sample usages of @SuppressWarnings warning names (#11021)
Co-authored-by: oahwin <oahwin@getcarbon.co>
2021-07-19 07:31:25 +02:00
Ali Dehghani 81fddd7bc3 BAEL-4233: Why doesn't a missing annotation cause a ClassNotFoundException at runtime? (#11024) 2021-07-18 10:43:45 -05:00
psevestre d2035e86af [BAEL-5014] Kubernetes Admission Controller (#11044)
* [BAEL-4849] Article code

* [BAEL-4968] Article code

* [BAEL-4968] Article code

* [BAEL-4968] Article code
2021-07-18 08:19:13 -07:00
Thomas Duxbury a61d1c3efb BAEL-4797: Default Values for Maven Properties 2021-07-18 14:25:34 +01:00
doodoroma 3f18d3ae53 Merge pull request #10996 from jason-m-s/BAEL-3759-guava-listenable-future
BAEL-3759 Guava Listenable Future
2021-07-18 12:27:35 +02:00
Remy Ohajinwa d387500d53 BAEL-5013 Convert String to Camel Case (#10947)
* BAEL-5004 Fixed overflow issues for Large numbers

* BAEL-5013 Test cases

* BAEL-5013 Convert to String solutions

* BAEL-5013 convert to camel case using regex

* BAEL-5004 Fixed overflow issues for Large numbers

* BAEL-5013 Convert to Camel Case using Regex

* BAEL-5013 Review changes

* BAEL5013 cleanup

* BAEL5013 review changes

* BAEL5013 continuation index to 2 spaces

* BAEL-5013 fixed test failure

* BAEL-5013 Review changes

Co-authored-by: Remy Ohajinwa <remy.ohajinwa@interswitchgroup.com>
2021-07-18 10:41:05 +01:00
Arash Ariani 17814a1468 BAEL-4464 : how to implement LRU-Cache in java codes added (#11036)
* BAEL-4464 : how to implement LRU-Cache in java codes added

* BAEL-4464 : how to implement LRU-Cache in java codes added - package named fixed

* BAEL-4464 : how to implement LRU-Cache in java codes added - package named changed

* BAEL-4464 : how to implement LRU-Cache in java codes added - unitTest fixed
2021-07-17 11:41:26 +02:00
Michaël Goossens b9fd869c02 Also consider string interpolation
The above example only works when logging a string without using string interpolation. For example the following log statement: log.debug("This is a log from {}", "David"). This would result in event.getMessage() returning "This is a log from {}" while you would like to see the processed form "This is a log from David". The getMessage().toString() only returns the former while toString() on the event will return the latter. Furthermore the toString() method is redundant on getMessage() as it already is a string.
2021-07-15 23:26:49 +02:00
kwoyke 978bf7f543 JAVA-6348: Properly ignore a unit test (#11031)
Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-07-15 22:39:30 +05:30
Greg 5ba5c1eda8 Merge pull request #10983 from hmdrzsharifi/BAEL-4843
Bael 4843-Writing Log Data to Syslog Using Log4j
2021-07-15 10:42:25 -04:00
Loredana Crusoveanu 44f16e3ea6 Merge pull request #11035 from johnA1331/master
BAEL-38061 - add links to github-baeldung articles
2021-07-15 09:16:18 +03:00
Azhwani 48bef2c797 BAEL-4969: Improvement: Streams to Immutable Collections (#11026)
* add new module for java core 16

* format pom.xml
2021-07-14 21:18:47 -07:00
Ali Dehghani 0a3c6a675d BAEL-5026: Improvement for Write an InputStream to a File (#11018) 2021-07-14 21:45:36 -05:00
johnA1331 895def1797 Create README.md 2021-07-15 01:21:54 +08:00
johnA1331 471ff477bd Update README.md 2021-07-14 21:56:30 +08:00
johnA1331 3a8f5407c8 Update README.md 2021-07-14 21:52:59 +08:00
johnA1331 b3015ed6e0 Update README.md 2021-07-14 21:51:34 +08:00