[ 
https://issues.apache.org/jira/browse/TS-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13172285#comment-13172285
 ] 

bianca cooper commented on TS-1048:
-----------------------------------

This patch allows to declare configuration parameters relevant to plugins 
through an ATS API and not by adding statically to RecordsConfig array. 
Parameters added this way do not appear in records.config. Trying to add them 
using TSMgmtConfigIntSet function resolved a weird behaviour where some of the 
paramteres were written to the records.config file and some weren't. Regardless 
whether the parameter was already in the records.config file or not. 
                
> Add TS API to enable plugins to use traffic server configuration 
> infrastructure 
> --------------------------------------------------------------------------------
>
>                 Key: TS-1048
>                 URL: https://issues.apache.org/jira/browse/TS-1048
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Configuration, TS API
>         Environment: Centos 6
>            Reporter: bianca cooper
>            Assignee: Leif Hedstrom
>            Priority: Minor
>              Labels: api-addition, configuration
>             Fix For: 3.1.2
>
>         Attachments: diff.txt
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> Export RecRegisterConfigInt and RecRegisterConfigString to enable adding a 
> configuration record to the records hashtable. 
> Once plugin new configuration records should be added, the addition will be 
> done by calling the API in the plugin code. No need to add the record to 
> RecordsConfig static array. No need to recompile the ATS each time. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to