You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by jf...@apache.org on 2015/05/08 04:46:42 UTC
aurora git commit: Adds missing license headers in new files created
since 0.7.0
Repository: aurora
Updated Branches:
refs/heads/master 100939e49 -> 018043a01
Adds missing license headers in new files created since 0.7.0
Bugs closed: AURORA-1312
Reviewed at https://reviews.apache.org/r/33967/
Project: http://git-wip-us.apache.org/repos/asf/aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/aurora/commit/018043a0
Tree: http://git-wip-us.apache.org/repos/asf/aurora/tree/018043a0
Diff: http://git-wip-us.apache.org/repos/asf/aurora/diff/018043a0
Branch: refs/heads/master
Commit: 018043a012b9b72a429721fa7847e2125787d5d3
Parents: 100939e
Author: Jake Farrell <jf...@apache.org>
Authored: Thu May 7 22:46:33 2015 -0400
Committer: jfarrell <jf...@apache.org>
Committed: Thu May 7 22:46:33 2015 -0400
----------------------------------------------------------------------
src/test/python/apache/aurora/executor/bin/BUILD | 14 ++++++++++++++
.../executor/bin/test_gc_executor_entry_point.py | 14 ++++++++++++++
.../executor/bin/test_thermos_executor_entry_point.py | 14 ++++++++++++++
.../python/apache/thermos/monitoring/test_detector.py | 14 ++++++++++++++
.../python/apache/thermos/monitoring/test_garbage.py | 14 ++++++++++++++
.../scheduler/http/api/security/shiro-example.ini | 14 ++++++++++++++
.../api/security/shiro-malformed-extra-sections.ini | 14 ++++++++++++++
.../api/security/shiro-malformed-missing-sections.ini | 14 ++++++++++++++
.../org/apache/thermos/root/checkpoints/README | 14 ++++++++++++++
src/test/sh/org/apache/aurora/e2e/Dockerfile | 14 ++++++++++++++
10 files changed, 140 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/aurora/blob/018043a0/src/test/python/apache/aurora/executor/bin/BUILD
----------------------------------------------------------------------
diff --git a/src/test/python/apache/aurora/executor/bin/BUILD b/src/test/python/apache/aurora/executor/bin/BUILD
index 65a8b6c..918a769 100644
--- a/src/test/python/apache/aurora/executor/bin/BUILD
+++ b/src/test/python/apache/aurora/executor/bin/BUILD
@@ -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.
+#
+
python_test_suite(
name = 'all',
dependencies = [
http://git-wip-us.apache.org/repos/asf/aurora/blob/018043a0/src/test/python/apache/aurora/executor/bin/test_gc_executor_entry_point.py
----------------------------------------------------------------------
diff --git a/src/test/python/apache/aurora/executor/bin/test_gc_executor_entry_point.py b/src/test/python/apache/aurora/executor/bin/test_gc_executor_entry_point.py
index 4446e55..903741a 100644
--- a/src/test/python/apache/aurora/executor/bin/test_gc_executor_entry_point.py
+++ b/src/test/python/apache/aurora/executor/bin/test_gc_executor_entry_point.py
@@ -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.
+#
+
def test_gc_executor_valid_import_dependencies():
from apache.aurora.executor.bin.gc_executor_main import proxy_main
assert proxy_main is not None
http://git-wip-us.apache.org/repos/asf/aurora/blob/018043a0/src/test/python/apache/aurora/executor/bin/test_thermos_executor_entry_point.py
----------------------------------------------------------------------
diff --git a/src/test/python/apache/aurora/executor/bin/test_thermos_executor_entry_point.py b/src/test/python/apache/aurora/executor/bin/test_thermos_executor_entry_point.py
index 841cef0..afd59a1 100644
--- a/src/test/python/apache/aurora/executor/bin/test_thermos_executor_entry_point.py
+++ b/src/test/python/apache/aurora/executor/bin/test_thermos_executor_entry_point.py
@@ -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.
+#
+
def test_thermos_executor_valid_import_dependencies():
from apache.aurora.executor.bin.thermos_executor_main import proxy_main
assert proxy_main is not None
http://git-wip-us.apache.org/repos/asf/aurora/blob/018043a0/src/test/python/apache/thermos/monitoring/test_detector.py
----------------------------------------------------------------------
diff --git a/src/test/python/apache/thermos/monitoring/test_detector.py b/src/test/python/apache/thermos/monitoring/test_detector.py
index bf9043a..1d27b1c 100644
--- a/src/test/python/apache/thermos/monitoring/test_detector.py
+++ b/src/test/python/apache/thermos/monitoring/test_detector.py
@@ -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.
+#
+
import os
import pytest
http://git-wip-us.apache.org/repos/asf/aurora/blob/018043a0/src/test/python/apache/thermos/monitoring/test_garbage.py
----------------------------------------------------------------------
diff --git a/src/test/python/apache/thermos/monitoring/test_garbage.py b/src/test/python/apache/thermos/monitoring/test_garbage.py
index 8232874..4309c46 100644
--- a/src/test/python/apache/thermos/monitoring/test_garbage.py
+++ b/src/test/python/apache/thermos/monitoring/test_garbage.py
@@ -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.
+#
+
import os
from mock import call, patch
http://git-wip-us.apache.org/repos/asf/aurora/blob/018043a0/src/test/resources/org/apache/aurora/scheduler/http/api/security/shiro-example.ini
----------------------------------------------------------------------
diff --git a/src/test/resources/org/apache/aurora/scheduler/http/api/security/shiro-example.ini b/src/test/resources/org/apache/aurora/scheduler/http/api/security/shiro-example.ini
index 5daeabb..fdb3475 100644
--- a/src/test/resources/org/apache/aurora/scheduler/http/api/security/shiro-example.ini
+++ b/src/test/resources/org/apache/aurora/scheduler/http/api/security/shiro-example.ini
@@ -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.
+;
+
; For documentation on the format see http://shiro.apache.org/configuration.html
; Note that we only use the [users] and [roles] sections - others are configured by Guice.
; Unsuitable for production use.
http://git-wip-us.apache.org/repos/asf/aurora/blob/018043a0/src/test/resources/org/apache/aurora/scheduler/http/api/security/shiro-malformed-extra-sections.ini
----------------------------------------------------------------------
diff --git a/src/test/resources/org/apache/aurora/scheduler/http/api/security/shiro-malformed-extra-sections.ini b/src/test/resources/org/apache/aurora/scheduler/http/api/security/shiro-malformed-extra-sections.ini
index c1e7f4f..ceac5d0 100644
--- a/src/test/resources/org/apache/aurora/scheduler/http/api/security/shiro-malformed-extra-sections.ini
+++ b/src/test/resources/org/apache/aurora/scheduler/http/api/security/shiro-malformed-extra-sections.ini
@@ -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.
+;
+
; Malformed ini file for test
[users]
root = secret, admin
http://git-wip-us.apache.org/repos/asf/aurora/blob/018043a0/src/test/resources/org/apache/aurora/scheduler/http/api/security/shiro-malformed-missing-sections.ini
----------------------------------------------------------------------
diff --git a/src/test/resources/org/apache/aurora/scheduler/http/api/security/shiro-malformed-missing-sections.ini b/src/test/resources/org/apache/aurora/scheduler/http/api/security/shiro-malformed-missing-sections.ini
index 13016cb..5303c6e 100644
--- a/src/test/resources/org/apache/aurora/scheduler/http/api/security/shiro-malformed-missing-sections.ini
+++ b/src/test/resources/org/apache/aurora/scheduler/http/api/security/shiro-malformed-missing-sections.ini
@@ -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.
+;
+
; Malformed shiro.ini for test
[users]
root = secret, admin
http://git-wip-us.apache.org/repos/asf/aurora/blob/018043a0/src/test/resources/org/apache/thermos/root/checkpoints/README
----------------------------------------------------------------------
diff --git a/src/test/resources/org/apache/thermos/root/checkpoints/README b/src/test/resources/org/apache/thermos/root/checkpoints/README
index 2a57f57..4b5b8b0 100644
--- a/src/test/resources/org/apache/thermos/root/checkpoints/README
+++ b/src/test/resources/org/apache/thermos/root/checkpoints/README
@@ -1 +1,15 @@
+#
+# 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.
+#
+
For details on these files, see docs/test-resource-generation.md.
http://git-wip-us.apache.org/repos/asf/aurora/blob/018043a0/src/test/sh/org/apache/aurora/e2e/Dockerfile
----------------------------------------------------------------------
diff --git a/src/test/sh/org/apache/aurora/e2e/Dockerfile b/src/test/sh/org/apache/aurora/e2e/Dockerfile
index d316b87..e7f7f54 100644
--- a/src/test/sh/org/apache/aurora/e2e/Dockerfile
+++ b/src/test/sh/org/apache/aurora/e2e/Dockerfile
@@ -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.
+#
+
FROM python:2.7
COPY http_example.py /tmp/