Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Integration for Google Cloud Platform APIs with Spring

License

NotificationsYou must be signed in to change notification settings

saturnism/spring-cloud-gcp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project makes it easy for Spring users to run their applications on Google Cloud Platform.You can check our project websitehere.

For a deep dive into the project, refer to theSpring Cloud GCP 1.1 Reference Document.

If you prefer to learn by doing, trySpring on GCP codelabs.

Currently, this repository provides support for:

If you have any other ideas, suggestions or bug reports, please use ourGitHub issue tracker and let us know!We would love to hear from you.

If you want to collaborate in the project, we would also love to get your Pull Requests.Before you start working on one, please take a look at ourcollaboration manual.

Spring Initializr

Spring Initializr contains Spring Cloud GCP auto-configuration support through theGCP Support entry.

GCP Messaging contains the Spring Cloud GCP messaging support with Google Cloud Pub/Sub working out of the box.

Similarly toGCP Messaging,GCP Storage contains the Google Cloud Storage support with no other dependencies needed.

Spring Cloud GCP Bill of Materials (BOM)

If you’re a Maven user, add our BOM to your pom.xml<dependencyManagement> section.This will allow you to not specify versions for any of the Maven dependencies and instead delegate versioning to the BOM.

<dependencyManagement>    <dependencies>        <dependency>            <groupId>org.springframework.cloud</groupId>            <artifactId>spring-cloud-gcp-dependencies</artifactId>            <version>1.1.2.RELEASE</version>            <type>pom</type>            <scope>import</scope>        </dependency>    </dependencies></dependencyManagement>

Spring Milestones Maven Repository

The latest non-GA Maven artifacts for the project are only available in the Spring Milestones repository.You will want to make sure that the repository is added to yourpom.xml file or globally in yoursettings.xml file.

<repositories>    <repository>        <id>spring-milestones</id>        <name>Spring Milestones</name>        <url>https://repo.spring.io/milestone</url>    </repository></repositories>

Spring Boot Starters

Spring Boot greatly simplifies the Spring Cloud GCP experience.Our starters handle the object instantiation and configuration logic so you don’t have to.

Every starter depends on the GCP starter to provide critical bits of configuration, like the GCP project ID or OAuth2 credentials location.You can configure these as properties in, for example, a properties file:

spring.cloud.gcp.project-id=[YOUR_GCP_PROJECT_ID]spring.cloud.gcp.credentials.location=file:[LOCAL_PRIVATE_KEY_FILE]spring.cloud.gcp.credentials.scopes=[SCOPE_1],[SCOPE_2],[SCOPE_3]

These properties are optional and, if not specified, Spring Boot will attempt to automatically find them for you.For details on how Spring Boot finds these properties, refer to thedocumentation.

Note
If your app is running on Google App Engine or Google Compute Engine, in most cases, you should omit thespring.cloud.gcp.credentials.location property and, instead, let the Spring Cloud GCP Core Starter find the correct credentials for those environments.

About

Integration for Google Cloud Platform APIs with Spring

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java98.9%
  • Other1.1%

[8]ページ先頭

©2009-2025 Movatter.jp