You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting this.
I believe this is related to the fact, of how the browser is handling data. The JSON file is loaded via "fetch" method using standard browser resources loading. When the json file is returned from the web server it also contains a cache header to indicate when a browser may request a new version.
Looking on local environment the cache is set to 1 hour:
It depends on how your backstage instance is configured to handle the cache for static files.
If more real-time data needs to be implemented simply reduce the cache. Unfortunately, I am not familiar with how to configure this.
Thanks for the reply. Finally it was not an issue with the plugin but with our deployment. I was mounting a folder in the backend pod, but the plugin takes the data from a folder in the front-end pod so I was modifying files in the backend hoping to see those changes in the UI. The front end older from where serves the json files is usr/shared/nginx/html/<folder specified in jsonDataUrl >
I'm setting the json data path to:
scorecards:
jsonDataUrl: /score2/
Everything is rendered nicely, score table and entities.
Then I manually change the score of on of the json files.
Expected Behavior
The changes is reflected in the score table and in the particular entity.
The change in the entity should be reflected in the score table and score entity.
Current Behavior
Steps to Reproduce
Possible Solution
Context
I'm not being able to deploy a feature for a customer.
Your Environment
Output of
yarn backstage-cli info
:The text was updated successfully, but these errors were encountered: