Module transport

Source
Expand description

§Transport Module

This module provides the networking and communication layer for the trace2e framework, enabling distributed traceability operations between middleware instances across different nodes in a networked environment.

§Overview

The transport layer abstracts the underlying communication mechanisms used for machine-to-machine (M2M) interactions in the trace2e system. It supports multiple transport implementations including gRPC for production environments, loopback and no-op for testing purposes.

§Transport Implementations

  • gRPC Transport: Production-ready implementation using Protocol Buffers and gRPC
  • Loopback Transport: Local testing implementation that routes calls internally between mock middleware instances
  • No-op Transport: Stub implementation that performs no actual communication

§Remote IP Evaluation

The module provides utilities for extracting remote IP addresses from M2M requests, enabling proper routing and connection management for distributed operations.

§Architecture

The transport layer operates between the traceability middleware instances, facilitating the exchange of compliance policies, provenance information, and authorization decisions across network boundaries.

Modules§

grpc
gRPC Transport Implementation
loopback
Loopback Transport Implementation
nop
No-Op Transport Implementation

Functions§

eval_remote_ip
Extracts the remote IP address from an M2M request for routing purposes.