Skip to content

Shared Libraries

Showing 2 of 2 services
ServiceFQN
Core LibrarysharedLibraries.coreLibrary
Test Support LibrarysharedLibraries.testSupportLibrary

None

None

The Shared Libraries application groups the cross-cutting Java/Spring Boot foundational libraries defined in the Decoupled Maven Multi-Repo Architecture (ADR 0005). Every AirCommerce microservice that inherits from one.aircommerce.pom:boot-base-super-pom automatically receives:

  1. Core Library (core-library) at compile scope: standardizing OAuth2 JWT resource-server security, OAuth2 token exchange for downstream Feign calls, OpenTelemetry trace propagation, global exception handling (GlobalExceptionHandler), and the ServiceException / BaseResponse contract.
  2. Test Support Library (test-support-library) at test scope: providing BaseControllerTest, @WithMockUser security contexts, WireMock Spring Boot integration, and Testcontainers without leaking test dependencies into production fat-JARs.