You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tz...@apache.org on 2020/03/29 06:31:23 UTC
[flink-statefun] branch master updated (bdcaecb -> b0340d7)
This is an automated email from the ASF dual-hosted git repository.
tzulitai pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/flink-statefun.git.
from bdcaecb [FLINK-16730] [docs] Make create_python_walkthrough.sh return to user dir
new abfc2a6 [hotfix] Ensure *-example suffix for all example directories
new b0340d7 [hotfix] [docs] Walkthrough zip dist no longer contains a README
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
docs/getting-started/walkthrough.md | 1 -
.../Dockerfile | 0
.../README.md | 0
.../build-example.sh | 0
.../docker-compose.yml | 0
.../generator/Dockerfile | 0
.../generator/event-generator.py | 0
.../generator}/messages_pb2.py | 0
.../greeter/Dockerfile | 0
.../greeter/greeter.py | 0
.../greeter/messages.proto | 0
.../greeter}/messages_pb2.py | 0
.../greeter/requirements.txt | 0
.../module.yaml | 0
.../Dockerfile.python-worker | 0
.../Dockerfile.statefun | 0
.../{statefun-python-k8s => statefun-python-k8s-example}/README.md | 0
.../build-example.sh | 0
.../event-generator.py | 0
.../{statefun-python-k8s => statefun-python-k8s-example}/main.py | 0
.../{statefun-python-k8s => statefun-python-k8s-example}/messages.proto | 0
.../messages_pb2.py | 0
.../{statefun-python-k8s => statefun-python-k8s-example}/module.yaml | 0
.../python-worker-deployment.yaml | 0
.../python-worker-service.yaml | 0
.../requirements.txt | 0
.../README.md | 0
.../example_utils.py | 0
.../requirements.txt | 0
.../run-example.py | 0
.../walkthrough.proto | 0
.../walkthrough.py | 0
.../walkthrough_pb2.py | 0
tools/docs/create_python_walkthrough.sh | 2 +-
34 files changed, 1 insertion(+), 2 deletions(-)
rename statefun-examples/{statefun-python-greeter => statefun-python-greeter-example}/Dockerfile (100%)
rename statefun-examples/{statefun-python-greeter => statefun-python-greeter-example}/README.md (100%)
rename statefun-examples/{statefun-python-greeter => statefun-python-greeter-example}/build-example.sh (100%)
rename statefun-examples/{statefun-python-greeter => statefun-python-greeter-example}/docker-compose.yml (100%)
rename statefun-examples/{statefun-python-greeter => statefun-python-greeter-example}/generator/Dockerfile (100%)
rename statefun-examples/{statefun-python-greeter => statefun-python-greeter-example}/generator/event-generator.py (100%)
rename statefun-examples/{statefun-python-greeter/greeter => statefun-python-greeter-example/generator}/messages_pb2.py (100%)
rename statefun-examples/{statefun-python-greeter => statefun-python-greeter-example}/greeter/Dockerfile (100%)
rename statefun-examples/{statefun-python-greeter => statefun-python-greeter-example}/greeter/greeter.py (100%)
rename statefun-examples/{statefun-python-greeter => statefun-python-greeter-example}/greeter/messages.proto (100%)
rename statefun-examples/{statefun-python-greeter/generator => statefun-python-greeter-example/greeter}/messages_pb2.py (100%)
rename statefun-examples/{statefun-python-greeter => statefun-python-greeter-example}/greeter/requirements.txt (100%)
rename statefun-examples/{statefun-python-greeter => statefun-python-greeter-example}/module.yaml (100%)
rename statefun-examples/{statefun-python-k8s => statefun-python-k8s-example}/Dockerfile.python-worker (100%)
rename statefun-examples/{statefun-python-k8s => statefun-python-k8s-example}/Dockerfile.statefun (100%)
rename statefun-examples/{statefun-python-k8s => statefun-python-k8s-example}/README.md (100%)
rename statefun-examples/{statefun-python-k8s => statefun-python-k8s-example}/build-example.sh (100%)
rename statefun-examples/{statefun-python-k8s => statefun-python-k8s-example}/event-generator.py (100%)
rename statefun-examples/{statefun-python-k8s => statefun-python-k8s-example}/main.py (100%)
rename statefun-examples/{statefun-python-k8s => statefun-python-k8s-example}/messages.proto (100%)
rename statefun-examples/{statefun-python-k8s => statefun-python-k8s-example}/messages_pb2.py (100%)
rename statefun-examples/{statefun-python-k8s => statefun-python-k8s-example}/module.yaml (100%)
rename statefun-examples/{statefun-python-k8s => statefun-python-k8s-example}/python-worker-deployment.yaml (100%)
rename statefun-examples/{statefun-python-k8s => statefun-python-k8s-example}/python-worker-service.yaml (100%)
rename statefun-examples/{statefun-python-k8s => statefun-python-k8s-example}/requirements.txt (100%)
rename statefun-examples/{statefun-python-walkthrough => statefun-python-walkthrough-example}/README.md (100%)
rename statefun-examples/{statefun-python-walkthrough => statefun-python-walkthrough-example}/example_utils.py (100%)
rename statefun-examples/{statefun-python-walkthrough => statefun-python-walkthrough-example}/requirements.txt (100%)
rename statefun-examples/{statefun-python-walkthrough => statefun-python-walkthrough-example}/run-example.py (100%)
rename statefun-examples/{statefun-python-walkthrough => statefun-python-walkthrough-example}/walkthrough.proto (100%)
rename statefun-examples/{statefun-python-walkthrough => statefun-python-walkthrough-example}/walkthrough.py (100%)
rename statefun-examples/{statefun-python-walkthrough => statefun-python-walkthrough-example}/walkthrough_pb2.py (100%)
[flink-statefun] 02/02: [hotfix] [docs] Walkthrough zip dist no
longer contains a README
Posted by tz...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tzulitai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-statefun.git
commit b0340d791866a9a39308c25b079edc53386ab2fe
Author: Tzu-Li (Gordon) Tai <tz...@apache.org>
AuthorDate: Sun Mar 29 14:28:44 2020 +0800
[hotfix] [docs] Walkthrough zip dist no longer contains a README
---
docs/getting-started/walkthrough.md | 1 -
1 file changed, 1 deletion(-)
diff --git a/docs/getting-started/walkthrough.md b/docs/getting-started/walkthrough.md
index fd705f8..54d8bea 100644
--- a/docs/getting-started/walkthrough.md
+++ b/docs/getting-started/walkthrough.md
@@ -69,7 +69,6 @@ These include dockerfiles and data generators to run this walkthrough in a local
$ tree statefun-walkthrough
statefun-walkthrough
├── Dockerfile
-├── README.md
├── docker-compose.yml
├── generator
│ ├── Dockerfile
[flink-statefun] 01/02: [hotfix] Ensure *-example suffix for all
example directories
Posted by tz...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tzulitai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-statefun.git
commit abfc2a65e146c6f11efdd041c22fd20b4896017a
Author: Tzu-Li (Gordon) Tai <tz...@apache.org>
AuthorDate: Sun Mar 29 14:27:12 2020 +0800
[hotfix] Ensure *-example suffix for all example directories
---
.../Dockerfile | 0
.../README.md | 0
.../build-example.sh | 0
.../docker-compose.yml | 0
.../generator/Dockerfile | 0
.../generator/event-generator.py | 0
.../generator}/messages_pb2.py | 0
.../greeter/Dockerfile | 0
.../greeter/greeter.py | 0
.../greeter/messages.proto | 0
.../greeter}/messages_pb2.py | 0
.../greeter/requirements.txt | 0
.../module.yaml | 0
.../Dockerfile.python-worker | 0
.../Dockerfile.statefun | 0
.../{statefun-python-k8s => statefun-python-k8s-example}/README.md | 0
.../build-example.sh | 0
.../event-generator.py | 0
.../{statefun-python-k8s => statefun-python-k8s-example}/main.py | 0
.../{statefun-python-k8s => statefun-python-k8s-example}/messages.proto | 0
.../messages_pb2.py | 0
.../{statefun-python-k8s => statefun-python-k8s-example}/module.yaml | 0
.../python-worker-deployment.yaml | 0
.../python-worker-service.yaml | 0
.../requirements.txt | 0
.../README.md | 0
.../example_utils.py | 0
.../requirements.txt | 0
.../run-example.py | 0
.../walkthrough.proto | 0
.../walkthrough.py | 0
.../walkthrough_pb2.py | 0
tools/docs/create_python_walkthrough.sh | 2 +-
33 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/statefun-examples/statefun-python-greeter/Dockerfile b/statefun-examples/statefun-python-greeter-example/Dockerfile
similarity index 100%
rename from statefun-examples/statefun-python-greeter/Dockerfile
rename to statefun-examples/statefun-python-greeter-example/Dockerfile
diff --git a/statefun-examples/statefun-python-greeter/README.md b/statefun-examples/statefun-python-greeter-example/README.md
similarity index 100%
rename from statefun-examples/statefun-python-greeter/README.md
rename to statefun-examples/statefun-python-greeter-example/README.md
diff --git a/statefun-examples/statefun-python-greeter/build-example.sh b/statefun-examples/statefun-python-greeter-example/build-example.sh
similarity index 100%
rename from statefun-examples/statefun-python-greeter/build-example.sh
rename to statefun-examples/statefun-python-greeter-example/build-example.sh
diff --git a/statefun-examples/statefun-python-greeter/docker-compose.yml b/statefun-examples/statefun-python-greeter-example/docker-compose.yml
similarity index 100%
rename from statefun-examples/statefun-python-greeter/docker-compose.yml
rename to statefun-examples/statefun-python-greeter-example/docker-compose.yml
diff --git a/statefun-examples/statefun-python-greeter/generator/Dockerfile b/statefun-examples/statefun-python-greeter-example/generator/Dockerfile
similarity index 100%
rename from statefun-examples/statefun-python-greeter/generator/Dockerfile
rename to statefun-examples/statefun-python-greeter-example/generator/Dockerfile
diff --git a/statefun-examples/statefun-python-greeter/generator/event-generator.py b/statefun-examples/statefun-python-greeter-example/generator/event-generator.py
similarity index 100%
rename from statefun-examples/statefun-python-greeter/generator/event-generator.py
rename to statefun-examples/statefun-python-greeter-example/generator/event-generator.py
diff --git a/statefun-examples/statefun-python-greeter/greeter/messages_pb2.py b/statefun-examples/statefun-python-greeter-example/generator/messages_pb2.py
similarity index 100%
rename from statefun-examples/statefun-python-greeter/greeter/messages_pb2.py
rename to statefun-examples/statefun-python-greeter-example/generator/messages_pb2.py
diff --git a/statefun-examples/statefun-python-greeter/greeter/Dockerfile b/statefun-examples/statefun-python-greeter-example/greeter/Dockerfile
similarity index 100%
rename from statefun-examples/statefun-python-greeter/greeter/Dockerfile
rename to statefun-examples/statefun-python-greeter-example/greeter/Dockerfile
diff --git a/statefun-examples/statefun-python-greeter/greeter/greeter.py b/statefun-examples/statefun-python-greeter-example/greeter/greeter.py
similarity index 100%
rename from statefun-examples/statefun-python-greeter/greeter/greeter.py
rename to statefun-examples/statefun-python-greeter-example/greeter/greeter.py
diff --git a/statefun-examples/statefun-python-greeter/greeter/messages.proto b/statefun-examples/statefun-python-greeter-example/greeter/messages.proto
similarity index 100%
rename from statefun-examples/statefun-python-greeter/greeter/messages.proto
rename to statefun-examples/statefun-python-greeter-example/greeter/messages.proto
diff --git a/statefun-examples/statefun-python-greeter/generator/messages_pb2.py b/statefun-examples/statefun-python-greeter-example/greeter/messages_pb2.py
similarity index 100%
rename from statefun-examples/statefun-python-greeter/generator/messages_pb2.py
rename to statefun-examples/statefun-python-greeter-example/greeter/messages_pb2.py
diff --git a/statefun-examples/statefun-python-greeter/greeter/requirements.txt b/statefun-examples/statefun-python-greeter-example/greeter/requirements.txt
similarity index 100%
rename from statefun-examples/statefun-python-greeter/greeter/requirements.txt
rename to statefun-examples/statefun-python-greeter-example/greeter/requirements.txt
diff --git a/statefun-examples/statefun-python-greeter/module.yaml b/statefun-examples/statefun-python-greeter-example/module.yaml
similarity index 100%
rename from statefun-examples/statefun-python-greeter/module.yaml
rename to statefun-examples/statefun-python-greeter-example/module.yaml
diff --git a/statefun-examples/statefun-python-k8s/Dockerfile.python-worker b/statefun-examples/statefun-python-k8s-example/Dockerfile.python-worker
similarity index 100%
rename from statefun-examples/statefun-python-k8s/Dockerfile.python-worker
rename to statefun-examples/statefun-python-k8s-example/Dockerfile.python-worker
diff --git a/statefun-examples/statefun-python-k8s/Dockerfile.statefun b/statefun-examples/statefun-python-k8s-example/Dockerfile.statefun
similarity index 100%
rename from statefun-examples/statefun-python-k8s/Dockerfile.statefun
rename to statefun-examples/statefun-python-k8s-example/Dockerfile.statefun
diff --git a/statefun-examples/statefun-python-k8s/README.md b/statefun-examples/statefun-python-k8s-example/README.md
similarity index 100%
rename from statefun-examples/statefun-python-k8s/README.md
rename to statefun-examples/statefun-python-k8s-example/README.md
diff --git a/statefun-examples/statefun-python-k8s/build-example.sh b/statefun-examples/statefun-python-k8s-example/build-example.sh
similarity index 100%
rename from statefun-examples/statefun-python-k8s/build-example.sh
rename to statefun-examples/statefun-python-k8s-example/build-example.sh
diff --git a/statefun-examples/statefun-python-k8s/event-generator.py b/statefun-examples/statefun-python-k8s-example/event-generator.py
similarity index 100%
rename from statefun-examples/statefun-python-k8s/event-generator.py
rename to statefun-examples/statefun-python-k8s-example/event-generator.py
diff --git a/statefun-examples/statefun-python-k8s/main.py b/statefun-examples/statefun-python-k8s-example/main.py
similarity index 100%
rename from statefun-examples/statefun-python-k8s/main.py
rename to statefun-examples/statefun-python-k8s-example/main.py
diff --git a/statefun-examples/statefun-python-k8s/messages.proto b/statefun-examples/statefun-python-k8s-example/messages.proto
similarity index 100%
rename from statefun-examples/statefun-python-k8s/messages.proto
rename to statefun-examples/statefun-python-k8s-example/messages.proto
diff --git a/statefun-examples/statefun-python-k8s/messages_pb2.py b/statefun-examples/statefun-python-k8s-example/messages_pb2.py
similarity index 100%
rename from statefun-examples/statefun-python-k8s/messages_pb2.py
rename to statefun-examples/statefun-python-k8s-example/messages_pb2.py
diff --git a/statefun-examples/statefun-python-k8s/module.yaml b/statefun-examples/statefun-python-k8s-example/module.yaml
similarity index 100%
rename from statefun-examples/statefun-python-k8s/module.yaml
rename to statefun-examples/statefun-python-k8s-example/module.yaml
diff --git a/statefun-examples/statefun-python-k8s/python-worker-deployment.yaml b/statefun-examples/statefun-python-k8s-example/python-worker-deployment.yaml
similarity index 100%
rename from statefun-examples/statefun-python-k8s/python-worker-deployment.yaml
rename to statefun-examples/statefun-python-k8s-example/python-worker-deployment.yaml
diff --git a/statefun-examples/statefun-python-k8s/python-worker-service.yaml b/statefun-examples/statefun-python-k8s-example/python-worker-service.yaml
similarity index 100%
rename from statefun-examples/statefun-python-k8s/python-worker-service.yaml
rename to statefun-examples/statefun-python-k8s-example/python-worker-service.yaml
diff --git a/statefun-examples/statefun-python-k8s/requirements.txt b/statefun-examples/statefun-python-k8s-example/requirements.txt
similarity index 100%
rename from statefun-examples/statefun-python-k8s/requirements.txt
rename to statefun-examples/statefun-python-k8s-example/requirements.txt
diff --git a/statefun-examples/statefun-python-walkthrough/README.md b/statefun-examples/statefun-python-walkthrough-example/README.md
similarity index 100%
rename from statefun-examples/statefun-python-walkthrough/README.md
rename to statefun-examples/statefun-python-walkthrough-example/README.md
diff --git a/statefun-examples/statefun-python-walkthrough/example_utils.py b/statefun-examples/statefun-python-walkthrough-example/example_utils.py
similarity index 100%
rename from statefun-examples/statefun-python-walkthrough/example_utils.py
rename to statefun-examples/statefun-python-walkthrough-example/example_utils.py
diff --git a/statefun-examples/statefun-python-walkthrough/requirements.txt b/statefun-examples/statefun-python-walkthrough-example/requirements.txt
similarity index 100%
rename from statefun-examples/statefun-python-walkthrough/requirements.txt
rename to statefun-examples/statefun-python-walkthrough-example/requirements.txt
diff --git a/statefun-examples/statefun-python-walkthrough/run-example.py b/statefun-examples/statefun-python-walkthrough-example/run-example.py
similarity index 100%
rename from statefun-examples/statefun-python-walkthrough/run-example.py
rename to statefun-examples/statefun-python-walkthrough-example/run-example.py
diff --git a/statefun-examples/statefun-python-walkthrough/walkthrough.proto b/statefun-examples/statefun-python-walkthrough-example/walkthrough.proto
similarity index 100%
rename from statefun-examples/statefun-python-walkthrough/walkthrough.proto
rename to statefun-examples/statefun-python-walkthrough-example/walkthrough.proto
diff --git a/statefun-examples/statefun-python-walkthrough/walkthrough.py b/statefun-examples/statefun-python-walkthrough-example/walkthrough.py
similarity index 100%
rename from statefun-examples/statefun-python-walkthrough/walkthrough.py
rename to statefun-examples/statefun-python-walkthrough-example/walkthrough.py
diff --git a/statefun-examples/statefun-python-walkthrough/walkthrough_pb2.py b/statefun-examples/statefun-python-walkthrough-example/walkthrough_pb2.py
similarity index 100%
rename from statefun-examples/statefun-python-walkthrough/walkthrough_pb2.py
rename to statefun-examples/statefun-python-walkthrough-example/walkthrough_pb2.py
diff --git a/tools/docs/create_python_walkthrough.sh b/tools/docs/create_python_walkthrough.sh
index f9c9274..1d20dee 100755
--- a/tools/docs/create_python_walkthrough.sh
+++ b/tools/docs/create_python_walkthrough.sh
@@ -36,7 +36,7 @@ rm -rf ${PROJECT_ROOT}/docs/downloads/walkthrough.zip
cd ${BASE_DIR}
rm -rf statefun-walkthrough
-cp -r ${PROJECT_ROOT}/statefun-examples/statefun-python-greeter statefun-walkthrough
+cp -r ${PROJECT_ROOT}/statefun-examples/statefun-python-greeter-example statefun-walkthrough
rm statefun-walkthrough/build-example.sh