Builtin API Server connector for the OpenWeather API (current weather + 5-day forecast for a point, API-key auth, stdlib-only), surfaced to end users through the same three-layer settings cascade as OpenSky/WebDAV. - New builtin plugin (internal/plugins/builtin/openweather) with health probe, weather.current/forecast.5day capabilities, and tests. - resolveOpenWeather cascade (global -> org -> user) with per-field independent resolution and API-key masking; GET/PUT/health endpoints. - Web App BFF relays, api.js client, and a Settings card under APIs - External (scope switch, enable toggles, test connection). - Resolver unit tests + rebuilt embedded frontend. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
13 lines
554 B
Go
13 lines
554 B
Go
// Package builtin blank-imports every built-in plugin so their init() functions
|
|
// register them with the plugin registry. Import this package once (from the api
|
|
// package) to make all built-in connectors available.
|
|
package builtin
|
|
|
|
import (
|
|
_ "pilotvault/apiserver/internal/plugins/builtin/filetransfer"
|
|
_ "pilotvault/apiserver/internal/plugins/builtin/localstorage"
|
|
_ "pilotvault/apiserver/internal/plugins/builtin/opensky"
|
|
_ "pilotvault/apiserver/internal/plugins/builtin/openweather"
|
|
_ "pilotvault/apiserver/internal/plugins/builtin/webdav"
|
|
)
|