Tamás Hanicz created KNOX-3526:
----------------------------------

             Summary: Redeploy topologies on gateway-reloadable configuration 
changes via reloadableListener topology attribute
                 Key: KNOX-3526
                 URL: https://issues.apache.org/jira/browse/KNOX-3526
             Project: Apache Knox
          Issue Type: New Feature
          Components: Server
    Affects Versions: 3.0.0
            Reporter: Tamás Hanicz
            Assignee: Tamás Hanicz


Knox reloads gateway-reloadable.xml at runtime when the file changes, but there 
is no way for topologies to react to such a change. Topologies that depend on 
reloadable configuration keep running with the values they were deployed with 
until they are redeployed manually.

We need a listener mechanism on gateway-reloadable configuration updates, and a 
per-topology opt-in that redeploys the topology when the reloadable 
configuration changes.
h3. Requirements
 * gateway-reloadable supports registering listeners that are notified when a 
configuration update is detected.

 * Topologies get a new attribute, reloadableListener, which defaults to false.

 * When reloadableListener is true for a topology and the reloadable 
configuration changes, that specific topology is redeployed.

 * Topologies with reloadableListener set to false (or not set) are unaffected 
by reloadable configuration changes.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to