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 mutation API to return only ID (merge branch 1116-return-ID to main) #1542

Merged
merged 15 commits into from
Nov 30, 2023

Commits on Nov 30, 2023

  1. Backend interface - Methods for returning 'string' (#1285)

    Signed-off-by: mrizzi <mrizzi@redhat.com>
    Signed-off-by: pxp928 <parth.psu@gmail.com>
    mrizzi authored and pxp928 committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    7706ccb View commit details
    Browse the repository at this point in the history
  2. Enable GitHub CI tests (#1296)

    * Enable GitHub CI tests
    
    Signed-off-by: mrizzi <mrizzi@redhat.com>
    
    * Mocks backend updated
    
    Signed-off-by: mrizzi <mrizzi@redhat.com>
    
    * Ent - Bump v0.12.4-0.20230918073025-797534a0d1ca (#1283)
    
    * Ent - Bump v0.12.4-0.20230918073025-797534a0d1ca
    
    Signed-off-by: mrizzi <mrizzi@redhat.com>
    
    * Ent - Pin postgres image to hash
    
    Signed-off-by: mrizzi <mrizzi@redhat.com>
    
    ---------
    
    Signed-off-by: mrizzi <mrizzi@redhat.com>
    
    ---------
    
    Signed-off-by: mrizzi <mrizzi@redhat.com>
    Signed-off-by: pxp928 <parth.psu@gmail.com>
    mrizzi authored and pxp928 committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    636850d View commit details
    Browse the repository at this point in the history
  3. Ent - IngestArtifactID,IngestArtifactIDs implementations (#1300)

    Signed-off-by: mrizzi <mrizzi@redhat.com>
    Signed-off-by: pxp928 <parth.psu@gmail.com>
    mrizzi authored and pxp928 committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    21a2268 View commit details
    Browse the repository at this point in the history
  4. Ent - IngestBuilderID, IngestPackageID, IngestSourceID, IngestVulnera…

    …bilityID (#1329)
    
    * 1116-return-ID
    
    Signed-off-by: desmax74 <mdessi@redhat.com>
    
    * Ent - upsertPackageIDDoNothing vs upsertPackageIDIgnore (#1270)
    
    * Ent - upsertPackageIDDoNothing vs upsertPackageIDIgnore
    
    Signed-off-by: mrizzi <mrizzi@redhat.com>
    
    * Ent - final upsertPackage implementation
    
    Signed-off-by: mrizzi <mrizzi@redhat.com>
    
    ---------
    
    Signed-off-by: mrizzi <mrizzi@redhat.com>
    Signed-off-by: desmax74 <mdessi@redhat.com>
    
    * Ent - upsertPackage: enhanced ID management
    
    Signed-off-by: mrizzi <mrizzi@redhat.com>
    Signed-off-by: desmax74 <mdessi@redhat.com>
    
    * 1116-return-ID
    
    Signed-off-by: desmax74 <mdessi@redhat.com>
    
    * Ent - Packages: subpath query issue  (#1330)
    
    * Ent - Packages: subpath query issue reproducer
    
    Signed-off-by: mrizzi <mrizzi@redhat.com>
    
    * Ent - Packages: subpath query issue fix
    
    Signed-off-by: mrizzi <mrizzi@redhat.com>
    
    ---------
    
    Signed-off-by: mrizzi <mrizzi@redhat.com>
    Signed-off-by: desmax74 <mdessi@redhat.com>
    
    * 1116-return-ID
    
    Signed-off-by: desmax74 <mdessi@redhat.com>
    
    * 1116-return-ID
    
    Signed-off-by: desmax74 <mdessi@redhat.com>
    
    * 1116-return-ID
    
    Signed-off-by: desmax74 <mdessi@redhat.com>
    
    * Ent - TestIngestVulnerabilities changes to support ID
    
    Signed-off-by: mrizzi <mrizzi@redhat.com>
    Signed-off-by: desmax74 <mdessi@redhat.com>
    
    * 1116-return-ID
    
    Signed-off-by: desmax74 <mdessi@redhat.com>
    
    * Ent - Node: added SourceName management
    
    Signed-off-by: mrizzi <mrizzi@redhat.com>
    Signed-off-by: desmax74 <mdessi@redhat.com>
    
    * 1116-return-ID
    
    Signed-off-by: desmax74 <mdessi@redhat.com>
    
    * 1116-return-ID
    
    Signed-off-by: desmax74 <mdessi@redhat.com>
    
    * 1116-return-ID
    
    Signed-off-by: desmax74 <mdessi@redhat.com>
    
    * 1116-return-ID
    
    Signed-off-by: desmax74 <mdessi@redhat.com>
    
    * 1116-return-ID
    
    Signed-off-by: desmax74 <mdessi@redhat.com>
    
    ---------
    
    Signed-off-by: desmax74 <mdessi@redhat.com>
    Signed-off-by: mrizzi <mrizzi@redhat.com>
    Co-authored-by: Marco Rizzi <mrizzi@users.noreply.github.com>
    Co-authored-by: mrizzi <mrizzi@redhat.com>
    Signed-off-by: pxp928 <parth.psu@gmail.com>
    3 people authored and pxp928 committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    4816c5c View commit details
    Browse the repository at this point in the history
  5. Ent - IngestHasSBOMID (#1470)

    Signed-off-by: desmax74 <mdessi@redhat.com>
    Signed-off-by: pxp928 <parth.psu@gmail.com>
    desmax74 authored and pxp928 committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    43e199d View commit details
    Browse the repository at this point in the history
  6. Ent - ScorecardID (#1469)

    Signed-off-by: desmax74 <mdessi@redhat.com>
    Signed-off-by: pxp928 <parth.psu@gmail.com>
    desmax74 authored and pxp928 committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    7bc6ce8 View commit details
    Browse the repository at this point in the history
  7. Ent - PkgEqualsID (#1473)

    Signed-off-by: desmax74 <mdessi@redhat.com>
    Signed-off-by: pxp928 <parth.psu@gmail.com>
    desmax74 authored and pxp928 committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    c68bcf1 View commit details
    Browse the repository at this point in the history
  8. update ent IngestHasSbomID and IngestHasSBOMIDs with the new includes…

    … field
    
    Signed-off-by: pxp928 <parth.psu@gmail.com>
    pxp928 committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    641f923 View commit details
    Browse the repository at this point in the history
  9. Feature/1116 arango noun mutation update to return only IDs (#1511)

    * change artifact mutation to return only ID
    
    Signed-off-by: pxp928 <parth.psu@gmail.com>
    
    * change builder and license to return only ID during ingestion
    
    Signed-off-by: pxp928 <parth.psu@gmail.com>
    
    * update package to return flat struct of IDs
    
    Signed-off-by: pxp928 <parth.psu@gmail.com>
    
    * update source and vulnerability to return mutation ID
    
    Signed-off-by: pxp928 <parth.psu@gmail.com>
    
    * update ENT for vulnerability and package mutation IDs
    
    Signed-off-by: pxp928 <parth.psu@gmail.com>
    
    * update ENT for source mutation IDs
    
    Signed-off-by: pxp928 <parth.psu@gmail.com>
    
    * update tests for arango and ent
    
    Signed-off-by: pxp928 <parth.psu@gmail.com>
    
    ---------
    
    Signed-off-by: pxp928 <parth.psu@gmail.com>
    pxp928 committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    a4cce91 View commit details
    Browse the repository at this point in the history
  10. Update all resolvers for Return ID (#1514)

    * Update resolvers to use ID backend methods
    
    Signed-off-by: Jeff Mendoza <jlm@jlm.name>
    
    * Remove old methods from backend interface, update pkg/src/vuln resolvers.
    
    Signed-off-by: Jeff Mendoza <jlm@jlm.name>
    
    ---------
    
    Signed-off-by: Jeff Mendoza <jlm@jlm.name>
    Signed-off-by: pxp928 <parth.psu@gmail.com>
    jeffmendoza authored and pxp928 committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    2f7fdbf View commit details
    Browse the repository at this point in the history
  11. Update keyvalue backend to return ID (#1524)

    * Update keyvalue backend to return ID
    
    Signed-off-by: Jeff Mendoza <jlm@jlm.name>
    
    * Lint gosimple
    
    Signed-off-by: Jeff Mendoza <jlm@jlm.name>
    
    * Regen backend mock
    
    Signed-off-by: Jeff Mendoza <jlm@jlm.name>
    
    ---------
    
    Signed-off-by: Jeff Mendoza <jlm@jlm.name>
    Signed-off-by: pxp928 <parth.psu@gmail.com>
    jeffmendoza authored and pxp928 committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    1eb03cc View commit details
    Browse the repository at this point in the history
  12. Feature/1116 arango verb mutation (#1529)

    Signed-off-by: pxp928 <parth.psu@gmail.com>
    pxp928 committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    79818ea View commit details
    Browse the repository at this point in the history
  13. Complete Ent Return -ID (#1536)

    * Updated ent with ID
    
    Signed-off-by: Jeff Mendoza <jlm@jlm.name>
    
    * Update ent tests for ID.
    
    Signed-off-by: Jeff Mendoza <jlm@jlm.name>
    
    ---------
    
    Signed-off-by: Jeff Mendoza <jlm@jlm.name>
    Signed-off-by: pxp928 <parth.psu@gmail.com>
    jeffmendoza authored and pxp928 committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    07896ec View commit details
    Browse the repository at this point in the history
  14. change mutations back to original name (#1541)

    Signed-off-by: pxp928 <parth.psu@gmail.com>
    pxp928 committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    7430068 View commit details
    Browse the repository at this point in the history
  15. remove branch from ci workflow

    Signed-off-by: pxp928 <parth.psu@gmail.com>
    pxp928 committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    fba337a View commit details
    Browse the repository at this point in the history