Skip to content

Commit

Permalink
drop rxjava and completableFuture api (#24326)
Browse files Browse the repository at this point in the history
  • Loading branch information
yiliuTo authored Sep 27, 2021
1 parent e4b7904 commit 6fadec5
Show file tree
Hide file tree
Showing 76 changed files with 511 additions and 1,697 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

import com.azure.resourcemanager.AzureResourceManager;
import com.azure.spring.cloud.autoconfigure.eventhub.AzureEventHubProperties;
import com.azure.spring.cloud.autoconfigure.eventhub.resourcemanager.DefaultEventHubProvisioner;
import com.azure.spring.eventhubs.provisioning.arm.DefaultEventHubProvisioner;
import com.azure.spring.cloud.resourcemanager.connectionstring.EventHubArmConnectionStringProvider;
import com.azure.spring.eventhubs.core.EventHubProvisioner;
import com.azure.spring.eventhubs.provisioning.EventHubProvisioner;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

import com.azure.resourcemanager.AzureResourceManager;
import com.azure.spring.cloud.autoconfigure.servicebus.AzureServiceBusProperties;
import com.azure.spring.cloud.autoconfigure.servicebus.resourcemanager.DefaultServiceBusQueueProvisioner;
import com.azure.spring.cloud.autoconfigure.servicebus.resourcemanager.DefaultServiceBusTopicProvisioner;
import com.azure.spring.servicebus.provisioning.arm.DefaultServiceBusQueueProvisioner;
import com.azure.spring.servicebus.provisioning.arm.DefaultServiceBusTopicProvisioner;
import com.azure.spring.cloud.resourcemanager.connectionstring.ServiceBusArmConnectionStringProvider;
import com.azure.spring.servicebus.core.ServiceBusQueueProvisioner;
import com.azure.spring.servicebus.core.ServiceBusTopicProvisioner;
import com.azure.spring.servicebus.provisioning.ServiceBusQueueProvisioner;
import com.azure.spring.servicebus.provisioning.ServiceBusTopicProvisioner;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import com.azure.messaging.servicebus.ServiceBusClientBuilder;
import com.azure.spring.servicebus.core.DefaultServiceBusQueueClientFactory;
import com.azure.spring.servicebus.core.ServiceBusQueueClientFactory;
import com.azure.spring.servicebus.core.ServiceBusQueueProvisioner;
import com.azure.spring.servicebus.provisioning.ServiceBusQueueProvisioner;
import com.azure.spring.servicebus.core.queue.ServiceBusQueueOperation;
import com.azure.spring.servicebus.core.queue.ServiceBusQueueTemplate;
import com.azure.spring.servicebus.support.converter.ServiceBusMessageConverter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import com.azure.messaging.servicebus.ServiceBusClientBuilder;
import com.azure.spring.servicebus.core.DefaultServiceBusTopicClientFactory;
import com.azure.spring.servicebus.core.ServiceBusTopicClientFactory;
import com.azure.spring.servicebus.core.ServiceBusTopicProvisioner;
import com.azure.spring.servicebus.provisioning.ServiceBusTopicProvisioner;
import com.azure.spring.servicebus.core.topic.ServiceBusTopicOperation;
import com.azure.spring.servicebus.core.topic.ServiceBusTopicTemplate;
import com.azure.spring.servicebus.support.converter.ServiceBusMessageConverter;
Expand Down

This file was deleted.

7 changes: 6 additions & 1 deletion sdk/spring/azure-spring-eventhubs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,12 @@
<artifactId>azure-messaging-eventhubs</artifactId>
<version>5.10.1</version> <!-- {x-version-update;com.azure:azure-messaging-eventhubs;dependency} -->
</dependency>

<dependency>
<groupId>com.azure.spring</groupId>
<artifactId>azure-spring-cloud-resourcemanager</artifactId>
<version>4.0.0-beta.1</version> <!-- {x-version-update;com.azure.spring:azure-spring-cloud-resourcemanager;current} -->
<optional>true</optional>
</dependency>
<!-- Contains Azure Storage Blobs checkpoint store when using EventProcessorClient -->
<dependency>
<groupId>com.azure</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

import com.azure.spring.eventhubs.support.StartPosition;
import com.azure.spring.messaging.core.SubscribeByGroupOperation;
import com.azure.spring.messaging.core.reactor.BatchSendOperation;
import com.azure.spring.messaging.core.reactor.SendOperation;
import com.azure.spring.messaging.core.BatchSendOperation;
import com.azure.spring.messaging.core.SendOperation;

/**
* Azure event hub operation to support send data asynchronously and subscribe
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
import com.azure.spring.messaging.AzureHeaders;
import com.azure.spring.messaging.checkpoint.CheckpointConfig;
import com.azure.spring.messaging.checkpoint.CheckpointMode;
import com.azure.spring.messaging.checkpoint.reactor.AzureCheckpointer;
import com.azure.spring.messaging.checkpoint.reactor.Checkpointer;
import com.azure.spring.messaging.checkpoint.AzureCheckpointer;
import com.azure.spring.messaging.checkpoint.Checkpointer;
import com.azure.spring.eventhubs.checkpoint.CheckpointManager;
import com.azure.spring.eventhubs.support.converter.EventHubMessageConverter;
import org.slf4j.Logger;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
import com.azure.spring.messaging.AzureHeaders;
import com.azure.spring.messaging.checkpoint.CheckpointConfig;
import com.azure.spring.messaging.checkpoint.CheckpointMode;
import com.azure.spring.messaging.checkpoint.reactor.AzureCheckpointer;
import com.azure.spring.messaging.checkpoint.reactor.Checkpointer;
import com.azure.spring.messaging.checkpoint.AzureCheckpointer;
import com.azure.spring.messaging.checkpoint.Checkpointer;
import com.azure.spring.eventhubs.support.converter.EventHubMessageConverter;
import org.springframework.messaging.Message;
import org.springframework.messaging.MessageHeaders;
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.spring.eventhubs.core;
package com.azure.spring.eventhubs.provisioning;

/**
* An interface to provision Event Hubs resources.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.spring.cloud.autoconfigure.eventhub.resourcemanager;
package com.azure.spring.eventhubs.provisioning.arm;

import com.azure.resourcemanager.AzureResourceManager;
import com.azure.spring.cloud.resourcemanager.implementation.crud.EventHubConsumerGroupCrud;
import com.azure.spring.cloud.resourcemanager.implementation.crud.EventHubCrud;
import com.azure.spring.cloud.resourcemanager.implementation.crud.EventHubNamespaceCrud;
import com.azure.spring.core.properties.resource.AzureResourceMetadata;
import com.azure.spring.eventhubs.core.EventHubProvisioner;
import reactor.util.function.Tuple2;
import com.azure.spring.eventhubs.provisioning.EventHubProvisioner;
import reactor.util.function.Tuples;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

/**
* Package com.azure.spring.eventhubs.provisioning.arm
*/
package com.azure.spring.eventhubs.provisioning.arm;
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
// Licensed under the MIT License.

/**
* Package com.azure.spring.messaging.core.reactor;
* Package com.azure.spring.eventhubs.provisioning
*/
package com.azure.spring.messaging.core.reactor;
package com.azure.spring.eventhubs.provisioning;

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
import com.azure.spring.messaging.AzureHeaders;
import com.azure.spring.messaging.checkpoint.CheckpointConfig;
import com.azure.spring.messaging.checkpoint.CheckpointMode;
import com.azure.spring.messaging.checkpoint.reactor.Checkpointer;
import com.azure.spring.messaging.core.reactor.SendSubscribeByGroupOperationTest;
import com.azure.spring.messaging.checkpoint.Checkpointer;
import com.azure.spring.messaging.core.SendSubscribeByGroupOperationTest;
import com.azure.spring.messaging.support.pojo.User;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
Expand Down
Loading

0 comments on commit 6fadec5

Please sign in to comment.