-
Notifications
You must be signed in to change notification settings - Fork 315
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
Conversation
51a5148
to
ff6f801
Compare
e3a7316
to
abba0f2
Compare
...main/java/com/google/cloud/spring/autoconfigure/alloydb/AlloyDbEnvironmentPostProcessor.java
Show resolved
Hide resolved
...configure/src/main/java/com/google/cloud/spring/autoconfigure/alloydb/AlloyDbProperties.java
Show resolved
Hide resolved
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`. |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
spring-cloud-gcp-starters/spring-cloud-gcp-starter-alloydb/pom.xml
Outdated
Show resolved
Hide resolved
Quality Gate passedIssues Measures |
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