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

Implement REST datasource driver #5009

Merged
merged 8 commits into from
Nov 21, 2024
Merged

Commits on Nov 21, 2024

  1. Implement REST datasource driver

    This adds an initial implementation of the REST datasource driver. This
    allows the user to register multiple REST endpoints to call a data
    soruce and thus interact with it.
    
    This initial implementation left several TODO items which need to be
    addressed before unleashing the implementation.
    
    Signed-off-by: Juan Antonio Osorio <[email protected]>
    JAORMX committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    5b6ea62 View commit details
    Browse the repository at this point in the history
  2. Add builder function for data sources

    Signed-off-by: Juan Antonio Osorio <[email protected]>
    JAORMX committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    09d2c92 View commit details
    Browse the repository at this point in the history
  3. Remove name requirement from data sources

    This is instead handled by the registry.
    
    Signed-off-by: Juan Antonio Osorio <[email protected]>
    JAORMX committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    57b87ab View commit details
    Browse the repository at this point in the history
  4. Remove usage of datasource name from factory

    Signed-off-by: Juan Antonio Osorio <[email protected]>
    JAORMX committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    ab71af1 View commit details
    Browse the repository at this point in the history
  5. Add unit tests and add small fixes

    Signed-off-by: Juan Antonio Osorio <[email protected]>
    JAORMX committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    90b0c53 View commit details
    Browse the repository at this point in the history
  6. Run make gen

    Signed-off-by: Juan Antonio Osorio <[email protected]>
    JAORMX committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    4570c51 View commit details
    Browse the repository at this point in the history
  7. Address feedback

    Signed-off-by: Juan Antonio Osorio <[email protected]>
    JAORMX committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    31ace77 View commit details
    Browse the repository at this point in the history
  8. Use util.HttpMethodFromString instead of own function in data sources…

    … rest driver
    
    Signed-off-by: Juan Antonio Osorio <[email protected]>
    JAORMX committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    549f6f4 View commit details
    Browse the repository at this point in the history