You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After I created a new function using the OpenShift Toolkit extension on VS Code, I tried to invoke the function using the extension GUI. But it failed with the following error:
Invoking 'cloudevent' function at http://localhost:8080/
Invoking 'cloudevent' function using 'cloud events' format
Error: format 'cloud events' not supported.
After I created a new function using the OpenShift Toolkit extension on VS Code, I tried to invoke the function using the extension GUI. But it failed with the following error:
Invoking 'cloudevent' function at http://localhost:8080/
Invoking 'cloudevent' function using 'cloud events' format
Error: format 'cloud events' not supported.
My func.yaml looks like
specVersion: 0.35.0
name: quarkus-awesome
runtime: quarkus
registry: quay.io/danieloh30
image: quay.io/danieloh/quarkus-awesome:latest
created: 2023-09-24T01:53:14.752Z
invoke: cloudevent
build:
builder: pack
buildEnvs:
value: "false"
value: func.yaml target/quarkus-app/lib/ target/quarkus-app/*.jar target/quarkus-app/app/
target/quarkus-app/quarkus/
value: package -DskipTests=true -Dmaven.javadoc.skip=true -Dquarkus.package.type=fast-jar
value: target/quarkus-app
value: lib quarkus-run.jar app quarkus
pvcSize: 256Mi
The Quarkus app runs well.
Adding 137 container CA certificates to JVM truststore
Picked up JAVA_TOOL_OPTIONS: -Djava.security.properties=/layers/paketo-buildpacks_bellsoft-liberica/java-security-properties/java-security.properties -XX:+ExitOnOutOfMemoryError -XX:ActiveProcessorCount=6 -XX:MaxDirectMemorySize=10M -Xmx10302293K -XX:MaxMetaspaceSize=71230K -XX:ReservedCodeCacheSize=240M -Xss1M -XX:+UnlockDiagnosticVMOptions -XX:NativeMemoryTracking=summary -XX:+PrintNMTStatistics
--/ __ / / / / _ | / _ / /// / / / __/
-/ // / // / __ |/ , / ,< / // /\ \
--___// |//|//||_//
2023-09-24 14:41:51,121 INFO [io.quarkus] (main) function 1.0.0-SNAPSHOT on JVM (powered by Quarkus 2.16.5.Final) started in 4.601s. Listening on: http://0.0.0.0:8080
2023-09-24 14:41:51,128 INFO [io.quarkus] (main) Profile prod activated.
2023-09-24 14:41:51,128 INFO [io.quarkus] (main) Installed features: [cdi, funqy-knative-events, smallrye-context-propagation, smallrye-health, vertex]
I think the format should be "cloudevent" rather than "Cloud Events" in GUI.
The text was updated successfully, but these errors were encountered: