Skip to content

Commit ef7a6dc

Browse files
committed
Merge branch 'master' into remove-unsupported-formats
2 parents d6e105f + 29aa5b1 commit ef7a6dc

10 files changed

Lines changed: 32 additions & 21 deletions

File tree

examples/async-thumbnails/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<fdk.version>1.0.0-SNAPSHOT</fdk.version>
1212
<mockito.version>2.8.47</mockito.version>
13-
<jackson.version>2.9.7</jackson.version>
13+
<jackson.version>2.9.8</jackson.version>
1414
</properties>
1515

1616
<groupId>com.fnproject.fn.examples</groupId>

examples/regex-query/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
1010

1111
<fdk.version>1.0.0-SNAPSHOT</fdk.version>
12-
<jackson.version>2.9.7</jackson.version>
12+
<jackson.version>2.9.8</jackson.version>
1313
</properties>
1414

1515
<groupId>com.fnproject.fn.examples</groupId>

images/build-native/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN set -x \
2020
&& cp -r $(/build/mx/mx --primary-suite graal-jvmci-8 jdkhome) /build/jvmcijdk8
2121

2222
RUN git clone https://github.com/oracle/graal.git \
23-
&& git -C graal checkout vm-1.0.0-rc9
23+
&& git -C graal checkout vm-1.0.0-rc11
2424
WORKDIR /build/graal/vm
2525
RUN export JAVA_HOME=/build/jvmcijdk8 \
2626
&& /build/mx/mx --dy /substratevm --force-bash-launchers=true --disable-polyglot --disable-libpolyglot build

images/build-native/native.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.2.0
1+
0.3.0

images/init-native/func.init.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +0,0 @@
1-
runtime: docker
2-
format: http-stream

images/init-native/pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,22 @@
6767
<target>1.8</target>
6868
</configuration>
6969
</plugin>
70+
<plugin>
71+
<groupId>org.apache.maven.plugins</groupId>
72+
<artifactId>maven-surefire-plugin</artifactId>
73+
<version>2.22.1</version>
74+
<configuration>
75+
<useSystemClassLoader>false</useSystemClassLoader>
76+
</configuration>
77+
</plugin>
78+
<plugin>
79+
<groupId>org.apache.maven.plugins</groupId>
80+
<artifactId>maven-deploy-plugin</artifactId>
81+
<version>2.8.2</version>
82+
<configuration>
83+
<skip>true</skip>
84+
</configuration>
85+
</plugin>
7086
</plugins>
7187
</build>
7288
</project>

integration-tests/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<properties>
1212
<assertj-core.version>3.6.2</assertj-core.version>
1313
<commons-io.version>2.5</commons-io.version>
14-
<jackson.version>2.9.6</jackson.version>
14+
<jackson.version>2.9.8</jackson.version>
1515
<junit.version>4.12</junit.version>
1616
<surefire.version>2.22.1</surefire.version>
1717
</properties>

integration-tests/src/test/java/com/fnproject/fn/integrationtest/FunctionsTest.java

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,21 +45,18 @@ public void shouldCallExistingFn() throws Exception {
4545

4646
@Test()
4747
public void checkBoilerPlate() throws Exception {
48-
for (String format : new String[]{"http-stream"}) {
49-
for (String runtime : new String[]{"java9", "java8"}) {
50-
IntegrationTestRule.TestContext tc = testRule.newTest();
51-
52-
String fnName = "bp" + format + runtime;
53-
tc.runFn("init", "--runtime", runtime, "--name", fnName, "--format", format);
54-
tc.rewritePOM();
55-
tc.runFn("--verbose", "deploy", "--app", tc.appName(), "--local");
56-
CmdResult rs = tc.runFnWithInput("wibble", "invoke", tc.appName(), fnName);
57-
assertThat(rs.getStdout()).contains("Hello, wibble!");
58-
}
48+
for (String runtime : new String[]{"java8", "java9", "java11"}) {
49+
IntegrationTestRule.TestContext tc = testRule.newTest();
50+
51+
String fnName = "bp" + runtime;
52+
tc.runFn("init", "--runtime", runtime, "--name", fnName);
53+
tc.rewritePOM();
54+
tc.runFn("--verbose", "deploy", "--app", tc.appName(), "--local");
55+
CmdResult rs = tc.runFnWithInput("wibble", "invoke", tc.appName(), fnName);
56+
assertThat(rs.getStdout()).contains("Hello, wibble!");
5957
}
6058
}
6159

62-
6360
@JsonIgnoreProperties(ignoreUnknown = true)
6461
public static class InspectResponse {
6562

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<assertj-core.version>3.10.0</assertj-core.version>
3131
<commons-io.version>2.6</commons-io.version>
3232
<httpcore.version>4.4.10</httpcore.version>
33-
<jackson.version>2.9.7</jackson.version>
33+
<jackson.version>2.9.8</jackson.version>
3434
<jacoco.version>0.8.1</jacoco.version>
3535
<jetty.version>9.4.12.v20180830</jetty.version>
3636
<junit.version>4.12</junit.version>

release.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.80
1+
1.0.84

0 commit comments

Comments
 (0)