agera-edc / DataSpaceConnector

DataspaceConnector project
Apache License 2.0
1 stars 0 forks source link

Feature/1204/247 api client [Spike] #268

Closed algattik closed 2 years ago

algattik commented 2 years ago

What this PR changes/adds

Add generated REST client module, and use it system tests. Fix serialised classes that were not compatible with Swagger OpenAPI generator.

Why it does that

Further notes

Several classes needed to be updated as they used Jackson patterns that are not compatible with Swagger generator. That is, the OpenAPI definition was previously broken.

Linked Issue(s)

247

Checklist

github-actions[bot] commented 2 years ago

Unit Test Results

     399 files  ±0       399 suites  ±0   11m 13s :stopwatch: -53s 12 164 tests ±0  12 140 :heavy_check_mark:  - 1  18 :zzz: ±0  6 :x: +1  12 223 runs  ±0  12 199 :heavy_check_mark:  - 1  18 :zzz: ±0  6 :x: +1 

For more details on these failures, see this check.

Results for commit 3019512a. ± Comparison against base commit 70271b5b.

:recycle: This comment has been updated with latest results.

codecov-commenter commented 2 years ago

Codecov Report

Merging #268 (3019512) into feature/1204-api-client (70271b5) will increase coverage by 0.01%. The diff coverage is 100.00%.

@@                     Coverage Diff                     @@
##           feature/1204-api-client     #268      +/-   ##
===========================================================
+ Coverage                    67.51%   67.53%   +0.01%     
===========================================================
  Files                          717      717              
  Lines                        15749    15738      -11     
  Branches                      1051     1049       -2     
===========================================================
- Hits                         10633    10628       -5     
+ Misses                        4633     4628       -5     
+ Partials                       483      482       -1     
Impacted Files Coverage Δ
.../eclipse/dataspaceconnector/policy/model/Duty.java 92.85% <ø> (ø)
...se/dataspaceconnector/policy/model/Permission.java 93.10% <ø> (ø)
...clipse/dataspaceconnector/policy/model/Policy.java 81.33% <ø> (ø)
.../eclipse/dataspaceconnector/policy/model/Rule.java 100.00% <ø> (ø)
...plane/selector/instance/DataPlaneInstanceImpl.java 90.00% <ø> (ø)
...se/dataspaceconnector/policy/model/PolicyType.java 100.00% <100.00%> (+46.15%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 70271b5...3019512. Read the comment docs.