Skip to content
Snippets Groups Projects

Library CveAdapter

Merged Jan-Niclas Strüwer requested to merge feature/extractingCoreLibrary into dev

Summary

Extracted first data models and transformation code from the backend in the dedicated library.

Description

The goal of this MR is to work as a blue print of how to extract code from our existing main project in app/backend into the new library modules in kpiCalculator. Therefore, we extracted a first adapter class and its corresponding model files. For a more complex example of code extraction, namely the KPI calculation, see !21 (merged).

In detail, this MR

  • introduces model and adapter modules inside the KpiCalculator library
  • updates dependency definitions (using libs.versions.toml according to Kotlin / Gradle best practices)
  • moves code to transform VulnerabilityDtos into RawValueKpis into kpiCalculator/adapter
  • moves necessary model files into kpiCalculator/model
  • separates the code to generate ViewModels from e.g. KpiKind in the backend
Edited by Jan-Niclas Strüwer

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading

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.