Skip to content

[Backport 8.2] Remove helpers namespace #6453

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

Merged
merged 1 commit into from
Jun 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion benchmarks/Profiling/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using System.Linq;
using System.Text;
using Elastic.Clients.Elasticsearch;
using Elastic.Clients.Elasticsearch.Helpers;
using Elastic.Transport;
using JetBrains.Profiler.Api;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System;
using System.Collections.Generic;
using System.Threading;
using Elastic.Clients.Elasticsearch.Helpers;
using Elastic.Clients.Elasticsearch;

namespace Elastic.Clients.Elasticsearch;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System;
using System.Threading;

namespace Elastic.Clients.Elasticsearch.Helpers;
namespace Elastic.Clients.Elasticsearch;

public static class BlockingSubscribeExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
using Elastic.Transport.Extensions;
using Elastic.Transport.Products.Elasticsearch;

namespace Elastic.Clients.Elasticsearch.Helpers;
namespace Elastic.Clients.Elasticsearch;

public sealed class BulkAllObservable<T> : IDisposable, IObservable<BulkAllResponse>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System;
using System.Threading;

namespace Elastic.Clients.Elasticsearch.Helpers;
namespace Elastic.Clients.Elasticsearch;

public sealed class BulkAllObserver : CoordinatedRequestObserverBase<BulkAllResponse>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Text.Json;
using Elastic.Transport;

namespace Elastic.Clients.Elasticsearch.Helpers;
namespace Elastic.Clients.Elasticsearch;

public sealed class BulkAllRequest<T> : IBulkAllRequest<T>, IHelperCallable
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using System.Collections.Generic;

namespace Elastic.Clients.Elasticsearch.Helpers;
namespace Elastic.Clients.Elasticsearch;

public sealed class BulkAllResponse
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using System;

namespace Elastic.Clients.Elasticsearch.Helpers;
namespace Elastic.Clients.Elasticsearch;

internal static class CoordinatedRequestDefaults
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System;
using Elastic.Transport;

namespace Elastic.Clients.Elasticsearch.Helpers;
namespace Elastic.Clients.Elasticsearch;

public abstract class CoordinatedRequestObserverBase<T> : IObserver<T>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// See the LICENSE file in the project root for more information.


namespace Elastic.Clients.Elasticsearch.Helpers;
namespace Elastic.Clients.Elasticsearch;

internal static class HelperIdentifiers
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System;
using System.Collections.Generic;

namespace Elastic.Clients.Elasticsearch.Helpers
namespace Elastic.Clients.Elasticsearch
{
public interface IBulkAllRequest<T>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using Elastic.Transport;

namespace Elastic.Clients.Elasticsearch.Helpers;
namespace Elastic.Clients.Elasticsearch;

/// <summary>
/// May be applied to helper requests where they may be called by an upstream helper.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Collections.Generic;
using System.Linq;

namespace Elastic.Clients.Elasticsearch.Helpers;
namespace Elastic.Clients.Elasticsearch;

internal class PartitionHelper<TDocument> : IEnumerable<IList<TDocument>>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Threading;
using System.Threading.Tasks;

namespace Elastic.Clients.Elasticsearch.Helpers;
namespace Elastic.Clients.Elasticsearch;

public sealed class ProducerConsumerBackPressure
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System;
using Elastic.Transport;

namespace Elastic.Clients.Elasticsearch.Helpers;
namespace Elastic.Clients.Elasticsearch;

internal static class RequestMetaDataExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using Elastic.Transport;

namespace Elastic.Clients.Elasticsearch.Helpers;
namespace Elastic.Clients.Elasticsearch;

internal static class RequestMetaDataFactory
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System;
using Elastic.Transport;

namespace Elastic.Clients.Elasticsearch.Helpers;
namespace Elastic.Clients.Elasticsearch;

internal static class RequestParametersExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using System.Diagnostics;
using System.Threading.Tasks;
using Elastic.Clients.Elasticsearch;
using Elastic.Clients.Elasticsearch.Helpers;
using Elastic.Clients.Elasticsearch.IndexManagement;
using Elastic.Transport;
using Tests.Core.Client;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using System.Collections.Generic;
using System.Diagnostics;
using Elastic.Clients.Elasticsearch;
using Elastic.Clients.Elasticsearch.Helpers;
using Elastic.Transport;
using Tests.Domain;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using System;
using System.Reactive.Linq;
using System.Threading.Tasks;
using Elastic.Clients.Elasticsearch.Helpers;
using Tests.Framework.DocumentationTests;

namespace Tests.ClientConcepts.HighLevel.Indexing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

using System;
using System.Threading;
using Elastic.Clients.Elasticsearch.Helpers;
using Tests.Core.ManagedElasticsearch.Clusters;
using Tests.Core.Xunit;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

using System;
using System.Collections.Generic;
using Elastic.Clients.Elasticsearch.Helpers;
using Tests.Core.ManagedElasticsearch.Clusters;

namespace Tests.Document.Multiple;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

using System;
using System.Threading;
using Elastic.Clients.Elasticsearch.Helpers;
using Tests.Core.ManagedElasticsearch.Clusters;
using Tests.Core.Xunit;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Elastic.Clients.Elasticsearch.Helpers;
using Tests.Core.ManagedElasticsearch.Clusters;

namespace Tests.Document.Multiple;
Expand Down