Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement new IsDependency graphql to point to versions (#1125)
* change IsDepedency graphQL schema Signed-off-by: Brandon Lum <lumjjb@gmail.com> * regenerate gql codegen Signed-off-by: Brandon Lum <lumjjb@gmail.com> * update to compile and only implementing backward compatibility without new depVersion depPkg Signed-off-by: Brandon Lum <lumjjb@gmail.com> * update parsers and tests to default to deps to names Signed-off-by: Brandon Lum <lumjjb@gmail.com> * update parsers to use new version dep when necessary Signed-off-by: Brandon Lum <lumjjb@gmail.com> * implement inmem deppkg match Signed-off-by: Brandon Lum <lumjjb@gmail.com> * update vulnerability CLI to handle new depedency structure Signed-off-by: Brandon Lum <lumjjb@gmail.com> * change patchPlanning to handle new isDep change Signed-off-by: Brandon Lum <lumjjb@gmail.com> * arangoDB isDep edits (partial) Signed-off-by: Brandon Lum <lumjjb@gmail.com> * update isDependency tests to test for new behavior Signed-off-by: Brandon Lum <lumjjb@gmail.com> * add use of nilIfEmpty Signed-off-by: Brandon Lum <lumjjb@gmail.com> * update e2e test expectIsDependencyQ2 Signed-off-by: Brandon Lum <lumjjb@gmail.com> * minor fmting err with expectIsDependencyQ2.json Signed-off-by: Brandon Lum <lumjjb@gmail.com> * update isDep for dep pkgName and pkgVersion, update dbPkgVersion and remove unneeded code Signed-off-by: pxp928 <parth.psu@gmail.com> * fix rebase merge Signed-off-by: Brandon Lum <lumjjb@gmail.com> * fix gql comment typo Signed-off-by: Brandon Lum <lumjjb@gmail.com> * update make generate Signed-off-by: Brandon Lum <lumjjb@gmail.com> * update e2e tests to work with new IsDep def Signed-off-by: Brandon Lum <lumjjb@gmail.com> * fix e2e expect json Signed-off-by: Brandon Lum <lumjjb@gmail.com> * fix certifyVuln from rebase changes Signed-off-by: Brandon Lum <lumjjb@gmail.com> --------- Signed-off-by: Brandon Lum <lumjjb@gmail.com> Signed-off-by: pxp928 <parth.psu@gmail.com> Co-authored-by: pxp928 <parth.psu@gmail.com>
- Loading branch information
Showing
40 changed files
with
1,056 additions
and
591 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -230,6 +230,10 @@ query PkgQ8 { | |
names { | ||
id | ||
name | ||
versions { | ||
id | ||
version | ||
} | ||
} | ||
} | ||
} | ||
|
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
Oops, something went wrong.