You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by da...@apache.org on 2016/12/08 04:18:32 UTC

[4/4] incubator-trafficcontrol git commit: add Apache licenses to more files

add Apache licenses to more files

(cherry picked from commit 6ffd4288191942e8c876b56b5ed0ad42a419cc87)


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

Branch: refs/heads/1.8.x
Commit: e18e5fcd57a296bca64af79c3daef4f5581067f4
Parents: daf585e
Author: Dan Kirkwood <da...@gmail.com>
Authored: Mon Dec 5 21:47:47 2016 +0000
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Wed Dec 7 21:16:33 2016 -0700

----------------------------------------------------------------------
 traffic_ops/app/script/cdn                          | 15 +++++++++++++++
 traffic_ops/app/t/api/1.2/parameter.t               | 14 ++++++++++++++
 traffic_ops/app/t_integration/000init_database.t    | 14 ++++++++++++++
 traffic_ops/app/t_integration/configfiles.t         | 14 ++++++++++++++
 traffic_ops/app/t_integration/configfiles_view.t    | 14 ++++++++++++++
 traffic_ops/app/t_integration/extensions.t          | 14 ++++++++++++++
 traffic_ops/app/t_integration/server.t              | 14 ++++++++++++++
 traffic_ops/app/t_integration/servercheck.t         | 14 ++++++++++++++
 traffic_ops/build/Vagrantfile                       | 14 ++++++++++++++
 .../experimental/ats_config/Ats_Config_Dockerfile   | 14 ++++++++++++++
 .../experimental/postgrest/Postgrest_Dockerfile     | 14 ++++++++++++++
 traffic_ops/experimental/server/notes.txt           | 16 +++++++++++++++-
 traffic_ops/experimental/ui/app/src/robots.txt      | 14 ++++++++++++++
 .../url-rewriter-nginx/Url_Rewriter_Dockerfile      | 14 ++++++++++++++
 traffic_ops/goto/run                                | 14 ++++++++++++++
 traffic_portal/app/src/robots.txt                   | 14 ++++++++++++++
 16 files changed, 226 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/e18e5fcd/traffic_ops/app/script/cdn
----------------------------------------------------------------------
diff --git a/traffic_ops/app/script/cdn b/traffic_ops/app/script/cdn
index a5475d2..d9f8e95 100755
--- a/traffic_ops/app/script/cdn
+++ b/traffic_ops/app/script/cdn
@@ -1,4 +1,19 @@
 #!/usr/bin/env perl
+#
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
 use Mojo::Base -strict;
 use File::Basename 'dirname';
 use File::Spec::Functions qw(catdir splitdir);

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/e18e5fcd/traffic_ops/app/t/api/1.2/parameter.t
----------------------------------------------------------------------
diff --git a/traffic_ops/app/t/api/1.2/parameter.t b/traffic_ops/app/t/api/1.2/parameter.t
index 9c44078..b756931 100644
--- a/traffic_ops/app/t/api/1.2/parameter.t
+++ b/traffic_ops/app/t/api/1.2/parameter.t
@@ -1,4 +1,18 @@
 package main;
+#
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
 
 use Mojo::Base -strict;
 use Test::More;

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/e18e5fcd/traffic_ops/app/t_integration/000init_database.t
----------------------------------------------------------------------
diff --git a/traffic_ops/app/t_integration/000init_database.t b/traffic_ops/app/t_integration/000init_database.t
index 9de1144..5978bdb 100644
--- a/traffic_ops/app/t_integration/000init_database.t
+++ b/traffic_ops/app/t_integration/000init_database.t
@@ -1,4 +1,18 @@
 package main;
+#
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
 use Mojo::Base -strict;
 use Test::More;
 use Test::Mojo;

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/e18e5fcd/traffic_ops/app/t_integration/configfiles.t
----------------------------------------------------------------------
diff --git a/traffic_ops/app/t_integration/configfiles.t b/traffic_ops/app/t_integration/configfiles.t
index 27e63bd..c762f63 100644
--- a/traffic_ops/app/t_integration/configfiles.t
+++ b/traffic_ops/app/t_integration/configfiles.t
@@ -1,4 +1,18 @@
 package main;
+#
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
 use Mojo::Base -strict;
 use Test::More;
 use Test::Mojo;

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/e18e5fcd/traffic_ops/app/t_integration/configfiles_view.t
----------------------------------------------------------------------
diff --git a/traffic_ops/app/t_integration/configfiles_view.t b/traffic_ops/app/t_integration/configfiles_view.t
index 6ed2671..b8231a2 100644
--- a/traffic_ops/app/t_integration/configfiles_view.t
+++ b/traffic_ops/app/t_integration/configfiles_view.t
@@ -1,4 +1,18 @@
 package main;
+#
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
 use Mojo::Base -strict;
 use Test::More;
 use Test::Mojo;

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/e18e5fcd/traffic_ops/app/t_integration/extensions.t
----------------------------------------------------------------------
diff --git a/traffic_ops/app/t_integration/extensions.t b/traffic_ops/app/t_integration/extensions.t
index 6dfe622..f2a9616 100644
--- a/traffic_ops/app/t_integration/extensions.t
+++ b/traffic_ops/app/t_integration/extensions.t
@@ -1,4 +1,18 @@
 package main;
+#
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
 use Mojo::Base -strict;
 use Test::More;
 use Test::Mojo;

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/e18e5fcd/traffic_ops/app/t_integration/server.t
----------------------------------------------------------------------
diff --git a/traffic_ops/app/t_integration/server.t b/traffic_ops/app/t_integration/server.t
index d67df45..84d41ac 100644
--- a/traffic_ops/app/t_integration/server.t
+++ b/traffic_ops/app/t_integration/server.t
@@ -1,4 +1,18 @@
 package main;
