Re: [Dev] useges of org.wso2.carbon.apimgt.api.model.APIIdentifier Class

2012-08-24 Thread Sumedha Rubasinghe
Hi Sanjeewa,
Your analysis is correct. Application Id & tier have no meaning within the
context of APIIdentifier.
This needs to be refactored.


On Fri, Aug 24, 2012 at 3:17 AM, Sanjeewa Malalgoda wrote:

> Hi All,
> I can see org.wso2.carbon.apimgt.api.model.APIIdentifier is having string
> variable named applicationId.
> So what is the purpose of having applicationId inside the API Identifier.
> AFAIU we cannot define single
> applicationId to identify API. application and api are having many to many
> relationship. Also i can see
> there is a tier associated with API. And i didn't see *apiId* which is
> unique to given API inside APIIdentifier
> class. I can see we use of this class few places in and tests. Did i miss
> anything here? Appreciate your
> feedback.
>
>
> Thanks.
> --
> *Sanjeewa Malalgoda*
> WSO2 Inc.
> Mobile : +14084122715 | +94713068779
>
>  blog
> :http://sanjeewamalalgoda.blogspot.com/
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
/sumedha
m: +94 773017743
b :  bit.ly/sumedha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] useges of org.wso2.carbon.apimgt.api.model.APIIdentifier Class

2012-08-23 Thread Sanjeewa Malalgoda
Hi All,
I can see org.wso2.carbon.apimgt.api.model.APIIdentifier is having string
variable named applicationId.
So what is the purpose of having applicationId inside the API Identifier.
AFAIU we cannot define single
applicationId to identify API. application and api are having many to many
relationship. Also i can see
there is a tier associated with API. And i didn't see *apiId* which is
unique to given API inside APIIdentifier
class. I can see we use of this class few places in and tests. Did i miss
anything here? Appreciate your
feedback.


Thanks.
-- 
*Sanjeewa Malalgoda*
WSO2 Inc.
Mobile : +14084122715 | +94713068779

 blog
:http://sanjeewamalalgoda.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev