This repository was archived by the owner on Mar 13, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +2
-18
lines changed Expand file tree Collapse file tree 3 files changed +2
-18
lines changed Original file line number Diff line number Diff line change @@ -100,19 +100,3 @@ file:target/app.jar&handler=greeter&main=functions.Application
100100file:target/app.jar,file:target/lib.jar&handler=greeter&main=functions.Application
101101```
102102
103- ## Development
104-
105- Testing locally with HTTP:
106-
107- ``` bash
108- $ ./mvnw clean install dockerfile:build
109- $ docker run -ti -p 8080:8080 -v ` pwd` /target/test-classes:/classes projectriff/java-function-invoker:0.1.0-snapshot --function.uri=' file:classes?handler=io.projectriff.functions.Doubler'
110- ```
111-
112- Then
113-
114- ```
115- $ curl -v localhost:8080 -H "Content-Type: text/plain" -d 5
116- 10
117- ```
118-
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.0-snapshot
7+ version : 0.1.0
88 matchers :
99 - " *.jar"
1010 - " target/*.jar"
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.0-SNAPSHOT </version >
8+ <version >0.1.0</version >
99 <packaging >jar</packaging >
1010
1111 <parent >
You can’t perform that action at this time.
0 commit comments