Hi,

I added the two new  methods to do the followings  in GitHub Connector.

1.List Organization Repositories.[1].
2.List Commits on a repository.[2].

I create JIRA [3]&[4] and add the PR[5].
Could you please review and merge this.

[1].https://developer.github.com/v3/repos/#list-organization-repositories
[2].
https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository
[3].https://wso2.org/jira/browse/ESBCONNECT-85
[4].https://wso2.org/jira/browse/ESBCONNECT-84
[5].https://github.com/wso2-extensions/esb-connector-github/pull/3

Thanks & Reagards.

Lakmini.

On Thu, Mar 3, 2016 at 4:53 PM, Malaka Silva <[email protected]> wrote:

> Hi Lakmini,
>
> Great if you could contribute. Else put a jira and we will include this
> in next version of github
>
> On Thu, Mar 3, 2016 at 4:12 PM, Lakmini Chathurika <[email protected]>
> wrote:
>
>> Hi,
>>
>> I need to get the list of repositories that are accessible to the
>> authenticated user.
>> Current connector [1] does not support for this but GitHub API [2] is
>> supporting it . So need to implement the method  inside the connector.
>> [1].
>> https://storepreview.wso2.com/store/assets/esbconnector/cf9c44c0-b637-4587-afae-ea55fe64b632
>> [2].https://developer.github.com/v3/repos/#list-your-repositories
>>
>> Thanks & Regards.
>> Lakmini
>>
>> On Thu, Mar 3, 2016 at 12:39 PM, Kathees Rajendram <[email protected]>
>> wrote:
>>
>>> Hi Chanuka,
>>>
>>> Now we don't have the method[1][2] in github1.0.0 connector.
>>>
>>> We will include this in next version of github or you can contribute [3]
>>> with creating the method.
>>>
>>> [1] -
>>> https://developer.github.com/v3/repos/statistics/#get-the-last-year-of-commit-activity-data
>>> [2] -
>>> https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository
>>> [3] - https://github.com/wso2-extensions/esb-connector-github
>>>
>>> Thanks,
>>> Kathees
>>>
>>> On Thu, Mar 3, 2016 at 12:35 PM, Chanuka Dissanayake <[email protected]>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> Current connector [1] doesn't support on the $subject.  Github API [2]
>>>> is supporting it, and need to implement the method inside the connector.
>>>> As a workaround we can do traverse thorough the pull request (refer
>>>> [3]) per each repo and retrieve the list.
>>>>
>>>>
>>>> [1]
>>>> https://storepreview.wso2.com/store/assets/esbconnector/cf9c44c0-b637-4587-afae-ea55fe64b632
>>>> [2]
>>>> https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository
>>>> [3]
>>>> https://docs.wso2.com/display/ESBCONNECTORS/Working+with+Pull+Requests+in+Github#WorkingwithPullRequestsinGithub-listPullRequestCommits
>>>>
>>>> Thanks & Regards,
>>>> Chanuka.
>>>> --
>>>> Chanuka Dissanayake
>>>> *Software Engineer | **WSO2 Inc.*; http://wso2.com
>>>>
>>>> Mobile: +94 71 33 63 596
>>>> Email: [email protected]
>>>>
>>>
>>>
>>>
>>> --
>>> Kathees
>>> Software Engineer,
>>> email: [email protected]
>>> mobile: +94772596173
>>>
>>
>>
>
>
> --
>
> Best Regards,
>
> Malaka Silva
> Senior Tech Lead
> M: +94 777 219 791
> Tel : 94 11 214 5345
> Fax :94 11 2145300
> Skype : malaka.sampath.silva
> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
> Blog : http://mrmalakasilva.blogspot.com/
>
> WSO2, Inc.
> lean . enterprise . middleware
> http://www.wso2.com/
> http://www.wso2.com/about/team/malaka-silva/
> <http://wso2.com/about/team/malaka-silva/>
> https://store.wso2.com/store/
>
> Save a tree -Conserve nature & Save the world for your future. Print this
> email only if it is absolutely necessary.
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to