In our previous tutorial, we discussed how to configure the OWASP dependency-check maven plugin to analyze maven projects for vulnerable dependencies. The dependency check report provides a detailed report of vulnerable JAR libraries used in your project. In this tutorial, we discuss how to integrate the dependency check report into your Sonar analysis and your […]
How to identify vulnerable dependencies in a Maven project
Software security is an essential component of any enterprise or large scale software product. Making sure that your software product is secure protects your product from a range of attacks and helps safeguard the safety of your users’ data. Sometimes, it is even required due to laws and regulations of your industry. In this tutorial, […]
How to configure fiegn clients to perform HTTP requests in Spring
In our previous tutorial, we discussed how to configure and enable OpenFeign and Feign clients in a Spring boot application. In this tutorial, we will dig deeper into Feign clients and discuss how to create and configure Feign clients to call external services using the HTTP GET, PUT. POST and DELETE functions. We will also […]
How to configure OpenFeign with Spring boot
In this tutorial, we will discuss how to configure OpenFeign and a Feign client in a Spring boot application in order to make a REST call to a REST API service in another application. The goal of this tutorial is to get you started with OpenFeign basics in Spring boot and to demonstrate how you […]
How to perform operations on lists in Python
Lists are an essential component of many Python programs. Weather you are creating a list of people who are in an office room, or you are working on data for a machine learning program, you will eventually need to use and work with a list data structure to manage your data. Python provides a flexible […]
String manipulation in Python
Strings are central and important components in any programming language and they are needed in almost any type of application (commercial, scientific, medical, etc..). Think of all things you can store in a String such as names, addresses, communication data and much more. Therefore, it is important to get to know how to use and […]
How to configure path variables in Spring controllers
Path variables are an essential component which we use when interacting with REST APIs. In this tutorial, we will discuss what path variables are (not to be confused with query parameters) and how to use and configure them in Spring controllers. If you are just starting out with building REST APIs in Spring or Spring […]
How to configure query parameters in Spring Controllers
In this post, we will discuss what query parameters are and how to configure them in a Spring controller using the @RequestParam annotation. We will also discuss how to set your query parameters as optional, how to configure multiple query parameters and more. Before we start, I highly recommend that you check out our introductory […]
The Java Bean Validation Cheat Sheet
In our previous post, we discussed how to use Java bean validation (AKA JSR-303 or Jakarta Bean Validation) in your Spring Boot and Java applications. We also discussed in a separate post, how to use bean validation to validate REST API calls. However, we only introduced a very small subset of the constraints that are […]
How to use Java Bean Validation in Spring Boot
Java bean validation, AKA JSR-303 is a Java standard which is used to perform validation on items inside a Java application. Validation is performed by applying “constraints” on data items. As long as the data satisfies these constraints, it will be considered valid. Such constraints can be a specific numerical value range, being null or […]