Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

Commit 99ef4a0

Browse files
committed
Adapt to new apache/openwhisk commit.
- Due to the removal of version 12.6.0 of the azure-storage-blob module on maven central openwhisk was updated to 12.7.0. Because of this we also needed to update to this new commit of openwhisk.
1 parent 05a5a4d commit 99ef4a0

File tree

5 files changed

+17
-12
lines changed

5 files changed

+17
-12
lines changed

ansible/environments/local/group_vars/all

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,3 @@ runtimes_manifest:
4545

4646
blackboxes:
4747
- name: "dockerskeleton"
48-
49-
controller_protocol: "http"

settings.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@ gradle.ext.openwhisk = [
1111

1212
gradle.ext.scala = [
1313
version: '2.12.7',
14+
depVersion : '2.12',
1415
compileFlags: ['-feature', '-unchecked', '-deprecation', '-Xfatal-warnings', '-Ywarn-unused-import']
1516
]
1617

1718
gradle.ext.scalafmt = [
1819
version: '1.5.0',
1920
config: new File(rootProject.projectDir, '.scalafmt.conf')
2021
]
22+
23+
gradle.ext.akka = [version : '2.6.12']
24+
gradle.ext.akka_http = [version : '10.2.4']

tests/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ dependencies {
6969
compile "org.scala-lang:scala-library:${gradle.scala.version}"
7070
compile "org.apache.openwhisk:openwhisk-tests:${gradle.openwhisk.version}:tests"
7171
compile "org.apache.openwhisk:openwhisk-tests:${gradle.openwhisk.version}:test-sources"
72+
implementation group: 'com.typesafe.akka', name: "akka-http2-support_${gradle.scala.depVersion}", version: "${gradle.akka_http.version}"
73+
implementation group: 'com.typesafe.akka', name: "akka-http-xml_${gradle.scala.depVersion}", version: "${gradle.akka_http.version}"
74+
implementation group: 'com.typesafe.akka', name: "akka-discovery_${gradle.scala.depVersion}", version: "${gradle.akka.version}"
75+
implementation group: 'com.typesafe.akka', name: "akka-protobuf_${gradle.scala.depVersion}", version: "${gradle.akka.version}"
76+
implementation group: 'com.typesafe.akka', name: "akka-remote_${gradle.scala.depVersion}", version: "${gradle.akka.version}"
77+
implementation group: 'com.typesafe.akka', name: "akka-cluster_${gradle.scala.depVersion}", version: "${gradle.akka.version}"
7278
}
7379

7480
tasks.withType(ScalaCompile) {
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11

2-
whisk.spi {
3-
SimpleSpi = whisk.spi.SimpleSpiImpl
4-
MissingSpi = whisk.spi.MissingImpl
5-
MissingModule = missing.module
6-
}
2+
# For the runtime tests we use the same application.conf that is used
3+
# in the tests for the openwhisk environment itself.
4+
5+
include file("../../openwhisk/tests/src/test/resources/application.conf")

tools/travis/setup.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,12 @@ HOMEDIR="$SCRIPTDIR/../../../"
99

1010
# OpenWhisk stuff
1111
cd $HOMEDIR
12-
# git clone --depth=1 https://github.com/apache/incubator-openwhisk.git openwhisk
1312

13+
# Clone and setup openwhisk to have a local test environment.
1414
git clone https://github.com/apache/openwhisk.git openwhisk
1515
cd openwhisk
1616
# Use a fixed commit to run the tests, to explicitly control when changes are consumed.
17-
# Commit: Update the notice year (#5122)
18-
git checkout ecb2a980659f28d0adbd9ef837afaf4cb2b695bf
19-
17+
# Commit: minor version bump of azure-storage-blob to fix builds (#5150)
18+
git checkout 3e6138d088fbd502a69c31314ad7c0089c5f5283
2019

2120
./tools/travis/setup.sh
22-

0 commit comments

Comments
 (0)