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 ec opa subcommand to run embedded OPA #1145

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

zregvart
Copy link
Member

@zregvart zregvart commented Nov 6, 2023

This includes the opa CLI as a subcommand of ec CLI. Any registered builtins from the internal/evaluator package should be available.

resolves: #1071

This includes the `opa` CLI as a subcommand of `ec` CLI. Any registered
builtins from the `internal/evaluator` package should be available.

resolves: enterprise-contract#1071
Copy link

codecov bot commented Nov 6, 2023

Codecov Report

Merging #1145 (7019856) into main (561f6bd) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1145      +/-   ##
==========================================
+ Coverage   84.86%   84.88%   +0.01%     
==========================================
  Files          64       65       +1     
  Lines        5109     5114       +5     
==========================================
+ Hits         4336     4341       +5     
  Misses        773      773              
Flag Coverage Δ
acceptance 70.21% <100.00%> (+0.02%) ⬆️
generative 4.50% <ø> (ø)
integration 18.91% <ø> (ø)
unit 76.75% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
cmd/opa/opa.go 100.00% <100.00%> (ø)
cmd/root.go 86.66% <100.00%> (+0.95%) ⬆️

Copy link
Member

@lcarva lcarva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🌮

@zregvart zregvart merged commit 1c4fc15 into enterprise-contract:main Nov 7, 2023
10 checks passed
@zregvart zregvart deleted the issue/1071 branch November 7, 2023 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Figure out how to run unit tests in ec-policies that use custom function
2 participants