eclipse-edc / Connector

EDC core services including data plane and control plane
Apache License 2.0
282 stars 238 forks source link

System tests: use generated client for DM API #1205

Closed algattik closed 1 year ago

algattik commented 2 years ago

Feature Request

The project should include a generated client for the Data Management API, which should be used in system tests (instead of RestAssured).

Which Areas Would Be Affected?

System tests

Why Is the Feature Desired?

Solution Proposal

We've had good results with openapi-generator-maven-plugin, the equivalent plugin exists for Gradle.

Type of Issue

Improvement

Checklist

algattik commented 2 years ago

@paullatzelsperger @ndr-brt @bscholtes1A a penny for your thoughts on this :)

ndr-brt commented 2 years ago

Having an EDC REST client would be great, I never got the chance to try the openapi generator, but looking forward for that.

algattik commented 2 years ago

@paullatzelsperger @ndr-brt @bscholtes1A @zeier I built a quick spike at https://github.com/agera-edc/DataSpaceConnector/pull/249. Happy for your comments and feedback on proposed decision points.

algattik commented 2 years ago

https://github.com/agera-edc/DataSpaceConnector/pull/249

Objectives

Results

Decisions

ndr-brt commented 2 years ago

@algattik Great work, at a first sight I like it, it took a little while to build everything and run the e2e test with it.

about the decisions:

algattik commented 2 years ago

This is currently blocked by https://github.com/eclipse-dataspaceconnector/DataSpaceConnector/issues/1264

github-actions[bot] commented 2 years ago

This issue is stale because it has been open for 14 days with no activity.

github-actions[bot] commented 2 years ago

This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] commented 2 years ago

This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open for 14 days with no activity.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open for 14 days with no activity.

ndr-brt commented 2 years ago

@algattik in my opinion this would have been useful, will someone work on it?

algattik commented 2 years ago

@ndr-brt work on this would require first #1264 to be resolved

github-actions[bot] commented 2 years ago

This issue is stale because it has been open for 14 days with no activity.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 28 days with no activity.