Any logs in gitblit side?

Thanks & Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729

On Mon, Sep 22, 2014 at 3:19 PM, Godwin Amila Shrimal <[email protected]>
wrote:

> Hi Danushka,
>
> I tried by cleaning the browser cache, it still there. repository is exist
> in file system as well.
>
>
> Thanks
> Godwin
>
>
>
> On Mon, Sep 22, 2014 at 3:10 PM, Danushka Fernando <[email protected]>
> wrote:
>
>> Hi Goodwin
>> Did you check the file system whether it is deleted? These is a ui cache
>> in gitblit UI. Did u clear it and tried?
>>
>> Thanks & Regards
>> Danushka Fernando
>> Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>>
>> On Mon, Sep 22, 2014 at 2:51 PM, Godwin Amila Shrimal <[email protected]>
>> wrote:
>>
>>> Hi ,
>>>
>>> I have a issue with deleting Git repo using Gitblit api. Please see
>>> below the code snippet to I tried to test this functionality.
>>>
>>> public void deleteRepo() throws Exception {
>>>
>>> String repoName = "Testing/as/18";
>>>
>>> String baseUrl = "https://gitblit.s2.wso2.com:8444/";;
>>>
>>> String repoCreateUrl = baseUrl + "rpc?req=DELETE_REPOSITORY&name="
>>>
>>> + repoName;
>>>
>>> RepositoryModel model = new RepositoryModel();
>>>
>>> model.name = repoName;
>>>
>>> model.accessRestriction = Constants.AccessRestrictionType.VIEW;
>>>
>>> try {
>>>
>>> boolean deleted = RpcUtils.deleteRepository(model, repoCreateUrl,
>>>
>>> "xxx", "xxx".toCharArray());
>>>
>>> System.out.println("deleted : " + deleted);
>>>
>>> } catch (Exception e) {
>>>
>>> e.printStackTrace();
>>>
>>> }
>>>
>>> }
>>>
>>> *Note* : RpcUtils.deleteRepository method returns true when I use
>>> correct username and password but when I check the repository from Gitblit
>>> admin portal its not deleted. What can be the reason for this ?
>>>
>>>
>>> Thanks
>>> Godwin
>>>
>>>
>>>
>>>
>>> --
>>> *Godwin Amila Shrimal*
>>> Senior Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: *+94772264165*
>>> linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>*
>>> twitter: https://twitter.com/godwinamila
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>
>
> --
> *Godwin Amila Shrimal*
> Senior Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94772264165*
> linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>*
> twitter: https://twitter.com/godwinamila
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to