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/03 22:20:57 UTC
[01/15] incubator-trafficcontrol git commit: Remove ~.rat-excludes
file
Repository: incubator-trafficcontrol
Updated Branches:
refs/heads/master 59c6cfca7 -> fe5b5738c
Remove ~.rat-excludes file
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/6a37892c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/6a37892c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/6a37892c
Branch: refs/heads/master
Commit: 6a37892c4919a4befdd300cff18b1327beca21bb
Parents: 2c10af2
Author: Eric Friedrich <ef...@cisco.com>
Authored: Thu Nov 3 17:22:55 2016 -0400
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Thu Nov 3 15:25:04 2016 -0600
----------------------------------------------------------------------
.rat-excludes~ | 1 -
1 file changed, 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/6a37892c/.rat-excludes~
----------------------------------------------------------------------
diff --git a/.rat-excludes~ b/.rat-excludes~
deleted file mode 100644
index 2ec5402..0000000
--- a/.rat-excludes~
+++ /dev/null
@@ -1 +0,0 @@
-./docs/*
\ No newline at end of file
[10/15] incubator-trafficcontrol git commit: Apache RAT tool
automatically added Apache License Headers
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/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
index 298f28b..6349099 100644
--- 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
@@ -1,3 +1,22 @@
+/*
+ * 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, formUtils, stringUtils, locationUtils) {
$scope.cdn = cdn;
@@ -22,4 +41,4 @@ var FormCDNController = function(cdn, $scope, formUtils, stringUtils, locationUt
};
FormCDNController.$inject = ['cdn', '$scope', 'formUtils', 'stringUtils', 'locationUtils'];
-module.exports = FormCDNController;
\ No newline at end of file
+module.exports = FormCDNController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/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
index 1126fa7..8f7a796 100644
--- 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
@@ -1,3 +1,22 @@
+/*
+ * 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
@@ -50,4 +69,4 @@ var FormEditCDNController = function(cdn, $scope, $controller, $uibModal, $ancho
};
FormEditCDNController.$inject = ['cdn', '$scope', '$controller', '$uibModal', '$anchorScroll', 'locationUtils', 'cdnService'];
-module.exports = FormEditCDNController;
\ No newline at end of file
+module.exports = FormEditCDNController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/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
index bc01eca..7efadd2 100644
--- 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
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.cdn.edit', [])
.controller('FormEditCDNController', require('./FormEditCDNController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/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
index 06bf468..71fd948 100644
--- 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
@@ -1,3 +1,22 @@
+<!--
+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">
@@ -31,4 +50,4 @@
</div>
</form>
</div>
-</div>
\ No newline at end of file
+</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/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
index ae85f31..aab2ead 100644
--- 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
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.cdn', [])
.controller('FormCDNController', require('./FormCDNController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/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
index dc517a8..0d4079a 100644
--- 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
@@ -1,3 +1,22 @@
+/*
+ * 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
@@ -17,4 +36,4 @@ var FormNewCDNController = function(cdn, $scope, $controller, cdnService) {
};
FormNewCDNController.$inject = ['cdn', '$scope', '$controller', 'cdnService'];
-module.exports = FormNewCDNController;
\ No newline at end of file
+module.exports = FormNewCDNController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/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
index 6274340..308da11 100644
--- 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
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.cdn.new', [])
.controller('FormNewCDNController', require('./FormNewCDNController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/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
index 6c76d67..82c9a7c 100644
--- 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
@@ -1,3 +1,22 @@
+/*
+ * 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, $scope, formUtils, locationUtils, cdnService, profileService, typeService) {
var getTypes = function() {
@@ -119,4 +138,4 @@ var FormDeliveryServiceController = function(deliveryService, $scope, formUtils,
};
FormDeliveryServiceController.$inject = ['deliveryService', '$scope', 'formUtils', 'locationUtils', 'cdnService', 'profileService', 'typeService'];
-module.exports = FormDeliveryServiceController;
\ No newline at end of file
+module.exports = FormDeliveryServiceController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/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
index 5591b52..8abb889 100644
--- 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
@@ -1,3 +1,22 @@
+/*
+ * 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, $scope, $controller, $uibModal, $anchorScroll, locationUtils, deliveryServiceService) {
// extends the FormDeliveryServiceController to inherit common methods
@@ -50,4 +69,4 @@ var FormEditDeliveryServiceController = function(deliveryService, $scope, $contr
};
FormEditDeliveryServiceController.$inject = ['deliveryService', '$scope', '$controller', '$uibModal', '$anchorScroll', 'locationUtils', 'deliveryServiceService'];
-module.exports = FormEditDeliveryServiceController;
\ No newline at end of file
+module.exports = FormEditDeliveryServiceController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/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
index 351b9bb..af76783 100644
--- 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
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.deliveryService.edit', [])
.controller('FormEditDeliveryServiceController', require('./FormEditDeliveryServiceController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/form.deliveryService.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/form.deliveryService.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/form.deliveryService.tpl.html
index 2b63a22..1bc4cfe 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/form.deliveryService.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/form.deliveryService.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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">
@@ -439,4 +458,4 @@
</div>
</form>
</div>
-</div>
\ No newline at end of file
+</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/index.js
index c828c9a..be33a68 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.deliveryService', [])
.controller('FormDeliveryServiceController', require('./FormDeliveryServiceController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/new/FormNewDeliveryServiceController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/new/FormNewDeliveryServiceController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/new/FormNewDeliveryServiceController.js
index 839b138..98c6ba3 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/new/FormNewDeliveryServiceController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/new/FormNewDeliveryServiceController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormNewDeliveryServiceController = function(deliveryService, $scope, $controller, deliveryServiceService) {
// extends the FormDeliveryServiceController to inherit common methods
@@ -17,4 +36,4 @@ var FormNewDeliveryServiceController = function(deliveryService, $scope, $contro
};
FormNewDeliveryServiceController.$inject = ['deliveryService', '$scope', '$controller', 'deliveryServiceService'];
-module.exports = FormNewDeliveryServiceController;
\ No newline at end of file
+module.exports = FormNewDeliveryServiceController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/new/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/new/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/new/index.js
index 3339679..f6593dd 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/new/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/deliveryService/new/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.deliveryService.new', [])
.controller('FormNewDeliveryServiceController', require('./FormNewDeliveryServiceController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/division/FormDivisionController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/division/FormDivisionController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/division/FormDivisionController.js
index 4a4e1b0..81d4031 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/division/FormDivisionController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/division/FormDivisionController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormDivisionController = function(division, $scope, formUtils, stringUtils, locationUtils) {
$scope.division = division;
@@ -17,4 +36,4 @@ var FormDivisionController = function(division, $scope, formUtils, stringUtils,
};
FormDivisionController.$inject = ['division', '$scope', 'formUtils', 'stringUtils', 'locationUtils'];
-module.exports = FormDivisionController;
\ No newline at end of file
+module.exports = FormDivisionController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/division/edit/FormEditDivisionController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/division/edit/FormEditDivisionController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/division/edit/FormEditDivisionController.js
index 1b69b86..fde5db9 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/division/edit/FormEditDivisionController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/division/edit/FormEditDivisionController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormEditDivisionController = function(division, $scope, $controller, $uibModal, $anchorScroll, locationUtils, divisionService) {
// extends the FormDivisionController to inherit common methods
@@ -50,4 +69,4 @@ var FormEditDivisionController = function(division, $scope, $controller, $uibMod
};
FormEditDivisionController.$inject = ['division', '$scope', '$controller', '$uibModal', '$anchorScroll', 'locationUtils', 'divisionService'];
-module.exports = FormEditDivisionController;
\ No newline at end of file
+module.exports = FormEditDivisionController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/division/edit/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/division/edit/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/division/edit/index.js
index ca33896..34211b8 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/division/edit/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/division/edit/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.division.edit', [])
.controller('FormEditDivisionController', require('./FormEditDivisionController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/division/form.division.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/division/form.division.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/form/division/form.division.tpl.html
index 6028bc0..ac51fbc 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/division/form.division.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/division/form.division.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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">
@@ -24,4 +43,4 @@
</div>
</form>
</div>
-</div>
\ No newline at end of file
+</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/division/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/division/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/division/index.js
index 5fd787f..f24d5da 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/division/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/division/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.division', [])
.controller('FormDivisionController', require('./FormDivisionController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/division/new/FormNewDivisionController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/division/new/FormNewDivisionController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/division/new/FormNewDivisionController.js
index 2e91c9c..d7f081f 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/division/new/FormNewDivisionController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/division/new/FormNewDivisionController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormNewDivisionController = function(division, $scope, $controller, divisionService) {
// extends the FormDivisionController to inherit common methods
@@ -17,4 +36,4 @@ var FormNewDivisionController = function(division, $scope, $controller, division
};
FormNewDivisionController.$inject = ['division', '$scope', '$controller', 'divisionService'];
-module.exports = FormNewDivisionController;
\ No newline at end of file
+module.exports = FormNewDivisionController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/division/new/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/division/new/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/division/new/index.js
index 5055d07..5cffead 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/division/new/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/division/new/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.division.new', [])
.controller('FormNewDivisionController', require('./FormNewDivisionController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/location/FormLocationController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/location/FormLocationController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/location/FormLocationController.js
index 417a614..4a92e43 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/location/FormLocationController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/location/FormLocationController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormLocationController = function(location, $scope, formUtils, stringUtils, locationUtils, regionService) {
var getRegions = function() {
@@ -37,4 +56,4 @@ var FormLocationController = function(location, $scope, formUtils, stringUtils,
};
FormLocationController.$inject = ['location', '$scope', 'formUtils', 'stringUtils', 'locationUtils', 'regionService'];
-module.exports = FormLocationController;
\ No newline at end of file
+module.exports = FormLocationController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/location/edit/FormEditLocationController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/location/edit/FormEditLocationController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/location/edit/FormEditLocationController.js
index 4960524..47a3db7 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/location/edit/FormEditLocationController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/location/edit/FormEditLocationController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormEditLocationController = function(location, $scope, $controller, $uibModal, $anchorScroll, locationUtils, locationService) {
// extends the FormLocationController to inherit common methods
@@ -50,4 +69,4 @@ var FormEditLocationController = function(location, $scope, $controller, $uibMod
};
FormEditLocationController.$inject = ['location', '$scope', '$controller', '$uibModal', '$anchorScroll', 'locationUtils', 'locationService'];
-module.exports = FormEditLocationController;
\ No newline at end of file
+module.exports = FormEditLocationController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/location/edit/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/location/edit/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/location/edit/index.js
index 50212fc..b143206 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/location/edit/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/location/edit/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.location.edit', [])
.controller('FormEditLocationController', require('./FormEditLocationController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/location/form.location.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/location/form.location.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/form/location/form.location.tpl.html
index d9728c1..34dd343 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/location/form.location.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/location/form.location.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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">
@@ -39,4 +58,4 @@
</div>
</form>
</div>
-</div>
\ No newline at end of file
+</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/location/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/location/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/location/index.js
index c505285..978649a 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/location/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/location/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.location', [])
.controller('FormLocationController', require('./FormLocationController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/location/new/FormNewLocationController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/location/new/FormNewLocationController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/location/new/FormNewLocationController.js
index 2d83277..2feef85 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/location/new/FormNewLocationController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/location/new/FormNewLocationController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormNewLocationController = function(location, $scope, $controller, locationService) {
// extends the FormLocationController to inherit common methods
@@ -17,4 +36,4 @@ var FormNewLocationController = function(location, $scope, $controller, location
};
FormNewLocationController.$inject = ['location', '$scope', '$controller', 'locationService'];
-module.exports = FormNewLocationController;
\ No newline at end of file
+module.exports = FormNewLocationController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/location/new/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/location/new/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/location/new/index.js
index 79c5734..3544d29 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/location/new/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/location/new/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.location.new', [])
.controller('FormNewLocationController', require('./FormNewLocationController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/FormParameterController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/FormParameterController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/FormParameterController.js
index 45545bb..aa877ea 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/FormParameterController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/FormParameterController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormParameterController = function(parameter, $scope, formUtils, stringUtils, locationUtils) {
$scope.parameter = parameter;
@@ -19,4 +38,4 @@ var FormParameterController = function(parameter, $scope, formUtils, stringUtils
};
FormParameterController.$inject = ['parameter', '$scope', 'formUtils', 'stringUtils', 'locationUtils'];
-module.exports = FormParameterController;
\ No newline at end of file
+module.exports = FormParameterController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/edit/FormEditParameterController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/edit/FormEditParameterController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/edit/FormEditParameterController.js
index 665458f..962d74c 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/edit/FormEditParameterController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/edit/FormEditParameterController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormEditParameterController = function(parameter, $scope, $controller, $uibModal, $anchorScroll, locationUtils, parameterService) {
// extends the FormParameterController to inherit common methods
@@ -50,4 +69,4 @@ var FormEditParameterController = function(parameter, $scope, $controller, $uibM
};
FormEditParameterController.$inject = ['parameter', '$scope', '$controller', '$uibModal', '$anchorScroll', 'locationUtils', 'parameterService'];
-module.exports = FormEditParameterController;
\ No newline at end of file
+module.exports = FormEditParameterController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/edit/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/edit/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/edit/index.js
index 23311b2..78d0dce 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/edit/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/edit/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.parameter.edit', [])
.controller('FormEditParameterController', require('./FormEditParameterController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/form.parameter.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/form.parameter.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/form.parameter.tpl.html
index 79e80f9..b0c4250 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/form.parameter.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/form.parameter.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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">
@@ -24,4 +43,4 @@
</div>
</form>
</div>
-</div>
\ No newline at end of file
+</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/index.js
index 3db0656..3991011 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.parameter', [])
.controller('FormParameterController', require('./FormParameterController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/new/FormNewParameterController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/new/FormNewParameterController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/new/FormNewParameterController.js
index fa03765..9f124ff 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/new/FormNewParameterController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/new/FormNewParameterController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormNewParameterController = function(parameter, $scope, $controller, parameterService) {
// extends the FormParameterController to inherit common methods
@@ -17,4 +36,4 @@ var FormNewParameterController = function(parameter, $scope, $controller, parame
};
FormNewParameterController.$inject = ['parameter', '$scope', '$controller', 'parameterService'];
-module.exports = FormNewParameterController;
\ No newline at end of file
+module.exports = FormNewParameterController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/new/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/new/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/new/index.js
index 65f82b4..b3c00bb 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/new/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/parameter/new/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.parameter.new', [])
.controller('FormNewParameterController', require('./FormNewParameterController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/profile/FormProfileController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/profile/FormProfileController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/profile/FormProfileController.js
index b0aa284..6c32f66 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/profile/FormProfileController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/profile/FormProfileController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormProfileController = function(profile, $scope, formUtils, stringUtils, locationUtils) {
$scope.profile = profile;
@@ -17,4 +36,4 @@ var FormProfileController = function(profile, $scope, formUtils, stringUtils, lo
};
FormProfileController.$inject = ['profile', '$scope', 'formUtils', 'stringUtils', 'locationUtils'];
-module.exports = FormProfileController;
\ No newline at end of file
+module.exports = FormProfileController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/profile/edit/FormEditProfileController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/profile/edit/FormEditProfileController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/profile/edit/FormEditProfileController.js
index 7c0ce00..29f8590 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/profile/edit/FormEditProfileController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/profile/edit/FormEditProfileController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormEditProfileController = function(profile, $scope, $controller, $uibModal, $anchorScroll, locationUtils, profileService) {
// extends the FormProfileController to inherit common methods
@@ -50,4 +69,4 @@ var FormEditProfileController = function(profile, $scope, $controller, $uibModal
};
FormEditProfileController.$inject = ['profile', '$scope', '$controller', '$uibModal', '$anchorScroll', 'locationUtils', 'profileService'];
-module.exports = FormEditProfileController;
\ No newline at end of file
+module.exports = FormEditProfileController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/profile/edit/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/profile/edit/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/profile/edit/index.js
index f2eaf4d..420dac6 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/profile/edit/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/profile/edit/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.profile.edit', [])
.controller('FormEditProfileController', require('./FormEditProfileController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/profile/form.profile.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/profile/form.profile.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/form/profile/form.profile.tpl.html
index 9105461..a4c83c8 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/profile/form.profile.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/profile/form.profile.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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">
@@ -30,4 +49,4 @@
</div>
</form>
</div>
-</div>
\ No newline at end of file
+</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/profile/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/profile/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/profile/index.js
index 2e462aa..f5735c7 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/profile/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/profile/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.profile', [])
.controller('FormProfileController', require('./FormProfileController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/profile/new/FormNewProfileController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/profile/new/FormNewProfileController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/profile/new/FormNewProfileController.js
index d2362e9..07507b3 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/profile/new/FormNewProfileController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/profile/new/FormNewProfileController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormNewProfileController = function(profile, $scope, $controller, profileService) {
// extends the FormProfileController to inherit common methods
@@ -17,4 +36,4 @@ var FormNewProfileController = function(profile, $scope, $controller, profileSer
};
FormNewProfileController.$inject = ['profile', '$scope', '$controller', 'profileService'];
-module.exports = FormNewProfileController;
\ No newline at end of file
+module.exports = FormNewProfileController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/profile/new/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/profile/new/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/profile/new/index.js
index f188196..e5c2d99 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/profile/new/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/profile/new/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.profile.new', [])
.controller('FormNewProfileController', require('./FormNewProfileController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/region/FormRegionController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/region/FormRegionController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/region/FormRegionController.js
index bf98f79..3eda152 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/region/FormRegionController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/region/FormRegionController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormRegionController = function(region, $scope, formUtils, stringUtils, locationUtils, divisionService) {
var getDivisions = function() {
@@ -29,4 +48,4 @@ var FormRegionController = function(region, $scope, formUtils, stringUtils, loca
};
FormRegionController.$inject = ['region', '$scope', 'formUtils', 'stringUtils', 'locationUtils', 'divisionService'];
-module.exports = FormRegionController;
\ No newline at end of file
+module.exports = FormRegionController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/region/edit/FormEditRegionController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/region/edit/FormEditRegionController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/region/edit/FormEditRegionController.js
index ea18fe9..eab550e 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/region/edit/FormEditRegionController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/region/edit/FormEditRegionController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormEditRegionController = function(region, $scope, $controller, $uibModal, $anchorScroll, locationUtils, regionService) {
// extends the FormRegionController to inherit common methods
@@ -50,4 +69,4 @@ var FormEditRegionController = function(region, $scope, $controller, $uibModal,
};
FormEditRegionController.$inject = ['region', '$scope', '$controller', '$uibModal', '$anchorScroll', 'locationUtils', 'regionService'];
-module.exports = FormEditRegionController;
\ No newline at end of file
+module.exports = FormEditRegionController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/region/edit/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/region/edit/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/region/edit/index.js
index 4eb3e35..1c81de9 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/region/edit/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/region/edit/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.region.edit', [])
.controller('FormEditRegionController', require('./FormEditRegionController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/region/form.region.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/region/form.region.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/form/region/form.region.tpl.html
index d32f58f..4066d05 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/region/form.region.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/region/form.region.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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">
@@ -33,4 +52,4 @@
</div>
</form>
</div>
-</div>
\ No newline at end of file
+</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/region/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/region/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/region/index.js
index 113acfd..907e9b5 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/region/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/region/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.region', [])
.controller('FormRegionController', require('./FormRegionController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/region/new/FormNewRegionController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/region/new/FormNewRegionController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/region/new/FormNewRegionController.js
index fb6d2da..2b39239 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/region/new/FormNewRegionController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/region/new/FormNewRegionController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormNewRegionController = function(region, $scope, $controller, locationUtils, regionService) {
// extends the FormRegionController to inherit common methods
@@ -20,4 +39,4 @@ var FormNewRegionController = function(region, $scope, $controller, locationUtil
};
FormNewRegionController.$inject = ['region', '$scope', '$controller', 'locationUtils', 'regionService'];
-module.exports = FormNewRegionController;
\ No newline at end of file
+module.exports = FormNewRegionController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/region/new/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/region/new/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/region/new/index.js
index f0ae30b..4d21034 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/region/new/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/region/new/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.region.new', [])
.controller('FormNewRegionController', require('./FormNewRegionController'));
[12/15] incubator-trafficcontrol git commit: Apache RAT tool
automatically added Apache License Headers
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/app/public/js/jqtree/#tree.jquery.js#
----------------------------------------------------------------------
diff --git a/traffic_ops/app/public/js/jqtree/#tree.jquery.js# b/traffic_ops/app/public/js/jqtree/#tree.jquery.js#
new file mode 100644
index 0000000..259a6ee
--- /dev/null
+++ b/traffic_ops/app/public/js/jqtree/#tree.jquery.js#
@@ -0,0 +1,3341 @@
+function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
+var $, DragAndDropHandler, DragElement, HitAreasGenerator, Position, VisibleNodeIterator, node_module,
+ extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
+ hasProp = {}.hasOwnProperty;
+
+node_module = require('./node');
+
+Position = node_module.Position;
+
+$ = jQuery;
+
+DragAndDropHandler = (function() {
+ function DragAndDropHandler(tree_widget) {
+ this.tree_widget = tree_widget;
+ this.hovered_area = null;
+ this.$ghost = null;
+ this.hit_areas = [];
+ this.is_dragging = false;
+ this.current_item = null;
+ }
+
+ DragAndDropHandler.prototype.mouseCapture = function(position_info) {
+ var $element, node_element;
+ $element = $(position_info.target);
+ if (!this.mustCaptureElement($element)) {
+ return null;
+ }
+ if (this.tree_widget.options.onIsMoveHandle && !this.tree_widget.options.onIsMoveHandle($element)) {
+ return null;
+ }
+ node_element = this.tree_widget._getNodeElement($element);
+ if (node_element && this.tree_widget.options.onCanMove) {
+ if (!this.tree_widget.options.onCanMove(node_element.node)) {
+ node_element = null;
+ }
+ }
+ this.current_item = node_element;
+ return this.current_item !== null;
+ };
+
+ DragAndDropHandler.prototype.mouseStart = function(position_info) {
+ var offset;
+ this.refresh();
+ offset = $(position_info.target).offset();
+ this.drag_element = new DragElement(this.current_item.node, position_info.page_x - offset.left, position_info.page_y - offset.top, this.tree_widget.element);
+ this.is_dragging = true;
+ this.current_item.$element.addClass('jqtree-moving');
+ return true;
+ };
+
+ DragAndDropHandler.prototype.mouseDrag = function(position_info) {
+ var area, can_move_to;
+ this.drag_element.move(position_info.page_x, position_info.page_y);
+ area = this.findHoveredArea(position_info.page_x, position_info.page_y);
+ can_move_to = this.canMoveToArea(area);
+ if (can_move_to && area) {
+ if (!area.node.isFolder()) {
+ this.stopOpenFolderTimer();
+ }
+ if (this.hovered_area !== area) {
+ this.hovered_area = area;
+ if (this.mustOpenFolderTimer(area)) {
+ this.startOpenFolderTimer(area.node);
+ } else {
+ this.stopOpenFolderTimer();
+ }
+ this.updateDropHint();
+ }
+ } else {
+ this.removeHover();
+ this.removeDropHint();
+ this.stopOpenFolderTimer();
+ }
+ return true;
+ };
+
+ DragAndDropHandler.prototype.mustCaptureElement = function($element) {
+ return !$element.is('input,select');
+ };
+
+ DragAndDropHandler.prototype.canMoveToArea = function(area) {
+ var position_name;
+ if (!area) {
+ return false;
+ } else if (this.tree_widget.options.onCanMoveTo) {
+ position_name = Position.getName(area.position);
+ return this.tree_widget.options.onCanMoveTo(this.current_item.node, area.node, position_name);
+ } else {
+ return true;
+ }
+ };
+
+ DragAndDropHandler.prototype.mouseStop = function(position_info) {
+ this.moveItem(position_info);
+ this.clear();
+ this.removeHover();
+ this.removeDropHint();
+ this.removeHitAreas();
+ if (this.current_item) {
+ this.current_item.$element.removeClass('jqtree-moving');
+ this.current_item = null;
+ }
+ this.is_dragging = false;
+ return false;
+ };
+
+ DragAndDropHandler.prototype.refresh = function() {
+ this.removeHitAreas();
+ if (this.current_item) {
+ this.generateHitAreas();
+ this.current_item = this.tree_widget._getNodeElementForNode(this.current_item.node);
+ if (this.is_dragging) {
+ return this.current_item.$element.addClass('jqtree-moving');
+ }
+ }
+ };
+
+ DragAndDropHandler.prototype.removeHitAreas = function() {
+ return this.hit_areas = [];
+ };
+
+ DragAndDropHandler.prototype.clear = function() {
+ this.drag_element.remove();
+ return this.drag_element = null;
+ };
+
+ DragAndDropHandler.prototype.removeDropHint = function() {
+ if (this.previous_ghost) {
+ return this.previous_ghost.remove();
+ }
+ };
+
+ DragAndDropHandler.prototype.removeHover = function() {
+ return this.hovered_area = null;
+ };
+
+ DragAndDropHandler.prototype.generateHitAreas = function() {
+ var hit_areas_generator;
+ hit_areas_generator = new HitAreasGenerator(this.tree_widget.tree, this.current_item.node, this.getTreeDimensions().bottom);
+ return this.hit_areas = hit_areas_generator.generate();
+ };
+
+ DragAndDropHandler.prototype.findHoveredArea = function(x, y) {
+ var area, dimensions, high, low, mid;
+ dimensions = this.getTreeDimensions();
+ if (x < dimensions.left || y < dimensions.top || x > dimensions.right || y > dimensions.bottom) {
+ return null;
+ }
+ low = 0;
+ high = this.hit_areas.length;
+ while (low < high) {
+ mid = (low + high) >> 1;
+ area = this.hit_areas[mid];
+ if (y < area.top) {
+ high = mid;
+ } else if (y > area.bottom) {
+ low = mid + 1;
+ } else {
+ return area;
+ }
+ }
+ return null;
+ };
+
+ DragAndDropHandler.prototype.mustOpenFolderTimer = function(area) {
+ var node;
+ node = area.node;
+ return node.isFolder() && !node.is_open && area.position === Position.INSIDE;
+ };
+
+ DragAndDropHandler.prototype.updateDropHint = function() {
+ var node_element;
+ if (!this.hovered_area) {
+ return;
+ }
+ this.removeDropHint();
+ node_element = this.tree_widget._getNodeElementForNode(this.hovered_area.node);
+ return this.previous_ghost = node_element.addDropHint(this.hovered_area.position);
+ };
+
+ DragAndDropHandler.prototype.startOpenFolderTimer = function(folder) {
+ var openFolder;
+ openFolder = (function(_this) {
+ return function() {
+ return _this.tree_widget._openNode(folder, _this.tree_widget.options.slide, function() {
+ _this.refresh();
+ return _this.updateDropHint();
+ });
+ };
+ })(this);
+ this.stopOpenFolderTimer();
+ return this.open_folder_timer = setTimeout(openFolder, this.tree_widget.options.openFolderDelay);
+ };
+
+ DragAndDropHandler.prototype.stopOpenFolderTimer = function() {
+ if (this.open_folder_timer) {
+ clearTimeout(this.open_folder_timer);
+ return this.open_folder_timer = null;
+ }
+ };
+
+ DragAndDropHandler.prototype.moveItem = function(position_info) {
+ var doMove, event, moved_node, position, previous_parent, target_node;
+ if (this.hovered_area && this.hovered_area.position !== Position.NONE && this.canMoveToArea(this.hovered_area)) {
+ moved_node = this.current_item.node;
+ target_node = this.hovered_area.node;
+ position = this.hovered_area.position;
+ previous_parent = moved_node.parent;
+ if (position === Position.INSIDE) {
+ this.hovered_area.node.is_open = true;
+ }
+ doMove = (function(_this) {
+ return function() {
+ _this.tree_widget.tree.moveNode(moved_node, target_node, position);
+ _this.tree_widget.element.empty();
+ return _this.tree_widget._refreshElements();
+ };
+ })(this);
+ event = this.tree_widget._triggerEvent('tree.move', {
+ move_info: {
+ moved_node: moved_node,
+ target_node: target_node,
+ position: Position.getName(position),
+ previous_parent: previous_parent,
+ do_move: doMove,
+ original_event: position_info.original_event
+ }
+ });
+ if (!event.isDefaultPrevented()) {
+ return doMove();
+ }
+ }
+ };
+
+ DragAndDropHandler.prototype.getTreeDimensions = function() {
+ var offset;
+ offset = this.tree_widget.element.offset();
+ return {
+ left: offset.left,
+ top: offset.top,
+ right: offset.left + this.tree_widget.element.width(),
+ bottom: offset.top + this.tree_widget.element.height() + 16
+ };
+ };
+
+ return DragAndDropHandler;
+
+})();
+
+VisibleNodeIterator = (function() {
+ function VisibleNodeIterator(tree) {
+ this.tree = tree;
+ }
+
+ VisibleNodeIterator.prototype.iterate = function() {
+ var _iterateNode, is_first_node;
+ is_first_node = true;
+ _iterateNode = (function(_this) {
+ return function(node, next_node) {
+ var $element, child, children_length, i, j, len, must_iterate_inside, ref;
+ must_iterate_inside = (node.is_open || !node.element) && node.hasChildren();
+ if (node.element) {
+ $element = $(node.element);
+ if (!$element.is(':visible')) {
+ return;
+ }
+ if (is_first_node) {
+ _this.handleFirstNode(node, $element);
+ is_first_node = false;
+ }
+ if (!node.hasChildren()) {
+ _this.handleNode(node, next_node, $element);
+ } else if (node.is_open) {
+ if (!_this.handleOpenFolder(node, $element)) {
+ must_iterate_inside = false;
+ }
+ } else {
+ _this.handleClosedFolder(node, next_node, $element);
+ }
+ }
+ if (must_iterate_inside) {
+ children_length = node.children.length;
+ ref = node.children;
+ for (i = j = 0, len = ref.length; j < len; i = ++j) {
+ child = ref[i];
+ if (i === (children_length - 1)) {
+ _iterateNode(node.children[i], null);
+ } else {
+ _iterateNode(node.children[i], node.children[i + 1]);
+ }
+ }
+ if (node.is_open) {
+ return _this.handleAfterOpenFolder(node, next_node, $element);
+ }
+ }
+ };
+ })(this);
+ return _iterateNode(this.tree, null);
+ };
+
+ VisibleNodeIterator.prototype.handleNode = function(node, next_node, $element) {};
+
+ VisibleNodeIterator.prototype.handleOpenFolder = function(node, $element) {};
+
+ VisibleNodeIterator.prototype.handleClosedFolder = function(node, next_node, $element) {};
+
+ VisibleNodeIterator.prototype.handleAfterOpenFolder = function(node, next_node, $element) {};
+
+ VisibleNodeIterator.prototype.handleFirstNode = function(node, $element) {};
+
+ return VisibleNodeIterator;
+
+})();
+
+HitAreasGenerator = (function(superClass) {
+ extend(HitAreasGenerator, superClass);
+
+ function HitAreasGenerator(tree, current_node, tree_bottom) {
+ HitAreasGenerator.__super__.constructor.call(this, tree);
+ this.current_node = current_node;
+ this.tree_bottom = tree_bottom;
+ }
+
+ HitAreasGenerator.prototype.generate = function() {
+ this.positions = [];
+ this.last_top = 0;
+ this.iterate();
+ return this.generateHitAreas(this.positions);
+ };
+
+ HitAreasGenerator.prototype.getTop = function($element) {
+ return $element.offset().top;
+ };
+
+ HitAreasGenerator.prototype.addPosition = function(node, position, top) {
+ var area;
+ area = {
+ top: top,
+ node: node,
+ position: position
+ };
+ this.positions.push(area);
+ return this.last_top = top;
+ };
+
+ HitAreasGenerator.prototype.handleNode = function(node, next_node, $element) {
+ var top;
+ top = this.getTop($element);
+ if (node === this.current_node) {
+ this.addPosition(node, Position.NONE, top);
+ } else {
+ this.addPosition(node, Position.INSIDE, top);
+ }
+ if (next_node === this.current_node || node === this.current_node) {
+ return this.addPosition(node, Position.NONE, top);
+ } else {
+ return this.addPosition(node, Position.AFTER, top);
+ }
+ };
+
+ HitAreasGenerator.prototype.handleOpenFolder = function(node, $element) {
+ if (node === this.current_node) {
+ return false;
+ }
+ if (node.children[0] !== this.current_node) {
+ this.addPosition(node, Position.INSIDE, this.getTop($element));
+ }
+ return true;
+ };
+
+ HitAreasGenerator.prototype.handleClosedFolder = function(node, next_node, $element) {
+ var top;
+ top = this.getTop($element);
+ if (node === this.current_node) {
+ return this.addPosition(node, Position.NONE, top);
+ } else {
+ this.addPosition(node, Position.INSIDE, top);
+ if (next_node !== this.current_node) {
+ return this.addPosition(node, Position.AFTER, top);
+ }
+ }
+ };
+
+ HitAreasGenerator.prototype.handleFirstNode = function(node, $element) {
+ if (node !== this.current_node) {
+ return this.addPosition(node, Position.BEFORE, this.getTop($(node.element)));
+ }
+ };
+
+ HitAreasGenerator.prototype.handleAfterOpenFolder = function(node, next_node, $element) {
+ if (node === this.current_node.node || next_node === this.current_node.node) {
+ return this.addPosition(node, Position.NONE, this.last_top);
+ } else {
+ return this.addPosition(node, Position.AFTER, this.last_top);
+ }
+ };
+
+ HitAreasGenerator.prototype.generateHitAreas = function(positions) {
+ var group, hit_areas, j, len, position, previous_top;
+ previous_top = -1;
+ group = [];
+ hit_areas = [];
+ for (j = 0, len = positions.length; j < len; j++) {
+ position = positions[j];
+ if (position.top !== previous_top && group.length) {
+ if (group.length) {
+ this.generateHitAreasForGroup(hit_areas, group, previous_top, position.top);
+ }
+ previous_top = position.top;
+ group = [];
+ }
+ group.push(position);
+ }
+ this.generateHitAreasForGroup(hit_areas, group, previous_top, this.tree_bottom);
+ return hit_areas;
+ };
+
+ HitAreasGenerator.prototype.generateHitAreasForGroup = function(hit_areas, positions_in_group, top, bottom) {
+ var area_height, area_top, i, position, position_count;
+ position_count = Math.min(positions_in_group.length, 4);
+ area_height = Math.round((bottom - top) / position_count);
+ area_top = top;
+ i = 0;
+ while (i < position_count) {
+ position = positions_in_group[i];
+ hit_areas.push({
+ top: area_top,
+ bottom: area_top + area_height,
+ node: position.node,
+ position: position.position
+ });
+ area_top += area_height;
+ i += 1;
+ }
+ return null;
+ };
+
+ return HitAreasGenerator;
+
+})(VisibleNodeIterator);
+
+DragElement = (function() {
+ function DragElement(node, offset_x, offset_y, $tree) {
+ this.offset_x = offset_x;
+ this.offset_y = offset_y;
+ this.$element = $("<span class=\"jqtree-title jqtree-dragging\">" + node.name + "</span>");
+ this.$element.css("position", "absolute");
+ $tree.append(this.$element);
+ }
+
+ DragElement.prototype.move = function(page_x, page_y) {
+ return this.$element.offset({
+ left: page_x - this.offset_x,
+ top: page_y - this.offset_y
+ });
+ };
+
+ DragElement.prototype.remove = function() {
+ return this.$element.remove();
+ };
+
+ return DragElement;
+
+})();
+
+module.exports = DragAndDropHandler;
+
+},{"./node":5}],2:[function(require,module,exports){
+var $, ElementsRenderer, NodeElement, html_escape, node_element, util;
+
+node_element = require('./node_element');
+
+NodeElement = node_element.NodeElement;
+
+util = require('./util');
+
+html_escape = util.html_escape;
+
+$ = jQuery;
+
+ElementsRenderer = (function() {
+ function ElementsRenderer(tree_widget) {
+ this.tree_widget = tree_widget;
+ this.opened_icon_element = this.createButtonElement(tree_widget.options.openedIcon);
+ this.closed_icon_element = this.createButtonElement(tree_widget.options.closedIcon);
+ }
+
+ ElementsRenderer.prototype.render = function(from_node) {
+ if (from_node && from_node.parent) {
+ return this.renderFromNode(from_node);
+ } else {
+ return this.renderFromRoot();
+ }
+ };
+
+ ElementsRenderer.prototype.renderFromRoot = function() {
+ var $element;
+ $element = this.tree_widget.element;
+ $element.empty();
+ return this.createDomElements($element[0], this.tree_widget.tree.children, true, true);
+ };
+
+ ElementsRenderer.prototype.renderFromNode = function(node) {
+ var $previous_li, li;
+ $previous_li = $(node.element);
+ li = this.createLi(node);
+ this.attachNodeData(node, li);
+ $previous_li.after(li);
+ $previous_li.remove();
+ if (node.children) {
+ return this.createDomElements(li, node.children, false, false);
+ }
+ };
+
+ ElementsRenderer.prototype.createDomElements = function(element, children, is_root_node, is_open) {
+ var child, i, len, li, ul;
+ ul = this.createUl(is_root_node);
+ element.appendChild(ul);
+ for (i = 0, len = children.length; i < len; i++) {
+ child = children[i];
+ li = this.createLi(child);
+ ul.appendChild(li);
+ this.attachNodeData(child, li);
+ if (child.hasChildren()) {
+ this.createDomElements(li, child.children, false, child.is_open);
+ }
+ }
+ return null;
+ };
+
+ ElementsRenderer.prototype.attachNodeData = function(node, li) {
+ node.element = li;
+ return $(li).data('node', node);
+ };
+
+ ElementsRenderer.prototype.createUl = function(is_root_node) {
+ var class_string, ul;
+ if (!is_root_node) {
+ class_string = '';
+ } else {
+ class_string = 'jqtree-tree';
+ if (this.tree_widget.options.rtl) {
+ class_string += ' jqtree-rtl';
+ }
+ }
+ ul = document.createElement('ul');
+ ul.className = "jqtree_common " + class_string;
+ return ul;
+ };
+
+ ElementsRenderer.prototype.createLi = function(node) {
+ var li;
+ if (node.isFolder()) {
+ li = this.createFolderLi(node);
+ } else {
+ li = this.createNodeLi(node);
+ }
+ if (this.tree_widget.options.onCreateLi) {
+ this.tree_widget.options.onCreateLi(node, $(li));
+ }
+ return li;
+ };
+
+ ElementsRenderer.prototype.createFolderLi = function(node) {
+ var button_classes, button_link, div, escaped_name, folder_classes, icon_element, li, title_span;
+ button_classes = this.getButtonClasses(node);
+ folder_classes = this.getFolderClasses(node);
+ escaped_name = this.escapeIfNecessary(node.name);
+ if (node.is_open) {
+ icon_element = this.opened_icon_element;
+ } else {
+ icon_element = this.closed_icon_element;
+ }
+ li = document.createElement('li');
+ li.className = "jqtree_common " + folder_classes;
+ div = document.createElement('div');
+ div.className = "jqtree-element jqtree_common";
+ li.appendChild(div);
+ button_link = document.createElement('a');
+ button_link.className = "jqtree_common " + button_classes;
+ button_link.appendChild(icon_element.cloneNode(false));
+ div.appendChild(button_link);
+ title_span = document.createElement('span');
+ title_span.className = "jqtree_common jqtree-title jqtree-title-folder";
+ div.appendChild(title_span);
+ title_span.innerHTML = escaped_name;
+ return li;
+ };
+
+ ElementsRenderer.prototype.createNodeLi = function(node) {
+ var class_string, div, escaped_name, li, li_classes, title_span;
+ li_classes = ['jqtree_common'];
+ if (this.tree_widget.select_node_handler && this.tree_widget.select_node_handler.isNodeSelected(node)) {
+ li_classes.push('jqtree-selected');
+ }
+ class_string = li_classes.join(' ');
+ escaped_name = this.escapeIfNecessary(node.name);
+ li = document.createElement('li');
+ li.className = class_string;
+ div = document.createElement('div');
+ div.className = "jqtree-element jqtree_common";
+ li.appendChild(div);
+ title_span = document.createElement('span');
+ title_span.className = "jqtree-title jqtree_common";
+ title_span.innerHTML = escaped_name;
+ div.appendChild(title_span);
+ return li;
+ };
+
+ ElementsRenderer.prototype.getButtonClasses = function(node) {
+ var classes;
+ classes = ['jqtree-toggler'];
+ if (!node.is_open) {
+ classes.push('jqtree-closed');
+ }
+ return classes.join(' ');
+ };
+
+ ElementsRenderer.prototype.getFolderClasses = function(node) {
+ var classes;
+ classes = ['jqtree-folder'];
+ if (!node.is_open) {
+ classes.push('jqtree-closed');
+ }
+ if (this.tree_widget.select_node_handler && this.tree_widget.select_node_handler.isNodeSelected(node)) {
+ classes.push('jqtree-selected');
+ }
+ if (node.is_loading) {
+ classes.push('jqtree-loading');
+ }
+ return classes.join(' ');
+ };
+
+ ElementsRenderer.prototype.escapeIfNecessary = function(value) {
+ if (this.tree_widget.options.autoEscape) {
+ return html_escape(value);
+ } else {
+ return value;
+ }
+ };
+
+ ElementsRenderer.prototype.createButtonElement = function(value) {
+ var div;
+ if (typeof value === 'string') {
+ div = document.createElement('div');
+ div.innerHTML = value;
+ return document.createTextNode(div.innerHTML);
+ } else {
+ return $(value)[0];
+ }
+ };
+
+ return ElementsRenderer;
+
+})();
+
+module.exports = ElementsRenderer;
+
+},{"./node_element":6,"./util":12}],3:[function(require,module,exports){
+var $, KeyHandler,
+ bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };
+
+$ = jQuery;
+
+KeyHandler = (function() {
+ var DOWN, LEFT, RIGHT, UP;
+
+ LEFT = 37;
+
+ UP = 38;
+
+ RIGHT = 39;
+
+ DOWN = 40;
+
+ function KeyHandler(tree_widget) {
+ this.selectNode = bind(this.selectNode, this);
+ this.tree_widget = tree_widget;
+ if (tree_widget.options.keyboardSupport) {
+ $(document).bind('keydown.jqtree', $.proxy(this.handleKeyDown, this));
+ }
+ }
+
+ KeyHandler.prototype.deinit = function() {
+ return $(document).unbind('keydown.jqtree');
+ };
+
+ KeyHandler.prototype.moveDown = function() {
+ var node;
+ node = this.tree_widget.getSelectedNode();
+ if (node) {
+ return this.selectNode(node.getNextNode());
+ } else {
+ return false;
+ }
+ };
+
+ KeyHandler.prototype.moveUp = function() {
+ var node;
+ node = this.tree_widget.getSelectedNode();
+ if (node) {
+ return this.selectNode(node.getPreviousNode());
+ } else {
+ return false;
+ }
+ };
+
+ KeyHandler.prototype.moveRight = function() {
+ var node;
+ node = this.tree_widget.getSelectedNode();
+ if (node && node.isFolder() && !node.is_open) {
+ this.tree_widget.openNode(node);
+ return false;
+ } else {
+ return true;
+ }
+ };
+
+ KeyHandler.prototype.moveLeft = function() {
+ var node;
+ node = this.tree_widget.getSelectedNode();
+ if (node && node.isFolder() && node.is_open) {
+ this.tree_widget.closeNode(node);
+ return false;
+ } else {
+ return true;
+ }
+ };
+
+ KeyHandler.prototype.handleKeyDown = function(e) {
+ var key;
+ if (!this.tree_widget.options.keyboardSupport) {
+ return true;
+ }
+ if ($(document.activeElement).is('textarea,input,select')) {
+ return true;
+ }
+ if (!this.tree_widget.getSelectedNode()) {
+ return true;
+ }
+ key = e.which;
+ switch (key) {
+ case DOWN:
+ return this.moveDown();
+ case UP:
+ return this.moveUp();
+ case RIGHT:
+ return this.moveRight();
+ case LEFT:
+ return this.moveLeft();
+ }
+ return true;
+ };
+
+ KeyHandler.prototype.selectNode = function(node) {
+ if (!node) {
+ return true;
+ } else {
+ this.tree_widget.selectNode(node);
+ if (this.tree_widget.scroll_handler && (!this.tree_widget.scroll_handler.isScrolledIntoView($(node.element).find('.jqtree-element')))) {
+ this.tree_widget.scrollToNode(node);
+ }
+ return false;
+ }
+ };
+
+ return KeyHandler;
+
+})();
+
+module.exports = KeyHandler;
+
+},{}],4:[function(require,module,exports){
+
+/*
+This widget does the same a the mouse widget in jqueryui.
+ */
+var $, MouseWidget, SimpleWidget,
+ extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
+ hasProp = {}.hasOwnProperty;
+
+SimpleWidget = require('./simple.widget');
+
+$ = jQuery;
+
+MouseWidget = (function(superClass) {
+ extend(MouseWidget, superClass);
+
+ function MouseWidget() {
+ return MouseWidget.__super__.constructor.apply(this, arguments);
+ }
+
+ MouseWidget.is_mouse_handled = false;
+
+ MouseWidget.prototype._init = function() {
+ this.$el.bind('mousedown.mousewidget', $.proxy(this._mouseDown, this));
+ this.$el.bind('touchstart.mousewidget', $.proxy(this._touchStart, this));
+ this.is_mouse_started = false;
+ this.mouse_delay = 0;
+ this._mouse_delay_timer = null;
+ this._is_mouse_delay_met = true;
+ return this.mouse_down_info = null;
+ };
+
+ MouseWidget.prototype._deinit = function() {
+ var $document;
+ this.$el.unbind('mousedown.mousewidget');
+ this.$el.unbind('touchstart.mousewidget');
+ $document = $(document);
+ $document.unbind('mousemove.mousewidget');
+ return $document.unbind('mouseup.mousewidget');
+ };
+
+ MouseWidget.prototype._mouseDown = function(e) {
+ var result;
+ if (e.which !== 1) {
+ return;
+ }
+ result = this._handleMouseDown(e, this._getPositionInfo(e));
+ if (result) {
+ e.preventDefault();
+ }
+ return result;
+ };
+
+ MouseWidget.prototype._handleMouseDown = function(e, position_info) {
+ if (MouseWidget.is_mouse_handled) {
+ return;
+ }
+ if (this.is_mouse_started) {
+ this._handleMouseUp(position_info);
+ }
+ this.mouse_down_info = position_info;
+ if (!this._mouseCapture(position_info)) {
+ return;
+ }
+ this._handleStartMouse();
+ this.is_mouse_handled = true;
+ return true;
+ };
+
+ MouseWidget.prototype._handleStartMouse = function() {
+ var $document;
+ $document = $(document);
+ $document.bind('mousemove.mousewidget', $.proxy(this._mouseMove, this));
+ $document.bind('touchmove.mousewidget', $.proxy(this._touchMove, this));
+ $document.bind('mouseup.mousewidget', $.proxy(this._mouseUp, this));
+ $document.bind('touchend.mousewidget', $.proxy(this._touchEnd, this));
+ if (this.mouse_delay) {
+ return this._startMouseDelayTimer();
+ }
+ };
+
+ MouseWidget.prototype._startMouseDelayTimer = function() {
+ if (this._mouse_delay_timer) {
+ clearTimeout(this._mouse_delay_timer);
+ }
+ this._mouse_delay_timer = setTimeout((function(_this) {
+ return function() {
+ return _this._is_mouse_delay_met = true;
+ };
+ })(this), this.mouse_delay);
+ return this._is_mouse_delay_met = false;
+ };
+
+ MouseWidget.prototype._mouseMove = function(e) {
+ return this._handleMouseMove(e, this._getPositionInfo(e));
+ };
+
+ MouseWidget.prototype._handleMouseMove = function(e, position_info) {
+ if (this.is_mouse_started) {
+ this._mouseDrag(position_info);
+ return e.preventDefault();
+ }
+ if (this.mouse_delay && !this._is_mouse_delay_met) {
+ return true;
+ }
+ this.is_mouse_started = this._mouseStart(this.mouse_down_info) !== false;
+ if (this.is_mouse_started) {
+ this._mouseDrag(position_info);
+ } else {
+ this._handleMouseUp(position_info);
+ }
+ return !this.is_mouse_started;
+ };
+
+ MouseWidget.prototype._getPositionInfo = function(e) {
+ return {
+ page_x: e.pageX,
+ page_y: e.pageY,
+ target: e.target,
+ original_event: e
+ };
+ };
+
+ MouseWidget.prototype._mouseUp = function(e) {
+ return this._handleMouseUp(this._getPositionInfo(e));
+ };
+
+ MouseWidget.prototype._handleMouseUp = function(position_info) {
+ var $document;
+ $document = $(document);
+ $document.unbind('mousemove.mousewidget');
+ $document.unbind('touchmove.mousewidget');
+ $document.unbind('mouseup.mousewidget');
+ $document.unbind('touchend.mousewidget');
+ if (this.is_mouse_started) {
+ this.is_mouse_started = false;
+ this._mouseStop(position_info);
+ }
+ };
+
+ MouseWidget.prototype._mouseCapture = function(position_info) {
+ return true;
+ };
+
+ MouseWidget.prototype._mouseStart = function(position_info) {
+ return null;
+ };
+
+ MouseWidget.prototype._mouseDrag = function(position_info) {
+ return null;
+ };
+
+ MouseWidget.prototype._mouseStop = function(position_info) {
+ return null;
+ };
+
+ MouseWidget.prototype.setMouseDelay = function(mouse_delay) {
+ return this.mouse_delay = mouse_delay;
+ };
+
+ MouseWidget.prototype._touchStart = function(e) {
+ var touch;
+ if (e.originalEvent.touches.length > 1) {
+ return;
+ }
+ touch = e.originalEvent.changedTouches[0];
+ return this._handleMouseDown(e, this._getPositionInfo(touch));
+ };
+
+ MouseWidget.prototype._touchMove = function(e) {
+ var touch;
+ if (e.originalEvent.touches.length > 1) {
+ return;
+ }
+ touch = e.originalEvent.changedTouches[0];
+ return this._handleMouseMove(e, this._getPositionInfo(touch));
+ };
+
+ MouseWidget.prototype._touchEnd = function(e) {
+ var touch;
+ if (e.originalEvent.touches.length > 1) {
+ return;
+ }
+ touch = e.originalEvent.changedTouches[0];
+ return this._handleMouseUp(this._getPositionInfo(touch));
+ };
+
+ return MouseWidget;
+
+})(SimpleWidget);
+
+module.exports = MouseWidget;
+
+},{"./simple.widget":10}],5:[function(require,module,exports){
+var $, Node, Position;
+
+$ = jQuery;
+
+Position = {
+ getName: function(position) {
+ return Position.strings[position - 1];
+ },
+ nameToIndex: function(name) {
+ var i, j, ref;
+ for (i = j = 1, ref = Position.strings.length; 1 <= ref ? j <= ref : j >= ref; i = 1 <= ref ? ++j : --j) {
+ if (Position.strings[i - 1] === name) {
+ return i;
+ }
+ }
+ return 0;
+ }
+};
+
+Position.BEFORE = 1;
+
+Position.AFTER = 2;
+
+Position.INSIDE = 3;
+
+Position.NONE = 4;
+
+Position.strings = ['before', 'after', 'inside', 'none'];
+
+Node = (function() {
+ function Node(o, is_root, node_class) {
+ if (is_root == null) {
+ is_root = false;
+ }
+ if (node_class == null) {
+ node_class = Node;
+ }
+ this.setData(o);
+ this.children = [];
+ this.parent = null;
+ if (is_root) {
+ this.id_mapping = {};
+ this.tree = this;
+ this.node_class = node_class;
+ }
+ }
+
+ Node.prototype.setData = function(o) {
+ var key, value;
+ if (typeof o !== 'object') {
+ this.name = o;
+ } else {
+ for (key in o) {
+ value = o[key];
+ if (key === 'label') {
+ this.name = value;
+ } else {
+ this[key] = value;
+ }
+ }
+ }
+ return null;
+ };
+
+ Node.prototype.initFromData = function(data) {
+ var addChildren, addNode;
+ addNode = (function(_this) {
+ return function(node_data) {
+ _this.setData(node_data);
+ if (node_data.children) {
+ return addChildren(node_data.children);
+ }
+ };
+ })(this);
+ addChildren = (function(_this) {
+ return function(children_data) {
+ var child, j, len, node;
+ for (j = 0, len = children_data.length; j < len; j++) {
+ child = children_data[j];
+ node = new _this.tree.node_class('');
+ node.initFromData(child);
+ _this.addChild(node);
+ }
+ return null;
+ };
+ })(this);
+ addNode(data);
+ return null;
+ };
+
+
+ /*
+ Create tree from data.
+
+ Structure of data is:
+ [
+ {
+ label: 'node1',
+ children: [
+ { label: 'child1' },
+ { label: 'child2' }
+ ]
+ },
+ {
+ label: 'node2'
+ }
+ ]
+ */
+
+ Node.prototype.loadFromData = function(data) {
+ var j, len, node, o;
+ this.removeChildren();
+ for (j = 0, len = data.length; j < len; j++) {
+ o = data[j];
+ node = new this.tree.node_class(o);
+ this.addChild(node);
+ if (typeof o === 'object' && o.children) {
+ node.loadFromData(o.children);
+ }
+ }
+ return null;
+ };
+
+
+ /*
+ Add child.
+
+ tree.addChild(
+ new Node('child1')
+ );
+ */
+
+ Node.prototype.addChild = function(node) {
+ this.children.push(node);
+ return node._setParent(this);
+ };
+
+
+ /*
+ Add child at position. Index starts at 0.
+
+ tree.addChildAtPosition(
+ new Node('abc'),
+ 1
+ );
+ */
+
+ Node.prototype.addChildAtPosition = function(node, index) {
+ this.children.splice(index, 0, node);
+ return node._setParent(this);
+ };
+
+ Node.prototype._setParent = function(parent) {
+ this.parent = parent;
+ this.tree = parent.tree;
+ return this.tree.addNodeToIndex(this);
+ };
+
+
+ /*
+ Remove child. This also removes the children of the node.
+
+ tree.removeChild(tree.children[0]);
+ */
+
+ Node.prototype.removeChild = function(node) {
+ node.removeChildren();
+ return this._removeChild(node);
+ };
+
+ Node.prototype._removeChild = function(node) {
+ this.children.splice(this.getChildIndex(node), 1);
+ return this.tree.removeNodeFromIndex(node);
+ };
+
+
+ /*
+ Get child index.
+
+ var index = getChildIndex(node);
+ */
+
+ Node.prototype.getChildIndex = function(node) {
+ return $.inArray(node, this.children);
+ };
+
+
+ /*
+ Does the tree have children?
+
+ if (tree.hasChildren()) {
+ //
+ }
+ */
+
+ Node.prototype.hasChildren = function() {
+ return this.children.length !== 0;
+ };
+
+ Node.prototype.isFolder = function() {
+ return this.hasChildren() || this.load_on_demand;
+ };
+
+
+ /*
+ Iterate over all the nodes in the tree.
+
+ Calls callback with (node, level).
+
+ The callback must return true to continue the iteration on current node.
+
+ tree.iterate(
+ function(node, level) {
+ console.log(node.name);
+
+ // stop iteration after level 2
+ return (level <= 2);
+ }
+ );
+ */
+
+ Node.prototype.iterate = function(callback) {
+ var _iterate;
+ _iterate = function(node, level) {
+ var child, j, len, ref, result;
+ if (node.children) {
+ ref = node.children;
+ for (j = 0, len = ref.length; j < len; j++) {
+ child = ref[j];
+ result = callback(child, level);
+ if (result && child.hasChildren()) {
+ _iterate(child, level + 1);
+ }
+ }
+ return null;
+ }
+ };
+ _iterate(this, 0);
+ return null;
+ };
+
+
+ /*
+ Move node relative to another node.
+
+ Argument position: Position.BEFORE, Position.AFTER or Position.Inside
+
+ // move node1 after node2
+ tree.moveNode(node1, node2, Position.AFTER);
+ */
+
+ Node.prototype.moveNode = function(moved_node, target_node, position) {
+ if (moved_node.isParentOf(target_node)) {
+ return;
+ }
+ moved_node.parent._removeChild(moved_node);
+ if (position === Position.AFTER) {
+ return target_node.parent.addChildAtPosition(moved_node, target_node.parent.getChildIndex(target_node) + 1);
+ } else if (position === Position.BEFORE) {
+ return target_node.parent.addChildAtPosition(moved_node, target_node.parent.getChildIndex(target_node));
+ } else if (position === Position.INSIDE) {
+ return target_node.addChildAtPosition(moved_node, 0);
+ }
+ };
+
+
+ /*
+ Get the tree as data.
+ */
+
+ Node.prototype.getData = function(include_parent) {
+ var getDataFromNodes;
+ if (include_parent == null) {
+ include_parent = false;
+ }
+ getDataFromNodes = function(nodes) {
+ var data, j, k, len, node, tmp_node, v;
+ data = [];
+ for (j = 0, len = nodes.length; j < len; j++) {
+ node = nodes[j];
+ tmp_node = {};
+ for (k in node) {
+ v = node[k];
+ if ((k !== 'parent' && k !== 'children' && k !== 'element' && k !== 'tree') && Object.prototype.hasOwnProperty.call(node, k)) {
+ tmp_node[k] = v;
+ }
+ }
+ if (node.hasChildren()) {
+ tmp_node.children = getDataFromNodes(node.children);
+ }
+ data.push(tmp_node);
+ }
+ return data;
+ };
+ if (include_parent) {
+ return getDataFromNodes([this]);
+ } else {
+ return getDataFromNodes(this.children);
+ }
+ };
+
+ Node.prototype.getNodeByName = function(name) {
+ var result;
+ result = null;
+ this.iterate(function(node) {
+ if (node.name === name) {
+ result = node;
+ return false;
+ } else {
+ return true;
+ }
+ });
+ return result;
+ };
+
+ Node.prototype.addAfter = function(node_info) {
+ var child_index, node;
+ if (!this.parent) {
+ return null;
+ } else {
+ node = new this.tree.node_class(node_info);
+ child_index = this.parent.getChildIndex(this);
+ this.parent.addChildAtPosition(node, child_index + 1);
+ return node;
+ }
+ };
+
+ Node.prototype.addBefore = function(node_info) {
+ var child_index, node;
+ if (!this.parent) {
+ return null;
+ } else {
+ node = new this.tree.node_class(node_info);
+ child_index = this.parent.getChildIndex(this);
+ this.parent.addChildAtPosition(node, child_index);
+ return node;
+ }
+ };
+
+ Node.prototype.addParent = function(node_info) {
+ var child, j, len, new_parent, original_parent, ref;
+ if (!this.parent) {
+ return null;
+ } else {
+ new_parent = new this.tree.node_class(node_info);
+ new_parent._setParent(this.tree);
+ original_parent = this.parent;
+ ref = original_parent.children;
+ for (j = 0, len = ref.length; j < len; j++) {
+ child = ref[j];
+ new_parent.addChild(child);
+ }
+ original_parent.children = [];
+ original_parent.addChild(new_parent);
+ return new_parent;
+ }
+ };
+
+ Node.prototype.remove = function() {
+ if (this.parent) {
+ this.parent.removeChild(this);
+ return this.parent = null;
+ }
+ };
+
+ Node.prototype.append = function(node_info) {
+ var node;
+ node = new this.tree.node_class(node_info);
+ this.addChild(node);
+ return node;
+ };
+
+ Node.prototype.prepend = function(node_info) {
+ var node;
+ node = new this.tree.node_class(node_info);
+ this.addChildAtPosition(node, 0);
+ return node;
+ };
+
+ Node.prototype.isParentOf = function(node) {
+ var parent;
+ parent = node.parent;
+ while (parent) {
+ if (parent === this) {
+ return true;
+ }
+ parent = parent.parent;
+ }
+ return false;
+ };
+
+ Node.prototype.getLevel = function() {
+ var level, node;
+ level = 0;
+ node = this;
+ while (node.parent) {
+ level += 1;
+ node = node.parent;
+ }
+ return level;
+ };
+
+ Node.prototype.getNodeById = function(node_id) {
+ return this.id_mapping[node_id];
+ };
+
+ Node.prototype.addNodeToIndex = function(node) {
+ if (node.id != null) {
+ return this.id_mapping[node.id] = node;
+ }
+ };
+
+ Node.prototype.removeNodeFromIndex = function(node) {
+ if (node.id != null) {
+ return delete this.id_mapping[node.id];
+ }
+ };
+
+ Node.prototype.removeChildren = function() {
+ this.iterate((function(_this) {
+ return function(child) {
+ _this.tree.removeNodeFromIndex(child);
+ return true;
+ };
+ })(this));
+ return this.children = [];
+ };
+
+ Node.prototype.getPreviousSibling = function() {
+ var previous_index;
+ if (!this.parent) {
+ return null;
+ } else {
+ previous_index = this.parent.getChildIndex(this) - 1;
+ if (previous_index >= 0) {
+ return this.parent.children[previous_index];
+ } else {
+ return null;
+ }
+ }
+ };
+
+ Node.prototype.getNextSibling = function() {
+ var next_index;
+ if (!this.parent) {
+ return null;
+ } else {
+ next_index = this.parent.getChildIndex(this) + 1;
+ if (next_index < this.parent.children.length) {
+ return this.parent.children[next_index];
+ } else {
+ return null;
+ }
+ }
+ };
+
+ Node.prototype.getNodesByProperty = function(key, value) {
+ return this.filter(function(node) {
+ return node[key] === value;
+ });
+ };
+
+ Node.prototype.filter = function(f) {
+ var result;
+ result = [];
+ this.iterate(function(node) {
+ if (f(node)) {
+ result.push(node);
+ }
+ return true;
+ });
+ return result;
+ };
+
+ Node.prototype.getNextNode = function(include_children) {
+ var next_sibling;
+ if (include_children == null) {
+ include_children = true;
+ }
+ if (include_children && this.hasChildren() && this.is_open) {
+ return this.children[0];
+ } else {
+ if (!this.parent) {
+ return null;
+ } else {
+ next_sibling = this.getNextSibling();
+ if (next_sibling) {
+ return next_sibling;
+ } else {
+ return this.parent.getNextNode(false);
+ }
+ }
+ }
+ };
+
+ Node.prototype.getPreviousNode = function() {
+ var previous_sibling;
+ if (!this.parent) {
+ return null;
+ } else {
+ previous_sibling = this.getPreviousSibling();
+ if (previous_sibling) {
+ if (!previous_sibling.hasChildren() || !previous_sibling.is_open) {
+ return previous_sibling;
+ } else {
+ return previous_sibling.getLastChild();
+ }
+ } else {
+ if (this.parent.parent) {
+ return this.parent;
+ } else {
+ return null;
+ }
+ }
+ }
+ };
+
+ Node.prototype.getLastChild = function() {
+ var last_child;
+ if (!this.hasChildren()) {
+ return null;
+ } else {
+ last_child = this.children[this.children.length - 1];
+ if (!last_child.hasChildren() || !last_child.is_open) {
+ return last_child;
+ } else {
+ return last_child.getLastChild();
+ }
+ }
+ };
+
+ return Node;
+
+})();
+
+module.exports = {
+ Node: Node,
+ Position: Position
+};
+
+},{}],6:[function(require,module,exports){
+var $, BorderDropHint, FolderElement, GhostDropHint, NodeElement, Position, node,
+ extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
+ hasProp = {}.hasOwnProperty;
+
+node = require('./node');
+
+Position = node.Position;
+
+$ = jQuery;
+
+NodeElement = (function() {
+ function NodeElement(node, tree_widget) {
+ this.init(node, tree_widget);
+ }
+
+ NodeElement.prototype.init = function(node, tree_widget) {
+ this.node = node;
+ this.tree_widget = tree_widget;
+ if (!node.element) {
+ node.element = this.tree_widget.element;
+ }
+ return this.$element = $(node.element);
+ };
+
+ NodeElement.prototype.getUl = function() {
+ return this.$element.children('ul:first');
+ };
+
+ NodeElement.prototype.getSpan = function() {
+ return this.$element.children('.jqtree-element').find('span.jqtree-title');
+ };
+
+ NodeElement.prototype.getLi = function() {
+ return this.$element;
+ };
+
+ NodeElement.prototype.addDropHint = function(position) {
+ if (position === Position.INSIDE) {
+ return new BorderDropHint(this.$element);
+ } else {
+ return new GhostDropHint(this.node, this.$element, position);
+ }
+ };
+
+ NodeElement.prototype.select = function() {
+ return this.getLi().addClass('jqtree-selected');
+ };
+
+ NodeElement.prototype.deselect = function() {
+ return this.getLi().removeClass('jqtree-selected');
+ };
+
+ return NodeElement;
+
+})();
+
+FolderElement = (function(superClass) {
+ extend(FolderElement, superClass);
+
+ function FolderElement() {
+ return FolderElement.__super__.constructor.apply(this, arguments);
+ }
+
+ FolderElement.prototype.open = function(on_finished, slide) {
+ var $button, doOpen;
+ if (slide == null) {
+ slide = true;
+ }
+ if (!this.node.is_open) {
+ this.node.is_open = true;
+ $button = this.getButton();
+ $button.removeClass('jqtree-closed');
+ $button.html('');
+ $button.append(this.tree_widget.renderer.opened_icon_element.cloneNode(false));
+ doOpen = (function(_this) {
+ return function() {
+ _this.getLi().removeClass('jqtree-closed');
+ if (on_finished) {
+ on_finished();
+ }
+ return _this.tree_widget._triggerEvent('tree.open', {
+ node: _this.node
+ });
+ };
+ })(this);
+ if (slide) {
+ return this.getUl().slideDown('fast', doOpen);
+ } else {
+ this.getUl().show();
+ return doOpen();
+ }
+ }
+ };
+
+ FolderElement.prototype.close = function(slide) {
+ var $button, doClose;
+ if (slide == null) {
+ slide = true;
+ }
+ if (this.node.is_open) {
+ this.node.is_open = false;
+ $button = this.getButton();
+ $button.addClass('jqtree-closed');
+ $button.html('');
+ $button.append(this.tree_widget.renderer.closed_icon_element.cloneNode(false));
+ doClose = (function(_this) {
+ return function() {
+ _this.getLi().addClass('jqtree-closed');
+ return _this.tree_widget._triggerEvent('tree.close', {
+ node: _this.node
+ });
+ };
+ })(this);
+ if (slide) {
+ return this.getUl().slideUp('fast', doClose);
+ } else {
+ this.getUl().hide();
+ return doClose();
+ }
+ }
+ };
+
+ FolderElement.prototype.getButton = function() {
+ return this.$element.children('.jqtree-element').find('a.jqtree-toggler');
+ };
+
+ FolderElement.prototype.addDropHint = function(position) {
+ if (!this.node.is_open && position === Position.INSIDE) {
+ return new BorderDropHint(this.$element);
+ } else {
+ return new GhostDropHint(this.node, this.$element, position);
+ }
+ };
+
+ return FolderElement;
+
+})(NodeElement);
+
+BorderDropHint = (function() {
+ function BorderDropHint($element) {
+ var $div, width;
+ $div = $element.children('.jqtree-element');
+ width = $element.width() - 4;
+ this.$hint = $('<span class="jqtree-border"></span>');
+ $div.append(this.$hint);
+ this.$hint.css({
+ width: width,
+ height: $div.outerHeight() - 4
+ });
+ }
+
+ BorderDropHint.prototype.remove = function() {
+ return this.$hint.remove();
+ };
+
+ return BorderDropHint;
+
+})();
+
+GhostDropHint = (function() {
+ function GhostDropHint(node, $element, position) {
+ this.$element = $element;
+ this.node = node;
+ this.$ghost = $('<li class="jqtree_common jqtree-ghost"><span class="jqtree_common jqtree-circle"></span><span class="jqtree_common jqtree-line"></span></li>');
+ if (position === Position.AFTER) {
+ this.moveAfter();
+ } else if (position === Position.BEFORE) {
+ this.moveBefore();
+ } else if (position === Position.INSIDE) {
+ if (node.isFolder() && node.is_open) {
+ this.moveInsideOpenFolder();
+ } else {
+ this.moveInside();
+ }
+ }
+ }
+
+ GhostDropHint.prototype.remove = function() {
+ return this.$ghost.remove();
+ };
+
+ GhostDropHint.prototype.moveAfter = function() {
+ return this.$element.after(this.$ghost);
+ };
+
+ GhostDropHint.prototype.moveBefore = function() {
+ return this.$element.before(this.$ghost);
+ };
+
+ GhostDropHint.prototype.moveInsideOpenFolder = function() {
+ return $(this.node.children[0].element).before(this.$ghost);
+ };
+
+ GhostDropHint.prototype.moveInside = function() {
+ this.$element.after(this.$ghost);
+ return this.$ghost.addClass('jqtree-inside');
+ };
+
+ return GhostDropHint;
+
+})();
+
+module.exports = {
+ FolderElement: FolderElement,
+ NodeElement: NodeElement
+};
+
+},{"./node":5}],7:[function(require,module,exports){
+var $, SaveStateHandler, indexOf, isInt, util;
+
+util = require('./util');
+
+indexOf = util.indexOf;
+
+isInt = util.isInt;
+
+$ = jQuery;
+
+SaveStateHandler = (function() {
+ function SaveStateHandler(tree_widget) {
+ this.tree_widget = tree_widget;
+ }
+
+ SaveStateHandler.prototype.saveState = function() {
+ var state;
+ state = JSON.stringify(this.getState());
+ if (this.tree_widget.options.onSetStateFromStorage) {
+ return this.tree_widget.options.onSetStateFromStorage(state);
+ } else if (this.supportsLocalStorage()) {
+ return localStorage.setItem(this.getCookieName(), state);
+ } else if ($.cookie) {
+ $.cookie.raw = true;
+ return $.cookie(this.getCookieName(), state, {
+ path: '/'
+ });
+ }
+ };
+
+ SaveStateHandler.prototype.getStateFromStorage = function() {
+ var json_data;
+ json_data = this._loadFromStorage();
+ if (json_data) {
+ return this._parseState(json_data);
+ } else {
+ return null;
+ }
+ };
+
+ SaveStateHandler.prototype._parseState = function(json_data) {
+ var state;
+ state = $.parseJSON(json_data);
+ if (state && state.selected_node && isInt(state.selected_node)) {
+ state.selected_node = [state.selected_node];
+ }
+ return state;
+ };
+
+ SaveStateHandler.prototype._loadFromStorage = function() {
+ if (this.tree_widget.options.onGetStateFromStorage) {
+ return this.tree_widget.options.onGetStateFromStorage();
+ } else if (this.supportsLocalStorage()) {
+ return localStorage.getItem(this.getCookieName());
+ } else if ($.cookie) {
+ $.cookie.raw = true;
+ return $.cookie(this.getCookieName());
+ } else {
+ return null;
+ }
+ };
+
+ SaveStateHandler.prototype.getState = function() {
+ var getOpenNodeIds, getSelectedNodeIds;
+ getOpenNodeIds = (function(_this) {
+ return function() {
+ var open_nodes;
+ open_nodes = [];
+ _this.tree_widget.tree.iterate(function(node) {
+ if (node.is_open && node.id && node.hasChildren()) {
+ open_nodes.push(node.id);
+ }
+ return true;
+ });
+ return open_nodes;
+ };
+ })(this);
+ getSelectedNodeIds = (function(_this) {
+ return function() {
+ var n;
+ return (function() {
+ var i, len, ref, results;
+ ref = this.tree_widget.getSelectedNodes();
+ results = [];
+ for (i = 0, len = ref.length; i < len; i++) {
+ n = ref[i];
+ results.push(n.id);
+ }
+ return results;
+ }).call(_this);
+ };
+ })(this);
+ return {
+ open_nodes: getOpenNodeIds(),
+ selected_node: getSelectedNodeIds()
+ };
+ };
+
+ SaveStateHandler.prototype.setInitialState = function(state) {
+ var must_load_on_demand;
+ if (!state) {
+ return false;
+ } else {
+ must_load_on_demand = this._openInitialNodes(state.open_nodes);
+ this._selectInitialNodes(state.selected_node);
+ return must_load_on_demand;
+ }
+ };
+
+ SaveStateHandler.prototype._openInitialNodes = function(node_ids) {
+ var i, len, must_load_on_demand, node, node_id;
+ must_load_on_demand = false;
+ for (i = 0, len = node_ids.length; i < len; i++) {
+ node_id = node_ids[i];
+ node = this.tree_widget.getNodeById(node_id);
+ if (node) {
+ if (!node.load_on_demand) {
+ node.is_open = true;
+ } else {
+ must_load_on_demand = true;
+ }
+ }
+ }
+ return must_load_on_demand;
+ };
+
+ SaveStateHandler.prototype._selectInitialNodes = function(node_ids) {
+ var i, len, node, node_id, select_count;
+ select_count = 0;
+ for (i = 0, len = node_ids.length; i < len; i++) {
+ node_id = node_ids[i];
+ node = this.tree_widget.getNodeById(node_id);
+ if (node) {
+ select_count += 1;
+ this.tree_widget.select_node_handler.addToSelection(node);
+ }
+ }
+ return select_count !== 0;
+ };
+
+ SaveStateHandler.prototype.setInitialStateOnDemand = function(state) {
+ if (state) {
+ return this._setInitialStateOnDemand(state.open_nodes, state.selected_node);
+ }
+ };
+
+ SaveStateHandler.prototype._setInitialStateOnDemand = function(node_ids, selected_nodes) {
+ var loadAndOpenNode, openNodes;
+ openNodes = (function(_this) {
+ return function() {
+ var i, len, new_nodes_ids, node, node_id;
+ new_nodes_ids = [];
+ for (i = 0, len = node_ids.length; i < len; i++) {
+ node_id = node_ids[i];
+ node = _this.tree_widget.getNodeById(node_id);
+ if (!node) {
+ new_nodes_ids.push(node_id);
+ } else {
+ if (!node.is_loading) {
+ if (node.load_on_demand) {
+ loadAndOpenNode(node);
+ } else {
+ _this.tree_widget._openNode(node, false);
+ }
+ }
+ }
+ }
+ node_ids = new_nodes_ids;
+ if (_this._selectInitialNodes(selected_nodes)) {
+ return _this.tree_widget._refreshElements();
+ }
+ };
+ })(this);
+ loadAndOpenNode = (function(_this) {
+ return function(node) {
+ return _this.tree_widget._openNode(node, false, openNodes);
+ };
+ })(this);
+ return openNodes();
+ };
+
+ SaveStateHandler.prototype.getCookieName = function() {
+ if (typeof this.tree_widget.options.saveState === 'string') {
+ return this.tree_widget.options.saveState;
+ } else {
+ return 'tree';
+ }
+ };
+
+ SaveStateHandler.prototype.supportsLocalStorage = function() {
+ var testSupport;
+ testSupport = function() {
+ var error, key;
+ if (typeof localStorage === "undefined" || localStorage === null) {
+ return false;
+ } else {
+ try {
+ key = '_storage_test';
+ sessionStorage.setItem(key, true);
+ sessionStorage.removeItem(key);
+ } catch (_error) {
+ error = _error;
+ return false;
+ }
+ return true;
+ }
+ };
+ if (this._supportsLocalStorage == null) {
+ this._supportsLocalStorage = testSupport();
+ }
+ return this._supportsLocalStorage;
+ };
+
+ SaveStateHandler.prototype.getNodeIdToBeSelected = function() {
+ var state;
+ state = this.getStateFromStorage();
+ if (state && state.selected_node) {
+ return state.selected_node[0];
+ } else {
+ return null;
+ }
+ };
+
+ return SaveStateHandler;
+
+})();
+
+module.exports = SaveStateHandler;
+
+},{"./util":12}],8:[function(require,module,exports){
+var $, ScrollHandler;
+
+$ = jQuery;
+
+ScrollHandler = (function() {
+ function ScrollHandler(tree_widget) {
+ this.tree_widget = tree_widget;
+ this.previous_top = -1;
+ this._initScrollParent();
+ }
+
+ ScrollHandler.prototype._initScrollParent = function() {
+ var $scroll_parent, getParentWithOverflow, setDocumentAsScrollParent;
+ getParentWithOverflow = (function(_this) {
+ return function() {
+ var css_values, el, hasOverFlow, i, len, ref;
+ css_values = ['overflow', 'overflow-y'];
+ hasOverFlow = function(el) {
+ var css_value, i, len, ref;
+ for (i = 0, len = css_values.length; i < len; i++) {
+ css_value = css_values[i];
+ if ((ref = $.css(el, css_value)) === 'auto' || ref === 'scroll') {
+ return true;
+ }
+ }
+ return false;
+ };
+ if (hasOverFlow(_this.tree_widget.$el[0])) {
+ return _this.tree_widget.$el;
+ }
+ ref = _this.tree_widget.$el.parents();
+ for (i = 0, len = ref.length; i < len; i++) {
+ el = ref[i];
+ if (hasOverFlow(el)) {
+ return $(el);
+ }
+ }
+ return null;
+ };
+ })(this);
+ setDocumentAsScrollParent = (function(_this) {
+ return function() {
+ _this.scroll_parent_top = 0;
+ return _this.$scroll_parent = null;
+ };
+ })(this);
+ if (this.tree_widget.$el.css('position') === 'fixed') {
+ setDocumentAsScrollParent();
+ }
+ $scroll_parent = getParentWithOverflow();
+ if ($scroll_parent && $scroll_parent.length && $scroll_parent[0].tagName !== 'HTML') {
+ this.$scroll_parent = $scroll_parent;
+ return this.scroll_parent_top = this.$scroll_parent.offset().top;
+ } else {
+ return setDocumentAsScrollParent();
+ }
+ };
+
+ ScrollHandler.prototype.checkScrolling = function() {
+ var hovered_area;
+ hovered_area = this.tree_widget.dnd_handler.hovered_area;
+ if (hovered_area && hovered_area.top !== this.previous_top) {
+ this.previous_top = hovered_area.top;
+ if (this.$scroll_parent) {
+ return this._handleScrollingWithScrollParent(hovered_area);
+ } else {
+ return this._handleScrollingWithDocument(hovered_area);
+ }
+ }
+ };
+
+ ScrollHandler.prototype._handleScrollingWithScrollParent = function(area) {
+ var distance_bottom;
+ distance_bottom = this.scroll_parent_top + this.$scroll_parent[0].offsetHeight - area.bottom;
+ if (distance_bottom < 20) {
+ this.$scroll_parent[0].scrollTop += 20;
+ this.tree_widget.refreshHitAreas();
+ return this.previous_top = -1;
+ } else if ((area.top - this.scroll_parent_top) < 20) {
+ this.$scroll_parent[0].scrollTop -= 20;
+ this.tree_widget.refreshHitAreas();
+ return this.previous_top = -1;
+ }
+ };
+
+ ScrollHandler.prototype._handleScrollingWithDocument = function(area) {
+ var distance_top;
+ distance_top = area.top - $(document).scrollTop();
+ if (distance_top < 20) {
+ return $(document).scrollTop($(document).scrollTop() - 20);
+ } else if ($(window).height() - (area.bottom - $(document).scrollTop()) < 20) {
+ return $(document).scrollTop($(document).scrollTop() + 20);
+ }
+ };
+
+ ScrollHandler.prototype.scrollTo = function(top) {
+ var tree_top;
+ if (this.$scroll_parent) {
+ return this.$scroll_parent[0].scrollTop = top;
+ } else {
+ tree_top = this.tree_widget.$el.offset().top;
+ return $(document).scrollTop(top + tree_top);
+ }
+ };
+
+ ScrollHandler.prototype.isScrolledIntoView = function(element) {
+ var $element, element_bottom, element_top, view_bottom, view_top;
+ $element = $(element);
+ if (this.$scroll_parent) {
+ view_top = 0;
+ view_bottom = this.$scroll_parent.height();
+ element_top = $element.offset().top - this.scroll_parent_top;
+ element_bottom = element_top + $element.height();
+ } else {
+ view_top = $(window).scrollTop();
+ view_bottom = view_top + $(window).height();
+ element_top = $element.offset().top;
+ element_bottom = element_top + $element.height();
+ }
+ return (element_bottom <= view_bottom) && (element_top >= view_top);
+ };
+
+ return ScrollHandler;
+
+})();
+
+module.exports = ScrollHandler;
+
+},{}],9:[function(require,module,exports){
+var $, SelectNodeHandler;
+
+$ = jQuery;
+
+SelectNodeHandler = (function() {
+ function SelectNodeHandler(tree_widget) {
+ this.tree_widget = tree_widget;
+ this.clear();
+ }
+
+ SelectNodeHandler.prototype.getSelectedNode = function() {
+ var selected_nodes;
+ selected_nodes = this.getSelectedNodes();
+ if (selected_nodes.length) {
+ return selected_nodes[0];
+ } else {
+ return false;
+ }
+ };
+
+ SelectNodeHandler.prototype.getSelectedNodes = function() {
+ var id, node, selected_nodes;
+ if (this.selected_single_node) {
+ return [this.selected_single_node];
+ } else {
+ selected_nodes = [];
+ for (id in this.selected_nodes) {
+ node = this.tree_widget.getNodeById(id);
+ if (node) {
+ selected_nodes.push(node);
+ }
+ }
+ return selected_nodes;
+ }
+ };
+
+ SelectNodeHandler.prototype.getSelectedNodesUnder = function(parent) {
+ var id, node, selected_nodes;
+ if (this.selected_single_node) {
+ if (parent.isParentOf(this.selected_single_node)) {
+ return [this.selected_single_node];
+ } else {
+ return [];
+ }
+ } else {
+ selected_nodes = [];
+ for (id in this.selected_nodes) {
+ node = this.tree_widget.getNodeById(id);
+ if (node && parent.isParentOf(node)) {
+ selected_nodes.push(node);
+ }
+ }
+ return selected_nodes;
+ }
+ };
+
+ SelectNodeHandler.prototype.isNodeSelected = function(node) {
+ if (node.id) {
+ return this.selected_nodes[node.id];
+ } else if (this.selected_single_node) {
+ return this.selected_single_node.element === node.element;
+ } else {
+ return false;
+ }
+ };
+
+ SelectNodeHandler.prototype.clear = function() {
+ this.selected_nodes = {};
+ return this.selected_single_node = null;
+ };
+
+ SelectNodeHandler.prototype.removeFromSelection = function(node, include_children) {
+ if (include_children == null) {
+ include_children = false;
+ }
+ if (!node.id) {
+ if (this.selected_single_node && node.element === this.selected_single_node.element) {
+ return this.selected_single_node = null;
+ }
+ } else {
+ delete this.selected_nodes[node.id];
+ if (include_children) {
+ return node.iterate((function(_this) {
+ return function(n) {
+ delete _this.selected_nodes[node.id];
+ return true;
+ };
+ })(this));
+ }
+ }
+ };
+
+ SelectNodeHandler.prototype.addToSelection = function(node) {
+ if (node.id) {
+ return this.selected_nodes[node.id] = true;
+ } else {
+ return this.selected_single_node = node;
+ }
+ };
+
+ return SelectNodeHandler;
+
+})();
+
+module.exports = SelectNodeHandler;
+
+},{}],10:[function(require,module,exports){
+
+/*
+Copyright 2013 Marco Braak
+
+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.
+ */
+var $, SimpleWidget,
+ slice = [].slice;
+
+$ = jQuery;
+
+SimpleWidget = (function() {
+ SimpleWidget.prototype.defaults = {};
+
+ function SimpleWidget(el, options) {
+ this.$el = $(el);
+ this.options = $.extend({}, this.defaults, options);
+ }
+
+ SimpleWidget.prototype.destroy = function() {
+ return this._deinit();
+ };
+
+ SimpleWidget.prototype._init = function() {
+ return null;
+ };
+
+ SimpleWidget.prototype._deinit = function() {
+ return null;
+ };
+
+ SimpleWidget.register = function(widget_class, widget_name) {
+ var callFunction, createWidget, destroyWidget, getDataKey, getWidgetData;
+ getDataKey = function() {
+ return "simple_widget_" + widget_name;
+ };
+ getWidgetData = function(el, data_key) {
+ var widget;
+ widget = $.data(el, data_key);
+ if (widget && (widget instanceof SimpleWidget)) {
+ return widget;
+ } else {
+ return null;
+ }
+ };
+ createWidget = function($el, options) {
+ var data_key, el, existing_widget, i, len, widget;
+ data_key = getDataKey();
+ for (i = 0, len = $el.length; i < len; i++) {
+ el = $el[i];
+ existing_widget = getWidgetData(el, data_key);
+ if (!existing_widget) {
+ widget = new widget_class(el, options);
+ if (!$.data(el, data_key)) {
+ $.data(el, data_key, widget);
+ }
+ widget._init();
+ }
+ }
+ return $el;
+ };
+ destroyWidget = function($el) {
+ var data_key, el, i, len, results, widget;
+ data_key = getDataKey();
+ results = [];
+ for (i = 0, len = $el.length; i < len; i++) {
+ el = $el[i];
+ widget = getWidgetData(el, data_key);
+ if (widget) {
+ widget.destroy();
+ }
+ results.push($.removeData(el, data_key));
+ }
+ return results;
+ };
+ callFunction = function($el, function_name, args) {
+ var el, i, len, result, widget, widget_function;
+ result = null;
+ for (i = 0, len = $el.length; i < len; i++) {
+ el = $el[i];
+ widget = $.data(el, getDataKey());
+ if (widget && (widget instanceof SimpleWidget)) {
+ widget_function = widget[function_name];
+ if (widget_function && (typeof widget_function === 'function')) {
+ result = widget_function.apply(widget, args);
+ }
+ }
+ }
+ return result;
+ };
+ return $.fn[widget_name] = function() {
+ var $el, args, argument1, function_name, options;
+ argument1 = arguments[0], args = 2 <= arguments.length ? slice.call(arguments, 1) : [];
+ $el = this;
+ if (argument1 === void 0 || typeof argument1 === 'object') {
+ options = argument1;
+ return createWidget($el, options);
+ } else if (typeof argument1 === 'string' && argument1[0] !== '_') {
+ function_name = argument1;
+ if (function_name === 'destroy') {
+ return destroyWidget($el);
+ } else if (function_name === 'get_widget_class') {
+ return widget_class;
+ } else {
+ return callFunction($el, function_name, args);
+ }
+ }
+ };
+ };
+
+ return SimpleWidget;
+
+})();
+
+module.exports = SimpleWidget;
+
+},{}],11:[function(require,module,exports){
+
+/*
+Copyright 2013 Marco Braak
+
+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.
+ */
+var $, DragAndDropHandler, ElementsRenderer, FolderElement, JqTreeWidget, KeyHandler, MouseWidget, Node, NodeElement, Position, SaveStateHandler, ScrollHandler, SelectNodeHandler, SimpleWidget, __version__, node_element, node_module, util_module,
+ extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
+ hasProp = {}.hasOwnProperty;
+
+__version__ = require('./version');
+
+DragAndDropHandler = require('./drag_and_drop_handler');
+
+ElementsRenderer = require('./elements_renderer');
+
+KeyHandler = require('./key_handler');
+
+MouseWidget = require('./mouse.widget');
+
+SaveStateHandler = require('./save_state_handler');
+
+ScrollHandler = require('./scroll_handler');
+
+SelectNodeHandler = require('./select_node_handler');
+
+SimpleWidget = require('./simple.widget');
+
+node_module = require('./node');
+
+Node = node_module.Node;
+
+Position = node_module.Position;
+
+util_module = require('./util');
+
+node_element = require('./node_element');
+
+NodeElement = node_element.NodeElement;
+
+FolderElement = node_element.FolderElement;
+
+$ = jQuery;
+
+JqTreeWidget = (function(superClass) {
+ extend(JqTreeWidget, superClass);
+
+ function JqTreeWidget() {
+ return JqTreeWidget.__super__.constructor.apply(this, arguments);
+ }
+
+ JqTreeWidget.prototype.defaults = {
+ autoOpen: false,
+ saveState: false,
+ dragAndDrop: false,
+ selectable: true,
+ useContextMenu: true,
+ onCanSelectNode: null,
+ onSetStateFromStorage: null,
+ onGetStateFromStorage: null,
+ onCreateLi: null,
+ onIsMoveHandle: null,
+ onCanMove: null,
+ onCanMoveTo: null,
+ onLoadFailed: null,
+ autoEscape: true,
+ dataUrl: null,
+ closedIcon: null,
+ openedIcon: '▼',
+ slide: true,
+ nodeClass: Node,
+ dataFilter: null,
+ keyboardSupport: true,
+ openFolderDelay: 500,
+ rtl: null
+ };
+
+ JqTreeWidget.prototype.toggle = function(node, slide) {
+ if (slide == null) {
+ slide = null;
+ }
+ if (slide === null) {
+ slide = this.options.slide;
+ }
+ if (node.is_open) {
+ return this.closeNode(node, slide);
+ } else {
+ return this.openNode(node, slide);
+ }
+ };
+
+ JqTreeWidget.prototype.getTree = function() {
+ return this.tree;
+ };
+
+ JqTreeWidget.prototype.selectNode = function(node) {
+ return this._selectNode(node, false);
+ };
+
+ JqTreeWidget.prototype._selectNode = function(node, must_toggle) {
+ var canSelect, deselected_node, openParents, saveState;
+ if (must_toggle == null) {
+ must_toggle = false;
+ }
+ if (!this.select_node_handler) {
+ return;
+ }
+ canSelect = (function(_this) {
+ return function() {
+ if (_this.options.onCanSelectNode) {
+ return _this.options.selectable && _this.options.onCanSelectNode(node);
+ } else {
+ return _this.options.selectable;
+ }
+ };
+ })(this);
+ openParents = (function(_this) {
+ return function() {
+ var parent;
+ parent = node.parent;
+ if (parent && parent.parent && !parent.is_open) {
+ return _this.openNode(parent, false);
+ }
+ };
+ })(this);
+ saveState = (function(_this) {
+ return function() {
+ if (_this.options.saveState) {
+ return _this.save_state_handler.saveState();
+ }
+ };
+ })(this);
+ if (!node) {
+ this._deselectCurrentNode();
+ saveState();
+ return;
+ }
+ if (!canSelect()) {
+ return;
+ }
+ if (this.select_node_handler.isNodeSelected(node)) {
+ if (must_toggle) {
+ this._deselectCurrentNode();
+ this._triggerEvent('tree.select', {
+ node: null,
+ previous_node: node
+ });
+ }
+ } else {
+ deselected_node = this.getSelectedNode();
+ this._deselectCurrentNode();
+ this.addToSelection(node);
+ this._triggerEvent('tree.select', {
+ node: node,
+ deselected_node: deselected_node
+ });
+ openParents();
+ }
+ return saveState();
+ };
+
+ JqTreeWidget.prototype.getSelectedNode = function() {
+ if (this.select_node_handler) {
+ return this.select_node_handler.getSelectedNode();
+ } else {
+ return null;
+ }
+ };
+
+ JqTreeWidget.prototype.toJson = function() {
+ return JSON.stringify(this.tree.getData());
+ };
+
+ JqTreeWidget.prototype.loadData = function(data, parent_node) {
+ return this._loadData(data, parent_node);
+ };
+
+ JqTreeWidget.prototype.loadDataFromUrl = function(url, parent_node, on_finished) {
+ if ($.type(url) !== 'string') {
+ on_finished = parent_node;
+ parent_node = url;
+ url = null;
+ }
+ return this._loadDataFromUrl(url, parent_node, on_finished);
+ };
+
+ JqTreeWidget.prototype.reload = function() {
+ return this.loadDataFromUrl();
+ };
+
+ JqTreeWidget.prototype._loadDataFromUrl = function(url_info, parent_node, on_finished) {
+ var $el, addLoadingClass, handeLoadData, loadDataFromUrlInfo, parseUrlInfo, removeLoadingClass;
+ $el = null;
+ addLoadingClass = (function(_this) {
+ return function() {
+ if (parent_node) {
+ $el = $(parent_node.element);
+ } else {
+ $el = _this.element;
+ }
+ return $el.addClass('jqtree-loading');
+ };
+ })(this);
+ removeLoadingClass = function() {
+ if ($el) {
+ return $el.removeClass('jqtree-loading');
+ }
+ };
+ parseUrlInfo = function() {
+ if ($.type(url_info) === 'string') {
+ url_info = {
+ url: url_info
+ };
+ }
+ if (!url_info.method) {
+ return url_info.method = 'get';
+ }
+ };
+ handeLoadData = (function(_this) {
+ return function(data) {
+ removeLoadingClass();
+ _this._loadData(data, parent_node);
+ if (on_finished && $.isFunction(on_finished)) {
+ return on_finished();
+ }
+ };
+ })(this);
+ loadDataFromUrlInfo = (function(_this) {
+ return function() {
+ parseUrlInfo();
+ return $.ajax({
+ url: url_info.url,
+ data: url_info.data,
+ type: url_info.method.toUpperCase(),
+ cache: false,
+ dataType: 'json',
+ success: function(response) {
+ var data;
+ if ($.isArray(response) || typeof response === 'object') {
+ data = response;
+ } else {
+ data = $.parseJSON(response);
+ }
+ if (_this.options.dataFilter) {
+ data = _this.options.dataFilter(data);
+ }
+ return handeLoadData(data);
+ },
+ error: function(response) {
+ removeLoadingClass();
+ if (_this.options.onLoadFailed) {
+ return _this.options.onLoadFailed(response);
+ }
+ }
+ });
+ };
+ })(this);
+ if (!url_info) {
+ url_info = this._getDataUrlInfo(parent_node);
+ }
+ addLoadingClass();
+ if (!url_info) {
+ removeLoadingClass();
+ } else if ($.isArray(url_info)) {
+ handeLoadData(url_info);
+ } else {
+ return loadDataFromUrlInfo();
+ }
+ };
+
+ JqTreeWidget.prototype._loadData = function(data, parent_node) {
+ var deselectNodes, loadSubtree;
+ if (parent_node == null) {
+ parent_node = null;
+ }
+ deselectNodes = (function(_this) {
+ return function() {
+ var i, len, n, selected_nodes_under_parent;
+ if (_this.select_node_handler) {
+ selected_nodes_under_parent = _this.select_node_handler.getSelectedNodesUnder(parent_node);
+ for (i = 0, len = selected_nodes_under_parent.length; i < len; i++) {
+ n = selected_nodes_under_parent[i];
+ _this.select_node_handler.removeFromSelection(n);
+ }
+ }
+ return null;
+ };
+ })(this);
+ loadSubtree = (function(_this) {
+ return function() {
+ parent_node.loadFromData(data);
+ parent_node.load_on_demand = false;
+ parent_node.is_loading = false;
+ return _this._refreshElements(parent_node);
+ };
+ })(this);
+ if (!data) {
+ return;
+ }
+ this._triggerEvent('tree.load_data', {
+ tree_data: data
+ });
+ if (!parent_node) {
+ this._initTree(data);
+ } else {
+ deselectNodes();
+ loadSubtree();
+ }
+ if (this.isDragging()) {
+ return this.dnd_handler.refresh();
+ }
+ };
+
+ JqTreeWidget.prototype.getNodeById = function(node_id) {
+ return this.tree.getNodeById(node_id);
+ };
+
+ JqTreeWidget.prototype.getNodeByName = function(name) {
+ return this.tree.getNodeByName(name);
+ };
+
+ JqTreeWidget.prototype.getNodesByProperty = function(key, value) {
+ return this.tree.getNodesByProperty(key, value);
+ };
+
+ JqTreeWidget.prototype.openNode = function(node, slide) {
+ if (slide == null) {
+ slide = null;
+ }
+ if (slide === null) {
+ slide = this.options.slide;
+ }
+ return this._openNode(node, slide);
+ };
+
+ JqTreeWidget.prototype._openNode = function(node, slide, on_finished) {
+ var doOpenNode, parent;
+ if (slide == null) {
+ slide = true;
+ }
+ doOpenNode = (function(_this) {
+ return function(_node, _slide, _on_finished) {
+ var folder_element;
+ folder_element = new FolderElement(_node, _this);
+ return folder_element.open(_on_finished, _slide);
+ };
+ })(this);
+ if (node.isFolder()) {
+ if (node.load_on_demand) {
+ return this._loadFolderOnDemand(node, slide, on_finished);
+ } else {
+ parent = node.parent;
+ while (parent) {
+ if (parent.parent) {
+ doOpenNode(parent, false, null);
+ }
+ parent = parent.parent;
+ }
+ doOpenNode(node, slide, on_finished);
+ return this._saveState();
+ }
+ }
+ };
+
+ JqTreeWidget.prototype._loadFolderOnDemand = function(node, slide, on_finished) {
+ if (slide == null) {
+ slide = true;
+ }
+ node.is_loading = true;
+ return this._loadDataFromUrl(null, node, (function(_this) {
+ return function() {
+ return _this._openNode(node, slide, on_finished);
+ };
+ })(this));
+ };
+
+ JqTreeWidget.prototype.closeNode = function(node, slide) {
+ if (slide == null) {
+ slide = null;
+ }
+ if (slide === null) {
+ slide = this.options.slide;
+ }
+ if (node.isFolder()) {
+ new FolderElement(node, this).close(slide);
+ return this._saveState();
+ }
+ };
+
+ JqTreeWidget.prototype.isDragging = function() {
+ if (this.dnd_handler) {
+ return this.dnd_handler.is_dragging;
+ } else {
+ return false;
+ }
+ };
+
+ JqTreeWidget.prototype.refreshHitAreas = function() {
+ return this.dnd_handler.refresh();
+ };
+
+ JqTreeWidget.prototype.addNodeAfter = function(new_node_info, existing_node) {
+ var new_node;
+ new_node = existing_node.addAfter(new_node_info);
+ this._refreshElements(existing_node.parent);
+ return new_node;
+ };
+
+ JqTreeWidget.prototype.addNodeBefore = function(new_node_info, existing_node) {
+ var new_node;
+ new_node = existing_node.addBefore(new_node_info);
+ this._refreshElements(existing_node.parent);
+ return new_node;
+ };
+
+ JqTreeWidget.prototype.addParentNode = function(new_node_info, existing_node) {
+ var new_node;
+ new_node = existing_node.addParent(new_node_info);
+ this._refreshElements(new_node.parent);
+ return new_node;
+ };
+
+ JqTreeWidget.prototype.removeNode = function(node) {
+ var parent;
+ parent = node.parent;
+ if (parent) {
+ this.select_node_handler.removeFromSelection(node, true);
+ node.remove();
+ return this._refreshElements(parent);
+ }
+ };
+
+ JqTreeWidget.prototype.appendNode = function(new_node_info, parent_node) {
+ var node;
+ parent_node = parent_node || this.tree;
+ node = parent_node.append(new_node_info);
+ this._refreshElements(parent_node);
+ return node;
+ };
+
+ JqTreeWidget.prototype.prependNode = function(new_node_info, parent_node) {
+ var node;
+ if (!parent_node) {
+ parent_node = this.tree;
+ }
+ node = parent_node.prepend(new_node_info);
+ this._refreshElements(parent_node);
+ return node;
+ };
+
+ JqTreeWidget.prototype.updateNode = function(node, data) {
+ var id_is_changed;
+ id_is_changed = data.id && data.id !== node.id;
+ if (id_is_changed) {
+ this.tree.removeNodeFromIndex(node);
+ }
+ node.setData(data);
+ if (id_is_changed) {
+ this.tree.addNodeToIndex(node);
+ }
+ this.renderer.renderFromNode(node);
+ return this._selectCurrentNode();
+ };
+
+ JqTreeWidget.prototype.moveNode = function(node, target_node, position) {
+ var position_index;
+ position_index = Position.nameToIndex(position);
+ this.tree.moveNode(node, target_node, position_index);
+ return this._refreshElements();
+ };
+
+ JqTreeWidget.prototype.getStateFromStorage = function() {
+ return this.save_state_handler.getStateFromStorage();
+ };
+
+ JqTreeWidget.prototype.addToSelection = function(node) {
+ if (node) {
+ this.select_node_handler.addToSelection(node);
+ this._getNodeElementForNode(node).select();
+ return this._saveState();
+ }
+ };
+
+ JqTreeWidget.prototype.getSelectedNodes = function() {
+ return this.select_node_handler.getSelectedNodes();
+ };
+
+ JqTreeWidget.prototype.isNodeSelected = function(node) {
+ return this.select_node_handler.isNodeSelected(node);
+ };
+
+ JqTreeWidget.prototype.removeFromSelection = function(node) {
+ this.select_node_handler.removeFromSelection(node);
+ this._getNodeElementForNode(node).deselect();
+ return this._saveState();
+ };
+
+ JqTreeWidget.prototype.scrollToNode = function(node) {
+ var $element, top;
+ $element = $(node.element);
+ top = $element.offset().top - this.$el.offset().top;
+ return this.scroll_handler.scrollTo(top);
+ };
+
+ JqTreeWidget.prototype.getState = function() {
+ return this.save_state_handler.getState();
+ };
+
+ JqTreeWidget.prototype.setState = function(state) {
+ this.save_state_handler.setInitialState(state);
+ return this._refreshElements();
+ };
+
+ JqTreeWidget.prototype.setOption = function(option, value) {
+ return this.options[option] = value;
+ };
+
+ JqTreeWidget.prototype.moveDown = function() {
+ if (this.key_handler) {
+ return this.key_handler.moveDown();
+ }
+ };
+
+ JqTreeWidget.prototype.moveUp = function() {
+ if (this.key_handler) {
+ return this.key_handler.moveUp();
+ }
+ };
+
+ JqTreeWidget.prototype.getVersion = function() {
+ return __version__;
+ };
+
+ JqTreeWidget.prototype._init = function() {
+ JqTreeWidget.__super__._init.call(this);
+ this.element = this.$el;
+ this.mouse_delay = 300;
+ this.is_initialized = false;
+ this.options.rtl = this._getRtlOption();
+ if (!this.options.closedIcon) {
+ this.options.closedIcon = this._getDefaultClosedIcon();
+ }
+ this.renderer = new ElementsRenderer(this);
+ if (SaveStateHandler != null) {
+ this.save_state_handler = new SaveStateHandler(this);
+ } else {
+ this.options.saveState = false;
+ }
+ if (SelectNodeHandler != null) {
+ this.select_node_handler = new SelectNodeHandler(this);
+ }
+ if (DragAndDropHandler != null) {
+ this.dnd_handler = new DragAndDropHandler(this);
+ } else {
+ this.options.dragAndDrop = false;
+ }
+ if (ScrollHandler != null) {
+ this.scroll_handler = new ScrollHandler(this);
+ }
+ if ((KeyHandler != null) && (SelectNodeHandler != null)) {
+ this.key_handler = new KeyHandler(this);
+ }
+ this._initData();
+ this.element.click($.proxy(this._click, this));
+ this.element.dblclick($.proxy(this._dblclick, this));
+ if (this.options.useContextMenu) {
+ return this.element.bind('contextmenu', $.proxy(this._contextmenu, this));
+ }
+ };
+
+ JqTreeWidget.prototype._deinit = function() {
+ this.element.empty();
+ this.element.unbind();
+ if (this.key_handler) {
+ this.key_handler.deinit();
+ }
+ this.tree = null;
+ return JqTreeWidget.__super__._deinit.call(this);
+ };
+
+ JqTreeWidget.prototype._initData = function() {
+ if (this.options.data) {
+ return this._loadData(this.options.data);
+ } else {
+ return this._loadDataFromUrl(this._getDataUrlInfo());
+ }
+ };
+
+ JqTreeWidget.prototype._getDataUrlInfo = function(node) {
+ var data_url, getUrlFromString;
+ data_url = this.options.dataUrl || this.element.data('url');
+ getUrlFromString = (function(_this) {
+ return function() {
+ var data, selected_node_id, url_info;
+ url_info = {
+ url: data_url
+ };
+ if (node && node.id) {
+ data = {
+ node: node.id
+ };
+ url_info['data'] = data;
+ } else {
+ selected_node_id = _this._getNodeIdToBeSelected();
+ if (selected_node_id) {
+ data = {
+ selected_node: selected_node_id
+ };
+ url_info['data'] = data;
+ }
+ }
+ return url_info;
+ };
+ })(this);
+ if ($.isFunction(data_url)) {
+ return data_url(node);
+ } else if ($.type(data_url) === 'string') {
+ return getUrlFromString();
+ } else {
+ return data_url;
+ }
+ };
+
+ JqTreeWidget.prototype._getNodeIdToBeSelected = function() {
+ if (this.options.saveState) {
+ return this.save_state_handler.getNodeIdToBeSelected();
+ } else {
+ return null;
+ }
+ };
+
+ JqTreeWidget.prototype._initTree = function(data) {
+ var must_load_on_demand;
+ this.tree = new this.options.nodeClass(null, true, this.options.nodeClass);
+ if (this.select_node_handler) {
+ this.select_node_handler.clear();
+ }
+ this.tree.loadFromData(data);
+ must_load_on_demand = this._setInitialState();
+ this._refreshElements();
+ if (must_load_on_demand) {
+ this._setInitialStateOnDemand();
+ }
+ if (!this.is_initialized) {
+ this.is_initialized = true;
+ return this._triggerEvent('tree.init');
+ }
+ };
+
+ JqTreeWidget.prototype._setInitialState = function() {
+ var autoOpenNodes, is_restored, must_load_on_demand, ref, restoreState;
+ restoreState = (function(_this) {
+ return function() {
+ var must_load_on_demand, state;
+ if (!(_this.options.saveState && _this.save_state_handler)) {
+ return [false, false];
+ } else {
+ state = _this.save_state_handler.getStateFromStorage();
+ if (!state) {
+ return [false, false];
+ } else {
+ must_load_on_demand = _this.save_state_handler.setInitialState(state);
+ return [true, must_load_on_demand];
+ }
+ }
+ };
+ })(this);
+ autoOpenNodes = (function(_this) {
+ return function() {
+ var max_level, must_load_on_demand;
+ if (_this.options.autoOpen === false) {
+ return false;
+ }
+ max_level = _this._getAutoOpenMaxLevel();
+ must_load_on_demand = false;
+ _this.tree.iterate(function(node, level) {
+ if (node.load_on_demand) {
+ must_load_on_demand = true;
+ return false;
+ } else if (!node.hasChildren()) {
+ return false;
+ } else {
+ node.is_open = true;
+ return level !== max_level;
+ }
+ });
+ return must_load_on_demand;
+ };
+ })(this);
+ ref = restoreState(), is_restored = ref[0], must_load_on_demand = ref[1];
+ if (!is_restored) {
+ must_load_on_demand = autoOpenNodes();
+ }
+ return must_load_on_demand;
+ };
+
+ JqTreeWidget.prototype._setInitialStateOnDemand = function() {
+ var autoOpenNodes, restoreState;
+ restoreState = (function(_this) {
+ return function() {
+ var state;
+ if (!(_this.options.saveState && _this.save_state_handler)) {
+ return false;
+ } else {
+ state = _this.save_state_handler.getStateFromStorage();
+ if (!state) {
+ return false;
+ } else {
+ _this.save_state_handler.setInitialStateOnDemand(state);
+ return true;
+ }
+ }
+ };
+ })(this);
+ autoOpenNodes = (function(_this) {
+ return function() {
+ var loadAndOpenNode, loading_ids, max_level, openNodes;
+ max_level = _this._getAutoOpenMaxLevel();
+ loading_ids = [];
+ loadAndOpenNode = function(node) {
+ return _this._openNode(node, false, openNodes);
+ };
+ openNodes = function() {
+ return _this.tree.iterate(function(node, level) {
+ if (node.load_on_demand) {
+ if (!node.is_loading) {
+ loadAndOpenNode(node);
+ }
+ return false;
+ } else {
+ _this._openNode(node,
<TRUNCATED>
[03/15] incubator-trafficcontrol git commit: Correcting permissions
that were accidentally changed
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/2c10af21/traffic_ops/app/public/js/jqtree/#tree.jquery.js#
----------------------------------------------------------------------
diff --git a/traffic_ops/app/public/js/jqtree/#tree.jquery.js# b/traffic_ops/app/public/js/jqtree/#tree.jquery.js#
deleted file mode 100644
index 259a6ee..0000000
--- a/traffic_ops/app/public/js/jqtree/#tree.jquery.js#
+++ /dev/null
@@ -1,3341 +0,0 @@
-function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
-var $, DragAndDropHandler, DragElement, HitAreasGenerator, Position, VisibleNodeIterator, node_module,
- extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
- hasProp = {}.hasOwnProperty;
-
-node_module = require('./node');
-
-Position = node_module.Position;
-
-$ = jQuery;
-
-DragAndDropHandler = (function() {
- function DragAndDropHandler(tree_widget) {
- this.tree_widget = tree_widget;
- this.hovered_area = null;
- this.$ghost = null;
- this.hit_areas = [];
- this.is_dragging = false;
- this.current_item = null;
- }
-
- DragAndDropHandler.prototype.mouseCapture = function(position_info) {
- var $element, node_element;
- $element = $(position_info.target);
- if (!this.mustCaptureElement($element)) {
- return null;
- }
- if (this.tree_widget.options.onIsMoveHandle && !this.tree_widget.options.onIsMoveHandle($element)) {
- return null;
- }
- node_element = this.tree_widget._getNodeElement($element);
- if (node_element && this.tree_widget.options.onCanMove) {
- if (!this.tree_widget.options.onCanMove(node_element.node)) {
- node_element = null;
- }
- }
- this.current_item = node_element;
- return this.current_item !== null;
- };
-
- DragAndDropHandler.prototype.mouseStart = function(position_info) {
- var offset;
- this.refresh();
- offset = $(position_info.target).offset();
- this.drag_element = new DragElement(this.current_item.node, position_info.page_x - offset.left, position_info.page_y - offset.top, this.tree_widget.element);
- this.is_dragging = true;
- this.current_item.$element.addClass('jqtree-moving');
- return true;
- };
-
- DragAndDropHandler.prototype.mouseDrag = function(position_info) {
- var area, can_move_to;
- this.drag_element.move(position_info.page_x, position_info.page_y);
- area = this.findHoveredArea(position_info.page_x, position_info.page_y);
- can_move_to = this.canMoveToArea(area);
- if (can_move_to && area) {
- if (!area.node.isFolder()) {
- this.stopOpenFolderTimer();
- }
- if (this.hovered_area !== area) {
- this.hovered_area = area;
- if (this.mustOpenFolderTimer(area)) {
- this.startOpenFolderTimer(area.node);
- } else {
- this.stopOpenFolderTimer();
- }
- this.updateDropHint();
- }
- } else {
- this.removeHover();
- this.removeDropHint();
- this.stopOpenFolderTimer();
- }
- return true;
- };
-
- DragAndDropHandler.prototype.mustCaptureElement = function($element) {
- return !$element.is('input,select');
- };
-
- DragAndDropHandler.prototype.canMoveToArea = function(area) {
- var position_name;
- if (!area) {
- return false;
- } else if (this.tree_widget.options.onCanMoveTo) {
- position_name = Position.getName(area.position);
- return this.tree_widget.options.onCanMoveTo(this.current_item.node, area.node, position_name);
- } else {
- return true;
- }
- };
-
- DragAndDropHandler.prototype.mouseStop = function(position_info) {
- this.moveItem(position_info);
- this.clear();
- this.removeHover();
- this.removeDropHint();
- this.removeHitAreas();
- if (this.current_item) {
- this.current_item.$element.removeClass('jqtree-moving');
- this.current_item = null;
- }
- this.is_dragging = false;
- return false;
- };
-
- DragAndDropHandler.prototype.refresh = function() {
- this.removeHitAreas();
- if (this.current_item) {
- this.generateHitAreas();
- this.current_item = this.tree_widget._getNodeElementForNode(this.current_item.node);
- if (this.is_dragging) {
- return this.current_item.$element.addClass('jqtree-moving');
- }
- }
- };
-
- DragAndDropHandler.prototype.removeHitAreas = function() {
- return this.hit_areas = [];
- };
-
- DragAndDropHandler.prototype.clear = function() {
- this.drag_element.remove();
- return this.drag_element = null;
- };
-
- DragAndDropHandler.prototype.removeDropHint = function() {
- if (this.previous_ghost) {
- return this.previous_ghost.remove();
- }
- };
-
- DragAndDropHandler.prototype.removeHover = function() {
- return this.hovered_area = null;
- };
-
- DragAndDropHandler.prototype.generateHitAreas = function() {
- var hit_areas_generator;
- hit_areas_generator = new HitAreasGenerator(this.tree_widget.tree, this.current_item.node, this.getTreeDimensions().bottom);
- return this.hit_areas = hit_areas_generator.generate();
- };
-
- DragAndDropHandler.prototype.findHoveredArea = function(x, y) {
- var area, dimensions, high, low, mid;
- dimensions = this.getTreeDimensions();
- if (x < dimensions.left || y < dimensions.top || x > dimensions.right || y > dimensions.bottom) {
- return null;
- }
- low = 0;
- high = this.hit_areas.length;
- while (low < high) {
- mid = (low + high) >> 1;
- area = this.hit_areas[mid];
- if (y < area.top) {
- high = mid;
- } else if (y > area.bottom) {
- low = mid + 1;
- } else {
- return area;
- }
- }
- return null;
- };
-
- DragAndDropHandler.prototype.mustOpenFolderTimer = function(area) {
- var node;
- node = area.node;
- return node.isFolder() && !node.is_open && area.position === Position.INSIDE;
- };
-
- DragAndDropHandler.prototype.updateDropHint = function() {
- var node_element;
- if (!this.hovered_area) {
- return;
- }
- this.removeDropHint();
- node_element = this.tree_widget._getNodeElementForNode(this.hovered_area.node);
- return this.previous_ghost = node_element.addDropHint(this.hovered_area.position);
- };
-
- DragAndDropHandler.prototype.startOpenFolderTimer = function(folder) {
- var openFolder;
- openFolder = (function(_this) {
- return function() {
- return _this.tree_widget._openNode(folder, _this.tree_widget.options.slide, function() {
- _this.refresh();
- return _this.updateDropHint();
- });
- };
- })(this);
- this.stopOpenFolderTimer();
- return this.open_folder_timer = setTimeout(openFolder, this.tree_widget.options.openFolderDelay);
- };
-
- DragAndDropHandler.prototype.stopOpenFolderTimer = function() {
- if (this.open_folder_timer) {
- clearTimeout(this.open_folder_timer);
- return this.open_folder_timer = null;
- }
- };
-
- DragAndDropHandler.prototype.moveItem = function(position_info) {
- var doMove, event, moved_node, position, previous_parent, target_node;
- if (this.hovered_area && this.hovered_area.position !== Position.NONE && this.canMoveToArea(this.hovered_area)) {
- moved_node = this.current_item.node;
- target_node = this.hovered_area.node;
- position = this.hovered_area.position;
- previous_parent = moved_node.parent;
- if (position === Position.INSIDE) {
- this.hovered_area.node.is_open = true;
- }
- doMove = (function(_this) {
- return function() {
- _this.tree_widget.tree.moveNode(moved_node, target_node, position);
- _this.tree_widget.element.empty();
- return _this.tree_widget._refreshElements();
- };
- })(this);
- event = this.tree_widget._triggerEvent('tree.move', {
- move_info: {
- moved_node: moved_node,
- target_node: target_node,
- position: Position.getName(position),
- previous_parent: previous_parent,
- do_move: doMove,
- original_event: position_info.original_event
- }
- });
- if (!event.isDefaultPrevented()) {
- return doMove();
- }
- }
- };
-
- DragAndDropHandler.prototype.getTreeDimensions = function() {
- var offset;
- offset = this.tree_widget.element.offset();
- return {
- left: offset.left,
- top: offset.top,
- right: offset.left + this.tree_widget.element.width(),
- bottom: offset.top + this.tree_widget.element.height() + 16
- };
- };
-
- return DragAndDropHandler;
-
-})();
-
-VisibleNodeIterator = (function() {
- function VisibleNodeIterator(tree) {
- this.tree = tree;
- }
-
- VisibleNodeIterator.prototype.iterate = function() {
- var _iterateNode, is_first_node;
- is_first_node = true;
- _iterateNode = (function(_this) {
- return function(node, next_node) {
- var $element, child, children_length, i, j, len, must_iterate_inside, ref;
- must_iterate_inside = (node.is_open || !node.element) && node.hasChildren();
- if (node.element) {
- $element = $(node.element);
- if (!$element.is(':visible')) {
- return;
- }
- if (is_first_node) {
- _this.handleFirstNode(node, $element);
- is_first_node = false;
- }
- if (!node.hasChildren()) {
- _this.handleNode(node, next_node, $element);
- } else if (node.is_open) {
- if (!_this.handleOpenFolder(node, $element)) {
- must_iterate_inside = false;
- }
- } else {
- _this.handleClosedFolder(node, next_node, $element);
- }
- }
- if (must_iterate_inside) {
- children_length = node.children.length;
- ref = node.children;
- for (i = j = 0, len = ref.length; j < len; i = ++j) {
- child = ref[i];
- if (i === (children_length - 1)) {
- _iterateNode(node.children[i], null);
- } else {
- _iterateNode(node.children[i], node.children[i + 1]);
- }
- }
- if (node.is_open) {
- return _this.handleAfterOpenFolder(node, next_node, $element);
- }
- }
- };
- })(this);
- return _iterateNode(this.tree, null);
- };
-
- VisibleNodeIterator.prototype.handleNode = function(node, next_node, $element) {};
-
- VisibleNodeIterator.prototype.handleOpenFolder = function(node, $element) {};
-
- VisibleNodeIterator.prototype.handleClosedFolder = function(node, next_node, $element) {};
-
- VisibleNodeIterator.prototype.handleAfterOpenFolder = function(node, next_node, $element) {};
-
- VisibleNodeIterator.prototype.handleFirstNode = function(node, $element) {};
-
- return VisibleNodeIterator;
-
-})();
-
-HitAreasGenerator = (function(superClass) {
- extend(HitAreasGenerator, superClass);
-
- function HitAreasGenerator(tree, current_node, tree_bottom) {
- HitAreasGenerator.__super__.constructor.call(this, tree);
- this.current_node = current_node;
- this.tree_bottom = tree_bottom;
- }
-
- HitAreasGenerator.prototype.generate = function() {
- this.positions = [];
- this.last_top = 0;
- this.iterate();
- return this.generateHitAreas(this.positions);
- };
-
- HitAreasGenerator.prototype.getTop = function($element) {
- return $element.offset().top;
- };
-
- HitAreasGenerator.prototype.addPosition = function(node, position, top) {
- var area;
- area = {
- top: top,
- node: node,
- position: position
- };
- this.positions.push(area);
- return this.last_top = top;
- };
-
- HitAreasGenerator.prototype.handleNode = function(node, next_node, $element) {
- var top;
- top = this.getTop($element);
- if (node === this.current_node) {
- this.addPosition(node, Position.NONE, top);
- } else {
- this.addPosition(node, Position.INSIDE, top);
- }
- if (next_node === this.current_node || node === this.current_node) {
- return this.addPosition(node, Position.NONE, top);
- } else {
- return this.addPosition(node, Position.AFTER, top);
- }
- };
-
- HitAreasGenerator.prototype.handleOpenFolder = function(node, $element) {
- if (node === this.current_node) {
- return false;
- }
- if (node.children[0] !== this.current_node) {
- this.addPosition(node, Position.INSIDE, this.getTop($element));
- }
- return true;
- };
-
- HitAreasGenerator.prototype.handleClosedFolder = function(node, next_node, $element) {
- var top;
- top = this.getTop($element);
- if (node === this.current_node) {
- return this.addPosition(node, Position.NONE, top);
- } else {
- this.addPosition(node, Position.INSIDE, top);
- if (next_node !== this.current_node) {
- return this.addPosition(node, Position.AFTER, top);
- }
- }
- };
-
- HitAreasGenerator.prototype.handleFirstNode = function(node, $element) {
- if (node !== this.current_node) {
- return this.addPosition(node, Position.BEFORE, this.getTop($(node.element)));
- }
- };
-
- HitAreasGenerator.prototype.handleAfterOpenFolder = function(node, next_node, $element) {
- if (node === this.current_node.node || next_node === this.current_node.node) {
- return this.addPosition(node, Position.NONE, this.last_top);
- } else {
- return this.addPosition(node, Position.AFTER, this.last_top);
- }
- };
-
- HitAreasGenerator.prototype.generateHitAreas = function(positions) {
- var group, hit_areas, j, len, position, previous_top;
- previous_top = -1;
- group = [];
- hit_areas = [];
- for (j = 0, len = positions.length; j < len; j++) {
- position = positions[j];
- if (position.top !== previous_top && group.length) {
- if (group.length) {
- this.generateHitAreasForGroup(hit_areas, group, previous_top, position.top);
- }
- previous_top = position.top;
- group = [];
- }
- group.push(position);
- }
- this.generateHitAreasForGroup(hit_areas, group, previous_top, this.tree_bottom);
- return hit_areas;
- };
-
- HitAreasGenerator.prototype.generateHitAreasForGroup = function(hit_areas, positions_in_group, top, bottom) {
- var area_height, area_top, i, position, position_count;
- position_count = Math.min(positions_in_group.length, 4);
- area_height = Math.round((bottom - top) / position_count);
- area_top = top;
- i = 0;
- while (i < position_count) {
- position = positions_in_group[i];
- hit_areas.push({
- top: area_top,
- bottom: area_top + area_height,
- node: position.node,
- position: position.position
- });
- area_top += area_height;
- i += 1;
- }
- return null;
- };
-
- return HitAreasGenerator;
-
-})(VisibleNodeIterator);
-
-DragElement = (function() {
- function DragElement(node, offset_x, offset_y, $tree) {
- this.offset_x = offset_x;
- this.offset_y = offset_y;
- this.$element = $("<span class=\"jqtree-title jqtree-dragging\">" + node.name + "</span>");
- this.$element.css("position", "absolute");
- $tree.append(this.$element);
- }
-
- DragElement.prototype.move = function(page_x, page_y) {
- return this.$element.offset({
- left: page_x - this.offset_x,
- top: page_y - this.offset_y
- });
- };
-
- DragElement.prototype.remove = function() {
- return this.$element.remove();
- };
-
- return DragElement;
-
-})();
-
-module.exports = DragAndDropHandler;
-
-},{"./node":5}],2:[function(require,module,exports){
-var $, ElementsRenderer, NodeElement, html_escape, node_element, util;
-
-node_element = require('./node_element');
-
-NodeElement = node_element.NodeElement;
-
-util = require('./util');
-
-html_escape = util.html_escape;
-
-$ = jQuery;
-
-ElementsRenderer = (function() {
- function ElementsRenderer(tree_widget) {
- this.tree_widget = tree_widget;
- this.opened_icon_element = this.createButtonElement(tree_widget.options.openedIcon);
- this.closed_icon_element = this.createButtonElement(tree_widget.options.closedIcon);
- }
-
- ElementsRenderer.prototype.render = function(from_node) {
- if (from_node && from_node.parent) {
- return this.renderFromNode(from_node);
- } else {
- return this.renderFromRoot();
- }
- };
-
- ElementsRenderer.prototype.renderFromRoot = function() {
- var $element;
- $element = this.tree_widget.element;
- $element.empty();
- return this.createDomElements($element[0], this.tree_widget.tree.children, true, true);
- };
-
- ElementsRenderer.prototype.renderFromNode = function(node) {
- var $previous_li, li;
- $previous_li = $(node.element);
- li = this.createLi(node);
- this.attachNodeData(node, li);
- $previous_li.after(li);
- $previous_li.remove();
- if (node.children) {
- return this.createDomElements(li, node.children, false, false);
- }
- };
-
- ElementsRenderer.prototype.createDomElements = function(element, children, is_root_node, is_open) {
- var child, i, len, li, ul;
- ul = this.createUl(is_root_node);
- element.appendChild(ul);
- for (i = 0, len = children.length; i < len; i++) {
- child = children[i];
- li = this.createLi(child);
- ul.appendChild(li);
- this.attachNodeData(child, li);
- if (child.hasChildren()) {
- this.createDomElements(li, child.children, false, child.is_open);
- }
- }
- return null;
- };
-
- ElementsRenderer.prototype.attachNodeData = function(node, li) {
- node.element = li;
- return $(li).data('node', node);
- };
-
- ElementsRenderer.prototype.createUl = function(is_root_node) {
- var class_string, ul;
- if (!is_root_node) {
- class_string = '';
- } else {
- class_string = 'jqtree-tree';
- if (this.tree_widget.options.rtl) {
- class_string += ' jqtree-rtl';
- }
- }
- ul = document.createElement('ul');
- ul.className = "jqtree_common " + class_string;
- return ul;
- };
-
- ElementsRenderer.prototype.createLi = function(node) {
- var li;
- if (node.isFolder()) {
- li = this.createFolderLi(node);
- } else {
- li = this.createNodeLi(node);
- }
- if (this.tree_widget.options.onCreateLi) {
- this.tree_widget.options.onCreateLi(node, $(li));
- }
- return li;
- };
-
- ElementsRenderer.prototype.createFolderLi = function(node) {
- var button_classes, button_link, div, escaped_name, folder_classes, icon_element, li, title_span;
- button_classes = this.getButtonClasses(node);
- folder_classes = this.getFolderClasses(node);
- escaped_name = this.escapeIfNecessary(node.name);
- if (node.is_open) {
- icon_element = this.opened_icon_element;
- } else {
- icon_element = this.closed_icon_element;
- }
- li = document.createElement('li');
- li.className = "jqtree_common " + folder_classes;
- div = document.createElement('div');
- div.className = "jqtree-element jqtree_common";
- li.appendChild(div);
- button_link = document.createElement('a');
- button_link.className = "jqtree_common " + button_classes;
- button_link.appendChild(icon_element.cloneNode(false));
- div.appendChild(button_link);
- title_span = document.createElement('span');
- title_span.className = "jqtree_common jqtree-title jqtree-title-folder";
- div.appendChild(title_span);
- title_span.innerHTML = escaped_name;
- return li;
- };
-
- ElementsRenderer.prototype.createNodeLi = function(node) {
- var class_string, div, escaped_name, li, li_classes, title_span;
- li_classes = ['jqtree_common'];
- if (this.tree_widget.select_node_handler && this.tree_widget.select_node_handler.isNodeSelected(node)) {
- li_classes.push('jqtree-selected');
- }
- class_string = li_classes.join(' ');
- escaped_name = this.escapeIfNecessary(node.name);
- li = document.createElement('li');
- li.className = class_string;
- div = document.createElement('div');
- div.className = "jqtree-element jqtree_common";
- li.appendChild(div);
- title_span = document.createElement('span');
- title_span.className = "jqtree-title jqtree_common";
- title_span.innerHTML = escaped_name;
- div.appendChild(title_span);
- return li;
- };
-
- ElementsRenderer.prototype.getButtonClasses = function(node) {
- var classes;
- classes = ['jqtree-toggler'];
- if (!node.is_open) {
- classes.push('jqtree-closed');
- }
- return classes.join(' ');
- };
-
- ElementsRenderer.prototype.getFolderClasses = function(node) {
- var classes;
- classes = ['jqtree-folder'];
- if (!node.is_open) {
- classes.push('jqtree-closed');
- }
- if (this.tree_widget.select_node_handler && this.tree_widget.select_node_handler.isNodeSelected(node)) {
- classes.push('jqtree-selected');
- }
- if (node.is_loading) {
- classes.push('jqtree-loading');
- }
- return classes.join(' ');
- };
-
- ElementsRenderer.prototype.escapeIfNecessary = function(value) {
- if (this.tree_widget.options.autoEscape) {
- return html_escape(value);
- } else {
- return value;
- }
- };
-
- ElementsRenderer.prototype.createButtonElement = function(value) {
- var div;
- if (typeof value === 'string') {
- div = document.createElement('div');
- div.innerHTML = value;
- return document.createTextNode(div.innerHTML);
- } else {
- return $(value)[0];
- }
- };
-
- return ElementsRenderer;
-
-})();
-
-module.exports = ElementsRenderer;
-
-},{"./node_element":6,"./util":12}],3:[function(require,module,exports){
-var $, KeyHandler,
- bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };
-
-$ = jQuery;
-
-KeyHandler = (function() {
- var DOWN, LEFT, RIGHT, UP;
-
- LEFT = 37;
-
- UP = 38;
-
- RIGHT = 39;
-
- DOWN = 40;
-
- function KeyHandler(tree_widget) {
- this.selectNode = bind(this.selectNode, this);
- this.tree_widget = tree_widget;
- if (tree_widget.options.keyboardSupport) {
- $(document).bind('keydown.jqtree', $.proxy(this.handleKeyDown, this));
- }
- }
-
- KeyHandler.prototype.deinit = function() {
- return $(document).unbind('keydown.jqtree');
- };
-
- KeyHandler.prototype.moveDown = function() {
- var node;
- node = this.tree_widget.getSelectedNode();
- if (node) {
- return this.selectNode(node.getNextNode());
- } else {
- return false;
- }
- };
-
- KeyHandler.prototype.moveUp = function() {
- var node;
- node = this.tree_widget.getSelectedNode();
- if (node) {
- return this.selectNode(node.getPreviousNode());
- } else {
- return false;
- }
- };
-
- KeyHandler.prototype.moveRight = function() {
- var node;
- node = this.tree_widget.getSelectedNode();
- if (node && node.isFolder() && !node.is_open) {
- this.tree_widget.openNode(node);
- return false;
- } else {
- return true;
- }
- };
-
- KeyHandler.prototype.moveLeft = function() {
- var node;
- node = this.tree_widget.getSelectedNode();
- if (node && node.isFolder() && node.is_open) {
- this.tree_widget.closeNode(node);
- return false;
- } else {
- return true;
- }
- };
-
- KeyHandler.prototype.handleKeyDown = function(e) {
- var key;
- if (!this.tree_widget.options.keyboardSupport) {
- return true;
- }
- if ($(document.activeElement).is('textarea,input,select')) {
- return true;
- }
- if (!this.tree_widget.getSelectedNode()) {
- return true;
- }
- key = e.which;
- switch (key) {
- case DOWN:
- return this.moveDown();
- case UP:
- return this.moveUp();
- case RIGHT:
- return this.moveRight();
- case LEFT:
- return this.moveLeft();
- }
- return true;
- };
-
- KeyHandler.prototype.selectNode = function(node) {
- if (!node) {
- return true;
- } else {
- this.tree_widget.selectNode(node);
- if (this.tree_widget.scroll_handler && (!this.tree_widget.scroll_handler.isScrolledIntoView($(node.element).find('.jqtree-element')))) {
- this.tree_widget.scrollToNode(node);
- }
- return false;
- }
- };
-
- return KeyHandler;
-
-})();
-
-module.exports = KeyHandler;
-
-},{}],4:[function(require,module,exports){
-
-/*
-This widget does the same a the mouse widget in jqueryui.
- */
-var $, MouseWidget, SimpleWidget,
- extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
- hasProp = {}.hasOwnProperty;
-
-SimpleWidget = require('./simple.widget');
-
-$ = jQuery;
-
-MouseWidget = (function(superClass) {
- extend(MouseWidget, superClass);
-
- function MouseWidget() {
- return MouseWidget.__super__.constructor.apply(this, arguments);
- }
-
- MouseWidget.is_mouse_handled = false;
-
- MouseWidget.prototype._init = function() {
- this.$el.bind('mousedown.mousewidget', $.proxy(this._mouseDown, this));
- this.$el.bind('touchstart.mousewidget', $.proxy(this._touchStart, this));
- this.is_mouse_started = false;
- this.mouse_delay = 0;
- this._mouse_delay_timer = null;
- this._is_mouse_delay_met = true;
- return this.mouse_down_info = null;
- };
-
- MouseWidget.prototype._deinit = function() {
- var $document;
- this.$el.unbind('mousedown.mousewidget');
- this.$el.unbind('touchstart.mousewidget');
- $document = $(document);
- $document.unbind('mousemove.mousewidget');
- return $document.unbind('mouseup.mousewidget');
- };
-
- MouseWidget.prototype._mouseDown = function(e) {
- var result;
- if (e.which !== 1) {
- return;
- }
- result = this._handleMouseDown(e, this._getPositionInfo(e));
- if (result) {
- e.preventDefault();
- }
- return result;
- };
-
- MouseWidget.prototype._handleMouseDown = function(e, position_info) {
- if (MouseWidget.is_mouse_handled) {
- return;
- }
- if (this.is_mouse_started) {
- this._handleMouseUp(position_info);
- }
- this.mouse_down_info = position_info;
- if (!this._mouseCapture(position_info)) {
- return;
- }
- this._handleStartMouse();
- this.is_mouse_handled = true;
- return true;
- };
-
- MouseWidget.prototype._handleStartMouse = function() {
- var $document;
- $document = $(document);
- $document.bind('mousemove.mousewidget', $.proxy(this._mouseMove, this));
- $document.bind('touchmove.mousewidget', $.proxy(this._touchMove, this));
- $document.bind('mouseup.mousewidget', $.proxy(this._mouseUp, this));
- $document.bind('touchend.mousewidget', $.proxy(this._touchEnd, this));
- if (this.mouse_delay) {
- return this._startMouseDelayTimer();
- }
- };
-
- MouseWidget.prototype._startMouseDelayTimer = function() {
- if (this._mouse_delay_timer) {
- clearTimeout(this._mouse_delay_timer);
- }
- this._mouse_delay_timer = setTimeout((function(_this) {
- return function() {
- return _this._is_mouse_delay_met = true;
- };
- })(this), this.mouse_delay);
- return this._is_mouse_delay_met = false;
- };
-
- MouseWidget.prototype._mouseMove = function(e) {
- return this._handleMouseMove(e, this._getPositionInfo(e));
- };
-
- MouseWidget.prototype._handleMouseMove = function(e, position_info) {
- if (this.is_mouse_started) {
- this._mouseDrag(position_info);
- return e.preventDefault();
- }
- if (this.mouse_delay && !this._is_mouse_delay_met) {
- return true;
- }
- this.is_mouse_started = this._mouseStart(this.mouse_down_info) !== false;
- if (this.is_mouse_started) {
- this._mouseDrag(position_info);
- } else {
- this._handleMouseUp(position_info);
- }
- return !this.is_mouse_started;
- };
-
- MouseWidget.prototype._getPositionInfo = function(e) {
- return {
- page_x: e.pageX,
- page_y: e.pageY,
- target: e.target,
- original_event: e
- };
- };
-
- MouseWidget.prototype._mouseUp = function(e) {
- return this._handleMouseUp(this._getPositionInfo(e));
- };
-
- MouseWidget.prototype._handleMouseUp = function(position_info) {
- var $document;
- $document = $(document);
- $document.unbind('mousemove.mousewidget');
- $document.unbind('touchmove.mousewidget');
- $document.unbind('mouseup.mousewidget');
- $document.unbind('touchend.mousewidget');
- if (this.is_mouse_started) {
- this.is_mouse_started = false;
- this._mouseStop(position_info);
- }
- };
-
- MouseWidget.prototype._mouseCapture = function(position_info) {
- return true;
- };
-
- MouseWidget.prototype._mouseStart = function(position_info) {
- return null;
- };
-
- MouseWidget.prototype._mouseDrag = function(position_info) {
- return null;
- };
-
- MouseWidget.prototype._mouseStop = function(position_info) {
- return null;
- };
-
- MouseWidget.prototype.setMouseDelay = function(mouse_delay) {
- return this.mouse_delay = mouse_delay;
- };
-
- MouseWidget.prototype._touchStart = function(e) {
- var touch;
- if (e.originalEvent.touches.length > 1) {
- return;
- }
- touch = e.originalEvent.changedTouches[0];
- return this._handleMouseDown(e, this._getPositionInfo(touch));
- };
-
- MouseWidget.prototype._touchMove = function(e) {
- var touch;
- if (e.originalEvent.touches.length > 1) {
- return;
- }
- touch = e.originalEvent.changedTouches[0];
- return this._handleMouseMove(e, this._getPositionInfo(touch));
- };
-
- MouseWidget.prototype._touchEnd = function(e) {
- var touch;
- if (e.originalEvent.touches.length > 1) {
- return;
- }
- touch = e.originalEvent.changedTouches[0];
- return this._handleMouseUp(this._getPositionInfo(touch));
- };
-
- return MouseWidget;
-
-})(SimpleWidget);
-
-module.exports = MouseWidget;
-
-},{"./simple.widget":10}],5:[function(require,module,exports){
-var $, Node, Position;
-
-$ = jQuery;
-
-Position = {
- getName: function(position) {
- return Position.strings[position - 1];
- },
- nameToIndex: function(name) {
- var i, j, ref;
- for (i = j = 1, ref = Position.strings.length; 1 <= ref ? j <= ref : j >= ref; i = 1 <= ref ? ++j : --j) {
- if (Position.strings[i - 1] === name) {
- return i;
- }
- }
- return 0;
- }
-};
-
-Position.BEFORE = 1;
-
-Position.AFTER = 2;
-
-Position.INSIDE = 3;
-
-Position.NONE = 4;
-
-Position.strings = ['before', 'after', 'inside', 'none'];
-
-Node = (function() {
- function Node(o, is_root, node_class) {
- if (is_root == null) {
- is_root = false;
- }
- if (node_class == null) {
- node_class = Node;
- }
- this.setData(o);
- this.children = [];
- this.parent = null;
- if (is_root) {
- this.id_mapping = {};
- this.tree = this;
- this.node_class = node_class;
- }
- }
-
- Node.prototype.setData = function(o) {
- var key, value;
- if (typeof o !== 'object') {
- this.name = o;
- } else {
- for (key in o) {
- value = o[key];
- if (key === 'label') {
- this.name = value;
- } else {
- this[key] = value;
- }
- }
- }
- return null;
- };
-
- Node.prototype.initFromData = function(data) {
- var addChildren, addNode;
- addNode = (function(_this) {
- return function(node_data) {
- _this.setData(node_data);
- if (node_data.children) {
- return addChildren(node_data.children);
- }
- };
- })(this);
- addChildren = (function(_this) {
- return function(children_data) {
- var child, j, len, node;
- for (j = 0, len = children_data.length; j < len; j++) {
- child = children_data[j];
- node = new _this.tree.node_class('');
- node.initFromData(child);
- _this.addChild(node);
- }
- return null;
- };
- })(this);
- addNode(data);
- return null;
- };
-
-
- /*
- Create tree from data.
-
- Structure of data is:
- [
- {
- label: 'node1',
- children: [
- { label: 'child1' },
- { label: 'child2' }
- ]
- },
- {
- label: 'node2'
- }
- ]
- */
-
- Node.prototype.loadFromData = function(data) {
- var j, len, node, o;
- this.removeChildren();
- for (j = 0, len = data.length; j < len; j++) {
- o = data[j];
- node = new this.tree.node_class(o);
- this.addChild(node);
- if (typeof o === 'object' && o.children) {
- node.loadFromData(o.children);
- }
- }
- return null;
- };
-
-
- /*
- Add child.
-
- tree.addChild(
- new Node('child1')
- );
- */
-
- Node.prototype.addChild = function(node) {
- this.children.push(node);
- return node._setParent(this);
- };
-
-
- /*
- Add child at position. Index starts at 0.
-
- tree.addChildAtPosition(
- new Node('abc'),
- 1
- );
- */
-
- Node.prototype.addChildAtPosition = function(node, index) {
- this.children.splice(index, 0, node);
- return node._setParent(this);
- };
-
- Node.prototype._setParent = function(parent) {
- this.parent = parent;
- this.tree = parent.tree;
- return this.tree.addNodeToIndex(this);
- };
-
-
- /*
- Remove child. This also removes the children of the node.
-
- tree.removeChild(tree.children[0]);
- */
-
- Node.prototype.removeChild = function(node) {
- node.removeChildren();
- return this._removeChild(node);
- };
-
- Node.prototype._removeChild = function(node) {
- this.children.splice(this.getChildIndex(node), 1);
- return this.tree.removeNodeFromIndex(node);
- };
-
-
- /*
- Get child index.
-
- var index = getChildIndex(node);
- */
-
- Node.prototype.getChildIndex = function(node) {
- return $.inArray(node, this.children);
- };
-
-
- /*
- Does the tree have children?
-
- if (tree.hasChildren()) {
- //
- }
- */
-
- Node.prototype.hasChildren = function() {
- return this.children.length !== 0;
- };
-
- Node.prototype.isFolder = function() {
- return this.hasChildren() || this.load_on_demand;
- };
-
-
- /*
- Iterate over all the nodes in the tree.
-
- Calls callback with (node, level).
-
- The callback must return true to continue the iteration on current node.
-
- tree.iterate(
- function(node, level) {
- console.log(node.name);
-
- // stop iteration after level 2
- return (level <= 2);
- }
- );
- */
-
- Node.prototype.iterate = function(callback) {
- var _iterate;
- _iterate = function(node, level) {
- var child, j, len, ref, result;
- if (node.children) {
- ref = node.children;
- for (j = 0, len = ref.length; j < len; j++) {
- child = ref[j];
- result = callback(child, level);
- if (result && child.hasChildren()) {
- _iterate(child, level + 1);
- }
- }
- return null;
- }
- };
- _iterate(this, 0);
- return null;
- };
-
-
- /*
- Move node relative to another node.
-
- Argument position: Position.BEFORE, Position.AFTER or Position.Inside
-
- // move node1 after node2
- tree.moveNode(node1, node2, Position.AFTER);
- */
-
- Node.prototype.moveNode = function(moved_node, target_node, position) {
- if (moved_node.isParentOf(target_node)) {
- return;
- }
- moved_node.parent._removeChild(moved_node);
- if (position === Position.AFTER) {
- return target_node.parent.addChildAtPosition(moved_node, target_node.parent.getChildIndex(target_node) + 1);
- } else if (position === Position.BEFORE) {
- return target_node.parent.addChildAtPosition(moved_node, target_node.parent.getChildIndex(target_node));
- } else if (position === Position.INSIDE) {
- return target_node.addChildAtPosition(moved_node, 0);
- }
- };
-
-
- /*
- Get the tree as data.
- */
-
- Node.prototype.getData = function(include_parent) {
- var getDataFromNodes;
- if (include_parent == null) {
- include_parent = false;
- }
- getDataFromNodes = function(nodes) {
- var data, j, k, len, node, tmp_node, v;
- data = [];
- for (j = 0, len = nodes.length; j < len; j++) {
- node = nodes[j];
- tmp_node = {};
- for (k in node) {
- v = node[k];
- if ((k !== 'parent' && k !== 'children' && k !== 'element' && k !== 'tree') && Object.prototype.hasOwnProperty.call(node, k)) {
- tmp_node[k] = v;
- }
- }
- if (node.hasChildren()) {
- tmp_node.children = getDataFromNodes(node.children);
- }
- data.push(tmp_node);
- }
- return data;
- };
- if (include_parent) {
- return getDataFromNodes([this]);
- } else {
- return getDataFromNodes(this.children);
- }
- };
-
- Node.prototype.getNodeByName = function(name) {
- var result;
- result = null;
- this.iterate(function(node) {
- if (node.name === name) {
- result = node;
- return false;
- } else {
- return true;
- }
- });
- return result;
- };
-
- Node.prototype.addAfter = function(node_info) {
- var child_index, node;
- if (!this.parent) {
- return null;
- } else {
- node = new this.tree.node_class(node_info);
- child_index = this.parent.getChildIndex(this);
- this.parent.addChildAtPosition(node, child_index + 1);
- return node;
- }
- };
-
- Node.prototype.addBefore = function(node_info) {
- var child_index, node;
- if (!this.parent) {
- return null;
- } else {
- node = new this.tree.node_class(node_info);
- child_index = this.parent.getChildIndex(this);
- this.parent.addChildAtPosition(node, child_index);
- return node;
- }
- };
-
- Node.prototype.addParent = function(node_info) {
- var child, j, len, new_parent, original_parent, ref;
- if (!this.parent) {
- return null;
- } else {
- new_parent = new this.tree.node_class(node_info);
- new_parent._setParent(this.tree);
- original_parent = this.parent;
- ref = original_parent.children;
- for (j = 0, len = ref.length; j < len; j++) {
- child = ref[j];
- new_parent.addChild(child);
- }
- original_parent.children = [];
- original_parent.addChild(new_parent);
- return new_parent;
- }
- };
-
- Node.prototype.remove = function() {
- if (this.parent) {
- this.parent.removeChild(this);
- return this.parent = null;
- }
- };
-
- Node.prototype.append = function(node_info) {
- var node;
- node = new this.tree.node_class(node_info);
- this.addChild(node);
- return node;
- };
-
- Node.prototype.prepend = function(node_info) {
- var node;
- node = new this.tree.node_class(node_info);
- this.addChildAtPosition(node, 0);
- return node;
- };
-
- Node.prototype.isParentOf = function(node) {
- var parent;
- parent = node.parent;
- while (parent) {
- if (parent === this) {
- return true;
- }
- parent = parent.parent;
- }
- return false;
- };
-
- Node.prototype.getLevel = function() {
- var level, node;
- level = 0;
- node = this;
- while (node.parent) {
- level += 1;
- node = node.parent;
- }
- return level;
- };
-
- Node.prototype.getNodeById = function(node_id) {
- return this.id_mapping[node_id];
- };
-
- Node.prototype.addNodeToIndex = function(node) {
- if (node.id != null) {
- return this.id_mapping[node.id] = node;
- }
- };
-
- Node.prototype.removeNodeFromIndex = function(node) {
- if (node.id != null) {
- return delete this.id_mapping[node.id];
- }
- };
-
- Node.prototype.removeChildren = function() {
- this.iterate((function(_this) {
- return function(child) {
- _this.tree.removeNodeFromIndex(child);
- return true;
- };
- })(this));
- return this.children = [];
- };
-
- Node.prototype.getPreviousSibling = function() {
- var previous_index;
- if (!this.parent) {
- return null;
- } else {
- previous_index = this.parent.getChildIndex(this) - 1;
- if (previous_index >= 0) {
- return this.parent.children[previous_index];
- } else {
- return null;
- }
- }
- };
-
- Node.prototype.getNextSibling = function() {
- var next_index;
- if (!this.parent) {
- return null;
- } else {
- next_index = this.parent.getChildIndex(this) + 1;
- if (next_index < this.parent.children.length) {
- return this.parent.children[next_index];
- } else {
- return null;
- }
- }
- };
-
- Node.prototype.getNodesByProperty = function(key, value) {
- return this.filter(function(node) {
- return node[key] === value;
- });
- };
-
- Node.prototype.filter = function(f) {
- var result;
- result = [];
- this.iterate(function(node) {
- if (f(node)) {
- result.push(node);
- }
- return true;
- });
- return result;
- };
-
- Node.prototype.getNextNode = function(include_children) {
- var next_sibling;
- if (include_children == null) {
- include_children = true;
- }
- if (include_children && this.hasChildren() && this.is_open) {
- return this.children[0];
- } else {
- if (!this.parent) {
- return null;
- } else {
- next_sibling = this.getNextSibling();
- if (next_sibling) {
- return next_sibling;
- } else {
- return this.parent.getNextNode(false);
- }
- }
- }
- };
-
- Node.prototype.getPreviousNode = function() {
- var previous_sibling;
- if (!this.parent) {
- return null;
- } else {
- previous_sibling = this.getPreviousSibling();
- if (previous_sibling) {
- if (!previous_sibling.hasChildren() || !previous_sibling.is_open) {
- return previous_sibling;
- } else {
- return previous_sibling.getLastChild();
- }
- } else {
- if (this.parent.parent) {
- return this.parent;
- } else {
- return null;
- }
- }
- }
- };
-
- Node.prototype.getLastChild = function() {
- var last_child;
- if (!this.hasChildren()) {
- return null;
- } else {
- last_child = this.children[this.children.length - 1];
- if (!last_child.hasChildren() || !last_child.is_open) {
- return last_child;
- } else {
- return last_child.getLastChild();
- }
- }
- };
-
- return Node;
-
-})();
-
-module.exports = {
- Node: Node,
- Position: Position
-};
-
-},{}],6:[function(require,module,exports){
-var $, BorderDropHint, FolderElement, GhostDropHint, NodeElement, Position, node,
- extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
- hasProp = {}.hasOwnProperty;
-
-node = require('./node');
-
-Position = node.Position;
-
-$ = jQuery;
-
-NodeElement = (function() {
- function NodeElement(node, tree_widget) {
- this.init(node, tree_widget);
- }
-
- NodeElement.prototype.init = function(node, tree_widget) {
- this.node = node;
- this.tree_widget = tree_widget;
- if (!node.element) {
- node.element = this.tree_widget.element;
- }
- return this.$element = $(node.element);
- };
-
- NodeElement.prototype.getUl = function() {
- return this.$element.children('ul:first');
- };
-
- NodeElement.prototype.getSpan = function() {
- return this.$element.children('.jqtree-element').find('span.jqtree-title');
- };
-
- NodeElement.prototype.getLi = function() {
- return this.$element;
- };
-
- NodeElement.prototype.addDropHint = function(position) {
- if (position === Position.INSIDE) {
- return new BorderDropHint(this.$element);
- } else {
- return new GhostDropHint(this.node, this.$element, position);
- }
- };
-
- NodeElement.prototype.select = function() {
- return this.getLi().addClass('jqtree-selected');
- };
-
- NodeElement.prototype.deselect = function() {
- return this.getLi().removeClass('jqtree-selected');
- };
-
- return NodeElement;
-
-})();
-
-FolderElement = (function(superClass) {
- extend(FolderElement, superClass);
-
- function FolderElement() {
- return FolderElement.__super__.constructor.apply(this, arguments);
- }
-
- FolderElement.prototype.open = function(on_finished, slide) {
- var $button, doOpen;
- if (slide == null) {
- slide = true;
- }
- if (!this.node.is_open) {
- this.node.is_open = true;
- $button = this.getButton();
- $button.removeClass('jqtree-closed');
- $button.html('');
- $button.append(this.tree_widget.renderer.opened_icon_element.cloneNode(false));
- doOpen = (function(_this) {
- return function() {
- _this.getLi().removeClass('jqtree-closed');
- if (on_finished) {
- on_finished();
- }
- return _this.tree_widget._triggerEvent('tree.open', {
- node: _this.node
- });
- };
- })(this);
- if (slide) {
- return this.getUl().slideDown('fast', doOpen);
- } else {
- this.getUl().show();
- return doOpen();
- }
- }
- };
-
- FolderElement.prototype.close = function(slide) {
- var $button, doClose;
- if (slide == null) {
- slide = true;
- }
- if (this.node.is_open) {
- this.node.is_open = false;
- $button = this.getButton();
- $button.addClass('jqtree-closed');
- $button.html('');
- $button.append(this.tree_widget.renderer.closed_icon_element.cloneNode(false));
- doClose = (function(_this) {
- return function() {
- _this.getLi().addClass('jqtree-closed');
- return _this.tree_widget._triggerEvent('tree.close', {
- node: _this.node
- });
- };
- })(this);
- if (slide) {
- return this.getUl().slideUp('fast', doClose);
- } else {
- this.getUl().hide();
- return doClose();
- }
- }
- };
-
- FolderElement.prototype.getButton = function() {
- return this.$element.children('.jqtree-element').find('a.jqtree-toggler');
- };
-
- FolderElement.prototype.addDropHint = function(position) {
- if (!this.node.is_open && position === Position.INSIDE) {
- return new BorderDropHint(this.$element);
- } else {
- return new GhostDropHint(this.node, this.$element, position);
- }
- };
-
- return FolderElement;
-
-})(NodeElement);
-
-BorderDropHint = (function() {
- function BorderDropHint($element) {
- var $div, width;
- $div = $element.children('.jqtree-element');
- width = $element.width() - 4;
- this.$hint = $('<span class="jqtree-border"></span>');
- $div.append(this.$hint);
- this.$hint.css({
- width: width,
- height: $div.outerHeight() - 4
- });
- }
-
- BorderDropHint.prototype.remove = function() {
- return this.$hint.remove();
- };
-
- return BorderDropHint;
-
-})();
-
-GhostDropHint = (function() {
- function GhostDropHint(node, $element, position) {
- this.$element = $element;
- this.node = node;
- this.$ghost = $('<li class="jqtree_common jqtree-ghost"><span class="jqtree_common jqtree-circle"></span><span class="jqtree_common jqtree-line"></span></li>');
- if (position === Position.AFTER) {
- this.moveAfter();
- } else if (position === Position.BEFORE) {
- this.moveBefore();
- } else if (position === Position.INSIDE) {
- if (node.isFolder() && node.is_open) {
- this.moveInsideOpenFolder();
- } else {
- this.moveInside();
- }
- }
- }
-
- GhostDropHint.prototype.remove = function() {
- return this.$ghost.remove();
- };
-
- GhostDropHint.prototype.moveAfter = function() {
- return this.$element.after(this.$ghost);
- };
-
- GhostDropHint.prototype.moveBefore = function() {
- return this.$element.before(this.$ghost);
- };
-
- GhostDropHint.prototype.moveInsideOpenFolder = function() {
- return $(this.node.children[0].element).before(this.$ghost);
- };
-
- GhostDropHint.prototype.moveInside = function() {
- this.$element.after(this.$ghost);
- return this.$ghost.addClass('jqtree-inside');
- };
-
- return GhostDropHint;
-
-})();
-
-module.exports = {
- FolderElement: FolderElement,
- NodeElement: NodeElement
-};
-
-},{"./node":5}],7:[function(require,module,exports){
-var $, SaveStateHandler, indexOf, isInt, util;
-
-util = require('./util');
-
-indexOf = util.indexOf;
-
-isInt = util.isInt;
-
-$ = jQuery;
-
-SaveStateHandler = (function() {
- function SaveStateHandler(tree_widget) {
- this.tree_widget = tree_widget;
- }
-
- SaveStateHandler.prototype.saveState = function() {
- var state;
- state = JSON.stringify(this.getState());
- if (this.tree_widget.options.onSetStateFromStorage) {
- return this.tree_widget.options.onSetStateFromStorage(state);
- } else if (this.supportsLocalStorage()) {
- return localStorage.setItem(this.getCookieName(), state);
- } else if ($.cookie) {
- $.cookie.raw = true;
- return $.cookie(this.getCookieName(), state, {
- path: '/'
- });
- }
- };
-
- SaveStateHandler.prototype.getStateFromStorage = function() {
- var json_data;
- json_data = this._loadFromStorage();
- if (json_data) {
- return this._parseState(json_data);
- } else {
- return null;
- }
- };
-
- SaveStateHandler.prototype._parseState = function(json_data) {
- var state;
- state = $.parseJSON(json_data);
- if (state && state.selected_node && isInt(state.selected_node)) {
- state.selected_node = [state.selected_node];
- }
- return state;
- };
-
- SaveStateHandler.prototype._loadFromStorage = function() {
- if (this.tree_widget.options.onGetStateFromStorage) {
- return this.tree_widget.options.onGetStateFromStorage();
- } else if (this.supportsLocalStorage()) {
- return localStorage.getItem(this.getCookieName());
- } else if ($.cookie) {
- $.cookie.raw = true;
- return $.cookie(this.getCookieName());
- } else {
- return null;
- }
- };
-
- SaveStateHandler.prototype.getState = function() {
- var getOpenNodeIds, getSelectedNodeIds;
- getOpenNodeIds = (function(_this) {
- return function() {
- var open_nodes;
- open_nodes = [];
- _this.tree_widget.tree.iterate(function(node) {
- if (node.is_open && node.id && node.hasChildren()) {
- open_nodes.push(node.id);
- }
- return true;
- });
- return open_nodes;
- };
- })(this);
- getSelectedNodeIds = (function(_this) {
- return function() {
- var n;
- return (function() {
- var i, len, ref, results;
- ref = this.tree_widget.getSelectedNodes();
- results = [];
- for (i = 0, len = ref.length; i < len; i++) {
- n = ref[i];
- results.push(n.id);
- }
- return results;
- }).call(_this);
- };
- })(this);
- return {
- open_nodes: getOpenNodeIds(),
- selected_node: getSelectedNodeIds()
- };
- };
-
- SaveStateHandler.prototype.setInitialState = function(state) {
- var must_load_on_demand;
- if (!state) {
- return false;
- } else {
- must_load_on_demand = this._openInitialNodes(state.open_nodes);
- this._selectInitialNodes(state.selected_node);
- return must_load_on_demand;
- }
- };
-
- SaveStateHandler.prototype._openInitialNodes = function(node_ids) {
- var i, len, must_load_on_demand, node, node_id;
- must_load_on_demand = false;
- for (i = 0, len = node_ids.length; i < len; i++) {
- node_id = node_ids[i];
- node = this.tree_widget.getNodeById(node_id);
- if (node) {
- if (!node.load_on_demand) {
- node.is_open = true;
- } else {
- must_load_on_demand = true;
- }
- }
- }
- return must_load_on_demand;
- };
-
- SaveStateHandler.prototype._selectInitialNodes = function(node_ids) {
- var i, len, node, node_id, select_count;
- select_count = 0;
- for (i = 0, len = node_ids.length; i < len; i++) {
- node_id = node_ids[i];
- node = this.tree_widget.getNodeById(node_id);
- if (node) {
- select_count += 1;
- this.tree_widget.select_node_handler.addToSelection(node);
- }
- }
- return select_count !== 0;
- };
-
- SaveStateHandler.prototype.setInitialStateOnDemand = function(state) {
- if (state) {
- return this._setInitialStateOnDemand(state.open_nodes, state.selected_node);
- }
- };
-
- SaveStateHandler.prototype._setInitialStateOnDemand = function(node_ids, selected_nodes) {
- var loadAndOpenNode, openNodes;
- openNodes = (function(_this) {
- return function() {
- var i, len, new_nodes_ids, node, node_id;
- new_nodes_ids = [];
- for (i = 0, len = node_ids.length; i < len; i++) {
- node_id = node_ids[i];
- node = _this.tree_widget.getNodeById(node_id);
- if (!node) {
- new_nodes_ids.push(node_id);
- } else {
- if (!node.is_loading) {
- if (node.load_on_demand) {
- loadAndOpenNode(node);
- } else {
- _this.tree_widget._openNode(node, false);
- }
- }
- }
- }
- node_ids = new_nodes_ids;
- if (_this._selectInitialNodes(selected_nodes)) {
- return _this.tree_widget._refreshElements();
- }
- };
- })(this);
- loadAndOpenNode = (function(_this) {
- return function(node) {
- return _this.tree_widget._openNode(node, false, openNodes);
- };
- })(this);
- return openNodes();
- };
-
- SaveStateHandler.prototype.getCookieName = function() {
- if (typeof this.tree_widget.options.saveState === 'string') {
- return this.tree_widget.options.saveState;
- } else {
- return 'tree';
- }
- };
-
- SaveStateHandler.prototype.supportsLocalStorage = function() {
- var testSupport;
- testSupport = function() {
- var error, key;
- if (typeof localStorage === "undefined" || localStorage === null) {
- return false;
- } else {
- try {
- key = '_storage_test';
- sessionStorage.setItem(key, true);
- sessionStorage.removeItem(key);
- } catch (_error) {
- error = _error;
- return false;
- }
- return true;
- }
- };
- if (this._supportsLocalStorage == null) {
- this._supportsLocalStorage = testSupport();
- }
- return this._supportsLocalStorage;
- };
-
- SaveStateHandler.prototype.getNodeIdToBeSelected = function() {
- var state;
- state = this.getStateFromStorage();
- if (state && state.selected_node) {
- return state.selected_node[0];
- } else {
- return null;
- }
- };
-
- return SaveStateHandler;
-
-})();
-
-module.exports = SaveStateHandler;
-
-},{"./util":12}],8:[function(require,module,exports){
-var $, ScrollHandler;
-
-$ = jQuery;
-
-ScrollHandler = (function() {
- function ScrollHandler(tree_widget) {
- this.tree_widget = tree_widget;
- this.previous_top = -1;
- this._initScrollParent();
- }
-
- ScrollHandler.prototype._initScrollParent = function() {
- var $scroll_parent, getParentWithOverflow, setDocumentAsScrollParent;
- getParentWithOverflow = (function(_this) {
- return function() {
- var css_values, el, hasOverFlow, i, len, ref;
- css_values = ['overflow', 'overflow-y'];
- hasOverFlow = function(el) {
- var css_value, i, len, ref;
- for (i = 0, len = css_values.length; i < len; i++) {
- css_value = css_values[i];
- if ((ref = $.css(el, css_value)) === 'auto' || ref === 'scroll') {
- return true;
- }
- }
- return false;
- };
- if (hasOverFlow(_this.tree_widget.$el[0])) {
- return _this.tree_widget.$el;
- }
- ref = _this.tree_widget.$el.parents();
- for (i = 0, len = ref.length; i < len; i++) {
- el = ref[i];
- if (hasOverFlow(el)) {
- return $(el);
- }
- }
- return null;
- };
- })(this);
- setDocumentAsScrollParent = (function(_this) {
- return function() {
- _this.scroll_parent_top = 0;
- return _this.$scroll_parent = null;
- };
- })(this);
- if (this.tree_widget.$el.css('position') === 'fixed') {
- setDocumentAsScrollParent();
- }
- $scroll_parent = getParentWithOverflow();
- if ($scroll_parent && $scroll_parent.length && $scroll_parent[0].tagName !== 'HTML') {
- this.$scroll_parent = $scroll_parent;
- return this.scroll_parent_top = this.$scroll_parent.offset().top;
- } else {
- return setDocumentAsScrollParent();
- }
- };
-
- ScrollHandler.prototype.checkScrolling = function() {
- var hovered_area;
- hovered_area = this.tree_widget.dnd_handler.hovered_area;
- if (hovered_area && hovered_area.top !== this.previous_top) {
- this.previous_top = hovered_area.top;
- if (this.$scroll_parent) {
- return this._handleScrollingWithScrollParent(hovered_area);
- } else {
- return this._handleScrollingWithDocument(hovered_area);
- }
- }
- };
-
- ScrollHandler.prototype._handleScrollingWithScrollParent = function(area) {
- var distance_bottom;
- distance_bottom = this.scroll_parent_top + this.$scroll_parent[0].offsetHeight - area.bottom;
- if (distance_bottom < 20) {
- this.$scroll_parent[0].scrollTop += 20;
- this.tree_widget.refreshHitAreas();
- return this.previous_top = -1;
- } else if ((area.top - this.scroll_parent_top) < 20) {
- this.$scroll_parent[0].scrollTop -= 20;
- this.tree_widget.refreshHitAreas();
- return this.previous_top = -1;
- }
- };
-
- ScrollHandler.prototype._handleScrollingWithDocument = function(area) {
- var distance_top;
- distance_top = area.top - $(document).scrollTop();
- if (distance_top < 20) {
- return $(document).scrollTop($(document).scrollTop() - 20);
- } else if ($(window).height() - (area.bottom - $(document).scrollTop()) < 20) {
- return $(document).scrollTop($(document).scrollTop() + 20);
- }
- };
-
- ScrollHandler.prototype.scrollTo = function(top) {
- var tree_top;
- if (this.$scroll_parent) {
- return this.$scroll_parent[0].scrollTop = top;
- } else {
- tree_top = this.tree_widget.$el.offset().top;
- return $(document).scrollTop(top + tree_top);
- }
- };
-
- ScrollHandler.prototype.isScrolledIntoView = function(element) {
- var $element, element_bottom, element_top, view_bottom, view_top;
- $element = $(element);
- if (this.$scroll_parent) {
- view_top = 0;
- view_bottom = this.$scroll_parent.height();
- element_top = $element.offset().top - this.scroll_parent_top;
- element_bottom = element_top + $element.height();
- } else {
- view_top = $(window).scrollTop();
- view_bottom = view_top + $(window).height();
- element_top = $element.offset().top;
- element_bottom = element_top + $element.height();
- }
- return (element_bottom <= view_bottom) && (element_top >= view_top);
- };
-
- return ScrollHandler;
-
-})();
-
-module.exports = ScrollHandler;
-
-},{}],9:[function(require,module,exports){
-var $, SelectNodeHandler;
-
-$ = jQuery;
-
-SelectNodeHandler = (function() {
- function SelectNodeHandler(tree_widget) {
- this.tree_widget = tree_widget;
- this.clear();
- }
-
- SelectNodeHandler.prototype.getSelectedNode = function() {
- var selected_nodes;
- selected_nodes = this.getSelectedNodes();
- if (selected_nodes.length) {
- return selected_nodes[0];
- } else {
- return false;
- }
- };
-
- SelectNodeHandler.prototype.getSelectedNodes = function() {
- var id, node, selected_nodes;
- if (this.selected_single_node) {
- return [this.selected_single_node];
- } else {
- selected_nodes = [];
- for (id in this.selected_nodes) {
- node = this.tree_widget.getNodeById(id);
- if (node) {
- selected_nodes.push(node);
- }
- }
- return selected_nodes;
- }
- };
-
- SelectNodeHandler.prototype.getSelectedNodesUnder = function(parent) {
- var id, node, selected_nodes;
- if (this.selected_single_node) {
- if (parent.isParentOf(this.selected_single_node)) {
- return [this.selected_single_node];
- } else {
- return [];
- }
- } else {
- selected_nodes = [];
- for (id in this.selected_nodes) {
- node = this.tree_widget.getNodeById(id);
- if (node && parent.isParentOf(node)) {
- selected_nodes.push(node);
- }
- }
- return selected_nodes;
- }
- };
-
- SelectNodeHandler.prototype.isNodeSelected = function(node) {
- if (node.id) {
- return this.selected_nodes[node.id];
- } else if (this.selected_single_node) {
- return this.selected_single_node.element === node.element;
- } else {
- return false;
- }
- };
-
- SelectNodeHandler.prototype.clear = function() {
- this.selected_nodes = {};
- return this.selected_single_node = null;
- };
-
- SelectNodeHandler.prototype.removeFromSelection = function(node, include_children) {
- if (include_children == null) {
- include_children = false;
- }
- if (!node.id) {
- if (this.selected_single_node && node.element === this.selected_single_node.element) {
- return this.selected_single_node = null;
- }
- } else {
- delete this.selected_nodes[node.id];
- if (include_children) {
- return node.iterate((function(_this) {
- return function(n) {
- delete _this.selected_nodes[node.id];
- return true;
- };
- })(this));
- }
- }
- };
-
- SelectNodeHandler.prototype.addToSelection = function(node) {
- if (node.id) {
- return this.selected_nodes[node.id] = true;
- } else {
- return this.selected_single_node = node;
- }
- };
-
- return SelectNodeHandler;
-
-})();
-
-module.exports = SelectNodeHandler;
-
-},{}],10:[function(require,module,exports){
-
-/*
-Copyright 2013 Marco Braak
-
-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.
- */
-var $, SimpleWidget,
- slice = [].slice;
-
-$ = jQuery;
-
-SimpleWidget = (function() {
- SimpleWidget.prototype.defaults = {};
-
- function SimpleWidget(el, options) {
- this.$el = $(el);
- this.options = $.extend({}, this.defaults, options);
- }
-
- SimpleWidget.prototype.destroy = function() {
- return this._deinit();
- };
-
- SimpleWidget.prototype._init = function() {
- return null;
- };
-
- SimpleWidget.prototype._deinit = function() {
- return null;
- };
-
- SimpleWidget.register = function(widget_class, widget_name) {
- var callFunction, createWidget, destroyWidget, getDataKey, getWidgetData;
- getDataKey = function() {
- return "simple_widget_" + widget_name;
- };
- getWidgetData = function(el, data_key) {
- var widget;
- widget = $.data(el, data_key);
- if (widget && (widget instanceof SimpleWidget)) {
- return widget;
- } else {
- return null;
- }
- };
- createWidget = function($el, options) {
- var data_key, el, existing_widget, i, len, widget;
- data_key = getDataKey();
- for (i = 0, len = $el.length; i < len; i++) {
- el = $el[i];
- existing_widget = getWidgetData(el, data_key);
- if (!existing_widget) {
- widget = new widget_class(el, options);
- if (!$.data(el, data_key)) {
- $.data(el, data_key, widget);
- }
- widget._init();
- }
- }
- return $el;
- };
- destroyWidget = function($el) {
- var data_key, el, i, len, results, widget;
- data_key = getDataKey();
- results = [];
- for (i = 0, len = $el.length; i < len; i++) {
- el = $el[i];
- widget = getWidgetData(el, data_key);
- if (widget) {
- widget.destroy();
- }
- results.push($.removeData(el, data_key));
- }
- return results;
- };
- callFunction = function($el, function_name, args) {
- var el, i, len, result, widget, widget_function;
- result = null;
- for (i = 0, len = $el.length; i < len; i++) {
- el = $el[i];
- widget = $.data(el, getDataKey());
- if (widget && (widget instanceof SimpleWidget)) {
- widget_function = widget[function_name];
- if (widget_function && (typeof widget_function === 'function')) {
- result = widget_function.apply(widget, args);
- }
- }
- }
- return result;
- };
- return $.fn[widget_name] = function() {
- var $el, args, argument1, function_name, options;
- argument1 = arguments[0], args = 2 <= arguments.length ? slice.call(arguments, 1) : [];
- $el = this;
- if (argument1 === void 0 || typeof argument1 === 'object') {
- options = argument1;
- return createWidget($el, options);
- } else if (typeof argument1 === 'string' && argument1[0] !== '_') {
- function_name = argument1;
- if (function_name === 'destroy') {
- return destroyWidget($el);
- } else if (function_name === 'get_widget_class') {
- return widget_class;
- } else {
- return callFunction($el, function_name, args);
- }
- }
- };
- };
-
- return SimpleWidget;
-
-})();
-
-module.exports = SimpleWidget;
-
-},{}],11:[function(require,module,exports){
-
-/*
-Copyright 2013 Marco Braak
-
-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.
- */
-var $, DragAndDropHandler, ElementsRenderer, FolderElement, JqTreeWidget, KeyHandler, MouseWidget, Node, NodeElement, Position, SaveStateHandler, ScrollHandler, SelectNodeHandler, SimpleWidget, __version__, node_element, node_module, util_module,
- extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
- hasProp = {}.hasOwnProperty;
-
-__version__ = require('./version');
-
-DragAndDropHandler = require('./drag_and_drop_handler');
-
-ElementsRenderer = require('./elements_renderer');
-
-KeyHandler = require('./key_handler');
-
-MouseWidget = require('./mouse.widget');
-
-SaveStateHandler = require('./save_state_handler');
-
-ScrollHandler = require('./scroll_handler');
-
-SelectNodeHandler = require('./select_node_handler');
-
-SimpleWidget = require('./simple.widget');
-
-node_module = require('./node');
-
-Node = node_module.Node;
-
-Position = node_module.Position;
-
-util_module = require('./util');
-
-node_element = require('./node_element');
-
-NodeElement = node_element.NodeElement;
-
-FolderElement = node_element.FolderElement;
-
-$ = jQuery;
-
-JqTreeWidget = (function(superClass) {
- extend(JqTreeWidget, superClass);
-
- function JqTreeWidget() {
- return JqTreeWidget.__super__.constructor.apply(this, arguments);
- }
-
- JqTreeWidget.prototype.defaults = {
- autoOpen: false,
- saveState: false,
- dragAndDrop: false,
- selectable: true,
- useContextMenu: true,
- onCanSelectNode: null,
- onSetStateFromStorage: null,
- onGetStateFromStorage: null,
- onCreateLi: null,
- onIsMoveHandle: null,
- onCanMove: null,
- onCanMoveTo: null,
- onLoadFailed: null,
- autoEscape: true,
- dataUrl: null,
- closedIcon: null,
- openedIcon: '▼',
- slide: true,
- nodeClass: Node,
- dataFilter: null,
- keyboardSupport: true,
- openFolderDelay: 500,
- rtl: null
- };
-
- JqTreeWidget.prototype.toggle = function(node, slide) {
- if (slide == null) {
- slide = null;
- }
- if (slide === null) {
- slide = this.options.slide;
- }
- if (node.is_open) {
- return this.closeNode(node, slide);
- } else {
- return this.openNode(node, slide);
- }
- };
-
- JqTreeWidget.prototype.getTree = function() {
- return this.tree;
- };
-
- JqTreeWidget.prototype.selectNode = function(node) {
- return this._selectNode(node, false);
- };
-
- JqTreeWidget.prototype._selectNode = function(node, must_toggle) {
- var canSelect, deselected_node, openParents, saveState;
- if (must_toggle == null) {
- must_toggle = false;
- }
- if (!this.select_node_handler) {
- return;
- }
- canSelect = (function(_this) {
- return function() {
- if (_this.options.onCanSelectNode) {
- return _this.options.selectable && _this.options.onCanSelectNode(node);
- } else {
- return _this.options.selectable;
- }
- };
- })(this);
- openParents = (function(_this) {
- return function() {
- var parent;
- parent = node.parent;
- if (parent && parent.parent && !parent.is_open) {
- return _this.openNode(parent, false);
- }
- };
- })(this);
- saveState = (function(_this) {
- return function() {
- if (_this.options.saveState) {
- return _this.save_state_handler.saveState();
- }
- };
- })(this);
- if (!node) {
- this._deselectCurrentNode();
- saveState();
- return;
- }
- if (!canSelect()) {
- return;
- }
- if (this.select_node_handler.isNodeSelected(node)) {
- if (must_toggle) {
- this._deselectCurrentNode();
- this._triggerEvent('tree.select', {
- node: null,
- previous_node: node
- });
- }
- } else {
- deselected_node = this.getSelectedNode();
- this._deselectCurrentNode();
- this.addToSelection(node);
- this._triggerEvent('tree.select', {
- node: node,
- deselected_node: deselected_node
- });
- openParents();
- }
- return saveState();
- };
-
- JqTreeWidget.prototype.getSelectedNode = function() {
- if (this.select_node_handler) {
- return this.select_node_handler.getSelectedNode();
- } else {
- return null;
- }
- };
-
- JqTreeWidget.prototype.toJson = function() {
- return JSON.stringify(this.tree.getData());
- };
-
- JqTreeWidget.prototype.loadData = function(data, parent_node) {
- return this._loadData(data, parent_node);
- };
-
- JqTreeWidget.prototype.loadDataFromUrl = function(url, parent_node, on_finished) {
- if ($.type(url) !== 'string') {
- on_finished = parent_node;
- parent_node = url;
- url = null;
- }
- return this._loadDataFromUrl(url, parent_node, on_finished);
- };
-
- JqTreeWidget.prototype.reload = function() {
- return this.loadDataFromUrl();
- };
-
- JqTreeWidget.prototype._loadDataFromUrl = function(url_info, parent_node, on_finished) {
- var $el, addLoadingClass, handeLoadData, loadDataFromUrlInfo, parseUrlInfo, removeLoadingClass;
- $el = null;
- addLoadingClass = (function(_this) {
- return function() {
- if (parent_node) {
- $el = $(parent_node.element);
- } else {
- $el = _this.element;
- }
- return $el.addClass('jqtree-loading');
- };
- })(this);
- removeLoadingClass = function() {
- if ($el) {
- return $el.removeClass('jqtree-loading');
- }
- };
- parseUrlInfo = function() {
- if ($.type(url_info) === 'string') {
- url_info = {
- url: url_info
- };
- }
- if (!url_info.method) {
- return url_info.method = 'get';
- }
- };
- handeLoadData = (function(_this) {
- return function(data) {
- removeLoadingClass();
- _this._loadData(data, parent_node);
- if (on_finished && $.isFunction(on_finished)) {
- return on_finished();
- }
- };
- })(this);
- loadDataFromUrlInfo = (function(_this) {
- return function() {
- parseUrlInfo();
- return $.ajax({
- url: url_info.url,
- data: url_info.data,
- type: url_info.method.toUpperCase(),
- cache: false,
- dataType: 'json',
- success: function(response) {
- var data;
- if ($.isArray(response) || typeof response === 'object') {
- data = response;
- } else {
- data = $.parseJSON(response);
- }
- if (_this.options.dataFilter) {
- data = _this.options.dataFilter(data);
- }
- return handeLoadData(data);
- },
- error: function(response) {
- removeLoadingClass();
- if (_this.options.onLoadFailed) {
- return _this.options.onLoadFailed(response);
- }
- }
- });
- };
- })(this);
- if (!url_info) {
- url_info = this._getDataUrlInfo(parent_node);
- }
- addLoadingClass();
- if (!url_info) {
- removeLoadingClass();
- } else if ($.isArray(url_info)) {
- handeLoadData(url_info);
- } else {
- return loadDataFromUrlInfo();
- }
- };
-
- JqTreeWidget.prototype._loadData = function(data, parent_node) {
- var deselectNodes, loadSubtree;
- if (parent_node == null) {
- parent_node = null;
- }
- deselectNodes = (function(_this) {
- return function() {
- var i, len, n, selected_nodes_under_parent;
- if (_this.select_node_handler) {
- selected_nodes_under_parent = _this.select_node_handler.getSelectedNodesUnder(parent_node);
- for (i = 0, len = selected_nodes_under_parent.length; i < len; i++) {
- n = selected_nodes_under_parent[i];
- _this.select_node_handler.removeFromSelection(n);
- }
- }
- return null;
- };
- })(this);
- loadSubtree = (function(_this) {
- return function() {
- parent_node.loadFromData(data);
- parent_node.load_on_demand = false;
- parent_node.is_loading = false;
- return _this._refreshElements(parent_node);
- };
- })(this);
- if (!data) {
- return;
- }
- this._triggerEvent('tree.load_data', {
- tree_data: data
- });
- if (!parent_node) {
- this._initTree(data);
- } else {
- deselectNodes();
- loadSubtree();
- }
- if (this.isDragging()) {
- return this.dnd_handler.refresh();
- }
- };
-
- JqTreeWidget.prototype.getNodeById = function(node_id) {
- return this.tree.getNodeById(node_id);
- };
-
- JqTreeWidget.prototype.getNodeByName = function(name) {
- return this.tree.getNodeByName(name);
- };
-
- JqTreeWidget.prototype.getNodesByProperty = function(key, value) {
- return this.tree.getNodesByProperty(key, value);
- };
-
- JqTreeWidget.prototype.openNode = function(node, slide) {
- if (slide == null) {
- slide = null;
- }
- if (slide === null) {
- slide = this.options.slide;
- }
- return this._openNode(node, slide);
- };
-
- JqTreeWidget.prototype._openNode = function(node, slide, on_finished) {
- var doOpenNode, parent;
- if (slide == null) {
- slide = true;
- }
- doOpenNode = (function(_this) {
- return function(_node, _slide, _on_finished) {
- var folder_element;
- folder_element = new FolderElement(_node, _this);
- return folder_element.open(_on_finished, _slide);
- };
- })(this);
- if (node.isFolder()) {
- if (node.load_on_demand) {
- return this._loadFolderOnDemand(node, slide, on_finished);
- } else {
- parent = node.parent;
- while (parent) {
- if (parent.parent) {
- doOpenNode(parent, false, null);
- }
- parent = parent.parent;
- }
- doOpenNode(node, slide, on_finished);
- return this._saveState();
- }
- }
- };
-
- JqTreeWidget.prototype._loadFolderOnDemand = function(node, slide, on_finished) {
- if (slide == null) {
- slide = true;
- }
- node.is_loading = true;
- return this._loadDataFromUrl(null, node, (function(_this) {
- return function() {
- return _this._openNode(node, slide, on_finished);
- };
- })(this));
- };
-
- JqTreeWidget.prototype.closeNode = function(node, slide) {
- if (slide == null) {
- slide = null;
- }
- if (slide === null) {
- slide = this.options.slide;
- }
- if (node.isFolder()) {
- new FolderElement(node, this).close(slide);
- return this._saveState();
- }
- };
-
- JqTreeWidget.prototype.isDragging = function() {
- if (this.dnd_handler) {
- return this.dnd_handler.is_dragging;
- } else {
- return false;
- }
- };
-
- JqTreeWidget.prototype.refreshHitAreas = function() {
- return this.dnd_handler.refresh();
- };
-
- JqTreeWidget.prototype.addNodeAfter = function(new_node_info, existing_node) {
- var new_node;
- new_node = existing_node.addAfter(new_node_info);
- this._refreshElements(existing_node.parent);
- return new_node;
- };
-
- JqTreeWidget.prototype.addNodeBefore = function(new_node_info, existing_node) {
- var new_node;
- new_node = existing_node.addBefore(new_node_info);
- this._refreshElements(existing_node.parent);
- return new_node;
- };
-
- JqTreeWidget.prototype.addParentNode = function(new_node_info, existing_node) {
- var new_node;
- new_node = existing_node.addParent(new_node_info);
- this._refreshElements(new_node.parent);
- return new_node;
- };
-
- JqTreeWidget.prototype.removeNode = function(node) {
- var parent;
- parent = node.parent;
- if (parent) {
- this.select_node_handler.removeFromSelection(node, true);
- node.remove();
- return this._refreshElements(parent);
- }
- };
-
- JqTreeWidget.prototype.appendNode = function(new_node_info, parent_node) {
- var node;
- parent_node = parent_node || this.tree;
- node = parent_node.append(new_node_info);
- this._refreshElements(parent_node);
- return node;
- };
-
- JqTreeWidget.prototype.prependNode = function(new_node_info, parent_node) {
- var node;
- if (!parent_node) {
- parent_node = this.tree;
- }
- node = parent_node.prepend(new_node_info);
- this._refreshElements(parent_node);
- return node;
- };
-
- JqTreeWidget.prototype.updateNode = function(node, data) {
- var id_is_changed;
- id_is_changed = data.id && data.id !== node.id;
- if (id_is_changed) {
- this.tree.removeNodeFromIndex(node);
- }
- node.setData(data);
- if (id_is_changed) {
- this.tree.addNodeToIndex(node);
- }
- this.renderer.renderFromNode(node);
- return this._selectCurrentNode();
- };
-
- JqTreeWidget.prototype.moveNode = function(node, target_node, position) {
- var position_index;
- position_index = Position.nameToIndex(position);
- this.tree.moveNode(node, target_node, position_index);
- return this._refreshElements();
- };
-
- JqTreeWidget.prototype.getStateFromStorage = function() {
- return this.save_state_handler.getStateFromStorage();
- };
-
- JqTreeWidget.prototype.addToSelection = function(node) {
- if (node) {
- this.select_node_handler.addToSelection(node);
- this._getNodeElementForNode(node).select();
- return this._saveState();
- }
- };
-
- JqTreeWidget.prototype.getSelectedNodes = function() {
- return this.select_node_handler.getSelectedNodes();
- };
-
- JqTreeWidget.prototype.isNodeSelected = function(node) {
- return this.select_node_handler.isNodeSelected(node);
- };
-
- JqTreeWidget.prototype.removeFromSelection = function(node) {
- this.select_node_handler.removeFromSelection(node);
- this._getNodeElementForNode(node).deselect();
- return this._saveState();
- };
-
- JqTreeWidget.prototype.scrollToNode = function(node) {
- var $element, top;
- $element = $(node.element);
- top = $element.offset().top - this.$el.offset().top;
- return this.scroll_handler.scrollTo(top);
- };
-
- JqTreeWidget.prototype.getState = function() {
- return this.save_state_handler.getState();
- };
-
- JqTreeWidget.prototype.setState = function(state) {
- this.save_state_handler.setInitialState(state);
- return this._refreshElements();
- };
-
- JqTreeWidget.prototype.setOption = function(option, value) {
- return this.options[option] = value;
- };
-
- JqTreeWidget.prototype.moveDown = function() {
- if (this.key_handler) {
- return this.key_handler.moveDown();
- }
- };
-
- JqTreeWidget.prototype.moveUp = function() {
- if (this.key_handler) {
- return this.key_handler.moveUp();
- }
- };
-
- JqTreeWidget.prototype.getVersion = function() {
- return __version__;
- };
-
- JqTreeWidget.prototype._init = function() {
- JqTreeWidget.__super__._init.call(this);
- this.element = this.$el;
- this.mouse_delay = 300;
- this.is_initialized = false;
- this.options.rtl = this._getRtlOption();
- if (!this.options.closedIcon) {
- this.options.closedIcon = this._getDefaultClosedIcon();
- }
- this.renderer = new ElementsRenderer(this);
- if (SaveStateHandler != null) {
- this.save_state_handler = new SaveStateHandler(this);
- } else {
- this.options.saveState = false;
- }
- if (SelectNodeHandler != null) {
- this.select_node_handler = new SelectNodeHandler(this);
- }
- if (DragAndDropHandler != null) {
- this.dnd_handler = new DragAndDropHandler(this);
- } else {
- this.options.dragAndDrop = false;
- }
- if (ScrollHandler != null) {
- this.scroll_handler = new ScrollHandler(this);
- }
- if ((KeyHandler != null) && (SelectNodeHandler != null)) {
- this.key_handler = new KeyHandler(this);
- }
- this._initData();
- this.element.click($.proxy(this._click, this));
- this.element.dblclick($.proxy(this._dblclick, this));
- if (this.options.useContextMenu) {
- return this.element.bind('contextmenu', $.proxy(this._contextmenu, this));
- }
- };
-
- JqTreeWidget.prototype._deinit = function() {
- this.element.empty();
- this.element.unbind();
- if (this.key_handler) {
- this.key_handler.deinit();
- }
- this.tree = null;
- return JqTreeWidget.__super__._deinit.call(this);
- };
-
- JqTreeWidget.prototype._initData = function() {
- if (this.options.data) {
- return this._loadData(this.options.data);
- } else {
- return this._loadDataFromUrl(this._getDataUrlInfo());
- }
- };
-
- JqTreeWidget.prototype._getDataUrlInfo = function(node) {
- var data_url, getUrlFromString;
- data_url = this.options.dataUrl || this.element.data('url');
- getUrlFromString = (function(_this) {
- return function() {
- var data, selected_node_id, url_info;
- url_info = {
- url: data_url
- };
- if (node && node.id) {
- data = {
- node: node.id
- };
- url_info['data'] = data;
- } else {
- selected_node_id = _this._getNodeIdToBeSelected();
- if (selected_node_id) {
- data = {
- selected_node: selected_node_id
- };
- url_info['data'] = data;
- }
- }
- return url_info;
- };
- })(this);
- if ($.isFunction(data_url)) {
- return data_url(node);
- } else if ($.type(data_url) === 'string') {
- return getUrlFromString();
- } else {
- return data_url;
- }
- };
-
- JqTreeWidget.prototype._getNodeIdToBeSelected = function() {
- if (this.options.saveState) {
- return this.save_state_handler.getNodeIdToBeSelected();
- } else {
- return null;
- }
- };
-
- JqTreeWidget.prototype._initTree = function(data) {
- var must_load_on_demand;
- this.tree = new this.options.nodeClass(null, true, this.options.nodeClass);
- if (this.select_node_handler) {
- this.select_node_handler.clear();
- }
- this.tree.loadFromData(data);
- must_load_on_demand = this._setInitialState();
- this._refreshElements();
- if (must_load_on_demand) {
- this._setInitialStateOnDemand();
- }
- if (!this.is_initialized) {
- this.is_initialized = true;
- return this._triggerEvent('tree.init');
- }
- };
-
- JqTreeWidget.prototype._setInitialState = function() {
- var autoOpenNodes, is_restored, must_load_on_demand, ref, restoreState;
- restoreState = (function(_this) {
- return function() {
- var must_load_on_demand, state;
- if (!(_this.options.saveState && _this.save_state_handler)) {
- return [false, false];
- } else {
- state = _this.save_state_handler.getStateFromStorage();
- if (!state) {
- return [false, false];
- } else {
- must_load_on_demand = _this.save_state_handler.setInitialState(state);
- return [true, must_load_on_demand];
- }
- }
- };
- })(this);
- autoOpenNodes = (function(_this) {
- return function() {
- var max_level, must_load_on_demand;
- if (_this.options.autoOpen === false) {
- return false;
- }
- max_level = _this._getAutoOpenMaxLevel();
- must_load_on_demand = false;
- _this.tree.iterate(function(node, level) {
- if (node.load_on_demand) {
- must_load_on_demand = true;
- return false;
- } else if (!node.hasChildren()) {
- return false;
- } else {
- node.is_open = true;
- return level !== max_level;
- }
- });
- return must_load_on_demand;
- };
- })(this);
- ref = restoreState(), is_restored = ref[0], must_load_on_demand = ref[1];
- if (!is_restored) {
- must_load_on_demand = autoOpenNodes();
- }
- return must_load_on_demand;
- };
-
- JqTreeWidget.prototype._setInitialStateOnDemand = function() {
- var autoOpenNodes, restoreState;
- restoreState = (function(_this) {
- return function() {
- var state;
- if (!(_this.options.saveState && _this.save_state_handler)) {
- return false;
- } else {
- state = _this.save_state_handler.getStateFromStorage();
- if (!state) {
- return false;
- } else {
- _this.save_state_handler.setInitialStateOnDemand(state);
- return true;
- }
- }
- };
- })(this);
- autoOpenNodes = (function(_this) {
- return function() {
- var loadAndOpenNode, loading_ids, max_level, openNodes;
- max_level = _this._getAutoOpenMaxLevel();
- loading_ids = [];
- loadAndOpenNode = function(node) {
- return _this._openNode(node, false, openNodes);
- };
- openNodes = function() {
- return _this.tree.iterate(function(node, level) {
- if (node.load_on_demand) {
- if (!node.is_loading) {
- loadAndOpenNode(node);
- }
- return false;
- } else {
- _this._openNode(no
<TRUNCATED>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/2c10af21/traffic_ops/experimental/postgrest/Postgrest_Dockerfile_run.sh
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/postgrest/Postgrest_Dockerfile_run.sh b/traffic_ops/experimental/postgrest/Postgrest_Dockerfile_run.sh
old mode 100644
new mode 100755
[11/15] incubator-trafficcontrol git commit: Apache RAT tool
automatically added Apache License Headers
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/postgrest/Postgrest_Dockerfile_run.sh
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/postgrest/Postgrest_Dockerfile_run.sh b/traffic_ops/experimental/postgrest/Postgrest_Dockerfile_run.sh
old mode 100755
new mode 100644
index 9444f00..d69a525
--- a/traffic_ops/experimental/postgrest/Postgrest_Dockerfile_run.sh
+++ b/traffic_ops/experimental/postgrest/Postgrest_Dockerfile_run.sh
@@ -1,4 +1,20 @@
#!/bin/bash
+# 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.
# Script for running the Dockerfile for Traffic Ops PostgREST
# The Dockerfile sets up a Docker image which can be used for any new Traffic Ops PostgREST container;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/Gruntfile.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/Gruntfile.js b/traffic_ops/experimental/ui/Gruntfile.js
old mode 100755
new mode 100644
index 27f7a08..daeb4a0
--- a/traffic_ops/experimental/ui/Gruntfile.js
+++ b/traffic_ops/experimental/ui/Gruntfile.js
@@ -1,3 +1,22 @@
+/*
+ * 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';
module.exports = function (grunt) {
@@ -76,4 +95,4 @@ module.exports = function (grunt) {
'browserify2:shared-libs-dev'
]);
-};
\ No newline at end of file
+};
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/app.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/app.js b/traffic_ops/experimental/ui/app/src/app.js
old mode 100755
new mode 100644
index 3a02446..30097cb
--- a/traffic_ops/experimental/ui/app/src/app.js
+++ b/traffic_ops/experimental/ui/app/src/app.js
@@ -1,3 +1,22 @@
+/*
+ * 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';
require('app-templates');
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/assets/css/custom.css
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/assets/css/custom.css b/traffic_ops/experimental/ui/app/src/assets/css/custom.css
index 966097c..6759bab 100644
--- a/traffic_ops/experimental/ui/app/src/assets/css/custom.css
+++ b/traffic_ops/experimental/ui/app/src/assets/css/custom.css
@@ -1 +1,20 @@
+/*
+ * 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.
+ */
+
/* override styles here */
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/api/ASNService.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/api/ASNService.js b/traffic_ops/experimental/ui/app/src/common/api/ASNService.js
index 514bed4..51706cf 100644
--- a/traffic_ops/experimental/ui/app/src/common/api/ASNService.js
+++ b/traffic_ops/experimental/ui/app/src/common/api/ASNService.js
@@ -1,3 +1,22 @@
+/*
+ * 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 ASNService = function(Restangular, locationUtils, messageModel) {
this.getASNs = function() {
@@ -48,4 +67,4 @@ var ASNService = function(Restangular, locationUtils, messageModel) {
};
ASNService.$inject = ['Restangular', 'locationUtils', 'messageModel'];
-module.exports = ASNService;
\ No newline at end of file
+module.exports = ASNService;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/api/AuthService.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/api/AuthService.js b/traffic_ops/experimental/ui/app/src/common/api/AuthService.js
index efb2a76..c2168e9 100644
--- a/traffic_ops/experimental/ui/app/src/common/api/AuthService.js
+++ b/traffic_ops/experimental/ui/app/src/common/api/AuthService.js
@@ -1,3 +1,22 @@
+/*
+ * 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 AuthService = function($http, $state, $location, $q, $state, httpService, userModel, messageModel, ENV) {
this.login = function(username, password) {
@@ -47,4 +66,4 @@ var AuthService = function($http, $state, $location, $q, $state, httpService, us
};
AuthService.$inject = ['$http', '$state', '$location', '$q', '$state', 'httpService', 'userModel', 'messageModel', 'ENV'];
-module.exports = AuthService;
\ No newline at end of file
+module.exports = AuthService;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/api/CDNService.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/api/CDNService.js b/traffic_ops/experimental/ui/app/src/common/api/CDNService.js
index 53f977e..e446eb6 100644
--- a/traffic_ops/experimental/ui/app/src/common/api/CDNService.js
+++ b/traffic_ops/experimental/ui/app/src/common/api/CDNService.js
@@ -1,3 +1,22 @@
+/*
+ * 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 CDNService = function(Restangular, locationUtils, messageModel) {
this.getCDNs = function() {
@@ -48,4 +67,4 @@ var CDNService = function(Restangular, locationUtils, messageModel) {
};
CDNService.$inject = ['Restangular', 'locationUtils', 'messageModel'];
-module.exports = CDNService;
\ No newline at end of file
+module.exports = CDNService;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/api/CacheGroupService.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/api/CacheGroupService.js b/traffic_ops/experimental/ui/app/src/common/api/CacheGroupService.js
index f52315b..cff779b 100644
--- a/traffic_ops/experimental/ui/app/src/common/api/CacheGroupService.js
+++ b/traffic_ops/experimental/ui/app/src/common/api/CacheGroupService.js
@@ -1,3 +1,22 @@
+/*
+ * 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 CacheGroupService = function(Restangular, locationUtils, messageModel) {
this.getCacheGroups = function() {
@@ -48,4 +67,4 @@ var CacheGroupService = function(Restangular, locationUtils, messageModel) {
};
CacheGroupService.$inject = ['Restangular', 'locationUtils', 'messageModel'];
-module.exports = CacheGroupService;
\ No newline at end of file
+module.exports = CacheGroupService;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/api/DeliveryServiceService.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/api/DeliveryServiceService.js b/traffic_ops/experimental/ui/app/src/common/api/DeliveryServiceService.js
index 4c2fc72..4f9cd72 100644
--- a/traffic_ops/experimental/ui/app/src/common/api/DeliveryServiceService.js
+++ b/traffic_ops/experimental/ui/app/src/common/api/DeliveryServiceService.js
@@ -1,3 +1,22 @@
+/*
+ * 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 DeliveryServiceService = function(Restangular, locationUtils, messageModel) {
this.getDeliveryServices = function() {
@@ -48,4 +67,4 @@ var DeliveryServiceService = function(Restangular, locationUtils, messageModel)
};
DeliveryServiceService.$inject = ['Restangular', 'locationUtils', 'messageModel'];
-module.exports = DeliveryServiceService;
\ No newline at end of file
+module.exports = DeliveryServiceService;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/api/DivisionService.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/api/DivisionService.js b/traffic_ops/experimental/ui/app/src/common/api/DivisionService.js
index 3181116..d10312e 100644
--- a/traffic_ops/experimental/ui/app/src/common/api/DivisionService.js
+++ b/traffic_ops/experimental/ui/app/src/common/api/DivisionService.js
@@ -1,3 +1,22 @@
+/*
+ * 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 DivisionService = function(Restangular, locationUtils, messageModel) {
this.getDivisions = function() {
@@ -48,4 +67,4 @@ var DivisionService = function(Restangular, locationUtils, messageModel) {
};
DivisionService.$inject = ['Restangular', 'locationUtils', 'messageModel'];
-module.exports = DivisionService;
\ No newline at end of file
+module.exports = DivisionService;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/api/HttpService.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/api/HttpService.js b/traffic_ops/experimental/ui/app/src/common/api/HttpService.js
index 5adf1fa..ab01b9d 100644
--- a/traffic_ops/experimental/ui/app/src/common/api/HttpService.js
+++ b/traffic_ops/experimental/ui/app/src/common/api/HttpService.js
@@ -1,3 +1,22 @@
+/*
+ * 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 HttpService = function($http, $q) {
this.get = function(resource) {
@@ -59,4 +78,4 @@ var HttpService = function($http, $q) {
};
HttpService.$inject = ['$http', '$q'];
-module.exports = HttpService;
\ No newline at end of file
+module.exports = HttpService;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/api/LocationService.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/api/LocationService.js b/traffic_ops/experimental/ui/app/src/common/api/LocationService.js
index 111cca6..81f94db 100644
--- a/traffic_ops/experimental/ui/app/src/common/api/LocationService.js
+++ b/traffic_ops/experimental/ui/app/src/common/api/LocationService.js
@@ -1,3 +1,22 @@
+/*
+ * 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 LocationService = function(Restangular, locationUtils, messageModel) {
this.getLocations = function() {
@@ -49,4 +68,4 @@ var LocationService = function(Restangular, locationUtils, messageModel) {
};
LocationService.$inject = ['Restangular', 'locationUtils', 'messageModel'];
-module.exports = LocationService;
\ No newline at end of file
+module.exports = LocationService;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/api/ParameterService.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/api/ParameterService.js b/traffic_ops/experimental/ui/app/src/common/api/ParameterService.js
index 5619add..8fccc22 100644
--- a/traffic_ops/experimental/ui/app/src/common/api/ParameterService.js
+++ b/traffic_ops/experimental/ui/app/src/common/api/ParameterService.js
@@ -1,3 +1,22 @@
+/*
+ * 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 ParameterService = function(Restangular, locationUtils, messageModel) {
this.getParameters = function() {
@@ -48,4 +67,4 @@ var ParameterService = function(Restangular, locationUtils, messageModel) {
};
ParameterService.$inject = ['Restangular', 'locationUtils', 'messageModel'];
-module.exports = ParameterService;
\ No newline at end of file
+module.exports = ParameterService;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/api/ProfileService.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/api/ProfileService.js b/traffic_ops/experimental/ui/app/src/common/api/ProfileService.js
index 545fe4b..67b322d 100644
--- a/traffic_ops/experimental/ui/app/src/common/api/ProfileService.js
+++ b/traffic_ops/experimental/ui/app/src/common/api/ProfileService.js
@@ -1,3 +1,22 @@
+/*
+ * 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 ProfileService = function(Restangular, locationUtils, messageModel) {
this.getProfiles = function() {
@@ -48,4 +67,4 @@ var ProfileService = function(Restangular, locationUtils, messageModel) {
};
ProfileService.$inject = ['Restangular', 'locationUtils', 'messageModel'];
-module.exports = ProfileService;
\ No newline at end of file
+module.exports = ProfileService;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/api/RegionService.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/api/RegionService.js b/traffic_ops/experimental/ui/app/src/common/api/RegionService.js
index f8795ce..1fbe78a 100644
--- a/traffic_ops/experimental/ui/app/src/common/api/RegionService.js
+++ b/traffic_ops/experimental/ui/app/src/common/api/RegionService.js
@@ -1,3 +1,22 @@
+/*
+ * 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 RegionService = function(Restangular, messageModel) {
this.getRegions = function() {
@@ -47,4 +66,4 @@ var RegionService = function(Restangular, messageModel) {
};
RegionService.$inject = ['Restangular', 'messageModel'];
-module.exports = RegionService;
\ No newline at end of file
+module.exports = RegionService;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/api/RoleService.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/api/RoleService.js b/traffic_ops/experimental/ui/app/src/common/api/RoleService.js
index 03b1c7a..26f283e 100644
--- a/traffic_ops/experimental/ui/app/src/common/api/RoleService.js
+++ b/traffic_ops/experimental/ui/app/src/common/api/RoleService.js
@@ -1,3 +1,22 @@
+/*
+ * 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 RoleService = function(Restangular, messageModel) {
this.getRoles = function() {
@@ -35,4 +54,4 @@ var RoleService = function(Restangular, messageModel) {
};
RoleService.$inject = ['Restangular', 'messageModel'];
-module.exports = RoleService;
\ No newline at end of file
+module.exports = RoleService;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/api/ServerService.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/api/ServerService.js b/traffic_ops/experimental/ui/app/src/common/api/ServerService.js
index 9b77c02..1ec7ce6 100644
--- a/traffic_ops/experimental/ui/app/src/common/api/ServerService.js
+++ b/traffic_ops/experimental/ui/app/src/common/api/ServerService.js
@@ -1,3 +1,22 @@
+/*
+ * 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 ServerService = function(Restangular, locationUtils, messageModel) {
this.getServers = function() {
@@ -48,4 +67,4 @@ var ServerService = function(Restangular, locationUtils, messageModel) {
};
ServerService.$inject = ['Restangular', 'locationUtils', 'messageModel'];
-module.exports = ServerService;
\ No newline at end of file
+module.exports = ServerService;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/api/StatusService.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/api/StatusService.js b/traffic_ops/experimental/ui/app/src/common/api/StatusService.js
index 7bc58e3..d648620 100644
--- a/traffic_ops/experimental/ui/app/src/common/api/StatusService.js
+++ b/traffic_ops/experimental/ui/app/src/common/api/StatusService.js
@@ -1,3 +1,22 @@
+/*
+ * 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 StatusService = function(Restangular, locationUtils, messageModel) {
this.getStatuses = function() {
@@ -48,4 +67,4 @@ var StatusService = function(Restangular, locationUtils, messageModel) {
};
StatusService.$inject = ['Restangular', 'locationUtils', 'messageModel'];
-module.exports = StatusService;
\ No newline at end of file
+module.exports = StatusService;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/api/TenantService.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/api/TenantService.js b/traffic_ops/experimental/ui/app/src/common/api/TenantService.js
index 287fa9f..1541e9a 100644
--- a/traffic_ops/experimental/ui/app/src/common/api/TenantService.js
+++ b/traffic_ops/experimental/ui/app/src/common/api/TenantService.js
@@ -1,3 +1,22 @@
+/*
+ * 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 TenantService = function(Restangular, messageModel) {
this.getTenants = function() {
@@ -47,4 +66,4 @@ var TenantService = function(Restangular, messageModel) {
};
TenantService.$inject = ['Restangular', 'messageModel'];
-module.exports = TenantService;
\ No newline at end of file
+module.exports = TenantService;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/api/TrafficOpsService.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/api/TrafficOpsService.js b/traffic_ops/experimental/ui/app/src/common/api/TrafficOpsService.js
index b2cba81..63966f1 100644
--- a/traffic_ops/experimental/ui/app/src/common/api/TrafficOpsService.js
+++ b/traffic_ops/experimental/ui/app/src/common/api/TrafficOpsService.js
@@ -1,3 +1,22 @@
+/*
+ * 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 TrafficOpsService = function($http, $q) {
this.getReleaseVersionInfo = function() {
@@ -16,4 +35,4 @@ var TrafficOpsService = function($http, $q) {
};
TrafficOpsService.$inject = ['$http', '$q'];
-module.exports = TrafficOpsService;
\ No newline at end of file
+module.exports = TrafficOpsService;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/api/TypeService.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/api/TypeService.js b/traffic_ops/experimental/ui/app/src/common/api/TypeService.js
index e2aa43e..dd55d59 100644
--- a/traffic_ops/experimental/ui/app/src/common/api/TypeService.js
+++ b/traffic_ops/experimental/ui/app/src/common/api/TypeService.js
@@ -1,3 +1,22 @@
+/*
+ * 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 TypeService = function(Restangular, locationUtils, messageModel) {
this.getTypes = function(useInTable) {
@@ -48,4 +67,4 @@ var TypeService = function(Restangular, locationUtils, messageModel) {
};
TypeService.$inject = ['Restangular', 'locationUtils', 'messageModel'];
-module.exports = TypeService;
\ No newline at end of file
+module.exports = TypeService;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/api/UserService.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/api/UserService.js b/traffic_ops/experimental/ui/app/src/common/api/UserService.js
old mode 100755
new mode 100644
index 2f192ec..8fc8fb7
--- a/traffic_ops/experimental/ui/app/src/common/api/UserService.js
+++ b/traffic_ops/experimental/ui/app/src/common/api/UserService.js
@@ -1,3 +1,22 @@
+/*
+ * 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 UserService = function(Restangular, $http, $location, $q, authService, locationUtils, userModel, messageModel, ENV) {
var service = this;
@@ -90,4 +109,4 @@ var UserService = function(Restangular, $http, $location, $q, authService, locat
};
UserService.$inject = ['Restangular', '$http', '$location', '$q', 'authService', 'locationUtils', 'userModel', 'messageModel', 'ENV'];
-module.exports = UserService;
\ No newline at end of file
+module.exports = UserService;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/api/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/api/index.js b/traffic_ops/experimental/ui/app/src/common/api/index.js
old mode 100755
new mode 100644
index fcdefbd..857e598
--- a/traffic_ops/experimental/ui/app/src/common/api/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/api/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.api', [])
.service('authService', require('./AuthService'))
.service('asnService', require('./ASNService'))
@@ -18,4 +37,4 @@ module.exports = angular.module('trafficOps.api', [])
.service('typeService', require('./TypeService'))
.service('trafficOpsService', require('./TrafficOpsService'))
.service('userService', require('./UserService'))
-;
\ No newline at end of file
+;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/directives/match/MatchDirective.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/directives/match/MatchDirective.js b/traffic_ops/experimental/ui/app/src/common/directives/match/MatchDirective.js
index 8548d14..e174d30 100644
--- a/traffic_ops/experimental/ui/app/src/common/directives/match/MatchDirective.js
+++ b/traffic_ops/experimental/ui/app/src/common/directives/match/MatchDirective.js
@@ -1,3 +1,22 @@
+/*
+ * 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 MatchDirective = function() {
return {
require: 'ngModel',
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/directives/match/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/directives/match/index.js b/traffic_ops/experimental/ui/app/src/common/directives/match/index.js
index c43d13b..340c064 100644
--- a/traffic_ops/experimental/ui/app/src/common/directives/match/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/directives/match/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
//application directives
module.exports = angular.module('trafficOps.directives.match',[])
.directive('match', require('./MatchDirective'))
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/filters/OffsetFilter.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/filters/OffsetFilter.js b/traffic_ops/experimental/ui/app/src/common/filters/OffsetFilter.js
index 4c8bc0b..8f9a5a8 100644
--- a/traffic_ops/experimental/ui/app/src/common/filters/OffsetFilter.js
+++ b/traffic_ops/experimental/ui/app/src/common/filters/OffsetFilter.js
@@ -1,3 +1,22 @@
+/*
+ * 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 OffsetFilter = function() {
return function(input, start) {
if($.isArray(input)) {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/filters/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/filters/index.js b/traffic_ops/experimental/ui/app/src/common/filters/index.js
index 86e8455..93c6a6c 100644
--- a/traffic_ops/experimental/ui/app/src/common/filters/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/filters/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.filters', [])
.filter('offsetFilter', require('./OffsetFilter'))
;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/models/MessageModel.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/models/MessageModel.js b/traffic_ops/experimental/ui/app/src/common/models/MessageModel.js
index f1dcaf3..279602b 100644
--- a/traffic_ops/experimental/ui/app/src/common/models/MessageModel.js
+++ b/traffic_ops/experimental/ui/app/src/common/models/MessageModel.js
@@ -1,3 +1,22 @@
+/*
+ * 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 MessageModel = function($rootScope) {
var model = this;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/models/UserModel.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/models/UserModel.js b/traffic_ops/experimental/ui/app/src/common/models/UserModel.js
old mode 100755
new mode 100644
index d3effdf..bf1c624
--- a/traffic_ops/experimental/ui/app/src/common/models/UserModel.js
+++ b/traffic_ops/experimental/ui/app/src/common/models/UserModel.js
@@ -1,3 +1,22 @@
+/*
+ * 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 UserModel = function($rootScope) {
this.loaded = false;
@@ -20,4 +39,4 @@ var UserModel = function($rootScope) {
};
UserModel.$inject = ['$rootScope'];
-module.exports = UserModel;
\ No newline at end of file
+module.exports = UserModel;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/models/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/models/index.js b/traffic_ops/experimental/ui/app/src/common/models/index.js
old mode 100755
new mode 100644
index 330b916..de009a7
--- a/traffic_ops/experimental/ui/app/src/common/models/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/models/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.models', [])
.service('messageModel', require('./MessageModel'))
.service('userModel', require('./UserModel'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/dialog/confirm/DialogConfirmController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/dialog/confirm/DialogConfirmController.js b/traffic_ops/experimental/ui/app/src/common/modules/dialog/confirm/DialogConfirmController.js
index a018ada..c936647 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/dialog/confirm/DialogConfirmController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/dialog/confirm/DialogConfirmController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 DialogConfirmController = function(params, $scope, $uibModalInstance) {
$scope.params = params;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/dialog/confirm/dialog.confirm.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/dialog/confirm/dialog.confirm.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/dialog/confirm/dialog.confirm.tpl.html
index e3791ec..ba48140 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/dialog/confirm/dialog.confirm.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/dialog/confirm/dialog.confirm.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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="no()"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
<h4 class="modal-title">{{params.title}}</h4>
@@ -8,4 +27,4 @@
<div class="modal-footer">
<button class="btn action-btn" ng-click="no()">No</button>
<button class="btn btn-link" ng-click="yes()">Yes</button>
-</div>
\ No newline at end of file
+</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/dialog/confirm/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/dialog/confirm/index.js b/traffic_ops/experimental/ui/app/src/common/modules/dialog/confirm/index.js
index cb43316..1c4d8de 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/dialog/confirm/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/dialog/confirm/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.dialog.confirm', [])
.controller('DialogConfirmController', require('./DialogConfirmController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/dialog/delete/DialogDeleteController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/dialog/delete/DialogDeleteController.js b/traffic_ops/experimental/ui/app/src/common/modules/dialog/delete/DialogDeleteController.js
index f06d0a2..f3633cd 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/dialog/delete/DialogDeleteController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/dialog/delete/DialogDeleteController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 DialogDeleteController = function(params, $scope, $uibModalInstance) {
$scope.params = params;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/dialog/delete/dialog.delete.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/dialog/delete/dialog.delete.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/dialog/delete/dialog.delete.tpl.html
index a1d3d1c..9a89124 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/dialog/delete/dialog.delete.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/dialog/delete/dialog.delete.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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">×</span><span class="sr-only">Cancel</span></button>
<h4 class="modal-title">{{params.title}}</h4>
@@ -10,4 +29,4 @@
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger" ng-disabled="deleteForm.$pristine || deleteForm.$invalid" ng-click="delete()">Delete Permanently</button>
-</div>
\ No newline at end of file
+</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/dialog/delete/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/dialog/delete/index.js b/traffic_ops/experimental/ui/app/src/common/modules/dialog/delete/index.js
index ed9c108..5cc5624 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/dialog/delete/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/dialog/delete/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.dialog.delete', [])
.controller('DialogDeleteController', require('./DialogDeleteController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/dialog/reset/DialogResetController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/dialog/reset/DialogResetController.js b/traffic_ops/experimental/ui/app/src/common/modules/dialog/reset/DialogResetController.js
index 14e7d94..2b0c6c7 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/dialog/reset/DialogResetController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/dialog/reset/DialogResetController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 DialogResetController = function($scope, $uibModalInstance) {
$scope.userData = {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/dialog/reset/dialog.reset.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/dialog/reset/dialog.reset.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/dialog/reset/dialog.reset.tpl.html
index 84f0ed2..dd541f7 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/dialog/reset/dialog.reset.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/dialog/reset/dialog.reset.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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">×</span><span class="sr-only">Close</span></button>
<h5 class="modal-title">Reset User Password</h5>
@@ -18,4 +37,4 @@
<div class="modal-footer">
<button class="btn btn-default" ng-click="cancel()">Cancel</button>
<button class="btn btn-primary" ng-disabled="resetPasswordForm.$pristine || resetPasswordForm.$invalid" ng-click="reset(userData.email)">Reset</button>
-</div>
\ No newline at end of file
+</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/dialog/reset/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/dialog/reset/index.js b/traffic_ops/experimental/ui/app/src/common/modules/dialog/reset/index.js
index 30ec1b2..89fce16 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/dialog/reset/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/dialog/reset/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.dialog.reset', [])
.controller('DialogResetController', require('./DialogResetController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/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
index 3b57f13..85f1475 100644
--- 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
@@ -1,3 +1,22 @@
+/*
+ * 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() {
@@ -23,4 +42,4 @@ var FormASNController = function(asn, $scope, formUtils, locationUtils, cacheGro
};
FormASNController.$inject = ['asn', '$scope', 'formUtils', 'locationUtils', 'cacheGroupService'];
-module.exports = FormASNController;
\ No newline at end of file
+module.exports = FormASNController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/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
index 69d4ffc..bd13129 100644
--- 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
@@ -1,3 +1,22 @@
+/*
+ * 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
@@ -50,4 +69,4 @@ var FormEditASNController = function(asn, $scope, $controller, $uibModal, $ancho
};
FormEditASNController.$inject = ['asn', '$scope', '$controller', '$uibModal', '$anchorScroll', 'locationUtils', 'asnService'];
-module.exports = FormEditASNController;
\ No newline at end of file
+module.exports = FormEditASNController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/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
index b5e864d..1635d87 100644
--- 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
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.asn.edit', [])
.controller('FormEditASNController', require('./FormEditASNController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/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
index c6603a1..e89b19a 100644
--- 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
@@ -1,3 +1,22 @@
+<!--
+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">
@@ -34,4 +53,4 @@
</div>
</form>
</div>
-</div>
\ No newline at end of file
+</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/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
index 7fa8c41..7bd408e 100644
--- 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
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.asn', [])
.controller('FormASNController', require('./FormASNController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/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
index 7cace29..e5b513f 100644
--- 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
@@ -1,3 +1,22 @@
+/*
+ * 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
@@ -17,4 +36,4 @@ var FormNewASNController = function(asn, $scope, $controller, asnService) {
};
FormNewASNController.$inject = ['asn', '$scope', '$controller', 'asnService'];
-module.exports = FormNewASNController;
\ No newline at end of file
+module.exports = FormNewASNController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/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
index f191ac6..9b4e89c 100644
--- 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
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.asn.new', [])
.controller('FormNewASNController', require('./FormNewASNController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/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
index 2b8e3c7..5be5589 100644
--- 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
@@ -1,3 +1,22 @@
+/*
+ * 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, formUtils, locationUtils, cacheGroupService, typeService) {
var getCacheGroups = function() {
@@ -31,4 +50,4 @@ var FormCacheGroupController = function(cacheGroup, $scope, formUtils, locationU
};
FormCacheGroupController.$inject = ['cacheGroup', '$scope', 'formUtils', 'locationUtils', 'cacheGroupService', 'typeService'];
-module.exports = FormCacheGroupController;
\ No newline at end of file
+module.exports = FormCacheGroupController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/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
index 6f4eddd..a59d358 100644
--- 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
@@ -1,3 +1,22 @@
+/*
+ * 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
@@ -50,4 +69,4 @@ var FormEditCacheGroupController = function(cacheGroup, $scope, $controller, $ui
};
FormEditCacheGroupController.$inject = ['cacheGroup', '$scope', '$controller', '$uibModal', '$anchorScroll', 'locationUtils', 'cacheGroupService'];
-module.exports = FormEditCacheGroupController;
\ No newline at end of file
+module.exports = FormEditCacheGroupController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/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
index 3a8e36d..180be0c 100644
--- 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
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.cacheGroup.edit', [])
.controller('FormEditCacheGroupController', require('./FormEditCacheGroupController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/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
index f2681b9..f881cad 100644
--- 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
@@ -1,3 +1,22 @@
+<!--
+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">
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/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
index 1dcc727..b0652d1 100644
--- 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
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.cacheGroup', [])
.controller('FormCacheGroupController', require('./FormCacheGroupController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/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
index 0c78a1a..f13ad51 100644
--- 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
@@ -1,3 +1,22 @@
+/*
+ * 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
@@ -17,4 +36,4 @@ var FormNewCacheGroupController = function(cacheGroup, $scope, $controller, cach
};
FormNewCacheGroupController.$inject = ['cacheGroup', '$scope', '$controller', 'cacheGroupService'];
-module.exports = FormNewCacheGroupController;
\ No newline at end of file
+module.exports = FormNewCacheGroupController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/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
index 8bd5d0d..60e0e24 100644
--- 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
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.cacheGroup.new', [])
.controller('FormNewCacheGroupController', require('./FormNewCacheGroupController'));
[07/15] incubator-trafficcontrol git commit: Apache RAT tool
automatically added Apache License Headers
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/cdns/edit/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/cdns/edit/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/cdns/edit/index.js
index 7d3dd0c..1a7222d 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/cdns/edit/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/cdns/edit/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.cdns.edit', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/cdns/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/cdns/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/cdns/index.js
index 34382f9..a2b9d0c 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/cdns/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/cdns/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.cdns', [])
.controller('CdnsController', require('./CdnsController'))
.config(function($stateProvider, $urlRouterProvider) {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/cdns/list/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/cdns/list/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/cdns/list/index.js
index 4dded22..c50ed67 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/cdns/list/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/cdns/list/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.cdns.list', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/cdns/new/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/cdns/new/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/cdns/new/index.js
index a84b996..25847b9 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/cdns/new/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/cdns/new/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.cdns.new', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/divisions/DivisionsController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/divisions/DivisionsController.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/divisions/DivisionsController.js
index d3e538d..21b0bea 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/divisions/DivisionsController.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/divisions/DivisionsController.js
@@ -1,5 +1,24 @@
+/*
+ * 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 DivisionsController = function() {
};
DivisionsController.$inject = [];
-module.exports = DivisionsController;
\ No newline at end of file
+module.exports = DivisionsController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/divisions/divisions.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/divisions/divisions.tpl.html b/traffic_ops/experimental/ui/app/src/modules/private/admin/divisions/divisions.tpl.html
index dd9023b..8c8d7e4 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/divisions/divisions.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/divisions/divisions.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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 id="divisionsContainer">
<div ui-view="divisionsContent"></div>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/divisions/edit/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/divisions/edit/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/divisions/edit/index.js
index 4fa842b..8066477 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/divisions/edit/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/divisions/edit/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.divisions.edit', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/divisions/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/divisions/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/divisions/index.js
index 1973423..9828c8c 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/divisions/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/divisions/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.divisions', [])
.controller('DivisionsController', require('./DivisionsController'))
.config(function($stateProvider, $urlRouterProvider) {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/divisions/list/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/divisions/list/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/divisions/list/index.js
index 7af086d..a37c521 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/divisions/list/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/divisions/list/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.divisions.list', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/divisions/new/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/divisions/new/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/divisions/new/index.js
index ff37648..44197cd 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/divisions/new/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/divisions/new/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.divisions.new', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/index.js
index 3699bf3..ba19269 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin', [])
.controller('AdminController', require('./AdminController'))
.config(function($stateProvider, $urlRouterProvider) {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/locations/LocationsController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/locations/LocationsController.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/locations/LocationsController.js
index b24dc9a..0b2c316 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/locations/LocationsController.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/locations/LocationsController.js
@@ -1,5 +1,24 @@
+/*
+ * 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 LocationsController = function() {
};
LocationsController.$inject = [];
-module.exports = LocationsController;
\ No newline at end of file
+module.exports = LocationsController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/locations/edit/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/locations/edit/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/locations/edit/index.js
index 99ebe17..67f5722 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/locations/edit/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/locations/edit/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.locations.edit', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/locations/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/locations/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/locations/index.js
index 86ef624..d42f0b4 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/locations/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/locations/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.locations', [])
.controller('LocationsController', require('./LocationsController'))
.config(function($stateProvider, $urlRouterProvider) {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/locations/list/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/locations/list/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/locations/list/index.js
index bef1e8c..a77e587 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/locations/list/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/locations/list/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.locations.list', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/locations/locations.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/locations/locations.tpl.html b/traffic_ops/experimental/ui/app/src/modules/private/admin/locations/locations.tpl.html
index 2f3e4dd..5763f02 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/locations/locations.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/locations/locations.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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 id="locationsContainer">
<div ui-view="locationsContent"></div>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/locations/new/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/locations/new/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/locations/new/index.js
index dd4c9ea..0e61d4b 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/locations/new/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/locations/new/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.locations.new', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/parameters/ParametersController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/parameters/ParametersController.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/parameters/ParametersController.js
index 055c8b6..746c81c 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/parameters/ParametersController.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/parameters/ParametersController.js
@@ -1,5 +1,24 @@
+/*
+ * 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 ParametersController = function() {
};
ParametersController.$inject = [];
-module.exports = ParametersController;
\ No newline at end of file
+module.exports = ParametersController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/parameters/edit/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/parameters/edit/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/parameters/edit/index.js
index 76cdb8d..77e75ba 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/parameters/edit/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/parameters/edit/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.parameters.edit', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/parameters/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/parameters/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/parameters/index.js
index 63b4932..b24838c 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/parameters/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/parameters/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.parameters', [])
.controller('ParametersController', require('./ParametersController'))
.config(function($stateProvider, $urlRouterProvider) {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/parameters/list/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/parameters/list/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/parameters/list/index.js
index 31c84b3..ffdefb2 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/parameters/list/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/parameters/list/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.parameters.list', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/parameters/new/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/parameters/new/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/parameters/new/index.js
index f6c69ce..84fdc02 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/parameters/new/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/parameters/new/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.parameters.new', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/parameters/parameters.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/parameters/parameters.tpl.html b/traffic_ops/experimental/ui/app/src/modules/private/admin/parameters/parameters.tpl.html
index 61c51e4..2ec147c 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/parameters/parameters.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/parameters/parameters.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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 id="parametersContainer">
<div ui-view="parametersContent"></div>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/profiles/ProfilesController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/profiles/ProfilesController.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/profiles/ProfilesController.js
index 4f01ce7..f7e3264 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/profiles/ProfilesController.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/profiles/ProfilesController.js
@@ -1,5 +1,24 @@
+/*
+ * 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 ProfilesController = function() {
};
ProfilesController.$inject = [];
-module.exports = ProfilesController;
\ No newline at end of file
+module.exports = ProfilesController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/profiles/edit/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/profiles/edit/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/profiles/edit/index.js
index ad795be..ad9733b 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/profiles/edit/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/profiles/edit/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.profiles.edit', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/profiles/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/profiles/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/profiles/index.js
index 132aadf..4eca7c8 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/profiles/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/profiles/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.profiles', [])
.controller('ProfilesController', require('./ProfilesController'))
.config(function($stateProvider, $urlRouterProvider) {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/profiles/list/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/profiles/list/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/profiles/list/index.js
index 6a6649c..f112da8 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/profiles/list/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/profiles/list/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.profiles.list', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/profiles/new/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/profiles/new/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/profiles/new/index.js
index 53fb0bb..267579f 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/profiles/new/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/profiles/new/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.profiles.new', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/profiles/profiles.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/profiles/profiles.tpl.html b/traffic_ops/experimental/ui/app/src/modules/private/admin/profiles/profiles.tpl.html
index 00b15d0..4b35411 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/profiles/profiles.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/profiles/profiles.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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 id="profilesContainer">
<div ui-view="profilesContent"></div>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/regions/RegionsController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/regions/RegionsController.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/regions/RegionsController.js
index 3e9fb3a..002d01e 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/regions/RegionsController.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/regions/RegionsController.js
@@ -1,5 +1,24 @@
+/*
+ * 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 RegionsController = function() {
};
RegionsController.$inject = [];
-module.exports = RegionsController;
\ No newline at end of file
+module.exports = RegionsController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/regions/edit/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/regions/edit/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/regions/edit/index.js
index f98864c..e4702bc 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/regions/edit/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/regions/edit/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.regions.edit', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/regions/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/regions/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/regions/index.js
index 08da4a8..5c2449a 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/regions/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/regions/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.regions', [])
.controller('RegionsController', require('./RegionsController'))
.config(function($stateProvider, $urlRouterProvider) {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/regions/list/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/regions/list/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/regions/list/index.js
index f512eb4..b1a3d4b 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/regions/list/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/regions/list/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.regions.list', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/regions/new/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/regions/new/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/regions/new/index.js
index 72cab50..39ab5a8 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/regions/new/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/regions/new/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.regions.new', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/regions/regions.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/regions/regions.tpl.html b/traffic_ops/experimental/ui/app/src/modules/private/admin/regions/regions.tpl.html
index 1e712d0..f9af711 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/regions/regions.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/regions/regions.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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 id="regionsContainer">
<div ui-view="regionsContent"></div>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/statuses/StatusesController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/statuses/StatusesController.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/statuses/StatusesController.js
index 5584a17..f25aedf 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/statuses/StatusesController.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/statuses/StatusesController.js
@@ -1,5 +1,24 @@
+/*
+ * 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 StatusesController = function() {
};
StatusesController.$inject = [];
-module.exports = StatusesController;
\ No newline at end of file
+module.exports = StatusesController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/statuses/edit/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/statuses/edit/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/statuses/edit/index.js
index dd1f8da..507ed40 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/statuses/edit/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/statuses/edit/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.statuses.edit', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/statuses/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/statuses/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/statuses/index.js
index 74ceda6..bf2ddc0 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/statuses/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/statuses/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.statuses', [])
.controller('StatusesController', require('./StatusesController'))
.config(function($stateProvider, $urlRouterProvider) {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/statuses/list/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/statuses/list/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/statuses/list/index.js
index 622006a..ce2842f 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/statuses/list/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/statuses/list/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.statuses.list', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/statuses/new/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/statuses/new/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/statuses/new/index.js
index 6810cd5..66b03a4 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/statuses/new/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/statuses/new/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.statuses.new', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/statuses/statuses.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/statuses/statuses.tpl.html b/traffic_ops/experimental/ui/app/src/modules/private/admin/statuses/statuses.tpl.html
index 2b54b82..fff7089 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/statuses/statuses.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/statuses/statuses.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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 id="statusesContainer">
<div ui-view="statusesContent"></div>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/tenants/TenantsController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/tenants/TenantsController.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/tenants/TenantsController.js
index 25a9490..0657d69 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/tenants/TenantsController.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/tenants/TenantsController.js
@@ -1,5 +1,24 @@
+/*
+ * 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 TenantsController = function() {
};
TenantsController.$inject = [];
-module.exports = TenantsController;
\ No newline at end of file
+module.exports = TenantsController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/tenants/edit/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/tenants/edit/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/tenants/edit/index.js
index 62a7f37..ba7a174 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/tenants/edit/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/tenants/edit/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.tenants.edit', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/tenants/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/tenants/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/tenants/index.js
index bcb30f8..1f96ca2 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/tenants/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/tenants/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.tenants', [])
.controller('TenantsController', require('./TenantsController'))
.config(function($stateProvider, $urlRouterProvider) {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/tenants/list/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/tenants/list/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/tenants/list/index.js
index 2ec6c70..dee991b 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/tenants/list/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/tenants/list/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.tenants.list', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/tenants/new/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/tenants/new/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/tenants/new/index.js
index 9d48ffd..796fa5f 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/tenants/new/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/tenants/new/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.tenants.new', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/tenants/tenants.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/tenants/tenants.tpl.html b/traffic_ops/experimental/ui/app/src/modules/private/admin/tenants/tenants.tpl.html
index bf4cec5..54556c3 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/tenants/tenants.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/tenants/tenants.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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 id="tenantsContainer">
<div ui-view="tenantsContent"></div>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/types/TypesController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/types/TypesController.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/types/TypesController.js
index e7e8dcb..0325631 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/types/TypesController.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/types/TypesController.js
@@ -1,5 +1,24 @@
+/*
+ * 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 TypesController = function() {
};
TypesController.$inject = [];
-module.exports = TypesController;
\ No newline at end of file
+module.exports = TypesController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/types/edit/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/types/edit/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/types/edit/index.js
index 5442d55..9cd3f9b 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/types/edit/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/types/edit/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.types.edit', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/types/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/types/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/types/index.js
index f47e726..d92e962 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/types/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/types/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.types', [])
.controller('TypesController', require('./TypesController'))
.config(function($stateProvider, $urlRouterProvider) {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/types/list/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/types/list/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/types/list/index.js
index c74f9c6..6703742 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/types/list/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/types/list/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.types.list', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/types/new/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/types/new/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/types/new/index.js
index d5528f5..f2f3a14 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/types/new/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/types/new/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.types.new', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/types/types.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/types/types.tpl.html b/traffic_ops/experimental/ui/app/src/modules/private/admin/types/types.tpl.html
index b7d54c1..c8856f4 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/types/types.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/types/types.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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 id="typesContainer">
<div ui-view="typesContent"></div>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/users/UsersController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/users/UsersController.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/users/UsersController.js
index db06a29..5e51dbf 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/users/UsersController.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/users/UsersController.js
@@ -1,5 +1,24 @@
+/*
+ * 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 UsersController = function() {
};
UsersController.$inject = [];
-module.exports = UsersController;
\ No newline at end of file
+module.exports = UsersController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/users/edit/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/users/edit/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/users/edit/index.js
index aec9ee1..2eac387 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/users/edit/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/users/edit/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.users.edit', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
[15/15] incubator-trafficcontrol git commit: This closes #41.
Posted by da...@apache.org.
This closes #41.
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/fe5b5738
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/fe5b5738
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/fe5b5738
Branch: refs/heads/master
Commit: fe5b5738ca281f6a5e4a0b49c312b2d8161d2f95
Parents: 6a37892
Author: Dan Kirkwood <da...@gmail.com>
Authored: Thu Nov 3 16:05:14 2016 -0600
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Thu Nov 3 16:05:14 2016 -0600
----------------------------------------------------------------------
----------------------------------------------------------------------
[02/15] incubator-trafficcontrol git commit: Correcting permissions
that were accidentally changed
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/2c10af21/traffic_ops/experimental/ui/build/run-build.sh
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/build/run-build.sh b/traffic_ops/experimental/ui/build/run-build.sh
old mode 100644
new mode 100755
[08/15] incubator-trafficcontrol git commit: Apache RAT tool
automatically added Apache License Headers
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/cacheGroups/table.cacheGroups.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/cacheGroups/table.cacheGroups.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/table/cacheGroups/table.cacheGroups.tpl.html
index 5b2c34b..a473f0d 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/cacheGroups/table.cacheGroups.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/cacheGroups/table.cacheGroups.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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">
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/cdns/TableCDNsController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/cdns/TableCDNsController.js b/traffic_ops/experimental/ui/app/src/common/modules/table/cdns/TableCDNsController.js
index 846bc64..5686c0b 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/cdns/TableCDNsController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/cdns/TableCDNsController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 TableCDNsController = function(cdns, $scope, locationUtils) {
$scope.cdns = cdns;
@@ -20,4 +39,4 @@ var TableCDNsController = function(cdns, $scope, locationUtils) {
};
TableCDNsController.$inject = ['cdns', '$scope', 'locationUtils'];
-module.exports = TableCDNsController;
\ No newline at end of file
+module.exports = TableCDNsController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/cdns/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/cdns/index.js b/traffic_ops/experimental/ui/app/src/common/modules/table/cdns/index.js
index 3f23dee..d7ef000 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/cdns/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/cdns/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.table.cdns', [])
.controller('TableCDNsController', require('./TableCDNsController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/cdns/table.cdns.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/cdns/table.cdns.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/table/cdns/table.cdns.tpl.html
index 97b7ee1..bc3aeee 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/cdns/table.cdns.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/cdns/table.cdns.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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">
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/deliveryServices/TableDeliveryServicesController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/deliveryServices/TableDeliveryServicesController.js b/traffic_ops/experimental/ui/app/src/common/modules/table/deliveryServices/TableDeliveryServicesController.js
index f9f2867..7a74333 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/deliveryServices/TableDeliveryServicesController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/deliveryServices/TableDeliveryServicesController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 TableDeliveryServicesController = function(deliveryServices, $scope, locationUtils) {
$scope.deliveryServices = deliveryServices;
@@ -20,4 +39,4 @@ var TableDeliveryServicesController = function(deliveryServices, $scope, locatio
};
TableDeliveryServicesController.$inject = ['deliveryServices', '$scope', 'locationUtils'];
-module.exports = TableDeliveryServicesController;
\ No newline at end of file
+module.exports = TableDeliveryServicesController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/deliveryServices/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/deliveryServices/index.js b/traffic_ops/experimental/ui/app/src/common/modules/table/deliveryServices/index.js
index fe412ba..8d38bfb 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/deliveryServices/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/deliveryServices/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.table.deliveryServices', [])
.controller('TableDeliveryServicesController', require('./TableDeliveryServicesController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/deliveryServices/table.deliveryServices.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/deliveryServices/table.deliveryServices.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/table/deliveryServices/table.deliveryServices.tpl.html
index 6d6afaf..fa4fbde 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/deliveryServices/table.deliveryServices.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/deliveryServices/table.deliveryServices.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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">
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/divisions/TableDivisionsController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/divisions/TableDivisionsController.js b/traffic_ops/experimental/ui/app/src/common/modules/table/divisions/TableDivisionsController.js
index fa337c9..d030bbb 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/divisions/TableDivisionsController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/divisions/TableDivisionsController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 TableDivisionsController = function(divisions, $scope, locationUtils) {
$scope.divisions = divisions;
@@ -20,4 +39,4 @@ var TableDivisionsController = function(divisions, $scope, locationUtils) {
};
TableDivisionsController.$inject = ['divisions', '$scope', 'locationUtils'];
-module.exports = TableDivisionsController;
\ No newline at end of file
+module.exports = TableDivisionsController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/divisions/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/divisions/index.js b/traffic_ops/experimental/ui/app/src/common/modules/table/divisions/index.js
index 549f23b..f5d17f4 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/divisions/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/divisions/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.table.divisions', [])
.controller('TableDivisionsController', require('./TableDivisionsController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/divisions/table.divisions.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/divisions/table.divisions.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/table/divisions/table.divisions.tpl.html
index f2118ee..97abea6 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/divisions/table.divisions.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/divisions/table.divisions.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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">
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/locations/TableLocationsController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/locations/TableLocationsController.js b/traffic_ops/experimental/ui/app/src/common/modules/table/locations/TableLocationsController.js
index d998b18..5862c7b 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/locations/TableLocationsController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/locations/TableLocationsController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 TableLocationsController = function(locations, $scope, locationUtils) {
$scope.locations = locations;
@@ -20,4 +39,4 @@ var TableLocationsController = function(locations, $scope, locationUtils) {
};
TableLocationsController.$inject = ['locations', '$scope', 'locationUtils'];
-module.exports = TableLocationsController;
\ No newline at end of file
+module.exports = TableLocationsController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/locations/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/locations/index.js b/traffic_ops/experimental/ui/app/src/common/modules/table/locations/index.js
index 2a0ea40..6b2c3f7 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/locations/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/locations/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.table.locations', [])
.controller('TableLocationsController', require('./TableLocationsController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/locations/table.locations.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/locations/table.locations.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/table/locations/table.locations.tpl.html
index bce22fd..c6061e9 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/locations/table.locations.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/locations/table.locations.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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">
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/parameters/TableParametersController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/parameters/TableParametersController.js b/traffic_ops/experimental/ui/app/src/common/modules/table/parameters/TableParametersController.js
index 1345ec8..4d8fb1e 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/parameters/TableParametersController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/parameters/TableParametersController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 TableParametersController = function(parameters, $scope, locationUtils) {
$scope.parameters = parameters;
@@ -20,4 +39,4 @@ var TableParametersController = function(parameters, $scope, locationUtils) {
};
TableParametersController.$inject = ['parameters', '$scope', 'locationUtils'];
-module.exports = TableParametersController;
\ No newline at end of file
+module.exports = TableParametersController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/parameters/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/parameters/index.js b/traffic_ops/experimental/ui/app/src/common/modules/table/parameters/index.js
index dfa5c1e..c6606b8 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/parameters/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/parameters/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.table.parameters', [])
.controller('TableParametersController', require('./TableParametersController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/parameters/table.parameters.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/parameters/table.parameters.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/table/parameters/table.parameters.tpl.html
index c7778b0..984af8c 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/parameters/table.parameters.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/parameters/table.parameters.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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">
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/profiles/TableProfilesController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/profiles/TableProfilesController.js b/traffic_ops/experimental/ui/app/src/common/modules/table/profiles/TableProfilesController.js
index 1d2fb44..660b978 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/profiles/TableProfilesController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/profiles/TableProfilesController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 TableProfilesController = function(profiles, $scope, locationUtils) {
$scope.profiles = profiles;
@@ -20,4 +39,4 @@ var TableProfilesController = function(profiles, $scope, locationUtils) {
};
TableProfilesController.$inject = ['profiles', '$scope', 'locationUtils'];
-module.exports = TableProfilesController;
\ No newline at end of file
+module.exports = TableProfilesController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/profiles/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/profiles/index.js b/traffic_ops/experimental/ui/app/src/common/modules/table/profiles/index.js
index da5c683..4c902ba 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/profiles/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/profiles/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.table.profiles', [])
.controller('TableProfilesController', require('./TableProfilesController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/profiles/table.profiles.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/profiles/table.profiles.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/table/profiles/table.profiles.tpl.html
index 25663d8..4430a6a 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/profiles/table.profiles.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/profiles/table.profiles.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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">
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/regions/TableRegionsController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/regions/TableRegionsController.js b/traffic_ops/experimental/ui/app/src/common/modules/table/regions/TableRegionsController.js
index 736857b..8722b45 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/regions/TableRegionsController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/regions/TableRegionsController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 TableRegionsController = function(regions, $scope, locationUtils) {
$scope.regions = regions;
@@ -20,4 +39,4 @@ var TableRegionsController = function(regions, $scope, locationUtils) {
};
TableRegionsController.$inject = ['regions', '$scope', 'locationUtils'];
-module.exports = TableRegionsController;
\ No newline at end of file
+module.exports = TableRegionsController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/regions/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/regions/index.js b/traffic_ops/experimental/ui/app/src/common/modules/table/regions/index.js
index 67a8bf4..69a318c 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/regions/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/regions/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.table.regions', [])
.controller('TableRegionsController', require('./TableRegionsController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/regions/table.regions.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/regions/table.regions.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/table/regions/table.regions.tpl.html
index 7580d59..32dd17a 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/regions/table.regions.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/regions/table.regions.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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">
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/servers/TableServersController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/servers/TableServersController.js b/traffic_ops/experimental/ui/app/src/common/modules/table/servers/TableServersController.js
index be3f09b..0045d23 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/servers/TableServersController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/servers/TableServersController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 TableServersController = function(servers, $scope, locationUtils) {
$scope.servers = servers;
@@ -20,4 +39,4 @@ var TableServersController = function(servers, $scope, locationUtils) {
};
TableServersController.$inject = ['servers', '$scope', 'locationUtils'];
-module.exports = TableServersController;
\ No newline at end of file
+module.exports = TableServersController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/servers/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/servers/index.js b/traffic_ops/experimental/ui/app/src/common/modules/table/servers/index.js
index f315a42..dc5775b 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/servers/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/servers/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.table.servers', [])
.controller('TableServersController', require('./TableServersController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/servers/table.servers.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/servers/table.servers.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/table/servers/table.servers.tpl.html
index 653f07b..c48a058 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/servers/table.servers.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/servers/table.servers.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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">
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/statuses/TableStatusesController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/statuses/TableStatusesController.js b/traffic_ops/experimental/ui/app/src/common/modules/table/statuses/TableStatusesController.js
index 228a5ca..b7eddf0 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/statuses/TableStatusesController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/statuses/TableStatusesController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 TableStatusesController = function(statuses, $scope, locationUtils) {
$scope.statuses = statuses;
@@ -20,4 +39,4 @@ var TableStatusesController = function(statuses, $scope, locationUtils) {
};
TableStatusesController.$inject = ['statuses', '$scope', 'locationUtils'];
-module.exports = TableStatusesController;
\ No newline at end of file
+module.exports = TableStatusesController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/statuses/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/statuses/index.js b/traffic_ops/experimental/ui/app/src/common/modules/table/statuses/index.js
index 76a65c0..0b441dd 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/statuses/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/statuses/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.table.statuses', [])
.controller('TableStatusesController', require('./TableStatusesController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/statuses/table.statuses.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/statuses/table.statuses.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/table/statuses/table.statuses.tpl.html
index 2472063..503f674 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/statuses/table.statuses.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/statuses/table.statuses.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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">
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/tenants/TableTenantsController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/tenants/TableTenantsController.js b/traffic_ops/experimental/ui/app/src/common/modules/table/tenants/TableTenantsController.js
index 3f296cd..430b4b5 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/tenants/TableTenantsController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/tenants/TableTenantsController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 TableTenantsController = function(tenants, $scope, locationUtils) {
$scope.tenants = tenants;
@@ -20,4 +39,4 @@ var TableTenantsController = function(tenants, $scope, locationUtils) {
};
TableTenantsController.$inject = ['tenants', '$scope', 'locationUtils'];
-module.exports = TableTenantsController;
\ No newline at end of file
+module.exports = TableTenantsController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/tenants/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/tenants/index.js b/traffic_ops/experimental/ui/app/src/common/modules/table/tenants/index.js
index 1f29ab2..4256270 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/tenants/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/tenants/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.table.tenants', [])
.controller('TableTenantsController', require('./TableTenantsController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/tenants/table.tenants.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/tenants/table.tenants.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/table/tenants/table.tenants.tpl.html
index 8c508f4..15ed605 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/tenants/table.tenants.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/tenants/table.tenants.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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">
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/types/TableTypesController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/types/TableTypesController.js b/traffic_ops/experimental/ui/app/src/common/modules/table/types/TableTypesController.js
index 1891d79..d439cc8 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/types/TableTypesController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/types/TableTypesController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 TableTypesController = function(types, $scope, locationUtils) {
$scope.types = types;
@@ -20,4 +39,4 @@ var TableTypesController = function(types, $scope, locationUtils) {
};
TableTypesController.$inject = ['types', '$scope', 'locationUtils'];
-module.exports = TableTypesController;
\ No newline at end of file
+module.exports = TableTypesController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/types/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/types/index.js b/traffic_ops/experimental/ui/app/src/common/modules/table/types/index.js
index 42acbdc..2522659 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/types/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/types/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.table.types', [])
.controller('TableTypesController', require('./TableTypesController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/types/table.types.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/types/table.types.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/table/types/table.types.tpl.html
index 25161f2..621800f 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/types/table.types.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/types/table.types.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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">
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/users/TableUsersController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/users/TableUsersController.js b/traffic_ops/experimental/ui/app/src/common/modules/table/users/TableUsersController.js
index 712a3c3..979de77 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/users/TableUsersController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/users/TableUsersController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 TableUsersController = function(users, $scope, locationUtils) {
$scope.users = users;
@@ -20,4 +39,4 @@ var TableUsersController = function(users, $scope, locationUtils) {
};
TableUsersController.$inject = ['users', '$scope', 'locationUtils'];
-module.exports = TableUsersController;
\ No newline at end of file
+module.exports = TableUsersController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/users/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/users/index.js b/traffic_ops/experimental/ui/app/src/common/modules/table/users/index.js
index 9c9093a..3248e7c 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/users/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/users/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.table.users', [])
.controller('TableUsersController', require('./TableUsersController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/users/table.users.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/users/table.users.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/table/users/table.users.tpl.html
index 523d296..51f3d39 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/users/table.users.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/users/table.users.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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">
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/service/application/ApplicationService.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/service/application/ApplicationService.js b/traffic_ops/experimental/ui/app/src/common/service/application/ApplicationService.js
index e78e607..1fde86d 100644
--- a/traffic_ops/experimental/ui/app/src/common/service/application/ApplicationService.js
+++ b/traffic_ops/experimental/ui/app/src/common/service/application/ApplicationService.js
@@ -1,3 +1,22 @@
+/*
+ * 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 ApplicationService = function($rootScope, $anchorScroll, $http) {
this.startup = function() {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/service/application/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/service/application/index.js b/traffic_ops/experimental/ui/app/src/common/service/application/index.js
index c8bbf2d..56e79e3 100644
--- a/traffic_ops/experimental/ui/app/src/common/service/application/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/service/application/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.application', [])
- .service('applicationService', require('./ApplicationService'));
\ No newline at end of file
+ .service('applicationService', require('./ApplicationService'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/service/utils/FormUtils.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/service/utils/FormUtils.js b/traffic_ops/experimental/ui/app/src/common/service/utils/FormUtils.js
index 524a9ac..1c2d85b 100644
--- a/traffic_ops/experimental/ui/app/src/common/service/utils/FormUtils.js
+++ b/traffic_ops/experimental/ui/app/src/common/service/utils/FormUtils.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormUtils = function() {
this.hasError = function(input) {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/service/utils/LocationUtils.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/service/utils/LocationUtils.js b/traffic_ops/experimental/ui/app/src/common/service/utils/LocationUtils.js
index d371463..8defa68 100644
--- a/traffic_ops/experimental/ui/app/src/common/service/utils/LocationUtils.js
+++ b/traffic_ops/experimental/ui/app/src/common/service/utils/LocationUtils.js
@@ -1,3 +1,22 @@
+/*
+ * 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 LocationUtils = function($location) {
this.navigateToPath = function(path) {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/service/utils/StringUtils.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/service/utils/StringUtils.js b/traffic_ops/experimental/ui/app/src/common/service/utils/StringUtils.js
index a24a57b..2e5bb38 100644
--- a/traffic_ops/experimental/ui/app/src/common/service/utils/StringUtils.js
+++ b/traffic_ops/experimental/ui/app/src/common/service/utils/StringUtils.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormUtils = function() {
this.labelize = function(string) {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/service/utils/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/service/utils/index.js b/traffic_ops/experimental/ui/app/src/common/service/utils/index.js
index 4ececa1..c9d1977 100644
--- a/traffic_ops/experimental/ui/app/src/common/service/utils/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/service/utils/index.js
@@ -1,4 +1,23 @@
+/*
+ * 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('trafficOps.utils', [])
.service('formUtils', require('./FormUtils'))
.service('locationUtils', require('./LocationUtils'))
- .service('stringUtils', require('./StringUtils'));
\ No newline at end of file
+ .service('stringUtils', require('./StringUtils'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/templates/master.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/templates/master.tpl.html b/traffic_ops/experimental/ui/app/src/common/templates/master.tpl.html
index f0b629b..a1e5a94 100644
--- a/traffic_ops/experimental/ui/app/src/common/templates/master.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/templates/master.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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="main_container">
<!-- navigation -->
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/index.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/index.html b/traffic_ops/experimental/ui/app/src/index.html
old mode 100755
new mode 100644
index 68a75c3..ee95434
--- a/traffic_ops/experimental/ui/app/src/index.html
+++ b/traffic_ops/experimental/ui/app/src/index.html
@@ -1,3 +1,22 @@
+<!--
+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.
+-->
+
<!doctype html>
<head>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/AdminController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/AdminController.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/AdminController.js
index 3157a7a..54d348c 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/AdminController.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/AdminController.js
@@ -1,4 +1,23 @@
+/*
+ * 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 AdminController = function() {};
AdminController.$inject = [];
-module.exports = AdminController;
\ No newline at end of file
+module.exports = AdminController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/admin.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/admin.tpl.html b/traffic_ops/experimental/ui/app/src/modules/private/admin/admin.tpl.html
index 3194c46..ea0ece1 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/admin.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/admin.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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 id="adminContainer">
<div ui-view="adminContent"></div>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/asns/AsnsController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/asns/AsnsController.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/asns/AsnsController.js
index bbbf4d1..c3e10f8 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/asns/AsnsController.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/asns/AsnsController.js
@@ -1,5 +1,24 @@
+/*
+ * 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 AsnsController = function() {
};
AsnsController.$inject = [];
-module.exports = AsnsController;
\ No newline at end of file
+module.exports = AsnsController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/asns/asns.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/asns/asns.tpl.html b/traffic_ops/experimental/ui/app/src/modules/private/admin/asns/asns.tpl.html
index 51ca9d7..6df2eca 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/asns/asns.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/asns/asns.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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 id="asnsContainer">
<div ui-view="asnsContent"></div>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/asns/edit/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/asns/edit/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/asns/edit/index.js
index 9f93f98..193297f 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/asns/edit/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/asns/edit/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.asns.edit', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/asns/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/asns/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/asns/index.js
index 0c058cd..d82ca12 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/asns/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/asns/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.asns', [])
.controller('AsnsController', require('./AsnsController'))
.config(function($stateProvider, $urlRouterProvider) {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/asns/list/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/asns/list/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/asns/list/index.js
index b19d510..b855dfe 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/asns/list/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/asns/list/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.asns.list', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/asns/new/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/asns/new/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/asns/new/index.js
index 9953128..a5c077d 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/asns/new/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/asns/new/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.asns.new', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/cdns/CdnsController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/cdns/CdnsController.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/cdns/CdnsController.js
index c8c6765..9f121b0 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/cdns/CdnsController.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/cdns/CdnsController.js
@@ -1,5 +1,24 @@
+/*
+ * 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 CdnsController = function() {
};
CdnsController.$inject = [];
-module.exports = CdnsController;
\ No newline at end of file
+module.exports = CdnsController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/cdns/cdns.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/cdns/cdns.tpl.html b/traffic_ops/experimental/ui/app/src/modules/private/admin/cdns/cdns.tpl.html
index 84259ec..b4d6fe7 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/cdns/cdns.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/cdns/cdns.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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 id="cdnsContainer">
<div ui-view="cdnsContent"></div>
</div>
[14/15] incubator-trafficcontrol git commit: Apache RAT tool
automatically added Apache License Headers
Posted by da...@apache.org.
Apache RAT tool automatically added Apache License Headers
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/71662679
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/71662679
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/71662679
Branch: refs/heads/master
Commit: 7166267951efa81ee3649d3f4629e095cc029042
Parents: 59c6cfc
Author: Eric Friedrich <ef...@cisco.com>
Authored: Wed Nov 2 22:28:30 2016 -0400
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Thu Nov 3 15:25:04 2016 -0600
----------------------------------------------------------------------
.rat-excludes | 1 +
.rat-excludes~ | 1 +
docs/source/_static/theme_overrides.css | 19 +
infrastructure/docker/build/run-build.sh | 16 +
infrastructure/docker/traffic_monitor/run.sh | 16 +
infrastructure/docker/traffic_ops/run.sh | 16 +
infrastructure/docker/traffic_router/run.sh | 16 +
.../docker/traffic_server_edge/run.sh | 16 +
infrastructure/docker/traffic_server_mid/run.sh | 16 +
infrastructure/docker/traffic_stats/run.sh | 16 +
infrastructure/docker/traffic_vault/run.sh | 16 +
misc/traffic-control-cdn/css/home.css | 19 +
misc/traffic-control-cdn/downloads/index.html | 19 +
misc/traffic-control-cdn/index.html | 19 +
.../traffic_monitor/index.html | 19 +
misc/traffic-control-cdn/traffic_ops/index.html | 19 +
.../traffic_portal/index.html | 19 +
.../traffic_router/index.html | 19 +
.../traffic_stats/index.html | 19 +
test/router/css/loadtest.css | 21 +-
test/router/index.html | 21 +-
traffic_monitor/build/pmd/ruleset.xml | 20 +
traffic_monitor/etc/ats_sim.js | 19 +
.../experimental/traffic_monitor/build.sh | 16 +
.../experimental/traffic_monitor/index.html | 19 +
traffic_monitor/pom.xml | 20 +
.../src/main/conf/traffic_monitor_config.js | 19 +
.../traffic_control/traffic_monitor/Index.html | 19 +
.../traffic_monitor/data/StatisticsLog.java | 22 +-
.../health/CacheStateRegistry.java | 20 +
.../health/CacheStateUpdater.java | 20 +
.../health/CacheStatisticsClient.java | 20 +
.../health/DeliveryServiceStateRegistry.java | 20 +
.../traffic_monitor/health/DsStati.java | 20 +
.../traffic_monitor/health/EmbeddedStati.java | 20 +
.../traffic_monitor/health/StateRegistry.java | 20 +
.../wicket/components/CacheDetailsPage.html | 21 +-
.../wicket/components/CacheListPanel.html | 21 +-
.../wicket/components/DsDetailsPage.html | 21 +-
.../wicket/components/DsListPanel.html | 21 +-
.../wicket/components/EventLogPanel.html | 21 +-
.../wicket/components/StateDetailsPage.java | 20 +
.../wicket/models/CacheDataModel.java | 20 +
.../wicket/models/CacheStateModel.java | 20 +
.../wicket/models/DsStateModel.java | 20 +
.../wicket/models/StateModel.java | 20 +
.../src/main/resources/log4j.properties | 17 +
traffic_monitor/src/main/scripts/postremove.sh | 18 +-
traffic_monitor/src/main/webapp/WEB-INF/web.xml | 20 +
traffic_monitor/src/main/webapp/style.css | 19 +
traffic_monitor/src/main/webapp/test.html | 21 +-
.../application/MonitorApplicationTest.java | 20 +
.../src/test/java/config/CacheTest.java | 20 +
.../src/test/java/config/ConfigHandlerTest.java | 22 +-
.../src/test/java/config/ConfigTest.java | 20 +
.../src/test/java/config/MonitorConfigTest.java | 20 +
.../src/test/java/config/RouterConfigTest.java | 20 +
.../src/test/java/data/DataPointTest.java | 20 +
.../src/test/java/data/StatisticsLogTest.java | 22 +-
.../test/java/health/CacheStateUpdaterTest.java | 20 +
.../java/health/CacheStatisticsClientTest.java | 20 +
.../src/test/java/health/DeletemeTest.java | 20 +
.../test/java/health/HealthDeterminerTest.java | 20 +
.../resources/conf/traffic_monitor_config.js | 19 +
.../src/test/resources/var/health-params.js | 19 +
.../app/conf/misc/riak_search/sslkeys.xml | 22 +-
.../lib/Fixtures/Integration/gen_fixtures.pl | 16 +
.../app/public/js/jqtree/#tree.jquery.js# | 3341 ++++++++++++++++++
.../postgrest/Postgrest_Dockerfile_run.sh | 16 +
traffic_ops/experimental/ui/Gruntfile.js | 21 +-
traffic_ops/experimental/ui/app/src/app.js | 19 +
.../ui/app/src/assets/css/custom.css | 19 +
.../ui/app/src/common/api/ASNService.js | 21 +-
.../ui/app/src/common/api/AuthService.js | 21 +-
.../ui/app/src/common/api/CDNService.js | 21 +-
.../ui/app/src/common/api/CacheGroupService.js | 21 +-
.../src/common/api/DeliveryServiceService.js | 21 +-
.../ui/app/src/common/api/DivisionService.js | 21 +-
.../ui/app/src/common/api/HttpService.js | 21 +-
.../ui/app/src/common/api/LocationService.js | 21 +-
.../ui/app/src/common/api/ParameterService.js | 21 +-
.../ui/app/src/common/api/ProfileService.js | 21 +-
.../ui/app/src/common/api/RegionService.js | 21 +-
.../ui/app/src/common/api/RoleService.js | 21 +-
.../ui/app/src/common/api/ServerService.js | 21 +-
.../ui/app/src/common/api/StatusService.js | 21 +-
.../ui/app/src/common/api/TenantService.js | 21 +-
.../ui/app/src/common/api/TrafficOpsService.js | 21 +-
.../ui/app/src/common/api/TypeService.js | 21 +-
.../ui/app/src/common/api/UserService.js | 21 +-
.../experimental/ui/app/src/common/api/index.js | 21 +-
.../common/directives/match/MatchDirective.js | 19 +
.../ui/app/src/common/directives/match/index.js | 19 +
.../ui/app/src/common/filters/OffsetFilter.js | 19 +
.../ui/app/src/common/filters/index.js | 19 +
.../ui/app/src/common/models/MessageModel.js | 19 +
.../ui/app/src/common/models/UserModel.js | 21 +-
.../ui/app/src/common/models/index.js | 19 +
.../dialog/confirm/DialogConfirmController.js | 19 +
.../dialog/confirm/dialog.confirm.tpl.html | 21 +-
.../src/common/modules/dialog/confirm/index.js | 19 +
.../dialog/delete/DialogDeleteController.js | 19 +
.../dialog/delete/dialog.delete.tpl.html | 21 +-
.../src/common/modules/dialog/delete/index.js | 19 +
.../dialog/reset/DialogResetController.js | 19 +
.../modules/dialog/reset/dialog.reset.tpl.html | 21 +-
.../src/common/modules/dialog/reset/index.js | 19 +
.../modules/form/asn/FormASNController.js | 21 +-
.../form/asn/edit/FormEditASNController.js | 21 +-
.../src/common/modules/form/asn/edit/index.js | 19 +
.../common/modules/form/asn/form.asn.tpl.html | 21 +-
.../ui/app/src/common/modules/form/asn/index.js | 19 +
.../form/asn/new/FormNewASNController.js | 21 +-
.../src/common/modules/form/asn/new/index.js | 19 +
.../form/cacheGroup/FormCacheGroupController.js | 21 +-
.../edit/FormEditCacheGroupController.js | 21 +-
.../modules/form/cacheGroup/edit/index.js | 19 +
.../form/cacheGroup/form.cacheGroup.tpl.html | 19 +
.../src/common/modules/form/cacheGroup/index.js | 19 +
.../new/FormNewCacheGroupController.js | 21 +-
.../common/modules/form/cacheGroup/new/index.js | 19 +
.../modules/form/cdn/FormCDNController.js | 21 +-
.../form/cdn/edit/FormEditCDNController.js | 21 +-
.../src/common/modules/form/cdn/edit/index.js | 19 +
.../common/modules/form/cdn/form.cdn.tpl.html | 21 +-
.../ui/app/src/common/modules/form/cdn/index.js | 19 +
.../form/cdn/new/FormNewCDNController.js | 21 +-
.../src/common/modules/form/cdn/new/index.js | 19 +
.../FormDeliveryServiceController.js | 21 +-
.../edit/FormEditDeliveryServiceController.js | 21 +-
.../modules/form/deliveryService/edit/index.js | 19 +
.../form.deliveryService.tpl.html | 21 +-
.../modules/form/deliveryService/index.js | 19 +
.../new/FormNewDeliveryServiceController.js | 21 +-
.../modules/form/deliveryService/new/index.js | 19 +
.../form/division/FormDivisionController.js | 21 +-
.../division/edit/FormEditDivisionController.js | 21 +-
.../common/modules/form/division/edit/index.js | 19 +
.../form/division/form.division.tpl.html | 21 +-
.../src/common/modules/form/division/index.js | 19 +
.../division/new/FormNewDivisionController.js | 21 +-
.../common/modules/form/division/new/index.js | 19 +
.../form/location/FormLocationController.js | 21 +-
.../location/edit/FormEditLocationController.js | 21 +-
.../common/modules/form/location/edit/index.js | 19 +
.../form/location/form.location.tpl.html | 21 +-
.../src/common/modules/form/location/index.js | 19 +
.../location/new/FormNewLocationController.js | 21 +-
.../common/modules/form/location/new/index.js | 19 +
.../form/parameter/FormParameterController.js | 21 +-
.../edit/FormEditParameterController.js | 21 +-
.../common/modules/form/parameter/edit/index.js | 19 +
.../form/parameter/form.parameter.tpl.html | 21 +-
.../src/common/modules/form/parameter/index.js | 19 +
.../parameter/new/FormNewParameterController.js | 21 +-
.../common/modules/form/parameter/new/index.js | 19 +
.../form/profile/FormProfileController.js | 21 +-
.../profile/edit/FormEditProfileController.js | 21 +-
.../common/modules/form/profile/edit/index.js | 19 +
.../modules/form/profile/form.profile.tpl.html | 21 +-
.../src/common/modules/form/profile/index.js | 19 +
.../profile/new/FormNewProfileController.js | 21 +-
.../common/modules/form/profile/new/index.js | 19 +
.../modules/form/region/FormRegionController.js | 21 +-
.../region/edit/FormEditRegionController.js | 21 +-
.../common/modules/form/region/edit/index.js | 19 +
.../modules/form/region/form.region.tpl.html | 21 +-
.../app/src/common/modules/form/region/index.js | 19 +
.../form/region/new/FormNewRegionController.js | 21 +-
.../src/common/modules/form/region/new/index.js | 19 +
.../modules/form/server/FormServerController.js | 21 +-
.../server/edit/FormEditServerController.js | 21 +-
.../common/modules/form/server/edit/index.js | 19 +
.../modules/form/server/form.server.tpl.html | 21 +-
.../app/src/common/modules/form/server/index.js | 19 +
.../form/server/new/FormNewServerController.js | 21 +-
.../src/common/modules/form/server/new/index.js | 19 +
.../modules/form/status/FormStatusController.js | 21 +-
.../status/edit/FormEditStatusController.js | 21 +-
.../common/modules/form/status/edit/index.js | 19 +
.../modules/form/status/form.status.tpl.html | 21 +-
.../app/src/common/modules/form/status/index.js | 19 +
.../form/status/new/FormNewStatusController.js | 21 +-
.../src/common/modules/form/status/new/index.js | 19 +
.../modules/form/tenant/FormTenantController.js | 21 +-
.../tenant/edit/FormEditTenantController.js | 21 +-
.../common/modules/form/tenant/edit/index.js | 19 +
.../modules/form/tenant/form.tenant.tpl.html | 21 +-
.../app/src/common/modules/form/tenant/index.js | 19 +
.../form/tenant/new/FormNewTenantController.js | 21 +-
.../src/common/modules/form/tenant/new/index.js | 19 +
.../modules/form/type/FormTypeController.js | 21 +-
.../form/type/edit/FormEditTypeController.js | 21 +-
.../src/common/modules/form/type/edit/index.js | 19 +
.../common/modules/form/type/form.type.tpl.html | 21 +-
.../app/src/common/modules/form/type/index.js | 19 +
.../form/type/new/FormNewTypeController.js | 21 +-
.../src/common/modules/form/type/new/index.js | 19 +
.../modules/form/user/FormUserController.js | 21 +-
.../form/user/edit/FormEditUserController.js | 21 +-
.../src/common/modules/form/user/edit/index.js | 19 +
.../common/modules/form/user/form.user.tpl.html | 19 +
.../app/src/common/modules/form/user/index.js | 19 +
.../form/user/new/FormNewUserController.js | 21 +-
.../src/common/modules/form/user/new/index.js | 19 +
.../common/modules/header/HeaderController.js | 19 +
.../src/common/modules/header/header.tpl.html | 19 +
.../ui/app/src/common/modules/header/index.js | 21 +-
.../common/modules/message/MessageController.js | 19 +
.../ui/app/src/common/modules/message/index.js | 19 +
.../src/common/modules/message/message.tpl.html | 19 +
.../modules/navigation/NavigationController.js | 19 +
.../app/src/common/modules/navigation/index.js | 19 +
.../modules/navigation/navigation.tpl.html | 19 +
.../common/modules/release/ReleaseController.js | 19 +
.../ui/app/src/common/modules/release/index.js | 19 +
.../src/common/modules/release/release.tpl.html | 19 +
.../modules/table/asns/TableASNsController.js | 21 +-
.../app/src/common/modules/table/asns/index.js | 19 +
.../modules/table/asns/table.asns.tpl.html | 19 +
.../cacheGroups/TableCacheGroupsController.js | 21 +-
.../common/modules/table/cacheGroups/index.js | 19 +
.../cacheGroups/table.cacheGroups.tpl.html | 19 +
.../modules/table/cdns/TableCDNsController.js | 21 +-
.../app/src/common/modules/table/cdns/index.js | 19 +
.../modules/table/cdns/table.cdns.tpl.html | 19 +
.../TableDeliveryServicesController.js | 21 +-
.../modules/table/deliveryServices/index.js | 19 +
.../table.deliveryServices.tpl.html | 19 +
.../table/divisions/TableDivisionsController.js | 21 +-
.../src/common/modules/table/divisions/index.js | 19 +
.../table/divisions/table.divisions.tpl.html | 19 +
.../table/locations/TableLocationsController.js | 21 +-
.../src/common/modules/table/locations/index.js | 19 +
.../table/locations/table.locations.tpl.html | 19 +
.../parameters/TableParametersController.js | 21 +-
.../common/modules/table/parameters/index.js | 19 +
.../table/parameters/table.parameters.tpl.html | 19 +
.../table/profiles/TableProfilesController.js | 21 +-
.../src/common/modules/table/profiles/index.js | 19 +
.../table/profiles/table.profiles.tpl.html | 19 +
.../table/regions/TableRegionsController.js | 21 +-
.../src/common/modules/table/regions/index.js | 19 +
.../table/regions/table.regions.tpl.html | 19 +
.../table/servers/TableServersController.js | 21 +-
.../src/common/modules/table/servers/index.js | 19 +
.../table/servers/table.servers.tpl.html | 19 +
.../table/statuses/TableStatusesController.js | 21 +-
.../src/common/modules/table/statuses/index.js | 19 +
.../table/statuses/table.statuses.tpl.html | 19 +
.../table/tenants/TableTenantsController.js | 21 +-
.../src/common/modules/table/tenants/index.js | 19 +
.../table/tenants/table.tenants.tpl.html | 19 +
.../modules/table/types/TableTypesController.js | 21 +-
.../app/src/common/modules/table/types/index.js | 19 +
.../modules/table/types/table.types.tpl.html | 19 +
.../modules/table/users/TableUsersController.js | 21 +-
.../app/src/common/modules/table/users/index.js | 19 +
.../modules/table/users/table.users.tpl.html | 19 +
.../service/application/ApplicationService.js | 19 +
.../app/src/common/service/application/index.js | 21 +-
.../app/src/common/service/utils/FormUtils.js | 19 +
.../src/common/service/utils/LocationUtils.js | 19 +
.../app/src/common/service/utils/StringUtils.js | 19 +
.../ui/app/src/common/service/utils/index.js | 21 +-
.../ui/app/src/common/templates/master.tpl.html | 19 +
traffic_ops/experimental/ui/app/src/index.html | 19 +
.../modules/private/admin/AdminController.js | 21 +-
.../src/modules/private/admin/admin.tpl.html | 19 +
.../private/admin/asns/AsnsController.js | 21 +-
.../modules/private/admin/asns/asns.tpl.html | 19 +
.../modules/private/admin/asns/edit/index.js | 19 +
.../app/src/modules/private/admin/asns/index.js | 19 +
.../modules/private/admin/asns/list/index.js | 19 +
.../src/modules/private/admin/asns/new/index.js | 19 +
.../private/admin/cdns/CdnsController.js | 21 +-
.../modules/private/admin/cdns/cdns.tpl.html | 19 +
.../modules/private/admin/cdns/edit/index.js | 19 +
.../app/src/modules/private/admin/cdns/index.js | 19 +
.../modules/private/admin/cdns/list/index.js | 19 +
.../src/modules/private/admin/cdns/new/index.js | 19 +
.../admin/divisions/DivisionsController.js | 21 +-
.../private/admin/divisions/divisions.tpl.html | 19 +
.../private/admin/divisions/edit/index.js | 19 +
.../modules/private/admin/divisions/index.js | 19 +
.../private/admin/divisions/list/index.js | 19 +
.../private/admin/divisions/new/index.js | 19 +
.../ui/app/src/modules/private/admin/index.js | 19 +
.../admin/locations/LocationsController.js | 21 +-
.../private/admin/locations/edit/index.js | 19 +
.../modules/private/admin/locations/index.js | 19 +
.../private/admin/locations/list/index.js | 19 +
.../private/admin/locations/locations.tpl.html | 19 +
.../private/admin/locations/new/index.js | 19 +
.../admin/parameters/ParametersController.js | 21 +-
.../private/admin/parameters/edit/index.js | 19 +
.../modules/private/admin/parameters/index.js | 19 +
.../private/admin/parameters/list/index.js | 19 +
.../private/admin/parameters/new/index.js | 19 +
.../admin/parameters/parameters.tpl.html | 19 +
.../admin/profiles/ProfilesController.js | 21 +-
.../private/admin/profiles/edit/index.js | 19 +
.../src/modules/private/admin/profiles/index.js | 19 +
.../private/admin/profiles/list/index.js | 19 +
.../modules/private/admin/profiles/new/index.js | 19 +
.../private/admin/profiles/profiles.tpl.html | 19 +
.../private/admin/regions/RegionsController.js | 21 +-
.../modules/private/admin/regions/edit/index.js | 19 +
.../src/modules/private/admin/regions/index.js | 19 +
.../modules/private/admin/regions/list/index.js | 19 +
.../modules/private/admin/regions/new/index.js | 19 +
.../private/admin/regions/regions.tpl.html | 19 +
.../admin/statuses/StatusesController.js | 21 +-
.../private/admin/statuses/edit/index.js | 19 +
.../src/modules/private/admin/statuses/index.js | 19 +
.../private/admin/statuses/list/index.js | 19 +
.../modules/private/admin/statuses/new/index.js | 19 +
.../private/admin/statuses/statuses.tpl.html | 19 +
.../private/admin/tenants/TenantsController.js | 21 +-
.../modules/private/admin/tenants/edit/index.js | 19 +
.../src/modules/private/admin/tenants/index.js | 19 +
.../modules/private/admin/tenants/list/index.js | 19 +
.../modules/private/admin/tenants/new/index.js | 19 +
.../private/admin/tenants/tenants.tpl.html | 19 +
.../private/admin/types/TypesController.js | 21 +-
.../modules/private/admin/types/edit/index.js | 19 +
.../src/modules/private/admin/types/index.js | 19 +
.../modules/private/admin/types/list/index.js | 19 +
.../modules/private/admin/types/new/index.js | 19 +
.../modules/private/admin/types/types.tpl.html | 19 +
.../private/admin/users/UsersController.js | 21 +-
.../modules/private/admin/users/edit/index.js | 19 +
.../src/modules/private/admin/users/index.js | 19 +
.../modules/private/admin/users/list/index.js | 19 +
.../modules/private/admin/users/new/index.js | 19 +
.../modules/private/admin/users/users.tpl.html | 19 +
.../private/configure/ConfigureController.js | 21 +-
.../cacheGroups/CacheGroupsController.js | 21 +-
.../configure/cacheGroups/cacheGroups.tpl.html | 19 +
.../private/configure/cacheGroups/edit/index.js | 19 +
.../private/configure/cacheGroups/index.js | 19 +
.../private/configure/cacheGroups/list/index.js | 19 +
.../private/configure/cacheGroups/new/index.js | 19 +
.../private/configure/configure.tpl.html | 19 +
.../DeliveryServicesController.js | 21 +-
.../deliveryServices/deliveryServices.tpl.html | 19 +
.../configure/deliveryServices/edit/index.js | 19 +
.../private/configure/deliveryServices/index.js | 19 +
.../configure/deliveryServices/list/index.js | 19 +
.../configure/deliveryServices/new/index.js | 19 +
.../app/src/modules/private/configure/index.js | 19 +
.../configure/servers/ServersController.js | 21 +-
.../private/configure/servers/edit/index.js | 19 +
.../modules/private/configure/servers/index.js | 19 +
.../private/configure/servers/list/index.js | 19 +
.../private/configure/servers/new/index.js | 19 +
.../private/configure/servers/servers.tpl.html | 19 +
.../ui/app/src/modules/private/index.js | 19 +
.../private/monitor/MonitorController.js | 21 +-
.../monitor/dashboards/DashboardsController.js | 21 +-
.../monitor/dashboards/dashboards.tpl.html | 19 +
.../modules/private/monitor/dashboards/index.js | 19 +
.../dashboards/one/DashboardsOneController.js | 21 +-
.../dashboards/one/dashboards.one.tpl.html | 21 +-
.../private/monitor/dashboards/one/index.js | 19 +
.../three/DashboardsThreeController.js | 21 +-
.../dashboards/three/dashboards.three.tpl.html | 19 +
.../private/monitor/dashboards/three/index.js | 19 +
.../dashboards/two/DashboardsTwoController.js | 21 +-
.../dashboards/two/dashboards.two.tpl.html | 19 +
.../private/monitor/dashboards/two/index.js | 19 +
.../ui/app/src/modules/private/monitor/index.js | 19 +
.../modules/private/monitor/monitor.tpl.html | 19 +
.../ui/app/src/modules/private/private.tpl.html | 19 +
.../src/modules/private/user/UserController.js | 19 +
.../private/user/edit/UserEditController.js | 19 +
.../app/src/modules/private/user/edit/index.js | 19 +
.../ui/app/src/modules/private/user/index.js | 19 +
.../app/src/modules/private/user/user.tpl.html | 19 +
.../ui/app/src/modules/public/index.js | 19 +
.../src/modules/public/login/LoginController.js | 19 +
.../ui/app/src/modules/public/login/index.js | 21 +-
.../app/src/modules/public/login/login.tpl.html | 19 +
.../ui/app/src/modules/public/public.tpl.html | 19 +
.../experimental/ui/app/src/scripts/config.js | 21 +-
.../ui/app/src/scripts/shared-libs.js | 19 +
traffic_ops/experimental/ui/build/run-build.sh | 16 +
traffic_ops/experimental/ui/conf/config.js | 19 +
traffic_ops/experimental/ui/server/server.js | 19 +
traffic_ops/goto/index.html | 19 +
traffic_ops/goto/js/main.js | 19 +
traffic_router/configuration/pom.xml | 20 +
.../core/secure/CertificatesPublisher.java | 20 +
traffic_router/geolocation/pom.xml | 20 +
traffic_router/neustar/pom.xml | 20 +
traffic_router/shared/pom.xml | 22 +-
traffic_stats/traffic_stats_seelog.xml | 20 +
397 files changed, 10956 insertions(+), 133 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/.rat-excludes
----------------------------------------------------------------------
diff --git a/.rat-excludes b/.rat-excludes
new file mode 100644
index 0000000..1d2c80f
--- /dev/null
+++ b/.rat-excludes
@@ -0,0 +1 @@
+./docs/*
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/.rat-excludes~
----------------------------------------------------------------------
diff --git a/.rat-excludes~ b/.rat-excludes~
new file mode 100644
index 0000000..2ec5402
--- /dev/null
+++ b/.rat-excludes~
@@ -0,0 +1 @@
+./docs/*
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/docs/source/_static/theme_overrides.css
----------------------------------------------------------------------
diff --git a/docs/source/_static/theme_overrides.css b/docs/source/_static/theme_overrides.css
index 00a730f..4fed1af 100644
--- a/docs/source/_static/theme_overrides.css
+++ b/docs/source/_static/theme_overrides.css
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
/* override table width restrictions */
.wy-table-responsive table td, .wy-table-responsive table th {
/* !important prevents the common CSS stylesheets from
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/infrastructure/docker/build/run-build.sh
----------------------------------------------------------------------
diff --git a/infrastructure/docker/build/run-build.sh b/infrastructure/docker/build/run-build.sh
old mode 100755
new mode 100644
index fd6b784..58127d8
--- a/infrastructure/docker/build/run-build.sh
+++ b/infrastructure/docker/build/run-build.sh
@@ -1,4 +1,20 @@
#!/usr/bin/env bash
+# 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.
target=$1
[[ -z $target ]] && echo "No target specified"
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/infrastructure/docker/traffic_monitor/run.sh
----------------------------------------------------------------------
diff --git a/infrastructure/docker/traffic_monitor/run.sh b/infrastructure/docker/traffic_monitor/run.sh
old mode 100755
new mode 100644
index d109e44..b6269a9
--- a/infrastructure/docker/traffic_monitor/run.sh
+++ b/infrastructure/docker/traffic_monitor/run.sh
@@ -1,4 +1,20 @@
#!/bin/bash
+# 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.
# Script for running the Dockerfile for Traffic Monitor.
# The Dockerfile sets up a Docker image which can be used for any new container;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/infrastructure/docker/traffic_ops/run.sh
----------------------------------------------------------------------
diff --git a/infrastructure/docker/traffic_ops/run.sh b/infrastructure/docker/traffic_ops/run.sh
old mode 100755
new mode 100644
index 3a44c8c..8672494
--- a/infrastructure/docker/traffic_ops/run.sh
+++ b/infrastructure/docker/traffic_ops/run.sh
@@ -1,4 +1,20 @@
#!/bin/bash
+# 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.
# Script for running the Dockerfile for Traffic Ops.
# The Dockerfile sets up a Docker image which can be used for any new Traffic Ops container;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/infrastructure/docker/traffic_router/run.sh
----------------------------------------------------------------------
diff --git a/infrastructure/docker/traffic_router/run.sh b/infrastructure/docker/traffic_router/run.sh
old mode 100755
new mode 100644
index fcb15fe..9970ebc
--- a/infrastructure/docker/traffic_router/run.sh
+++ b/infrastructure/docker/traffic_router/run.sh
@@ -1,4 +1,20 @@
#!/bin/bash
+# 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.
# Script for running the Dockerfile for Traffic Router.
# The Dockerfile sets up a Docker image which can be used for any new container;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/infrastructure/docker/traffic_server_edge/run.sh
----------------------------------------------------------------------
diff --git a/infrastructure/docker/traffic_server_edge/run.sh b/infrastructure/docker/traffic_server_edge/run.sh
old mode 100755
new mode 100644
index 98e45f5..d695973
--- a/infrastructure/docker/traffic_server_edge/run.sh
+++ b/infrastructure/docker/traffic_server_edge/run.sh
@@ -1,4 +1,20 @@
#!/bin/bash
+# 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.
# Script for running the Dockerfile for Traffic Server Edge caches.
# The Dockerfile sets up a Docker image which can be used for any new container;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/infrastructure/docker/traffic_server_mid/run.sh
----------------------------------------------------------------------
diff --git a/infrastructure/docker/traffic_server_mid/run.sh b/infrastructure/docker/traffic_server_mid/run.sh
old mode 100755
new mode 100644
index a6617b2..f4f8612
--- a/infrastructure/docker/traffic_server_mid/run.sh
+++ b/infrastructure/docker/traffic_server_mid/run.sh
@@ -1,4 +1,20 @@
#!/bin/bash
+# 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.
# Script for running the Dockerfile for Traffic Server Mid caches.
# The Dockerfile sets up a Docker image which can be used for any new container;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/infrastructure/docker/traffic_stats/run.sh
----------------------------------------------------------------------
diff --git a/infrastructure/docker/traffic_stats/run.sh b/infrastructure/docker/traffic_stats/run.sh
old mode 100755
new mode 100644
index 4ca54e5..7f91b64
--- a/infrastructure/docker/traffic_stats/run.sh
+++ b/infrastructure/docker/traffic_stats/run.sh
@@ -1,4 +1,20 @@
#!/bin/bash
+# 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.
# Script for running the Dockerfile for Traffic Stats.
# The Dockerfile sets up a Docker image which can be used for any new container;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/infrastructure/docker/traffic_vault/run.sh
----------------------------------------------------------------------
diff --git a/infrastructure/docker/traffic_vault/run.sh b/infrastructure/docker/traffic_vault/run.sh
old mode 100755
new mode 100644
index 023169a..a0c7485
--- a/infrastructure/docker/traffic_vault/run.sh
+++ b/infrastructure/docker/traffic_vault/run.sh
@@ -1,4 +1,20 @@
#!/bin/bash
+# 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.
# Script for running the Dockerfile for Traffic Vault.
# The Dockerfile sets up a Docker image which can be used for any new container;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/misc/traffic-control-cdn/css/home.css
----------------------------------------------------------------------
diff --git a/misc/traffic-control-cdn/css/home.css b/misc/traffic-control-cdn/css/home.css
index 42d3b52..5b61953 100644
--- a/misc/traffic-control-cdn/css/home.css
+++ b/misc/traffic-control-cdn/css/home.css
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
/*!
* Home Screen CSS
*
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/misc/traffic-control-cdn/downloads/index.html
----------------------------------------------------------------------
diff --git a/misc/traffic-control-cdn/downloads/index.html b/misc/traffic-control-cdn/downloads/index.html
index 32df4c9..554d9a1 100644
--- a/misc/traffic-control-cdn/downloads/index.html
+++ b/misc/traffic-control-cdn/downloads/index.html
@@ -1,3 +1,22 @@
+<!--
+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.
+-->
+
<!DOCTYPE html>
<html lang="en">
<head>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/misc/traffic-control-cdn/index.html
----------------------------------------------------------------------
diff --git a/misc/traffic-control-cdn/index.html b/misc/traffic-control-cdn/index.html
index bc9aa7f..580f81e 100644
--- a/misc/traffic-control-cdn/index.html
+++ b/misc/traffic-control-cdn/index.html
@@ -1,3 +1,22 @@
+<!--
+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.
+-->
+
<!DOCTYPE html>
<html lang="en">
<head>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/misc/traffic-control-cdn/traffic_monitor/index.html
----------------------------------------------------------------------
diff --git a/misc/traffic-control-cdn/traffic_monitor/index.html b/misc/traffic-control-cdn/traffic_monitor/index.html
index c32854b..04d5dae 100644
--- a/misc/traffic-control-cdn/traffic_monitor/index.html
+++ b/misc/traffic-control-cdn/traffic_monitor/index.html
@@ -1,3 +1,22 @@
+<!--
+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.
+-->
+
<!DOCTYPE html>
<html lang="en">
<head>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/misc/traffic-control-cdn/traffic_ops/index.html
----------------------------------------------------------------------
diff --git a/misc/traffic-control-cdn/traffic_ops/index.html b/misc/traffic-control-cdn/traffic_ops/index.html
index bce51b1..f3abbeb 100644
--- a/misc/traffic-control-cdn/traffic_ops/index.html
+++ b/misc/traffic-control-cdn/traffic_ops/index.html
@@ -1,3 +1,22 @@
+<!--
+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.
+-->
+
<!DOCTYPE html>
<html lang="en">
<head>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/misc/traffic-control-cdn/traffic_portal/index.html
----------------------------------------------------------------------
diff --git a/misc/traffic-control-cdn/traffic_portal/index.html b/misc/traffic-control-cdn/traffic_portal/index.html
index 30bb8eb..448a5c8 100644
--- a/misc/traffic-control-cdn/traffic_portal/index.html
+++ b/misc/traffic-control-cdn/traffic_portal/index.html
@@ -1,3 +1,22 @@
+<!--
+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.
+-->
+
<!DOCTYPE html>
<html lang="en">
<head>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/misc/traffic-control-cdn/traffic_router/index.html
----------------------------------------------------------------------
diff --git a/misc/traffic-control-cdn/traffic_router/index.html b/misc/traffic-control-cdn/traffic_router/index.html
index 8c91848..53eb1cf 100644
--- a/misc/traffic-control-cdn/traffic_router/index.html
+++ b/misc/traffic-control-cdn/traffic_router/index.html
@@ -1,3 +1,22 @@
+<!--
+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.
+-->
+
<!DOCTYPE html>
<html lang="en">
<head>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/misc/traffic-control-cdn/traffic_stats/index.html
----------------------------------------------------------------------
diff --git a/misc/traffic-control-cdn/traffic_stats/index.html b/misc/traffic-control-cdn/traffic_stats/index.html
index e95e7c8..7f8cf42 100644
--- a/misc/traffic-control-cdn/traffic_stats/index.html
+++ b/misc/traffic-control-cdn/traffic_stats/index.html
@@ -1,3 +1,22 @@
+<!--
+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.
+-->
+
<!DOCTYPE html>
<html lang="en">
<head>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/test/router/css/loadtest.css
----------------------------------------------------------------------
diff --git a/test/router/css/loadtest.css b/test/router/css/loadtest.css
index b0b6acb..2a962c1 100644
--- a/test/router/css/loadtest.css
+++ b/test/router/css/loadtest.css
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
.grid-table-header {
font-weight: bold;
}
@@ -24,4 +43,4 @@ h4 .btn {
.form-inline button {
margin-left: 5px;
-}
\ No newline at end of file
+}
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/test/router/index.html
----------------------------------------------------------------------
diff --git a/test/router/index.html b/test/router/index.html
index f94f773..e4dbdee 100644
--- a/test/router/index.html
+++ b/test/router/index.html
@@ -1,3 +1,22 @@
+<!--
+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.
+-->
+
<!DOCTYPE html>
<html lang="en">
<head>
@@ -28,4 +47,4 @@
<div id="loadtest"></div>
</div>
</body>
-</html>
\ No newline at end of file
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/build/pmd/ruleset.xml
----------------------------------------------------------------------
diff --git a/traffic_monitor/build/pmd/ruleset.xml b/traffic_monitor/build/pmd/ruleset.xml
index 715a042..6f5ad95 100644
--- a/traffic_monitor/build/pmd/ruleset.xml
+++ b/traffic_monitor/build/pmd/ruleset.xml
@@ -1,4 +1,24 @@
<?xml version="1.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.
+-->
+
<ruleset name="Overpass PMD Ruleset" xmlns="http://pmd.sf.net/ruleset/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/etc/ats_sim.js
----------------------------------------------------------------------
diff --git a/traffic_monitor/etc/ats_sim.js b/traffic_monitor/etc/ats_sim.js
index c4c176f..e2535c3 100644
--- a/traffic_monitor/etc/ats_sim.js
+++ b/traffic_monitor/etc/ats_sim.js
@@ -1,3 +1,22 @@
+/*
+ * 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 myip = "127.0.0.1";
var myport = 80;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/experimental/traffic_monitor/build.sh
----------------------------------------------------------------------
diff --git a/traffic_monitor/experimental/traffic_monitor/build.sh b/traffic_monitor/experimental/traffic_monitor/build.sh
old mode 100755
new mode 100644
index 8cc5932..e8b09e2
--- a/traffic_monitor/experimental/traffic_monitor/build.sh
+++ b/traffic_monitor/experimental/traffic_monitor/build.sh
@@ -1 +1,17 @@
+# 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.
go build -ldflags "-X main.GitRevision=`git rev-parse HEAD` -X main.BuildTimestamp=`date +'%Y-%M-%dT%H:%M:%S'`"
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/experimental/traffic_monitor/index.html
----------------------------------------------------------------------
diff --git a/traffic_monitor/experimental/traffic_monitor/index.html b/traffic_monitor/experimental/traffic_monitor/index.html
index a5c43aa..43d1ab4 100644
--- a/traffic_monitor/experimental/traffic_monitor/index.html
+++ b/traffic_monitor/experimental/traffic_monitor/index.html
@@ -1,3 +1,22 @@
+<!--
+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.
+-->
+
<!DOCTYPE html>
<html>
<head>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/pom.xml
----------------------------------------------------------------------
diff --git a/traffic_monitor/pom.xml b/traffic_monitor/pom.xml
index 477a1dc..5b573c2 100644
--- a/traffic_monitor/pom.xml
+++ b/traffic_monitor/pom.xml
@@ -1,4 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+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.
+-->
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/conf/traffic_monitor_config.js
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/conf/traffic_monitor_config.js b/traffic_monitor/src/main/conf/traffic_monitor_config.js
index 0fa20af..b050aca 100644
--- a/traffic_monitor/src/main/conf/traffic_monitor_config.js
+++ b/traffic_monitor/src/main/conf/traffic_monitor_config.js
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
{
"traffic_monitor_config": {
"health.polling.interval": "5000",
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/Index.html
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/Index.html b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/Index.html
index faf6527..95a85c9 100644
--- a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/Index.html
+++ b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/Index.html
@@ -1,3 +1,22 @@
+<!--
+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.
+-->
+
<html>
<head>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/data/StatisticsLog.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/data/StatisticsLog.java b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/data/StatisticsLog.java
index 6bf3995..5645532 100644
--- a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/data/StatisticsLog.java
+++ b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/data/StatisticsLog.java
@@ -1,5 +1,25 @@
package com.comcast.cdn.traffic_control.traffic_monitor.data;
+/*
+ * 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.
+ */
+
+
import org.apache.log4j.Logger;
import java.util.Arrays;
@@ -259,4 +279,4 @@ public class StatisticsLog {
}
}
-}
\ No newline at end of file
+}
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/CacheStateRegistry.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/CacheStateRegistry.java b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/CacheStateRegistry.java
index d12dc19..dd63356 100644
--- a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/CacheStateRegistry.java
+++ b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/CacheStateRegistry.java
@@ -1,5 +1,25 @@
package com.comcast.cdn.traffic_control.traffic_monitor.health;
+/*
+ * 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.config.Cache;
import static com.comcast.cdn.traffic_control.traffic_monitor.health.HealthDeterminer.AdminStatus.ADMIN_DOWN;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/CacheStateUpdater.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/CacheStateUpdater.java b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/CacheStateUpdater.java
index db1fa8a..5ed444e 100644
--- a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/CacheStateUpdater.java
+++ b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/CacheStateUpdater.java
@@ -1,5 +1,25 @@
package com.comcast.cdn.traffic_control.traffic_monitor.health;
+/*
+ * 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.wicket.models.CacheDataModel;
import com.ning.http.client.AsyncCompletionHandler;
import com.ning.http.client.Response;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/CacheStatisticsClient.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/CacheStatisticsClient.java b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/CacheStatisticsClient.java
index 703413c..206226d 100644
--- a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/CacheStatisticsClient.java
+++ b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/CacheStatisticsClient.java
@@ -1,5 +1,25 @@
package com.comcast.cdn.traffic_control.traffic_monitor.health;
+/*
+ * 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.config.Cache;
import com.ning.http.client.AsyncHttpClient;
import com.ning.http.client.AsyncHttpClientConfig;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/DeliveryServiceStateRegistry.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/DeliveryServiceStateRegistry.java b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/DeliveryServiceStateRegistry.java
index 9445b17..c73906c 100644
--- a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/DeliveryServiceStateRegistry.java
+++ b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/DeliveryServiceStateRegistry.java
@@ -1,5 +1,25 @@
package com.comcast.cdn.traffic_control.traffic_monitor.health;
+/*
+ * 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.config.Cache;
import com.comcast.cdn.traffic_control.traffic_monitor.data.DataPoint;
import org.apache.log4j.Logger;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/DsStati.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/DsStati.java b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/DsStati.java
index dea0dfd..016ab5e 100644
--- a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/DsStati.java
+++ b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/DsStati.java
@@ -1,5 +1,25 @@
package com.comcast.cdn.traffic_control.traffic_monitor.health;
+/*
+ * 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.
+ */
+
+
import org.apache.log4j.Logger;
import java.text.DecimalFormat;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/EmbeddedStati.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/EmbeddedStati.java b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/EmbeddedStati.java
index e9e98aa..22ad81d 100644
--- a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/EmbeddedStati.java
+++ b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/EmbeddedStati.java
@@ -1,5 +1,25 @@
package com.comcast.cdn.traffic_control.traffic_monitor.health;
+/*
+ * 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.
+ */
+
+
import java.util.HashMap;
import java.util.Map;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/StateRegistry.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/StateRegistry.java b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/StateRegistry.java
index 9e07aff..9206bdd 100644
--- a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/StateRegistry.java
+++ b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/StateRegistry.java
@@ -1,5 +1,25 @@
package com.comcast.cdn.traffic_control.traffic_monitor.health;
+/*
+ * 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.
+ */
+
+
import java.util.Collection;
import java.util.HashSet;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/components/CacheDetailsPage.html
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/components/CacheDetailsPage.html b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/components/CacheDetailsPage.html
index 1617879..11d10ff 100644
--- a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/components/CacheDetailsPage.html
+++ b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/components/CacheDetailsPage.html
@@ -1,3 +1,22 @@
+<!--
+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.
+-->
+
<html>
<head>
<title wicket:id="hostname">>Traffic Monitor - Details Page</title>
@@ -18,4 +37,4 @@
</div>
</div>
</body>
-</html>
\ No newline at end of file
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/components/CacheListPanel.html
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/components/CacheListPanel.html b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/components/CacheListPanel.html
index 24405c6..69f152a 100644
--- a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/components/CacheListPanel.html
+++ b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/components/CacheListPanel.html
@@ -1,3 +1,22 @@
+<!--
+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.
+-->
+
<html>
<body>
<wicket:head>
@@ -30,4 +49,4 @@
</table>
</wicket:panel>
</body>
-</html>
\ No newline at end of file
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/components/DsDetailsPage.html
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/components/DsDetailsPage.html b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/components/DsDetailsPage.html
index dd7c7bb..33d9428 100644
--- a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/components/DsDetailsPage.html
+++ b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/components/DsDetailsPage.html
@@ -1,3 +1,22 @@
+<!--
+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.
+-->
+
<html>
<head>
<title wicket:id="id">>Traffic Monitor - Details Page</title>
@@ -18,4 +37,4 @@
</div>
</div>
</body>
-</html>
\ No newline at end of file
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/components/DsListPanel.html
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/components/DsListPanel.html b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/components/DsListPanel.html
index 66fe395..2320f76 100644
--- a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/components/DsListPanel.html
+++ b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/components/DsListPanel.html
@@ -1,3 +1,22 @@
+<!--
+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.
+-->
+
<html>
<body>
<wicket:head>
@@ -38,4 +57,4 @@
</table>
</wicket:panel>
</body>
-</html>
\ No newline at end of file
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/components/EventLogPanel.html
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/components/EventLogPanel.html b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/components/EventLogPanel.html
index 11e88e1..7980481 100644
--- a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/components/EventLogPanel.html
+++ b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/components/EventLogPanel.html
@@ -1,3 +1,22 @@
+<!--
+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.
+-->
+
<html>
<body>
<wicket:head>
@@ -37,4 +56,4 @@
</table>
</wicket:panel>
</body>
-</html>
\ No newline at end of file
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/components/StateDetailsPage.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/components/StateDetailsPage.java b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/components/StateDetailsPage.java
index f16de4a..24bb233 100644
--- a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/components/StateDetailsPage.java
+++ b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/components/StateDetailsPage.java
@@ -1,5 +1,25 @@
package com.comcast.cdn.traffic_control.traffic_monitor.wicket.components;
+/*
+ * 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.StatisticModel;
import com.comcast.cdn.traffic_control.traffic_monitor.MonitorPage;
import com.comcast.cdn.traffic_control.traffic_monitor.health.StateRegistry;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/models/CacheDataModel.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/models/CacheDataModel.java b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/models/CacheDataModel.java
index 345ac92..6ad1170 100644
--- a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/models/CacheDataModel.java
+++ b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/models/CacheDataModel.java
@@ -1,5 +1,25 @@
package com.comcast.cdn.traffic_control.traffic_monitor.wicket.models;
+/*
+ * 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.
+ */
+
+
import org.apache.wicket.model.Model;
public class CacheDataModel extends Model<String> {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/models/CacheStateModel.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/models/CacheStateModel.java b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/models/CacheStateModel.java
index 8cb34e5..20287f2 100644
--- a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/models/CacheStateModel.java
+++ b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/models/CacheStateModel.java
@@ -1,5 +1,25 @@
package com.comcast.cdn.traffic_control.traffic_monitor.wicket.models;
+/*
+ * 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.health.CacheStateRegistry;
public class CacheStateModel extends StateModel {
[09/15] incubator-trafficcontrol git commit: Apache RAT tool
automatically added Apache License Headers
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/server/FormServerController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/server/FormServerController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/server/FormServerController.js
index c0ae6d0..7af68fa 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/server/FormServerController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/server/FormServerController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormServerController = function(server, $scope, formUtils, stringUtils, locationUtils, cacheGroupService, cdnService, locationService, profileService, statusService, typeService) {
var getLocations = function() {
@@ -101,4 +120,4 @@ var FormServerController = function(server, $scope, formUtils, stringUtils, loca
};
FormServerController.$inject = ['server', '$scope', 'formUtils', 'stringUtils', 'locationUtils', 'cacheGroupService', 'cdnService', 'locationService', 'profileService', 'statusService', 'typeService'];
-module.exports = FormServerController;
\ No newline at end of file
+module.exports = FormServerController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/server/edit/FormEditServerController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/server/edit/FormEditServerController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/server/edit/FormEditServerController.js
index 8c1280c..b901651 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/server/edit/FormEditServerController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/server/edit/FormEditServerController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormEditServerController = function(server, $scope, $controller, $uibModal, $anchorScroll, locationUtils, serverService) {
// extends the FormServerController to inherit common methods
@@ -50,4 +69,4 @@ var FormEditServerController = function(server, $scope, $controller, $uibModal,
};
FormEditServerController.$inject = ['server', '$scope', '$controller', '$uibModal', '$anchorScroll', 'locationUtils', 'serverService'];
-module.exports = FormEditServerController;
\ No newline at end of file
+module.exports = FormEditServerController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/server/edit/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/server/edit/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/server/edit/index.js
index 0d6ea89..556660b 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/server/edit/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/server/edit/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.server.edit', [])
.controller('FormEditServerController', require('./FormEditServerController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/server/form.server.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/server/form.server.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/form/server/form.server.tpl.html
index 790ace8..c956f8d 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/server/form.server.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/server/form.server.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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">
@@ -87,4 +106,4 @@
</div>
</form>
</div>
-</div>
\ No newline at end of file
+</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/server/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/server/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/server/index.js
index 05b59a5..44d35cb 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/server/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/server/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.server', [])
.controller('FormServerController', require('./FormServerController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/server/new/FormNewServerController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/server/new/FormNewServerController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/server/new/FormNewServerController.js
index 65c9d95..cbc72d5 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/server/new/FormNewServerController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/server/new/FormNewServerController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormNewServerController = function(server, $scope, $controller, serverService) {
// extends the FormServerController to inherit common methods
@@ -17,4 +36,4 @@ var FormNewServerController = function(server, $scope, $controller, serverServic
};
FormNewServerController.$inject = ['server', '$scope', '$controller', 'serverService'];
-module.exports = FormNewServerController;
\ No newline at end of file
+module.exports = FormNewServerController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/server/new/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/server/new/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/server/new/index.js
index d7908f2..2773b11 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/server/new/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/server/new/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.server.new', [])
.controller('FormNewServerController', require('./FormNewServerController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/status/FormStatusController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/status/FormStatusController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/status/FormStatusController.js
index 57f1680..88697d9 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/status/FormStatusController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/status/FormStatusController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormStatusController = function(status, $scope, formUtils, stringUtils, locationUtils) {
$scope.status = status;
@@ -17,4 +36,4 @@ var FormStatusController = function(status, $scope, formUtils, stringUtils, loca
};
FormStatusController.$inject = ['status', '$scope', 'formUtils', 'stringUtils', 'locationUtils'];
-module.exports = FormStatusController;
\ No newline at end of file
+module.exports = FormStatusController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/status/edit/FormEditStatusController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/status/edit/FormEditStatusController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/status/edit/FormEditStatusController.js
index 8fb7ea9..6aef2a5 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/status/edit/FormEditStatusController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/status/edit/FormEditStatusController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormEditStatusController = function(status, $scope, $controller, $uibModal, $anchorScroll, locationUtils, statusService) {
// extends the FormStatusController to inherit common methods
@@ -50,4 +69,4 @@ var FormEditStatusController = function(status, $scope, $controller, $uibModal,
};
FormEditStatusController.$inject = ['status', '$scope', '$controller', '$uibModal', '$anchorScroll', 'locationUtils', 'statusService'];
-module.exports = FormEditStatusController;
\ No newline at end of file
+module.exports = FormEditStatusController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/status/edit/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/status/edit/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/status/edit/index.js
index 185f103..39e1fc8 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/status/edit/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/status/edit/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.status.edit', [])
.controller('FormEditStatusController', require('./FormEditStatusController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/status/form.status.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/status/form.status.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/form/status/form.status.tpl.html
index 565de1b..8d4ab9f 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/status/form.status.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/status/form.status.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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">
@@ -30,4 +49,4 @@
</div>
</form>
</div>
-</div>
\ No newline at end of file
+</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/status/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/status/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/status/index.js
index 86e83b4..06ca1c5 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/status/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/status/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.status', [])
.controller('FormStatusController', require('./FormStatusController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/status/new/FormNewStatusController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/status/new/FormNewStatusController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/status/new/FormNewStatusController.js
index 1072854..039cf09 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/status/new/FormNewStatusController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/status/new/FormNewStatusController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormNewStatusController = function(status, $scope, $controller, statusService) {
// extends the FormStatusController to inherit common methods
@@ -17,4 +36,4 @@ var FormNewStatusController = function(status, $scope, $controller, statusServic
};
FormNewStatusController.$inject = ['status', '$scope', '$controller', 'statusService'];
-module.exports = FormNewStatusController;
\ No newline at end of file
+module.exports = FormNewStatusController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/status/new/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/status/new/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/status/new/index.js
index 53a3d77..81d77f5 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/status/new/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/status/new/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.status.new', [])
.controller('FormNewStatusController', require('./FormNewStatusController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/FormTenantController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/FormTenantController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/FormTenantController.js
index 0e01f8c..0fc3096 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/FormTenantController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/FormTenantController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormTenantController = function(tenant, $scope, formUtils, stringUtils, locationUtils) {
$scope.tenant = angular.copy(tenant);
@@ -17,4 +36,4 @@ var FormTenantController = function(tenant, $scope, formUtils, stringUtils, loca
};
FormTenantController.$inject = ['tenant', '$scope', 'formUtils', 'stringUtils', 'locationUtils'];
-module.exports = FormTenantController;
\ No newline at end of file
+module.exports = FormTenantController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/edit/FormEditTenantController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/edit/FormEditTenantController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/edit/FormEditTenantController.js
index a0a3d14..1c1f2a4 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/edit/FormEditTenantController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/edit/FormEditTenantController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormEditTenantController = function(tenant, $scope, $controller, $uibModal, $anchorScroll, locationUtils, tenantService) {
// extends the FormTenantController to inherit common methods
@@ -50,4 +69,4 @@ var FormEditTenantController = function(tenant, $scope, $controller, $uibModal,
};
FormEditTenantController.$inject = ['tenant', '$scope', '$controller', '$uibModal', '$anchorScroll', 'locationUtils', 'tenantService'];
-module.exports = FormEditTenantController;
\ No newline at end of file
+module.exports = FormEditTenantController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/edit/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/edit/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/edit/index.js
index 0ff0723..950f852 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/edit/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/edit/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.tenant.edit', [])
.controller('FormEditTenantController', require('./FormEditTenantController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/form.tenant.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/form.tenant.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/form.tenant.tpl.html
index a591a81..70b9890 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/form.tenant.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/form.tenant.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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">
@@ -24,4 +43,4 @@
</div>
</form>
</div>
-</div>
\ No newline at end of file
+</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/index.js
index b85c01a..320f109 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.tenant', [])
.controller('FormTenantController', require('./FormTenantController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/new/FormNewTenantController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/new/FormNewTenantController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/new/FormNewTenantController.js
index 96141dc..f07f679 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/new/FormNewTenantController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/new/FormNewTenantController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormNewTenantController = function(tenant, $scope, $controller, locationUtils, tenantService) {
// extends the FormTenantController to inherit common methods
@@ -20,4 +39,4 @@ var FormNewTenantController = function(tenant, $scope, $controller, locationUtil
};
FormNewTenantController.$inject = ['tenant', '$scope', '$controller', 'locationUtils', 'tenantService'];
-module.exports = FormNewTenantController;
\ No newline at end of file
+module.exports = FormNewTenantController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/new/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/new/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/new/index.js
index 75d2028..4d2a00e 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/new/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/tenant/new/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.tenant.new', [])
.controller('FormNewTenantController', require('./FormNewTenantController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/type/FormTypeController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/type/FormTypeController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/type/FormTypeController.js
index 9e1a070..0bf7aeb 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/type/FormTypeController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/type/FormTypeController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormTypeController = function(type, $scope, formUtils, stringUtils, locationUtils) {
$scope.type = type;
@@ -18,4 +37,4 @@ var FormTypeController = function(type, $scope, formUtils, stringUtils, location
};
FormTypeController.$inject = ['type', '$scope', 'formUtils', 'stringUtils', 'locationUtils'];
-module.exports = FormTypeController;
\ No newline at end of file
+module.exports = FormTypeController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/type/edit/FormEditTypeController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/type/edit/FormEditTypeController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/type/edit/FormEditTypeController.js
index 88125aa..0142af3 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/type/edit/FormEditTypeController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/type/edit/FormEditTypeController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormEditTypeController = function(type, $scope, $controller, $uibModal, $anchorScroll, locationUtils, typeService) {
// extends the FormTypeController to inherit common methods
@@ -50,4 +69,4 @@ var FormEditTypeController = function(type, $scope, $controller, $uibModal, $anc
};
FormEditTypeController.$inject = ['type', '$scope', '$controller', '$uibModal', '$anchorScroll', 'locationUtils', 'typeService'];
-module.exports = FormEditTypeController;
\ No newline at end of file
+module.exports = FormEditTypeController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/type/edit/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/type/edit/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/type/edit/index.js
index 1283d5c..c026d01 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/type/edit/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/type/edit/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.type.edit', [])
.controller('FormEditTypeController', require('./FormEditTypeController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/type/form.type.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/type/form.type.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/form/type/form.type.tpl.html
index 9cab767..d6baec9 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/type/form.type.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/type/form.type.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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">
@@ -30,4 +49,4 @@
</div>
</form>
</div>
-</div>
\ No newline at end of file
+</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/type/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/type/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/type/index.js
index 860ccc2..b553151 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/type/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/type/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.type', [])
.controller('FormTypeController', require('./FormTypeController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/type/new/FormNewTypeController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/type/new/FormNewTypeController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/type/new/FormNewTypeController.js
index 109f8f7..d141949 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/type/new/FormNewTypeController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/type/new/FormNewTypeController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormNewTypeController = function(type, $scope, $controller, typeService) {
// extends the FormTypeController to inherit common methods
@@ -17,4 +36,4 @@ var FormNewTypeController = function(type, $scope, $controller, typeService) {
};
FormNewTypeController.$inject = ['type', '$scope', '$controller', 'typeService'];
-module.exports = FormNewTypeController;
\ No newline at end of file
+module.exports = FormNewTypeController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/type/new/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/type/new/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/type/new/index.js
index a6c3a9b..6a2894a 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/type/new/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/type/new/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.type.new', [])
.controller('FormNewTypeController', require('./FormNewTypeController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/user/FormUserController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/user/FormUserController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/user/FormUserController.js
index fc0e71d..29e8b59 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/user/FormUserController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/user/FormUserController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormUserController = function(user, $scope, formUtils, stringUtils, locationUtils, roleService) {
var getRoles = function() {
@@ -25,4 +44,4 @@ var FormUserController = function(user, $scope, formUtils, stringUtils, location
};
FormUserController.$inject = ['user', '$scope', 'formUtils', 'stringUtils', 'locationUtils', 'roleService'];
-module.exports = FormUserController;
\ No newline at end of file
+module.exports = FormUserController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/user/edit/FormEditUserController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/user/edit/FormEditUserController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/user/edit/FormEditUserController.js
index cb61454..dd0cd17 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/user/edit/FormEditUserController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/user/edit/FormEditUserController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormEditUserController = function(user, $scope, $controller, $uibModal, $anchorScroll, locationUtils, userService) {
// extends the FormUserController to inherit common methods
@@ -54,4 +73,4 @@ var FormEditUserController = function(user, $scope, $controller, $uibModal, $anc
};
FormEditUserController.$inject = ['user', '$scope', '$controller', '$uibModal', '$anchorScroll', 'locationUtils', 'userService'];
-module.exports = FormEditUserController;
\ No newline at end of file
+module.exports = FormEditUserController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/user/edit/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/user/edit/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/user/edit/index.js
index 8d71f48..edd9768 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/user/edit/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/user/edit/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.user.edit', [])
.controller('FormEditUserController', require('./FormEditUserController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/user/form.user.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/user/form.user.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/form/user/form.user.tpl.html
index 819a2b4..7500e61 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/user/form.user.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/user/form.user.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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">
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/user/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/user/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/user/index.js
index 9348f23..b0ec9d0 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/user/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/user/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.user', [])
.controller('FormUserController', require('./FormUserController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/user/new/FormNewUserController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/user/new/FormNewUserController.js b/traffic_ops/experimental/ui/app/src/common/modules/form/user/new/FormNewUserController.js
index 9d6ea48..ab1b47b 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/user/new/FormNewUserController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/user/new/FormNewUserController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 FormNewUserController = function(user, $scope, $controller, userService) {
// extends the FormUserController to inherit common methods
@@ -17,4 +36,4 @@ var FormNewUserController = function(user, $scope, $controller, userService) {
};
FormNewUserController.$inject = ['user', '$scope', '$controller', 'userService'];
-module.exports = FormNewUserController;
\ No newline at end of file
+module.exports = FormNewUserController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/form/user/new/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/user/new/index.js b/traffic_ops/experimental/ui/app/src/common/modules/form/user/new/index.js
index cce7a0d..1fe6ef0 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/form/user/new/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/form/user/new/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.form.user.new', [])
.controller('FormNewUserController', require('./FormNewUserController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/header/HeaderController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/header/HeaderController.js b/traffic_ops/experimental/ui/app/src/common/modules/header/HeaderController.js
old mode 100755
new mode 100644
index 0f5e056..498ee9d
--- a/traffic_ops/experimental/ui/app/src/common/modules/header/HeaderController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/header/HeaderController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 HeaderController = function($rootScope, $scope, $log, $state, $anchorScroll, authService, userModel) {
$scope.isCollapsed = true;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/header/header.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/header/header.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/header/header.tpl.html
old mode 100755
new mode 100644
index 87d5825..feb5ff7
--- a/traffic_ops/experimental/ui/app/src/common/modules/header/header.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/header/header.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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="nav_menu">
<nav role="navigation">
<div class="nav toggle">
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/header/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/header/index.js b/traffic_ops/experimental/ui/app/src/common/modules/header/index.js
old mode 100755
new mode 100644
index b0dd2f3..5bc6dbe
--- a/traffic_ops/experimental/ui/app/src/common/modules/header/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/header/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.header', [])
- .controller('HeaderController', require('./HeaderController'));
\ No newline at end of file
+ .controller('HeaderController', require('./HeaderController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/message/MessageController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/message/MessageController.js b/traffic_ops/experimental/ui/app/src/common/modules/message/MessageController.js
index dce8c17..fde0f6b 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/message/MessageController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/message/MessageController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 MessageController = function($scope, messageModel) {
$scope.messageData = messageModel;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/message/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/message/index.js b/traffic_ops/experimental/ui/app/src/common/modules/message/index.js
index c696800..2b9d1ec 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/message/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/message/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.message', [])
.controller('MessageController', require('./MessageController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/message/message.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/message/message.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/message/message.tpl.html
index 05e1609..b99b6cb 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/message/message.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/message/message.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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 id="messageContainer">
<div ng-show="messageData.messages.loaded">
<div class="alert alert-dismissable alert-{{(message.level === 'error') ? 'danger' : message.level}}" ng-repeat="message in messageData.messages.content">
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/navigation/NavigationController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/navigation/NavigationController.js b/traffic_ops/experimental/ui/app/src/common/modules/navigation/NavigationController.js
index 6d5deed..c97ac1f 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/navigation/NavigationController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/navigation/NavigationController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 NavigationController = function($scope, $log, $state, $location, $timeout, $uibModal, authService, trafficOpsService, userModel) {
$scope.userLoaded = userModel.loaded;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/navigation/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/navigation/index.js b/traffic_ops/experimental/ui/app/src/common/modules/navigation/index.js
index ae6d0e2..e39967e 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/navigation/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/navigation/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.navigation', [])
.controller('NavigationController', require('./NavigationController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/navigation/navigation.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/navigation/navigation.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/navigation/navigation.tpl.html
index 5a7c1b3..b3e39f6 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/navigation/navigation.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/navigation/navigation.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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="main-nav scroll-view">
<div class="navbar nav_title">
<span class="site_title">Traffic Ops</span>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/release/ReleaseController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/release/ReleaseController.js b/traffic_ops/experimental/ui/app/src/common/modules/release/ReleaseController.js
index 9e22ddb..36cc195 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/release/ReleaseController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/release/ReleaseController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 ReleaseController = function(params, $scope, $uibModalInstance) {
$scope.params = params;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/release/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/release/index.js b/traffic_ops/experimental/ui/app/src/common/modules/release/index.js
index 519c408..62902ed 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/release/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/release/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.release', [])
.controller('ReleaseController', require('./ReleaseController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/release/release.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/release/release.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/release/release.tpl.html
index 2d18f00..21a52eb 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/release/release.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/release/release.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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="dismiss()"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
<h4 class="modal-title">Release Information</h4>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/asns/TableASNsController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/asns/TableASNsController.js b/traffic_ops/experimental/ui/app/src/common/modules/table/asns/TableASNsController.js
index f2092bf..38a0e93 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/asns/TableASNsController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/asns/TableASNsController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 TableASNsController = function(asns, $scope, locationUtils) {
$scope.asns = asns;
@@ -20,4 +39,4 @@ var TableASNsController = function(asns, $scope, locationUtils) {
};
TableASNsController.$inject = ['asns', '$scope', 'locationUtils'];
-module.exports = TableASNsController;
\ No newline at end of file
+module.exports = TableASNsController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/asns/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/asns/index.js b/traffic_ops/experimental/ui/app/src/common/modules/table/asns/index.js
index db3b84f..475db0b 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/asns/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/asns/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.table.asns', [])
.controller('TableASNsController', require('./TableASNsController'));
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/asns/table.asns.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/asns/table.asns.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/table/asns/table.asns.tpl.html
index d65c56c..78cbb07 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/asns/table.asns.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/asns/table.asns.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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">
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/cacheGroups/TableCacheGroupsController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/cacheGroups/TableCacheGroupsController.js b/traffic_ops/experimental/ui/app/src/common/modules/table/cacheGroups/TableCacheGroupsController.js
index 92d6d26..6525a04 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/cacheGroups/TableCacheGroupsController.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/cacheGroups/TableCacheGroupsController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 TableCacheGroupsController = function(cacheGroups, $scope, locationUtils) {
$scope.cacheGroups = cacheGroups;
@@ -20,4 +39,4 @@ var TableCacheGroupsController = function(cacheGroups, $scope, locationUtils) {
};
TableCacheGroupsController.$inject = ['cacheGroups', '$scope', 'locationUtils'];
-module.exports = TableCacheGroupsController;
\ No newline at end of file
+module.exports = TableCacheGroupsController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/common/modules/table/cacheGroups/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/table/cacheGroups/index.js b/traffic_ops/experimental/ui/app/src/common/modules/table/cacheGroups/index.js
index 04b84f2..aa84225 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/table/cacheGroups/index.js
+++ b/traffic_ops/experimental/ui/app/src/common/modules/table/cacheGroups/index.js
@@ -1,2 +1,21 @@
+/*
+ * 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('trafficOps.table.cacheGroups', [])
.controller('TableCacheGroupsController', require('./TableCacheGroupsController'));
[13/15] incubator-trafficcontrol git commit: Apache RAT tool
automatically added Apache License Headers
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/models/DsStateModel.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/models/DsStateModel.java b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/models/DsStateModel.java
index e8b5f65..bc5ffde 100644
--- a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/models/DsStateModel.java
+++ b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/models/DsStateModel.java
@@ -1,5 +1,25 @@
package com.comcast.cdn.traffic_control.traffic_monitor.wicket.models;
+/*
+ * 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.health.DeliveryServiceStateRegistry;
public class DsStateModel extends StateModel {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/models/StateModel.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/models/StateModel.java b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/models/StateModel.java
index 3c6ebe7..2096bee 100644
--- a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/models/StateModel.java
+++ b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/models/StateModel.java
@@ -1,5 +1,25 @@
package com.comcast.cdn.traffic_control.traffic_monitor.wicket.models;
+/*
+ * 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.health.AbstractState;
import org.apache.wicket.model.Model;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/resources/log4j.properties b/traffic_monitor/src/main/resources/log4j.properties
index f3cfc8c..0f83890 100644
--- a/traffic_monitor/src/main/resources/log4j.properties
+++ b/traffic_monitor/src/main/resources/log4j.properties
@@ -1,3 +1,20 @@
+# 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.
+
log4j.appender.Stdout=org.apache.log4j.ConsoleAppender
log4j.appender.Stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.Stdout.layout.conversionPattern=%-5p - %-26.26c{1} - %m\n
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/scripts/postremove.sh
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/scripts/postremove.sh b/traffic_monitor/src/main/scripts/postremove.sh
index d522932..713e722 100644
--- a/traffic_monitor/src/main/scripts/postremove.sh
+++ b/traffic_monitor/src/main/scripts/postremove.sh
@@ -1,5 +1,21 @@
#!/usr/bin/env bash
+# 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.
# Get rid of exploded war file directory, but leave everything else untouched because this runs after the install
# steps during an upgrade (http://www.ibm.com/developerworks/library/l-rpm2/)
-rm -rf /opt/traffic_monitor/webapps/ROOT
\ No newline at end of file
+rm -rf /opt/traffic_monitor/webapps/ROOT
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/webapp/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/webapp/WEB-INF/web.xml b/traffic_monitor/src/main/webapp/WEB-INF/web.xml
index dbdb174..79a83f2 100644
--- a/traffic_monitor/src/main/webapp/WEB-INF/web.xml
+++ b/traffic_monitor/src/main/webapp/WEB-INF/web.xml
@@ -1,4 +1,24 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+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.
+-->
+
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/webapp/style.css
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/webapp/style.css b/traffic_monitor/src/main/webapp/style.css
index 978e037..38958ef 100644
--- a/traffic_monitor/src/main/webapp/style.css
+++ b/traffic_monitor/src/main/webapp/style.css
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
@CHARSET "ISO-8859-1";
body {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/webapp/test.html
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/webapp/test.html b/traffic_monitor/src/main/webapp/test.html
index 57975c9..a6d4f9c 100644
--- a/traffic_monitor/src/main/webapp/test.html
+++ b/traffic_monitor/src/main/webapp/test.html
@@ -1,3 +1,22 @@
+<!--
+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.
+-->
+
<html>
<head>
@@ -73,4 +92,4 @@ function worker() {
</div>
</div>
</body>
-</html>
\ No newline at end of file
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/test/java/application/MonitorApplicationTest.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/test/java/application/MonitorApplicationTest.java b/traffic_monitor/src/test/java/application/MonitorApplicationTest.java
index 3b9e551..1dc467f 100644
--- a/traffic_monitor/src/test/java/application/MonitorApplicationTest.java
+++ b/traffic_monitor/src/test/java/application/MonitorApplicationTest.java
@@ -1,5 +1,25 @@
package application;
+/*
+ * 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.MonitorApplication;
import com.comcast.cdn.traffic_control.traffic_monitor.config.ConfigHandler;
import org.junit.Before;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/test/java/config/CacheTest.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/test/java/config/CacheTest.java b/traffic_monitor/src/test/java/config/CacheTest.java
index 8c9ca24..7f1ffc9 100644
--- a/traffic_monitor/src/test/java/config/CacheTest.java
+++ b/traffic_monitor/src/test/java/config/CacheTest.java
@@ -1,5 +1,25 @@
package config;
+/*
+ * 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.config.Cache;
import com.comcast.cdn.traffic_control.traffic_monitor.health.CacheState;
import com.comcast.cdn.traffic_control.traffic_monitor.health.HealthDeterminer;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/test/java/config/ConfigHandlerTest.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/test/java/config/ConfigHandlerTest.java b/traffic_monitor/src/test/java/config/ConfigHandlerTest.java
index c6b7bc5..4b56b3d 100644
--- a/traffic_monitor/src/test/java/config/ConfigHandlerTest.java
+++ b/traffic_monitor/src/test/java/config/ConfigHandlerTest.java
@@ -1,5 +1,25 @@
package config;
+/*
+ * 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.config.ConfigHandler;
import org.apache.commons.io.IOUtils;
import org.junit.Before;
@@ -79,4 +99,4 @@ public class ConfigHandlerTest {
public void itReturnsCorrectPathToDbFile() {
assertThat(configHandler.getDbFile("health-config.json").toString(), equalTo("/opt/traffic_monitor/db/health-config.json"));
}
-}
\ No newline at end of file
+}
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/test/java/config/ConfigTest.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/test/java/config/ConfigTest.java b/traffic_monitor/src/test/java/config/ConfigTest.java
index bc8472a..68e66b2 100644
--- a/traffic_monitor/src/test/java/config/ConfigTest.java
+++ b/traffic_monitor/src/test/java/config/ConfigTest.java
@@ -1,5 +1,25 @@
package config;
+/*
+ * 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.config.Config;
import org.apache.wicket.ajax.json.JSONException;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/test/java/config/MonitorConfigTest.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/test/java/config/MonitorConfigTest.java b/traffic_monitor/src/test/java/config/MonitorConfigTest.java
index eab5540..0149862 100644
--- a/traffic_monitor/src/test/java/config/MonitorConfigTest.java
+++ b/traffic_monitor/src/test/java/config/MonitorConfigTest.java
@@ -1,5 +1,25 @@
package config;
+/*
+ * 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.config.MonitorConfig;
import org.apache.wicket.ajax.json.JSONObject;
import org.junit.Test;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/test/java/config/RouterConfigTest.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/test/java/config/RouterConfigTest.java b/traffic_monitor/src/test/java/config/RouterConfigTest.java
index 0c6dad0..0031750 100644
--- a/traffic_monitor/src/test/java/config/RouterConfigTest.java
+++ b/traffic_monitor/src/test/java/config/RouterConfigTest.java
@@ -1,5 +1,25 @@
package config;
+/*
+ * 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.config.Cache;
import com.comcast.cdn.traffic_control.traffic_monitor.config.Peer;
import com.comcast.cdn.traffic_control.traffic_monitor.config.RouterConfig;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/test/java/data/DataPointTest.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/test/java/data/DataPointTest.java b/traffic_monitor/src/test/java/data/DataPointTest.java
index c51f365..05588bb 100644
--- a/traffic_monitor/src/test/java/data/DataPointTest.java
+++ b/traffic_monitor/src/test/java/data/DataPointTest.java
@@ -1,5 +1,25 @@
package data;
+/*
+ * 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.data.DataPoint;
import org.junit.Test;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/test/java/data/StatisticsLogTest.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/test/java/data/StatisticsLogTest.java b/traffic_monitor/src/test/java/data/StatisticsLogTest.java
index 968e560..835dd5d 100644
--- a/traffic_monitor/src/test/java/data/StatisticsLogTest.java
+++ b/traffic_monitor/src/test/java/data/StatisticsLogTest.java
@@ -1,5 +1,25 @@
package data;
+/*
+ * 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.data.DataPoint;
import com.comcast.cdn.traffic_control.traffic_monitor.data.StatisticsLog;
import com.comcast.cdn.traffic_control.traffic_monitor.health.DeliveryServiceStateRegistry;
@@ -302,4 +322,4 @@ class TimeGetter implements Runnable {
e.printStackTrace();
}
}
-}
\ No newline at end of file
+}
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/test/java/health/CacheStateUpdaterTest.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/test/java/health/CacheStateUpdaterTest.java b/traffic_monitor/src/test/java/health/CacheStateUpdaterTest.java
index 9316cf5..f0dd1be 100644
--- a/traffic_monitor/src/test/java/health/CacheStateUpdaterTest.java
+++ b/traffic_monitor/src/test/java/health/CacheStateUpdaterTest.java
@@ -1,5 +1,25 @@
package health;
+/*
+ * 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.config.Cache;
import com.comcast.cdn.traffic_control.traffic_monitor.health.CacheState;
import com.comcast.cdn.traffic_control.traffic_monitor.health.CacheStateUpdater;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/test/java/health/CacheStatisticsClientTest.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/test/java/health/CacheStatisticsClientTest.java b/traffic_monitor/src/test/java/health/CacheStatisticsClientTest.java
index caaf24b..53958e9 100644
--- a/traffic_monitor/src/test/java/health/CacheStatisticsClientTest.java
+++ b/traffic_monitor/src/test/java/health/CacheStatisticsClientTest.java
@@ -1,5 +1,25 @@
package health;
+/*
+ * 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.config.Cache;
import com.comcast.cdn.traffic_control.traffic_monitor.health.CacheStateUpdater;
import com.comcast.cdn.traffic_control.traffic_monitor.health.CacheStatisticsClient;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/test/java/health/DeletemeTest.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/test/java/health/DeletemeTest.java b/traffic_monitor/src/test/java/health/DeletemeTest.java
index 46bc636..eb51c35 100644
--- a/traffic_monitor/src/test/java/health/DeletemeTest.java
+++ b/traffic_monitor/src/test/java/health/DeletemeTest.java
@@ -1,4 +1,24 @@
package health;
+/*
+ * 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.
+ */
+
+
public class DeletemeTest {
}
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/test/java/health/HealthDeterminerTest.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/test/java/health/HealthDeterminerTest.java b/traffic_monitor/src/test/java/health/HealthDeterminerTest.java
index ee1d58d..be0e094 100644
--- a/traffic_monitor/src/test/java/health/HealthDeterminerTest.java
+++ b/traffic_monitor/src/test/java/health/HealthDeterminerTest.java
@@ -1,5 +1,25 @@
package health;
+/*
+ * 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.config.Cache;
import com.comcast.cdn.traffic_control.traffic_monitor.health.HealthDeterminer;
import org.apache.wicket.ajax.json.JSONObject;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/test/resources/conf/traffic_monitor_config.js
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/test/resources/conf/traffic_monitor_config.js b/traffic_monitor/src/test/resources/conf/traffic_monitor_config.js
index 3756b33..57eef68 100644
--- a/traffic_monitor/src/test/resources/conf/traffic_monitor_config.js
+++ b/traffic_monitor/src/test/resources/conf/traffic_monitor_config.js
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
{"traffic_monitor_config": {
"tm.healthParams.polling.url": "https://${tmHostname}/health/${cdnName}",
"hack.ttl": "30",
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/test/resources/var/health-params.js
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/test/resources/var/health-params.js b/traffic_monitor/src/test/resources/var/health-params.js
index 30617ed..cc34841 100644
--- a/traffic_monitor/src/test/resources/var/health-params.js
+++ b/traffic_monitor/src/test/resources/var/health-params.js
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
{
"deliveryServices": {
"omg-08": {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/app/conf/misc/riak_search/sslkeys.xml
----------------------------------------------------------------------
diff --git a/traffic_ops/app/conf/misc/riak_search/sslkeys.xml b/traffic_ops/app/conf/misc/riak_search/sslkeys.xml
index 90eae37..245b8bc 100644
--- a/traffic_ops/app/conf/misc/riak_search/sslkeys.xml
+++ b/traffic_ops/app/conf/misc/riak_search/sslkeys.xml
@@ -1,4 +1,24 @@
<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+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.
+-->
+
<schema name="schedule" version="1.5">
<fields>
<field name="cdn" type="string" indexed="true" stored="true" />
@@ -32,4 +52,4 @@
<!-- Used for the catch all field -->
<fieldtype name="ignored" stored="false" indexed="false" multiValued="true" class="solr.StrField" />
</types>
-</schema>
\ No newline at end of file
+</schema>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/app/lib/Fixtures/Integration/gen_fixtures.pl
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/Fixtures/Integration/gen_fixtures.pl b/traffic_ops/app/lib/Fixtures/Integration/gen_fixtures.pl
old mode 100755
new mode 100644
index 936349a..79c8d77
--- a/traffic_ops/app/lib/Fixtures/Integration/gen_fixtures.pl
+++ b/traffic_ops/app/lib/Fixtures/Integration/gen_fixtures.pl
@@ -1,4 +1,20 @@
#!/usr/bin/perl
+# 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 LWP::Simple;
use JSON qw( decode_json );
[06/15] incubator-trafficcontrol git commit: Apache RAT tool
automatically added Apache License Headers
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/users/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/users/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/users/index.js
index 3dd4819..7adc96d 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/users/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/users/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.users', [])
.controller('UsersController', require('./UsersController'))
.config(function($stateProvider, $urlRouterProvider) {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/users/list/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/users/list/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/users/list/index.js
index 7ed4a45..e3b99ef 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/users/list/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/users/list/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.users.list', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/users/new/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/users/new/index.js b/traffic_ops/experimental/ui/app/src/modules/private/admin/users/new/index.js
index 0328a38..ee3f0c2 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/users/new/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/users/new/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.admin.users.new', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/admin/users/users.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/admin/users/users.tpl.html b/traffic_ops/experimental/ui/app/src/modules/private/admin/users/users.tpl.html
index 17eb397..84ef55b 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/admin/users/users.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/modules/private/admin/users/users.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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 id="usersContainer">
<div ui-view="usersContent"></div>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/configure/ConfigureController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/configure/ConfigureController.js b/traffic_ops/experimental/ui/app/src/modules/private/configure/ConfigureController.js
index ddd41bb..2e1f17c 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/configure/ConfigureController.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/configure/ConfigureController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 ConfigureController = function($scope, $location) {
$scope.navigateToPath = function(path) {
@@ -7,4 +26,4 @@ var ConfigureController = function($scope, $location) {
};
ConfigureController.$inject = ['$scope', '$location'];
-module.exports = ConfigureController;
\ No newline at end of file
+module.exports = ConfigureController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/configure/cacheGroups/CacheGroupsController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/configure/cacheGroups/CacheGroupsController.js b/traffic_ops/experimental/ui/app/src/modules/private/configure/cacheGroups/CacheGroupsController.js
index 3b16e9f..f541f60 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/configure/cacheGroups/CacheGroupsController.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/configure/cacheGroups/CacheGroupsController.js
@@ -1,5 +1,24 @@
+/*
+ * 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 CacheGroupsController = function() {
};
CacheGroupsController.$inject = [];
-module.exports = CacheGroupsController;
\ No newline at end of file
+module.exports = CacheGroupsController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/configure/cacheGroups/cacheGroups.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/configure/cacheGroups/cacheGroups.tpl.html b/traffic_ops/experimental/ui/app/src/modules/private/configure/cacheGroups/cacheGroups.tpl.html
index da16425..6f047d3 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/configure/cacheGroups/cacheGroups.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/modules/private/configure/cacheGroups/cacheGroups.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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 id="cacheGroupsContainer">
<div ui-view="cacheGroupsContent"></div>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/configure/cacheGroups/edit/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/configure/cacheGroups/edit/index.js b/traffic_ops/experimental/ui/app/src/modules/private/configure/cacheGroups/edit/index.js
index 95a5d6f..2f01f1a 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/configure/cacheGroups/edit/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/configure/cacheGroups/edit/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.configure.cacheGroups.edit', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/configure/cacheGroups/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/configure/cacheGroups/index.js b/traffic_ops/experimental/ui/app/src/modules/private/configure/cacheGroups/index.js
index ed2e88f..1fddc13 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/configure/cacheGroups/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/configure/cacheGroups/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.configure.cacheGroups', [])
.controller('CacheGroupsController', require('./CacheGroupsController'))
.config(function($stateProvider, $urlRouterProvider) {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/configure/cacheGroups/list/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/configure/cacheGroups/list/index.js b/traffic_ops/experimental/ui/app/src/modules/private/configure/cacheGroups/list/index.js
index f9935ef..58e8c94 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/configure/cacheGroups/list/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/configure/cacheGroups/list/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.configure.cacheGroups.list', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/configure/cacheGroups/new/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/configure/cacheGroups/new/index.js b/traffic_ops/experimental/ui/app/src/modules/private/configure/cacheGroups/new/index.js
index 71d8f07..ef964fb 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/configure/cacheGroups/new/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/configure/cacheGroups/new/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.configure.cacheGroups.new', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/configure/configure.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/configure/configure.tpl.html b/traffic_ops/experimental/ui/app/src/modules/private/configure/configure.tpl.html
index 0bdf8b7..af35161 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/configure/configure.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/modules/private/configure/configure.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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 id="configureContainer">
<div ui-view="configureContent"></div>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/configure/deliveryServices/DeliveryServicesController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/configure/deliveryServices/DeliveryServicesController.js b/traffic_ops/experimental/ui/app/src/modules/private/configure/deliveryServices/DeliveryServicesController.js
index acab1a7..b472032 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/configure/deliveryServices/DeliveryServicesController.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/configure/deliveryServices/DeliveryServicesController.js
@@ -1,5 +1,24 @@
+/*
+ * 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 DeliveryServicesController = function() {
};
DeliveryServicesController.$inject = [];
-module.exports = DeliveryServicesController;
\ No newline at end of file
+module.exports = DeliveryServicesController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/configure/deliveryServices/deliveryServices.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/configure/deliveryServices/deliveryServices.tpl.html b/traffic_ops/experimental/ui/app/src/modules/private/configure/deliveryServices/deliveryServices.tpl.html
index b55fbd6..2035386 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/configure/deliveryServices/deliveryServices.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/modules/private/configure/deliveryServices/deliveryServices.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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 id="deliveryServicesContainer">
<div ui-view="deliveryServicesContent"></div>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/configure/deliveryServices/edit/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/configure/deliveryServices/edit/index.js b/traffic_ops/experimental/ui/app/src/modules/private/configure/deliveryServices/edit/index.js
index 9bd86fd..6a75535 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/configure/deliveryServices/edit/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/configure/deliveryServices/edit/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.configure.deliveryServices.edit', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/configure/deliveryServices/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/configure/deliveryServices/index.js b/traffic_ops/experimental/ui/app/src/modules/private/configure/deliveryServices/index.js
index 0dc6e8e..60b895a 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/configure/deliveryServices/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/configure/deliveryServices/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.configure.deliveryServices', [])
.controller('DeliveryServicesController', require('./DeliveryServicesController'))
.config(function($stateProvider, $urlRouterProvider) {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/configure/deliveryServices/list/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/configure/deliveryServices/list/index.js b/traffic_ops/experimental/ui/app/src/modules/private/configure/deliveryServices/list/index.js
index 460ea39..d299bee 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/configure/deliveryServices/list/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/configure/deliveryServices/list/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.configure.deliveryServices.list', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/configure/deliveryServices/new/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/configure/deliveryServices/new/index.js b/traffic_ops/experimental/ui/app/src/modules/private/configure/deliveryServices/new/index.js
index cab823e..d77698c 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/configure/deliveryServices/new/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/configure/deliveryServices/new/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.configure.deliveryServices.new', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/configure/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/configure/index.js b/traffic_ops/experimental/ui/app/src/modules/private/configure/index.js
index 92f9efb..0660dc4 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/configure/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/configure/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.configure', [])
.controller('ConfigureController', require('./ConfigureController'))
.config(function($stateProvider, $urlRouterProvider) {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/configure/servers/ServersController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/configure/servers/ServersController.js b/traffic_ops/experimental/ui/app/src/modules/private/configure/servers/ServersController.js
index 871a433..a015b09 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/configure/servers/ServersController.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/configure/servers/ServersController.js
@@ -1,5 +1,24 @@
+/*
+ * 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 ServersController = function() {
};
ServersController.$inject = [];
-module.exports = ServersController;
\ No newline at end of file
+module.exports = ServersController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/configure/servers/edit/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/configure/servers/edit/index.js b/traffic_ops/experimental/ui/app/src/modules/private/configure/servers/edit/index.js
index e3184d3..a500b16 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/configure/servers/edit/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/configure/servers/edit/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.configure.servers.edit', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/configure/servers/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/configure/servers/index.js b/traffic_ops/experimental/ui/app/src/modules/private/configure/servers/index.js
index f10f4e7..614cb34 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/configure/servers/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/configure/servers/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.configure.servers', [])
.controller('ServersController', require('./ServersController'))
.config(function($stateProvider, $urlRouterProvider) {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/configure/servers/list/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/configure/servers/list/index.js b/traffic_ops/experimental/ui/app/src/modules/private/configure/servers/list/index.js
index bcedad2..182f6cd 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/configure/servers/list/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/configure/servers/list/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.configure.servers.list', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/configure/servers/new/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/configure/servers/new/index.js b/traffic_ops/experimental/ui/app/src/modules/private/configure/servers/new/index.js
index 0361a52..9a165e7 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/configure/servers/new/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/configure/servers/new/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.configure.servers.new', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/configure/servers/servers.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/configure/servers/servers.tpl.html b/traffic_ops/experimental/ui/app/src/modules/private/configure/servers/servers.tpl.html
index c93e203..326b8fc 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/configure/servers/servers.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/modules/private/configure/servers/servers.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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 id="serversContainer">
<div ui-view="serversContent"></div>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/index.js b/traffic_ops/experimental/ui/app/src/modules/private/index.js
index 60d4df7..19d66db 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/monitor/MonitorController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/monitor/MonitorController.js b/traffic_ops/experimental/ui/app/src/modules/private/monitor/MonitorController.js
index 85d5a8e..695fdbb 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/monitor/MonitorController.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/monitor/MonitorController.js
@@ -1,4 +1,23 @@
+/*
+ * 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 MonitorController = function() {};
MonitorController.$inject = [];
-module.exports = MonitorController;
\ No newline at end of file
+module.exports = MonitorController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/DashboardsController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/DashboardsController.js b/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/DashboardsController.js
index 0a7f2ae..ab114c2 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/DashboardsController.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/DashboardsController.js
@@ -1,5 +1,24 @@
+/*
+ * 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 DashboardsController = function($scope) {
};
DashboardsController.$inject = ['$scope'];
-module.exports = DashboardsController;
\ No newline at end of file
+module.exports = DashboardsController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/dashboards.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/dashboards.tpl.html b/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/dashboards.tpl.html
index 7f28d22..3a7a94a 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/dashboards.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/dashboards.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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 id="dashboardsContainer">
<div ui-view="dashboardsContent"></div>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/index.js b/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/index.js
index e841831..aa6994a 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.monitor.dashboards', [])
.controller('DashboardsController', require('./DashboardsController'))
.config(function($stateProvider, $urlRouterProvider) {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/one/DashboardsOneController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/one/DashboardsOneController.js b/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/one/DashboardsOneController.js
index 28c83ff..b37e1c0 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/one/DashboardsOneController.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/one/DashboardsOneController.js
@@ -1,5 +1,24 @@
+/*
+ * 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 DashboardsOneController = function($scope) {
};
DashboardsOneController.$inject = ['$scope'];
-module.exports = DashboardsOneController;
\ No newline at end of file
+module.exports = DashboardsOneController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/one/dashboards.one.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/one/dashboards.one.tpl.html b/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/one/dashboards.one.tpl.html
index 9477c43..b1a8be8 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/one/dashboards.one.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/one/dashboards.one.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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="angular-google-map-container" map-lazy-load="https://maps.google.com/maps/api/js">
<ng-map center="41,-87" zoom="3"></ng-map>
-</div>
\ No newline at end of file
+</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/one/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/one/index.js b/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/one/index.js
index 2da2719..73a645a 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/one/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/one/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.monitor.dashboards.one', [])
.controller('DashboardsOneController', require('./DashboardsOneController'))
.config(function($stateProvider, $urlRouterProvider) {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/three/DashboardsThreeController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/three/DashboardsThreeController.js b/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/three/DashboardsThreeController.js
index 1d187af..65317c2 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/three/DashboardsThreeController.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/three/DashboardsThreeController.js
@@ -1,5 +1,24 @@
+/*
+ * 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 DashboardsThreeController = function($scope) {
};
DashboardsThreeController.$inject = ['$scope'];
-module.exports = DashboardsThreeController;
\ No newline at end of file
+module.exports = DashboardsThreeController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/three/dashboards.three.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/three/dashboards.three.tpl.html b/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/three/dashboards.three.tpl.html
index 9a19464..5fc86dd 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/three/dashboards.three.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/three/dashboards.three.tpl.html
@@ -1 +1,20 @@
+<!--
+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.
+-->
+
<h3>Dashboard #3</h3>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/three/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/three/index.js b/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/three/index.js
index 94d4128..28fe8c4 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/three/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/three/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.monitor.dashboards.three', [])
.controller('DashboardsThreeController', require('./DashboardsThreeController'))
.config(function($stateProvider, $urlRouterProvider) {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/two/DashboardsTwoController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/two/DashboardsTwoController.js b/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/two/DashboardsTwoController.js
index 416e90f..5cc6f60 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/two/DashboardsTwoController.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/two/DashboardsTwoController.js
@@ -1,5 +1,24 @@
+/*
+ * 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 DashboardsTwoController = function($scope) {
};
DashboardsTwoController.$inject = ['$scope'];
-module.exports = DashboardsTwoController;
\ No newline at end of file
+module.exports = DashboardsTwoController;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/two/dashboards.two.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/two/dashboards.two.tpl.html b/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/two/dashboards.two.tpl.html
index 1845fe2..de5ac12 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/two/dashboards.two.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/two/dashboards.two.tpl.html
@@ -1 +1,20 @@
+<!--
+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.
+-->
+
<h3>Dashboard #2</h3>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/two/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/two/index.js b/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/two/index.js
index 2992b27..7e14aed 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/two/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/two/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.monitor.dashboards.two', [])
.controller('DashboardsTwoController', require('./DashboardsTwoController'))
.config(function($stateProvider, $urlRouterProvider) {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/monitor/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/monitor/index.js b/traffic_ops/experimental/ui/app/src/modules/private/monitor/index.js
index 16ed996..3fb1357 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/monitor/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/monitor/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.monitor', [])
.controller('MonitorController', require('./MonitorController'))
.config(function($stateProvider, $urlRouterProvider) {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/monitor/monitor.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/monitor/monitor.tpl.html b/traffic_ops/experimental/ui/app/src/modules/private/monitor/monitor.tpl.html
index 5d0b259..6b509ab 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/monitor/monitor.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/modules/private/monitor/monitor.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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 id="monitorContainer">
<div ui-view="monitorContent"></div>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/private.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/private.tpl.html b/traffic_ops/experimental/ui/app/src/modules/private/private.tpl.html
index a547659..fe3c966 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/private.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/modules/private/private.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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 id="privateContainer">
<div ui-view="privateContent"></div>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/user/UserController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/user/UserController.js b/traffic_ops/experimental/ui/app/src/modules/private/user/UserController.js
index c630715..bb68bd1 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/user/UserController.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/user/UserController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 UserController = function($scope, $state, $uibModal, formUtils, locationUtils, userService, authService, roleService, userModel) {
var updateUser = function(user, options) {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/user/edit/UserEditController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/user/edit/UserEditController.js b/traffic_ops/experimental/ui/app/src/modules/private/user/edit/UserEditController.js
index d063dd2..7dd5999 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/user/edit/UserEditController.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/user/edit/UserEditController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 UserEditController = function($scope) {
$scope.settings = {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/user/edit/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/user/edit/index.js b/traffic_ops/experimental/ui/app/src/modules/private/user/edit/index.js
index 3960d8c..b218157 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/user/edit/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/user/edit/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.user.edit', [])
.controller('UserEditController', require('./UserEditController'))
.config(function($stateProvider, $urlRouterProvider) {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/user/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/user/index.js b/traffic_ops/experimental/ui/app/src/modules/private/user/index.js
index dc29f8d..cff85b2 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/user/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/user/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.private.user', [])
.controller('UserController', require('./UserController'))
.config(function($stateProvider, $urlRouterProvider) {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/private/user/user.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/user/user.tpl.html b/traffic_ops/experimental/ui/app/src/modules/private/user/user.tpl.html
index 733f10e..57c0cde 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/user/user.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/modules/private/user/user.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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 id="userContainer">
<div ui-view="userContent"></div>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/public/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/public/index.js b/traffic_ops/experimental/ui/app/src/modules/public/index.js
index 3ea8afe..2f945c4 100644
--- a/traffic_ops/experimental/ui/app/src/modules/public/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/public/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.public', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/public/login/LoginController.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/public/login/LoginController.js b/traffic_ops/experimental/ui/app/src/modules/public/login/LoginController.js
index e191263..f8e1282 100644
--- a/traffic_ops/experimental/ui/app/src/modules/public/login/LoginController.js
+++ b/traffic_ops/experimental/ui/app/src/modules/public/login/LoginController.js
@@ -1,3 +1,22 @@
+/*
+ * 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 LoginController = function($scope, $log, $uibModal, authService) {
$scope.credentials = {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/public/login/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/public/login/index.js b/traffic_ops/experimental/ui/app/src/modules/public/login/index.js
index 3e8fa2c..ab8aa0f 100644
--- a/traffic_ops/experimental/ui/app/src/modules/public/login/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/public/login/index.js
@@ -1,3 +1,22 @@
+/*
+ * 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('trafficOps.public.login', [])
.controller('LoginController', require('./LoginController'))
.config(function($stateProvider, $urlRouterProvider) {
@@ -13,4 +32,4 @@ module.exports = angular.module('trafficOps.public.login', [])
})
;
$urlRouterProvider.otherwise('/');
- });
\ No newline at end of file
+ });
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/public/login/login.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/public/login/login.tpl.html b/traffic_ops/experimental/ui/app/src/modules/public/login/login.tpl.html
index 5b1efa5..7dfa69c 100644
--- a/traffic_ops/experimental/ui/app/src/modules/public/login/login.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/modules/public/login/login.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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.
+-->
+
<section id="loginContainer">
<div class="panelForm">
<h4>Login</h4>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/modules/public/public.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/public/public.tpl.html b/traffic_ops/experimental/ui/app/src/modules/public/public.tpl.html
index 25583de..254b9e4 100644
--- a/traffic_ops/experimental/ui/app/src/modules/public/public.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/modules/public/public.tpl.html
@@ -1,3 +1,22 @@
+<!--
+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 id="publicContainer">
<div ui-view="publicContent"></div>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/scripts/config.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/scripts/config.js b/traffic_ops/experimental/ui/app/src/scripts/config.js
index 13cc002..46606c9 100644
--- a/traffic_ops/experimental/ui/app/src/scripts/config.js
+++ b/traffic_ops/experimental/ui/app/src/scripts/config.js
@@ -1,7 +1,26 @@
+/*
+ * 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";
angular.module('config', [])
.constant('ENV', {api:{root:'/api/1.2/'}})
-;
\ No newline at end of file
+;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/app/src/scripts/shared-libs.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/scripts/shared-libs.js b/traffic_ops/experimental/ui/app/src/scripts/shared-libs.js
old mode 100755
new mode 100644
index a892045..87e28cb
--- a/traffic_ops/experimental/ui/app/src/scripts/shared-libs.js
+++ b/traffic_ops/experimental/ui/app/src/scripts/shared-libs.js
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
/**
* Define the required js libraries needed for this application. The compiler will merge them all into a single download. Order is important!
*/
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/build/run-build.sh
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/build/run-build.sh b/traffic_ops/experimental/ui/build/run-build.sh
old mode 100755
new mode 100644
index 26d4457..f0467a6
--- a/traffic_ops/experimental/ui/build/run-build.sh
+++ b/traffic_ops/experimental/ui/build/run-build.sh
@@ -1,4 +1,20 @@
#!/usr/bin/env bash
+# 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.
target=$1
[[ -z $target ]] && echo "No target specified"
[05/15] incubator-trafficcontrol git commit: Apache RAT tool
automatically added Apache License Headers
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/conf/config.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/conf/config.js b/traffic_ops/experimental/ui/conf/config.js
index ed56bfd..0db192b 100644
--- a/traffic_ops/experimental/ui/conf/config.js
+++ b/traffic_ops/experimental/ui/conf/config.js
@@ -1,3 +1,22 @@
+/*
+ * 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 = {
timeout: '120s',
useSSL: false, // set to true if using ssl
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/experimental/ui/server/server.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/server/server.js b/traffic_ops/experimental/ui/server/server.js
index aa7ded5..c6d3b38 100644
--- a/traffic_ops/experimental/ui/server/server.js
+++ b/traffic_ops/experimental/ui/server/server.js
@@ -1,3 +1,22 @@
+/*
+ * 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 constants = require('constants'),
express = require('express'),
http = require('http'),
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/goto/index.html
----------------------------------------------------------------------
diff --git a/traffic_ops/goto/index.html b/traffic_ops/goto/index.html
index 833d08e..107e5dd 100644
--- a/traffic_ops/goto/index.html
+++ b/traffic_ops/goto/index.html
@@ -1,3 +1,22 @@
+<!--
+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.
+-->
+
<!DOCTYPE html>
<html lang="en-US">
<head>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/goto/js/main.js
----------------------------------------------------------------------
diff --git a/traffic_ops/goto/js/main.js b/traffic_ops/goto/js/main.js
index 4fcfe33..d4a1555 100644
--- a/traffic_ops/goto/js/main.js
+++ b/traffic_ops/goto/js/main.js
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
angular.module('app', ['ngReactGrid'])
.controller('InitCtrl', function($scope, $http, $log, ngReactGridCheckbox) {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_router/configuration/pom.xml
----------------------------------------------------------------------
diff --git a/traffic_router/configuration/pom.xml b/traffic_router/configuration/pom.xml
index 7d40041..5f80e15 100644
--- a/traffic_router/configuration/pom.xml
+++ b/traffic_router/configuration/pom.xml
@@ -1,4 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+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.
+-->
+
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_router/core/src/main/java/com/comcast/cdn/traffic_control/traffic_router/core/secure/CertificatesPublisher.java
----------------------------------------------------------------------
diff --git a/traffic_router/core/src/main/java/com/comcast/cdn/traffic_control/traffic_router/core/secure/CertificatesPublisher.java b/traffic_router/core/src/main/java/com/comcast/cdn/traffic_control/traffic_router/core/secure/CertificatesPublisher.java
index df36059..2ab8dfd 100644
--- a/traffic_router/core/src/main/java/com/comcast/cdn/traffic_control/traffic_router/core/secure/CertificatesPublisher.java
+++ b/traffic_router/core/src/main/java/com/comcast/cdn/traffic_control/traffic_router/core/secure/CertificatesPublisher.java
@@ -1,5 +1,25 @@
package com.comcast.cdn.traffic_control.traffic_router.core.secure;
+/*
+ * 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_router.core.config.CertificateChecker;
import com.comcast.cdn.traffic_control.traffic_router.core.ds.DeliveryService;
import com.comcast.cdn.traffic_control.traffic_router.core.router.TrafficRouterManager;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_router/geolocation/pom.xml
----------------------------------------------------------------------
diff --git a/traffic_router/geolocation/pom.xml b/traffic_router/geolocation/pom.xml
index ea7ff27..c2d6224 100644
--- a/traffic_router/geolocation/pom.xml
+++ b/traffic_router/geolocation/pom.xml
@@ -1,4 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+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.
+-->
+
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_router/neustar/pom.xml
----------------------------------------------------------------------
diff --git a/traffic_router/neustar/pom.xml b/traffic_router/neustar/pom.xml
index 4a6d54f..002467c 100644
--- a/traffic_router/neustar/pom.xml
+++ b/traffic_router/neustar/pom.xml
@@ -1,4 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+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.
+-->
+
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_router/shared/pom.xml
----------------------------------------------------------------------
diff --git a/traffic_router/shared/pom.xml b/traffic_router/shared/pom.xml
index 5133066..d9cd43a 100644
--- a/traffic_router/shared/pom.xml
+++ b/traffic_router/shared/pom.xml
@@ -1,4 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+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.
+-->
+
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
@@ -78,4 +98,4 @@
</dependencies>
-</project>
\ No newline at end of file
+</project>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_stats/traffic_stats_seelog.xml
----------------------------------------------------------------------
diff --git a/traffic_stats/traffic_stats_seelog.xml b/traffic_stats/traffic_stats_seelog.xml
index a9812cd..301016a 100644
--- a/traffic_stats/traffic_stats_seelog.xml
+++ b/traffic_stats/traffic_stats_seelog.xml
@@ -1,3 +1,23 @@
+<?xml version='1.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.
+-->
+
<seelog minlevel="info">
<outputs formatid="std:debug-short">
<file path="/opt/traffic_stats/var/log/traffic_stats/traffic_stats.log" />
[04/15] incubator-trafficcontrol git commit: Correcting permissions
that were accidentally changed
Posted by da...@apache.org.
Correcting permissions that were accidentally changed
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/2c10af21
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/2c10af21
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/2c10af21
Branch: refs/heads/master
Commit: 2c10af21b2569dac9add11f83918f389a937b796
Parents: 7166267
Author: Eric Friedrich <ef...@cisco.com>
Authored: Wed Nov 2 22:32:59 2016 -0400
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Thu Nov 3 15:25:04 2016 -0600
----------------------------------------------------------------------
infrastructure/docker/build/run-build.sh | 0
infrastructure/docker/traffic_monitor/run.sh | 0
infrastructure/docker/traffic_ops/run.sh | 0
infrastructure/docker/traffic_router/run.sh | 0
.../docker/traffic_server_edge/run.sh | 0
infrastructure/docker/traffic_server_mid/run.sh | 0
infrastructure/docker/traffic_stats/run.sh | 0
infrastructure/docker/traffic_vault/run.sh | 0
.../experimental/traffic_monitor/build.sh | 0
.../lib/Fixtures/Integration/gen_fixtures.pl | 0
.../app/public/js/jqtree/#tree.jquery.js# | 3341 ------------------
.../postgrest/Postgrest_Dockerfile_run.sh | 0
traffic_ops/experimental/ui/build/run-build.sh | 0
13 files changed, 3341 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/2c10af21/infrastructure/docker/build/run-build.sh
----------------------------------------------------------------------
diff --git a/infrastructure/docker/build/run-build.sh b/infrastructure/docker/build/run-build.sh
old mode 100644
new mode 100755
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/2c10af21/infrastructure/docker/traffic_monitor/run.sh
----------------------------------------------------------------------
diff --git a/infrastructure/docker/traffic_monitor/run.sh b/infrastructure/docker/traffic_monitor/run.sh
old mode 100644
new mode 100755
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/2c10af21/infrastructure/docker/traffic_ops/run.sh
----------------------------------------------------------------------
diff --git a/infrastructure/docker/traffic_ops/run.sh b/infrastructure/docker/traffic_ops/run.sh
old mode 100644
new mode 100755
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/2c10af21/infrastructure/docker/traffic_router/run.sh
----------------------------------------------------------------------
diff --git a/infrastructure/docker/traffic_router/run.sh b/infrastructure/docker/traffic_router/run.sh
old mode 100644
new mode 100755
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/2c10af21/infrastructure/docker/traffic_server_edge/run.sh
----------------------------------------------------------------------
diff --git a/infrastructure/docker/traffic_server_edge/run.sh b/infrastructure/docker/traffic_server_edge/run.sh
old mode 100644
new mode 100755
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/2c10af21/infrastructure/docker/traffic_server_mid/run.sh
----------------------------------------------------------------------
diff --git a/infrastructure/docker/traffic_server_mid/run.sh b/infrastructure/docker/traffic_server_mid/run.sh
old mode 100644
new mode 100755
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/2c10af21/infrastructure/docker/traffic_stats/run.sh
----------------------------------------------------------------------
diff --git a/infrastructure/docker/traffic_stats/run.sh b/infrastructure/docker/traffic_stats/run.sh
old mode 100644
new mode 100755
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/2c10af21/infrastructure/docker/traffic_vault/run.sh
----------------------------------------------------------------------
diff --git a/infrastructure/docker/traffic_vault/run.sh b/infrastructure/docker/traffic_vault/run.sh
old mode 100644
new mode 100755
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/2c10af21/traffic_monitor/experimental/traffic_monitor/build.sh
----------------------------------------------------------------------
diff --git a/traffic_monitor/experimental/traffic_monitor/build.sh b/traffic_monitor/experimental/traffic_monitor/build.sh
old mode 100644
new mode 100755
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/2c10af21/traffic_ops/app/lib/Fixtures/Integration/gen_fixtures.pl
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/Fixtures/Integration/gen_fixtures.pl b/traffic_ops/app/lib/Fixtures/Integration/gen_fixtures.pl
old mode 100644
new mode 100755