You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by wi...@apache.org on 2020/08/20 21:04:29 UTC
[incubator-streampipes-installer] branch new_installer updated:
[STREAMPIPES-196] add more environment templates,
update deployment notice and README
This is an automated email from the ASF dual-hosted git repository.
wiener pushed a commit to branch new_installer
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes-installer.git
The following commit(s) were added to refs/heads/new_installer by this push:
new 3a80d31 [STREAMPIPES-196] add more environment templates, update deployment notice and README
3a80d31 is described below
commit 3a80d31c10759eec6727eb2f770616967e215175
Author: Patrick Wiener <wi...@fzi.de>
AuthorDate: Thu Aug 20 23:04:12 2020 +0200
[STREAMPIPES-196] add more environment templates, update deployment notice and README
---
cli/README.md | 12 +++++++-----
cli/bin/common | 8 +++++---
cli/bin/templates/environments/{lite => adapter} | 4 +---
cli/bin/templates/environments/backend | 2 ++
cli/bin/templates/environments/{backend => basic} | 4 +---
cli/bin/templates/environments/full | 16 ++++++++--------
cli/bin/templates/environments/lite | 10 +++++-----
7 files changed, 29 insertions(+), 27 deletions(-)
diff --git a/cli/README.md b/cli/README.md
index c60cab0..2e5113b 100644
--- a/cli/README.md
+++ b/cli/README.md
@@ -155,11 +155,13 @@ streampipes clean
As of now, this step has to be done **manually**. All environment templates are located in `bin/templates/environments`.
```bash
-├── backend
-├── full
-├── lite
-├── pipeline-element
-└── ui
+├── adapter # developing a new connect adapter
+├── backend # developing core backend features
+├── basic # wanna run core, UI, connect etc from the IDE?
+├── full # full version containing more pipeline elements
+├── lite # few pipeline elements, less memory
+├── pipeline-element # developing new pipeline-elements
+└── ui # developing UI features
```
**Modifying an existing template**. To modify an existing template, you can simply add a `<YOUR_NEW_SERVICE>` to the template.
> **NOTE**: You need to make sure, that the service your are adding exists in `deploy/standalone/service/<YOUR_NEW_SERVICE>`. If your're adding a completely new service take a look at existing ones, create a new service directory and include a `docker-compose.yml` and `docker-compose.dev.yml` file.
diff --git a/cli/bin/common b/cli/bin/common
index a750679..60f522b 100644
--- a/cli/bin/common
+++ b/cli/bin/common
@@ -59,10 +59,12 @@ EOF
deployment_notice() {
cat <<EOF
- Apache StreamPipes is now ready to use. Open your browser
- and follow the instructions to get started:
+ Apache StreamPipes environment is now up and running. Have fun developing!
- StreamPipes UI: http://localhost/
+ Check docs for help: https://streampipes.apache.org/docs
+
+ When you're environment contains the UI, open your browser and follow the
+ instructions to get started: http://localhost/
EOF
}
diff --git a/cli/bin/templates/environments/lite b/cli/bin/templates/environments/adapter
similarity index 60%
copy from cli/bin/templates/environments/lite
copy to cli/bin/templates/environments/adapter
index dfe92da..4a1d647 100644
--- a/cli/bin/templates/environments/lite
+++ b/cli/bin/templates/environments/adapter
@@ -1,13 +1,11 @@
-[environment:lite]
+[environment:adapter]
activemq
backend
consul
connect-master
-connect-worker-main
couchdb
kafka
ui
-sources-watertank-simulator
zookeeper
pipeline-elements-all-jvm
influxdb
diff --git a/cli/bin/templates/environments/backend b/cli/bin/templates/environments/backend
index d4de856..92f2a19 100644
--- a/cli/bin/templates/environments/backend
+++ b/cli/bin/templates/environments/backend
@@ -6,4 +6,6 @@ zookeeper
couchdb
influxdb
connect-master
+connect-worker-main
+pipeline-elements-all-jvm
ui
diff --git a/cli/bin/templates/environments/backend b/cli/bin/templates/environments/basic
similarity index 55%
copy from cli/bin/templates/environments/backend
copy to cli/bin/templates/environments/basic
index d4de856..6be19af 100644
--- a/cli/bin/templates/environments/backend
+++ b/cli/bin/templates/environments/basic
@@ -1,9 +1,7 @@
-[environment:backend]
+[environment:basic]
activemq
kafka
consul
zookeeper
couchdb
influxdb
-connect-master
-ui
diff --git a/cli/bin/templates/environments/full b/cli/bin/templates/environments/full
index 17911a2..5c70068 100644
--- a/cli/bin/templates/environments/full
+++ b/cli/bin/templates/environments/full
@@ -1,13 +1,18 @@
[environment:full]
-activemq
+ui
backend
-consul
connect-master
connect-worker-main
+activemq
+consul
couchdb
jobmanager
+taskmanager
+zookeeper
kafka
-ui
+influxdb
+sources-vehicle-simulator
+sources-watertank-simulator
processors-aggregation-flink
processors-enricher-flink
processors-filters-jvm
@@ -23,8 +28,3 @@ sinks-databases-flink
sinks-databases-jvm
sinks-internal-jvm
sinks-notifications-jvm
-sources-vehicle-simulator
-sources-watertank-simulator
-taskmanager
-zookeeper
-influxdb
diff --git a/cli/bin/templates/environments/lite b/cli/bin/templates/environments/lite
index dfe92da..38885a1 100644
--- a/cli/bin/templates/environments/lite
+++ b/cli/bin/templates/environments/lite
@@ -1,13 +1,13 @@
[environment:lite]
-activemq
+ui
backend
-consul
connect-master
connect-worker-main
+activemq
+consul
couchdb
kafka
-ui
-sources-watertank-simulator
zookeeper
-pipeline-elements-all-jvm
influxdb
+sources-watertank-simulator
+pipeline-elements-all-jvm