mirror of
https://github.com/zvx-echo6/meshai.git
synced 2026-08-26 17:31:34 +00:00
feat(generic): config-driven REST/GeoJSON source adapter (ported from Central) (#78)
Universal, no-code data sources: one GenericHttpAdapter polls any public REST/GeoJSON feed per config.generic_sources[] — dotted-path field mapping (items/id/lat/lon/geometry/title/fields) → coverage-gated, persisted (generic_events, v26), cold-start-silent, LLM-queryable events. Ports Central's GenericHttpAdapter to meshai native. First real use case: Idaho Power outages, configured (not hardcoded) — anyone can point it at their own utility/feed. GUI editor is a follow-up. Co-authored-by: Matt Johnson <mj@k7zvx.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
38f2f828ca
commit
30212ceb18
11 changed files with 897 additions and 7 deletions
|
|
@ -15,7 +15,7 @@ from meshai.persistence.observer_locations import (
|
|||
# -- schema / migration -------------------------------------------------------
|
||||
|
||||
def test_schema_version_is_25():
|
||||
assert SCHEMA_VERSION == 25
|
||||
assert SCHEMA_VERSION == 26
|
||||
|
||||
|
||||
def test_observer_locations_table_exists():
|
||||
|
|
@ -30,7 +30,7 @@ def test_schema_meta_at_current():
|
|||
conn = get_db()
|
||||
row = conn.execute(
|
||||
"SELECT value FROM schema_meta WHERE key='version'").fetchone()
|
||||
assert int(row["value"]) == 25
|
||||
assert int(row["value"]) == 26
|
||||
|
||||
|
||||
# -- accessors ----------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue