http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/be5ab888/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/be5ab888/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')); http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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 51619ad..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() { @@ -29,78 +48,78 @@ var FormDeliveryServiceController = function(deliveryService, $scope, formUtils, ]; $scope.protocols = [ - { value: "0", label: '0 - HTTP' }, - { value: "1", label: '1 - HTTPS' }, - { value: "2", label: '2 - HTTP AND HTTPS' }, - { value: "3", label: '3 - HTTP TO HTTPS' } + { value: 0, label: '0 - HTTP' }, + { value: 1, label: '1 - HTTPS' }, + { value: 2, label: '2 - HTTP AND HTTPS' }, + { value: 3, label: '3 - HTTP TO HTTPS' } ]; $scope.qStrings = [ - { value: "0", label: '0 - use qstring in cache key, and pass up' }, - { value: "1", label: '1 - ignore in cache key, and pass up' }, - { value: "2", label: '2 - drop at edge' } + { value: 0, label: '0 - use qstring in cache key, and pass up' }, + { value: 1, label: '1 - ignore in cache key, and pass up' }, + { value: 2, label: '2 - drop at edge' } ]; $scope.geoLimits = [ - { value: "0", label: '0 - None' }, - { value: "1", label: '1 - CZF only' }, - { value: "2", label: '2 - CZF + Country Code(s)' } + { value: 0, label: '0 - None' }, + { value: 1, label: '1 - CZF only' }, + { value: 2, label: '2 - CZF + Country Code(s)' } ]; $scope.geoProviders = [ - { value: "0", label: '0 - Maxmind (Default)' }, - { value: "1", label: '1 - Neustar' } + { value: 0, label: '0 - Maxmind (Default)' }, + { value: 1, label: '1 - Neustar' } ]; $scope.dscps = [ - { value: "0", label: '0 - Best Effort' }, - { value: "10", label: '10 - AF11' }, - { value: "12", label: '12 - AF12' }, - { value: "14", label: '14 - AF13' }, - { value: "18", label: '18 - AF21' }, - { value: "20", label: '20 - AF22' }, - { value: "22", label: '22 - AF23' }, - { value: "26", label: '26 - AF31' }, - { value: "28", label: '28 - AF32' }, - { value: "30", label: '30 - AF33' }, - { value: "34", label: '34 - AF41' }, - { value: "36", label: '36 - AF42' }, - { value: "37", label: '37 - ' }, - { value: "38", label: '38 - AF43' }, - { value: "8", label: '8 - CS1' }, - { value: "16", label: '16 - CS2' }, - { value: "24", label: '24 - CS3' }, - { value: "32", label: '32 - CS4' }, - { value: "40", label: '40 - CS5' }, - { value: "48", label: '48 - CS6' }, - { value: "56", label: '56 - CS7' } + { value: 0, label: '0 - Best Effort' }, + { value: 10, label: '10 - AF11' }, + { value: 12, label: '12 - AF12' }, + { value: 14, label: '14 - AF13' }, + { value: 18, label: '18 - AF21' }, + { value: 20, label: '20 - AF22' }, + { value: 22, label: '22 - AF23' }, + { value: 26, label: '26 - AF31' }, + { value: 28, label: '28 - AF32' }, + { value: 30, label: '30 - AF33' }, + { value: 34, label: '34 - AF41' }, + { value: 36, label: '36 - AF42' }, + { value: 37, label: '37 - ' }, + { value: 38, label: '38 - AF43' }, + { value: 8, label: '8 - CS1' }, + { value: 16, label: '16 - CS2' }, + { value: 24, label: '24 - CS3' }, + { value: 32, label: '32 - CS4' }, + { value: 40, label: '40 - CS5' }, + { value: 48, label: '48 - CS6' }, + { value: 56, label: '56 - CS7' } ]; $scope.dispersions = [ - { value: "1", label: '1 - OFF' }, - { value: "2", label: '2' }, - { value: "3", label: '3' }, - { value: "4", label: '4' }, - { value: "5", label: '5' }, - { value: "6", label: '6' }, - { value: "7", label: '7' }, - { value: "8", label: '8' }, - { value: "9", label: '9' }, - { value: "10", label: '10' } + { value: 1, label: '1 - OFF' }, + { value: 2, label: '2' }, + { value: 3, label: '3' }, + { value: 4, label: '4' }, + { value: 5, label: '5' }, + { value: 6, label: '6' }, + { value: 7, label: '7' }, + { value: 8, label: '8' }, + { value: 9, label: '9' }, + { value: 10, label: '10' } ]; $scope.rrhs = [ - { value: "0", label: "0 - Don't cache" }, - { value: "1", label: "1 - Use background_fetch plugin" }, - { value: "2", label: "2 - Use cache_range_requests plugin" } + { value: 0, label: "0 - Don't cache" }, + { value: 1, label: "1 - Use background_fetch plugin" }, + { value: 2, label: "2 - Use cache_range_requests plugin" } ]; $scope.msoAlgos = [ - { value: "0", label: "0 - Consistent Hash" }, - { value: "1", label: "1 - Primary/Backup" }, - { value: "2", label: "2 - Strict Round Robin" }, - { value: "3", label: "3 - IP-based Round Robin" }, - { value: "4", label: "4 - Latch on Failover" } + { value: 0, label: "0 - Consistent Hash" }, + { value: 1, label: "1 - Primary/Backup" }, + { value: 2, label: "2 - Strict Round Robin" }, + { value: 3, label: "3 - IP-based Round Robin" }, + { value: 4, label: "4 - Latch on Failover" } ]; $scope.navigateToPath = locationUtils.navigateToPath; @@ -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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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;