-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat(amphora-service)!: add opa client and service #74
Conversation
Signed-off-by: Sebastian Becker <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #74 +/- ##
============================================
+ Coverage 90.04% 90.15% +0.10%
- Complexity 348 397 +49
============================================
Files 49 59 +10
Lines 1326 1483 +157
Branches 70 78 +8
============================================
+ Hits 1194 1337 +143
- Misses 80 93 +13
- Partials 52 53 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report in Codecov by Sentry.
|
Signed-off-by: Sebastian Becker <[email protected]>
Signed-off-by: Sebastian Becker <[email protected]>
Signed-off-by: Sebastian Becker <[email protected]>
Signed-off-by: Sebastian Becker <[email protected]>
Signed-off-by: Sebastian Becker <[email protected]>
Signed-off-by: Sebastian Becker <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see comments
amphora-service/src/main/java/io/carbynestack/amphora/service/calculation/SecretShareUtil.java
Outdated
Show resolved
Hide resolved
amphora-service/src/main/java/io/carbynestack/amphora/service/opa/OpaClient.java
Show resolved
Hide resolved
public static final String SECRET_WITH_ID_EXISTS_EXCEPTION_MSG = | ||
"A secret with the given id already exists."; | ||
"A secret with the given id already exists."; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
verify pre-commit formatting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
undo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found only a few smaller things.
amphora-service/src/main/java/io/carbynestack/amphora/service/opa/OpaClient.java
Outdated
Show resolved
Hide resolved
amphora-service/src/test/java/io/carbynestack/amphora/service/opa/JwtReaderTest.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Sebastian Becker <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.