Hi Sanjeewa,

On Tue, Nov 3, 2015 at 3:36 PM, Sanjeewa Malalgoda <[email protected]>
wrote:

> As of now resource registration is also part of Key Manager interface.
> Sometimes we may be able to introduce resource manager API and point it to
> resource server.
> Only issue i found there was we are passing API object to create resource
> (in registerNewResource() method).
> If we consider different scenarios in platform resource will not always
> map to API.
> Sometimes it can be application, registry resource etc.
> So just to fix it we can make it generic resource or object(instead of
> API).
> Then according to our implementation we can do whatever we need during
> resource registration(get API, Artifact, App from resource).
> Then we can straightly implement resource registration and dynamic client
> registration on that interface.
>


This is a valid point. We would have used generic object rather passing API
object. However is there any possibility to add this change to the APIM
 next release? by deprecating
*boolean registerNewResource(API api , Map resourceAttributes)* method.

-Roshan.
-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: [email protected]
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to