Module com.hack23.cia.service.external.common


module com.hack23.cia.service.external.common
CIA (Citizen Intelligence Agency) External Service Common Module.

This module provides common functionality and utilities for all external service integrations in the CIA application. It implements core features for HTTP communication, XML processing, and standardized external service access patterns.

The module exports two packages:

  • com.hack23.cia.service.external.common.api - Common interfaces for external services
  • com.hack23.cia.service.external.common.impl - Shared implementation components

Core Features:

  • HTTP Communication
    • Fluent HTTP client implementation
    • Standardized request handling
    • Response processing utilities
  • XML Processing
    • JAXB integration
    • JDOM2 XML handling
    • Spring OXM support
  • Service Infrastructure
    • Common service patterns
    • Error handling
    • Logging framework integration

This module serves as the foundation for all external data source integrations, providing consistent patterns and utilities for:

  • Swedish Parliament (Riksdagen) data access
  • Election Authority (Val) integration
  • World Bank data retrieval
  • ESV (Swedish National Financial Management Authority) communication