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 <lakm...@wso2.com>
wrote:

> Hi Shakila,
>
>  It works.
>
> Thanks.
> Lakmini.
>
>
> On Fri, Nov 27, 2015 at 11:41 AM, Shakila Sivagnanarajah <shak...@wso2.com
> > 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 <lakm...@wso2.com>
>> 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 <lakm...@wso2.com
>>>>> > 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.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> *<?xml version="1.0" encoding="UTF-8"?><proxy
>>>>>> xmlns="http://ws.apache.org/ns/synapse
>>>>>> <http://ws.apache.org/ns/synapse>"       name="RedmineTest1"
>>>>>> transports="https,http"       statistics="disable"
>>>>>> trace="disable"       startOnLoad="true">   <target>
>>>>>> <inSequence>         <property name="apiUrl"
>>>>>> value="https://redmine-upgrade.private.wso2.com
>>>>>> <https://redmine-upgrade.private.wso2.com>"/>         <property
>>>>>> name="apiKey" value="xxxxxxxxx"/>         <property name="responseType"
>>>>>> value="json"/>         <redmine.init>
>>>>>> <apiUrl>{$ctx:apiUrl}</apiUrl>
>>>>>> <apiKey>{$ctx:apiKey}</apiKey>
>>>>>> <responseType>{$ctx:responseType}</responseType>
>>>>>> </redmine.init>         <redmine.listProjects/>         <respond/>
>>>>>> </inSequence>   </target>   <description/></proxy>*
>>>>>>  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

Reply via email to