Skip to content

Commit 44f09a9

Browse files
Cleanup
1 parent 5eac4fa commit 44f09a9

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Skyline.DataMiner.CICD.Tools.GitHubToCatalogYaml/CatalogManager.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,11 @@ private async Task CheckId(CatalogYaml catalogYaml)
106106
private async Task CheckShortDescription(CatalogYaml catalogYaml)
107107
{
108108
logger.LogDebug("Checking if Short_description exists, otherwise retrieve the GitHub repository description...");
109-
if (String.IsNullOrWhiteSpace(catalogYaml.Short_description))
109+
if (String.IsNullOrWhiteSpace(catalogYaml.ShortDescription))
110110
{
111111
var description = await service.GetRepositoryDescriptionAsync() ?? "No description available";
112112

113-
catalogYaml.Short_description = description;
113+
catalogYaml.ShortDescription = description;
114114
logger.LogDebug($"Description applied: {description}");
115115
}
116116
}

Skyline.DataMiner.CICD.Tools.GitHubToCatalogYaml/CatalogYaml.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public CatalogYaml()
2020
/// Gets or sets the URL to the documentation related to the catalog entry.
2121
/// </summary>
2222
/// <value>A string representing the documentation URL.</value>
23-
public string Documentation_url { get; set; }
23+
public string DocumentationUrl { get; set; }
2424

2525
/// <summary>
2626
/// Gets or sets the unique identifier for the catalog entry.
@@ -38,13 +38,13 @@ public CatalogYaml()
3838
/// Gets or sets the short description of the catalog entry.
3939
/// </summary>
4040
/// <value>A string representing the short description of the entry.</value>
41-
public string Short_description { get; set; }
41+
public string ShortDescription { get; set; }
4242

4343
/// <summary>
4444
/// Gets or sets the URL to the source code related to the catalog entry.
4545
/// </summary>
4646
/// <value>A string representing the source code URL.</value>
47-
public string Source_code_url { get; set; }
47+
public string SourceCodeUrl { get; set; }
4848

4949
/// <summary>
5050
/// Gets or sets the tags associated with the catalog entry.

Skyline.DataMiner.CICD.Tools.GitHubToCatalogYaml/CleanTitle.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@ public CleanTitle(string githubRepoName)
5555
}
5656

5757
/// <summary>
58-
/// Gets or sets the inferred item type from the repository name, if available.
58+
/// Gets the inferred item type from the repository name, if available.
5959
/// This value is determined based on a mapping of known artifact types in the repository name.
6060
/// </summary>
6161
public string FoundItemType { get; }
6262

6363
/// <summary>
64-
/// Gets or sets the cleaned-up version of the repository name.
64+
/// Gets the cleaned-up version of the repository name.
6565
/// The name is formatted by removing underscores and any owner prefixes, and applying specific guidelines if the name follows the expected format.
6666
/// </summary>
6767
public string Value { get; }

0 commit comments

Comments
 (0)