Updated Branches:
refs/heads/master 02dcd649f -> a97981813
Adding license header to python files
Project: http://git-wip-us.apache.org/repos/asf/incubator-helix/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-helix/commit/a9798181
Tree: http://git-wip-us.apache.org/repos/asf/incubator-helix/tree/a9798181
Diff: http://git-wip-us.apache.org/repos/asf/incubator-helix/diff/a9798181
Branch: refs/heads/master
Commit: a9798181391f35aa55c554f0486659a000a14494
Parents: 02dcd64
Author: Kishore Gopalakrishna <g.kishore@gmail.com>
Authored: Sun Jun 16 08:24:34 2013 -0700
Committer: Kishore Gopalakrishna <g.kishore@gmail.com>
Committed: Sun Jun 16 08:24:34 2013 -0700
----------------------------------------------------------------------
.../integration-test/script/simpleHttpClient.py | 21 +++++++++++++++++++-
.../integration-test/script/simpleHttpServer.py | 20 ++++++++++++++++++-
2 files changed, 39 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/a9798181/helix-agent/src/main/scripts/integration-test/script/simpleHttpClient.py
----------------------------------------------------------------------
diff --git a/helix-agent/src/main/scripts/integration-test/script/simpleHttpClient.py b/helix-agent/src/main/scripts/integration-test/script/simpleHttpClient.py
index cfd16aa..eeb5e03 100755
--- a/helix-agent/src/main/scripts/integration-test/script/simpleHttpClient.py
+++ b/helix-agent/src/main/scripts/integration-test/script/simpleHttpClient.py
@@ -1,4 +1,23 @@
#!/usr/bin/env python
+#
+# 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.
+#
+
import httplib
import sys
@@ -23,4 +42,4 @@ data_received = rsp.read()
print(data_received)
conn.close()
-sys.exit(0)
\ No newline at end of file
+sys.exit(0)
http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/a9798181/helix-agent/src/main/scripts/integration-test/script/simpleHttpServer.py
----------------------------------------------------------------------
diff --git a/helix-agent/src/main/scripts/integration-test/script/simpleHttpServer.py b/helix-agent/src/main/scripts/integration-test/script/simpleHttpServer.py
index 7f1322e..15918af 100755
--- a/helix-agent/src/main/scripts/integration-test/script/simpleHttpServer.py
+++ b/helix-agent/src/main/scripts/integration-test/script/simpleHttpServer.py
@@ -1,4 +1,22 @@
#!/usr/bin/python
+#
+# 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 BaseHTTPServer import BaseHTTPRequestHandler,HTTPServer
@@ -33,4 +51,4 @@ try:
except KeyboardInterrupt:
print '^C received, shutting down the web server'
- server.socket.close()
\ No newline at end of file
+ server.socket.close()
|