Added apache license
Project: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/commit/1e932acd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/tree/1e932acd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/diff/1e932acd
Branch: refs/heads/master
Commit: 1e932acd81c91f94b2df9789e78d4bcafe74e756
Parents: 81b5177
Author: franzdecopenhague <franzdecopenhague@outlook.com>
Authored: Tue Mar 24 01:43:35 2015 +0000
Committer: franzdecopenhague <franzdecopenhague@outlook.com>
Committed: Tue Mar 24 01:43:35 2015 +0000
----------------------------------------------------------------------
consumers/dfwebserver/makefile | 13 +++++++++++++
consumers/dfwebserver/setup.py | 13 +++++++++++++
consumers/dfwebserver/src/dfconvert.c | 17 +++++++++++++++++
consumers/dfwebserver/src/dfutil.c | 17 +++++++++++++++++
consumers/dfwebserver/test.py | 13 +++++++++++++
consumers/dfwebserver/testSubprocess.py | 13 +++++++++++++
6 files changed, 86 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/1e932acd/consumers/dfwebserver/makefile
----------------------------------------------------------------------
diff --git a/consumers/dfwebserver/makefile b/consumers/dfwebserver/makefile
index a4e3661..b3546c3 100644
--- a/consumers/dfwebserver/makefile
+++ b/consumers/dfwebserver/makefile
@@ -1,3 +1,16 @@
+#
+# 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.
+
#build
# make
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/1e932acd/consumers/dfwebserver/setup.py
----------------------------------------------------------------------
diff --git a/consumers/dfwebserver/setup.py b/consumers/dfwebserver/setup.py
index d3cdf47..8675b22 100644
--- a/consumers/dfwebserver/setup.py
+++ b/consumers/dfwebserver/setup.py
@@ -1,3 +1,16 @@
+#
+# 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 distutils.core import setup, Extension
# define the extension module
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/1e932acd/consumers/dfwebserver/src/dfconvert.c
----------------------------------------------------------------------
diff --git a/consumers/dfwebserver/src/dfconvert.c b/consumers/dfwebserver/src/dfconvert.c
index 99698fc..b284222 100644
--- a/consumers/dfwebserver/src/dfconvert.c
+++ b/consumers/dfwebserver/src/dfconvert.c
@@ -1,3 +1,20 @@
+// 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.
+
#include <Python.h>
typedef struct DFError DFError;
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/1e932acd/consumers/dfwebserver/src/dfutil.c
----------------------------------------------------------------------
diff --git a/consumers/dfwebserver/src/dfutil.c b/consumers/dfwebserver/src/dfutil.c
index 8c50aa9..9e7b689 100644
--- a/consumers/dfwebserver/src/dfutil.c
+++ b/consumers/dfwebserver/src/dfutil.c
@@ -1,3 +1,20 @@
+// 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.
+
#include <Python.h>
typedef struct DFError DFError;
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/1e932acd/consumers/dfwebserver/test.py
----------------------------------------------------------------------
diff --git a/consumers/dfwebserver/test.py b/consumers/dfwebserver/test.py
index 13ee982..213ee2b 100644
--- a/consumers/dfwebserver/test.py
+++ b/consumers/dfwebserver/test.py
@@ -1,3 +1,16 @@
+#
+# 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.
+
# To test:
#
# make clean dev
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/1e932acd/consumers/dfwebserver/testSubprocess.py
----------------------------------------------------------------------
diff --git a/consumers/dfwebserver/testSubprocess.py b/consumers/dfwebserver/testSubprocess.py
index 7a67b1b..e3bcfa6 100644
--- a/consumers/dfwebserver/testSubprocess.py
+++ b/consumers/dfwebserver/testSubprocess.py
@@ -1,5 +1,18 @@
#!/usr/bin/python
+#
+# 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
import time
|