wso2 / carbon-apimgt

Apache License 2.0
165 stars 620 forks source link

[Master] Remove implementation_status flag when updating APIs #12356

Closed dulithsenanayake closed 3 months ago

dulithsenanayake commented 3 months ago

When migrating from 2.6.0 to the latest versions, we can see the implementation_status flag in the registry. But in the latest versions, we only have production, sandbox and no API endpoint for prototype. So if the user needs to proceed using HTTP/REST endpoints or any other endpoint after the migration, in the next API update call we need to remove the implementation_status flag which used to identify prototype endpoints. This PR removes the implementation_status flag when updating APIs.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 47.68%. Comparing base (e94b4fd) to head (ebad075). Report is 3 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #12356 +/- ## ============================================ + Coverage 47.62% 47.68% +0.05% + Complexity 4192 4185 -7 ============================================ Files 1840 1840 Lines 136532 136535 +3 Branches 19767 19768 +1 ============================================ + Hits 65019 65101 +82 + Misses 63857 63760 -97 - Partials 7656 7674 +18 ``` | [Flag](https://app.codecov.io/gh/wso2/carbon-apimgt/pull/12356/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2) | Coverage Δ | | |---|---|---| | [integration_tests](https://app.codecov.io/gh/wso2/carbon-apimgt/pull/12356/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2) | `42.43% <100.00%> (+0.01%)` | :arrow_up: | | [unit_tests](https://app.codecov.io/gh/wso2/carbon-apimgt/pull/12356/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2) | `20.16% <0.00%> (-0.02%)` | :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=wso2#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.