sdr-enthusiasts / acars_router Goto Github PK
View Code? Open in Web Editor NEWRoute ACARS/VDLM2 messages between various services
License: MIT License
Route ACARS/VDLM2 messages between various services
License: MIT License
Hi @fredclausen,
I'm wondering if we should look at auto-versioning using something like this: https://crates.io/crates/cargo-bump
This way, we get a new patch release on commit. We can likely manage the major/minor versioning manually - possibly by adding a variable to workflow-dispatch
...
Let me know what you think.
I assume there is a version in Python and a newer one in Rust. Since I couldn't read anything about this, I wonder why the project was rewritten in Rust? Is the Python version less stable or missing important features? Thank you!
2022-07-29T07:58:54 [INFO] - ACARS in the last 5 minute(s):
2022-07-29T07:58:54 [INFO] - VDLM in the last 5 minute(s):
The number of messages are missing in the log entries above.
Add in code for collecting Prometheus metrics, and an endpoint for the metrics to be retrieved.
Ideally during the build phase we test and include only the appropriate binary for the architecture, if for no other reason than to save some space on the download. I am thinking the best way to accomplish this would be:
acars_router
I have been trying to debug why HFDL is not being seen by the acars_router and it doesn't seem to be listening.
Here is the docker output :
from distutils.util import strtobool
2024-03-26 18:54:50 [INFO] [acars_router.core] serving ACARS on TCP port 15550
2024-03-26 18:54:50 [INFO] [acars_router.core] serving VDLM2 on TCP port 15555
2024-03-26 18:54:50 [INFO] [acars_router.core] serving ACARS via ZMQ over TCP, port: 45550
2024-03-26 18:54:50 [INFO] [acars_router.core] serving VDLM2 via ZMQ over TCP, port: 45555
2024-03-26 18:54:50 [INFO] [acars_router.core] sending ACARS via UDP to acarshub:5550
2024-03-26 18:54:50 [INFO] [acars_router.core] sending VDLM2 via UDP to acarshub:5555
2024-03-26 18:54:50 [INFO] [acars_router.core] Listening for ACARS UDP on port 5550
2024-03-26 18:54:50 [INFO] [acars_router.core] Listening for ACARS TCP on port 5550
2024-03-26 18:54:50 [INFO] [acars_router.core] Listening for VDLM2 UDP on port 5555
2024-03-26 18:54:50 [INFO] [acars_router.core] Listening for VDLM2 TCP on port 5555
And here is the compose file :
container_name: acars_router
hostname: acars_router
image: ghcr.io/sdr-enthusiasts/acars_router:latest_nohealthcheck
restart: ${RESTART}
depends_on:
- acarsdec
- vdlm2dec
environment:
- AR_ENABLE_DEDUPE=true
- AR_LISTEN_UDP_ACARS=5550
- AR_LISTEN_TCP_ACARS=5550
- AR_LISTEN_UDP_VDLM2=5555
- AR_LISTEN_TCP_VDLM2=5555
- AR_LISTEN_UDP_HFDL=5556
- AR_LISTEN_TCP_HFDL=5556
- AR_SEND_UDP_ACARS=acarshub:5550
- AR_SEND_UDP_HFDL=acarshub:5556
- AR_SEND_UDP_VDLM2=acarshub:5555
- AR_STATS_EVERY=30
- AR_STATS_VERBOSE=true
- TZ=${FEEDER_TZ}
tmpfs:
- /run:exec,size=64M
- /var/log
I know that the router is working since ACARS and VDLM messages get routed accordingly but in the HFDL container i see the logs saying there were messages but the router seems to ignore / block.
Any help would rock!!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.