JWS-121: Service status and usage statistics show cached results for faster...
CR-2 1
- Details
- Objectives
- General Comments 0
- Unresolved
- Resolved
- Number of files included: 21
-
jabaws
0
-
Folder
WEB-INF
0
- File web.xml 0 Remove
-
Folder
conf
0
- File Engine.local.properties 0 Remove
-
Folder
webservices/compbio/stat/servlet
0
-
Folder
util
0
- File RefreshIterator.java 0 Remove
- File ScheduleIterator.java 0 Remove
- File Scheduler.java 0 Remove
- File SchedulerTask.java 0 Remove
- File AnnualStat.java 1 Remove
- File AnnualStatRefresher.java 0 Remove
- File ServiceStatus.java 0 Remove
- File ServiceStatusRefresher.java 0 Remove
-
Folder
util
0
-
Folder
website
0
-
Folder
statpages
0
- File MonthlySummary.jsp 0 Remove
- File ServicesStatus.jsp 0 Remove
- File refresh_service_status.sh 0 Remove
- File service_status.jsp 0 Remove
- File template_footer.jsp 0 Remove
- File template_footer.jsp 0 Remove
- File template_footer.jsp 0 Remove
- File template_header.jsp 0 Remove
- File template_header.jsp 0 Remove
- File template_header.jsp 0 Remove
- File usage_statistics.jsp 0 Remove
-
Folder
statpages
0
-
Folder
WEB-INF
0
-
Filter
- Only show me content:
- Unfiltered files: dynamically added content
- Filtered files: dynamically added content
- Clear filters
Summarize the review outcomes (optional)
Details
Participant | Role | Time Spent | Comments | Latest Comment |
---|---|---|---|---|
Author | ||||
Moderator | 10m | 1 | this looks like the same pattern of scheduler settings as... | |
Total | 10m | 1 |
-
Linked Issue:
JWS-121
-
Objectives
Generated from changeset comments:
282992abedcfb49e633f8f5b21e6a1c0577f5851: JWS-121 Added new jsp enpoints that try loading chached service status and usage statistics pages. If not available there is a redirect to the main endpoints. Also fixed the header and footer links to match the new endpoints.
fb6a00ee7a389ae0eb5feae7bc242a5cbc16d636: JWS-121 Added new jsp enpoints that try loading chached service status and usage statistics pages. If not available there is a redirect to the main endpoints. Also fixed the header and footer links to match the new endpoints.
fdb9a57d5a72732fbe7cd9c94d607d7c12080ca7: JWS-121 Added new jsp enpoints that try loading chached service status and usage statistics pages. If not available there is a redirect to the main endpoints. Also fixed the header and footer links to match the new endpoints.
c204e33cf21d3d3899ef54cc741003a14f23b4b1: JWS-121 & JWS-111 Adding ‘timestamp’ (string formatted date + time) to the HttpServletRequest to be used in the jsp and setting ‘timexec’ as seconds instead of millisecs.
020e228800ba31dbc38374717de4c280c5c2504b: JWS-121 & JWS-109 Improved the way the service_status.jsp and usage_statistics.jsp work to load cached htmls or to redirect on error (i.e. missing cached htmls). This is a very hacky temporary solution. The provided script can be used to refresh the cached htmls every x minutes.
1b5239f1a2d0b5a0ad254c22fc0fe1929e06d425: JWS-121 Added new scheduler utility classes so that usage statistics and service status can be monitored in a cronjob-like manner. RefreshIterator implements a ScheduleIterator that runs a new task every X minutes.
1d231ce2b4de665ef21d4d5bca681e08ad2d210b: JWS-121 Improved the AnnualStat and ServiceStatus classes so they start the scheduler in the init() method and refresh the in memory cache every X minutes. The number of minutes is defined in the Engine.local.properties config. In memory values are cached in the ServletContext.
c78d4a9557708741098608f313d2a12a81856c9c: JWS-121 & JWS-109 Service Status now gives an indication of the health of service. Fixed the links to the Service Status and Usage Statistics pages. Also removed now unecessary files.
e3be7cadbc2fa3756bd9807ef8db6e4151ebe729: JWS-121 Added new refresher methods and the respective servlets and mappings entries in web.xml. These are used to update the ServletContext values as an input from the user (clickable links) that point to the new endpoints.
Branches in review
Repository | Branch to review | Branched from |
---|