This repository has been archived by the owner on Mar 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#138] Rewrite invoker to support riff streaming protocol
Add support for multi I/O functions. Marshalling/unmarshalling is now fully extensible and handled by SCF. Only supports streaming via gRPC. http support comes via http://github.com/projectriff/streaming-http-adapter-buildpack. Also fixes #135 and #136.
- Loading branch information
1 parent
90b1cb2
commit 119b922
Showing
116 changed files
with
1,635 additions
and
5,674 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
.classpath | ||
.factorypath | ||
.project | ||
.settings/ | ||
.springBeans | ||
target | ||
.sts4-cache/ | ||
.attach_* | ||
/.classpath | ||
/.factorypath | ||
/.project | ||
/.settings/ | ||
/.springBeans | ||
target/ | ||
/.sts4-cache/ | ||
/.attach_* | ||
|
||
.idea/ | ||
*.iml | ||
/.idea/ | ||
/*.iml | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
language: java | ||
jdk: | ||
- openjdk11 | ||
- openjdk11 | ||
cache: | ||
directories: | ||
- "$HOME/.m2" | ||
install: | ||
- "./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -P spring" | ||
matrix: | ||
include: | ||
- stage: test | ||
script: "./mvnw clean test -U -P spring" | ||
stages: | ||
- test | ||
- "$HOME/.m2" | ||
install: true # skip travis' pre-installation of dependencies | ||
script: ./mvnw package integration-test | ||
deploy: | ||
- provider: script | ||
script: .travis/publish-gcs.sh | ||
on: | ||
branch: master | ||
notifications: | ||
slack: | ||
secure: WxZ+HjMsGIj+O4PHTVZIkSi6vVGxRO9XSbYj7HIQq7HglAg5U39oS3KvWDgh04g59HmiiFGLZrQWmOVDbEb/sTjujT0cirCEM4rdvBTK53aVe88nCgj/9PF68phHQCGVBDWqTllZK+OBegue/jHL00mXL/p4GsIhseAxvYNV8DfKvlSKl+Ar1kI4akwG3Kbz4L/I4NM9ZVG6XP3OK9lxXF1dnbRkgLELJ5ffqKklO8dNRINzQbUjLD4ip7Hd68ksXv2Avhzwpa8odXHw34TMFR/nXo19scmT8lhExBclpzFmrGy6wm8REHrO0T/mOE3rI4tnPlgn0oBHExfkhQyjM3Thr8X+Ua+1gW0VGyi70ScJPzqBxj4vio5rA77HzJ5iRHkr+Mi3OGD+inS/yGPJPogEEdewna42sIOmHpzRjZtX3rlQipV9XZLnw9ef8/yIGuz13VJMLpuIK8EaegzibznqTrIdQfDgKb3oI+KrdgBhCv2bQ2Nk3WlcsPM1AR/cSma0b8B7L7Bma3kZZE1e43G5h03At6PCpiidGaZCNF2bHD017I14/kOeC006AE/3peNG0chD5/6N133SBdkBHNLM5OOzxad734oa5MMTuc3KPfoau7w7CTqPX/a613zGfe/3UtHjpJkTcO7itG56s2Nt6uWP/pOwpTHvZ+j35uE= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
version=${1:-$(./mvnw help:evaluate -Dexpression=project.version -q -DforceStdout)} | ||
commit=$(git rev-parse HEAD) | ||
|
||
gcloud auth activate-service-account --key-file <(echo "$GCLOUD_CLIENT_SECRET" | base64 --decode) | ||
|
||
package=java-function-invoker-${version}.jar | ||
bucket=gs://projectriff/java-function-invoker/releases | ||
|
||
gsutil cp -a public-read "${package}" ${bucket}/v${version}/${package} | ||
gsutil cp -a public-read "${package}" ${bucket}/v${version}/snapshots/java-function-invoker-${version}-${commit}.tgz | ||
gsutil cp -a public-read "${package}" ${bucket}/latest/java-function-invoker.jar | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.