Browse Source

remove unused file

master
Savorboard 5 years ago
parent
commit
200d14a826
5 changed files with 0 additions and 108 deletions
  1. +0
    -29
      src/DotNetCore.CAP.Dashboard/IMonitoringApi.cs
  2. +0
    -28
      src/DotNetCore.CAP.Dashboard/Monitoring/MessageDto.cs
  3. +0
    -23
      src/DotNetCore.CAP.Dashboard/Monitoring/MessageQueryDto.cs
  4. +0
    -12
      src/DotNetCore.CAP.Dashboard/Monitoring/ServerDto.cs
  5. +0
    -16
      src/DotNetCore.CAP.Dashboard/Monitoring/StatisticsDto.cs

+ 0
- 29
src/DotNetCore.CAP.Dashboard/IMonitoringApi.cs View File

@@ -1,29 +0,0 @@
// Copyright (c) .NET Core Community. 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 DotNetCore.CAP.Dashboard.Monitoring;
using DotNetCore.CAP.Messages;

namespace DotNetCore.CAP.Dashboard
{
public interface IMonitoringApi
{
StatisticsDto GetStatistics();

IList<MessageDto> Messages(MessageQueryDto queryDto);

int PublishedFailedCount();

int PublishedSucceededCount();

int ReceivedFailedCount();

int ReceivedSucceededCount();

IDictionary<DateTime, int> HourlySucceededJobs(MessageType type);

IDictionary<DateTime, int> HourlyFailedJobs(MessageType type);
}
}

+ 0
- 28
src/DotNetCore.CAP.Dashboard/Monitoring/MessageDto.cs View File

@@ -1,28 +0,0 @@
// Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

using System;

namespace DotNetCore.CAP.Dashboard.Monitoring
{
public class MessageDto
{
public long Id { get; set; }

public string Version { get; set; }

public string Group { get; set; }

public string Name { get; set; }

public string Content { get; set; }

public DateTime Added { get; set; }

public DateTime? ExpiresAt { get; set; }

public int Retries { get; set; }

public string StatusName { get; set; }
}
}

+ 0
- 23
src/DotNetCore.CAP.Dashboard/Monitoring/MessageQueryDto.cs View File

@@ -1,23 +0,0 @@
// Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

using DotNetCore.CAP.Messages;

namespace DotNetCore.CAP.Dashboard.Monitoring
{
public class MessageQueryDto
{
public MessageType MessageType { get; set; }

public string Group { get; set; }
public string Name { get; set; }

public string Content { get; set; }

public string StatusName { get; set; }

public int CurrentPage { get; set; }

public int PageSize { get; set; }
}
}

+ 0
- 12
src/DotNetCore.CAP.Dashboard/Monitoring/ServerDto.cs View File

@@ -1,12 +0,0 @@
// Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

namespace DotNetCore.CAP.Dashboard.Monitoring
{
public class SubscriberDto
{
public string Name { get; set; }

public string Method { get; set; }
}
}

+ 0
- 16
src/DotNetCore.CAP.Dashboard/Monitoring/StatisticsDto.cs View File

@@ -1,16 +0,0 @@
// Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

namespace DotNetCore.CAP.Dashboard.Monitoring
{
public class StatisticsDto
{
public int Servers { get; set; }

public int PublishedSucceeded { get; set; }
public int ReceivedSucceeded { get; set; }

public int PublishedFailed { get; set; }
public int ReceivedFailed { get; set; }
}
}

Loading…
Cancel
Save