Anand Krishnamoorthi
577e1aa8db
More OPA conformance; in-progress: ability to trace interpreter ( #63 )
...
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com >
2023-12-16 17:50:59 -08:00
Anand Krishnamoorthi
73ee18f002
More OPA conformant semantics ( #62 )
...
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com >
2023-12-11 09:00:06 -08:00
Anand Krishnamoorthi
8a73b4bef9
Updated readme. Added bundle support. ( #61 )
...
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com >
2023-12-06 15:47:50 -08:00
Anand Krishnamoorthi
ab968c2386
Regex and Glob builtins ( #56 )
...
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com >
2023-12-03 12:08:17 -08:00
Anand Krishnamoorthi
bb0ca29753
Lock down ACI tests and more OPA test folders ( #54 )
...
Borrowed from rego-cpp
Significantly (> 10 times) faster execution.
$ cargo test -r --test aci
aci/mount_device passed 9.597958ms
aci/mount_overlay passed 10.159208ms
aci/scratch_mount passed 8.598875ms
aci/create_container passed 10.237292ms
aci/shutdown_container passed 6.904084ms
aci/scratch_unmount passed 6.530875ms
aci/unmount_overlay passed 5.958875ms
aci/unmount_device passed 5.657834ms
aci/load_fragment passed 6.049917ms
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com >
2023-12-01 08:32:11 -08:00
eric-therond
ef36d9bed5
add full api to engine ( #50 )
...
Signed-off-by: eric-therond <eric.therond.fr@gmail.com >
2023-11-27 09:08:40 -08:00
Anand Krishnamoorthi
4db2270dcf
More library functions ( #51 )
...
- units.parse, units.parse_bytes
- json.is_valid, json.marshal, json.unmarshal
- yaml.is_valid, yaml.marshal, yaml.unmarshal
- object.subset
- set_diff
* Also print number of errors due to each missing function
* Also lock down fully passing OPA suites
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com >
2023-11-22 14:19:23 -08:00
Anand Krishnamoorthi
a75f7c51df
OPA conformance tests ( #45 )
...
Run regorus against OPA test suite.
To run full test suite:
cargo test --test opa
To run specific folder (e.g semver):
cargo test --test opa -- semver
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com >
2023-11-15 17:09:53 -08:00