Uncategorized

Adventuretube Microservice Security Architecture

 Separation of Authentication responsibility This document explains the security architecture of the Adventuretube platform, detailing how requests are authenticated and authorized across the API Gateway and individual microservices and why need a seperation concept in Gatway-service with dedicated Auth-service. A key design principle in this system is the separation of authentication responsibilities: The API Gateway […]

Adventuretube Microservice Security Architecture Read More »

Uncategorized

Swagger UI Intergation vis Spring Cloud Gateway #2

🧭 Overview This document explains how Swagger UI is aggregated across multiple microservices behind a Spring Cloud Gateway, detailing the request flow and how security is managed. In my adventuretube microserice. It does require two separate two-phase of integration  🛠️ Two-Phase Integration Overview 🔹 Step 1: Swagger Configuration for Each Service Each microservice is configured

Swagger UI Intergation vis Spring Cloud Gateway #2 Read More »

Uncategorized

URI Construction and API Response Annotations in AuthController

1. Overview This document analyzes the register method in AuthController, focusing on the construction of the URI and the @ApiResponse annotations that define the API response structure. 2. Code Snippet @Operation(summary = “Signup user”) @ApiResponse(responseCode = “201”) // Created //@ApiResponse(responseCode = “404”, content = @Content(schema = @Schema(implementation = CommonErrorResponse.class))) @ApiResponse(responseCode = “401”, content = @Content(schema

URI Construction and API Response Annotations in AuthController Read More »

BACKEND(spring-microservice), Uncategorized