smolnar82 opened a new pull request #520:
URL: https://github.com/apache/knox/pull/520


   ## What changes were proposed in this pull request?
   
   To support backward compatibility, a new Gateway-level configuration is 
introduced to allow end-users to configure if they require changes in 
topologies for redeployment or a simple `touch` is enough (relying on the 
topology file's timestamp).
   
   ## How was this patch tested?
   
   Updated and executed JUnit tests. In addition to unit testing, I ran the 
following manual test steps:
   - redeployed Knox w/ my changes
   - confirmed that `touch conf/topologies/sandbox.xml` re-deployed the 
`sandbox` topology
   - edit `gateway-site.xml` (set 
`gateway.topology.redeploy.requires.changes=true`) and re-started Knox
   - confirmed that
     - `touch conf/topologies/sandbox.xml` did not re-deploy the `sandbox` 
topology
     - `bin/knoxcli.sh redeploy --cluster sandbox` re-deployed the `sandbox` 
topology
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to