Re: [Dev] Publish data set in DAS

2016-03-02 Thread Lakshitha Warnakulasuriya
Thanx Sinthuja.

But after create wso2 event receiver, where can I see the string that
return by soap service.,

Regards,
Lakshitha.

On Wed, Mar 2, 2016 at 1:22 PM, Sinthuja Ragendran 
wrote:

> Hi Lakshitha,
>
>
> On Wed, Mar 2, 2016 at 1:20 PM, Lakshitha Warnakulasuriya <
> lakshitha...@gmail.com> wrote:
>
>> Thanx Ayyoob.
>>
>> I'm using ESB(4.8.1) and DAS(3.0.0) for publish data from ESB to DAS.
>>
>> For the testing, I want to publish string from ESB to DAS. I followed
>> below steps for do that. But it's not working.
>>
>>1. First I create a soap service for return a simple string like
>>'Hello World'.
>>2. Create BAM Profile in ESB.
>>3. Create a *Pass Through Proxy* in ESB using this soap wsdl.
>>4. Create *BAM Mediator* using above proxy service.
>>5. After invoke the service, there is a new stream created in DAS.
>>6. Create *soap event receiver* for the above stream.
>>
>> This needs to be wso2event receiver, not soap event receiver because the
> events are published as wso2 events not soap events.
>
> Thanks,
> Sinthuja.
>
>>
>>1. Check Data Explore in DAS.
>>
>> Any help can be really appreciated.
>>
>>
>> Thanks and Regards,
>> Lakshitha.
>>
>> On Tue, Mar 1, 2016 at 7:19 PM, Ayyoob Hamza  wrote:
>>
>>> Hi Lakshitha,
>>> WSO2 DAS has different event receivers[1] to receive events and there is
>>> one for soap[2]. Please refer the sample give in [2] which receive xml
>>> based events.
>>>
>>> [1] https://docs.wso2.com/display/DAS300/Configuring+Event+Receivers
>>> [2] https://docs.wso2.com/display/DAS300/SOAP+Event+Receiver
>>>
>>> Thanks
>>>
>>> *Ayyoob Hamza*
>>> *Software Engineer*
>>> WSO2 Inc.; http://wso2.com
>>> email: ayy...@wso2.com cell: +94 77 1681010 <%2B94%2077%207779495>
>>>
>>> On Tue, Mar 1, 2016 at 1:01 PM, Lakshitha Warnakulasuriya <
>>> lakshitha...@gmail.com> wrote:
>>>
 I'll get some backend data set using soap service. I want to publish
 that data set in WSO2 DAS. How can i do this?
 Any help can be really appreciated.

 Thanks and Regards,
 Lakshitha.

 ___
 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
>>
>>
>
>
> --
> *Sinthuja Rajendran*
> Associate Technical Lead
> WSO2, Inc.:http://wso2.com
>
> Blog: http://sinthu-rajan.blogspot.com/
> Mobile: +94774273955
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Fwd: GSOC2016: Proposal 6: [ML]

2016-03-02 Thread Maheshakya Wijewardena
Hi Mahesh,

Thank you for the interest for this project.

We would like to know what type of similar projects you have worked on. You
may have seen that WSO2 Machine Learner supports several learning
algorithms at the moment[1]. This project intends to leverage the existing
algorithms in WSO2 Machine Learner to support streaming data. As an
initiative, first you can get an idea about what WSO2 Machine Learner does
and how it operates. You can download WSO2 Machine Learner from product
page[2] and the the source code [3]. ML is using Apache Spark MLLib[4] for
its' algorithms so it's better to read and understand what it does as well.

In order to get an idea about the deliverables and the scope of this
project, try to understand how Spark streaming[5] (see examples) handles
streaming data. Also, have a look in the streaming algorithms[6][7]
supported by MLLib. There are two approaches discussed to employ
incremental learning in ML in the project proposals page. These streaming
algorithms can be directly used in the first approach. For the other
approach, the your implementation should contain a procedure to create mini
batches from streaming data with relevant sizes (i.e. a moving window) and
do periodic retraining of the same algorithm.

To start with the project, you will need to come up with a suitable plan
and an architecture first.

Please watch the video referenced in the proposal (reference: 5). It will
help you getting a better idea about machine learning algorithms with
streaming data.

Let us know if you need any help with these.

Best regards

[1] https://docs.wso2.com/display/ML110/Machine+Learner+Algorithms
[2] http://wso2.com/products/machine-learner/
[3]
https://docs.wso2.com/display/ML110/Building+from+Source#BuildingfromSource-Downloadingthesourcecheckout
[4] https://spark.apache.org/docs/1.4.1/mllib-guide.html
[5] https://spark.apache.org/docs/1.4.1/streaming-programming-guide.html
[6]
https://spark.apache.org/docs/1.4.1/mllib-linear-methods.html#streaming-linear-regression
[7]
https://spark.apache.org/docs/1.4.1/mllib-clustering.html#streaming-k-means

On Wed, Mar 2, 2016 at 1:19 PM, Mahesh Dananjaya 
wrote:

> Hi all,
> I am interesting on contribute to proposal 6: "Predictive analytic with
> online data for WSO2 Machine Learner" for GSOC2 this time. Since i have
> been engaging with some similar projects i think it will be a great
> experience for me. Please let me know what you think and what you suggest.
> I have been going through your documents.thank you.
> regards,
> Mahesh Dananjaya.
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Pruthuvi Maheshakya Wijewardena
mahesha...@wso2.com
+94711228855
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Publish data set in DAS

2016-03-02 Thread Sinthuja Ragendran
Hi Lakshitha,



On Wed, Mar 2, 2016 at 1:36 PM, Lakshitha Warnakulasuriya <
lakshitha...@gmail.com> wrote:

> Thanx Sinthuja.
>
> But after create wso2 event receiver, where can I see the string that
> return by soap service.,
>

I believe you wanted to see the fields that were sent along with the event,
and if so, you can use the data explorer [1] to see the results.

Thanks,
Sinthuja.

[1] https://docs.wso2.com/display/DAS300/Data+Explorer

>
> Regards,
> Lakshitha.
>
> On Wed, Mar 2, 2016 at 1:22 PM, Sinthuja Ragendran 
> wrote:
>
>> Hi Lakshitha,
>>
>>
>> On Wed, Mar 2, 2016 at 1:20 PM, Lakshitha Warnakulasuriya <
>> lakshitha...@gmail.com> wrote:
>>
>>> Thanx Ayyoob.
>>>
>>> I'm using ESB(4.8.1) and DAS(3.0.0) for publish data from ESB to DAS.
>>>
>>> For the testing, I want to publish string from ESB to DAS. I followed
>>> below steps for do that. But it's not working.
>>>
>>>1. First I create a soap service for return a simple string like
>>>'Hello World'.
>>>2. Create BAM Profile in ESB.
>>>3. Create a *Pass Through Proxy* in ESB using this soap wsdl.
>>>4. Create *BAM Mediator* using above proxy service.
>>>5. After invoke the service, there is a new stream created in DAS.
>>>6. Create *soap event receiver* for the above stream.
>>>
>>> This needs to be wso2event receiver, not soap event receiver because the
>> events are published as wso2 events not soap events.
>>
>> Thanks,
>> Sinthuja.
>>
>>>
>>>1. Check Data Explore in DAS.
>>>
>>> Any help can be really appreciated.
>>>
>>>
>>> Thanks and Regards,
>>> Lakshitha.
>>>
>>> On Tue, Mar 1, 2016 at 7:19 PM, Ayyoob Hamza  wrote:
>>>
 Hi Lakshitha,
 WSO2 DAS has different event receivers[1] to receive events and there
 is one for soap[2]. Please refer the sample give in [2] which receive xml
 based events.

 [1] https://docs.wso2.com/display/DAS300/Configuring+Event+Receivers
 [2] https://docs.wso2.com/display/DAS300/SOAP+Event+Receiver

 Thanks

 *Ayyoob Hamza*
 *Software Engineer*
 WSO2 Inc.; http://wso2.com
 email: ayy...@wso2.com cell: +94 77 1681010 <%2B94%2077%207779495>

 On Tue, Mar 1, 2016 at 1:01 PM, Lakshitha Warnakulasuriya <
 lakshitha...@gmail.com> wrote:

> I'll get some backend data set using soap service. I want to publish
> that data set in WSO2 DAS. How can i do this?
> Any help can be really appreciated.
>
> Thanks and Regards,
> Lakshitha.
>
> ___
> 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
>>>
>>>
>>
>>
>> --
>> *Sinthuja Rajendran*
>> Associate Technical Lead
>> WSO2, Inc.:http://wso2.com
>>
>> Blog: http://sinthu-rajan.blogspot.com/
>> Mobile: +94774273955
>>
>>
>>
>


-- 
*Sinthuja Rajendran*
Associate Technical Lead
WSO2, Inc.:http://wso2.com

Blog: http://sinthu-rajan.blogspot.com/
Mobile: +94774273955
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 Business Process Server 3.5.1 RC3

2016-03-02 Thread Amal Gunatilake
Hi,

I have tested the following.

   - Main functionalities of BPEL, Humantask, BPMN on Windows environment.
   - Main functionalities of BPEL, Humantask, BPMN connecting to Oracle DB.
   - BPMN
   - Deployment / Undeployment
  - Process View
  - Manage instances
  - BPMN manage user access permission
  - REST invocations
  - Correlation
   - Core functionalities of BPMN Rest API
   - Verified mail task fix [1]

No issues found.

Best regards,
Amal.

[1] https://wso2.org/jira/browse/BPS-978

On Wed, Mar 2, 2016 at 6:43 AM, Himasha Guruge  wrote:

> Hi,
>
> Tested following against mysql db.
>
> 1. Bpmn samples and bpmn explorer.
>
> 2. Human task sample and human-task explorer.
>
> 3. Bpel samples.
>
> 4.Email/sms notifications of humantasks.
>
> 5.Bpmn/bpel cleanup script execution with a load of 1000 instances each.
>
> [ ] Stable - go ahead and release.
>
> Thanks,
>
> Himasha
>
> On Tue, Mar 1, 2016 at 11:44 AM, Amal Gunatilake  wrote:
>
>> Hi Devs,
>>
>> This is the third release candidate of WSO2 Business Process Server 3.5.1
>>
>> *This release fixes the following issues:*
>> https://wso2.org/jira/secure/IssueNavigator.jspa?mode=hide&requestId=12625
>>
>> Please download, test and vote.
>>
>> *Source & binary distribution files:*
>> Source : https://github.com/wso2/product-bps/archive/v3.5.1-RC3.zip
>> Binary :
>> https://github.com/wso2/product-bps/releases/download/v3.5.1-RC3/wso2bps-3.5.1.zip
>>
>> *Maven staging repo:*
>> http://maven.wso2.org/nexus/content/repositories/orgwso2bps-394/
>>
>> The tag to be voted upon:
>>
>> https://github.com/wso2/product-bps/releases/tag/v3.5.1-RC3
>>
>> [ ] Broken - do not release (explain why)
>> [ ] Stable - go ahead and release
>>
>> Best regards,
>> Amal.
>> --
>> *Amal Gunatilake*
>> Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Himasha Guruge
> *Software Engineer*
> WS*O2* *Inc.*
> Mobile: +94 777459299
> himas...@wso2.com
>



-- 
*Amal Gunatilake*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Publish data set in DAS

2016-03-02 Thread Lakshitha Warnakulasuriya
Thanx Sinthuja.

But when I persisted the steam, there is no column for the string that
return by soap service. And also there is no string in Data Explorer.
Is there any work around I should follow for solve this.

Thanks and Regards,
Lakshitha.

On Wed, Mar 2, 2016 at 1:41 PM, Sinthuja Ragendran 
wrote:

> Hi Lakshitha,
>
>
>
> On Wed, Mar 2, 2016 at 1:36 PM, Lakshitha Warnakulasuriya <
> lakshitha...@gmail.com> wrote:
>
>> Thanx Sinthuja.
>>
>> But after create wso2 event receiver, where can I see the string that
>> return by soap service.,
>>
>
> I believe you wanted to see the fields that were sent along with the
> event, and if so, you can use the data explorer [1] to see the results.
>
> Thanks,
> Sinthuja.
>
> [1] https://docs.wso2.com/display/DAS300/Data+Explorer
>
>>
>> Regards,
>> Lakshitha.
>>
>> On Wed, Mar 2, 2016 at 1:22 PM, Sinthuja Ragendran 
>> wrote:
>>
>>> Hi Lakshitha,
>>>
>>>
>>> On Wed, Mar 2, 2016 at 1:20 PM, Lakshitha Warnakulasuriya <
>>> lakshitha...@gmail.com> wrote:
>>>
 Thanx Ayyoob.

 I'm using ESB(4.8.1) and DAS(3.0.0) for publish data from ESB to DAS.

 For the testing, I want to publish string from ESB to DAS. I followed
 below steps for do that. But it's not working.

1. First I create a soap service for return a simple string like
'Hello World'.
2. Create BAM Profile in ESB.
3. Create a *Pass Through Proxy* in ESB using this soap wsdl.
4. Create *BAM Mediator* using above proxy service.
5. After invoke the service, there is a new stream created in DAS.
6. Create *soap event receiver* for the above stream.

 This needs to be wso2event receiver, not soap event receiver because
>>> the events are published as wso2 events not soap events.
>>>
>>> Thanks,
>>> Sinthuja.
>>>

1. Check Data Explore in DAS.

 Any help can be really appreciated.


 Thanks and Regards,
 Lakshitha.

 On Tue, Mar 1, 2016 at 7:19 PM, Ayyoob Hamza  wrote:

> Hi Lakshitha,
> WSO2 DAS has different event receivers[1] to receive events and there
> is one for soap[2]. Please refer the sample give in [2] which receive xml
> based events.
>
> [1] https://docs.wso2.com/display/DAS300/Configuring+Event+Receivers
> [2] https://docs.wso2.com/display/DAS300/SOAP+Event+Receiver
>
> Thanks
>
> *Ayyoob Hamza*
> *Software Engineer*
> WSO2 Inc.; http://wso2.com
> email: ayy...@wso2.com cell: +94 77 1681010 <%2B94%2077%207779495>
>
> On Tue, Mar 1, 2016 at 1:01 PM, Lakshitha Warnakulasuriya <
> lakshitha...@gmail.com> wrote:
>
>> I'll get some backend data set using soap service. I want to publish
>> that data set in WSO2 DAS. How can i do this?
>> Any help can be really appreciated.
>>
>> Thanks and Regards,
>> Lakshitha.
>>
>> ___
>> 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


>>>
>>>
>>> --
>>> *Sinthuja Rajendran*
>>> Associate Technical Lead
>>> WSO2, Inc.:http://wso2.com
>>>
>>> Blog: http://sinthu-rajan.blogspot.com/
>>> Mobile: +94774273955
>>>
>>>
>>>
>>
>
>
> --
> *Sinthuja Rajendran*
> Associate Technical Lead
> WSO2, Inc.:http://wso2.com
>
> Blog: http://sinthu-rajan.blogspot.com/
> Mobile: +94774273955
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Fwd: GSOC2016: Proposal 6: [ML]

2016-03-02 Thread Mahesh Dananjaya
Hi Maheshakya,
Thank you for the resources. I will go through this and looking forward to
this proposed project.Thank you.
BR,
Mahesh.

On Wed, Mar 2, 2016 at 1:52 PM, Maheshakya Wijewardena 
wrote:

> Hi Mahesh,
>
> Thank you for the interest for this project.
>
> We would like to know what type of similar projects you have worked on.
> You may have seen that WSO2 Machine Learner supports several learning
> algorithms at the moment[1]. This project intends to leverage the existing
> algorithms in WSO2 Machine Learner to support streaming data. As an
> initiative, first you can get an idea about what WSO2 Machine Learner does
> and how it operates. You can download WSO2 Machine Learner from product
> page[2] and the the source code [3]. ML is using Apache Spark MLLib[4] for
> its' algorithms so it's better to read and understand what it does as well.
>
> In order to get an idea about the deliverables and the scope of this
> project, try to understand how Spark streaming[5] (see examples) handles
> streaming data. Also, have a look in the streaming algorithms[6][7]
> supported by MLLib. There are two approaches discussed to employ
> incremental learning in ML in the project proposals page. These streaming
> algorithms can be directly used in the first approach. For the other
> approach, the your implementation should contain a procedure to create mini
> batches from streaming data with relevant sizes (i.e. a moving window) and
> do periodic retraining of the same algorithm.
>
> To start with the project, you will need to come up with a suitable plan
> and an architecture first.
>
> Please watch the video referenced in the proposal (reference: 5). It will
> help you getting a better idea about machine learning algorithms with
> streaming data.
>
> Let us know if you need any help with these.
>
> Best regards
>
> [1] https://docs.wso2.com/display/ML110/Machine+Learner+Algorithms
> [2] http://wso2.com/products/machine-learner/
> [3]
> https://docs.wso2.com/display/ML110/Building+from+Source#BuildingfromSource-Downloadingthesourcecheckout
> [4] https://spark.apache.org/docs/1.4.1/mllib-guide.html
> [5] https://spark.apache.org/docs/1.4.1/streaming-programming-guide.html
> [6]
> https://spark.apache.org/docs/1.4.1/mllib-linear-methods.html#streaming-linear-regression
> [7]
> https://spark.apache.org/docs/1.4.1/mllib-clustering.html#streaming-k-means
>
> On Wed, Mar 2, 2016 at 1:19 PM, Mahesh Dananjaya <
> dananjayamah...@gmail.com> wrote:
>
>> Hi all,
>> I am interesting on contribute to proposal 6: "Predictive analytic with
>> online data for WSO2 Machine Learner" for GSOC2 this time. Since i have
>> been engaging with some similar projects i think it will be a great
>> experience for me. Please let me know what you think and what you suggest.
>> I have been going through your documents.thank you.
>> regards,
>> Mahesh Dananjaya.
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Pruthuvi Maheshakya Wijewardena
> mahesha...@wso2.com
> +94711228855
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Publish data set in DAS

2016-03-02 Thread Sinthuja Ragendran
Hi Lakshitha,

On Wed, Mar 2, 2016 at 2:26 PM, Lakshitha Warnakulasuriya <
lakshitha...@gmail.com> wrote:

> Thanx Sinthuja.
>
> But when I persisted the steam, there is no column for the string that
> return by soap service.
>

Do you mean the response, as the 'string retuned by soap service'
statement?


> And also there is no string in Data Explorer.
>

WDYM by this? Can you attach the screen shot of the Data Explorer output?


> Is there any work around I should follow for solve this.
>

Are you actually extracting the response and sending from the BAM
mediator?  Can you share the BAM mediator configuration, and proxy
configuration?

Thanks,
Sinthuja.

>
> Thanks and Regards,
> Lakshitha.
>
> On Wed, Mar 2, 2016 at 1:41 PM, Sinthuja Ragendran 
> wrote:
>
>> Hi Lakshitha,
>>
>>
>>
>> On Wed, Mar 2, 2016 at 1:36 PM, Lakshitha Warnakulasuriya <
>> lakshitha...@gmail.com> wrote:
>>
>>> Thanx Sinthuja.
>>>
>>> But after create wso2 event receiver, where can I see the string that
>>> return by soap service.,
>>>
>>
>> I believe you wanted to see the fields that were sent along with the
>> event, and if so, you can use the data explorer [1] to see the results.
>>
>> Thanks,
>> Sinthuja.
>>
>> [1] https://docs.wso2.com/display/DAS300/Data+Explorer
>>
>>>
>>> Regards,
>>> Lakshitha.
>>>
>>> On Wed, Mar 2, 2016 at 1:22 PM, Sinthuja Ragendran 
>>> wrote:
>>>
 Hi Lakshitha,


 On Wed, Mar 2, 2016 at 1:20 PM, Lakshitha Warnakulasuriya <
 lakshitha...@gmail.com> wrote:

> Thanx Ayyoob.
>
> I'm using ESB(4.8.1) and DAS(3.0.0) for publish data from ESB to DAS.
>
> For the testing, I want to publish string from ESB to DAS. I followed
> below steps for do that. But it's not working.
>
>1. First I create a soap service for return a simple string like
>'Hello World'.
>2. Create BAM Profile in ESB.
>3. Create a *Pass Through Proxy* in ESB using this soap wsdl.
>4. Create *BAM Mediator* using above proxy service.
>5. After invoke the service, there is a new stream created in DAS.
>6. Create *soap event receiver* for the above stream.
>
> This needs to be wso2event receiver, not soap event receiver because
 the events are published as wso2 events not soap events.

 Thanks,
 Sinthuja.

>
>1. Check Data Explore in DAS.
>
> Any help can be really appreciated.
>
>
> Thanks and Regards,
> Lakshitha.
>
> On Tue, Mar 1, 2016 at 7:19 PM, Ayyoob Hamza  wrote:
>
>> Hi Lakshitha,
>> WSO2 DAS has different event receivers[1] to receive events and there
>> is one for soap[2]. Please refer the sample give in [2] which receive xml
>> based events.
>>
>> [1] https://docs.wso2.com/display/DAS300/Configuring+Event+Receivers
>> [2] https://docs.wso2.com/display/DAS300/SOAP+Event+Receiver
>>
>> Thanks
>>
>> *Ayyoob Hamza*
>> *Software Engineer*
>> WSO2 Inc.; http://wso2.com
>> email: ayy...@wso2.com cell: +94 77 1681010 <%2B94%2077%207779495>
>>
>> On Tue, Mar 1, 2016 at 1:01 PM, Lakshitha Warnakulasuriya <
>> lakshitha...@gmail.com> wrote:
>>
>>> I'll get some backend data set using soap service. I want to publish
>>> that data set in WSO2 DAS. How can i do this?
>>> Any help can be really appreciated.
>>>
>>> Thanks and Regards,
>>> Lakshitha.
>>>
>>> ___
>>> 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
>
>


 --
 *Sinthuja Rajendran*
 Associate Technical Lead
 WSO2, Inc.:http://wso2.com

 Blog: http://sinthu-rajan.blogspot.com/
 Mobile: +94774273955



>>>
>>
>>
>> --
>> *Sinthuja Rajendran*
>> Associate Technical Lead
>> WSO2, Inc.:http://wso2.com
>>
>> Blog: http://sinthu-rajan.blogspot.com/
>> Mobile: +94774273955
>>
>>
>>
>


-- 
*Sinthuja Rajendran*
Associate Technical Lead
WSO2, Inc.:http://wso2.com

Blog: http://sinthu-rajan.blogspot.com/
Mobile: +94774273955
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 Business Process Server 3.5.1 RC3

2016-03-02 Thread Hasitha Aravinda
Hi Devs,

Tested followings in clustered environment.

   - BPEL Asynchronous process chaining.
   - BPEL Correlation Violation.
   - ODE clustering Implementation and Job re-assignment.
   - Verified issue https://wso2.org/jira/browse/CARBON-15776​ is fixed.

*Cluster Details : * 1 Manager, 2 Worker nodes.
Database : MySQL 5.6.28
Load Balancer : nginx/1.4.6

​Tested following against MySQL DB in single node.


   - ​HumanTask coordination ​in multi-tenant environment.

   - Ran Integration tests ( BPEL, HumanTask, BPMN, Task coordination )
   pointing to RC3 pack. Tests are passing.

​Verified followings.

   - Built Source code pointing to Java 7 and Java 8.
   - README.txt
   - INSTALL.txt
   - release-notes.html

[x] Stable - go ahead and release

Thanks,
Hasitha.


On Tue, Mar 1, 2016 at 11:44 AM, Amal Gunatilake  wrote:

> Hi Devs,
>
> This is the third release candidate of WSO2 Business Process Server 3.5.1
>
> *This release fixes the following issues:*
> https://wso2.org/jira/secure/IssueNavigator.jspa?mode=hide&requestId=12625
>
> Please download, test and vote.
>
> *Source & binary distribution files:*
> Source : https://github.com/wso2/product-bps/archive/v3.5.1-RC3.zip
> Binary :
> https://github.com/wso2/product-bps/releases/download/v3.5.1-RC3/wso2bps-3.5.1.zip
>
> *Maven staging repo:*
> http://maven.wso2.org/nexus/content/repositories/orgwso2bps-394/
>
> The tag to be voted upon:
>
> https://github.com/wso2/product-bps/releases/tag/v3.5.1-RC3
>
> [ ] Broken - do not release (explain why)
> [ ] Stable - go ahead and release
>
> Best regards,
> Amal.
> --
> *Amal Gunatilake*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DAS] Retrieving sorted data from queries to DAS

2016-03-02 Thread Shabir Mohamed
Hi Udara,

Yes, sorting of the data received at the DAS end (to a temporary table) can
be done within the Spark Query.

As per discussion with the DAS team,

*The the flow of retrieving data from DAS via a Lucene query works as
follows:*

A call to fetch data from DAS with a lucene query is run against the Lucene
indexes and the IDs of the most matching ("based on a Lucene score
function") results are returned.
A subsequent call is made to the given temporary table to fetch the data
values pertaining to those IDs.

Hence, overall what is returned is a not the results of a direct query onto
the temporary table but of a query of the IDs based on the matching Lucene
indexes.
This returned IDs are not always sorted as per required.

Regards


-
*Shabir Mohamed*
*Software Engineer*
WSO2 Inc.; http://wso2.com
Email: sha...@wso2.com 
Mobile: +94 77 3516019 | +94 71 6583393

On Tue, Mar 1, 2016 at 10:21 PM, Udara Rathnayake  wrote:

> If it's a temporary table, you should be able to do the sorting within the
> spark query.
> So no need to worry about sorting at the client side.
>
> On Mon, Feb 29, 2016 at 11:45 PM, Shabir Mohamed  wrote:
>
>> Hi All,
>>
>> In the process of creating analytics gadgets for the IoT/EMM Server, I
>> have a need to fetch data from DAS filtered by some query parameters (ex:
>> deviceId, owner).
>>
>> In addition, I also have a need to sort the retrieved data based on a
>> specific attribute of the event-stream. As of what I had tried so far I
>> could not find any APIs provided at the DAS end to directly allow this
>> capability. Hence, I have taken to doing the sorting of the retrieved data
>> at my end.
>>
>> Is there any mechanism to achieve this from DAS itself, which I might
>> have missed?
>>
>> Regards
>> -
>> *Shabir Mohamed*
>> *Software Engineer*
>> WSO2 Inc.; http://wso2.com
>> Email: sha...@wso2.com 
>> Mobile: +94 77 3516019 | +94 71 6583393
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Regards,
> UdaraR
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB500] JMS Inbound Endpoint behavior with Session Acknowledgement

2016-03-02 Thread Dilshani Subasinghe
Hi Malaka,

Thank you for explanations. I checked configurations and updated
accordingly. And also there is a small point to clarify.

When creating JMS Client use following function to create a session:

*Session session = connection.createSession(false,
Session.CLIENT_ACKNOWLEDGE);*

JMS Inbound Endpoint will be using following parameter:



*transport.jms.SessionAcknowledgement*
Do both parameters refer same function of JMS ? Do ESB having special
characteristics rather than normal JMS client ?

Your support is highly appreciated.

Regards,
Dilshani


On Tue, Mar 1, 2016 at 5:58 PM, Malaka Silva  wrote:

> Hi Dilshani,
>
> Flow is very simple except following exceptions. Take message -> execute
> mediation (sequence) -> ack the broker.
>
> If you want to rollback set SET_ROLLBACK_ONLY mc property to true in fault
> sequence.
>
> Also in mediation flow non-blocking mediator should be used. eg:- callout
> mediator not send mediator.
>
> On Tue, Mar 1, 2016 at 3:34 PM, Dilshani Subasinghe 
> wrote:
>
>> Hi Malaka,
>>
>> In ESB, JMS Inbound endpoint can configure Acknowledgement Type with
>> "transport.jms.SessionAcknowledgement". When it set as
>> "Client_Acknowledge" , What will be the behavior of ESB ? Does it behave
>> like normal JMS Client which enabled "Client_Acknowledgement" ?
>>
>> I'm using separate JMS Client with "Client_Acknowledge" mode and using it
>> to test JMSX Delivery Count. But ESB Inbound endpoint doesn't behave like
>> particular JMS Client (With "Client_Acknowledge" mode).
>>
>> Can you explain ESB behavior within the particular scenario ?
>>
>> Thank you.
>>
>> --
>> Best Regards,
>>
>> Dilshani Subasinghe
>> Software Engineer - QA
>> WSO2, Inc.;http://wso2.com/
>> 
>> lean.enterprise.middleware
>>
>> Mobile: +94773375185
>>
>
>
>
> --
>
> 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/
> 
> 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.
>



-- 
Best Regards,

Dilshani Subasinghe
Software Engineer - QA
WSO2, Inc.;http://wso2.com/

lean.enterprise.middleware

Mobile: +94773375185
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Publish data set in DAS

2016-03-02 Thread Hasanthi Purnima Dissanayake
Hi Lakshitha,

I have recently published data from ESB(4.9.0) custom proxy to DAS(3.0.0).
For your reference you can use [1].

[1]
http://lcbolgger.blogspot.com/2015/11/publish-data-from-wso2-esb-to-wso2-das_42.html

Thanks,

Hasanthi Dissanayake

Software Engineer | WSO2

E: hasan...@wso2.com
M :0718407133| http://wso2.com 

On Wed, Mar 2, 2016 at 2:41 PM, Sinthuja Ragendran 
wrote:

> Hi Lakshitha,
>
> On Wed, Mar 2, 2016 at 2:26 PM, Lakshitha Warnakulasuriya <
> lakshitha...@gmail.com> wrote:
>
>> Thanx Sinthuja.
>>
>> But when I persisted the steam, there is no column for the string that
>> return by soap service.
>>
>
> Do you mean the response, as the 'string retuned by soap service'
> statement?
>
>
>> And also there is no string in Data Explorer.
>>
>
> WDYM by this? Can you attach the screen shot of the Data Explorer output?
>
>
>> Is there any work around I should follow for solve this.
>>
>
> Are you actually extracting the response and sending from the BAM
> mediator?  Can you share the BAM mediator configuration, and proxy
> configuration?
>
> Thanks,
> Sinthuja.
>
>>
>> Thanks and Regards,
>> Lakshitha.
>>
>> On Wed, Mar 2, 2016 at 1:41 PM, Sinthuja Ragendran 
>> wrote:
>>
>>> Hi Lakshitha,
>>>
>>>
>>>
>>> On Wed, Mar 2, 2016 at 1:36 PM, Lakshitha Warnakulasuriya <
>>> lakshitha...@gmail.com> wrote:
>>>
 Thanx Sinthuja.

 But after create wso2 event receiver, where can I see the string that
 return by soap service.,

>>>
>>> I believe you wanted to see the fields that were sent along with the
>>> event, and if so, you can use the data explorer [1] to see the results.
>>>
>>> Thanks,
>>> Sinthuja.
>>>
>>> [1] https://docs.wso2.com/display/DAS300/Data+Explorer
>>>

 Regards,
 Lakshitha.

 On Wed, Mar 2, 2016 at 1:22 PM, Sinthuja Ragendran 
 wrote:

> Hi Lakshitha,
>
>
> On Wed, Mar 2, 2016 at 1:20 PM, Lakshitha Warnakulasuriya <
> lakshitha...@gmail.com> wrote:
>
>> Thanx Ayyoob.
>>
>> I'm using ESB(4.8.1) and DAS(3.0.0) for publish data from ESB to DAS.
>>
>> For the testing, I want to publish string from ESB to DAS. I followed
>> below steps for do that. But it's not working.
>>
>>1. First I create a soap service for return a simple string like
>>'Hello World'.
>>2. Create BAM Profile in ESB.
>>3. Create a *Pass Through Proxy* in ESB using this soap wsdl.
>>4. Create *BAM Mediator* using above proxy service.
>>5. After invoke the service, there is a new stream created in DAS.
>>6. Create *soap event receiver* for the above stream.
>>
>> This needs to be wso2event receiver, not soap event receiver because
> the events are published as wso2 events not soap events.
>
> Thanks,
> Sinthuja.
>
>>
>>1. Check Data Explore in DAS.
>>
>> Any help can be really appreciated.
>>
>>
>> Thanks and Regards,
>> Lakshitha.
>>
>> On Tue, Mar 1, 2016 at 7:19 PM, Ayyoob Hamza  wrote:
>>
>>> Hi Lakshitha,
>>> WSO2 DAS has different event receivers[1] to receive events and
>>> there is one for soap[2]. Please refer the sample give in [2] which 
>>> receive
>>> xml based events.
>>>
>>> [1] https://docs.wso2.com/display/DAS300/Configuring+Event+Receivers
>>> [2] https://docs.wso2.com/display/DAS300/SOAP+Event+Receiver
>>>
>>> Thanks
>>>
>>> *Ayyoob Hamza*
>>> *Software Engineer*
>>> WSO2 Inc.; http://wso2.com
>>> email: ayy...@wso2.com cell: +94 77 1681010 <%2B94%2077%207779495>
>>>
>>> On Tue, Mar 1, 2016 at 1:01 PM, Lakshitha Warnakulasuriya <
>>> lakshitha...@gmail.com> wrote:
>>>
 I'll get some backend data set using soap service. I want to
 publish that data set in WSO2 DAS. How can i do this?
 Any help can be really appreciated.

 Thanks and Regards,
 Lakshitha.

 ___
 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
>>
>>
>
>
> --
> *Sinthuja Rajendran*
> Associate Technical Lead
> WSO2, Inc.:http://wso2.com
>
> Blog: http://sinthu-rajan.blogspot.com/
> Mobile: +94774273955
>
>
>

>>>
>>>
>>> --
>>> *Sinthuja Rajendran*
>>> Associate Technical Lead
>>> WSO2, Inc.:http://wso2.com
>>>
>>> Blog: http://sinthu-rajan.blogspot.com/
>>> Mobile: +94774273955
>>>
>>>
>>>
>>
>
>
> --
> *Sinthuja Rajendran*
> Associate Technical Lead
> WSO2, Inc.:http://wso2.com
>
> Blog: http://sinthu-rajan.blogspot.com/
> Mobile: +94774273955
>
>
>
> ___
> Dev mailing list
> 

Re: [Dev] [ESB500] JMS Inbound Endpoint behavior with Session Acknowledgement

2016-03-02 Thread Malaka Silva
On Wed, Mar 2, 2016 at 2:55 PM, Dilshani Subasinghe 
wrote:

> Hi Malaka,
>
> Thank you for explanations. I checked configurations and updated
> accordingly. And also there is a small point to clarify.
>
> When creating JMS Client use following function to create a session:
>
> *Session session = connection.createSession(false,
> Session.CLIENT_ACKNOWLEDGE);*
>
> JMS Inbound Endpoint will be using following parameter:
>
>
>
> *transport.jms.SessionAcknowledgement*
> Do both parameters refer same function of JMS ? Do ESB having special
> characteristics rather than normal JMS client ?
>
​It's same.

protected Session createSession(Connection connection) {
try {
if (jmsSpec11) {
return connection.createSession(transactedSession,
sessionAckMode);
} else {
if
(this.destinationType.equals(JMSConstants.JMSDestinationType.QUEUE)) {
return (QueueSession) ((QueueConnection)
(connection)).createQueueSession(
transactedSession, sessionAckMode);
} else if
(this.destinationType.equals(JMSConstants.JMSDestinationType.TOPIC)) {
return (TopicSession) ((TopicConnection)
(connection)).createTopicSession(
transactedSession, sessionAckMode);
}
}
} catch (JMSException e) {
logger.error("JMS Exception while obtaining session for factory
'"
+ this.connectionFactoryString + "' " + e.getMessage());
}

return null;
}​


>
> Your support is highly appreciated.
>
> Regards,
> Dilshani
>
>
> On Tue, Mar 1, 2016 at 5:58 PM, Malaka Silva  wrote:
>
>> Hi Dilshani,
>>
>> Flow is very simple except following exceptions. Take message -> execute
>> mediation (sequence) -> ack the broker.
>>
>> If you want to rollback set SET_ROLLBACK_ONLY mc property to true in
>> fault sequence.
>>
>> Also in mediation flow non-blocking mediator should be used. eg:- callout
>> mediator not send mediator.
>>
>> On Tue, Mar 1, 2016 at 3:34 PM, Dilshani Subasinghe 
>> wrote:
>>
>>> Hi Malaka,
>>>
>>> In ESB, JMS Inbound endpoint can configure Acknowledgement Type with
>>> "transport.jms.SessionAcknowledgement". When it set as
>>> "Client_Acknowledge" , What will be the behavior of ESB ? Does it behave
>>> like normal JMS Client which enabled "Client_Acknowledgement" ?
>>>
>>> I'm using separate JMS Client with "Client_Acknowledge" mode and using
>>> it to test JMSX Delivery Count. But ESB Inbound endpoint doesn't behave
>>> like particular JMS Client (With "Client_Acknowledge" mode).
>>>
>>> Can you explain ESB behavior within the particular scenario ?
>>>
>>> Thank you.
>>>
>>> --
>>> Best Regards,
>>>
>>> Dilshani Subasinghe
>>> Software Engineer - QA
>>> WSO2, Inc.;http://wso2.com/
>>> 
>>> lean.enterprise.middleware
>>>
>>> Mobile: +94773375185
>>>
>>
>>
>>
>> --
>>
>> 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/
>> 
>> 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.
>>
>
>
>
> --
> Best Regards,
>
> Dilshani Subasinghe
> Software Engineer - QA
> WSO2, Inc.;http://wso2.com/
> 
> lean.enterprise.middleware
>
> Mobile: +94773375185
>



-- 

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/

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


Re: [Dev] [ESB500] JMS Inbound Endpoint behavior with Session Acknowledgement

2016-03-02 Thread Dilshani Subasinghe
Hi Malaka,

Thank you and will try to proceed with that in mind. Still ESB having
different behavior rather than normal JMS Client (Even though having same
configurations). Will check on that.

Regards,
Dilshani


On Wed, Mar 2, 2016 at 3:08 PM, Malaka Silva  wrote:

>
>
> On Wed, Mar 2, 2016 at 2:55 PM, Dilshani Subasinghe 
> wrote:
>
>> Hi Malaka,
>>
>> Thank you for explanations. I checked configurations and updated
>> accordingly. And also there is a small point to clarify.
>>
>> When creating JMS Client use following function to create a session:
>>
>> *Session session = connection.createSession(false,
>> Session.CLIENT_ACKNOWLEDGE);*
>>
>> JMS Inbound Endpoint will be using following parameter:
>>
>>
>>
>> *transport.jms.SessionAcknowledgement*
>> Do both parameters refer same function of JMS ? Do ESB having special
>> characteristics rather than normal JMS client ?
>>
> ​It's same.
>
> protected Session createSession(Connection connection) {
> try {
> if (jmsSpec11) {
> return connection.createSession(transactedSession,
> sessionAckMode);
> } else {
> if
> (this.destinationType.equals(JMSConstants.JMSDestinationType.QUEUE)) {
> return (QueueSession) ((QueueConnection)
> (connection)).createQueueSession(
> transactedSession, sessionAckMode);
> } else if
> (this.destinationType.equals(JMSConstants.JMSDestinationType.TOPIC)) {
> return (TopicSession) ((TopicConnection)
> (connection)).createTopicSession(
> transactedSession, sessionAckMode);
> }
> }
> } catch (JMSException e) {
> logger.error("JMS Exception while obtaining session for
> factory '"
> + this.connectionFactoryString + "' " +
> e.getMessage());
> }
>
> return null;
> }​
>
>
>>
>> Your support is highly appreciated.
>>
>> Regards,
>> Dilshani
>>
>>
>> On Tue, Mar 1, 2016 at 5:58 PM, Malaka Silva  wrote:
>>
>>> Hi Dilshani,
>>>
>>> Flow is very simple except following exceptions. Take message -> execute
>>> mediation (sequence) -> ack the broker.
>>>
>>> If you want to rollback set SET_ROLLBACK_ONLY mc property to true in
>>> fault sequence.
>>>
>>> Also in mediation flow non-blocking mediator should be used. eg:-
>>> callout mediator not send mediator.
>>>
>>> On Tue, Mar 1, 2016 at 3:34 PM, Dilshani Subasinghe 
>>> wrote:
>>>
 Hi Malaka,

 In ESB, JMS Inbound endpoint can configure Acknowledgement Type with
 "transport.jms.SessionAcknowledgement". When it set as
 "Client_Acknowledge" , What will be the behavior of ESB ? Does it behave
 like normal JMS Client which enabled "Client_Acknowledgement" ?

 I'm using separate JMS Client with "Client_Acknowledge" mode and using
 it to test JMSX Delivery Count. But ESB Inbound endpoint doesn't behave
 like particular JMS Client (With "Client_Acknowledge" mode).

 Can you explain ESB behavior within the particular scenario ?

 Thank you.

 --
 Best Regards,

 Dilshani Subasinghe
 Software Engineer - QA
 WSO2, Inc.;http://wso2.com/
 
 lean.enterprise.middleware

 Mobile: +94773375185

>>>
>>>
>>>
>>> --
>>>
>>> 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/
>>> 
>>> 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.
>>>
>>
>>
>>
>> --
>> Best Regards,
>>
>> Dilshani Subasinghe
>> Software Engineer - QA
>> WSO2, Inc.;http://wso2.com/
>> 
>> lean.enterprise.middleware
>>
>> Mobile: +94773375185
>>
>
>
>
> --
>
> 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/
> 
> 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.
>



-- 
Best Regards,

Dilshani Subasinghe
Software Engineer - QA
WSO2,

[Dev] [ESB] Oauth Mediator Documentation

2016-03-02 Thread Chathurika De Silva
Hi

As per the offline chat with Asela the documentation that is pointed by [1]
is Oauth 1.0 [2] . There seems to be no sample for Oauth 2.0 related
scenario. Can we get it included in the documentation?

[1] https://docs.wso2.com/display/ESB500/OAuth+Mediator
[2]
https://docs.wso2.com/display/IS510/2-legged+OAuth+for+Securing+a+RESTful+Service

Thank You
Erandi

-- 
*Chathurika Erandi*
Software Engineer,
WSO2 Inc.

*E-mail:* chathuri...@wso2.com
*Mobile: *+94714 328 612
*Blog*: chathurikaerandi.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC] Proposal 8: HTTP Load balancer on top of WSO2 Gateway

2016-03-02 Thread Pubudu Fernando
Hi Kasun & Isuru,

Thanks for the guidance. I will have a look at what you have mentioned and
inform you of the progress made.

Thanks.
Pubudu

*Pubudu Fernando*
Software Engineer - Intern
WSO2 Inc.
mobile: +94 77 888 2543
blog: http://blog.pubudu.xyz


On Wed, Mar 2, 2016 at 10:28 AM, Kasun Indrasiri  wrote:

> Hi Pubudu,
>
> Can you come up with the use cases that you are planning to add on top of
> HTTP GW. Also, come up with a design of the existing GW and how the LB
> related features will be implemented on the GW. These things will be
> critical in order to proceed with the project.
>
> Thanks,
> Kasun
>
> On Wed, Mar 2, 2016 at 9:28 AM, Isuru Ranawaka  wrote:
>
>> Hi Pubudu,
>>
>> First you can evaluate  existing  loadbalancers (ex Nginx , HA ) and look
>> in to main features related to HTTP loadbalancing such as  Load balancing
>> methods (roundrobin, iphash, leastconnected) , session persistence,  ..etc.
>> Try to identify how those concepts works within those and come up with a
>> set of features that needs to be implemented.
>>
>> thanks
>> IsuruR
>>
>> On Wed, Mar 2, 2016 at 1:12 AM, Pubudu Fernando 
>> wrote:
>>
>>> Hi,
>>>
>>> I'm a 3rd year Computer Engineering undergraduate student from
>>> University of Moratuwa and I am interested in contributing to proposal 8,
>>> developing a HTTP load balancer on top of Gateway for GSoC. I am a bit
>>> familiar with load balancing concepts and WSO2 Gateway and I have
>>> configured and used Ngnix as a load balancer when configuring WSO2 server
>>> clusters. And I also did some background reading ([1], [2]) in order to
>>> gain a better understanding of concepts behind the construction of a load
>>> balancer.
>>>
>>> I would be grateful if you can advise me (topics and libraries that I
>>> should look up etc), regarding how to proceed with this project. Also, can
>>> you please elaborate a bit more about the requirements? Which load
>>> balancing algorithms do you expect to be implemented in this project?
>>>
>>> [1] - http://www.aosabook.org/en/nginx.html
>>> [2] -
>>> https://www.digitalocean.com/community/tutorials/understanding-nginx-http-proxying-load-balancing-buffering-and-caching
>>>
>>> Thank you.
>>>
>>> Best Regards,
>>>
>>> *Pubudu Fernando*
>>> Batch '12
>>> Department of Computer Science and Engineering
>>> University of Moratuwa
>>>
>>
>>
>>
>> --
>> Best Regards
>> Isuru Ranawaka
>> M: +94714629880
>> Blog : http://isurur.blogspot.com/
>>
>
>
>
> --
> Kasun Indrasiri
> Software Architect
> WSO2, Inc.; http://wso2.com
> lean.enterprise.middleware
>
> cell: +94 77 556 5206
> Blog : http://kasunpanorama.blogspot.com/
>
> ___
> 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


Re: [Dev] [VOTE] Release WSO2 MSF4J 1.0.0 RC5

2016-03-02 Thread Jayanga Dissanayake
Hi Samiyuru,

http://maven.wso2.org/nexus/content/repositories/orgwso2-327/ is related to
RC5 and, as you have already released the msf4j GA, Do we need to keep this
in the staging repo? IMO we can drop this.

Thanks,
Jayanga.

*Jayanga Dissanayake*
Senior Software Engineer
WSO2 Inc. - http://wso2.com/
lean . enterprise . middleware
email: jaya...@wso2.com
mobile: +94772207259

On Wed, Feb 10, 2016 at 7:44 PM, Samiyuru Senarathne 
wrote:

> When developing MSF4J applications, we need to use several poms provided
> by MSF4J. Since they are not yet uploaded to the maven central, we have to
> add the MSF4J maven repo url to the project to resolve them. For that, the
> following segment should be added to the project pom before building.
>
> 
> 
> wso2-nexus
> http://maven.wso2.org/nexus/content/repositories/orgwso2-327/
> 
> 
> 
>
> On Wed, Feb 10, 2016 at 6:11 PM, Afkham Azeez  wrote:
>
>> Please also include instructions on how to add the staging repo to the
>> POMs. Otherwise people will find that the build is failing.
>>
>> On Wed, Feb 10, 2016 at 6:06 PM, Afkham Azeez  wrote:
>>
>>> Please remove *wso2msf4j-1.0.0.zip
>>> *
>>>
>>> That is not relevant for external developers & is confusing.
>>>
>>> On Wed, Feb 10, 2016 at 10:26 AM, Samiyuru Senarathne >> > wrote:
>>>
 Hi Devs,

 This is the 5th Release Candidate of WSO2 Microservices Framework for
 Java 1.0.0.

 Please download, test the framework and vote.
 Note: Refer github readmes for guides.

 *​Source and binary distribution files:*
 *https://github.com/wso2/msf4j/releases/tag/v1.0.0-RC5
 *

 *Maven staging repository:*
 *http://maven.wso2.org/nexus/content/repositories/orgwso2-327/
 *

 *The tag to be voted upon:*
 *https://github.com/wso2/msf4j/tree/v1.0.0-RC5
 *


 [ ] Broken - do not release (explain why)
 [ ] Stable - go ahead and release

 Thank you,
 Carbon Team

 --
 Samiyuru Senarathne
 *Software Engineer*
 Mobile : +94 (0) 71 134 6087
 samiy...@wso2.com

>>>
>>>
>>>
>>> --
>>> *Afkham Azeez*
>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>> Member; Apache Software Foundation; http://www.apache.org/
>>> * *
>>> *email: **az...@wso2.com* 
>>> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
>>> *http://blog.afkham.org* 
>>> *twitter: **http://twitter.com/afkham_azeez*
>>> 
>>> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
>>> *
>>>
>>> *Lean . Enterprise . Middleware*
>>>
>>
>>
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * *
>> *email: **az...@wso2.com* 
>> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
>> *http://blog.afkham.org* 
>> *twitter: **http://twitter.com/afkham_azeez*
>> 
>> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
>> *
>>
>> *Lean . Enterprise . Middleware*
>>
>
>
>
> --
> Samiyuru Senarathne
> *Software Engineer*
> Mobile : +94 (0) 71 134 6087
> samiy...@wso2.com
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM] Adding new API store themes for tenants via admin-dashboard

2016-03-02 Thread Joseph Fonseka
I don't think font files can harm the system lets make white-list
configurable so we can add file types which are safe.

Regards
Jo

On Wed, Mar 2, 2016 at 8:28 AM, Shenavi de Mel  wrote:

> Hi Jo,
>
> Just another concern. Is there a particular reason why the deployment of
> web fonts with the theme is also not allowed. If user wants to change the
> default web fonts is that going to be of any harm to the product and it's
> functions?
>
> Regards
> Shenavi
>
> *Shenavi de Mel*
> Software Engineer
> WSO2 Inc: http://wso2.com
> email: shen...@wso2.com
> mobile: 0711644470
>
>
> On Tue, Mar 1, 2016 at 12:15 PM, Shenavi de Mel  wrote:
>
>> Hi Jo,
>>
>> Thanks for the quick response. For the first issue we can remove the
>> files which are included in the sample and provide that for the users and
>> probably mention the supported file extensions as well in the
>> documentation. I guess the 2nd issue would have to be fixed and i created a
>> JIRA to track it [1]. It would be great if you could let us know if this
>> would be fixed in the upcoming release of APIM.
>>
>> [1] https://wso2.org/jira/browse/APIMANAGER-4570
>>
>> Thanks
>> Shenavi
>>
>> *Shenavi de Mel*
>> Software Engineer
>> WSO2 Inc: http://wso2.com
>> email: shen...@wso2.com
>> mobile: 0711644470
>>
>>
>> On Tue, Mar 1, 2016 at 11:53 AM, Joseph Fonseka  wrote:
>>
>>> Hi Shenavi
>>>
>>> Both issues you mention are valid.
>>> 1. The reason to add a white list is to prevent users from uploading
>>> malicious script. And we should remove the unsupported files from the
>>> sample. Also we might need to move the white-list to a config file.
>>>
>>> 2. And yes we should replace the entire directory instead of copying the
>>> files in to the existing theme.
>>>
>>> Regards
>>> Jo
>>>
>>> On Tue, Mar 1, 2016 at 10:44 AM, Shenavi de Mel 
>>> wrote:
>>>
 Hi APIM team,

 I have a few question regarding the uploading of tenant themes to the
 APIM.

 1. When i was uploading a tenant theme for a tenant following the
 tutorial [1] i noticed some warn logs in my console. Further i noticed that
 the files mentioned in those warnings are not deployed as well and are
 mentioned as unsupported. Only thing i did not follow according to this
 document is that i did not delete the folders that i did not change. When i
 went through the code of TenantManagerHostObject.java class i noticed
 that the file extensions other than "css", "jpg", "png", "gif", "svg",
 "ttf", "html", "js are not considered as valid extensions and will not be
 deployed with the theme. In that case is there any reason why those
 unsupported files are included in the sample template [1] given for the
 users to customize?

 If you could confirm or point to a documentation of what are the
 supported file types which can be customized in the custom theme uploaded
 via the admin-dashboard of the tenant if it is not already in the docs i
 feel it might be better to include them in the docs to avoid confusion [1].

 2. Also i noticed if i upload a theme for the tenant and say I include
 a custom css file. And later upload another theme for the same tenant
 hoping to replace the previously uploaded theme and remove that css file it
 will still be available. I assume it replaces the existing folder with the
 new theme hence old files will not get deleted. Is there a way to make sure
 the old theme is deleted and replaced by the new theme when uploading via
 the admin-dashboard application or is that the default and expected
 behavior?

 Your thoughts would be much appreciated to understand this better and
 also improve our documentation [2] to avoid confusion and provide more
 information for the users.

 [1] https://docs.wso2.com/display/AM191/Adding+a+new+API+Store+Theme
 [2]
 https://docs.wso2.com/display/APICloud/Customize+the+API+Store+Theme

 Thanks and Regards
 Shenavi.


>>>
>>>
>>> --
>>>
>>> --
>>> *Joseph Fonseka*
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: +94 772 512 430
>>> skype: jpfonseka
>>>
>>> * *
>>>
>>>
>>
>


-- 

-- 
*Joseph Fonseka*
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 772 512 430
skype: jpfonseka

* *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Gsoc 2016] [CDMF] Calculate Device Health Status using Analytics and API Calls

2016-03-02 Thread Geethika Kumari
Dear sir,

I am Geethika Kumari Abeysinghe third year student of University of
Moratuwa. I am interestig with this project.
I have knowledge and hand on experiences on java programming, restful web
services and maven project implementations.
Please let me to be clarified about the objectives and the exact
deliverables you are expecting from GSOC interns.
Let me know how to get started with this project.

Thanks and Regards.
Geethika Abeysinghe.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Gsoc 2016] [CDMF] Calculate Device Health Status using Analytics and API Calls

2016-03-02 Thread Ayyoob Hamza
Hi Geethika,
Thank you for your interest in this project. CDMF is a framework that is
used for device management and one of the requirement is for the user to
monitor the device status. There are two ways to check the status of a
device
1) Send a device health check ping to the device and then depict the status.
2) Get the device to server communication data and then co relate with past
communication to find the status of the device.

In here we are focusing with a generalised solution that incorporates the
idea from the second approach. In the first approach we are limiting the
capability by asking the device manufacture to incorporate the capability.

You can find the source code for CDMF in
https://github.com/wso2/carbon-device-mgt

You can find the source code for device type implementation such as
android, windows and few IoT device samples in :
https://github.com/wso2/carbon-device-mgt-plugins

We have two products that are built on CDMF
1) EMM -
https://docs.wso2.com/display/EMM200/WSO2+Enterprise+Mobility+Manager
https://github.com/wso2/product-mdm - You can find the official release EMM
2.0.0 in the product listing page

2) IoT Server - https://docs.wso2.com/display/IoTS100/About+IoT+Server
https://github.com/wso2-incubator/product-iot-server - This is still under
development.

Please go through the documentation and try to build EMM to understand the
behaviour of the product.

Thanks


*Ayyoob Hamza*
*Software Engineer*
WSO2 Inc.; http://wso2.com
email: ayy...@wso2.com cell: +94 77 1681010 <%2B94%2077%207779495>

On Wed, Mar 2, 2016 at 11:38 PM, Geethika Kumari 
wrote:

> Dear sir,
>
> I am Geethika Kumari Abeysinghe third year student of University of
> Moratuwa. I am interestig with this project.
> I have knowledge and hand on experiences on java programming, restful web
> services and maven project implementations.
> Please let me to be clarified about the objectives and the exact
> deliverables you are expecting from GSOC interns.
> Let me know how to get started with this project.
>
> Thanks and Regards.
> Geethika Abeysinghe.
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How do I use enrich mediator with JSON payload in ESB 4.9.0?

2016-03-02 Thread Rajkumar Rajaratnam
Thanks Shafreen for the information and Praneesha for fixing the doc.

On Tue, Mar 1, 2016 at 6:21 AM, Praneesha Chandrasiri 
wrote:

> Hi all,
>
>
> I removed Enrich Mediator from the list, which includes mediators that
> have JSON support in docs of ESB 4.9.0 and above, as for example in [1].
>
> Also, I resolved the JIRA in [2].
>
> [1] https://docs.wso2.com/display/ESB500/JSON+Support
>
> [2] https://wso2.org/jira/browse/DOCUMENTATION-2299
>
> Thanks everyone!
>
> On Tue, Mar 1, 2016 at 10:21 AM, Shafreen Anfar  wrote:
>
>> Hi Doc team,
>>
>> I think we need to remove this section from the aforementioned document.
>> AFAIK, none of the mediators mentioned below support native json.
>>
>> @Others : Please correct me if am wrong :)
>>
>> Mediators with native JSON support
>>
>> Native JSON manipulation is supported for the following mediators.
>>
>>- Enrich mediator
>>- Iterate mediator
>>- Aggregate mediator
>>- Clone mediator
>>
>> When JSON is used only the expressions of the above mediator
>> configurations differ from the xml configuration.
>>
>> On Tue, Mar 1, 2016 at 10:13 AM, Shafreen Anfar 
>> wrote:
>>
>>> Hi Rajkumar,
>>>
>>> It seems there is no such native json support in Enrich mediator. Will
>>> update the document. Sorry for the inconvenience.
>>>
>>> On Tue, Mar 1, 2016 at 1:26 AM, Rajkumar Rajaratnam 
>>> wrote:
>>>


 On Mon, Feb 29, 2016 at 7:54 PM, Rajkumar Rajaratnam <
 rajkum...@wso2.com> wrote:

> Hi,
>
> Doc [1] says enrich mediator supports native JSON manipulation. Does
> that mean I can modify the JSON payload using enrich mediator? How do I do
> that? Couldn't find any doc or blog.
>
> [1] https://docs.wso2.com/display/ESB490/JSON+Support
>
> Thanks,
> Raj.
>
> --
> Rajkumar Rajaratnam
> Committer & PMC Member, Apache Stratos
> Software Engineer, WSO2
>
> Mobile : +94777568639
> Blog : rajkumarr.com
>



 --
 Rajkumar Rajaratnam
 Committer & PMC Member, Apache Stratos
 Software Engineer, WSO2

 Mobile : +94777568639
 Blog : rajkumarr.com

>>>
>>>
>>>
>>> --
>>> Regards,
>>> *Shafreen*
>>> Software Engineer
>>> WSO2 Inc
>>> Mobile : 077-556-395-1
>>>
>>
>>
>>
>> --
>> Regards,
>> *Shafreen*
>> Software Engineer
>> WSO2 Inc
>> Mobile : 077-556-395-1
>>
>
>
>
> --
> Thanks & Best Regards,
> *Praneesha Chandrasiri*
> *Technical Writer*
> *WSO2 Inc. *
> *Mobile: +(94) 718156888 <%2B%2894%29%20718156888>*
> *E-mail: pranee...@wso2.com *
>
>


-- 
Rajkumar Rajaratnam
Committer & PMC Member, Apache Stratos
Software Engineer, WSO2

Mobile : +94777568639
Blog : rajkumarr.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [AppM] Remove foreign key constraints from STAT tables

2016-03-02 Thread Lahiru Cooray
Hi,
I suggest that we should *not* enforce any referential integrity to Stats
related tables.

eg:
CREATE TABLE IF NOT EXISTS APM_APP_HITS (
UUID VARCHAR(500) NOT NULL,
APP_NAME VARCHAR(200) NOT NULL,
VERSION VARCHAR(50),
CONTEXT VARCHAR(256) NOT NULL,
USER_ID VARCHAR(50) NOT NULL,
TENANT_ID INTEGER,
HIT_TIME TIMESTAMP NOT NULL,
PRIMARY KEY (UUID, USER_ID, TENANT_ID, HIT_TIME),
FOREIGN KEY (UUID) REFERENCES APM_APP(UUID) ON UPDATE CASCADE ON DELETE
CASCADE
);

For an example this is a table we use to store stats related information
(user App access details). And we have added a foreign key constraint to
UUID (with cascade on delete)
If the original entry get deleted from the APM_APP, it will also delete the
references from this table as well. So we will loose some required
information.

So I suggest we should maintain the stat tables in a flat structure without
any reference to external tables, so need to remove the foreign key
constraints.
WDYT?

-- 
*Lahiru Cooray*
Software Engineer
WSO2, Inc.;http://wso2.com/
lean.enterprise.middleware

Mobile: +94 715 654154
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSOC 2016] Contribute Developer Tooling for Microservice Framework for Java

2016-03-02 Thread Heshan Jayasinghe
HI Dimuthu,

I am interested on project *Developer Tooling for Microservice Framework
for Java.*Could you please give further information about this project then
I can start my proposal from now onwards.Is there any prerequisites to do
this project?

I work with apache jclouds,docker,kubernates and more other applications as
well.i used google cloud platform,AWS to configure above applications.Hope
i can complete this task easily.if you selected any student for this
project already please let me know.

I can start this project from today onwards if you can give more details it
is big help for me.

Thanks!
regards,
Heshan Jayasinghe


On Tue, Feb 23, 2016 at 2:00 PM, Dimuthu Leelarathne 
wrote:

> Hi all,
>
> You will have to wait till 29th of February, after that only we should
> start discussions.
>
> thanks,
> Dimuthu
>
> On Tue, Feb 23, 2016 at 1:53 PM, Dimuthu Leelarathne 
> wrote:
>
>> Hi,
>>
>> Lets all of us have a Google Hangout session to talk about this.
>>
>> thanks,
>> Dimuthu
>>
>>
>> On Mon, Feb 22, 2016 at 12:38 AM, Heshan Jayasinghe 
>> wrote:
>>
>>>
>>>
>>> I am Heshan Jayasinghe undergraduate of university of moratuwa.i am
>>> interested on web services,Apache projects and cloud based projects.I work
>>> with apache jclouds,docker,kubernates and more other applications as well.i
>>> used google cloud platform,AWS to configure above applications.
>>>
>>> I participate Wso2Con Asia 2016 and gain big knowledge.i participate
>>> most of sessions done by wso2.I participate wso2 hackathon 2014.
>>>
>>> I like to contribute project *Developer Tooling for Microservice
>>> Framework for Java.*
>>>
>>> I work with JAX-RS,Eclipse and IntelliJ IDEA so hope i can complete this
>>> task.I'd like to know more details about this project.
>>>
>>> Thank you!
>>> regards
>>> Heshan jayasinghe
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Dimuthu Leelarathne
>> Director
>>
>> WSO2, Inc. (http://wso2.com)
>> email: dimut...@wso2.com
>> Mobile : 0773661935
>>
>> Lean . Enterprise . Middleware
>>
>
>
>
> --
> Dimuthu Leelarathne
> Director
>
> WSO2, Inc. (http://wso2.com)
> email: dimut...@wso2.com
> Mobile : 0773661935
>
> Lean . Enterprise . Middleware
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AppM] Remove foreign key constraints from STAT tables

2016-03-02 Thread Ruwan Abeykoon
Hi All,
+1
Stat table should hold only "facts". They should bot have any referential
integrity at all, since stat records will not get any updates at all.

Cheers,
Ruwan

On Thu, Mar 3, 2016 at 6:37 AM, Lahiru Cooray  wrote:

> Hi,
> I suggest that we should *not* enforce any referential integrity to Stats
> related tables.
>
> eg:
> CREATE TABLE IF NOT EXISTS APM_APP_HITS (
> UUID VARCHAR(500) NOT NULL,
> APP_NAME VARCHAR(200) NOT NULL,
> VERSION VARCHAR(50),
> CONTEXT VARCHAR(256) NOT NULL,
> USER_ID VARCHAR(50) NOT NULL,
> TENANT_ID INTEGER,
> HIT_TIME TIMESTAMP NOT NULL,
> PRIMARY KEY (UUID, USER_ID, TENANT_ID, HIT_TIME),
> FOREIGN KEY (UUID) REFERENCES APM_APP(UUID) ON UPDATE CASCADE ON DELETE
> CASCADE
> );
>
> For an example this is a table we use to store stats related information
> (user App access details). And we have added a foreign key constraint to
> UUID (with cascade on delete)
> If the original entry get deleted from the APM_APP, it will also delete
> the references from this table as well. So we will loose some required
> information.
>
> So I suggest we should maintain the stat tables in a flat structure
> without any reference to external tables, so need to remove the foreign key
> constraints.
> WDYT?
>
> --
> *Lahiru Cooray*
> Software Engineer
> WSO2, Inc.;http://wso2.com/
> lean.enterprise.middleware
>
> Mobile: +94 715 654154
>



-- 

*Ruwan Abeykoon*
*Architect,*
*WSO2, Inc. http://wso2.com  *
*lean.enterprise.middleware.*

email: ruw...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] XML to json array in ESB

2016-03-02 Thread Shazni Nazir
Hi Chanaka,

Thanks. Using the above property inside a payload factory works fine.

Shazni Nazeer
Mob : +94 37331
LinkedIn : http://lk.linkedin.com/in/shazninazeer
Blog : http://shazninazeer.blogspot.com

On Tue, Mar 1, 2016 at 8:03 PM, Chanaka Fernando  wrote:

> Hi Shazni,
>
> There should some information in the xml message to tell that it is an
> array when there is only one element. Otherwise, JSON builder cannot figure
> out it is an array. You can use the following in the xml message to
> instruct the consumers about array.
>
> **
>
> 
>
> user1
>
> 
>
>
>
>
>
> On Wed, Mar 2, 2016 at 12:35 AM, Shazni Nazir  wrote:
>
>> Hi,
>>
>> Say for example used a proxy below [1] to convert an xml to json.
>>
>> [1]
>>
>> http://ws.apache.org/ns/synapse"; name="XmlToJSON"
>> transports="https,http" statistics="disable" trace="disable"
>> startOnLoad="true">
>> 
>> 
>> > scope="axis2"/>
>> 
>> 
>> 
>> 
>> 
>>
>> using a payload like [2] returns a response like [3] with a json array.
>>
>> [2]
>> 
>> user1
>> user2
>> 
>>
>> [3]
>>
>> {
>>   "users": {
>> "user": [
>>   "user1",
>>   "user2"
>> ]
>>   }
>> }
>>
>> using a payload like [4] returns a response like [5] without square 
>> brackets, since there's only one element.
>>
>> [4]
>>  
>>  user1
>>  
>>
>> [5]
>>
>> {
>>   "users": {
>> "user": "user1"
>>   }
>> }
>>
>> But I need to get this user1 in an array even if there's only one element in 
>> the array. I can however use a payload factory with a filter mediator like 
>> below to achieve this. Wondering if there's any other simple way to achieve 
>> without this? Your input is appreciated.
>>
>> [6]
>>
>> 
>> 
>> 
>> { "StockQuotes": { "Stock": $1 } }
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> { "StockQuotes": { "Stock": [ $1 ] } }
>> 
>> 
>> 
>> 
>> 
>> 
>>
>> Shazni Nazeer
>> Mob : +94 37331
>> LinkedIn : http://lk.linkedin.com/in/shazninazeer
>> Blog : http://shazninazeer.blogspot.com
>>
>
>
>
> --
> Thank you and Best Regards,
> Chanaka Fernando
> Senior Technical Lead
> WSO2, Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 773337238
> Blog : http://soatutorials.blogspot.com
> LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0
> Twitter:https://twitter.com/chanakaudaya
>
>
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Proposal 8: [ESB/GW] HTTP Load balancer on top of WSO2 Gateway - Reg

2016-03-02 Thread Kasun Indrasiri
Hi Venkat,

Thanks for your interest in the above proposal. Yes, the same link is valid
for all the projects related GW (I've updated the references). So, to get
started with you can start running the samples and going through the code
base of GW.
Also you can come up with the use cases that you are planning to add on top
of HTTP GW. And come up with a design of the existing GW and how the LB
related features will be implemented on the GW.

Please subscribe to dev@wso2.org and use that mailing list to communicate
with the developers at WSO2.

On Wed, Mar 2, 2016 at 11:03 AM, Venkat Raman  wrote:

> Hi Isuru & Kasun,
>
> I am Venkatraman, pursuing Final year B.Tech Computer Science &
> Engineering in SASTRA University (Undergraduate Course), India.  My area of
> interest is Computer Networking and I am also proficient in JAVA
> programming.
>
> I came to know about WSO2 through its contribution in GSOC 2015 and I'm
> very eager & excited to work on WSO2 products.
>
> The other proposals involving WSO2 gateway have
> https://github.com/wso2/product-gw as reference URL. But in Proposal 8 no
> refgerence URL is mentioned.
>
> Could you kindly guide me in starting with this proposal idea?
>
> Will be looking forward to hear from you.
>
>
>
> *Thanks,*
> *Venkat.*
>



-- 
Kasun Indrasiri
Software Architect
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

cell: +94 77 556 5206
Blog : http://kasunpanorama.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSOC 2016: Proposal 7

2016-03-02 Thread Isuru Udana
Hi Dinanjana,

Do you need further help to understand the ESB architecture ?

On Mon, Feb 29, 2016 at 6:01 PM, Nadeeshaan Gunasinghe 
wrote:

> Hi Dinanjana,
>
> In order to have a better understanding about the underlying
> functionalities of WSO2 ESB, it would be better if you take a look at the
> architecture first. Please find [1] which is a very informative webinar
> about WSO2 ESB's architecture as well as the message flow.
>
> Also if you are trying to get familiar how ESB handles the mediation at
> the core level, I would like to suggest going through [2] which covers the
> transport level functionality mapping to the ESB core level. This contains
> three parts and it would be great if you go through them :) .
>
> Additionally try to deploy a simple synapse configuration and debug the
> code base to identify how the message flows through synapse. If you do so
> you will be able to get a firm grasp of the message flow mentioned at [2].
>
> [1]
> http://wso2.com/library/webinars/2014/09/understanding-wso2-esb-introduction-to-esb-architecture-and-message-flow/
> [2]
> http://wso2.com/library/articles/2013/12/demystifying-wso2-esb-pass-through-transport-part-i/
>
> Thanks,
>
> *Nadeeshaan Gunasinghe*
> Software Engineer, WSO2 Inc. http://wso2.com
> +94770596754 | nadeesh...@wso2.com | Skype: nadeeshaan.gunasinghe
> <#-537557168_478758164_>
> 
>   
> 
> Get a signature like this: Click here!
> 
>
> On Mon, Feb 29, 2016 at 1:09 PM, Dinanjana Gunaratne <
> dinanjanagunara...@gmail.com> wrote:
>
>> Hi all,
>> As Nadeeshan has suggested earlier i built all 3 projects from the
>> source. Many of the details of JVM Isuru suggested can be gained from
>> java.lang.management. Other specific data i think can be gained from
>> management package of carbon. I still have a very little understanding
>> about the architecture of ESB. So what I can't understand is where to do
>> the implementation?Are we talking about a "feature"  to ESB ?
>>
>>
>>
>> On Mon, Feb 29, 2016 at 9:32 AM, Isuru Udana  wrote:
>>
>>> Hi Dinanjana,
>>>
>>> Intention of this project is to build a tool which ease production
>>> incident analysis.
>>> Some of the common production incidents are,
>>> - Server goes OOM
>>> - Increase of CPU usage
>>> - Server goes to an unresponsive state
>>>
>>> We need to detect those situations and need to extract useful
>>> information to debug the issue before the server goes to a catastrophic
>>> state.
>>>
>>> For an example, when the server goes OOM, it will automatically generate
>>> the heap dump. However heap dump is not sufficient to analyse the incident.
>>> We need to see what causes the increase of heap. That may be due to
>>> increase of load (requests) or may be due to a bug. So we need to extract
>>> information like TPS of the server, thread dumps to do the further analysis.
>>>
>>> Thanks.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Fri, Feb 26, 2016 at 1:38 PM, Nadeeshaan Gunasinghe <
>>> nadeesh...@wso2.com> wrote:
>>>
 Hi Dinanjana,

 First let's try to build WSO2 ESB from source and then dig in deep to
 the source. In order to do so you will need build the following
 repositories in the order.

 [1] https://github.com/wso2/wso2-synapse
 [2] https://github.com/wso2/carbon-mediation
 [3] https://github.com/wso2/product-esb

 Thanks,

 *Nadeeshaan Gunasinghe*
 Software Engineer, WSO2 Inc. http://wso2.com
 +94770596754 | nadeesh...@wso2.com | Skype: nadeeshaan.gunasinghe
 <#-537557168_478758164_1912754997_-722133546_-1073985791_>
 
   
   
 Get a signature like this: Click here!
 

 On Thu, Feb 25, 2016 at 6:24 AM, Dinanjana Gunaratne <
 dinanjanagunara...@gmail.com> wrote:

> Dear Isuru,
>
> Can you send me a link of api documentation of management package of
> ESB ?
>
> On Sun, Feb 21, 2016 at 2:34 PM, Dinanjana Gunaratne <
> dinanjanagunara...@gmail.com> wrote:
>
>> Dear Isuru,
>>
>> Sorry for bothering you again. I created a sample module with some of
>> the requirements you mentioned in gsoc project page. Thos

Re: [Dev] GSOC 2016: Proposal 7

2016-03-02 Thread Dinanjana Gunaratne
Hi all,
Not currently. I am going through the documentation :) Thanks for the help
:)

On Thu, Mar 3, 2016 at 9:52 AM, Isuru Udana  wrote:

> Hi Dinanjana,
>
> Do you need further help to understand the ESB architecture ?
>
> On Mon, Feb 29, 2016 at 6:01 PM, Nadeeshaan Gunasinghe <
> nadeesh...@wso2.com> wrote:
>
>> Hi Dinanjana,
>>
>> In order to have a better understanding about the underlying
>> functionalities of WSO2 ESB, it would be better if you take a look at the
>> architecture first. Please find [1] which is a very informative webinar
>> about WSO2 ESB's architecture as well as the message flow.
>>
>> Also if you are trying to get familiar how ESB handles the mediation at
>> the core level, I would like to suggest going through [2] which covers the
>> transport level functionality mapping to the ESB core level. This contains
>> three parts and it would be great if you go through them :) .
>>
>> Additionally try to deploy a simple synapse configuration and debug the
>> code base to identify how the message flows through synapse. If you do so
>> you will be able to get a firm grasp of the message flow mentioned at [2].
>>
>> [1]
>> http://wso2.com/library/webinars/2014/09/understanding-wso2-esb-introduction-to-esb-architecture-and-message-flow/
>> [2]
>> http://wso2.com/library/articles/2013/12/demystifying-wso2-esb-pass-through-transport-part-i/
>>
>> Thanks,
>>
>> *Nadeeshaan Gunasinghe*
>> Software Engineer, WSO2 Inc. http://wso2.com
>> +94770596754 | nadeesh...@wso2.com | Skype: nadeeshaan.gunasinghe
>> <#1348862296_-537557168_478758164_>
>> 
>>   
>> 
>> Get a signature like this: Click here!
>> 
>>
>> On Mon, Feb 29, 2016 at 1:09 PM, Dinanjana Gunaratne <
>> dinanjanagunara...@gmail.com> wrote:
>>
>>> Hi all,
>>> As Nadeeshan has suggested earlier i built all 3 projects from the
>>> source. Many of the details of JVM Isuru suggested can be gained from
>>> java.lang.management. Other specific data i think can be gained from
>>> management package of carbon. I still have a very little understanding
>>> about the architecture of ESB. So what I can't understand is where to do
>>> the implementation?Are we talking about a "feature"  to ESB ?
>>>
>>>
>>>
>>> On Mon, Feb 29, 2016 at 9:32 AM, Isuru Udana  wrote:
>>>
 Hi Dinanjana,

 Intention of this project is to build a tool which ease production
 incident analysis.
 Some of the common production incidents are,
 - Server goes OOM
 - Increase of CPU usage
 - Server goes to an unresponsive state

 We need to detect those situations and need to extract useful
 information to debug the issue before the server goes to a catastrophic
 state.

 For an example, when the server goes OOM, it will automatically
 generate the heap dump. However heap dump is not sufficient to analyse the
 incident. We need to see what causes the increase of heap. That may be due
 to increase of load (requests) or may be due to a bug. So we need to
 extract information like TPS of the server, thread dumps to do the further
 analysis.

 Thanks.







 On Fri, Feb 26, 2016 at 1:38 PM, Nadeeshaan Gunasinghe <
 nadeesh...@wso2.com> wrote:

> Hi Dinanjana,
>
> First let's try to build WSO2 ESB from source and then dig in deep to
> the source. In order to do so you will need build the following
> repositories in the order.
>
> [1] https://github.com/wso2/wso2-synapse
> [2] https://github.com/wso2/carbon-mediation
> [3] https://github.com/wso2/product-esb
>
> Thanks,
>
> *Nadeeshaan Gunasinghe*
> Software Engineer, WSO2 Inc. http://wso2.com
> +94770596754 | nadeesh...@wso2.com | Skype: nadeeshaan.gunasinghe
> <#1348862296_-537557168_478758164_1912754997_-722133546_-1073985791_>
> 
> 
>   
> Get a signature like this: Click here!
> 
>
> On Thu, Feb 25, 2016 at 6:24 AM, Dinanjana Gunaratne <
> dinanjanagunara...@gmail.com> wrote:
>
>> Dear Isuru,
>>
>> Can you send me a link of api documentation of management pa

Re: [Dev] [APIM] Adding new API store themes for tenants via admin-dashboard

2016-03-02 Thread Shenavi de Mel
Hi Jo,

Yeah that would be a better approach. Is there any possibility we could get
this changes incorporated to the 1.10.0 release? If not we would need to
patch it and would have to maintain it from the cloud end. We would
appreciate if this could be issued as a patch for 1.10.0 since we would be
migrating to that version soon. Let us know the feedback.

Thanks
Shenavi

*Shenavi de Mel*
Software Engineer
WSO2 Inc: http://wso2.com
email: shen...@wso2.com
mobile: 0711644470


On Wed, Mar 2, 2016 at 8:14 PM, Joseph Fonseka  wrote:

> I don't think font files can harm the system lets make white-list
> configurable so we can add file types which are safe.
>
> Regards
> Jo
>
> On Wed, Mar 2, 2016 at 8:28 AM, Shenavi de Mel  wrote:
>
>> Hi Jo,
>>
>> Just another concern. Is there a particular reason why the deployment of
>> web fonts with the theme is also not allowed. If user wants to change the
>> default web fonts is that going to be of any harm to the product and it's
>> functions?
>>
>> Regards
>> Shenavi
>>
>> *Shenavi de Mel*
>> Software Engineer
>> WSO2 Inc: http://wso2.com
>> email: shen...@wso2.com
>> mobile: 0711644470
>>
>>
>> On Tue, Mar 1, 2016 at 12:15 PM, Shenavi de Mel  wrote:
>>
>>> Hi Jo,
>>>
>>> Thanks for the quick response. For the first issue we can remove the
>>> files which are included in the sample and provide that for the users and
>>> probably mention the supported file extensions as well in the
>>> documentation. I guess the 2nd issue would have to be fixed and i created a
>>> JIRA to track it [1]. It would be great if you could let us know if this
>>> would be fixed in the upcoming release of APIM.
>>>
>>> [1] https://wso2.org/jira/browse/APIMANAGER-4570
>>>
>>> Thanks
>>> Shenavi
>>>
>>> *Shenavi de Mel*
>>> Software Engineer
>>> WSO2 Inc: http://wso2.com
>>> email: shen...@wso2.com
>>> mobile: 0711644470
>>>
>>>
>>> On Tue, Mar 1, 2016 at 11:53 AM, Joseph Fonseka  wrote:
>>>
 Hi Shenavi

 Both issues you mention are valid.
 1. The reason to add a white list is to prevent users from uploading
 malicious script. And we should remove the unsupported files from the
 sample. Also we might need to move the white-list to a config file.

 2. And yes we should replace the entire directory instead of copying
 the files in to the existing theme.

 Regards
 Jo

 On Tue, Mar 1, 2016 at 10:44 AM, Shenavi de Mel 
 wrote:

> Hi APIM team,
>
> I have a few question regarding the uploading of tenant themes to the
> APIM.
>
> 1. When i was uploading a tenant theme for a tenant following the
> tutorial [1] i noticed some warn logs in my console. Further i noticed 
> that
> the files mentioned in those warnings are not deployed as well and are
> mentioned as unsupported. Only thing i did not follow according to this
> document is that i did not delete the folders that i did not change. When 
> i
> went through the code of TenantManagerHostObject.java class i noticed
> that the file extensions other than "css", "jpg", "png", "gif", "svg",
> "ttf", "html", "js are not considered as valid extensions and will not be
> deployed with the theme. In that case is there any reason why those
> unsupported files are included in the sample template [1] given for the
> users to customize?
>
> If you could confirm or point to a documentation of what are the
> supported file types which can be customized in the custom theme uploaded
> via the admin-dashboard of the tenant if it is not already in the docs i
> feel it might be better to include them in the docs to avoid confusion 
> [1].
>
> 2. Also i noticed if i upload a theme for the tenant and say I include
> a custom css file. And later upload another theme for the same tenant
> hoping to replace the previously uploaded theme and remove that css file 
> it
> will still be available. I assume it replaces the existing folder with the
> new theme hence old files will not get deleted. Is there a way to make 
> sure
> the old theme is deleted and replaced by the new theme when uploading via
> the admin-dashboard application or is that the default and expected
> behavior?
>
> Your thoughts would be much appreciated to understand this better and
> also improve our documentation [2] to avoid confusion and provide more
> information for the users.
>
> [1] https://docs.wso2.com/display/AM191/Adding+a+new+API+Store+Theme
> [2]
> https://docs.wso2.com/display/APICloud/Customize+the+API+Store+Theme
>
> Thanks and Regards
> Shenavi.
>
>


 --

 --
 *Joseph Fonseka*
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 772 512 430
 skype: jpfonseka

 * *


>>>
>>
>
>
> --
>
> --
> *Joseph Fonseka*
> WSO2 Inc.; 

Re: [Dev] [APIM] Adding new API store themes for tenants via admin-dashboard

2016-03-02 Thread Joseph Fonseka
Is this a blocker can we fix this in the next release ?

Thanks
Jo

On Thu, Mar 3, 2016 at 10:02 AM, Shenavi de Mel  wrote:

> Hi Jo,
>
> Yeah that would be a better approach. Is there any possibility we could
> get this changes incorporated to the 1.10.0 release? If not we would need
> to patch it and would have to maintain it from the cloud end. We would
> appreciate if this could be issued as a patch for 1.10.0 since we would be
> migrating to that version soon. Let us know the feedback.
>
> Thanks
> Shenavi
>
> *Shenavi de Mel*
> Software Engineer
> WSO2 Inc: http://wso2.com
> email: shen...@wso2.com
> mobile: 0711644470
>
>
> On Wed, Mar 2, 2016 at 8:14 PM, Joseph Fonseka  wrote:
>
>> I don't think font files can harm the system lets make white-list
>> configurable so we can add file types which are safe.
>>
>> Regards
>> Jo
>>
>> On Wed, Mar 2, 2016 at 8:28 AM, Shenavi de Mel  wrote:
>>
>>> Hi Jo,
>>>
>>> Just another concern. Is there a particular reason why the deployment of
>>> web fonts with the theme is also not allowed. If user wants to change the
>>> default web fonts is that going to be of any harm to the product and it's
>>> functions?
>>>
>>> Regards
>>> Shenavi
>>>
>>> *Shenavi de Mel*
>>> Software Engineer
>>> WSO2 Inc: http://wso2.com
>>> email: shen...@wso2.com
>>> mobile: 0711644470
>>>
>>>
>>> On Tue, Mar 1, 2016 at 12:15 PM, Shenavi de Mel 
>>> wrote:
>>>
 Hi Jo,

 Thanks for the quick response. For the first issue we can remove the
 files which are included in the sample and provide that for the users and
 probably mention the supported file extensions as well in the
 documentation. I guess the 2nd issue would have to be fixed and i created a
 JIRA to track it [1]. It would be great if you could let us know if this
 would be fixed in the upcoming release of APIM.

 [1] https://wso2.org/jira/browse/APIMANAGER-4570

 Thanks
 Shenavi

 *Shenavi de Mel*
 Software Engineer
 WSO2 Inc: http://wso2.com
 email: shen...@wso2.com
 mobile: 0711644470


 On Tue, Mar 1, 2016 at 11:53 AM, Joseph Fonseka 
 wrote:

> Hi Shenavi
>
> Both issues you mention are valid.
> 1. The reason to add a white list is to prevent users from uploading
> malicious script. And we should remove the unsupported files from the
> sample. Also we might need to move the white-list to a config file.
>
> 2. And yes we should replace the entire directory instead of copying
> the files in to the existing theme.
>
> Regards
> Jo
>
> On Tue, Mar 1, 2016 at 10:44 AM, Shenavi de Mel 
> wrote:
>
>> Hi APIM team,
>>
>> I have a few question regarding the uploading of tenant themes to the
>> APIM.
>>
>> 1. When i was uploading a tenant theme for a tenant following the
>> tutorial [1] i noticed some warn logs in my console. Further i noticed 
>> that
>> the files mentioned in those warnings are not deployed as well and are
>> mentioned as unsupported. Only thing i did not follow according to this
>> document is that i did not delete the folders that i did not change. 
>> When i
>> went through the code of TenantManagerHostObject.java class i
>> noticed that the file extensions other than "css", "jpg", "png", "gif",
>> "svg", "ttf", "html", "js are not considered as valid extensions and will
>> not be deployed with the theme. In that case is there any reason why 
>> those
>> unsupported files are included in the sample template [1] given for the
>> users to customize?
>>
>> If you could confirm or point to a documentation of what are the
>> supported file types which can be customized in the custom theme uploaded
>> via the admin-dashboard of the tenant if it is not already in the docs i
>> feel it might be better to include them in the docs to avoid confusion 
>> [1].
>>
>> 2. Also i noticed if i upload a theme for the tenant and say I
>> include a custom css file. And later upload another theme for the same
>> tenant hoping to replace the previously uploaded theme and remove that 
>> css
>> file it will still be available. I assume it replaces the existing folder
>> with the new theme hence old files will not get deleted. Is there a way 
>> to
>> make sure the old theme is deleted and replaced by the new theme when
>> uploading via the admin-dashboard application or is that the default and
>> expected behavior?
>>
>> Your thoughts would be much appreciated to understand this better and
>> also improve our documentation [2] to avoid confusion and provide more
>> information for the users.
>>
>> [1] https://docs.wso2.com/display/AM191/Adding+a+new+API+Store+Theme
>> [2]
>> https://docs.wso2.com/display/APICloud/Customize+the+API+Store+Theme
>>
>> Thanks and Regards
>> Shenavi.
>>
>>
>>>

Re: [Dev] [VOTE] Release WSO2 Business Process Server 3.5.1 RC3

2016-03-02 Thread Heshitha Hettihewa
Hi all,

I've tested following features

1) Humantask Samples and Humantask Explorer
2) BPMN Samples and BPMN Explorer
3) BPEL Samples

No issues found.
[x] Stable - go ahead and release

Thanks.

On Wed, Mar 2, 2016 at 2:42 PM, Hasitha Aravinda  wrote:

> Hi Devs,
>
> Tested followings in clustered environment.
>
>- BPEL Asynchronous process chaining.
>- BPEL Correlation Violation.
>- ODE clustering Implementation and Job re-assignment.
>- Verified issue https://wso2.org/jira/browse/CARBON-15776​ is fixed.
>
> *Cluster Details : * 1 Manager, 2 Worker nodes.
> Database : MySQL 5.6.28
> Load Balancer : nginx/1.4.6
>
> ​Tested following against MySQL DB in single node.
>
>
>- ​HumanTask coordination ​in multi-tenant environment.
>
>- Ran Integration tests ( BPEL, HumanTask, BPMN, Task coordination )
>pointing to RC3 pack. Tests are passing.
>
> ​Verified followings.
>
>- Built Source code pointing to Java 7 and Java 8.
>- README.txt
>- INSTALL.txt
>- release-notes.html
>
> [x] Stable - go ahead and release
>
> Thanks,
> Hasitha.
>
>
> On Tue, Mar 1, 2016 at 11:44 AM, Amal Gunatilake  wrote:
>
>> Hi Devs,
>>
>> This is the third release candidate of WSO2 Business Process Server 3.5.1
>>
>> *This release fixes the following issues:*
>> https://wso2.org/jira/secure/IssueNavigator.jspa?mode=hide&requestId=12625
>>
>> Please download, test and vote.
>>
>> *Source & binary distribution files:*
>> Source : https://github.com/wso2/product-bps/archive/v3.5.1-RC3.zip
>> Binary :
>> https://github.com/wso2/product-bps/releases/download/v3.5.1-RC3/wso2bps-3.5.1.zip
>>
>> *Maven staging repo:*
>> http://maven.wso2.org/nexus/content/repositories/orgwso2bps-394/
>>
>> The tag to be voted upon:
>>
>> https://github.com/wso2/product-bps/releases/tag/v3.5.1-RC3
>>
>> [ ] Broken - do not release (explain why)
>> [ ] Stable - go ahead and release
>>
>> Best regards,
>> Amal.
>> --
>> *Amal Gunatilake*
>> Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> --
> Hasitha Aravinda,
> Senior Software Engineer,
> WSO2 Inc.
> Email: hasi...@wso2.com
> Mobile : +94 718 210 200
>
> ___
> 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


Re: [Dev] [VOTE] Release WSO2 Business Process Server 3.5.1 RC3

2016-03-02 Thread Praminda Jayawardana
Hi All,

I've tested Human task coordination and task termination for API Manager
workflows.

No issues found.
[x] Stable - go ahead and release

Thanks,
Praminda

On Thu, Mar 3, 2016 at 10:36 AM, Heshitha Hettihewa 
wrote:

> Hi all,
>
> I've tested following features
>
> 1) Humantask Samples and Humantask Explorer
> 2) BPMN Samples and BPMN Explorer
> 3) BPEL Samples
>
> No issues found.
> [x] Stable - go ahead and release
>
> Thanks.
>
> On Wed, Mar 2, 2016 at 2:42 PM, Hasitha Aravinda  wrote:
>
>> Hi Devs,
>>
>> Tested followings in clustered environment.
>>
>>- BPEL Asynchronous process chaining.
>>- BPEL Correlation Violation.
>>- ODE clustering Implementation and Job re-assignment.
>>- Verified issue https://wso2.org/jira/browse/CARBON-15776​ is fixed.
>>
>> *Cluster Details : * 1 Manager, 2 Worker nodes.
>> Database : MySQL 5.6.28
>> Load Balancer : nginx/1.4.6
>>
>> ​Tested following against MySQL DB in single node.
>>
>>
>>- ​HumanTask coordination ​in multi-tenant environment.
>>
>>- Ran Integration tests ( BPEL, HumanTask, BPMN, Task coordination )
>>pointing to RC3 pack. Tests are passing.
>>
>> ​Verified followings.
>>
>>- Built Source code pointing to Java 7 and Java 8.
>>- README.txt
>>- INSTALL.txt
>>- release-notes.html
>>
>> [x] Stable - go ahead and release
>>
>> Thanks,
>> Hasitha.
>>
>>
>> On Tue, Mar 1, 2016 at 11:44 AM, Amal Gunatilake  wrote:
>>
>>> Hi Devs,
>>>
>>> This is the third release candidate of WSO2 Business Process Server 3.5.1
>>>
>>> *This release fixes the following issues:*
>>>
>>> https://wso2.org/jira/secure/IssueNavigator.jspa?mode=hide&requestId=12625
>>>
>>> Please download, test and vote.
>>>
>>> *Source & binary distribution files:*
>>> Source : https://github.com/wso2/product-bps/archive/v3.5.1-RC3.zip
>>> Binary :
>>> https://github.com/wso2/product-bps/releases/download/v3.5.1-RC3/wso2bps-3.5.1.zip
>>>
>>> *Maven staging repo:*
>>> http://maven.wso2.org/nexus/content/repositories/orgwso2bps-394/
>>>
>>> The tag to be voted upon:
>>>
>>> https://github.com/wso2/product-bps/releases/tag/v3.5.1-RC3
>>>
>>> [ ] Broken - do not release (explain why)
>>> [ ] Stable - go ahead and release
>>>
>>> Best regards,
>>> Amal.
>>> --
>>> *Amal Gunatilake*
>>> Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> --
>> Hasitha Aravinda,
>> Senior Software Engineer,
>> WSO2 Inc.
>> Email: hasi...@wso2.com
>> Mobile : +94 718 210 200
>>
>> ___
>> 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
>
>


-- 
*Praminda Jayawardana*
Software Engineer
WSO2 Inc.; http://wso2.com
Mobile : +94 (0) 716 590818
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB] Oauth Mediator Documentation

2016-03-02 Thread Nisrin Sheriff
Hi Chathurika,

Thank you for the information.

Created a JIRA [1] to get this done.

[1] https://wso2.org/jira/browse/DOCUMENTATION-3100

Best Regards,
Nisrin

Nisrin Sheriff
Senior Technical Writer

*WSO2, Inc.*lean.enterprise.middleware.
mobile: +94 776 24 84 56
http://wso2.com

On Wed, Mar 2, 2016 at 5:03 PM, Chathurika De Silva 
wrote:

> Hi
>
> As per the offline chat with Asela the documentation that is pointed by
> [1] is Oauth 1.0 [2] . There seems to be no sample for Oauth 2.0 related
> scenario. Can we get it included in the documentation?
>
> [1] https://docs.wso2.com/display/ESB500/OAuth+Mediator
> [2]
> https://docs.wso2.com/display/IS510/2-legged+OAuth+for+Securing+a+RESTful+Service
>
> Thank You
> Erandi
>
> --
> *Chathurika Erandi*
> Software Engineer,
> WSO2 Inc.
>
> *E-mail:* chathuri...@wso2.com
> *Mobile: *+94714 328 612
> *Blog*: chathurikaerandi.blogspot.com
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Carbon] Starting and stopping WSO2 carbon server programmatically

2016-03-02 Thread Vithulan Vijayanandan
Hi,

I am  currently able to start the server using Processbulder class [1]. Is
there any other way to start and stop the carbon server from Java?

[1] https://docs.oracle.com/javase/7/docs/api/java/lang/ProcessBuilder.html

-- 
*Vithulan MV*

Intern-Software Engineering
WSO2, Inc : wso2.com
Mobile: +94712540524
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Carbon] Starting and stopping WSO2 carbon server programmatically

2016-03-02 Thread Dumidu Handakumbura
Hi,

Carbon servers provides restart/shutdown operations through the ServerAdmin
MBean(in org.wso2.carbon). You should be able to call these operations
using a java jmx client.

Thanks,
Dumidu

On Thu, Mar 3, 2016 at 12:26 PM, Vithulan Vijayanandan 
wrote:

> Hi,
>
> I am  currently able to start the server using Processbulder class [1]. Is
> there any other way to start and stop the carbon server from Java?
>
> [1]
> https://docs.oracle.com/javase/7/docs/api/java/lang/ProcessBuilder.html
>
> --
> *Vithulan MV*
>
> Intern-Software Engineering
> WSO2, Inc : wso2.com
> Mobile: +94712540524
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Dumidu Handakumbura*
Software Engineer - QA
WSO2 Inc; http://www.wso2.com/.
Mobile;
*+9406740 *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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

2016-03-02 Thread Chanuka Dissanayake
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
___
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-02 Thread Kathees Rajendram
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