[
https://issues.apache.org/jira/browse/VCL-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14143211#comment-14143211
]
ASF subversion and git services commented on VCL-758:
-----------------------------------------------------
Commit 1626774 from [~jfthomps] in branch 'vcl/trunk'
[ https://svn.apache.org/r1626774 ]
VCL-758 - VCL timings - make various timings to be variables and edited by
admin
siteconfig.php:
(forgot to finish this before initial commit)
- added some checks for user having proper permissions before displaying
anything
- added time source variables
- created a TimeVariable class to provide core functionality for each timing
variable; contains these functions:
- getHTML
- AJaddAffiliationSetting
- AJupdateAllSettings
- AJdeleteAffiliationSetting
- added these inheriting classes based on TimeVariable:
- connectedUserCheck
- acknowledge
- connect
- reconnect
- generalInuse
- serverInuse
- clusterInuse
- generalEndNotice1
- generalEndNotice2
states.php:
- added these states: AJupdateAllSettings, AJdeleteAffiliationSetting,
AJaddAffiliationSetting
- added new section to $actions: classmapping - this maps a class name to a php
file that should be included to implement a class object (without the .php part)
utils.php: modified __autoload: check $actions['classmapping'] for what file to
include, if found include it and return
siteconfig.js:
(forgot to finish this before initial commit)
- modified generalSiteConfigCB to handle calling an extra CB function specified
in returned data
- created a TimeVariable class to provide core functionality for each timing
variable; contains these functions:
- addAffiliationSetting
- addAffiliationSettingCBextra
- saveSettings
- deleteAffiliationSetting
- deleteAffiliationSettingCBextra
- added these inheriting classes based on TimeVariable:
- connectedUserCheck
- acknowledge
- connect
- reconnect
- generalInuse
- serverInuse
- clusterInuse
- generalEndNotice1
- generalEndNotice2
> VCL timings - make various timings to be variables and edited by admin
> -----------------------------------------------------------------------
>
> Key: VCL-758
> URL: https://issues.apache.org/jira/browse/VCL-758
> Project: VCL
> Issue Type: Improvement
> Components: database, vcld (backend), web gui (frontend)
> Reporter: Aaron Peeler
> Priority: Minor
> Fix For: 2.3.3, 2.4
>
>
> Allow VCL admins edit some of the timing values via the front-end.
> Possible variables to allow edits are:
> acknowledge timeout = time limit to wait on user to hit connect button
> connect timeout = wait for user to connect for normal reservations
> ignore_connections_gte = skip checks for durations gte X (24hrs is hardcoded
> in code)
> general_inuse_check = how often to check on normal reservations
> server_inuse_check = how often to check on server reservations
> cluster_inuse_check = how often to check on cluster reservations
> Some of these can easily be setup based on an affiliation, but others we may
> want to limit as a global setting such as general_inuse_check.
> Need a page on the web portal for admins to set the values.
> List of times for variable table and their default times being set in backend:
> acknowledgetimeout => '900',
> connecttimeout => '900',
> wait_for_reconnect => '900',
> general_inuse_check => '300',
> server_inuse_check => '900',
> cluster_inuse_check => '900',
> general_end_notice_first => '600',
> general_end_notice_second => '300',
> ignore_connections_gte => '1440'
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)