Project

General

Profile

Feature #4364

Add periodic auto-update feature to the StatusNow pages

Added by Parag Mhashilkar over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Igor Sfiligoi
Category:
Factory & Frontend Monitoring
Target version:
Start date:
07/17/2013
Due date:
% Done:

0%

Estimated time:
Stakeholders:

OSG, CMS

Duration:

Description

Dear GlideinWMS team,

I believe it would be useful for doing factory ops to have a checkbox, at least on the factoryStatusNow web page, perhaps next to the " Update table" button, that triggers the updateTable() function periodically every 3 minutes or the like. Can you please consider adding this feature?

Best regards,
Luis
CERN Factory Ops


Related issues

Related to GlideinWMS - Idea #6257: Minimize web page code duplicationNew05/13/2014

History

#1 Updated by Igor Sfiligoi over 5 years ago

  • Category set to Factory & Frontend Monitoring
  • Status changed from New to Assigned
  • Assignee changed from Parag Mhashilkar to Igor Sfiligoi
  • Target version changed from v3_x to v3_2_6

The factory team thinks this is important to have.
Taking ownership.

#2 Updated by Igor Sfiligoi over 5 years ago

  • Status changed from Assigned to Feedback
  • Assignee changed from Igor Sfiligoi to Marco Mambelli
  • Stakeholders updated (diff)

The change was pretty simple.
The code is now in v3/4364

Please review.

#3 Updated by Parag Mhashilkar over 5 years ago

  • Assignee changed from Marco Mambelli to Igor Sfiligoi

I looked at the code. Code itself is ok, but we are just re writing same code for autoupdate function in each html file. Can we just put the function in the factory_support.js and frontend_support.js? Ideally we need a glideinwms.js but thats outside the scope of this ticket.

#4 Updated by Igor Sfiligoi over 5 years ago

I believe the code line number is small enough to not warrant stashing it into a separate file.
I find the page much more readable this way.

#5 Updated by Igor Sfiligoi over 5 years ago

  • Assignee changed from Igor Sfiligoi to Marco Mambelli

#6 Updated by Marco Mambelli over 5 years ago

It would be more clear to have the function in a separate module but the size of the autoupdate function is not significant compared to the amount of code in the files.
Probably some of the other code could be factored out as well to make the files more clear.

#7 Updated by Marco Mambelli over 5 years ago

  • Assignee changed from Marco Mambelli to Igor Sfiligoi

To close this ticket it can be OK to commit with the functions in the html pages as they are. I would be for opening a ticket to improve these pages by factoring out all common javascript code.

#8 Updated by Igor Sfiligoi over 5 years ago

  • Status changed from Feedback to Resolved

Merged into branch_v3_2.

#9 Updated by Parag Mhashilkar over 5 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF