Adding license to new files.

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

Branch: refs/heads/master
Commit: c55901151237a137ef643143ffbb9dda204dc861
Parents: a714f00
Author: Casey Miller <[email protected]>
Authored: Sun Feb 15 11:57:36 2015 -0800
Committer: Casey Miller <[email protected]>
Committed: Sun Feb 15 11:57:36 2015 -0800

----------------------------------------------------------------------
 .../py-helix-admin/helix/statemodeldefs.py        | 18 ++++++++++++++++++
 .../py-helix-admin/helix/test/test_helix.py       | 18 ++++++++++++++++++
 contributors/py-helix-admin/helix/zkfunctions.py  | 18 ++++++++++++++++++
 3 files changed, 54 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/helix/blob/c5590115/contributors/py-helix-admin/helix/statemodeldefs.py
----------------------------------------------------------------------
diff --git a/contributors/py-helix-admin/helix/statemodeldefs.py 
b/contributors/py-helix-admin/helix/statemodeldefs.py
index 8446ae9..5c0fc8a 100644
--- a/contributors/py-helix-admin/helix/statemodeldefs.py
+++ b/contributors/py-helix-admin/helix/statemodeldefs.py
@@ -1,3 +1,21 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
 from ordereddict import OrderedDict
 
 # These essentially come from the java classes defined here. It is cheesey and 
should probably come from a configuration file.

http://git-wip-us.apache.org/repos/asf/helix/blob/c5590115/contributors/py-helix-admin/helix/test/test_helix.py
----------------------------------------------------------------------
diff --git a/contributors/py-helix-admin/helix/test/test_helix.py 
b/contributors/py-helix-admin/helix/test/test_helix.py
index f466086..752c4e0 100755
--- a/contributors/py-helix-admin/helix/test/test_helix.py
+++ b/contributors/py-helix-admin/helix/test/test_helix.py
@@ -1,4 +1,22 @@
 #!/usr/bin/env python2.6
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
 
 from helixexceptions import HelixException
 from helixexceptions import HelixAlreadyExistsException

http://git-wip-us.apache.org/repos/asf/helix/blob/c5590115/contributors/py-helix-admin/helix/zkfunctions.py
----------------------------------------------------------------------
diff --git a/contributors/py-helix-admin/helix/zkfunctions.py 
b/contributors/py-helix-admin/helix/zkfunctions.py
index aed2b74..8d389e8 100644
--- a/contributors/py-helix-admin/helix/zkfunctions.py
+++ b/contributors/py-helix-admin/helix/zkfunctions.py
@@ -1,3 +1,21 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
 """library to handle helix commands"""
 # XXX: Explore using zookeeper transactions for some of the write operations 
into zookeeper.
 # Currently, it looks like ensure_path and create with the make_path argument 
are not supported in transactions so it isn't usable out of the box.

Reply via email to