Skip to content

Commit

Permalink
add spring cloud stream binder starter modules (#24761)
Browse files Browse the repository at this point in the history
* add binder starters

* skip verifying changlog

* fix redundant configuration in spring/pom.xml
  • Loading branch information
yiliuTo authored and saragluna committed Oct 15, 2021
1 parent b1c683a commit a7cc5ac
Show file tree
Hide file tree
Showing 10 changed files with 173 additions and 0 deletions.
15 changes: 15 additions & 0 deletions eng/jacoco-test-coverage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -552,11 +552,26 @@
<artifactId>spring-cloud-azure-stream-binder-servicebus-queue</artifactId>
<version>4.0.0-beta.1</version> <!-- {x-version-update;com.azure.spring:spring-cloud-azure-stream-binder-servicebus-queue;current} -->
</dependency>
<dependency>
<groupId>com.azure.spring</groupId>
<artifactId>spring-cloud-azure-starter-stream-servicebus-queue</artifactId>
<version>4.0.0-beta.1</version> <!-- {x-version-update;com.azure.spring:spring-cloud-azure-starter-stream-servicebus-queue;current} -->
</dependency>
<dependency>
<groupId>com.azure.spring</groupId>
<artifactId>spring-cloud-azure-starter-stream-servicebus-topic</artifactId>
<version>4.0.0-beta.1</version> <!-- {x-version-update;com.azure.spring:spring-cloud-azure-starter-stream-servicebus-topic;current} -->
</dependency>
<dependency>
<groupId>com.azure.spring</groupId>
<artifactId>spring-cloud-azure-stream-binder-eventhubs</artifactId>
<version>4.0.0-beta.1</version> <!-- {x-version-update;com.azure.spring:spring-cloud-azure-stream-binder-eventhubs;current} -->
</dependency>
<dependency>
<groupId>com.azure.spring</groupId>
<artifactId>spring-cloud-azure-starter-stream-eventhubs</artifactId>
<version>4.0.0-beta.1</version> <!-- {x-version-update;com.azure.spring:spring-cloud-azure-starter-stream-eventhubs;current} -->
</dependency>
<dependency>
<groupId>com.azure.spring</groupId>
<artifactId>spring-cloud-azure-stream-binder-eventhubs-core</artifactId>
Expand Down
3 changes: 3 additions & 0 deletions eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,12 @@ com.azure.spring:spring-cloud-azure-starter-storage;4.0.0-beta.1;4.0.0-beta.1
com.azure.spring:spring-cloud-azure-starter;4.0.0-beta.1;4.0.0-beta.1
com.azure.spring:spring-cloud-azure-stream-binder-eventhubs-core;4.0.0-beta.1;4.0.0-beta.1
com.azure.spring:spring-cloud-azure-stream-binder-eventhubs;4.0.0-beta.1;4.0.0-beta.1
com.azure.spring:spring-cloud-azure-starter-stream-eventhubs;4.0.0-beta.1;4.0.0-beta.1
com.azure.spring:spring-cloud-azure-stream-binder-servicebus-core;4.0.0-beta.1;4.0.0-beta.1
com.azure.spring:spring-cloud-azure-stream-binder-servicebus-queue;4.0.0-beta.1;4.0.0-beta.1
com.azure.spring:spring-cloud-azure-starter-stream-servicebus-queue;4.0.0-beta.1;4.0.0-beta.1
com.azure.spring:spring-cloud-azure-stream-binder-servicebus-topic;4.0.0-beta.1;4.0.0-beta.1
com.azure.spring:spring-cloud-azure-starter-stream-servicebus-topic;4.0.0-beta.1;4.0.0-beta.1
com.azure.spring:spring-cloud-azure-stream-binder-test;4.0.0-beta.1;4.0.0-beta.1
com.azure.spring:spring-cloud-azure-test-appconfiguration-config;1.0.0;1.0.0
com.azure.spring:spring-cloud-azure-test-eventhubs-kafka;1.0.0;1.0.0
Expand Down
15 changes: 15 additions & 0 deletions sdk/boms/azure-spring-cloud-dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,26 @@
<artifactId>spring-cloud-azure-starter-servicebus</artifactId>
<version>${azure.spring.cloud.version}</version>
</dependency>
<dependency>
<groupId>com.azure.spring</groupId>
<artifactId>spring-cloud-azure-starter-stream-servicebus-queue</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.azure.spring</groupId>
<artifactId>spring-cloud-azure-starter-stream-servicebus-topic</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.azure.spring</groupId>
<artifactId>spring-cloud-azure-starter-eventhubs</artifactId>
<version>${azure.spring.cloud.version}</version>
</dependency>
<dependency>
<groupId>com.azure.spring</groupId>
<artifactId>spring-cloud-azure-starter-stream-eventhubs</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.azure.spring</groupId>
<artifactId>spring-cloud-azure-starter-eventhubs-kafka</artifactId>
Expand Down
24 changes: 24 additions & 0 deletions sdk/spring/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,12 @@ trigger:
- sdk/spring/spring-cloud-azure-starter/pom.xml
- sdk/spring/spring-cloud-azure-stream-binder-eventhubs-core/pom.xml
- sdk/spring/spring-cloud-azure-stream-binder-eventhubs/pom.xml
- sdk/spring/spring-cloud-azure-starter-stream-eventhubs/pom.xml
- sdk/spring/spring-cloud-azure-stream-binder-servicebus-core/pom.xml
- sdk/spring/spring-cloud-azure-stream-binder-servicebus-queue/pom.xml
- sdk/spring/spring-cloud-azure-starter-stream-servicebus-queue/pom.xml
- sdk/spring/spring-cloud-azure-stream-binder-servicebus-topic/pom.xml
- sdk/spring/spring-cloud-azure-starter-stream-servicebus-topic/pom.xml
- sdk/spring/spring-cloud-azure-stream-binder-test/pom.xml
- sdk/spring/spring-cloud-azure-test-servicebus-binder/pom.xml

Expand Down Expand Up @@ -112,9 +115,12 @@ pr:
- sdk/spring/spring-cloud-azure-starter/pom.xml
- sdk/spring/spring-cloud-azure-stream-binder-eventhubs-core/pom.xml
- sdk/spring/spring-cloud-azure-stream-binder-eventhubs/pom.xml
- sdk/spring/spring-cloud-azure-starter-stream-eventhubs/pom.xml
- sdk/spring/spring-cloud-azure-stream-binder-servicebus-core/pom.xml
- sdk/spring/spring-cloud-azure-stream-binder-servicebus-queue/pom.xml
- sdk/spring/spring-cloud-azure-starter-stream-servicebus-queue/pom.xml
- sdk/spring/spring-cloud-azure-stream-binder-servicebus-topic/pom.xml
- sdk/spring/spring-cloud-azure-starter-stream-servicebus-topic/pom.xml
- sdk/spring/spring-cloud-azure-stream-binder-test/pom.xml
- sdk/spring/spring-cloud-azure-test-servicebus-binder/pom.xml

Expand Down Expand Up @@ -273,10 +279,28 @@ extends:
groupId: com.azure.spring
safeName: springcloudazurestreambinderservicebustopic
skipPublishDocMs: true
- name: spring-cloud-azure-starter-stream-servicebus-topic
groupId: com.azure.spring
safeName: springcloudazurestarterstreamservicebustopic
skipPublishDocMs: true
skipUpdatePackageJson: true
skipVerifyChangelog: true
- name: spring-cloud-azure-stream-binder-servicebus-queue
groupId: com.azure.spring
safeName: springcloudazurestreambinderservicebusqueue
skipPublishDocMs: true
- name: spring-cloud-azure-starter-stream-servicebus-topic
groupId: com.azure.spring
safeName: springcloudazurestarterstreamservicebustopic
skipPublishDocMs: true
skipUpdatePackageJson: true
skipVerifyChangelog: true
- name: spring-cloud-azure-starter-stream-eventhubs
groupId: com.azure.spring
safeName: springcloudazurestarterstreameventhubs
skipPublishDocMs: true
skipUpdatePackageJson: true
skipVerifyChangelog: true
- name: spring-cloud-azure-stream-binder-eventhubs
groupId: com.azure.spring
safeName: springcloudazurestreambindereventhubs
Expand Down
6 changes: 6 additions & 0 deletions sdk/spring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,12 @@
<module>spring-cloud-azure-starter</module>
<module>spring-cloud-azure-stream-binder-eventhubs-core</module>
<module>spring-cloud-azure-stream-binder-eventhubs</module>
<module>spring-cloud-azure-starter-stream-eventhubs</module>
<module>spring-cloud-azure-stream-binder-servicebus-core</module>
<module>spring-cloud-azure-stream-binder-servicebus-queue</module>
<module>spring-cloud-azure-starter-stream-servicebus-queue</module>
<module>spring-cloud-azure-stream-binder-servicebus-topic</module>
<module>spring-cloud-azure-starter-stream-servicebus-topic</module>
<module>spring-cloud-azure-stream-binder-test</module>
<module>spring-cloud-azure-test-eventhubs-kafka</module>
<module>spring-cloud-azure-test-servicebus-binder</module>
Expand Down Expand Up @@ -235,9 +238,12 @@
<module>spring-cloud-azure-starter</module>
<module>spring-cloud-azure-stream-binder-eventhubs-core</module>
<module>spring-cloud-azure-stream-binder-eventhubs</module>
<module>spring-cloud-azure-starter-stream-eventhubs</module>
<module>spring-cloud-azure-stream-binder-servicebus-core</module>
<module>spring-cloud-azure-stream-binder-servicebus-queue</module>
<module>spring-cloud-azure-starter-stream-servicebus-queue</module>
<module>spring-cloud-azure-stream-binder-servicebus-topic</module>
<module>spring-cloud-azure-starter-stream-servicebus-topic</module>
<module>spring-cloud-azure-stream-binder-test</module>
</modules>
</profile>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,13 @@ $springtCloudReleaseVersion = "2.6.0"
. ${PSScriptRoot}\Update-DevOps-Release-WorkItem-Util.ps1 $releaseDate $serviceDirectory $springtCloudReleaseVersion spring-cloud-azure-starter-storage-queue
. ${PSScriptRoot}\Update-DevOps-Release-WorkItem-Util.ps1 $releaseDate $serviceDirectory $springtCloudReleaseVersion azure-spring-cloud-storage
. ${PSScriptRoot}\Update-DevOps-Release-WorkItem-Util.ps1 $releaseDate $serviceDirectory $springtCloudReleaseVersion spring-cloud-azure-stream-binder-eventhubs
. ${PSScriptRoot}\Update-DevOps-Release-WorkItem-Util.ps1 $releaseDate $serviceDirectory $springtCloudReleaseVersion spring-cloud-azure-starter-stream-eventhubs
. ${PSScriptRoot}\Update-DevOps-Release-WorkItem-Util.ps1 $releaseDate $serviceDirectory $springtCloudReleaseVersion spring-cloud-azure-stream-binder-eventhubs-core
. ${PSScriptRoot}\Update-DevOps-Release-WorkItem-Util.ps1 $releaseDate $serviceDirectory $springtCloudReleaseVersion spring-cloud-azure-stream-binder-servicebus-core
. ${PSScriptRoot}\Update-DevOps-Release-WorkItem-Util.ps1 $releaseDate $serviceDirectory $springtCloudReleaseVersion spring-cloud-azure-stream-binder-servicebus-queue
. ${PSScriptRoot}\Update-DevOps-Release-WorkItem-Util.ps1 $releaseDate $serviceDirectory $springtCloudReleaseVersion spring-cloud-azure-starter-stream-servicebus-queue
. ${PSScriptRoot}\Update-DevOps-Release-WorkItem-Util.ps1 $releaseDate $serviceDirectory $springtCloudReleaseVersion spring-cloud-azure-stream-binder-servicebus-topic
. ${PSScriptRoot}\Update-DevOps-Release-WorkItem-Util.ps1 $releaseDate $serviceDirectory $springtCloudReleaseVersion spring-cloud-azure-starter-stream-servicebus-topic
. ${PSScriptRoot}\Update-DevOps-Release-WorkItem-Util.ps1 $releaseDate $serviceDirectory $springtCloudReleaseVersion spring-cloud-azure-stream-binder-test
. ${PSScriptRoot}\Update-DevOps-Release-WorkItem-Util.ps1 $releaseDate $serviceDirectory $springtCloudReleaseVersion azure-spring-integration-core
. ${PSScriptRoot}\Update-DevOps-Release-WorkItem-Util.ps1 $releaseDate $serviceDirectory $springtCloudReleaseVersion azure-spring-integration-eventhubs
Expand Down
23 changes: 23 additions & 0 deletions sdk/spring/spring-cloud-azure-starter-stream-eventhubs/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>

<groupId>com.azure.spring</groupId>
<artifactId>spring-cloud-azure-starter-stream-eventhubs</artifactId>
<version>4.0.0-beta.1</version> <!-- {x-version-update;com.azure.spring:spring-cloud-azure-starter-stream-eventhubs;current} -->

<name>Spring Cloud Azure Starter Stream Event Hubs</name>
<description>Spring Cloud Azure Starter Stream Event Hubs</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<dependencies>
<dependency>
<groupId>com.azure.spring</groupId>
<artifactId>spring-cloud-azure-stream-binder-eventhubs</artifactId>
<version>4.0.0-beta.1</version> <!-- {x-version-update;com.azure.spring:spring-cloud-azure-stream-binder-eventhubs;current} -->
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>

<groupId>com.azure.spring</groupId>
<artifactId>spring-cloud-azure-starter-stream-servicebus-queue</artifactId>
<version>4.0.0-beta.1</version> <!-- {x-version-update;com.azure.spring:spring-cloud-azure-starter-stream-servicebus-queue;current} -->

<name>Spring Cloud Azure Starter Stream Service Bus Queue</name>
<description>Spring Cloud Azure Starter Stream Service Bus Queue</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<dependencies>
<dependency>
<groupId>com.azure.spring</groupId>
<artifactId>spring-cloud-azure-stream-binder-servicebus-queue</artifactId>
<version>4.0.0-beta.1</version> <!-- {x-version-update;com.azure.spring:spring-cloud-azure-stream-binder-servicebus-queue;current} -->
</dependency>
</dependencies>

</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>

<groupId>com.azure.spring</groupId>
<artifactId>spring-cloud-azure-starter-stream-servicebus-topic</artifactId>
<version>4.0.0-beta.1</version> <!-- {x-version-update;com.azure.spring:spring-cloud-azure-starter-stream-servicebus-topic;current} -->

<name>Spring Cloud Azure Starter Stream Service Bus Topic</name>
<description>Spring Cloud Azure Starter Stream Service Bus Topic</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<dependencies>
<dependency>
<groupId>com.azure.spring</groupId>
<artifactId>spring-cloud-azure-stream-binder-servicebus-topic</artifactId>
<version>4.0.0-beta.1</version> <!-- {x-version-update;com.azure.spring:spring-cloud-azure-stream-binder-servicebus-topic;current} -->
</dependency>
</dependencies>

</project>
36 changes: 36 additions & 0 deletions sdk/spring/spring-reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,18 @@
groupId: com.azure.spring
artifactId: azure-spring-cloud-stream-binder-servicebus-topic
version: 2.2.0
- artifactId: spring-cloud-azure-starter-stream-servicebus-topic
groupId: com.azure.spring
versionPreview: 4.0.0-beta.1
description: Microsoft's Spring Cloud Stream Binder Starter provides Spring Cloud Stream Binder for Azure Service Bus Topic which allows you to build message-driven microservice using Spring Cloud Stream based on Azure Service Bus Topic.
type: spring
links:
repopath: https://search.maven.org/artifact/com.azure.spring/spring-cloud-azure-starter-stream-servicebus-topic
msdocs: https://docs.microsoft.com/azure/developer/java/spring-framework/configure-spring-cloud-stream-binder-java-app-with-service-bus
github: https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/spring/spring-cloud-azure-starter-stream-servicebus-topic
springProperties:
bom: azure-spring-cloud-dependencies
compatibilityRange: "[2.5.0,2.5.5)"
- artifactId: spring-cloud-azure-stream-binder-servicebus-queue
groupId: com.azure.spring
versionGA: 4.0.0
Expand All @@ -348,6 +360,18 @@
groupId: com.azure.spring
artifactId: azure-spring-cloud-stream-binder-servicebus-queue
version: 2.2.0
- artifactId: spring-cloud-azure-starter-stream-servicebus-queue
groupId: com.azure.spring
versionPreview: 4.0.0-beta.1
description: Microsoft's Spring Cloud Stream Binder Starter provides Spring Cloud Stream Binder for Azure Service Bus Queue which allows you to build message-driven microservice using Spring Cloud Stream based on Azure Service Bus Queue.
type: spring
links:
repopath: https://search.maven.org/artifact/com.azure.spring/spring-cloud-azure-starter-stream-servicebus-queue
msdocs: https://docs.microsoft.com/azure/developer/java/spring-framework/configure-spring-cloud-stream-binder-java-app-with-service-bus
github: https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/spring/spring-cloud-azure-starter-stream-servicebus-queue
springProperties:
bom: azure-spring-cloud-dependencies
compatibilityRange: "[2.5.0,2.5.5)"
- artifactId: spring-cloud-azure-starter-servicebus
groupId: com.azure.spring
versionGA: 4.0.0
Expand Down Expand Up @@ -460,6 +484,18 @@
groupId: com.azure.spring
artifactId: azure-spring-cloud-stream-binder-eventhubs
version: 2.2.0
- artifactId: spring-cloud-azure-starter-stream-eventhubs
groupId: com.azure.spring
versionPreview: 4.0.0-beta.1
description: Microsoft's Spring Cloud Stream Binder Starter provides Spring Cloud Stream Binder for Azure Event Hub which allows you to build message-driven microservice using Spring Cloud Stream based on Azure Event Hub service.
type: spring
links:
repopath: https://search.maven.org/artifact/com.azure.spring/spring-cloud-azure-starter-stream-eventhubs
msdocs: https://docs.microsoft.com/azure/developer/java/spring-framework/configure-spring-cloud-stream-binder-java-app-azure-event-hub
github: https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/spring/spring-cloud-azure-starter-stream-eventhubs
springProperties:
bom: azure-spring-cloud-dependencies
compatibilityRange: "[2.5.0,2.5.5)"
- name: Event Hubs - Kafka
description: The Event Hubs for Apache Kafka feature provides a protocol head on top of Azure Event Hubs that is protocol compatible with Apache Kafka clients built for Apache Kafka server versions 1.0 and later and supports for both reading from and writing to Event Hubs, which are equivalent to Apache Kafka topics.
msdocs: https://docs.microsoft.com/azure/event-hubs/event-hubs-for-kafka-ecosystem-overview
Expand Down

0 comments on commit a7cc5ac

Please sign in to comment.