streampipes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zehn...@apache.org
Subject [incubator-streampipes-website] 23/28: fixed for master, uniform {sp.version} vs 0.65.0
Date Tue, 31 Dec 2019 09:04:21 GMT
This is an automated email from the ASF dual-hosted git repository.

zehnder pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes-website.git

commit 1f9f0752ddc24c604962b62ed6087741fff71b5b
Author: Matthias Frank <matthias.frank@codecentric.de>
AuthorDate: Fri Dec 13 10:52:52 2019 +0100

    fixed for master, uniform {sp.version} vs 0.65.0
---
 documentation/docs/dev-guide-archetype.md                | 16 ++++++++--------
 .../version-0.65.0-pre-asf/dev-guide-archetype.md        |  2 +-
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/documentation/docs/dev-guide-archetype.md b/documentation/docs/dev-guide-archetype.md
index 35b518a..d53773f 100644
--- a/documentation/docs/dev-guide-archetype.md
+++ b/documentation/docs/dev-guide-archetype.md
@@ -38,7 +38,7 @@ mvn archetype:generate                              	 	     \
 mvn archetype:generate                              	 	     \
   -DarchetypeGroupId=org.streampipes          			         \
   -DarchetypeArtifactId=streampipes-archetype-pe-processors-jvm  \
-  -DarchetypeVersion=0.64.0
+  -DarchetypeVersion={sp.version}
 ```
 
 ## Processors Flink
@@ -46,7 +46,7 @@ mvn archetype:generate                              	 	     \
 mvn archetype:generate                              	 	     \
   -DarchetypeGroupId=org.streampipes          			         \
   -DarchetypeArtifactId=streampipes-archetype-pe-processors-flink  \
-  -DarchetypeVersion=0.64.0
+  -DarchetypeVersion={sp.version}
 ```
 
 ## Sinks JVM
@@ -54,7 +54,7 @@ mvn archetype:generate                              	 	     \
 mvn archetype:generate                              	 	     \
   -DarchetypeGroupId=org.streampipes          			         \
   -DarchetypeArtifactId=streampipes-archetype-pe-sinks-jvm  \
-  -DarchetypeVersion=0.64.0
+  -DarchetypeVersion={sp.version}
 ```
 
 ## Sinks Flink
@@ -62,7 +62,7 @@ mvn archetype:generate                              	 	     \
 mvn archetype:generate                              	 	     \
   -DarchetypeGroupId=org.streampipes          			         \
   -DarchetypeArtifactId=streampipes-archetype-pe-sinks-flink  \
-  -DarchetypeVersion=0.64.0
+  -DarchetypeVersion={sp.version}
 ```
 </details>
 
@@ -82,10 +82,10 @@ Open the class *Example* and edit the ``onEvent`` method to print the
incoming e
 @Override
 public void onEvent(Event event, SpOutputCollector collector) {
     // Print the incoming event on the console
-    System.out.println(in);
+    System.out.println(event);
 
     // Hand the incoming event to the output collector without changing it.
-    collector.onEvent(in);
+    collector.collect(event);
 }
 ```
 
@@ -111,7 +111,7 @@ Now you can start the processor.
     <img src="/docs/img/archetype/run_env_configuration.png" alt="Environment Configuration
View">
 </div>
 
-To check if the service is up and running, open the browser on *'localhost:6666'*. The machine-readable
escription of the processor should be visible as shown below.
+To check if the service is up and running, open the browser on *'localhost:6666'*. The machine-readable
description of the processor should be visible as shown below.
 
 <img src="/docs/img/archetype/endpoint.png" width="90%" alt="Project Structure">
 
@@ -136,7 +136,7 @@ In case you opened the StreamPipes installation for the first time, it
should ha
 <img src="/docs/img/archetype/example_pipeline.png" width="80%" alt="Project Structure">
 
 Start this pipeline.
-Now you should see logging messages in your console and, once you've created a visualisation,
you can also see the resulting events of your component in StreamPipes.
+Now you should see logging messages in your console and, once you've created a visualization,
you can also see the resulting events of your component in StreamPipes.
 
 Congratulations, you have just created your first processor!
 From here on you can start experimenting and implement your own algorithms.
diff --git a/documentation/website/versioned_docs/version-0.65.0-pre-asf/dev-guide-archetype.md
b/documentation/website/versioned_docs/version-0.65.0-pre-asf/dev-guide-archetype.md
index d0d7cd8..51d9d5a 100644
--- a/documentation/website/versioned_docs/version-0.65.0-pre-asf/dev-guide-archetype.md
+++ b/documentation/website/versioned_docs/version-0.65.0-pre-asf/dev-guide-archetype.md
@@ -29,7 +29,7 @@ Now, a new folder with the name ``ExampleProcessor`` is generated.
 mvn archetype:generate                              	 	     \
   -DarchetypeGroupId=org.streampipes          			         \
   -DarchetypeArtifactId=streampipes-archetype-pe-processors-jvm  \
-  -DarchetypeVersion={sp.version}
+  -DarchetypeVersion=0.65.0
 ```
 <details class="info">
     <summary>Select: [Processors / Sinks] [JVM / Flink]</summary>


Mime
View raw message