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
100
100
file:target/app.jar,file:target/lib.jar&handler=greeter&main=functions.Application
101
101
```
102
102
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
4
4
metadata :
5
5
name : java
6
6
spec :
7
- version : 0.1.0-snapshot
7
+ version : 0.1.0
8
8
matchers :
9
9
- " *.jar"
10
10
- " target/*.jar"
Original file line number Diff line number Diff line change 5
5
6
6
<groupId >io.projectriff</groupId >
7
7
<artifactId >java-function-invoker</artifactId >
8
- <version >0.1.0-SNAPSHOT </version >
8
+ <version >0.1.0</version >
9
9
<packaging >jar</packaging >
10
10
11
11
<parent >
You can’t perform that action at this time.
0 commit comments