You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/06/04 22:12:58 UTC
[GitHub] merlimat closed pull request #1893: Include functions in
pulsar-client Python package
merlimat closed pull request #1893: Include functions in pulsar-client Python package
URL: https://github.com/apache/incubator-pulsar/pull/1893
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/pulsar-client-cpp/python/pulsar.py b/pulsar-client-cpp/python/pulsar/__init__.py
similarity index 100%
rename from pulsar-client-cpp/python/pulsar.py
rename to pulsar-client-cpp/python/pulsar/__init__.py
diff --git a/pulsar-client-cpp/python/functions/__init__.py b/pulsar-client-cpp/python/pulsar/functions/__init__.py
similarity index 100%
rename from pulsar-client-cpp/python/functions/__init__.py
rename to pulsar-client-cpp/python/pulsar/functions/__init__.py
diff --git a/pulsar-client-cpp/python/functions/context.py b/pulsar-client-cpp/python/pulsar/functions/context.py
similarity index 100%
rename from pulsar-client-cpp/python/functions/context.py
rename to pulsar-client-cpp/python/pulsar/functions/context.py
diff --git a/pulsar-client-cpp/python/functions/function.py b/pulsar-client-cpp/python/pulsar/functions/function.py
similarity index 100%
rename from pulsar-client-cpp/python/functions/function.py
rename to pulsar-client-cpp/python/pulsar/functions/function.py
diff --git a/pulsar-client-cpp/python/functions/serde.py b/pulsar-client-cpp/python/pulsar/functions/serde.py
similarity index 100%
rename from pulsar-client-cpp/python/functions/serde.py
rename to pulsar-client-cpp/python/pulsar/functions/serde.py
diff --git a/pulsar-functions/runtime/pom.xml b/pulsar-functions/runtime/pom.xml
index 61af0ee05a..01f01d608c 100644
--- a/pulsar-functions/runtime/pom.xml
+++ b/pulsar-functions/runtime/pom.xml
@@ -75,9 +75,8 @@
<echo>building python instance</echo>
<mkdir dir="${basedir}/target/python-instance"/>
<copydir src="${basedir}/../instance/src/main/python" dest="${basedir}/target/python-instance"/>
- <copy file="${basedir}/../../pulsar-client-cpp/python/pulsar.py" tofile="${basedir}/target/python-instance/pulsar.py"/>
- <mkdir dir="${basedir}/target/python-instance/functions"/>
- <copydir src="${basedir}/../../pulsar-client-cpp/python/functions" dest="${basedir}/target/python-instance/functions"/>
+ <mkdir dir="${basedir}/target/python-instance/pulsar"/>
+ <copydir src="${basedir}/../../pulsar-client-cpp/python/pulsar" dest="${basedir}/target/python-instance/pulsar"/>
</tasks>
</configuration>
</execution>
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services