+#
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
 use Mojo::Base -strict;
 use Test::More;
 use Test::Mojo;

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/e18e5fcd/traffic_ops/app/t_integration/servercheck.t
----------------------------------------------------------------------
diff --git a/traffic_ops/app/t_integration/servercheck.t b/traffic_ops/app/t_integration/servercheck.t
index 0229ee6..e004136 100644
--- a/traffic_ops/app/t_integration/servercheck.t
+++ b/traffic_ops/app/t_integration/servercheck.t
@@ -1,4 +1,18 @@
 package main;
+#
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
 use Mojo::Base -strict;
 use Test::More;
 use Test::Mojo;

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/e18e5fcd/traffic_ops/build/Vagrantfile
----------------------------------------------------------------------
diff --git a/traffic_ops/build/Vagrantfile b/traffic_ops/build/Vagrantfile
index 7c36a4b..147d09e 100644
--- a/traffic_ops/build/Vagrantfile
+++ b/traffic_ops/build/Vagrantfile
@@ -1,5 +1,19 @@
 # -*- mode: ruby -*-
 # vi: set ft=ruby :
+#
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
 
 # All Vagrant configuration is done below. The "2" in Vagrant.configure
 # configures the configuration version (we support older styles for

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/e18e5fcd/traffic_ops/experimental/ats_config/Ats_Config_Dockerfile
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ats_config/Ats_Config_Dockerfile b/traffic_ops/experimental/ats_config/Ats_Config_Dockerfile
index b5a0188..2c1c588 100644
--- a/traffic_ops/experimental/ats_config/Ats_Config_Dockerfile
+++ b/traffic_ops/experimental/ats_config/Ats_Config_Dockerfile
@@ -2,6 +2,20 @@
 # Dockerfile to build Traffic Ops ATS Config container images
 # Based on CentOS 6.6
 ############################################################
+#
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
 
 # Example Build and Run:
 # docker build --file Ats_Config_Dockerfile --rm --tag traffic_ops_ats_config:0.1 .

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/e18e5fcd/traffic_ops/experimental/postgrest/Postgrest_Dockerfile
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/postgrest/Postgrest_Dockerfile b/traffic_ops/experimental/postgrest/Postgrest_Dockerfile
index 54573f7..40c8675 100644
--- a/traffic_ops/experimental/postgrest/Postgrest_Dockerfile
+++ b/traffic_ops/experimental/postgrest/Postgrest_Dockerfile
@@ -2,6 +2,20 @@
 # Dockerfile to build Traffic Ops PostgREST container images
 # Based on Ubuntu 15.10
 ############################################################
+#
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
 
 # Example Build and Run:
 # docker build --file Postgrest_Dockerfile --rm --tag traffic_ops_postgrest:0.1 .

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/e18e5fcd/traffic_ops/experimental/server/notes.txt
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/server/notes.txt b/traffic_ops/experimental/server/notes.txt
index 68e8b4d..58152da 100644
--- a/traffic_ops/experimental/server/notes.txt
+++ b/traffic_ops/experimental/server/notes.txt
@@ -1,3 +1,17 @@
+#
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
 http://www.restapitutorial.com/httpstatuscodes.html
  - Should we be returning 201 created with a Location: on successful post? more things like that? 
  - should we limit the ats files to know ats hosts and CRConfig to known CRConfig users, etc?
@@ -17,4 +31,4 @@ http://www.restapitutorial.com/httpstatuscodes.html
  - pass encoder which has the write
  - pass db, not db.GlobalDB
  
- - 
\ No newline at end of file
+ - 

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/e18e5fcd/traffic_ops/experimental/ui/app/src/robots.txt
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/robots.txt b/traffic_ops/experimental/ui/app/src/robots.txt
index 9417495..1f3cd1a 100755
--- a/traffic_ops/experimental/ui/app/src/robots.txt
+++ b/traffic_ops/experimental/ui/app/src/robots.txt
@@ -1,3 +1,17 @@
+#
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
 # robotstxt.org
 
 User-agent: *

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/e18e5fcd/traffic_ops/experimental/url-rewriter-nginx/Url_Rewriter_Dockerfile
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/url-rewriter-nginx/Url_Rewriter_Dockerfile b/traffic_ops/experimental/url-rewriter-nginx/Url_Rewriter_Dockerfile
index 477394f..a278bf3 100644
--- a/traffic_ops/experimental/url-rewriter-nginx/Url_Rewriter_Dockerfile
+++ b/traffic_ops/experimental/url-rewriter-nginx/Url_Rewriter_Dockerfile
@@ -2,6 +2,20 @@
 # Dockerfile to build Traffic Ops Url Rewriter container images
 # Based on NGINX 1.9
 ############################################################
+#
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
 
 # Example Build and Run:
 # docker build --file Url_Rewriter_Dockerfile --rm --tag traffic_ops_url_rewriter:0.1 .

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/e18e5fcd/traffic_ops/goto/run
----------------------------------------------------------------------
diff --git a/traffic_ops/goto/run b/traffic_ops/goto/run
index 6ae9157..123416f 100755
--- a/traffic_ops/goto/run
+++ b/traffic_ops/goto/run
@@ -1,4 +1,18 @@
 #!/bin/bash
+#
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
 
 #"dbInfo" file stores creds
 source .dbInfo

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/e18e5fcd/traffic_portal/app/src/robots.txt
----------------------------------------------------------------------
diff --git a/traffic_portal/app/src/robots.txt b/traffic_portal/app/src/robots.txt
index 9417495..9f135a2 100755
--- a/traffic_portal/app/src/robots.txt
+++ b/traffic_portal/app/src/robots.txt
@@ -1,3 +1,17 @@
 # robotstxt.org
+#
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
 
 User-agent: *