This repository was archived by the owner on Mar 13, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-11
lines changed
Expand file tree Collapse file tree 2 files changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ kind: Invoker
44metadata :
55 name : java
66spec :
7- version : 0.1.1-snapshot
7+ version : 0.1.1
88 matchers :
99 - " *.jar"
1010 - " target/*.jar"
2323 ADD {{.Artifact}} $FUNCTION_JAR
2424 ENV FUNCTION_URI file://${FUNCTION_JAR}?handler=${FUNCTION_HANDLER}
2525 doc : |
26- {{.Process}} the function based on the function source code specified as the filename, using the artifact (jar file),
27- the function handler (classname or bean name), the name and version specified for the function image repository and tag.
28-
29- For example, from a maven project directory named 'greeter', type:
30-
31- riff {{.Command}} -i greetings -a target/greeter-1.0.0.jar --handler=functions.Greeter
32-
33- to {{.Result}}.
26+ Package the function using the artifact (jar file), the function handler (classname or bean name),
27+ the name and version specified for the function image repository and tag.
Original file line number Diff line number Diff line change 55
66 <groupId >io.projectriff</groupId >
77 <artifactId >java-function-invoker</artifactId >
8- <version >0.1.1-SNAPSHOT </version >
8+ <version >0.1.1</version >
99 <packaging >jar</packaging >
1010
1111 <parent >
2222 <spring-cloud-function .version>2.0.0.M2</spring-cloud-function .version>
2323 <dockerfile-maven .version>1.4.3</dockerfile-maven .version>
2424 <docker .org>projectriff</docker .org>
25- <docker .tag>0.1.1-snapshot </docker .tag>
25+ <docker .tag>0.1.1</docker .tag>
2626 </properties >
2727
2828 <dependencies >
You can’t perform that action at this time.
0 commit comments