ui: do not cache config.json and locale files#10497
Conversation
This will add a randomised timestamp when fetching config.json and locale i18n files, to avoid using cached resources. Fixes apache#9985 Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
|
@rohityadavcloud a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
@blueorangutan package |
|
@rohityadavcloud a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 4.20 #10497 +/- ##
============================================
- Coverage 15.98% 15.98% -0.01%
- Complexity 13086 13087 +1
============================================
Files 5650 5650
Lines 495756 495756
Branches 60018 60018
============================================
- Hits 79261 79259 -2
- Misses 407641 407642 +1
- Partials 8854 8855 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
UI build: ✔️ |
|
Packaging result [SF]: ✖️ el8 ✖️ el9 ✔️ debian ✖️ suse15. SL-JID 12652 |
I don't think we need to try and build this pure ui change further. |
|
btw qa ui is available and I clicked around a bit without problems (could be considered testing) |
This will add a randomised timestamp when fetching config.json and locale i18n files, to avoid using cached resources. Fixes apache#9985 Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This will add a randomised timestamp when fetching config.json and locale i18n files, to avoid using cached
jsonresources. This will address cases when the UI has newer json files (pkgs upgraded/updated).Fixes #9985
Types of changes
Bug Severity
Testing
Tested by checking UI devtools: