Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Spring Cloud AlloyDB integration (#2787) #2788

Merged
merged 3 commits into from
Apr 23, 2024

Conversation

ttosta-google
Copy link
Contributor

This PR adds a component to allow our customers to connect to Google Cloud AlloyDB instances using Spring Boot with the Java Connector integration.

It includes a starter, autoconfigure, sample, associated integrations tests and documentation.

Issue related: GoogleCloudPlatform/alloydb-java-connector#151

spring-cloud-gcp-dependencies/pom.xml Outdated Show resolved Hide resolved
spring-cloud-gcp-dependencies/pom.xml Outdated Show resolved Hide resolved
Comment on lines +35 to +38
NOTE: You need to run the sample from a VM within the created VPC to connect to AlloyDB using its private IP.
To connect using Public IP, enable the AlloyDB instance's for external connections
following https://cloud.google.com/alloydb/docs/connect-public-ip[these instructions] and
add `spring.cloud.gcp.alloydb.ip-type=PUBLIC` to your `application.properties`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this covered in the reference documentation as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added to docs/alloydb.adoc as well.

@@ -0,0 +1,11 @@
{
"name": "spring-cloud-gcp-starter-alloydb",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@burkedavison Do we need this? I don't think we provide repo metadata for other modules in this project.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of the starters do have them. (https://github.com/GoogleCloudPlatform/spring-cloud-gcp/tree/main/spring-cloud-gcp-starters)

Whether we need them --> I don't know of a use-case of them today.

Copy link

sonarcloud bot commented Apr 23, 2024

@burkedavison burkedavison merged commit 67d994e into main Apr 23, 2024
56 checks passed
@burkedavison burkedavison deleted the feat-alloydb-integration branch April 23, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants