Hi all,

In API Manager, the API creator can block a particular subscription on an
API to disable access to it until s/he decides to unblock it again. With
this blocking, both production and sandox invocations with that
subscription is blocked. But there can be situations where there is a
broken app. Then while fixing it, access to sandbox is needed to test the
subscription. Therefore this improvement is suggested to block only the
production access.

Currently in APIM we keep Subscription Status (SUB_STATUS) for a
subscription, which is set as BLOCKED once the subscription is blocked.
Then in an API call, while doing the key validation it checks the
SUB_STATUS for the subscription related to that key and blocks the call if
it was in BLOCKED state. So what we can do here is, do the blocking if the
Key Type is Production only.

Any concerns, thoughts are welcome.

Thanks,
Lakmali

-- 
Lakmali Baminiwatta*
*
Software Engineer
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware
mobile:  +94 71 2335936
blog : lakmali.com
*
*
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to