You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "Ryan Durfey (JIRA)" <ji...@apache.org> on 2017/06/14 19:10:00 UTC
[jira] [Updated] (TC-71) Remove hardcoded reference to ccr in
UI/DeliveryService.pm
[ https://issues.apache.org/jira/browse/TC-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ryan Durfey updated TC-71:
--------------------------
Labels: deliveryservice.pm routing (was: )
> Remove hardcoded reference to ccr in UI/DeliveryService.pm
> ----------------------------------------------------------
>
> Key: TC-71
> URL: https://issues.apache.org/jira/browse/TC-71
> Project: Traffic Control
> Issue Type: Improvement
> Components: Traffic Ops
> Reporter: Jeremy Mitchell
> Assignee: Robert Scrimo
> Priority: Minor
> Labels: deliveryservice.pm, routing
>
> because the value of http.routing.name in applicationContext.xml can be anything (defaults to tr), this needs to be dynamic rather than referencing the hard-coded value of 'ccr'. So my suggestion would be:
> create a global parameter using a database migration file and name the parameter http.routing.name and set the default value to 'tr'. then in the code, fetch the value of http.routing.name and use that on line 147 & 150
> https://github.com/apache/incubator-trafficcontrol/blob/master/traffic_ops/app/lib/UI/DeliveryService.pm#L147
> https://github.com/apache/incubator-trafficcontrol/blob/master/traffic_ops/app/lib/UI/DeliveryService.pm#L150
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)