The REST API reads and changes the hosts-file list and shows each file's load status #176
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
Reference
lantea-one/ninlil#176
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
Operators set the paths from the console and need to see whether each file loaded.
What changes
src/dotnet/src/Ninlil.Web/Controllers/HostsFilesSettingsController.csatapi/hosts-files-settings, shaped like the delivery settings controller (WebhookDeliverySettingsController.cs:38-150, renamed in #152):GETandPATCH(hostsfilessettings:read/hostsfilessettings:write), written to the runtime settings file (RuntimeConfigurationOptions,src/dotnet/src/Ninlil.Web/Options/RuntimeConfigurationOptions.cs:19-31), returning aRuntimeSettingsWriteResultthat says the change is hot-reloaded.GET api/hosts-files-settings/status(hostsfilessettings:read) returns the #174 status per path.ExpandDomaina valid name, TTL and interval in range (asSettingsRangeCheckTestsexpects of other settings). A path that does not exist yet is accepted and shows as missing in the status.ClusterConfigSyncSettingsRecordersends (Program.cs:522-525).Acceptance
Patch_WithARelativePath_Returns400insrc/dotnet/tests/Ninlil.Web.Tests.Pathsshows up instatuswithout a restart; permissions; range checks.dotnet test src/dotnet/tests/Ninlil.Web.Tests.Source
audit-feature-parity.md§2A #15.Owner decision 2026-10-31: Q-PN-11.