Skip to content
Snippets Groups Projects
Commit e1732c80 authored by Petar Hristov's avatar Petar Hristov :speech_balloon:
Browse files

Refactor

parent fc089f83
Branches
No related tags found
1 merge request!1New: KPI Generator Base Implementation
Pipeline #792666 passed
...@@ -18,7 +18,7 @@ public abstract class Reporting<O> where O : class ...@@ -18,7 +18,7 @@ public abstract class Reporting<O> where O : class
private ConsulConfiguration Configuration { get; } private ConsulConfiguration Configuration { get; }
private static string HostUrl { get; } = "https://git.rwth-aachen.de/"; private static string HostUrl { get; } = "https://git.rwth-aachen.de/";
private static string InstanceName { get; set; } = null!; private static string InstanceName { get; set; } = null!;
public virtual string ReportingReportingFileName { get; init; } = null!; public virtual string ReportingFileName { get; init; } = null!;
/// <summary> /// <summary>
/// Reporting Database GitLab Project URL /// Reporting Database GitLab Project URL
......
...@@ -7,7 +7,7 @@ public class ApplicationProfileReporting : Reporting<ApplicationProfileReporting ...@@ -7,7 +7,7 @@ public class ApplicationProfileReporting : Reporting<ApplicationProfileReporting
{ {
public ApplicationProfileReporting(ApplicationProfileReportingOptions options) : base(options) public ApplicationProfileReporting(ApplicationProfileReportingOptions options) : base(options)
{ {
ReportingReportingFileName = "application_profiles.json"; ReportingFileName = "application_profiles.json";
} }
public override IEnumerable<ReportingFileObject> GenerateReporting() public override IEnumerable<ReportingFileObject> GenerateReporting()
......
...@@ -7,7 +7,7 @@ public class ProjectReporting : Reporting<ProjectReportingOptions> ...@@ -7,7 +7,7 @@ public class ProjectReporting : Reporting<ProjectReportingOptions>
{ {
public ProjectReporting(ProjectReportingOptions options) : base(options) public ProjectReporting(ProjectReportingOptions options) : base(options)
{ {
ReportingReportingFileName = "projects.json"; ReportingFileName = "projects.json";
} }
public override IEnumerable<ReportingFileObject> GenerateReporting() public override IEnumerable<ReportingFileObject> GenerateReporting()
......
...@@ -7,7 +7,7 @@ public class ResourceReporting : Reporting<ResourceReportingOptions> ...@@ -7,7 +7,7 @@ public class ResourceReporting : Reporting<ResourceReportingOptions>
{ {
public ResourceReporting(ResourceReportingOptions options) : base(options) public ResourceReporting(ResourceReportingOptions options) : base(options)
{ {
ReportingReportingFileName = "resources.json"; ReportingFileName = "resources.json";
} }
public override IEnumerable<ReportingFileObject> GenerateReporting() public override IEnumerable<ReportingFileObject> GenerateReporting()
......
...@@ -7,7 +7,7 @@ public class SystemReporting : Reporting<SystemReportingOptions> ...@@ -7,7 +7,7 @@ public class SystemReporting : Reporting<SystemReportingOptions>
{ {
public SystemReporting(SystemReportingOptions options) : base(options) public SystemReporting(SystemReportingOptions options) : base(options)
{ {
ReportingReportingFileName = "system_status.json"; ReportingFileName = "system_status.json";
} }
public override IEnumerable<ReportingFileObject> GenerateReporting() public override IEnumerable<ReportingFileObject> GenerateReporting()
......
...@@ -7,7 +7,7 @@ public class UserReporting : Reporting<UserReportingOptions> ...@@ -7,7 +7,7 @@ public class UserReporting : Reporting<UserReportingOptions>
{ {
public UserReporting(UserReportingOptions options) : base(options) public UserReporting(UserReportingOptions options) : base(options)
{ {
ReportingReportingFileName = "users.json"; ReportingFileName = "users.json";
} }
public override IEnumerable<ReportingFileObject> GenerateReporting() public override IEnumerable<ReportingFileObject> GenerateReporting()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment