-
Notifications
You must be signed in to change notification settings - Fork 240
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: add Authorization to the Public API (v2) #3966
feat: add Authorization to the Public API (v2) #3966
Conversation
...ne/data-plane-spi/src/main/java/org/eclipse/edc/connector/dataplane/spi/AccessTokenData.java
Dismissed
Show dismissed
Hide dismissed
...ne/data-plane-spi/src/main/java/org/eclipse/edc/connector/dataplane/spi/AccessTokenData.java
Dismissed
Show dismissed
Hide dismissed
...ne/data-plane-spi/src/main/java/org/eclipse/edc/connector/dataplane/spi/AccessTokenData.java
Dismissed
Show dismissed
Hide dismissed
...ne/data-plane-spi/src/main/java/org/eclipse/edc/connector/dataplane/spi/AccessTokenData.java
Dismissed
Show dismissed
Hide dismissed
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #3966 +/- ##
==========================================
+ Coverage 71.74% 73.32% +1.57%
==========================================
Files 919 963 +44
Lines 18457 19389 +932
Branches 1037 1094 +57
==========================================
+ Hits 13242 14217 +975
+ Misses 4756 4708 -48
- Partials 459 464 +5 ☔ View full report in Codecov by Sentry. |
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.
🚀
What this PR changes/adds
This PR adds a new PublicAPI Controller (available under the '/v2' path), that uses the
DataPlaneAuthorizationService
instead of the legacyConsumerPullDataPlaneProxyResolver
.Since the new public API is in its separate module, there is no breaking change and both APIs can be operated in parallel.
Why it does that
DataPlaneSignaling adoption
Further notes
AccessTokenData
object now has anadditionalProperties
field. Thus, the SQL module and tests were adapted.DataPlanePublicApiController
Linked Issue(s)
Closes #3958
Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.