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 open policy agent filters #2407

Merged
merged 24 commits into from
Aug 14, 2023
Merged

Add open policy agent filters #2407

merged 24 commits into from
Aug 14, 2023

Commits on Aug 14, 2023

  1. Add Open Policy Agent based filters

    Signed-off-by: Magnus Jungsbluth <[email protected]>
    mjungsbluth committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    9b320e4 View commit details
    Browse the repository at this point in the history
  2. Add tracing

    Signed-off-by: Magnus Jungsbluth <[email protected]>
    mjungsbluth committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    0a8fda4 View commit details
    Browse the repository at this point in the history
  3. Review comments + metrics

    Signed-off-by: Magnus Jungsbluth <[email protected]>
    mjungsbluth committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    b608ca4 View commit details
    Browse the repository at this point in the history
  4. Metrics for serveresponsewithregopolicy, review comments

    Signed-off-by: Magnus Jungsbluth <[email protected]>
    mjungsbluth committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    4e4e219 View commit details
    Browse the repository at this point in the history
  5. Review comments (2nd batch), quiet logging

    Signed-off-by: Magnus Jungsbluth <[email protected]>
    mjungsbluth committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    1abaaa7 View commit details
    Browse the repository at this point in the history
  6. Correctly use filter context tracer

    Signed-off-by: Magnus Jungsbluth <[email protected]>
    mjungsbluth committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    6bd0c12 View commit details
    Browse the repository at this point in the history
  7. Add OPA labels to Span

    Signed-off-by: Magnus Jungsbluth <[email protected]>
    mjungsbluth committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    9615c32 View commit details
    Browse the repository at this point in the history
  8. Add ops documentation / prefix tags on Span

    Signed-off-by: Magnus Jungsbluth <[email protected]>
    mjungsbluth committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    338ea1b View commit details
    Browse the repository at this point in the history
  9. fix: filters should be ptr receiver and spec should return a filters.…

    …Spec interface type
    
    Signed-off-by: Sandor Szücs <[email protected]>
    szuecs authored and mjungsbluth committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    23f1c01 View commit details
    Browse the repository at this point in the history
  10. Make tracing work without parent Span

    Signed-off-by: Magnus Jungsbluth <[email protected]>
    mjungsbluth committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    dd30210 View commit details
    Browse the repository at this point in the history
  11. Re-use OPA instances, review comments

    Signed-off-by: Magnus Jungsbluth <[email protected]>
    mjungsbluth committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    f0ce637 View commit details
    Browse the repository at this point in the history
  12. Fall back to request span as parent

    Signed-off-by: Magnus Jungsbluth <[email protected]>
    mjungsbluth committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    43b2c5c View commit details
    Browse the repository at this point in the history
  13. Align span name

    Signed-off-by: Magnus Jungsbluth <[email protected]>
    mjungsbluth committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    e9e161f View commit details
    Browse the repository at this point in the history
  14. Correct operation name

    Signed-off-by: Magnus Jungsbluth <[email protected]>
    mjungsbluth committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    786fd22 View commit details
    Browse the repository at this point in the history
  15. Review comments

    Signed-off-by: Magnus Jungsbluth <[email protected]>
    mjungsbluth committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    9c472ac View commit details
    Browse the repository at this point in the history
  16. Update to OPA 0.54

    Signed-off-by: Magnus Jungsbluth <[email protected]>
    mjungsbluth committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    058101b View commit details
    Browse the repository at this point in the history
  17. Wrap error

    Signed-off-by: Magnus Jungsbluth <[email protected]>
    mjungsbluth committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    663c79a View commit details
    Browse the repository at this point in the history
  18. Change from Close() to PostProcessor for clean-up

    Signed-off-by: Magnus Jungsbluth <[email protected]>
    mjungsbluth committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    6efffd9 View commit details
    Browse the repository at this point in the history
  19. Clean tracing

    Signed-off-by: Magnus Jungsbluth <[email protected]>
    mjungsbluth committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    d675798 View commit details
    Browse the repository at this point in the history
  20. Implement missing method after OPA upgrade

    Signed-off-by: Magnus Jungsbluth <[email protected]>
    mjungsbluth committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    2897593 View commit details
    Browse the repository at this point in the history
  21. Avoid making a copy of the routes.

    Signed-off-by: Magnus Jungsbluth <[email protected]>
    mjungsbluth committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    5227601 View commit details
    Browse the repository at this point in the history
  22. Use assert.NoError

    Signed-off-by: Magnus Jungsbluth <[email protected]>
    mjungsbluth committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    2025717 View commit details
    Browse the repository at this point in the history
  23. Review comments. Test coverage.

    Signed-off-by: Magnus Jungsbluth <[email protected]>
    mjungsbluth committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    f7689c7 View commit details
    Browse the repository at this point in the history
  24. Rename filters

    Signed-off-by: Magnus Jungsbluth <[email protected]>
    mjungsbluth committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    6be33e5 View commit details
    Browse the repository at this point in the history