You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by da...@apache.org on 2017/06/30 22:42:15 UTC

[45/52] [partial] incubator-trafficcontrol git commit: promotes TO experimental UI to the new Traffic Portal

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/dialog/select/DialogSelectController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/dialog/select/DialogSelectController.js b/traffic_ops/experimental/ui/app/src/common/modules/dialog/select/DialogSelectController.js
deleted file mode 100644
index 84ac0e9..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/dialog/select/DialogSelectController.js
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * 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.
- */
-
-var DialogSelectController = function(params, collection, $scope, $uibModalInstance) {
-
-	$scope.params = params;
-
-	$scope.collection = collection;
-
-	$scope.selectedItemId = null;
-
-	$scope.select = function() {
-		var selectedItem = _.find(collection, function(item){ return parseInt(item.id) == parseInt($scope.selectedItemId) });
-		$uibModalInstance.close(selectedItem);
-	};
-
-	$scope.cancel = function () {
-		$uibModalInstance.dismiss('cancel');
-	};
-
-};
-
-DialogSelectController.$inject = ['params', 'collection', '$scope', '$uibModalInstance'];
-module.exports = DialogSelectController;

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/dialog/select/dialog.select.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/dialog/select/dialog.select.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/dialog/select/dialog.select.tpl.html
deleted file mode 100644
index 568935d..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/dialog/select/dialog.select.tpl.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<!--
-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.
--->
-
-<div class="modal-header">
-    <button type="button" class="close" ng-click="cancel()"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
-    <h4 class="modal-title">{{::params.title}}</h4>
-</div>
-<div class="modal-body">
-    <p>{{::params.message}}</p>
-    <form name="selectForm" novalidate>
-        <select id="cdn" name="cdn" class="form-control" ng-model="selectedItemId" ng-options="item.id as item.name for item in collection" required>
-            <option value="">Select...</option>
-        </select>
-    </form>
-</div>
-<div class="modal-footer">
-    <button class="btn btn-link" ng-click="cancel()">Cancel</button>
-    <button class="btn btn-primary" ng-disabled="selectForm.$invalid" ng-click="select()">Submit</button>
-</div>

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/dialog/select/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/dialog/select/index.js b/traffic_ops/experimental/ui/app/src/common/modules/dialog/select/index.js
deleted file mode 100644
index 56480ac..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/dialog/select/index.js
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * 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.
- */
-
-module.exports = angular.module('trafficPortal.dialog.select', [])
-	.controller('DialogSelectController', require('./DialogSelectController'));

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/dialog/select/status/DialogSelectStatusController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/dialog/select/status/DialogSelectStatusController.js b/traffic_ops/experimental/ui/app/src/common/modules/dialog/select/status/DialogSelectStatusController.js
deleted file mode 100644
index 6bdf02e..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/dialog/select/status/DialogSelectStatusController.js
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * 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.
- */
-
-var DialogSelectStatusController = function(server, statuses, $scope, $uibModalInstance) {
-
-	$scope.server = server;
-
-	$scope.statuses = statuses;
-
-	$scope.selectedStatusId = null;
-
-	$scope.status = {
-		id: null,
-		name: null,
-		offlineReason: null
-	};
-
-	$scope.select = function() {
-		var selectedStatus = _.find(statuses, function(status){ return parseInt(status.id) == parseInt($scope.selectedStatusId) });
-		$scope.status.id = selectedStatus.id;
-		$scope.status.name = selectedStatus.name;
-		$uibModalInstance.close($scope.status);
-	};
-
-	$scope.needsUpdates = function(server) {
-		return (server.type.indexOf('EDGE') != -1) || (server.type.indexOf('MID') != -1);
-	};
-
-	$scope.cancel = function () {
-		$uibModalInstance.dismiss('cancel');
-	};
-
-	$scope.offline = function () {
-		var selectedStatus = _.find(statuses, function(status){ return parseInt(status.id) == parseInt($scope.selectedStatusId) });
-		return selectedStatus && (selectedStatus.name == "ADMIN_DOWN" || selectedStatus.name == "OFFLINE");
-	};
-
-};
-
-DialogSelectStatusController.$inject = ['server', 'statuses', '$scope', '$uibModalInstance'];
-module.exports = DialogSelectStatusController;

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/dialog/select/status/dialog.select.status.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/dialog/select/status/dialog.select.status.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/dialog/select/status/dialog.select.status.tpl.html
deleted file mode 100644
index 335a190..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/dialog/select/status/dialog.select.status.tpl.html
+++ /dev/null
@@ -1,55 +0,0 @@
-<!--
-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.
--->
-
-<div class="modal-header">
-    <button type="button" class="close" ng-click="cancel()"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
-    <h4 class="modal-title">Update {{::server.hostName}} status</h4>
-    <h5 ng-if="needsUpdates(server)">Note: Config file updates will be queued on ALL child caches</h5>
-</div>
-<div class="modal-body">
-    <form name="statusForm" novalidate>
-        <div class="row">
-            <div class="col-sm-12 col-md-12">
-                <div class="form-group" ng-class="{'has-error': hasError(statusForm.status), 'has-feedback': hasError(statusForm.status)}">
-                    <label class="control-label" for="status">Status *
-                        <small class="input-error" ng-show="hasPropertyError(statusForm.status, 'required')">Required</small>
-                    </label>
-                    <select id="status" name="status" class="form-control" ng-model="selectedStatusId" ng-options="status.id as status.name for status in statuses" required>
-                        <option value="">Select...</option>
-                    </select>
-                </div>
-            </div>
-        </div>
-        <div class="row" ng-show="offline()">
-            <div class="col-sm-12 col-md-12">
-                <div class="form-group" ng-class="{'has-error': hasError(statusForm.offlineReason), 'has-feedback': hasError(statusForm.offlineReason)}">
-                    <label class="control-label" for="offlineReason">Offline Reason *
-                        <small class="input-error" ng-show="hasPropertyError(statusForm.offlineReason, 'maxlength')">Too Long</small>
-                    </label>
-                    <input id="offlineReason" name="offlineReason" type="text" class="form-control" ng-model="status.offlineReason" ng-maxlength="256" ng-required="offline()" autofocus>
-                    <span ng-show="hasError(statusForm.offlineReason)" class="form-control-feedback"><i class="fa fa-times"></i></span>
-                </div>
-            </div>
-        </div>
-    </form>
-</div>
-<div class="modal-footer">
-    <button class="btn action-btn" ng-click="cancel()">Cancel</button>
-    <button class="btn btn-link" ng-disabled="statusForm.$invalid" ng-click="select()">Submit</button>
-</div>

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/dialog/select/status/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/dialog/select/status/index.js b/traffic_ops/experimental/ui/app/src/common/modules/dialog/select/status/index.js
deleted file mode 100644
index e1e5f4d..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/dialog/select/status/index.js
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * 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.
- */
-
-module.exports = angular.module('trafficPortal.dialog.select.status', [])
-	.controller('DialogSelectStatusController', require('./DialogSelectStatusController'));

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/form/asn/FormASNController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/asn/FormASNController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/asn/FormASNController.js
deleted file mode 100644
index 85f1475..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/asn/FormASNController.js
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * 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.
- */
-
-var FormASNController = function(asn, $scope, formUtils, locationUtils, cacheGroupService) {
-
-    var getCacheGroups = function() {
-        cacheGroupService.getCacheGroups()
-            .then(function(result) {
-                $scope.cachegroups = result;
-            });
-    };
-
-    $scope.asn = asn;
-
-    $scope.navigateToPath = locationUtils.navigateToPath;
-
-    $scope.hasError = formUtils.hasError;
-
-    $scope.hasPropertyError = formUtils.hasPropertyError;
-
-    var init = function () {
-        getCacheGroups();
-    };
-    init();
-
-};
-
-FormASNController.$inject = ['asn', '$scope', 'formUtils', 'locationUtils', 'cacheGroupService'];
-module.exports = FormASNController;

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/form/asn/edit/FormEditASNController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/asn/edit/FormEditASNController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/asn/edit/FormEditASNController.js
deleted file mode 100644
index e2ac23e..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/asn/edit/FormEditASNController.js
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- * 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.
- */
-
-var FormEditASNController = function(asn, $scope, $controller, $uibModal, $anchorScroll, locationUtils, asnService) {
-
-    // extends the FormASNController to inherit common methods
-    angular.extend(this, $controller('FormASNController', { asn: asn, $scope: $scope }));
-
-    var deleteASN = function(asn) {
-        asnService.deleteASN(asn.id)
-            .then(function() {
-                locationUtils.navigateToPath('/admin/asns');
-            });
-    };
-
-    $scope.asnName = angular.copy(asn.asn);
-
-    $scope.settings = {
-        isNew: false,
-        saveLabel: 'Update'
-    };
-
-    $scope.save = function(asn) {
-        asnService.updateASN(asn).
-            then(function() {
-                $scope.asnName = angular.copy(asn.asn);
-                $anchorScroll(); // scrolls window to top
-            });
-    };
-
-    $scope.confirmDelete = function(asn) {
-        var params = {
-            title: 'Delete ASN: ' + asn.asn,
-            key: asn.asn.toString()
-        };
-        var modalInstance = $uibModal.open({
-            templateUrl: 'common/modules/dialog/delete/dialog.delete.tpl.html',
-            controller: 'DialogDeleteController',
-            size: 'md',
-            resolve: {
-                params: function () {
-                    return params;
-                }
-            }
-        });
-        modalInstance.result.then(function() {
-            deleteASN(asn);
-        }, function () {
-            // do nothing
-        });
-    };
-
-};
-
-FormEditASNController.$inject = ['asn', '$scope', '$controller', '$uibModal', '$anchorScroll', 'locationUtils', 'asnService'];
-module.exports = FormEditASNController;

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/form/asn/edit/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/asn/edit/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/asn/edit/index.js
deleted file mode 100644
index 9ab1012..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/asn/edit/index.js
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * 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.
- */
-
-module.exports = angular.module('trafficPortal.form.asn.edit', [])
-    .controller('FormEditASNController', require('./FormEditASNController'));

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/form/asn/form.asn.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/asn/form.asn.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/form/asn/form.asn.tpl.html
deleted file mode 100644
index 6ba8a69..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/asn/form.asn.tpl.html
+++ /dev/null
@@ -1,56 +0,0 @@
-<!--
-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.
--->
-
-<div class="x_panel">
-    <div class="x_title">
-        <ol class="breadcrumb">
-            <li><a ng-click="navigateToPath('/admin/asns')">ASNs</a></li>
-            <li class="active">{{asnName}}</li>
-        </ol>
-        <div class="clearfix"></div>
-    </div>
-    <div class="x_content">
-        <br>
-        <form name="asnForm" class="form-horizontal form-label-left" novalidate>
-            <div class="form-group" ng-class="{'has-error': hasError(asnForm.asn), 'has-feedback': hasError(asnForm.asn)}">
-                <label class="control-label col-md-2 col-sm-2 col-xs-12">ASN *</label>
-                <div class="col-md-10 col-sm-10 col-xs-12">
-                    <input id="asn" name="asn" type="text" class="form-control" ng-model="asn.asn" ng-required="true" ng-maxlength="11" ng-pattern="/^\d+$/" autofocus>
-                    <small class="input-error" ng-show="hasPropertyError(asnForm.asn, 'required')">Required</small>
-                    <small class="input-error" ng-show="hasPropertyError(asnForm.asn, 'maxlength')">Too Long</small>
-                    <small class="input-error" ng-show="hasPropertyError(asnForm.asn, 'pattern')">Number</small>
-                    <span ng-show="hasError(asnForm.asn)" class="form-control-feedback"><i class="fa fa-times"></i></span>
-                </div>
-            </div>
-            <div class="form-group" ng-class="{'has-error': hasError(asnForm.cachegroup), 'has-feedback': hasError(asnForm.cachegroup)}">
-                <label class="control-label col-md-2 col-sm-2 col-xs-12">Cache Group *</label>
-                <div class="col-md-10 col-sm-10 col-xs-12">
-                    <select id="cachegroup" name="cachegroup" class="form-control" ng-model="asn.cachegroupId" ng-options="cachegroup.id as cachegroup.name for cachegroup in cachegroups" required>
-                        <option value="">Select...</option>
-                    </select>
-                    <small class="input-error" ng-show="hasPropertyError(asnForm.cachegroup, 'required')">Required</small>
-                </div>
-            </div>
-            <div class="modal-footer">
-                <button type="button" class="btn btn-danger" ng-show="!settings.isNew" ng-click="confirmDelete(asn)">Delete</button>
-                <button type="button" class="btn btn-success" ng-disabled="asnForm.$pristine || asnForm.$invalid" ng-click="save(asn)">{{settings.saveLabel}}</button>
-            </div>
-        </form>
-    </div>
-</div>

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/form/asn/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/asn/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/asn/index.js
deleted file mode 100644
index 5139e03..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/asn/index.js
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * 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.
- */
-
-module.exports = angular.module('trafficPortal.form.asn', [])
-    .controller('FormASNController', require('./FormASNController'));

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/form/asn/new/FormNewASNController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/asn/new/FormNewASNController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/asn/new/FormNewASNController.js
deleted file mode 100644
index a6b8790..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/asn/new/FormNewASNController.js
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * 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.
- */
-
-var FormNewASNController = function(asn, $scope, $controller, asnService) {
-
-    // extends the FormASNController to inherit common methods
-    angular.extend(this, $controller('FormASNController', { asn: asn, $scope: $scope }));
-
-    $scope.asnName = 'New';
-
-    $scope.settings = {
-        isNew: true,
-        saveLabel: 'Create'
-    };
-
-    $scope.save = function(asn) {
-        asnService.createASN(asn);
-    };
-
-};
-
-FormNewASNController.$inject = ['asn', '$scope', '$controller', 'asnService'];
-module.exports = FormNewASNController;

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/form/asn/new/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/asn/new/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/asn/new/index.js
deleted file mode 100644
index 345328d..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/asn/new/index.js
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * 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.
- */
-
-module.exports = angular.module('trafficPortal.form.asn.new', [])
-    .controller('FormNewASNController', require('./FormNewASNController'));

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/FormCacheGroupController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/FormCacheGroupController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/FormCacheGroupController.js
deleted file mode 100644
index 5eb334d..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/FormCacheGroupController.js
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- * 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.
- */
-
-var FormCacheGroupController = function(cacheGroup, $scope, $location, formUtils, locationUtils, cacheGroupService, typeService) {
-
-    var getCacheGroups = function() {
-        cacheGroupService.getCacheGroups()
-            .then(function(result) {
-                $scope.cacheGroups = result;
-            });
-    };
-
-    var getTypes = function() {
-        typeService.getTypes({ useInTable: 'cachegroup' })
-            .then(function(result) {
-                $scope.types = result;
-            });
-    };
-
-    $scope.cacheGroup = cacheGroup;
-
-    $scope.viewAsns = function() {
-        $location.path($location.path() + '/asns');
-    };
-
-    $scope.viewParams = function() {
-        $location.path($location.path() + '/parameters');
-    };
-
-    $scope.viewServers = function() {
-        $location.path($location.path() + '/servers');
-    };
-
-    $scope.viewStaticDnsEntries = function() {
-        $location.path($location.path() + '/static-dns-entries');
-    };
-
-    $scope.navigateToPath = locationUtils.navigateToPath;
-
-    $scope.hasError = formUtils.hasError;
-
-    $scope.hasPropertyError = formUtils.hasPropertyError;
-
-    var init = function () {
-        getCacheGroups();
-        getTypes();
-    };
-    init();
-
-};
-
-FormCacheGroupController.$inject = ['cacheGroup', '$scope', '$location', 'formUtils', 'locationUtils', 'cacheGroupService', 'typeService'];
-module.exports = FormCacheGroupController;

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/edit/FormEditCacheGroupController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/edit/FormEditCacheGroupController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/edit/FormEditCacheGroupController.js
deleted file mode 100644
index e32e016..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/edit/FormEditCacheGroupController.js
+++ /dev/null
@@ -1,130 +0,0 @@
-/*
- * 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.
- */
-
-var FormEditCacheGroupController = function(cacheGroup, $scope, $controller, $uibModal, $anchorScroll, locationUtils, cacheGroupService) {
-
-    // extends the FormCacheGroupController to inherit common methods
-    angular.extend(this, $controller('FormCacheGroupController', { cacheGroup: cacheGroup, $scope: $scope }));
-
-    $scope.cacheGroupName = angular.copy(cacheGroup.name);
-
-    $scope.settings = {
-        isNew: false,
-        saveLabel: 'Update'
-    };
-
-    var deleteCacheGroup = function(cacheGroup) {
-        cacheGroupService.deleteCacheGroup(cacheGroup.id)
-            .then(function() {
-                locationUtils.navigateToPath('/configure/cache-groups');
-            });
-    };
-
-    var queueServerUpdates = function(cacheGroup, cdnId) {
-        cacheGroupService.queueServerUpdates(cacheGroup.id, cdnId);
-    };
-
-    var clearServerUpdates = function(cacheGroup, cdnId) {
-        cacheGroupService.clearServerUpdates(cacheGroup.id, cdnId);
-    };
-
-    $scope.save = function(cacheGroup) {
-        cacheGroupService.updateCacheGroup(cacheGroup).
-            then(function() {
-                $scope.cacheGroupName = angular.copy(cacheGroup.name);
-                $anchorScroll(); // scrolls window to top
-            });
-    };
-
-    $scope.confirmDelete = function(cacheGroup) {
-        var params = {
-            title: 'Delete Cache Group: ' + cacheGroup.name,
-            key: cacheGroup.name
-        };
-        var modalInstance = $uibModal.open({
-            templateUrl: 'common/modules/dialog/delete/dialog.delete.tpl.html',
-            controller: 'DialogDeleteController',
-            size: 'md',
-            resolve: {
-                params: function () {
-                    return params;
-                }
-            }
-        });
-        modalInstance.result.then(function() {
-            deleteCacheGroup(cacheGroup);
-        }, function () {
-            // do nothing
-        });
-    };
-
-    $scope.confirmQueueServerUpdates = function(cacheGroup) {
-        var params = {
-            title: 'Queue Server Updates: ' + cacheGroup.name,
-            message: "Please select a CDN"
-        };
-        var modalInstance = $uibModal.open({
-            templateUrl: 'common/modules/dialog/select/dialog.select.tpl.html',
-            controller: 'DialogSelectController',
-            size: 'md',
-            resolve: {
-                params: function () {
-                    return params;
-                },
-                collection: function(cdnService) {
-                    return cdnService.getCDNs();
-                }
-            }
-        });
-        modalInstance.result.then(function(cdn) {
-            queueServerUpdates(cacheGroup, cdn.id);
-        }, function () {
-            // do nothing
-        });
-    };
-
-    $scope.confirmClearServerUpdates = function(cacheGroup) {
-        var params = {
-            title: 'Clear Server Updates: ' + cacheGroup.name,
-            message: "Please select a CDN"
-        };
-        var modalInstance = $uibModal.open({
-            templateUrl: 'common/modules/dialog/select/dialog.select.tpl.html',
-            controller: 'DialogSelectController',
-            size: 'md',
-            resolve: {
-                params: function () {
-                    return params;
-                },
-                collection: function(cdnService) {
-                    return cdnService.getCDNs();
-                }
-            }
-        });
-        modalInstance.result.then(function(cdn) {
-            clearServerUpdates(cacheGroup, cdn.id);
-        }, function () {
-            // do nothing
-        });
-    };
-
-};
-
-FormEditCacheGroupController.$inject = ['cacheGroup', '$scope', '$controller', '$uibModal', '$anchorScroll', 'locationUtils', 'cacheGroupService'];
-module.exports = FormEditCacheGroupController;

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/edit/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/edit/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/edit/index.js
deleted file mode 100644
index 836befe..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/edit/index.js
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * 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.
- */
-
-module.exports = angular.module('trafficPortal.form.cacheGroup.edit', [])
-    .controller('FormEditCacheGroupController', require('./FormEditCacheGroupController'));

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/form.cacheGroup.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/form.cacheGroup.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/form.cacheGroup.tpl.html
deleted file mode 100644
index 2965029..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/form.cacheGroup.tpl.html
+++ /dev/null
@@ -1,123 +0,0 @@
-<!--
-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.
--->
-
-<div class="x_panel">
-    <div class="x_title">
-        <ol class="breadcrumb pull-left">
-            <li><a ng-click="navigateToPath('/configure/cache-groups')">Cache Groups</a></li>
-            <li class="active">{{cacheGroupName}}</li>
-        </ol>
-        <div class="pull-right" ng-show="!settings.isNew">
-            <div class="btn-group" role="group" uib-dropdown is-open="queue.isopen">
-                <button type="button" class="btn btn-primary dropdown-toggle" uib-dropdown-toggle aria-haspopup="true" aria-expanded="false">
-                    Queue Updates&nbsp;
-                    <span class="caret"></span>
-                </button>
-                <ul class="dropdown-menu-right dropdown-menu" uib-dropdown-menu>
-                    <li role="menuitem"><a ng-click="confirmQueueServerUpdates(cacheGroup)"><i class="fa fa-flag"></i>&nbsp;&nbsp;Queue {{cacheGroupName}} Server Updates</a></li>
-                    <li role="menuitem"><a ng-click="confirmClearServerUpdates(cacheGroup)"><i class="fa fa-ban"></i>&nbsp;&nbsp;Clear {{cacheGroupName}} Server Updates</a></li>
-                </ul>
-            </div>
-            <div class="btn-group" role="group" uib-dropdown is-open="more.isopen">
-                <button type="button" class="btn btn-default dropdown-toggle" uib-dropdown-toggle aria-haspopup="true" aria-expanded="false">
-                    More&nbsp;
-                    <span class="caret"></span>
-                </button>
-                <ul class="dropdown-menu-right dropdown-menu" uib-dropdown-menu>
-                    <li role="menuitem"><a ng-click="viewAsns()">View ASNs</a></li>
-                    <li role="menuitem"><a ng-click="viewParams()">View Parameters</a></li>
-                    <li role="menuitem"><a ng-click="viewServers()">View Servers</a></li>
-                    <li role="menuitem"><a ng-click="viewStaticDnsEntries()">View Static DNS Entries</a></li>
-                </ul>
-            </div>
-        </div>
-        <div class="clearfix"></div>
-    </div>
-    <div class="x_content">
-        <br>
-        <form name="cacheGroupForm" class="form-horizontal form-label-left" novalidate>
-            <div class="form-group" ng-class="{'has-error': hasError(cacheGroupForm.name), 'has-feedback': hasError(cacheGroupForm.name)}">
-                <label class="control-label col-md-2 col-sm-2 col-xs-12">Name *</label>
-                <div class="col-md-10 col-sm-10 col-xs-12">
-                    <input id="name" name="name" type="text" class="form-control" ng-model="cacheGroup.name" ng-required="true" ng-maxlength="45" ng-pattern="/^\S*$/" autofocus>
-                    <small class="input-error" ng-show="hasPropertyError(cacheGroupForm.name, 'required')">Required</small>
-                    <small class="input-error" ng-show="hasPropertyError(cacheGroupForm.name, 'maxlength')">Too Long</small>
-                    <small class="input-error" ng-show="hasPropertyError(cacheGroupForm.name, 'pattern')">No spaces</small>
-                    <span ng-show="hasError(cacheGroupForm.name)" class="form-control-feedback"><i class="fa fa-times"></i></span>
-                </div>
-            </div>
-            <div class="form-group" ng-class="{'has-error': hasError(cacheGroupForm.shortName), 'has-feedback': hasError(cacheGroupForm.shortName)}">
-                <label class="control-label col-md-2 col-sm-2 col-xs-12">Short Name *</label>
-                <div class="col-md-10 col-sm-10 col-xs-12">
-                    <input id="shortName" name="shortName" type="text" class="form-control" ng-model="cacheGroup.shortName" ng-required="true" ng-maxlength="255" ng-pattern="/^\S*$/" autofocus>
-                    <small class="input-error" ng-show="hasPropertyError(cacheGroupForm.shortName, 'required')">Required</small>
-                    <small class="input-error" ng-show="hasPropertyError(cacheGroupForm.shortName, 'maxlength')">Too Long</small>
-                    <small class="input-error" ng-show="hasPropertyError(cacheGroupForm.shortName, 'pattern')">No spaces</small>
-                    <span ng-show="hasError(cacheGroupForm.shortName)" class="form-control-feedback"><i class="fa fa-times"></i></span>
-                </div>
-            </div>
-            <div class="form-group" ng-class="{'has-error': hasError(cacheGroupForm.latitude), 'has-feedback': hasError(cacheGroupForm.latitude)}">
-                <label class="control-label col-md-2 col-sm-2 col-xs-12">Latitude *</label>
-                <div class="col-md-10 col-sm-10 col-xs-12">
-                    <input id="latitude" name="latitude" type="text" class="form-control" ng-model="cacheGroup.latitude" ng-pattern="/^[-+]?[0-9]*\.?[0-9]+$/" autofocus>
-                    <small class="input-error" ng-show="hasPropertyError(cacheGroupForm.latitude, 'pattern')">Invalid coordinate</small>
-                    <span ng-show="hasError(cacheGroupForm.latitude)" class="form-control-feedback"><i class="fa fa-times"></i></span>
-                </div>
-            </div>
-            <div class="form-group" ng-class="{'has-error': hasError(cacheGroupForm.longitude), 'has-feedback': hasError(cacheGroupForm.longitude)}">
-                <label class="control-label col-md-2 col-sm-2 col-xs-12">Longitude *</label>
-                <div class="col-md-10 col-sm-10 col-xs-12">
-                    <input id="longitude" name="longitude" type="text" class="form-control" ng-model="cacheGroup.longitude" ng-pattern="/^[-+]?[0-9]*\.?[0-9]+$/" autofocus>
-                    <small class="input-error" ng-show="hasPropertyError(cacheGroupForm.longitude, 'pattern')">Invalid coordinate</small>
-                    <span ng-show="hasError(cacheGroupForm.longitude)" class="form-control-feedback"><i class="fa fa-times"></i></span>
-                </div>
-            </div>
-            <div class="form-group" ng-class="{'has-error': hasError(cacheGroupForm.type), 'has-feedback': hasError(cacheGroupForm.type)}">
-                <label class="control-label col-md-2 col-sm-2 col-xs-12">Type *</label>
-                <div class="col-md-10 col-sm-10 col-xs-12">
-                    <select id="type" name="type" class="form-control" ng-model="cacheGroup.typeId" ng-options="type.id as type.name for type in types" required>
-                        <option value="">Select...</option>
-                    </select>
-                    <small class="input-error" ng-show="hasPropertyError(cacheGroupForm.type, 'required')">Required</small>
-                </div>
-            </div>
-            <div class="form-group" ng-class="{'has-error': hasError(cacheGroupForm.parentCacheGroup), 'has-feedback': hasError(cacheGroupForm.parentCacheGroup)}">
-                <label class="control-label col-md-2 col-sm-2 col-xs-12">Parent Cache Group *</label>
-                <div class="col-md-10 col-sm-10 col-xs-12">
-                    <select id="parentCacheGroup" name="parentCacheGroup" class="form-control" ng-model="cacheGroup.parentCachegroupId" ng-options="cacheGroup.id as cacheGroup.name for cacheGroup in cacheGroups" required>
-                        <option value="">Select...</option>
-                    </select>
-                    <small class="input-error" ng-show="hasPropertyError(cacheGroupForm.parentCacheGroup, 'required')">Required</small>
-                </div>
-            </div>
-            <div class="form-group">
-                <label class="control-label col-md-2 col-sm-2 col-xs-12">Secondary Parent Cache Group</label>
-                <div class="col-md-10 col-sm-10 col-xs-12">
-                    <select id="secondaryParentCacheGroup" name="secondaryParentCacheGroup" class="form-control" ng-model="cacheGroup.secondaryParentCachegroupId" ng-options="cacheGroup.id as cacheGroup.name for cacheGroup in cacheGroups">
-                        <option value="">Select...</option>
-                    </select>
-                </div>
-            </div>
-            <div class="modal-footer">
-                <button type="button" class="btn btn-danger" ng-show="!settings.isNew" ng-click="confirmDelete(cacheGroup)">Delete</button>
-                <button type="button" class="btn btn-success" ng-disabled="cacheGroupForm.$pristine || cacheGroupForm.$invalid" ng-click="save(cacheGroup)">{{settings.saveLabel}}</button>
-            </div>
-        </form>
-    </div>
-</div>

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/index.js
deleted file mode 100644
index 5446dfa..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/index.js
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * 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.
- */
-
-module.exports = angular.module('trafficPortal.form.cacheGroup', [])
-    .controller('FormCacheGroupController', require('./FormCacheGroupController'));

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/new/FormNewCacheGroupController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/new/FormNewCacheGroupController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/new/FormNewCacheGroupController.js
deleted file mode 100644
index 6f5896f..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/new/FormNewCacheGroupController.js
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * 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.
- */
-
-var FormNewCacheGroupController = function(cacheGroup, $scope, $controller, cacheGroupService) {
-
-    // extends the FormCacheGroupController to inherit common methods
-    angular.extend(this, $controller('FormCacheGroupController', { cacheGroup: cacheGroup, $scope: $scope }));
-
-    $scope.cacheGroupName = 'New';
-
-    $scope.settings = {
-        isNew: true,
-        saveLabel: 'Create'
-    };
-
-    $scope.save = function(cacheGroup) {
-        cacheGroupService.createCacheGroup(cacheGroup);
-    };
-
-};
-
-FormNewCacheGroupController.$inject = ['cacheGroup', '$scope', '$controller', 'cacheGroupService'];
-module.exports = FormNewCacheGroupController;

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/new/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/new/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/new/index.js
deleted file mode 100644
index 5c238c0..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/new/index.js
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * 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.
- */
-
-module.exports = angular.module('trafficPortal.form.cacheGroup.new', [])
-    .controller('FormNewCacheGroupController', require('./FormNewCacheGroupController'));

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/form/cdn/FormCDNController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/cdn/FormCDNController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/cdn/FormCDNController.js
deleted file mode 100644
index c628ff7..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/cdn/FormCDNController.js
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * 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.
- */
-
-var FormCDNController = function(cdn, $scope, $location, formUtils, stringUtils, locationUtils, cdnService) {
-
-    $scope.cdn = cdn;
-
-    $scope.falseTrue = [
-        { value: false, label: 'false' },
-        { value: true, label: 'true' }
-    ];
-
-    $scope.manageDNSSEC = function() {
-        alert('not hooked up yet: manageDNSSEC for CDN');
-    };
-
-    $scope.manageSSL = function() {
-        alert('not hooked up yet: manageSSL for cdn');
-    };
-
-    $scope.queueServerUpdates = function(cdn) {
-        cdnService.queueServerUpdates(cdn.id);
-    };
-
-    $scope.clearServerUpdates = function(cdn) {
-        cdnService.clearServerUpdates(cdn.id);
-    };
-
-    $scope.viewConfig = function() {
-        $location.path($location.path() + '/config/changes');
-    };
-
-    $scope.viewProfiles = function() {
-        $location.path($location.path() + '/profiles');
-    };
-
-    $scope.viewServers = function() {
-        $location.path($location.path() + '/servers');
-    };
-
-    $scope.viewDeliveryServices = function() {
-        $location.path($location.path() + '/delivery-services');
-    };
-
-    $scope.navigateToPath = locationUtils.navigateToPath;
-
-    $scope.hasError = formUtils.hasError;
-
-    $scope.hasPropertyError = formUtils.hasPropertyError;
-
-};
-
-FormCDNController.$inject = ['cdn', '$scope', '$location', 'formUtils', 'stringUtils', 'locationUtils', 'cdnService'];
-module.exports = FormCDNController;

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/form/cdn/edit/FormEditCDNController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/cdn/edit/FormEditCDNController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/cdn/edit/FormEditCDNController.js
deleted file mode 100644
index 701fc59..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/cdn/edit/FormEditCDNController.js
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- * 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.
- */
-
-var FormEditCDNController = function(cdn, $scope, $controller, $uibModal, $anchorScroll, locationUtils, cdnService) {
-
-    // extends the FormCDNController to inherit common methods
-    angular.extend(this, $controller('FormCDNController', { cdn: cdn, $scope: $scope }));
-
-    var deleteCDN = function(cdn) {
-        cdnService.deleteCDN(cdn.id)
-            .then(function() {
-                locationUtils.navigateToPath('/admin/cdns');
-            });
-    };
-
-    $scope.cdnName = angular.copy(cdn.name);
-
-    $scope.settings = {
-        isNew: false,
-        saveLabel: 'Update'
-    };
-
-    $scope.save = function(cdn) {
-        cdnService.updateCDN(cdn).
-            then(function() {
-                $scope.cdnName = angular.copy(cdn.name);
-                $anchorScroll(); // scrolls window to top
-            });
-    };
-
-    $scope.confirmDelete = function(cdn) {
-        var params = {
-            title: 'Delete CDN: ' + cdn.name,
-            key: cdn.name
-        };
-        var modalInstance = $uibModal.open({
-            templateUrl: 'common/modules/dialog/delete/dialog.delete.tpl.html',
-            controller: 'DialogDeleteController',
-            size: 'md',
-            resolve: {
-                params: function () {
-                    return params;
-                }
-            }
-        });
-        modalInstance.result.then(function() {
-            deleteCDN(cdn);
-        }, function () {
-            // do nothing
-        });
-    };
-
-};
-
-FormEditCDNController.$inject = ['cdn', '$scope', '$controller', '$uibModal', '$anchorScroll', 'locationUtils', 'cdnService'];
-module.exports = FormEditCDNController;

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/form/cdn/edit/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/cdn/edit/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/cdn/edit/index.js
deleted file mode 100644
index 09e4942..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/cdn/edit/index.js
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * 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.
- */
-
-module.exports = angular.module('trafficPortal.form.cdn.edit', [])
-    .controller('FormEditCDNController', require('./FormEditCDNController'));

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/form/cdn/form.cdn.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/cdn/form.cdn.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/form/cdn/form.cdn.tpl.html
deleted file mode 100644
index b3d6f0d..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/cdn/form.cdn.tpl.html
+++ /dev/null
@@ -1,89 +0,0 @@
-<!--
-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.
--->
-
-<div class="x_panel">
-    <div class="x_title">
-        <ol class="breadcrumb pull-left">
-            <li><a ng-click="navigateToPath('/admin/cdns')">CDNs</a></li>
-            <li class="active">{{cdnName}}</li>
-        </ol>
-        <div class="pull-right" ng-show="!settings.isNew">
-            <button class="btn btn-primary" title="Diff CDN Snapshot" ng-click="viewConfig()"><i class="fa fa-camera"></i>&nbsp;&nbsp;Diff CDN Config Snapshot</button>
-            <div class="btn-group" role="group" uib-dropdown is-open="queue.isopen">
-                <button type="button" class="btn btn-primary dropdown-toggle" uib-dropdown-toggle aria-haspopup="true" aria-expanded="false">
-                    Queue Updates&nbsp;
-                    <span class="caret"></span>
-                </button>
-                <ul class="dropdown-menu-right dropdown-menu" uib-dropdown-menu>
-                    <li role="menuitem"><a ng-click="queueServerUpdates(cdn)">Queue {{cdn.name}} Server Updates</a></li>
-                    <li role="menuitem"><a ng-click="clearServerUpdates(cdn)">Clear {{cdn.name}} Server Updates</a></li>
-                </ul>
-            </div>
-            <div class="btn-group" role="group" uib-dropdown is-open="more.isopen">
-                <button type="button" class="btn btn-default dropdown-toggle" uib-dropdown-toggle aria-haspopup="true" aria-expanded="false">
-                    More&nbsp;
-                    <span class="caret"></span>
-                </button>
-                <ul class="dropdown-menu-right dropdown-menu" uib-dropdown-menu>
-                    <li role="menuitem"><a ng-click="manageDNSSEC()">Manage DNSSEC Keys</a></li>
-                    <li role="menuitem"><a ng-click="manageSSL()">Manage SSL Keys</a></li>
-                    <li class="divider"></li>
-                    <li role="menuitem"><a ng-click="viewDeliveryServices()">View Delivery Services</a></li>
-                    <li role="menuitem"><a ng-click="viewProfiles()">View Profiles</a></li>
-                    <li role="menuitem"><a ng-click="viewServers()">View Servers</a></li>
-                </ul>
-            </div>
-        </div>
-        <div class="clearfix"></div>
-    </div>
-    <div class="x_content">
-        <br>
-        <form name="cdnForm" class="form-horizontal form-label-left" novalidate>
-            <div class="form-group" ng-class="{'has-error': hasError(cdnForm.name), 'has-feedback': hasError(cdnForm.name)}">
-                <label class="control-label col-md-2 col-sm-2 col-xs-12">Name *</label>
-                <div class="col-md-10 col-sm-10 col-xs-12">
-                    <input id="name" name="name" type="text" class="form-control" ng-model="cdn.name" ng-required="true" ng-maxlength="45" autofocus>
-                    <small class="input-error" ng-show="hasPropertyError(cdnForm.name, 'required')">Required</small>
-                    <small class="input-error" ng-show="hasPropertyError(cdnForm.name, 'maxlength')">Too Long</small>
-                    <span ng-show="hasError(cdnForm.name)" class="form-control-feedback"><i class="fa fa-times"></i></span>
-                </div>
-            </div>
-            <div class="form-group" ng-class="{'has-error': hasError(cdnForm.domainName), 'has-feedback': hasError(cdnForm.domainName)}">
-                <label class="control-label col-md-2 col-sm-2 col-xs-12">Domain *</label>
-                <div class="col-md-10 col-sm-10 col-xs-12">
-                    <input id="domainName" name="domainName" type="text" class="form-control" ng-model="cdn.domainName" ng-required="true" ng-maxlength="255" autofocus>
-                    <small class="input-error" ng-show="hasPropertyError(cdnForm.domainName, 'required')">Required</small>
-                    <small class="input-error" ng-show="hasPropertyError(cdnForm.domainName, 'maxlength')">Too Long</small>
-                    <span ng-show="hasError(cdnForm.domainName)" class="form-control-feedback"><i class="fa fa-times"></i></span>
-                </div>
-            </div>
-            <div class="form-group" ng-class="{'has-error': hasError(cdnForm.dnssecEnabled), 'has-feedback': hasError(cdnForm.dnssecEnabled)}">
-                <label class="control-label col-md-2 col-sm-2 col-xs-12">DNSSEC Enabled *</label>
-                <div class="col-md-10 col-sm-10 col-xs-12">
-                    <select id="dnssecEnabled" name="dnssecEnabled" class="form-control" ng-model="cdn.dnssecEnabled" ng-options="x.value as x.label for x in falseTrue" required></select>
-                    <small class="input-error" ng-show="hasPropertyError(cdnForm.dnssecEnabled, 'required')">Required</small>
-                </div>
-            </div>
-            <div class="modal-footer">
-                <button type="button" class="btn btn-danger" ng-show="!settings.isNew" ng-click="confirmDelete(cdn)">Delete</button>
-                <button type="button" class="btn btn-success" ng-disabled="cdnForm.$pristine || cdnForm.$invalid" ng-click="save(cdn)">{{settings.saveLabel}}</button>
-            </div>
-        </form>
-    </div>
-</div>

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/form/cdn/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/cdn/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/cdn/index.js
deleted file mode 100644
index ab98f1a..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/cdn/index.js
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * 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.
- */
-
-module.exports = angular.module('trafficPortal.form.cdn', [])
-    .controller('FormCDNController', require('./FormCDNController'));

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/form/cdn/new/FormNewCDNController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/cdn/new/FormNewCDNController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/cdn/new/FormNewCDNController.js
deleted file mode 100644
index 10feead..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/cdn/new/FormNewCDNController.js
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * 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.
- */
-
-var FormNewCDNController = function(cdn, $scope, $controller, cdnService) {
-
-    // extends the FormCDNController to inherit common methods
-    angular.extend(this, $controller('FormCDNController', { cdn: cdn, $scope: $scope }));
-
-    $scope.cdnName = 'New';
-
-    $scope.settings = {
-        isNew: true,
-        saveLabel: 'Create'
-    };
-
-    $scope.save = function(cdn) {
-        cdnService.createCDN(cdn)
-    };
-
-};
-
-FormNewCDNController.$inject = ['cdn', '$scope', '$controller', 'cdnService'];
-module.exports = FormNewCDNController;

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/form/cdn/new/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/cdn/new/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/cdn/new/index.js
deleted file mode 100644
index 4566629..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/cdn/new/index.js
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * 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.
- */
-
-module.exports = angular.module('trafficPortal.form.cdn.new', [])
-    .controller('FormNewCDNController', require('./FormNewCDNController'));

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/FormDeliveryServiceController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/FormDeliveryServiceController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/FormDeliveryServiceController.js
deleted file mode 100644
index 69d0b89..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/FormDeliveryServiceController.js
+++ /dev/null
@@ -1,161 +0,0 @@
-/*
- * 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.
- */
-
-var FormDeliveryServiceController = function(deliveryService, types, $scope, $location, formUtils, locationUtils, cdnService, profileService, typeService) {
-
-    var getCDNs = function() {
-        cdnService.getCDNs()
-            .then(function(result) {
-                $scope.cdns = result;
-            });
-    };
-
-    var getProfiles = function() {
-        profileService.getProfiles()
-            .then(function(result) {
-                $scope.profiles = _.filter(result, function(profile) {
-                    return profile.type == 'DS_PROFILE';
-                });
-            });
-    };
-
-    $scope.deliveryService = deliveryService;
-
-    $scope.types = types;
-
-    $scope.falseTrue = [
-        { value: false, label: 'false' },
-        { value: true, label: 'true' }
-    ];
-
-    $scope.protocols = [
-        { value: 0, label: '0 - HTTP' },
-        { value: 1, label: '1 - HTTPS' },
-        { value: 2, label: '2 - HTTP AND HTTPS' },
-        { value: 3, label: '3 - HTTP TO HTTPS' }
-    ];
-
-    $scope.qStrings = [
-        { value: 0, label: '0 - use qstring in cache key, and pass up' },
-        { value: 1, label: '1 - ignore in cache key, and pass up' },
-        { value: 2, label: '2 - drop at edge' }
-    ];
-
-    $scope.geoLimits = [
-        { value: 0, label: '0 - None' },
-        { value: 1, label: '1 - CZF only' },
-        { value: 2, label: '2 - CZF + Country Code(s)' }
-    ];
-
-    $scope.geoProviders = [
-        { value: 0, label: '0 - Maxmind (Default)' },
-        { value: 1, label: '1 - Neustar' }
-    ];
-
-    $scope.dscps = [
-        { value: 0, label: '0  - Best Effort' },
-        { value: 10, label: '10 - AF11' },
-        { value: 12, label: '12 - AF12' },
-        { value: 14, label: '14 - AF13' },
-        { value: 18, label: '18  - AF21' },
-        { value: 20, label: '20  - AF22' },
-        { value: 22, label: '22  - AF23' },
-        { value: 26, label: '26  - AF31' },
-        { value: 28, label: '28  - AF32' },
-        { value: 30, label: '30  - AF33' },
-        { value: 34, label: '34  - AF41' },
-        { value: 36, label: '36  - AF42' },
-        { value: 37, label: '37  - ' },
-        { value: 38, label: '38  - AF43' },
-        { value: 8, label: '8  - CS1' },
-        { value: 16, label: '16  - CS2' },
-        { value: 24, label: '24  - CS3' },
-        { value: 32, label: '32  - CS4' },
-        { value: 40, label: '40  - CS5' },
-        { value: 48, label: '48  - CS6' },
-        { value: 56, label: '56  - CS7' }
-    ];
-
-    $scope.dispersions = [
-        { value: 1, label: '1 - OFF' },
-        { value: 2, label: '2' },
-        { value: 3, label: '3' },
-        { value: 4, label: '4' },
-        { value: 5, label: '5' },
-        { value: 6, label: '6' },
-        { value: 7, label: '7' },
-        { value: 8, label: '8' },
-        { value: 9, label: '9' },
-        { value: 10, label: '10' }
-    ];
-
-    $scope.rrhs = [
-        { value: 0, label: "0 - Don't cache" },
-        { value: 1, label: "1 - Use background_fetch plugin" },
-        { value: 2, label: "2 - Use cache_range_requests plugin" }
-    ];
-
-    $scope.msoAlgos = [
-        { value: 0, label: "0 - Consistent Hash" },
-        { value: 1, label: "1 - Primary/Backup" },
-        { value: 2, label: "2 - Strict Round Robin" },
-        { value: 3, label: "3 - IP-based Round Robin" },
-        { value: 4, label: "4 - Latch on Failover" }
-    ];
-
-    $scope.viewServers = function() {
-        $location.path($location.path() + '/servers');
-    };
-
-    $scope.viewRegexes = function() {
-        $location.path($location.path() + '/regexes');
-    };
-
-    $scope.viewJobs = function() {
-        $location.path($location.path() + '/jobs');
-    };
-
-    $scope.manageSslKeys = function() {
-        alert('not hooked up yet: manageSslKeys for DS');
-    };
-
-    $scope.manageUrlSigKeys = function() {
-        alert('not hooked up yet: manageUrlSigKeys for DS');
-    };
-
-    $scope.viewStaticDnsEntries = function() {
-        $location.path($location.path() + '/static-dns-entries');
-    };
-
-    $scope.navigateToPath = locationUtils.navigateToPath;
-
-    $scope.hasError = formUtils.hasError;
-
-    $scope.hasPropertyError = formUtils.hasPropertyError;
-
-    var init = function () {
-        getCDNs();
-        getProfiles();
-    };
-    init();
-
-};
-
-FormDeliveryServiceController.$inject = ['deliveryService', 'types', '$scope', '$location', 'formUtils', 'locationUtils', 'cdnService', 'profileService', 'typeService'];
-module.exports = FormDeliveryServiceController;

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/edit/FormEditDeliveryServiceController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/edit/FormEditDeliveryServiceController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/edit/FormEditDeliveryServiceController.js
deleted file mode 100644
index ba5b257..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/edit/FormEditDeliveryServiceController.js
+++ /dev/null
@@ -1,76 +0,0 @@
-/*
- * 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.
- */
-
-var FormEditDeliveryServiceController = function(deliveryService, type, types, $scope, $controller, $uibModal, $anchorScroll, locationUtils, deliveryServiceService) {
-
-	var filteredTypes = _.filter(types, function(currentType) {
-		return currentType.name.indexOf(type) != -1;
-	});
-
-	// extends the FormDeliveryServiceController to inherit common methods
-	angular.extend(this, $controller('FormDeliveryServiceController', { deliveryService: deliveryService, types: filteredTypes, $scope: $scope }));
-
-	var deleteDeliveryService = function(deliveryService) {
-		deliveryServiceService.deleteDeliveryService(deliveryService.id)
-			.then(function() {
-				locationUtils.navigateToPath('/configure/delivery-services');
-			});
-	};
-
-	$scope.deliveryServiceName = angular.copy(deliveryService.displayName);
-
-	$scope.settings = {
-		isNew: false,
-		saveLabel: 'Update'
-	};
-
-	$scope.save = function(deliveryService) {
-		deliveryServiceService.updateDeliveryService(deliveryService).
-		then(function() {
-			$scope.deliveryServiceName = angular.copy(deliveryService.displayName);
-			$anchorScroll(); // scrolls window to top
-		});
-	};
-
-	$scope.confirmDelete = function(deliveryService) {
-		var params = {
-			title: 'Delete Delivery Service: ' + deliveryService.displayName,
-			key: deliveryService.xmlId
-		};
-		var modalInstance = $uibModal.open({
-			templateUrl: 'common/modules/dialog/delete/dialog.delete.tpl.html',
-			controller: 'DialogDeleteController',
-			size: 'md',
-			resolve: {
-				params: function () {
-					return params;
-				}
-			}
-		});
-		modalInstance.result.then(function() {
-			deleteDeliveryService(deliveryService);
-		}, function () {
-			// do nothing
-		});
-	};
-
-};
-
-FormEditDeliveryServiceController.$inject = ['deliveryService', 'type', 'types', '$scope', '$controller', '$uibModal', '$anchorScroll', 'locationUtils', 'deliveryServiceService'];
-module.exports = FormEditDeliveryServiceController;

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3195e0cc/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/edit/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/edit/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/edit/index.js
deleted file mode 100644
index 88eb073..0000000
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/edit/index.js
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * 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.
- */
-
-module.exports = angular.module('trafficPortal.form.deliveryService.edit', [])
-	.controller('FormEditDeliveryServiceController', require('./FormEditDeliveryServiceController'));