You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "Andy Kurth (JIRA)" <ji...@apache.org> on 2016/07/20 18:52:20 UTC

[jira] [Closed] (VCL-25) Move data retrieval subroutines from utils.pm to DataStructure.pm

     [ https://issues.apache.org/jira/browse/VCL-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Kurth closed VCL-25.
-------------------------
    Resolution: Fixed

Closing issue.  This wasn't a great idea.  All of the direct database querying should reside in {{utils.pm}}.  There are situations when you need information from one of the _get\_*\_info_ subroutines and a {{DataStructure.pm}} object isn't necessary.

> Move data retrieval subroutines from utils.pm to DataStructure.pm
> -----------------------------------------------------------------
>
>                 Key: VCL-25
>                 URL: https://issues.apache.org/jira/browse/VCL-25
>             Project: VCL
>          Issue Type: Improvement
>          Components: vcld (backend)
>            Reporter: Andy Kurth
>            Priority: Minor
>
> There are several subroutines in utils.pm which only retrieve data from the database, or perform other simple data retrieval tasks.  An example would be get_request_end.  These should be moved to DataStructure.pm so that all of these types of subroutines are in the same location.  Also, the underlying DataStructure hash data should be updated whenever data is retrieved from the database.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)