Skip to content

feat(spp_api_v2_gis): OGC processes/jobs + incidents API (re-land from #76)#281

Draft
gonzalesedwin1123 wants to merge 2 commits into
19.0from
reland/api-v2-gis
Draft

feat(spp_api_v2_gis): OGC processes/jobs + incidents API (re-land from #76)#281
gonzalesedwin1123 wants to merge 2 commits into
19.0from
reland/api-v2-gis

Conversation

@gonzalesedwin1123

@gonzalesedwin1123 gonzalesedwin1123 commented Jul 2, 2026

Copy link
Copy Markdown
Member

Re-lands the spp_api_v2_gis portion of reverted PR #76 (revert: #271). Wave 4 — DRAFT until ALL of these merge: #273 (spp_gis), #274 (spp_hazard), #276 (spp_api_v2), #279, #280. Base is set to reland/gis-report to keep the diff scoped, but the branch also requires #273/#274/#276 in 19.0 — CI can only be fully green after they land; I'll mark this ready then.

Summary

Verification

…#76)

Re-lands the spp_api_v2_gis portion of reverted PR #76: OGC API
Processes/Jobs framework with async execution and cleanup cron, incidents
collection with CAP severity/event filtering, and router consolidation
(replaces the geofence/proximity/spatial_query routers).

Depends on: spp_hazard CAP fields (#274), spp_api_v2 polymorphic utils
(#276), spp_gis tag model (#273), and the spp_gis_report/spp_metric_service
Wave-2/3 PRs — do not merge before them.
@gemini-code-assist

Copy link
Copy Markdown

Warning

Gemini encountered an error creating the review. You can try again by commenting /gemini review.

@gonzalesedwin1123 gonzalesedwin1123 marked this pull request as ready for review July 6, 2026 08:34
@gonzalesedwin1123 gonzalesedwin1123 marked this pull request as draft July 6, 2026 12:49
@gonzalesedwin1123 gonzalesedwin1123 force-pushed the reland/gis-report branch 2 times, most recently from d3c5d23 to 309894d Compare July 14, 2026 02:25
Base automatically changed from reland/gis-report to 19.0 July 14, 2026 05:24
@gonzalesedwin1123

Copy link
Copy Markdown
Member Author

Promotion checklist addition — external consumer coupling (found while assessing the #274 hold):

This PR's router consolidation deletes /gis/geofences (CRUD), /gis/query/proximity, and /gis/query/spatial — endpoints that PRISM actively calls (prism-app/frontend/src/utils/openspp-api.ts:166-217: proximity query + full geofence CRUD). PRISM already uses /gis/ogc/collections in places, so the migration to the consolidated OGC surface appears started but unfinished.

Before this PR merges (in addition to waiting on #274 for the incidents feature):

  1. A paired prism-app change migrating openspp-api.ts geofence/proximity utilities to the OGC endpoints, landing in lockstep.
  2. Confirm QGIS flows are unaffected (QML export + OGC features are retained; OAuth discovery already merged via feat(spp_api_v2): OpenAPI polymorphic bodies, OAuth2 scheme in auth middleware, bundle schemas (re-land from #76) #276).

Postponing this PR keeps PRISM working as-is — the coupling only bites at merge 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.

1 participant