Each code sample in this folder exemplifies how to use one Spring Framework on Google Cloud integration.
-
Spring Framework on Google Cloud Config Sample: Uses Spring Cloud Config to set the value of the app’s parameters. Values are stored by the Google Runtime Configuration API.
-
Spring Framework on Google Cloud Data JPA Sample: Uses Spring Data JPA to create a table in a Google Cloud SQL instance, populate it and read back the inserted values.
-
Spring Framework on Google Cloud Data Cloud Spanner Repository Sample: Uses Spring Data Cloud Spanner Repository to create a table in Google Cloud Spanner, add some records to it and read them back.
-
Spring Framework on Google Cloud Data Cloud Spanner Template Sample: Uses Spring Data Cloud Spanner Template to create a table in Google Cloud Spanner, add some records to it and read them back.
-
Spring Framework on Google Cloud Integration Pub/Sub Sample: Uses Spring Integration channel adapters to exchange messages through Google Cloud Pub/Sub.
-
Spring Framework on Google Cloud Integration Storage Sample: Uses Spring Integration channel adapters to synchronize and write files to a Google Cloud Storage bucket.
-
Spring Framework on Google Cloud Logging Sample: Uses the Stackdriver Logging API to store and group logs by trace ID.
-
Spring Framework on Google Cloud Pub/Sub Sample: Uses the Spring Framework on Google Cloud Pub/Sub abstraction to exchange messages.
-
Spring Framework on Google Cloud Pub/Sub Binder for Spring Cloud Stream: Uses the Spring Cloud Stream Binder for Google Cloud Pub/Sub to exchange messages.
-
Spring Framework on Google Cloud MySQL Sample: Connects to a Google Cloud SQL instance using best practices. Populates database with values and reads them.
-
Spring Framework on Google Cloud PostgreSQL Sample: Connects to a Google Cloud PostgreSQL instance using best practices. Populates database with values and reads them.
-
Spring Framework on Google Cloud Storage Sample: Uses the Spring Resource abstraction to read and write files to Google Cloud Storage.
-
Spring Framework on Google Cloud Trace Sample: Uses Micrometer to automatically generate trace IDs for requests to your application and store data about those requests in Google Stackdriver Trace.
-
Spring Framework on Google Cloud Vision API Sample: Provides an example of how to use Spring Framework on Google Cloud to improve the general usability of Google Cloud Client Libraries.