Hi Senaka,

On Mon, Nov 12, 2012 at 3:44 PM, Senaka Fernando <sen...@wso2.com> wrote:

> Hi Subash,
>
> This is for any resource. The idea is that when you click the download
> button, you should get a prompt (only for the resources having
> dependencies), whether you will download with dependencies or not. If you
> choose to download with dependencies, the downloaded file will be a ZIP
>  archive, and the media type will be that of a ZIP file. Also, please note
> that this only will happen when you click on the Download button (on the
> resource browser), and not any of the permalinks. The Admin API should have
> a separate method (in the corresponding Admin Service) for download with
> dependencies.
>

And the download happens directly through servlet level. So in that case we
do not need admin services to call. But we have a similar method
implemented in the GetResourceContentProcessor.

In the FE, for the option to select whether to download with dependencies
or not shall we add a check box with the name with dependencies next to the
download button.
UI will be as follows

 <Download>  [checkbox] with dependencies



> Thanks,
> Senaka.
>
>
> On Mon, Nov 12, 2012 at 11:04 AM, Subash Chaturanga <sub...@wso2.com>wrote:
>
>> Moving to dev list.
>>
>>
>> On Mon, Nov 12, 2012 at 3:23 PM, Subash Chaturanga <sub...@wso2.com>wrote:
>>
>>> Hi Senaka,
>>>
>>> This is regarding the issue you raised at [1] . Is this for governance
>>> artifacts in particular or for all registry resources in common ?
>>> So I will assume;
>>> - We consider downloading the direct (immediate ) dependencies only.
>>> - At downloading, the options will be
>>>       - Download the file itself
>>>       - Download it with its all dependencies
>>>
>>> [1] - https://wso2.org/jira/browse/REGISTRY-1468
>>>
>>> Thanks
>>>
>>> --
>>>
>>> Subash Chaturanga
>>> Software Engineer
>>> WSO2 Inc. http://wso2.com
>>>
>>> email - sub...@wso2.com
>>> phone - 077 2225922
>>>
>>>
>>
>>
>> --
>>
>> Subash Chaturanga
>> Software Engineer
>> WSO2 Inc. http://wso2.com
>>
>> email - sub...@wso2.com
>> phone - 077 2225922
>>
>>
>
>
> --
> *Senaka Fernando*
> Member - Integration Technologies Management Committee;
> Technical Lead; WSO2 Inc.; http://wso2.com*
> Member; Apache Software Foundation; http://apache.org
>
> E-mail: senaka AT wso2.com
> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
> Linked-In: http://linkedin.com/in/senakafernando
>
> *Lean . Enterprise . Middleware
>
>


-- 

Subash Chaturanga
Software Engineer
WSO2 Inc. http://wso2.com

email - sub...@wso2.com
phone - 077 2225922
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to