You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/research/new-publisher-source-planning/Oracle_New_Publisher_Service_Sanity_Check_2026-05-26.md
+34-37Lines changed: 34 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,60 +36,57 @@ sensorhub.service: active
36
36
met-office-datahub-publisher.service: active
37
37
```
38
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.
39
+
The initial check found only`met-office-datahub-publisher.service` installed as a persistent service for the newest publisher set. Environment Agency Hydrology, UK-AIR, and BGS SensorThings were already bootstrapped and one-shot published, but they were not yet represented by dedicated Oracle systemd units.
40
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.
41
+
That operational gap was closed on 2026-05-26. A durable full-repo working tree was installed at:
42
42
43
-
## Public CORS Check
43
+
```text
44
+
/home/ubuntu/oshconnect-python-publishers
45
+
```
44
46
45
-
Production-origin CORS check from `https://ogc-csapi-explorer.pages.dev` returned a single public origin header:
47
+
It was seeded from controlled repo commit:
46
48
47
49
```text
48
-
Access-Control-Allow-Origin: *
50
+
13de4a1d8821ebb09cda35531afe3935eb538a55
49
51
```
50
52
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
53
+
The following persistent services were installed, enabled, and started:
54
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`.
55
+
| Service | Module | Interval | First managed cycle |
Post-install status check showed all three new services as `enabled` and `active`. Journals showed each service connected to all curated systems, posted its first managed cycle, and entered its sleep interval before the next cycle.
70
+
71
+
## Public CORS Check
67
72
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.
73
+
Production-origin CORS check from `https://ogc-csapi-explorer.pages.dev` returned a single public origin header:
69
74
70
-
## Current State
75
+
```text
76
+
Access-Control-Allow-Origin: *
77
+
```
71
78
72
-
-`met-office-datahub-publisher.service` is installed and active.
This confirms the live Caddy fix is still in place and avoids the previous duplicate-origin browser failure.
82
80
83
-
## Proposed Work
81
+
## Latest Observation Spot Check
84
82
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.
83
+
Representative latest-observation read-back after service installation:
86
84
87
-
## Acceptance Criteria
85
+
| Source | Datastream ID | Result |
86
+
| --- | --- | --- |
87
+
| Environment Agency Hydrology river level |`05i0`| latest observation returned |
88
+
| UK-AIR NO2 |`05kg`| latest observation returned |
89
+
| BGS water temperature |`05mg`| latest observation returned |
90
+
| Met Office air temperature |`05r0`| latest observation returned |
88
91
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
-
```
92
+
The BGS source currently reports older observations from 2026-04-13, which matches the upstream latest value observed during the publisher completion work. This is stale source data, not a service failure.
0 commit comments