Skip to content

Conversation

@opentdf-automation
Copy link
Contributor

Description

Backport of #2857 to release/service/v0.11.

### Proposed Changes

1.) Expose `PolicyBinding` method that returns a implementation of the
new `PolicyBind` interface.
2.) Create new `PolicyBind` interface with methods `String()` and
`Verify()`.

DSPX-1875

### Checklist

- [ ] I have added or updated unit tests
- [ ] I have added or updated integration tests (if appropriate)
- [ ] I have added or updated documentation

### Testing Instructions

(cherry picked from commit 5221cf4)
@opentdf-automation opentdf-automation bot force-pushed the backport-2857-to-release/service/v0.11 branch from 7f44e5f to 9122a46 Compare November 5, 2025 00:11
@github-actions github-actions bot added comp:sdk A software development kit, including library, for client applications and inter-service communicati size/s labels Nov 5, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2025

Benchmark results, click to expand

Benchmark authorization.GetDecisions Results:

Metric Value
Approved Decision Requests 1000
Denied Decision Requests 0
Total Time 176.529156ms

Benchmark authorization.v2.GetMultiResourceDecision Results:

Metric Value
Approved Decision Requests 1000
Denied Decision Requests 0
Total Time 99.99738ms

Standard Benchmark Metrics Skipped or Failed

Bulk Benchmark Results

Metric Value
Total Decrypts 100
Successful Decrypts 100
Failed Decrypts 0
Total Time 361.267933ms
Throughput 276.80 requests/second

TDF3 Benchmark Results:

Metric Value
Total Requests 5000
Successful Requests 5000
Failed Requests 0
Concurrent Requests 50
Total Time 38.800761609s
Average Latency 386.121712ms
Throughput 128.86 requests/second

NANOTDF Benchmark Results:

Metric Value
Total Requests 5000
Successful Requests 5000
Failed Requests 0
Concurrent Requests 50
Total Time 27.258899035s
Average Latency 271.7498ms
Throughput 183.43 requests/second

@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2025

Benchmark results, click to expand

Benchmark authorization.GetDecisions Results:

Metric Value
Approved Decision Requests 1000
Denied Decision Requests 0
Total Time 176.659445ms

Benchmark authorization.v2.GetMultiResourceDecision Results:

Metric Value
Approved Decision Requests 1000
Denied Decision Requests 0
Total Time 97.208711ms

Standard Benchmark Metrics Skipped or Failed

Bulk Benchmark Results

Metric Value
Total Decrypts 100
Successful Decrypts 100
Failed Decrypts 0
Total Time 363.791975ms
Throughput 274.88 requests/second

TDF3 Benchmark Results:

Metric Value
Total Requests 5000
Successful Requests 5000
Failed Requests 0
Concurrent Requests 50
Total Time 38.354382702s
Average Latency 382.029754ms
Throughput 130.36 requests/second

NANOTDF Benchmark Results:

Metric Value
Total Requests 5000
Successful Requests 5000
Failed Requests 0
Concurrent Requests 50
Total Time 27.063055298s
Average Latency 269.712937ms
Throughput 184.75 requests/second

@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2025

@c-r33d c-r33d merged commit 262eb53 into release/service/v0.11 Nov 5, 2025
106 of 112 checks passed
@c-r33d c-r33d deleted the backport-2857-to-release/service/v0.11 branch November 5, 2025 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp:sdk A software development kit, including library, for client applications and inter-service communicati size/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants