|
| 1 | +# Oracle New Publisher Service Sanity Check - 2026-05-26 |
| 2 | + |
| 3 | +## Summary |
| 4 | + |
| 5 | +After the production Explorer CORS and new-source visibility fixes, the Oracle host and public CSAPI endpoint were checked for the four newly added publisher sources: |
| 6 | + |
| 7 | +- Environment Agency Hydrology |
| 8 | +- UK-AIR |
| 9 | +- BGS SensorThings / UKGEOS |
| 10 | +- Met Office Weather DataHub Land Observations |
| 11 | + |
| 12 | +## Live Endpoint Read-Back |
| 13 | + |
| 14 | +Public endpoint checked: |
| 15 | + |
| 16 | +```text |
| 17 | +https://129-80-248-53.sslip.io/sensorhub/api |
| 18 | +``` |
| 19 | + |
| 20 | +Root deployment read-back succeeded for all four new publisher demos: |
| 21 | + |
| 22 | +| Source | Deployment UID | Server ID | Result | |
| 23 | +| --- | --- | --- | --- | |
| 24 | +| Environment Agency Hydrology | `urn:os4csapi:deployment:environment-agency-hydrology-demo:v1` | `05d0` | present | |
| 25 | +| UK-AIR | `urn:os4csapi:deployment:uk-air-demo:v1` | `05g0` | present | |
| 26 | +| BGS SensorThings | `urn:os4csapi:deployment:bgs-sensorthings-demo:v1` | `05ig` | present | |
| 27 | +| Met Office DataHub | `urn:os4csapi:deployment:met-office-datahub-demo:v1` | `05l0` | present | |
| 28 | + |
| 29 | +## Oracle Service State |
| 30 | + |
| 31 | +Core public path services were active: |
| 32 | + |
| 33 | +```text |
| 34 | +caddy.service: active |
| 35 | +sensorhub.service: active |
| 36 | +met-office-datahub-publisher.service: active |
| 37 | +``` |
| 38 | + |
| 39 | +The Oracle service inventory shows `met-office-datahub-publisher.service` installed and running as the persistent service for the newest access-gated publisher. |
| 40 | + |
| 41 | +No persistent systemd units were discovered for Environment Agency Hydrology, UK-AIR, or BGS SensorThings during this check. Those publishers have been bootstrapped and one-shot published successfully, and their live CSAPI root deployments remain present, but they are not yet represented by dedicated Oracle scheduler/service units in the same way as Met Office. |
| 42 | + |
| 43 | +## Public CORS Check |
| 44 | + |
| 45 | +Production-origin CORS check from `https://ogc-csapi-explorer.pages.dev` returned a single public origin header: |
| 46 | + |
| 47 | +```text |
| 48 | +Access-Control-Allow-Origin: * |
| 49 | +``` |
| 50 | + |
| 51 | +This confirms the live Caddy fix is still in place and avoids the previous duplicate-origin browser failure. |
| 52 | + |
| 53 | +## Controlled-Repo Issue Draft |
| 54 | + |
| 55 | +The local environment did not provide a GitHub issue tool, `gh` CLI, or GitHub API token at the time of this check. If an issue is filed, file it only in a controlled OS4CSAPI repository, preferably `OS4CSAPI/OSHConnect-Python`. |
| 56 | + |
| 57 | +Suggested title: |
| 58 | + |
| 59 | +```text |
| 60 | +Install persistent Oracle services for EA Hydrology, UK-AIR, and BGS publishers |
| 61 | +``` |
| 62 | + |
| 63 | +Suggested body: |
| 64 | + |
| 65 | +```markdown |
| 66 | +## Summary |
| 67 | + |
| 68 | +Environment Agency Hydrology, UK-AIR, and BGS SensorThings were implemented, bootstrapped, one-shot published, and verified in production Explorer, but the Oracle host currently only has Met Office installed as a persistent new-publisher service. |
| 69 | + |
| 70 | +## Current State |
| 71 | + |
| 72 | +- `met-office-datahub-publisher.service` is installed and active. |
| 73 | +- No dedicated systemd units were discovered for: |
| 74 | + - Environment Agency Hydrology |
| 75 | + - UK-AIR |
| 76 | + - BGS SensorThings / UKGEOS |
| 77 | +- Live CSAPI root deployments are present: |
| 78 | + - `urn:os4csapi:deployment:environment-agency-hydrology-demo:v1` -> `05d0` |
| 79 | + - `urn:os4csapi:deployment:uk-air-demo:v1` -> `05g0` |
| 80 | + - `urn:os4csapi:deployment:bgs-sensorthings-demo:v1` -> `05ig` |
| 81 | + - `urn:os4csapi:deployment:met-office-datahub-demo:v1` -> `05l0` |
| 82 | + |
| 83 | +## Proposed Work |
| 84 | + |
| 85 | +Add host-local systemd service/timer units or equivalent scheduler entries for the three one-shot-verified publishers, using the existing Oracle service pattern and without committing any secrets. |
| 86 | + |
| 87 | +## Acceptance Criteria |
| 88 | + |
| 89 | +- Environment Agency Hydrology publishes on a bounded recurring cadence. |
| 90 | +- UK-AIR publishes on a bounded recurring cadence. |
| 91 | +- BGS SensorThings publishes on a bounded recurring cadence appropriate for its source update frequency. |
| 92 | +- Units use host-local environment/secret files only. |
| 93 | +- `systemctl status` and journal checks are documented. |
| 94 | +- Production Explorer still loads the public endpoint without CORS-blocked OSH requests. |
| 95 | +``` |
0 commit comments