From 623e5a97826c45223b220b007ba3a236bc7837e4 Mon Sep 17 00:00:00 2001 From: Mike Eltsufin Date: Wed, 14 Apr 2021 11:44:13 -0400 Subject: [PATCH] Update documentation that GCF is GA, not Alpha --- docs/src/main/asciidoc/adapters/gcp-intro.adoc | 9 +++------ .../function-sample-gcp-background/README.adoc | 7 ++----- .../function-sample-gcp-http/README.adoc | 5 +---- 3 files changed, 6 insertions(+), 15 deletions(-) diff --git a/docs/src/main/asciidoc/adapters/gcp-intro.adoc b/docs/src/main/asciidoc/adapters/gcp-intro.adoc index 8b1eb3542..5c6a06c06 100644 --- a/docs/src/main/asciidoc/adapters/gcp-intro.adoc +++ b/docs/src/main/asciidoc/adapters/gcp-intro.adoc @@ -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 \ diff --git a/spring-cloud-function-samples/function-sample-gcp-background/README.adoc b/spring-cloud-function-samples/function-sample-gcp-background/README.adoc index a2f4fc587..c55540acb 100644 --- a/spring-cloud-function-samples/function-sample-gcp-background/README.adoc +++ b/spring-cloud-function-samples/function-sample-gcp-background/README.adoc @@ -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 \ diff --git a/spring-cloud-function-samples/function-sample-gcp-http/README.adoc b/spring-cloud-function-samples/function-sample-gcp-http/README.adoc index 385e9123f..a69596070 100644 --- a/spring-cloud-function-samples/function-sample-gcp-http/README.adoc +++ b/spring-cloud-function-samples/function-sample-gcp-http/README.adoc @@ -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 \