[FEATURE REQ] Add Spring Cloud Azure starter when users choose MySQL/PostgreSQL and Azure on Spring Initializer
See original GitHub issueIs your feature request related to a problem? Please describe.
We now have two Spring starters for supporting AAD authentication:
spring-cloud-azure-starter-jdbc-mysql
spring-cloud-azure-starter-jdbc-postgresql
We should add these two starters when users choose MySQL/PostgreSQL Driver + Azure Support on Spring Initializer:
Scene 1: choose MySQL Driver + Azure Support
- Status quo:
Currently, when the user selects MySQL Driver and Azure Support in the Spring Initializer:
1.1 The generated pom.xml
will contain the following:
<dependency>
<groupId>com.azure.spring</groupId>
<artifactId>spring-cloud-azure-starter</artifactId>
</dependency>
<dependency>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector</artifactId>
<scope>runtime</scope>
</dependency>
1.2 The contents of HELP.md
are as follows:
- Goal
When the user selects MySQL Driver and Azure Support in the Spring Initializer:
2.1 The generated pom.xml
will contain the following:
<dependency>
<groupId>com.azure.spring</groupId>
<artifactId>spring-cloud-azure-starter-jdbc-mysql</artifactId>
</dependency>
2.2 Include a link to the Azure MySQL reference documentation in the Reference Documentation
section of HELP.md
.
Scene 2: choose PostgreSQL Driver + Azure Support
-
Status quo:
Currently, when the user selects PostgreSQL Driver and Azure Support in the Spring Initializer:
1.1 The generated
pom.xml
will contain the following:<dependency> <groupId>com.azure.spring</groupId> <artifactId>spring-cloud-azure-starter</artifactId> </dependency> <dependency> <groupId>org.postgresql</groupId> <artifactId>postgresql</artifactId> <scope>runtime</scope> </dependency>
1.2 The contents of
HELP.md
are as follows: -
Goal
When the user selects PostgreSQL Driver and Azure Support in the Spring Initializer:
2.1 The generated
pom.xml
will contain the following:<dependency> <groupId>com.azure.spring</groupId> <artifactId>spring-cloud-azure-starter-jdbc-postgresql</artifactId> </dependency>
2.2 Add a link to the Azure PostgreSQL reference documentation in the
Reference Documentation
section ofHELP.md
.
Describe the solution you’d like
Create a PR to https://github.com/spring-io/start.spring.io to enable this feature.
Describe alternatives you’ve considered
N/A
Additional context N/A
Information Checklist Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
- Description Added
- Expected solution specified
Issue Analytics
- State:
- Created a year ago
- Comments:6 (6 by maintainers)
Top GitHub Comments
NO, this is not correct, we should just add the dependency
spring-cloud-azure-starter-jdbc-postgresql
when that two dependencies are chosen, DO NOT remove anything from the pomClosed this as completed in 9d2e80c .