You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by da...@apache.org on 2017/01/17 04:00:26 UTC

[1/2] incubator-trafficcontrol git commit: adds group_by to dbix query

Repository: incubator-trafficcontrol
Updated Branches:
  refs/heads/master e3c5b311c -> ff5712e29


adds group_by to dbix 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/17b7c102
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/17b7c102
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/17b7c102

Branch: refs/heads/master
Commit: 17b7c102e237bc833e7f371a0be5ea380750b6eb
Parents: e3c5b31
Author: Jeremy Mitchell <mi...@gmail.com>
Authored: Wed Jan 11 16:22:54 2017 -0700
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Mon Jan 16 23:37:41 2017 +0000

----------------------------------------------------------------------
 traffic_ops/app/lib/API/Cdn.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/17b7c102/traffic_ops/app/lib/API/Cdn.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/API/Cdn.pm b/traffic_ops/app/lib/API/Cdn.pm
index 0adf211..e56541b 100644
--- a/traffic_ops/app/lib/API/Cdn.pm
+++ b/traffic_ops/app/lib/API/Cdn.pm
@@ -264,7 +264,8 @@ sub get_traffic_monitor_config {
 		{ 'cdn.name' => $cdn_name },
 		{   prefetch => ['cdn', 'profile', 'type'],
 			select   => 'me.profile',
-			distinct => 1
+			distinct => 1,
+			group_by => [qw/cdn.id profile.id me.profile type.id/],
 		}
 	);
 


[2/2] incubator-trafficcontrol git commit: This closes #181.

Posted by da...@apache.org.
This closes #181.


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

Branch: refs/heads/master
Commit: ff5712e299c9169922cd7d9f44327aa43b8c500b
Parents: 17b7c10
Author: Dan Kirkwood <da...@gmail.com>
Authored: Mon Jan 16 23:38:17 2017 +0000
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Mon Jan 16 23:38:17 2017 +0000

----------------------------------------------------------------------

----------------------------------------------------------------------