diff --git a/src/main/kotlin/de/fraunhofer/iem/dataprovider/kpi/dto/KPITreeResponseDto.kt b/src/main/kotlin/de/fraunhofer/iem/dataprovider/kpi/dto/KPITreeResponseDto.kt index cc879d6518736bbfa12cb75061b8bc16634ba8b8..4369ab0b95dbe3376fafa16d4d0d278b03e55ae7 100644 --- a/src/main/kotlin/de/fraunhofer/iem/dataprovider/kpi/dto/KPITreeResponseDto.kt +++ b/src/main/kotlin/de/fraunhofer/iem/dataprovider/kpi/dto/KPITreeResponseDto.kt @@ -7,5 +7,6 @@ data class KPITreeResponseDto( val isRoot: Boolean = false, val displayValue: String? = null, val children: List<KPITreeChildResponseDto>, - val isEmpty: Boolean + val isEmpty: Boolean, + val order: Int = 1 ) diff --git a/src/main/kotlin/de/fraunhofer/iem/dataprovider/kpi/enumeration/KpiKind.kt b/src/main/kotlin/de/fraunhofer/iem/dataprovider/kpi/enumeration/KpiKind.kt index 5f843c299cfbc8e05e65d9c21b2b4de6d27e5431..920adcce1cba50dfe6e1eef558e0fff7f2e87b98 100644 --- a/src/main/kotlin/de/fraunhofer/iem/dataprovider/kpi/enumeration/KpiKind.kt +++ b/src/main/kotlin/de/fraunhofer/iem/dataprovider/kpi/enumeration/KpiKind.kt @@ -222,7 +222,8 @@ enum class KpiKind { " For this purpose, the development process traceable in the repository is" + " compared with common development standards to enable an assessment.", children = children, - isEmpty = isEmpty + isEmpty = isEmpty, + order = 4 ) } @@ -244,7 +245,8 @@ enum class KpiKind { " various analyzes are performed that assess the availability of information " + "about the software development process within the repository.", children = children, - isEmpty = isEmpty + isEmpty = isEmpty, + order = 3 ) } @@ -265,7 +267,8 @@ enum class KpiKind { "various security-relevant analyzes are carried out, which, among other things," + " check the external dependencies or the code for vulnerabilities.", children = children, - isEmpty = isEmpty + isEmpty = isEmpty, + order = 2 ) }