[Dev] [ESB][ScriptMediator] Can't convert a javaScript date in to ISO date format

2016-03-29 Thread Lakmini Chathurika
Hi All,

I'm trying to convert a javaScript  date (Eg: Tue Mar 29 2016 20:48:38
GMT+0530 (IST)) in to ISO date format (Eg:2016-03-29T15:21:09.701Z) using
ESB Script mediator. For the conversion I used  "toISOString()" [1] method.
But I got the following error.

[2016-03-29 20:38:56,681] ERROR - ScriptMediator The script engine returned
an error executing the inlined js script function mediate
com.sun.phobos.script.util.ExtendedScriptException:
org.mozilla.javascript.EcmaError: TypeError: Cannot find function
toISOString. (#2) in  at line number 2
at
com.sun.phobos.script.javascript.RhinoCompiledScript.eval(RhinoCompiledScript.java:68)
at javax.script.CompiledScript.eval(CompiledScript.java:92)
at
org.apache.synapse.mediators.bsf.ScriptMediator.mediateForInlineScript(ScriptMediator.java:300)
at
org.apache.synapse.mediators.bsf.ScriptMediator.invokeScript(ScriptMediator.java:239)
at
org.apache.synapse.mediators.bsf.ScriptMediator.mediate(ScriptMediator.java:207)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:81)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:48)
at
org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:149)
at
org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:185)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at
org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:395)
at
org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:142)
at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.mozilla.javascript.EcmaError: TypeError: Cannot find
function toISOString. (#2)
at
org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3350)
at
org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3340)
at
org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3356)
at
org.mozilla.javascript.ScriptRuntime.typeError1(ScriptRuntime.java:3368)
at
org.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3428)
at
org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2052)
at
org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:117)
at org.mozilla.javascript.gen.c6028._c0(:2)
at org.mozilla.javascript.gen.c6028.call()
at
org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
at
org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
at org.mozilla.javascript.gen.c6028.call()
at org.mozilla.javascript.gen.c6028.exec()
at
com.sun.phobos.script.javascript.RhinoCompiledScript.eval(RhinoCompiledScript.java:55)
... 15 more

Proxy:


http://ws.apache.org/ns/synapse";
   name="testproxy"
   transports="https,http"
   statistics="disable"
   trace="disable"
   startOnLoad="true">
   
  
 var d=new Date();
var isoFormat = d.toISOString();
print(isoFormat);
  
   
   


Are there any limitations in ESB Script Mediator or am I doing something
wrong here?
Any help is greatly appreciated.

[1].http://www.w3schools.com/jsref/jsref_toisostring.asp

Thanks & Regards
Lakmini.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB][ScriptMediator] Can't convert a javaScript date in to ISO date format

2016-03-29 Thread Lakmini Chathurika
Hi Nirodha

Thanks for the quick response. I'll try using it.

Thanks & Regards
Lakmini.


On Tue, Mar 29, 2016 at 9:36 PM, Nirodha Gallage  wrote:

> Hi Lakmini,
>
> Javascript library comes with WSO2 ESB does not support all the functions,
> only a limited set of basic functions are supported. That's what causing
> this error. But I think you can use some of the functions as mentioned in
> [1] to read elements of the date and then construct the date as the way you
> want.
>
> [1] http://javascript.info/tutorial/datetime-functions
>
> Thanks
>
> On Tue, Mar 29, 2016 at 9:15 PM, Lakmini Chathurika 
> wrote:
>
>> Hi All,
>>
>> I'm trying to convert a javaScript  date (Eg: Tue Mar 29 2016 20:48:38
>> GMT+0530 (IST)) in to ISO date format (Eg:2016-03-29T15:21:09.701Z) using
>> ESB Script mediator. For the conversion I used  "toISOString()" [1] method.
>> But I got the following error.
>>
>> [2016-03-29 20:38:56,681] ERROR - ScriptMediator The script engine
>> returned an error executing the inlined js script function mediate
>> com.sun.phobos.script.util.ExtendedScriptException:
>> org.mozilla.javascript.EcmaError: TypeError: Cannot find function
>> toISOString. (#2) in  at line number 2
>> at
>> com.sun.phobos.script.javascript.RhinoCompiledScript.eval(RhinoCompiledScript.java:68)
>> at javax.script.CompiledScript.eval(CompiledScript.java:92)
>> at
>> org.apache.synapse.mediators.bsf.ScriptMediator.mediateForInlineScript(ScriptMediator.java:300)
>> at
>> org.apache.synapse.mediators.bsf.ScriptMediator.invokeScript(ScriptMediator.java:239)
>> at
>> org.apache.synapse.mediators.bsf.ScriptMediator.mediate(ScriptMediator.java:207)
>> at
>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:81)
>> at
>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:48)
>> at
>> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:149)
>> at
>> org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:185)
>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>> at
>> org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:395)
>> at
>> org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:142)
>> at
>> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
>> at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>> at java.lang.Thread.run(Thread.java:745)
>> Caused by: org.mozilla.javascript.EcmaError: TypeError: Cannot find
>> function toISOString. (#2)
>> at
>> org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3350)
>> at
>> org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3340)
>> at
>> org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3356)
>> at
>> org.mozilla.javascript.ScriptRuntime.typeError1(ScriptRuntime.java:3368)
>> at
>> org.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3428)
>> at
>> org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2052)
>> at
>> org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:117)
>> at org.mozilla.javascript.gen.c6028._c0(:2)
>> at org.mozilla.javascript.gen.c6028.call()
>> at
>> org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
>> at
>> org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
>> at org.mozilla.javascript.gen.c6028.call()
>> at org.mozilla.javascript.gen.c6028.exec()
>> at
>> com.sun.phobos.script.javascript.RhinoCompiledScript.eval(RhinoCompiledScript.java:55)
>> ... 15 more
>>
>> Proxy:
>>
>> 
>> http://ws.apache.org/ns/synapse";
>>name="testproxy"
>>transports="https,http"
>>statistics="disable"
>>trace="disable"
>>startOnLoad="true">
>>
>>   
>>  var d=new Date();
>> var isoFormat = d.toISOString();
>> print(isoFormat);
>>   
>>
>>
>> 
>>
>> Are there any limitations in ESB Script Mediator or am I doing something
>> wrong here?
>> Any help is greatly appreciated.
>>
>> [1].http://www.w3schools.com/jsref/jsref_toisostring.asp
>>
>> Thanks & Regards
>> Lakmini.
>>
>
>
>
> --
>
> *Nirodha Gallage*
> Associate Technical Lead, QA.
> WSO2 Inc.: http://wso2.com/
> Mobile: +94716429078
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB][Connector] Github connector - get List of commits on a repo.

2016-04-05 Thread Lakmini Chathurika
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  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 
> wrote:
>
>> Merged. will release and add to the store.
>>
>> On Fri, Mar 4, 2016 at 11:27 AM, Lakmini Chathurika 
>> 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  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 
>>>> 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 
>>>>> 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

[Dev] [ESB][Connector] Redmine Connector - Adding getVersion Operation

2015-11-17 Thread Lakmini Chathurika
Hi,

 I want to get list of the versions available for the project of given id
or identifier (:project_id). The response may include shared versions from
other projects. Current connector does not support this requirement. I have
created the JIRA[1] and add the PR[2]. Could you please review and merge
this.

[1]https://wso2.org/jira/browse/ESBCONNECT-72
[2]https://github.com/wso2/esb-connectors/pull/417

Thanks & Regards,
Lakmini.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB][Connector] Redmine Connector - Adding getVersion Operation

2015-11-18 Thread Lakmini Chathurika
Hi Shakila,

Resolved the commented mistakes.

Thanks


On Wed, Nov 18, 2015 at 1:38 PM, Shakila Sivagnanarajah 
wrote:

> Hi Lakmini,
>
> I added some comments. Please go through and resolve.
>
> Thanks
>
> On Wed, Nov 18, 2015 at 1:16 PM, Lakmini Chathurika 
> wrote:
>
>> Hi,
>>
>>  I want to get list of the versions available for the project of given id
>> or identifier (:project_id). The response may include shared versions from
>> other projects. Current connector does not support this requirement. I have
>> created the JIRA[1] and add the PR[2]. Could you please review and merge
>> this.
>>
>> [1]https://wso2.org/jira/browse/ESBCONNECT-72
>> [2]https://github.com/wso2/esb-connectors/pull/417
>>
>> Thanks & Regards,
>> Lakmini.
>>
>
>
>
> --
> Shakila Sivagnanarajah
> Associate Software Engineer
> Mobile :+94 (0) 770 760240
> shak...@wso2.com
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ESB][Property Mediators] An Error occurred while using the property mediators.

2015-11-19 Thread Lakmini Chathurika
Hi all,

I have written  a proxy service to get the product list. For each of the
product in this product list I need to get its versions.
I used a property mediator for this.
Source view of the Proxy service is as follows ,


http://ws.apache.org/ns/synapse";>
https://redmine-upgrade.private.wso2.com
"/>



{$ctx:apiUrl}
{$ctx:apiKey}
{$ctx:responseType}









RedmineDataStream_27
1.0.27
RedmineEventSink













{$ctx:id}








The following error log received while try to run this proxy service.


[2015-11-20 12:25:53,492] ERROR - DeferredMessageBuilder Error building
message
org.apache.axis2.AxisFault: No JSON payload provided.
at
org.apache.synapse.commons.json.JsonStreamBuilder.processDocument(JsonStreamBuilder.java:52)
at
org.apache.synapse.transport.passthru.util.DeferredMessageBuilder.getDocument(DeferredMessageBuilder.java:138)
at
org.apache.synapse.transport.passthru.util.RelayUtils.builldMessage(RelayUtils.java:133)
at
org.apache.synapse.transport.passthru.util.RelayUtils.buildMessage(RelayUtils.java:98)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:72)
at
org.apache.synapse.mediators.eip.splitter.IterateMediator.mediate(IterateMediator.java:241)
at
org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:267)
at
org.apache.synapse.core.axis2.Axis2SynapseEnvironment.mediateFromContinuationStateStack(Axis2SynapseEnvironment.java:679)
at
org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:244)
at
org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:529)
at
org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:172)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at
org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:247)
at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
[2015-11-20 12:25:53,497] ERROR - RelayUtils Error while building
Passthrough stream
org.apache.axis2.AxisFault: No JSON payload provided.
at
org.apache.synapse.commons.json.JsonStreamBuilder.processDocument(JsonStreamBuilder.java:52)
at
org.apache.synapse.transport.passthru.util.DeferredMessageBuilder.getDocument(DeferredMessageBuilder.java:138)
at
org.apache.synapse.transport.passthru.util.RelayUtils.builldMessage(RelayUtils.java:133)
at
org.apache.synapse.transport.passthru.util.RelayUtils.buildMessage(RelayUtils.java:98)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:72)
at
org.apache.synapse.mediators.eip.splitter.IterateMediator.mediate(IterateMediator.java:241)
at
org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:267)
at
org.apache.synapse.core.axis2.Axis2SynapseEnvironment.mediateFromContinuationStateStack(Axis2SynapseEnvironment.java:679)
at
org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:244)
at
org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:529)
at
org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:172)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at
org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:247)
at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
[2015-11-20 12:25:53,498] ERROR - SequenceMediator Error while building
message
org.apache.axis2.AxisFault: Error while building Passthrough stream
at
org.apache.synapse.transport.passthru.util.RelayUtils.handleException(RelayUtils.java:283)
at
org.apache.synapse.transport.passthru.util.RelayUtils.builldMessage(RelayUtils.java:142)
at
org.apache.synapse.transport.passthru.util.RelayUtils.buildMessage(RelayUtils.java:98)
at
org.apache

[Dev] [ESB][Connector] Redmine connector: Not retrieving all projects

2015-11-26 Thread Lakmini Chathurika
Hi all,

I wrote a proxy service to get  the product list of WSO2 from the Redmine
REST API through ESB Redmine Connector. My proxy service is as follows.
























*http://ws.apache.org/ns/synapse
"   name="RedmineTest1"
transports="https,http"   statistics="disable"
trace="disable"   startOnLoad="true">   
 https://redmine-upgrade.private.wso2.com
"/>   
{$ctx:apiUrl}
{$ctx:apiKey}
{$ctx:responseType}
  
  *
 In the response some product details are missing.But when look from the UI
some products are there which are missing from the response.

What could be the possible reason for this ?
Appreciate your helps.

Thanks & Regards
Lakmini.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB][Connector] Redmine connector: Not retrieving all projects

2015-11-26 Thread Lakmini Chathurika
Hi Sriashalya,

I tried with the REST Client also. But it gives the same response.

Thanks.
Lakmini.

On Fri, Nov 27, 2015 at 10:34 AM, Sriashalya Srivathsan 
wrote:

> Hi Lakmini,
>
> Have you got all products details when you directly invoke through REST
> call?
>
> On Fri, Nov 27, 2015 at 10:26 AM, Lakmini Chathurika 
> wrote:
>
>> Hi all,
>>
>> I wrote a proxy service to get  the product list of WSO2 from the Redmine
>> REST API through ESB Redmine Connector. My proxy service is as follows.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *> xmlns="http://ws.apache.org/ns/synapse
>> <http://ws.apache.org/ns/synapse>"   name="RedmineTest1"
>> transports="https,http"   statistics="disable"
>> trace="disable"   startOnLoad="true">   
>>  > value="https://redmine-upgrade.private.wso2.com
>> <https://redmine-upgrade.private.wso2.com>"/> > name="apiKey" value="x"/> > value="json"/> 
>> {$ctx:apiUrl}
>> {$ctx:apiKey}
>> {$ctx:responseType}
>>   
>>   *
>>  In the response some product details are missing.But when look from the
>> UI some products are there which are missing from the response.
>>
>> What could be the possible reason for this ?
>> Appreciate your helps.
>>
>> Thanks & Regards
>> Lakmini.
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Regards
> S.Sriashalya,
> WSO2 *Inc*.
> lean . enterprise . middleware
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB][Connector] Redmine connector: Not retrieving all projects

2015-11-26 Thread Lakmini Chathurika
Hi Shakila,

"*include**: fetch associated data (optional). Possible values: trackers,
issue_categories, enabled_modules (since 2.6.0). Values should be separated
by a comma* ","."

When we use this , it gives only the additional details of the products.
The missing products are not existing in the response.

Thanks.
Lakmini.

On Fri, Nov 27, 2015 at 11:18 AM, Shakila Sivagnanarajah 
wrote:

> Hi Lakmini,
>
> What are the fields that you expect? There is an optional parameter named
> as 'include' for this method. You have to mention the requested fields. And
> the fields should be separated by a comma ",".
> You can find it in [1].
> [1]
> http://www.redmine.org/projects/redmine/wiki/Rest_Projects#Listing-projects
>
> Thank you
>
> On Fri, Nov 27, 2015 at 10:34 AM, Sriashalya Srivathsan 
> wrote:
>
>> Hi Lakmini,
>>
>> Have you got all products details when you directly invoke through REST
>> call?
>>
>> On Fri, Nov 27, 2015 at 10:26 AM, Lakmini Chathurika 
>> wrote:
>>
>>> Hi all,
>>>
>>> I wrote a proxy service to get  the product list of WSO2 from the
>>> Redmine REST API through ESB Redmine Connector. My proxy service is as
>>> follows.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *>> xmlns="http://ws.apache.org/ns/synapse
>>> <http://ws.apache.org/ns/synapse>"   name="RedmineTest1"
>>> transports="https,http"   statistics="disable"
>>> trace="disable"   startOnLoad="true">   
>>>  >> value="https://redmine-upgrade.private.wso2.com
>>> <https://redmine-upgrade.private.wso2.com>"/> >> name="apiKey" value="x"/> >> value="json"/> 
>>> {$ctx:apiUrl}
>>> {$ctx:apiKey}
>>> {$ctx:responseType}
>>>   
>>>   *
>>>  In the response some product details are missing.But when look from the
>>> UI some products are there which are missing from the response.
>>>
>>> What could be the possible reason for this ?
>>> Appreciate your helps.
>>>
>>> Thanks & Regards
>>> Lakmini.
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Regards
>> S.Sriashalya,
>> WSO2 *Inc*.
>> lean . enterprise . middleware
>>
>
>
>
> --
> Shakila Sivagnanarajah
> Associate Software Engineer
> Mobile :+94 (0) 770 760240
> shak...@wso2.com
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB][Connector] Redmine connector: Not retrieving all projects

2015-11-26 Thread Lakmini Chathurika
Hi Shakila,

 It works.

Thanks.
Lakmini.


On Fri, Nov 27, 2015 at 11:41 AM, Shakila Sivagnanarajah 
wrote:

> Hi Lakmini,
>
> You can use 'limit' and 'offset' fields to list more projects.
>
> Try like this:
> https://redmine-upgrade.private.wso2.com/projects.json?limit=50&offset=2
>
> Thank you
>
> On Fri, Nov 27, 2015 at 11:35 AM, Lakmini Chathurika 
> wrote:
>
>> Hi Shakila,
>>
>> "*include**: fetch associated data (optional). Possible values:
>> trackers, issue_categories, enabled_modules (since 2.6.0). Values should be
>> separated by a comma* ","."
>>
>> When we use this , it gives only the additional details of the products.
>> The missing products are not existing in the response.
>>
>> Thanks.
>> Lakmini.
>>
>> On Fri, Nov 27, 2015 at 11:18 AM, Shakila Sivagnanarajah <
>> shak...@wso2.com> wrote:
>>
>>> Hi Lakmini,
>>>
>>> What are the fields that you expect? There is an optional parameter
>>> named as 'include' for this method. You have to mention the requested
>>> fields. And the fields should be separated by a comma ",".
>>> You can find it in [1].
>>> [1]
>>> http://www.redmine.org/projects/redmine/wiki/Rest_Projects#Listing-projects
>>>
>>> Thank you
>>>
>>> On Fri, Nov 27, 2015 at 10:34 AM, Sriashalya Srivathsan <
>>> asha...@wso2.com> wrote:
>>>
>>>> Hi Lakmini,
>>>>
>>>> Have you got all products details when you directly invoke through REST
>>>> call?
>>>>
>>>> On Fri, Nov 27, 2015 at 10:26 AM, Lakmini Chathurika 
>>>> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I wrote a proxy service to get  the product list of WSO2 from the
>>>>> Redmine REST API through ESB Redmine Connector. My proxy service is as
>>>>> follows.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> *>>>> xmlns="http://ws.apache.org/ns/synapse
>>>>> <http://ws.apache.org/ns/synapse>"   name="RedmineTest1"
>>>>> transports="https,http"   statistics="disable"
>>>>> trace="disable"   startOnLoad="true">   
>>>>>  >>>> value="https://redmine-upgrade.private.wso2.com
>>>>> <https://redmine-upgrade.private.wso2.com>"/> >>>> name="apiKey" value="x"/> >>>> value="json"/> 
>>>>> {$ctx:apiUrl}
>>>>> {$ctx:apiKey}
>>>>> {$ctx:responseType}
>>>>>   
>>>>>   *
>>>>>  In the response some product details are missing.But when look from
>>>>> the UI some products are there which are missing from the response.
>>>>>
>>>>> What could be the possible reason for this ?
>>>>> Appreciate your helps.
>>>>>
>>>>> Thanks & Regards
>>>>> Lakmini.
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Regards
>>>> S.Sriashalya,
>>>> WSO2 *Inc*.
>>>> lean . enterprise . middleware
>>>>
>>>
>>>
>>>
>>> --
>>> Shakila Sivagnanarajah
>>> Associate Software Engineer
>>> Mobile :+94 (0) 770 760240
>>> shak...@wso2.com
>>>
>>
>>
>
>
> --
> Shakila Sivagnanarajah
> Associate Software Engineer
> Mobile :+94 (0) 770 760240
> shak...@wso2.com
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB][Connector] Redmine connector: Not retrieving all projects

2015-11-27 Thread Lakmini Chathurika
Hi all,

I fixed the above issue. Modified the Redmine Connector in ESB.
I have created the JIRA[1] and add the PR[2].
 Could you please review and merge this.

[1].https://wso2.org/jira/browse/ESBCONNECT-74
[2].https://github.com/wso2/esb-connectors/pull/424

Thanks and Regards.
Lakmini.


On Fri, Nov 27, 2015 at 11:48 AM, Lakmini Chathurika 
wrote:

> Hi Shakila,
>
>  It works.
>
> Thanks.
> Lakmini.
>
>
> On Fri, Nov 27, 2015 at 11:41 AM, Shakila Sivagnanarajah  > wrote:
>
>> Hi Lakmini,
>>
>> You can use 'limit' and 'offset' fields to list more projects.
>>
>> Try like this:
>> https://redmine-upgrade.private.wso2.com/projects.json?limit=50&offset=2
>>
>> Thank you
>>
>> On Fri, Nov 27, 2015 at 11:35 AM, Lakmini Chathurika 
>> wrote:
>>
>>> Hi Shakila,
>>>
>>> "*include**: fetch associated data (optional). Possible values:
>>> trackers, issue_categories, enabled_modules (since 2.6.0). Values should be
>>> separated by a comma* ","."
>>>
>>> When we use this , it gives only the additional details of the products.
>>> The missing products are not existing in the response.
>>>
>>> Thanks.
>>> Lakmini.
>>>
>>> On Fri, Nov 27, 2015 at 11:18 AM, Shakila Sivagnanarajah <
>>> shak...@wso2.com> wrote:
>>>
>>>> Hi Lakmini,
>>>>
>>>> What are the fields that you expect? There is an optional parameter
>>>> named as 'include' for this method. You have to mention the requested
>>>> fields. And the fields should be separated by a comma ",".
>>>> You can find it in [1].
>>>> [1]
>>>> http://www.redmine.org/projects/redmine/wiki/Rest_Projects#Listing-projects
>>>>
>>>> Thank you
>>>>
>>>> On Fri, Nov 27, 2015 at 10:34 AM, Sriashalya Srivathsan <
>>>> asha...@wso2.com> wrote:
>>>>
>>>>> Hi Lakmini,
>>>>>
>>>>> Have you got all products details when you directly invoke through
>>>>> REST call?
>>>>>
>>>>> On Fri, Nov 27, 2015 at 10:26 AM, Lakmini Chathurika >>>> > wrote:
>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> I wrote a proxy service to get  the product list of WSO2 from the
>>>>>> Redmine REST API through ESB Redmine Connector. My proxy service is as
>>>>>> follows.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> *>>>>> xmlns="http://ws.apache.org/ns/synapse
>>>>>> <http://ws.apache.org/ns/synapse>"   name="RedmineTest1"
>>>>>> transports="https,http"   statistics="disable"
>>>>>> trace="disable"   startOnLoad="true">   
>>>>>>  >>>>> value="https://redmine-upgrade.private.wso2.com
>>>>>> <https://redmine-upgrade.private.wso2.com>"/> >>>>> name="apiKey" value="x"/> >>>>> value="json"/> 
>>>>>> {$ctx:apiUrl}
>>>>>> {$ctx:apiKey}
>>>>>> {$ctx:responseType}
>>>>>>   
>>>>>>   *
>>>>>>  In the response some product details are missing.But when look from
>>>>>> the UI some products are there which are missing from the response.
>>>>>>
>>>>>> What could be the possible reason for this ?
>>>>>> Appreciate your helps.
>>>>>>
>>>>>> Thanks & Regards
>>>>>> Lakmini.
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Regards
>>>>> S.Sriashalya,
>>>>> WSO2 *Inc*.
>>>>> lean . enterprise . middleware
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Shakila Sivagnanarajah
>>>> Associate Software Engineer
>>>> Mobile :+94 (0) 770 760240
>>>> shak...@wso2.com
>>>>
>>>
>>>
>>
>>
>> --
>> Shakila Sivagnanarajah
>> Associate Software Engineer
>> Mobile :+94 (0) 770 760240
>> shak...@wso2.com
>>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Isuru Wijesinghe

2016-01-14 Thread Lakmini Chathurika
Congratulations Isuru aiya..


On Thu, Jan 14, 2016 at 1:19 PM, Samitha Chathuranga 
wrote:

> Congrats Isuru..!
>
> On Thu, Jan 14, 2016 at 12:16 PM, Heshitha Hettihewa 
> wrote:
>
>> Congrats Isuru..!!!
>>
>> On Thu, Jan 14, 2016 at 11:53 AM, Nandika Jayawardana 
>> wrote:
>>
>>> Hi All,
>>>
>>> It's my pleasure to announce Isuru Wijesinghe as a WSO2 Committer. He
>>> has been a key contributor to the WSO2 Business Process Server and WSO2
>>> Process Center Products and in recognition of his work, he had been voted
>>> as a WSO2 Committer.
>>>
>>> Congratulations Isuru and keep up the good work!
>>>
>>> Regards
>>> Nandika
>>>
>>> --
>>> Nandika Jayawardana
>>> WSO2 Inc ; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Heshitha Hettihewa
>> *Software Engineer*
>> Mobile : +94716866386
>> <%2B94%20%280%29%20773%20451194>
>> heshit...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Samitha Chathuranga
> Software Engineer, WSO2 Inc.
> lean.enterprise.middleware
> Mobile: +94715123761
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Retrieve Development Support Hours from SalesForce

2016-02-08 Thread Lakmini Chathurika
Hi All,

I wrote a proxy service to get development support hours from salesforce .
In here I got the data from two tables Line_Item__c  and Opportunity.
Because in salesforce Line_Item__c table keeps the records before January
and Opportunity table keeps the records January onwards.
In the proxy first I wrote a SOQL query to get the data from Line_Item__c
table and published to DAS through the data stream
"SALESFORCE_DATA_STREAM_1".
Then I wrote another SOQL query to get the data from Opportunity table and
published to DAS through the same datastream.

The Proxy is as shown below.


http://ws.apache.org/ns/synapse";
   name="SalesForceProxy"
   transports="https,http"
   statistics="disable"
   trace="disable"
   startOnLoad="true">
   
  
 
 
200
SELECT  LastModifiedDate, Support_Account_ID__c,
Dev_Support_Hours__c FROM
Line_Item__c WHERE Support_Account_ID__c != 'NULL' AND
Support_Account_ID__c != '' AND Support_Account_ID__c
LIKE '%DEV' ORDER BY LastModifiedDate DESC NULLS
FIRST
 
 
 

   
  
 UD_DAS
 SALESFORCE_DATA_STREAM_1
 1.0.1
 



   
   
   


 
  
   

 

  
  
200
SELECT
Development_Support_Account_Key__c,Development_Support_Hours__c,LastModifiedDate
from Opportunity
WHERE Development_Support_Account_Key__c !='NULL' AND
Development_Support_Account_Key__c !=''AND
Development_Support_Account_Key__c
LIKE '%DEV' ORDER BY LastModifiedDate DESC NULLS
FIRST
 
 

 
 

   
  
 UD_DAS
 SALESFORCE_DATA_STREAM_1
 1.0.1
 



   
   
   


 
  
   

 
  
   
   



Is it ok to get data from these two tables like this or are there any
better solutions to do this?
Any suggestions are highly appreciated.

Thanks & Regards.
Lakmini.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Retrieve Development Support Hours from SalesForce

2016-02-08 Thread Lakmini Chathurika
Hi Nirodha,

I used only one datastream .(Data Stream:  SALESFORCE_DATA_STREAM_1 Version
: 1.0.1)

Thanks & Regards.

On Mon, Feb 8, 2016 at 10:54 PM, Nirodha Gallage  wrote:

> +1 for this approach. BTW are we planning to write the data from two
> streams to the same table?
>
> On Mon, Feb 8, 2016 at 8:59 PM, Lakmini Chathurika 
> wrote:
>
>> Hi All,
>>
>> I wrote a proxy service to get development support hours from salesforce .
>> In here I got the data from two tables Line_Item__c  and Opportunity.
>> Because in salesforce Line_Item__c table keeps the records before January
>> and Opportunity table keeps the records January onwards.
>> In the proxy first I wrote a SOQL query to get the data from Line_Item__c
>> table and published to DAS through the data stream
>> "SALESFORCE_DATA_STREAM_1".
>> Then I wrote another SOQL query to get the data from Opportunity table
>> and published to DAS through the same datastream.
>>
>> The Proxy is as shown below.
>>
>> 
>> http://ws.apache.org/ns/synapse";
>>name="SalesForceProxy"
>>transports="https,http"
>>statistics="disable"
>>trace="disable"
>>startOnLoad="true">
>>
>>   
>>  
>>  
>> 200
>> SELECT  LastModifiedDate, Support_Account_ID__c,
>> Dev_Support_Hours__c FROM
>> Line_Item__c WHERE Support_Account_ID__c != 'NULL' AND
>> Support_Account_ID__c != '' AND Support_Account_ID__c
>> LIKE '%DEV' ORDER BY LastModifiedDate DESC NULLS
>> FIRST
>>  
>>  
>>  >   continueParent="true"
>>   id="Iterator_line_item"
>>   expression="//sfn:records"
>>   sequential="true">
>> 
>>
>>   
>>  UD_DAS
>>  SALESFORCE_DATA_STREAM_1
>>  1.0.1
>>  
>> 
>> 
>> 
>>>   name="SupportAccountKey"
>>   type="STRING"
>>   defaultValue=""
>>
>> expression="//sf:Support_Account_ID__c"/>
>>>   name="DevelopmentSupportHours"
>>   type="STRING"
>>   defaultValue=""
>>
>> expression="//sf:Dev_Support_Hours__c"/>
>>>   name="LastModifiedDate"
>>   type="STRING"
>>   defaultValue=""
>>   expression="//sf:LastModifiedDate"/>
>> 
>> 
>>  
>>   
>>
>> 
>>  
>>
>>   
>>   
>> 200
>> SELECT
>> Development_Support_Account_Key__c,Development_Support_Hours__c,LastModifiedDate
>> from Opportunity
>> WHERE Development_Support_Account_Key__c !='NULL' AND
>> Development_Support_Account_Key__c !=''AND
>> Development_Support_Account_Key__c
>> LIKE '%DEV' ORDER BY LastModifiedDate DESC NULLS
>> FIRST
>>  
>>  
>> >   name="valueyy"
>>   expression="//sf:Development_Support_Hours__c"/>
>>  
>>  >   id="RecordsIterator"
>>   expression="//sfn:records"
>>   sequential="true">
>> 
>>
>>   
>>  UD_DAS
>>  SALESFORCE_DATA_STREAM_1
>>  1.0.1
>>  
>> 
>> 
>> 
>>> 

Re: [Dev] [ESB][Connector] Github connector - get List of commits on a repo.

2016-03-03 Thread Lakmini Chathurika
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  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 
> 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
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB][Connector] Github connector - get List of commits on a repo.

2016-03-03 Thread Lakmini Chathurika
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  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 
> 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 
>> 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 
>>> 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.
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev