Return-Path: X-Original-To: apmail-aurora-commits-archive@minotaur.apache.org Delivered-To: apmail-aurora-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A62D6102FE for ; Mon, 20 Jan 2014 05:56:20 +0000 (UTC) Received: (qmail 85130 invoked by uid 500); 20 Jan 2014 05:56:20 -0000 Delivered-To: apmail-aurora-commits-archive@aurora.apache.org Received: (qmail 85092 invoked by uid 500); 20 Jan 2014 05:56:19 -0000 Mailing-List: contact commits-help@aurora.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.incubator.apache.org Delivered-To: mailing list commits@aurora.incubator.apache.org Received: (qmail 85036 invoked by uid 99); 20 Jan 2014 05:56:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jan 2014 05:56:17 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 20 Jan 2014 05:56:12 +0000 Received: (qmail 84946 invoked by uid 99); 20 Jan 2014 05:55:52 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jan 2014 05:55:52 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id A99A010EA1; Mon, 20 Jan 2014 05:55:51 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: wfarner@apache.org To: commits@aurora.incubator.apache.org Date: Mon, 20 Jan 2014 05:55:51 -0000 Message-Id: <8ce28aea6a8243bb881f8ec3b10372f9@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [2/4] Adding license header to missing files (py, bash, thrift, ...) X-Virus-Checked: Checked by ClamAV on apache.org http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/main/thrift/org/apache/aurora/gen/internal_rpc.thrift ---------------------------------------------------------------------- diff --git a/src/main/thrift/org/apache/aurora/gen/internal_rpc.thrift b/src/main/thrift/org/apache/aurora/gen/internal_rpc.thrift index 5ffea57..98fd8c2 100644 --- a/src/main/thrift/org/apache/aurora/gen/internal_rpc.thrift +++ b/src/main/thrift/org/apache/aurora/gen/internal_rpc.thrift @@ -1,16 +1,19 @@ -// Copyright 2013 Apache Software Foundation -// -// 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. +/* + * Copyright 2013 Apache Software Foundation + * + * 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. + */ + namespace java org.apache.aurora.gen.comm namespace py gen.apache.aurora.comm http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/main/thrift/org/apache/aurora/gen/storage.thrift ---------------------------------------------------------------------- diff --git a/src/main/thrift/org/apache/aurora/gen/storage.thrift b/src/main/thrift/org/apache/aurora/gen/storage.thrift index 826801b..f138c74 100644 --- a/src/main/thrift/org/apache/aurora/gen/storage.thrift +++ b/src/main/thrift/org/apache/aurora/gen/storage.thrift @@ -1,16 +1,19 @@ -// Copyright 2013 Apache Software Foundation -// -// 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. +/* + * Copyright 2013 Apache Software Foundation + * + * 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. + */ + namespace java org.apache.aurora.gen.storage namespace py gen.apache.aurora.storage http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/main/thrift/org/apache/aurora/gen/storage_local.thrift ---------------------------------------------------------------------- diff --git a/src/main/thrift/org/apache/aurora/gen/storage_local.thrift b/src/main/thrift/org/apache/aurora/gen/storage_local.thrift index 77a61f5..c0343c3 100644 --- a/src/main/thrift/org/apache/aurora/gen/storage_local.thrift +++ b/src/main/thrift/org/apache/aurora/gen/storage_local.thrift @@ -1,16 +1,19 @@ -// Copyright 2013 Apache Software Foundation -// -// 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. +/* + * Copyright 2013 Apache Software Foundation + * + * 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. + */ + // Thrift structures for a local log storage system, for use in simulated environments. namespace java org.apache.aurora.gen.test http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/main/thrift/org/apache/aurora/gen/test.thrift ---------------------------------------------------------------------- diff --git a/src/main/thrift/org/apache/aurora/gen/test.thrift b/src/main/thrift/org/apache/aurora/gen/test.thrift index b672207..eafed8f 100644 --- a/src/main/thrift/org/apache/aurora/gen/test.thrift +++ b/src/main/thrift/org/apache/aurora/gen/test.thrift @@ -1,16 +1,19 @@ -// Copyright 2013 Apache Software Foundation -// -// 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. +/* + * Copyright 2013 Apache Software Foundation + * + * 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. + */ + namespace java org.apache.aurora.gen.test namespace py gen.apache.aurora.test http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/main/thrift/org/apache/thermos/BUILD ---------------------------------------------------------------------- diff --git a/src/main/thrift/org/apache/thermos/BUILD b/src/main/thrift/org/apache/thermos/BUILD index f0b05c9..2765575 100644 --- a/src/main/thrift/org/apache/thermos/BUILD +++ b/src/main/thrift/org/apache/thermos/BUILD @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 python_thrift_library( http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/main/thrift/org/apache/thermos/thermos_internal.thrift ---------------------------------------------------------------------- diff --git a/src/main/thrift/org/apache/thermos/thermos_internal.thrift b/src/main/thrift/org/apache/thermos/thermos_internal.thrift index 5fc8b26..5100e23 100644 --- a/src/main/thrift/org/apache/thermos/thermos_internal.thrift +++ b/src/main/thrift/org/apache/thermos/thermos_internal.thrift @@ -1,3 +1,19 @@ +/* + * Copyright 2013 Apache Software Foundation + * + * 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. + */ + namespace py gen.apache.thermos enum ProcessState { http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/resources/org/apache/aurora/scheduler/http/BUILD ---------------------------------------------------------------------- diff --git a/src/resources/org/apache/aurora/scheduler/http/BUILD b/src/resources/org/apache/aurora/scheduler/http/BUILD deleted file mode 100644 index 2429887..0000000 --- a/src/resources/org/apache/aurora/scheduler/http/BUILD +++ /dev/null @@ -1,4 +0,0 @@ -resources( - name = 'http', - sources = rglobs('*.css', '*.html', '*.js', '*.png', '*.st') -) http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/BUILD ---------------------------------------------------------------------- diff --git a/src/test/python/BUILD b/src/test/python/BUILD index 3801b31..b2442b7 100644 --- a/src/test/python/BUILD +++ b/src/test/python/BUILD @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/BUILD ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/BUILD b/src/test/python/apache/aurora/BUILD index ab88f66..6f6d432 100644 --- a/src/test/python/apache/aurora/BUILD +++ b/src/test/python/apache/aurora/BUILD @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/admin/BUILD ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/admin/BUILD b/src/test/python/apache/aurora/admin/BUILD index c5468d2..d3820ff 100644 --- a/src/test/python/apache/aurora/admin/BUILD +++ b/src/test/python/apache/aurora/admin/BUILD @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 = [ pants(':mesos_maintenance'), http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/admin/test_mesos_maintenance.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/admin/test_mesos_maintenance.py b/src/test/python/apache/aurora/admin/test_mesos_maintenance.py index 4d85b4c..000fbe5 100644 --- a/src/test/python/apache/aurora/admin/test_mesos_maintenance.py +++ b/src/test/python/apache/aurora/admin/test_mesos_maintenance.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 unittest from apache.aurora.admin.mesos_maintenance import MesosMaintenance http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/BUILD ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/BUILD b/src/test/python/apache/aurora/client/BUILD index e3e8884..a61b37a 100644 --- a/src/test/python/apache/aurora/client/BUILD +++ b/src/test/python/apache/aurora/client/BUILD @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 = [ pants(':binding_helper'), http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/api/BUILD ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/api/BUILD b/src/test/python/apache/aurora/client/api/BUILD index 4c4bcca..5665dad 100644 --- a/src/test/python/apache/aurora/client/api/BUILD +++ b/src/test/python/apache/aurora/client/api/BUILD @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 = [ pants(':disambiguator'), http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/api/test_disambiguator.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/api/test_disambiguator.py b/src/test/python/apache/aurora/client/api/test_disambiguator.py index a93a8ee..d964d91 100644 --- a/src/test/python/apache/aurora/client/api/test_disambiguator.py +++ b/src/test/python/apache/aurora/client/api/test_disambiguator.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 functools from apache.aurora.client.api import AuroraClientAPI http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/api/test_health_check.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/api/test_health_check.py b/src/test/python/apache/aurora/client/api/test_health_check.py index a160462..d503281 100644 --- a/src/test/python/apache/aurora/client/api/test_health_check.py +++ b/src/test/python/apache/aurora/client/api/test_health_check.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 unittest from apache.aurora.common.http_signaler import HttpSignaler http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/api/test_instance_watcher.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/api/test_instance_watcher.py b/src/test/python/apache/aurora/client/api/test_instance_watcher.py index 1184d0b..f001ba4 100644 --- a/src/test/python/apache/aurora/client/api/test_instance_watcher.py +++ b/src/test/python/apache/aurora/client/api/test_instance_watcher.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 math import ceil import unittest http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/api/test_job_monitor.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/api/test_job_monitor.py b/src/test/python/apache/aurora/client/api/test_job_monitor.py index 491653b..4ab8a5d 100644 --- a/src/test/python/apache/aurora/client/api/test_job_monitor.py +++ b/src/test/python/apache/aurora/client/api/test_job_monitor.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 gen.apache.aurora.AuroraSchedulerManager import Client from gen.apache.aurora.ttypes import Response, ResponseCode, Result, ScheduleStatusResult, Identity, TaskQuery from apache.aurora.client.api import AuroraClientAPI http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/api/test_quota_check.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/api/test_quota_check.py b/src/test/python/apache/aurora/client/api/test_quota_check.py index c1fa6d0..6b1d7bd 100644 --- a/src/test/python/apache/aurora/client/api/test_quota_check.py +++ b/src/test/python/apache/aurora/client/api/test_quota_check.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 unittest from copy import deepcopy http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/api/test_restarter.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/api/test_restarter.py b/src/test/python/apache/aurora/client/api/test_restarter.py index 8d505eb..c538242 100644 --- a/src/test/python/apache/aurora/client/api/test_restarter.py +++ b/src/test/python/apache/aurora/client/api/test_restarter.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 apache.aurora.client.api.restarter import Restarter from apache.aurora.client.api.instance_watcher import InstanceWatcher from apache.aurora.client.api.updater_util import UpdaterConfig http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/api/test_scheduler_client.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/api/test_scheduler_client.py b/src/test/python/apache/aurora/client/api/test_scheduler_client.py index f3023d9..49cab15 100644 --- a/src/test/python/apache/aurora/client/api/test_scheduler_client.py +++ b/src/test/python/apache/aurora/client/api/test_scheduler_client.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 inspect import unittest http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/api/test_updater.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/api/test_updater.py b/src/test/python/apache/aurora/client/api/test_updater.py index 2e8c8a8..eabb938 100644 --- a/src/test/python/apache/aurora/client/api/test_updater.py +++ b/src/test/python/apache/aurora/client/api/test_updater.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 copy import deepcopy from os import environ from unittest import TestCase http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/cli/BUILD ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/cli/BUILD b/src/test/python/apache/aurora/client/cli/BUILD index 97b0744..f9ebe0c 100644 --- a/src/test/python/apache/aurora/client/cli/BUILD +++ b/src/test/python/apache/aurora/client/cli/BUILD @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 = [ pants(':job') ] http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/cli/test_create.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/cli/test_create.py b/src/test/python/apache/aurora/client/cli/test_create.py index deea706..64eb51b 100644 --- a/src/test/python/apache/aurora/client/cli/test_create.py +++ b/src/test/python/apache/aurora/client/cli/test_create.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 contextlib from twitter.common.contextutil import temporary_file http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/cli/test_diff.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/cli/test_diff.py b/src/test/python/apache/aurora/client/cli/test_diff.py index 726dff3..32433c1 100644 --- a/src/test/python/apache/aurora/client/cli/test_diff.py +++ b/src/test/python/apache/aurora/client/cli/test_diff.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 contextlib from apache.aurora.client.cli import ( http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/cli/test_kill.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/cli/test_kill.py b/src/test/python/apache/aurora/client/cli/test_kill.py index 0ee8b85..714d5fb 100644 --- a/src/test/python/apache/aurora/client/cli/test_kill.py +++ b/src/test/python/apache/aurora/client/cli/test_kill.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 contextlib import unittest http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/cli/test_status.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/cli/test_status.py b/src/test/python/apache/aurora/client/cli/test_status.py index 45c3edf..efcf164 100644 --- a/src/test/python/apache/aurora/client/cli/test_status.py +++ b/src/test/python/apache/aurora/client/cli/test_status.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 contextlib from gen.apache.aurora.ttypes import ( http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/cli/util.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/cli/util.py b/src/test/python/apache/aurora/client/cli/util.py index 79a497b..76f9543 100644 --- a/src/test/python/apache/aurora/client/cli/util.py +++ b/src/test/python/apache/aurora/client/cli/util.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 unittest from gen.apache.aurora.ttypes import ( http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/commands/BUILD ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/commands/BUILD b/src/test/python/apache/aurora/client/commands/BUILD index 3c3de5f..a275504 100644 --- a/src/test/python/apache/aurora/client/commands/BUILD +++ b/src/test/python/apache/aurora/client/commands/BUILD @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 = [ pants(':core'), pants(':run'), pants(':ssh') ] http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/commands/test_cancel_update.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/commands/test_cancel_update.py b/src/test/python/apache/aurora/client/commands/test_cancel_update.py index 4765f72..7824b76 100644 --- a/src/test/python/apache/aurora/client/commands/test_cancel_update.py +++ b/src/test/python/apache/aurora/client/commands/test_cancel_update.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 contextlib import unittest http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/commands/test_create.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/commands/test_create.py b/src/test/python/apache/aurora/client/commands/test_create.py index 557e2ac..adbff90 100644 --- a/src/test/python/apache/aurora/client/commands/test_create.py +++ b/src/test/python/apache/aurora/client/commands/test_create.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 contextlib import unittest http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/commands/test_diff.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/commands/test_diff.py b/src/test/python/apache/aurora/client/commands/test_diff.py index 3f07805..339459e 100644 --- a/src/test/python/apache/aurora/client/commands/test_diff.py +++ b/src/test/python/apache/aurora/client/commands/test_diff.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 contextlib from apache.aurora.client.commands.core import diff http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/commands/test_kill.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/commands/test_kill.py b/src/test/python/apache/aurora/client/commands/test_kill.py index 39976d0..7639dc9 100644 --- a/src/test/python/apache/aurora/client/commands/test_kill.py +++ b/src/test/python/apache/aurora/client/commands/test_kill.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 contextlib import unittest http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/commands/test_listjobs.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/commands/test_listjobs.py b/src/test/python/apache/aurora/client/commands/test_listjobs.py index 1ea6a52..099475c 100644 --- a/src/test/python/apache/aurora/client/commands/test_listjobs.py +++ b/src/test/python/apache/aurora/client/commands/test_listjobs.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 contextlib import unittest http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/commands/test_restart.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/commands/test_restart.py b/src/test/python/apache/aurora/client/commands/test_restart.py index f3040e4..f281b35 100644 --- a/src/test/python/apache/aurora/client/commands/test_restart.py +++ b/src/test/python/apache/aurora/client/commands/test_restart.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 contextlib import functools http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/commands/test_run.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/commands/test_run.py b/src/test/python/apache/aurora/client/commands/test_run.py index b214f70..abcc275 100644 --- a/src/test/python/apache/aurora/client/commands/test_run.py +++ b/src/test/python/apache/aurora/client/commands/test_run.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 contextlib from apache.aurora.client.commands.run import run http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/commands/test_ssh.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/commands/test_ssh.py b/src/test/python/apache/aurora/client/commands/test_ssh.py index c9a5939..d0b9188 100644 --- a/src/test/python/apache/aurora/client/commands/test_ssh.py +++ b/src/test/python/apache/aurora/client/commands/test_ssh.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 contextlib from apache.aurora.client.commands.ssh import ssh http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/commands/test_status.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/commands/test_status.py b/src/test/python/apache/aurora/client/commands/test_status.py index 66c06a2..b63f794 100644 --- a/src/test/python/apache/aurora/client/commands/test_status.py +++ b/src/test/python/apache/aurora/client/commands/test_status.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 contextlib import unittest http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/commands/test_update.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/commands/test_update.py b/src/test/python/apache/aurora/client/commands/test_update.py index 45ecd12..21951b6 100644 --- a/src/test/python/apache/aurora/client/commands/test_update.py +++ b/src/test/python/apache/aurora/client/commands/test_update.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 contextlib import functools import unittest http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/commands/util.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/commands/util.py b/src/test/python/apache/aurora/client/commands/util.py index 426216c..11ae990 100644 --- a/src/test/python/apache/aurora/client/commands/util.py +++ b/src/test/python/apache/aurora/client/commands/util.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 unittest from apache.aurora.client.hooks.hooked_api import HookedAuroraClientAPI http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/fake_scheduler_proxy.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/fake_scheduler_proxy.py b/src/test/python/apache/aurora/client/fake_scheduler_proxy.py index 7565814..6a1f78b 100644 --- a/src/test/python/apache/aurora/client/fake_scheduler_proxy.py +++ b/src/test/python/apache/aurora/client/fake_scheduler_proxy.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 apache.aurora.client.api.scheduler_client import SchedulerProxy http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/hooks/BUILD ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/hooks/BUILD b/src/test/python/apache/aurora/client/hooks/BUILD index 67c6e41..0283838 100644 --- a/src/test/python/apache/aurora/client/hooks/BUILD +++ b/src/test/python/apache/aurora/client/hooks/BUILD @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 = [ pants(':hooked_api'), http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/hooks/test_hooked_api.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/hooks/test_hooked_api.py b/src/test/python/apache/aurora/client/hooks/test_hooked_api.py index 2226613..488d2be 100644 --- a/src/test/python/apache/aurora/client/hooks/test_hooked_api.py +++ b/src/test/python/apache/aurora/client/hooks/test_hooked_api.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 inspect import getargspec from apache.aurora.client.hooks.hooked_api import HookedAuroraClientAPI, NonHookedAuroraClientAPI http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py b/src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py index 1cb1fd4..711f72a 100644 --- a/src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py +++ b/src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 functools import unittest http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/test_binding_helper.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/test_binding_helper.py b/src/test/python/apache/aurora/client/test_binding_helper.py index 9bbda4c..338f18a 100644 --- a/src/test/python/apache/aurora/client/test_binding_helper.py +++ b/src/test/python/apache/aurora/client/test_binding_helper.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 textwrap from apache.aurora.client import binding_helper http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/client/test_config.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/test_config.py b/src/test/python/apache/aurora/client/test_config.py index ae7d9b7..846975f 100644 --- a/src/test/python/apache/aurora/client/test_config.py +++ b/src/test/python/apache/aurora/client/test_config.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 twitter.common.contextutil import temporary_dir, temporary_file http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/common/BUILD ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/common/BUILD b/src/test/python/apache/aurora/common/BUILD index 9eeae2d..9c8931b 100644 --- a/src/test/python/apache/aurora/common/BUILD +++ b/src/test/python/apache/aurora/common/BUILD @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/common/test_aurora_job_key.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/common/test_aurora_job_key.py b/src/test/python/apache/aurora/common/test_aurora_job_key.py index 8cf746e..34f1ead 100644 --- a/src/test/python/apache/aurora/common/test_aurora_job_key.py +++ b/src/test/python/apache/aurora/common/test_aurora_job_key.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 unittest from apache.aurora.common.aurora_job_key import AuroraJobKey http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/common/test_cluster.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/common/test_cluster.py b/src/test/python/apache/aurora/common/test_cluster.py index 39f1fa4..6ef735f 100644 --- a/src/test/python/apache/aurora/common/test_cluster.py +++ b/src/test/python/apache/aurora/common/test_cluster.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 apache.aurora.common.cluster import Cluster from pystachio import ( http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/common/test_cluster_option.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/common/test_cluster_option.py b/src/test/python/apache/aurora/common/test_cluster_option.py index 2d47b95..850b7d6 100644 --- a/src/test/python/apache/aurora/common/test_cluster_option.py +++ b/src/test/python/apache/aurora/common/test_cluster_option.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 pytest from twitter.common import options http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/common/test_clusters.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/common/test_clusters.py b/src/test/python/apache/aurora/common/test_clusters.py index f5a3526..0a0329b 100644 --- a/src/test/python/apache/aurora/common/test_clusters.py +++ b/src/test/python/apache/aurora/common/test_clusters.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 json import os http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/common/test_http_signaler.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/common/test_http_signaler.py b/src/test/python/apache/aurora/common/test_http_signaler.py index 29a28b5..661a017 100644 --- a/src/test/python/apache/aurora/common/test_http_signaler.py +++ b/src/test/python/apache/aurora/common/test_http_signaler.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 socket import timeout as SocketTimeout import unittest http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/config/BUILD ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/config/BUILD b/src/test/python/apache/aurora/config/BUILD index 3b59521..b0951e8 100644 --- a/src/test/python/apache/aurora/config/BUILD +++ b/src/test/python/apache/aurora/config/BUILD @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 = [ pants(':test_base'), http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/config/test_base.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/config/test_base.py b/src/test/python/apache/aurora/config/test_base.py index d8ffdc6..f67dce9 100644 --- a/src/test/python/apache/aurora/config/test_base.py +++ b/src/test/python/apache/aurora/config/test_base.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 pytest from twitter.common.contextutil import temporary_file http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/config/test_constraint_parsing.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/config/test_constraint_parsing.py b/src/test/python/apache/aurora/config/test_constraint_parsing.py index e1e7763..4249269 100644 --- a/src/test/python/apache/aurora/config/test_constraint_parsing.py +++ b/src/test/python/apache/aurora/config/test_constraint_parsing.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 pytest import unittest http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/config/test_loader.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/config/test_loader.py b/src/test/python/apache/aurora/config/test_loader.py index 7c05c87..619b270 100644 --- a/src/test/python/apache/aurora/config/test_loader.py +++ b/src/test/python/apache/aurora/config/test_loader.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 json import tempfile http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/config/test_thrift.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/config/test_thrift.py b/src/test/python/apache/aurora/config/test_thrift.py index 494ed81..4be11b5 100644 --- a/src/test/python/apache/aurora/config/test_thrift.py +++ b/src/test/python/apache/aurora/config/test_thrift.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 getpass import re http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/executor/BUILD ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/executor/BUILD b/src/test/python/apache/aurora/executor/BUILD index b9d1318..38c11d5 100644 --- a/src/test/python/apache/aurora/executor/BUILD +++ b/src/test/python/apache/aurora/executor/BUILD @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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. +# + # TODO(jfarrell): AURORA-14 for executor_builds, gc_executor and thermos_executor python_test_suite(name = 'all', dependencies = [ http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/executor/common/BUILD ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/executor/common/BUILD b/src/test/python/apache/aurora/executor/common/BUILD index bece036..2b3ee27 100644 --- a/src/test/python/apache/aurora/executor/common/BUILD +++ b/src/test/python/apache/aurora/executor/common/BUILD @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/executor/common/test_directory_sandbox.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/executor/common/test_directory_sandbox.py b/src/test/python/apache/aurora/executor/common/test_directory_sandbox.py index 513e722..f8231fb 100644 --- a/src/test/python/apache/aurora/executor/common/test_directory_sandbox.py +++ b/src/test/python/apache/aurora/executor/common/test_directory_sandbox.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 apache.aurora.executor.common.sandbox import DirectorySandbox http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/executor/common/test_health_checker.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/executor/common/test_health_checker.py b/src/test/python/apache/aurora/executor/common/test_health_checker.py index 23457c8..384d9f6 100644 --- a/src/test/python/apache/aurora/executor/common/test_health_checker.py +++ b/src/test/python/apache/aurora/executor/common/test_health_checker.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 time import unittest http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/executor/common/test_status_checker.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/executor/common/test_status_checker.py b/src/test/python/apache/aurora/executor/common/test_status_checker.py index d463139..c87c101 100644 --- a/src/test/python/apache/aurora/executor/common/test_status_checker.py +++ b/src/test/python/apache/aurora/executor/common/test_status_checker.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 threading from apache.aurora.executor.common.status_checker import ( http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/executor/common/test_task_info.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/executor/common/test_task_info.py b/src/test/python/apache/aurora/executor/common/test_task_info.py index 1523ee7..51f6ded 100644 --- a/src/test/python/apache/aurora/executor/common/test_task_info.py +++ b/src/test/python/apache/aurora/executor/common/test_task_info.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 getpass from apache.aurora.config.schema.base import ( http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/executor/test_executor_builds.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/executor/test_executor_builds.py b/src/test/python/apache/aurora/executor/test_executor_builds.py index a5db8af..4483674 100644 --- a/src/test/python/apache/aurora/executor/test_executor_builds.py +++ b/src/test/python/apache/aurora/executor/test_executor_builds.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 subprocess http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/executor/test_executor_detector.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/executor/test_executor_detector.py b/src/test/python/apache/aurora/executor/test_executor_detector.py index 81158e3..951ae65 100644 --- a/src/test/python/apache/aurora/executor/test_executor_detector.py +++ b/src/test/python/apache/aurora/executor/test_executor_detector.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 itertools import os http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/executor/test_executor_vars.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/executor/test_executor_vars.py b/src/test/python/apache/aurora/executor/test_executor_vars.py index e81ffa8..685d6ce 100644 --- a/src/test/python/apache/aurora/executor/test_executor_vars.py +++ b/src/test/python/apache/aurora/executor/test_executor_vars.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 twitter.common.contextutil import temporary_file, open_zip from apache.aurora.executor.executor_vars import ExecutorVars http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/executor/test_gc_executor.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/executor/test_gc_executor.py b/src/test/python/apache/aurora/executor/test_gc_executor.py index 0a2fa35..0359098 100644 --- a/src/test/python/apache/aurora/executor/test_gc_executor.py +++ b/src/test/python/apache/aurora/executor/test_gc_executor.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 collections import namedtuple import contextlib import functools http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/executor/test_thermos_executor.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/executor/test_thermos_executor.py b/src/test/python/apache/aurora/executor/test_thermos_executor.py index 2166c9a..d91c3b0 100644 --- a/src/test/python/apache/aurora/executor/test_thermos_executor.py +++ b/src/test/python/apache/aurora/executor/test_thermos_executor.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer from collections import defaultdict import getpass http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/aurora/executor/test_thermos_task_runner.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/executor/test_thermos_task_runner.py b/src/test/python/apache/aurora/executor/test_thermos_task_runner.py index eb0eb7b..e8c7c0e 100644 --- a/src/test/python/apache/aurora/executor/test_thermos_task_runner.py +++ b/src/test/python/apache/aurora/executor/test_thermos_task_runner.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 contextlib import getpass import os http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/thermos/BUILD ---------------------------------------------------------------------- diff --git a/src/test/python/apache/thermos/BUILD b/src/test/python/apache/thermos/BUILD index 49add5e..97f2364 100644 --- a/src/test/python/apache/thermos/BUILD +++ b/src/test/python/apache/thermos/BUILD @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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/incubator-aurora/blob/d7a82dc4/src/test/python/apache/thermos/bin/BUILD ---------------------------------------------------------------------- diff --git a/src/test/python/apache/thermos/bin/BUILD b/src/test/python/apache/thermos/bin/BUILD index 0390703..5b5cd18 100644 --- a/src/test/python/apache/thermos/bin/BUILD +++ b/src/test/python/apache/thermos/bin/BUILD @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 = [ pants(':small'), http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/thermos/bin/test_thermos.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/thermos/bin/test_thermos.py b/src/test/python/apache/thermos/bin/test_thermos.py index 889c098..17bbffa 100644 --- a/src/test/python/apache/thermos/bin/test_thermos.py +++ b/src/test/python/apache/thermos/bin/test_thermos.py @@ -1 +1,17 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 apache.thermos.bin import thermos http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/thermos/common/BUILD ---------------------------------------------------------------------- diff --git a/src/test/python/apache/thermos/common/BUILD b/src/test/python/apache/thermos/common/BUILD index 04de70c..00eb3d2 100644 --- a/src/test/python/apache/thermos/common/BUILD +++ b/src/test/python/apache/thermos/common/BUILD @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 = [ pants(':test_pathspec'), http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/thermos/common/test_pathspec.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/thermos/common/test_pathspec.py b/src/test/python/apache/thermos/common/test_pathspec.py index 275004c..f7182af 100644 --- a/src/test/python/apache/thermos/common/test_pathspec.py +++ b/src/test/python/apache/thermos/common/test_pathspec.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 apache.thermos.common.path import TaskPath http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d7a82dc4/src/test/python/apache/thermos/common/test_planner.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/thermos/common/test_planner.py b/src/test/python/apache/thermos/common/test_planner.py index 879cf29..51feac9 100644 --- a/src/test/python/apache/thermos/common/test_planner.py +++ b/src/test/python/apache/thermos/common/test_planner.py @@ -1,3 +1,19 @@ +# +# Copyright 2013 Apache Software Foundation +# +# 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 pytest from apache.thermos.common.planner import Planner