Skip to content
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

[management-api] Upgrade a subscription #1027

Closed
NicolasGeraud opened this issue Jan 23, 2018 · 6 comments
Closed

[management-api] Upgrade a subscription #1027

NicolasGeraud opened this issue Jan 23, 2018 · 6 comments

Comments

@NicolasGeraud
Copy link
Member

I need to be able to move a subscription to another plan. With this feature, i can upgrade a consumer to another plan without forced the consumer to change its apikey

@brasseld brasseld changed the title [management] upgrade a subscription [management-api] upgrade a subscription Feb 13, 2018
@pochadri
Copy link

+1

@icandir
Copy link

icandir commented Aug 7, 2018

Hi Nicolas
What is the state of this issue?
I want to ask some questions about the feature if you could answer? Here they are.

  • What is the main purpose of this feature?
  • is it for moving the subscriptions to a new plan? or is it for changing the used API?
  • As an example we have a plan of API A with version v1, and we are making a major change on this API (fixing a big bug), and let say we are going to change the API A version to v2. After this change there is no any API A with version v1 on our gateway. Then there is a mandatory action which should be taken by the api manager automatically or manually,
  • This mandatory action could be taken manually, or automatically(when we are publishing the api A v2 the wizard may ask is this a version change first? if answer is YES, then another question could be asked as is this a major change then if we say YES again, the main question could be asked as Do u want to retire API A v1 and let Subscriptions moved to API A v2(YES) Or do u want to deploy API A v2 without moving the subscriptions of API A v1 to API A v2? (Also there could be another question to copy subscriptions of v1 to v2 without retiring v1)

@NicolasGeraud
Copy link
Member Author

hi @icandir ,
as you can see (no milestone set), this issue is in the backlog and not schedule yet.

  • The main purpose of this issue is to be able to move a subscription to another plan in the same api. As a consumer, let say you have subscribed to a low rate plan for cheaper price. You are satisfied by the service and want a better plan (with more quote for example). With this feature, the api owner can promote an app to another plan.

  • I don't understand your example (I mean, from a business point of view). If you fix a bug, why do you need to change version number ?
    If you want to move all your consumers to the new Api, why not simply rename the first version of the API ?
    If you want to manage 2 version of your API, it probably means that your api contract has changed. So your consumer need to upgrade his code. In this case, it makes sense to have 2 different subscriptions.

What do you think ?

@icandir
Copy link

icandir commented Aug 8, 2018

  • ok the main purpose is different than. because this action is upgrading subscription plan.
    my purpose is to move the subscriptions of one api plan to the apis new version plan.

  • I will reply second paragraph later.

@brasseld brasseld changed the title [management-api] upgrade a subscription [management-api] Upgrade a subscription Aug 14, 2018
@brasseld
Copy link
Member

Hi @icandir any news about the second point ?

@NicolasGeraud
Copy link
Member Author

I close this issue cause the main purpose of this issue will be resolved thanks to #1946

@NicolasGeraud NicolasGeraud added this to Done in API Management via automation Feb 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants