Hi Lakmini,

I'm currently start to improve the GitHub connector, I proposed some
methods to improve[1] if you need to add more methods or any suggestions
please add.

[1][PET] GitHub connector improvement

On Tue, Apr 5, 2016 at 3:35 PM, Lakmini Chathurika <lakm...@wso2.com> wrote:

> Hi,
>
> I added new method to GitHub Connector. Using this method we can list
> contributors on a repository [1].
> I modified following two methods to work with pagination in GitHub API [2].
>
> 1. List Organization Repositories.
> 2. List Commits on a repository.
>
> I created a JIRA [3] & added the PR [4].
> Please review and merge this.
>
> [1].https://developer.github.com/v3/repos/#list-contributors
> [2].https://developer.github.com/v3/#pagination
> [3]. https://wso2.org/jira/browse/ESBCONNECT-87
> [4].https://github.com/wso2-extensions/esb-connector-github/pull/4
>
> Thanks & Regards.
> Lakmini.
>
>
>
>
> On Fri, Mar 4, 2016 at 6:37 PM, Malaka Silva <mal...@wso2.com> wrote:
>
>> Thx Kathees.
>>
>> Also resolve [1] afterwards.
>>
>> [1] https://wso2.org/jira/browse/ESBCONNECT-85
>>
>> On Fri, Mar 4, 2016 at 2:20 PM, Kathees Rajendram <kath...@wso2.com>
>> wrote:
>>
>>> Merged. will release and add to the store.
>>>
>>> On Fri, Mar 4, 2016 at 11:27 AM, Lakmini Chathurika <lakm...@wso2.com>
>>> wrote:
>>>
>>>> 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 <mal...@wso2.com> 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 <lakm...@wso2.com>
>>>>> 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 <kath...@wso2.com>
>>>>>> 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 <
>>>>>>> chan...@wso2.com> 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: chan...@wso2.com
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Kathees
>>>>>>> Software Engineer,
>>>>>>> email: kath...@wso2.com
>>>>>>> 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.
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Kathees
>>> Software Engineer,
>>> email: kath...@wso2.com
>>> 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
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thank you
Best Regards

*Rajjaz HM*
Associate Software Engineer
Platform Extension Team
WSO2 Inc. <http://wso2.com/>
lean | enterprise | middleware
Mobile | +94752833834|+94777226874
Email   | raj...@wso2.com
LinkedIn <https://lk.linkedin.com/in/hmohammedrajjaz> | Blogger
<http://wso2experience.blogspot.com/> | WSO2 Profile
<http://wso2.com/about/team/mohammer-rajjaz/>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to