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 2016/11/21 20:52:17 UTC

[1/5] incubator-trafficcontrol git commit: add component licenses

Repository: incubator-trafficcontrol
Updated Branches:
  refs/heads/psql-rebase ed699216c -> 4c47364c7


add component licenses


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

Branch: refs/heads/psql-rebase
Commit: 91e91ccc64bf4b5a15bbac222b6c829247e6ecc9
Parents: f39c1fd
Author: Dan Kirkwood <da...@gmail.com>
Authored: Thu Nov 17 14:45:21 2016 -0700
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Thu Nov 17 14:45:21 2016 -0700

----------------------------------------------------------------------
 LICENSE | 323 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 323 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/91e91ccc/LICENSE
----------------------------------------------------------------------
diff --git a/LICENSE b/LICENSE
index d645695..da7fafb 100644
--- a/LICENSE
+++ b/LICENSE
@@ -200,3 +200,326 @@
    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.
+
+
+APACHE TRAFFICCONTROL SUBCOMPONENTS: 
+
+Apache TrafficControl includes a number of subcomponents with
+separate copyright notices and license terms. Your use of the source
+code for the these subcomponents is subject to the terms and
+conditions of the following licenses. 
+
+For the sphinx_rtd_theme component:
+
+The MIT License (MIT)
+
+Copyright (c) 2013 Dave Snider
+
+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.
+
+
+For the fontawesome component:
+
+/*
+ *  Font Awesome 4.2.0 by @davegandy - http://fontawesome.io - @fontawesome
+ *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
+ */
+ 
+For the bootstrap component:
+
+/*!
+ * Bootstrap v3.2.0 (http://getbootstrap.com)
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+
+For the sorttable component:
+
+/*
+  SortTable
+  version 2
+  7th April 2007
+  Stuart Langridge, http://www.kryogenix.org/code/browser/sorttable/
+
+  Instructions:
+  Download this file
+  Add <script src="sorttable.js"></script> to your HTML
+  Add class="sortable" to any table you'd like to make sortable
+  Click on the headers to sort
+
+  Thanks to many, many people for contributions and suggestions.
+  Licenced as X11: http://www.kryogenix.org/code/browser/licence.html
+  This basically means: do what you want with it.
+*/
+
+For the jquery component:
+
+/*!
+ * jQuery UI CSS Framework 1.11.2
+ * http://jqueryui.com
+ *
+ * Copyright 2014 jQuery Foundation and other contributors
+ * Released under the MIT license.
+ * http://jquery.org/license
+ *
+ * http://api.jqueryui.com/category/theming/
+ */
+
+For the jMenu component:
+
+/************************************************************************
+*************************************************************************
+@Name    :      jMenu - jQuery Plugin
+@Revison :      2.0
+@Date    :      08/2013
+@Author  :      ALPIXEL - (www.myjqueryplugins.com - www.alpixel.fr)
+@Support :      FF, IE7, IE8, MAC Firefox, MAC Safari
+@License :      Open Source - MIT License : http://www.opensource.org/licenses/mit-license.php
+
+**************************************************************************
+*************************************************************************/
+
+For the crossfilter component:
+
+Copyright 2012 Square, Inc.
+
+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.
+
+For the DataTables component:
+
+/**
+ * @summary     DataTables
+ * @description Paginate, search and order HTML tables
+ * @version     1.10.4
+ * @file        jquery.dataTables.js
+ * @author      SpryMedia Ltd (www.sprymedia.co.uk)
+ * @contact     www.sprymedia.co.uk/contact
+ * @copyright   Copyright 2008-2014 SpryMedia Ltd.
+ *
+ * This source file is free software, available under the following license:
+ *   MIT license - http://datatables.net/license
+ *
+ * This source file is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE. See the license files for details.
+ *
+ * For details please refer to: http://www.datatables.net
+ */
+
+For the percentagebar component:
+
+/* WebAppers Progress Bar, version 0.2
+* (c) 2007 Ray Cheung
+*
+* WebAppers Progress Bar is freely distributable under the terms of an Creative Commons license.
+* For details, see the WebAppers web site: http://wwww.Webappers.com/
+*
+/*--------------------------------------------------------------------------*/
+
+For the ng-map component:
+
+/**
+ * AngularJS Google Maps Ver. 1.17.3
+ *
+ * The MIT License (MIT)
+ * 
+ * Copyright (c) 2014, 2015, 1016 Allen Kim
+ * 
+ * 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.
+ */
+
+For the underscore component:
+
+//     Underscore.js 1.8.3
+//     http://underscorejs.org
+//     (c) 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
+//     Underscore may be freely distributed under the MIT license.
+
+
+For the selenium component:
+
+Copyright (c) 2012-2016 Miki Tebeka <mi...@gmail.com>.
+
+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.
+
+
+For the gmx component:
+
+Copyright (c) 2012, David Cheney
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright notice, this
+list of conditions and the following disclaimer.
+Redistributions in binary form must reproduce the above copyright notice, this
+list of conditions and the following disclaimer in the documentation and/or
+other materials provided with the distribution.
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+For the stoppableListener component:
+
+Copyright (c) 2014, Eric Urban
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this
+list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice,
+this list of conditions and the following disclaimer in the documentation
+and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.Copyright
+(c) 2012 The Go Authors. All rights reserved.
+
+
+For the fsnotify component:
+
+Copyright (c) 2012 fsnotify Authors. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+   * Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+   * Redistributions in binary form must reproduce the above
+copyright notice, this list of conditions and the following disclaimer
+in the documentation and/or other materials provided with the
+distribution.
+   * Neither the name of Google Inc. nor the names of its
+contributors may be used to endorse or promote products derived from
+this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+For the jwt-go component:
+
+Copyright (c) 2012 Dave Grijalva
+
+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.
+
+For the pq component:
+
+Copyright (c) 2011-2013, 'pq' Contributors
+Portions Copyright (C) 2011 Blake Mizerany
+
+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.


[3/5] incubator-trafficcontrol git commit: removed for future remerge see TC-48

Posted by da...@apache.org.
removed for future remerge see TC-48


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

Branch: refs/heads/psql-rebase
Commit: c8a7757d60a8153052d4fde9826173a7f4f4cb1a
Parents: 21f90c1
Author: Dewayne Richardson <de...@apache.org>
Authored: Mon Nov 21 13:22:36 2016 -0700
Committer: Dewayne Richardson <de...@apache.org>
Committed: Mon Nov 21 13:22:36 2016 -0700

----------------------------------------------------------------------
 .../Fixtures/SteeringDeliveryServiceUsers.pm    |  56 ---
 .../app/lib/Fixtures/SteeringDeliveryservice.pm | 380 ----------------
 .../Fixtures/SteeringDeliveryserviceRegex.pm    | 130 ------
 traffic_ops/app/lib/Fixtures/SteeringTarget.pm  |  75 ----
 traffic_ops/app/lib/Fixtures/SteeringType.pm    |  50 ---
 traffic_ops/app/lib/Fixtures/SteeringUsers.pm   |  90 ----
 traffic_ops/app/t/api/1.2/steering_internal.t   | 432 -------------------
 7 files changed, 1213 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/c8a7757d/traffic_ops/app/lib/Fixtures/SteeringDeliveryServiceUsers.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/Fixtures/SteeringDeliveryServiceUsers.pm b/traffic_ops/app/lib/Fixtures/SteeringDeliveryServiceUsers.pm
deleted file mode 100644
index 09a4bdf..0000000
--- a/traffic_ops/app/lib/Fixtures/SteeringDeliveryServiceUsers.pm
+++ /dev/null
@@ -1,56 +0,0 @@
-package Fixtures::SteeringDeliveryServiceUsers;
-
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you 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.
-
-use strict;
-use warnings FATAL => 'all';
-
-use Moose;
-extends 'DBIx::Class::EasyFixture';
-use namespace::autoclean;
-use Digest::SHA1 qw(sha1_hex);
-
-my %definition_for = (
-    ds_steering_user1 => {
-        new   => 'DeliveryserviceTmuser',
-        using => {
-            deliveryservice => 10001,
-            tm_user_id      => 101,
-        },
-    },
-        ds_steering_user2 => {
-        new   => 'DeliveryserviceTmuser',
-        using => {
-            deliveryservice => 10002,
-            tm_user_id      => 102,
-        },
-    },
-);
-
-sub get_definition {
-    my ( $self, $name ) = @_;
-    return $definition_for{$name};
-}
-
-sub all_fixture_names {
-    return keys %definition_for;
-}
-
-__PACKAGE__->meta->make_immutable;
-
-1;

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/c8a7757d/traffic_ops/app/lib/Fixtures/SteeringDeliveryservice.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/Fixtures/SteeringDeliveryservice.pm b/traffic_ops/app/lib/Fixtures/SteeringDeliveryservice.pm
deleted file mode 100644
index 62cca76..0000000
--- a/traffic_ops/app/lib/Fixtures/SteeringDeliveryservice.pm
+++ /dev/null
@@ -1,380 +0,0 @@
-package Fixtures::SteeringDeliveryservice;
-#
-#
-# 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.
-#
-#
-#
-use strict;
-use warnings FATAL => 'all';
-
-use Moose;
-extends 'DBIx::Class::EasyFixture';
-use namespace::autoclean;
-use Digest::SHA1 qw(sha1_hex);
-
-my %definition_for = (
-    target_filter_1 => {
-        new => 'Regex',
-        using => {
-            id => 21001,
-            pattern => '.*/force-to-one/.*',
-            type => 987,
-        },
-    },
-    target_filter_1_2 => {
-        new => 'Regex',
-        using => {
-            id => 21002,
-            pattern => '.*/force-to-one-also/.*',
-            type => 987,
-        },
-    },
-    target_filter_3 => {
-        new => 'Regex',
-        using => {
-            id => 21003,
-            pattern => '.*/use-three/.*',
-            type => 987,
-        },
-    },
-    target_filter_4 => {
-        new => 'Regex',
-        using => {
-            id => 21004,
-            pattern => '.*/go-to-four/.*',
-            type => 987,
-        },
-    },
-    hr_steering_1 => {
-        new => 'Regex',
-        using => {
-            id => 21101,
-            pattern => '.*\.steering-ds1\..*',
-            type => 19,
-        },
-    },
-    hr_steering_2 => {
-        new => 'Regex',
-        using => {
-            id => 21102,
-            pattern => '.*\.steering-ds2\..*',
-            type => 19,
-        },
-    },
-    hr_target_1 => {
-        new => 'Regex',
-        using => {
-            id => 22201,
-            pattern => '.*\.target-ds1\..*',
-            type => 19,
-        },
-    },
-    hr_target_2 => {
-        new => 'Regex',
-        using => {
-            id => 22202,
-            pattern => '.*\.target-ds2\..*',
-            type => 19,
-        },
-    },
-    hr_target_3 => {
-        new => 'Regex',
-        using => {
-            id => 22203,
-            pattern => '.*\.target-ds3\..*',
-            type => 19,
-        },
-    },
-    hr_target_4 => {
-        new => 'Regex',
-        using => {
-            id => 22204,
-            pattern => '.*\.target-ds4\..*',
-            type => 19,
-        },
-    },
-    hr_new_steering => {
-        new => 'Regex',
-        using => {
-            id => 21103,
-            pattern => '.*\.new-steering-ds\..*',
-            type => 19,
-        },
-    },
-    steering_ds1 => {
-        new   => 'Deliveryservice',
-        using => {
-            id                    => 10001,
-            xml_id                => 'steering-ds1',
-            active                => 1,
-            dscp                  => 40,
-            signed                => 0,
-            qstring_ignore        => 0,
-            geo_limit             => 0,
-            http_bypass_fqdn      => '',
-            dns_bypass_ip         => 'hokeypokey',
-            dns_bypass_ttl        => 10,
-            ccr_dns_ttl           => 3600,
-            global_max_mbps       => 0,
-            global_max_tps        => 0,
-            long_desc             => 'steering-ds1 long_desc',
-            long_desc_1           => 'steering-ds1 long_desc_1',
-            long_desc_2           => 'steering-ds1 long_desc_2',
-            max_dns_answers       => 0,
-            protocol              => 0,
-            org_server_fqdn       => 'http://steering-ds1.edge',
-            info_url              => 'http://steering-ds1.edge/info_url.html',
-            miss_lat              => '41.881944',
-            miss_long             => '-87.627778',
-            check_path            => '/crossdomain.xml',
-            type                  => 8,
-            profile               => 3,
-            cdn_id                => 1,
-            ipv6_routing_enabled  => 1,
-            protocol              => 1,
-            display_name          => 'steering-ds1-displayname',
-            initial_dispersion    => 1,
-            regional_geo_blocking => 1,
-        },
-    },
-    steering_ds2 => {
-        new   => 'Deliveryservice',
-        using => {
-            id                    => 10002,
-            xml_id                => 'steering-ds2',
-            active                => 1,
-            dscp                  => 40,
-            signed                => 0,
-            qstring_ignore        => 0,
-            geo_limit             => 0,
-            http_bypass_fqdn      => '',
-            dns_bypass_ip         => 'hokeypokey',
-            dns_bypass_ttl        => 10,
-            ccr_dns_ttl           => 3600,
-            global_max_mbps       => 0,
-            global_max_tps        => 0,
-            long_desc             => 'steering-ds2 long_desc',
-            long_desc_1           => 'steering-ds2 long_desc_1',
-            long_desc_2           => 'steering-ds2 long_desc_2',
-            max_dns_answers       => 0,
-            protocol              => 0,
-            org_server_fqdn       => 'http://steering-ds2.edge',
-            info_url              => 'http://steering-ds2.edge/info_url.html',
-            miss_lat              => '41.881944',
-            miss_long             => '-87.627778',
-            check_path            => '/crossdomain.xml',
-            type                  => 8,
-            profile               => 3,
-            cdn_id                => 1,
-            ipv6_routing_enabled  => 1,
-            protocol              => 1,
-            display_name          => 'steering-ds2-displayname',
-            initial_dispersion    => 1,
-            regional_geo_blocking => 1,
-        },
-    },
-    target_ds1 => {
-        new   => 'Deliveryservice',
-        using => {
-            id                    => 20001,
-            xml_id                => 'target-ds1',
-            active                => 1,
-            dscp                  => 40,
-            signed                => 0,
-            qstring_ignore        => 0,
-            geo_limit             => 0,
-            http_bypass_fqdn      => '',
-            dns_bypass_ip         => 'hokeypokey',
-            dns_bypass_ttl        => 10,
-            ccr_dns_ttl           => 3600,
-            global_max_mbps       => 0,
-            global_max_tps        => 0,
-            long_desc             => 'target-ds1 long_desc',
-            long_desc_1           => 'target-ds1 long_desc_1',
-            long_desc_2           => 'target-ds1 long_desc_2',
-            max_dns_answers       => 0,
-            protocol              => 0,
-            org_server_fqdn       => 'http://target-ds1.edge',
-            info_url              => 'http://target-ds1.edge/info_url.html',
-            miss_lat              => '41.881944',
-            miss_long             => '-87.627778',
-            check_path            => '/crossdomain.xml',
-            type                  => 8,
-            profile               => 3,
-            cdn_id                => 1,
-            ipv6_routing_enabled  => 1,
-            protocol              => 1,
-            display_name          => 'target-ds1-displayname',
-            initial_dispersion    => 1,
-            regional_geo_blocking => 1,
-        },
-    },
-    target_ds2 => {
-        new   => 'Deliveryservice',
-        using => {
-            id                    => 20002,
-            xml_id                => 'target-ds2',
-            active                => 1,
-            dscp                  => 40,
-            signed                => 0,
-            qstring_ignore        => 0,
-            geo_limit             => 0,
-            http_bypass_fqdn      => '',
-            dns_bypass_ip         => 'hokeypokey',
-            dns_bypass_ttl        => 10,
-            ccr_dns_ttl           => 3600,
-            global_max_mbps       => 0,
-            global_max_tps        => 0,
-            long_desc             => 'target-ds2 long_desc',
-            long_desc_1           => 'target-ds2 long_desc_1',
-            long_desc_2           => 'target-ds2 long_desc_2',
-            max_dns_answers       => 0,
-            protocol              => 0,
-            org_server_fqdn       => 'http://target-ds2.edge',
-            info_url              => 'http://target-ds2.edge/info_url.html',
-            miss_lat              => '41.881944',
-            miss_long             => '-87.627778',
-            check_path            => '/crossdomain.xml',
-            type                  => 8,
-            profile               => 3,
-            cdn_id                => 1,
-            ipv6_routing_enabled  => 1,
-            protocol              => 1,
-            display_name          => 'target-ds2-displayname',
-            initial_dispersion    => 1,
-            regional_geo_blocking => 1,
-        },
-    },
-    target_ds3 => {
-        new   => 'Deliveryservice',
-        using => {
-            id                    => 20003,
-            xml_id                => 'target-ds3',
-            active                => 1,
-            dscp                  => 40,
-            signed                => 0,
-            qstring_ignore        => 0,
-            geo_limit             => 0,
-            http_bypass_fqdn      => '',
-            dns_bypass_ip         => 'hokeypokey',
-            dns_bypass_ttl        => 10,
-            ccr_dns_ttl           => 3600,
-            global_max_mbps       => 0,
-            global_max_tps        => 0,
-            long_desc             => 'target-ds3 long_desc',
-            long_desc_1           => 'target-ds3 long_desc_1',
-            long_desc_2           => 'target-ds3 long_desc_2',
-            max_dns_answers       => 0,
-            protocol              => 0,
-            org_server_fqdn       => 'http://target-ds3.edge',
-            info_url              => 'http://target-ds3.edge/info_url.html',
-            miss_lat              => '41.881944',
-            miss_long             => '-87.627778',
-            check_path            => '/crossdomain.xml',
-            type                  => 8,
-            profile               => 3,
-            cdn_id                => 1,
-            ipv6_routing_enabled  => 1,
-            protocol              => 1,
-            display_name          => 'target-ds3-displayname',
-            initial_dispersion    => 1,
-            regional_geo_blocking => 1,
-        },
-    },
-    target_ds4 => {
-        new   => 'Deliveryservice',
-        using => {
-            id                    => 20004,
-            xml_id                => 'target-ds4',
-            active                => 1,
-            dscp                  => 40,
-            signed                => 0,
-            qstring_ignore        => 0,
-            geo_limit             => 0,
-            http_bypass_fqdn      => '',
-            dns_bypass_ip         => 'hokeypokey',
-            dns_bypass_ttl        => 10,
-            ccr_dns_ttl           => 3600,
-            global_max_mbps       => 0,
-            global_max_tps        => 0,
-            long_desc             => 'target-ds4 long_desc',
-            long_desc_1           => 'target-ds4 long_desc_1',
-            long_desc_2           => 'target-ds4 long_desc_2',
-            max_dns_answers       => 0,
-            protocol              => 0,
-            org_server_fqdn       => 'http://target-ds4.edge',
-            info_url              => 'http://target-ds4.edge/info_url.html',
-            miss_lat              => '41.881944',
-            miss_long             => '-87.627778',
-            check_path            => '/crossdomain.xml',
-            type                  => 8,
-            profile               => 3,
-            cdn_id                => 1,
-            ipv6_routing_enabled  => 1,
-            protocol              => 1,
-            display_name          => 'target-ds4-displayname',
-            initial_dispersion    => 1,
-            regional_geo_blocking => 1,
-        },
-    },
-    new_steering => {
-        new   => 'Deliveryservice',
-        using => {
-            id                    => 10003,
-            xml_id                => 'new-steering-ds',
-            active                => 1,
-            dscp                  => 40,
-            signed                => 0,
-            qstring_ignore        => 0,
-            geo_limit             => 0,
-            http_bypass_fqdn      => '',
-            dns_bypass_ip         => 'hokeypokey',
-            dns_bypass_ttl        => 10,
-            ccr_dns_ttl           => 3600,
-            global_max_mbps       => 0,
-            global_max_tps        => 0,
-            long_desc             => 'new-steering-ds long_desc',
-            long_desc_1           => 'new-steering-ds long_desc_1',
-            long_desc_2           => 'new-steering-ds long_desc_2',
-            max_dns_answers       => 0,
-            protocol              => 0,
-            org_server_fqdn       => 'http://new-steering-ds.edge',
-            info_url              => 'http://new-steering-ds.edge/info_url.html',
-            miss_lat              => '41.881944',
-            miss_long             => '-87.627778',
-            check_path            => '/crossdomain.xml',
-            type                  => 8,
-            profile               => 3,
-            cdn_id                => 1,
-            ipv6_routing_enabled  => 1,
-            protocol              => 1,
-            display_name          => 'new-steering-ds-displayname',
-            initial_dispersion    => 1,
-            regional_geo_blocking => 1,
-        },
-    },
-);
-
-sub get_definition {
-    my ( $self, $name ) = @_;
-    return $definition_for{$name};
-}
-
-sub all_fixture_names {
-    return keys %definition_for;
-}
-
-__PACKAGE__->meta->make_immutable;
-
-1;
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/c8a7757d/traffic_ops/app/lib/Fixtures/SteeringDeliveryserviceRegex.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/Fixtures/SteeringDeliveryserviceRegex.pm b/traffic_ops/app/lib/Fixtures/SteeringDeliveryserviceRegex.pm
deleted file mode 100644
index bac033a..0000000
--- a/traffic_ops/app/lib/Fixtures/SteeringDeliveryserviceRegex.pm
+++ /dev/null
@@ -1,130 +0,0 @@
-package Fixtures::SteeringDeliveryserviceRegex;
-
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you 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.
-
-use strict;
-use warnings FATAL => 'all';
-
-use Moose;
-extends 'DBIx::Class::EasyFixture';
-use namespace::autoclean;
-
-my %definition_for = (
-    target_r1_filter => {
-        new   => 'DeliveryserviceRegex',
-        using => {
-            deliveryservice => 20001,
-            regex           => 21001,
-            set_number      => 0,
-        },
-    },
-    target_r2_filter => {
-        new   => 'DeliveryserviceRegex',
-        using => {
-            deliveryservice => 20001,
-            regex           => 21002,
-            set_number      => 0,
-        },
-    },
-    target_r3_filter => {
-        new   => 'DeliveryserviceRegex',
-        using => {
-            deliveryservice => 20003,
-            regex           => 21003,
-            set_number      => 0,
-        },
-    },
-    target_r4_filter => {
-        new   => 'DeliveryserviceRegex',
-        using => {
-            deliveryservice => 20004,
-            regex           => 21004,
-            set_number      => 0,
-        },
-    },
-    steering_1 => {
-        new   => 'DeliveryserviceRegex',
-        using => {
-            deliveryservice => 10001,
-            regex           => 21101,
-            set_number      => 0,
-        },
-    },
-    steering_2 => {
-        new   => 'DeliveryserviceRegex',
-        using => {
-            deliveryservice => 10002,
-            regex           => 21102,
-            set_number      => 0,
-        },
-    },
-    target_1 => {
-        new   => 'DeliveryserviceRegex',
-        using => {
-            deliveryservice => 20001,
-            regex           => 22201,
-            set_number      => 0,
-        },
-    },
-    target_2 => {
-        new   => 'DeliveryserviceRegex',
-        using => {
-            deliveryservice => 20002,
-            regex           => 22202,
-            set_number      => 0,
-        },
-    },
-    target_3 => {
-        new   => 'DeliveryserviceRegex',
-        using => {
-            deliveryservice => 20003,
-            regex           => 22203,
-            set_number      => 0,
-        },
-    },
-    target_4 => {
-        new   => 'DeliveryserviceRegex',
-        using => {
-            deliveryservice => 20004,
-            regex           => 22204,
-            set_number      => 0,
-        },
-    },
-    new_steering => {
-        new   => 'DeliveryserviceRegex',
-        using => {
-            deliveryservice => 10003,
-            regex           => 21103,
-            set_number      => 0,
-        },
-    },
-);
-
-
-sub get_definition {
-    my ( $self, $name ) = @_;
-    return $definition_for{$name};
-}
-
-sub all_fixture_names {
-    return keys %definition_for;
-}
-
-__PACKAGE__->meta->make_immutable;
-
-1;

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/c8a7757d/traffic_ops/app/lib/Fixtures/SteeringTarget.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/Fixtures/SteeringTarget.pm b/traffic_ops/app/lib/Fixtures/SteeringTarget.pm
deleted file mode 100644
index a09e48a..0000000
--- a/traffic_ops/app/lib/Fixtures/SteeringTarget.pm
+++ /dev/null
@@ -1,75 +0,0 @@
-package Fixtures::SteeringTarget;
-
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you 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.
-
-use strict;
-use warnings FATAL => 'all';
-
-use Moose;
-extends 'DBIx::Class::EasyFixture';
-use namespace::autoclean;
-use Digest::SHA1 qw(sha1_hex);
-
-
-my %definition_for = (
-    steering_target_1 => {
-        new => 'SteeringTarget',
-        using => {
-            deliveryservice => 10001,
-            target => 20001,
-            weight => 1000,
-        }
-    },
-    steering_target_2 => {
-        new => 'SteeringTarget',
-        using => {
-            deliveryservice => 10001,
-            target => 20002,
-            weight => 7654,
-        }
-    },
-    steering_target_3 => {
-        new => 'SteeringTarget',
-        using => {
-            deliveryservice => 10002,
-            target => 20003,
-            weight => 123,
-        }
-    },
-    steering_target_4 => {
-        new => 'SteeringTarget',
-        using => {
-            deliveryservice => 10002,
-            target => 20004,
-            weight => 999,
-        }
-    },
-);
-
-sub get_definition {
-    my ( $self, $name ) = @_;
-    return $definition_for{$name};
-}
-
-sub all_fixture_names {
-    return keys %definition_for;
-}
-
-__PACKAGE__->meta->make_immutable;
-
-1;

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/c8a7757d/traffic_ops/app/lib/Fixtures/SteeringType.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/Fixtures/SteeringType.pm b/traffic_ops/app/lib/Fixtures/SteeringType.pm
deleted file mode 100644
index eb87fd4..0000000
--- a/traffic_ops/app/lib/Fixtures/SteeringType.pm
+++ /dev/null
@@ -1,50 +0,0 @@
-package Fixtures::SteeringType;
-
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you 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.
-
-use strict;
-use warnings FATAL => 'all';
-
-use Moose;
-extends 'DBIx::Class::EasyFixture';
-use namespace::autoclean;
-use Digest::SHA1 qw(sha1_hex);
-
-my %definition_for = (
-    STEERING_REGEXP => {
-        new   => 'Type',
-        using => {
-            id           => 987,
-            name         => 'STEERING_REGEXP',
-            description  => 'Steering target filter regular expression',
-            use_in_table => 'regex',
-        },
-    },
-);
-
-sub get_definition {
-    my ( $self, $name ) = @_;
-    return $definition_for{$name};
-}
-
-sub all_fixture_names {
-    return keys %definition_for;
-}
-
-__PACKAGE__->meta->make_immutable;
-1;

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/c8a7757d/traffic_ops/app/lib/Fixtures/SteeringUsers.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/Fixtures/SteeringUsers.pm b/traffic_ops/app/lib/Fixtures/SteeringUsers.pm
deleted file mode 100644
index de30cac..0000000
--- a/traffic_ops/app/lib/Fixtures/SteeringUsers.pm
+++ /dev/null
@@ -1,90 +0,0 @@
-package Fixtures::SteeringUsers;
-
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you 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.
-
-use strict;
-use warnings FATAL => 'all';
-
-use Moose;
-extends 'DBIx::Class::EasyFixture';
-use namespace::autoclean;
-use Digest::SHA1 qw(sha1_hex);
-
-my $local_passwd   = sha1_hex('password');
-my %definition_for = (
-    steering1 => {
-        new   => 'TmUser',
-        using => {
-            id                   => 101,
-            username             => 'steering1',
-            role                 => 8,
-            uid                  => '1',
-            gid                  => '1',
-            local_passwd         => $local_passwd,
-            confirm_local_passwd => $local_passwd,
-            full_name            => 'The steering User 1',
-            email                => 'steering1@kabletown.com',
-            new_user             => '1',
-            address_line1        => 'address_line1',
-            address_line2        => 'address_line2',
-            city                 => 'city',
-            state_or_province    => 'state_or_province',
-            phone_number         => '333-333-3333',
-            postal_code          => '80123',
-            country              => 'United States',
-            token                => '',
-            registration_sent    => '1999-01-01 00:00:00',
-        },
-    },
-        steering2 => {
-        new   => 'TmUser',
-        using => {
-            id                   => 102,
-            username             => 'steering2',
-            role                 => 8,
-            uid                  => '1',
-            gid                  => '1',
-            local_passwd         => $local_passwd,
-            confirm_local_passwd => $local_passwd,
-            full_name            => 'The steering User 2',
-            email                => 'steering2@kabletown.com',
-            new_user             => '1',
-            address_line1        => 'address_line1',
-            address_line2        => 'address_line2',
-            city                 => 'city',
-            state_or_province    => 'state_or_province',
-            phone_number         => '333-333-3333',
-            postal_code          => '80123',
-            country              => 'United States',
-            token                => '',
-            registration_sent    => '1999-01-01 00:00:00',
-        },
-    },
-);
-
-sub get_definition {
-    my ( $self, $name ) = @_;
-    return $definition_for{$name};
-}
-
-sub all_fixture_names {
-    return keys %definition_for;
-}
-
-__PACKAGE__->meta->make_immutable;
-1;

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/c8a7757d/traffic_ops/app/t/api/1.2/steering_internal.t
----------------------------------------------------------------------
diff --git a/traffic_ops/app/t/api/1.2/steering_internal.t b/traffic_ops/app/t/api/1.2/steering_internal.t
deleted file mode 100644
index b1cda5c..0000000
--- a/traffic_ops/app/t/api/1.2/steering_internal.t
+++ /dev/null
@@ -1,432 +0,0 @@
-package main;
-
-#
-#
-# 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.
-#
-use Mojo::Base -strict;
-use Test::More;
-use Test::Mojo;
-use DBI;
-use Schema;
-use strict;
-use warnings;
-use Test::TestHelper;
-use Fixtures::TmUser;
-use Fixtures::SteeringUsers;
-use Fixtures::SteeringType;
-use Fixtures::SteeringDeliveryservice;
-use Fixtures::SteeringDeliveryserviceRegex;
-use Fixtures::SteeringTarget;
-use Fixtures::SteeringDeliveryServiceUsers;
-
-BEGIN { $ENV{MOJO_MODE} = "test" }
-
-my $t      = Test::Mojo->new("TrafficOps");
-my $dbh    = Schema->database_handle;
-my $schema = Schema->connect_to_database;
-
-#unload data for a clean test
-Test::TestHelper->unload_core_data($schema);
-Test::TestHelper->teardown( $schema, "SteeringTarget" );
-
-#load core test data
-Test::TestHelper->load_core_data($schema);
-
-my $schema_values = { schema => $schema, no_transactions => 1 };
-
-my $steering_users = Fixtures::SteeringUsers->new($schema_values);
-Test::TestHelper->load_all_fixtures($steering_users);
-
-my $steering_type = Fixtures::SteeringType->new($schema_values);
-Test::TestHelper->load_all_fixtures($steering_type);
-
-my $steering_deliveryservice = Fixtures::SteeringDeliveryservice->new($schema_values);
-Test::TestHelper->load_all_fixtures($steering_deliveryservice);
-
-my $steering_deliveryservice_regex = Fixtures::SteeringDeliveryserviceRegex->new($schema_values);
-Test::TestHelper->load_all_fixtures($steering_deliveryservice_regex);
-
-my $steering_target = Fixtures::SteeringTarget->new($schema_values);
-Test::TestHelper->load_all_fixtures($steering_target);
-
-my $steering_deliveryservice_users = Fixtures::SteeringDeliveryServiceUsers->new($schema_values);
-Test::TestHelper->load_all_fixtures($steering_deliveryservice_users);
-
-####### Unauthorized User ################################################################################
-ok $t->post_ok( "/api/1.2/user/login", => json => { u => Test::TestHelper::CODEBIG_USER, p => Test::TestHelper::CODEBIG_PASSWORD } )
-    ->status_is(200)
-    ->or( sub { diag $t->tx->res->content->asset->{content}; } );
-
-$t->get_ok("/internal/api/1.2/steering.json")
-    ->status_is(401)
-    ->or( sub { diag $t->tx->res->headers->to_string(); } );
-
-$t->post_ok("/api/1.2/user/logout")->status_is(200);
-
-####### Administrator ##################################################################################
-ok $t->post_ok( "/api/1.2/user/login", => json => { u => Test::TestHelper::ADMIN_USER, p => Test::TestHelper::ADMIN_USER_PASSWORD } )
-        ->status_is(200)
-        ->or( sub { diag $t->tx->res->content->asset->{content}; } );
-
-ok $t->get_ok("/internal/api/1.2/steering.json")->status_is(200)
-        ->or( sub { diag $t->tx->res->headers->to_string(); } )
-    ->json_is("/response/0/deliveryService", "steering-ds1")
-    ->json_is("/response/0/targets/0/deliveryService", "target-ds1")
-    ->json_is("/response/0/targets/0/weight", 1000)
-    ->json_is("/response/0/filters/0/deliveryService", "target-ds1")
-    ->json_is("/response/0/filters/0/pattern", ".*/force-to-one-also/.*")
-    ->json_is("/response/0/filters/1/deliveryService", "target-ds1")
-    ->json_is("/response/0/filters/1/pattern", ".*/force-to-one/.*")
-    ->json_is("/response/0/targets/1/deliveryService", "target-ds2")
-    ->json_is("/response/0/targets/1/weight", 7654)
-    ->json_is("/response/1/deliveryService", "steering-ds2")
-    ->json_is("/response/1/targets/0/deliveryService", "target-ds3")
-    ->json_is("/response/1/targets/0/weight", 123)
-    ->json_is("/response/1/filters/0/pattern", ".*/use-three/.*")
-    ->json_is("/response/1/filters/0/deliveryService", "target-ds3")
-    ->json_is("/response/1/targets/1/deliveryService", "target-ds4")
-    ->json_is("/response/1/targets/1/weight", 999)
-    ->json_is("/response/1/filters/1/pattern", ".*/go-to-four/.*")
-    ->json_is("/response/1/filters/1/deliveryService", "target-ds4");
-
-ok $t->get_ok("/internal/api/1.2/steering/steering-ds1.json")->status_is(200)
-    ->or(sub {diag $t->tx->res->headers->to_string();})
-        ->json_is("/response/deliveryService", "steering-ds1")
-        ->json_is("/response/targets/0/deliveryService", "target-ds1")
-        ->json_is("/response/targets/0/weight", 1000)
-        ->json_is("/response/filters/0/pattern", ".*/force-to-one-also/.*")
-        ->json_is("/response/filters/1/pattern", ".*/force-to-one/.*");
-
-ok $t->post_ok("/internal/api/1.2/steering",
-        json => {
-            "stuff" => "junk",
-        }
-    )->status_is(400)
-        ->or(sub {diag $t->tx->res->headers->to_string();});
-
-ok $t->post_ok("/internal/api/1.2/steering",
-        json => {
-            "deliveryService" => "steering-ds1"
-        }
-    )->status_is(400)
-        ->or(sub {diag $t->tx->res->headers->to_string();});
-
-ok $t->post_ok("/internal/api/1.2/steering",
-        json => {
-            "deliveryService" => "steering-ds1",
-            "targets" => "stuff"
-        }
-    )->status_is(400)
-        ->or(sub {diag $t->tx->res->headers->to_string();});
-
-ok $t->post_ok("/internal/api/1.2/steering",
-        json => {
-            "deliveryService" => "steering-ds1",
-            "targets" => [
-                {"deliveryService" => "example"},
-                {"woops" => "example"},
-            ]
-        }
-    )->status_is(400)
-        ->or(sub {diag $t->tx->res->headers->to_string();});
-
-ok $t->post_ok("/internal/api/1.2/steering",
-        json => {
-            "deliveryService" => "nonexistent-ds",
-            "targets" => [
-                {"deliveryService" => "target-ds1"},
-                {"deliveryService" => "target-ds3"}
-            ]
-        }
-    )->status_is(409)
-        ->or(sub {diag $t->tx->res->headers->to_string();});
-
-ok $t->post_ok("/internal/api/1.2/steering",
-        json => {
-            "deliveryService" => "steering-ds1",
-            "targets" => [
-                {"deliveryService" => "nonexistent-ds1"},
-                {"deliveryService" => "target-ds3"}
-            ]
-        }
-    )->status_is(409)
-        ->or(sub {diag $t->tx->res->headers->to_string();});
-
-ok $t->post_ok("/internal/api/1.2/steering",
-        json => {
-            "deliveryService" => "new-steering-ds",
-            "targets" => [
-                {"deliveryService" => "target-ds1"},
-                {"deliveryService" => "target-ds3"}
-            ]
-        }
-    )->status_is(201)
-        ->header_is('Location', "/internal/api/1.2/steering/new-steering-ds.json")
-        ->or(sub {diag $t->tx->res->headers->to_string();});
-
-$t->post_ok("/api/1.2/user/logout")->status_is(200);
-
-####### Steering User 1 ################################################################################
-ok $t->post_ok( "/api/1.2/user/login", => json => { u => Test::TestHelper::STEERING_USER_1, p => Test::TestHelper::STEERING_PASSWORD_1 } )
-        ->status_is(200)
-        ->or( sub { diag $t->tx->res->content->asset->{content}; } );
-
-ok $t->get_ok("/internal/api/1.2/steering.json")->status_is(200)
-    ->or( sub { diag $t->tx->res->headers->to_string(); } )
-    ->json_is("/response/0/deliveryService", "steering-ds1")
-    ->json_is("/response/0/targets/0/deliveryService", "target-ds1")
-    ->json_is("/response/0/targets/0/weight", 1000)
-    ->json_is("/response/0/filters/0/pattern", ".*/force-to-one-also/.*")
-    ->json_is("/response/0/filters/1/pattern", ".*/force-to-one/.*")
-    ->json_hasnt("/response/0/filters/2/pattern")
-    ->json_is("/response/0/targets/1/deliveryService", "target-ds2")
-    ->json_is("/response/0/targets/1/weight", 7654)
-    ->json_hasnt("/response/0/filters/1/filter/0")
-    ->json_hasnt("/response/1");
-
-ok $t->post_ok("/internal/api/1.2/steering", json => { "something" => "value" } )->status_is(401)
-    ->or(sub {diag $t->tx->res->headers->to_string();});
-
-ok $t->get_ok("/internal/api/1.2/steering/steering-ds2.json")->status_is(404)
-    ->or( sub { diag $t->tx->res->content->asset->{content}; } );
-
-ok $t->put_ok("/internal/api/1.2/steering/steering-ds2", json => {"any" => "thing"})->status_is(401)
-    ->or( sub { diag $t->tx->res->headers->to_string(); } );
-
-ok $t->put_ok("/internal/api/1.2/steering/steering-ds1",
-    json =>  {
-            "targets" => [
-                { "deliveryService" => "target-ds1", "weight" => 5555 },
-                { "deliveryService" => "target-ds2", "weight" => 4444 }
-            ],
-            "filters" => [
-                {
-                    "deliveryService" => "target-ds3",
-                    "pattern" => ".*/force-to-one/.*"
-                },
-            ]
-        })
-    ->status_is(409);
-
-ok $t->put_ok("/internal/api/1.2/steering/steering-ds1",
-        json => {
-            "targets" => [
-                {
-                    "deliveryService" => "target-ds1",
-                    "weight" => 5555
-                },
-                {
-                    "deliveryService" => "target-ds2",
-                    "weight" => 4444
-                }
-            ],
-            "filters" => [
-                {
-                    "deliveryService" => "target-ds1",
-                    "pattern" => ".*/force-to-one/.*"
-                },
-                {
-                    "deliveryService" => "target-ds1",
-                    "pattern" => ".*/andnowforsomethingcompletelydifferent/.*"
-                },
-                {
-                    "deliveryService" => "target-ds2",
-                    "pattern" => ".*/always-two/.*"
-                },
-            ]
-        })
-    ->status_is(200)->or(sub { diag $t->tx->res->headers->to_string(); })
-    ->json_is("/response/deliveryService", "steering-ds1")
-    ->json_is("/response/targets/0/deliveryService", "target-ds1")
-    ->json_is("/response/targets/0/weight", 5555)
-    ->json_is("/response/targets/1/deliveryService", "target-ds2")
-    ->json_is("/response/targets/1/weight", 4444)
-    ->json_is("/response/filters/0/pattern", ".*/andnowforsomethingcompletelydifferent/.*")
-    ->json_is("/response/filters/1/pattern", ".*/force-to-one/.*")
-    ->json_is("/response/filters/2/pattern", ".*/always-two/.*" );
-
-ok $t->get_ok("/internal/api/1.2/steering/steering-ds1.json")
-    ->status_is(200)->or(sub { diag $t->tx->res->headers->to_string(); })
-    ->json_is("/response/deliveryService", "steering-ds1")
-    ->json_is("/response/targets/0/deliveryService", "target-ds1")
-    ->json_is("/response/targets/0/weight", 5555)
-    ->json_is("/response/targets/1/deliveryService", "target-ds2")
-    ->json_is("/response/targets/1/weight", 4444)
-    ->json_is("/response/filters/0/pattern", ".*/andnowforsomethingcompletelydifferent/.*")
-    ->json_is("/response/filters/1/pattern", ".*/force-to-one/.*")
-    ->json_is("/response/filters/2/pattern", ".*/always-two/.*" );
-
-ok $t->put_ok("/internal/api/1.2/steering/steering-ds1",
-        json => {
-            "targets" => [
-                {
-                    "deliveryService" => "target-ds1",
-                    "weight" => 1111
-                },
-                {
-                    "deliveryService" => "target-ds2",
-                    "weight" => 8888
-                }
-            ]
-        })
-        ->status_is(200)->or(sub { diag $t->tx->res->headers->to_string(); })
-        ->json_is("/response/deliveryService", "steering-ds1")
-        ->json_is("/response/targets/0/deliveryService", "target-ds1")
-        ->json_is("/response/targets/0/weight", 1111)
-        ->json_hasnt("/response/filter/0/pattern")
-        ->json_is("/response/targets/1/deliveryService", "target-ds2")
-        ->json_is("/response/targets/1/weight", 8888)
-        ->json_is("/response/filters/2/pattern", ".*/always-two/.*" );
-
-ok $t->get_ok("/internal/api/1.2/steering/steering-ds1.json")
-        ->status_is(200)->or(sub { diag $t->tx->res->headers->to_string(); })
-        ->json_is("/response/deliveryService", "steering-ds1")
-        ->json_is("/response/targets/0/deliveryService", "target-ds1")
-        ->json_is("/response/targets/0/weight", 1111)
-        ->json_hasnt("/response/filter/0/pattern")
-        ->json_is("/response/targets/1/deliveryService", "target-ds2")
-        ->json_is("/response/targets/1/weight", 8888)
-        ->json_is("/response/filters/2/pattern", ".*/always-two/.*" );
-
-#bad json
-ok $t->put_ok("/internal/api/1.2/steering/steering-ds1",
-    json => {"foo" => "bar"})
-    ->status_is(400)
-    ->json_is("/message", "please provide a valid json including targets");
-
-#remove filters for single DS
-ok $t->put_ok("/internal/api/1.2/steering/steering-ds1",
-        json => {
-            "targets" => [
-                {
-                    "deliveryService" => "target-ds1",
-                    "weight" => 5555
-                },
-                {
-                    "deliveryService" => "target-ds2",
-                    "weight" => 4444
-                }
-            ],
-            "filters" => [
-                {
-                    "deliveryService" => "target-ds1",
-                    "pattern" => ".*/force-to-one/.*"
-                }
-            ]
-        })
-    ->status_is(200)->or(sub { diag $t->tx->res->headers->to_string(); })
-    ->json_is("/response/deliveryService", "steering-ds1")
-    ->json_is("/response/targets/0/deliveryService", "target-ds1")
-    ->json_is("/response/targets/0/weight", 5555)
-    ->json_is("/response/targets/1/deliveryService", "target-ds2")
-    ->json_is("/response/targets/1/weight", 4444)
-    ->json_hasnt("/response/filters/1/pattern");
-
-    #remove all filters
-ok $t->put_ok("/internal/api/1.2/steering/steering-ds1",
-        json => {
-            "targets" => [
-                {
-                    "deliveryService" => "target-ds1",
-                    "weight" => 5555
-                },
-                {
-                    "deliveryService" => "target-ds2",
-                    "weight" => 4444
-                }
-            ],
-            "filters" => []
-        })
-    ->status_is(200)->or(sub { diag $t->tx->res->headers->to_string(); })
-    ->json_is("/response/deliveryService", "steering-ds1")
-    ->json_is("/response/targets/0/deliveryService", "target-ds1")
-    ->json_is("/response/targets/0/weight", 5555)
-    ->json_is("/response/targets/1/deliveryService", "target-ds2")
-    ->json_is("/response/targets/1/weight", 4444)
-    ->json_hasnt("/response/filters/0/pattern");
-
-#invalid json
-ok $t->put_ok("/internal/api/1.2/steering/steering-ds1",
-        json => {
-            "targets" => [
-                {
-                    "deliveryService" => "target-ds1",
-                    "weight" => 5555
-                },
-                {
-                    "deliveryService" => "target-ds2",
-                    "weight" => 4444
-                }
-            ],
-            "filters" => [
-            {
-                    "pattern" => ".*/force-to-one/.*"
-                }
-            ]
-        })
-    ->status_is(400)
-    ->json_is("/message", "please provide a valid json for filters");
-
-ok $t->put_ok("/internal/api/1.2/steering/steering-ds1",
-        json => {
-            "targets" => [
-                {
-                    "deliveryService" => "target-ds1",
-                    "weight" => 5555
-                },
-                {
-                    "deliveryService" => "target-ds2",
-                    "weight" => 4444
-                }
-            ],
-            "filters" => [
-            {
-                    "deliveryService" => "target-ds1"
-                }
-            ]
-        })
-    ->status_is(400)
-    ->json_is("/message", "please provide a valid json for filters");
-
-ok $t->put_ok("/internal/api/1.2/steering/steering-ds1",
-        json => {
-            "filters" => [
-            {
-                    "deliveryService" => "target-ds1",
-                    "pattern" => ".*/force-to-one/.*"
-                }
-            ]
-        })
-    ->status_is(400)->json_is("/message", "please provide a valid json including targets");
-
-ok $t->put_ok("/internal/api/1.2/steering/steering-ds1",
-        json => {
-            "targets" => [
-                {
-                    "deliveryService" => "target-ds1",
-                },
-                {
-                    "deliveryService" => "target-ds2",
-                    "weight" => 4444
-                }
-            ]
-        })
-    ->status_is(400)->json_is("/message", "please provide a valid json for targets");
-
-
-$t->post_ok("/api/1.2/user/logout")->status_is(200);
-
-$dbh->disconnect();
-done_testing();
-



[5/5] incubator-trafficcontrol git commit: Merge branch 'master' of github.com:apache/incubator-trafficcontrol into psql-rebase

Posted by da...@apache.org.
Merge branch 'master' of github.com:apache/incubator-trafficcontrol into psql-rebase


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

Branch: refs/heads/psql-rebase
Commit: 4c47364c77c356a1c7cca43bb49432af974ac9f4
Parents: ed69921 ca648d9
Author: Dan Kirkwood <da...@gmail.com>
Authored: Mon Nov 21 13:51:00 2016 -0700
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Mon Nov 21 13:51:00 2016 -0700

----------------------------------------------------------------------
 traffic_ops/app/lib/Fixtures/SteeringTarget.pm | 76 ---------------------
 1 file changed, 76 deletions(-)
----------------------------------------------------------------------



[2/5] incubator-trafficcontrol git commit: This closes #92

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


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

Branch: refs/heads/psql-rebase
Commit: 21f90c164119553d931c5f53950c53e9b7af1f33
Parents: 91e91cc
Author: Jeremy Mitchell <mi...@gmail.com>
Authored: Thu Nov 17 16:44:38 2016 -0700
Committer: Jeremy Mitchell <mi...@gmail.com>
Committed: Thu Nov 17 16:44:38 2016 -0700

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

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



[4/5] incubator-trafficcontrol git commit: This closes #101

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


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

Branch: refs/heads/psql-rebase
Commit: ca648d90cadb1882e912a86add630c5ca97fddfe
Parents: c8a7757
Author: Jeremy Mitchell <mi...@gmail.com>
Authored: Mon Nov 21 13:27:45 2016 -0700
Committer: Jeremy Mitchell <mi...@gmail.com>
Committed: Mon Nov 21 13:27:45 2016 -0700

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

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