mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-09-30 20:49:59 +02:00
Expose AISHub as an optional ships-layer backup when AISStream is silent.
Wire AISHUB_USERNAME into API Keys and onboarding, and surface backup status on the AIS outage banner so operators can keep vessel coverage without changing the AISStream proxy. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
00f02c2687
commit
dc0f69a0b9
12 files changed
+194
-109
No files matched your search
@@ -0,0 +1,9 @@
|
||||
from services.api_settings import ALLOWED_ENV_KEYS, API_REGISTRY
|
||||
|
||||
|
||||
def test_aishub_username_is_in_api_registry():
|
||||
entry = next((item for item in API_REGISTRY if item.get("env_key") == "AISHUB_USERNAME"), None)
|
||||
assert entry is not None
|
||||
assert entry["category"] == "Maritime"
|
||||
assert entry["required"] is False
|
||||
assert "AISHUB_USERNAME" in ALLOWED_ENV_KEYS
|
||||
Reference in new issue
Block a user