-
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: make dpselector api jsonld aware #3310
feat: make dpselector api jsonld aware #3310
Conversation
Codecov ReportPatch coverage:
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. Additional details and impacted files@@ Coverage Diff @@
## main #3310 +/- ##
==========================================
+ Coverage 71.36% 71.43% +0.06%
==========================================
Files 806 811 +5
Lines 16401 16502 +101
Branches 951 956 +5
==========================================
+ Hits 11705 11788 +83
- Misses 4301 4315 +14
- Partials 395 399 +4
☔ 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.
it would be great to have the new api exposed on something like /v2/dataplanes
instead of /instances
to align with the other management apis and giving a more meaningful path
c857e65
to
98f5767
Compare
...n/java/org/eclipse/edc/connector/dataplane/selector/api/schemas/DataPlaneInstanceSchema.java
Outdated
Show resolved
Hide resolved
...in/java/org/eclipse/edc/connector/dataplane/selector/api/schemas/SelectionRequestSchema.java
Outdated
Show resolved
Hide resolved
...rc/main/java/org/eclipse/edc/connector/dataplane/selector/api/schemas/DataAddressSchema.java
Outdated
Show resolved
Hide resolved
...api/src/main/java/org/eclipse/edc/connector/dataplane/selector/api/DataplaneSelectorApi.java
Outdated
Show resolved
Hide resolved
...in/java/org/eclipse/edc/connector/dataplane/selector/api/DataplaneSelectorApiController.java
Show resolved
Hide resolved
...n/java/org/eclipse/edc/connector/dataplane/selector/api/schemas/DataPlaneInstanceSchema.java
Outdated
Show resolved
Hide resolved
...in/java/org/eclipse/edc/connector/dataplane/selector/api/schemas/SelectionRequestSchema.java
Outdated
Show resolved
Hide resolved
...e/edc/connector/dataplane/selector/transformer/JsonObjectToDataPlaneInstanceTransformer.java
Outdated
Show resolved
Hide resolved
...c/main/java/org/eclipse/edc/connector/dataplane/selector/spi/instance/DataPlaneInstance.java
Outdated
Show resolved
Hide resolved
7d1ce29
to
0dece1d
Compare
* feat: make DataPlaneSelectorApi JSON-LD aware * added integration test * added extension verification * moved JsonObjectToDataAddressTransformer * fixed remote DP selector client * fixed transformer * fixed integration tests * fixed tests * changed path to /v2/dataplanes * pr remarks * re-used DataAddressSchema from Management API Config * moved JsonObjectToDataAddressTransformer to management api config * renamed selector api package to v2 * fixed tests, build file * generic transformer is registered in the mgmt api config * fix tests
What this PR changes/adds
This PR converts the DataPlane Selector API to use JSON-LD.
Why it does that
Consistency with other APIs
Further notes
RemoteDataPlaneSelectorClientTest
to use theRestControllerTestBase
EndToEndTransferParticipant
was also updated to use JSON-LDpublicApiUrl
is now prefixed withEDC_NAMESPACE
Linked Issue(s)
Closes #3061
Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.