Author: Sergey Kargopolov

Software developer

Web: www.appsdeveloperblog.com

In a microservices architecture, it is common to have multiple services communicating with each other over the network. This distributed nature of the architecture can make it challenging to diagnose and debug issues when they arise. To address this problem, developers often use monitoring(Micrometer) and tracing tools(Zipkin) to track the flow of requests between microservices.…

Read More Micrometer and Zipkin: How to Trace HTTP Requests in Spring Boot 3

In this tutorial, you will learn how to remove the DEBUG banner in the Flutter app. Removing the DEBUG banner is crucial for ensuring that your Flutter mobile application looks polished and production-ready. It’s also important to note that this label can be misleading to users who may mistake it for an error or bug…

Read More Removing the DEBUG Banner in Flutter App

In this tutorial, you will be introduced to the process of adding JSON Web Token (JWT) support to your Java application. You will also learn how to add and validate custom JWT Claims using the io.jsonwebtoken library. The JWT tokens generated in this process will be signed with a SecretKeySpec, making them secure and tamper-proof.…

Read More Generate JWT. Add and Validate Custom Claims.

OpenAPI (formerly known as Swagger) is a specification for building and documenting RESTful APIs. It allows developers to describe their API operations, inputs, outputs, and other aspects in a structured and machine-readable format. This documentation can then be used by developers and users to understand and interact with the API. In Spring Boot applications, OpenAPI…

Read More Enable OpenAPI 3(Swagger) in Spring Boot 3

This blog post covers three distinct methods for reading application properties in a Spring Boot application. These methods include: Using the Environment object. Using the @ConfigurationProperties annotation. Using the @Value annotation. I made a simple Spring Boot Web App to show you how to read application properties. You can use the tutorial “Create a Simple…

Read More Spring Boot : Reading properties file

In this REST Assured tutorial, I will demonstrate how to evaluate the JSON content that is returned in the response body of an HTTP response. What is REST Assured? REST Assured is a Java-based library for testing RESTful web services. It provides a domain-specific language (DSL) for writing tests that interact with web services using…

Read More Validate JSON Response with REST Assured

This short REST Assured tutorial will teach you how to validate the HTTP Response Status Code while testing a RESTful Web Service endpoint. Each HTTP Response includes a status code, and by examining the status code value, we can determine if the HTTP Response was successful or not. Let’s explore how we can use REST…

Read More Validate HTTP Status Code: RestAssured

In this blog post, I will share the Spring annotations used to map HTTP requests to specific handler methods. These annotations include @PostMapping, @GetMapping, @PutMapping, and @DeleteMapping. While most Spring Boot applications use the @RequestMapping annotation, which I will also cover in this post, I’ll begin with the newer shortcut annotations that have been available…

Read More Spring Boot – @PostMapping, @GetMapping, @PutMapping, @DeleteMapping

In this Spring Security tutorial, you will learn how to enable and use the Method Level Security with a @Secured annotation. @Secured is a Spring Security annotation used to specify that a method should be executed only if the authenticated user has the required roles or authorities. When you use this annotation, you can specify…

Read More Spring Security @Secured: Method-Level Protection