You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2017/03/09 19:09:32 UTC

[24/44] incubator-trafficcontrol git commit: Add profile to query

Add profile to query


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/a24dd9de
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/a24dd9de
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/a24dd9de

Branch: refs/heads/master
Commit: a24dd9de6a20ec2982bf4408a112f9b8363e024b
Parents: 71731cb
Author: Jan van Doorn <jv...@apache.org>
Authored: Sat Feb 11 20:40:19 2017 +0000
Committer: Jan van Doorn <jv...@apache.org>
Committed: Fri Feb 17 17:49:10 2017 +0000

----------------------------------------------------------------------
 .../app/lib/Schema/Result/DeliveryServiceInfoForServerList.pm    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/a24dd9de/traffic_ops/app/lib/Schema/Result/DeliveryServiceInfoForServerList.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/Schema/Result/DeliveryServiceInfoForServerList.pm b/traffic_ops/app/lib/Schema/Result/DeliveryServiceInfoForServerList.pm
index c7d6c02..13f5639 100644
--- a/traffic_ops/app/lib/Schema/Result/DeliveryServiceInfoForServerList.pm
+++ b/traffic_ops/app/lib/Schema/Result/DeliveryServiceInfoForServerList.pm
@@ -58,7 +58,8 @@ SELECT
     deliveryservice.cacheurl as cacheurl,
     deliveryservice.remap_text as remap_text,
     mid_header_rewrite as mid_header_rewrite,
-    deliveryservice.protocol as protocol
+    deliveryservice.protocol as protocol,
+    deliveryservice.profile as profile
 FROM
     deliveryservice
         JOIN deliveryservice_regex ON deliveryservice_regex.deliveryservice = deliveryservice.id
@@ -93,6 +94,7 @@ __PACKAGE__->add_columns(
 	"protocol",                    { data_type => "tinyint", is_nullable => 0, size => 4 },
 	"range_request_handling",      { data_type => "tinyint", is_nullable => 0, size => 4 },
 	"origin_shield",               { data_type => "varchar", is_nullable => 0, size => 1024 },
+	"profile",                     { data_type => "integer", is_nullable => 1},
 );
 
 1;