Base command classes for HTTP, REST, and SOAP operations wrapped in Netflix Hystrix circuit-breaker patterns. Provides reusable, resilient HTTP command abstractions that can be extended for specific API integrations.
- Language: Java 8+
- Framework: Netflix Hystrix
- Build: Maven
- Key dependencies: Hystrix, Apache HttpClient, SLF4J
Library providing abstract base classes (BaseHttpGetHystrixCommand, BaseHttpPostHystrixCommand, etc.) that wrap HTTP operations in Hystrix commands with circuit-breaker, timeout, and fallback support. Consumers extend these base classes and implement target-specific logic (path, headers, authentication).
BaseHttpGetHystrixCommand- GET request base commandBaseHttpPostHystrixCommand- POST request base commandpom.xml- Maven coordinates:no.cantara.base:Hystrix-BaseCommands
# Build
mvn clean install
# Test
mvn testResilience infrastructure library. Provides circuit-breaker-wrapped HTTP commands used across the Cantara ecosystem (Whydah SDKs, load testing, service communication) to ensure fault tolerance in distributed systems.