Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update graphQL, resolvers and add backend stubs for pagination #1862

Merged
merged 12 commits into from Apr 25, 2024

Conversation

pxp928
Copy link
Collaborator

@pxp928 pxp928 commented Apr 23, 2024

Description of the PR

Update graphQL, resolvers and add backend stubs for pagination

Part of issue #1525

Next PRs will implement pagination for KeyValue (inmem) and ENT. This PR is just to update the schema and add stubs that will be completed in future PRs.

PR Checklist

  • All commits have a Developer Certificate of Origin (DCO) -- they are generated using -s flag to git commit.
  • All new changes are covered by tests
  • If GraphQL schema is changed, make generate has been run
  • If OpenAPI spec is changed, make generate has been run
  • If collectsub protobuf has been changed, make proto has been run
  • All CI checks are passing (tests and formatting)
  • All dependent PRs have already been merged

Signed-off-by: pxp928 <parth.psu@gmail.com>
Signed-off-by: pxp928 <parth.psu@gmail.com>
Signed-off-by: pxp928 <parth.psu@gmail.com>
…yLegal and certifyScorecard

Signed-off-by: pxp928 <parth.psu@gmail.com>
Signed-off-by: pxp928 <parth.psu@gmail.com>
Signed-off-by: pxp928 <parth.psu@gmail.com>
Signed-off-by: pxp928 <parth.psu@gmail.com>
…cense

Signed-off-by: pxp928 <parth.psu@gmail.com>
…, vulnEqual, vuln, vulnMeta

Signed-off-by: pxp928 <parth.psu@gmail.com>
Signed-off-by: pxp928 <parth.psu@gmail.com>
Signed-off-by: pxp928 <parth.psu@gmail.com>
Signed-off-by: pxp928 <parth.psu@gmail.com>
Copy link
Collaborator

@mihaimaruseac mihaimaruseac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@kodiakhq kodiakhq bot merged commit d861241 into guacsec:main Apr 25, 2024
8 checks passed
@pxp928 pxp928 deleted the implement-pagination branch April 25, 2024 16:06
arorasoham9 pushed a commit to arorasoham9/guac that referenced this pull request May 17, 2024
…ec#1862)

* implement pagination for artifact

Signed-off-by: pxp928 <parth.psu@gmail.com>

* implement artifactList for keyvalue and ent

Signed-off-by: pxp928 <parth.psu@gmail.com>

* add builder pagination for keyvalue and ent

Signed-off-by: pxp928 <parth.psu@gmail.com>

* gql schema changes for pagination for certifyBad, certifyGood, certifyLegal and certifyScorecard

Signed-off-by: pxp928 <parth.psu@gmail.com>

* gql schema changes for pagination for certifyVex and certifyVuln

Signed-off-by: pxp928 <parth.psu@gmail.com>

* gql schema changes for pagination for poc or hashEqual

Signed-off-by: pxp928 <parth.psu@gmail.com>

* gql schema changes for pagination for hashSBOM and hasSLSA

Signed-off-by: pxp928 <parth.psu@gmail.com>

* gql schema changes for pagination for hasSourceAt, isDep, isOccur, license

Signed-off-by: pxp928 <parth.psu@gmail.com>

* gql schema changes for pagination for meta, package, pkgEqual, source, vulnEqual, vuln, vulnMeta

Signed-off-by: pxp928 <parth.psu@gmail.com>

* add to backends interface

Signed-off-by: pxp928 <parth.psu@gmail.com>

* add stubs to all backends for paginated query

Signed-off-by: pxp928 <parth.psu@gmail.com>

* add search and neighbor pagination

Signed-off-by: pxp928 <parth.psu@gmail.com>

---------

Signed-off-by: pxp928 <parth.psu@gmail.com>
Signed-off-by: Soham Arora <arorasoham9@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants