Skip to content

koduki/example-quarkus-gcp-with-graal

Repository files navigation

example-gcp-graal2 project

This project is an example for Qurkus + GCP Library + GraalVM native-image. Thank you for greate google-cloud-graalvm-support, GoogleCloudPlatform team.

ref:

Build Builder

$ cd builder
$ gcloud builds submit 

Build on Local

JVM

$ GOOGLE_APPLICATION_CREDENTIALS=~/.seacret/key.json ./target/example-gcp-graal2-1.0.0-SNAPSHOT-runner

native-image

$ mvn clean package -P native
#or
$ ./mvnw package -Pnative -Dquarkus.native.container-build=true

Build & Deploy

$ gcloud builds submit --substitutions=_SRV_ACC=$SRV_ACC

Connectivity Test

$ curl http://localhost:8080/hello/say
Project: xxx, key: 5760334488928256                                             
$ curl http://localhost:8080/hello/listen
title: test - Wed Apr 28 00:49:50 PDT 2021, count: 11

About

This project is an example for Qurkus + GCP Library + GraalVM native-image.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published