-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate
DIRECT_DEPENDENCIES
from TEXT
to JSONB
Closes DependencyTrack/hyades#1416 Signed-off-by: nscuro <[email protected]>
- Loading branch information
Showing
8 changed files
with
55 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -146,7 +146,7 @@ public void testMappingComponentProjectionWithAllFields() { | |
}}); | ||
project.setAuthors(authors); | ||
project.setDescription("projectDescription"); | ||
project.setDirectDependencies("{7e5f6465-d2f2-424f-b1a4-68d186fa2b46}"); | ||
project.setDirectDependencies("[{\"uuid\":\"7e5f6465-d2f2-424f-b1a4-68d186fa2b46\"}]"); | ||
project.setExternalReferences(List.of(new ExternalReference())); | ||
project.setLastBomImport(new java.util.Date()); | ||
project.setLastBomImportFormat("projectBomFormat"); | ||
|
@@ -181,7 +181,7 @@ public void testMappingComponentProjectionWithAllFields() { | |
component.setPurl("pkg:maven/a/[email protected]"); | ||
component.setPublisher("componentPublisher"); | ||
component.setPurlCoordinates("componentPurlCoordinates"); | ||
component.setDirectDependencies("componentDirectDependencies"); | ||
component.setDirectDependencies("[]"); | ||
component.setExtension("componentExtension"); | ||
component.setExternalReferences(List.of(new ExternalReference())); | ||
component.setFilename("componentFilename"); | ||
|