Remove licensing repository dependency and standalone submodule proxy from tests and CI
CI Test Suite / Run Component Tests & Pipeline Verification (push) Failing after 1m35s

This commit is contained in:
2026-10-03 20:22:07 +02:00
parent d9bc8df002
commit 303744a3f8
5 changed files with 6 additions and 50 deletions
-1
View File
@@ -1 +0,0 @@
from src.hub.License_Authority import *
-34
View File
@@ -1,34 +0,0 @@
#!/usr/bin/env python3
"""
LOGAR Master License Authority Proxy
Delegates directly to the standalone submodule: LOGAR-LICENSING/License_Authority.py
Repo: https://gitea.eibl.tech/me0nline/LOGAR-LICENSING.git
"""
import os
import importlib.util
ROOT_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", ".."))
SUBMODULE_FILE = os.path.join(ROOT_DIR, "LOGAR-LICENSING", "License_Authority.py")
if not os.path.exists(SUBMODULE_FILE):
alt_sub = os.path.join(os.path.abspath(os.path.join(os.path.dirname(__file__), "..")), "LOGAR-LICENSING", "License_Authority.py")
if os.path.exists(alt_sub):
SUBMODULE_FILE = alt_sub
if os.path.exists(SUBMODULE_FILE):
spec = importlib.util.spec_from_file_location("_submodule_authority", SUBMODULE_FILE)
if spec and spec.loader:
_sub = importlib.util.module_from_spec(spec)
spec.loader.exec_module(_sub)
# Export public symbols from submodule into this module's namespace
for attr in dir(_sub):
if not attr.startswith("__"):
globals()[attr] = getattr(_sub, attr)
else:
def main():
print("[!] LOGAR-LICENSING submodule not present in current workspace.")
return 0
if __name__ == "__main__":
if "main" in globals():
main()