Yes. In a nutshell, from AF itself need to call AF's ApplicationUserManagementService. Since getting the users of an application, is not a very common operation, I don't think we need to have a util method.
Thanks Manisha On Mon, Mar 2, 2015 at 12:19 PM, Danushka Fernando <[email protected]> wrote: > Let me understand what you are trying to do. Are you trying to introduce a > service call from AF to AF itself? I guess we are in a process of reducing > the Service calls in AF. So can't we move the logic to some util method and > call the util method from the repo provider. > > Thanks & Regards > Danushka Fernando > Software Engineer > WSO2 inc. http://wso2.com/ > Mobile : +94716332729 > > On Mon, Mar 2, 2015 at 11:59 AM, Manisha Gayathri <[email protected]> > wrote: > >> Hi, >> >> I am fixing [1] for AF RC1. >> For that during application deletion event, we need to delete the forked >> repos. To delete forked repos, we need to get the user list of the >> application and delete forks of each user if available for them. >> >> From RepositoryHandler's onDeletion method it selects the Repository >> provider and since this is for Gitblit, we can write the implementation >> logic in GITBlitBasedGITRepositoryProvider. >> >> We can get the users of the application >> by ApplicationUserManagementService. The more cleaner approach will be >> calling this service via a stub. There is no stub available for this as of >> now, hence, I will be introducing a stub for this particular service. >> >> [1]. https://wso2.org/jira/browse/APPFAC-2226 >> >> -- >> ~Regards >> *Manisha Eleperuma* >> Software Engineer >> WSO2, Inc.: http://wso2.com >> lean.enterprise.middleware >> >> *blog: http://manisha-eleperuma.blogspot.com/ >> <http://manisha-eleperuma.blogspot.com/>* >> *mobile: +94 71 8279777 <%2B94%2071%208279777>* >> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > -- ~Regards *Manisha Eleperuma* Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware *blog: http://manisha-eleperuma.blogspot.com/ <http://manisha-eleperuma.blogspot.com/>* *mobile: +94 71 8279777*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
