Skip to content

Commit

Permalink
Improve correlation of records (delta processing) for aggregated repo…
Browse files Browse the repository at this point in the history
…rts (#266)

* Remove applicationName from correlation keys as this not a stable key in case of the performed aggregation

* updated release notes
  • Loading branch information
ohecker authored May 24, 2024
1 parent a56a3e4 commit ce867f7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
-- due to reading from different input files.
-- This is a replacement of "allden_normalizedlicenses.sql" for generating aggregated reports.
select
CONCAT(NVL("applicationName",'-'),NVL("groupId",'-'),NVL("artifactId",'-'),NVL("version",'-'),NVL("normalizedLicense",'-')) as CORR_KEY_0,
CONCAT(NVL("applicationName",'-'),NVL("groupId",'-'),NVL("artifactId",'-'),NVL("normalizedLicense",'-')) as CORR_KEY_1,
CONCAT(NVL("applicationName",'-'),NVL("groupId",'-'),NVL("artifactId",'-'),NVL("version",'-')) as CORR_KEY_2,
CONCAT(NVL("applicationName",'-'),NVL("groupId",'-'),NVL("artifactId",'-')) as CORR_KEY_3,
CONCAT(NVL("groupId",'-'),NVL("artifactId",'-'),NVL("version",'-'),NVL("normalizedLicense",'-')) as CORR_KEY_0,
CONCAT(NVL("groupId",'-'),NVL("artifactId",'-'),NVL("normalizedLicense",'-')) as CORR_KEY_1,
CONCAT(NVL("groupId",'-'),NVL("artifactId",'-'),NVL("version",'-')) as CORR_KEY_2,
CONCAT(NVL("groupId",'-'),NVL("artifactId",'-')) as CORR_KEY_3,
"applicationName",
"version" ,
"trace" ,
Expand Down
1 change: 1 addition & 0 deletions documentation/master-solicitor.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -1757,6 +1757,7 @@ Spring beans implementing this interface will be called at certain points in the
Changes in 1.24.0::
* https://github.com/devonfw/solicitor/issues/263: Some features were pushed from deprecation stage 1 to stage 2, which means they do not longer work with default configuration: repoType attribute, npm and npm-license-crawler readers, REGEX prefix notation, LicenseAssignmentProject.xls. See <<List of Deprecated Features>> for details.
* https://github.com/devonfw/solicitor/pull/265: Added some license name mappings.
* https://github.com/devonfw/solicitor/pull/266: Improve correlation of records (diff processing, see <<Determining difference to previously stored model>>) for aggregated inventory report `OSS-Inventory_aggregated_*.xlsx`.

Changes in 1.23.0::
* https://github.com/devonfw/solicitor/issues/255: Deprecate LicenseUrl guessing.
Expand Down

0 comments on commit ce867f7

Please sign in to comment.