Crate svc_compliance
source ·Expand description

svc-compliance Service
Overview
svc-compliance is responsible for all communication with the regional civil aviation authority (CAA).
This includes:
- Submitting flight plans
 - Requesting flight releases
 - Obtaining temporary flight restrictions (TFRs)
 - Obtaining no-fly and no-drone zones
 - Obtaining NOTAMs
 - Obtaining waypoints
 
Re-exports
pub use crate::config::Config;
Modules
- provides AMQP/RabbitMQ implementations for queuing layer
 - Config
 - gRPC provides client and server implementations for gRPC
 - Provides region specific implementations for the compliance functions
 
Macros
- Writes a debug! message to the
app::amqplogger - Writes a error! message to the
app::amqplogger - Writes a info! message to the
app::amqplogger - Writes a warn! message to the
app::amqplogger - Writes a debug! message to the
app::grpclogger - Writes a error! message to the
app::grpclogger - Writes a info! message to the
app::grpclogger - Writes a warn! message to the
app::grpclogger - Writes a debug! message to the
app::regionlogger - Writes a error! message to the
app::regionlogger - Writes a info! message to the
app::regionlogger - Writes a warn! message to the
app::regionlogger 
Statics
- Initialized log4rs handle
 
Functions
- Initialize a log4rs logger with provided configuration file path
 - Tokio signal handler that will wait for a user to press CTRL+C. This signal handler can be used in our
tonic::transport::Servermethodserve_with_shutdown.