Skip to content

Commit

Permalink
Update namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
agyen committed Jun 24, 2024
1 parent 7e8d937 commit 3ac70e3
Show file tree
Hide file tree
Showing 20 changed files with 34 additions and 85 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

using Microsoft.Extensions.DependencyInjection;

namespace gRPC_Web_Service.DependencyInjection;
namespace MorganStanley.ComposeUI.ProcessExplorer.GrpcWebServer.DependencyInjection;

public sealed class ProcessExplorerBuilder
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
using Microsoft.Extensions.DependencyInjection.Extensions;
using MorganStanley.ComposeUI.ProcessExplorer.Abstractions.Infrastructure;
using MorganStanley.ComposeUI.ProcessExplorer.Core.DependencyInjection;
using gRPC_Web_Service.Server.Infrastructure.Grpc;
using MorganStanley.ComposeUI.ProcessExplorer.GrpcWebServer.Server.Infrastructure.Grpc;

namespace gRPC_Web_Service.DependencyInjection;
namespace MorganStanley.ComposeUI.ProcessExplorer.GrpcWebServer.DependencyInjection;

public static class ServiceCollectionProcessExplorerExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
using ProcessInfoCollectorData = MorganStanley.ComposeUI.ProcessExplorer.Abstractions.Entities.ProcessInfoCollectorData;
using ProtoProcessInfoCollectorData = ProcessExplorer.Abstractions.Infrastructure.Protos.ProcessInfoCollectorData;

namespace gRPC_Web_Service.Extensions;
namespace MorganStanley.ComposeUI.ProcessExplorer.GrpcWebServer.Extensions;

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

using Microsoft.Extensions.Logging;

namespace gRPC_Web_Service.Logging;
namespace MorganStanley.ComposeUI.ProcessExplorer.GrpcWebServer.Logging;

internal static partial class SourceGeneratedLoggerExtensions
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
using gRPC_Web_Service.DependencyInjection;
using gRPC_Web_Service.Server.GrpcServer;
using gRPC_Web_Service.Server.Abstractions;
using gRPC_Web_Service.Server.Infrastructure.Grpc;
using gRPC_Web_Service.Services;
using gRPC_Web_Service.Sever.Abstractions;
using MorganStanley.ComposeUI.ProcessExplorer.Core.DependencyInjection;
using MorganStanley.ComposeUI.ProcessExplorer.Abstractions.Infrastructure;
using System.Diagnostics;
using MorganStanley.ComposeUI.ProcessExplorer.GrpcWebServer.DependencyInjection;
using MorganStanley.ComposeUI.ProcessExplorer.GrpcWebServer.Server.Abstractions;
using MorganStanley.ComposeUI.ProcessExplorer.GrpcWebServer.Server.Infrastructure.Grpc;

var builder = WebApplication.CreateBuilder(args);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@

using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using gRPC_Web_Service.DependencyInjection;
using gRPC_Web_Service.Server.GrpcServer;
using gRPC_Web_Service.Sever.Abstractions;
using gRPC_Web_Service.Server.Infrastructure.Grpc;
using MorganStanley.ComposeUI.ProcessExplorer.GrpcWebServer.DependencyInjection;
using MorganStanley.ComposeUI.ProcessExplorer.GrpcWebServer.Server.GrpcServer;
using MorganStanley.ComposeUI.ProcessExplorer.GrpcWebServer.Server.Infrastructure.Grpc;
using MorganStanley.ComposeUI.ProcessExplorer.Abstractions.Infrastructure;
using MorganStanley.ComposeUI.ProcessExplorer.Core.DependencyInjection;
using System.Diagnostics;
using MorganStanley.ComposeUI.ProcessExplorer.GrpcWebServer.Sever.Abstractions;

namespace gRPC_Web_Service.Server.Abstractions;
namespace MorganStanley.ComposeUI.ProcessExplorer.GrpcWebServer.Server.Abstractions;

public static class ProcessExplorerBuilderExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
using Microsoft.Extensions.Options;
using MorganStanley.ComposeUI.ProcessExplorer.Abstractions;
using MorganStanley.ComposeUI.ProcessExplorer.Abstractions.Subsystems;
using gRPC_Web_Service.Logging;
using gRPC_Web_Service.Server.Abstractions;
using MorganStanley.ComposeUI.ProcessExplorer.GrpcWebServer.Logging;
using MorganStanley.ComposeUI.ProcessExplorer.GrpcWebServer.Server.Abstractions;

namespace gRPC_Web_Service.Sever.Abstractions;
namespace MorganStanley.ComposeUI.ProcessExplorer.GrpcWebServer.Sever.Abstractions;

internal abstract class ProcessExplorerServer
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
using MorganStanley.ComposeUI.ProcessExplorer.Abstractions;
using MorganStanley.ComposeUI.ProcessExplorer.Core.Processes;

namespace gRPC_Web_Service.Server.Abstractions;
namespace MorganStanley.ComposeUI.ProcessExplorer.GrpcWebServer.Server.Abstractions;

public class ProcessExplorerServerOptions : IOptions<ProcessExplorerServerOptions>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
using Microsoft.Extensions.Logging.Abstractions;
using Microsoft.Extensions.Options;
using MorganStanley.ComposeUI.ProcessExplorer.Abstractions;
using gRPC_Web_Service.Logging;
using gRPC_Web_Service.Server.Abstractions;
using gRPC_Web_Service.Server.Infrastructure.Grpc;
using MorganStanley.ComposeUI.ProcessExplorer.GrpcWebServer.Logging;
using MorganStanley.ComposeUI.ProcessExplorer.GrpcWebServer.Server.Abstractions;
using MorganStanley.ComposeUI.ProcessExplorer.GrpcWebServer.Server.Infrastructure.Grpc;
using ProcessExplorer.Abstractions.Infrastructure.Protos;
using GRPCServer = Grpc.Core.Server;
using gRPC_Web_Service.Sever.Abstractions;
using MorganStanley.ComposeUI.ProcessExplorer.GrpcWebServer.Sever.Abstractions;

namespace gRPC_Web_Service.Server.GrpcServer;
namespace MorganStanley.ComposeUI.ProcessExplorer.GrpcWebServer.Server.GrpcServer;
internal class GrpcListenerService : ProcessExplorerServer, IHostedService
{
private readonly CancellationTokenSource _stopTokenSource = new();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
using MorganStanley.ComposeUI.ProcessExplorer.Abstractions.Infrastructure;
using ProcessExplorer.Abstractions.Infrastructure.Protos;

namespace gRPC_Web_Service.Server.Infrastructure.Grpc;
namespace MorganStanley.ComposeUI.ProcessExplorer.GrpcWebServer.Server.Infrastructure.Grpc;

internal class GrpcClientConnection : IClientConnection<Message>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
using MorganStanley.ComposeUI.ProcessExplorer.Abstractions.Logging;
using MorganStanley.ComposeUI.ProcessExplorer.Abstractions.Processes;
using MorganStanley.ComposeUI.ProcessExplorer.Abstractions.Subsystems;
using gRPC_Web_Service.Logging;
using MorganStanley.ComposeUI.ProcessExplorer.GrpcWebServer.Logging;
using ProcessExplorer.Abstractions.Infrastructure.Protos;
using MorganStanley.ComposeUI.ProcessExplorer.Abstractions;

namespace gRPC_Web_Service.Server.Infrastructure.Grpc;
namespace MorganStanley.ComposeUI.ProcessExplorer.GrpcWebServer.Server.Infrastructure.Grpc;

[ExcludeFromCodeCoverage]
internal class GrpcUiHandler : IUiHandler
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@

using Google.Protobuf.WellKnownTypes;
using Grpc.Core;
using gRPC_Web_Service.Logging;
using MorganStanley.ComposeUI.ProcessExplorer.GrpcWebServer.Logging;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using MorganStanley.ComposeUI.ProcessExplorer.Abstractions;
using ProcessExplorer.Abstractions.Infrastructure.Protos;

namespace gRPC_Web_Service.Server.Infrastructure.Grpc;
namespace MorganStanley.ComposeUI.ProcessExplorer.GrpcWebServer.Server.Infrastructure.Grpc;

public class ProcessExplorerMessageHandlerService : ProcessExplorerMessageHandler.ProcessExplorerMessageHandlerBase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
// or implied. See the License for the specific language governing permissions
// and limitations under the License.

using gRPC_Web_Service.Extensions;
using gRPC_Web_Service.Logging;
using MorganStanley.ComposeUI.ProcessExplorer.GrpcWebServer.Extensions;
using MorganStanley.ComposeUI.ProcessExplorer.GrpcWebServer.Logging;
using Microsoft.Extensions.Logging;
using MorganStanley.ComposeUI.ProcessExplorer.Abstractions;
using ProcessExplorer.Abstractions.Infrastructure.Protos;

namespace gRPC_Web_Service.Server;
namespace MorganStanley.ComposeUI.ProcessExplorer.GrpcWebServer.Server;

internal static class MessageHandler
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
</PropertyGroup>

<ItemGroup>
<Protobuf Include="Protos\greet.proto" GrpcServices="Server" />
<Compile Remove="Protos\**" />
<Content Remove="Protos\**" />
<EmbeddedResource Remove="Protos\**" />
<None Remove="Protos\**" />
</ItemGroup>

<ItemGroup>
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 3ac70e3

Please sign in to comment.