Closed listaction closed 4 years ago
The sample functions are indeed under maintained. The java-boot-uppercase says it targets riff 0.1, yikes.
While not a sample, per se, this function does work with riff 0.5 and is conceptually the same. https://github.com/projectriff/fats/tree/main/functions/uppercase/java-boot
riff function create uppercase --git-repo https://github.com/projectriff/fats --sub-path functions/uppercase/java-boot
Thanks scott.
I did try 0.5 , packer needs an update as lifecycle 0.9.1 has issues identifying api correctly (it shows up as 0.2) ..waiting for a release this week for packer.
On Tuesday, August 18, 2020, Scott Andrews notifications@github.com wrote:
The sample functions are indeed under maintained. The java-boot-uppercase https://github.com/projectriff-samples/java-boot-uppercase says it targets riff 0.1, yikes.
While not a sample, per se, this function does work with riff 0.5 and is conceptually the same. https://github.com/projectriff/fats/tree/main/ functions/uppercase/java-boot
riff function create uppercase --git-repo https://github.com/projectriff/fats --sub-path functions/uppercase/java-boot
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/projectriff/riff/issues/1387#issuecomment-675769774, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABT2X2T7H4GRNQZ4F6V6G3SBMFVHANCNFSM4P77DB3A .
riff releases should be pinned to versions of all components to prevent incompatibilities like this. How did you install riff?
Following Getting Started of riff - 0.5 on minikube (kubernetes 0.17.0)- the java functions in 0.5 version of riff has an issue with 0.2.0 of cloud-function invoker where it is unable to map the incoming http request to the cloudfunction resulting in "mapper is null". This appears to be fixed in 0.2.1 of cloud function invoker.
In the spirit of moving forward, I want to use that. The other issue I noticed is the crashloop - mentioned in this issue (which is due to a port conflict between the streaming http adapter which listens on 8080 and the springboot app which also listens on 8080 when it's invoked via knative serving).
On Wed, Aug 19, 2020 at 6:47 AM Scott Andrews notifications@github.com wrote:
riff releases should be pinned to versions of all components to prevent incompatibilities like this. How did you install riff?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/projectriff/riff/issues/1387#issuecomment-676386768, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABT2X3THAVBIHVUPUUOQTLSBPJYHANCNFSM4P77DB3A .
riff has an issue with 0.2.0 of cloud-function invoker where it is unable to map the incoming http request to the cloudfunction resulting in "mapper is null". This appears to be fixed in 0.2.1 of cloud function invoker.
Make sure you're passing an Accept header with the request. Since the 0.5 release we've done some work to provide a better default.
I am trying 0.15 riff using minikube(version 1.12) and (kubernetes version 1.17.0) on a mac with docker.
After I deploy the springboot java function (uppercase) , knative spins up the container and serves the request. If I let things idle for a little bit , and fire another request, it tries to restart the process for the same container and springboot complains that the port is already in use.
How do i resolve this? Also is this project maintained - don't see any commits in a while.