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

Add support for ODATA $filter, $select and $count on /scanConfigs #84

Merged
merged 15 commits into from
Mar 6, 2023

Commits on Mar 6, 2023

  1. Redo database interface to use model as input and output

    This commit revisits the database interface such that each function takes
    in and returns a VMClarity API model object. How the DB driver decides
    to store these objects and process them efficently is the resposiblity
    of the DB driver. We start with one DB driver, gorm, which converts the
    model objects to GORM structs to save them.
    Tehsmash authored and akpsgit committed Mar 6, 2023
    Configuration menu
    Copy the full SHA
    3e911e5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c4ac3e9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    660e6dc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ed5749d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    004b10e View commit details
    Browse the repository at this point in the history
  6. Fix NotFound errors for ScanConfigs

    Tehsmash authored and akpsgit committed Mar 6, 2023
    Configuration menu
    Copy the full SHA
    08d7e9f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f66deda View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c876fbb View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9b17fff View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    23ca2e0 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    87ceeca View commit details
    Browse the repository at this point in the history
  12. Fix licenses

    Tehsmash authored and akpsgit committed Mar 6, 2023
    Configuration menu
    Copy the full SHA
    a2fdc06 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    b18c08c View commit details
    Browse the repository at this point in the history
  14. Add unit/functional test for odatasql.BuildSQLQuery

    * Covers most usecases with a fake DB and dataset
    * Fixes a couple of bugs with expand
    * Switches $filter to use / separated paths like $select/$expand
    Tehsmash authored and akpsgit committed Mar 6, 2023
    Configuration menu
    Copy the full SHA
    4158e15 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    c5ddc57 View commit details
    Browse the repository at this point in the history