Merge pull request #687 from meltsufin/gcf-not-alpha

Update documentation that GCF is GA, not Alpha
This commit is contained in:
Oleg Zhurakousky
2021-04-14 19:41:12 +02:00
committed by GitHub
3 changed files with 6 additions and 15 deletions

View File

@@ -1,6 +1,6 @@
:branch: master
=== Google Cloud Functions (Alpha)
=== Google Cloud Functions
The Google Cloud Functions adapter enables Spring Cloud Function apps to run on the https://cloud.google.com/functions[Google Cloud Functions] serverless platform.
You can either run the function locally using the open source https://github.com/GoogleCloudPlatform/functions-framework-java[Google Functions Framework for Java] or on GCP.
@@ -108,9 +108,6 @@ curl http://localhost:8080/ -d "hello"
===== Deploy to GCP
As of March 2020, Google Cloud Functions for Java is in Alpha.
You can get on the https://docs.google.com/forms/d/e/1FAIpQLScC98jGi7CfG0n3UYlj7Xad8XScvZC8-BBOg7Pk3uSZx_2cdQ/viewform[whitelist] to try it out.
Start by packaging your application.
----
@@ -125,7 +122,7 @@ Next, make sure that you have the https://cloud.google.com/sdk/install[Cloud SDK
From the project base directory run the following command to deploy.
----
gcloud alpha functions deploy function-sample-gcp-http \
gcloud functions deploy function-sample-gcp-http \
--entry-point org.springframework.cloud.function.adapter.gcp.GcfJarLauncher \
--runtime java11 \
--trigger-http \
@@ -256,7 +253,7 @@ Next, make sure that you have the https://cloud.google.com/sdk/install[Cloud SDK
From the project base directory run the following command to deploy.
----
gcloud alpha functions deploy function-sample-gcp-background \
gcloud functions deploy function-sample-gcp-background \
--entry-point org.springframework.cloud.function.adapter.gcp.GcfJarLauncher \
--runtime java11 \
--trigger-topic my-functions-topic \

View File

@@ -34,10 +34,7 @@ Received Pub/Sub message with data: hello
===== Deploy to GCP
As of March 2020, Google Cloud Functions for Java is in Alpha.
You can get on the https://docs.google.com/forms/d/e/1FAIpQLScC98jGi7CfG0n3UYlj7Xad8XScvZC8-BBOg7Pk3uSZx_2cdQ/viewform[whitelist] to try it out.
The next steps will demonstrate how to deploy your background function to GCP and have it be invoked by a Pub/Sub event.
The steps below will demonstrate how to deploy your background function to GCP and have it be invoked by a Pub/Sub event.
To complete the next steps, make sure that you have the https://cloud.google.com/sdk/install[Cloud SDK CLI] installed.
@@ -58,7 +55,7 @@ You should see the JAR to deploy in the `target/deploy` directory.
3. Deploy the JAR that you created by running
+
----
gcloud alpha functions deploy function-sample-gcp-background \
gcloud functions deploy function-sample-gcp-background \
--entry-point org.springframework.cloud.function.adapter.gcp.GcfJarLauncher \
--runtime java11 \
--trigger-topic my-functions-topic \

View File

@@ -18,9 +18,6 @@ curl http://localhost:8080/ -d "hello"
===== Deploy to GCP
As of March 2020, Google Cloud Functions for Java is in Alpha.
You can get on the https://docs.google.com/forms/d/e/1FAIpQLScC98jGi7CfG0n3UYlj7Xad8XScvZC8-BBOg7Pk3uSZx_2cdQ/viewform[whitelist] to try it out.
Package the application.
----
@@ -34,7 +31,7 @@ Make sure that you have the https://cloud.google.com/sdk/install[Cloud SDK CLI]
Run the following command from the project root to deploy.
----
gcloud alpha functions deploy function-sample-gcp-http \
gcloud functions deploy function-sample-gcp-http \
--entry-point org.springframework.cloud.function.adapter.gcp.GcfJarLauncher \
--runtime java11 \
--trigger-http \