[Dev] WSO2 Identity Provider: Claims only returns: { sub: "admin@carbon.super" }

2016-03-21 Thread Ignacio Ocampo
Hello,

I'm testing WSO2 Identity Provider.

My problem is that when I request to
https://localhost:9443/oauth2/userinfo?schema=openid, I only get the *sub *
field.

I expect to receive others such mail, phone, etc, that I already defined in
the profile for the user.

Thanks in advance.

Regards.

-- 
Ignacio Ocampo Millán
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] validate JSON against YAML schema

2016-03-21 Thread Ruwan Yatawara
Hi Waruna,

I believe you may be able to do a json to yaml conversion using
SnakeYaml[1] in Java, assuming there is a mechanism in place to validate a
yaml payload against a yaml schema.

Furthermore, the lib has Apache 2.0 licences.

Code :

private static String convertToJson(String yamlString) {
Yaml yaml= new Yaml();
Map map= (Map) yaml.load(yamlString);

JSONObject jsonObject=new JSONObject(map);
return jsonObject.toString();}

Source : http://stackoverflow.com/a/23774617

[1] - https://code.google.com/archive/p/snakeyaml/


Thanks and Regards,

Ruwan Yatawara

Senior Software Engineer,
WSO2 Inc.

email : ruw...@wso2.com
mobile : +94 77 9110413
blog : http://ruwansrants.blogspot.com/
www: :http://wso2.com


On Mon, Mar 21, 2016 at 12:03 PM, Waruna Perera  wrote:

> Hi,
>
> Has some one done a similar sort of thing with JAVA? If so please give me
> a good library you have used.
>
> Thanks,
>
> Waruna
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [GSoC 2016] [ML] Visual (Deep) Neural Network Builder

2016-03-21 Thread Lakini Senanayaka
Hi all,


I am 4th year Information Technology (Specialization in Software
Engineering) undergraduate of SLIIT (Sri Lanka Institute of Information
Technology). I am familiar with Machine Learning concepts, Java, HTML and
JavaScript. I am very much interested in machine learning subject area and
I am currently doing my research project using machine learning techniques.
I am interested to do the project, proposal 03: [ML] Visual (Deep) Neural
Network Builder. Could you please give me some guidance and materials to
study further about this project?

-- 
Thank you.

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


Re: [Dev] [GSoC 2016] [ML] Visual (Deep) Neural Network Builder

2016-03-21 Thread Upul Bandara
Hi Lakini,

The main objective of the "Visual Neural Network Builder" project is to
create a Neural Network UI front-end for WSO2 Machine Learner.
UI front-end will help people to quickly try out different Neural Network
configurations.

In order to get an idea about the project proposal I would like to point,
Nirmal's proposal submitted to 2011 GSOC

http://nirmalfdo.blogspot.com/2011/04/apache-tuscany-develop-simple-tool-that.html

For building neural networks we are planning to use:

http://deeplearning4j.org/

Please read its documentation and get familiar with basic DL4J concepts,
especially how to use it inside the Apache Spark.

If you need further help, please let us know.

Thanks,
Upul

On Mon, Mar 21, 2016 at 12:44 PM, Lakini Senanayaka <
lakinisenanayak...@gmail.com> wrote:

> Hi all,
>
>
> I am 4th year Information Technology (Specialization in Software
> Engineering) undergraduate of SLIIT (Sri Lanka Institute of Information
> Technology). I am familiar with Machine Learning concepts, Java, HTML and
> JavaScript. I am very much interested in machine learning subject area and
> I am currently doing my research project using machine learning techniques.
> I am interested to do the project, proposal 03: [ML] Visual (Deep) Neural
> Network Builder. Could you please give me some guidance and materials to
> study further about this project?
>
> --
> Thank you.
>
> Sincerely,
> *Lakini Senanayaka.*
>
>


-- 
Upul Bandara,
Associate Technical Lead, WSO2, Inc.,
Mob: +94 715 468 345.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Carbon Datasources - 1.0.0-M1 Released

2016-03-21 Thread KasunG Gajasinghe
Hi,

Please note $subject.

The carbon-datasources feature can be installed with the following
dependency -


  org.wso2.carbon.datasources
  org.wso2.carbon.datasource.core.feature
  1.0.0-m1
  zip


Thanks,
KasunG

-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Identity Provider: Claims only returns: { sub: "admin@carbon.super" }

2016-03-21 Thread Maduranga Siriwardena
Hi Ignacio,

This a known issue in IS 5.1.0 reported at [1]. The issue is already fixed
in IS 5.2.0 Alpha and you can download it from [2].

[1] https://wso2.org/jira/browse/IDENTITY-4250
[2] https://github.com/wso2/product-is/releases/tag/v5.2.0-alpha

Thanks,
Maduranga.

On Mon, Mar 21, 2016 at 12:33 PM, Ignacio Ocampo  wrote:

> Hello,
>
> I'm testing WSO2 Identity Provider.
>
> My problem is that when I request to
> https://localhost:9443/oauth2/userinfo?schema=openid, I only get the *sub
> *field.
>
> I expect to receive others such mail, phone, etc, that I already defined
> in the profile for the user.
>
> Thanks in advance.
>
> Regards.
>
> --
> Ignacio Ocampo Millán
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Maduranga Siriwardena
Software Engineer
WSO2 Inc.

email: madura...@wso2.com
mobile: +94718990591
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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

2016-03-21 Thread Maheshakya Wijewardena
Hi Mahesh,

The deadline for submitting your proposals is on March 25th, 2016,
therefore please start writing the proposal and get feedback.

Best regards.

On Tue, Mar 15, 2016 at 4:14 PM, Mahesh Dananjaya  wrote:

> Hi Maheshakaya,
> Ok.I have been trying some examples and try to split them and train
> incrementally. Still doing that. i have been adding them to my github repo
> too. https://github.com/dananjayamahesh/GSOC2016 . i saw that there is
> only scala API support for those streaming algorithms in Spark. so my task
> is to develop Java API. will let you nkow my progress.thank you very much.
> BR,
> Mahesh
>
> On Tue, Mar 15, 2016 at 3:21 PM, Maheshakya Wijewardena <
> mahesha...@wso2.com> wrote:
>
>> Hi Mahesh,
>>
>> No you don't need to use Hadoop at any stage in this project. Everything
>> you need is in Spark (regarding ML algorithms).
>> You can also use Spark MLLibs methods to randomly split datasets.
>>
>> Best regards.
>>
>> On Mon, Mar 14, 2016 at 1:28 PM, Mahesh Dananjaya <
>> dananjayamah...@gmail.com> wrote:
>>
>>> Hi Maheshakya,
>>> I am writing some java programs and try to break the dataset into
>>> several pieces and train a model repeatedly with those data sets using
>>> Spark MLLib. Do i have to do anything with Hadoop at this stage, because i
>>> am working with a standalone mode.thank you.
>>> BR,
>>> Mahesh.
>>>
>>> On Sun, Mar 13, 2016 at 6:30 PM, Maheshakya Wijewardena <
>>> mahesha...@wso2.com> wrote:
>>>
 Hi Mahesh,

 You don't have to look into carbon-ml.

 Best regards.

 On Sun, Mar 13, 2016 at 5:49 PM, Mahesh Dananjaya <
 dananjayamah...@gmail.com> wrote:

> Hi maheshakya,
> i am working on some examples related to Spark and ML.is there
> anything to do with carbon-ml. I think i dont need to look into that 
> one.do
> i?
> BR,
> Mahesh
>
> On Tue, Mar 8, 2016 at 11:55 AM, Maheshakya Wijewardena <
> mahesha...@wso2.com> wrote:
>
>> Hi Mahesh,
>>
>> does that Scala API is with your current product or repo?
>>
>>
>> No, we don't have the Scala API included. What we want is to design
>> the Java implementations of those algorithms to train with mini-batches 
>> of
>> streaming data with the help of the aforementioned methods so that we can
>> include in as a CEP extension.
>>
>> As to clarify, please try to write a simple Java program using Spark
>> MLLib linear regression and k-means clustering with a sample data set 
>> (You
>> can find alot of data sets from UCI repo[1]).  You need to break the
>> dataset into several pieces and train a model repeatedly with those.
>> After each training run, save the model information (such as weights,
>> intercepts for regression and cluster centers for clustering - please 
>> check
>> the arguments of those methods I have mentioned and save the required
>> information of the model)
>> When training a model we a new piece of data, use those methods to
>> initialize and put the save values for the arguments. This way you can
>> start from where you stopped in the previous run.
>>
>> Let us know your observations and feel free to ask if you need to
>> know anything more on this.
>>
>> We'll let you know what needs to be done to include this in CEP.
>>
>> Best regards.
>>
>> On Tue, Mar 8, 2016 at 10:59 AM, Mahesh Dananjaya <
>> dananjayamah...@gmail.com> wrote:
>>
>>> Hi Maheshakya,
>>> great.thank you.i already have ML and CEP and working more towards
>>> it. does that Scala API is with your current product or repo?.  thank 
>>> you.
>>> BR,
>>> Mahesh.
>>>
>>> On Sun, Mar 6, 2016 at 5:49 PM, Maheshakya Wijewardena <
>>> mahesha...@wso2.com> wrote:
>>>
 Hi Mahesh,

 Please find the comments inline.

 does data stream is taken to ML as the event publisher's format
> through event publisher. Or  we can use direct traffic that comes to 
> event
> receiver, or else as streams
>
 We intend to use the direct data as even streams.

 1.) Those data coming from wso2 DAS to ML are coming as streams?
>
 No, WSO2 ML doesn't use any even stream. The data stored in tables
 in DAS is loaded into ML.

 2.) Are there any incremental learning algorithms currently active
> in ML?you mentioned that there are and they are with scala API. So 
> there is
> a streaming support with that Scala API. In that API which format the 
> data
> is aquired to ML?
>
 No, there are no incremental learning algorithms in ML. The scala
 API is about Spark MLLib. MLLib supports streaming k-means and other
 generalized linear models (linear regression variants and logistic
 regression) with Scala API. What th

Re: [Dev] WSO2 Identity Provider: Claims only returns: { sub: "admin@carbon.super" }

2016-03-21 Thread Ignacio Ocampo
Hello Maduranga,

Thanks for your info, I saw these bugs reported in Stackoverflow.

I'm using: wso2is-5.2.0-SNAPSHOT.

When I do: curl -k -H "Authorization: Bearer
defbb069decad5e9f584280f9371fd24"
https://localhost:9443/oauth2/userinfo?schema=openid

I get: {"sub":"admin@carbon.super"}

To obtain the Access Token, I'm using the scope: openid.

I updated the user profile in the /dashboard app, and I verified that the
information was stored in the LDAP server.

When I registered the Service Provider, I configured only the OAuth/OpenID
Connect Configuration to obtain the Client and Secret key.

Is there any additional configuration that I should do?

Thanks in advance.

Regards.

On Mon, Mar 21, 2016 at 12:24 AM, Maduranga Siriwardena 
wrote:

> Hi Ignacio,
>
> This a known issue in IS 5.1.0 reported at [1]. The issue is already fixed
> in IS 5.2.0 Alpha and you can download it from [2].
>
> [1] https://wso2.org/jira/browse/IDENTITY-4250
> [2] https://github.com/wso2/product-is/releases/tag/v5.2.0-alpha
>
> Thanks,
> Maduranga.
>
> On Mon, Mar 21, 2016 at 12:33 PM, Ignacio Ocampo  wrote:
>
>> Hello,
>>
>> I'm testing WSO2 Identity Provider.
>>
>> My problem is that when I request to
>> https://localhost:9443/oauth2/userinfo?schema=openid, I only get the *sub
>> *field.
>>
>> I expect to receive others such mail, phone, etc, that I already defined
>> in the profile for the user.
>>
>> Thanks in advance.
>>
>> Regards.
>>
>> --
>> Ignacio Ocampo Millán
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Maduranga Siriwardena
> Software Engineer
> WSO2 Inc.
>
> email: madura...@wso2.com
> mobile: +94718990591
>



-- 
Ignacio Ocampo Millán
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC 2016] [ML] Visual (Deep) Neural Network Builder

2016-03-21 Thread Lakini Senanayaka
Thank you very much Upul.
I will go through the resources and If I get any problem I'll let you know.


On Mon, Mar 21, 2016 at 12:51 PM, Upul Bandara  wrote:

> Hi Lakini,
>
> The main objective of the "Visual Neural Network Builder" project is to
> create a Neural Network UI front-end for WSO2 Machine Learner.
> UI front-end will help people to quickly try out different Neural Network
> configurations.
>
> In order to get an idea about the project proposal I would like to point,
> Nirmal's proposal submitted to 2011 GSOC
>
>
> http://nirmalfdo.blogspot.com/2011/04/apache-tuscany-develop-simple-tool-that.html
>
> For building neural networks we are planning to use:
>
> http://deeplearning4j.org/
>
> Please read its documentation and get familiar with basic DL4J concepts,
> especially how to use it inside the Apache Spark.
>
> If you need further help, please let us know.
>
> Thanks,
> Upul
>
> On Mon, Mar 21, 2016 at 12:44 PM, Lakini Senanayaka <
> lakinisenanayak...@gmail.com> wrote:
>
>> Hi all,
>>
>>
>> I am 4th year Information Technology (Specialization in Software
>> Engineering) undergraduate of SLIIT (Sri Lanka Institute of Information
>> Technology). I am familiar with Machine Learning concepts, Java, HTML and
>> JavaScript. I am very much interested in machine learning subject area and
>> I am currently doing my research project using machine learning techniques.
>> I am interested to do the project, proposal 03: [ML] Visual (Deep)
>> Neural Network Builder. Could you please give me some guidance and
>> materials to study further about this project?
>>
>> --
>> Thank you.
>>
>> Sincerely,
>> *Lakini Senanayaka.*
>>
>>
>
>
> --
> Upul Bandara,
> Associate Technical Lead, WSO2, Inc.,
> Mob: +94 715 468 345.
>



-- 
Thank you.

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


Re: [Dev] WSO2 Identity Provider: Claims only returns: { sub: "admin@carbon.super" }

2016-03-21 Thread Pushpalanka Jayawardhana
Hi Ignacio,

I assume you are using authorization code grant type or implicit grant type.
In that case please do configuration for requested claims under service
provider configuration.

In the above grant types we only return the claims added as requested by
the service provider.
Instructions to do this configuration can be found at [1] (*Use Local Claim
Dialect*).

[1] -
https://docs.wso2.com/display/IS510/Configuring+Claims+for+a+Service+Provider

Thanks,
Pushpalanka.
-- 
Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
Senior Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
Mobile: +94779716248
Blog: pushpalankajaya.blogspot.com/ | LinkedIn:
lk.linkedin.com/in/pushpalanka/ | Twitter: @pushpalanka


On Mon, Mar 21, 2016 at 1:04 PM, Ignacio Ocampo  wrote:

> Hello Maduranga,
>
> Thanks for your info, I saw these bugs reported in Stackoverflow.
>
> I'm using: wso2is-5.2.0-SNAPSHOT.
>
> When I do: curl -k -H "Authorization: Bearer
> defbb069decad5e9f584280f9371fd24"
> https://localhost:9443/oauth2/userinfo?schema=openid
>
> I get: {"sub":"admin@carbon.super"}
>
> To obtain the Access Token, I'm using the scope: openid.
>
> I updated the user profile in the /dashboard app, and I verified that the
> information was stored in the LDAP server.
>
> When I registered the Service Provider, I configured only the OAuth/OpenID
> Connect Configuration to obtain the Client and Secret key.
>
> Is there any additional configuration that I should do?
>
> Thanks in advance.
>
> Regards.
>
> On Mon, Mar 21, 2016 at 12:24 AM, Maduranga Siriwardena <
> madura...@wso2.com> wrote:
>
>> Hi Ignacio,
>>
>> This a known issue in IS 5.1.0 reported at [1]. The issue is already
>> fixed in IS 5.2.0 Alpha and you can download it from [2].
>>
>> [1] https://wso2.org/jira/browse/IDENTITY-4250
>> [2] https://github.com/wso2/product-is/releases/tag/v5.2.0-alpha
>>
>> Thanks,
>> Maduranga.
>>
>> On Mon, Mar 21, 2016 at 12:33 PM, Ignacio Ocampo 
>> wrote:
>>
>>> Hello,
>>>
>>> I'm testing WSO2 Identity Provider.
>>>
>>> My problem is that when I request to
>>> https://localhost:9443/oauth2/userinfo?schema=openid, I only get the *sub
>>> *field.
>>>
>>> I expect to receive others such mail, phone, etc, that I already defined
>>> in the profile for the user.
>>>
>>> Thanks in advance.
>>>
>>> Regards.
>>>
>>> --
>>> Ignacio Ocampo Millán
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Maduranga Siriwardena
>> Software Engineer
>> WSO2 Inc.
>>
>> email: madura...@wso2.com
>> mobile: +94718990591
>>
>
>
>
> --
> Ignacio Ocampo Millán
>
> ___
> 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] [GSoC 2016] [ML] Visual (Deep) Neural Network Builder

2016-03-21 Thread Upul Bandara
Also, please note that deadline for the project proposal is this Friday.

Please send your proposal to d...@wso2.com and project mentor(s).

Thanks,
Upul

On Mon, Mar 21, 2016 at 1:11 PM, Lakini Senanayaka <
lakinisenanayak...@gmail.com> wrote:

> Thank you very much Upul.
> I will go through the resources and If I get any problem I'll let you know.
>
>
> On Mon, Mar 21, 2016 at 12:51 PM, Upul Bandara  wrote:
>
>> Hi Lakini,
>>
>> The main objective of the "Visual Neural Network Builder" project is to
>> create a Neural Network UI front-end for WSO2 Machine Learner.
>> UI front-end will help people to quickly try out different Neural
>> Network configurations.
>>
>> In order to get an idea about the project proposal I would like to point,
>> Nirmal's proposal submitted to 2011 GSOC
>>
>>
>> http://nirmalfdo.blogspot.com/2011/04/apache-tuscany-develop-simple-tool-that.html
>>
>> For building neural networks we are planning to use:
>>
>> http://deeplearning4j.org/
>>
>> Please read its documentation and get familiar with basic DL4J concepts,
>> especially how to use it inside the Apache Spark.
>>
>> If you need further help, please let us know.
>>
>> Thanks,
>> Upul
>>
>> On Mon, Mar 21, 2016 at 12:44 PM, Lakini Senanayaka <
>> lakinisenanayak...@gmail.com> wrote:
>>
>>> Hi all,
>>>
>>>
>>> I am 4th year Information Technology (Specialization in Software
>>> Engineering) undergraduate of SLIIT (Sri Lanka Institute of Information
>>> Technology). I am familiar with Machine Learning concepts, Java, HTML and
>>> JavaScript. I am very much interested in machine learning subject area and
>>> I am currently doing my research project using machine learning techniques.
>>> I am interested to do the project, proposal 03: [ML] Visual (Deep)
>>> Neural Network Builder. Could you please give me some guidance and
>>> materials to study further about this project?
>>>
>>> --
>>> Thank you.
>>>
>>> Sincerely,
>>> *Lakini Senanayaka.*
>>>
>>>
>>
>>
>> --
>> Upul Bandara,
>> Associate Technical Lead, WSO2, Inc.,
>> Mob: +94 715 468 345.
>>
>
>
>
> --
> Thank you.
>
> Sincerely,
> *Lakini Senanayaka.*
>
>


-- 
Upul Bandara,
Associate Technical Lead, WSO2, Inc.,
Mob: +94 715 468 345.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC 2016] [ML] Visual (Deep) Neural Network Builder

2016-03-21 Thread Nirmal Fernando
On Mon, Mar 21, 2016 at 1:25 PM, Upul Bandara  wrote:

> Also, please note that deadline for the project proposal is this Friday.
>
> Correction:


> Please send your proposal to dev@wso2.org and project mentor(s).
>
> Thanks,
> Upul
>
> On Mon, Mar 21, 2016 at 1:11 PM, Lakini Senanayaka <
> lakinisenanayak...@gmail.com> wrote:
>
>> Thank you very much Upul.
>> I will go through the resources and If I get any problem I'll let you
>> know.
>>
>>
>> On Mon, Mar 21, 2016 at 12:51 PM, Upul Bandara  wrote:
>>
>>> Hi Lakini,
>>>
>>> The main objective of the "Visual Neural Network Builder" project is to
>>> create a Neural Network UI front-end for WSO2 Machine Learner.
>>> UI front-end will help people to quickly try out different Neural
>>> Network configurations.
>>>
>>> In order to get an idea about the project proposal I would like to
>>> point, Nirmal's proposal submitted to 2011 GSOC
>>>
>>>
>>> http://nirmalfdo.blogspot.com/2011/04/apache-tuscany-develop-simple-tool-that.html
>>>
>>> For building neural networks we are planning to use:
>>>
>>> http://deeplearning4j.org/
>>>
>>> Please read its documentation and get familiar with basic DL4J concepts,
>>> especially how to use it inside the Apache Spark.
>>>
>>> If you need further help, please let us know.
>>>
>>> Thanks,
>>> Upul
>>>
>>> On Mon, Mar 21, 2016 at 12:44 PM, Lakini Senanayaka <
>>> lakinisenanayak...@gmail.com> wrote:
>>>
 Hi all,


 I am 4th year Information Technology (Specialization in Software
 Engineering) undergraduate of SLIIT (Sri Lanka Institute of Information
 Technology). I am familiar with Machine Learning concepts, Java, HTML and
 JavaScript. I am very much interested in machine learning subject area and
 I am currently doing my research project using machine learning techniques.
 I am interested to do the project, proposal 03: [ML] Visual (Deep)
 Neural Network Builder. Could you please give me some guidance and
 materials to study further about this project?

 --
 Thank you.

 Sincerely,
 *Lakini Senanayaka.*


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



-- 

Thanks & regards,
Nirmal

Team Lead - WSO2 Machine Learner
Associate Technical Lead - Data Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSOC'16] Proposal 3 : Visual (Deep) Neural Network Builder

2016-03-21 Thread Upul Bandara
Hi Vimuth,

Please note that deadline for the project proposal is this Friday and send
your proposal to d...@wso2.com and project mentor(s).

Thanks,
Upul

On Wed, Mar 9, 2016 at 1:41 PM, Supun Sethunga  wrote:

> Hi Vimuth,
>
> For project Proposal 3, as we have mentioned in the project proposal as
> well, the main objective is to integrate ensemble support for the existing
> flow of the WSO2 Machine Learner. We are focusing on the three methods:
> Bagging, Boosting and Stacking.
>
> Since you have already run the product ML, you can also go through the
> source code of WSO2 ML ([1] and [2]), and get familiarized with the current
> implementations.
>
> Please feel free to raise if you have any questions or any unclear points.
>
> [1] https://github.com/wso2/carbon-ml
> [2] https://github.com/wso2/product-ml
>
> Regards,
> Supun
>
> On Wed, Mar 9, 2016 at 11:31 AM, Isuru Udana  wrote:
>
>> [Looping project mentors]
>>
>> On Wed, Mar 9, 2016 at 11:11 AM, vimuth fernando 
>> wrote:
>>
>>> Hi,
>>>
>>> I am a full time MSc student in the Dept. of Computer Science at
>>> University of Moratuwa. I am thinking about taking part in GSOC this year
>>> and saw that WSO2 has some interesting project ideas especially in the
>>> Machine Learner project.
>>>
>>> I am interested in working on either Proposal 3 (Visual Neural Network
>>> Builder) or Proposal 4 (Ensemble Methods Support for WSO2 Machine Learner).
>>> I am open to working on either project.
>>>
>>> In Proposal 3, am i correct in understanding that the goal is to build
>>> the UI that will use the algorithms implemented in spark?
>>>
>>> I have started to familiarize myself with the WSO2 Machine Learner using
>>> the samples provided with the documentation.
>>>
>>> Your help in preparing a good proposal is much appreciated.
>>>
>>> Thank you very much.
>>>
>>> --
>>> Vimuth Dinuka Fernando
>>> Research Assistant, Department Of Computer Science and Engineering,
>>> University Of Moratuwa,
>>> Sri Lanka
>>>
>>> phone: 0777559890
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Isuru Udana*
>> Associate Technical Lead
>> WSO2 Inc.; http://wso2.com
>> email: isu...@wso2.com cell: +94 77 3791887
>> blog: http://mytecheye.blogspot.com/
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Supun Sethunga*
> Software Engineer
> WSO2, Inc.
> http://wso2.com/
> lean | enterprise | middleware
> Mobile : +94 716546324
>



-- 
Upul Bandara,
Associate Technical Lead, WSO2, Inc.,
Mob: +94 715 468 345.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Regarding GSoC2016 project

2016-03-21 Thread Upul Bandara
Hi Anurag,

Please note that deadline for the project proposal is this Friday and send
your proposal to d...@wso2.com and project mentor(s).

Thanks,
Upul

On Wed, Mar 9, 2016 at 1:32 PM, Upul Bandara  wrote:

> Hi Anurag,
>
> The objective of the "Visual Neural Network Builder" project is to create
> a Neural Network UI front-end for WSO2 Machine Learner.
> UI front-end will help people to quickly try out different Neural Network
> configurations.
>
> As the initial step, you have to create a project proposal and following
> blog post (Nirmal's proposal submitted to 2011 GSOC) would be a good
> starting point.
>
>
> http://nirmalfdo.blogspot.com/2011/04/apache-tuscany-develop-simple-tool-that.html
>
> If you need further help, please let us know.
>
> Thanks,
> Upul
>
> On Sun, Mar 6, 2016 at 12:15 PM, Anurag Kashyap 
> wrote:
>
>> Hi Upul,
>>  I'm currently working as a research assistant at NTU, Singapore for my
>> bachelor thesis in my final year, I looked at the list of GSoC projects
>> for WSO2 and I'm particularly interested in the project *Visual (Deep)
>> Neural Network Builder. *I am currently working on multi-label
>> classification, so I have some experience in this field and I've been
>> reading papers and writing code for their implementation. I believe I can
>> contribute to this project as a GSoC intern. Eagerly awaiting a response!
>>
>> --
>> Yours Sincerely,
>> *Anurag Kashyap*
>> *Research Assistant*
>> *Robotics-|| *
>> *Nanyang Technological University, Singapore*
>>
>> [image: Blog] 
>>
>
>
>
> --
> Upul Bandara,
> Associate Technical Lead, WSO2, Inc.,
> Mob: +94 715 468 345.
>



-- 
Upul Bandara,
Associate Technical Lead, WSO2, Inc.,
Mob: +94 715 468 345.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Regarding GSoC2016 project

2016-03-21 Thread Upul Bandara
Correction:

send your proposal to dev@wso2. org and project mentor(s).

Thanks,
Upul

On Mon, Mar 21, 2016 at 1:28 PM, Upul Bandara  wrote:

> Hi Anurag,
>
> Please note that deadline for the project proposal is this Friday and send
> your proposal to d...@wso2.com and project mentor(s).
>
> Thanks,
> Upul
>
> On Wed, Mar 9, 2016 at 1:32 PM, Upul Bandara  wrote:
>
>> Hi Anurag,
>>
>> The objective of the "Visual Neural Network Builder" project is to
>> create a Neural Network UI front-end for WSO2 Machine Learner.
>> UI front-end will help people to quickly try out different Neural
>> Network configurations.
>>
>> As the initial step, you have to create a project proposal and following
>> blog post (Nirmal's proposal submitted to 2011 GSOC) would be a good
>> starting point.
>>
>>
>> http://nirmalfdo.blogspot.com/2011/04/apache-tuscany-develop-simple-tool-that.html
>>
>> If you need further help, please let us know.
>>
>> Thanks,
>> Upul
>>
>> On Sun, Mar 6, 2016 at 12:15 PM, Anurag Kashyap 
>> wrote:
>>
>>> Hi Upul,
>>>  I'm currently working as a research assistant at NTU, Singapore for my
>>> bachelor thesis in my final year, I looked at the list of GSoC projects
>>> for WSO2 and I'm particularly interested in the project *Visual (Deep)
>>> Neural Network Builder. *I am currently working on multi-label
>>> classification, so I have some experience in this field and I've been
>>> reading papers and writing code for their implementation. I believe I can
>>> contribute to this project as a GSoC intern. Eagerly awaiting a response!
>>>
>>> --
>>> Yours Sincerely,
>>> *Anurag Kashyap*
>>> *Research Assistant*
>>> *Robotics-|| *
>>> *Nanyang Technological University, Singapore*
>>>
>>> [image: Blog] 
>>>
>>
>>
>>
>> --
>> Upul Bandara,
>> Associate Technical Lead, WSO2, Inc.,
>> Mob: +94 715 468 345.
>>
>
>
>
> --
> Upul Bandara,
> Associate Technical Lead, WSO2, Inc.,
> Mob: +94 715 468 345.
>



-- 
Upul Bandara,
Associate Technical Lead, WSO2, Inc.,
Mob: +94 715 468 345.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSOC'16] Proposal 3 : Visual (Deep) Neural Network Builder

2016-03-21 Thread Upul Bandara
Correction:

Please send your proposal to dev@wso2.org and project mentor(s).

Thanks,
Upul

On Mon, Mar 21, 2016 at 1:27 PM, Upul Bandara  wrote:

> Hi Vimuth,
>
> Please note that deadline for the project proposal is this Friday and send
> your proposal to d...@wso2.com and project mentor(s).
>
> Thanks,
> Upul
>
> On Wed, Mar 9, 2016 at 1:41 PM, Supun Sethunga  wrote:
>
>> Hi Vimuth,
>>
>> For project Proposal 3, as we have mentioned in the project proposal as
>> well, the main objective is to integrate ensemble support for the existing
>> flow of the WSO2 Machine Learner. We are focusing on the three methods:
>> Bagging, Boosting and Stacking.
>>
>> Since you have already run the product ML, you can also go through the
>> source code of WSO2 ML ([1] and [2]), and get familiarized with the current
>> implementations.
>>
>> Please feel free to raise if you have any questions or any unclear points.
>>
>> [1] https://github.com/wso2/carbon-ml
>> [2] https://github.com/wso2/product-ml
>>
>> Regards,
>> Supun
>>
>> On Wed, Mar 9, 2016 at 11:31 AM, Isuru Udana  wrote:
>>
>>> [Looping project mentors]
>>>
>>> On Wed, Mar 9, 2016 at 11:11 AM, vimuth fernando 
>>> wrote:
>>>
 Hi,

 I am a full time MSc student in the Dept. of Computer Science at
 University of Moratuwa. I am thinking about taking part in GSOC this year
 and saw that WSO2 has some interesting project ideas especially in the
 Machine Learner project.

 I am interested in working on either Proposal 3 (Visual Neural Network
 Builder) or Proposal 4 (Ensemble Methods Support for WSO2 Machine Learner).
 I am open to working on either project.

 In Proposal 3, am i correct in understanding that the goal is to build
 the UI that will use the algorithms implemented in spark?

 I have started to familiarize myself with the WSO2 Machine Learner
 using the samples provided with the documentation.

 Your help in preparing a good proposal is much appreciated.

 Thank you very much.

 --
 Vimuth Dinuka Fernando
 Research Assistant, Department Of Computer Science and Engineering,
 University Of Moratuwa,
 Sri Lanka

 phone: 0777559890


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


>>>
>>>
>>> --
>>> *Isuru Udana*
>>> Associate Technical Lead
>>> WSO2 Inc.; http://wso2.com
>>> email: isu...@wso2.com cell: +94 77 3791887
>>> blog: http://mytecheye.blogspot.com/
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Supun Sethunga*
>> Software Engineer
>> WSO2, Inc.
>> http://wso2.com/
>> lean | enterprise | middleware
>> Mobile : +94 716546324
>>
>
>
>
> --
> Upul Bandara,
> Associate Technical Lead, WSO2, Inc.,
> Mob: +94 715 468 345.
>



-- 
Upul Bandara,
Associate Technical Lead, WSO2, Inc.,
Mob: +94 715 468 345.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Applying for GSoC 2016 ----> Visual (Deep) Neural Network Builder

2016-03-21 Thread Upul Bandara
Hi Vishma,

Please note that deadline for the project proposal is this Friday and send
your proposal to dev@wso2.org and project mentor(s).

Thanks,
Upul

On Wed, Mar 9, 2016 at 1:24 PM, Upul Bandara  wrote:

> Hi Vishma,
>
> First you have to create a project proposal. In order to get an idea
> about the proposal I would like to point, Nirmal's proposal submitted to
> 2011 GSOC
>
>
> http://nirmalfdo.blogspot.com/2011/04/apache-tuscany-develop-simple-tool-that.html
>
> If you need further help, please let us know.
>
> Thanks,
> Upul
>
> On Wed, Mar 9, 2016 at 9:32 AM, Vishma Senadhi Dias <
> vishma...@cse.mrt.ac.lk> wrote:
>
>> Hi all,
>>
>> I am Vishma, a third year undergraduate from Department of Computer
>> Science and Engineering, University of Moratuwa, Sri Lanka. I would like to
>> apply for the Visual (Deep) Neural Network Builder project. It would be
>> very helpful if I could get any instructions on starting things up.
>>
>> Thanks in advance,
>> Vishma.
>>
>
>
>
> --
> Upul Bandara,
> Associate Technical Lead, WSO2, Inc.,
> Mob: +94 715 468 345.
>



-- 
Upul Bandara,
Associate Technical Lead, WSO2, Inc.,
Mob: +94 715 468 345.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ML] Natural Language Processing Toolbox for WSO2 Machine Learner

2016-03-21 Thread CD Athuraliya
Hi Minudika,

Have you started writing the project proposal? If yes, can you please share
the draft with us since the proposal submission deadline is on Friday?

Thanks,
CD

On Tue, Feb 23, 2016 at 2:14 PM, Minudika Malshan 
wrote:

> Hi,
> Thanks for the quick reply.
> I have already downloaded and worked with wso2 ML.
> I will go through those resources and get familiar with NLP.
>
> Minudika
>
> Minudika Malshan
> Undergraduate
> Department of Computer Science and Engineering
> University of Moratuwa.
>
>
>
> On Tue, Feb 23, 2016 at 2:08 PM, CD Athuraliya 
> wrote:
>
>> Hi Minudika,
>>
>> Thanks for your interest in this project. You can get familiar with ML
>> product by downloading the product and going through the ML workflow. Also
>> you can also build the product from source by building these repos
>> respectively [1][2].
>>
>> If you are not familiar with basic NLP concepts please be familiar with
>> them and also check available NLP functionalists in libraries such as
>> Apache Spark [3], Deeplearning4j [4] and Apache OpenNLP [4].
>>
>> [1] https://github.com/wso2/carbon-ml
>> [2] https://github.com/wso2/product-ml
>> [3] http://spark.apache.org/
>> [4] http://deeplearning4j.org/
>> [5] https://opennlp.apache.org/
>>
>> Regards,
>> CD
>>
>> On Tue, Feb 23, 2016 at 1:31 PM, Minudika Malshan 
>> wrote:
>>
>>> Hi,
>>>
>>> I am a 3rd year undergraduate in Computer Science and Engineering of
>>> University of Moratuwa.
>>> I am interested in above mentioned project of yours which has been
>>> suggested for GSOC 2016.
>>> Please give me some tips to get familiar with NLP techniques which are
>>> needed to be used and currently being used with WSO2 ML.
>>>
>>> Thank you!
>>> Minudika
>>>
>>> Minudika Malshan
>>> Undergraduate
>>> Department of Computer Science and Engineering
>>> University of Moratuwa.
>>>
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *CD Athuraliya*
>> Software Engineer
>> WSO2, Inc.
>> lean . enterprise . middleware
>> Mobile: +94 716288847 <94716288847>
>> LinkedIn  | Twitter
>>  | Blog
>> 
>>
>
>


-- 
*CD Athuraliya*
Software Engineer
WSO2, Inc.
lean . enterprise . middleware
Mobile: +94 716288847 <94716288847>
LinkedIn  | Twitter
 | Blog

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


Re: [Dev] Introduction for GSoC

2016-03-21 Thread CD Athuraliya
Hi Tanusha,

Have you started writing the project proposal? If yes, can you please share
the draft with us since the proposal submission deadline is on Friday?

Thanks,
CD

On Thu, Mar 17, 2016 at 3:04 PM, CD Athuraliya  wrote:

> [adding dev@]
>
> Hi Tanusha,
>
> You can get an idea about GSoC proposals by looking at the proposal given
> in this blog post [1]. Please CC dev@ in all your communication.
>
> [1]
> http://nirmalfdo.blogspot.com/2011/04/apache-tuscany-develop-simple-tool-that.html
>
> Regards,
> CD
>
> On Thu, Mar 17, 2016 at 2:58 PM, Tanusha Jayasinghe 
> wrote:
>
>> When I asked wso2 yesterday at the workshop about how the proposal would
>> have to be. They asked me to send you guys an email asking for a mock
>> proposal.
>>
>>
>> On Thu, Mar 17, 2016 at 2:38 PM, CD Athuraliya 
>> wrote:
>>
>>> Hi Tanusha,
>>>
>>> For Proposal 5, if you are already familiar with basic NLP concepts
>>> please check available NLP functionalists in libraries such as Apache Spark
>>> [1], Deeplearning4j [2], Apache OpenNLP [3] and Stanford CoreNLP [4]. The
>>> objective of this project is to unify existing NLP tools into one solution
>>> with possible extensions and relevant UI elements. By going through those
>>> libraries you can select feasible NLP tools for the project when you are
>>> writing the proposal. Please let us know if you need more information on
>>> this.
>>>
>>> [1] http://spark.apache.org/
>>> [2] http://deeplearning4j.org/
>>> [3] https://opennlp.apache.org/
>>> [4] http://stanfordnlp.github.io/CoreNLP/
>>>
>>> Regards,
>>> CD
>>>
>>> On Thu, Mar 17, 2016 at 2:25 PM, TanJay  wrote:
>>>
 I am interested in following two,Proposal 3: [ML] Visual (Deep) Neural
 Network Builder
 Proposal 5: [ML] Natural Language Processing Toolbox for WSO2 Machine
 Learner

 but I am trying for the
 Proposal 5: [ML] Natural Language Processing Toolbox for WSO2 Machine
 Learner

 On 3/17/2016 2:21:15 PM, CD Athuraliya  wrote:
 [removed architecture@]

 Hi Tanusha,

 Thanks for your interest on WSO2 projects. If you can mention the
 project you are interested in, we will be able to further assist you. In
 the meantime you can get familiar with ML product by downloading the
 product and going through the ML workflow. Also you can look at the product
 documentation [1].

 [1] *https://docs.wso2.com/display/ML110/Introducing+Machine+Learner
 *

 Regards,
 CD

 On Thu, Mar 17, 2016 at 2:09 PM, TanJay  wrote:

> Hi,
>
> I am Tanusha Jayasinghe. I’m from IIT Campus. I have been an working
> on some projects in github for a while. (github link:
> https://github.com/TanJay). I am very passionate on opensource and
> done some commits to it. I am willing to work on a project for wso2. I 
> hope
> to expand my network with all the developers here.
>
> I am pretty confident on coding skills in Java, Python and also for ml
> I have done Matlab/Octave.
>
> As in web I have done web building myself mostly on heroku and
> openshift using nodejs, django, and
>
> HTML5, CSS, JS of course. and familiar with SaSS, Gruntjs and all the
> other new technologies.
>
> I have developed several software for small companies as a before
> becoming a student at IIT.
>
> I am also enrolled as IEEE Student member.
>
> I have done my advanced level in Mathematics field that would help me
> to go on algorithmic or problem solving type situations.
>
> I have studied and done research on Machine Learning and Natural
> Language Processing for past 2 years from mit online and mostly on
> coursera.
>
> Thank you.
>
>
> 
>  Scanned
> for viruses. www.avast.com
> 




 --
 *CD Athuraliya*
 Software Engineer
 WSO2, Inc.
 lean . enterprise . middleware
 Mobile: +94 716288847 <94716288847>
 LinkedIn  | Twitter
  | Blog
 



 
  Scanned
 for viruses. www.avast.com
 

>>>
>>>
>>>
>>> --
>>> *CD Athuraliya*
>>> Software Engineer
>>> WSO2, Inc.
>>> lean . enterprise . middleware
>>> Mobile: +94 716288847 <94716288847>
>>> LinkedIn 

Re: [Dev] [ML] Natural Language Processing Toolbox for WSO2 Machine Learner

2016-03-21 Thread CD Athuraliya
Hi Minudika,

Please ignore the above reminder which was sent mistakenly.

Thanks,
CD

On Mon, Mar 21, 2016 at 1:33 PM, CD Athuraliya  wrote:

> Hi Minudika,
>
> Have you started writing the project proposal? If yes, can you please
> share the draft with us since the proposal submission deadline is on Friday?
>
> Thanks,
> CD
>
> On Tue, Feb 23, 2016 at 2:14 PM, Minudika Malshan 
> wrote:
>
>> Hi,
>> Thanks for the quick reply.
>> I have already downloaded and worked with wso2 ML.
>> I will go through those resources and get familiar with NLP.
>>
>> Minudika
>>
>> Minudika Malshan
>> Undergraduate
>> Department of Computer Science and Engineering
>> University of Moratuwa.
>>
>>
>>
>> On Tue, Feb 23, 2016 at 2:08 PM, CD Athuraliya 
>> wrote:
>>
>>> Hi Minudika,
>>>
>>> Thanks for your interest in this project. You can get familiar with ML
>>> product by downloading the product and going through the ML workflow. Also
>>> you can also build the product from source by building these repos
>>> respectively [1][2].
>>>
>>> If you are not familiar with basic NLP concepts please be familiar with
>>> them and also check available NLP functionalists in libraries such as
>>> Apache Spark [3], Deeplearning4j [4] and Apache OpenNLP [4].
>>>
>>> [1] https://github.com/wso2/carbon-ml
>>> [2] https://github.com/wso2/product-ml
>>> [3] http://spark.apache.org/
>>> [4] http://deeplearning4j.org/
>>> [5] https://opennlp.apache.org/
>>>
>>> Regards,
>>> CD
>>>
>>> On Tue, Feb 23, 2016 at 1:31 PM, Minudika Malshan >> > wrote:
>>>
 Hi,

 I am a 3rd year undergraduate in Computer Science and Engineering of
 University of Moratuwa.
 I am interested in above mentioned project of yours which has been
 suggested for GSOC 2016.
 Please give me some tips to get familiar with NLP techniques which are
 needed to be used and currently being used with WSO2 ML.

 Thank you!
 Minudika

 Minudika Malshan
 Undergraduate
 Department of Computer Science and Engineering
 University of Moratuwa.



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


>>>
>>>
>>> --
>>> *CD Athuraliya*
>>> Software Engineer
>>> WSO2, Inc.
>>> lean . enterprise . middleware
>>> Mobile: +94 716288847 <94716288847>
>>> LinkedIn  | Twitter
>>>  | Blog
>>> 
>>>
>>
>>
>
>
> --
> *CD Athuraliya*
> Software Engineer
> WSO2, Inc.
> lean . enterprise . middleware
> Mobile: +94 716288847 <94716288847>
> LinkedIn  | Twitter
>  | Blog
> 
>



-- 
*CD Athuraliya*
Software Engineer
WSO2, Inc.
lean . enterprise . middleware
Mobile: +94 716288847 <94716288847>
LinkedIn  | Twitter
 | Blog

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


Re: [Dev] Namespaces and Attributes in JSON Schema

2016-03-21 Thread Nuwan Pallewela
Hi All,

We have discussed to go as the following to represent name-spaces in data
mapper JSON schema's.


   - Each element can represent with a name-space value by using*
"xmlns" *field
   and url value as a JSON string.
  - "firstname":{
   "id":"http://jsonschema.net/employee/0/firstname
  ",
   "type":"string",
   "xmlns":"http://namespace.test";
}"
   - And all name-spaces used in the schema should be listed with preferred
   prefix value in the root level of the schema under *"namespace"* field
   as a JSON Array of namespace JSON objects.
  - Eg: "namespaces": [ { "prefix":"ns1", "url":"
  http://employee.lastname"} , {"prefix":"ns2", "url":"
  http://namespace.test"} ]
   - Name-space JSON object should contain two fields as* "prefix" *and *"url"
  *with JSON String values.
 - { "prefix":"ns1", "url":"http://employee.lastname"}

Following schema shows a sample JSON schema for data mapper with
name-spaces.
{
   "$schema":"http://json-schema.org/draft-04/schema#";,
   "id":"http://jsonschema.net";,
   "title":"employees",
   "type":"object",
   *"xmlns":"http://namespace.test ",*
   "properties":{
  "employee":{
 "id":"http://jsonschema.net/employee";,
 "type":"array",
 *"xmlns":"http://namespace.test ",*
 "items":[
{
   "id":"http://jsonschema.net/employee/0";,
   "type":"object",
   "properties":{
  "firstname":{
 "id":"http://jsonschema.net/employee/0/firstname";,
 "type":"string",
 *"xmlns":"http://namespace.test
"*
  },
  "lastname":{
 "id":"http://jsonschema.net/employee/0/lastname";,
 "type":"string",
 *"xmlns":"http://employee.lastname
"*
  }
   },
   "required":[
  "firstname",
  "lastname"
   ]
}
 ],
 "required":[
"arrayRequired"
 ]
  }
   },
   "required":[
  "employees"
   ],
  *"namespaces":[{ "prefix":"ns1", "url":"http://employee.lastname
"},{"prefix":"ns2", "url":"http://namespace.test
"}]*
}

Thanks,
Nuwan


On Fri, Mar 18, 2016 at 3:52 PM, Maheeka Jayasuriya 
wrote:

> Hi Sohani,
>
> Instead of properties array with attributes supported with @ prefix, can
> we use an attributes array in the schema ?
>
> For example :
>
> Current definition :
>
> "address": {
> "id": "http://jsonschema.net/employee/0/address";,
> "type": "object",
> "properties": {
>   "city": {
> "id": "http://jsonschema.net/employee/0/address/city";,
> "type": "string"
>   },
>   "@no": {
> "id": "http://jsonschema.net/employee/0/address/no";,
> "type": "string"
>   },
>   "road": {
> "id": "http://jsonschema.net/employee/0/address/road";,
> "type": "string"
>   }
> }
>   }
>
> With attributes array :
>
> "address": {
> "id": "http://jsonschema.net/employee/0/address";,
> "type": "object",
> "attributes": {
> "no": {
> "id": "http://jsonschema.net/employee/0/address/no";,
>  "type": "string"
> }
> },
> "properties": {
> "city": {
> "id": "http://jsonschema.net/employee/0/address/city";,
> "type": "string"
> },
>"road": {
> "id": "http://jsonschema.net/employee/0/address/road";,
> "type": "string"
> }
> }
> }
>
> Two reasons to suggest this :
>
> 1. We do not have to use a prefix to define attributes and they can be
> easily distinguished from other fields since they are defined separate from
> other fields (properties)
> 2. In the case of a primitive type with attributes, we can still preserve
> the type as string and have attributes instead of using properties (since
> properties are only valid in json schema for object type)
>
>
> WDYT?
>
> Thanks,
> Maheeka
>
> Maheeka Jayasuriya
> Software Engineer
> Mobile : +9450661
>
> On Wed, Mar 16, 2016 at 10:54 AM, Sohani Weerasinghe 
> wrote:
>
>> Hi,
>>
>> Please find the schema and the visual representation for representing the
>> attributes.
>>
>>   {
>>   "$schema": "http://json-schema.org/draft-04/schema#";,
>>   "id": "http://jsonschema.net";,
>>   "title" : "employees",
>>   "type": "object",
>>   "properties": {
>> "employee": {
>>   "

Re: [Dev] Unable to create configuration context from axis2.xml - with wso2is-5.2.0-alpha

2016-03-21 Thread Shakila Sivagnanarajah
Yes Malaka, I added the note in doc.

Please find the stack-trace.

org.apache.axis2.deployment.DeploymentException: *The system is attempting
to engage a module that is not available: addressing*

at
org.apache.axis2.deployment.DeploymentEngine.loadFromClassPath(DeploymentEngine.java:177)

at
org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:135)

at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)

at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210)

at
org.wso2.carbon.identity.authenticator.emailotp.EmailOTPAuthenticator.sendOTP(EmailOTPAuthenticator.java:528)

at
org.wso2.carbon.identity.authenticator.emailotp.EmailOTPAuthenticator.initiateAuthenticationRequest(EmailOTPAuthenticator.java:165)

at
org.wso2.carbon.identity.application.authentication.framework.AbstractApplicationAuthenticator.process(AbstractApplicationAuthenticator.java:61)

at
org.wso2.carbon.identity.application.authentication.framework.handler.step.impl.DefaultStepHandler.doAuthentication(DefaultStepHandler.java:444)

at
org.wso2.carbon.identity.application.authentication.framework.handler.step.impl.DefaultStepHandler.handle(DefaultStepHandler.java:211)

at
org.wso2.carbon.identity.application.authentication.framework.handler.sequence.impl.DefaultStepBasedSequenceHandler.handle(DefaultStepBasedSequenceHandler.java:171)

at
org.wso2.carbon.identity.application.authentication.framework.handler.request.impl.DefaultAuthenticationRequestHandler.handle(DefaultAuthenticationRequestHandler.java:115)

at
org.wso2.carbon.identity.application.authentication.framework.handler.request.impl.DefaultRequestCoordinator.handle(DefaultRequestCoordinator.java:137)

at
org.wso2.carbon.identity.application.authentication.framework.CommonAuthenticationHandler.doPost(CommonAuthenticationHandler.java:46)

at
org.wso2.carbon.identity.application.authentication.framework.CommonAuthenticationHandler.doGet(CommonAuthenticationHandler.java:37)

at
org.wso2.carbon.identity.sso.saml.servlet.SAMLSSOProviderServlet.sendRequestToFramework(SAMLSSOProviderServlet.java:986)

at
org.wso2.carbon.identity.sso.saml.servlet.SAMLSSOProviderServlet.handleRequest(SAMLSSOProviderServlet.java:159)

at
org.wso2.carbon.identity.sso.saml.servlet.SAMLSSOProviderServlet.doPost(SAMLSSOProviderServlet.java:107)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

at
org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)

at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)

at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)

at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

at
org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at
org.wso2.carbon.ui.filters.CSRFPreventionFilter.doFilter(CSRFPreventionFilter.java:88)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at
org.wso2.carbon.ui.filters.CRLFPreventionFilter.doFilter(CRLFPreventionFilter.java:59)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at
org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)

at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)

at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)

at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.j

Re: [Dev] GSoC project for building an ensemble of models

2016-03-21 Thread Supun Sethunga
Hi Anurag,

We have added a few comments. Can you please fix those and share the
updated one?

Thanks,
Supun

On Mon, Mar 21, 2016 at 1:29 PM, Nirmal Fernando  wrote:

> Thanks.
>
> On Mon, Mar 21, 2016 at 1:27 PM, Anurag Kashyap 
> wrote:
>
>> Hi,
>>  I've changed the settings. You should be able to comment or edit the
>> proposa
>> l
>> now.
>> Thanks
>>
>> On Mon, Mar 21, 2016 at 3:52 PM, Nirmal Fernando  wrote:
>>
>>> Hi Anurag,
>>>
>>> Thanks for your proposal. Can you please give us 'commenting' right?
>>>
>>> On Mon, Mar 21, 2016 at 1:03 PM, Anurag Kashyap 
>>> wrote:
>>>
 Hi,
 Thank you so much for the valuable input. This
 
 is a tentative draft of my proposal.

 Regards,
 Anurag

 On Mon, Mar 21, 2016 at 1:03 PM, Supun Sethunga 
 wrote:

> Hi Anurag,
>
> Have you started on the project proposal? If so, could you please
> share it (the draft) with us?
>
> Thanks,
>
> On Mon, Mar 21, 2016 at 10:03 AM, Nirmal Fernando 
> wrote:
>
>>
>>
>> On Mon, Mar 21, 2016 at 10:01 AM, Supun Sethunga 
>> wrote:
>>
>>> Hi Anurag,
>>>
>>> Can you help me figure out the significance of the serialVersionUID
 field?
>>>
>>>
>>> All the algorithm classes including the one you mentioned
>>> implement the Serializable interface (Because these generated models 
>>> can be
>>> exported and imported as java objects). "serialVersionUID" is used
>>> when serializing and deserializing the objects. If we do not define a 
>>> "serialVersionUID",
>>> then java runtime will generate them during serialization and
>>> deserialization. And if these two serialVersionUID's does not
>>> matches, then the deserialization fails. As a result, the java object 
>>> will
>>> not be readable. You can check [1] for further details.
>>>
>>> Also, I wanted to know if I should include personal details too in
 the proposal- such as my university and where I'm currently working.
>>>
>>> You may include. You can check out a sample gsoc proposal by Nirmal (
>>> nir...@wso2.com) at [2].
>>>
>>> BTW, please CC to WSO2 Developers mailing list (dev@wso2.org) for
>>> all project-related discussions.
>>>
>>
>> You may have to subscribe to dev@, please refer to
>> http://wso2.com/mail/
>>
>>>
>>> [1]
>>> http://javarevisited.blogspot.com/2014/05/why-use-serialversionuid-inside-serializable-class-in-java.html
>>> [2] http://nirmalfdo.blogspot.com/search/label/GSoC-2011
>>>
>>> Regards
>>> Supun
>>>
>>>
>>> On Thu, Mar 17, 2016 at 6:26 PM, Anurag Kashyap <
>>> anurag1...@gmail.com> wrote:
>>>
 Hi Supun,
  I was going through this
 
 link. Can you help me figure out the significance of the 
 serialVersionUID
 field? If that field is necessary then anonymous classes will have to 
 be
 implemented instead of lambda expressions in several places. Also, I 
 wanted
 to know if I should include personal details too in the proposal- such 
 as
 my university and where I'm currently working.







 On Mon, Mar 14, 2016 at 5:57 PM, Supun Sethunga 
 wrote:

> Hi Anurag,
>
> Yes, the master branch is using java 8, hence you can use lambda
> expressions.
>
> Regards,
> Supun
>
> On Mon, Mar 14, 2016 at 3:24 PM, Anurag Kashyap <
> anurag1...@gmail.com> wrote:
>
>> Hi Supun,
>> One more question. I couldn't find if the version of Java being
>> used is Java 8 or a previous version. If it is Java 8, Lambda 
>> calculus can
>> be used to make some things easier, especially while working with 
>> spark.
>> Thanks and Regards,
>> Anurag Kashyap
>>
>>
>> On Mon, Mar 7, 2016 at 8:05 PM, Supun Sethunga 
>> wrote:
>>
>>> [Adding WSO2 Developers mailing list]
>>>
>>> Hi Anurag,
>>>
>>> Please find my comments inline.
>>>
>>> First, which boosting model are we going to target-Ada boosting
 or some other model, or various models?
>>>
>>> You can pick any method as you wish.
>>>
>>>
>>> Second, what method would you suggest I use to combine the
 results of the models in stacking- 

Re: [Dev] Proposal 4: [ML] Ensemble Methods Support for WSO2 Machine Learner

2016-03-21 Thread Supun Sethunga
Hi,

Can you please share your proposal with us to have a review before the
submission?

Thanks,
Supun

On Wed, Mar 16, 2016 at 8:38 AM, Supun Sethunga  wrote:

> Hi Dulaj,
>
> Thank you for your interest in the above project. As we have mentioned in
> the project proposal as well, the main objective is to integrate ensemble
> support for the existing flow of the WSO2 Machine Learner. We are focusing
> on the three methods: Bagging, Boosting and Stacking.
>
> To start with, you can get to know the Machine Learner product by
> downloading it and running it (Please use link [1] to download). Official
> documentation [2] and blog [3] will help you on how to use the product. As
> the next step, you can go through the source code of WSO2 ML ([4] and [5]),
> and get familiarized with the current implementations.
>
> Please feel free to raise if you have any questions or any unclear points.
>
> [1] http://wso2.com/products/machine-learner/
> [2] https://docs.wso2.com/display/ML100/Introducing+Machine+Learner
> [3]
> http://supunsetunga.blogspot.com/2015/09/building-your-first-predictive-model.html
> [4] https://github.com/wso2/carbon-ml
> [5] https://github.com/wso2/product-ml
>
> Regards,
> Supun
>
> On Tue, Mar 15, 2016 at 11:28 AM, Dulaj Rajitha <
> dulaj.rajitha...@cse.mrt.ac.lk> wrote:
>
>> *Hi,
>> *
>> I'm Dulaj Rajitha, 3rd year (Semester 6) undergraduate, university of 
>> Moratuwa and I found this project is interesting.
>> I have working experience in machine learning throughout my internship and 
>> experience in working on Apache Spark ML and MlLib with java 8.
>> So please provide me some guide lines on how to proceed and what are the 
>> technologies that are required to get familiar with.
>>
>> ---
>> Regards,
>> Dulaj Rajitha,*Undergraduate
>> **Department of Computer Science and Engineering
>> **University of Moratuwa.*
>>
>>
>
>
> --
> *Supun Sethunga*
> Software Engineer
> WSO2, Inc.
> http://wso2.com/
> lean | enterprise | middleware
> Mobile : +94 716546324
>



-- 
*Supun Sethunga*
Software Engineer
WSO2, Inc.
http://wso2.com/
lean | enterprise | middleware
Mobile : +94 716546324
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC 2016 - Ensemble Methods Support for WSO2 Machine Learner

2016-03-21 Thread Supun Sethunga
Hi,

Can you please share your proposal with us to have a review before the
submission?

Thanks,
Supun

On Mon, Mar 7, 2016 at 5:20 PM, Dilan Tharaka 
wrote:

> thank you for the reply. I'll go through the steps you mentioned and get
> back to you if there's any trouble
>
> On 7 March 2016 at 17:16, Supun Sethunga  wrote:
>
>> [Adding WSO2 Developers mailing list]
>>
>> Hi Dilan,
>>
>> Thank you for your interest in the above project. As we have mentioned
>> in the project proposal as well, the main objective is to integrate
>> ensemble support for the existing flow of the WSO2 Machine Learner. We are
>> focusing on the three methods: Bagging, Boosting and Stacking.
>>
>> To start with, you can get to know the Machine Learner product by
>> downloading it and running it (Please use link [1] to download). Official
>> documentation [2] and blog [3] will help you on how to use the product. As
>> the next step, you can go through the source code of WSO2 ML ([4] and [5]).
>>
>> Please feel free to raise if you have any questions or any unclear points.
>>
>> [1] http://wso2.com/products/machine-learner/
>> [2] https://docs.wso2.com/display/ML100/Introducing+Machine+Learner
>> [3]
>> http://supunsetunga.blogspot.com/2015/09/building-your-first-predictive-model.html
>> [4] https://github.com/wso2/carbon-ml
>> [5] https://github.com/wso2/product-ml
>>
>> Regards,
>> Supun
>>
>> On Mon, Mar 7, 2016 at 2:19 PM, Dilan Tharaka > > wrote:
>>
>>> Hi,
>>>
>>> I'm Dilan Tharaka an undergraduate of University of Moratuwa. I went
>>> through WSO2 GSoC ideas list and found the idea "Ensemble Methods Support
>>> for WSO2 Machine Learner" is interesting. I have Java, Web development and
>>> Unix knowledge. And I've used Spark and Weka libraries in machine leaning.
>>> I would be thank full if you could help me in getting started with this
>>> project.
>>>
>>> Thank you,
>>> Regards,
>>> Dilan Tharaka,
>>> Undergraduate,
>>> Department of Computer Science and Engineering
>>> University of Moratuwa
>>>
>>>
>>
>>
>>
>> --
>> *Supun Sethunga*
>> Software Engineer
>> WSO2, Inc.
>> http://wso2.com/
>> lean | enterprise | middleware
>> Mobile : +94 716546324
>>
>
>
>
> --
> Thank you,
> Regards,
> Dilan Tharaka,
> Undergraduate - batch 12 (Batch Representative),
> Department of Computer Science and Engineering
> University of Moratuwa
>
>



-- 
*Supun Sethunga*
Software Engineer
WSO2, Inc.
http://wso2.com/
lean | enterprise | middleware
Mobile : +94 716546324
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Allowing to Copy Artifacts/Configurations to Dockefiles at Runtime

2016-03-21 Thread Isuru Haththotuwa
Previous Subject: [VOTE] Release WSO2 Dockerfiles 1.0.0 RC2-
Forwarded message --

Hi Chamila,

On Mon, Mar 21, 2016 at 7:55 AM, Chamila De Alwis  wrote:

> Hi Isuru,
>
> IMO we should only do the following tasks.
>
> 1) entrypoint.sh should perform a "cp -r" from a given fixed location, ex:
> /opt/wso2-patching to  before running wso2server.sh
>
2) The developers can add a COPY to /opt/wso2-patching when they are
> creating a test image Dockerfile
>
3) An optional volume mount option can be provided with the run.sh script
> to mount a given directory to /opt/wso2-patching
>
+1

I pushed the changes. Its now possible to provide a full path to a host
machine location, which contains any artifact/configuration that can be
copied to CARBON_HOME. The repository structure should start from a top
level repository names 'carbon-home'.

>
> The folder name will be adhered to by convention. /opt/wso2-patching will
> contain any overridden files that should be copied to CARBON_HOME. We don't
> have to copy different folders separately, and IMO we should not. It should
> be allowed to override any given file in the CARBON_HOME tree.
>
>
> Regards,
> Chamila de Alwis
> Committer and PMC Member - Apache Stratos
> Software Engineer | WSO2 | +94772207163
> Blog: code.chamiladealwis.com
>
>
>
> On Sun, Mar 20, 2016 at 12:10 AM, Imesh Gunaratne  wrote:
>
>> On Sat, Mar 19, 2016 at 5:26 PM, Isuru Haththotuwa 
>> wrote:
>>
>>>
>>> Tested #3, with the simple copy operation, without a file mount. A user
>>> of wso2 Dockerfiles would need to create own dockerfile similar to [1] add
>>> the relevant artifacts to /mnt/artifacts location using ADD/COPY. Those
>>> artifacts will be copied to the deployment space
>>> (CARBON_HOME/repository/deployment/server before container initialization).
>>>
>>> [1].
>>>
>>> FROM wso2/as-5.3.0:1.0.0
>>> MAINTAINER isu...@wso2.com
>>>
>>> RUN mkdir -p /mnt/artifacts/axis2services
>>> RUN mkdir -p /mnt/artifacts/webapps
>>> ADD axis2services/* /mnt/artifacts/axis2services
>>> ADD webapps/* /mnt/artifacts/webapps
>>>
>>>
>>>
>> Great work! I think it would be better if the user can override anything
>> under the CARBON_HOME. If so we might not need multiple folders.
>>
>> BTW in the above sample, we may not need *RUN mkdir *statements.
>> ADD/COPY commands create folders if they do not exist.
>>
>> Thanks
>>
>>
>>

> On Fri, Mar 18, 2016 at 9:33 AM, Chamila De Alwis 
> wrote:
>
>> *[x] Stable* - Go ahead and release
>>
>>- Verified Licensing and headers
>>- Verified folder and package structure
>>- Verified the out of the box functionality (default profile,
>>access to management console, login, brief smoke test) of the 
>> following
>>products.
>>- WSO2 AM - 1.9.1, 1.10.0
>>   - WSO2 AS - 5.3.0
>>   - WSO2 BPS - 3.5.0
>>   - WSO2 BRS - 2.1.0, 2.2.0
>>   - WSO2 CEP - 4.0.0
>>   - WSO2 DAS - 3.0.0, 3.0.1
>>   - WSO2 DSS - 3.5.0
>>   - WSO2 ES - 2.0.0
>>   - WSO2 ESB - 4.9.0
>>   - WSO2 GREG - 4.6.0, 5.1.0
>>   - WSO2 IS - 5.1.0
>>   - WSO2 MB - 3.0.0, 3.1.0
>>- Verified build.sh, run.sh, and save.sh functionality for each
>>of the above products
>>
>>
>>
>> Regards,
>> Chamila de Alwis
>> Committer and PMC Member - Apache Stratos
>> Software Engineer | WSO2 | +94772207163
>> Blog: code.chamiladealwis.com
>>
>>
>>
>> On Thu, Mar 17, 2016 at 8:44 PM, Isuru Haththotuwa 
>> wrote:
>>
>>> This is the second release candidate (RC2) of WSO2 Dockerfiles 1.0.0
>>> release.
>>>
>>> *Tag to be voted upon:*
>>> https://github.com/wso2/dockerfiles/tree/v1.0.0-rc2
>>>
>>> *Source and distribution packages:*
>>> https://github.com/wso2/dockerfiles/releases/tag/v1.0.0-rc2
>>>
>>> Please download, test, and vote. The README file under each product
>>> directory contains instructions on how to try it out locally.
>>>
>>> [ ] Broken - Do not release (explain why)
>>> [ ] Stable - Go ahead and release
>>>
>>> This vote will be open for 72 hours or as needed.
>>>
>>> --
>>> Thanks and Regards,
>>>
>>> Isuru H.
>>> +94 716 358 048* *
>>>
>>>
>>>
>>> ___
>>> 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
>>
>>
>
>
> --
> Lakmal Warusawithana
> Director - Cloud Architecture; WSO2 Inc.
> Mobile : +94714289692
> Blog : http://lakmalsview.blogspot.com/
>
>
> ___
> Dev mail

Re: [Dev] Shall we use latest APPM in EMM?

2016-03-21 Thread Lakshman Udayakantha
Hi Dinusha,

I have moved subscriber persisting code [1] to subscription creation moment
from login moment. Could you review and merge it.

[1] https://github.com/wso2/carbon-appmgt/pull/245/files

Thanks


On Fri, Mar 18, 2016 at 9:30 PM, Dinusha Senanayaka 
wrote:

> Hi All,
>
> This is something we got from the APIM code and we need to refactor it. In
> their case, users login to store can create oauth app and subscribe to
> APIs. App creation also should be done by a subscriber and that's why user
> is added to SUBSCRIBER table at the login. Then SUBSCRIPTION table is
> populate when the actual subscription happen to API.
>
> Anyway, AppM do not have this app creation concept in the store. Hence we
> could move this SUBSCRIBER, SUBSCRIPTION both table inserts to where actual
> subscription happens.
>
> Regards,
> Dinusha.
>
> On Fri, Mar 18, 2016 at 8:33 PM, Lahiru Cooray  wrote:
>
>> +1 for Ruwan's suggestion.
>> Further in current model, Subscriptions(APM_SUBSCRIPTION) are mapped to a
>> Application(APM_APPLICATION) and Application is bound to a subscriber
>> (APM_SUBSCRIBER)
>>
>> Subscriber should ideally contain the users who are subscribed to an App.
>> But currently APM_SUBSCRIBER table getting updated when an user log in to
>> the store (which is not ideal)
>> This operation should be moved to just before user get subscribed to an
>> App.
>>
>>
>> On Fri, Mar 18, 2016 at 5:12 PM, Ruwan Abeykoon  wrote:
>>
>>> Hi All,
>>> I think APM_SUBSCRIBER is used to check subscription on WebApps or
>>> Sites.
>>> I think adding subscriber to this table can be moved to place where the
>>> subscription is added. We might have to revisit and change the SQL queries
>>> which is used to check the subscriptions.
>>>
>>> Cheers,
>>> Ruwan
>>>
>>> On Fri, Mar 18, 2016 at 4:49 PM, Lakshman Udayakantha <
>>> lakshm...@wso2.com> wrote:
>>>
 Hi Dinusha,

 When user is going to login to store, user will add if does not exist,
 to a table called APM_SUBSCRIBER . This code snippet has removed in EMM
 store (in APPM 1.1.1 version). That's why earlier this problem is not
 raised. Anyway what is the purpose of adding user to the APM_SUBSCRIBER
 table? Note that this table is the only dependant table from APPM to EMM.

 Thanks

 On Fri, Mar 18, 2016 at 3:01 PM, Prabath Abeysekera 
 wrote:

> Hi Dinusha,
>
> On Fri, Mar 18, 2016 at 2:54 PM, Dinusha Senanayaka 
> wrote:
>
>> Hi Prabath,
>>
>> On Fri, Mar 18, 2016 at 2:34 PM, Prabath Abeysekera <
>> praba...@wso2.com> wrote:
>>
>>> Hi Dinusha,
>>>
>>> On Fri, Mar 18, 2016 at 2:19 PM, Dinusha Senanayaka <
>>> dinu...@wso2.com> wrote:
>>>
 Hi Lakshman,

 On Fri, Mar 18, 2016 at 2:08 PM, Lakshman Udayakantha <
 lakshm...@wso2.com> wrote:

> Hi,
>
> I am looking into this. After changing the APP Manager feature
> versions in EMM, publisher works as expected. It can create and 
> publish
> mobile apps without any issue. But I can't even login to store. 
> According
> to backend error, It seems like EMM wants APP Manager related db 
> tables
> too. I have added APP Manager tables to AM datasource and after that 
> I can
> login to store without any issue and published apps also shown in 
> there.
> Anyway is that ok to add APP Manager tables to AM datasource?
>

 I think it should be fine to include AppM datasource in EMM.
 Currently we don't need it for mobile apps. But there could be 
 scenarios in
 future we need AppM db for mobile apps as well.

>>>
>>> If "mobile application provisioning plugin" doesn't require
>>> persisting information, why exactly do we need to add tables, etc just 
>>> to
>>> get the store to work?
>>>
>>
>> This we need to check. AFAIK, EMM is installing only appm.store,
>> appm.publisher, appm.mobile features which is not depend on appm.core
>> feature which provides the db. May be we have installed additional 
>> feature ?
>>
>
> That can possibly be the case. Thanks for the insight.
>
> @Lakshman, would you be able to double check if this is what's
> demanding us to install these persistent entities? If that's the case, we
> might have to revisit the list of features we've put into p2-profile 
> around
> app-mgt functionalities.
>
> Cheers,
> Prabath
>
>
>>
>> Regards,
>> Dinusha.
>>
>>>
>>> Cheers,
>>> Prabath
>>>
>>>

 Regards,
 Dinusha.

>
> Thanks
>
> On Thu, Mar 17, 2016 at 2:43 PM, Milan Perera 
> wrote:
>
>> Hi Dinusha,
>>
>> I totally agree to what you said. Its better if we can do this as
>>>

Re: [Dev] Shall we use latest APPM in EMM?

2016-03-21 Thread Dinusha Senanayaka
Hi Lakshman,

Thanks for fixing this. Added few comments to PR. Please update.

Regards,
Dinusha.

On Mon, Mar 21, 2016 at 2:40 PM, Lakshman Udayakantha 
wrote:

> Hi Dinusha,
>
> I have moved subscriber persisting code [1] to subscription creation
> moment from login moment. Could you review and merge it.
>
> [1] https://github.com/wso2/carbon-appmgt/pull/245/files
>
> Thanks
>
>
> On Fri, Mar 18, 2016 at 9:30 PM, Dinusha Senanayaka 
> wrote:
>
>> Hi All,
>>
>> This is something we got from the APIM code and we need to refactor it.
>> In their case, users login to store can create oauth app and subscribe to
>> APIs. App creation also should be done by a subscriber and that's why user
>> is added to SUBSCRIBER table at the login. Then SUBSCRIPTION table is
>> populate when the actual subscription happen to API.
>>
>> Anyway, AppM do not have this app creation concept in the store. Hence we
>> could move this SUBSCRIBER, SUBSCRIPTION both table inserts to where actual
>> subscription happens.
>>
>> Regards,
>> Dinusha.
>>
>> On Fri, Mar 18, 2016 at 8:33 PM, Lahiru Cooray  wrote:
>>
>>> +1 for Ruwan's suggestion.
>>> Further in current model, Subscriptions(APM_SUBSCRIPTION) are mapped to
>>> a Application(APM_APPLICATION) and Application is bound to a subscriber
>>> (APM_SUBSCRIBER)
>>>
>>> Subscriber should ideally contain the users who are subscribed to an
>>> App.
>>> But currently APM_SUBSCRIBER table getting updated when an user log in
>>> to the store (which is not ideal)
>>> This operation should be moved to just before user get subscribed to an
>>> App.
>>>
>>>
>>> On Fri, Mar 18, 2016 at 5:12 PM, Ruwan Abeykoon  wrote:
>>>
 Hi All,
 I think APM_SUBSCRIBER is used to check subscription on WebApps or
 Sites.
 I think adding subscriber to this table can be moved to place where the
 subscription is added. We might have to revisit and change the SQL queries
 which is used to check the subscriptions.

 Cheers,
 Ruwan

 On Fri, Mar 18, 2016 at 4:49 PM, Lakshman Udayakantha <
 lakshm...@wso2.com> wrote:

> Hi Dinusha,
>
> When user is going to login to store, user will add if does not exist,
> to a table called APM_SUBSCRIBER . This code snippet has removed in EMM
> store (in APPM 1.1.1 version). That's why earlier this problem is not
> raised. Anyway what is the purpose of adding user to the APM_SUBSCRIBER
> table? Note that this table is the only dependant table from APPM to EMM.
>
> Thanks
>
> On Fri, Mar 18, 2016 at 3:01 PM, Prabath Abeysekera  > wrote:
>
>> Hi Dinusha,
>>
>> On Fri, Mar 18, 2016 at 2:54 PM, Dinusha Senanayaka > > wrote:
>>
>>> Hi Prabath,
>>>
>>> On Fri, Mar 18, 2016 at 2:34 PM, Prabath Abeysekera <
>>> praba...@wso2.com> wrote:
>>>
 Hi Dinusha,

 On Fri, Mar 18, 2016 at 2:19 PM, Dinusha Senanayaka <
 dinu...@wso2.com> wrote:

> Hi Lakshman,
>
> On Fri, Mar 18, 2016 at 2:08 PM, Lakshman Udayakantha <
> lakshm...@wso2.com> wrote:
>
>> Hi,
>>
>> I am looking into this. After changing the APP Manager feature
>> versions in EMM, publisher works as expected. It can create and 
>> publish
>> mobile apps without any issue. But I can't even login to store. 
>> According
>> to backend error, It seems like EMM wants APP Manager related db 
>> tables
>> too. I have added APP Manager tables to AM datasource and after that 
>> I can
>> login to store without any issue and published apps also shown in 
>> there.
>> Anyway is that ok to add APP Manager tables to AM datasource?
>>
>
> I think it should be fine to include AppM datasource in EMM.
> Currently we don't need it for mobile apps. But there could be 
> scenarios in
> future we need AppM db for mobile apps as well.
>

 If "mobile application provisioning plugin" doesn't require
 persisting information, why exactly do we need to add tables, etc just 
 to
 get the store to work?

>>>
>>> This we need to check. AFAIK, EMM is installing only appm.store,
>>> appm.publisher, appm.mobile features which is not depend on appm.core
>>> feature which provides the db. May be we have installed additional 
>>> feature ?
>>>
>>
>> That can possibly be the case. Thanks for the insight.
>>
>> @Lakshman, would you be able to double check if this is what's
>> demanding us to install these persistent entities? If that's the case, we
>> might have to revisit the list of features we've put into p2-profile 
>> around
>> app-mgt functionalities.
>>
>> Cheers,
>> Prabath
>>
>>
>>>
>>> Regards,
>>> Dinusha.
>>>

 Cheers,
 P

[Dev] GSoC 2016

2016-03-21 Thread Jawadh Salih Rifath
Hi,

I'd like to contribute to Auto tuner CEP project of WSO2. Please guide me
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] gsoc project

2016-03-21 Thread Hardik Patel
Hi sir

I have already copied wso2am-1.10.1.zip

Is it OK???

Or I have to switch with 1.9.1??
On Mar 21, 2016 7:39 AM, "Chamila De Alwis"  wrote:

> Hi Hardik,
>
> Puppet throws this error when it can't find wso2am-1.9.1.zip file at your
> PUPPET_HOME location.
>
> [image: Inline image 1]
>
> It should be copied to /modules/wso2am/files for Puppet to
> pick it up.
>
>
> Regards,
> Chamila de Alwis
> Committer and PMC Member - Apache Stratos
> Software Engineer | WSO2 | +94772207163
> Blog: code.chamiladealwis.com
>
>
>
> On Sun, Mar 20, 2016 at 11:33 PM, Hardik Patel 
> wrote:
>
>> Hi Isuruh,
>>
>> I tried to build docker images for wso2 product. Here Base image build
>> successfully.
>> but when I tried to build image for API MANAGER it failed.
>>
>> [1] picture shows the failing to build image of api manager.
>> [2] picture shows docker images. I have tried 2 times to build image
>> for api manager so it shows two repository which both have same size,
>> but no name.
>>
>> I didn't have submitted proposal for gsoc yet. I am confuse which type
>> of app I will create?
>> A Desktop app or web App? How it will connect with openshift and wso2
>> products?
>> Give me brief about this??
>>
>> If there any other method for deploying wso2 product?Please let me
>> know.
>>
>> I am waiting for your response
>> --
>>
>> Thank You,
>>
>> Hardik Patel
>> about.me/hardikprl94
>>
>> ___
>> 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] gsoc project

2016-03-21 Thread Sajith Kariyawasam
While building the docker image you might have given (in -v option) the api
manager version as 1.9.1. If so you need to copy 1.9.1.zip.
But if you want to get it working with api manager 1.10 version, you need
to pass the correct product version when building (and running) the image

On Mon, Mar 21, 2016 at 3:47 PM, Hardik Patel  wrote:

> Hi sir
>
> I have already copied wso2am-1.10.1.zip
>
> Is it OK???
>
> Or I have to switch with 1.9.1??
> On Mar 21, 2016 7:39 AM, "Chamila De Alwis"  wrote:
>
>> Hi Hardik,
>>
>> Puppet throws this error when it can't find wso2am-1.9.1.zip file at your
>> PUPPET_HOME location.
>>
>> [image: Inline image 1]
>>
>> It should be copied to /modules/wso2am/files for Puppet to
>> pick it up.
>>
>>
>> Regards,
>> Chamila de Alwis
>> Committer and PMC Member - Apache Stratos
>> Software Engineer | WSO2 | +94772207163
>> Blog: code.chamiladealwis.com
>>
>>
>>
>> On Sun, Mar 20, 2016 at 11:33 PM, Hardik Patel 
>> wrote:
>>
>>> Hi Isuruh,
>>>
>>> I tried to build docker images for wso2 product. Here Base image build
>>> successfully.
>>> but when I tried to build image for API MANAGER it failed.
>>>
>>> [1] picture shows the failing to build image of api manager.
>>> [2] picture shows docker images. I have tried 2 times to build image
>>> for api manager so it shows two repository which both have same size,
>>> but no name.
>>>
>>> I didn't have submitted proposal for gsoc yet. I am confuse which type
>>> of app I will create?
>>> A Desktop app or web App? How it will connect with openshift and wso2
>>> products?
>>> Give me brief about this??
>>>
>>> If there any other method for deploying wso2 product?Please let me
>>> know.
>>>
>>> I am waiting for your response
>>> --
>>>
>>> Thank You,
>>>
>>> Hardik Patel
>>> about.me/hardikprl94
>>>
>>> ___
>>> 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
>
>


-- 
Sajith Kariyawasam
*Committer and PMC member, Apache Stratos, *
*WSO2 Inc.; http://wso2.com *
*Mobile: 0772269575*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC 2016

2016-03-21 Thread Jawadh Salih Rifath
Sorry the project I was looking for Visual Query Composer. the project 32.

Please clarify me .When it's mentioned as a query graph, does it mean of a
tree (acyclic graph) of one siddhi query of anything else. I understood it
as a tree of a siddhi query.


Thank you
Jawadh Salih Rifath
3rd year (2nd semester) Undergraduate Dept. of Computer Science and
Engineering
University of Moratuwa,



On 21 March 2016 at 15:05, Jawadh Salih Rifath 
wrote:

> Hi,
>
> I'd like to contribute to Auto tuner CEP project of WSO2. Please guide me
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Secure Vault support in Carbon 5 based products

2016-03-21 Thread Isuru Perera
Hi,

I'm working on supporting Carbon Metrics on Carbon 5 and I would like to
know the status of $subject.

Thanks!

Best Regards,

-- 
Isuru Perera
Associate Technical Lead | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

about.me/chrishantha
Contact: +IsuruPereraWSO2 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Proposal Structure

2016-03-21 Thread Jawadh Salih Rifath
Hi,

Is there any specific structure for the project proposal that I need to
send. Or do I can make my own and send. If so please let me know the
essential details that need to be included in the proposal
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Carbon Caching - 1.0.0-M1 Released

2016-03-21 Thread Aruna Karunarathna
Hi all,

Please note $subject.

You may install carbon-caching feature to your product with:

org.wso2.carbon.caching
org.wso2.carbon.caching.feature
1.0.0-m1

Please refer [1] for instructions on using carbon-caching.

[1]. https://github.com/wso2/carbon-caching/tree/v1.0.0-m1

Regards,
Aruna
-- 

*Aruna Sujith Karunarathna *
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 9040362 | Work: +94 112145345
Email: ar...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Secure Vault support in Carbon 5 based products

2016-03-21 Thread Aruna Karunarathna
On Mon, Mar 21, 2016 at 4:02 PM, Isuru Perera  wrote:

> Hi,
>
> I'm working on supporting Carbon Metrics on Carbon 5 and I would like to
> know the status of $subject.
>
[Adding Sameera]

AFAIK, we haven't started/finalized the secure vault feature in the hamming
platform release.


>
> Thanks!
>
> Best Regards,
>
> --
> Isuru Perera
> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> about.me/chrishantha
> Contact: +IsuruPereraWSO2 
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Aruna Sujith Karunarathna *
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 9040362 | Work: +94 112145345
Email: ar...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC 2016] [ML] Ensemble Methods Support for WSO2 Machine Learner

2016-03-21 Thread Supun Sethunga
Hi Hasitha,

Project timeline should tally with the gsoc timelines [1]. I've added a few
comments in the doc itself too. Can you please adjust those?

[1] https://developers.google.com/open-source/gsoc/timeline

On Mon, Mar 21, 2016 at 3:39 PM, Hasitha Jayasundara <
hasithajayasunda...@gmail.com> wrote:

> Added timeline
>
> https://docs.google.com/document/d/1bAJ2DYuaIIzhIWpxyKJl03v2aNRVl9miUg6PvNHyesA/edit?usp=sharing
>
> On Mon, Mar 21, 2016 at 10:35 AM, Supun Sethunga  wrote:
>
>> Hi Hasitha,
>>
>> Overall looks good to me! Added a few comments, please fix them too.
>>
>> Also, can you share a rough timeline too? If you feel like the current
>> project goals does not fit into the deadlines, we can revise the goals
>> before starting the project, so that it would fit within the timeline.
>>
>> BTW, please CC to WSO2 Developers mailing list (dev@wso2.org) for all
>> project-related discussions. You might have to subscribe via
>> http://wso2.com/mail/
>>
>> Thanks,
>> Supun
>>
>> On Sun, Mar 20, 2016 at 6:02 PM, Hasitha Jayasundara <
>> hasithajayasunda...@gmail.com> wrote:
>>
>>>
>>> https://docs.google.com/document/d/1bAJ2DYuaIIzhIWpxyKJl03v2aNRVl9miUg6PvNHyesA/edit?usp=sharing
>>> Coluld you please check this and give me some comments how can i improve
>>>
>>> On Wed, Mar 16, 2016 at 9:02 AM, Supun Sethunga  wrote:
>>>
 Hi Hasitha,

 Out of ensembling method available, following are the three main types
 that we are interested in:

- Stacking - Training multiple algorithms (called base-learners) on
the same dataset, and combining them using another algorithm
(meta-learner).
- Bagging - Training a single algorithm over subsets of data.
- Boosting - Training multiple algorithms on the same data, and
combining them over a weighted average (giving higher priority to
misclassified data points).

 You can do some background reading on those three topics to get a good
 understanding on ensembling methods. There are good online resources
 available.

 or if you can could you please provide me a time to a google hangout?

 Yes sure. Can you please set up a meeting? You can check my google
 calendar for free time slots. (I might not be available on 18-20 March)

 P.S: Don't call us sir, just call us by name :)
 Also, please CC "dev@wso2.org" mailing list for all project related
 emails.

 Regards,
 Supun

 On Tue, Mar 15, 2016 at 1:36 AM, Hasitha Jayasundara <
 hasithajayasunda...@gmail.com> wrote:

> Dear Sir,
>
> I have gone through the WSo2 ML algorithms(Linear Regression,Lasso
> regression...)and  now i have the idea about how the platform is
> working.Since I am new to Ensembling and there's less resources for
> learning Ensembling,can you provide me some resources or links to learn 
> the
> concept Ensembling,or if you can could you please provide me a time to a
> google hangout?Thank you.
>
> On Tue, Mar 8, 2016 at 10:41 AM, Hasitha Jayasundara <
> hasithajayasunda...@gmail.com> wrote:
>
>> Thank you very much sir.I 'll let you know if there's any issue.
>>
>> On Tue, Mar 8, 2016 at 10:03 AM, Supun Sethunga 
>> wrote:
>>
>>> [looping dev]
>>>
>>> On Tue, Mar 8, 2016 at 10:01 AM, Supun Sethunga 
>>> wrote:
>>>
 Hi Hasitha,

 Thank you for your interest in the above project. As we have
 mentioned in the project proposal as well, the main objective is to
 integrate ensemble support for the existing flow of the WSO2 Machine
 Learner. We are focusing on the three methods: Bagging, Boosting and
 Stacking.

 To start with, you can get to know the Machine Learner product by
 downloading it and running it (Please use link [1] to download). 
 Official
 documentation [2] and blog [3] will help you on how to use the 
 product. As
 the next step, you can go through the source code of WSO2 ML ([4] and 
 [5]),
 and get familiarized with the current implementations.

 Please feel free to raise if you have any questions or any unclear
 points.

 [1] http://wso2.com/products/machine-learner/
 [2] https://docs.wso2.com/display/ML100/Introducing+Machine+Learner
 [3]
 http://supunsetunga.blogspot.com/2015/09/building-your-first-predictive-model.html
 [4] https://github.com/wso2/carbon-ml
 [5] https://github.com/wso2/product-ml

 Regards,
 Supun

 On Tue, Mar 8, 2016 at 9:53 AM, Hasitha Jayasundara <
 hasithajayasunda...@gmail.com> wrote:

> Dear Sir,
>
> I am an undergraduate of University of Moratuwa department of
> Electronic and Telecommunication Engineering. I am very much 
> inte

[Dev] Carbon Parent POM: Remove Microservices from Manifest

2016-03-21 Thread Isuru Perera
Hi,

Can we remove  element from the Carbon Parent POM [1]?

Thanks!

Best Regards,

[1] https://github.com/wso2/carbon-parent/blob/carbon-parent-3/pom.xml#L419

-- 
Isuru Perera
Associate Technical Lead | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

about.me/chrishantha
Contact: +IsuruPereraWSO2 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Shall we use latest APPM in EMM?

2016-03-21 Thread Lakshman Udayakantha
Hi Dinusha,

Updated the pull with your suggestions.

Thanks

On Mon, Mar 21, 2016 at 2:57 PM, Dinusha Senanayaka 
wrote:

> Hi Lakshman,
>
> Thanks for fixing this. Added few comments to PR. Please update.
>
> Regards,
> Dinusha.
>
> On Mon, Mar 21, 2016 at 2:40 PM, Lakshman Udayakantha 
> wrote:
>
>> Hi Dinusha,
>>
>> I have moved subscriber persisting code [1] to subscription creation
>> moment from login moment. Could you review and merge it.
>>
>> [1] https://github.com/wso2/carbon-appmgt/pull/245/files
>>
>> Thanks
>>
>>
>> On Fri, Mar 18, 2016 at 9:30 PM, Dinusha Senanayaka 
>> wrote:
>>
>>> Hi All,
>>>
>>> This is something we got from the APIM code and we need to refactor it.
>>> In their case, users login to store can create oauth app and subscribe to
>>> APIs. App creation also should be done by a subscriber and that's why user
>>> is added to SUBSCRIBER table at the login. Then SUBSCRIPTION table is
>>> populate when the actual subscription happen to API.
>>>
>>> Anyway, AppM do not have this app creation concept in the store. Hence
>>> we could move this SUBSCRIBER, SUBSCRIPTION both table inserts to where
>>> actual subscription happens.
>>>
>>> Regards,
>>> Dinusha.
>>>
>>> On Fri, Mar 18, 2016 at 8:33 PM, Lahiru Cooray  wrote:
>>>
 +1 for Ruwan's suggestion.
 Further in current model, Subscriptions(APM_SUBSCRIPTION) are mapped to
 a Application(APM_APPLICATION) and Application is bound to a subscriber
 (APM_SUBSCRIBER)

 Subscriber should ideally contain the users who are subscribed to an
 App.
 But currently APM_SUBSCRIBER table getting updated when an user log in
 to the store (which is not ideal)
 This operation should be moved to just before user get subscribed to an
 App.


 On Fri, Mar 18, 2016 at 5:12 PM, Ruwan Abeykoon 
 wrote:

> Hi All,
> I think APM_SUBSCRIBER is used to check subscription on WebApps or
> Sites.
> I think adding subscriber to this table can be moved to place where
> the subscription is added. We might have to revisit and change the SQL
> queries which is used to check the subscriptions.
>
> Cheers,
> Ruwan
>
> On Fri, Mar 18, 2016 at 4:49 PM, Lakshman Udayakantha <
> lakshm...@wso2.com> wrote:
>
>> Hi Dinusha,
>>
>> When user is going to login to store, user will add if does not
>> exist, to a table called APM_SUBSCRIBER . This code snippet has removed 
>> in
>> EMM store (in APPM 1.1.1 version). That's why earlier this problem is not
>> raised. Anyway what is the purpose of adding user to the APM_SUBSCRIBER
>> table? Note that this table is the only dependant table from APPM to EMM.
>>
>> Thanks
>>
>> On Fri, Mar 18, 2016 at 3:01 PM, Prabath Abeysekera <
>> praba...@wso2.com> wrote:
>>
>>> Hi Dinusha,
>>>
>>> On Fri, Mar 18, 2016 at 2:54 PM, Dinusha Senanayaka <
>>> dinu...@wso2.com> wrote:
>>>
 Hi Prabath,

 On Fri, Mar 18, 2016 at 2:34 PM, Prabath Abeysekera <
 praba...@wso2.com> wrote:

> Hi Dinusha,
>
> On Fri, Mar 18, 2016 at 2:19 PM, Dinusha Senanayaka <
> dinu...@wso2.com> wrote:
>
>> Hi Lakshman,
>>
>> On Fri, Mar 18, 2016 at 2:08 PM, Lakshman Udayakantha <
>> lakshm...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> I am looking into this. After changing the APP Manager feature
>>> versions in EMM, publisher works as expected. It can create and 
>>> publish
>>> mobile apps without any issue. But I can't even login to store. 
>>> According
>>> to backend error, It seems like EMM wants APP Manager related db 
>>> tables
>>> too. I have added APP Manager tables to AM datasource and after 
>>> that I can
>>> login to store without any issue and published apps also shown in 
>>> there.
>>> Anyway is that ok to add APP Manager tables to AM datasource?
>>>
>>
>> I think it should be fine to include AppM datasource in EMM.
>> Currently we don't need it for mobile apps. But there could be 
>> scenarios in
>> future we need AppM db for mobile apps as well.
>>
>
> If "mobile application provisioning plugin" doesn't require
> persisting information, why exactly do we need to add tables, etc 
> just to
> get the store to work?
>

 This we need to check. AFAIK, EMM is installing only appm.store,
 appm.publisher, appm.mobile features which is not depend on appm.core
 feature which provides the db. May be we have installed additional 
 feature ?

>>>
>>> That can possibly be the case. Thanks for the insight.
>>>
>>> @Lakshman, would you be able to double check if this is what's
>>> demanding us t

Re: [Dev] gsoc project

2016-03-21 Thread Isuru Haththotuwa
Hi Hardik,

Please update puppet-modules/hieradata/dev/common.yaml file's
'java_source_file' parameter with the correct name for the JDK archive that
you are using.

On Mon, Mar 21, 2016 at 4:47 PM, Hardik Patel  wrote:

> Hi,
>
> this error comes
>
> I also have set environment variable for JAVA_HOME pointing to
> jdk-7.tar.gz file in puppet-module/module/wso2base/files.
>
>
> On 21/03/2016, Sajith Kariyawasam  wrote:
> > correct. What's the error message you are getting?
> > You have to copy wso2am-1.10.zip file and Jdk to puppet modules
> >
> > On Mon, Mar 21, 2016 at 4:03 PM, Hardik Patel 
> > wrote:
> >
> >> Hi,
> >>
> >> I have also tried that one but it again failed...
> >>
> >> I have entered this command "./build.sh -v 1.10.0 -i 1.0.0"
> >>
> >> Is it correct??
> >> On Mar 21, 2016 3:58 PM, "Sajith Kariyawasam"  wrote:
> >>
> >>> While building the docker image you might have given (in -v option) the
> >>> api manager version as 1.9.1. If so you need to copy 1.9.1.zip.
> >>> But if you want to get it working with api manager 1.10 version, you
> >>> need
> >>> to pass the correct product version when building (and running) the
> >>> image
> >>>
> >>> On Mon, Mar 21, 2016 at 3:47 PM, Hardik Patel 
> >>> wrote:
> >>>
>  Hi sir
> 
>  I have already copied wso2am-1.10.1.zip
> 
>  Is it OK???
> 
>  Or I have to switch with 1.9.1??
>  On Mar 21, 2016 7:39 AM, "Chamila De Alwis" 
> wrote:
> 
> > Hi Hardik,
> >
> > Puppet throws this error when it can't find wso2am-1.9.1.zip file at
> > your PUPPET_HOME location.
> >
> > [image: Inline image 1]
> >
> > It should be copied to /modules/wso2am/files for Puppet
> > to
> > pick it up.
> >
> >
> > Regards,
> > Chamila de Alwis
> > Committer and PMC Member - Apache Stratos
> > Software Engineer | WSO2 | +94772207163
> > Blog: code.chamiladealwis.com
> >
> >
> >
> > On Sun, Mar 20, 2016 at 11:33 PM, Hardik Patel <
> hardikpr...@gmail.com>
> > wrote:
> >
> >> Hi Isuruh,
> >>
> >> I tried to build docker images for wso2 product. Here Base image
> >> build
> >> successfully.
> >> but when I tried to build image for API MANAGER it failed.
> >>
> >> [1] picture shows the failing to build image of api manager.
> >> [2] picture shows docker images. I have tried 2 times to build image
> >> for api manager so it shows two repository which both have same
> size,
> >> but no name.
> >>
> >> I didn't have submitted proposal for gsoc yet. I am confuse which
> >> type
> >> of app I will create?
> >> A Desktop app or web App? How it will connect with openshift and
> wso2
> >> products?
> >> Give me brief about this??
> >>
> >> If there any other method for deploying wso2 product?Please let
> >> me
> >> know.
> >>
> >> I am waiting for your response
> >> --
> >>
> >> Thank You,
> >>
> >> Hardik Patel
> >> about.me/hardikprl94
> >>
> >> ___
> >> 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
> 
> 
> >>>
> >>>
> >>> --
> >>> Sajith Kariyawasam
> >>> *Committer and PMC member, Apache Stratos, *
> >>> *WSO2 Inc.; http://wso2.com *
> >>> *Mobile: 0772269575*
> >>>
> >>
> >
> >
> > --
> > Sajith Kariyawasam
> > *Committer and PMC member, Apache Stratos, *
> > *WSO2 Inc.; http://wso2.com *
> > *Mobile: 0772269575*
> >
>
>
> --
>
> Thank You,
>
> Hardik Patel
> about.me/hardikprl94
>



-- 
Thanks and Regards,

Isuru H.
+94 716 358 048* *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Shall we use latest APPM in EMM?

2016-03-21 Thread Dinusha Senanayaka
On Mon, Mar 21, 2016 at 4:42 PM, Lakshman Udayakantha 
wrote:

> Hi Dinusha,
>
> Updated the pull with your suggestions.
>
Thanks. Merged.

>
> Thanks
>
> On Mon, Mar 21, 2016 at 2:57 PM, Dinusha Senanayaka 
> wrote:
>
>> Hi Lakshman,
>>
>> Thanks for fixing this. Added few comments to PR. Please update.
>>
>> Regards,
>> Dinusha.
>>
>> On Mon, Mar 21, 2016 at 2:40 PM, Lakshman Udayakantha > > wrote:
>>
>>> Hi Dinusha,
>>>
>>> I have moved subscriber persisting code [1] to subscription creation
>>> moment from login moment. Could you review and merge it.
>>>
>>> [1] https://github.com/wso2/carbon-appmgt/pull/245/files
>>>
>>> Thanks
>>>
>>>
>>> On Fri, Mar 18, 2016 at 9:30 PM, Dinusha Senanayaka 
>>> wrote:
>>>
 Hi All,

 This is something we got from the APIM code and we need to refactor it.
 In their case, users login to store can create oauth app and subscribe to
 APIs. App creation also should be done by a subscriber and that's why user
 is added to SUBSCRIBER table at the login. Then SUBSCRIPTION table is
 populate when the actual subscription happen to API.

 Anyway, AppM do not have this app creation concept in the store. Hence
 we could move this SUBSCRIBER, SUBSCRIPTION both table inserts to where
 actual subscription happens.

 Regards,
 Dinusha.

 On Fri, Mar 18, 2016 at 8:33 PM, Lahiru Cooray 
 wrote:

> +1 for Ruwan's suggestion.
> Further in current model, Subscriptions(APM_SUBSCRIPTION) are mapped
> to a Application(APM_APPLICATION) and Application is bound to a subscriber
> (APM_SUBSCRIBER)
>
> Subscriber should ideally contain the users who are subscribed to an
> App.
> But currently APM_SUBSCRIBER table getting updated when an user log in
> to the store (which is not ideal)
> This operation should be moved to just before user get subscribed to
> an App.
>
>
> On Fri, Mar 18, 2016 at 5:12 PM, Ruwan Abeykoon 
> wrote:
>
>> Hi All,
>> I think APM_SUBSCRIBER is used to check subscription on WebApps or
>> Sites.
>> I think adding subscriber to this table can be moved to place where
>> the subscription is added. We might have to revisit and change the SQL
>> queries which is used to check the subscriptions.
>>
>> Cheers,
>> Ruwan
>>
>> On Fri, Mar 18, 2016 at 4:49 PM, Lakshman Udayakantha <
>> lakshm...@wso2.com> wrote:
>>
>>> Hi Dinusha,
>>>
>>> When user is going to login to store, user will add if does not
>>> exist, to a table called APM_SUBSCRIBER . This code snippet has removed 
>>> in
>>> EMM store (in APPM 1.1.1 version). That's why earlier this problem is 
>>> not
>>> raised. Anyway what is the purpose of adding user to the APM_SUBSCRIBER
>>> table? Note that this table is the only dependant table from APPM to 
>>> EMM.
>>>
>>> Thanks
>>>
>>> On Fri, Mar 18, 2016 at 3:01 PM, Prabath Abeysekera <
>>> praba...@wso2.com> wrote:
>>>
 Hi Dinusha,

 On Fri, Mar 18, 2016 at 2:54 PM, Dinusha Senanayaka <
 dinu...@wso2.com> wrote:

> Hi Prabath,
>
> On Fri, Mar 18, 2016 at 2:34 PM, Prabath Abeysekera <
> praba...@wso2.com> wrote:
>
>> Hi Dinusha,
>>
>> On Fri, Mar 18, 2016 at 2:19 PM, Dinusha Senanayaka <
>> dinu...@wso2.com> wrote:
>>
>>> Hi Lakshman,
>>>
>>> On Fri, Mar 18, 2016 at 2:08 PM, Lakshman Udayakantha <
>>> lakshm...@wso2.com> wrote:
>>>
 Hi,

 I am looking into this. After changing the APP Manager feature
 versions in EMM, publisher works as expected. It can create and 
 publish
 mobile apps without any issue. But I can't even login to store. 
 According
 to backend error, It seems like EMM wants APP Manager related db 
 tables
 too. I have added APP Manager tables to AM datasource and after 
 that I can
 login to store without any issue and published apps also shown in 
 there.
 Anyway is that ok to add APP Manager tables to AM datasource?

>>>
>>> I think it should be fine to include AppM datasource in EMM.
>>> Currently we don't need it for mobile apps. But there could be 
>>> scenarios in
>>> future we need AppM db for mobile apps as well.
>>>
>>
>> If "mobile application provisioning plugin" doesn't require
>> persisting information, why exactly do we need to add tables, etc 
>> just to
>> get the store to work?
>>
>
> This we need to check. AFAIK, EMM is installing only appm.store,
> appm.publisher, appm.mobile features which is not depend on appm.core
> feature which p

Re: [Dev] Carbon Parent POM: Remove Microservices from Manifest

2016-03-21 Thread Afkham Azeez
Isn't that header used anymore?

On Mon, Mar 21, 2016 at 4:31 PM, Isuru Perera  wrote:

> Hi,
>
> Can we remove  element from the Carbon Parent POM [1]?
>
> Thanks!
>
> Best Regards,
>
> [1]
> https://github.com/wso2/carbon-parent/blob/carbon-parent-3/pom.xml#L419
>
> --
> Isuru Perera
> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> about.me/chrishantha
> Contact: +IsuruPereraWSO2 
>



-- 
*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 3320919blog: **http://blog.afkham.org*

*twitter: **http://twitter.com/afkham_azeez*

*linked-in: **http://lk.linkedin.com/in/afkhamazeez
*

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


Re: [Dev] Proposal 10: [ESB/GW] Security Gateway on top of WSO2 Gateway

2016-03-21 Thread Isuru Ranawaka
Hi Samitha,

According to your camel-context file there JMX is disabled but log says
that JMX is enabled .So may be it picks up another camel-context file or
something related to that.Can you send us the complete camel-context file.

On Fri, Mar 18, 2016 at 3:39 PM, Chanaka Fernando  wrote:

> Hi Samitha,
>
> This is coming due to the reason that these 2 xsd files are not in your
> classpath. These 2 files should be in the Gateway product once you build
> from the source. Can you search for these 2 xsd files in your gateway pack?
>
> On Fri, Mar 18, 2016 at 3:35 PM, Samitha Palihawadana <
> samitha.harshana...@cse.mrt.ac.lk> wrote:
>
>> Hi Chanaka,
>>
>> The screen shot of the error I attached here.
>>
>> On 17 March 2016 at 23:37, Samitha Palihawadana <
>> samitha.harshana...@cse.mrt.ac.lk> wrote:
>>
>>> Hi Chanaka,
>>>
>>> Find the attachment.
>>>
>>>
>>> On 17 March 2016 at 23:15, Chanaka Fernando  wrote:
>>>
 Hi Samitha,

 Can you share your camel configuration file?

 On Thu, Mar 17, 2016 at 9:37 PM, Samitha Palihawadana <
 samitha.harshana...@cse.mrt.ac.lk> wrote:

> Hi,
>
> When I try to run the project, although the Camel is started, routs
> were failed to start.[No routs were detected].
> Also there was an error in camel-context.xml
> 
> : line 22 and 24 . saying cannot find path specified.
> So can you please help me to solve these issues ASAP so that I can
> proceed.
>
> [following shows the logs when I started the project.]
>
> 2016-03-17 21:16:27 INFO  MainSupport:327 - Apache Camel 2.16.0
> starting
> 2016-03-17 21:16:27 INFO  DefaultCamelContext:2750 - Apache Camel
> 2.16.0 (CamelContext: camel-1) is starting
> 2016-03-17 21:16:27 INFO  ManagedManagementStrategy:191 - JMX is
> enabled
> 2016-03-17 21:16:28 INFO  DefaultTypeConverter:56 - Loaded 183 type
> converters
> 2016-03-17 21:16:28 INFO  DefaultRuntimeEndpointRegistry:203 - Runtime
> endpoint registry is in extended mode gathering usage statistics of all
> incoming and outgoing endpoints (cache limit: 1000)
> 2016-03-17 21:16:28 INFO  DefaultCamelContext:2983 -
> AllowUseOriginalMessage is enabled. If access to the original message is
> not needed, then its recommended to turn this option off as it may improve
> performance.
> 2016-03-17 21:16:28 INFO  DefaultCamelContext:2993 - StreamCaching is
> not in use. If using streams then its recommended to enable stream 
> caching.
> See more details at http://camel.apache.org/stream-caching.html
> 2016-03-17 21:16:28 INFO  DefaultCamelContext:2785 - Total 0 routes,
> of which 0 is started.
> 2016-03-17 21:16:28 INFO  DefaultCamelContext:2786 - Apache Camel
> 2.16.0 (CamelContext: camel-1) started in 0.630 seconds
>
>
> On 16 March 2016 at 10:33, Kasun Indrasiri  wrote:
>
>> Hi Samitha,
>>
>> Also can you come up with initial set of requirements and a high
>> level design doc.
>>
>> On Wed, Mar 16, 2016 at 1:31 AM, samitha palihawadana <
>> samitha.harshana...@cse.mrt.ac.lk> wrote:
>>
>>> Hi Chanaka,
>>>
>>>  Thanks for replying me. I clone the gateway source code and build
>>> it. Now I am continuing as you mention above.
>>>
>>>
>>> On 15 March 2016 at 19:46, Chanaka Fernando 
>>> wrote:
>>>
 Adding the missing link to the gateway source code.

 [1] https://github.com/wso2/product-gw

 On Tue, Mar 15, 2016 at 7:45 PM, Chanaka Fernando <
 chana...@wso2.com> wrote:

> Hi Samitha,
>
> The basic idea of a security gateway is to build a server on top
> of the WSO2 gateway core [1] framework which secures the applications 
> on
> your enterprise system. Here are the main features of the security 
> gateway.
>
>- Securing your enterprise services from various attacks (XML
>threat protection, etc.)
>- Controlling the inward traffic to your services (Filtering,
>Throttling)
>- Provides security enforcement like OAuth2 to the services
>- Analytics/Reporting of threats on the system
>
>
> You can clone the gateway source code and build it from the source
> and they try out some simple message flow as a first step. You can 
> find
> samples in the same repository. Then you can study about various 
> threats
> that modern web applications are facing and come up with a project 
> proposal
> which covers the above mentioned main features and advanced threat
> protection features.
>
> Let us know if you need any help.
>
> On Tue, Mar 15, 2016 at 11:49 AM, Ti

Re: [Dev] Carbon Parent POM: Remove Microservices from Manifest

2016-03-21 Thread Samiyuru Senarathne
This was used with deployable jar mode. Since it is not there now, the
header is not used anymore.

On Mon, Mar 21, 2016 at 5:00 PM, Afkham Azeez  wrote:

> Isn't that header used anymore?
>
> On Mon, Mar 21, 2016 at 4:31 PM, Isuru Perera  wrote:
>
>> Hi,
>>
>> Can we remove  element from the Carbon Parent POM [1]?
>>
>> Thanks!
>>
>> Best Regards,
>>
>> [1]
>> https://github.com/wso2/carbon-parent/blob/carbon-parent-3/pom.xml#L419
>>
>> --
>> Isuru Perera
>> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
>> Lean . Enterprise . Middleware
>>
>> about.me/chrishantha
>> Contact: +IsuruPereraWSO2 
>>
>
>
>
> --
> *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] Carbon Parent POM: Remove Microservices from Manifest

2016-03-21 Thread Aruna Karunarathna
On Mon, Mar 21, 2016 at 4:31 PM, Isuru Perera  wrote:

> Hi,
>
> Can we remove  element from the Carbon Parent POM [1]?
>

Can you please create a jira so that we could remove it in the next
carbon-parent release.

Regards,
Aruna

>
> Thanks!
>
> Best Regards,
>
> [1]
> https://github.com/wso2/carbon-parent/blob/carbon-parent-3/pom.xml#L419
>
> --
> Isuru Perera
> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> about.me/chrishantha
> Contact: +IsuruPereraWSO2 
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Aruna Sujith Karunarathna *
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 9040362 | Work: +94 112145345
Email: ar...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] User's can disable their own accounts

2016-03-21 Thread Dilini Gunatilake
Hi Pushpalanka,

Any update on this? Is there any change done in the Alpha release?

Regards,
Dilini

On Fri, Mar 11, 2016 at 12:39 PM, Pushpalanka Jayawardhana 
wrote:

> Hi Dilini,
>
> Intended use of this feature is only for administrators/users with
> user-mgt previlleges to disable/enable user accounts.
> Therefore a user should not be able to disable own account. We discussed
> to hide this claim from user profile UI by default and move the
> disable/enable click to user list view. This is not done yet though.
>
> Will get to you after discussing with the team on our stand on this.
>
> Thanks,
> Pushpalanka.
> --
> Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
> Senior Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
> Mobile: +94779716248
> Blog: pushpalankajaya.blogspot.com/ | LinkedIn:
> lk.linkedin.com/in/pushpalanka/ | Twitter: @pushpalanka
>
>
> On Fri, Mar 11, 2016 at 12:30 PM, Dilini Gunatilake 
> wrote:
>
>> Hi IS Team,
>>
>> When identifying test scenarios for User Account Disability feature in IS
>> 520, I noticed that users can disable their own accounts and carry out work
>> until the session expires or they log out. But the system will throw
>> exceptions for the operations they do in both management console and
>> dashboard. eg: change the password
>>
>> What should be the ideal behaviour in this scenario? Should the user have
>> privileges to disable their own account?
>>
>> Thank you,
>>
>> Regards,
>>
>> --
>>
>> *Dilini GunatilakeSoftware Engineer - QA Team*
>> Mobile : +94 (0) 771 162518
>> dili...@wso2.com
>>
>
>


-- 

*Dilini GunatilakeSoftware Engineer - QA Team*
Mobile : +94 (0) 771 162518
dili...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Namespaces and Attributes in JSON Schema

2016-03-21 Thread Sohani Weerasinghe
Hi All,

As per the offline discussion we had, shall we proceed with the following
approach?

1. All namespaces used in the schema should be listed with preferred prefix
value in the root level of the schema under "namespaces" field as an JSON
Array

 *"namespaces":[{ "prefix":"ns1", "url":"http://employee.lastname
"},{"prefix":"ns2", "url":"http://namespace.test
"}]*

2. Instead of  using the "xmlns" field, use the prefix in each element as
shown below

   "*ns1*:firstname":{
 "id":"http://jsonschema.net/employee/0/firstname";,
 "type":"string"
  }"

Additionally, when generating the tree view we can validate if the added
prefix is available in the "namespaces" field.

Please find the updated schema with namespaces

{
   "$schema":"http://json-schema.org/draft-04/schema#";,
   "id":"http://jsonschema.net";,
   "title":"*ns1*:employees",
   "type":"object",
   "properties":{
  "*ns1*:employee":{
 "id":"http://jsonschema.net/employee";,
 "type":"array",
 "items":[
{
   "id":"http://jsonschema.net/employee/0";,
   "type":"object",
   "properties":{
  "*ns1*:firstname":{
 "id":"http://jsonschema.net/employee/0/firstname";,
 "type":"string"
  },
  "*ns2*:lastname":{
 "id":"http://jsonschema.net/employee/0/lastname";,
 "type":"string"
  }
   },
   "required":[
  "firstname",
  "lastname"
   ]
}
 ],
 "required":[
"arrayRequired"
 ]
  }
   },
   "required":[
  "employees"
   ],
  *"namespaces":[{ "prefix":"ns1", "url":"http://employee.lastname
"},{"prefix":"ns2", "url":"http://namespace.test
"}]*
}

Thanks,
Sohani

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

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

On Mon, Mar 21, 2016 at 1:53 PM, Nuwan Pallewela  wrote:

> Hi All,
>
> We have discussed to go as the following to represent name-spaces in data
> mapper JSON schema's.
>
>
>- Each element can represent with a name-space value by using* "xmlns"
>*field and url value as a JSON string.
>   - "firstname":{
>"id":"
>   http://jsonschema.net/employee/0/firstname";,
>"type":"string",
>"xmlns":"http://namespace.test";
> }"
>- And all name-spaces used in the schema should be listed with
>preferred prefix value in the root level of the schema under
>*"namespace"* field as a JSON Array of namespace JSON objects.
>   - Eg: "namespaces": [ { "prefix":"ns1", "url":"
>   http://employee.lastname"} , {"prefix":"ns2", "url":"
>   http://namespace.test"} ]
>- Name-space JSON object should contain two fields as* "prefix" *and *"url"
>   *with JSON String values.
>  - { "prefix":"ns1", "url":"http://employee.lastname"}
>
> Following schema shows a sample JSON schema for data mapper with
> name-spaces.
> {
>"$schema":"http://json-schema.org/draft-04/schema#";,
>"id":"http://jsonschema.net";,
>"title":"employees",
>"type":"object",
>*"xmlns":"http://namespace.test ",*
>"properties":{
>   "employee":{
>  "id":"http://jsonschema.net/employee";,
>  "type":"array",
>  *"xmlns":"http://namespace.test ",*
>  "items":[
> {
>"id":"http://jsonschema.net/employee/0";,
>"type":"object",
>"properties":{
>   "firstname":{
>  "id":"http://jsonschema.net/employee/0/firstname";,
>  "type":"string",
>  *"xmlns":"http://namespace.test
> "*
>   },
>   "lastname":{
>  "id":"http://jsonschema.net/employee/0/lastname";,
>  "type":"string",
>  *"xmlns":"http://employee.lastname
> "*
>   }
>},
>"required":[
>   "firstname",
>   "lastname"
>]
> }
>  ],
>  "required":[
> "arrayRequired"
>  ]
>   }
>},
>"required":[
>   "employees"
>],
>   *"namespaces":[{ "prefix":"ns1", "url":"http://employee.lastname
> "},{"prefix":"ns2", "url":"http://namespace.test
> "}]*
> }
>
> Thanks,
> Nuwan
>
>
> On Fri, Mar 18, 2016 at 3:52 PM, Ma

Re: [Dev] GSOC 2016 - Project 21 : Review Proposal

2016-03-21 Thread Chamila Wijayarathna
Hi Asantha,

Thanks for sending your proposal. It seems to be in good shape, but I would
like to suggest few more improvements.

   1.  You have mentioned you are implementing Custom User Store Manager by
   extending JDBCUserStoreManager. But actually you have to extend
   AbstractUserStoreManager. I think you have done this correctly in the code
   you sent previously. Please correct this.
   2. I think by custom user store manager, you have meant mongoDB user
   store manager you are planning to implement, in most places. Its better to
   mention specifically as MongoDBUserStoreManager than saying custom user
   store manager.
   3. You have mentioned about "Implement a proper encryption mechanism to
   overcome the security hauls in custom User store Manager.".  Can you be
   more specific on what are the security holes you are talking about. AFAIK
   encryption mechanisms we are currently using are quite ok and if there are
   no any strong reasons, I suggest you to follow the existing mechanisms.
   4. It would be great if you can allocate 1-2 weeks for doing a small
   research on how other NoSQL databases such as CouchDB, Neo4j can be used to
   implement an user store in IS. By looking at your time line, I think it
   would be possible to allocate some time for this in the 2nd half of the
   programme. We can do this if time permits, but its better to mention it in
   your proposal as optional (I believe it would make the project more
   complete).

Looking forward to see your proposal.

Good Luck!

On Mon, Mar 21, 2016 at 5:15 PM, Asantha Thilina 
wrote:

> Hi All,
>
> here  i attached my project proposal for GSOC 2016 Project 21  for your
> kind consideration,
> I kindly request your feedback and thought on it.
>
> Thanks,
> Asantha
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Chamila Dilshan Wijayarathna,*
Software Engineer
Mobile:(+94)788193620
WSO2 Inc., http://wso2.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Fwd: [GSoC 16'] Proposal 20: [IS] SCIM 2.0 Support to WSO2 Identity Server

2016-03-21 Thread Manujith Pallewatte
Hi,

I'm Manujith Pallewatte, a 2nd year undergraduate from Department of
Computer Science and Engineering, University of Moratuwa. I'm interested in
doing project for WSO2 for GSoC 2016.

I already picked Proposal 20 considering my capabilities and interest in
the area.
As a Oracle certified java programmer I have a firm hand on Java, and I
have developed several REST APIs on top of different platforms (like google
app engine). And currently I'm reading on SCIM specification.

So far, I cloned the *product-is* repo (https://github.com/wso2/product-is)
which i believe to be the source of Identity Server and then build it. I
played around with the system a bit and now trying to connect different
services to it.

So I want to know if I'm going in the wrong direction (with the objective
of working for the above proposal) and please give me some suggestions to
read or work on to improve my familiarity with the system.

Thank You
-- 



[image: Manujith Pallewatte on about.me]

Manujith Pallewatte
about.me/manzzup
  



-- 



[image: Manujith Pallewatte on about.me]

Manujith Pallewatte
about.me/manzzup
  
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSOC 2016 - Project 21 : Review Proposal

2016-03-21 Thread Asantha Thilina
Hi Chamila,

Thanks a lot for your valuable feedback as you suggested i corrected my
project proposal and here i attached my finalize project proposal

expecting your feedback

Thanks,
Asantha

On Mon, Mar 21, 2016 at 5:44 AM, Chamila Wijayarathna 
wrote:

> Hi Asantha,
>
> Thanks for sending your proposal. It seems to be in good shape, but I
> would like to suggest few more improvements.
>
>1.  You have mentioned you are implementing Custom User Store Manager
>by extending JDBCUserStoreManager. But actually you have to extend
>AbstractUserStoreManager. I think you have done this correctly in the code
>you sent previously. Please correct this.
>2. I think by custom user store manager, you have meant mongoDB user
>store manager you are planning to implement, in most places. Its better to
>mention specifically as MongoDBUserStoreManager than saying custom user
>store manager.
>3. You have mentioned about "Implement a proper encryption mechanism
>to overcome the security hauls in custom User store Manager.".  Can you be
>more specific on what are the security holes you are talking about. AFAIK
>encryption mechanisms we are currently using are quite ok and if there are
>no any strong reasons, I suggest you to follow the existing mechanisms.
>4. It would be great if you can allocate 1-2 weeks for doing a small
>research on how other NoSQL databases such as CouchDB, Neo4j can be used to
>implement an user store in IS. By looking at your time line, I think it
>would be possible to allocate some time for this in the 2nd half of the
>programme. We can do this if time permits, but its better to mention it in
>your proposal as optional (I believe it would make the project more
>complete).
>
> Looking forward to see your proposal.
>
> Good Luck!
>
> On Mon, Mar 21, 2016 at 5:15 PM, Asantha Thilina  > wrote:
>
>> Hi All,
>>
>> here  i attached my project proposal for GSOC 2016 Project 21  for your
>> kind consideration,
>> I kindly request your feedback and thought on it.
>>
>> Thanks,
>> Asantha
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Chamila Dilshan Wijayarathna,*
> Software Engineer
> Mobile:(+94)788193620
> WSO2 Inc., http://wso2.com/
>


Proposal (2) (1).docx
Description: MS-Word 2007 document
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Representing Arrays in JSON schema

2016-03-21 Thread Sohani Weerasinghe
Hi All,

As per the offline discussion we had, please find the summary of
representing the arrays in JSON Schema.

If we consider an xml which contains an array of Ids, (Id) which does not
contain any items inside it,

eg:

   
  false
  01gD001vELkIAM-400
  
* 001D00HS2PPIA1*
* 001D00HS2PPIA1*
  
   427
 
   

Then, the expected json schema should be as follows

"sf:records": {
"id": "http://jsonschema.net/queryMoreResponse/result/sf:records";,
"type": "array",
"items": [{
"id": "http://jsonschema.net/queryMoreResponse/result/sf:records/0";,
"type": "object",
"properties": {
"sf:Id": {
"id":"http://jsonschema.net/queryMoreResponse/result/sf:records/0/sf:Id";,
"type": "array",
*"items": []*
}
}
}]
}

If we have elements inside, then we can add those as items accordingly.

Please find the image which represents the array as shown below



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

Mobile  : +94 716439774
Blog :http://christinetechtips.blogspot.com/
Twitter  : https://twitter.com/sohanichristine
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSOC 2016 - Project 21 : Review Proposal

2016-03-21 Thread Chamila Wijayarathna
Hi Asantha,

Looks good, please talk with Tharindu also before submitting the proposal.
Even you submit your proposal, you can improve it until 25th.

So if time permits, I would like to suggest you to add some details about
what are the APIs and functions you are going to expose after developing
this new user store manager, if you have already decided on them. Since you
may have went through the codes of existing user store managers, you may
already have an idea about what are the functions you need to exposed to
outside. So if can add at least few functions you are going to expose with
some details, it would make your proposal more attractive. Also I would
like to suggest you to add link of github repo where you have started
development. Also if you have written any blogs related to the project,
mongoDB, etc. please mention them also in your proposal.

Also I see some formatting issues and some dates has got repeated in your
timeline, hope you will correct the when submitting proposal at GSoC site.

Cheers!

On Mon, Mar 21, 2016 at 9:18 PM, Asantha Thilina 
wrote:

> Hi Chamila,
>
> Thanks a lot for your valuable feedback as you suggested i corrected my
> project proposal and here i attached my finalize project proposal
>
> expecting your feedback
>
> Thanks,
> Asantha
>
> On Mon, Mar 21, 2016 at 5:44 AM, Chamila Wijayarathna 
> wrote:
>
>> Hi Asantha,
>>
>> Thanks for sending your proposal. It seems to be in good shape, but I
>> would like to suggest few more improvements.
>>
>>1.  You have mentioned you are implementing Custom User Store Manager
>>by extending JDBCUserStoreManager. But actually you have to extend
>>AbstractUserStoreManager. I think you have done this correctly in the code
>>you sent previously. Please correct this.
>>2. I think by custom user store manager, you have meant mongoDB user
>>store manager you are planning to implement, in most places. Its better to
>>mention specifically as MongoDBUserStoreManager than saying custom user
>>store manager.
>>3. You have mentioned about "Implement a proper encryption mechanism
>>to overcome the security hauls in custom User store Manager.".  Can you be
>>more specific on what are the security holes you are talking about. AFAIK
>>encryption mechanisms we are currently using are quite ok and if there are
>>no any strong reasons, I suggest you to follow the existing mechanisms.
>>4. It would be great if you can allocate 1-2 weeks for doing a small
>>research on how other NoSQL databases such as CouchDB, Neo4j can be used 
>> to
>>implement an user store in IS. By looking at your time line, I think it
>>would be possible to allocate some time for this in the 2nd half of the
>>programme. We can do this if time permits, but its better to mention it in
>>your proposal as optional (I believe it would make the project more
>>complete).
>>
>> Looking forward to see your proposal.
>>
>> Good Luck!
>>
>> On Mon, Mar 21, 2016 at 5:15 PM, Asantha Thilina <
>> asanthathil...@gmail.com> wrote:
>>
>>> Hi All,
>>>
>>> here  i attached my project proposal for GSOC 2016 Project 21  for your
>>> kind consideration,
>>> I kindly request your feedback and thought on it.
>>>
>>> Thanks,
>>> Asantha
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Chamila Dilshan Wijayarathna,*
>> Software Engineer
>> Mobile:(+94)788193620
>> WSO2 Inc., http://wso2.com/
>>
>
>


-- 
*Chamila Dilshan Wijayarathna,*
Software Engineer
Mobile:(+94)788193620
WSO2 Inc., http://wso2.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [GSoC 16'] Proposal 20: [IS] SCIM 2.0 Support to WSO2 Identity Server [Adding Mentors]

2016-03-21 Thread Manujith Pallewatte
Hi,

I'm Manujith Pallewatte, a 2nd year undergraduate from Department of
Computer Science and Engineering, University of Moratuwa. I'm interested in
doing project for WSO2 for GSoC 2016.

I already picked Proposal 20 considering my capabilities and interest in
the area.
As a Oracle certified java programmer I have a firm hand on Java, and I
have developed several REST APIs on top of different platforms (like google
app engine). And currently I'm reading on SCIM specification.

So far, I cloned the *product-is* repo (https://github.com/wso2/product-is)
which i believe to be the source of Identity Server and then build it. I
played around with the system a bit and now trying to connect different
services to it.

So I want to know if I'm going in the right direction (with the objective
of working for the above proposal) and please give me some suggestions to
read or work on to improve my familiarity with the system.

Thank You

-- 



[image: Manujith Pallewatte on about.me]

Manujith Pallewatte
about.me/manzzup
  
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSOC 2016 - Project 21 : Review Proposal

2016-03-21 Thread Asantha Thilina
Hi Chamila,

Thanks a lot for the feedback, sure i will update my proposal as you
suggested

Thanks,
Asantha

On Mon, Mar 21, 2016 at 9:18 AM, Chamila Wijayarathna 
wrote:

> Hi Asantha,
>
> Looks good, please talk with Tharindu also before submitting the proposal.
> Even you submit your proposal, you can improve it until 25th.
>
> So if time permits, I would like to suggest you to add some details about
> what are the APIs and functions you are going to expose after developing
> this new user store manager, if you have already decided on them. Since you
> may have went through the codes of existing user store managers, you may
> already have an idea about what are the functions you need to exposed to
> outside. So if can add at least few functions you are going to expose with
> some details, it would make your proposal more attractive. Also I would
> like to suggest you to add link of github repo where you have started
> development. Also if you have written any blogs related to the project,
> mongoDB, etc. please mention them also in your proposal.
>
> Also I see some formatting issues and some dates has got repeated in your
> timeline, hope you will correct the when submitting proposal at GSoC site.
>
> Cheers!
>
> On Mon, Mar 21, 2016 at 9:18 PM, Asantha Thilina  > wrote:
>
>> Hi Chamila,
>>
>> Thanks a lot for your valuable feedback as you suggested i corrected my
>> project proposal and here i attached my finalize project proposal
>>
>> expecting your feedback
>>
>> Thanks,
>> Asantha
>>
>> On Mon, Mar 21, 2016 at 5:44 AM, Chamila Wijayarathna 
>> wrote:
>>
>>> Hi Asantha,
>>>
>>> Thanks for sending your proposal. It seems to be in good shape, but I
>>> would like to suggest few more improvements.
>>>
>>>1.  You have mentioned you are implementing Custom User Store
>>>Manager by extending JDBCUserStoreManager. But actually you have to 
>>> extend
>>>AbstractUserStoreManager. I think you have done this correctly in the 
>>> code
>>>you sent previously. Please correct this.
>>>2. I think by custom user store manager, you have meant mongoDB user
>>>store manager you are planning to implement, in most places. Its better 
>>> to
>>>mention specifically as MongoDBUserStoreManager than saying custom user
>>>store manager.
>>>3. You have mentioned about "Implement a proper encryption mechanism
>>>to overcome the security hauls in custom User store Manager.".  Can you 
>>> be
>>>more specific on what are the security holes you are talking about. AFAIK
>>>encryption mechanisms we are currently using are quite ok and if there 
>>> are
>>>no any strong reasons, I suggest you to follow the existing mechanisms.
>>>4. It would be great if you can allocate 1-2 weeks for doing a small
>>>research on how other NoSQL databases such as CouchDB, Neo4j can be used 
>>> to
>>>implement an user store in IS. By looking at your time line, I think it
>>>would be possible to allocate some time for this in the 2nd half of the
>>>programme. We can do this if time permits, but its better to mention it 
>>> in
>>>your proposal as optional (I believe it would make the project more
>>>complete).
>>>
>>> Looking forward to see your proposal.
>>>
>>> Good Luck!
>>>
>>> On Mon, Mar 21, 2016 at 5:15 PM, Asantha Thilina <
>>> asanthathil...@gmail.com> wrote:
>>>
 Hi All,

 here  i attached my project proposal for GSOC 2016 Project 21  for your
 kind consideration,
 I kindly request your feedback and thought on it.

 Thanks,
 Asantha


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


>>>
>>>
>>> --
>>> *Chamila Dilshan Wijayarathna,*
>>> Software Engineer
>>> Mobile:(+94)788193620
>>> WSO2 Inc., http://wso2.com/
>>>
>>
>>
>
>
> --
> *Chamila Dilshan Wijayarathna,*
> Software Engineer
> Mobile:(+94)788193620
> WSO2 Inc., http://wso2.com/
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Fwd: [GSoC 16'] Proposal 20: [IS] SCIM 2.0 Support to WSO2 Identity Server

2016-03-21 Thread Pubudu Fernando
[adding mentors]

On Mon, Mar 21, 2016 at 8:35 PM, Manujith Pallewatte 
wrote:

> Hi,
>
> I'm Manujith Pallewatte, a 2nd year undergraduate from Department of
> Computer Science and Engineering, University of Moratuwa. I'm interested in
> doing project for WSO2 for GSoC 2016.
>
> I already picked Proposal 20 considering my capabilities and interest in
> the area.
> As a Oracle certified java programmer I have a firm hand on Java, and I
> have developed several REST APIs on top of different platforms (like google
> app engine). And currently I'm reading on SCIM specification.
>
> So far, I cloned the *product-is* repo (https://github.com/wso2/product-is)
> which i believe to be the source of Identity Server and then build it. I
> played around with the system a bit and now trying to connect different
> services to it.
>
> So I want to know if I'm going in the wrong direction (with the objective
> of working for the above proposal) and please give me some suggestions to
> read or work on to improve my familiarity with the system.
>
> Thank You
> --
>
>
>
> [image: Manujith Pallewatte on about.me]
>
> Manujith Pallewatte
> about.me/manzzup
>   
>
>
>
> --
>
>
>
> [image: Manujith Pallewatte on about.me]
>
> Manujith Pallewatte
> about.me/manzzup
>   
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Pubudu Fernando*
Software Engineer - Intern
WSO2 Inc.
m: +94 77 888 2543

  


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


Re: [Dev] Fwd: [GSoC 16'] Proposal 20: [IS] SCIM 2.0 Support to WSO2 Identity Server

2016-03-21 Thread Omindu Rathnaweera
Hi Manujith,

Thank you for showing interest in the project. Unfortunately we have
decided to remove the project from the project proposals list since we need
to add the scim 2.0 support to an upcoming release which is scheduled to be
done prior to the GSoC project period. We apologize for any inconvenience
this may have caused.

We have included a new project [1] to add *SAML Assertion Query/Request
Profile support for WSO2 Identity Server*. If interested, you can go
through the project details and submit a proposal for the new project or
one of the other Identity Server projects (project 22 & 23). If you have
any questions, feel free to raise.

[1] -
https://docs.wso2.com/display/GSoC/Project+Proposals+for+2016#ProjectProposalsfor2016-Proposal20:[IS]SAMLAssertionQuery/RequestProfilesupportforWSO2IdentityServer

Thanks,
Omindu.

On Mon, Mar 21, 2016 at 9:59 PM, Pubudu Fernando  wrote:

> [adding mentors]
>
> On Mon, Mar 21, 2016 at 8:35 PM, Manujith Pallewatte <
> manujith...@gmail.com> wrote:
>
>> Hi,
>>
>> I'm Manujith Pallewatte, a 2nd year undergraduate from Department of
>> Computer Science and Engineering, University of Moratuwa. I'm interested in
>> doing project for WSO2 for GSoC 2016.
>>
>> I already picked Proposal 20 considering my capabilities and interest in
>> the area.
>> As a Oracle certified java programmer I have a firm hand on Java, and I
>> have developed several REST APIs on top of different platforms (like google
>> app engine). And currently I'm reading on SCIM specification.
>>
>> So far, I cloned the *product-is* repo (
>> https://github.com/wso2/product-is) which i believe to be the source of
>> Identity Server and then build it. I played around with the system a bit
>> and now trying to connect different services to it.
>>
>> So I want to know if I'm going in the wrong direction (with the objective
>> of working for the above proposal) and please give me some suggestions to
>> read or work on to improve my familiarity with the system.
>>
>> Thank You
>> --
>>
>>
>>
>> [image: Manujith Pallewatte on about.me]
>>
>> Manujith Pallewatte
>> about.me/manzzup
>>   
>>
>>
>>
>> --
>>
>>
>>
>> [image: Manujith Pallewatte on about.me]
>>
>> Manujith Pallewatte
>> about.me/manzzup
>>   
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Pubudu Fernando*
> Software Engineer - Intern
> WSO2 Inc.
> m: +94 77 888 2543
>
>   
> 
> 
>
>


-- 
Omindu Rathnaweera
Software Engineer, WSO2 Inc.
Mobile: +94 771 197 211
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC 2016

2016-03-21 Thread Omindu Rathnaweera
Hi Inzamam,

Thank you for showing interest in the project. Unfortunately we have
decided to remove the project from the project proposals list since we need
to add the scim 2.0 support to an upcoming release which is scheduled to be
done prior to the GSoC project period. We apologize for any inconvenience
this may have caused.

We have included a new project [1] to add *SAML Assertion Query/Request
Profile support for WSO2 Identity Server*. If interested, you can go
through the project details and submit a proposal for the new project or
one of the other Identity Server projects (project 22 & 23). If you have
any questions, feel free to raise.

[1] -
https://docs.wso2.com/display/GSoC/Project+Proposals+for+2016#ProjectProposalsfor2016-Proposal20:[IS]SAMLAssertionQuery/RequestProfilesupportforWSO2IdentityServer

Thanks,
Omindu.

On Wed, Mar 16, 2016 at 5:31 PM, Tharindu Edirisinghe 
wrote:

> +Inzamam
>
> On Wed, Mar 16, 2016 at 5:30 PM, Tharindu Edirisinghe 
> wrote:
>
>> Hi Johann/Omindu,
>>
>> Can you please guide Inzamam with the details of the SCIM 2.0 project or
>> else any suitable project that he would be interested in.
>>
>> Thanks,
>> TharinduE
>>
>> -- Forwarded message --
>> From: inzimam iqbal 
>> Date: Wed, Mar 16, 2016 at 3:57 PM
>> Subject: Fwd: GSoC 2016
>> To: tharin...@wso2.com
>>
>>
>> Hi,
>>
>> I’m Inzamam, student of Faculty of Engineering, University of Moratuwa.
>> I’m interested in the project 20 - making the WSO2 identity server
>> compatible with SCIM 2.0. I’m familiar with java and developing web
>> services. I’m familiarizing my self with SCIM. Please direct me in the
>> right direction.
>>
>> Thank you
>>
>>
>>
>>
>> --
>>
>> Tharindu Edirisinghe
>> Software Engineer | WSO2 Inc
>> Platform Security Team
>> Blog : tharindue.blogspot.com
>> mobile : +94 775181586
>>
>
>
>
> --
>
> Tharindu Edirisinghe
> Software Engineer | WSO2 Inc
> Platform Security Team
> Blog : tharindue.blogspot.com
> mobile : +94 775181586
>



-- 
Omindu Rathnaweera
Software Engineer, WSO2 Inc.
Mobile: +94 771 197 211
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoc 2016-Proposal 16

2016-03-21 Thread nathieshamaddage
Hi all,




I will add the additional features to the project as you have suggested

I tried creating a draft high level architecture diagram for the project. And I 
also started with creating the draft proposal. The link is given below.




https://docs.google.com/document/d/12JqluYhlcWAN8kqxfTcwVrH_ylKaf3sNvevodOxwRho/edit?usp=sharing




The draft architecture diagram and its components are briefly described their. 
I didn't completed the implementation part and other latter parts completely 
yet. 




Regarding the architecture diagram, please let me know if that fits the purpose 
or any changes need to be done? For some use cases, I have denoted in the 
diagram as separate modules for easy visualization and scalability purposes. 
But certain modules can be integrated together into a single module if needed, 
during implementation.




And regarding the format of the proposal, have I missed anything? Do I need to 
include anything else? Please let me know your idea about that.




Thanks and regards




Nathiesha






Sent from Windows Mail





From: Awanthika Senarath
Sent: ‎Monday‎, ‎March‎ ‎21‎, ‎2016 ‎8‎:‎07‎ ‎AM
To: Nathiesha Maddage
Cc: dev@wso2.org, Jasintha Dasanayake





Hello Nathiesha ,



Please find my comments inline,






Regarding the Dev Studio, what  type of users are using it? Is it for the 
internal developers, external developers or for both? And when reporting the 
errors for the wso2 Jira, other than the information about the error, what 
information about users should be collected? I hope name and email would be 
sufficient enough.




It is for both. mainly it is for artifact development for WSO2 products and 
hence majority of the users are our customers, which would fall into external 
developers according to your categorization.




When considering the error reporting tool plugin found in Eclipse Mars, it 
provides a feature for the user to anonymize stack trace and anonymize messages 
if it contains sensitive data. Will that feature be useful for this proposed 
plugin as well?




Yes, +1. This would be a required feature since customers may have sensitive 
data they need to hide before reporting the error.




Other than the automatic error reporting to the wso2 Jira, an additional 
feature can be added to the plugin for the user to enter an email address, if 
he wishes to send the error report to some person/mailing list, only if that is 
useful. Furthermore should the plugin provide a way to contact the development 
team through the IDE? Like may be a menu item, that pops up a window that 
allows user to send a message/email to the development team? Or is it just the 
automated error reporting functionality expected?




We need to discuss this internally in the team. I'll provide you feedback later 
on this. 




Regarding the Jira wso2 online supporting system, I came through Jira Rest APIs 
that allows to access Jira services. Can those be used to access wso2 online 
supporting system as well? Or is there any other way or separate API for wso2 
online supporting system ?




You can use Jira rest APIs to access WSO2 support JIRA system.




And as additional features, would it be useful if reporter is provided on a 
feedback, where reporter can track the error and view the progress if he is 
interested? And also maybe to keep track of the errors sent previously and skip 
reporting the similar errors?




+1 these would be interesting features to have if you can integrate them with 
the task given. 







Regards

Awanthika











Awanthika Senarath
Software Engineer, WSO2 Inc.

Mobile: +94717681791




On Sun, Mar 20, 2016 at 8:15 PM,  wrote:




Hi ,




Thank you. I will look into the ‘IDeveloperStudioLog’ class to get an idea 
about the logging information.




I’ve got some more questions regarding the project and developer studio. 




Regarding the Dev Studio, what  type of users are using it? Is it for the 
internal developers, external developers or for both? And when reporting the 
errors for the wso2 Jira, other than the information about the error, what 
information about users should be collected? I hope name and email would be 
sufficient enough. 

When considering the error reporting tool plugin found in Eclipse Mars, it 
provides a feature for the user to anonymize stack trace and anonymize messages 
if it contains sensitive data. Will that feature be useful for this proposed 
plugin as well?




Other than the automatic error reporting to the wso2 Jira, an additional 
feature can be added to the plugin for the user to enter an email address, if 
he wishes to send the error report to some person/mailing list, only if that is 
useful. Furthermore should the plugin provide a way to contact the development 
team through the IDE? Like may be a menu item, that pops up a window that 
allows user to send a message/email to the development team? Or is it just the 
automated error reporting functionality expected? 




Regarding the Jira wso2 online su

Re: [Dev] Custom fragment bundle does not get attached to the system bundle

2016-03-21 Thread Sameera Jayasoma
Hi Thanuja

You need to use following syntax for the Fragment-Host header. You cannot
attached to the system bundle with the default Fragment-Host syntax.

A fragment bundle which attach to the system.bundle is called an *Extension
Bundle*.

Fragment-Host: system.bundle; extension:=framework
see
https://github.com/wso2/carbon-kernel/blob/4.4.x/core/org.wso2.carbon.framework.exporter/pom.xml

Thanks,
Sameera.

On Sat, Mar 19, 2016 at 5:36 PM, Thanuja Jayasinghe 
wrote:

> Hi All,
>
> I'm trying to attach "org.wso2.carbon.jaas.boot" [attached to the mail] as
> an extension bundle to the system bundle to make "ProxyLoginModule" class
> available for all modules. I have used following configuration under
> ,
>
> 
> org.eclipse.osgi;bundle-version="3.10.2.v20150203-1939"
> 
>
> But this does not works as expected. I have tried attaching the same
> bundle to the "org.eclipse.osgi.services" bundle as follows and it works
> fine,
>
> 
> org.eclipse.osgi.services;bundle-version="3.4.0.v20140312-2051"
> 
>
>
>
>
> Any idea how to solve this?
>
> Thanks,
> Thanuja
>
> --
> *Thanuja Lakmal*
> Senior Software Engineer
> WSO2 Inc. http://wso2.com/
> *lean.enterprise.middleware*
> Mobile: +94715979891 +94758009992
>



-- 
Sameera Jayasoma,
Software Architect,

WSO2, Inc. (http://wso2.com)
email: same...@wso2.com
blog: http://blog.sameera.org
twitter: https://twitter.com/sameerajayasoma
flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
Mobile: 0094776364456

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


Re: [Dev] gsoc project

2016-03-21 Thread Sajith Kariyawasam
You only need to update "java_source_file" parameter. Isuru has clearly
mentioned about that.
Keep the other parameters as it is. No need to change those.
Copy the jdk archive into puppet-modules-master/modules/wso2base/files
location and update the java_source_file parameter to the exact same name
of the JDK

On Mon, Mar 21, 2016 at 7:55 PM, Hardik Patel  wrote:

> Hi, Isuru
>
> I have edit the common.yaml file[1].
> as per the file I have set environment variable and tried to build
> image. But it again failed.
> [2] and [3] image are error generated.
>
>
>
> On 21/03/2016, Isuru Haththotuwa  wrote:
> > Hi Hardik,
> >
> > Please update puppet-modules/hieradata/dev/common.yaml file's
> > 'java_source_file' parameter with the correct name for the JDK archive
> that
> > you are using.
> >
> > On Mon, Mar 21, 2016 at 4:47 PM, Hardik Patel 
> > wrote:
> >
> >> Hi,
> >>
> >> this error comes
> >>
> >> I also have set environment variable for JAVA_HOME pointing to
> >> jdk-7.tar.gz file in puppet-module/module/wso2base/files.
> >>
> >>
> >> On 21/03/2016, Sajith Kariyawasam  wrote:
> >> > correct. What's the error message you are getting?
> >> > You have to copy wso2am-1.10.zip file and Jdk to puppet modules
> >> >
> >> > On Mon, Mar 21, 2016 at 4:03 PM, Hardik Patel 
> >> > wrote:
> >> >
> >> >> Hi,
> >> >>
> >> >> I have also tried that one but it again failed...
> >> >>
> >> >> I have entered this command "./build.sh -v 1.10.0 -i 1.0.0"
> >> >>
> >> >> Is it correct??
> >> >> On Mar 21, 2016 3:58 PM, "Sajith Kariyawasam" 
> wrote:
> >> >>
> >> >>> While building the docker image you might have given (in -v option)
> >> >>> the
> >> >>> api manager version as 1.9.1. If so you need to copy 1.9.1.zip.
> >> >>> But if you want to get it working with api manager 1.10 version, you
> >> >>> need
> >> >>> to pass the correct product version when building (and running) the
> >> >>> image
> >> >>>
> >> >>> On Mon, Mar 21, 2016 at 3:47 PM, Hardik Patel <
> hardikpr...@gmail.com>
> >> >>> wrote:
> >> >>>
> >>  Hi sir
> >> 
> >>  I have already copied wso2am-1.10.1.zip
> >> 
> >>  Is it OK???
> >> 
> >>  Or I have to switch with 1.9.1??
> >>  On Mar 21, 2016 7:39 AM, "Chamila De Alwis" 
> >> wrote:
> >> 
> >> > Hi Hardik,
> >> >
> >> > Puppet throws this error when it can't find wso2am-1.9.1.zip file
> >> > at
> >> > your PUPPET_HOME location.
> >> >
> >> > [image: Inline image 1]
> >> >
> >> > It should be copied to /modules/wso2am/files for
> >> > Puppet
> >> > to
> >> > pick it up.
> >> >
> >> >
> >> > Regards,
> >> > Chamila de Alwis
> >> > Committer and PMC Member - Apache Stratos
> >> > Software Engineer | WSO2 | +94772207163
> >> > Blog: code.chamiladealwis.com
> >> >
> >> >
> >> >
> >> > On Sun, Mar 20, 2016 at 11:33 PM, Hardik Patel <
> >> hardikpr...@gmail.com>
> >> > wrote:
> >> >
> >> >> Hi Isuruh,
> >> >>
> >> >> I tried to build docker images for wso2 product. Here Base image
> >> >> build
> >> >> successfully.
> >> >> but when I tried to build image for API MANAGER it failed.
> >> >>
> >> >> [1] picture shows the failing to build image of api manager.
> >> >> [2] picture shows docker images. I have tried 2 times to build
> >> >> image
> >> >> for api manager so it shows two repository which both have same
> >> size,
> >> >> but no name.
> >> >>
> >> >> I didn't have submitted proposal for gsoc yet. I am confuse which
> >> >> type
> >> >> of app I will create?
> >> >> A Desktop app or web App? How it will connect with openshift and
> >> wso2
> >> >> products?
> >> >> Give me brief about this??
> >> >>
> >> >> If there any other method for deploying wso2 product?Please
> >> >> let
> >> >> me
> >> >> know.
> >> >>
> >> >> I am waiting for your response
> >> >> --
> >> >>
> >> >> Thank You,
> >> >>
> >> >> Hardik Patel
> >> >> about.me/hardikprl94
> >> >>
> >> >> ___
> >> >> 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
> >> 
> >> 
> >> >>>
> >> >>>
> >> >>> --
> >> >>> Sajith Kariyawasam
> >> >>> *Committer and PMC member, Apache Stratos, *
> >> >>> *WSO2 Inc.; http://wso2.com *
> >> >>> *Mobile: 0772269575*
> >> >>>
> >> >>
> >> >
> >> >
> >> > --
> >> > Sajith Kariyawasam
> >> > *Committer and PMC member, Apache Stratos, *
> >> > *WSO2 Inc.; http://wso2.com *
> >> > *Mobile: 0772269575*
> >> >
> >>
> >>
> >> --
> >>
> >> Thank You,
> >>
> >> Hardik Patel
> >> about.me/hardikprl94
> >>
> >
> >
>

Re: [Dev] Native Cloud Support for Running WSO2 Middleware on Apache Mesos

2016-03-21 Thread Imesh Gunaratne
On Mon, Mar 21, 2016 at 11:37 PM, Osura Rathnayake 
wrote:

> Hi sir,
>
> Thank you very much for the quick response. We will look into these and
> keep you posted regarding the progress.
>

It's a pleasure! If you need we could have a Google Hangout on 22nd or 23rd
March.

Thanks

Regards,
> Osura
>
> On Mon, Mar 21, 2016 at 11:22 PM, Imesh Gunaratne  wrote:
>
>> Hi Osura/Sahan,
>>
>> Please try to do the following first:
>>
>>1. Create a free Azure account
>>2. Evaluate virtual machine and container features in Azure. As I saw
>>container support is very primitive at the moment. We can use K8S on Azure
>>for container based deployments. In this project will focus on VM based
>>deployment.
>>3. Go through the Azure API and see how we can identify a group of
>>VMs. On AWS we do this by using security groups. We call this group a
>>cluster.
>>4. Next try to start a WSO2 product in a VM.
>>5. Afterwards will try to implement a Carbon Membership Scheme for
>>Azure using the Azure API and the above grouping feature.
>>6. Next we need to identify how to use native Azure features for
>>implementing following:
>>
>>
>>- Auto healing
>>   - Autoscaling
>>   - Dynamic load balancing
>>   - Multi-tenancy
>>   - Configuration orchestration
>>   - Artifact distribution
>>   - Software update distribution
>>   - Multi-region/cloud deployments
>>   - Centralized logging
>>   - Monitoring
>>   - Metering
>>
>>
>> Thanks
>>
>> On Mon, Mar 21, 2016 at 2:25 PM, Osura Rathnayake 
>> wrote:
>>
>>> Hi Sir,
>>>
>>> Can you please direct us on how we should get started ? As in what would
>>> be the first step and so on.
>>>
>>> regards,
>>> Osura
>>>
>>> On Mon, Mar 14, 2016 at 5:18 PM, Imesh Gunaratne  wrote:
>>>
 Hi Osura,

 Please note that we changed this project description to the following:

 https://docs.wso2.com/display/GSoC/Project+Proposals+for+2016#ProjectProposalsfor2016-Proposal29:[Cloud]NativeCloudSupportforRunningWSO2MiddlewareonMicrosoftAzure

 Thanks

 On Sat, Mar 5, 2016 at 3:25 PM, Osura Rathnayake 
 wrote:

> Hi sir,
>
> I followed the steps in [1].
>
> [1] http://mesos.apache.org/gettingstarted/
>
> thanks and regards
>
> On Sat, Mar 5, 2016 at 3:17 PM, Imesh Gunaratne 
> wrote:
>
>> Can you please explain how you installed Mesos on a Ubuntu machine?
>>
>> Thanks
>>
>>
>> On Saturday, March 5, 2016, Osura Rathnayake 
>> wrote:
>>
>>> Hi Sir,
>>>
>>> We were able to install mesos, docker and WSO2 carbon on a Ubuntu
>>> machine. Furthermore we installed wso2 ESB and AS through docker. 
>>> Currently
>>> we are working on understanding how K8S works in this scenario. After 
>>> that
>>> what would be the next step?
>>>
>>> thanks and regards,
>>> Osura Rathnayake, Sahan Wickramaarachchi, Vishwa Jayaratne, Allan
>>> Barthelot
>>>
>>> On Mon, Feb 29, 2016 at 12:38 PM, Imesh Gunaratne 
>>> wrote:
>>>
 Hi Osura,

 It's nice to hear your interest on this project. The starting point
 would be to install Mesos and see how it works. Then try to deploy a 
 WSO2
 product on Mesos using Docker. Then understand how Carbon clustering 
 works
 including K8S membership scheme [1] we have implemented for the same
 purpose on K8S. Later on move to other native PaaS features needed.

 [1]
 https://github.com/wso2/kubernetes-artifacts/tree/master/common/kubernetes-membership-scheme

 Thanks

 On Mon, Feb 29, 2016 at 12:29 PM, Osura Rathnayake <
 osura...@gmail.com> wrote:

> Dear Sir,
>
> We are a group of 4th year students following the Computer Systems
> and Networking degree program at SLIIT. We are interested in 
> undertaking
> above mentioned project as our 4th year research project.
>
> As 4th year CSN students we have a fairly good understanding in
> PaaS concepts and Java language. We have a basic understanding of 
> basic
> features of WSO2 Carbon.
>
> We were asked to contact you by Senior Lecturer Mr. Lakmal
> Rupasinghe.
> Please get back to us soon.
>
> Regards,
> Osura Rathnayake, Sahan Wickramaarachchi, Vishwa Jayaratne, Allan
> Barthelot
>



 --
 *Imesh Gunaratne*
 Senior Technical Lead
 WSO2 Inc: http://wso2.com
 T: +94 11 214 5345 M: +94 77 374 2057
 W: http://imesh.io
 Lean . Enterprise . Middleware


>>>
>>
>> --
>> *Imesh Gunaratne*
>> Senior Technical Lead
>> WSO2 Inc: http://wso2.com
>> T: +94 11 214 5345 M: +9

Re: [Dev] Error while building ESB using java 8 and maven 3.3

2016-03-21 Thread Riyafa Abdul Hameed
Hi,

The exact error was:

*Installation failed.

One or more certificates rejected. Cannot proceed with installation.*

As suggested in [1] I used a fresh copy of JDK and successfully built the
ESB.

[1] http://mail.wso2.org/mailarchive/dev/2014-November/039151.html

Thank you,
Riyafa

On Mon, Mar 21, 2016 at 9:32 AM, Riyafa Abdul Hameed 
wrote:

> Hi,
>
> I was able to successfully build the ESB using java 7 when
> wso2-axis2-transports, wso2-synapse, carbon-mediation were all built using
> java 7.
> But when I try to build the ESB using java 8 when all the other
> dependencies also were built using java 8 I get the following error:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *Failed to execute goal
> org.wso2.maven:carbon-p2-plugin:1.5.4:materialize-product
> (creating-worker-profile) on project wso2esb-p2-profile: Cannot generate P2
> metadata: P2 publisher return code was 13 -> [Help
> 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.wso2.maven:carbon-p2-plugin:1.5.4:materialize-product
> (creating-worker-profile) on project wso2esb-p2-profile: Cannot generate P2
> metadataat
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
> at
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)at
> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)at
> org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)at
> org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)at
> org.apache.maven.cli.MavenCli.main(MavenCli.java:197)at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)Caused
> by: org.apache.maven.plugin.MojoExecutionException: Cannot generate P2
> metadataat
> org.wso2.maven.p2.MaterializeProductMojo.execute(MaterializeProductMojo.java:106)
> at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
> ... 20 moreCaused by: org.apache.maven.plugin.MojoFailureException: P2
> publisher return code was 13at
> org.wso2.maven.p2.MaterializeProductMojo.deployRepository(MaterializeProductMojo.java:182)
> at
> org.wso2.maven.p2.MaterializeProductMojo.execute(MaterializeProductMojo.java:101)
> ... 22 more*
>
> I am not using eclipse as in issue[1]. I built a direct clone from wso2
> repo[2]
> I have used a clean repo and tried building all again and get the same
> error with java 8.
>
> Please kindly help.
>
>
> [1] http://mail.wso2.org/mailarchive/dev/2014-July/033811.html
> [2] https://github.com/wso2/product-esb.git
>
> Thank you.
> Riyafa
> --
> Riyafa Abdul Hameed
> Software Engineering intern, WSO2
>
> Email: riy...@wso2.com
> Website: https://riyafa.wordpress.com/ 
>   
> 
>



-- 
Riyafa Abdul Hameed
Software Engineering intern, WSO2

Email: riy...@wso2.com
Website: https://riyafa.wordpress.com/ 
  

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


Re: [Dev] GSoc 2016-Proposal 16

2016-03-21 Thread Awanthika Senarath
Hello Nathiesha,

This seems good. Let us know once you have completed the document. I will
get back to you on the un-answered questions in your previous emails ASAP.

Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Mon, Mar 21, 2016 at 11:20 PM,  wrote:

> Hi all,
>
> I will add the additional features to the project as you have suggested
> I tried creating a draft high level architecture diagram for the project.
> And I also started with creating the draft proposal. The link is given
> below.
>
>
> https://docs.google.com/document/d/12JqluYhlcWAN8kqxfTcwVrH_ylKaf3sNvevodOxwRho/edit?usp=sharing
>
> The draft architecture diagram and its components are briefly described
> their. I didn't completed the implementation part and other latter parts
> completely yet.
>
> Regarding the architecture diagram, please let me know if that fits the
> purpose or any changes need to be done? For some use cases, I have denoted
> in the diagram as separate modules for easy visualization and scalability
> purposes. But certain modules can be integrated together into a single
> module if needed, during implementation.
>
> And regarding the format of the proposal, have I missed anything? Do I
> need to include anything else? Please let me know your idea about that.
>
> Thanks and regards
>
> Nathiesha
>
> Sent from Windows Mail
>
> *From:* Awanthika Senarath 
> *Sent:* ‎Monday‎, ‎March‎ ‎21‎, ‎2016 ‎8‎:‎07‎ ‎AM
> *To:* Nathiesha Maddage 
> *Cc:* dev@wso2.org, Jasintha Dasanayake 
>
> Hello Nathiesha ,
>
> Please find my comments inline,
>
>
> Regarding the Dev Studio, what  type of users are using it? Is it for the
> internal developers, external developers or for both? And when reporting
> the errors for the wso2 Jira, other than the information about the error,
> what information about users should be collected? I hope name and email
> would be sufficient enough.
>
> It is for both. mainly it is for artifact development for WSO2 products
> and hence majority of the users are our customers, which would fall into
> external developers according to your categorization.
>
> When considering the error reporting tool plugin found in Eclipse Mars, it
> provides a feature for the user to anonymize stack trace and anonymize
> messages if it contains sensitive data. Will that feature be useful for
> this proposed plugin as well?
>
> Yes, +1. This would be a required feature since customers may have
> sensitive data they need to hide before reporting the error.
>
> Other than the automatic error reporting to the wso2 Jira, an
> additional feature can be added to the plugin for the user to enter an
> email address, if he wishes to send the error report to some person/mailing
> list, only if that is useful. Furthermore should the plugin provide a way
> to contact the development team through the IDE? Like may be a menu item,
> that pops up a window that allows user to send a message/email to the
> development team? Or is it just the automated error reporting functionality
> expected?
>
> We need to discuss this internally in the team. I'll provide you feedback
> later on this.
>
> Regarding the Jira wso2 online supporting system, I came through Jira Rest
> APIs that allows to access Jira services. Can those be used to access wso2
> online supporting system as well? Or is there any other way or separate API
> for wso2 online supporting system ?
>
> You can use Jira rest APIs to access WSO2 support JIRA system.
>
> And as additional features, would it be useful if reporter is provided on
> a feedback, where reporter can track the error and view the progress if he
> is interested? And also maybe to keep track of the errors sent
> previously and skip reporting the similar errors?
>
> +1 these would be interesting features to have if you can integrate them
> with the task given.
>
>
> Regards
> Awanthika
>
>
>
> Awanthika Senarath
> Software Engineer, WSO2 Inc.
> Mobile: +94717681791
>
>
>
> On Sun, Mar 20, 2016 at 8:15 PM,  wrote:
>
>> Hi ,
>>
>> Thank you. I will look into the ‘IDeveloperStudioLog’ class to get an
>> idea about the logging information.
>>
>> I’ve got some more questions regarding the project and developer studio.
>>
>> Regarding the Dev Studio, what  type of users are using it? Is it for the
>> internal developers, external developers or for both? And when reporting
>> the errors for the wso2 Jira, other than the information about the error,
>> what information about users should be collected? I hope name and email
>> would be sufficient enough.
>> When considering the error reporting tool plugin found in Eclipse Mars,
>> it provides a feature for the user to anonymize stack trace and anonymize
>> messages if it contains sensitive data. Will that feature be useful for
>> this proposed plugin as well?
>>
>> Other than the automatic error reporting to the wso2 Jira, an
>> additional feature can be added to the plugin for the user to enter an
>> email address, if he wishes to send

Re: [Dev] [GSoC 2016] [ML] Visual (Deep) Neural Network Builder

2016-03-21 Thread Lakini Senanayaka
Hi all,

I have read the documentations and more about Apache Spark and DL4J
concepts.There was a way to have deeplearning4j on Spark
( http://deeplearning4j.org/spark ) in the DL4J documentation.

As I understood we are using DL4J to draw neural networks and Apache
spark(Spark ML) to do the calculations and to train the neural network.

As the main objective of the "Visual Neural Network Builder" project is to
create a Neural Network UI front-end for WSO2 Machine Learner.
I have a doubt on how to use WSO2 Machine learner,Apache Spark and DL4J all
together.I have read the architecture of WSO2 Machine Lerner also.I could
understand the workflow of the project which you mentioned in the
idealist.Could you please give me more guidance on this problem to clarify
more about the project?


On Mon, Mar 21, 2016 at 1:26 PM, Nirmal Fernando  wrote:

>
>
> On Mon, Mar 21, 2016 at 1:25 PM, Upul Bandara  wrote:
>
>> Also, please note that deadline for the project proposal is this Friday.
>>
>> Correction:
>
>
>> Please send your proposal to dev@wso2.org and project mentor(s).
>>
>> Thanks,
>> Upul
>>
>> On Mon, Mar 21, 2016 at 1:11 PM, Lakini Senanayaka <
>> lakinisenanayak...@gmail.com> wrote:
>>
>>> Thank you very much Upul.
>>> I will go through the resources and If I get any problem I'll let you
>>> know.
>>>
>>>
>>> On Mon, Mar 21, 2016 at 12:51 PM, Upul Bandara  wrote:
>>>
 Hi Lakini,

 The main objective of the "Visual Neural Network Builder" project is
 to create a Neural Network UI front-end for WSO2 Machine Learner.
 UI front-end will help people to quickly try out different Neural
 Network configurations.

 In order to get an idea about the project proposal I would like to
 point, Nirmal's proposal submitted to 2011 GSOC


 http://nirmalfdo.blogspot.com/2011/04/apache-tuscany-develop-simple-tool-that.html

 For building neural networks we are planning to use:

 http://deeplearning4j.org/

 Please read its documentation and get familiar with basic DL4J
 concepts, especially how to use it inside the Apache Spark.

 If you need further help, please let us know.

 Thanks,
 Upul

 On Mon, Mar 21, 2016 at 12:44 PM, Lakini Senanayaka <
 lakinisenanayak...@gmail.com> wrote:

> Hi all,
>
>
> I am 4th year Information Technology (Specialization in Software
> Engineering) undergraduate of SLIIT (Sri Lanka Institute of Information
> Technology). I am familiar with Machine Learning concepts, Java, HTML and
> JavaScript. I am very much interested in machine learning subject area and
> I am currently doing my research project using machine learning 
> techniques.
> I am interested to do the project, proposal 03: [ML] Visual (Deep)
> Neural Network Builder. Could you please give me some guidance and
> materials to study further about this project?
>
> --
> Thank you.
>
> Sincerely,
> *Lakini Senanayaka.*
>
>


 --
 Upul Bandara,
 Associate Technical Lead, WSO2, Inc.,
 Mob: +94 715 468 345.

>>>
>>>
>>>
>>> --
>>> Thank you.
>>>
>>> Sincerely,
>>> *Lakini Senanayaka.*
>>>
>>>
>>
>>
>> --
>> Upul Bandara,
>> Associate Technical Lead, WSO2, Inc.,
>> Mob: +94 715 468 345.
>>
>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Team Lead - WSO2 Machine Learner
> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


-- 
Thank you.

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


Re: [Dev] Code Quality Improvements for carbon-identity

2016-03-21 Thread Thanuja Jayasinghe
Hi Ayman,

Thank you for your interest in carbon-identity repo. We are willing to get
help from the open-source community to improve the quality of our repos.

Please send pull request with the code improvements, we are willing to
review and merge them.

Thanks,
Thanuja

On Tue, Mar 22, 2016 at 10:37 AM, Thanuja Lakmal 
wrote:

> [Adding WSO2 - dev list]
>
> On Fri, Mar 18, 2016 at 6:42 PM,  wrote:
>
>> Hello,
>>
>> I'd like to send you some pull requests to improve the maintainability of
>> carbon-identity.
>>
>> My company - DevFactory - is sponsoring me to identify and fix code
>> quality issues and improve unit test coverage in open source projects.
>> DevFactory is obsessed with code quality and is providing its commercially
>> available code quality improvement service for free to qualified
>> open-source projects.
>>
>> If you are interested, please let me know and we will add it to our
>> pipeline. Our first step will be to utilize tools like PMD, FindBugs and
>> Sonar to identify the most important issues to fix. Once we fix them, we'll
>> follow up with some pull requests.
>>
>> Thanks,
>> Ayman Abdelghany
>>
>>
>
>
> --
> *Thanuja Lakmal*
> Senior Software Engineer
> WSO2 Inc. http://wso2.com/
> *lean.enterprise.middleware*
> Mobile: +94715979891
>



-- 
*Thanuja Lakmal*
Senior Software Engineer
WSO2 Inc. http://wso2.com/
*lean.enterprise.middleware*
Mobile: +94715979891 +94758009992
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Fwd: GSoc 2016 - Proposal 1

2016-03-21 Thread Malaka Silva
Hi Nirthika ,

Currently with ESB we can use JMS transport to connect to IBM MQ. Refer [1]
and [2] for more info. However there are some limitations with this. So IBM
provides native set of libraries to connect to their broker.

After getting some understanding of JMS transport, focus on following.


   1. First you should install IBM MQ 7.5.
   2. Then try connection as consumer and producer from a java client. Using
IBM MQ client.
   3. This need to add consumer functionality to custom inbound endpoint
   and producer to a connector. [3] and [4]

[1] https://docs.wso2.com/display/ESB490/JMS+Transport
[2] https://docs.wso2.com/display/ESB490/JMS+Inbound+Protocol
[3] https://docs.wso2.com/display/ESB490/Custom+Inbound+Endpoint
[4]
https://docs.wso2.com/display/ESBCONNECTORS/Creating+a+Third+Party+Connector+and+Publishing+in+WSO2+Connector+Store

-- Forwarded message --
From: Nirthika Rajendran 
Date: Mon, Mar 21, 2016 at 11:48 PM
Subject: GSoc 2016 - Proposal 1
To: Malaka Silva 
Cc: keerthika mahendralingam 
​​



Hi Malaka,

I'm Nirthika Rajendran from University of Jaffna 3rd year student. I like
to try the GSoc proposal 1 - Native inbound and connector for IBM MQ 7.5.
Just I have some idea about connectors, but not in JMS Transport and
Message brokers.
Could u please give me the suggestion about it

Thank you

Regarding,
Nirthika R



-- 

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] [APIM] Response Body is missing In tenant mode

2016-03-21 Thread Viraj Senevirathne
Hi Sam,
Is it working for other status code?

On Mon, Mar 21, 2016 at 8:07 PM, Sam Sivayogam  wrote:

> Hi All,
>
> After doing the following upgrades in APIM, Response Body is missing when
> invoking the REST API[1] In tenant mode.
>
> Carbon kernel 4.4.3 to 4.4.4
> Carbon mediation   4.6.1-ALPHA to 4.6.1-BETA
> Carbon multi-tenancy  4.5.0 to 4.5.1
>
> I was also able to reproduce the same issue in the latest build which I
> got from [2]. I added the REST API[1] in super tenant mode and tenant mode.
> when I invoke the API in super tenant mode it works perfectly and I get a
> JSON response with HTTP Response code 200. But when I Invoke the same API
> in tenant mode the response body is missing and the HTTP Response code is
> 200 . In the attached wire logs you can see that response body is coming
> from backend service and its dropped when sending back the response to
> client. Is this a known issue ?
>
> [1]
> http://ws.apache.org/ns/synapse";
>  name="testapi"
>  context="/testapi">
>
>   
>  
> 
>https://httpbin.org/"/>
> 
>  
>   
>   
>  
>   
>
> 
>
> [2]
> https://wso2.org/jenkins/view/product-builds/job/product-esb/lastStableBuild/org.wso2.esb$wso2esb/
>
> Thanks,
> Sam
> --
> *Sam Sivayogam*
>
> Software Engineer
> Mobile  : +94 772 906 439
> Office   : +94 112 145 345
> *WSO2, Inc. :** wso2.com *
> lean.enterprise.middleware.
>



-- 
Viraj Senevirathne
Software Engineer; WSO2, Inc.

Mobile : +94 71 958 0269
Email : vir...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Code Quality Improvements for carbon-identity

2016-03-21 Thread Chamila Wijayarathna
Hi Ayman,

Currently we are in a process of moving code in carbon-identity to
different repo structure where core identity features will be available at
identity-framework [1] and other pluggable extensions will be available at
different repos at wso2-extensions [2]. It would be great if you can add
your improvements to those repositories since we are planning to deprecate
carbon-identity repo soon.

[1]. https://github.com/wso2/identity-framework
[2]. https://github.com/wso2-extensions

Thank You!

On Tue, Mar 22, 2016 at 11:21 AM, Thanuja Jayasinghe 
wrote:

> Hi Ayman,
>
> Thank you for your interest in carbon-identity repo. We are willing to get
> help from the open-source community to improve the quality of our repos.
>
> Please send pull request with the code improvements, we are willing to
> review and merge them.
>
> Thanks,
> Thanuja
>
> On Tue, Mar 22, 2016 at 10:37 AM, Thanuja Lakmal  > wrote:
>
>> [Adding WSO2 - dev list]
>>
>> On Fri, Mar 18, 2016 at 6:42 PM,  wrote:
>>
>>> Hello,
>>>
>>> I'd like to send you some pull requests to improve the maintainability
>>> of carbon-identity.
>>>
>>> My company - DevFactory - is sponsoring me to identify and fix code
>>> quality issues and improve unit test coverage in open source projects.
>>> DevFactory is obsessed with code quality and is providing its commercially
>>> available code quality improvement service for free to qualified
>>> open-source projects.
>>>
>>> If you are interested, please let me know and we will add it to our
>>> pipeline. Our first step will be to utilize tools like PMD, FindBugs and
>>> Sonar to identify the most important issues to fix. Once we fix them, we'll
>>> follow up with some pull requests.
>>>
>>> Thanks,
>>> Ayman Abdelghany
>>>
>>>
>>
>>
>> --
>> *Thanuja Lakmal*
>> Senior Software Engineer
>> WSO2 Inc. http://wso2.com/
>> *lean.enterprise.middleware*
>> Mobile: +94715979891
>>
>
>
>
> --
> *Thanuja Lakmal*
> Senior Software Engineer
> WSO2 Inc. http://wso2.com/
> *lean.enterprise.middleware*
> Mobile: +94715979891 +94758009992
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Chamila Dilshan Wijayarathna,*
Software Engineer
Mobile:(+94)788193620
WSO2 Inc., http://wso2.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev