You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "bianca cooper (Created) (JIRA)" <ji...@apache.org> on 2011/12/11 08:27:40 UTC

[jira] [Created] (TS-1048) Add TS API to enable plugins to use traffic server configuration infrastructure

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
            Priority: Minor


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

        

[jira] [Commented] (TS-1048) Add TS API to enable plugins to use traffic server configuration infrastructure

Posted by "bianca cooper (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13182200#comment-13182200 ] 

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

Leif: looks great. thanks
                
> 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: TS-1048.diff, 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

        

[jira] [Commented] (TS-1048) Add TS API to enable plugins to use traffic server configuration infrastructure

Posted by "Leif Hedstrom (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13177712#comment-13177712 ] 

Leif Hedstrom commented on TS-1048:
-----------------------------------

Bianca: Is the diff.txt patch the final version you want us to review and commit ?

Thanks,

-- leif

                
> 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

        

[jira] [Commented] (TS-1048) Add TS API to enable plugins to use traffic server configuration infrastructure

Posted by "bianca cooper (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13178126#comment-13178126 ] 

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

Yes... 



 Protected by Websense Hosted Email Security -- www.websense.com 

                
> 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

        

[jira] [Updated] (TS-1048) Add TS API to enable plugins to use traffic server configuration infrastructure

Posted by "Leif Hedstrom (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-1048:
------------------------------

    Attachment: TS-1048.diff

Bianca: Attached is a slightly updated version of your patch. As you'll notice, I renamed a few of the enum's and APIs (to try to stick with what we already had).

Can you please review this, and let me know what you think?

Thanks,

-- leif

                
> 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: TS-1048.diff, 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

        

[jira] [Updated] (TS-1048) Add TS API to enable plugins to use traffic server configuration infrastructure

Posted by "Leif Hedstrom (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-1048:
------------------------------

    Fix Version/s: 3.1.2
    
> 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
>            Priority: Minor
>              Labels: api-addition, configuration
>             Fix For: 3.1.2
>
>   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

        

[jira] [Assigned] (TS-1048) Add TS API to enable plugins to use traffic server configuration infrastructure

Posted by "Leif Hedstrom (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom reassigned TS-1048:
---------------------------------

    Assignee: Leif Hedstrom
    
> 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
>
>   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

        

[jira] [Commented] (TS-1048) Add TS API to enable plugins to use traffic server configuration infrastructure

Posted by "bianca cooper (Commented) (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] [Updated] (TS-1048) Add TS API to enable plugins to use traffic server configuration infrastructure

Posted by "bianca cooper (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

bianca cooper updated TS-1048:
------------------------------

    Attachment: diff.txt

Patch allowing to export some of the ATS configuration framework to plugins
                
> 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

        

[jira] [Updated] (TS-1048) Add TS API to enable plugins to use traffic server configuration infrastructure

Posted by "Leif Hedstrom (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-1048:
------------------------------

    Issue Type: New Feature  (was: Improvement)
    
> 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: New Feature
>          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: TS-1048.diff, 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