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/01/10 03:38:22 UTC

[10/50] incubator-trafficcontrol git commit: add cdnId, typeId, and profileId to DeliveryService struct

add cdnId, typeId, and profileId to DeliveryService struct


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

Branch: refs/heads/master
Commit: 8797ce44b3733093499b12de0f3cdd55c25a0892
Parents: f7754cf
Author: David Neuman <da...@gmail.com>
Authored: Wed Nov 30 08:45:01 2016 -0700
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Sun Jan 8 21:04:59 2017 -0700

----------------------------------------------------------------------
 traffic_ops/client/delivery_service_resources.go | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/8797ce44/traffic_ops/client/delivery_service_resources.go
----------------------------------------------------------------------
diff --git a/traffic_ops/client/delivery_service_resources.go b/traffic_ops/client/delivery_service_resources.go
index 8d53d53..186c137 100644
--- a/traffic_ops/client/delivery_service_resources.go
+++ b/traffic_ops/client/delivery_service_resources.go
@@ -54,10 +54,13 @@ type DeliveryService struct {
 	DNSBypassCname       string                 `json:"dnsBypassCname"`
 	DNSBypassTTL         int                    `json:"dnsBypassTtl"`
 	OrgServerFQDN        string                 `json:"orgServerFqdn"`
+	TypeID               int                    `json:"typeId"`
 	Type                 string                 `json:"type"`
+	ProfileID            int                    `json:"profileId"`
 	ProfileName          string                 `json:"profileName"`
 	ProfileDesc          string                 `json:"profileDescription"`
 	CDNName              string                 `json:"cdnName"`
+	CDNID                int                    `json:"cdnId"`
 	CCRDNSTTL            int                    `json:"ccrDnsTtl"`
 	GlobalMaxMBPS        int                    `json:"globalMaxMbps"`
 	GlobalMaxTPS         int                    `json:"globalMaxTps"`