Skip to content
Snippets Groups Projects
Verified Commit a62614f8 authored by Jan-Niclas Strüwer's avatar Jan-Niclas Strüwer
Browse files

added order property for KPIs to enable custom sorting

parent 2152010e
No related branches found
No related tags found
No related merge requests found
Pipeline #23121 passed
...@@ -7,5 +7,6 @@ data class KPITreeResponseDto( ...@@ -7,5 +7,6 @@ data class KPITreeResponseDto(
val isRoot: Boolean = false, val isRoot: Boolean = false,
val displayValue: String? = null, val displayValue: String? = null,
val children: List<KPITreeChildResponseDto>, val children: List<KPITreeChildResponseDto>,
val isEmpty: Boolean val isEmpty: Boolean,
val order: Int = 1
) )
...@@ -222,7 +222,8 @@ enum class KpiKind { ...@@ -222,7 +222,8 @@ enum class KpiKind {
" For this purpose, the development process traceable in the repository is" + " For this purpose, the development process traceable in the repository is" +
" compared with common development standards to enable an assessment.", " compared with common development standards to enable an assessment.",
children = children, children = children,
isEmpty = isEmpty isEmpty = isEmpty,
order = 4
) )
} }
...@@ -244,7 +245,8 @@ enum class KpiKind { ...@@ -244,7 +245,8 @@ enum class KpiKind {
" various analyzes are performed that assess the availability of information " + " various analyzes are performed that assess the availability of information " +
"about the software development process within the repository.", "about the software development process within the repository.",
children = children, children = children,
isEmpty = isEmpty isEmpty = isEmpty,
order = 3
) )
} }
...@@ -265,7 +267,8 @@ enum class KpiKind { ...@@ -265,7 +267,8 @@ enum class KpiKind {
"various security-relevant analyzes are carried out, which, among other things," + "various security-relevant analyzes are carried out, which, among other things," +
" check the external dependencies or the code for vulnerabilities.", " check the external dependencies or the code for vulnerabilities.",
children = children, children = children,
isEmpty = isEmpty isEmpty = isEmpty,
order = 2
) )
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.