Skip to content

Commit

Permalink
Remove types, tests & logic related to the SDK-binding feature (Azure…
Browse files Browse the repository at this point in the history
  • Loading branch information
liliankasem committed Feb 23, 2023
1 parent c974502 commit eac5b19
Show file tree
Hide file tree
Showing 13 changed files with 8 additions and 577 deletions.

This file was deleted.

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

namespace Microsoft.Azure.Functions.Worker
{
[SupportsDeferredBinding]
public sealed class BlobInputAttribute : InputBindingAttribute
{
private readonly string _blobPath;
Expand Down
236 changes: 0 additions & 236 deletions extensions/Worker.Extensions.Storage.Blobs/src/BlobStorageConverter.cs

This file was deleted.

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

namespace Microsoft.Azure.Functions.Worker
{
[SupportsDeferredBinding]
public sealed class BlobTriggerAttribute : TriggerBindingAttribute
{
private readonly string _blobPath;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ public override void Configure(IFunctionsWorkerApplicationBuilder applicationBui
applicationBuilder.Services.AddAzureClientsCore(); // Adds AzureComponentFactory
applicationBuilder.Services.AddOptions<BlobStorageBindingOptions>();
applicationBuilder.Services.AddSingleton<IConfigureOptions<BlobStorageBindingOptions>, BlobStorageBindingOptionsSetup>();

applicationBuilder.Services.Configure<WorkerOptions>((workerOption) =>
{
workerOption.InputConverters.RegisterAt<BlobStorageConverter>(0);
});
}
}
}
16 changes: 0 additions & 16 deletions src/DotNetWorker.Core/CollectionModelBindingData.cs

This file was deleted.

33 changes: 0 additions & 33 deletions src/DotNetWorker.Core/ModelBindingData.cs

This file was deleted.

2 changes: 0 additions & 2 deletions src/DotNetWorker.Grpc/Features/GrpcFunctionBindingsFeature.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,6 @@ public void SetOutputBinding(string name, object value)
TypedData.DataOneofCase.CollectionString => typedData.CollectionString.String,
TypedData.DataOneofCase.CollectionDouble => typedData.CollectionDouble.Double,
TypedData.DataOneofCase.CollectionSint64 => typedData.CollectionSint64.Sint64,
TypedData.DataOneofCase.ModelBindingData => new GrpcModelBindingData(typedData.ModelBindingData),
TypedData.DataOneofCase.CollectionModelBindingData => new GrpcCollectionModelBindingData(typedData.CollectionModelBindingData),
_ => throw new NotSupportedException($"{typedData.DataCase} is not supported."),
};
}
Expand Down
19 changes: 0 additions & 19 deletions src/DotNetWorker.Grpc/GrpcCollectionModelBindingData.cs

This file was deleted.

26 changes: 0 additions & 26 deletions src/DotNetWorker.Grpc/GrpcModelBindingData.cs

This file was deleted.

0 comments on commit eac5b19

Please sign in to comment.