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/25 04:27:59 UTC
[flink-statefun] branch release-2.0 updated (5f7714b -> 61d6609)
This is an automated email from the ASF dual-hosted git repository.
tzulitai pushed a change to branch release-2.0
in repository https://gitbox.apache.org/repos/asf/flink-statefun.git.
from 5f7714b [hotfix] [legal] Update missing entries in distribution jar NOTICE file
new 31c851e [hotfix] Make namespace in State Bootstrap example to match GreetStatefulFunction
new 61d6609 [FLINK-16752] Add a repackage goal to ridesharing example
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:
.../statefun-ridesharing-example-simulator/pom.xml | 8 ++++++++
.../processor/example/GreetStatefulFunctionBootstrapExample.java | 2 +-
2 files changed, 9 insertions(+), 1 deletion(-)
[flink-statefun] 02/02: [FLINK-16752] Add a repackage goal to
ridesharing example
Posted by tz...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tzulitai pushed a commit to branch release-2.0
in repository https://gitbox.apache.org/repos/asf/flink-statefun.git
commit 61d660971a0049af97f17993c50cd7ca9e7b1c40
Author: Igal Shilman <ig...@gmail.com>
AuthorDate: Tue Mar 24 19:51:19 2020 +0100
[FLINK-16752] Add a repackage goal to ridesharing example
Changing the maven parent from spring-boot to statefun-parent
had missed a default configuration of the spring-boot-maven-plugin
that triggers the repackage goal.
This closes #70.
---
.../statefun-ridesharing-example-simulator/pom.xml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/statefun-examples/statefun-ridesharing-example/statefun-ridesharing-example-simulator/pom.xml b/statefun-examples/statefun-ridesharing-example/statefun-ridesharing-example-simulator/pom.xml
index 7197cd8..c312108 100644
--- a/statefun-examples/statefun-ridesharing-example/statefun-ridesharing-example-simulator/pom.xml
+++ b/statefun-examples/statefun-ridesharing-example/statefun-ridesharing-example-simulator/pom.xml
@@ -121,6 +121,14 @@ under the License.
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>repackage</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>
[flink-statefun] 01/02: [hotfix] Make namespace in State Bootstrap
example to match GreetStatefulFunction
Posted by tz...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tzulitai pushed a commit to branch release-2.0
in repository https://gitbox.apache.org/repos/asf/flink-statefun.git
commit 31c851eab04f11ec21253e7a00d0530df057a945
Author: Igal Shilman <ig...@gmail.com>
AuthorDate: Tue Mar 24 21:55:03 2020 +0100
[hotfix] Make namespace in State Bootstrap example to match GreetStatefulFunction
This example creates a savepoint for the Greeter example, but it uses
the wrong namespace.
This closes #71.
---
.../state/processor/example/GreetStatefulFunctionBootstrapExample.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/statefun-flink/statefun-flink-state-processor/src/main/java/org/apache/flink/statefun/flink/state/processor/example/GreetStatefulFunctionBootstrapExample.java b/statefun-flink/statefun-flink-state-processor/src/main/java/org/apache/flink/statefun/flink/state/processor/example/GreetStatefulFunctionBootstrapExample.java
index d5c7680..dabd236 100644
--- a/statefun-flink/statefun-flink-state-processor/src/main/java/org/apache/flink/statefun/flink/state/processor/example/GreetStatefulFunctionBootstrapExample.java
+++ b/statefun-flink/statefun-flink-state-processor/src/main/java/org/apache/flink/statefun/flink/state/processor/example/GreetStatefulFunctionBootstrapExample.java
@@ -43,7 +43,7 @@ import org.apache.flink.statefun.sdk.state.PersistedValue;
*/
public class GreetStatefulFunctionBootstrapExample {
- private static final FunctionType GREETER_FUNCTION_TYPE = new FunctionType("foo.bar", "greeter");
+ private static final FunctionType GREETER_FUNCTION_TYPE = new FunctionType("apache", "greeter");
public static void main(String[] args) throws Exception {
final ParameterTool params = ParameterTool.fromArgs(args);