fix(platform): govern geospatial analysis and raster handoffs
This commit is contained in:
@@ -13,6 +13,8 @@ ALLOWED_NON_ENVELOPE_ENDPOINTS = {
|
||||
("GET", "/health"),
|
||||
("GET", "/health/live"),
|
||||
("GET", "/health/ready"),
|
||||
("GET", "/api/v1/auth/authentik/start"),
|
||||
("GET", "/api/v1/auth/authentik/callback"),
|
||||
("GET", "/api/v1/exports/{export_id}/download"),
|
||||
("GET", "/api/v1/projects/{project_id}/datasets/{dataset_id}/raster/image"),
|
||||
("GET", "/api/v1/projects/{project_id}/datasets/{dataset_id}/raster/terrain/image"),
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
from pathlib import Path
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
missing=[d for d in ["contracts/api","contracts/database","contracts/events"] if not (ROOT/d).exists()]
|
||||
if missing: raise SystemExit("Missing contract directories: "+", ".join(missing))
|
||||
missing = [
|
||||
d
|
||||
for d in ["contracts/api", "contracts/database", "contracts/events"]
|
||||
if not (ROOT / d).exists()
|
||||
]
|
||||
if missing:
|
||||
raise SystemExit("Missing contract directories: " + ", ".join(missing))
|
||||
print("Contracts smoke OK")
|
||||
|
||||
Reference in New Issue
Block a user