Re: [Dev] [GSoC 2016]Proposal 03: [ML]Visual(Deep) Neural Network Builder -Project Progress

2016-08-05 Thread Lakini Senanayaka
Hi Upul,

Could you please explain me the way to get the dataset from the carbon ML
to the API which I am implementing.

Thank you.

On Thu, Aug 4, 2016 at 4:37 PM, Lakini Senanayaka <
lakinisenanayak...@gmail.com> wrote:

> Hi,
>
> This is the meeting minute for today's GSoC project review meeting.
>
> Upul reviewed the current progress of the project, "(Deep) Neural Network
> Builder for WSO2 Machine Learner".
> Below mentioned are the decisions made and the new tasks allocated at the
> meeting.
>
> Assigned action items:
> -Making the UI more user-friendly.
> Ex: Physical lines of connections between layers should follow the
> movements of the layers.
> -Train the feed forward network for MNIST dataset.
> -Testing the accuracy of the neural network model for different
> optimization and updater algorithms.
> -Handling Exceptions.
> -Trying to show graphs related to the model, along with the accuracy
> of the model in the output.
> -Start writing documentation.
> -Showing a demo for the ML team.
>
> Decisions made:
>
>  -Higher priority should be given in implementing feed-forward network
> than RNN.
>  -Upul will provide me necessary instructions on the way to access the
> dataset which is inserted through the WSO2 ML console as NN builder UI
> needs to access that dataset and use as the training dataset.
>
> Thank you.
>
> On Wed, Aug 3, 2016 at 5:59 AM, Lakini Senanayaka <
> lakinisenanayak...@gmail.com> wrote:
>
>> Hi,
>>
>> Thank you very much for your kindness.
>>
>> I can schedule a meeting on this Thursday(4th-August-2016).
>>
>> Thank you.
>>
>> On Tue, Aug 2, 2016 at 10:39 AM, Upul Bandara  wrote:
>>
>>> Hi,
>>>
>>> As you know we have only two weeks to complete GSOC projects.
>>> Unfortunately, this project is a little bit lagging behind and it looks
>>> like you have to put some additional effort during the last two week. In
>>> order to support you, we though it is better to have a small F2F meeting
>>> with you and it will help you to sort out any issues currently you are
>>> facing with.
>>>
>>> So can you please schedule a meeting with the ML team?
>>>
>>> Thanks,
>>> Upul
>>>
>>> On Sat, Jul 30, 2016 at 5:45 PM, Nirmal Fernando 
>>> wrote:
>>>

 On Sat, Jul 30, 2016 at 1:43 PM, Lakini Senanayaka <
 lakinisenanayak...@gmail.com> wrote:

> Hi,
>
> I have solved the above problem.I have referred the mail thread *[Dev]
> "Error 403 - Forbidden" when session expires in admin console*[1] in
> dev mailing list.I couldn't upload  jaggery files to the console  and when
> I was trying to do it, it gave the* Error 403-Forbidden.*
>
> I have copied the jaggery files to
> */repository/deployment/server/jaggerapps* directory as
> Supun instructed and it worked.
>
> Although I have implemented the back end for feed forward neural
> network still it has some problems.It doesn't work well.Do I need to add
> the  neural network algorithms to the
> *org.wso2.carbon.ml.core.spark.algorithms* in Carbon ML ?Do I need to
> follow the same pattern which is used by the Carbon ML when implementing
> the back end coding and APIs?
>

 Yes please.

>
> I will submit the demo ASAP.
>
> [1]https://mail.google.com/mail/u/0/#search/Re%3A+%5BDev%5D+
> %22Error+403++Forbidden%22+when+session+expires+in+admin%09c
> onsole/155bfcbf7e98992f?projector=1
>
> Thank you.
> --
> KIND Regards,
> *Lakini Senanayaka.*
>
>


 --

 Thanks & regards,
 Nirmal

 Team Lead - WSO2 Machine Learner
 Associate Technical Lead - Data Technologies Team, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/



>>>
>>>
>>> --
>>> Upul Bandara,
>>> Associate Technical Lead, WSO2, Inc.,
>>> Mob: +94 715 468 345.
>>>
>>
>>
>>
>> --
>> KIND Regards,
>> *Lakini Senanayaka.*
>>
>>
>
>
> --
> KIND Regards,
> *Lakini Senanayaka.*
>
>


-- 
KIND Regards,
*Lakini Senanayaka.*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to add a collection with registry REST API?

2016-08-05 Thread Praneesha Chandrasiri
hi Bhathiya,

Thanks for reporting this!

Please clarify if the following is the correct command to be added to docs:

*curl -v -k -X PUT -H "Authorization: Basic YWRtaW46YWRtaW4=" -H
"Content-Type: **application/atomcoll+xml**" -d
''https://localhost:9443/resource/1.0.0/artifact/_system/governance/permission/applications/TestSP/TestCol
*


On Thu, Aug 4, 2016 at 6:11 PM, Bhathiya Jayasekara 
wrote:

> I could get it working by sending *-H "Content-Type:
> application/atomcoll+xml" *instead of Media-Type.
> Docs are incorrect, please fix them.
>
> Thanks,
> Bhathiya
>
> On Thu, Aug 4, 2016 at 5:58 PM, Bhathiya Jayasekara 
> wrote:
>
>> Hi all,
>>
>> I followed [1] to create a collection with below curl command. I'm using
>> IS 5.1.0 with resource.war from greg.
>>
>> *> curl -v -k -X PUT -H "Authorization: Basic YWRtaW46YWRtaW4=" -H
>> "Media-Type: application/atomcoll+xml" -H "Content-Type:
>> application/x-www-form-urlencoded" -d ''
>> https://localhost:9443/resource/1.0.0/artifact/_system/governance/permission/applications/TestSP/TestCol
>> *
>>
>> *< HTTP/1.1 201 Created< Cache-Control: private< Expires: Thu, 01 Jan
>> 1970 05:30:00 IST< Date: Thu, 04 Aug 2016 12:23:43 GMT< Content-Type:
>> application/json< Content-Length: 68< Server: WSO2 Carbon Server*
>>
>> But it always creates a resource instead of a collection. See below. What
>> am I missing here?
>>
>> [image: Inline image 1]
>>
>> [1] https://docs.wso2.com/display/Governance500/Collection+with+REST+API#
>> CollectionwithRESTAPI-AddaCollection
>>
>> Thanks,
>>
>> --
>> *Bhathiya Jayasekara*
>> *Senior Software Engineer,*
>> *WSO2 inc., http://wso2.com *
>>
>> *Phone: +94715478185 <%2B94715478185>*
>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>> *
>> *Twitter: https://twitter.com/bhathiyax *
>> *Blog: http://movingaheadblog.blogspot.com
>> *
>>
>
>
>
> --
> *Bhathiya Jayasekara*
> *Senior Software Engineer,*
> *WSO2 inc., http://wso2.com *
>
> *Phone: +94715478185 <%2B94715478185>*
> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
> *
> *Twitter: https://twitter.com/bhathiyax *
> *Blog: http://movingaheadblog.blogspot.com
> *
>



-- 
Thanks & Best Regards,
*Praneesha Chandrasiri*
*Technical Writer*
*WSO2 Inc. *
*Mobile: +(94) 718156888*
*E-mail: pranee...@wso2.com *

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


[Dev] [VOTE] Release WSO2 Enterprise Service Bus 5.0.0 RC2

2016-08-05 Thread Jagath Sisirakumara Ariyarathne
Hi All,

This is the 2nd Release Candidate of WSO2 Enterprise Service Bus 5.0.0

Please download, test the product and vote. Vote will be open for 72 hours
or as needed.

*Source and distribution*

Run-time: *https://github.com/wso2/product-esb/releases/tag/v5.0.0-rc2
*
Tooling   : https://github.com/wso2/devstudio-tooling-esb/
releases/tag/v5.0.0-RC2
Analytics: https://github.com/wso2/analytics-esb/releases/tag/v5.0.0-rc2

Please vote as follows.
[+] Stable - go ahead and release
[-] Broken - do not release (explain why)

Thanks,
- WSO2 ESB Team -
-- 
Jagath Ariyarathne
Technical Lead
WSO2 Inc.  http://wso2.com/
Email: jaga...@wso2.com
Mob  : +94 77 386 7048

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


[Dev] Following ESB Repos are Released

2016-08-05 Thread Nadeeshaan Gunasinghe
Hi all,

Please note $subject.

*Axis2 Transport*

org.apache.axis2.transport
axis2-transports
1.1.1-wso2v6


*Wso2-Synapse*

org.apache.synapse
Apache-Synapse
2.1.7-wso2v5


*Carbon Mediation*

org.wso2.carbon.mediation
carbon-mediation
4.6.4


Thanks,

*Nadeeshaan Gunasinghe*
Software Engineer, WSO2 Inc. http://wso2.com
+94770596754 | nadeesh...@wso2.com | Skype: nadeeshaan.gunasinghe <#>

  

Get a signature like this: Click here!

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


Re: [Dev] [ESB] fn:sum is not working

2016-08-05 Thread Rajith Vitharana
Hi Godwin,

According to [1] fn:sum is used to make sum of some xpath objects, for
example if the payload is [2], then "fn:sum(//order//item/@quantity)" will
return you the value 11. So I think you can't use fn:sum to just add two
numbers together.


[1] - https://www.w3.org/TR/xpath-functions/#func-sum
[2] - 








Thanks,

On 6 August 2016 at 01:55, Godwin Shrimal  wrote:

> Hi Udara,
>
> Yeah, we can use script mediator as an alternative, I need to know weather
> we can use fn:sum or is it not working in ESB.
>
> Thanks
> Godwin
>
> On Fri, Aug 5, 2016 at 3:19 PM, Udara Liyanage  wrote:
>
>> Hi Godwin,
>>
>> As a workaround following worked for me. I had to use parseInt, just
>> using + did not work for me.
>>
>> 
>> 
>> >   var sum = parseInt(mc.getProperty("num1"))
>> +parseInt(mc.getProperty("num2"));
>>   var sum = mc.setProperty("testValue",sum.toString());
>>   ]]>
>>
>> On Sat, Aug 6, 2016 at 12:44 AM, Godwin Shrimal  wrote:
>>
>>> Hi All,
>>>
>>> I have following sample config to sum two values
>>>
>>> 
>>> 
>>> http://www.w3.org/2005/xpath-functions"; xmlns:test="
>>> http://test";  xmlns:ns="http://org.apache.synapse/xsd"; name="testValue"
>>> expression="fn:sum($ctx:num1,$ctx:num2)"/>
>>>
>>> 
>>>   
>>> 
>>>
>>>
>>> Total gives as 10 not 30, Is this a known bug or am I doing something
>>> wrong ?
>>>
>>>
>>> Thanks
>>> Godwin
>>>
>>>
>>> --
>>> *Godwin Amila Shrimal*
>>> Senior Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: *+94772264165*
>>> linkedin: *http://lnkd.in/KUum6D *
>>> twitter: https://twitter.com/godwinamila
>>> 
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> Udara Liyanage
>> Software Engineer
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> Blog: http://udaraliyanage.wordpress.com
>>
>
>
>
> --
> *Godwin Amila Shrimal*
> Senior Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94772264165*
> linkedin: *http://lnkd.in/KUum6D *
> twitter: https://twitter.com/godwinamila
> 
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Rajith Vitharana

Senior Software Engineer,
WSO2 Inc. : wso2.com
Mobile : +94715883223
Blog : http://lankavitharana.blogspot.com/

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


Re: [Dev] [ESB] fn:sum is not working

2016-08-05 Thread Godwin Shrimal
Hi Udara,

Yeah, we can use script mediator as an alternative, I need to know weather
we can use fn:sum or is it not working in ESB.

Thanks
Godwin

On Fri, Aug 5, 2016 at 3:19 PM, Udara Liyanage  wrote:

> Hi Godwin,
>
> As a workaround following worked for me. I had to use parseInt, just using
> + did not work for me.
>
> 
> 
>    var sum = parseInt(mc.getProperty("num1"))
> +parseInt(mc.getProperty("num2"));
>   var sum = mc.setProperty("testValue",sum.toString());
>   ]]>
>
> On Sat, Aug 6, 2016 at 12:44 AM, Godwin Shrimal  wrote:
>
>> Hi All,
>>
>> I have following sample config to sum two values
>>
>> 
>> 
>> http://www.w3.org/2005/xpath-functions"; xmlns:test="
>> http://test";  xmlns:ns="http://org.apache.synapse/xsd"; name="testValue"
>> expression="fn:sum($ctx:num1,$ctx:num2)"/>
>>
>> 
>>   
>> 
>>
>>
>> Total gives as 10 not 30, Is this a known bug or am I doing something
>> wrong ?
>>
>>
>> Thanks
>> Godwin
>>
>>
>> --
>> *Godwin Amila Shrimal*
>> Senior Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94772264165*
>> linkedin: *http://lnkd.in/KUum6D *
>> twitter: https://twitter.com/godwinamila
>> 
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> Blog: http://udaraliyanage.wordpress.com
>



-- 
*Godwin Amila Shrimal*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *http://lnkd.in/KUum6D *
twitter: https://twitter.com/godwinamila

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


Re: [Dev] [ESB] fn:sum is not working

2016-08-05 Thread Udara Liyanage
Hi Godwin,

As a workaround following worked for me. I had to use parseInt, just using
+ did not work for me.





On Sat, Aug 6, 2016 at 12:44 AM, Godwin Shrimal  wrote:

> Hi All,
>
> I have following sample config to sum two values
>
> 
> 
> http://www.w3.org/2005/xpath-functions"; xmlns:test="
> http://test";  xmlns:ns="http://org.apache.synapse/xsd"; name="testValue"
> expression="fn:sum($ctx:num1,$ctx:num2)"/>
>
> 
>   
> 
>
>
> Total gives as 10 not 30, Is this a known bug or am I doing something
> wrong ?
>
>
> Thanks
> Godwin
>
>
> --
> *Godwin Amila Shrimal*
> Senior Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94772264165*
> linkedin: *http://lnkd.in/KUum6D *
> twitter: https://twitter.com/godwinamila
> 
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

Blog: http://udaraliyanage.wordpress.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ESB] fn:sum is not working

2016-08-05 Thread Godwin Shrimal
Hi All,

I have following sample config to sum two values



http://www.w3.org/2005/xpath-functions"; xmlns:test="
http://test";  xmlns:ns="http://org.apache.synapse/xsd"; name="testValue"
expression="fn:sum($ctx:num1,$ctx:num2)"/>


  



Total gives as 10 not 30, Is this a known bug or am I doing something wrong
?


Thanks
Godwin


-- 
*Godwin Amila Shrimal*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *http://lnkd.in/KUum6D *
twitter: https://twitter.com/godwinamila

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


[Dev] [VOTE] Release WSO2 Enterprise Store 2.1.0 RC 2

2016-08-05 Thread Sameera Medagammaddegedara
Hi Devs,

WSO2 Enterprise Store 2.1.0 RC2 Release Vote

This release fixes the following issues:
https://wso2.org/jira/issues/?filter=13171

Please download, test and vote. Please refer the release verification guide
for detailed information on verifying this release.

Source & binary distribution files:
 https://svn.wso2.org/repos/wso2/scratch/ES/2.1.0/rc2/

Maven staging repo:
https://maven.wso2.org/nexus/content/repositories/orgwso2es-1006/

The tag to be voted upon:
https://github.com/wso2/product-es/tree/v2.1.0-rc2


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

Thanks and Regards
ES/G-Reg team
-- 
Sameera Medagammaddegedara
Software Engineer

Contact:
Email: samee...@wso2.com
Mobile: + 94 077 255 3005
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [VOTE] Release WSO2 Governance Registry 5.3.0 RC 2

2016-08-05 Thread Rajith Roshan
Hi Devs,

WSO2 Governance Registry 5.3.0 RC2 Release Vote.

This release fixes the following issues:
https://wso2.org/jira/browse/REGISTRY-3854?filter=13166

Please download, test and vote. Please refer the release verification guide
for detailed information on verifying this release.

Source & binary distribution files:
https://svn.wso2.org/repos/wso2/scratch/G-Reg/5.3.0/rc2/

Maven staging repo:
https://maven.wso2.org/nexus/content/repositories/orgwso2greg-1008

The tag to be voted upon:
https://github.com/wso2/product-greg/tree/v5.3.0-rc2

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

Thanks and Regards
ES/G-Reg team

-- 
Rajith Roshan
Software Engineer, WSO2 Inc.
Mobile: +94-72-642-8350 <%2B94-71-554-8430>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-08-05 Thread Nirmal Fernando
Mahesh,

Your issue is not clear. What're you exactly trying ? carbon-ml is our git
repo and if you mean to say about the server you're running, please use the
term 'ML server'. Please summarize the problem and the steps you've done.
Please use the point form.

Thanks.

On Fri, Aug 5, 2016 at 6:43 PM, Mahesh Dananjaya 
wrote:

> Hi Nirmal,
> can those things be caused by permission requirements?
> BR,
> Mahesh.
>
> On Fri, Aug 5, 2016 at 5:39 PM, Mahesh Dananjaya <
> dananjayamah...@gmail.com> wrote:
>
>> Hi Nirmal,
>> Yes i have added samoa dependencies in carbon-ml and it is working fine.
>> These exceptions are coming for the my classes that are inside ml. when i
>> used classes in samoa like org.apache.samoa.tasks.ClusteringEvaluation
>> it is working fine and run. And also same classes that i developed are
>> running fine in my other extensions outside carbon-ml, which are developed
>> as regular extensions. i am checking this further. thank you.
>> regards,
>> Mahesh.
>>
>> On Fri, Aug 5, 2016 at 5:31 PM, Nirmal Fernando  wrote:
>>
>>> Did you add samoa jars in ML?
>>>
>>> On Fri, Aug 5, 2016 at 12:20 PM, Mahesh Dananjaya <
>>> dananjayamah...@gmail.com> wrote:
>>>
 Hi Supun,
 This is the error i am getting while run the extension in the cabon-ml
 side,
 plase reffer to link [1] for the class.

 ERROR 
 {org.wso2.carbon.ml.siddhi.extension.streaming.samoa.StreamingClusteringTaskBuilder}
 -  Fail to initialize the task

 java.lang.Exception: Class not found: StreamingClusteringTask

at com.github.javacliparser.ClassOption.cliStringToObject(Class
 Option.java:136)

at org.wso2.carbon.ml.siddhi.extension.streaming.samoa.Streamin
 gClusteringTaskBuilder.initClusteringTask(StreamingClusterin
 gTaskBuilder.java:129)

at org.wso2.carbon.ml.siddhi.extension.streaming.samoa.Streamin
 gClusteringTaskBuilder.initTask(StreamingClusteringTaskBuild
 er.java:100)

at org.wso2.carbon.ml.siddhi.extension.streaming.samoa.Streamin
 gClustering.run(StreamingClustering.java:77)

at java.lang.Thread.run(Thread.java:745)

 [2016-08-04 16:23:07,437]  INFO {org.wso2.carbon.ml.siddhi.ext
 ension.streaming.samoa.StreamingClusteringTaskBuilder} -  Fail to
 initialize the taskjava.lang.Exception: Class not found:
 StreamingClusteringTask

 +++Please refeer link [1] for the StreamingClusteringTask.

 Then again for StreamingClusteringStream class while i bypass the
 String query in the initTask(). please refer link [2] for the class.

 Exception in thread "Thread-60" java.lang.IllegalArgumentException:
 Problems with option: streamTrain

at com.github.javacliparser.ClassOption.setValueViaCLIString(Cl
 assOption.java:64)

at com.github.javacliparser.AbstractOption.resetToDefault(Abstr
 actOption.java:90)

at com.github.javacliparser.AbstractClassOption.(Abstract
 ClassOption.java:84)

at com.github.javacliparser.AbstractClassOption.(Abstract
 ClassOption.java:63)

at com.github.javacliparser.ClassOption.(ClassOption.java:38)

at org.wso2.carbon.ml.siddhi.extension.streaming.samoa.Streamin
 gClusteringTask.(StreamingClusteringTask.java:52)

at org.wso2.carbon.ml.siddhi.extension.streaming.samoa.Streamin
 gClusteringTaskBuilder.initClusteringTask(StreamingClusterin
 gTaskBuilder.java:140)

at org.wso2.carbon.ml.siddhi.extension.streaming.samoa.Streamin
 gClusteringTaskBuilder.initTask(StreamingClusteringTaskBuild
 er.java:103)

at org.wso2.carbon.ml.siddhi.extension.streaming.samoa.Streamin
 gClustering.run(StreamingClustering.java:77)

at java.lang.Thread.run(Thread.java:745)

 Caused by: java.lang.Exception: Class not found:
 org.wso2.carbon.ml.siddhi.extension.streaming.samoa.Streamin
 gClusteringStream

at com.github.javacliparser.ClassOption.cliStringToObject(Class
 Option.java:136)

at com.github.javacliparser.ClassOption.setValueViaCLIString(Cl
 assOption.java:61)

... 9 more


 Those Class Not Found Exceptions are at runtime. Do i have do anything
 on the carbon-ml side for this.My samoa cores can be found in [3]. Those
 are working fine and no Class Not Found Exceptions arrive when running
 outside the carbon-ml.


 thank you.

 regards,

 Mahesh.



 [1] https://github.com/dananjayamahesh/carbon-ml/blob/wso2_gsoc_
 ml6_cml/components/extensions/org.wso2.carbon.ml.siddhi.exte
 nsion/src/main/java/org/wso2/carbon/ml/siddhi/extension/stre
 aming/samoa/StreamingClusteringTask.java

 [2]  https://github.com/dananjayamahesh/carbon-ml/blob/wso2_gsoc_
 ml6_cml/components/extensions/org.wso2.carbon.ml.siddhi.exte
 nsion/src/main/java/org

Re: [Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-08-05 Thread Mahesh Dananjaya
Hi Nirmal,
can those things be caused by permission requirements?
BR,
Mahesh.

On Fri, Aug 5, 2016 at 5:39 PM, Mahesh Dananjaya 
wrote:

> Hi Nirmal,
> Yes i have added samoa dependencies in carbon-ml and it is working fine.
> These exceptions are coming for the my classes that are inside ml. when i
> used classes in samoa like org.apache.samoa.tasks.ClusteringEvaluation it
> is working fine and run. And also same classes that i developed are running
> fine in my other extensions outside carbon-ml, which are developed as
> regular extensions. i am checking this further. thank you.
> regards,
> Mahesh.
>
> On Fri, Aug 5, 2016 at 5:31 PM, Nirmal Fernando  wrote:
>
>> Did you add samoa jars in ML?
>>
>> On Fri, Aug 5, 2016 at 12:20 PM, Mahesh Dananjaya <
>> dananjayamah...@gmail.com> wrote:
>>
>>> Hi Supun,
>>> This is the error i am getting while run the extension in the cabon-ml
>>> side,
>>> plase reffer to link [1] for the class.
>>>
>>> ERROR 
>>> {org.wso2.carbon.ml.siddhi.extension.streaming.samoa.StreamingClusteringTaskBuilder}
>>> -  Fail to initialize the task
>>>
>>> java.lang.Exception: Class not found: StreamingClusteringTask
>>>
>>>at com.github.javacliparser.ClassOption.cliStringToObject(Class
>>> Option.java:136)
>>>
>>>at org.wso2.carbon.ml.siddhi.extension.streaming.samoa.Streamin
>>> gClusteringTaskBuilder.initClusteringTask(StreamingClusterin
>>> gTaskBuilder.java:129)
>>>
>>>at org.wso2.carbon.ml.siddhi.extension.streaming.samoa.Streamin
>>> gClusteringTaskBuilder.initTask(StreamingClusteringTaskBuilder.java:100)
>>>
>>>at org.wso2.carbon.ml.siddhi.extension.streaming.samoa.Streamin
>>> gClustering.run(StreamingClustering.java:77)
>>>
>>>at java.lang.Thread.run(Thread.java:745)
>>>
>>> [2016-08-04 16:23:07,437]  INFO {org.wso2.carbon.ml.siddhi.ext
>>> ension.streaming.samoa.StreamingClusteringTaskBuilder} -  Fail to
>>> initialize the taskjava.lang.Exception: Class not found:
>>> StreamingClusteringTask
>>>
>>> +++Please refeer link [1] for the StreamingClusteringTask.
>>>
>>> Then again for StreamingClusteringStream class while i bypass the String
>>> query in the initTask(). please refer link [2] for the class.
>>>
>>> Exception in thread "Thread-60" java.lang.IllegalArgumentException:
>>> Problems with option: streamTrain
>>>
>>>at com.github.javacliparser.ClassOption.setValueViaCLIString(Cl
>>> assOption.java:64)
>>>
>>>at com.github.javacliparser.AbstractOption.resetToDefault(Abstr
>>> actOption.java:90)
>>>
>>>at com.github.javacliparser.AbstractClassOption.(Abstract
>>> ClassOption.java:84)
>>>
>>>at com.github.javacliparser.AbstractClassOption.(Abstract
>>> ClassOption.java:63)
>>>
>>>at com.github.javacliparser.ClassOption.(ClassOption.java:38)
>>>
>>>at org.wso2.carbon.ml.siddhi.extension.streaming.samoa.Streamin
>>> gClusteringTask.(StreamingClusteringTask.java:52)
>>>
>>>at org.wso2.carbon.ml.siddhi.extension.streaming.samoa.Streamin
>>> gClusteringTaskBuilder.initClusteringTask(StreamingClusterin
>>> gTaskBuilder.java:140)
>>>
>>>at org.wso2.carbon.ml.siddhi.extension.streaming.samoa.Streamin
>>> gClusteringTaskBuilder.initTask(StreamingClusteringTaskBuilder.java:103)
>>>
>>>at org.wso2.carbon.ml.siddhi.extension.streaming.samoa.Streamin
>>> gClustering.run(StreamingClustering.java:77)
>>>
>>>at java.lang.Thread.run(Thread.java:745)
>>>
>>> Caused by: java.lang.Exception: Class not found:
>>> org.wso2.carbon.ml.siddhi.extension.streaming.samoa.Streamin
>>> gClusteringStream
>>>
>>>at com.github.javacliparser.ClassOption.cliStringToObject(Class
>>> Option.java:136)
>>>
>>>at com.github.javacliparser.ClassOption.setValueViaCLIString(Cl
>>> assOption.java:61)
>>>
>>>... 9 more
>>>
>>>
>>> Those Class Not Found Exceptions are at runtime. Do i have do anything
>>> on the carbon-ml side for this.My samoa cores can be found in [3]. Those
>>> are working fine and no Class Not Found Exceptions arrive when running
>>> outside the carbon-ml.
>>>
>>>
>>> thank you.
>>>
>>> regards,
>>>
>>> Mahesh.
>>>
>>>
>>>
>>> [1] https://github.com/dananjayamahesh/carbon-ml/blob/wso2_gsoc_
>>> ml6_cml/components/extensions/org.wso2.carbon.ml.siddhi.exte
>>> nsion/src/main/java/org/wso2/carbon/ml/siddhi/extension/stre
>>> aming/samoa/StreamingClusteringTask.java
>>>
>>> [2]  https://github.com/dananjayamahesh/carbon-ml/blob/wso2_gsoc_
>>> ml6_cml/components/extensions/org.wso2.carbon.ml.siddhi.exte
>>> nsion/src/main/java/org/wso2/carbon/ml/siddhi/extension/stre
>>> aming/samoa/StreamingClusteringTask.java
>>>
>>> [3] https://github.com/dananjayamahesh/carbon-ml/tree/wso2_gsoc_
>>> ml6_cml/components/extensions/org.wso2.carbon.ml.siddhi.exte
>>> nsion/src/main/java/org/wso2/carbon/ml/siddhi/extension/streaming/samoa
>>>
>>> On Thu, Aug 4, 2016 at 12:30 PM, Supun Sethunga  wrote:
>>>
 Hi Mahesh,

 samoa dependency version in siddhi-extension should be
 *0.4.0-incubating-SNAPSHOT*. That should solve the i

Re: [Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-08-05 Thread Mahesh Dananjaya
Hi Nirmal,
Yes i have added samoa dependencies in carbon-ml and it is working fine.
These exceptions are coming for the my classes that are inside ml. when i
used classes in samoa like org.apache.samoa.tasks.ClusteringEvaluation it
is working fine and run. And also same classes that i developed are running
fine in my other extensions outside carbon-ml, which are developed as
regular extensions. i am checking this further. thank you.
regards,
Mahesh.

On Fri, Aug 5, 2016 at 5:31 PM, Nirmal Fernando  wrote:

> Did you add samoa jars in ML?
>
> On Fri, Aug 5, 2016 at 12:20 PM, Mahesh Dananjaya <
> dananjayamah...@gmail.com> wrote:
>
>> Hi Supun,
>> This is the error i am getting while run the extension in the cabon-ml
>> side,
>> plase reffer to link [1] for the class.
>>
>> ERROR 
>> {org.wso2.carbon.ml.siddhi.extension.streaming.samoa.StreamingClusteringTaskBuilder}
>> -  Fail to initialize the task
>>
>> java.lang.Exception: Class not found: StreamingClusteringTask
>>
>>at com.github.javacliparser.ClassOption.cliStringToObject(Class
>> Option.java:136)
>>
>>at org.wso2.carbon.ml.siddhi.extension.streaming.samoa.Streamin
>> gClusteringTaskBuilder.initClusteringTask(StreamingCl
>> usteringTaskBuilder.java:129)
>>
>>at org.wso2.carbon.ml.siddhi.extension.streaming.samoa.Streamin
>> gClusteringTaskBuilder.initTask(StreamingClusteringTaskBuilder.java:100)
>>
>>at org.wso2.carbon.ml.siddhi.extension.streaming.samoa.Streamin
>> gClustering.run(StreamingClustering.java:77)
>>
>>at java.lang.Thread.run(Thread.java:745)
>>
>> [2016-08-04 16:23:07,437]  INFO {org.wso2.carbon.ml.siddhi.ext
>> ension.streaming.samoa.StreamingClusteringTaskBuilder} -  Fail to
>> initialize the taskjava.lang.Exception: Class not found:
>> StreamingClusteringTask
>>
>> +++Please refeer link [1] for the StreamingClusteringTask.
>>
>> Then again for StreamingClusteringStream class while i bypass the String
>> query in the initTask(). please refer link [2] for the class.
>>
>> Exception in thread "Thread-60" java.lang.IllegalArgumentException:
>> Problems with option: streamTrain
>>
>>at com.github.javacliparser.ClassOption.setValueViaCLIString(Cl
>> assOption.java:64)
>>
>>at com.github.javacliparser.AbstractOption.resetToDefault(Abstr
>> actOption.java:90)
>>
>>at com.github.javacliparser.AbstractClassOption.(Abstract
>> ClassOption.java:84)
>>
>>at com.github.javacliparser.AbstractClassOption.(Abstract
>> ClassOption.java:63)
>>
>>at com.github.javacliparser.ClassOption.(ClassOption.java:38)
>>
>>at org.wso2.carbon.ml.siddhi.extension.streaming.samoa.Streamin
>> gClusteringTask.(StreamingClusteringTask.java:52)
>>
>>at org.wso2.carbon.ml.siddhi.extension.streaming.samoa.Streamin
>> gClusteringTaskBuilder.initClusteringTask(StreamingCl
>> usteringTaskBuilder.java:140)
>>
>>at org.wso2.carbon.ml.siddhi.extension.streaming.samoa.Streamin
>> gClusteringTaskBuilder.initTask(StreamingClusteringTaskBuilder.java:103)
>>
>>at org.wso2.carbon.ml.siddhi.extension.streaming.samoa.Streamin
>> gClustering.run(StreamingClustering.java:77)
>>
>>at java.lang.Thread.run(Thread.java:745)
>>
>> Caused by: java.lang.Exception: Class not found:
>> org.wso2.carbon.ml.siddhi.extension.streaming.samoa.Streamin
>> gClusteringStream
>>
>>at com.github.javacliparser.ClassOption.cliStringToObject(Class
>> Option.java:136)
>>
>>at com.github.javacliparser.ClassOption.setValueViaCLIString(Cl
>> assOption.java:61)
>>
>>... 9 more
>>
>>
>> Those Class Not Found Exceptions are at runtime. Do i have do anything on
>> the carbon-ml side for this.My samoa cores can be found in [3]. Those are
>> working fine and no Class Not Found Exceptions arrive when running outside
>> the carbon-ml.
>>
>>
>> thank you.
>>
>> regards,
>>
>> Mahesh.
>>
>>
>>
>> [1] https://github.com/dananjayamahesh/carbon-ml/blob/wso2_gsoc_
>> ml6_cml/components/extensions/org.wso2.carbon.ml.siddhi.exte
>> nsion/src/main/java/org/wso2/carbon/ml/siddhi/extension/
>> streaming/samoa/StreamingClusteringTask.java
>>
>> [2]  https://github.com/dananjayamahesh/carbon-ml/blob/wso2_gsoc_
>> ml6_cml/components/extensions/org.wso2.carbon.ml.siddhi.exte
>> nsion/src/main/java/org/wso2/carbon/ml/siddhi/extension/
>> streaming/samoa/StreamingClusteringTask.java
>>
>> [3] https://github.com/dananjayamahesh/carbon-ml/tree/wso2_gsoc_
>> ml6_cml/components/extensions/org.wso2.carbon.ml.siddhi.exte
>> nsion/src/main/java/org/wso2/carbon/ml/siddhi/extension/streaming/samoa
>>
>> On Thu, Aug 4, 2016 at 12:30 PM, Supun Sethunga  wrote:
>>
>>> Hi Mahesh,
>>>
>>> samoa dependency version in siddhi-extension should be
>>> *0.4.0-incubating-SNAPSHOT*. That should solve the issue
>>>
>>> Regards,
>>> Supun
>>>
>>> On Thu, Aug 4, 2016 at 11:50 AM, Mahesh Dananjaya <
>>> dananjayamah...@gmail.com> wrote:
>>>
 Hi all,
 samoa is in my local repository and dependencies works fine with all
 other extensions that add samoa 0.4.0-incubator depen

Re: [Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-08-05 Thread Nirmal Fernando
Did you add samoa jars in ML?

On Fri, Aug 5, 2016 at 12:20 PM, Mahesh Dananjaya  wrote:

> Hi Supun,
> This is the error i am getting while run the extension in the cabon-ml
> side,
> plase reffer to link [1] for the class.
>
> ERROR {org.wso2.carbon.ml.siddhi.extension.streaming.samoa.
> StreamingClusteringTaskBuilder} -  Fail to initialize the task
>
> java.lang.Exception: Class not found: StreamingClusteringTask
>
>at com.github.javacliparser.ClassOption.cliStringToObject(
> ClassOption.java:136)
>
>at org.wso2.carbon.ml.siddhi.extension.streaming.samoa.
> StreamingClusteringTaskBuilder.initClusteringTask(
> StreamingClusteringTaskBuilder.java:129)
>
>at org.wso2.carbon.ml.siddhi.extension.streaming.samoa.
> StreamingClusteringTaskBuilder.initTask(StreamingClusteringTaskBuilder
> .java:100)
>
>at org.wso2.carbon.ml.siddhi.extension.streaming.samoa.
> StreamingClustering.run(StreamingClustering.java:77)
>
>at java.lang.Thread.run(Thread.java:745)
>
> [2016-08-04 16:23:07,437]  INFO {org.wso2.carbon.ml.siddhi.
> extension.streaming.samoa.StreamingClusteringTaskBuilder} -  Fail to
> initialize the taskjava.lang.Exception: Class not found:
> StreamingClusteringTask
>
> +++Please refeer link [1] for the StreamingClusteringTask.
>
> Then again for StreamingClusteringStream class while i bypass the String
> query in the initTask(). please refer link [2] for the class.
>
> Exception in thread "Thread-60" java.lang.IllegalArgumentException:
> Problems with option: streamTrain
>
>at com.github.javacliparser.ClassOption.setValueViaCLIString(
> ClassOption.java:64)
>
>at com.github.javacliparser.AbstractOption.resetToDefault(
> AbstractOption.java:90)
>
>at com.github.javacliparser.AbstractClassOption.(
> AbstractClassOption.java:84)
>
>at com.github.javacliparser.AbstractClassOption.(
> AbstractClassOption.java:63)
>
>at com.github.javacliparser.ClassOption.(ClassOption.java:38)
>
>at org.wso2.carbon.ml.siddhi.extension.streaming.samoa.
> StreamingClusteringTask.(StreamingClusteringTask.java:52)
>
>at org.wso2.carbon.ml.siddhi.extension.streaming.samoa.
> StreamingClusteringTaskBuilder.initClusteringTask(
> StreamingClusteringTaskBuilder.java:140)
>
>at org.wso2.carbon.ml.siddhi.extension.streaming.samoa.
> StreamingClusteringTaskBuilder.initTask(StreamingClusteringTaskBuilder
> .java:103)
>
>at org.wso2.carbon.ml.siddhi.extension.streaming.samoa.
> StreamingClustering.run(StreamingClustering.java:77)
>
>at java.lang.Thread.run(Thread.java:745)
>
> Caused by: java.lang.Exception: Class not found: org.wso2.carbon.ml.siddhi.
> extension.streaming.samoa.StreamingClusteringStream
>
>at com.github.javacliparser.ClassOption.cliStringToObject(
> ClassOption.java:136)
>
>at com.github.javacliparser.ClassOption.setValueViaCLIString(
> ClassOption.java:61)
>
>... 9 more
>
>
> Those Class Not Found Exceptions are at runtime. Do i have do anything on
> the carbon-ml side for this.My samoa cores can be found in [3]. Those are
> working fine and no Class Not Found Exceptions arrive when running outside
> the carbon-ml.
>
>
> thank you.
>
> regards,
>
> Mahesh.
>
>
>
> [1] https://github.com/dananjayamahesh/carbon-ml/blob/wso2_gsoc_ml6_cml/
> components/extensions/org.wso2.carbon.ml.siddhi.
> extension/src/main/java/org/wso2/carbon/ml/siddhi/
> extension/streaming/samoa/StreamingClusteringTask.java
>
> [2]  https://github.com/dananjayamahesh/carbon-ml/blob/wso2_gsoc_ml6_cml/
> components/extensions/org.wso2.carbon.ml.siddhi.
> extension/src/main/java/org/wso2/carbon/ml/siddhi/
> extension/streaming/samoa/StreamingClusteringTask.java
>
> [3] https://github.com/dananjayamahesh/carbon-ml/tree/wso2_gsoc_ml6_cml/
> components/extensions/org.wso2.carbon.ml.siddhi.
> extension/src/main/java/org/wso2/carbon/ml/siddhi/
> extension/streaming/samoa
>
> On Thu, Aug 4, 2016 at 12:30 PM, Supun Sethunga  wrote:
>
>> Hi Mahesh,
>>
>> samoa dependency version in siddhi-extension should be
>> *0.4.0-incubating-SNAPSHOT*. That should solve the issue
>>
>> Regards,
>> Supun
>>
>> On Thu, Aug 4, 2016 at 11:50 AM, Mahesh Dananjaya <
>> dananjayamah...@gmail.com> wrote:
>>
>>> Hi all,
>>> samoa is in my local repository and dependencies works fine with all
>>> other extensions that add samoa 0.4.0-incubator dependencies. But only when
>>> i build carbon-ml, it gives priority for the remote repository for looking
>>> samoa. SO any help with this to give priority for local m2 repo before
>>> carbon-ml building is looking for the remote one. I am getting the error
>>> because of this. maven option -U also not seems to be working here. any
>>> help please.
>>>
>>> [ERROR] Failed to execute goal on project 
>>> org.wso2.carbon.ml.siddhi.extension:
>>> Could not resolve dependencies for project org.wso2.carbon.ml:o
>>> rg.wso2.carbon.ml.siddhi.extension:bundle:1.1.2-SNAPSHOT: The following
>>> artifacts could not be resolved: 
>>> org.apache.samoa:samoa-api:jar:0.4.0-incuba

Re: [Dev] Please vote for Developer Studio Platform Tools 4.2.0

2016-08-05 Thread Sohani Weerasinghe
Hi All,

I have tested the issue raised at [1] with ESB tooling and also tested the
web based dashboard functionality.

vote is :

[+] Stable - go ahead and release

[1] https://wso2.org/jira/browse/DEVTOOLESB-637

Thanks,
Sohani

Sohani Weerasinghe
Senior Software Engineer
WSO2, Inc: http://wso2.com

Mobile  : +94 716439774
Blog :http://christinetechtips.blogspot.com/
Twitter  : https://twitter.com/sohanichristine

On Fri, Aug 5, 2016 at 12:35 PM, Kavith Lokuhewage  wrote:

> Hi Devs,
>
> Please vote for the release candidate for Developer Studio Platform Tools
> 4.2.0.  P2 repository for this release is available here
> .
> Source and tag location to be voted upon, is available here
> 
> .
>
> This release contains a few critical fixes needed for utilizing embedded
> XULRunner on windows [1]. Also it consists of a bug fix required for ESB
> Tooling [2].
>
> [1] https://wso2.org/jira/browse/TOOLS-3293
> [2] https://wso2.org/jira/browse/DEVTOOLESB-637
>
> Most importantly, these fixes depends on several kernel changes which are
> only available with Developer Studio Kernel 4.2.0.
> Hence, with this release, we are migrating platform tools to kernel 4.2.0
> and releasing it as 4.2.0 - without releasing a patch version/update for
> platform tools 4.1.0.
>
> This vote will be open for 72 hours or as needed.
>
> [+] Stable - go ahead and release
> [-] Broken - do not release (explain why)
>
> Thanks.
> DevS Team
>
> *Kavith Lokuhewage*
> Senior Software Engineer
> WSO2 Inc. - http://wso2.com
> lean . enterprise . middleware
> Mobile - +94779145123
> Linkedin 
> Twitter 
>
> ___
> 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] GSoC2016-Contact Development Team Feature

2016-08-05 Thread Kavith Lokuhewage
Hi Nathiesha,

Please join the hangout
https://hangouts.google.com/hangouts/_/wso2.com/kavith

Thanks,

*Kavith Lokuhewage*
Senior Software Engineer
WSO2 Inc. - http://wso2.com
lean . enterprise . middleware
Mobile - +94779145123
Linkedin   Twitter


On Fri, Aug 5, 2016 at 11:49 AM, Kavith Lokuhewage  wrote:

> Hi Nathiesha,
>
> Great! I have sent you the invitation.
>
> Thanks,
>
> *Kavith Lokuhewage*
> Senior Software Engineer
> WSO2 Inc. - http://wso2.com
> lean . enterprise . middleware
> Mobile - +94779145123
> Linkedin 
> Twitter 
>
> -- Forwarded message --
> From: Nathiesha Maddage 
> Date: Fri, Aug 5, 2016 at 9:36 AM
> Subject: Re: [Dev] GSoC2016-Contact Development Team Feature
> To: Kavith Lokuhewage 
>
>
> Hi Kavith,
>
> That time is OK with me.
>
> Thanks
> Nathiesha
>
>
> On Fri, Aug 5, 2016 at 8:01 AM, Kavith Lokuhewage  wrote:
>
>> Hi Nathiesha,
>>
>> Shall we have the meeting at 2pm – 3pm today? Please let us know your
>> availability.
>> Thanks,
>>
>> *Kavith Lokuhewage*
>> Senior Software Engineer
>> WSO2 Inc. - http://wso2.com
>> lean . enterprise . middleware
>> Mobile - +94779145123
>> Linkedin 
>> Twitter 
>>
>> On Thu, Aug 4, 2016 at 12:21 PM, Nathiesha Maddage <
>> nathieshamadd...@gmail.com> wrote:
>>
>>> Hi Kavith,
>>>
>>> I started with creating a micro service. Thank you for the reference.
>>> If you can please show me how to host it in the cloud, maybe during
>>> tomorrow meeting.
>>>
>>> Thanks and regards
>>>
>>> Nathiesha
>>>
>>> On Wed, Aug 3, 2016 at 10:22 AM, Kavith Lokuhewage 
>>> wrote:
>>>
 Hi Nathiesha,

 Friday morning seems to work for us. I will send you an invitation
 shortly.

 BTW, instead of implementing a JAX-RS service, we can implement a micro
 service using WSO2 MSF4J 2.0.0. And WSO2 app cloud now supports deploying
 micro-services on the cloud.

 Please follow [1] to create a micro service. It has detailed steps with
 a hello world service sample. Once you define the service structure, you
 will be able to reuse most of the code from existing publishers.
 However we have to externalize credentials for JIRA and SMTP to a file.
 You may use Java Preferences API to do that.

 For now, test it on your local env. We can directly host the jar in the
 cloud and get a URL for the service. I can show you how to do it in a quick
 call if needed. Anyway, local testing is sufficient for now and make sure
 that the service URL is configurable via eclipse preferences.

 Thanks,

 [1] *https://github.com/wso2/msf4j *

 *Kavith Lokuhewage*
 Senior Software Engineer
 WSO2 Inc. - http://wso2.com
 lean . enterprise . middleware
 Mobile - +94779145123
 Linkedin 
 Twitter 

 On Wed, Aug 3, 2016 at 8:58 AM, Nathiesha Maddage <
 nathieshamadd...@gmail.com> wrote:

> Hi Kavith,
>
> I will fork the repo as you have suggested and I got started with the
> REST API part.
> How about Friday morning for the next meeting?
>
> Thanks and Regards
>
> Nathiesha
>
> On Tue, Aug 2, 2016 at 9:42 PM, Kavith Lokuhewage 
> wrote:
>
>> Hi Nathiesha,
>>
>> Nothing wrong with both poms and yeah, pom1.xml will break the build.
>> However, I think there's a proper solution to this.
>> Take a fork of the developer-studio-kernel repo, add your plugin to
>> plugins folder. Keep working on that repo afterwards. This way, after
>> finalizing the development, you can directly send a pull request to 
>> kernel
>> repo from your fork.
>> Yes, we use the qualifier in versions, in addition to major, minor
>> and patch version components.
>>
>> As we discussed during previous meeting, you can now start working on
>> moving email and jira publishing logic to a web app and expose a single
>> rest API for to invoke them. So, eclipse plugin will call to this rest
>> service and only a single publisher will be implemented in the plugin. In
>> this way, we can get rid of asking users to register on our jira and 
>> asking
>> them to enter their gmail credentials - both which are most likely 
>> ignored
>> by users. We will create a bot jira user and email account and keep those
>> credentials within the web app it self - and only ask users about their
>> contact information (name, email - in case we need to get back - and
>> company) when sending the error report.
>>
>> BTW, we can have another review on this F

[Dev] Identify Server Host(IP) for Analytics

2016-08-05 Thread Rajith Vitharana
Hi,

In ESB analytics, ESB publishes data to analytic server including it's host
name. Host name is required to differentiate nodes in a clustered
environment(Which node received which request etc) in analytic side.

So for that, currently what we do is take host value from HTTP Host header.
There was a discussion regarding this in [1] as well. According to that,
even when the server is behind a load balancer, it will receive correct
HTTP Host header which indicates the server IP address.

If there are any better approach than this, please suggest.

[1] - [Dev] [C5] How do we get IP address of the Carbon Server?

Thanks,
-- 
Rajith Vitharana

Senior Software Engineer,
WSO2 Inc. : wso2.com
Mobile : +94715883223
Blog : http://lankavitharana.blogspot.com/

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


[Dev] Please vote for Developer Studio Platform Tools 4.2.0

2016-08-05 Thread Kavith Lokuhewage
Hi Devs,

Please vote for the release candidate for Developer Studio Platform Tools
4.2.0.  P2 repository for this release is available here
.
Source and tag location to be voted upon, is available here

.

This release contains a few critical fixes needed for utilizing embedded
XULRunner on windows [1]. Also it consists of a bug fix required for ESB
Tooling [2].

[1] https://wso2.org/jira/browse/TOOLS-3293
[2] https://wso2.org/jira/browse/DEVTOOLESB-637

Most importantly, these fixes depends on several kernel changes which are
only available with Developer Studio Kernel 4.2.0.
Hence, with this release, we are migrating platform tools to kernel 4.2.0
and releasing it as 4.2.0 - without releasing a patch version/update for
platform tools 4.1.0.

This vote will be open for 72 hours or as needed.

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

Thanks.
DevS Team

*Kavith Lokuhewage*
Senior Software Engineer
WSO2 Inc. - http://wso2.com
lean . enterprise . middleware
Mobile - +94779145123
Linkedin   Twitter

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