Skip to content

docs: MobilityAPI ingestion plan for MEOS-API output + OpenAPI missing-work integration#3

Closed
estebanzimanyi wants to merge 86 commits into
MobilityDB:masterfrom
estebanzimanyi:docs/meos-api-ingestion-plan
Closed

docs: MobilityAPI ingestion plan for MEOS-API output + OpenAPI missing-work integration#3
estebanzimanyi wants to merge 86 commits into
MobilityDB:masterfrom
estebanzimanyi:docs/meos-api-ingestion-plan

Conversation

@estebanzimanyi
Copy link
Copy Markdown
Member

Planning artefact, no code change. Maps how MobilityAPI consumes the catalog and projections published by MobilityDB/MEOS-API, and integrates the missing-work items called out in MEOS-API PR #5's "natural follow-ups":

  • OpenAPI conformance validation in CI (MISSING — MEOS-API session)
  • OGC API – Moving Features resource projection (MISSING — MEOS-API session; immediate dependency for MobilityAPI)

What the plan covers

  1. Context — MEOS-API as single source of truth; MobilityAPI as the OGC-conformant downstream binding (OGC 22-003r3).
  2. Per-task split (parallel sessions) — what lives in MEOS-API session, what lives in MobilityAPI session, why they don't block each other.
  3. Missing OpenAPI work table — three items from PR ci(vendor): add a vendor-drift workflow #5's follow-ups, each with status + ownership.
  4. Endpoint-by-endpoint gap analysis — each of the 10 hand-written resource/* modules mapped to its generic-OpenAPI + MovFeat-projection equivalent. Classification: 5 Replace (pure MEOS dispatchers) vs 5 Keep (OGC-specific persistence / GeoJSON-envelope concerns).
  5. Sequencing — five-step plan respecting the never-wait-for-PR-merge rule. Steps 1-4 unblock today against MEOS-API master; step 5 consumes the MovFeat-projection PR branch the moment it opens.
  6. Invariants — PyMEOS in the middle at runtime, no regression on the AIS test suite, no AI co-author attribution.
  7. Open questions for the maintainer (artefact distribution, CI-build scope, OGC-schema sourcing).

Why this PR exists separately from the execution PRs

Per the cross-repo handoff brief, each downstream session needs to ground its own task list in writing before executing. This is the MobilityAPI session's grounding document; subsequent PRs land the steps one at a time.

What this PR is NOT

  • Not a vendoring PR (step 2 in the plan; separate PR).
  • Not a CI gate (step 3; separate PR).
  • Not a dispatcher refactor (step 4; separate PR).
  • Not an OGC MovFeat adopter (step 5; gated on MEOS-API session).

Cross-link

I'll also drop a short comment on MEOS-API PR #5 noting that the MovFeat-projection follow-up has a downstream consumer (this plan) — so the MEOS-API session sees the dependency.

Refs

  • MEOS-API PR #5 — OpenAPI projection (the source artefact)
  • MEOS-API PR #7 — runtime HTTP server (parallel deployment topology, generic not OGC)
  • MEOS-API PR #9 — cross-repo handoff brief (per-session invariants)

sirimeraoui and others added 23 commits March 15, 2026 09:29
MobilityAPI's working tree is the result of two distinct
contribution phases that today's repo doesn't make visible:

1. **pg_mfserv (March 2024)** — the founding OGC API – Moving
   Features Python server for MobilityDB, authored at ULB.
   - Maxime Schoemans (@mschoema) — initial commit, endpoint design.
   - Victor Morabito (@MrMaxime1er) — main developer of the
     pg_mfserv codebase: column discovery, request handling,
     exception handling, route refactors.

2. **MobilityAPI (2025–)** — the current production-grade
   implementation, also at ULB.
   - Sirine Meraoui (@sirimeraoui) — current maintainer; structured
     resource layout, tests, OGC conformance, documentation.

This commit adds three artefacts that surface the lineage:

- **README.md** — new `## History and Acknowledgements` section
  before `## License` crediting all three contributors and pointing
  to pg_mfserv as the archived predecessor.
- **AUTHORS.md** (new) — structured contributor list per phase.
- **CITATION.cff** (new) — machine-readable citation metadata for
  Zenodo / GitHub citation widget, including a `references:` block
  citing pg_mfserv as predecessor work.

License declared in CITATION.cff: PostgreSQL (matching the
MobilityDB main project's license posture).

The lineage credit is symmetric: pg_mfserv's README will gain an
archive banner pointing forward to MobilityAPI in the companion
PR on the pg_mfserv repository.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Add lineage credits: pg_mfserv predecessor, AUTHORS, CITATION
…ADME rewrite

The repo is now the canonical home of MobilityAPI but was missing
several artefacts that ecosystem-grade org repos carry:

1. **LICENSE.txt** — The PostgreSQL License, matching the
   MobilityDB main project's licence posture. Without this,
   the repository was effectively all-rights-reserved by
   default. Copyright Université libre de Bruxelles and
   MobilityAPI contributors.

2. **CONTRIBUTING.md** — Development setup, test instructions
   (./run.sh, ./run.sh --with-tests), code-style conventions
   (PEP 8 + ruff), PR conventions. Cross-references AUTHORS.md
   and the lineage section in the README.

3. **.github/workflows/python.yml** — Stub CI:
   - Lint job: ruff check on PRs (warning-only at this stage so
     legacy code isn't blocked; tighten when codebase has been
     once-through).
   - Import-smoke-test job: imports each application module so
     a minimal "code is at least loadable" gate runs on PRs.
   No DB-integration tests at this stage; that's a separate
   GitHub Actions service-container effort once the test
   harness stabilises.

4. **.github/ISSUE_TEMPLATE/{bug,feature}.md** + **PULL_REQUEST_TEMPLATE.md**
   — issue / PR scaffolding. Bug template asks for environment
   info; feature template prompts for OGC-spec references.

5. **README rewrite** — restructured for canonical-home framing:
   - Added badges (License, Python, OGC API conformance).
   - Lead with what MobilityAPI is (HTTP / OGC layer of the MEOS
     ecosystem) rather than the bare introduction.
   - Added a Status section pointing at issues + discussions.
   - Added a "Where MobilityAPI fits" section showing peer SQL
     layers (MobilityDB / MobilityDuck) and language bindings.
   - Cross-link to https://libmeos.org/bindings/mobilityapi/.
   - Added Contributing section pointing at CONTRIBUTING.md.
   - Fixed "Pyhton" / "Developement" typos and the orphaned
     ##Poetry section. Final License section points at LICENSE.txt
     and CITATION.cff.
   - Lineage section (PR #1) preserved unchanged.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Canonicalisation bundle: LICENSE, CI, contributor scaffolding, README rewrite
…g-work integration

Authored as a parallel-session planning artefact.  Maps how MobilityAPI
consumes the catalog and projections published by MobilityDB/MEOS-API,
and integrates the missing-work items called out in MEOS-API PR MobilityDB#5
("natural follow-ups" — OpenAPI conformance validation in CI, and an
OGC API – Moving Features resource projection).

Sections:

* Context — MEOS-API as the SoT, MobilityAPI as the OGC-conformant
  downstream binding.
* Per-task split (parallel sessions) — what lives in MEOS-API session,
  what lives in MobilityAPI session, why they don't block each other.
* Missing OpenAPI work — three items from PR MobilityDB#5's follow-ups: MCP
  manifest (DONE in PR MobilityDB#6), conformance CI (MISSING — MEOS-API),
  MovFeat resource projection (MISSING — MEOS-API, immediate
  dependency for MobilityAPI).
* Endpoint-by-endpoint gap analysis — each of the 10 hand-written
  resource/* modules mapped to its generic-OpenAPI + MovFeat-projection
  equivalent.  Classified Replace (5: pure MEOS dispatchers) vs
  Keep (5: OGC-specific persistence/envelope concerns).
* Sequencing — five-step plan respecting the never-wait-for-merge rule.
  Steps 1-4 unblock today against MEOS-API master; step 5 consumes the
  MovFeat-projection PR branch the moment it opens.
* Invariants and open questions for the maintainer.

No code change.  Subsequent PRs execute the steps one at a time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants