functions-framework-java
functions-framework-java copied to clipboard
FaaS (Function as a service) framework for writing portable Java functions
Jetty has newer 9.4 release, we can bump in https://github.com/GoogleCloudPlatform/functions-framework-java/blob/1863d1314d95b57a53003f2cf83f1221f46b2502/invoker/core/pom.xml to be the latest (already used in GAE Java)
I am creating a gcloud http function which must receive a "form-data" form with a "medias" field which can contain up to 3 files, here is the basic code: Gcloud...
I think the Background Function example in the docs is not quite correct: https://github.com/GoogleCloudPlatform/functions-framework-java#writing-a-typed-background-function It doesn't seem like `messageId`, `attributes`, or `publishTime` gets populated in that message object when the...
Console log looks as follows: ``` [INFO] ------------------------< co.worklytics:project >------------------------- [INFO] Building project 1.0-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- function-maven-plugin:0.9.7:deploy (default-cli) @ project --- Executing Cloud SDK command:...
Commit a3d23cc12df52cb10ee0102e50cd54eb943527e6 ensured that the thread context class loader is set when invoking the `service` method. However, the context class loader is currently still not set when invoking newInstance, causing,...
We should add a release-please setup similar to this repo for automatic publishing of packages: https://github.com/googleapis/google-cloudevents-java/issues/3
How do I send an xml payload from file to local GCF? I don't want to base64, copy paste into json etc. ```sh curl -vX POST http://localhost:8080 -H "Content-Type: text/json"...
Function ``` public class FunctionCommand implements BackgroundFunction { @Override public void accept(Message message, Context context) throws Exception { throw new Exception(); } } ``` Expected: message NACK Actual: Function execution...
Error Condition >Exception in thread "main" java.lang.RuntimeException: Could not determine the payload type for BackgroundFunction of type com.example.MyFunctionHandler; must implement BackgroundFunction for some T at com.google.cloud.functions.invoker.BackgroundFunctionExecutor.forClass(BackgroundFunctionExecutor.java:140) at com.google.cloud.functions.invoker.BackgroundFunctionExecutor.forClass(BackgroundFunctionExecutor.java:113) at com.google.cloud.functions.invoker.runner.Invoker.startServer(Invoker.java:256)...