This applies to API Manager 1.9.0, but this is true for previous versions
as well. When trying to fix the following ticket[1] I came across this
scenario,

   1. API named *"foo"* with versions *"1.0.0"* and *"2.0.0"* has existing
   subscriptions.
   2. Create a new version of the same API *"3.0.0"* from *"2.0.0"*.
   3. Publish API *"foo:3.0.0"* with the "Require  Re-Subscription" option
   disabled.
   4. What should happen is that the subscriptions of *"foo:2.0.0"* should
   be applied to *"foo:3.0.0" *automatically


The problem is step *2 *and *3* above are separate so there is currently no
association between *"foo:2.0.0"* and *"foo:3.0.0"*.

So how do we determine which API version *"foo:3.0.0"* was created from so
that we can transfer that APIs subscriptions at the time of publishing?

Is there a way to do this without adding a new attribute to the newly
created API to indicate whihc version it was copied from?

[1] https://wso2.org/jira/browse/APIMANAGER-3971
-- 
Regards,
Uvindra

Mobile: 777733962
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to