You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by ne...@apache.org on 2017/01/13 23:36:21 UTC

[25/29] incubator-trafficcontrol git commit: Update vendor going more thoroughly through deps recursively... some cleanup may be called for in a follow up PR

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/4df63f3a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/delivery_service_test.go
----------------------------------------------------------------------
diff --git a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/delivery_service_test.go b/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/delivery_service_test.go
deleted file mode 100644
index d8691b5..0000000
--- a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/delivery_service_test.go
+++ /dev/null
@@ -1,666 +0,0 @@
-/*
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-   http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
-*/
-
-package test
-
-import (
-	"net/http"
-	"testing"
-
-	"github.com/apache/incubator-trafficcontrol/traffic_ops/client"
-	"github.com/apache/incubator-trafficcontrol/traffic_ops/client/fixtures"
-	"github.com/jheitz200/test_helper"
-)
-
-func TestDeliveryServices(t *testing.T) {
-	resp := fixtures.DeliveryServices()
-	server := testHelper.ValidHTTPServer(resp)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for DeliveryServices")
-
-	ds, err := to.DeliveryServices()
-	if err != nil {
-		testHelper.Error(t, "Should be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should be able to make a request to Traffic Ops")
-	}
-
-	if len(ds) != 1 {
-		testHelper.Error(t, "Should get back \"1\" DeliveryService, got: %d", len(ds))
-	} else {
-		testHelper.Success(t, "Should get back \"1\" DeliveryService")
-	}
-
-	for _, s := range ds {
-		if s.XMLID != "ds-test" {
-			testHelper.Error(t, "Should get back \"ds-test\" for \"XMLID\", got: %s", s.XMLID)
-		} else {
-			testHelper.Success(t, "Should get back \"ds-test\" for \"XMLID\"")
-		}
-
-		if s.MissLong != "-99.123456" {
-			testHelper.Error(t, "Should get back \"-99.123456\" for \"MissLong\", got: %s", s.MissLong)
-		} else {
-			testHelper.Success(t, "Should get back \"-99.123456\" for \"MissLong\"")
-		}
-	}
-}
-
-func TestDeliveryServicesUnauthorized(t *testing.T) {
-	server := testHelper.InvalidHTTPServer(http.StatusUnauthorized)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a failed Traffic Ops request for DeliveryServices")
-
-	_, err := to.DeliveryServices()
-	if err == nil {
-		testHelper.Error(t, "Should not be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should not be able to make a request to Traffic Ops")
-	}
-}
-
-func TestDeliveryService(t *testing.T) {
-	resp := fixtures.DeliveryServices()
-	server := testHelper.ValidHTTPServer(resp)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for a DeliveryService")
-
-	ds, err := to.DeliveryService("123")
-	if err != nil {
-		testHelper.Error(t, "Should be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should be able to make a request to Traffic Ops")
-	}
-
-	if ds.XMLID != "ds-test" {
-		testHelper.Error(t, "Should get back \"ds-test\" for \"XMLID\", got: %s", ds.XMLID)
-	} else {
-		testHelper.Success(t, "Should get back \"ds-test\" for \"XMLID\"")
-	}
-
-	if ds.MissLong != "-99.123456" {
-		testHelper.Error(t, "Should get back \"-99.123456\" for \"MissLong\", got: %s", ds.MissLong)
-	} else {
-		testHelper.Success(t, "Should get back \"-99.123456\" for \"MissLong\"")
-	}
-}
-
-func TestDeliveryServiceUnauthorized(t *testing.T) {
-	server := testHelper.InvalidHTTPServer(http.StatusUnauthorized)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a failed Traffic Ops request for a DeliveryService")
-
-	_, err := to.DeliveryService("123")
-	if err == nil {
-		testHelper.Error(t, "Should not be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should not be able to make a request to Traffic Ops")
-	}
-}
-
-func TestCreateDeliveryService(t *testing.T) {
-	resp := fixtures.DeliveryService()
-	server := testHelper.ValidHTTPServer(resp)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request to create a DeliveryService")
-
-	ds, err := to.CreateDeliveryService(&client.DeliveryService{})
-	if err != nil {
-		testHelper.Error(t, "Should be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should be able to make a request to Traffic Ops")
-	}
-
-	actual := ds.Response.ID
-	if actual != "001" {
-		testHelper.Error(t, "Should get back \"001\" for \"Response.ID\", got: %s", actual)
-	} else {
-		testHelper.Success(t, "Should get back \"0001\" for \"Response.ID\"")
-	}
-}
-
-func TestCreateDeliveryServiceUnauthorized(t *testing.T) {
-	server := testHelper.InvalidHTTPServer(http.StatusUnauthorized)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a failed Traffic Ops request to create a DeliveryService")
-
-	_, err := to.CreateDeliveryService(&client.DeliveryService{})
-	if err == nil {
-		testHelper.Error(t, "Should not be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should not be able to make a request to Traffic Ops")
-	}
-}
-
-func TestUpdateDeliveryService(t *testing.T) {
-	resp := fixtures.DeliveryService()
-	server := testHelper.ValidHTTPServer(resp)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request to update a DeliveryService")
-
-	ds, err := to.UpdateDeliveryService("123", &client.DeliveryService{})
-	if err != nil {
-		testHelper.Error(t, "Should be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should be able to make a request to Traffic Ops")
-	}
-
-	actual := ds.Response.ID
-	if actual != "001" {
-		testHelper.Error(t, "Should get back \"001\" for \"Response.ID\", got: %s", actual)
-	} else {
-		testHelper.Success(t, "Should get back \"0001\" for \"Response.ID\"")
-	}
-}
-
-func TestUpdateDeliveryServiceUnauthorized(t *testing.T) {
-	server := testHelper.InvalidHTTPServer(http.StatusUnauthorized)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a failed Traffic Ops request to update a DeliveryService")
-
-	_, err := to.UpdateDeliveryService("123", &client.DeliveryService{})
-	if err == nil {
-		testHelper.Error(t, "Should not be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should not be able to make a request to Traffic Ops")
-	}
-}
-
-func TestDeleteDeliveryService(t *testing.T) {
-	resp := fixtures.DeleteDeliveryService()
-	server := testHelper.ValidHTTPServer(resp)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request to delete a DeliveryService")
-
-	ds, err := to.DeleteDeliveryService("123")
-	if err != nil {
-		testHelper.Error(t, "Should be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should be able to make a request to Traffic Ops")
-	}
-
-	actual := ds.Alerts[0].Text
-	if actual != "text" {
-		testHelper.Error(t, "Should get back \"text\" for \"Alerts[0].Text\", got: %s", actual)
-	} else {
-		testHelper.Success(t, "Should get back \"text\" for \"Alerts[0].Text\"")
-	}
-}
-
-func TestDeleteDeliveryServiceUnauthorized(t *testing.T) {
-	server := testHelper.InvalidHTTPServer(http.StatusUnauthorized)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a failed Traffic Ops request to delete a DeliveryService")
-
-	_, err := to.DeleteDeliveryService("123")
-	if err == nil {
-		testHelper.Error(t, "Should not be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should not be able to make a request to Traffic Ops")
-	}
-}
-
-func TestDeliveryServiceState(t *testing.T) {
-	resp := fixtures.DeliveryServiceState()
-	server := testHelper.ValidHTTPServer(resp)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for a DeliveryServiceState")
-
-	state, err := to.DeliveryServiceState("123")
-	if err != nil {
-		testHelper.Error(t, "Should be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should be able to make a request to Traffic Ops")
-	}
-
-	if state.Failover.Destination.Location != "someLocation" {
-		testHelper.Error(t, "Should get back \"someLocation\" for \"Failover.Destination.Location\", got: %s", state.Failover.Destination.Location)
-	} else {
-		testHelper.Success(t, "Should get back \"someLocation\" for \"Failover.Destination.Location\"")
-	}
-
-	if state.Enabled != true {
-		testHelper.Error(t, "Should get back \"true\" for \"Enabled\", got: %s", state.Enabled)
-	} else {
-		testHelper.Success(t, "Should get back \"true\" for \"Enabled\"")
-	}
-}
-
-func TestDeliveryServiceStateUnauthorized(t *testing.T) {
-	server := testHelper.InvalidHTTPServer(http.StatusUnauthorized)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a failed Traffic Ops request for a DeliveryServiceState")
-
-	_, err := to.DeliveryServiceState("123")
-	if err == nil {
-		testHelper.Error(t, "Should not be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should not be able to make a request to Traffic Ops")
-	}
-}
-
-func TestDeliveryServiceHealth(t *testing.T) {
-	resp := fixtures.DeliveryServiceHealth()
-	server := testHelper.ValidHTTPServer(resp)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for a DeliveryServiceHealth")
-
-	health, err := to.DeliveryServiceHealth("123")
-	if err != nil {
-		testHelper.Error(t, "Should be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should be able to make a request to Traffic Ops")
-	}
-
-	if health.TotalOnline != 2 {
-		testHelper.Error(t, "Should get back \"2\" for \"TotalOnline\", got: %s", health.TotalOnline)
-	} else {
-		testHelper.Success(t, "Should get back \"2\" for \"TotalOnline\"")
-	}
-
-	if health.TotalOffline != 3 {
-		testHelper.Error(t, "Should get back \"3\" for \"TotalOffline\", got: %s", health.TotalOffline)
-	} else {
-		testHelper.Success(t, "Should get back \"2\" for \"TotalOffline\"")
-	}
-
-	if health.CacheGroups[0].Name != "someCacheGroup" {
-		testHelper.Error(t, "Should get back \"someCacheGroup\" for \"CacheGroups[0].Name\", got: %s", health.CacheGroups[0].Name)
-	} else {
-		testHelper.Success(t, "Should get back \"someCacheGroup\" for \"CacheGroups[0].Name\"")
-	}
-}
-
-func TestDeliveryServiceHealthUnauthorized(t *testing.T) {
-	server := testHelper.InvalidHTTPServer(http.StatusUnauthorized)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a failed Traffic Ops request for a DeliveryServiceHealth")
-
-	_, err := to.DeliveryServiceHealth("123")
-	if err == nil {
-		testHelper.Error(t, "Should not be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should not be able to make a request to Traffic Ops")
-	}
-}
-
-func TestDeliveryServiceCapacity(t *testing.T) {
-	resp := fixtures.DeliveryServiceCapacity()
-	server := testHelper.ValidHTTPServer(resp)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for a DeliveryServiceCapacity")
-
-	capacity, err := to.DeliveryServiceCapacity("123")
-	if err != nil {
-		testHelper.Error(t, "Should be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should be able to make a request to Traffic Ops")
-	}
-
-	if capacity.AvailablePercent != 90.12345 {
-		testHelper.Error(t, "Should get back \"90.12345\" for \"AvailablePercent\", got: %s", capacity.AvailablePercent)
-	} else {
-		testHelper.Success(t, "Should get back \"90.12345\" for \"AvailablePercent\"")
-	}
-
-	if capacity.UnavailablePercent != 90.12345 {
-		testHelper.Error(t, "Should get back \"90.12345\" for \"UnavailablePercent\", got: %s", capacity.UnavailablePercent)
-	} else {
-		testHelper.Success(t, "Should get back \"90.12345\" for \"UnavailablePercent\"")
-	}
-
-	if capacity.UtilizedPercent != 90.12345 {
-		testHelper.Error(t, "Should get back \"90.12345\" for \"UtilizedPercent\", got: %s", capacity.UtilizedPercent)
-	} else {
-		testHelper.Success(t, "Should get back \"90.12345\" for \"UtilizedPercent\"")
-	}
-}
-
-func TestDeliveryServiceCapacityUnauthorized(t *testing.T) {
-	server := testHelper.InvalidHTTPServer(http.StatusUnauthorized)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a failed Traffic Ops request for a DeliveryServiceCapacity")
-
-	_, err := to.DeliveryServiceCapacity("123")
-	if err == nil {
-		testHelper.Error(t, "Should not be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should not be able to make a request to Traffic Ops")
-	}
-}
-
-func TestDeliveryServiceRouting(t *testing.T) {
-	resp := fixtures.DeliveryServiceRouting()
-	server := testHelper.ValidHTTPServer(resp)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for a DeliveryServiceRouting")
-
-	routing, err := to.DeliveryServiceRouting("123")
-	if err != nil {
-		testHelper.Error(t, "Should be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should be able to make a request to Traffic Ops")
-	}
-
-	if routing.StaticRoute != 1 {
-		testHelper.Error(t, "Should get back \"1\" for \"StaticRoute\", got: %s", routing.StaticRoute)
-	} else {
-		testHelper.Success(t, "Should get back \"1\" for \"StaticRoute\"")
-	}
-}
-
-func TestDeliveryServiceRoutingUnauthorized(t *testing.T) {
-	server := testHelper.InvalidHTTPServer(http.StatusUnauthorized)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a failed Traffic Ops request for a DeliveryServiceRouting")
-
-	_, err := to.DeliveryServiceRouting("123")
-	if err == nil {
-		testHelper.Error(t, "Should not be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should not be able to make a request to Traffic Ops")
-	}
-}
-
-func TestDeliveryServiceServer(t *testing.T) {
-	resp := fixtures.DeliveryServiceServer()
-	server := testHelper.ValidHTTPServer(resp)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for a DeliveryServiceServer")
-
-	s, err := to.DeliveryServiceServer("1", "1")
-	if err != nil {
-		testHelper.Error(t, "Should be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should be able to make a request to Traffic Ops")
-	}
-
-	if s[0].LastUpdated != "lastUpdated" {
-		testHelper.Error(t, "Should get back \"lastUpdated\" for \"LastUpdated\", got: %s", s[0].LastUpdated)
-	} else {
-		testHelper.Success(t, "Should get back \"lastUpdated\" for \"LastUpdated\"")
-	}
-
-	if s[0].Server != "someServer" {
-		testHelper.Error(t, "Should get back \"someServer\" for \"Server\", got: %s", s[0].Server)
-	} else {
-		testHelper.Success(t, "Should get back \"someServer\" for \"Server\"")
-	}
-
-	if s[0].DeliveryService != "someService" {
-		testHelper.Error(t, "Should get back \"someService\" for \"DeliveryService\", got: %s", s[0].DeliveryService)
-	} else {
-		testHelper.Success(t, "Should get back \"someService\" for \"DeliveryService\"")
-	}
-}
-
-func TestDeliveryServiceServerUnauthorized(t *testing.T) {
-	server := testHelper.InvalidHTTPServer(http.StatusUnauthorized)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a failed Traffic Ops request for a DeliveryServiceServer")
-
-	_, err := to.DeliveryServiceServer("1", "1")
-	if err == nil {
-		testHelper.Error(t, "Should not be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should not be able to make a request to Traffic Ops")
-	}
-}
-
-func TestDeliveryServiceSSLKeysByID(t *testing.T) {
-	resp := fixtures.DeliveryServiceSSLKeys()
-	server := testHelper.ValidHTTPServer(resp)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for a DeliveryServiceSSLKeysByID")
-
-	ssl, err := to.DeliveryServiceSSLKeysByID("123")
-	if err != nil {
-		testHelper.Error(t, "Should be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should be able to make a request to Traffic Ops")
-	}
-
-	if ssl.Certificate.Crt != "crt" {
-		testHelper.Error(t, "Should get back \"crt\" for \"Certificte.Crt\", got: %s", ssl.Certificate.Crt)
-	} else {
-		testHelper.Success(t, "Should get back \"crt\" for \"Certificate.Crt\"")
-	}
-
-	if ssl.Organization != "Kabletown" {
-		testHelper.Error(t, "Should get back \"Kabletown\" for \"Organization\", got: %s", ssl.Organization)
-	} else {
-		testHelper.Success(t, "Should get back \"Kabletown\" for \"Organization\"")
-	}
-}
-
-func TestDeliveryServiceSSLKeysByIDUnauthorized(t *testing.T) {
-	server := testHelper.InvalidHTTPServer(http.StatusUnauthorized)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a failed Traffic Ops request for a DeliveryServiceSSLKeysByID")
-
-	_, err := to.DeliveryServiceSSLKeysByID("123")
-	if err == nil {
-		testHelper.Error(t, "Should not be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should not be able to make a request to Traffic Ops")
-	}
-}
-
-func TestDeliveryServiceSSLKeysByHostname(t *testing.T) {
-	resp := fixtures.DeliveryServiceSSLKeys()
-	server := testHelper.ValidHTTPServer(resp)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for a DeliveryServiceSSLKeysByHostname")
-
-	ssl, err := to.DeliveryServiceSSLKeysByHostname("hostname")
-	if err != nil {
-		testHelper.Error(t, "Should be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should be able to make a request to Traffic Ops")
-	}
-
-	if ssl.Certificate.Crt != "crt" {
-		testHelper.Error(t, "Should get back \"crt\" for \"Certificte.Crt\", got: %s", ssl.Certificate.Crt)
-	} else {
-		testHelper.Success(t, "Should get back \"crt\" for \"Certificate.Crt\"")
-	}
-
-	if ssl.Organization != "Kabletown" {
-		testHelper.Error(t, "Should get back \"Kabletown\" for \"Organization\", got: %s", ssl.Organization)
-	} else {
-		testHelper.Success(t, "Should get back \"Kabletown\" for \"Organization\"")
-	}
-}
-
-func TestDeliveryServiceSSLKeysByHostnameUnauthorized(t *testing.T) {
-	server := testHelper.InvalidHTTPServer(http.StatusUnauthorized)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a failed Traffic Ops request for a DeliveryServiceSSLKeysByHostname")
-
-	_, err := to.DeliveryServiceSSLKeysByHostname("hostname")
-	if err == nil {
-		testHelper.Error(t, "Should not be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should not be able to make a request to Traffic Ops")
-	}
-}

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/4df63f3a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/hardware_test.go
----------------------------------------------------------------------
diff --git a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/hardware_test.go b/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/hardware_test.go
deleted file mode 100644
index 140601a..0000000
--- a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/hardware_test.go
+++ /dev/null
@@ -1,92 +0,0 @@
-/*
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-   http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
-*/
-
-package test
-
-import (
-	"net/http"
-	"testing"
-
-	"github.com/apache/incubator-trafficcontrol/traffic_ops/client"
-	"github.com/apache/incubator-trafficcontrol/traffic_ops/client/fixtures"
-	"github.com/jheitz200/test_helper"
-)
-
-func TestHardware(t *testing.T) {
-	resp := fixtures.Hardware()
-	server := testHelper.ValidHTTPServer(resp)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for Hardware")
-
-	hardware, err := to.Hardware()
-	if err != nil {
-		testHelper.Error(t, "Should be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should be able to make a request to Traffic Ops")
-	}
-
-	if len(hardware) != 1 {
-		testHelper.Error(t, "Should get back \"1\" Hardware, got: %d", len(hardware))
-	} else {
-		testHelper.Success(t, "Should get back \"1\" Hardware")
-	}
-
-	for _, h := range hardware {
-		if h.HostName != "odol-atsmid-cen-09" {
-			testHelper.Error(t, "Should get back \"odol-atsmid-cen-09\" for \"Hostname\", got: %s", h.HostName)
-		} else {
-			testHelper.Success(t, "Should get back \"odol-atsmid-cen-09\" for \"Hostname\"")
-		}
-
-		if h.Value != "1.00" {
-			testHelper.Error(t, "Should get back \"1.00\" for \"Value\", got: %s", h.Value)
-		} else {
-			testHelper.Success(t, "Should get back \"1.00\" for \"Value\"")
-		}
-
-		if h.Description != "BACKPLANE FIRMWARE" {
-			testHelper.Error(t, "Should get back \"BACKPLANE FIRMWARE\" for \"Description\", got: %s", h.Description)
-		} else {
-			testHelper.Success(t, "Should get back \"BACKPLANE FIRMWARE\" for \"Description\"")
-		}
-	}
-}
-
-func TestHardwareUnauthorized(t *testing.T) {
-	server := testHelper.InvalidHTTPServer(http.StatusUnauthorized)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a failed Traffic Ops request for Hardware")
-
-	_, err := to.Hardware()
-	if err == nil {
-		testHelper.Error(t, "Should not be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should not be able to make a request to Traffic Ops")
-	}
-}

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/4df63f3a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/parameter_test.go
----------------------------------------------------------------------
diff --git a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/parameter_test.go b/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/parameter_test.go
deleted file mode 100644
index f837445..0000000
--- a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/parameter_test.go
+++ /dev/null
@@ -1,92 +0,0 @@
-/*
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-   http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
-*/
-
-package test
-
-import (
-	"net/http"
-	"testing"
-
-	"github.com/apache/incubator-trafficcontrol/traffic_ops/client"
-	"github.com/apache/incubator-trafficcontrol/traffic_ops/client/fixtures"
-	"github.com/jheitz200/test_helper"
-)
-
-func TestParameters(t *testing.T) {
-	resp := fixtures.Parameters()
-	server := testHelper.ValidHTTPServer(resp)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for Parameters")
-
-	parameters, err := to.Parameters("test")
-	if err != nil {
-		testHelper.Error(t, "Should be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should be able to make a request to Traffic Ops")
-	}
-
-	if len(parameters) != 1 {
-		testHelper.Error(t, "Should get back \"1\" Parameter, got: %d", len(parameters))
-	} else {
-		testHelper.Success(t, "Should get back \"1\" Parameter")
-	}
-
-	for _, param := range parameters {
-		if param.Name != "location" {
-			testHelper.Error(t, "Should get back \"location\" for \"Name\", got: %s", param.Name)
-		} else {
-			testHelper.Success(t, "Should get back \"location\" for \"Name\"")
-		}
-
-		if param.Value != "/foo/trafficserver/" {
-			testHelper.Error(t, "Should get back \"/foo/trafficserver/\" for \"Value\", got: %s", param.Value)
-		} else {
-			testHelper.Success(t, "Should get back \"/foo/trafficserver/\" for \"Value\"")
-		}
-
-		if param.ConfigFile != "parent.config" {
-			testHelper.Error(t, "Should get back \"parent.config\" for \"ConfigFile\", got: %s", param.ConfigFile)
-		} else {
-			testHelper.Success(t, "Should get back \"parent.config\" for \"ConfigFile\"")
-		}
-	}
-}
-
-func TestParametersUnauthorized(t *testing.T) {
-	server := testHelper.InvalidHTTPServer(http.StatusUnauthorized)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a failed Traffic Ops request for Parameters")
-
-	_, err := to.Parameters("test")
-	if err == nil {
-		testHelper.Error(t, "Should not be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should not be able to make a request to Traffic Ops")
-	}
-}

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/4df63f3a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/profile_test.go
----------------------------------------------------------------------
diff --git a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/profile_test.go b/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/profile_test.go
deleted file mode 100644
index 3b9cc7f..0000000
--- a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/profile_test.go
+++ /dev/null
@@ -1,86 +0,0 @@
-/*
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-   http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
-*/
-
-package test
-
-import (
-	"net/http"
-	"testing"
-
-	"github.com/apache/incubator-trafficcontrol/traffic_ops/client"
-	"github.com/apache/incubator-trafficcontrol/traffic_ops/client/fixtures"
-	"github.com/jheitz200/test_helper"
-)
-
-func TestProfile(t *testing.T) {
-	resp := fixtures.Profiles()
-	server := testHelper.ValidHTTPServer(resp)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for Profiles")
-
-	profiles, err := to.Profiles()
-	if err != nil {
-		testHelper.Error(t, "Should be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should be able to make a request to Traffic Ops")
-	}
-
-	if len(profiles) != 1 {
-		testHelper.Error(t, "Should get back \"1\" Profile, got: %d", len(profiles))
-	} else {
-		testHelper.Success(t, "Should get back \"1\" Profile")
-	}
-
-	for _, p := range profiles {
-		if p.Name != "TR_CDN2" {
-			testHelper.Error(t, "Should get back \"TR_CDN2\" for \"Name\", got: %s", p.Name)
-		} else {
-			testHelper.Success(t, "Should get back \"TR_CDN2\" for \"Name\"")
-		}
-
-		if p.Description != "kabletown Content Router" {
-			testHelper.Error(t, "Should get back \"kabletown Content Router\" for \"Description\", got: %s", p.Description)
-		} else {
-			testHelper.Success(t, "Should get back \"kabletown Content Router\" for \"Description\"")
-		}
-	}
-}
-
-func TestProfilesUnauthorized(t *testing.T) {
-	server := testHelper.InvalidHTTPServer(http.StatusUnauthorized)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a failed Traffic Ops request for Profiles")
-
-	_, err := to.Profiles()
-	if err == nil {
-		testHelper.Error(t, "Should not be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should not be able to make a request to Traffic Ops")
-	}
-}

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/4df63f3a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/server_test.go
----------------------------------------------------------------------
diff --git a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/server_test.go b/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/server_test.go
deleted file mode 100644
index 793c34c..0000000
--- a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/server_test.go
+++ /dev/null
@@ -1,310 +0,0 @@
-/*
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-   http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
-*/
-
-package test
-
-import (
-	"net/http"
-	"net/url"
-	"testing"
-
-	"github.com/apache/incubator-trafficcontrol/traffic_ops/client"
-	"github.com/apache/incubator-trafficcontrol/traffic_ops/client/fixtures"
-	"github.com/jheitz200/test_helper"
-)
-
-func TestServer(t *testing.T) {
-	resp := fixtures.Servers()
-	server := testHelper.ValidHTTPServer(resp)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for Servers")
-
-	servers, err := to.Servers()
-	if err != nil {
-		testHelper.Error(t, "Should be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should be able to make a request to Traffic Ops")
-	}
-
-	if len(servers) != 3 {
-		testHelper.Error(t, "Should get back \"3\" Server, got: %d", len(servers))
-	} else {
-		testHelper.Success(t, "Should get back \"3\" Server")
-	}
-
-	if servers[0].HostName != "edge-alb-01" {
-		testHelper.Error(t, "Should get \"edge-alb-01\" for \"HostName\", got: %s", servers[0].HostName)
-	} else {
-		testHelper.Success(t, "Should get \"edge-alb-01\" for \"HostName\"")
-	}
-
-	if servers[0].DomainName != "albuquerque.nm.albuq.kabletown.com" {
-		testHelper.Error(t, "Should get \"albuquerque.nm.albuq.kabletown.com\" for \"DomainName\", got: %s", servers[0].DomainName)
-	} else {
-		testHelper.Success(t, "Should get \"albuquerque.nm.albuq.kabletown.com\" for \"DomainName\"")
-	}
-
-	if servers[0].Type != "EDGE" {
-		testHelper.Error(t, "Should get \"EDGE\" for \"Type\", got: %s", servers[0].Type)
-	} else {
-		testHelper.Success(t, "Should get \"EDGE\" for \"Type\"")
-	}
-}
-
-func TestServersUnauthorized(t *testing.T) {
-	server := testHelper.InvalidHTTPServer(http.StatusUnauthorized)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a failed Traffic Ops request for Servers")
-
-	_, err := to.Servers()
-	if err == nil {
-		testHelper.Error(t, "Should not be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should not be able to make a request to Traffic Ops")
-	}
-}
-
-func TestServerFQDN(t *testing.T) {
-	resp := fixtures.Servers()
-	server := testHelper.ValidHTTPServer(resp)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	shortName := "edge-alb-01"
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for the FQDN of Server: \"%s\"", shortName)
-
-	s, err := to.ServersFqdn("edge-alb-01")
-	if err != nil {
-		testHelper.Error(t, "Should be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should be able to make a request to Traffic Ops")
-	}
-
-	if s != "edge-alb-01.albuquerque.nm.albuq.kabletown.com" {
-		testHelper.Error(t, "Should get back \"edge-alb-01.albuquerque.nm.albuq.kabletown.com\", got: %s", s)
-	} else {
-		testHelper.Success(t, "Should get back \"edge-alb-01.albuquerque.nm.albuq.kabletown.com\"")
-	}
-}
-
-func TestServerFQDNError(t *testing.T) {
-	var resp client.ServerResponse
-	server := testHelper.ValidHTTPServer(resp)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	shortName := "edge-alb-01"
-	testHelper.Context(t, "Given the need to test a failed Traffic Ops request for the FQDN of Server: \"%s\"", shortName)
-
-	_, err := to.ServersFqdn(shortName)
-	if err == nil {
-		testHelper.Error(t, "Should not be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should not be able to make a request to Traffic Ops")
-	}
-}
-
-func TestServerFQDNUnauthorized(t *testing.T) {
-	server := testHelper.InvalidHTTPServer(http.StatusUnauthorized)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	shortName := "edge-alb-01"
-	testHelper.Context(t, "Given the need to test a failed Traffic Ops request for the FQDN of Server: \"%s\"", shortName)
-
-	_, err := to.ServersFqdn(shortName)
-	if err == nil {
-		testHelper.Error(t, "Should not be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should not be able to make a request to Traffic Ops")
-	}
-}
-
-func TestServerShortName(t *testing.T) {
-	resp := fixtures.Servers()
-	server := testHelper.ValidHTTPServer(resp)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	pattern := "edge"
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for servers that match Short Name: \"%s\"", pattern)
-
-	servers, err := to.ServersShortNameSearch(pattern)
-	if err != nil {
-		testHelper.Error(t, "Should be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should be able to make a request to Traffic Ops")
-	}
-
-	if servers[0] != "edge-alb-01" {
-		testHelper.Error(t, "Should get back \"edge-alb-01\", got: %s", servers[0])
-	} else {
-		testHelper.Success(t, "Should get back \"edge-alb-01\"")
-	}
-
-	if servers[1] != "edge-alb-02" {
-		testHelper.Error(t, "Should get back \"edge-alb-02\", got: %s", servers[1])
-	} else {
-		testHelper.Success(t, "Should get back \"edge-alb-02\"")
-	}
-}
-
-func TestServerShortNameError(t *testing.T) {
-	var resp client.ServerResponse
-	server := testHelper.ValidHTTPServer(resp)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	pattern := "edge"
-	testHelper.Context(t, "Given the need to test a failed Traffic Ops request for servers that match Short Name: \"%s\"", pattern)
-
-	_, err := to.ServersShortNameSearch(pattern)
-	if err == nil {
-		testHelper.Error(t, "Should not be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should not be able to make a request to Traffic Ops")
-	}
-}
-
-func TestServerShortNameUnauthorized(t *testing.T) {
-	server := testHelper.InvalidHTTPServer(http.StatusUnauthorized)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	pattern := "edge"
-	testHelper.Context(t, "Given the need to test a failed Traffic Ops request for servers that match Short Name: \"%s\"", pattern)
-
-	_, err := to.ServersShortNameSearch(pattern)
-	if err == nil {
-		testHelper.Error(t, "Should not be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should not be able to make a request to Traffic Ops")
-	}
-}
-
-func TestServerByType(t *testing.T) {
-	resp := fixtures.LogstashServers()
-	server := testHelper.ValidHTTPServer(resp)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for \"Logstash\" Servers")
-
-	params := make(url.Values)
-	params.Add("type", "Logstash")
-
-	servers, err := to.ServersByType(params)
-	if err != nil {
-		testHelper.Error(t, "Should be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should be able to make a request to Traffic Ops")
-	}
-
-	if len(servers) != 2 {
-		testHelper.Error(t, "Should get back \"2\" Server, got: %d", len(servers))
-	} else {
-		testHelper.Success(t, "Should get back \"2\" Server")
-	}
-
-	if servers[0].HostName != "logstash-01" {
-		testHelper.Error(t, "Should get \"logstash-01\" for \"HostName\", got: %s", servers[0].HostName)
-	} else {
-		testHelper.Success(t, "Should get \"logstash-01\" for \"HostName\"")
-	}
-
-	if servers[0].DomainName != "albuquerque.nm.albuq.kabletown.com" {
-		testHelper.Error(t, "Should get \"albuquerque.nm.albuq.kabletown.com\" for \"DomainName\", got: %s", servers[0].DomainName)
-	} else {
-		testHelper.Success(t, "Should get \"albuquerque.nm.albuq.kabletown.com\" for \"DomainName\"")
-	}
-
-	if servers[0].Type != "LOGSTASH" {
-		testHelper.Error(t, "Should get \"LOGSTASH\" for \"Type\", got: %s", servers[0].Type)
-	} else {
-		testHelper.Success(t, "Should get \"LOGSTASH\" for \"Type\"")
-	}
-}
-
-func TestServerByTypeUnauthorized(t *testing.T) {
-	server := testHelper.InvalidHTTPServer(http.StatusUnauthorized)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a failed Traffic Ops request for \"Logstash\" servers")
-
-	params := make(url.Values)
-	params.Add("type", "Logstash")
-
-	_, err := to.ServersByType(params)
-	if err == nil {
-		testHelper.Error(t, "Should not be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should not be able to make a request to Traffic Ops")
-	}
-}

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/4df63f3a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/stats_summary_test.go
----------------------------------------------------------------------
diff --git a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/stats_summary_test.go b/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/stats_summary_test.go
deleted file mode 100644
index 7e677a3..0000000
--- a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/stats_summary_test.go
+++ /dev/null
@@ -1,98 +0,0 @@
-/*
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-   http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
-*/
-
-package test
-
-import (
-	"net/http"
-	"testing"
-
-	"github.com/apache/incubator-trafficcontrol/traffic_ops/client"
-	"github.com/apache/incubator-trafficcontrol/traffic_ops/client/fixtures"
-	"github.com/jheitz200/test_helper"
-)
-
-func TestStatsSummary(t *testing.T) {
-	resp := fixtures.StatsSummary()
-	server := testHelper.ValidHTTPServer(resp)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for Stats Summary")
-
-	stats, err := to.SummaryStats("test-cdn", "test-ds1", "test-stat")
-	if err != nil {
-		testHelper.Error(t, "Should be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should be able to make a request to Traffic Ops")
-	}
-
-	if len(stats) != 1 {
-		testHelper.Error(t, "Should get back \"1\" Parameter, got: %d", len(stats))
-	} else {
-		testHelper.Success(t, "Should get back \"1\" Parameter")
-	}
-
-	for _, s := range stats {
-		if s.StatName != "test-stat" {
-			testHelper.Error(t, "Should get back \"test-stat\" for \"StatName\", got: %s", s.StatName)
-		} else {
-			testHelper.Success(t, "Should get back \"test-stat\" for \"StatName\"")
-		}
-
-		if s.DeliveryService != "test-ds1" {
-			testHelper.Error(t, "Should get back \"test-ds1\" for \"DeliveryService\", got: %s", s.DeliveryService)
-		} else {
-			testHelper.Success(t, "Should get back \"test-ds1\" for \"DeliveryService\"")
-		}
-
-		if s.StatValue != "3.1415" {
-			testHelper.Error(t, "Should get back \"3.1415\" for \"StatValue\", got: %s", s.StatValue)
-		} else {
-			testHelper.Success(t, "Should get back \"3.1415\" for \"StatValue\"")
-		}
-
-		if s.CDNName != "test-cdn" {
-			testHelper.Error(t, "Should get back \"test-cdn\" for \"CDNName\", got: %s", s.CDNName)
-		} else {
-			testHelper.Success(t, "Should get back \"test-cdn\" for \"CDNName\"")
-		}
-	}
-}
-
-func TestStatsSummaryUnauthorized(t *testing.T) {
-	server := testHelper.InvalidHTTPServer(http.StatusUnauthorized)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a failed Traffic Ops request for Stats Summary")
-
-	_, err := to.SummaryStats("test-cdn", "test-ds1", "test-stat")
-	if err == nil {
-		testHelper.Error(t, "Should not be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should not be able to make a request to Traffic Ops")
-	}
-}

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/4df63f3a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/traffic_monitor_config_test.go
----------------------------------------------------------------------
diff --git a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/traffic_monitor_config_test.go b/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/traffic_monitor_config_test.go
deleted file mode 100644
index fd792a8..0000000
--- a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/traffic_monitor_config_test.go
+++ /dev/null
@@ -1,200 +0,0 @@
-/*
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-   http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
-*/
-
-package test
-
-import (
-	"net/http"
-	"testing"
-
-	"github.com/apache/incubator-trafficcontrol/traffic_ops/client"
-	"github.com/apache/incubator-trafficcontrol/traffic_ops/client/fixtures"
-	"github.com/jheitz200/test_helper"
-)
-
-func TestTMConfig(t *testing.T) {
-	resp := fixtures.TrafficMonitorConfig()
-	server := testHelper.ValidHTTPServer(resp)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for TM Config")
-
-	tm, err := to.TrafficMonitorConfigMap("test-cdn")
-	if err != nil {
-		testHelper.Error(t, "Should be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should be able to make a request to Traffic Ops")
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for TM Config - Traffic Server")
-
-	ts := tm.TrafficServer
-	if len(ts) != 2 {
-		testHelper.Error(t, "Should get back \"2\" Traffic Servers, got: %d", len(ts))
-	} else {
-		testHelper.Success(t, "Should get back \"2\" Traffic Servers")
-	}
-
-	hashID := "tr-chi-05"
-	if val, ok := ts[hashID]; ok {
-		testHelper.Success(t, "Should get back map entry for \"%s\"", hashID)
-
-		if val.IP != "10.10.10.10" {
-			testHelper.Error(t, "Should get back \"10.10.10.10\" for \"IP\", got: %s", val.IP)
-		} else {
-			testHelper.Success(t, "Should get back \"10.10.10.10\" for \"IP\"")
-		}
-
-	} else {
-		testHelper.Error(t, "Should get back map entry for \"%s\"", hashID)
-	}
-
-	hashID = "edge-test-01"
-	if val, ok := ts[hashID]; ok {
-		testHelper.Success(t, "Should get back map entry for for \"%s\"", hashID)
-
-		if val.Type != "EDGE" {
-			testHelper.Error(t, "Should get back \"EDGE\" for \"%s\" \"Type\", got: %s", hashID, ts[hashID].Type)
-		} else {
-			testHelper.Success(t, "Should get back \"EDGE\" for \"%s\" \"Type\"", hashID)
-		}
-
-	} else {
-		testHelper.Error(t, "Should get back map entry for \"%s\"", hashID)
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for TR Config - Traffic Monitor")
-
-	m := tm.TrafficMonitor
-	if len(m) != 1 {
-		testHelper.Error(t, "Should get back \"1\" Traffic Servers, got: %d", len(m))
-	} else {
-		testHelper.Success(t, "Should get back \"1\" Traffic Servers")
-	}
-
-	hostName := "traffic-monitor-01"
-	if val, ok := m[hostName]; ok {
-		testHelper.Success(t, "Should get back map entry for \"%s\"", hostName)
-
-		if val.Status != "ONLINE" {
-			testHelper.Error(t, "Should get back \"ONLINE\" for \"Status\", got: %s", val.Status)
-		} else {
-			testHelper.Success(t, "Should get back \"ONLINE\" for \"Status\"")
-		}
-
-	} else {
-		testHelper.Error(t, "Should get back map entry for \"%s\"", hostName)
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for TM Config - CacheGroups")
-
-	c := tm.CacheGroup
-	if len(c) != 2 {
-		testHelper.Error(t, "Should get back \"2\" Traffic Servers, got: %d", len(c))
-	} else {
-		testHelper.Success(t, "Should get back \"2\" Traffic Servers")
-	}
-
-	name := "philadelphia"
-	if val, ok := c[name]; ok {
-		testHelper.Success(t, "Should get back map entry for \"%s\"", name)
-
-		if val.Coordinates.Latitude != 55 {
-			testHelper.Error(t, "Should get back \"55\" for \"Coordinates.Latitude\", got: %s", val.Coordinates.Latitude)
-		} else {
-			testHelper.Success(t, "Should get back \"55\" for \"Coordinates.Latitude\"")
-		}
-
-	} else {
-		testHelper.Error(t, "Should get back map entry for \"%s\"", name)
-	}
-
-	name = "tr-chicago"
-	if val, ok := c[name]; ok {
-		testHelper.Success(t, "Should get back map entry for \"%s\"", name)
-
-		if val.Coordinates.Longitude != 9 {
-			testHelper.Error(t, "Should get back \"9\" for \"Coordinates.Longitude\", got: %s", val.Coordinates.Longitude)
-		} else {
-			testHelper.Success(t, "Should get back \"9\" for \"Coordinates.Longitude\"")
-		}
-
-	} else {
-		testHelper.Error(t, "Should get back map entry for \"%s\"", name)
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for TM Config - Delivery Services")
-
-	ds := tm.DeliveryService
-	if len(ds) != 1 {
-		testHelper.Error(t, "Should get back \"1\" TM Delivery Service, got: %d", len(ds))
-	} else {
-		testHelper.Success(t, "Should get back \"1\" TM Delivery Service")
-	}
-
-	xmlID := "ds-05"
-	if val, ok := ds[xmlID]; ok {
-		testHelper.Success(t, "Should get back map entry for \"%s\"", xmlID)
-
-		if val.Status != "REPORTED" {
-			testHelper.Error(t, "Should get back \"REPORTED\" for \"Status\", got: %s", val.Status)
-		} else {
-			testHelper.Success(t, "Should get back \"REPORTED\" for \"Status\"")
-		}
-
-	} else {
-		testHelper.Error(t, "Should get back map entry for \"%s\"", xmlID)
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for TM Config - TM Profiles")
-
-	p := tm.Profile
-	if len(p) != 1 {
-		testHelper.Error(t, "Should get back \"1\" TM Profie, got: %d", len(p))
-	} else {
-		testHelper.Success(t, "Should get back \"1\" TM Profile")
-	}
-
-	name = "tm-123"
-	if val, ok := p[name]; ok {
-		testHelper.Success(t, "Should get back map entry for \"%s\"", name)
-
-		if val.Parameters.HealthConnectionTimeout != 2000 {
-			testHelper.Error(t, "Should get back \"2000\" for \"Parameters.HealthConnectionTimeout\", got: %v", val.Parameters.HealthConnectionTimeout)
-		} else {
-			testHelper.Success(t, "Should get back \"2000\" for \"Parameters.HealthConnectionTimeout\"")
-		}
-
-	} else {
-		testHelper.Error(t, "Should get back map entry for \"%s\"", name)
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for TM Config - Config")
-
-	conf := tm.Config
-	if _, ok := conf["peers.polling.interval"]; ok {
-		if conf["peers.polling.interval"] != float64(1000) {
-			testHelper.Error(t, "Should get back \"1000\" for map entry for \"peers.polling.interval\", got: \"%v\"", conf["peers.polling.interval"])
-		} else {
-			testHelper.Success(t, "Should get back \"1000\" for map entry for \"peers.polling.interval\"")
-		}
-	}
-}

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/4df63f3a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/traffic_ops_test.go
----------------------------------------------------------------------
diff --git a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/traffic_ops_test.go b/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/traffic_ops_test.go
deleted file mode 100644
index a9dae06..0000000
--- a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/traffic_ops_test.go
+++ /dev/null
@@ -1,78 +0,0 @@
-/*
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-   http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
-*/
-
-package test
-
-import (
-	"net/http"
-	"testing"
-
-	"github.com/apache/incubator-trafficcontrol/traffic_ops/client"
-	"github.com/jheitz200/test_helper"
-)
-
-func TestLogin(t *testing.T) {
-	resp := client.Result{
-		Alerts: []client.Alert{
-			client.Alert{
-				Level: "success",
-				Text:  "Successfully logged in.",
-			},
-		},
-	}
-
-	server := testHelper.ValidHTTPServer(resp)
-
-	testHelper.Context(t, "Given the need to test a successful login to Traffic Ops")
-
-	session, err := client.Login(server.URL, "test", "password", true)
-	if err != nil {
-		testHelper.Error(t, "Should be able to login")
-	} else {
-		testHelper.Success(t, "Should be able to login")
-	}
-
-	if session.UserName != "test" {
-		testHelper.Error(t, "Should get back \"test\" for \"UserName\", got %s", session.UserName)
-	} else {
-		testHelper.Success(t, "Should get back \"test\" for \"UserName\"")
-	}
-
-	if session.Password != "password" {
-		testHelper.Error(t, "Should get back \"password\" for \"Password\", got %s", session.Password)
-	} else {
-		testHelper.Success(t, "Should get back \"password\" for \"Password\"")
-	}
-
-	if session.URL != server.URL {
-		testHelper.Error(t, "Should get back \"%s\" for \"URL\", got %s", server.URL, session.URL)
-	} else {
-		testHelper.Success(t, "Should get back \"%s\" for \"URL\"", server.URL)
-	}
-}
-
-func TestLoginUnauthorized(t *testing.T) {
-	server := testHelper.InvalidHTTPServer(http.StatusUnauthorized)
-	defer server.Close()
-
-	testHelper.Context(t, "Given the need to test an unsuccessful login to Traffic Ops")
-
-	_, err := client.Login(server.URL, "test", "password", true)
-	if err == nil {
-		testHelper.Error(t, "Should not be able to login")
-	} else {
-		testHelper.Success(t, "Should not be able to login")
-	}
-}

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/4df63f3a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/traffic_router_config_test.go
----------------------------------------------------------------------
diff --git a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/traffic_router_config_test.go b/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/traffic_router_config_test.go
deleted file mode 100644
index ea34581..0000000
--- a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/traffic_router_config_test.go
+++ /dev/null
@@ -1,211 +0,0 @@
-/*
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-   http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
-*/
-
-package test
-
-import (
-	"net/http"
-	"testing"
-
-	"github.com/apache/incubator-trafficcontrol/traffic_ops/client"
-	"github.com/apache/incubator-trafficcontrol/traffic_ops/client/fixtures"
-	"github.com/jheitz200/test_helper"
-)
-
-func TestTRConfig(t *testing.T) {
-	resp := fixtures.TrafficRouterConfig()
-	server := testHelper.ValidHTTPServer(resp)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for TR Config")
-
-	tr, err := to.TrafficRouterConfigMap("title-vi")
-	if err != nil {
-		testHelper.Error(t, "Should be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should be able to make a request to Traffic Ops")
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for TR Config - Traffic Server")
-
-	ts := tr.TrafficServer
-	if len(ts) != 2 {
-		testHelper.Error(t, "Should get back \"2\" Traffic Servers, got: %d", len(ts))
-	} else {
-		testHelper.Success(t, "Should get back \"2\" Traffic Servers")
-	}
-
-	hashID := "tr-chi-05"
-	if val, ok := ts[hashID]; ok {
-		testHelper.Success(t, "Should get back map entry for \"%s\"", hashID)
-
-		if val.IP != "10.10.10.10" {
-			testHelper.Error(t, "Should get back \"10.10.10.10\" for \"IP\", got: %s", val.IP)
-		} else {
-			testHelper.Success(t, "Should get back \"10.10.10.10\" for \"IP\"")
-		}
-
-	} else {
-		testHelper.Error(t, "Should get back map entry for \"%s\"", hashID)
-	}
-
-	hashID = "edge-test-01"
-	if val, ok := ts[hashID]; ok {
-		testHelper.Success(t, "Should get back map entry for for \"%s\"", hashID)
-
-		if val.Type != "EDGE" {
-			testHelper.Error(t, "Should get back \"EDGE\" for \"%s\" \"Type\", got: %s", hashID, ts[hashID].Type)
-		} else {
-			testHelper.Success(t, "Should get back \"EDGE\" for \"%s\" \"Type\"", hashID)
-		}
-
-	} else {
-		testHelper.Error(t, "Should get back map entry for \"%s\"", hashID)
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for TR Config - Traffic Monitor")
-
-	tm := tr.TrafficMonitor
-	if len(tm) != 1 {
-		testHelper.Error(t, "Should get back \"1\" Traffic Servers, got: %d", len(tm))
-	} else {
-		testHelper.Success(t, "Should get back \"1\" Traffic Servers")
-	}
-
-	hostname := "traffic-monitor-01"
-	if val, ok := tm[hostname]; ok {
-		testHelper.Success(t, "Should get back map entry for \"%s\"", hostname)
-
-		if val.Profile != "tr-123" {
-			testHelper.Error(t, "Should get back \"tr-123\" for \"Profile\", got: %s", val.Profile)
-		} else {
-			testHelper.Success(t, "Should get back \"tr-123\" for \"Profile\"")
-		}
-
-	} else {
-		testHelper.Error(t, "Should get back map entry for \"%s\"", hostname)
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for TR Config - Traffic Router")
-
-	r := tr.TrafficRouter
-	if len(r) != 1 {
-		testHelper.Error(t, "Should get back \"1\" Traffic Servers, got: %d", len(r))
-	} else {
-		testHelper.Success(t, "Should get back \"1\" Traffic Servers")
-	}
-
-	fqdn := "tr-01@ga.atlanta.kabletown.net"
-	if val, ok := r[fqdn]; ok {
-		testHelper.Success(t, "Should get back map entry for \"%s\"", fqdn)
-
-		if val.Location != "tr-chicago" {
-			testHelper.Error(t, "Should get back \"tr-chicago\" for \"Location\", got: %s", val.Location)
-		} else {
-			testHelper.Success(t, "Should get back \"tr-chicago\" for \"Location\"")
-		}
-
-	} else {
-		testHelper.Error(t, "Should get back map entry for \"%s\"", fqdn)
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for TR Config - CacheGroups")
-
-	c := tr.CacheGroup
-	if len(c) != 2 {
-		testHelper.Error(t, "Should get back \"2\" Traffic Servers, got: %d", len(c))
-	} else {
-		testHelper.Success(t, "Should get back \"2\" Traffic Servers")
-	}
-
-	name := "philadelphia"
-	if val, ok := c[name]; ok {
-		testHelper.Success(t, "Should get back map entry for \"%s\"", name)
-
-		if val.Coordinates.Latitude != 99 {
-			testHelper.Error(t, "Should get back \"99\" for \"Coordinates.Latitude\", got: %v", val.Coordinates.Latitude)
-		} else {
-			testHelper.Success(t, "Should get back \"99\" for \"Coordinates.Latitude\"")
-		}
-
-	} else {
-		testHelper.Error(t, "Should get back map entry for \"%s\"", name)
-	}
-
-	name = "tr-chicago"
-	if val, ok := c[name]; ok {
-		testHelper.Success(t, "Should get back map entry for \"%s\"", name)
-
-		if val.Coordinates.Longitude != 9 {
-			testHelper.Error(t, "Should get back \"9\" for \"Coordinates.Longitude\", got: %v", val.Coordinates.Longitude)
-		} else {
-			testHelper.Success(t, "Should get back \"9\" for \"Coordinates.Longitude\"")
-		}
-
-	} else {
-		testHelper.Error(t, "Should get back map entry for \"%s\"", name)
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for TR Config - Delivery Services")
-
-	ds := tr.DeliveryService
-	if len(ds) != 1 {
-		testHelper.Error(t, "Should get back \"1\" TR Delivery Service, got: %d", len(ds))
-	} else {
-		testHelper.Success(t, "Should get back \"1\" TR Delivery Service")
-	}
-
-	xmlID := "ds-06"
-	if val, ok := ds[xmlID]; ok {
-		testHelper.Success(t, "Should get back map entry for \"%s\"", xmlID)
-
-		if val.TTL != 3600 {
-			testHelper.Error(t, "Should get back \"3600\" for \"TTL\", got: %d", val.TTL)
-		} else {
-			testHelper.Success(t, "Should get back \"3600\" for \"TTL\"")
-		}
-
-	} else {
-		testHelper.Error(t, "Should get back map entry for \"%s\"", xmlID)
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for TR Config - Config")
-
-	conf := tr.Config
-	if _, ok := conf["peers.polling.interval"]; ok {
-		if conf["peers.polling.interval"] != float64(1000) {
-			testHelper.Error(t, "Should get back \"1000\" for map entry for \"peers.polling.interval\", got: \"%v\"", conf["peers.polling.interval"])
-		} else {
-			testHelper.Success(t, "Should get back \"1000\" for map entry for \"peers.polling.interval\"")
-		}
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for TR Config - Stats")
-
-	stats := tr.Stat
-	if _, ok := stats["cdnName"]; ok {
-		if stats["cdnName"] != "test-cdn" {
-			testHelper.Error(t, "Should get back \"test-cdn\" for map entry for \"cdnName\", got: \"%s\"", stats["cdnName"])
-		} else {
-			testHelper.Success(t, "Should get back \"test-cdn\" for map entry for \"cdnName\"")
-		}
-	}
-}

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/4df63f3a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/type_test.go
----------------------------------------------------------------------
diff --git a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/type_test.go b/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/type_test.go
deleted file mode 100644
index e4d8a43..0000000
--- a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/type_test.go
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-   http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
-*/
-
-package test
-
-import (
-	"net/http"
-	"testing"
-
-	"github.com/apache/incubator-trafficcontrol/traffic_ops/client"
-	"github.com/apache/incubator-trafficcontrol/traffic_ops/client/fixtures"
-	"github.com/jheitz200/test_helper"
-)
-
-func TestTypes(t *testing.T) {
-	resp := fixtures.Types()
-	server := testHelper.ValidHTTPServer(resp)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for Types")
-
-	types, err := to.Types()
-	if err != nil {
-		testHelper.Error(t, "Should be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should be able to make a request to Traffic Ops")
-	}
-
-	for _, n := range types {
-		if n.Name != "EDGE" {
-			testHelper.Error(t, "Should get back \"EDGE\" for \"Name\", got %s", n.Name)
-		} else {
-			testHelper.Success(t, "Should get back \"EDGE\" for \"Name\"")
-		}
-
-		if n.Description != "edge cache" {
-			testHelper.Error(t, "Should get back \"edge cache\" for \"Description\", got %s", n.Description)
-		} else {
-			testHelper.Success(t, "Should get back \"edge cache\" for \"Description\"")
-		}
-	}
-}
-
-func TestTypesUnauthorized(t *testing.T) {
-	server := testHelper.InvalidHTTPServer(http.StatusUnauthorized)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a failed Traffic Ops request for Types")
-
-	_, err := to.Types()
-	if err == nil {
-		testHelper.Error(t, "Should not be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should not be able to make a request to Traffic Ops")
-	}
-}

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/4df63f3a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/user_test.go
----------------------------------------------------------------------
diff --git a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/user_test.go b/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/user_test.go
deleted file mode 100644
index d684770..0000000
--- a/traffic_stats/vendor/github.com/apache/incubator-trafficcontrol/traffic_ops/client/tests/user_test.go
+++ /dev/null
@@ -1,98 +0,0 @@
-/*
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-   http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
-*/
-
-package test
-
-import (
-	"net/http"
-	"testing"
-
-	"github.com/apache/incubator-trafficcontrol/traffic_ops/client"
-	"github.com/apache/incubator-trafficcontrol/traffic_ops/client/fixtures"
-	"github.com/jheitz200/test_helper"
-)
-
-func TestUsers(t *testing.T) {
-	resp := fixtures.Users()
-	server := testHelper.ValidHTTPServer(resp.Response)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a successful Traffic Ops request for Users")
-
-	users, err := to.Users()
-	if err != nil {
-		testHelper.Error(t, "Should be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should be able to make a request to Traffic Ops")
-	}
-
-	for _, u := range users {
-		if u.FullName != "Bob Smith" {
-			testHelper.Error(t, "Should get back \"Bob Smith\" for \"FullName\", got %s", u.FullName)
-		} else {
-			testHelper.Success(t, "Should get back \"Bob Smith\" for \"FullName\"")
-		}
-
-		if u.PublicSSHKey != "some-ssh-key" {
-			testHelper.Error(t, "Should get back \"some-ssh-key\" for \"PublicSSHKey\", got %s", u.PublicSSHKey)
-		} else {
-			testHelper.Success(t, "Should get back \"some-ssh-key\" for \"PublicSSHKey\"")
-		}
-
-		if u.Role != "3" {
-			testHelper.Error(t, "Should get back \"3\" for \"Role\", got %s", u.Role)
-		} else {
-			testHelper.Success(t, "Should get back \"3\" for \"Role\"")
-		}
-
-		if u.Email != "bobsmith@email.com" {
-			testHelper.Error(t, "Should get back \"bobsmith@email.com\" for \"Email\", got %s", u.Email)
-		} else {
-			testHelper.Success(t, "Should get back \"bobsmith@email.com\" for \"Email\"")
-		}
-
-		if u.Username != "bsmith" {
-			testHelper.Error(t, "Should get back \"bsmith\" for \"Username\", got %s", u.Username)
-		} else {
-			testHelper.Success(t, "Should get back \"bsmith\" for \"Username\"")
-		}
-	}
-}
-
-func TestUsersUnauthorized(t *testing.T) {
-	server := testHelper.InvalidHTTPServer(http.StatusUnauthorized)
-	defer server.Close()
-
-	var httpClient http.Client
-	to := client.Session{
-		URL:       server.URL,
-		UserAgent: &httpClient,
-	}
-
-	testHelper.Context(t, "Given the need to test a failed Traffic Ops request for Users")
-
-	_, err := to.Users()
-	if err == nil {
-		testHelper.Error(t, "Should not be able to make a request to Traffic Ops")
-	} else {
-		testHelper.Success(t, "Should not be able to make a request to Traffic Ops")
-	}
-}

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/4df63f3a/traffic_stats/vendor/github.com/influxdata/influxdb/LICENSE
----------------------------------------------------------------------
diff --git a/traffic_stats/vendor/github.com/influxdata/influxdb/LICENSE b/traffic_stats/vendor/github.com/influxdata/influxdb/LICENSE
new file mode 100644
index 0000000..63cef79
--- /dev/null
+++ b/traffic_stats/vendor/github.com/influxdata/influxdb/LICENSE
@@ -0,0 +1,20 @@
+The MIT License (MIT)
+
+Copyright (c) 2013-2016 Errplane Inc.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+the Software, and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/4df63f3a/traffic_stats/vendor/github.com/influxdata/influxdb/LICENSE_OF_DEPENDENCIES.md
----------------------------------------------------------------------
diff --git a/traffic_stats/vendor/github.com/influxdata/influxdb/LICENSE_OF_DEPENDENCIES.md b/traffic_stats/vendor/github.com/influxdata/influxdb/LICENSE_OF_DEPENDENCIES.md
new file mode 100644
index 0000000..1228079
--- /dev/null
+++ b/traffic_stats/vendor/github.com/influxdata/influxdb/LICENSE_OF_DEPENDENCIES.md
@@ -0,0 +1,25 @@
+# List
+- bootstrap 3.3.5 [MIT LICENSE](https://github.com/twbs/bootstrap/blob/master/LICENSE)
+- collectd.org [ISC LICENSE](https://github.com/collectd/go-collectd/blob/master/LICENSE)
+- github.com/BurntSushi/toml [WTFPL LICENSE](https://github.com/BurntSushi/toml/blob/master/COPYING)
+- github.com/bmizerany/pat [MIT LICENSE](https://github.com/bmizerany/pat#license)
+- github.com/boltdb/bolt [MIT LICENSE](https://github.com/boltdb/bolt/blob/master/LICENSE)
+- github.com/cespare/xxhash [MIT LICENSE](https://github.com/cespare/xxhash/blob/master/LICENSE.txt)
+- github.com/davecgh/go-spew/spew [ISC LICENSE](https://github.com/davecgh/go-spew/blob/master/LICENSE)
+- github.com/dgrijalva/jwt-go [MIT LICENSE](https://github.com/dgrijalva/jwt-go/blob/master/LICENSE)
+- github.com/dgryski/go-bits [MIT LICENSE](https://github.com/dgryski/go-bits/blob/master/LICENSE)
+- github.com/dgryski/go-bitstream [MIT LICENSE](https://github.com/dgryski/go-bitstream/blob/master/LICENSE)
+- github.com/gogo/protobuf/proto [BSD LICENSE](https://github.com/gogo/protobuf/blob/master/LICENSE)
+- github.com/golang/snappy [BSD LICENSE](https://github.com/golang/snappy/blob/master/LICENSE)
+- github.com/influxdata/usage-client [MIT LICENSE](https://github.com/influxdata/usage-client/blob/master/LICENSE.txt)
+- github.com/jwilder/encoding [MIT LICENSE](https://github.com/jwilder/encoding/blob/master/LICENSE)
+- github.com/paulbellamy/ratecounter [MIT LICENSE](https://github.com/paulbellamy/ratecounter/blob/master/LICENSE)
+- github.com/peterh/liner [MIT LICENSE](https://github.com/peterh/liner/blob/master/COPYING)
+- github.com/rakyll/statik [APACHE LICENSE](https://github.com/rakyll/statik/blob/master/LICENSE)
+- github.com/retailnext/hllpp [BSD LICENSE](https://github.com/retailnext/hllpp/blob/master/LICENSE)
+- github.com/uber-go/atomic [MIT LICENSE](https://github.com/uber-go/atomic/blob/master/LICENSE.txt)
+- github.com/uber-go/zap [MIT LICENSE](https://github.com/uber-go/zap/blob/master/LICENSE.txt)
+- glyphicons [LICENSE](http://glyphicons.com/license/)
+- golang.org/x/crypto [BSD LICENSE](https://github.com/golang/crypto/blob/master/LICENSE)
+- jquery 2.1.4 [MIT LICENSE](https://github.com/jquery/jquery/blob/master/LICENSE.txt)
+- react 0.13.3 [BSD LICENSE](https://github.com/facebook/react/blob/master/LICENSE)

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/4df63f3a/traffic_stats/vendor/github.com/influxdata/influxdb/client/v2/client.go
----------------------------------------------------------------------
diff --git a/traffic_stats/vendor/github.com/influxdata/influxdb/client/v2/client.go b/traffic_stats/vendor/github.com/influxdata/influxdb/client/v2/client.go
index 4d0ce60..66c210d 100644
--- a/traffic_stats/vendor/github.com/influxdata/influxdb/client/v2/client.go
+++ b/traffic_stats/vendor/github.com/influxdata/influxdb/client/v2/client.go
@@ -1,5 +1,5 @@
 // Package client (v2) is the current official Go client for InfluxDB.
-package client // import "github.com/influxdata/influxdb/client/v2"
+package client
 
 import (
 	"bytes"