Skip to content

Commit

Permalink
Merge branch 'develop' into launch-artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
nvborisenko committed Sep 30, 2024
2 parents 9da51e6 + 42043f1 commit fb12571
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 60 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public class CreateLogItemRequest
/// <summary>
/// Date time of log item.
/// </summary>
[JsonConverter(typeof(DateTimeUnixEpochConverter))]
public DateTime Time { get; set; } = DateTime.UtcNow;

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using ReportPortal.Client.Converters;
using System;
using System.Text.Json.Serialization;
using System;

namespace ReportPortal.Client.Abstractions.Requests
{
Expand All @@ -12,7 +10,6 @@ public class FinishLaunchRequest
/// <summary>
/// Gets or sets the date and time when the launch execution is finished.
/// </summary>
[JsonConverter(typeof(DateTimeUnixEpochConverter))]
public DateTime EndTime { get; set; } = DateTime.UtcNow;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ public class FinishTestItemRequest
/// <summary>
/// Gets or sets the date and time when the test item is finished.
/// </summary>
[JsonConverter(typeof(DateTimeUnixEpochConverter))]
public DateTime EndTime { get; set; } = DateTime.UtcNow;

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,11 @@ public class MergeLaunchesRequest
/// <summary>
/// Gets or sets the date and time when the launch is executed.
/// </summary>
[JsonConverter(typeof(DateTimeUnixEpochConverter))]
public DateTime StartTime { get; set; }

/// <summary>
/// Gets or sets the date and time when the launch is finished.
/// </summary>
[JsonConverter(typeof(DateTimeUnixEpochConverter))]
public DateTime EndTime { get; set; }

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public class StartLaunchRequest
/// <summary>
/// Gets or sets the date and time when the launch is executed.
/// </summary>
[JsonConverter(typeof(DateTimeUnixEpochConverter))]
public DateTime StartTime { get; set; } = DateTime.UtcNow;

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ public class StartTestItemRequest
/// <summary>
/// Date time when new test item is created.
/// </summary>
[JsonConverter(typeof(DateTimeUnixEpochConverter))]
public DateTime StartTime { get; set; } = DateTime.UtcNow;

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,11 @@ public class LaunchResponse
/// <summary>
/// Gets or sets the start time of the launch.
/// </summary>
[JsonConverter(typeof(DateTimeUnixEpochConverter))]
public DateTime StartTime { get; set; }

/// <summary>
/// Gets or sets the end time of the launch.
/// </summary>
[JsonConverter(typeof(NullableDateTimeUnixEpochConverter))]
public DateTime? EndTime { get; set; }

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ public class LogItemResponse
/// <summary>
/// Gets or sets the time when the log item was created.
/// </summary>
[JsonConverter(typeof(DateTimeUnixEpochConverter))]
public DateTime Time { get; set; }

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,11 @@ public class TestItemResponse
/// <summary>
/// Gets or sets the start time of the test item.
/// </summary>
[JsonConverter(typeof(DateTimeUnixEpochConverter))]
public DateTime StartTime { get; set; }

/// <summary>
/// Gets or sets the end time of the test item.
/// </summary>
[JsonConverter(typeof(NullableDateTimeUnixEpochConverter))]
public DateTime? EndTime { get; set; }

/// <summary>
Expand Down Expand Up @@ -191,7 +189,6 @@ public class ExternalSystemIssue
/// <summary>
/// Gets or sets the submit date of the external system issue.
/// </summary>
[JsonConverter(typeof(DateTimeUnixEpochConverter))]
public DateTime SubmitDate { get; set; }

/// <summary>
Expand Down
44 changes: 0 additions & 44 deletions src/ReportPortal.Client/Converters/DateTimeUnixEpochConverter.cs

This file was deleted.

0 comments on commit fb12571

Please sign in to comment.