-
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 v3.1.0-alpha of the Managemenet API #4343
feat: add v3.1.0-alpha of the Managemenet API #4343
Conversation
FYI @saschaisele-zf |
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 #4343 +/- ##
==========================================
+ Coverage 71.74% 75.30% +3.56%
==========================================
Files 919 1053 +134
Lines 18457 21169 +2712
Branches 1037 1182 +145
==========================================
+ Hits 13242 15942 +2700
+ Misses 4756 4709 -47
- Partials 459 518 +59 ☔ 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.
also the resources/openapi/*.version
files need to be adapted, and likely also the job that publish the openapi on github pages and the one that verifies the consistency to force a change in the version json file.
...observability/src/main/java/org/eclipse/edc/api/observability/ObservabilityApiExtension.java
Outdated
Show resolved
Hide resolved
extensions/common/api/management-api-configuration/src/main/resources/mgmt-api-version.json
Outdated
Show resolved
Hide resolved
1611b20
to
9ae09c8
Compare
var content = typeManager.getMapper().readValue(versionContent, VersionRecord.class); | ||
apiVersionService.addRecord(OBSERVABILITY_CONTEXT, content); | ||
Stream.of(typeManager.getMapper() | ||
.enable(DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY) |
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.
this is not needed anymore (it doesn't hurt either :) )
What this PR changes/adds
Adds an entry in the version JSON file, plus improves the parsing mechanism to parse a
List<VersionRecord>
.Why it does that
Preparation for #3961 and #4322
Further notes
version.json
files overwrote one another, b/c they're all on the same classpath. I gave them each individual namesLinked Issue(s)
Closes #4334
Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.