Module protocol_contracts

Module protocol_contracts 

Source
Expand description

Protocol contract management handlers

This module provides HTTP handlers for managing protocol contracts (gRPC, WebSocket, MQTT, Kafka).

Structs§

CompareContractsRequest
Request to compare contracts
CreateGrpcContractRequest
Request to create a gRPC contract
CreateKafkaContractRequest
Request to create a Kafka contract
CreateMqttContractRequest
Request to create an MQTT contract
CreateWebSocketContractRequest
Request to create a WebSocket contract
EvolutionRulesRequest
Request for evolution rules
KafkaTopicSchemaRequest
Request for a Kafka topic schema
ListContractsResponse
Response for listing contracts
MqttTopicSchemaRequest
Request for an MQTT topic schema
ProtocolContractResponse
Response for protocol contract operations
ProtocolContractState
State for protocol contract handlers
TopicSchemaRequest
Request for a topic schema (key or value)
ValidateMessageRequest
Request to validate a message
WebSocketMessageTypeRequest
Request for a WebSocket message type

Functions§

compare_contracts_handler
Compare two contracts
create_grpc_contract
Create a gRPC contract
create_kafka_contract
Create a Kafka contract
create_mqtt_contract
Create an MQTT contract
create_websocket_contract
Create a WebSocket contract
delete_contract
Delete a contract
get_contract
Get a specific contract
list_contracts
List all protocol contracts
protocol_contracts_router
Get contract router
validate_message
Validate a message against a contract