Skip to content

Commit 6f01afd

Browse files
Added topics from github guidelines SLC. (#21)
1 parent 9d8a9cd commit 6f01afd

File tree

1 file changed

+25
-26
lines changed
  • Skyline.DataMiner.CICD.Tools.GitHubToCatalogYaml

1 file changed

+25
-26
lines changed

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

+25-26
Original file line numberDiff line numberDiff line change
@@ -8,35 +8,29 @@ internal static class Constants
88
{
99
public static readonly List<ArtifactType> ArtifactTypeMap = new List<ArtifactType>()
1010
{
11-
{ new ArtifactType(new[] { "AS" }, "Automation", "Automation Script", "automationscript") },
12-
{ new ArtifactType(new[] { "C" }, "Connector", "Connector", "connector")},
13-
{ new ArtifactType(new[] { "CF" }, "Custom Solution", "Companion File", "companionfile")},
14-
{ new ArtifactType(new[] { "CHATOPS" }, "ChatOps Extension", "ChatOps Extension", "chatopsextension")},
15-
{ new ArtifactType(new[] { "D" }, "Dashboard", "Dashboard", "dashboard")},
16-
{ new ArtifactType(new[] { "DOC" }, "Custom Solution", "Documentation", "documentation")},
17-
{ new ArtifactType(new[] { "F" }, "Custom Solution", "Function Definition", "functiondefinition")},
18-
{ new ArtifactType(new[] { "GQIDS" }, "Ad Hoc Data Source", "gqidatasource", "Ad Hoc Data Source", "adhocdatasource")},
19-
{ new ArtifactType(new[] { "GQIO" }, "Data Transformer", "GQI Operator", "gqioperator")},
20-
{ new ArtifactType(new[] { "LSO" }, "Automation", "Live Cycle Service Orchestration", "lifecycleserviceorchestration")},
21-
{ new ArtifactType(new[] { "PA" }, "Automation", "Process Automation", "processautomation") },
22-
{ new ArtifactType(new[] { "PLS" }, "Automation", "Profile Load Script", "profileloadscript") },
23-
{ new ArtifactType(new[] { "S" }, "Custom Solution", "Solution", "solution") },
24-
{ new ArtifactType(new[] { "SC" }, "Scripted Connector", "Scripted Connector", "scriptedconnector") },
25-
{ new ArtifactType(new[] { "T" }, "Custom Solution", "Testing Solution", "testingsolution") },
26-
{ new ArtifactType(new[] { "UDAPI" }, "User-Defined API", "User Defined API", "userdefinedapi") },
27-
{ new ArtifactType(new[] { "V" }, "Visual Overview", "Visio", "visio") },
28-
{ new ArtifactType(new[] { "LCA" }, "Custom Solution", "Low-Code App", "lowcodeapp") }
11+
{ new ArtifactType(new[] { "AS" }, "Automation", "Automation Script", "automationscript", "dataminer-automation-script") },
12+
{ new ArtifactType(new[] { "C" }, "Connector", "Connector", "connector","dataminer-connector")},
13+
{ new ArtifactType(new[] { "CF" }, "Custom Solution", "Companion File", "companionfile","dataminer-companion-file")},
14+
{ new ArtifactType(new[] { "CHATOPS" }, "ChatOps Extension", "ChatOps Extension", "chatopsextension", "dataminer-bot", "dataminer-chatops")},
15+
{ new ArtifactType(new[] { "D" }, "Dashboard", "Dashboard", "dashboard", "dataminer-dashboard")},
16+
{ new ArtifactType(new[] { "DOC" }, "Custom Solution", "Documentation", "documentation", "dataminer-doc")},
17+
{ new ArtifactType(new[] { "F" }, "Custom Solution", "Function Definition", "functiondefinition", "dataminer-function")},
18+
{ new ArtifactType(new[] { "GQIDS" }, "Ad Hoc Data Source", "gqidatasource", "Ad Hoc Data Source", "adhocdatasource", "dataminer-gqi-data-source")},
19+
{ new ArtifactType(new[] { "GQIO" }, "Data Transformer", "GQI Operator", "gqioperator", "dataminer-gqi-operator")},
20+
{ new ArtifactType(new[] { "LSO" }, "Automation", "Live Cycle Service Orchestration", "lifecycleserviceorchestration", "dataminer-life-service-orchestration")},
21+
{ new ArtifactType(new[] { "PA" }, "Automation", "Process Automation", "processautomation", "dataminer-process-automation-script") },
22+
{ new ArtifactType(new[] { "PLS" }, "Automation", "Profile Load Script", "profileloadscript", "dataminer-profile-load-script") },
23+
{ new ArtifactType(new[] { "S" }, "Custom Solution", "Solution", "solution", "dataminer","dataminer-solution", "dataminer-dis-macro", "dataminer-nuget") },
24+
{ new ArtifactType(new[] { "SC" }, "Scripted Connector", "Scripted Connector", "scriptedconnector","dataminer-scripted-connector") },
25+
{ new ArtifactType(new[] { "T" }, "Custom Solution", "Testing Solution", "testingsolution", "dataminer-regression-test", "dataminer-UI-test") },
26+
{ new ArtifactType(new[] { "UDAPI" }, "User-Defined API", "User Defined API", "userdefinedapi", "dataminer-user-defined-api") },
27+
{ new ArtifactType(new[] { "V" }, "Visual Overview", "Visio", "visio","dataminer-visio") },
28+
{ new ArtifactType(new[] { "LCA" }, "Custom Solution", "Low-Code App", "lowcodeapp", "dataminer-low-code-app") }
2929
};
3030
}
3131

3232
internal class ArtifactType
3333
{
34-
public string[] GitHubNames { get; set; }
35-
36-
public string[] GitHubAbbreviations { get; set; }
37-
38-
public string CatalogName { get; set; }
39-
4034
public ArtifactType(string[] abbreviations, string catalogName, params string[] githubNames)
4135
{
4236
GitHubAbbreviations = abbreviations;
@@ -46,6 +40,12 @@ public ArtifactType(string[] abbreviations, string catalogName, params string[]
4640
CatalogName = catalogName;
4741
}
4842

43+
public string CatalogName { get; set; }
44+
45+
public string[] GitHubAbbreviations { get; set; }
46+
47+
public string[] GitHubNames { get; set; }
48+
4949
public bool IsMatch(string searchTerm)
5050
{
5151
if (searchTerm.Equals(CatalogName, StringComparison.OrdinalIgnoreCase) ||
@@ -58,5 +58,4 @@ public bool IsMatch(string searchTerm)
5858
return false;
5959
}
6060
}
61-
62-
}
61+
}

0 commit comments

Comments
 (0)