Skip to content

Extending OPA #335

Feb 4, 2023 · 2 comments · 5 replies
Discussion options

You must be logged in to vote

Hi @anderseknert
1)
In this document “https://www.openpolicyagent.org/docs/latest/external-data/#option-5-pull-data-during-evaluation”
It says 'The ‘http.send’ built-in functions do not implement any retry logic.'
Does it mean that it may not be suitable for production workloads?
So I need to write my own custom built-in function and shouldn't use 'http.send'?

  1. Do you use the custom built-in function to query the data in runtime?
    This is an open source project example https://github.com/aserto-dev/topaz/tree/main/builtins/edge/ds

  2. in the OPA document https://www.openpolicyagent.org/docs/latest/extensions/#custom-built-in-functions-in-go
    It says ‘Custom built-in functions must not be use…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@srenatus
Comment options

@anderseknert
Comment options

@Ronnie-personal
Comment options

@anderseknert
Comment options

@Ronnie-personal
Comment options

Answer selected by Ronnie-personal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants