Description of problem: When making a change to a config file via manual edit on the file system, the changes appear right away in the structured view on the webui. However, they take 10 minutes or so to show up in files mode. Version-Release number of selected component (if applicable): How reproducible: Every time. Steps to Reproduce: 1. Edit /tmp/raw-config-test/structured-and-raw-test-1.txt ; change "x=1" to "x=10000" 2. $platform > Structured and Raw Server > Structured mode: Observe immediate change for the value of 'x' 3. Switch to files mode. Observe values of 'x' Actual results: value of 'x' does not not immediately change in files mode, as it does for structured mode. 10 minutes later, it does appear to eventually show up. Expected results: Data parity between the two views. Additional info:
At some point view.xhtml was modified to reference the managed backing bean, ExistingResourceConfigurationUIBean, which has a session scope. The result of this is that external updates were not getting detected immediately since they were getting cached for the duration of the session. I modified view.xhtml so that it refers to ExistingResourceConfigurationViewUIBean, which has a request scope. With a request scope, the latest configuration is fetched for each request. The commit hash for this fix is, cb18055cfd528342fda2ddeed570ef5b15fd4183
verified in raw-config branch. moving to on_qa to verify in master.
This has been resolved. verified in master build http://10.16.120.159:7080/ changes made on the file system appears immediately in both files mode & structured mode
Mass-closure of verified bugs against JON.