mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-11-30 01:32:00 +01:00
Align Physical Disk, Plans, and VMware API Help with runtime
Update unclaimed in-app Help guides, their shipped public mirrors, and
source-bound regression tests to match landed Pulse runtime behaviour:
- docs/monitoring/METRICS_DATA_FLOW.md, docs/VM_DISK_MONITORING.md, and
docs/ZFS_MONITORING.md (+ mirrors): align with physical-disk
stale-reading cues from #5333 (20146aa2de) across Storage tables,
Physical Disks & SMART cards, linked pool member details, guest
physical disks, and DiskDrawerOverview (amber Stale verdict for clear
stale disks, inline Stale data cue preserving Replace Now / Needs
Attention, muted last-known temperatures and SSD life without live
Running Hot, and deferred temperature/SMART history charts until live
reporting recovers).
- docs/PULSE_PRO.md (+ mirror): align the Paid Feature Proof Map,
Feature Matrix, Pro plan summary, and Feature Status API keys with
pkg/licensing/features.go and self_hosted_feature_catalog.go by adding
FeatureExternalProbe (external_probe, Pro/Cloud remote availability
probes while local checks stay free in Community) and marking
FeatureUnlimited as MSP/Enterprise capacity policy (Y*) rather than a
TierCloud default.
- docs/API.md (+ mirror): document the live VMware vSphere connection
management routes (/api/vmware/connections, /test, /{id}/test,
/preview, /{id}/preview, and PULSE_FEATURE_VMWARE=false 404
vmware_disabled) from internal/api/router_routes_registration.go and
internal/api/vmware_handlers.go, and complete GET /api/resources
source and type query values (truenas, vmware/vmware-vsphere,
availability, docker-host, network-endpoint, network-share).
- scripts/tests/test_alerting_outage_help_docs.py and
scripts/tests/test_public_docs_claims.py: bind each updated guide and
shipped mirror directly to live Go and TypeScript source.
Contract-Neutral: Documentation, shipped in-app Help mirrors, and source-bound Python doc tests aligned with already-landed runtime behaviour without changing API contracts, polling, alerting, telemetry, or UI source.
Change-source: pulse-maintainer
This commit is contained in:
21
docs/API.md
21
docs/API.md
@@ -361,8 +361,8 @@ For small memory or disk readings, see
|
||||
[Proxmox and PBS capacity percentages](#proxmox-and-pbs-capacity-percentages).
|
||||
|
||||
Query params:
|
||||
- `type`: comma-separated list (e.g., `agent`, `vm`, `system-container`, `app-container`, `docker-service`, `storage`, `pbs`, `pmg`, `k8s-cluster`, `k8s-node`, `pod`, `k8s-deployment`, `physical_disk`, `ceph`)
|
||||
- `source`: comma-separated list (e.g., `proxmox`, `agent`, `docker`, `pbs`, `pmg`, `kubernetes`)
|
||||
- `type`: comma-separated list (e.g., `agent`, `docker-host`, `vm`, `system-container`, `app-container`, `docker-service`, `storage`, `pbs`, `pmg`, `network-endpoint`, `network-share`, `k8s-cluster`, `k8s-node`, `pod`, `k8s-deployment`, `physical_disk`, `ceph`)
|
||||
- `source`: comma-separated list (e.g., `proxmox`, `agent`, `docker`, `pbs`, `pmg`, `kubernetes`, `truenas`, `vmware` or `vmware-vsphere`, `availability`)
|
||||
- `excludeSource`: comma-separated list of sources that must not be present on a matching resource
|
||||
- `status`: comma-separated list (`online`, `offline`, `warning`, `unknown`)
|
||||
- `parent`: parent resource ID
|
||||
@@ -2401,6 +2401,23 @@ TrueNAS resources (pools, datasets, disks, ZFS snapshots, replication tasks, ale
|
||||
|
||||
---
|
||||
|
||||
## VMware vSphere (Early Access)
|
||||
|
||||
VMware vCenter connection management endpoints for adding, testing, previewing, updating, and removing vCenter connections. When VMware integration is explicitly disabled via `PULSE_FEATURE_VMWARE=false`, these routes return `404` (`vmware_disabled`).
|
||||
|
||||
### Connection Management (Admin)
|
||||
- `GET /api/vmware/connections` (admin, `settings:read`) - List configured vCenter connections with secrets redacted plus `poll` and `observed` runtime status summaries.
|
||||
- `POST /api/vmware/connections` (admin, `settings:write`) - Add a new vCenter connection. Returns `201` with the redacted connection, `400` `validation_error`, or `403` `mock_mode_enabled` in mock mode.
|
||||
- `PUT /api/vmware/connections/{id}` (admin, `settings:write`) - Update a saved vCenter connection using a private JSON file. Unchanged masked passwords are preserved from the stored record, so never send a masked placeholder as a new secret. Returns `200` with the redacted connection, `400` `validation_error`, `404` `vmware_not_found`, or `403` `mock_mode_enabled` in mock mode.
|
||||
- `DELETE /api/vmware/connections/{id}` (admin, `settings:write`) - Remove a configured vCenter connection. Returns `404` `vmware_not_found` for an unknown ID or `403` `mock_mode_enabled` in mock mode.
|
||||
- `POST /api/vmware/connections/test` (admin, `settings:write`) - Test a draft vCenter connection before saving. Returns host, VM, datastore, and network counts, `viRelease`, and any `degraded` or `issues` enrichment diagnostics, or `400` (`vmware_invalid_config` or `vmware_connection_failed`) on failure.
|
||||
- `POST /api/vmware/connections/{id}/test` (admin, `settings:write`) - Live-test a saved vCenter connection with its stored credentials. An optional JSON body overrides fields for this test only without saving. When called without override fields, the test updates the connection's runtime test status summary on the VMware poller. Returns `404` (`vmware_not_found`) for an unknown ID and `400` (`vmware_invalid_config` or `vmware_connection_failed`) on failure.
|
||||
- `POST /api/vmware/connections/preview` and `POST /api/vmware/connections/{id}/preview` (admin, `settings:write`) - Project the canonical monitored-system impact of adding or editing a vCenter connection without persisting changes.
|
||||
|
||||
VMware vSphere resources (ESXi hosts, VMs, datastores, networks, health signals, and activity) are surfaced through the unified `/api/resources` endpoint with `source=vmware` (or its `source=vmware-vsphere` alias).
|
||||
|
||||
---
|
||||
|
||||
## 📱 Relay / Pulse Mobile (retiring 31 March 2027)
|
||||
|
||||
End-to-end encrypted relay protocol for mobile connectivity.
|
||||
|
||||
Reference in New Issue
Block a user