[
https://issues.apache.org/jira/browse/KNOX-3511?focusedWorklogId=1047016&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1047016
]
ASF GitHub Bot logged work on KNOX-3511:
----------------------------------------
Author: ASF GitHub Bot
Created on: 12/Oct/26 13:46
Start Date: 12/Oct/26 13:46
Worklog Time Spent: 10m
Work Description: github-actions[bot] commented on PR #1450:
URL: https://github.com/apache/knox/pull/1450#issuecomment-6125561139
## Test Results
4 files 4 suites 45s ⏱️
132 tests 132 ✅ 0 💤 0 ❌
150 runs 150 ✅ 0 💤 0 ❌
Results for commit 38e40ede.
[test-results]:data:application/gzip;base64,H4sIAMjkzGoC/13MSw7CIBSF4a00jB3wKKVxM4bXTW5si6EwMu5dSiyiw+8/yXkSwMXv5DqMl4HsGVODy1EnDNtBWVyWdGxM8FO3PVv7n+74KIm2ABqXn+BjDPFTYt7qpzzRLrvyfazuDqv7PxvWFVMBEbMfqXeeApcwG6XFBAYUWGaEotwxbRg3kyavN459bz8EAQAA
Issue Time Tracking
-------------------
Worklog Id: (was: 1047016)
Time Spent: 20m (was: 10m)
> Gateway ignores gateway-reloadable.xml if the file did not exist at startup
> ---------------------------------------------------------------------------
>
> Key: KNOX-3511
> URL: https://issues.apache.org/jira/browse/KNOX-3511
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Affects Versions: 3.1.0
> Reporter: Tamás Hanicz
> Assignee: Tamás Hanicz
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Description:
> GatewayConfigImpl registers gateway-reloadable.xml as a configuration
> resource only if the file exists when the gateway starts (loadConfigFile
> checks f.exists() before addResource). The refresh loop in
> GatewayServer.refreshGatewayConfig still notices when the file is created
> later, calls reloadConfiguration(), logs "Refreshed gateway config" and
> notifies every GatewayConfigChangeListener. But reloadConfiguration()
> re-reads only the resources registered at startup, so none of the new file's
> properties take effect. For example, gateway.ldap.enabled=true leaves
> isLDAPEnabled() false and the embedded LDAP never starts. Nothing logs a
> warning or error. Later edits to the file are ignored too, until the gateway
> restarts.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)