Commit Graph
17 Commits
Author SHA1 Message Date
mozdemir d2b430a524 fix: number point alarm register and update log lines by record instead of file line 2026-10-23 19:47:55 +03:00
mozdemir e17c06da4a fix: send the full webhook and skip /users/me in the point alarm register client
The backend requires a webhook with a delivery policy on every point alarm register call and resolves the account from the caller, so the register client no longer calls /v1/users/me (account is null for some users), no longer sends the accountId-only webhook and no longer relies on IKLIM_WEBHOOK_INITIALIZED.
2026-10-23 19:45:02 +03:00
mozdemir f04fd728e0 chore: ignore working copies of the point alarm example CSVs 2026-10-23 19:37:30 +03:00
mozdemir 8d45cddced docs: add usage examples for every point alarm client 2026-10-23 19:34:58 +03:00
mozdemir a2ccaa2873 docs: use point-alarm-registrations as the example output name 2026-10-23 19:34:14 +03:00
mozdemir 96482c0dd1 docs: add accountId example to the page client usage 2026-10-23 19:33:04 +03:00
mozdemir aaa0c99eb2 fix: stop sending accountId implicitly from the page client
The page client no longer resolves accountId from /v1/users/me. accountId is only sent when passed with --account-id, and a 403 for it now raises a clear error telling the user to omit it because the server scopes the listing to the caller's own account.
2026-10-23 19:31:48 +03:00
mozdemir 25569efc80 docs: document nowcast point alarm clients and paging caveats 2026-10-23 19:14:31 +03:00
mozdemir 4d270aea05 feat: add nowcast point alarm unregister client with confirmation and backup
Shows environment, count and an irreversibility warning, requires typing the confirmation word (plus the environment name on prod), backs every registration up through get-by-id before deleting and aborts the whole run if the backup cannot be completed.
2026-10-23 19:14:08 +03:00
mozdemir 8587669ea5 feat: add nowcast point alarm update client with dry-run
Patches registrations from CSV rows, sending only non-blank cells, validating lat/lng pairing and ranges locally, warning about the speedThreshold PATCH gap (GAIA-476) and recording status, httpStatus and errorBody back into the CSV.
2026-10-23 19:13:35 +03:00
mozdemir ba249128a1 feat: add nowcast point alarm register client
Registers one point alarm per CSV row (recipientId, lat, lng, radius) with the shared filter JSON and the existing webhook bootstrap, records status, httpStatus, registrationId and errorBody back into the CSV and recovers ambiguous failures only on an identical recipient, point and radius match.
2026-10-23 19:13:01 +03:00
mozdemir 32a587a1c6 feat: add nowcast point alarm get client for id and recipient lookups
Reads IDs from CSV or TXT, writes per-query SUCCESS, NOT_FOUND or FAILED rows to CSV or JSON Lines and mirrors results into SQLite.
2026-10-23 19:12:03 +03:00
mozdemir 0958d26e9f feat: add nowcast point alarm page client with SQLite store
Adds point_alarm.py (flattening, secret masking, SQLite upsert store, paged fetch with 403 fallback, CSV/TXT export, shared filter loader), nowcast-point-page.py CLI and unit tests. Register will read the shared filter from nowcast-point-alarm-filter.json instead of repeating it in the CSV.
2026-10-23 19:11:34 +03:00
mozdemir 7a875caa73 refactor: extract shared nowcast helpers into nowcast_common
Move webhook config loading, UUID and warning helpers and the atomic semicolon CSV writer out of geo_alarm so the upcoming point alarm clients can reuse them. Behavior is unchanged and the existing geo tests still pass.
2026-10-23 19:08:15 +03:00
mozdemir 91839e56a9 fix: make filter.lightning.type optional in nowcast filter config
Backend already treats a missing/null lightning.type as "no type
constraint", but the sandbox validator required it whenever a
lightning block was present, causing valid configs to be rejected
with "filter.lightning.type FLASH_CLOUD_TO_GROUND veya PULSE_IN_CLOUD
olmalıdır." Now the check only rejects an explicitly invalid value.
2026-09-15 13:23:47 +03:00
mozdemir f7dd311da4 chore: add public repository safeguards 2026-09-09 16:24:23 +03:00
mozdemir 2067d8c298 Initial commit 2026-09-09 16:21:13 +03:00