http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/be5ab888/traffic_ops/experimental/server/output_format/output_format.go ---------------------------------------------------------------------- diff --git a/traffic_ops/experimental/server/output_format/output_format.go b/traffic_ops/experimental/server/output_format/output_format.go index 2c1d0c2..464d38b 100644 --- a/traffic_ops/experimental/server/output_format/output_format.go +++ b/traffic_ops/experimental/server/output_format/output_format.go @@ -1,4 +1,3 @@ -// Copyright 2015 Comcast Cable Communications Management, LLC // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License.
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/be5ab888/traffic_ops/experimental/server/routes/routes.go ---------------------------------------------------------------------- diff --git a/traffic_ops/experimental/server/routes/routes.go b/traffic_ops/experimental/server/routes/routes.go index 70571a1..cc7ae37 100644 --- a/traffic_ops/experimental/server/routes/routes.go +++ b/traffic_ops/experimental/server/routes/routes.go @@ -1,4 +1,3 @@ -// Copyright 2015 Comcast Cable Communications Management, LLC // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/be5ab888/traffic_ops/experimental/server/tools/gen_goto2.go ---------------------------------------------------------------------- diff --git a/traffic_ops/experimental/server/tools/gen_goto2.go b/traffic_ops/experimental/server/tools/gen_goto2.go index aebcad5..47b2be0 100644 --- a/traffic_ops/experimental/server/tools/gen_goto2.go +++ b/traffic_ops/experimental/server/tools/gen_goto2.go @@ -1,4 +1,3 @@ -// Copyright 2015 Comcast Cable Communications Management, LLC // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -113,8 +112,7 @@ func writeFile(schemas []ColumnSchema, table string) (int, error) { } defer file.Close() - license := "// Copyright 2015 Comcast Cable Communications Management, LLC\n\n" - license += "// Licensed under the Apache License, Version 2.0 (the \"License\");\n" + license := "// Licensed under the Apache License, Version 2.0 (the \"License\");\n" license += "// you may not use this file except in compliance with the License.\n" license += "// You may obtain a copy of the License at\n\n" license += "// http://www.apache.org/licenses/LICENSE-2.0\n\n" http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/be5ab888/traffic_ops/experimental/server/tools/get_structs.go ---------------------------------------------------------------------- diff --git a/traffic_ops/experimental/server/tools/get_structs.go b/traffic_ops/experimental/server/tools/get_structs.go index 660031b..5aad103 100644 --- a/traffic_ops/experimental/server/tools/get_structs.go +++ b/traffic_ops/experimental/server/tools/get_structs.go @@ -1,4 +1,3 @@ -// Copyright 2015 Comcast Cable Communications Management, LLC // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/be5ab888/traffic_ops/experimental/traffic_ops_auth/traffic_ops_auth.go ---------------------------------------------------------------------- diff --git a/traffic_ops/experimental/traffic_ops_auth/traffic_ops_auth.go b/traffic_ops/experimental/traffic_ops_auth/traffic_ops_auth.go index 0220f12..86a61c1 100644 --- a/traffic_ops/experimental/traffic_ops_auth/traffic_ops_auth.go +++ b/traffic_ops/experimental/traffic_ops_auth/traffic_ops_auth.go @@ -1,5 +1,25 @@ package main +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT 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 ( "crypto/rand" "crypto/sha512" http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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 1a0115f..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,8 +1,27 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT 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() { var deferred = $q.defer(); - $http.get('trafficOps_release.json') + $http.get('traffic_ops_release.json') .success(function(result) { deferred.resolve(result); }) @@ -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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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/be5ab888/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'));