BBMRI-ERIC / negotiator

An Open-source access negotation system for Research Infrastructures
https://negotiator.bbmri-eric.eu
GNU Affero General Public License v3.0
3 stars 8 forks source link

feat: add endpoints for fetching lifecycle information #282

Closed RadovanTomik closed 2 months ago

RadovanTomik commented 2 months ago

Negotiator pull request:

Description:

Adds endpoints for fetching lifecycle information

Checklist:

Make sure you tick all the boxes bellow if they are true or do not apply:

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 79.47368% with 39 lines in your changes are missing coverage. Please review.

Project coverage is 79.71%. Comparing base (c70f0e7) to head (657a8c6).

Files Patch % Lines
...gotiator/service/ResourceLifecycleServiceImpl.java 0.00% 17 Missing :warning:
.../controller/v3/NegotiationLifecycleController.java 84.21% 3 Missing :warning:
...api/controller/v3/ResourceLifecycleController.java 83.33% 3 Missing :warning:
...r/dto/negotiation/NegotiationEventMetadataDto.java 66.66% 1 Missing and 1 partial :warning:
...r/dto/negotiation/NegotiationStateMetadataDto.java 66.66% 1 Missing and 1 partial :warning:
...otiator/dto/resource/ResourceEventMetadataDto.java 66.66% 1 Missing and 1 partial :warning:
...otiator/dto/resource/ResourceStateMetadataDto.java 66.66% 1 Missing and 1 partial :warning:
.../negotiator/mappers/NegotiationEventAssembler.java 81.81% 0 Missing and 2 partials :warning:
.../negotiator/mappers/NegotiationStateAssembler.java 81.81% 0 Missing and 2 partials :warning:
...ric/negotiator/mappers/ResourceEventAssembler.java 80.00% 0 Missing and 2 partials :warning:
... and 1 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #282 +/- ## ============================================ - Coverage 80.00% 79.71% -0.29% - Complexity 1020 1076 +56 ============================================ Files 136 146 +10 Lines 3095 3243 +148 Branches 170 173 +3 ============================================ + Hits 2476 2585 +109 - Misses 516 543 +27 - Partials 103 115 +12 ``` | [Flag](https://app.codecov.io/gh/BBMRI-ERIC/negotiator/pull/282/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BBMRI-ERIC) | Coverage Δ | | |---|---|---| | [unit](https://app.codecov.io/gh/BBMRI-ERIC/negotiator/pull/282/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BBMRI-ERIC) | `79.71% <79.47%> (-0.29%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BBMRI-ERIC#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.