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

2016-03-24 Thread Manujith Pallewatte
Hi Chamila,

I added the draft to GSoC site and selected the share draft option as well
But didn't upload the FInal PDF still, since there's still 13 hours
remaining

Thanks

On Fri, Mar 25, 2016 at 11:23 AM, Chamila Wijayarathna 
wrote:

> Hi Manujith,
>
> I strongly suggest you to submit your proposal to GSoC site with current
> progress. You can update it until the deadline.
>
> Thank You!
>
> On Fri, Mar 25, 2016 at 11:17 AM, Manujith Pallewatte <
> manujith...@gmail.com> wrote:
>
>> Hi all,
>>
>> I added the automated unit test and integration tests under the
>> implementation phase. Since I'm still in process of doing the PEP client
>> simulation, I couldn't enter it in the blog, so I didn't mention in it the
>> proposal. If I'm to find it before the deadline I will blog and insert it.
>> Thank you all again for the many support and guidance!
>>
>> On Thu, Mar 24, 2016 at 3:12 PM, Omindu Rathnaweera 
>> wrote:
>>
>>> Hi Manujith,
>>>
>>> It's better to include implementation of automation tests in your
>>> proposal. The automation tests include unit & integration tests and if
>>> needed, UI tests.  Also you can start blogging about your findings so far
>>> and add them in your proposal.
>>>
>>> Regards,
>>> Omindu.
>>>
>>> On Thu, Mar 24, 2016 at 2:27 AM, Manujith Pallewatte <
>>> manujith...@gmail.com> wrote:
>>>
 Hi all,

 Thank you very much for the comments, I revised and changed as much as
 possible.
 About the confusion by Entitlement Engine I wanted to refer to the
 EntitlementEngine.java class in src since it has the main entry points to
 the service
 But it is really a confusing detail and i changed it to Identity Server
 instead
 Also i added a few illustrations to make some points clear
 Please give me feedback on the revised proposal


 https://docs.google.com/document/d/1dz8FcqUHargRM1q0UG0Ln4FHo_zHH-ENz6oc1hjeLYY/edit?usp=sharing

 Thankx alot again!

 On Wed, Mar 23, 2016 at 3:41 PM, Pushpalanka Jayawardhana <
 la...@wso2.com> wrote:

> Hi Manujith,
>
> Added the comments and suggestions. Please have a look and correct.
> Please also note that the entitlement engine we have in PDP component
> is the Balana engine and there is no seperate entitlelment engine within 
> IS.
> IS provides XACML support on top of Balana engine, with other required
> functionality for PEP, PAP and PIP.
>
> Thanks,
> Pushpalanka
>
> On Wed, Mar 23, 2016 at 3:13 PM, Manujith Pallewatte <
> manujith...@gmail.com> wrote:
>
>> Hi all,
>>
>> Thankx alot for the input and I added them in the proposal so far
>> I have attached the proposal with the mail
>> Please review it and let me know points of improvement and any
>> additional details I'm missing in it
>>
>> Thank You
>>
>> On Wed, Mar 23, 2016 at 12:05 PM, Pushpalanka Jayawardhana <
>> la...@wso2.com> wrote:
>>
>>>
>>>
>>> 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 Wed, Mar 23, 2016 at 11:58 AM, Manujith Pallewatte <
>>> manujith...@gmail.com> wrote:
>>>
 Hi all,

 I will certainly start off with the client, would be a good
 starting point to observer the responses I think.
 Thank to Omindu I was able to use SoapUI to simulate a request for
 now, I'm trying to develop on that as well. Should those things go in 
 the
 proposal as well?
 I have a drafted a basic proposal which I will send asap for your
 feedback, then once I complete task 1, I can document it too

>>> This is good progress. It is better to mention what you have tried
>>> upto now regarding the project in brief, in the proposal.
>>>

 Thank You

 On Wed, Mar 23, 2016 at 11:35 AM, Pushpalanka Jayawardhana <
 la...@wso2.com> wrote:

>
>
> 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 Wed, Mar 23, 2016 at 2:05 AM, Manujith Pallewatte <
> manujith...@gmail.com> wrote:
>
>> Hi Pushpalanka,
>>
>> Sorry for spamming the inbox like this, but since I'm already
>> behind the schedule I have to get things resolved as fast as 
>> possible.
>> Please don't mind it.
>> One more thing as I finally got to the concl

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

2016-03-24 Thread Chamila Wijayarathna
Hi Manujith,

I strongly suggest you to submit your proposal to GSoC site with current
progress. You can update it until the deadline.

Thank You!

On Fri, Mar 25, 2016 at 11:17 AM, Manujith Pallewatte  wrote:

> Hi all,
>
> I added the automated unit test and integration tests under the
> implementation phase. Since I'm still in process of doing the PEP client
> simulation, I couldn't enter it in the blog, so I didn't mention in it the
> proposal. If I'm to find it before the deadline I will blog and insert it.
> Thank you all again for the many support and guidance!
>
> On Thu, Mar 24, 2016 at 3:12 PM, Omindu Rathnaweera 
> wrote:
>
>> Hi Manujith,
>>
>> It's better to include implementation of automation tests in your
>> proposal. The automation tests include unit & integration tests and if
>> needed, UI tests.  Also you can start blogging about your findings so far
>> and add them in your proposal.
>>
>> Regards,
>> Omindu.
>>
>> On Thu, Mar 24, 2016 at 2:27 AM, Manujith Pallewatte <
>> manujith...@gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> Thank you very much for the comments, I revised and changed as much as
>>> possible.
>>> About the confusion by Entitlement Engine I wanted to refer to the
>>> EntitlementEngine.java class in src since it has the main entry points to
>>> the service
>>> But it is really a confusing detail and i changed it to Identity Server
>>> instead
>>> Also i added a few illustrations to make some points clear
>>> Please give me feedback on the revised proposal
>>>
>>>
>>> https://docs.google.com/document/d/1dz8FcqUHargRM1q0UG0Ln4FHo_zHH-ENz6oc1hjeLYY/edit?usp=sharing
>>>
>>> Thankx alot again!
>>>
>>> On Wed, Mar 23, 2016 at 3:41 PM, Pushpalanka Jayawardhana <
>>> la...@wso2.com> wrote:
>>>
 Hi Manujith,

 Added the comments and suggestions. Please have a look and correct.
 Please also note that the entitlement engine we have in PDP component
 is the Balana engine and there is no seperate entitlelment engine within 
 IS.
 IS provides XACML support on top of Balana engine, with other required
 functionality for PEP, PAP and PIP.

 Thanks,
 Pushpalanka

 On Wed, Mar 23, 2016 at 3:13 PM, Manujith Pallewatte <
 manujith...@gmail.com> wrote:

> Hi all,
>
> Thankx alot for the input and I added them in the proposal so far
> I have attached the proposal with the mail
> Please review it and let me know points of improvement and any
> additional details I'm missing in it
>
> Thank You
>
> On Wed, Mar 23, 2016 at 12:05 PM, Pushpalanka Jayawardhana <
> la...@wso2.com> wrote:
>
>>
>>
>> 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 Wed, Mar 23, 2016 at 11:58 AM, Manujith Pallewatte <
>> manujith...@gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> I will certainly start off with the client, would be a good starting
>>> point to observer the responses I think.
>>> Thank to Omindu I was able to use SoapUI to simulate a request for
>>> now, I'm trying to develop on that as well. Should those things go in 
>>> the
>>> proposal as well?
>>> I have a drafted a basic proposal which I will send asap for your
>>> feedback, then once I complete task 1, I can document it too
>>>
>> This is good progress. It is better to mention what you have tried
>> upto now regarding the project in brief, in the proposal.
>>
>>>
>>> Thank You
>>>
>>> On Wed, Mar 23, 2016 at 11:35 AM, Pushpalanka Jayawardhana <
>>> la...@wso2.com> wrote:
>>>


 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 Wed, Mar 23, 2016 at 2:05 AM, Manujith Pallewatte <
 manujith...@gmail.com> wrote:

> Hi Pushpalanka,
>
> Sorry for spamming the inbox like this, but since I'm already
> behind the schedule I have to get things resolved as fast as possible.
> Please don't mind it.
> One more thing as I finally got to the conclusion, the objective
> is to implement RESTful service to the PDP of IS so that any PEP can 
> access
> them
> in a RESTful manner? In other words the REST service should be
> implemented to facilitate the information exchange between the PEP 
> and PDP
> Is that correct? please correct me if i'm wrong
>



> Thanks al

[Dev] GSoC Project - Integration test framework for Dockerfiles

2016-03-24 Thread Abhishek Tiwari
Hi All,

My name is Abhishek and I am working on the project to design and implement
an integration test framework for Dockerfiles, to ensure that changes to
Dockerfiles do not cause regressions.

I had very productive hangout meeting with mentors Chamila and Vishant. We
are still formalizing the concrete details, however, I have come up with
the following pipeline for the test suite. Please provide your feedback.

[image: Screen Shot 2016-03-24 at 10.27.47 PM.png]
Detect Change:

We need to check if the change affects everything in the Dockerfiles
repository or it only affects a specific product. The integration test
suites will run tests accordingly.

Environment Variables:

Test that all the required environments are set correctly. The required
variables can be stored in property files on in YAML files.

Test Permissions:

Test that required executable scripts has correct permissions. Also verify
that scripts and log files have correct owners and have correct
permissions. Again, this information can be stored in property files.

Launch Docker Build:

Launch docker build for WSO2 product (multiple products if the changes were
made to common codepath)

Verify Application Launch:

Ensure that WSO2 product is launched correctly, test requests to
application host:port are responded. Also verify that application launch
from logs.

Verify Ports:

Ensure that application is launched at the specific port. Also ensure that
there are no port

conflicts.

Verify in Supported OS: If WSO2 products are supported on multiple OS
platforms, repeat the above tests on all the supported platforms.

- Abhishek
___
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-24 Thread Manujith Pallewatte
Hi all,

I added the automated unit test and integration tests under the
implementation phase. Since I'm still in process of doing the PEP client
simulation, I couldn't enter it in the blog, so I didn't mention in it the
proposal. If I'm to find it before the deadline I will blog and insert it.
Thank you all again for the many support and guidance!

On Thu, Mar 24, 2016 at 3:12 PM, Omindu Rathnaweera  wrote:

> Hi Manujith,
>
> It's better to include implementation of automation tests in your
> proposal. The automation tests include unit & integration tests and if
> needed, UI tests.  Also you can start blogging about your findings so far
> and add them in your proposal.
>
> Regards,
> Omindu.
>
> On Thu, Mar 24, 2016 at 2:27 AM, Manujith Pallewatte <
> manujith...@gmail.com> wrote:
>
>> Hi all,
>>
>> Thank you very much for the comments, I revised and changed as much as
>> possible.
>> About the confusion by Entitlement Engine I wanted to refer to the
>> EntitlementEngine.java class in src since it has the main entry points to
>> the service
>> But it is really a confusing detail and i changed it to Identity Server
>> instead
>> Also i added a few illustrations to make some points clear
>> Please give me feedback on the revised proposal
>>
>>
>> https://docs.google.com/document/d/1dz8FcqUHargRM1q0UG0Ln4FHo_zHH-ENz6oc1hjeLYY/edit?usp=sharing
>>
>> Thankx alot again!
>>
>> On Wed, Mar 23, 2016 at 3:41 PM, Pushpalanka Jayawardhana > > wrote:
>>
>>> Hi Manujith,
>>>
>>> Added the comments and suggestions. Please have a look and correct.
>>> Please also note that the entitlement engine we have in PDP component is
>>> the Balana engine and there is no seperate entitlelment engine within IS.
>>> IS provides XACML support on top of Balana engine, with other required
>>> functionality for PEP, PAP and PIP.
>>>
>>> Thanks,
>>> Pushpalanka
>>>
>>> On Wed, Mar 23, 2016 at 3:13 PM, Manujith Pallewatte <
>>> manujith...@gmail.com> wrote:
>>>
 Hi all,

 Thankx alot for the input and I added them in the proposal so far
 I have attached the proposal with the mail
 Please review it and let me know points of improvement and any
 additional details I'm missing in it

 Thank You

 On Wed, Mar 23, 2016 at 12:05 PM, Pushpalanka Jayawardhana <
 la...@wso2.com> wrote:

>
>
> 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 Wed, Mar 23, 2016 at 11:58 AM, Manujith Pallewatte <
> manujith...@gmail.com> wrote:
>
>> Hi all,
>>
>> I will certainly start off with the client, would be a good starting
>> point to observer the responses I think.
>> Thank to Omindu I was able to use SoapUI to simulate a request for
>> now, I'm trying to develop on that as well. Should those things go in the
>> proposal as well?
>> I have a drafted a basic proposal which I will send asap for your
>> feedback, then once I complete task 1, I can document it too
>>
> This is good progress. It is better to mention what you have tried
> upto now regarding the project in brief, in the proposal.
>
>>
>> Thank You
>>
>> On Wed, Mar 23, 2016 at 11:35 AM, Pushpalanka Jayawardhana <
>> la...@wso2.com> wrote:
>>
>>>
>>>
>>> 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 Wed, Mar 23, 2016 at 2:05 AM, Manujith Pallewatte <
>>> manujith...@gmail.com> wrote:
>>>
 Hi Pushpalanka,

 Sorry for spamming the inbox like this, but since I'm already
 behind the schedule I have to get things resolved as fast as possible.
 Please don't mind it.
 One more thing as I finally got to the conclusion, the objective is
 to implement RESTful service to the PDP of IS so that any PEP can 
 access
 them
 in a RESTful manner? In other words the REST service should be
 implemented to facilitate the information exchange between the PEP and 
 PDP
 Is that correct? please correct me if i'm wrong

>>>
>>>
>>>
 Thanks alot

 On Wed, Mar 23, 2016 at 1:39 AM, Manujith Pallewatte <
 manujith...@gmail.com> wrote:

> Hi Pushpalanka,
>
> I tried examining the PDP and PAP of IS to get an idea of how
> things work and i followed the blog article [
> http://pushpalankajaya.blogspot.com/2013/06/working-with-xacml-30-policies-for-fine.html

[Dev] Setting up a local Kubernetes v1.2.0 cluster in around 2 minutes

2016-03-24 Thread Imesh Gunaratne
Hi Devs,

I just updated the Kubernetes Vagrant Setup [1] to do $subject. This was
originally written by Pires [2], I have improved it to take the Kubernetes
binary and the required Docker images from the disk to reduce the startup
time and the internet usage.

Docker image files are not added to the git repository due to their large
size. Those would get downloaded in the first run. Give it a try and let me
know your thoughts.

[1] https://github.com/imesh/kubernetes-vagrant-setup/tree/v1.2.0
[2] https://github.com/pires/kubernetes-vagrant-coreos-cluster

Thanks

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


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

2016-03-24 Thread Osura Rathnayake
Hi Imesh,

I just shared the proposal in gsoc site. but it still needs changes and i'm
working on those changes.

thanks

On Fri, Mar 25, 2016 at 9:41 AM, Imesh Gunaratne  wrote:

> Hi Osura,
>
> It looks like you have not uploaded the project proposal to GSoC website
> yet. Please do it immediately and do the changes afterwards. Today is the
> last day.
>
> Thanks
>
> On Wed, Mar 23, 2016 at 1:18 PM, Osura Rathnayake 
> wrote:
>
>> okay sir 3 pm would be fine.
>>
>> thanks and regards,
>> Osura
>>
>> On Wed, Mar 23, 2016 at 1:16 PM, Imesh Gunaratne  wrote:
>>
>>>
>>>
>>> On Wed, Mar 23, 2016 at 1:09 PM, Osura Rathnayake 
>>> wrote:
>>>
 Hi Sir,

 Okay i will prepare a proposal and send to you. what time would be
 convenient for you to have a hangout?

>>>
>>> How about at 3 pm today?
>>>
>>> Thanks
>>>

 thanks and regards,
 Osura

 On Wed, Mar 23, 2016 at 10:47 AM, Imesh Gunaratne 
 wrote:

> Hi Osura,
>
> On Wed, Mar 23, 2016 at 12:38 AM, Osura Rathnayake  > wrote:
>
>> Hi sir,
>>
>> This is what we found when we were going through the API.
>>
>> Network Security Group (NSG) is the equivalent AWS Security group
>> that we could find in azure. And this [1] is the API reference that can 
>> be
>> used to get information about a particular NSG. There under 
>> networkInterfaces.id
>> element, we can get a collection of references to Network Interface
>> Cards that reference this NSG. And then using that we can get information
>> about NICs [2]. There under virtualMachine element, we can get the
>> VM associated with that NIC. Can we use this method to identify a group 
>> of
>> VMs?  or can't we simply assign a tag to set of VM and identify them 
>> using
>> that tag?
>>
>> Yes I think this is good. Can you please prepare a project proposal
> and share it privately? Will review it and give you feedback. If you need
> more information will have a Hangout today afternoon.
>
> Thanks
>
>>
>>
>> [1] https://msdn.microsoft.com/en-us/library/azure/mt163654.aspx
>> [2] https://msdn.microsoft.com/en-us/library/azure/mt163611.aspx
>>
>> Thanks and 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 <
>>> osura...@gmail.com> 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 <
> osura...@gmail.com> 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
>>>
>>>
>>

[Dev] WSO2 Committers += Sajith Ariyarathna

2016-03-24 Thread Dinusha Senanayaka
Hi All,

It is my pleasure to welcome Sajith Ariyarathna as a WSO2 Committer.  @
SajithAR, congratulations and keep up the good work.

Regards,
Dinusha.

-- 
Dinusha Dilrukshi
Associate Technical Lead
WSO2 Inc.: http://wso2.com/
Mobile: +94725255071
Blog: http://dinushasblog.blogspot.com/
___
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-24 Thread Shafreen Anfar
Hi Samitha,

This blog might be helpful to understand the internal structure of GW and
how to write your own engines.

http://shafreenanfar.blogspot.ch/2016/03/write-your-own-engine-for-wso2-gw.html


On Tue, Mar 15, 2016 at 11:49 AM, Tishan Dahanayakage 
wrote:

> Hi Samith,
>
> Thanks you for your interest in WSO2. I am adding possible project mentors
> so that they can give more insight. In the meantime can you please
> elaborate your experience in programming and expertise areas so that we can
> point you t relevant resources.
>
> Thanks
> Tishan
>
> On Tue, Mar 15, 2016 at 10:14 AM, samitha palihawadana <
> samitha.harshana...@cse.mrt.ac.lk> wrote:
>
>> Hi,
>>
>> I am a Computer Science and Engineering third year Undergraduate of
>> University of Moratuwa. I am interested in Security Gateway on top of WSO2
>> Gateway project for GSoC 2016. Please give me some guidance for continue.
>>
>> --
>> Best regards,
>> Samitha Palihawadana
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Tishan Dahanayakage
> Software Engineer
> WSO2, Inc.
> Mobile:+94 716481328
>
> Disclaimer: This communication may contain privileged or other
> confidential information and is intended exclusively for the addressee/s.
> If you are not the intended recipient/s, or believe that you may have
> received this communication in error, please reply to the sender indicating
> that fact and delete the copy you received and in addition, you should not
> print, copy, re-transmit, disseminate, or otherwise use the information
> contained in this communication. Internet communications cannot be
> guaranteed to be timely, secure, error or virus-free. The sender does not
> accept liability for any errors or omissions.
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Regards,
*Shafreen*
Software Engineer
WSO2 Inc
Mobile : 077-556-395-1
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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

2016-03-24 Thread Imesh Gunaratne
Hi Osura,

It looks like you have not uploaded the project proposal to GSoC website
yet. Please do it immediately and do the changes afterwards. Today is the
last day.

Thanks

On Wed, Mar 23, 2016 at 1:18 PM, Osura Rathnayake 
wrote:

> okay sir 3 pm would be fine.
>
> thanks and regards,
> Osura
>
> On Wed, Mar 23, 2016 at 1:16 PM, Imesh Gunaratne  wrote:
>
>>
>>
>> On Wed, Mar 23, 2016 at 1:09 PM, Osura Rathnayake 
>> wrote:
>>
>>> Hi Sir,
>>>
>>> Okay i will prepare a proposal and send to you. what time would be
>>> convenient for you to have a hangout?
>>>
>>
>> How about at 3 pm today?
>>
>> Thanks
>>
>>>
>>> thanks and regards,
>>> Osura
>>>
>>> On Wed, Mar 23, 2016 at 10:47 AM, Imesh Gunaratne 
>>> wrote:
>>>
 Hi Osura,

 On Wed, Mar 23, 2016 at 12:38 AM, Osura Rathnayake 
 wrote:

> Hi sir,
>
> This is what we found when we were going through the API.
>
> Network Security Group (NSG) is the equivalent AWS Security group that
> we could find in azure. And this [1] is the API reference that can be used
> to get information about a particular NSG. There under 
> networkInterfaces.id
> element, we can get a collection of references to Network Interface
> Cards that reference this NSG. And then using that we can get information
> about NICs [2]. There under virtualMachine element, we can get the VM
> associated with that NIC. Can we use this method to identify a group of
> VMs?  or can't we simply assign a tag to set of VM and identify them using
> that tag?
>
> Yes I think this is good. Can you please prepare a project proposal
 and share it privately? Will review it and give you feedback. If you need
 more information will have a Hangout today afternoon.

 Thanks

>
>
> [1] https://msdn.microsoft.com/en-us/library/azure/mt163654.aspx
> [2] https://msdn.microsoft.com/en-us/library/azure/mt163611.aspx
>
> Thanks and 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 <
 osura...@gmail.com> 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.
>>> A

Re: [Dev] Regarding the Location and Time-based Device Policy Enforcement Project for Gsoc2016

2016-03-24 Thread Kasun Dananjaya Delgolla
Hi Sameera,

Will have a look and comment by tonight.

Thanks
On Mar 25, 2016 1:04 AM, "Sameera Wickramasekara" 
wrote:

> Hi All
>
> This is a Draft proposal
>
> https://docs.google.com/document/d/1GC_NtI5bEFcIRqP7KGSjdMT0P3rYNXflw81AkHyjogs/edit
>
> please comment on the things i should improve
> i hope to submit it before the deadline
>
> Thank you
>
> On Thu, Mar 24, 2016 at 10:27 PM, Sameera Wickramasekara <
> itssamw...@gmail.com> wrote:
>
>> Hi Kasun,
>>
>> As i was reading the documentation i understood the following approach to
>> the problem, can you please comment if im right or wrong
>>
>> 1. the EMM monitors the devices for policy violations between given time
>> intervals.
>> 2.we can use this functionality to receive the location data of each
>> device(OR use the rest api to request the location, ?? )
>> 3.then we can enforce the location based policies if the device belongs
>> to the  area of interest.
>>
>> Thank you
>> Sameera Wickramasekara
>>
>> On Thu, Mar 24, 2016 at 8:39 AM, Kasun Dananjaya Delgolla <
>> kas...@wso2.com> wrote:
>>
>>> Hi Sameera,
>>>
>>> Please find the documentation link[1] for policy management. You can
>>> carefully study the current behavior of the policy management feature and
>>> think of a unique way of solving the problem "Enforcing policies based on
>>> users location and a given time frame". Take all the points that I've
>>> described in my first mail and start building your proposal. Good luck!
>>>
>>> [1] - https://docs.wso2.com/display/EMM210/Managing+Policies
>>>
>>> On Wed, Mar 23, 2016 at 10:37 PM, Sameera Wickramasekara <
>>> itssamw...@gmail.com> wrote:
>>>
 Hi,

 I have successfully built the WSO2 EMM from source. i have understood
 that the deliverables are time and location based policy enforcement. how
 should i start to implement a custom policy/ change a policy  in the EMM ?
 can you point me to a tutorial of some sort.
 And i hope i will be able to complete my proposal before the deadline
 with your guidence

 Thank you
 Sameera Wickramasekara


 On Mon, Mar 14, 2016 at 2:10 PM, Kasun Dananjaya Delgolla <
 kas...@wso2.com> wrote:

> Hi Sameera,
>
> Thank you for your interest in this project.
>
>
> In order to get a better picture of the project make sure to build
> WSO2 EMM[1] including CDMF framework[2] using the git repositories listed.
>
> Enroll a device and a publish a sample policy against the device and
> study the current behavior of the policy.
> You are expected to change the behavior a mentioned below.
>
> Given policy must be activated automatically when the device enters a
> predefined area.
> Given policy must be deactivated when a device leaves a predefined
> area.
> Given policy must be activated automatically in the given time frame.
> Stats of the current policy, whether its active or inactive need to
> be visible in the dashboard.
> Policy compliance monitoring to the given device must be activated
> when a policy is activated.
>
> Project deliverable "Extension point for current EMM policy module
> with location and time based policy publishing capability" includes
> followings,
>
>- Location based policy enforcement component.
>- A component which enables the location base policy monitoring
>   and enforcement including statics.This need to be a extension
>   to thee component which enabled device policies currently
>- Time based location component.
>- A component which enables the time base policy monitoring and
>   enforcement including statics.This need to be a extension to
>   thee component which enabled device policies currently
>- Location and time based policy configuration UI.
>- This is to enable users to configure and maintain the locations
>and time frames.The UI must have the ability to monitor the
>   policies which is active in the device and compliance
>   status.Above features must follow the current pattern used for
>   policy monitoring and Policy Management in WSO2 EMM.
>
>
> While working with WSO2 EMM, if you found any bugs or improvements
> feel free to let us know by using the oxygen tank[3].
>
> [1] https://github.com/wso2/carbon-device-mgt
> [2] https://github.com/wso2/product-mdm
> [3] https://wso2.org/jira/secure/Dashboard.jspa
>
> Thank you
>
> On Mon, Mar 14, 2016 at 1:36 PM, Sameera Wickramasekara <
> itssamw...@gmail.com> wrote:
>
>>
>>
>> Hi ,
>> Im Sameera Wickramasekara, a 3rd year Undergraduate from University
>> of Moratuwa Faculty of information Technology. Im interested in the
>> Location and Time-based Device policy Endorsement Project. I have good
>> experience in Java and Android development. and Im confident i would b

Re: [Dev] GSOC 2016: Proposal 7

2016-03-24 Thread Dinanjana Gunaratne
Hello all,
I submitted my proposal to gsoc site and shared the draft with WSO2 earlier
this week. Any thoughts on my proposal ?

On Sun, Mar 20, 2016 at 7:04 PM, Dinanjana Gunaratne <
dinanjanagunara...@gmail.com> wrote:

> Hi all,
> Can i have the location of source of carbondump tool ?
>
> On Wed, Mar 9, 2016 at 12:05 PM, Dinanjana Gunaratne <
> dinanjanagunara...@gmail.com> wrote:
>
>> Hi all,
>> I went through webinar and actually through the code of ESB. I couldn't
>> grasped much with the code though. Now I have a high level understanding on
>> what ESB does. I assumed that the esb is built on carbon kernel. So we can
>> have our monitoring service there inside the carbon or else we can have a
>> seperate microservice which can remotely monitor the mbean server of the
>> relevant JVM and extract metrics we require
>>
>> On Thu, Mar 3, 2016 at 5:35 PM, Isuru Ranawaka  wrote:
>>
>>> Hi Dinanjana,
>>>
>>> While you are reading the  documentation you can figure out important
>>> features that needs to be included  and come up with a set of features.Then
>>> we can finalize the scope of the project and start working on it. Since you
>>> have already worked on  this kind of project can you propose set of
>>> features and informations that will be helpfull to implement them.
>>>
>>>
>>> thanks
>>>
>>> On Thu, Mar 3, 2016 at 9:56 AM, Dinanjana Gunaratne <
>>> dinanjanagunara...@gmail.com> wrote:
>>>
 Hi all,
 Not currently. I am going through the documentation :) Thanks for the
 help :)

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

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

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

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

 For an example, when the server goes OOM, it will 

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

2016-03-24 Thread Upul Bandara
Hi,

I think some tasks of your proposed schedule can be done in parallelly.
For instance, rather than wait until last minute, you can start
documentation at the early stage of the project continue in parallel with
other tasks.
Similarly, development and testing can be done as parallel activities.

Your "Deliverables"  should include documentation and test cases.

In addition to that, please include a simple architecture diagram which
might help other to quickly understand your proposed system.

Please do above changes and submit your final version before EOD today.

Thanks,



On Fri, Mar 25, 2016 at 12:18 AM, Lakini Senanayaka <
lakinisenanayak...@gmail.com> wrote:

> Hi,
>
> I have modified my last proposal according to the comments and feedback I
> got.Could you please check my new proposal[1] for [ML] Visual (Deep)
> Neural Network Builder.I kindly request your feedback and comments on it.
>
>
> [1] Proposal 03:[ML] Visual (Deep) Neural Network Builder-V1.1
> 
>
> Thank you.
>
> On Fri, Mar 25, 2016 at 12:14 AM, Lakini Senanayaka <
> lakinisenanayak...@gmail.com> wrote:
>
>> Hi,
>>
>> I have modified my last proposal according to the comments and feedback I
>> got.Could you please check my new proposal[1] for [ML] Visual (Deep)
>> Neural Network Builder.I kindly request your feedback and comments on it.
>>
>> [1] Proposal 03:[ML] Visual (Deep) Neural Network Builder-V1.1
>> 
>>
>> Thank you.
>>
>> On Thu, Mar 24, 2016 at 11:24 PM, Supun Sethunga  wrote:
>>
>>> Hi Lakini,
>>>
>>> Please complete any changes and submit your final proposal to GSoC,
>>> before the deadline (Friday).
>>>
>>> Regards,
>>> Supun
>>>
>>> On Thu, Mar 24, 2016 at 10:17 AM, Lakini Senanayaka <
>>> lakinisenanayak...@gmail.com> wrote:
>>>
 Thank you for the comments.
 Yes.I'll change my proposal and I'll send it soon.

 On Thu, Mar 24, 2016 at 9:59 AM, Upul Bandara  wrote:

> We have added few comments.
> Can you please address those comments?
>
> Thanks,
> Upul
>
> On Thu, Mar 24, 2016 at 9:04 AM, Upul Bandara  wrote:
>
>> Please grant us comment rights.
>>
>> On Thu, Mar 24, 2016 at 9:02 AM, Upul Bandara  wrote:
>>
>>> Yes, just started to read it and will provide feedback ASAP
>>>
>>> On Thu, Mar 24, 2016 at 8:55 AM, Lakini Senanayaka <
>>> lakinisenanayak...@gmail.com> wrote:
>>>
 Hi,

 Hope you got my mail about the proposal.

 On Wed, Mar 23, 2016 at 5:18 PM, Lakini Senanayaka <
 lakinisenanayak...@gmail.com> wrote:

> Hi,
>
> Could you please check my proposal[1] for [ML] Visual (Deep)
> Neural Network Builder.I kindly request your feedback and comments on 
> it.
>
> [1]Proposal 03:[ML] Visual (Deep) Neural Network Builder
> 
>
>
> --
> Thank you.
>
> Sincerely,
> *Lakini Senanayaka.*
>
>


 --
 Thank you.

 Sincerely,
 *Lakini Senanayaka.*


>>>
>>>
>>> --
>>> Upul Bandara,
>>> 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.
>



 --
 Thank you.

 Sincerely,
 *Lakini Senanayaka.*


 ___
 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
>>>
>>
>>
>>
>> --
>> Thank you.
>>
>> Sincerely,
>> *Lakini Senanayaka.*
>>
>>
>
>
> --
> 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] Fwd: GSOC Proposal 3: [ML] Visual (Deep) Neural Network Builder

2016-03-24 Thread Asela Damian Perera
-- Forwarded message --
From: Asela Damian Perera 
Date: Thu, Mar 24, 2016 at 6:08 AM
Subject: GSOC Proposal 3: [ML] Visual (Deep) Neural Network Builder
To: u...@wso2.com, nir...@wso2.com


Hello,

  I would like to engage in this project in this summer. I am
currently a third year (internship year) undergraduate student at
Informatics Institute of Technology, following BEng(Hons) in Software
Engineering course by University of Westminster UK. In the second year I
have achieved an average of 77.1% (Batch Top) and in the first year, 80.4%
(September Intake Batch Top). I am a programming enthusiast from senior
school days and interested in coding software programs.

  My GSOC Proposal:
https://drive.google.com/open?id=0B-veGGuXGh76cENmZ1UydVZoT2M, I have also
uploaded it to https://summerofcode.withgoogle.com/

  I went through the following Apache Projects:

 DeepLearning4J. (tried out the samples)


 Spark


 Batik


 I went through the code of the following WSO2 Products:

 product-ml


 carbon-ml


I have also gone through the code of the following WSO2 Products as well
previously:


 carbon-kernel


 jaggery


 product-as

 product-af

 product-emm


I have written a simple JAVA CLI for App Factory too (WSO2-AppFactory CLI
)

I checked-out master branch of product ml, after building product-ml, I
extracted the distribution and ran the server, I can access the carbon
management console at https://localhost:9443/carbon/admin/login.jsp and
login as admin, but https://localhost:9443/ml gives "405 - HTTP method GET
is not supported by this URL". There is also a log "Could not instantiate
appender named CARBON_MEMORY".

Am I missing any configuration?

Thank you & Kind Regards,
Damian Perera
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Regarding the Location and Time-based Device Policy Enforcement Project for Gsoc2016

2016-03-24 Thread Sameera Wickramasekara
Hi All

This is a Draft proposal
https://docs.google.com/document/d/1GC_NtI5bEFcIRqP7KGSjdMT0P3rYNXflw81AkHyjogs/edit

please comment on the things i should improve
i hope to submit it before the deadline

Thank you

On Thu, Mar 24, 2016 at 10:27 PM, Sameera Wickramasekara <
itssamw...@gmail.com> wrote:

> Hi Kasun,
>
> As i was reading the documentation i understood the following approach to
> the problem, can you please comment if im right or wrong
>
> 1. the EMM monitors the devices for policy violations between given time
> intervals.
> 2.we can use this functionality to receive the location data of each
> device(OR use the rest api to request the location, ?? )
> 3.then we can enforce the location based policies if the device belongs to
> the  area of interest.
>
> Thank you
> Sameera Wickramasekara
>
> On Thu, Mar 24, 2016 at 8:39 AM, Kasun Dananjaya Delgolla  > wrote:
>
>> Hi Sameera,
>>
>> Please find the documentation link[1] for policy management. You can
>> carefully study the current behavior of the policy management feature and
>> think of a unique way of solving the problem "Enforcing policies based on
>> users location and a given time frame". Take all the points that I've
>> described in my first mail and start building your proposal. Good luck!
>>
>> [1] - https://docs.wso2.com/display/EMM210/Managing+Policies
>>
>> On Wed, Mar 23, 2016 at 10:37 PM, Sameera Wickramasekara <
>> itssamw...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I have successfully built the WSO2 EMM from source. i have understood
>>> that the deliverables are time and location based policy enforcement. how
>>> should i start to implement a custom policy/ change a policy  in the EMM ?
>>> can you point me to a tutorial of some sort.
>>> And i hope i will be able to complete my proposal before the deadline
>>> with your guidence
>>>
>>> Thank you
>>> Sameera Wickramasekara
>>>
>>>
>>> On Mon, Mar 14, 2016 at 2:10 PM, Kasun Dananjaya Delgolla <
>>> kas...@wso2.com> wrote:
>>>
 Hi Sameera,

 Thank you for your interest in this project.


 In order to get a better picture of the project make sure to build WSO2
 EMM[1] including CDMF framework[2] using the git repositories listed.

 Enroll a device and a publish a sample policy against the device and
 study the current behavior of the policy.
 You are expected to change the behavior a mentioned below.

 Given policy must be activated automatically when the device enters a
 predefined area.
 Given policy must be deactivated when a device leaves a predefined
 area.
 Given policy must be activated automatically in the given time frame.
 Stats of the current policy, whether its active or inactive need to be
 visible in the dashboard.
 Policy compliance monitoring to the given device must be activated
 when a policy is activated.

 Project deliverable "Extension point for current EMM policy module
 with location and time based policy publishing capability" includes
 followings,

- Location based policy enforcement component.
- A component which enables the location base policy monitoring and
   enforcement including statics.This need to be a extension to
   thee component which enabled device policies currently
- Time based location component.
- A component which enables the time base policy monitoring and
   enforcement including statics.This need to be a extension to
   thee component which enabled device policies currently
- Location and time based policy configuration UI.
- This is to enable users to configure and maintain the locations
and time frames.The UI must have the ability to monitor the
   policies which is active in the device and compliance
   status.Above features must follow the current pattern used for
   policy monitoring and Policy Management in WSO2 EMM.


 While working with WSO2 EMM, if you found any bugs or improvements feel
 free to let us know by using the oxygen tank[3].

 [1] https://github.com/wso2/carbon-device-mgt
 [2] https://github.com/wso2/product-mdm
 [3] https://wso2.org/jira/secure/Dashboard.jspa

 Thank you

 On Mon, Mar 14, 2016 at 1:36 PM, Sameera Wickramasekara <
 itssamw...@gmail.com> wrote:

>
>
> Hi ,
> Im Sameera Wickramasekara, a 3rd year Undergraduate from University of
> Moratuwa Faculty of information Technology. Im interested in the Location
> and Time-based Device policy Endorsement Project. I have good experience 
> in
> Java and Android development. and Im confident i would be able to complete
> this project with your guidance.please let me know how to proceed from 
> here.
>
> thank you
>
>


 --
 Kasun Dananjaya Delgolla

 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.en

Re: [Dev] GSoc 2016-Proposal 16

2016-03-24 Thread nathieshamaddage
Hi Awanthika and Jasintha,


I have added the additional feature as optional, in my proposal as you have 
suggested.

I submitted the draft proposal after filling up the implementation part of the 
document. And I also modified the architecture diagram a bit.

If you can, please have a look at the draft proposal and let me know whether 
any changes need to be done for it, or if I have missed anything. 


Thanks and regards


Nathiesha






Sent from Windows Mail





From: Awanthika Senarath
Sent: ‎Thursday‎, ‎March‎ ‎24‎, ‎2016 ‎8‎:‎04‎ ‎AM
To: Nathiesha Maddage
Cc: Jasintha Dasanayake, dev@wso2.org





Hi Nathiesha,



All you proposed ideas seems good. 




You can add all the ideas you have as optional features in your proposal. We 
can evaluate the applicability once the proposal is submitted.




As for the user side errors network availability and resource blocking it may 
not be required to be reported. 







Regards

Awanthika














Awanthika Senarath
Software Engineer, WSO2 Inc.

Mobile: +94717681791




On Tue, Mar 22, 2016 at 9:22 AM, Awanthika Senarath  wrote:


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 En

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

2016-03-24 Thread Lakini Senanayaka
Hi,

I have modified my last proposal according to the comments and feedback I
got.Could you please check my new proposal[1] for [ML] Visual (Deep) Neural
Network Builder.I kindly request your feedback and comments on it.


[1] Proposal 03:[ML] Visual (Deep) Neural Network Builder-V1.1


Thank you.

On Fri, Mar 25, 2016 at 12:14 AM, Lakini Senanayaka <
lakinisenanayak...@gmail.com> wrote:

> Hi,
>
> I have modified my last proposal according to the comments and feedback I
> got.Could you please check my new proposal[1] for [ML] Visual (Deep)
> Neural Network Builder.I kindly request your feedback and comments on it.
>
> [1] Proposal 03:[ML] Visual (Deep) Neural Network Builder-V1.1
> 
>
> Thank you.
>
> On Thu, Mar 24, 2016 at 11:24 PM, Supun Sethunga  wrote:
>
>> Hi Lakini,
>>
>> Please complete any changes and submit your final proposal to GSoC,
>> before the deadline (Friday).
>>
>> Regards,
>> Supun
>>
>> On Thu, Mar 24, 2016 at 10:17 AM, Lakini Senanayaka <
>> lakinisenanayak...@gmail.com> wrote:
>>
>>> Thank you for the comments.
>>> Yes.I'll change my proposal and I'll send it soon.
>>>
>>> On Thu, Mar 24, 2016 at 9:59 AM, Upul Bandara  wrote:
>>>
 We have added few comments.
 Can you please address those comments?

 Thanks,
 Upul

 On Thu, Mar 24, 2016 at 9:04 AM, Upul Bandara  wrote:

> Please grant us comment rights.
>
> On Thu, Mar 24, 2016 at 9:02 AM, Upul Bandara  wrote:
>
>> Yes, just started to read it and will provide feedback ASAP
>>
>> On Thu, Mar 24, 2016 at 8:55 AM, Lakini Senanayaka <
>> lakinisenanayak...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> Hope you got my mail about the proposal.
>>>
>>> On Wed, Mar 23, 2016 at 5:18 PM, Lakini Senanayaka <
>>> lakinisenanayak...@gmail.com> wrote:
>>>
 Hi,

 Could you please check my proposal[1] for [ML] Visual (Deep) Neural
 Network Builder.I kindly request your feedback and comments on it.

 [1]Proposal 03:[ML] Visual (Deep) Neural Network Builder
 


 --
 Thank you.

 Sincerely,
 *Lakini Senanayaka.*


>>>
>>>
>>> --
>>> Thank you.
>>>
>>> Sincerely,
>>> *Lakini Senanayaka.*
>>>
>>>
>>
>>
>> --
>> Upul Bandara,
>> 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.

>>>
>>>
>>>
>>> --
>>> Thank you.
>>>
>>> Sincerely,
>>> *Lakini Senanayaka.*
>>>
>>>
>>> ___
>>> 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
>>
>
>
>
> --
> Thank you.
>
> Sincerely,
> *Lakini Senanayaka.*
>
>


-- 
Thank you.

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


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

2016-03-24 Thread Lakini Senanayaka
Hi,

I have modified my last proposal according to the comments and feedback I
got.Could you please check my new proposal[1] for [ML] Visual (Deep) Neural
Network Builder.I kindly request your feedback and comments on it.

[1] Proposal 03:[ML] Visual (Deep) Neural Network Builder-V1.1


Thank you.

On Thu, Mar 24, 2016 at 11:24 PM, Supun Sethunga  wrote:

> Hi Lakini,
>
> Please complete any changes and submit your final proposal to GSoC, before
> the deadline (Friday).
>
> Regards,
> Supun
>
> On Thu, Mar 24, 2016 at 10:17 AM, Lakini Senanayaka <
> lakinisenanayak...@gmail.com> wrote:
>
>> Thank you for the comments.
>> Yes.I'll change my proposal and I'll send it soon.
>>
>> On Thu, Mar 24, 2016 at 9:59 AM, Upul Bandara  wrote:
>>
>>> We have added few comments.
>>> Can you please address those comments?
>>>
>>> Thanks,
>>> Upul
>>>
>>> On Thu, Mar 24, 2016 at 9:04 AM, Upul Bandara  wrote:
>>>
 Please grant us comment rights.

 On Thu, Mar 24, 2016 at 9:02 AM, Upul Bandara  wrote:

> Yes, just started to read it and will provide feedback ASAP
>
> On Thu, Mar 24, 2016 at 8:55 AM, Lakini Senanayaka <
> lakinisenanayak...@gmail.com> wrote:
>
>> Hi,
>>
>> Hope you got my mail about the proposal.
>>
>> On Wed, Mar 23, 2016 at 5:18 PM, Lakini Senanayaka <
>> lakinisenanayak...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> Could you please check my proposal[1] for [ML] Visual (Deep) Neural
>>> Network Builder.I kindly request your feedback and comments on it.
>>>
>>> [1]Proposal 03:[ML] Visual (Deep) Neural Network Builder
>>> 
>>>
>>>
>>> --
>>> Thank you.
>>>
>>> Sincerely,
>>> *Lakini Senanayaka.*
>>>
>>>
>>
>>
>> --
>> Thank you.
>>
>> Sincerely,
>> *Lakini Senanayaka.*
>>
>>
>
>
> --
> Upul Bandara,
> 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.
>>>
>>
>>
>>
>> --
>> Thank you.
>>
>> Sincerely,
>> *Lakini Senanayaka.*
>>
>>
>> ___
>> 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
>



-- 
Thank you.

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


Re: [Dev] GSoC - [CEP] Visual Query Composer for WSO2 CEP

2016-03-24 Thread Mohanadarshan Vivekanandalingam
Hi Monish,

I hope you are aware about the deadline for proposal submission (It is 26th
March 00:30 IST) .. Please try to submit it before the deadline..

Thanks,
Mohan

On Sun, Mar 6, 2016 at 2:37 PM, monish godhia  wrote:

> Sir,
> Thanks for the prompt reply. I would rightaway start with the
> above guidelines and get back to you incase of any difficulty.
>  Thanks and Regards,
> Monish Godhia
>
> On Sun, Mar 6, 2016 at 2:34 PM, Sriskandarajah Suhothayan 
> wrote:
>
>> Looping the dev list
>>
>> Good here your interest.
>>
>> Please download WSO2CEP 4.1
>> http://wso2.com/products/complex-event-processor/
>> and try the getting started guide
>> https://docs.wso2.com/display/CEP410/Quick+Start+Guide
>>
>> When you add an execution plan (the core logic of CEP) it can be viewed.
>> from "Manage -> Execution Plans" and clicking on the execution plan name.
>> Here you will be able to see the written query as a graph.
>>
>> Learn how this is been done in
>> https://github.com/wso2/carbon-event-processing/tree/master/components/event-processor/org.wso2.carbon.event.processor.ui
>>
>> What you need to do is basically build some UI to build that graph and
>> then create the query from that.
>>
>> Regards
>> Suho
>>
>> On Sun, Mar 6, 2016 at 2:12 PM, monish godhia 
>> wrote:
>>
>>> Sir,
>>>  My name is Monish Godhia and I am a third year B.E. Hons Computer
>>> Science undergraduate student from BITS Pilani Hyderabad, India. My
>>> proficiency revolves around the areas of machine learning , C/C++, python,
>>> java, web development (frontend and backend). Many of my developments can
>>> be checked through my github profile - *https://github.com/share-with-me/
>>> *
>>> I have successfully completed my projects with Google India
>>> (code for India) and also been a part of the idea that was appreciated by
>>> the elite panel of internet.org challenge by Facebook.
>>> I would love to contribute to the 2016 GSoC by being a part
>>> of the project - [CEP] Visual Query Composer for WSO2 CEP. I have
>>> developed numerous websites (for my college fests) using frontend tools-
>>> HTML, CSS , Javascript and Jquery (on bootstrap framework) and used PHP,
>>> SQL, AngularJS for the vaildation of backend. To start with, I have forked
>>> dagre - d3 library of javascript and have gone through the product complex
>>> event processor.
>>> It would be great if you could mentor me to understand the
>>> idea in an elaborated manner so it can be worked upon.
>>>Thanks and Regards,
>>>Monish Godhia
>>>
>>
>>
>>
>> --
>>
>> *S. Suhothayan*
>> Technical Lead & Team Lead of WSO2 Complex Event Processor
>> *WSO2 Inc. *http://wso2.com
>> * *
>> lean . enterprise . middleware
>>
>>
>> *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog:
>> http://suhothayan.blogspot.com/ twitter:
>> http://twitter.com/suhothayan  | linked-in:
>> http://lk.linkedin.com/in/suhothayan *
>>
>
>


-- 
*V. Mohanadarshan*
*Senior Software Engineer,*
*Data Technologies Team,*
*WSO2, Inc. http://wso2.com  *
*lean.enterprise.middleware.*

email: mo...@wso2.com
phone:(+94) 771117673
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC 2016

2016-03-24 Thread Mohanadarshan Vivekanandalingam
Hi Jawadh,

I hope you are aware about the deadline for proposal submission (It is 26th
March 00:30 IST) .. Please try to submit it before the deadline..

Thanks,
Mohan


On Tue, Mar 22, 2016 at 2:44 PM, Mohanadarshan Vivekanandalingam <
mo...@wso2.com> wrote:

>
>
> On Mon, Mar 21, 2016 at 4:01 PM, Jawadh Salih Rifath <
> jawadhsalih.wo...@gmail.com> wrote:
>
>> Sorry the project I was looking for Visual Query Composer. the project 32.
>>
>>
> Happy to hear your interest in WSO2 and CEP..
>
>
>> 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.
>>
>
> Yes, It is somewhat similar..
>
> In CEP, When you are adding an execution plan (the core logic of CEP) it
> can be viewed. from "Manage -> Execution Plans" and clicking on the
> execution plan name. Here you will be able to see the written query as a
> graph.
>
> Learn how this is been done in
> https://github.com/wso2/carbon-event-processing/tree/master/components/event-processor/org.wso2.carbon.event.processor.ui
>
> In the project you have to build some UI to build that graph and then
> create the query from that.
>
>
> Thanks,
> Mohan
>
>
>>
>>
>> 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 <
>> jawadhsalih.wo...@gmail.com> 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
>>
>>
>
>
> --
> *V. Mohanadarshan*
> *Senior Software Engineer,*
> *Data Technologies Team,*
> *WSO2, Inc. http://wso2.com  *
> *lean.enterprise.middleware.*
>
> email: mo...@wso2.com
> phone:(+94) 771117673
>



-- 
*V. Mohanadarshan*
*Senior Software Engineer,*
*Data Technologies Team,*
*WSO2, Inc. http://wso2.com  *
*lean.enterprise.middleware.*

email: mo...@wso2.com
phone:(+94) 771117673
___
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-24 Thread Supun Sethunga
Hi Vishma,

Please complete any changes and submit your *final proposal* to GSoC,
before the deadline (Friday).

Regards,
Supun

On Thu, Mar 24, 2016 at 12:02 PM, Upul Bandara  wrote:

> I have added few comments.
> Overall, your proposal looks good to me.
>
> Thanks,
> Upul
>
> On Thu, Mar 24, 2016 at 11:47 AM, Upul Bandara  wrote:
>
>> Noted
>>
>> On Thu, Mar 24, 2016 at 11:44 AM, Vishma Senadhi Dias <
>> vishma...@cse.mrt.ac.lk> wrote:
>>
>>> I have submitted a draft proposal on GSoC program site. Please do review
>>> and any feedback on the proposal is highly appreciated.
>>>
>>> Thanks.
>>>
>>>
>>> On 3/24/2016 9:13 AM, Upul Bandara wrote:
>>>
>>> Yes, you are correct.
>>>
>>> Actually, w don't need to implement anything on top of the DL4J library
>>> in order to support Spark. It is already available in DL4J.
>>>
>>> Thanks,
>>> Upul
>>>
>>> On Thu, Mar 24, 2016 at 9:07 AM, Vishma Senadhi Dias <
>>> vishma...@cse.mrt.ac.lk> wrote:
>>>
 Hi Upul,

 I am working on the proposal and I will be able to submit a draft on
 today. I will let you know when I complete the draft.

 Meanwhile am I correct to interpret that Visual neural network needs,

1. JavaScript front end
2. Neural network build from DL4J using front end configurations
3. Apache spark for data parallelism ( can implemented internally
on dl4j)
4. Integration of the module to WSO2 machine learner so that it
could work as an internal implementation which is able to use WSO2 Data
Analytic Servers

 Please do correct me if I am wrong.

 Thanks,
 Vishma.


 On 3/23/2016 7:56 AM, Upul Bandara wrote:

 Hi Vishma,

 WSO2 Machine Learner: Best place to get started with our server is its
 documentation page [1].
 DL4J also has a very good documentation and tutorials.

 But at the initial stage, high-level understanding of our product and
 other libraries would be enough. Later you can go through
 documentation/tutorials to get more information about required libraries.

 So please try to come up with a proposal and share it with us. If you
 could do this before this Friday, we can easily give us some feedback
 before submitting it.

 Thanks,
 Upul

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

 On Mon, Mar 21, 2016 at 8:55 PM, Vishma Dias <
 vishma...@cse.mrt.ac.lk> wrote:

> Hi Upul,
>
> I am working on the proposal at the moment. To be honest I have not
> used DL4J before. I have a little trouble with deciding on the required
> knowledge scope to this project.
>
> Can you help me with some instructions on the expected level of skills
> on,
>
>1. WSO2 Machine Learner
>2. DL4J
>
> I am familiar with Apache Spark Libraries. Is there any other concerns
> on this project?
>
> Best Regards,
> Vishma.
>
> On 3/21/2016 1:33 PM, Upul Bandara wrote:
>
> 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 < 
> u...@wso2.com> 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 <%2B94%20715%20468%20345>.
>>
>
>
>
> --
> Upul Bandara,
> Associate Technical Lead, WSO2, Inc.,
> Mob: +94 715 468 345 <%2B94%20715%20468%20345>.
>
>
>


 --
 Upul Bandara,
 Associate Technical Lead, WSO2, Inc.,
 Mob: +94 715 468 345 <%2B94%20715%20468%20345>.



>>>
>>>
>>> --
>>> Upul Bandara,
>>> Associate Technical Lead, WSO2, Inc.,
>>>

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

2016-03-24 Thread Supun Sethunga
Hi Lakini,

Please complete any changes and submit your final proposal to GSoC, before
the deadline (Friday).

Regards,
Supun

On Thu, Mar 24, 2016 at 10:17 AM, Lakini Senanayaka <
lakinisenanayak...@gmail.com> wrote:

> Thank you for the comments.
> Yes.I'll change my proposal and I'll send it soon.
>
> On Thu, Mar 24, 2016 at 9:59 AM, Upul Bandara  wrote:
>
>> We have added few comments.
>> Can you please address those comments?
>>
>> Thanks,
>> Upul
>>
>> On Thu, Mar 24, 2016 at 9:04 AM, Upul Bandara  wrote:
>>
>>> Please grant us comment rights.
>>>
>>> On Thu, Mar 24, 2016 at 9:02 AM, Upul Bandara  wrote:
>>>
 Yes, just started to read it and will provide feedback ASAP

 On Thu, Mar 24, 2016 at 8:55 AM, Lakini Senanayaka <
 lakinisenanayak...@gmail.com> wrote:

> Hi,
>
> Hope you got my mail about the proposal.
>
> On Wed, Mar 23, 2016 at 5:18 PM, Lakini Senanayaka <
> lakinisenanayak...@gmail.com> wrote:
>
>> Hi,
>>
>> Could you please check my proposal[1] for [ML] Visual (Deep) Neural
>> Network Builder.I kindly request your feedback and comments on it.
>>
>> [1]Proposal 03:[ML] Visual (Deep) Neural Network Builder
>> 
>>
>>
>> --
>> Thank you.
>>
>> Sincerely,
>> *Lakini Senanayaka.*
>>
>>
>
>
> --
> Thank you.
>
> Sincerely,
> *Lakini Senanayaka.*
>
>


 --
 Upul Bandara,
 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.
>>
>
>
>
> --
> Thank you.
>
> Sincerely,
> *Lakini Senanayaka.*
>
>
> ___
> 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
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Introduction for GSoC

2016-03-24 Thread Supun Sethunga
Hi Tanusha,

Please submit your final proposal to GSoC, before the deadline.

Regards,
Supun

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

> 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
> 

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

2016-03-24 Thread Supun Sethunga
Hi Mahesh,

Please submit your final proposal to GSoC, before the deadline.

Regards,
Supun

On Mon, Mar 21, 2016 at 1:00 PM, Maheshakya Wijewardena  wrote:

> 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 <
> dananjayamah...@gmail.com> 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 

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

2016-03-24 Thread Supun Sethunga
Hi Hasitha,

Please submit your final proposal to GSoC, before the deadline.

Regards,
Supun

On Wed, Mar 23, 2016 at 2:03 PM, Hasitha Jayasundara <
hasithajayasunda...@gmail.com> wrote:

> Thank you very much
>
> On Wed, Mar 23, 2016 at 2:00 PM, Supun Sethunga  wrote:
>
>> This Looks good! Please go ahead and submit the final draft to GSoC, on
>> or before Friday  :)
>>
>> On Wed, Mar 23, 2016 at 1:50 PM, Hasitha Jayasundara <
>> hasithajayasunda...@gmail.com> wrote:
>>
>>> I made the changes.Really sorry that I had to change the timeline
>>> several times.Since you have requested a rough timeline I only added some
>>> main topics in the previous drafts.Could you please check the new one and
>>> add some comments.
>>>
>>> https://docs.google.com/document/d/1bAJ2DYuaIIzhIWpxyKJl03v2aNRVl9miUg6PvNHyesA/edit?usp=sharing
>>>
>>> On Tue, Mar 22, 2016 at 11:19 PM, Supun Sethunga 
>>> wrote:
>>>
 Coding period (implementations) should be within 23rd May to 23rd
 August :)

 Btw, rather than having one slot as "Implement ensemble methods", can
 you break it down to the three methods, and have three separate slots? That
 way it would be easy for you to work on the three methods separately, as
 well as track down the progress..

 Regards,
 Supun

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

> Am I violating google GSoC calendar in my timeline?
>
> On Mon, Mar 21, 2016 at 4:47 PM, Hasitha Jayasundara <
> hasithajayasunda...@gmail.com> wrote:
>
>> Made some adjustments.Could you please check
>>
>> https://docs.google.com/document/d/1bAJ2DYuaIIzhIWpxyKJl03v2aNRVl9miUg6PvNHyesA/edit?usp=sharing
>>
>> On Mon, Mar 21, 2016 at 4:24 PM, Hasitha Jayasundara <
>> hasithajayasunda...@gmail.com> wrote:
>>
>>> I 'll adjust them
>>>
>>>
>>> On Mon, Mar 21, 2016 at 4:07 PM, Supun Sethunga 
>>> wrote:
>>>
 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.

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

2016-03-24 Thread Supun Sethunga
Hi Anurag,

Please submit your final proposal to GSoC, before the deadline.

Regards,
Supun

On Tue, Mar 22, 2016 at 11:12 PM, Supun Sethunga  wrote:

> Hi Anurag,
>
> Looks good! May be you can also improve the diagram to reflect the
> description of the three methods (which is right above the diagram).
>
> Anyway, please create the final proposal and submit before Friday, 25th.
>
> Regards,
> Supun
>
> On Tue, Mar 22, 2016 at 1:52 PM, Anurag Kashyap 
> wrote:
>
>> Hi,
>>  I have made a few changes to the proposal and elaborated a few points.
>> Kindly give your valuable feedback.
>>
>> https://docs.google.com/document/d/1L132ApiOm4m0DbyVZ-TYCedsRrt7oE_cgOzAuScvFiQ/edit?usp=sharing
>>
>> Regards,
>> Anurag Kashyap
>>
>> On Mon, Mar 21, 2016 at 4:43 PM, Supun Sethunga  wrote:
>>
>>> 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,

 Ye

Re: [Dev] Regarding the Location and Time-based Device Policy Enforcement Project for Gsoc2016

2016-03-24 Thread Sameera Wickramasekara
Hi Kasun,

As i was reading the documentation i understood the following approach to
the problem, can you please comment if im right or wrong

1. the EMM monitors the devices for policy violations between given time
intervals.
2.we can use this functionality to receive the location data of each
device(OR use the rest api to request the location, ?? )
3.then we can enforce the location based policies if the device belongs to
the  area of interest.

Thank you
Sameera Wickramasekara

On Thu, Mar 24, 2016 at 8:39 AM, Kasun Dananjaya Delgolla 
wrote:

> Hi Sameera,
>
> Please find the documentation link[1] for policy management. You can
> carefully study the current behavior of the policy management feature and
> think of a unique way of solving the problem "Enforcing policies based on
> users location and a given time frame". Take all the points that I've
> described in my first mail and start building your proposal. Good luck!
>
> [1] - https://docs.wso2.com/display/EMM210/Managing+Policies
>
> On Wed, Mar 23, 2016 at 10:37 PM, Sameera Wickramasekara <
> itssamw...@gmail.com> wrote:
>
>> Hi,
>>
>> I have successfully built the WSO2 EMM from source. i have understood
>> that the deliverables are time and location based policy enforcement. how
>> should i start to implement a custom policy/ change a policy  in the EMM ?
>> can you point me to a tutorial of some sort.
>> And i hope i will be able to complete my proposal before the deadline
>> with your guidence
>>
>> Thank you
>> Sameera Wickramasekara
>>
>>
>> On Mon, Mar 14, 2016 at 2:10 PM, Kasun Dananjaya Delgolla <
>> kas...@wso2.com> wrote:
>>
>>> Hi Sameera,
>>>
>>> Thank you for your interest in this project.
>>>
>>>
>>> In order to get a better picture of the project make sure to build WSO2
>>> EMM[1] including CDMF framework[2] using the git repositories listed.
>>>
>>> Enroll a device and a publish a sample policy against the device and
>>> study the current behavior of the policy.
>>> You are expected to change the behavior a mentioned below.
>>>
>>> Given policy must be activated automatically when the device enters a
>>> predefined area.
>>> Given policy must be deactivated when a device leaves a predefined
>>> area.
>>> Given policy must be activated automatically in the given time frame.
>>> Stats of the current policy, whether its active or inactive need to be
>>> visible in the dashboard.
>>> Policy compliance monitoring to the given device must be activated when
>>> a policy is activated.
>>>
>>> Project deliverable "Extension point for current EMM policy module with
>>> location and time based policy publishing capability" includes
>>> followings,
>>>
>>>- Location based policy enforcement component.
>>>- A component which enables the location base policy monitoring and
>>>   enforcement including statics.This need to be a extension to thee
>>>   component which enabled device policies currently
>>>- Time based location component.
>>>- A component which enables the time base policy monitoring and
>>>   enforcement including statics.This need to be a extension to thee
>>>   component which enabled device policies currently
>>>- Location and time based policy configuration UI.
>>>- This is to enable users to configure and maintain the locations
>>>and time frames.The UI must have the ability to monitor the
>>>   policies which is active in the device and compliance
>>>   status.Above features must follow the current pattern used for
>>>   policy monitoring and Policy Management in WSO2 EMM.
>>>
>>>
>>> While working with WSO2 EMM, if you found any bugs or improvements feel
>>> free to let us know by using the oxygen tank[3].
>>>
>>> [1] https://github.com/wso2/carbon-device-mgt
>>> [2] https://github.com/wso2/product-mdm
>>> [3] https://wso2.org/jira/secure/Dashboard.jspa
>>>
>>> Thank you
>>>
>>> On Mon, Mar 14, 2016 at 1:36 PM, Sameera Wickramasekara <
>>> itssamw...@gmail.com> wrote:
>>>


 Hi ,
 Im Sameera Wickramasekara, a 3rd year Undergraduate from University of
 Moratuwa Faculty of information Technology. Im interested in the Location
 and Time-based Device policy Endorsement Project. I have good experience in
 Java and Android development. and Im confident i would be able to complete
 this project with your guidance.please let me know how to proceed from 
 here.

 thank you


>>>
>>>
>>> --
>>> Kasun Dananjaya Delgolla
>>>
>>> Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>> Tel:  +94 11 214 5345
>>> Fax: +94 11 2145300
>>> Mob: + 94 771 771 015
>>> Blog: http://kddcodingparadise.blogspot.com
>>> Linkedin: *http://lk.linkedin.com/in/kasundananjaya
>>> *
>>>
>>
>>
>>
>
>
> --
> Kasun Dananjaya Delgolla
>
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
> Tel:  +94 11 214 5345
> Fax: +94 11 2145300
> Mob: + 94 771 771 015
>

Re: [Dev] Proposal 20: [IS] SAML Assertion Query/Request Profile support for WSO2 Identity Server

2016-03-24 Thread Omindu Rathnaweera
Hi Gayan,


It's better if you can allocate sometime to study the Identity Server's
architecture and how the SAML implementation has been done. This is
important since you'll be closely working with the SAML component
throughout the project.

Regards,
Omindu.

On Thu, Mar 24, 2016 at 2:50 PM, Chamila Wijayarathna 
wrote:

> Hi Gayan,
>
> Your proposal looks good, I would like to suggest few more improvements.
>
>
>- Its better if you can list deliverables and expected challenges of
>the project
>- You have allocated time for testing in your time line which give me
>feeling like you are talking about manually testing feature you are
>developing, but you need to allocate time to implement automation tests
>(integration, unit, ui tests) to cover all the functionalities of your
>component. So please allocate time for this as well. If you need to get
>idea about how to implement integration tests, please refer to [1]. Don't
>allocate much time to do manual testing and try to automate tests.
>
> [1]. https://github.com/wso2/product-is/tree/master/modules/integration
>
> Good Luck!
>
> On Thu, Mar 24, 2016 at 2:34 PM, Omindu Rathnaweera 
> wrote:
>
>> Hi Gayan,
>>
>> Great to hear that you are interested in doing the project!
>>
>> Can you please give us permissions to add comments to the proposal doc ?
>>
>> Regards,
>> Omindu.
>>
>> On Thu, Mar 24, 2016 at 2:10 PM, Gayan Liyanaarachchi <
>> gayanliyanaarach...@gmail.com> wrote:
>>
>>> Hi Omindu/Tharindu,
>>>
>>>
>>> I am Gayan who is a final year undergraduate student from  SLIIT.
>>> Please find me draft proposal [1] for "SAML Assertion Query/Request Profile
>>> support for WSO2 Identity Server".  It is really great, if you can review
>>> and provide some feedback on it.
>>>
>>>
>>> [1]
>>> https://docs.google.com/document/d/17fgRhEUs0dVpfv-QTC6oL8s12K2N7h8Q1VxYN4Tb-Xc/edit?usp=sharing
>>>
>>>
>>> Thanks,
>>> Gayan.
>>>
>>
>>
>>
>> --
>> 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
>>
>>
>
>
> --
> *Chamila Dilshan Wijayarathna,*
> Software Engineer
> Mobile:(+94)788193620
> WSO2 Inc., http://wso2.com/
>



-- 
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


[Dev] Identity Thrift Authentication Feature can't be found in Feature Management in management console

2016-03-24 Thread Lakshani Gamage
Hi all,

I tried to install "*Identity Thrift Authentication Feature*"[1] on
wso2carbon-4.4.3
using [2]. Although
*org.wso2.carbon.identity.thrift.authentication_5.0.7.jar* is available in
[2], the feature could not be found in "*Feature Management*" of management
console.

Any idea?

[1]
https://github.com/wso2/carbon-identity/blob/release-5.0.7/features/carbon-authenticators/thrift-authenticator/org.wso2.carbon.identity.thrift.authentication.feature/pom.xml
[2] http://product-dist.wso2.com/p2/carbon/releases/wilkes

Thanks,
-- 
Lakshani Gamage

*Software Engineer, WSO2*

*Mobile : +94 71 5478184 <%2B94%20%280%29%20773%20451194>*
*Blog : http://lakshanigamage.blogspot.com/
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Getting "Program too complex: too big jump offset" error in a jaggery file

2016-03-24 Thread Supun Sethunga
Thanks all for the suggestions!

it indeed is a limitation with js/rhino. Refactoring solves the issue.

Thanks,
Supun

On Thu, Mar 24, 2016 at 3:13 PM, Nipuna Chandradasa 
wrote:

> Hi,
>
> I have come across this issue before. this is because of the jaggery file
> size is exceeding the max size that rhino engine can compile that is 70kb
> (Not sure whether this is the correct size) as i know. So the solution is
> either modularize your code in to several files and combined them together
> using include() or as Dakshika mentioned use already existing java methods.
>
> Regards,
>
> On Thu, Mar 24, 2016 at 2:34 PM, Dakshika Jayathilaka 
> wrote:
>
>> Hi,
>>
>> IMO you need to write your main logic on java and use it on jaggery
>> file[1].
>>
>> [1]
>> http://madhukaudantha.blogspot.com/2014/02/using-java-method-from-jaggery-file.html
>>
>> Regards,
>>
>> *Dakshika Jayathilaka*
>> PMC Member & Committer of Apache Stratos
>> Senior Software Engineer
>> WSO2, Inc.
>> lean.enterprise.middleware
>> 0771100911
>>
>> On Wed, Mar 23, 2016 at 4:58 PM, Akalanka Pagoda Arachchi <
>> darsha...@wso2.com> wrote:
>>
>>> This does look like a bug [1], however, is also due to reaching the
>>> limit of instruction size. Few suggestions are there in [2], may be you can
>>> try them out.
>>>
>>> [1] - https://bugzilla.mozilla.org/show_bug.cgi?id=331837
>>> [2] -
>>> http://community.sahipro.com/forums/discussion/1316/funtion-too-long-getting-compilation-error
>>>
>>> Thanks,
>>> Akalanka.
>>>
>>> On Wed, Mar 23, 2016 at 4:44 PM, Supun Sethunga  wrote:
>>>
 Hi,

 I have a jag file containing ~1900 LOC [1]. To that, I added few more
 stringify() calls. At one point, the jag app throws the below exception. If
 I remove any of the stringify() methods, it works fine. (This error is
 thrown for other functions such as well, like array looping or accessing
 array elements and etc).

 Wonder whether there is a limit of instructions/logics per single jag
 file?

 Appreciate any help/workaround on this.


 *Stack trace:*

 [2016-03-23 16:32:13,498] ERROR
 {org.jaggeryjs.jaggery.core.manager.WebAppManager} -
  org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.mozilla.javascript.EvaluatorException: Encountered code generation
 error while compiling function "null": Program too complex: too big jump
 offset (/portal/controllers/apis/esbanalytics.jag#2)
 (/portal/routers/apis.jag#22) (/portal/routers/tenant.jag#67)
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.mozilla.javascript.EvaluatorException: Encountered code generation
 error while compiling function "null": Program too complex: too big jump
 offset (/portal/controllers/apis/esbanalytics.jag#2)
 (/portal/routers/apis.jag#22) (/portal/routers/tenant.jag#67)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:571)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
 at
 org.jaggeryjs.jaggery.core.manager.WebAppManager.exec(WebAppManager.java:587)
 at
 org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:507)
 at
 org.jaggeryjs.jaggery.core.JaggeryServlet.doGet(JaggeryServlet.java:24)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 at
 org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
 at
 org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
 at
 org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:378)
 at
 org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
 at
 org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 at
 org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
 at
 org.apache.ca

Re: [Dev] GSoC '16 - Proposal 16: Contact Development Team feature in DevStudio

2016-03-24 Thread Awanthika Senarath
Hello Chanuka,

please find my comments inline,

I went through the DevStudio kernel and have a few questions. I'd be ever
so grateful for your answers.

1. The DeveloperStudioLog class doesn't include any control scheme to limit
reporting multiple cases of the same error in short time periods.
Reporting all cases seems like a nuisance, especially if it's an intended
error.
Would limiting such successive reports cause any harm? One way would be to
pause/ stop reporting the same error after, say, 10 close occurrences.

you can include your suggestions in your proposal.

2. Should the error report be fully automated and not interact with the
developer at all?
It seems better to allow the developer to attach a message along with the
report. That way the internal devs can get contextual info as well.

the error report should contact the developer as it should ask for his
consent which is the normal procedure.

You can decide on how best to implement it.

3.  Developers would be interested in getting feedback for what they report
and want to track the progress on issues. This could be implemented as an
opt-in feature, along with anonymization.

Yes, it would be a nice to have feature.

Feel free to prioritize and include your ideas in the proposal. If you need
any information on the current implementation or more information on
anything drop us a mail.

Regards
Awanthika

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



On Thu, Mar 24, 2016 at 12:11 PM, Chanuka Wijayakoon <
cl.workplac...@gmail.com> wrote:

> Hello everyone,
>
> I went through the DevStudio kernel and have a few questions. I'd be ever
> so grateful for your answers.
>
> 1. The DeveloperStudioLog class doesn't include any control scheme to
> limit reporting multiple cases of the same error in short time periods.
> Reporting all cases seems like a nuisance, especially if it's an intended
> error.
> Would limiting such successive reports cause any harm? One way would be to
> pause/ stop reporting the same error after, say, 10 close occurrences.
>
> 2. Should the error report be fully automated and not interact with the
> developer at all?
> It seems better to allow the developer to attach a message along with the
> report. That way the internal devs can get contextual info as well.
>
> 3.  Developers would be interested in getting feedback for what they
> report and want to track the progress on issues. This could be implemented
> as an opt-in feature, along with anonymization.
> Thoughts?
>
> Best regards
>
> On 24 March 2016 at 09:11, Chanuka Wijayakoon 
> wrote:
>
>> Great, I'll get back to you with a draft proposal today.
>>
>> Thank you.
>>
>> On 24 March 2016 at 08:12, Awanthika Senarath  wrote:
>>
>>> Hello Chanuka,
>>>
>>> What we expect is something similar to eclipse mars implementation.
>>>
>>> The latest released developer studio is on Eclipse Luna, and the next
>>> release would be on Eclipse Mars which would be release within this
>>> quarter.You can checkout the Developer Studio kernel code and get a basic
>>> understanding on the code level.
>>>
>>> You can go ahead and start creating your proposal.
>>>
>>> Regards
>>> Awanthika
>>>
>>> Awanthika Senarath
>>> Software Engineer, WSO2 Inc.
>>> Mobile: +94717681791
>>>
>>>
>>>
>>> On Tue, Mar 22, 2016 at 8:01 PM, Chanuka Wijayakoon <
>>> cl.workplac...@gmail.com> wrote:
>>>
 Hi,

 I am Chanuka Wijayakoon, a 2nd year undergraduate at the Department of
 Computer Science & Engineering in University of Moratuwa. I'm interested in
 building a semi-automated error reporting extension for DevStudio as a GSoC
 2016 intern.

 I have selected this proposal after carefully considering my skills and
 past experience in working with Java and related technologies. I have a
 special interest towards building Eclipse plugins.

 So far I have researched on existing solutions for automated error
 reporting and came across the AERI of Eclipse Mars as a model solution. It
 provides developers with a rich set of features to report errors in Eclipse
 to a central server with relevant metadata. It integrates with the Eclipse
 RCP as part of the EPP.

 As I understand, a viable solution for proposal 16 would be of similar
 design tailored for DevStudio users. Currently I'm studying how DevStudio
 (based on Eclipse Luna 4.4) differs from Eclipse Mars 4.5, implementation
 details of EPP & JIRA usage.

 I'd be grateful if you could tell me whether I'm headed in the right
 direction and suggest anything to further read or work on to familiarize
 with your system.

 Best regards,


 Chanuka Wijayakoon
 Mobile: +94 779 089 737
 

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


>>>
>>
>>
>> --
>> Chanuka Wijayakoon

[Dev] [DEV] [Architecture] [DS] Alternatives for Gadget-Dashboard communication

2016-03-24 Thread Lasantha Samarakoon
Hi all,

WRT the discussion had in the PC, in order to persist gagdets' state we
thought of providing a API for gadgets to save and retrieve their states
from the dashboard URL (via hash), instead of using existing pubsub model.

Therefore I did a research on alternatives to implement the API for gadgets
and found the following options.

1. Accessing the parents objects directly (via 'parent.x')
2. Inject API object into IFrames directly.
3. Using HTML5 window.postMessage [1]

As it seems, we cannot use the first two options as they are not working in
cross-domain scenarios. But using the postMessage it is viable. Appreciate
any other options or feedback.

[1] http://caniuse.com/#search=postMessage


Regards,

*Lasantha Samarakoon* | Software Engineer
WSO2, Inc.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 (71) 214 1576
Email:  lasant...@wso2.com
Web:www.wso2.com

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


Re: [Dev] [Carbon] Build fail in cerbon4-kernel source code.

2016-03-24 Thread Aruna Karunarathna
On Wed, Mar 23, 2016 at 7:08 PM, Maduranga Siriwardena 
wrote:

> Any ideas how to resolve this issue?
>

Hi Maduranga,

I tried with both JDK 7 and 8 and the 4.4.x branch built without any issue.

Can you try building with a clean maven repo?

Regards,
Aruna

>
> Thanks,
> Maduranga
>
> On Tue, Sep 1, 2015 at 11:10 AM, Maduranga Siriwardena  > wrote:
>
>> Hi all,
>>
>> Anyone know how to fix this? I keep on getting this error
>>
>> Failed to execute goal org.apache.felix:maven-scr-plugin:1.7.4:scr
>> (generate-scr-scrdescriptor) on project org.wso2.carbon.core: Execution
>> generate-scr-scrdescriptor of goal
>> org.apache.felix:maven-scr-plugin:1.7.4:scr failed: Comparison method
>> violates its general contract! -> [Help 1]
>>
>> Thanks,
>> Maduranga
>>
>> On Fri, Jun 12, 2015 at 11:16 AM, Maduranga Siriwardena <
>> madura...@wso2.com> wrote:
>>
>>> Hi Thusitha,
>>>
>>> I have tried to build both master branch and release-4.4.0 branch.
>>>
>>> I have java version "1.7.0_80" and Apache Maven 3.0.5
>>>
>>> On Fri, Jun 12, 2015 at 11:05 AM, Thusitha Thilina Dayaratne <
>>> thusit...@wso2.com> wrote:
>>>
 Hi Maduranga,

 If you are trying to build the master branch from github use JDK7  or 8
 with maven 3.0.x.
 This will help you
 https://docs.wso2.com/display/Carbon440/Installation+Prerequisites

 Thanks

 On Fri, Jun 12, 2015 at 10:57 AM, Thusitha Thilina Dayaratne <
 thusit...@wso2.com> wrote:

> Hi Madhuranga,
>
> I just checkout the master branch and built without any issues.
> May be some compatible issues with maven and jdk versions?
>
> Thanks
>
> On Fri, Jun 12, 2015 at 10:39 AM, Maduranga Siriwardena <
> madura...@wso2.com> wrote:
>
>> Hi all,
>>
>> I tried to build carbon4-kernel and I got the below error.
>>
>> *Failed to execute goal org.apache.felix:maven-scr-plugin:1.7.4:scr
>> (generate-scr-scrdescriptor) on project org.wso2.carbon.core: Execution
>> generate-scr-scrdescriptor of goal
>> org.apache.felix:maven-scr-plugin:1.7.4:scr failed: Comparison method
>> violates its general contract!*
>>
>> Such a problem is reported in apache felix plugin version 1.7.4 [1].
>> So I changed the version of the maven scr plugin to 1.8.0 and if I resume
>> the build, it build successfully.
>>
>> But if I build the code again from the beginning, I get below error
>> from *org.wso2.carbon.registry.core* which is built before
>> *org.wso2.carbon.core*.
>>
>> *[ERROR] Bundle
>> org.wso2.carbon:org.wso2.carbon.registry.core:bundle:4.4.1-SNAPSHOT : 
>> Input
>> file does not exist:
>> target/scr-plugin-generated/OSGI-INF/serviceComponents.xml*
>>
>> Seems to be it is not generating the OSGI-INF. Any help how to build
>> source successfully?
>>
>> [1] https://issues.apache.org/jira/browse/FELIX-3571
>>
>> Thank you.
>> --
>> 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
>>
>>
>
>
> --
> Thusitha Dayaratne
> Software Engineer
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> Mobile  +94712756809
> Blog  alokayasoya.blogspot.com
> Abouthttp://about.me/thusithathilina
>
>


 --
 Thusitha Dayaratne
 Software Engineer
 WSO2 Inc. - lean . enterprise . middleware |  wso2.com

 Mobile  +94712756809
 Blog  alokayasoya.blogspot.com
 Abouthttp://about.me/thusithathilina


>>>
>>>
>>> --
>>> Maduranga Siriwardena
>>> Software Engineer
>>> WSO2 Inc.
>>>
>>> email: madura...@wso2.com
>>> mobile: +94718990591
>>>
>>
>>
>>
>> --
>> Maduranga Siriwardena
>> Software Engineer
>> WSO2 Inc.
>>
>> email: madura...@wso2.com
>> mobile: +94718990591
>>
>
>
>
> --
> 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
>
>


-- 

*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] Fwd: [GSoC 16'] Proposal 20: [IS] SCIM 2.0 Support to WSO2 Identity Server

2016-03-24 Thread Omindu Rathnaweera
Hi Manujith,

It's better to include implementation of automation tests in your proposal.
The automation tests include unit & integration tests and if needed, UI
tests.  Also you can start blogging about your findings so far and add them
in your proposal.

Regards,
Omindu.

On Thu, Mar 24, 2016 at 2:27 AM, Manujith Pallewatte 
wrote:

> Hi all,
>
> Thank you very much for the comments, I revised and changed as much as
> possible.
> About the confusion by Entitlement Engine I wanted to refer to the
> EntitlementEngine.java class in src since it has the main entry points to
> the service
> But it is really a confusing detail and i changed it to Identity Server
> instead
> Also i added a few illustrations to make some points clear
> Please give me feedback on the revised proposal
>
>
> https://docs.google.com/document/d/1dz8FcqUHargRM1q0UG0Ln4FHo_zHH-ENz6oc1hjeLYY/edit?usp=sharing
>
> Thankx alot again!
>
> On Wed, Mar 23, 2016 at 3:41 PM, Pushpalanka Jayawardhana 
> wrote:
>
>> Hi Manujith,
>>
>> Added the comments and suggestions. Please have a look and correct.
>> Please also note that the entitlement engine we have in PDP component is
>> the Balana engine and there is no seperate entitlelment engine within IS.
>> IS provides XACML support on top of Balana engine, with other required
>> functionality for PEP, PAP and PIP.
>>
>> Thanks,
>> Pushpalanka
>>
>> On Wed, Mar 23, 2016 at 3:13 PM, Manujith Pallewatte <
>> manujith...@gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> Thankx alot for the input and I added them in the proposal so far
>>> I have attached the proposal with the mail
>>> Please review it and let me know points of improvement and any
>>> additional details I'm missing in it
>>>
>>> Thank You
>>>
>>> On Wed, Mar 23, 2016 at 12:05 PM, Pushpalanka Jayawardhana <
>>> la...@wso2.com> wrote:
>>>


 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 Wed, Mar 23, 2016 at 11:58 AM, Manujith Pallewatte <
 manujith...@gmail.com> wrote:

> Hi all,
>
> I will certainly start off with the client, would be a good starting
> point to observer the responses I think.
> Thank to Omindu I was able to use SoapUI to simulate a request for
> now, I'm trying to develop on that as well. Should those things go in the
> proposal as well?
> I have a drafted a basic proposal which I will send asap for your
> feedback, then once I complete task 1, I can document it too
>
 This is good progress. It is better to mention what you have tried upto
 now regarding the project in brief, in the proposal.

>
> Thank You
>
> On Wed, Mar 23, 2016 at 11:35 AM, Pushpalanka Jayawardhana <
> la...@wso2.com> wrote:
>
>>
>>
>> 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 Wed, Mar 23, 2016 at 2:05 AM, Manujith Pallewatte <
>> manujith...@gmail.com> wrote:
>>
>>> Hi Pushpalanka,
>>>
>>> Sorry for spamming the inbox like this, but since I'm already behind
>>> the schedule I have to get things resolved as fast as possible. Please
>>> don't mind it.
>>> One more thing as I finally got to the conclusion, the objective is
>>> to implement RESTful service to the PDP of IS so that any PEP can access
>>> them
>>> in a RESTful manner? In other words the REST service should be
>>> implemented to facilitate the information exchange between the PEP and 
>>> PDP
>>> Is that correct? please correct me if i'm wrong
>>>
>>
>>
>>
>>> Thanks alot
>>>
>>> On Wed, Mar 23, 2016 at 1:39 AM, Manujith Pallewatte <
>>> manujith...@gmail.com> wrote:
>>>
 Hi Pushpalanka,

 I tried examining the PDP and PAP of IS to get an idea of how
 things work and i followed the blog article [
 http://pushpalankajaya.blogspot.com/2013/06/working-with-xacml-30-policies-for-fine.html].
 I tested out few policies and all seems fine. Now I want to test the
 policies using a PEP
 Is there any way to simulate a authorization request? (may be using
 curl as we use to test RESP APIs)
 If there's any such way, where should I point the requests at?
 ex: I added a policy for the resource url
 http://localhost/services/secret
 and the IS server is hosted at http://localhost:9443/
 now i want to do a authorized requests to the 1st mentioned service
 through the IS server, i sense i'm missing 

Re: [Dev] Getting "Program too complex: too big jump offset" error in a jaggery file

2016-03-24 Thread Nipuna Chandradasa
Hi,

I have come across this issue before. this is because of the jaggery file
size is exceeding the max size that rhino engine can compile that is 70kb
(Not sure whether this is the correct size) as i know. So the solution is
either modularize your code in to several files and combined them together
using include() or as Dakshika mentioned use already existing java methods.

Regards,

On Thu, Mar 24, 2016 at 2:34 PM, Dakshika Jayathilaka 
wrote:

> Hi,
>
> IMO you need to write your main logic on java and use it on jaggery
> file[1].
>
> [1]
> http://madhukaudantha.blogspot.com/2014/02/using-java-method-from-jaggery-file.html
>
> Regards,
>
> *Dakshika Jayathilaka*
> PMC Member & Committer of Apache Stratos
> Senior Software Engineer
> WSO2, Inc.
> lean.enterprise.middleware
> 0771100911
>
> On Wed, Mar 23, 2016 at 4:58 PM, Akalanka Pagoda Arachchi <
> darsha...@wso2.com> wrote:
>
>> This does look like a bug [1], however, is also due to reaching the limit
>> of instruction size. Few suggestions are there in [2], may be you can try
>> them out.
>>
>> [1] - https://bugzilla.mozilla.org/show_bug.cgi?id=331837
>> [2] -
>> http://community.sahipro.com/forums/discussion/1316/funtion-too-long-getting-compilation-error
>>
>> Thanks,
>> Akalanka.
>>
>> On Wed, Mar 23, 2016 at 4:44 PM, Supun Sethunga  wrote:
>>
>>> Hi,
>>>
>>> I have a jag file containing ~1900 LOC [1]. To that, I added few more
>>> stringify() calls. At one point, the jag app throws the below exception. If
>>> I remove any of the stringify() methods, it works fine. (This error is
>>> thrown for other functions such as well, like array looping or accessing
>>> array elements and etc).
>>>
>>> Wonder whether there is a limit of instructions/logics per single jag
>>> file?
>>>
>>> Appreciate any help/workaround on this.
>>>
>>>
>>> *Stack trace:*
>>>
>>> [2016-03-23 16:32:13,498] ERROR
>>> {org.jaggeryjs.jaggery.core.manager.WebAppManager} -
>>>  org.mozilla.javascript.WrappedException: Wrapped
>>> org.jaggeryjs.scriptengine.exceptions.ScriptException:
>>> org.mozilla.javascript.WrappedException: Wrapped
>>> org.jaggeryjs.scriptengine.exceptions.ScriptException:
>>> org.jaggeryjs.scriptengine.exceptions.ScriptException:
>>> org.mozilla.javascript.EvaluatorException: Encountered code generation
>>> error while compiling function "null": Program too complex: too big jump
>>> offset (/portal/controllers/apis/esbanalytics.jag#2)
>>> (/portal/routers/apis.jag#22) (/portal/routers/tenant.jag#67)
>>> org.jaggeryjs.scriptengine.exceptions.ScriptException:
>>> org.mozilla.javascript.WrappedException: Wrapped
>>> org.jaggeryjs.scriptengine.exceptions.ScriptException:
>>> org.mozilla.javascript.WrappedException: Wrapped
>>> org.jaggeryjs.scriptengine.exceptions.ScriptException:
>>> org.jaggeryjs.scriptengine.exceptions.ScriptException:
>>> org.mozilla.javascript.EvaluatorException: Encountered code generation
>>> error while compiling function "null": Program too complex: too big jump
>>> offset (/portal/controllers/apis/esbanalytics.jag#2)
>>> (/portal/routers/apis.jag#22) (/portal/routers/tenant.jag#67)
>>> at
>>> org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:571)
>>> at
>>> org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
>>> at
>>> org.jaggeryjs.jaggery.core.manager.WebAppManager.exec(WebAppManager.java:587)
>>> at
>>> org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:507)
>>> at
>>> org.jaggeryjs.jaggery.core.JaggeryServlet.doGet(JaggeryServlet.java:24)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>>> at
>>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
>>> at
>>> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
>>> at
>>> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:378)
>>> at
>>> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
>>> at
>>> org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>>> 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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
>>> at
>>> org.apache.catalina

Re: [Dev] [Architecture] [REST APIs][Analytics] GET request with a payload

2016-03-24 Thread Lahiru Sandaruwan
Hi all,

POST for filterings is not an issue for special cases, as document also
clearly confirms.

However, I think the decision has to be made on practical use cases. This
use case doesn't looks like a complex one. As Ayoma mention, it is a good
idea to implement two filters to include and exclude.

Considering the practical use, if url length is not a problem(i.e.
practically user will not have a requirement to use around 400 columns per
search, if we average word length to 5), we should go for GET.

Otherwise, we can go for POST.

Thanks.

On Thu, Mar 24, 2016 at 9:01 AM, Sachith Withana  wrote:

> Hi Gimantha,
>
> I think the point made by Udara is valid.
> Anyways if the user wants to get a selected number of columns, the chances
> are it won't exceed the url limit.
> ( due to the that number being low).
>
> Thanks,
> Sachith
>
> On Thu, Mar 24, 2016 at 2:21 PM, Gimantha Bandara 
> wrote:
>
>> Hi Sanjeewa,
>>
>> Thank you for the guidelines doc. The exact problem is discussed in 10.2
>> in the above document. We will be filtering the record values in each
>> records by providing the required columns, so only those column values will
>> be returned with each record. According to the document the POST can be
>> used either for updating/creating a resource or for initializing a
>> processing function. In our case we will be simply retrieving records but
>> need to provide a filter for the record values. So from users perspective,
>> it will be doing some processing and returning filtered records.
>>
>> We can actually implement the following url, but we cannot exactly say if
>> it will exceed the url length limit.
>> GET /analytics/tables/{tableName}?columns=column1,column2]
>>
>> Or we can implement something like below,
>>
>> POST /analytics/tables/tableName/
>>
>> {
>>   from:
>>   to:
>>   start:
>>   count:
>>   columns :[c1,c2,c3]
>> }
>>
>> or
>>
>> POST /analytics/
>>
>> {
>>   tableName :
>>   from:
>>   to:
>>   start:
>>   count:
>>   columns :[c1,c2,c3]
>> }
>>
>> Considering the url length limit, I think the second option is better.
>> WDYT?
>>
>> On Thu, Mar 24, 2016 at 12:33 PM, Sanjeewa Malalgoda 
>> wrote:
>>
>>> Hi Gimantha,
>>> Did you refer REST API guidelines document attached in this mail[1] in
>>> architecture mailing list.
>>> When we develop REST APIs please follow that document and if you see
>>> anything missed there please let us know.
>>>
>>> [1][Architecture] REST API Guidelines
>>>
>>>
>>> Thanks,
>>> sanjeewa.
>>>
>>> On Wed, Mar 23, 2016 at 8:01 PM, Gimantha Bandara 
>>> wrote:
>>>
 Hi all,


 We have a REST API in DAS to retrieve records in a specific table. It
 supports GET method with the following url format.

 /analytics/tables/{tableName}/{from}/{to}/{start}/{count}

 Sending a GET request to above url will give the records between given
 "from", "to" time range starting from index "start" with  "count"  page
 size.

 Now we need to change the API, so that the user can define the record
 columns/fields he wants. Current API will return the records with all the
 values/columns. To do that, we can allow the user to define the columns he
 needs, in the payload. But it seems that having a payload with a GET is not
 the convention/the best practice.

 POST can be used to send the column names as a payload, but here we are
 not making any updates to {tableName} resource. We will be just retrieving
 records using a POST. So it also seems not the convention/the best 
 practice.

 The only solution I can think of is, having a different resource path
 to get the records with only specified fields/columns. Are there any other
 solutions?

 Thanks,
 Gimantha


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


>>>
>>>
>>> --
>>>
>>> *Sanjeewa Malalgoda*
>>> WSO2 Inc.
>>> Mobile : +94713068779
>>>
>>> blog
>>> :http://sanjeewamalalgoda.blogspot.com/
>>> 
>>>
>>>
>>>
>>
>>
>> --
>> Gimantha Bandara
>> Software Engineer
>> WSO2. Inc : http://wso2.com
>> Mobile : +94714961919
>>
>> ___
>> Architecture mailing list
>> architect...@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
>
> --
> Sachith Withana
> Software Engineer; WSO2 Inc.; http://wso2.com
> E-mail: sachith AT wso2.com
> M: +94715518127
> Linked-In: 
> https://lk.linkedin.com/in/sachithwithana
>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
--
Lahiru Sandaruwan
Committer and PMC member, Apache Stratos,
Senior Software Engineer,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

phone: +947733259

Re: [Dev] Proposal 20: [IS] SAML Assertion Query/Request Profile support for WSO2 Identity Server

2016-03-24 Thread Chamila Wijayarathna
Hi Gayan,

Your proposal looks good, I would like to suggest few more improvements.


   - Its better if you can list deliverables and expected challenges of the
   project
   - You have allocated time for testing in your time line which give me
   feeling like you are talking about manually testing feature you are
   developing, but you need to allocate time to implement automation tests
   (integration, unit, ui tests) to cover all the functionalities of your
   component. So please allocate time for this as well. If you need to get
   idea about how to implement integration tests, please refer to [1]. Don't
   allocate much time to do manual testing and try to automate tests.

[1]. https://github.com/wso2/product-is/tree/master/modules/integration

Good Luck!

On Thu, Mar 24, 2016 at 2:34 PM, Omindu Rathnaweera  wrote:

> Hi Gayan,
>
> Great to hear that you are interested in doing the project!
>
> Can you please give us permissions to add comments to the proposal doc ?
>
> Regards,
> Omindu.
>
> On Thu, Mar 24, 2016 at 2:10 PM, Gayan Liyanaarachchi <
> gayanliyanaarach...@gmail.com> wrote:
>
>> Hi Omindu/Tharindu,
>>
>>
>> I am Gayan who is a final year undergraduate student from  SLIIT.
>> Please find me draft proposal [1] for "SAML Assertion Query/Request Profile
>> support for WSO2 Identity Server".  It is really great, if you can review
>> and provide some feedback on it.
>>
>>
>> [1]
>> https://docs.google.com/document/d/17fgRhEUs0dVpfv-QTC6oL8s12K2N7h8Q1VxYN4Tb-Xc/edit?usp=sharing
>>
>>
>> Thanks,
>> Gayan.
>>
>
>
>
> --
> 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
>
>


-- 
*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] Running unit test form IDE error - Input file does not exist: maven-resources

2016-03-24 Thread Manuranga Perera
Yes, this is clearly an IDE bug. I have reported it here [1]. Parent pom
change is just a workaround.

[1] https://youtrack.jetbrains.com/issue/IDEA-153410

On Thu, Mar 24, 2016 at 2:24 PM, Isuru Perera  wrote:

> Yes, I'm facing the same issue in IntelliJ IDEA 2016.1.
>
> I'm not sure that removing that line will cause any other issues.
>
> According to the Maven Bundle Plugin [1], we should be able to use
> {maven-resources}
>
> So, when I want to run unit tests, I just add following line to my pom's
> properties section.
>
> 
>
> However, we need a proper fix to this.
>
> Thanks!
>
> [1]
> http://felix.apache.org/documentation/subprojects/apache-felix-maven-bundle-plugin-bnd.html#include-resource
>
> On Thu, Mar 24, 2016 at 12:22 PM, Manuranga Perera  wrote:
>
>> I can't run unit tests form Intellij 16 in repositories that depends on
>> C5 parent. It gives an error [1]. But it works if I modify the parent pom.
>> As far as I have tested this change have no other effect. I have sent it as
>> a PR [2]
>>
>> Does this issue happen to anyone else?
>>
>> [1] "Error:osgi: [] Input file does not exist:
>> maven-resources"
>> [2] https://github.com/wso2/carbon-parent/pull/18
>> --
>> With regards,
>> *Manu*ranga Perera.
>>
>> phone : 071 7 70 20 50
>> mail : m...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Isuru Perera
> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> about.me/chrishantha
> Contact: +IsuruPereraWSO2 
>



-- 
With regards,
*Manu*ranga Perera.

phone : 071 7 70 20 50
mail : m...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB] Can we use sequence + endpoint at the same time within clone mediator ?

2016-03-24 Thread Dilshani Subasinghe
Identified this as invalid use case.

Thread closed.

Regards,
Dilshani

On Wed, Mar 23, 2016 at 6:21 PM, Dilshani Subasinghe 
wrote:

> Hi Malaka,
>
> Thanks for clarification. There was an old test case for $subject and I am
> checking validity of that. When I am implementing following sequences, it
> doesn't give an exact error. But it also do not send to back end. Is there
> any exact reason for that?
>
> 
> 
> 
> 
> http://localhost:9001/services/SimpleStockQuoteService/"/>
> 
> 
> 
> 
> 
>
> 
> 
>  xmlns:ns="http://org.apache.synapse/xsd";
> xmlns:ser="http://services.samples";
> xpath="concat(//ser:symbol/text(),'1')"/>
> 
> 
> 
>  type="property"/>
> http://org.apache.synapse/xsd";
> xmlns:ser="http://services.samples"; xpath="//ser:symbol/text()"/>
> 
> 
>
> PS: Sample test case of above scenario is available at:
> https://testlink.wso2.com/linkto.php?tprojectPrefix=ESB&item=testcase&id=ESB-2254
>
> Thank you and Regards,
> Dilshani
>
>
>
> On Wed, Mar 23, 2016 at 6:14 PM, Malaka Silva  wrote:
>
>> Hi Dilshani,
>>
>> Yes we can. But this does not make sense. What is the use case you are
>> trying to implement?
>>
>> On Wed, Mar 23, 2016 at 5:11 PM, Dilshani Subasinghe 
>> wrote:
>>
>>> Hi all,
>>>
>>> Any ideas or comments on $subject?
>>>
>>> Regards,
>>> Dilshani
>>>
>>> --
>>> Best Regards,
>>>
>>> Dilshani Subasinghe
>>> Software Engineer - QA
>>> WSO2, Inc.;http://wso2.com/
>>> 
>>> lean.enterprise.middleware
>>>
>>> Mobile: +94773375185
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> Best Regards,
>>
>> Malaka Silva
>> Senior Tech Lead
>> M: +94 777 219 791
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300
>> Skype : malaka.sampath.silva
>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>> Blog : http://mrmalakasilva.blogspot.com/
>>
>> WSO2, Inc.
>> lean . enterprise . middleware
>> http://www.wso2.com/
>> http://www.wso2.com/about/team/malaka-silva/
>> 
>> https://store.wso2.com/store/
>>
>> Save a tree -Conserve nature & Save the world for your future. Print this
>> email only if it is absolutely necessary.
>>
>
>
>
> --
> Best Regards,
>
> Dilshani Subasinghe
> Software Engineer - QA
> WSO2, Inc.;http://wso2.com/
> 
> lean.enterprise.middleware
>
> Mobile: +94773375185
>



-- 
Best Regards,

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

lean.enterprise.middleware

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


Re: [Dev] Getting "Program too complex: too big jump offset" error in a jaggery file

2016-03-24 Thread Dakshika Jayathilaka
Hi,

IMO you need to write your main logic on java and use it on jaggery
file[1].

[1]
http://madhukaudantha.blogspot.com/2014/02/using-java-method-from-jaggery-file.html

Regards,

*Dakshika Jayathilaka*
PMC Member & Committer of Apache Stratos
Senior Software Engineer
WSO2, Inc.
lean.enterprise.middleware
0771100911

On Wed, Mar 23, 2016 at 4:58 PM, Akalanka Pagoda Arachchi <
darsha...@wso2.com> wrote:

> This does look like a bug [1], however, is also due to reaching the limit
> of instruction size. Few suggestions are there in [2], may be you can try
> them out.
>
> [1] - https://bugzilla.mozilla.org/show_bug.cgi?id=331837
> [2] -
> http://community.sahipro.com/forums/discussion/1316/funtion-too-long-getting-compilation-error
>
> Thanks,
> Akalanka.
>
> On Wed, Mar 23, 2016 at 4:44 PM, Supun Sethunga  wrote:
>
>> Hi,
>>
>> I have a jag file containing ~1900 LOC [1]. To that, I added few more
>> stringify() calls. At one point, the jag app throws the below exception. If
>> I remove any of the stringify() methods, it works fine. (This error is
>> thrown for other functions such as well, like array looping or accessing
>> array elements and etc).
>>
>> Wonder whether there is a limit of instructions/logics per single jag
>> file?
>>
>> Appreciate any help/workaround on this.
>>
>>
>> *Stack trace:*
>>
>> [2016-03-23 16:32:13,498] ERROR
>> {org.jaggeryjs.jaggery.core.manager.WebAppManager} -
>>  org.mozilla.javascript.WrappedException: Wrapped
>> org.jaggeryjs.scriptengine.exceptions.ScriptException:
>> org.mozilla.javascript.WrappedException: Wrapped
>> org.jaggeryjs.scriptengine.exceptions.ScriptException:
>> org.jaggeryjs.scriptengine.exceptions.ScriptException:
>> org.mozilla.javascript.EvaluatorException: Encountered code generation
>> error while compiling function "null": Program too complex: too big jump
>> offset (/portal/controllers/apis/esbanalytics.jag#2)
>> (/portal/routers/apis.jag#22) (/portal/routers/tenant.jag#67)
>> org.jaggeryjs.scriptengine.exceptions.ScriptException:
>> org.mozilla.javascript.WrappedException: Wrapped
>> org.jaggeryjs.scriptengine.exceptions.ScriptException:
>> org.mozilla.javascript.WrappedException: Wrapped
>> org.jaggeryjs.scriptengine.exceptions.ScriptException:
>> org.jaggeryjs.scriptengine.exceptions.ScriptException:
>> org.mozilla.javascript.EvaluatorException: Encountered code generation
>> error while compiling function "null": Program too complex: too big jump
>> offset (/portal/controllers/apis/esbanalytics.jag#2)
>> (/portal/routers/apis.jag#22) (/portal/routers/tenant.jag#67)
>> at
>> org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:571)
>> at
>> org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
>> at
>> org.jaggeryjs.jaggery.core.manager.WebAppManager.exec(WebAppManager.java:587)
>> at
>> org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:507)
>> at org.jaggeryjs.jaggery.core.JaggeryServlet.doGet(JaggeryServlet.java:24)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>> at
>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
>> at
>> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
>> at
>> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:378)
>> at
>> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
>> at
>> org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>> 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.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.java:99)
>> at
>> org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
>> at
>> org.wso2.carbon.webapp.mgt.TenantLaz

Re: [Dev] Proposal 20: [IS] SAML Assertion Query/Request Profile support for WSO2 Identity Server

2016-03-24 Thread Omindu Rathnaweera
Hi Gayan,

Great to hear that you are interested in doing the project!

Can you please give us permissions to add comments to the proposal doc ?

Regards,
Omindu.

On Thu, Mar 24, 2016 at 2:10 PM, Gayan Liyanaarachchi <
gayanliyanaarach...@gmail.com> wrote:

> Hi Omindu/Tharindu,
>
>
> I am Gayan who is a final year undergraduate student from  SLIIT.   Please
> find me draft proposal [1] for "SAML Assertion Query/Request Profile
> support for WSO2 Identity Server".  It is really great, if you can review
> and provide some feedback on it.
>
>
> [1]
> https://docs.google.com/document/d/17fgRhEUs0dVpfv-QTC6oL8s12K2N7h8Q1VxYN4Tb-Xc/edit?usp=sharing
>
>
> Thanks,
> Gayan.
>



-- 
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] [Architecture] [REST APIs][Analytics] GET request with a payload

2016-03-24 Thread Sachith Withana
Hi Gimantha,

I think the point made by Udara is valid.
Anyways if the user wants to get a selected number of columns, the chances
are it won't exceed the url limit.
( due to the that number being low).

Thanks,
Sachith

On Thu, Mar 24, 2016 at 2:21 PM, Gimantha Bandara  wrote:

> Hi Sanjeewa,
>
> Thank you for the guidelines doc. The exact problem is discussed in 10.2
> in the above document. We will be filtering the record values in each
> records by providing the required columns, so only those column values will
> be returned with each record. According to the document the POST can be
> used either for updating/creating a resource or for initializing a
> processing function. In our case we will be simply retrieving records but
> need to provide a filter for the record values. So from users perspective,
> it will be doing some processing and returning filtered records.
>
> We can actually implement the following url, but we cannot exactly say if
> it will exceed the url length limit.
> GET /analytics/tables/{tableName}?columns=column1,column2]
>
> Or we can implement something like below,
>
> POST /analytics/tables/tableName/
>
> {
>   from:
>   to:
>   start:
>   count:
>   columns :[c1,c2,c3]
> }
>
> or
>
> POST /analytics/
>
> {
>   tableName :
>   from:
>   to:
>   start:
>   count:
>   columns :[c1,c2,c3]
> }
>
> Considering the url length limit, I think the second option is better.
> WDYT?
>
> On Thu, Mar 24, 2016 at 12:33 PM, Sanjeewa Malalgoda 
> wrote:
>
>> Hi Gimantha,
>> Did you refer REST API guidelines document attached in this mail[1] in
>> architecture mailing list.
>> When we develop REST APIs please follow that document and if you see
>> anything missed there please let us know.
>>
>> [1][Architecture] REST API Guidelines
>>
>>
>> Thanks,
>> sanjeewa.
>>
>> On Wed, Mar 23, 2016 at 8:01 PM, Gimantha Bandara 
>> wrote:
>>
>>> Hi all,
>>>
>>>
>>> We have a REST API in DAS to retrieve records in a specific table. It
>>> supports GET method with the following url format.
>>>
>>> /analytics/tables/{tableName}/{from}/{to}/{start}/{count}
>>>
>>> Sending a GET request to above url will give the records between given
>>> "from", "to" time range starting from index "start" with  "count"  page
>>> size.
>>>
>>> Now we need to change the API, so that the user can define the record
>>> columns/fields he wants. Current API will return the records with all the
>>> values/columns. To do that, we can allow the user to define the columns he
>>> needs, in the payload. But it seems that having a payload with a GET is not
>>> the convention/the best practice.
>>>
>>> POST can be used to send the column names as a payload, but here we are
>>> not making any updates to {tableName} resource. We will be just retrieving
>>> records using a POST. So it also seems not the convention/the best practice.
>>>
>>> The only solution I can think of is, having a different resource path to
>>> get the records with only specified fields/columns. Are there any other
>>> solutions?
>>>
>>> Thanks,
>>> Gimantha
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> *Sanjeewa Malalgoda*
>> WSO2 Inc.
>> Mobile : +94713068779
>>
>> blog
>> :http://sanjeewamalalgoda.blogspot.com/
>> 
>>
>>
>>
>
>
> --
> Gimantha Bandara
> Software Engineer
> WSO2. Inc : http://wso2.com
> Mobile : +94714961919
>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
Sachith Withana
Software Engineer; WSO2 Inc.; http://wso2.com
E-mail: sachith AT wso2.com
M: +94715518127
Linked-In: https://lk.linkedin.com/in/sachithwithana
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC] Proposal 10: Security Gateway on top of WSO2 Gateway

2016-03-24 Thread Tishan Dahanayakage
Hi Supun,

Thanks for your interest in WSO2. You can find more information regarding
the project in this[1] mailing thread in WSO2 developer list. As starters
clone WSO2 GW repo[2] and try the samples. I have also added project
mentors in case you need more information.

[1] [Dev] Proposal 10: [ESB/GW] Security Gateway on top of WSO2 Gateway
[2] https://github.com/wso2/product-gw

Thanks
Tishan


On Mon, Mar 21, 2016 at 9:33 AM, Supun Sudaraka  wrote:

> Hi all,
>
> I'm Supun Sudaraka, 4th year undergraduate from SLIIT (Sri Lanka Institute
> of Information Technology). I have a working knowledge about Java and I
> know a little bit about areas like OSGi, AOP. Enterprise Application
> Intergration, ESB.
>
> I am interested in the project *Proposal 10 :Security Gateway on top of
> WSO2 Gateway*  because I an interested in Enterprise application security
> and learning more about WSO2 products in overall. I want to learn as the
> project evolves because I haven't worked with the technologies required to
> build up the solution.
>
> Please give me a little guidance on kick starting the project, necessary
> development environment tools and more reads regarding this project area (I
> am also doing a research on my own regarding this but little point
> directions means lot to me)
>
> Thank you.
> --
> *Supun Sudaraka*
> http://blog.sudaraka.me | https://lk.linkedin.com/in/sudaraka
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Tishan Dahanayakage
Software Engineer
WSO2, Inc.
Mobile:+94 716481328

Disclaimer: This communication may contain privileged or other confidential
information and is intended exclusively for the addressee/s. If you are not
the intended recipient/s, or believe that you may have received this
communication in error, please reply to the sender indicating that fact and
delete the copy you received and in addition, you should not print, copy,
re-transmit, disseminate, or otherwise use the information contained in
this communication. Internet communications cannot be guaranteed to be
timely, secure, error or virus-free. The sender does not accept liability
for any errors or omissions.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Running unit test form IDE error - Input file does not exist: maven-resources

2016-03-24 Thread Isuru Perera
Yes, I'm facing the same issue in IntelliJ IDEA 2016.1.

I'm not sure that removing that line will cause any other issues.

According to the Maven Bundle Plugin [1], we should be able to use
{maven-resources}

So, when I want to run unit tests, I just add following line to my pom's
properties section.



However, we need a proper fix to this.

Thanks!

[1]
http://felix.apache.org/documentation/subprojects/apache-felix-maven-bundle-plugin-bnd.html#include-resource

On Thu, Mar 24, 2016 at 12:22 PM, Manuranga Perera  wrote:

> I can't run unit tests form Intellij 16 in repositories that depends on C5
> parent. It gives an error [1]. But it works if I modify the parent pom. As
> far as I have tested this change have no other effect. I have sent it as a
> PR [2]
>
> Does this issue happen to anyone else?
>
> [1] "Error:osgi: [] Input file does not exist: maven-resources"
> [2] https://github.com/wso2/carbon-parent/pull/18
> --
> With regards,
> *Manu*ranga Perera.
>
> phone : 071 7 70 20 50
> mail : m...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
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] [REST APIs][Analytics] GET request with a payload

2016-03-24 Thread Gimantha Bandara
Hi Sanjeewa,

Thank you for the guidelines doc. The exact problem is discussed in 10.2 in
the above document. We will be filtering the record values in each records
by providing the required columns, so only those column values will be
returned with each record. According to the document the POST can be used
either for updating/creating a resource or for initializing a processing
function. In our case we will be simply retrieving records but need to
provide a filter for the record values. So from users perspective, it will
be doing some processing and returning filtered records.

We can actually implement the following url, but we cannot exactly say if
it will exceed the url length limit.
GET /analytics/tables/{tableName}?columns=column1,column2]

Or we can implement something like below,

POST /analytics/tables/tableName/

{
  from:
  to:
  start:
  count:
  columns :[c1,c2,c3]
}

or

POST /analytics/

{
  tableName :
  from:
  to:
  start:
  count:
  columns :[c1,c2,c3]
}

Considering the url length limit, I think the second option is better. WDYT?

On Thu, Mar 24, 2016 at 12:33 PM, Sanjeewa Malalgoda 
wrote:

> Hi Gimantha,
> Did you refer REST API guidelines document attached in this mail[1] in
> architecture mailing list.
> When we develop REST APIs please follow that document and if you see
> anything missed there please let us know.
>
> [1][Architecture] REST API Guidelines
>
>
> Thanks,
> sanjeewa.
>
> On Wed, Mar 23, 2016 at 8:01 PM, Gimantha Bandara 
> wrote:
>
>> Hi all,
>>
>>
>> We have a REST API in DAS to retrieve records in a specific table. It
>> supports GET method with the following url format.
>>
>> /analytics/tables/{tableName}/{from}/{to}/{start}/{count}
>>
>> Sending a GET request to above url will give the records between given
>> "from", "to" time range starting from index "start" with  "count"  page
>> size.
>>
>> Now we need to change the API, so that the user can define the record
>> columns/fields he wants. Current API will return the records with all the
>> values/columns. To do that, we can allow the user to define the columns he
>> needs, in the payload. But it seems that having a payload with a GET is not
>> the convention/the best practice.
>>
>> POST can be used to send the column names as a payload, but here we are
>> not making any updates to {tableName} resource. We will be just retrieving
>> records using a POST. So it also seems not the convention/the best practice.
>>
>> The only solution I can think of is, having a different resource path to
>> get the records with only specified fields/columns. Are there any other
>> solutions?
>>
>> Thanks,
>> Gimantha
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Sanjeewa Malalgoda*
> WSO2 Inc.
> Mobile : +94713068779
>
> blog
> :http://sanjeewamalalgoda.blogspot.com/
> 
>
>
>


-- 
Gimantha Bandara
Software Engineer
WSO2. Inc : http://wso2.com
Mobile : +94714961919
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Gsoc2016] [PC] Web (Javascript / D3) based BPMN editor to support a subset of commonly used BPMN constructs

2016-03-24 Thread Heshan Jayasinghe
Hi,
I submit my final proposal through GSOC site.Could you please read my
proposal and add some comments.
Thank you!
regards,
Heshan Jayasinghe

On Wed, Mar 23, 2016 at 8:38 AM, Isuru Wijesinghe  wrote:

> Hi Heshan,
>
> We have already added few comments. Could you please fix them and share
> the updated proposal ?
>
> Thanks and Best Regards,
>
> On Fri, Mar 18, 2016 at 9:48 PM, Isuru Wijesinghe 
> wrote:
>
>> Hi Heshan,
>>
>> We appreciate your quick response. The main deliverable of this project
>> is a javascript/D3 based BPMN editor which allows Process Center users to
>> define business processes using a graphical notation from the *web UI*.
>> (No server side involvement). Keep on progressing on the project and if you
>> get stuck at any point, don't hesitate to contact us.
>>
>> Thanks and Best Regards,
>>
>>
>> On Fri, Mar 18, 2016 at 11:35 AM, Heshan Jayasinghe 
>> wrote:
>>
>>> HI,
>>> Could you please tell me how server side involve in this project? Web
>>> Editor can developed as a single page application and we can run it in java
>>> server.hope this application haven't any server side development.Please let
>>> me know if there server side development involve.if there any server side
>>> development i willing to complete that task too.
>>>
>>> I already complete my proposal and now I am doing final fine tuning of
>>> my proposal.I will send it tomorrow.from today onwards I start my
>>> development  for first iteration.
>>>
>>> Thank you!
>>> regards,
>>> Heshan Jayasinghe
>>>
>>>
>>>
>>> On Tue, Mar 15, 2016 at 9:37 AM, Isuru Wijesinghe 
>>> wrote:
>>>
 Great. My contact number :


 *0710933706*
 Thanks and Best Regards,

 On Tue, Mar 15, 2016 at 9:30 AM, Heshan Jayasinghe 
 wrote:

> Hi Isuru,
> My proposal 70% over now.I will send you copy soon.could you please
> send me your contact number to get more information.
> Thank you!
> regards,
> Heshan jayasinghe
>
>


 --
 Isuru Wijesinghe
 *Software Engineer*
 WSO2 inc : http://wso2.com
 lean.enterprise.middleware
 Mobile: 0710933706
 isur...@wso2.com

>>>
>>>
>>
>>
>> --
>> Isuru Wijesinghe
>> *Software Engineer*
>> WSO2 inc : http://wso2.com
>> lean.enterprise.middleware
>> Mobile: 0710933706
>> isur...@wso2.com
>>
>
>
>
> --
> Isuru Wijesinghe
> *Software Engineer*
> WSO2 inc : http://wso2.com
> lean.enterprise.middleware
> Mobile: 0710933706
> isur...@wso2.com
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] gsoc project

2016-03-24 Thread Isuru Haththotuwa
Hi Hardik,

The proposal need to me more descriptive on how you are planning to achieve
and your deliverables from this project. The following is a few points you
would need to consider:

   1. project description - your understanding of the project
   2. The proposed solution - high level architecture, diagrams
   3. deliverables
   4. time line details
   5. a short description of work/research you have done up to now

Please note the application process and deadline details in the official
GSoC 2016 site [1]. Please share your application privately.

[1]. https://summerofcode.withgoogle.com/get-started/

On Wed, Mar 23, 2016 at 12:55 AM, Hardik Patel 
wrote:

> Hi Isuru,
>
> I have completely not understand what you are wanting to ask?
> As per my understanding I have made summary - check it.
>
> I have sent you gsoc proposal - Is it correct?
> or shall I have to make changes?
>
> On 22/03/2016, Isuru Haththotuwa  wrote:
> > Hi Hardik,
> >
> > Did you check the kubernetes-membership scheme? Did you understand how it
> > works? That is basically the same thing we need to do this the new
> > Openshift related membership scheme. Its not actually carbon membership
> > scheme, we are supporting clustering for products based on WSO2 carbon
> > using a membership scheme related to a environment; for kubernetes, of
> > Openshift, etc.
> >
> > Also, can you send a summary on how I need to deploy a wso2 product on
> > Openshift? Since you have tried out API Manager, the same steps should be
> > usable for any WSO2 product.
> >
> > On Tue, Mar 22, 2016 at 2:34 PM, Hardik Patel 
> > wrote:
> >
> >> Hi, Isuru
> >>
> >> Login successful...
> >> What to do next??
> >> How to implement carbon membership scheme??
> >> On Mar 22, 2016 1:11 PM, "Isuru Haththotuwa"  wrote:
> >>
> >>> Hi Hardik,
> >>>
> >>> Good to hear you could get API Manager running. To login to the
> >>> management console via your browser, you can use admin, admin
> >>> credentials.
> >>>
> >>> On Tue, Mar 22, 2016 at 11:09 AM, Hardik Patel 
> >>> wrote:
> >>>
>  hi,
> 
>  Thanx for help. Now API manager running.
> 
>  I need user_id and passwd for login to Api Manager management console.
>  I have run my hosted ip and it shows localhost page.
>  Give me some list of command so I can access it.
> 
>  On 21/03/2016, Sajith Kariyawasam  wrote:
>  > 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 <
> hardikpr...@gmail.com>
>  > 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 <
>  hardikpr...@gmail.com>
>  >> > 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
>  >> >> >>>

Re: [Dev] DAS Lucene query AllowLeadingWildcard

2016-03-24 Thread Damith Wickramasinghe
Thanks Gimantha.

On Thu, Mar 24, 2016 at 12:39 PM, Gimantha Bandara 
wrote:

> Yes. It can be any special character*. *But we use : to match a field to
> a value. Like,
>
>  : 
>
> On Thu, Mar 24, 2016 at 12:03 PM, Damith Wickramasinghe 
> wrote:
>
>> Hi Gimantha,
>>
>> Great. One question. Does it can be any special character. ?
>>
>> Regards,
>> Damith.
>>
>> On Thu, Mar 24, 2016 at 11:49 AM, Gimantha Bandara 
>> wrote:
>>
>>> Hi Damith,
>>>
>>> If the "roles" field contains comma separated values, you can simply
>>> search for the specific role using the following query
>>>
>>> "roles : role1"
>>>
>>>
>>> Lucene has an analysis process which takes place before indexing. So the
>>> field values will be tokenized into terms(Text fields are split removing
>>> special characters) , stop words.. etc. In your case, the whole string
>>> "role1, role2, role3" will be tokenized into "role1", "role2" and "role3".
>>> So you can perform a usual search query as I mentioned above.
>>>
>>> On Thu, Mar 24, 2016 at 11:35 AM, Damith Wickramasinghe <
>>> dami...@wso2.com> wrote:
>>>
 Hi all,

 I have a column which contains roles as a comma separated string. eg:-
 role1,role2,role3

 I need to find records which matches to specific role. As I checked
 theres no String contains function. But there is wildcard support[1]. To be
 able to work for my usecase wildcard should be of type *role1*. But leading
 wild cards are not supported. But as per the [2] Lucene 2.1, they can
 be enabled by calling QueryParser.setAllowLeadingWildcard( true ). May
 I know whether there is a configuration in DAS to enable this. Also even
 this can be achieved I think this will be an expensive operation. If so is
 there a best way to achieve this? eg:-custom UDF

 [1]http://www.lucenetutorial.com/lucene-query-syntax.html
 [2]https://wiki.apache.org/lucene-java/LuceneFAQ

 Thanks,
 Damith.

 --
 Software Engineer
 WSO2 Inc.; http://wso2.com
 
 lean.enterprise.middleware

 mobile: *+94728671315 <%2B94728671315>*


>>>
>>>
>>> --
>>> Gimantha Bandara
>>> Software Engineer
>>> WSO2. Inc : http://wso2.com
>>> Mobile : +94714961919
>>>
>>
>>
>>
>> --
>> Software Engineer
>> WSO2 Inc.; http://wso2.com
>> 
>> lean.enterprise.middleware
>>
>> mobile: *+94728671315 <%2B94728671315>*
>>
>>
>
>
> --
> Gimantha Bandara
> Software Engineer
> WSO2. Inc : http://wso2.com
> Mobile : +94714961919
>



-- 
Software Engineer
WSO2 Inc.; http://wso2.com

lean.enterprise.middleware

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


Re: [Dev] DAS Lucene query AllowLeadingWildcard

2016-03-24 Thread Gimantha Bandara
Yes. It can be any special character*. *But we use : to match a field to a
value. Like,

 : 

On Thu, Mar 24, 2016 at 12:03 PM, Damith Wickramasinghe 
wrote:

> Hi Gimantha,
>
> Great. One question. Does it can be any special character. ?
>
> Regards,
> Damith.
>
> On Thu, Mar 24, 2016 at 11:49 AM, Gimantha Bandara 
> wrote:
>
>> Hi Damith,
>>
>> If the "roles" field contains comma separated values, you can simply
>> search for the specific role using the following query
>>
>> "roles : role1"
>>
>>
>> Lucene has an analysis process which takes place before indexing. So the
>> field values will be tokenized into terms(Text fields are split removing
>> special characters) , stop words.. etc. In your case, the whole string
>> "role1, role2, role3" will be tokenized into "role1", "role2" and "role3".
>> So you can perform a usual search query as I mentioned above.
>>
>> On Thu, Mar 24, 2016 at 11:35 AM, Damith Wickramasinghe > > wrote:
>>
>>> Hi all,
>>>
>>> I have a column which contains roles as a comma separated string. eg:-
>>> role1,role2,role3
>>>
>>> I need to find records which matches to specific role. As I checked
>>> theres no String contains function. But there is wildcard support[1]. To be
>>> able to work for my usecase wildcard should be of type *role1*. But leading
>>> wild cards are not supported. But as per the [2] Lucene 2.1, they can
>>> be enabled by calling QueryParser.setAllowLeadingWildcard( true ). May
>>> I know whether there is a configuration in DAS to enable this. Also even
>>> this can be achieved I think this will be an expensive operation. If so is
>>> there a best way to achieve this? eg:-custom UDF
>>>
>>> [1]http://www.lucenetutorial.com/lucene-query-syntax.html
>>> [2]https://wiki.apache.org/lucene-java/LuceneFAQ
>>>
>>> Thanks,
>>> Damith.
>>>
>>> --
>>> Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> 
>>> lean.enterprise.middleware
>>>
>>> mobile: *+94728671315 <%2B94728671315>*
>>>
>>>
>>
>>
>> --
>> Gimantha Bandara
>> Software Engineer
>> WSO2. Inc : http://wso2.com
>> Mobile : +94714961919
>>
>
>
>
> --
> Software Engineer
> WSO2 Inc.; http://wso2.com
> 
> lean.enterprise.middleware
>
> mobile: *+94728671315 <%2B94728671315>*
>
>


-- 
Gimantha Bandara
Software Engineer
WSO2. Inc : http://wso2.com
Mobile : +94714961919
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [REST APIs][Analytics] GET request with a payload

2016-03-24 Thread Sanjeewa Malalgoda
Hi Gimantha,
Did you refer REST API guidelines document attached in this mail[1] in
architecture mailing list.
When we develop REST APIs please follow that document and if you see
anything missed there please let us know.

[1][Architecture] REST API Guidelines


Thanks,
sanjeewa.

On Wed, Mar 23, 2016 at 8:01 PM, Gimantha Bandara  wrote:

> Hi all,
>
>
> We have a REST API in DAS to retrieve records in a specific table. It
> supports GET method with the following url format.
>
> /analytics/tables/{tableName}/{from}/{to}/{start}/{count}
>
> Sending a GET request to above url will give the records between given
> "from", "to" time range starting from index "start" with  "count"  page
> size.
>
> Now we need to change the API, so that the user can define the record
> columns/fields he wants. Current API will return the records with all the
> values/columns. To do that, we can allow the user to define the columns he
> needs, in the payload. But it seems that having a payload with a GET is not
> the convention/the best practice.
>
> POST can be used to send the column names as a payload, but here we are
> not making any updates to {tableName} resource. We will be just retrieving
> records using a POST. So it also seems not the convention/the best practice.
>
> The only solution I can think of is, having a different resource path to
> get the records with only specified fields/columns. Are there any other
> solutions?
>
> Thanks,
> Gimantha
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Sanjeewa Malalgoda*
WSO2 Inc.
Mobile : +94713068779

blog
:http://sanjeewamalalgoda.blogspot.com/

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