gravitee-io / issues

Gravitee.io - API Platform - Issues
64 stars 26 forks source link

[management] Allows an admin to revert a deprecate state on a plan #4109

Closed insertmike closed 2 years ago

insertmike commented 4 years ago

Problem Context

The current flow of the states of a plan for API in a Gravitee context is:

Behaviour

I can't find particular reason why Gravitee does not allow plans to be shifted from DEPRECATED back to STAGING and etc. There might be cases when this is required and at this point of time the only thing that can be done to achieve this is to:

  1. Move the plan to CLOSED state
  2. Re-create the plan from STAGING

Which process is itself redundant.

Possible Solution

Allow shifting of plans back the chain ( E.G DEPRECATED -> PUBLISHED )

Steps to Reproduce (for bugs)

  1. Create an API
  2. Add a plan
  3. Experiment how the plan states can be changed according to the issue description

Context

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

vkopichenko commented 1 year ago

Please count my vote for support of undoing plan deprecation.