Skip to content

Commit

Permalink
Update namespace and assembly names
Browse files Browse the repository at this point in the history
  • Loading branch information
JatinSanghvi committed Feb 21, 2022
1 parent ae75cde commit 1af6607
Show file tree
Hide file tree
Showing 25 changed files with 39 additions and 62 deletions.
15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# Visual Studio Code: https://raw.githubusercontent.com/github/gitignore/main/Global/VisualStudioCode.gitignore

.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets

# Local History for Visual Studio Code
.history/

# Built Visual Studio Code Extensions
*.vsix

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
Expand Down
8 changes: 0 additions & 8 deletions NuGet.Config

This file was deleted.

3 changes: 0 additions & 3 deletions release_notes.md

This file was deleted.

1 change: 0 additions & 1 deletion src/Config/RabbitMQWebJobsBuilderExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

using System;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions;
using Microsoft.Azure.WebJobs.Extensions.RabbitMQ;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
Expand Down
2 changes: 1 addition & 1 deletion src/Constants.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

namespace Microsoft.Azure.WebJobs.Extensions
namespace Microsoft.Azure.WebJobs.Extensions.RabbitMQ
{
internal static class Constants
{
Expand Down
2 changes: 1 addition & 1 deletion src/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
using System.Runtime.CompilerServices;

[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7")]
[assembly: InternalsVisibleTo("WebJobs.Extensions.RabbitMQ.Tests")]
[assembly: InternalsVisibleTo("Microsoft.Azure.WebJobs.Extensions.RabbitMQ.Tests")]
4 changes: 1 addition & 3 deletions src/RabbitMQContext.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

using Microsoft.Azure.WebJobs.Extensions.RabbitMQ;

namespace Microsoft.Azure.WebJobs.Extensions
namespace Microsoft.Azure.WebJobs.Extensions.RabbitMQ
{
internal class RabbitMQContext
{
Expand Down
2 changes: 1 addition & 1 deletion src/Utility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Linq;
using Microsoft.Extensions.Configuration;

namespace Microsoft.Azure.WebJobs.Extensions
namespace Microsoft.Azure.WebJobs.Extensions.RabbitMQ
{
internal static class Utility
{
Expand Down
1 change: 1 addition & 0 deletions src/WebJobs.Extensions.RabbitMQ.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>Microsoft.Azure.WebJobs.Extensions.RabbitMQ</AssemblyName>
<RootNamespace>Microsoft.Azure.WebJobs.Extensions.RabbitMQ</RootNamespace>
<ApplicationIcon />
<OutputType>Library</OutputType>
Expand Down
4 changes: 1 addition & 3 deletions test/WebJobs.Extensions.RabbitMQ.Samples/Program.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

using System.IO;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;

namespace WebJobs.Extensions.RabbitMQ.Samples
namespace Microsoft.Azure.WebJobs.Extensions.RabbitMQ.Samples
{
public static class Program
{
Expand Down
3 changes: 1 addition & 2 deletions test/WebJobs.Extensions.RabbitMQ.Samples/RabbitMQSamples.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@

using System.Text;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;

namespace WebJobs.Extensions.RabbitMQ.Samples
namespace Microsoft.Azure.WebJobs.Extensions.RabbitMQ.Samples
{
public static class RabbitMQSamples
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@

using System;
using System.Collections.Generic;
using Microsoft.Azure.WebJobs;

namespace WebJobs.Extensions.RabbitMQ.Samples
namespace Microsoft.Azure.WebJobs.Extensions.RabbitMQ.Samples
{
public class SamplesTypeLocator : ITypeLocator
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<LangVersion>latest</LangVersion>
<AssemblyName>Microsoft.Azure.WebJobs.Extensions.RabbitMQ.Samples</AssemblyName>
<RootNamespace>Microsoft.Azure.WebJobs.Extensions.RabbitMQ.Samples</RootNamespace>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@
using System;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs.Extensions.RabbitMQ;
using Newtonsoft.Json;
using RabbitMQ.Client.Events;
using Xunit;

namespace WebJobs.Extensions.RabbitMQ.Tests
namespace Microsoft.Azure.WebJobs.Extensions.RabbitMQ.Tests
{
public class BasicDeliverEventArgsValueProviderTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@

using System;
using System.Text;
using Microsoft.Azure.WebJobs.Extensions.RabbitMQ;
using Newtonsoft.Json;
using Xunit;

namespace WebJobs.Extensions.RabbitMQ.Tests
namespace Microsoft.Azure.WebJobs.Extensions.RabbitMQ.Tests
{
public class PocoToBytesConverterTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,13 @@

using System.Text;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions;
using Microsoft.Azure.WebJobs.Extensions.RabbitMQ;
using Microsoft.Azure.WebJobs.Logging;
using Microsoft.Extensions.Logging;
using Moq;
using RabbitMQ.Client;
using Xunit;
using Constants = Microsoft.Azure.WebJobs.Extensions.Constants;

namespace WebJobs.Extensions.RabbitMQ.Tests
namespace Microsoft.Azure.WebJobs.Extensions.RabbitMQ.Tests
{
public class RabbitMQAsyncCollectorTests
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions;
using Microsoft.Azure.WebJobs.Extensions.RabbitMQ;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Moq;
using RabbitMQ.Client;
using Xunit;
using Constants = Microsoft.Azure.WebJobs.Extensions.Constants;

namespace WebJobs.Extensions.RabbitMQ.Tests
namespace Microsoft.Azure.WebJobs.Extensions.RabbitMQ.Tests
{
public class RabbitMQClientBuilderTests
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.RabbitMQ;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Moq;
using Xunit;

namespace WebJobs.Extensions.RabbitMQ.Tests
namespace Microsoft.Azure.WebJobs.Extensions.RabbitMQ.Tests
{
public class RabbitMQConfigProviderTests
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.RabbitMQ;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging.Abstractions;
using Microsoft.Extensions.Options;
using Moq;
using Xunit;

namespace WebJobs.Extensions.RabbitMQ.Tests
namespace Microsoft.Azure.WebJobs.Extensions.RabbitMQ.Tests
{
public class RabbitMQExtensionConfigProviderTests
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

using Microsoft.Azure.WebJobs.Extensions.RabbitMQ;
using Microsoft.Azure.WebJobs.Host.Executors;
using Microsoft.Azure.WebJobs.Host.Protocols;
using Microsoft.Azure.WebJobs.Host.Scale;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Moq;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
using RabbitMQ.Client.Framing;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Xunit;

namespace WebJobs.Extensions.RabbitMQ.Tests
namespace Microsoft.Azure.WebJobs.Extensions.RabbitMQ.Tests
{
public class RabbitMQListenerTests
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

using Microsoft.Azure.WebJobs.Extensions.RabbitMQ;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Options;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Xunit;

namespace WebJobs.Extensions.RabbitMQ.Tests
namespace Microsoft.Azure.WebJobs.Extensions.RabbitMQ.Tests
{
public class RabbitMQOptionsTests
{
Expand Down Expand Up @@ -74,8 +73,7 @@ public void TestJobHostHasTheRightConfiguration()
.UseEnvironment("Development")
.ConfigureWebJobs(webJobsBuilder =>
{
webJobsBuilder
.AddRabbitMQ(a => a.PrefetchCount = expectedPrefetchCount); // set to non-default prefetch count
webJobsBuilder.AddRabbitMQ(a => a.PrefetchCount = expectedPrefetchCount); // set to non-default prefetch count
})
.UseConsoleLifetime();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@
// Licensed under the MIT License. See License.txt in the project root for license information.

using System;
using Microsoft.Azure.WebJobs.Extensions.RabbitMQ;
using Moq;
using Xunit;

namespace WebJobs.Extensions.RabbitMQ.Tests
namespace Microsoft.Azure.WebJobs.Extensions.RabbitMQ.Tests
{
public class RabbitMQTriggerBindingProviderTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@

using System;
using System.Collections.Generic;
using Microsoft.Azure.WebJobs.Extensions.RabbitMQ;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
using Xunit;

namespace WebJobs.Extensions.RabbitMQ.Tests
namespace Microsoft.Azure.WebJobs.Extensions.RabbitMQ.Tests
{
public class RabbitMQTriggerBindingTests
{
Expand Down
6 changes: 1 addition & 5 deletions test/WebJobs.Extensions.RabbitMQ.Tests/UtilityTests.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Azure.WebJobs.Extensions;
using Microsoft.Extensions.Configuration;
using Xunit;

namespace WebJobs.Extensions.RabbitMQ.Tests
namespace Microsoft.Azure.WebJobs.Extensions.RabbitMQ.Tests
{
public class UtilityTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<TargetFramework>net6.0</TargetFramework>
<LangVersion>latest</LangVersion>
<IsPackable>false</IsPackable>
<AssemblyName>Microsoft.Azure.WebJobs.Extensions.RabbitMQ.Tests</AssemblyName>
<RootNamespace>Microsoft.Azure.WebJobs.Extensions.RabbitMQ.Tests</RootNamespace>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 1af6607

Please sign in to comment.