Coder Social home page Coder Social logo

ajaykumarrachuri / spring-cloud-gcp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from googlecloudplatform/spring-cloud-gcp

0.0 0.0 0.0 25.29 MB

New home for Spring Cloud GCP development starting with version 2.0.

License: Apache License 2.0

Shell 0.38% Python 0.04% Java 98.92% Kotlin 0.15% CSS 0.02% HTML 0.49% FreeMarker 0.01%

spring-cloud-gcp's Introduction

HEAD Unit Tests HEAD Integration Tests HEAD SonarCloud Analysis Quality Gate Status

Spring Framework on Google Cloud

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

For a deep dive into the project, refer to the Spring Framework on Google Cloud Reference documentation below or the latest Javadocs.

If you prefer to learn by doing, try taking a look at the Spring Framework on Google Cloud sample applications or the Spring on Google Cloud codelabs.

Currently, this repository provides support for:

If you have any other ideas, suggestions or bug reports, please use our GitHub issue tracker and let us know!

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 our collaboration manual.

Compatibility with Spring Project Versions

This project has dependency and transitive dependencies on Spring Projects. The table below outlines the versions of Spring Cloud, Spring Boot and Spring Framework versions that are compatible with certain Spring Framework on Google Cloud version.

Spring Framework on Google Cloud Spring Cloud Spring Boot Spring Framework Supported

2.0.x

2020.0.x (3.0/Illford)

2.4.x, 2.5.x

5.3.x

No

3.x

2021.0.x (3.1/Jubilee)

2.6.x, 2.7.x

5.3.x

Yes

4.x

2022.0.x (4.0/Kilburn)

3.x

6.x

Yes

Spring Initializr

Spring Initializr contains Spring Framework on Google Cloud auto-configuration support through the GCP Support entry.

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

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

Spring Framework on Google Cloud 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>com.google.cloud</groupId>
            <artifactId>spring-cloud-gcp-dependencies</artifactId>
            <version>4.1.3</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>

Snapshots Repository

We offer SNAPSHOT versions of the project that always reflect the latest code changes to the underlying GitHub repository for Spring Framework on Google Cloud via the Sonatype Snapshots Repository:

<repositories>
    <repository>
        <id>snapshots-repo</id>
        <url>https://google.oss.sonatype.org/content/repositories/snapshots</url>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </repository>
</repositories>

Spring Boot Starters

Spring Boot greatly simplifies the Spring Framework on Google Cloud 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 the documentation.

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

spring-cloud-gcp's People

Contributors

dependabot[bot] avatar meltsufin avatar chengyuanzhao avatar joaoandremartins avatar elefeint avatar dzou avatar dmitry-s avatar ddixit14 avatar zhumin8 avatar emmileaf avatar joewang1127 avatar balopat avatar diegomarquezp avatar mpeddada1 avatar saturnism avatar eddumelendez avatar dhoard avatar artembilan avatar release-please[bot] avatar viniciusccarvalho avatar suztomo avatar marcingrzejszczak avatar kioie avatar spencergibb avatar dependabot-preview[bot] avatar s13o avatar sobychacko avatar snicoll avatar andy2003 avatar bijukunjummen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.