Alexandros Kosiaris has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/377434 )
Change subject: Add copyrights ...................................................................... Add copyrights --- M constants.py M controller.py M handlers/namespace.py M handlers/network_policy.py M handlers/pod.py M policy_parser.py M tests/unit/test_policy_agent.py M tests/unit/test_policy_parser.py 8 files changed, 86 insertions(+), 4 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/calico-k8s-policy-controller refs/changes/34/377434/1 diff --git a/constants.py b/constants.py index ce4efe3..c265489 100644 --- a/constants.py +++ b/constants.py @@ -1,3 +1,17 @@ +# Copyright (c) 2017 Tigera, Inc. All rights reserved. +# +# 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. + # Logging constants. LOG_FORMAT = '%(asctime)s %(process)d %(levelname)s %(message)s' diff --git a/controller.py b/controller.py index b06485b..24bd041 100644 --- a/controller.py +++ b/controller.py @@ -1,4 +1,17 @@ -#!/usr/bin/python +# Copyright (c) 2017 Tigera, Inc. All rights reserved. +# +# 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 logging import os import Queue diff --git a/handlers/namespace.py b/handlers/namespace.py index 660150f..01759a7 100644 --- a/handlers/namespace.py +++ b/handlers/namespace.py @@ -1,3 +1,17 @@ +# Copyright (c) 2017 Tigera, Inc. All rights reserved. +# +# 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 logging import simplejson as json from constants import * diff --git a/handlers/network_policy.py b/handlers/network_policy.py index 7e7141a..35985c0 100644 --- a/handlers/network_policy.py +++ b/handlers/network_policy.py @@ -1,3 +1,17 @@ +# Copyright (c) 2017 Tigera, Inc. All rights reserved. +# +# 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 logging import json import os diff --git a/handlers/pod.py b/handlers/pod.py index 3bda5d1..ad5e870 100644 --- a/handlers/pod.py +++ b/handlers/pod.py @@ -1,3 +1,17 @@ +# Copyright (c) 2016-2017 Tigera, Inc. All rights reserved. +# +# 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 logging from constants import * from pycalico.datastore import DatastoreClient diff --git a/policy_parser.py b/policy_parser.py index 13444d0..a1a7ff7 100644 --- a/policy_parser.py +++ b/policy_parser.py @@ -1,4 +1,17 @@ -#!/usr/bin/python +# Copyright (c) 2017 Tigera, Inc. All rights reserved. +# +# 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 logging from constants import * diff --git a/tests/unit/test_policy_agent.py b/tests/unit/test_policy_agent.py index 53309d9..b58284a 100644 --- a/tests/unit/test_policy_agent.py +++ b/tests/unit/test_policy_agent.py @@ -1,4 +1,4 @@ -# Copyright 2015 Tigera, Inc +# Copyright 2015-2017 Tigera, Inc # # Licensed under the Apache License, Version 2.0 (the 'License'); # you may not use this file except in compliance with the License. diff --git a/tests/unit/test_policy_parser.py b/tests/unit/test_policy_parser.py index 9074f39..52526d7 100644 --- a/tests/unit/test_policy_parser.py +++ b/tests/unit/test_policy_parser.py @@ -1,4 +1,4 @@ -# Copyright 2015 Tigera, Inc +# Copyright 2015-2017 Tigera, Inc # # Licensed under the Apache License, Version 2.0 (the 'License'); # you may not use this file except in compliance with the License. -- To view, visit https://gerrit.wikimedia.org/r/377434 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I2ef4750d01b478c60b5b1b68a4c303756f7c82b5 Gerrit-PatchSet: 1 Gerrit-Project: operations/calico-k8s-policy-controller Gerrit-Branch: 0.6.0 Gerrit-Owner: Alexandros Kosiaris <akosia...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits