Re: [Dev] [AppFactory] Updating ApplicationInfoService

2014-09-14 Thread Asanka Dissanayake
On Mon, Sep 15, 2014 at 10:43 AM, Asanka Dissanayake 
wrote:

>
>
> On Mon, Sep 15, 2014 at 10:39 AM, Anuruddha Premalal 
> wrote:
>
>> Hi All,
>>
>> There was a previous discussion to improve AF home page load time by
>> caching userhome information. But there was an issue in caching since
>> *userHomeInfo* includes a dynamic data element,
>> *applicationCreationStatus.*
>>
>> Currently we are getting all the userapps info (which are in pending and
>> complete state)  from a single end-point this blocks us from caching the
>> user home. This user application list is a frequently accessed data and
>> caching this could help to improve the homepage load time.
>>
>> IMO we should implement a separate api-end point[1] to get these
>> separately. WDYT?
>>
> Earlier parameter  "ApplicationCreationStatus applicationCreationStatus"
> wasn't passed to this method. Can some one explain the reason for passing
> this parameter?, +1 for a separate method which takes only the userName as
> the input argument.
>
Sorry for the confusion, I misinterpreted the mail. I had an offline chat
with Anuruddha,

Now , when the user starts the application creation and loads the user
home, then user can see all applications including partially created
applications as well. So this will solve that problem as well. +1 for
implementing this.


>> [1] getApplicationsOfTheUser(String userName, ApplicationCreationStatus
>> applicationCreationStatus)
>>
>> Regards,
>> --
>> *Anuruddha Premalal*
>> Software Eng. | WSO2 Inc.
>> Mobile : +94710461070
>> Web site : www.regilandvalley.com
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
>
> *Asanka DissanayakeSoftware Engineer*
> *WSO2 Inc. - lean . enterprise . middleware |  wso2.com *
>
> *email: asan...@wso2.com ,   blog:
> cyberwaadiya.blogspot.com
> , asankastechtalks.wordpress.com
>   mobile: +94 71 8373821*
>



-- 


*Asanka DissanayakeSoftware Engineer*
*WSO2 Inc. - lean . enterprise . middleware |  wso2.com *

*email: asan...@wso2.com ,   blog:
cyberwaadiya.blogspot.com
, asankastechtalks.wordpress.com
  mobile: +94 71 8373821*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AppFactory] Updating ApplicationInfoService

2014-09-14 Thread Asanka Dissanayake
On Mon, Sep 15, 2014 at 10:39 AM, Anuruddha Premalal 
wrote:

> Hi All,
>
> There was a previous discussion to improve AF home page load time by
> caching userhome information. But there was an issue in caching since
> *userHomeInfo* includes a dynamic data element,
> *applicationCreationStatus.*
>
> Currently we are getting all the userapps info (which are in pending and
> complete state)  from a single end-point this blocks us from caching the
> user home. This user application list is a frequently accessed data and
> caching this could help to improve the homepage load time.
>
> IMO we should implement a separate api-end point[1] to get these
> separately. WDYT?
>
Earlier parameter  "ApplicationCreationStatus applicationCreationStatus"
wasn't passed to this method. Can some one explain the reason for passing
this parameter?, +1 for a separate method which takes only the userName as
the input argument.

>
> [1] getApplicationsOfTheUser(String userName, ApplicationCreationStatus
> applicationCreationStatus)
>
> Regards,
> --
> *Anuruddha Premalal*
> Software Eng. | WSO2 Inc.
> Mobile : +94710461070
> Web site : www.regilandvalley.com
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 


*Asanka DissanayakeSoftware Engineer*
*WSO2 Inc. - lean . enterprise . middleware |  wso2.com *

*email: asan...@wso2.com ,   blog:
cyberwaadiya.blogspot.com
, asankastechtalks.wordpress.com
  mobile: +94 71 8373821*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [AppFactory] Updating ApplicationInfoService

2014-09-14 Thread Anuruddha Premalal
Hi All,

There was a previous discussion to improve AF home page load time by
caching userhome information. But there was an issue in caching since
*userHomeInfo* includes a dynamic data element, *applicationCreationStatus.*

Currently we are getting all the userapps info (which are in pending and
complete state)  from a single end-point this blocks us from caching the
user home. This user application list is a frequently accessed data and
caching this could help to improve the homepage load time.

IMO we should implement a separate api-end point[1] to get these
separately. WDYT?

[1] getApplicationsOfTheUser(String userName, ApplicationCreationStatus
applicationCreationStatus)

Regards,
-- 
*Anuruddha Premalal*
Software Eng. | WSO2 Inc.
Mobile : +94710461070
Web site : www.regilandvalley.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev