Re: [Dev] gsoc project

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

[Dev] Should we use NotNull ?

2016-03-22 Thread Manuranga Perera
We are already using Optional. But when overriding java standard library
methods (eg: compareTo), IDE issues warnings if we don't use annotations

"Not annotated parameter overrides @NotNull parameter"

Should we also use annotations to avoid this or should we disable the
warning?
-- 
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] gsoc project

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

Re: [Dev] GSoC 2016

2016-03-22 Thread Mohanadarshan Vivekanandalingam
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
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] gsoc project 30 - proposal

2016-03-22 Thread Hardik Patel
Hi Isuru,

check this proposal and give me feedback
Tell me what other changes needs.

I haven't uploaded this proposal on gsoc site. After your review I
will upload it.




-- 

Thank You,

Hardik Patel
about.me/hardikprl94


project-30 proposal.docx
Description: MS-Word 2007 document
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] gsoc project 30 - proposal

2016-03-22 Thread Hardik Patel
Hi Isuru,

check this proposal and give me feedback
Tell me what other changes needs.

I haven't uploaded this proposal on gsoc site. After your review I
will upload it.

I want to know who will select my proposal - WSO2 OR GOOGLE??


-- 

Thank You,

Hardik Patel
about.me/hardikprl94


project-30 proposal.docx
Description: MS-Word 2007 document
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM] Response Body is missing In tenant mode

2016-03-22 Thread Sam Sivayogam
No i tried with 404, 503 but its the same

On Tue, Mar 22, 2016 at 11:51 AM, Viraj Senevirathne 
wrote:

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



-- 
*Sam Sivayogam*

Software Engineer
Mobile  : +94 772 906 439
Office   : +94 112 145 345
*WSO2, Inc. :** wso2.com *
lean.enterprise.middleware.
___
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-22 Thread Manujith Pallewatte
Hi Omindu,

It that case, I'm interested in doing *Proposal 22: [IS] RESTful Fine
Grained Authorization-as-a-Service (AZaaS)*
Since I'm a bi behind the schedule for starting over with it, can you give
me some pointers to start working? As I get it I have to focus on Balana
engine, should I be interacting more with the code of Balana, or IS?

Thank You

On Mon, Mar 21, 2016 at 10:56 PM, Omindu Rathnaweera 
wrote:

> Hi Manujith,
>
> Thank you for showing interest in the project. Unfortunately we have
> decided to remove the project from the project proposals list since we need
> to add the scim 2.0 support to an upcoming release which is scheduled to be
> done prior to the GSoC project period. We apologize for any inconvenience
> this may have caused.
>
> We have included a new project [1] to add *SAML Assertion Query/Request
> Profile support for WSO2 Identity Server*. If interested, you can go
> through the project details and submit a proposal for the new project or
> one of the other Identity Server projects (project 22 & 23). If you have
> any questions, feel free to raise.
>
> [1] -
> https://docs.wso2.com/display/GSoC/Project+Proposals+for+2016#ProjectProposalsfor2016-Proposal20:[IS]SAMLAssertionQuery/RequestProfilesupportforWSO2IdentityServer
>
> Thanks,
> Omindu.
>
> On Mon, Mar 21, 2016 at 9:59 PM, Pubudu Fernando  wrote:
>
>> [adding mentors]
>>
>> On Mon, Mar 21, 2016 at 8:35 PM, Manujith Pallewatte <
>> manujith...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I'm Manujith Pallewatte, a 2nd year undergraduate from Department of
>>> Computer Science and Engineering, University of Moratuwa. I'm interested in
>>> doing project for WSO2 for GSoC 2016.
>>>
>>> I already picked Proposal 20 considering my capabilities and interest in
>>> the area.
>>> As a Oracle certified java programmer I have a firm hand on Java, and I
>>> have developed several REST APIs on top of different platforms (like google
>>> app engine). And currently I'm reading on SCIM specification.
>>>
>>> So far, I cloned the *product-is* repo (
>>> https://github.com/wso2/product-is) which i believe to be the source of
>>> Identity Server and then build it. I played around with the system a bit
>>> and now trying to connect different services to it.
>>>
>>> So I want to know if I'm going in the wrong direction (with the
>>> objective of working for the above proposal) and please give me some
>>> suggestions to read or work on to improve my familiarity with the system.
>>>
>>> Thank You
>>> --
>>>
>>>
>>>
>>> [image: Manujith Pallewatte on about.me]
>>>
>>> Manujith Pallewatte
>>> about.me/manzzup
>>>   
>>>
>>>
>>>
>>> --
>>>
>>>
>>>
>>> [image: Manujith Pallewatte on about.me]
>>>
>>> Manujith Pallewatte
>>> about.me/manzzup
>>>   
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Pubudu Fernando*
>> Software Engineer - Intern
>> WSO2 Inc.
>> m: +94 77 888 2543
>>
>>   
>> 
>> 
>>
>>
>
>
> --
> Omindu Rathnaweera
> Software Engineer, WSO2 Inc.
> Mobile: +94 771 197 211
>



-- 



[image: Manujith Pallewatte on about.me]

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


Re: [Dev] gsoc project

2016-03-22 Thread Isuru Haththotuwa
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 
>>> > 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
>>> >> >> >>> image
>>> >> >> >>>
>>> >> >> >>> On Mon, Mar 21, 2016 at 3:47 PM, Hardik Patel <
>>> >> hardikpr...@gmail.com>
>>> >> >> >>> wrote:
>>> >> >> >>>
>>> >> >>  Hi sir
>>> >> >> 
>>> >> >>  I have already copied wso2am-1.10.1.zip
>>> >> >> 
>>> >> >>  Is it OK???
>>> >> >> 
>>> >> >>  Or I have to switch with 1.9.1??
>>> >> >>  On Mar 21, 2016 7:39 AM, "Chamila De Alwis" <
>>> chami...@wso2.com>
>>> >> >> wrote:
>>> >> >> 
>>> >> >> > Hi Hardik,
>>> >> >> >
>>> >> >> > Puppet throws this error when it can't find wso2am-1.9.1.zip
>>> >> >> > file
>>> >> >> > at
>>> >> >> > your PUPPET_HOME location.
>>> >> >> >
>>> >> >> > [image: Inline image 1]
>>> >> >> >
>>> >> >> > It should be copied to /modules/wso2am/files for
>>> >> >> > Puppet
>>> >> >> > to
>>> >> >> > pick it up.
>>> >> >> >
>>> >> >> >
>>> >> >> > Regards,
>>> >> >> > Chamila de Alwis
>>> >> >> > Committer and PMC Member - Apache Stratos
>>> >> >> > Software Engineer | WSO2 | +94772207163
>>> >> >> > Blog: code.chamiladealwis.com
>>> >> >> >
>>> >> >> >
>>> >> >> >
>>> >> >> > On Sun, Mar 20, 2016 at 11:33 PM, Hardik Patel <
>>> >> >> hardikpr...@gmail.com>
>>> >> >> > wrote:
>>> >> >> >
>>> >> >> >> Hi Isuruh,
>>> >> >> >>
>>> >> >> >> I tried to

Re: [Dev] gsoc project

2016-03-22 Thread Hardik Patel
Hi Isuru,

Same step can used for deploy other wso2 product...
I am trying to deploy other product...
I have also check about kubernates membership scheme..
On Mar 22, 2016 6:10 PM, "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 
 > 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
 >> >> >>> image
 >> >> >>>
 >> >> >>> On Mon, Mar 21, 2016 at 3:47 PM, Hardik Patel <
 >> hardikpr...@gmail.com>
 >> >> >>> wrote:
 >> >> >>>
 >> >>  Hi sir
 >> >> 
 >> >>  I have already copied wso2am-1.10.1.zip
 >> >> 
 >> >>  Is it OK???
 >> >> 
 >> >>  Or I have to switch with 1.9.1??
 >> >>  On Mar 21, 2016 7:39 AM, "Chamila De Alwis" <
 chami...@wso2.com>
 >> >> wrote:
 >> >> 
 >> >> > Hi Hardik,
 >> >> >
 >> >> > Puppet throws this error when it can't find wso2am-1.9.1.zip
 >> >> > file
 >> >> > at
 >> >> > your PUPPET_HOME location.
 >> >> >
 >> >> > [image: Inline image 1]
 >> >> >
 >> >> > It should be copied to /modules/wso2am/files
 for
 >> >> > Puppet
 >> >> > to
 >> >> > pick it up.
 >> >> >
 >> >> >
 >> >> > Regards,
 >> >> > Chamila de Alwis
 >> >> > Committer

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

2016-03-22 Thread Chamila Wijayarathna
[Adding Pushpalanka]

On Tue, Mar 22, 2016 at 6:05 PM, Manujith Pallewatte 
wrote:

> Hi Omindu,
>
> It that case, I'm interested in doing *Proposal 22: [IS] RESTful Fine
> Grained Authorization-as-a-Service (AZaaS)*
> Since I'm a bi behind the schedule for starting over with it, can you give
> me some pointers to start working? As I get it I have to focus on Balana
> engine, should I be interacting more with the code of Balana, or IS?
>
> Thank You
>
> On Mon, Mar 21, 2016 at 10:56 PM, Omindu Rathnaweera 
> wrote:
>
>> Hi Manujith,
>>
>> Thank you for showing interest in the project. Unfortunately we have
>> decided to remove the project from the project proposals list since we need
>> to add the scim 2.0 support to an upcoming release which is scheduled to be
>> done prior to the GSoC project period. We apologize for any inconvenience
>> this may have caused.
>>
>> We have included a new project [1] to add *SAML Assertion Query/Request
>> Profile support for WSO2 Identity Server*. If interested, you can go
>> through the project details and submit a proposal for the new project or
>> one of the other Identity Server projects (project 22 & 23). If you have
>> any questions, feel free to raise.
>>
>> [1] -
>> https://docs.wso2.com/display/GSoC/Project+Proposals+for+2016#ProjectProposalsfor2016-Proposal20:[IS]SAMLAssertionQuery/RequestProfilesupportforWSO2IdentityServer
>>
>> Thanks,
>> Omindu.
>>
>> On Mon, Mar 21, 2016 at 9:59 PM, Pubudu Fernando 
>> wrote:
>>
>>> [adding mentors]
>>>
>>> On Mon, Mar 21, 2016 at 8:35 PM, Manujith Pallewatte <
>>> manujith...@gmail.com> wrote:
>>>
 Hi,

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

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

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

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

 Thank You
 --



 [image: Manujith Pallewatte on about.me]

 Manujith Pallewatte
 about.me/manzzup
   



 --



 [image: Manujith Pallewatte on about.me]

 Manujith Pallewatte
 about.me/manzzup
   

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


>>>
>>>
>>> --
>>> *Pubudu Fernando*
>>> Software Engineer - Intern
>>> WSO2 Inc.
>>> m: +94 77 888 2543
>>>
>>>   
>>> 
>>> 
>>>
>>>
>>
>>
>> --
>> Omindu Rathnaweera
>> Software Engineer, WSO2 Inc.
>> Mobile: +94 771 197 211
>>
>
>
>
> --
>
>
>
> [image: Manujith Pallewatte on about.me]
>
> Manujith Pallewatte
> about.me/manzzup
>   
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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


[Dev] Adding git revision to jar manifest

2016-03-22 Thread Manuranga Perera
Let's add git revision to each jar we build.
I have made the necessary changes in following pull request [1].
This will be very helpful to identify the correct sources for snapshot and
patched jars.

[1] https://github.com/wso2/carbon-parent/pull/17
-- 
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] Adding git revision to jar manifest

2016-03-22 Thread Afkham Azeez
Great idea. Let's implement this across the organization.

On Tue, Mar 22, 2016 at 7:05 PM, Manuranga Perera  wrote:

> Let's add git revision to each jar we build.
> I have made the necessary changes in following pull request [1].
> This will be very helpful to identify the correct sources for snapshot and
> patched jars.
>
> [1] https://github.com/wso2/carbon-parent/pull/17
> --
> With regards,
> *Manu*ranga Perera.
>
> phone : 071 7 70 20 50
> mail : m...@wso2.com
>



-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* *
*email: **az...@wso2.com* 
* cell: +94 77 3320919blog: **http://blog.afkham.org*

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

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

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


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

2016-03-22 Thread tbc.dengwe...@outlook.com
Hi,all
I want to implemet AbaBoost for WSO2 Machine Leaner. here is my proposal, 
please give some feedback to improve it.
Thanks
wicky



tbc.dengwe...@outlook.com


proposal for assemble method.docx
Description: Binary data
___
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-22 Thread Omindu Rathnaweera
Hi Manujith,

Pushpalanka will be able to provide you more details on this.

For the time being, you can try out the current XACML implementation by
following the resources at [1].

The documentation related to XACML architecture [2] will help you to
understand the current implementation. The feature codebase can be found at
[3]. In the codebase, EntitlmentService [4] is the SOAP service
implementation.

[1] -
https://docs.wso2.com/display/IS510/Configuring+the+Policy+Administration+Point
,
http://pushpalankajaya.blogspot.com/2013/06/try-out-xacml-policies-with-wso2.html
[2] - https://docs.wso2.com/display/IS510/Access+Control
[3] -
https://github.com/wso2/identity-framework/tree/master/components/entitlement
[4] -
https://github.com/wso2/identity-framework/blob/master/components/entitlement/org.wso2.carbon.identity.entitlement/src/main/java/org/wso2/carbon/identity/entitlement/EntitlementService.java

Regards,
Omindu.

On Tue, Mar 22, 2016 at 6:51 PM, Chamila Wijayarathna 
wrote:

> [Adding Pushpalanka]
>
> On Tue, Mar 22, 2016 at 6:05 PM, Manujith Pallewatte <
> manujith...@gmail.com> wrote:
>
>> Hi Omindu,
>>
>> It that case, I'm interested in doing *Proposal 22: [IS] RESTful Fine
>> Grained Authorization-as-a-Service (AZaaS)*
>> Since I'm a bi behind the schedule for starting over with it, can you
>> give me some pointers to start working? As I get it I have to focus on
>> Balana engine, should I be interacting more with the code of Balana, or IS?
>>
>> Thank You
>>
>> On Mon, Mar 21, 2016 at 10:56 PM, Omindu Rathnaweera 
>> wrote:
>>
>>> Hi Manujith,
>>>
>>> Thank you for showing interest in the project. Unfortunately we have
>>> decided to remove the project from the project proposals list since we need
>>> to add the scim 2.0 support to an upcoming release which is scheduled to be
>>> done prior to the GSoC project period. We apologize for any inconvenience
>>> this may have caused.
>>>
>>> We have included a new project [1] to add *SAML Assertion Query/Request
>>> Profile support for WSO2 Identity Server*. If interested, you can go
>>> through the project details and submit a proposal for the new project or
>>> one of the other Identity Server projects (project 22 & 23). If you
>>> have any questions, feel free to raise.
>>>
>>> [1] -
>>> https://docs.wso2.com/display/GSoC/Project+Proposals+for+2016#ProjectProposalsfor2016-Proposal20:[IS]SAMLAssertionQuery/RequestProfilesupportforWSO2IdentityServer
>>>
>>> Thanks,
>>> Omindu.
>>>
>>> On Mon, Mar 21, 2016 at 9:59 PM, Pubudu Fernando 
>>> wrote:
>>>
 [adding mentors]

 On Mon, Mar 21, 2016 at 8:35 PM, Manujith Pallewatte <
 manujith...@gmail.com> wrote:

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


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

   
 
 


>>>
>>>
>>> --
>>> Omindu Rathnaweera
>>> Software Engineer, WSO2 Inc.
>>> Mobile: +94 771 197 211
>>>
>>
>>
>>
>> --
>>
>>
>>
>> [image: Manujith Pallewatte on about.me]
>>
>> Manujith Pallewatte
>> about.me/manzzup
>>   
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Chamila Dilshan Wijayarathna,*
> Software E

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

2016-03-22 Thread Chanuka Wijayakoon
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


[Dev] GSOC 2016

2016-03-22 Thread Mohamed Rilfi
Hi everyone

I’m preparing my proposal for “Auto-tuning of WSO2 CEP project”.
___
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-22 Thread Manujith Pallewatte
Hi Omindu,

Thank alot, I will look into those.
also should I be working on the https://github.com/wso2/identity-framework
codebase or https://github.com/wso2/product-is codebase
i was under the impression that the latter is what I should focus on





On Tue, Mar 22, 2016 at 7:55 PM, Omindu Rathnaweera  wrote:

> Hi Manujith,
>
> Pushpalanka will be able to provide you more details on this.
>
> For the time being, you can try out the current XACML implementation by
> following the resources at [1].
>
> The documentation related to XACML architecture [2] will help you to
> understand the current implementation. The feature codebase can be found at
> [3]. In the codebase, EntitlmentService [4] is the SOAP service
> implementation.
>
> [1] -
> https://docs.wso2.com/display/IS510/Configuring+the+Policy+Administration+Point
> ,
> http://pushpalankajaya.blogspot.com/2013/06/try-out-xacml-policies-with-wso2.html
> [2] - https://docs.wso2.com/display/IS510/Access+Control
> [3] -
> https://github.com/wso2/identity-framework/tree/master/components/entitlement
> [4] -
> https://github.com/wso2/identity-framework/blob/master/components/entitlement/org.wso2.carbon.identity.entitlement/src/main/java/org/wso2/carbon/identity/entitlement/EntitlementService.java
>
> Regards,
> Omindu.
>
> On Tue, Mar 22, 2016 at 6:51 PM, Chamila Wijayarathna 
> wrote:
>
>> [Adding Pushpalanka]
>>
>> On Tue, Mar 22, 2016 at 6:05 PM, Manujith Pallewatte <
>> manujith...@gmail.com> wrote:
>>
>>> Hi Omindu,
>>>
>>> It that case, I'm interested in doing *Proposal 22: [IS] RESTful Fine
>>> Grained Authorization-as-a-Service (AZaaS)*
>>> Since I'm a bi behind the schedule for starting over with it, can you
>>> give me some pointers to start working? As I get it I have to focus on
>>> Balana engine, should I be interacting more with the code of Balana, or IS?
>>>
>>> Thank You
>>>
>>> On Mon, Mar 21, 2016 at 10:56 PM, Omindu Rathnaweera 
>>> wrote:
>>>
 Hi Manujith,

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

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

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

 Thanks,
 Omindu.

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

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

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

2016-03-22 Thread Nirmal Fernando
Thanks for the proposal Deng, we'll check and provide feedback. It'll be
easier, if you could share a google document with us, with comment rights.

On Tue, Mar 22, 2016 at 7:42 PM, tbc.dengwe...@outlook.com <
tbc.dengwe...@outlook.com> wrote:

> Hi,all
> I want to implemet AbaBoost for WSO2 Machine Leaner. here is my proposal,
> please give some feedback to improve it.
> Thanks
> wicky
>
> --
> tbc.dengwe...@outlook.com
>



-- 

Thanks & regards,
Nirmal

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


[Dev] Proposal 17: [CEP] Auto-tuning of WSO2 CEP

2016-03-22 Thread Mohamed Rilfi
Hi , everyone

I am working on my proposal to " Auto-tuning of WSO2 CEP" project.

I am doing MSc research at CSE, University of Moratuwa. Where im using WSO2
CEP combine with WSO2 DAS  to find matching events from multiple streams
(real-time and historical events)

Also i have an good  knowledge in database, NoSQL, query optimization,
Distributed computing, Java Network programming, Threads and  Concurrency ,
Java i/o(NIO,NIO2), Java performance Optimization , Non blocking
Programming , Apache spark, Streaming ,WSO2  CEP and other development
utilities.

Also i referred both research papers mentioned in the  "Auto-tuning of WSO2
CEP" project description.

Based on those research papers and other research findings im working on
the proposal.

-- 

*M.R.M.Rilfi
M.Sc in Computer Science (Reading) Moratuwa
B.Sc Sp. Computer Science
Dept. Computer Science & Engineering,University of Moratuwa
ri...@live.com  , ri...@cse.mrt.ac.lk 
+94776284627 *
___
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-22 Thread Chamila Wijayarathna
Hi Manujith,

identity-framework [1] contains the code base of the features of Identity
Server, and product-is [2] contains the code which install features at
identity-framework to Identity Server. Component specific code is available
at identity-framework repo, because some of these features are not only
used in Identity Server, but in some other carbon based products as well.
So you need to work with the code at identity-framework mainly.

But for building the Identity Server using source, first you need to run
identity-framework, then build identity-extensions [3] which get packed
into Identity server (You can find this list at [4], you can use scripts at
there to clone and build those extensions). Then build product-is. When you
are building identity-framework and extensions, maven save those artifacts
in your M2_HOME and when you are building product-is, it use these
artifacts. If you only build product-is, since there are no artifacts in
M2_HOME, it will download artifacts available online, so if you have done
any changes they will not appear in Identity Server pack you build.

Additionally, if you are changing only entitlement component in identity
server, without following above mentioned process, you can just build a
pack by building product-is, then build the component you change (eg:
components/entitlement/org.wso2.carbon.identity.entitlement) and copy the
jar file build at target folder (eg:
components/entitlement/org.wso2.carbon.identity.entitlement) into /repository/components/patches/patch9000 (You'll have to create
patch9000 folder ). In this way also you can test any changes you are doing
to code.

This may be bit complex task, try it and if you find anything difficult,
please put a mail here.

[1]. https://github.com/wso2/identity-framework
[2]. https://github.com/wso2/product-is
[3]. https://github.com/wso2-extensions
[4]. https://gist.github.com/pulasthi7/3d365a3345371fd63f74

Cheers!

On Tue, Mar 22, 2016 at 8:09 PM, Manujith Pallewatte 
wrote:

> Hi Omindu,
>
> Thank alot, I will look into those.
> also should I be working on the https://github.com/wso2/identity-framework
> codebase or https://github.com/wso2/product-is codebase
> i was under the impression that the latter is what I should focus on
>
>
>
>
>
> On Tue, Mar 22, 2016 at 7:55 PM, Omindu Rathnaweera 
> wrote:
>
>> Hi Manujith,
>>
>> Pushpalanka will be able to provide you more details on this.
>>
>> For the time being, you can try out the current XACML implementation by
>> following the resources at [1].
>>
>> The documentation related to XACML architecture [2] will help you to
>> understand the current implementation. The feature codebase can be found at
>> [3]. In the codebase, EntitlmentService [4] is the SOAP service
>> implementation.
>>
>> [1] -
>> https://docs.wso2.com/display/IS510/Configuring+the+Policy+Administration+Point
>> ,
>> http://pushpalankajaya.blogspot.com/2013/06/try-out-xacml-policies-with-wso2.html
>> [2] - https://docs.wso2.com/display/IS510/Access+Control
>> [3] -
>> https://github.com/wso2/identity-framework/tree/master/components/entitlement
>> [4] -
>> https://github.com/wso2/identity-framework/blob/master/components/entitlement/org.wso2.carbon.identity.entitlement/src/main/java/org/wso2/carbon/identity/entitlement/EntitlementService.java
>>
>> Regards,
>> Omindu.
>>
>> On Tue, Mar 22, 2016 at 6:51 PM, Chamila Wijayarathna 
>> wrote:
>>
>>> [Adding Pushpalanka]
>>>
>>> On Tue, Mar 22, 2016 at 6:05 PM, Manujith Pallewatte <
>>> manujith...@gmail.com> wrote:
>>>
 Hi Omindu,

 It that case, I'm interested in doing *Proposal 22: [IS] RESTful Fine
 Grained Authorization-as-a-Service (AZaaS)*
 Since I'm a bi behind the schedule for starting over with it, can you
 give me some pointers to start working? As I get it I have to focus on
 Balana engine, should I be interacting more with the code of Balana, or IS?

 Thank You

 On Mon, Mar 21, 2016 at 10:56 PM, Omindu Rathnaweera 
 wrote:

> Hi Manujith,
>
> Thank you for showing interest in the project. Unfortunately we have
> decided to remove the project from the project proposals list since we 
> need
> to add the scim 2.0 support to an upcoming release which is scheduled to 
> be
> done prior to the GSoC project period. We apologize for any inconvenience
> this may have caused.
>
> We have included a new project [1] to add *SAML Assertion
> Query/Request Profile support for WSO2 Identity Server*. If
> interested, you can go through the project details and submit a proposal
> for the new project or one of the other Identity Server projects (project 
> 22
> & 23). If you have any questions, feel free to raise.
>
> [1] -
> https://docs.wso2.com/display/GSoC/Project+Proposals+for+2016#ProjectProposalsfor2016-Proposal20:[IS]SAMLAssertionQuery/RequestProfilesupportforWSO2IdentityServer
>
> Thanks,
> Omindu.
>
> O

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

2016-03-22 Thread Manujith Pallewatte
Hi Chamila,

Thank a bunch, that cleared a lot of doubts i was having
I would try with the patch9000 method so that i dont have to build the
product-is every time
And then try the other method as well

Thankx again!


On Tue, Mar 22, 2016 at 8:40 PM, Chamila Wijayarathna 
wrote:

> Hi Manujith,
>
> identity-framework [1] contains the code base of the features of Identity
> Server, and product-is [2] contains the code which install features at
> identity-framework to Identity Server. Component specific code is available
> at identity-framework repo, because some of these features are not only
> used in Identity Server, but in some other carbon based products as well.
> So you need to work with the code at identity-framework mainly.
>
> But for building the Identity Server using source, first you need to run
> identity-framework, then build identity-extensions [3] which get packed
> into Identity server (You can find this list at [4], you can use scripts at
> there to clone and build those extensions). Then build product-is. When you
> are building identity-framework and extensions, maven save those artifacts
> in your M2_HOME and when you are building product-is, it use these
> artifacts. If you only build product-is, since there are no artifacts in
> M2_HOME, it will download artifacts available online, so if you have done
> any changes they will not appear in Identity Server pack you build.
>
> Additionally, if you are changing only entitlement component in identity
> server, without following above mentioned process, you can just build a
> pack by building product-is, then build the component you change (eg:
> components/entitlement/org.wso2.carbon.identity.entitlement) and copy the
> jar file build at target folder (eg:
> components/entitlement/org.wso2.carbon.identity.entitlement) into  Server Home>/repository/components/patches/patch9000 (You'll have to create
> patch9000 folder ). In this way also you can test any changes you are doing
> to code.
>
> This may be bit complex task, try it and if you find anything difficult,
> please put a mail here.
>
> [1]. https://github.com/wso2/identity-framework
> [2]. https://github.com/wso2/product-is
> [3]. https://github.com/wso2-extensions
> [4]. https://gist.github.com/pulasthi7/3d365a3345371fd63f74
>
> Cheers!
>
> On Tue, Mar 22, 2016 at 8:09 PM, Manujith Pallewatte <
> manujith...@gmail.com> wrote:
>
>> Hi Omindu,
>>
>> Thank alot, I will look into those.
>> also should I be working on the
>> https://github.com/wso2/identity-framework codebase or
>> https://github.com/wso2/product-is codebase
>> i was under the impression that the latter is what I should focus on
>>
>>
>>
>>
>>
>> On Tue, Mar 22, 2016 at 7:55 PM, Omindu Rathnaweera 
>> wrote:
>>
>>> Hi Manujith,
>>>
>>> Pushpalanka will be able to provide you more details on this.
>>>
>>> For the time being, you can try out the current XACML implementation by
>>> following the resources at [1].
>>>
>>> The documentation related to XACML architecture [2] will help you to
>>> understand the current implementation. The feature codebase can be found at
>>> [3]. In the codebase, EntitlmentService [4] is the SOAP service
>>> implementation.
>>>
>>> [1] -
>>> https://docs.wso2.com/display/IS510/Configuring+the+Policy+Administration+Point
>>> ,
>>> http://pushpalankajaya.blogspot.com/2013/06/try-out-xacml-policies-with-wso2.html
>>> [2] - https://docs.wso2.com/display/IS510/Access+Control
>>> [3] -
>>> https://github.com/wso2/identity-framework/tree/master/components/entitlement
>>> [4] -
>>> https://github.com/wso2/identity-framework/blob/master/components/entitlement/org.wso2.carbon.identity.entitlement/src/main/java/org/wso2/carbon/identity/entitlement/EntitlementService.java
>>>
>>> Regards,
>>> Omindu.
>>>
>>> On Tue, Mar 22, 2016 at 6:51 PM, Chamila Wijayarathna 
>>> wrote:
>>>
 [Adding Pushpalanka]

 On Tue, Mar 22, 2016 at 6:05 PM, Manujith Pallewatte <
 manujith...@gmail.com> wrote:

> Hi Omindu,
>
> It that case, I'm interested in doing *Proposal 22: [IS] RESTful Fine
> Grained Authorization-as-a-Service (AZaaS)*
> Since I'm a bi behind the schedule for starting over with it, can you
> give me some pointers to start working? As I get it I have to focus on
> Balana engine, should I be interacting more with the code of Balana, or 
> IS?
>
> Thank You
>
> On Mon, Mar 21, 2016 at 10:56 PM, Omindu Rathnaweera 
> wrote:
>
>> Hi Manujith,
>>
>> Thank you for showing interest in the project. Unfortunately we have
>> decided to remove the project from the project proposals list since we 
>> need
>> to add the scim 2.0 support to an upcoming release which is scheduled to 
>> be
>> done prior to the GSoC project period. We apologize for any inconvenience
>> this may have caused.
>>
>> We have included a new project [1] to add *SAML Assertion
>> Query/Request Profile support for WSO2 Identity S

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

2016-03-22 Thread Johann Nallathamby
Hi Dilini,

It true that we ideally should special case this claim and not show in the
profile so a normal end user cannot disable himself.

But this feature is just a renaming of the previous account lock feature we
had, except that account lock was previously used for two purposes.
1. Locking the account of a user by admin (current user disable feature)
2. Locking the account when invalid password attempts exceeded.
Even in 5.1.0 this was the case; one can lock himself out using the profile
and unexpected errors are thrown from management console.

However due to following reasons we are thinking of not addressing this in
5.2.0 release.
1. It is highly unlikely end users of applications are allowed access to
the IS management console to update their profile. Generally they update
the profile through custom screens in the application side. Carbon admin
console is not exposed to end users generally.
2. Very soon we are going to move away from management console UI to a
jaggery based portal separate for end users and admin users.

Due to above reasons we are thinking of deprioritizing this change request.

Regards,
Johann.


On Mon, Mar 21, 2016 at 5:32 PM, Dilini Gunatilake  wrote:

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



-- 
Thanks & Regards,

*Johann Dilantha Nallathamby*
Technical Lead & Product Lead of WSO2 Identity Server
Governance Technologies Team
WSO2, Inc.
lean.enterprise.middleware

Mobile - *+9476950*
Blog - *http://nallaa.wordpress.com *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Is it right to show an Access Token on the API Store UI?

2016-03-22 Thread Nuwan Dias
Hi,

On the API Store UI, whenever you generate credentials for an Application
it also generates for you an OAuth 2.0 Access Token. This Access Token
shouldn't ideally be used by any Application because its basically a token
we generate for testing purposes (i.e for the API Console to work).

However, I have seen this token been misused by many by hardcoding it in
their Apps, etc. Which potentially compromises the security of those
Applications as well. Should we remove it from the UI completely? Or maybe
make it pretty obvious on the UI that the token is a "Test" Access Token?

Thanks,
NuwanD.

-- 
Nuwan Dias

Technical Lead - WSO2, Inc. http://wso2.com
email : nuw...@wso2.com
Phone : +94 777 775 729
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Is it right to show an Access Token on the API Store UI?

2016-03-22 Thread Roshan Wijesena
+1 to keep the token as a  "Test" Access Token.

On Tue, Mar 22, 2016 at 10:03 PM, Nuwan Dias  wrote:

> Hi,
>
> On the API Store UI, whenever you generate credentials for an Application
> it also generates for you an OAuth 2.0 Access Token. This Access Token
> shouldn't ideally be used by any Application because its basically a token
> we generate for testing purposes (i.e for the API Console to work).
>
> However, I have seen this token been misused by many by hardcoding it in
> their Apps, etc. Which potentially compromises the security of those
> Applications as well. Should we remove it from the UI completely? Or maybe
> make it pretty obvious on the UI that the token is a "Test" Access Token?
>
> Thanks,
> NuwanD.
>
> --
> Nuwan Dias
>
> Technical Lead - WSO2, Inc. http://wso2.com
> email : nuw...@wso2.com
> Phone : +94 777 775 729
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com *
lean.enterprise.middleware.
___
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-22 Thread Pushpalanka Jayawardhana
Hi Manujith,

If you haven't already try go through instructions provided at Dev list
under the thread "GSoC project proposal questions" for this proposal as
well.

Hope you are getting up with the pace as the proposal deadline is falling
on 25th March(this Friday). While you try get familiar with the development
procedure and other resources, please try to go ahead with drafting the
proposal as well. This will allow us to give some early feed back and time
for you to adjust. Following resources might help you.

[1] -
http://cdwijayarathna.blogspot.com/2016/02/how-to-get-proposal-ready-for-gsoc.html.
(Later part starting from "Now you need to start work, you may have " will
guide you)
[2] - Sample proposal - http://www.slideshare.net/Pushpalanka/gsoc-2012


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


On Tue, Mar 22, 2016 at 8:57 PM, Manujith Pallewatte 
wrote:

> Hi Chamila,
>
> Thank a bunch, that cleared a lot of doubts i was having
> I would try with the patch9000 method so that i dont have to build the
> product-is every time
> And then try the other method as well
>
> Thankx again!
>
>
> On Tue, Mar 22, 2016 at 8:40 PM, Chamila Wijayarathna 
> wrote:
>
>> Hi Manujith,
>>
>> identity-framework [1] contains the code base of the features of Identity
>> Server, and product-is [2] contains the code which install features at
>> identity-framework to Identity Server. Component specific code is available
>> at identity-framework repo, because some of these features are not only
>> used in Identity Server, but in some other carbon based products as well.
>> So you need to work with the code at identity-framework mainly.
>>
>> But for building the Identity Server using source, first you need to run
>> identity-framework, then build identity-extensions [3] which get packed
>> into Identity server (You can find this list at [4], you can use scripts at
>> there to clone and build those extensions). Then build product-is. When you
>> are building identity-framework and extensions, maven save those artifacts
>> in your M2_HOME and when you are building product-is, it use these
>> artifacts. If you only build product-is, since there are no artifacts in
>> M2_HOME, it will download artifacts available online, so if you have done
>> any changes they will not appear in Identity Server pack you build.
>>
>> Additionally, if you are changing only entitlement component in identity
>> server, without following above mentioned process, you can just build a
>> pack by building product-is, then build the component you change (eg:
>> components/entitlement/org.wso2.carbon.identity.entitlement) and copy the
>> jar file build at target folder (eg:
>> components/entitlement/org.wso2.carbon.identity.entitlement) into > Server Home>/repository/components/patches/patch9000 (You'll have to create
>> patch9000 folder ). In this way also you can test any changes you are doing
>> to code.
>>
>> This may be bit complex task, try it and if you find anything difficult,
>> please put a mail here.
>>
>> [1]. https://github.com/wso2/identity-framework
>> [2]. https://github.com/wso2/product-is
>> [3]. https://github.com/wso2-extensions
>> [4]. https://gist.github.com/pulasthi7/3d365a3345371fd63f74
>>
>> Cheers!
>>
>> On Tue, Mar 22, 2016 at 8:09 PM, Manujith Pallewatte <
>> manujith...@gmail.com> wrote:
>>
>>> Hi Omindu,
>>>
>>> Thank alot, I will look into those.
>>> also should I be working on the
>>> https://github.com/wso2/identity-framework codebase or
>>> https://github.com/wso2/product-is codebase
>>> i was under the impression that the latter is what I should focus on
>>>
>>>
>>>
>>>
>>>
>>> On Tue, Mar 22, 2016 at 7:55 PM, Omindu Rathnaweera 
>>> wrote:
>>>
 Hi Manujith,

 Pushpalanka will be able to provide you more details on this.

 For the time being, you can try out the current XACML implementation by
 following the resources at [1].

 The documentation related to XACML architecture [2] will help you to
 understand the current implementation. The feature codebase can be found at
 [3]. In the codebase, EntitlmentService [4] is the SOAP service
 implementation.

 [1] -
 https://docs.wso2.com/display/IS510/Configuring+the+Policy+Administration+Point
 ,
 http://pushpalankajaya.blogspot.com/2013/06/try-out-xacml-policies-with-wso2.html
 [2] - https://docs.wso2.com/display/IS510/Access+Control
 [3] -
 https://github.com/wso2/identity-framework/tree/master/components/entitlement
 [4] -
 https://github.com/wso2/identity-framework/blob/master/components/entitlement/org.wso2.carbon.identity.entitlement/src/main/java/org/wso2/carbon/identity/entitlement/EntitlementService.java

 Regards,
 Omi

Re: [Dev] Proposal 17: [CEP] Auto-tuning of WSO2 CEP

2016-03-22 Thread Mohanadarshan Vivekanandalingam
[Adding relevant mentors]

Happy to hear your interest Rilfi.. Thanks for the update..

On Tue, Mar 22, 2016 at 8:35 PM, Mohamed Rilfi  wrote:

> Hi , everyone
>
> I am working on my proposal to " Auto-tuning of WSO2 CEP" project.
>
> I am doing MSc research at CSE, University of Moratuwa. Where im using
> WSO2 CEP combine with WSO2 DAS  to find matching events from multiple
> streams (real-time and historical events)
>
> Also i have an good  knowledge in database, NoSQL, query optimization,
> Distributed computing, Java Network programming, Threads and  Concurrency ,
> Java i/o(NIO,NIO2), Java performance Optimization , Non blocking
> Programming , Apache spark, Streaming ,WSO2  CEP and other development
> utilities.
>
> Also i referred both research papers mentioned in the  "Auto-tuning of
> WSO2 CEP" project description.
>
> Based on those research papers and other research findings im working on
> the proposal.
>
> --
>
> *M.R.M.Rilfi
> M.Sc in Computer Science (Reading) Moratuwa
> B.Sc Sp. Computer Science
> Dept. Computer Science & Engineering,University of Moratuwa
> ri...@live.com  , ri...@cse.mrt.ac.lk 
> +94776284627 <%2B94776284627> *
>
>
> ___
> 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
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Proposal Structure

2016-03-22 Thread Mohanadarshan Vivekanandalingam
On Mon, Mar 21, 2016 at 4:03 PM, Jawadh Salih Rifath <
jawadhsalih.wo...@gmail.com> wrote:

> Hi,
>
> Is there any specific structure for the project proposal that I need to
> send. Or do I can make my own and send. If so please let me know the
> essential details that need to be included in the proposal
>

No, There is no such specific structure.. You can follow some common
structure or make your own one to show your creativeness as well.. J

Thanks,
Mohan


>
> ___
> 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
___
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-22 Thread Manujith Pallewatte
Hi Pushpalanka,

Thank you for the resources, I will for sure start working on the proposal.
I was trying to get the basic implementation details straight before
jumping into the proposal
so I could include a better plan in the proposal.  But it seems with the
time constraints I would have to speed it up. Trying my best to deliver the
proposal by
tomorrow.

Thank you

On Tue, Mar 22, 2016 at 10:32 PM, Pushpalanka Jayawardhana 
wrote:

> Hi Manujith,
>
> If you haven't already try go through instructions provided at Dev list
> under the thread "GSoC project proposal questions" for this proposal as
> well.
>
> Hope you are getting up with the pace as the proposal deadline is falling
> on 25th March(this Friday). While you try get familiar with the development
> procedure and other resources, please try to go ahead with drafting the
> proposal as well. This will allow us to give some early feed back and time
> for you to adjust. Following resources might help you.
>
> [1] -
> http://cdwijayarathna.blogspot.com/2016/02/how-to-get-proposal-ready-for-gsoc.html.
> (Later part starting from "Now you need to start work, you may have "
> will guide you)
> [2] - Sample proposal - http://www.slideshare.net/Pushpalanka/gsoc-2012
> 
>
> Thanks,
> Pushpalanka.
> --
> Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
> Senior Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
> Mobile: +94779716248
> Blog: pushpalankajaya.blogspot.com/ | LinkedIn:
> lk.linkedin.com/in/pushpalanka/ | Twitter: @pushpalanka
>
>
> On Tue, Mar 22, 2016 at 8:57 PM, Manujith Pallewatte <
> manujith...@gmail.com> wrote:
>
>> Hi Chamila,
>>
>> Thank a bunch, that cleared a lot of doubts i was having
>> I would try with the patch9000 method so that i dont have to build the
>> product-is every time
>> And then try the other method as well
>>
>> Thankx again!
>>
>>
>> On Tue, Mar 22, 2016 at 8:40 PM, Chamila Wijayarathna 
>> wrote:
>>
>>> Hi Manujith,
>>>
>>> identity-framework [1] contains the code base of the features of
>>> Identity Server, and product-is [2] contains the code which install
>>> features at identity-framework to Identity Server. Component specific code
>>> is available at identity-framework repo, because some of these features are
>>> not only used in Identity Server, but in some other carbon based products
>>> as well. So you need to work with the code at identity-framework mainly.
>>>
>>> But for building the Identity Server using source, first you need to run
>>> identity-framework, then build identity-extensions [3] which get packed
>>> into Identity server (You can find this list at [4], you can use scripts at
>>> there to clone and build those extensions). Then build product-is. When you
>>> are building identity-framework and extensions, maven save those artifacts
>>> in your M2_HOME and when you are building product-is, it use these
>>> artifacts. If you only build product-is, since there are no artifacts in
>>> M2_HOME, it will download artifacts available online, so if you have done
>>> any changes they will not appear in Identity Server pack you build.
>>>
>>> Additionally, if you are changing only entitlement component in identity
>>> server, without following above mentioned process, you can just build a
>>> pack by building product-is, then build the component you change (eg:
>>> components/entitlement/org.wso2.carbon.identity.entitlement) and copy the
>>> jar file build at target folder (eg:
>>> components/entitlement/org.wso2.carbon.identity.entitlement) into >> Server Home>/repository/components/patches/patch9000 (You'll have to create
>>> patch9000 folder ). In this way also you can test any changes you are doing
>>> to code.
>>>
>>> This may be bit complex task, try it and if you find anything difficult,
>>> please put a mail here.
>>>
>>> [1]. https://github.com/wso2/identity-framework
>>> [2]. https://github.com/wso2/product-is
>>> [3]. https://github.com/wso2-extensions
>>> [4]. https://gist.github.com/pulasthi7/3d365a3345371fd63f74
>>>
>>> Cheers!
>>>
>>> On Tue, Mar 22, 2016 at 8:09 PM, Manujith Pallewatte <
>>> manujith...@gmail.com> wrote:
>>>
 Hi Omindu,

 Thank alot, I will look into those.
 also should I be working on the
 https://github.com/wso2/identity-framework codebase or
 https://github.com/wso2/product-is codebase
 i was under the impression that the latter is what I should focus on





 On Tue, Mar 22, 2016 at 7:55 PM, Omindu Rathnaweera 
 wrote:

> Hi Manujith,
>
> Pushpalanka will be able to provide you more details on this.
>
> For the time being, you can try out the current XACML implementation
> by following the resources at [1].
>
> The documentation related to XACML architecture [2] will help you to
> understand the current implementation. The feature codebase can be found 
> at
> [3]. In the codebase, EntitlmentService [4] is the SOAP service

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

2016-03-22 Thread Supun Sethunga
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,
>>>
>>> Yes, the master branch is using java 8, hence you can use lambda
>>> expressions.
>>>
>>> Regards,
>>> Supun
>>>
>>> On Mon, Mar 14, 2016 at 3:24 PM, Anurag Kashyap <
>>> anurag1...@gmail.com> wrote:
>>>
 Hi Supun,
 One more question. I cou

Re: [Dev] Is it right to show an Access Token on the API Store UI?

2016-03-22 Thread Isabelle Mauny
I don’t think we should remove it, because it makes thing easy to test. 

May we what we can do is
a) Call this a TEST token as opposed to access token  (the label , the button)
b) Move the test generation elsewhere not so close to the key/secret generation.

Isabelle.

> On Mar 22, 2016, at 5:45 PM, Roshan Wijesena  wrote:
> 
> +1 to keep the token as a  "Test" Access Token. 
> 
> On Tue, Mar 22, 2016 at 10:03 PM, Nuwan Dias  > wrote:
> Hi,
> 
> On the API Store UI, whenever you generate credentials for an Application it 
> also generates for you an OAuth 2.0 Access Token. This Access Token shouldn't 
> ideally be used by any Application because its basically a token we generate 
> for testing purposes (i.e for the API Console to work). 
> 
> However, I have seen this token been misused by many by hardcoding it in 
> their Apps, etc. Which potentially compromises the security of those 
> Applications as well. Should we remove it from the UI completely? Or maybe 
> make it pretty obvious on the UI that the token is a "Test" Access Token?
> 
> Thanks,
> NuwanD.
> 
> -- 
> Nuwan Dias
> 
> Technical Lead - WSO2, Inc. http://wso2.com 
> email : nuw...@wso2.com 
> Phone : +94 777 775 729 
> ___
> Dev mailing list
> Dev@wso2.org 
> http://wso2.org/cgi-bin/mailman/listinfo/dev 
> 
> 
> 
> 
> 
> -- 
> Roshan Wijesena.
> Senior Software Engineer-WSO2 Inc.
> Mobile: +94719154640
> Email: ros...@wso2.com 
>  <>
> WSO2, Inc. : wso2.com 
> lean.enterprise.middleware.
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev

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


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

2016-03-22 Thread Supun Sethunga
Hi,

Thanks for your interest and the proposal. In the "Proposal 4: [ML]
Ensemble Methods Support for WSO2 Machine Learner", we are focusing on the
three methods: Bagging, Boosting and Stacking. You may not need to
implement several techniques for Boosting, but rather one technique for
each of the above three methods.

Can you update the proposal accordingly?

Thanks,
Supun

On Tue, Mar 22, 2016 at 8:30 PM, Nirmal Fernando  wrote:

> Thanks
>
> On Tue, Mar 22, 2016 at 8:22 PM, tbcTobeContinued <
> tbc.dengwe...@outlook.com> wrote:
>
>> Sorry,here is the link:
>>
>> https://drive.google.com/file/d/0BwujRZWY9rKPemVkbVYwTmd6bGM/view?usp=sharing
>>
>> 在 2016年3月22日,下午10:40,Nirmal Fernando  写道:
>>
>> Thanks for the proposal Deng, we'll check and provide feedback. It'll be
>> easier, if you could share a google document with us, with comment rights.
>>
>> On Tue, Mar 22, 2016 at 7:42 PM, tbc.dengwe...@outlook.com <
>> tbc.dengwe...@outlook.com> wrote:
>>
>>> Hi,all
>>> I want to implemet AbaBoost for WSO2 Machine Leaner. here is my
>>> proposal, please give some feedback to improve it.
>>> Thanks
>>> wicky
>>>
>>> --
>>> tbc.dengwe...@outlook.com
>>>
>>
>>
>>
>> --
>>
>> Thanks & regards,
>> Nirmal
>>
>> Team Lead - WSO2 Machine Learner
>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>> Mobile: +94715779733
>> Blog: http://nirmalfdo.blogspot.com/
>>
>>
>>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Team Lead - WSO2 Machine Learner
> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


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


Re: [Dev] gsoc project

2016-03-22 Thread Hardik Patel
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 
 > 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
 >> >> >>> image
 >> >> >>>
 >> >> >>> On Mon, Mar 21, 2016 at 3:47 PM, Hardik Patel <
 >> hardikpr...@gmail.com>
 >> >> >>> wrote:
 >> >> >>>
 >> >>  Hi sir
 >> >> 
 >> >>  I have already copied wso2am-1.10.1.zip
 >> >> 
 >> >>  Is it OK???
 >> >> 
 >> >>  Or I have to switch with 1.9.1??
 >> >>  On Mar 21, 2016 7:39 AM, "Chamila De Alwis" <
 chami...@wso2.com>
 >> >> wrote:
 >> >> 
 >> >> > Hi Hardik,
 >> >> >
 >> >> > Puppet throws this error when it can't find
 >> >> > wso2am-1.9.1.zip
 >> >> > file
 >> >> > at
 >> >> > your PUPPET_HOME location.
 >> >> >
 >> >> > [image: Inline image 1]
 >> >> >
 >> >> > It should be copied to /modules/wso2am/files
 >> >> > for
 >> >> > Puppet
 >> >> > to
 >> >> > pick it up.
 >> 

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

2016-03-22 Thread Manujith Pallewatte
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 a piece here. Please help me to clarify
this point

Thank You


On Tue, Mar 22, 2016 at 10:47 PM, Manujith Pallewatte  wrote:

> Hi Pushpalanka,
>
> Thank you for the resources, I will for sure start working on the
> proposal. I was trying to get the basic implementation details straight
> before jumping into the proposal
> so I could include a better plan in the proposal.  But it seems with the
> time constraints I would have to speed it up. Trying my best to deliver the
> proposal by
> tomorrow.
>
> Thank you
>
> On Tue, Mar 22, 2016 at 10:32 PM, Pushpalanka Jayawardhana  > wrote:
>
>> Hi Manujith,
>>
>> If you haven't already try go through instructions provided at Dev list
>> under the thread "GSoC project proposal questions" for this proposal as
>> well.
>>
>> Hope you are getting up with the pace as the proposal deadline is falling
>> on 25th March(this Friday). While you try get familiar with the development
>> procedure and other resources, please try to go ahead with drafting the
>> proposal as well. This will allow us to give some early feed back and time
>> for you to adjust. Following resources might help you.
>>
>> [1] -
>> http://cdwijayarathna.blogspot.com/2016/02/how-to-get-proposal-ready-for-gsoc.html.
>> (Later part starting from "Now you need to start work, you may have "
>> will guide you)
>> [2] - Sample proposal - http://www.slideshare.net/Pushpalanka/gsoc-2012
>> 
>>
>> Thanks,
>> Pushpalanka.
>> --
>> Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
>> Senior Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
>> Mobile: +94779716248
>> Blog: pushpalankajaya.blogspot.com/ | LinkedIn:
>> lk.linkedin.com/in/pushpalanka/ | Twitter: @pushpalanka
>>
>>
>> On Tue, Mar 22, 2016 at 8:57 PM, Manujith Pallewatte <
>> manujith...@gmail.com> wrote:
>>
>>> Hi Chamila,
>>>
>>> Thank a bunch, that cleared a lot of doubts i was having
>>> I would try with the patch9000 method so that i dont have to build the
>>> product-is every time
>>> And then try the other method as well
>>>
>>> Thankx again!
>>>
>>>
>>> On Tue, Mar 22, 2016 at 8:40 PM, Chamila Wijayarathna 
>>> wrote:
>>>
 Hi Manujith,

 identity-framework [1] contains the code base of the features of
 Identity Server, and product-is [2] contains the code which install
 features at identity-framework to Identity Server. Component specific code
 is available at identity-framework repo, because some of these features are
 not only used in Identity Server, but in some other carbon based products
 as well. So you need to work with the code at identity-framework mainly.

 But for building the Identity Server using source, first you need to
 run identity-framework, then build identity-extensions [3] which get packed
 into Identity server (You can find this list at [4], you can use scripts at
 there to clone and build those extensions). Then build product-is. When you
 are building identity-framework and extensions, maven save those artifacts
 in your M2_HOME and when you are building product-is, it use these
 artifacts. If you only build product-is, since there are no artifacts in
 M2_HOME, it will download artifacts available online, so if you have done
 any changes they will not appear in Identity Server pack you build.

 Additionally, if you are changing only entitlement component in
 identity server, without following above mentioned process, you can just
 build a pack by building product-is, then build the component you change
 (eg: components/entitlement/org.wso2.carbon.identity.entitlement) and copy
 the jar file build at target folder (eg:
 components/entitlement/org.wso2.carbon.identity.entitlement) into >>> Server Home>/repository/components/patches/patch9000 (You'll have to create
 patch9000 folder ). In this way also you can test any changes you are doing
 to code.

 This may be bit complex task, try it and if you find anything
 difficult, please put a mail here.

 [1]. https://github.com/wso2/identity-framework
 [2]. https://github.com/wso2/product-is
 [3]. https://github.com/wso2-extensions
 [4]. https://gist.github.com/pulasthi7/3d365a3345371fd63f74

>>>

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

2016-03-22 Thread Manujith Pallewatte
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 
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 a piece here. Please help me to
> clarify this point
>
> Thank You
>
>
> On Tue, Mar 22, 2016 at 10:47 PM, Manujith Pallewatte <
> manujith...@gmail.com> wrote:
>
>> Hi Pushpalanka,
>>
>> Thank you for the resources, I will for sure start working on the
>> proposal. I was trying to get the basic implementation details straight
>> before jumping into the proposal
>> so I could include a better plan in the proposal.  But it seems with the
>> time constraints I would have to speed it up. Trying my best to deliver the
>> proposal by
>> tomorrow.
>>
>> Thank you
>>
>> On Tue, Mar 22, 2016 at 10:32 PM, Pushpalanka Jayawardhana <
>> la...@wso2.com> wrote:
>>
>>> Hi Manujith,
>>>
>>> If you haven't already try go through instructions provided at Dev list
>>> under the thread "GSoC project proposal questions" for this proposal as
>>> well.
>>>
>>> Hope you are getting up with the pace as the proposal deadline is
>>> falling on 25th March(this Friday). While you try get familiar with the
>>> development procedure and other resources, please try to go ahead with
>>> drafting the proposal as well. This will allow us to give some early feed
>>> back and time for you to adjust. Following resources might help you.
>>>
>>> [1] -
>>> http://cdwijayarathna.blogspot.com/2016/02/how-to-get-proposal-ready-for-gsoc.html.
>>> (Later part starting from "Now you need to start work, you may have "
>>> will guide you)
>>> [2] - Sample proposal - http://www.slideshare.net/Pushpalanka/gsoc-2012
>>> 
>>>
>>> Thanks,
>>> Pushpalanka.
>>> --
>>> Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
>>> Senior Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
>>> Mobile: +94779716248
>>> Blog: pushpalankajaya.blogspot.com/ | LinkedIn:
>>> lk.linkedin.com/in/pushpalanka/ | Twitter: @pushpalanka
>>>
>>>
>>> On Tue, Mar 22, 2016 at 8:57 PM, Manujith Pallewatte <
>>> manujith...@gmail.com> wrote:
>>>
 Hi Chamila,

 Thank a bunch, that cleared a lot of doubts i was having
 I would try with the patch9000 method so that i dont have to build the
 product-is every time
 And then try the other method as well

 Thankx again!


 On Tue, Mar 22, 2016 at 8:40 PM, Chamila Wijayarathna >>> > wrote:

> Hi Manujith,
>
> identity-framework [1] contains the code base of the features of
> Identity Server, and product-is [2] contains the code which install
> features at identity-framework to Identity Server. Component specific code
> is available at identity-framework repo, because some of these features 
> are
> not only used in Identity Server, but in some other carbon based products
> as well. So you need to work with the code at identity-framework mainly.
>
> But for building the Identity Server using source, first you need to
> run identity-framework, then build identity-extensions [3] which get 
> packed
> into Identity server (You can find this list at [4], you can use scripts 
> at
> there to clone and build those extensions). Then build product-is. When 
> you
> are building identity-framework and extensions, maven save those artifacts
> in your M2_HOME and when you are building product-is, it use these
> artifacts. If you only build product-is, since there are no artifacts in
> M2_HOME, it will download artifacts available online, so if you have done
> any changes they will not appear in Identity Server pack you build.
>
> Additionally, if you are changing only entitlement component in
> identity server, without following above mentioned process, you can just
> build a 

[Dev] GSoC Project - Dockerfiles integration test framework

2016-03-22 Thread Abhishek Tiwari
Hello Mentors,

I have shared my project proposal for review. Please provide your feedback.

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


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

2016-03-22 Thread Misgana Negassi

Hallo!

I am Misgana, hailing from Freiburg, Germany and I am interested in 
working with you on the Ensemble methods . I have already implemented 
Stacking in python(code available in github/zemoel) and compared it to 
other ensemble methods such as Ensemble Selection on AUC performance 
measures. The comparison also included using above mentioned methods as 
part of an automated machine learning platform(Autosklearn).


I am currently working on my proposal and would be grateful for your reply.

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


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

2016-03-22 Thread Nirmal Fernando
Thanks, Misgana for your interest in a WSO2 ML GSoC project. Whilst I let
Supun give you some more information on the project, I encourage you to
create a draft proposal and send us for review.

On Wed, Mar 23, 2016 at 2:58 AM, Misgana Negassi <
negas...@tf.uni-freiburg.de> wrote:

> Hallo!
>
> I am Misgana, hailing from Freiburg, Germany and I am interested in
> working with you on the Ensemble methods . I have already implemented
> Stacking in python(code available in github/zemoel) and compared it to
> other ensemble methods such as Ensemble Selection on AUC performance
> measures. The comparison also included using above mentioned methods as
> part of an automated machine learning platform(Autosklearn).
>
> I am currently working on my proposal and would be grateful for your reply.
>
> Misgana
>



-- 

Thanks & regards,
Nirmal

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


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

2016-03-22 Thread Tharindu Edirisinghe
Hi Asantha,

I've added the latest proposal you've sent to google docs in [1]. As
Chamila suggested, can you list down the methods that you expose in the API
(public methods in the userstore manager) in the proposal so that it is
easy to understand the functionality of the userstore manager. Also it is
better to submit the proposal to google now and update later if any
modification is needed.

[1]
https://docs.google.com/document/d/1xv7iB3VAUElvf1Cl3So0TSLCSjuZOS-IyT-Fy_1zl_c/edit?usp=sharing

Thanks,
TharinduE

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

> Hi Chamila,
>
> Thanks a lot for the feedback, sure i will update my proposal as you
> suggested
>
> Thanks,
> Asantha
>
> On Mon, Mar 21, 2016 at 9:18 AM, Chamila Wijayarathna 
> wrote:
>
>> Hi Asantha,
>>
>> Looks good, please talk with Tharindu also before submitting the
>> proposal. Even you submit your proposal, you can improve it until 25th.
>>
>> So if time permits, I would like to suggest you to add some details about
>> what are the APIs and functions you are going to expose after developing
>> this new user store manager, if you have already decided on them. Since you
>> may have went through the codes of existing user store managers, you may
>> already have an idea about what are the functions you need to exposed to
>> outside. So if can add at least few functions you are going to expose with
>> some details, it would make your proposal more attractive. Also I would
>> like to suggest you to add link of github repo where you have started
>> development. Also if you have written any blogs related to the project,
>> mongoDB, etc. please mention them also in your proposal.
>>
>> Also I see some formatting issues and some dates has got repeated in your
>> timeline, hope you will correct the when submitting proposal at GSoC site.
>>
>> Cheers!
>>
>> On Mon, Mar 21, 2016 at 9:18 PM, Asantha Thilina <
>> asanthathil...@gmail.com> wrote:
>>
>>> Hi Chamila,
>>>
>>> Thanks a lot for your valuable feedback as you suggested i corrected my
>>> project proposal and here i attached my finalize project proposal
>>>
>>> expecting your feedback
>>>
>>> Thanks,
>>> Asantha
>>>
>>> On Mon, Mar 21, 2016 at 5:44 AM, Chamila Wijayarathna 
>>> wrote:
>>>
 Hi Asantha,

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

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

 Looking forward to see your proposal.

 Good Luck!

 On Mon, Mar 21, 2016 at 5:15 PM, Asantha Thilina <
 asanthathil...@gmail.com> wrote:

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


 --
 *Chamila Dilshan Wijayarathna,*
 Software Engineer
 Mobile:(+94)788193620
 WSO2 Inc., http://wso2.com/

>>>
>>>
>>
>>
>> --
>> *Chamila Dilshan Wijayarathna,*
>> Software Engineer
>> Mobile:(+94)788193620
>> WSO2 Inc., http://wso2.com/
>>
>
>


-- 

Tharindu Edirisinghe
Software Engineer | WSO2 Inc
Platform Security Team
Blog : tharindue.blogspot.com
mobile : +94 775181586
___
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-22 Thread Upul Bandara
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 
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  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.
>
>
>


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


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

2016-03-22 Thread Upul Bandara
Hi Lakini,

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

Actually, DL4J will be our NN library and we are planning to use JavaScritp
(and related libraries) for building the front-end.


DL4J, can be easily run on apache clusters. That will give us the
scalability when we are building large NNs.
Finally, we are planning to integrate "Visual Deep Learning Builder" with WSO2
Machine learner.

I think this will give you some idea about the project.

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

Thanks,
Upul


On Tue, Mar 22, 2016 at 10:21 AM, Lakini Senanayaka <
lakinisenanayak...@gmail.com> wrote:

> Hi all,
>
> I have read the documentations and more about Apache Spark and DL4J
> concepts.There was a way to have deeplearning4j on Spark
> ( http://deeplearning4j.org/spark ) in the DL4J documentation.
>
> As I understood we are using DL4J to draw neural networks and Apache
> spark(Spark ML) to do the calculations and to train the neural network.
>
> As the main objective of the "Visual Neural Network Builder" project is
> to create a Neural Network UI front-end for WSO2 Machine Learner.
> I have a doubt on how to use WSO2 Machine learner,Apache Spark and DL4J
> all together.I have read the architecture of WSO2 Machine Lerner also.I
> could understand the workflow of the project which you mentioned in the
> idealist.Could you please give me more guidance on this problem to clarify
> more about the project?
>
>
> On Mon, Mar 21, 2016 at 1:26 PM, Nirmal Fernando  wrote:
>
>>
>>
>> On Mon, Mar 21, 2016 at 1:25 PM, Upul Bandara  wrote:
>>
>>> Also, please note that deadline for the project proposal is this Friday.
>>>
>>> Correction:
>>
>>
>>> Please send your proposal to dev@wso2.org and project mentor(s).
>>>
>>> Thanks,
>>> Upul
>>>
>>> On Mon, Mar 21, 2016 at 1:11 PM, Lakini Senanayaka <
>>> lakinisenanayak...@gmail.com> wrote:
>>>
 Thank you very much Upul.
 I will go through the resources and If I get any problem I'll let you
 know.


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

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



 --
 Thank you.

 Sincerely,
 *Lakini Senanayaka.*


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


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


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

2016-03-22 Thread Isuru Wijesinghe
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 2016 - Project 21 : Review Proposal

2016-03-22 Thread Asantha Thilina
Hi Tharindu,

thanks a lot for the feedbacks, sure i will modify the content of the
proposal as suggested  and submit to google within today

Thanks,
Asantha


On Wed, Mar 23, 2016 at 7:45 AM, Tharindu Edirisinghe 
wrote:

> Hi Asantha,
>
> I've added the latest proposal you've sent to google docs in [1]. As
> Chamila suggested, can you list down the methods that you expose in the API
> (public methods in the userstore manager) in the proposal so that it is
> easy to understand the functionality of the userstore manager. Also it is
> better to submit the proposal to google now and update later if any
> modification is needed.
>
> [1]
> https://docs.google.com/document/d/1xv7iB3VAUElvf1Cl3So0TSLCSjuZOS-IyT-Fy_1zl_c/edit?usp=sharing
>
> Thanks,
> TharinduE
>
> On Mon, Mar 21, 2016 at 9:58 PM, Asantha Thilina  > wrote:
>
>> Hi Chamila,
>>
>> Thanks a lot for the feedback, sure i will update my proposal as you
>> suggested
>>
>> Thanks,
>> Asantha
>>
>> On Mon, Mar 21, 2016 at 9:18 AM, Chamila Wijayarathna 
>> wrote:
>>
>>> Hi Asantha,
>>>
>>> Looks good, please talk with Tharindu also before submitting the
>>> proposal. Even you submit your proposal, you can improve it until 25th.
>>>
>>> So if time permits, I would like to suggest you to add some details
>>> about what are the APIs and functions you are going to expose after
>>> developing this new user store manager, if you have already decided on
>>> them. Since you may have went through the codes of existing user store
>>> managers, you may already have an idea about what are the functions you
>>> need to exposed to outside. So if can add at least few functions you are
>>> going to expose with some details, it would make your proposal more
>>> attractive. Also I would like to suggest you to add link of github repo
>>> where you have started development. Also if you have written any blogs
>>> related to the project, mongoDB, etc. please mention them also in your
>>> proposal.
>>>
>>> Also I see some formatting issues and some dates has got repeated in
>>> your timeline, hope you will correct the when submitting proposal at GSoC
>>> site.
>>>
>>> Cheers!
>>>
>>> On Mon, Mar 21, 2016 at 9:18 PM, Asantha Thilina <
>>> asanthathil...@gmail.com> wrote:
>>>
 Hi Chamila,

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

 expecting your feedback

 Thanks,
 Asantha

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

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

>>

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

2016-03-22 Thread Supun Sethunga
Hi Misgana,

As we have mentioned in the project proposal as well, the main objective is
to integrate ensemble support for the existing flow of the WSO2 Machine
Learner. We are focusing on the three methods: Bagging, Boosting and
Stacking. (On technique per each of these methods)

If you haven't tried out already, you can get to know the Machine
Learner product by downloading it and running it (Please use link [1] to
download). Official documentation [2] and blog [3] will help you on how to
use the product. You can also go through the source code of WSO2 ML ([4]
and [5]), and get familiarized with the current implementations.

Meantime, as Nirmal mentioned, can you please send us the draft of the
proposal so that we can review it and give you a feedback?

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

Thanks,
Supun

On Wed, Mar 23, 2016 at 7:20 AM, Nirmal Fernando  wrote:

> Thanks, Misgana for your interest in a WSO2 ML GSoC project. Whilst I let
> Supun give you some more information on the project, I encourage you to
> create a draft proposal and send us for review.
>
> On Wed, Mar 23, 2016 at 2:58 AM, Misgana Negassi <
> negas...@tf.uni-freiburg.de> wrote:
>
>> Hallo!
>>
>> I am Misgana, hailing from Freiburg, Germany and I am interested in
>> working with you on the Ensemble methods . I have already implemented
>> Stacking in python(code available in github/zemoel) and compared it to
>> other ensemble methods such as Ensemble Selection on AUC performance
>> measures. The comparison also included using above mentioned methods as
>> part of an automated machine learning platform(Autosklearn).
>>
>> I am currently working on my proposal and would be grateful for your
>> reply.
>>
>> Misgana
>>
>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Team Lead - WSO2 Machine Learner
> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


-- 
*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] Representing Arrays in JSON schema

2016-03-22 Thread Susinda Perera
Hi Sohani

I do not think this is a correct representation,
*"items": [] , *this says id is an empty array, but it is not (in this
example it has 2, and also it has some value inside id tag, which is string
in this example. if we say its empty array we loose all these information.
Therefore i believe it should be something like below.

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



On Mon, Mar 21, 2016 at 9:18 PM, Sohani Weerasinghe  wrote:

> Hi All,
>
> As per the offline discussion we had, please find the summary of
> representing the arrays in JSON Schema.
>
> If we consider an xml which contains an array of Ids, (Id) which does not
> contain any items inside it,
>
> eg:
> 
>
>   false
>   01gD001vELkIAM-400
>   
> * 001D00HS2PPIA1*
> * 001D00HS2PPIA1*
>   
>427
>  
>
>
> Then, the expected json schema should be as follows
>
> "sf:records": {
> "id": "http://jsonschema.net/queryMoreResponse/result/sf:records";,
> "type": "array",
> "items": [{
> "id": "http://jsonschema.net/queryMoreResponse/result/sf:records/0";,
> "type": "object",
> "properties": {
> "sf:Id": {
> "id":"http://jsonschema.net/queryMoreResponse/result/sf:records/0/sf:Id";,
> "type": "array",
> *"items": []*
> }
> }
> }]
> }
>
> If we have elements inside, then we can add those as items accordingly.
>
> Please find the image which represents the array as shown below
>
>
>
> Thanks,
> Sohani
> ​
> Sohani Weerasinghe
> Software Engineer
> WSO2, Inc: http://wso2.com
>
> Mobile  : +94 716439774
> Blog :http://christinetechtips.blogspot.com/
> Twitter  : https://twitter.com/sohanichristine
>



-- 
*Susinda Perera*
Software Engineer
B.Sc.(Eng), M.Sc(Computer Science), AMIE(SL)
Mobile:(+94)716049075
Blog: susinda.blogspot.com
WSO2 Inc. http://wso2.com/
Tel : 94 11 214 5345 Fax :94 11 2145300
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DAS] Is there a way to retrieve selected fields from a given table

2016-03-22 Thread Geesara Prathap
Hi All,

As an example, *ORG_WSO2_IOT_DEVICES_TEMPERATURE *table consists of five
fields: META_OWNER, META_DEVICETYPE, META_DEVICEID, META_TIME, TEMPERATURE
and _TIMESTAMP. But interested only less number of fields. When querying
this

*meta_owner:admin AND meta_deviceId:1iexrfgp2jwa8 AND
meta_time:[1456467843079 TO 1456468494817]* which retrieved all fields it
contains. So how to get selected some of the fields only which are required?

Thanks,
Geesara
-- 
Geesara Prathap Kulathunga
Software Engineer
WSO2 Inc; http://wso2.com
Mobile : +940772684174
___
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-22 Thread Imesh Gunaratne
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 
 wrote:

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

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

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

 Thanks

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

> Dear Sir,
>
> We are a group of 4th year students following the Computer Systems
> and Networking degree program at SLIIT. We are interested in 
> undertaking
> above mentioned project as our 4th year research project.
>
> As 4th year CSN students we have a fairly

Re: [Dev] Regarding Proposal 6: [ML] Predictive analytics with online data for WSO2 Machine Learner

2016-03-22 Thread Supun Sethunga
Hi Heshani,

Have you started working on the project proposal? if so can you please send
us a draft to review?

Thanks,
Supun

On Thu, Mar 3, 2016 at 2:35 PM, Maheshakya Wijewardena 
wrote:

> Hi Heshani,
>
> Please add WSO2 developers list as well when you are inquiring about
> projects because the community is interested in these projects and their
> input is vital and the decisions are made collaboratively.
>
> That said, about your request; this projects is targeted to be a GSoC
> project so the scope and the time line of the project should comply with
> the GSoC official time lines. So there should be a concrete goal and
> associated tasks that can be completed within that time frame. These tasks
> should be properly discussed with the community and finalized, so that they
> can go into the project proposal.
> If you want to continue this as your final year project, you should
> discuss about what more can be done (in addition to the components added in
> GSoC project) and also find a supervisor. But this should be done
> independently from the GSoC and you need to get approval from WSO2 for that.
>
> As a starting point (considering GSoC), you can download Machine Learner
> product, go through examples and quick start guide.
> Then you can try developing small ML applications with Spark ML lib and
> play around with Spark streaming as well.
> After getting some concrete idea, try to write a program using Spark
> Streaming and ML lib streaming linear regression, streaming k-means to
> train models with streaming data and share your you experience with us.
>
> Best regards.
>
> On Thu, Mar 3, 2016 at 12:23 PM, Heshani Herath  > wrote:
>
>> Hi Maheshakya,
>>
>> I went through WSO2 ML details,as I'm doing this as the 4th year research
>> project I need more requirements to fit for the whole year, If there are
>> any requirements to be done please be kind enough to share with me.
>>
>> Thank you!
>>
>> On Mon, Feb 29, 2016 at 3:19 PM, Maheshakya Wijewardena <
>> mahesha...@wso2.com> wrote:
>>
>>> Hi Heshani,
>>>
>>> Thank you for the interest for this project.
>>>
>>> WSO2 Machine Learner supports several learning algorithms at the
>>> moment[1]. This project intends is to leverage the existing algorithms in
>>> WSO2 Machine Learner to support streaming data. As an initiative, first you
>>> can get an idea about what WSO2 Machine Learner does and how it operates.
>>> You can download WSO2 Machine Learner from product page[2] and the the
>>> source code [3]. ML is using Apache Spark MLLib[4] for its' algorithms so
>>> it's better to read and understand what it does as well.
>>>
>>> In order to get an idea about the deliverables and the scope of this
>>> project, try to understand how Spark streaming[5] (see examples) handles
>>> streaming data. Also, have a look in the streaming algorithms[6][7]
>>> supported by MLLib. There are two approaches discussed to employ
>>> incremental learning in ML in the project proposals page. These streaming
>>> algorithms can be directly used in the first approach. For the other
>>> approach, the your implementation should contain a procedure to create mini
>>> batches from streaming data with relevant sizes (i.e. a moving window) and
>>> do periodic retraining of the same algorithm.
>>>
>>> To start with the project, you will need to come up with a suitable plan
>>> and an architecture first.
>>>
>>> Please watch the video referenced in the proposal (reference: 5). It
>>> will help you getting a better idea about machine learning algorithms with
>>> streaming data.
>>>
>>> Let us know if you need any help with these.
>>>
>>> Best regards
>>>
>>> [1] https://docs.wso2.com/display/ML110/Machine+Learner+Algorithms
>>> [2] http://wso2.com/products/machine-learner/
>>> [3]
>>> https://docs.wso2.com/display/ML110/Building+from+Source#BuildingfromSource-Downloadingthesourcecheckout
>>> [4] https://spark.apache.org/docs/1.4.1/mllib-guide.html
>>> [5] https://spark.apache.org/docs/1.4.1/streaming-programming-guide.html
>>> [6]
>>> https://spark.apache.org/docs/1.4.1/mllib-linear-methods.html#streaming-linear-regression
>>> [7]
>>> https://spark.apache.org/docs/1.4.1/mllib-clustering.html#streaming-k-means
>>>
>>> On Mon, Feb 29, 2016 at 2:54 PM, Heshani Herath <
>>> heshani7.her...@gmail.com> wrote:
>>>
 Hi,


 https://docs.wso2.com/display/GSoC/Project+Proposals+for+2016#ProjectProposalsfor2016-Proposal6:[ML]PredictiveanalyticswithonlinedataforWSO2MachineLearner

 I'm a 4th year undergraduate from SLIIT faculty of
 computing(specializing in Software Engineering) who is interested in doing
 the aforementioned project as the final year research. I would like to know
 more details on this topic and the procedure to be followed when
 implementing it. Please be kind enough to reply as soon as possible.

 Thank you

 --
 Best Regards,
 Heshani Herath

>>>
>>>
>>>
>>> --
>>> Pruthuvi Maheshakya Wijewardena
>>> mahesha...

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

2016-03-22 Thread Pushpalanka Jayawardhana
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 
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
>
Hi Manujith,

Yes this understanding is correct.

Thanks,
Pushpalanka

>
> 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 a piece here. Please help me to
>> clarify this point
>>
>> Thank You
>>
>>
>> On Tue, Mar 22, 2016 at 10:47 PM, Manujith Pallewatte <
>> manujith...@gmail.com> wrote:
>>
>>> Hi Pushpalanka,
>>>
>>> Thank you for the resources, I will for sure start working on the
>>> proposal. I was trying to get the basic implementation details straight
>>> before jumping into the proposal
>>> so I could include a better plan in the proposal.  But it seems with the
>>> time constraints I would have to speed it up. Trying my best to deliver the
>>> proposal by
>>> tomorrow.
>>>
>>> Thank you
>>>
>>> On Tue, Mar 22, 2016 at 10:32 PM, Pushpalanka Jayawardhana <
>>> la...@wso2.com> wrote:
>>>
 Hi Manujith,

 If you haven't already try go through instructions provided at Dev list
 under the thread "GSoC project proposal questions" for this proposal
 as well.

 Hope you are getting up with the pace as the proposal deadline is
 falling on 25th March(this Friday). While you try get familiar with the
 development procedure and other resources, please try to go ahead with
 drafting the proposal as well. This will allow us to give some early feed
 back and time for you to adjust. Following resources might help you.

 [1] -
 http://cdwijayarathna.blogspot.com/2016/02/how-to-get-proposal-ready-for-gsoc.html.
 (Later part starting from "Now you need to start work, you may have "
 will guide you)
 [2] - Sample proposal - http://www.slideshare.net/Pushpalanka/gsoc-2012
 

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


 On Tue, Mar 22, 2016 at 8:57 PM, Manujith Pallewatte <
 manujith...@gmail.com> wrote:

> Hi Chamila,
>
> Thank a bunch, that cleared a lot of doubts i was having
> I would try with the patch9000 method so that i dont have to build the
> product-is every time
> And then try the other method as well
>
> Thankx again!
>
>
> On Tue, Mar 22, 2016 at 8:40 PM, Chamila Wijayarathna <
> cham...@wso2.com> wrote:
>
>> Hi Manujith,
>>
>> identity-framework [1] contains the code base of the features of
>> Identity Server, and product-is [2] contains the code which install
>> features at identity-framework to Identity Server. Component specific 
>> code
>> is available at identity-framework repo, because some of these features 
>> are
>> not only used in Identity Server, but in some other carbon based products
>> as well. So you need to work with the code at identity-framework mainly.
>>
>> But for building the Identity Server using source, first you need to
>> run identity-framework, then build identity-extensions [3] which get 
>> packed
>> into Identity server (You can find this list at [4], you can use scripts 
>> at
>> there to clone and build those extensions). Then build product-is. When 
>

Re: [Dev] [DAS]Abnormal behavior of data after purging a table

2016-03-22 Thread Nirmal Fernando
Hi, Anyone looking into this?

On Mon, Mar 21, 2016 at 11:23 AM, Nirmal Fernando  wrote:

> Hi All,
>
> Any thoughts on this? This seems to be a L1.
>
> On Fri, Mar 18, 2016 at 3:27 PM, Sachith Withana  wrote:
>
>> [+Gimantha]
>>
>> On Fri, Mar 18, 2016 at 3:26 PM, Sachith Withana 
>> wrote:
>>
>>> Hi all,
>>>
>>> We reproduced the issue, but if we take out the spark script step, it
>>> works fine.
>>> (by using the simulator to get the data in to the table).
>>>
>>> @Niranda:
>>> Any thoughts on why this might be happening?
>>>
>>> Thanks,
>>> Sachith
>>>
>>> On Fri, Mar 18, 2016 at 2:28 PM, Vithulan Vijayanandan <
>>> vithu...@wso2.com> wrote:
>>>
 Hi,

 We are encountering an abnormal behavior of data after purging DAS
 table using analytics backup tool kit [1], -purge command.

 To reproduce this issue,

1. Generate a table (x) from spark script using y table.
2. Purge all the data in x using analytics backup tool command
-purge.
3. Re-populate the table x as in 1.
4. Send events to stream y (Execution plan will refer to table x
when you send events to y)
5. Now if you see the table x, it will be empty.

 [1] https://docs.wso2.com/pages/viewpage.action?pageId=45957285

 Thanks.

 Regards,
 Vithulan.
 --
 *Vithulan MV*

 Intern-Software Engineering
 WSO2, Inc : wso2.com
 Mobile: +94712540524

>>>
>>>
>>>
>>> --
>>> 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
>>>
>>
>>
>>
>> --
>> 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
>>
>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Team Lead - WSO2 Machine Learner
> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


-- 

Thanks & regards,
Nirmal

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


Re: [Dev] [DAS] Is there a way to retrieve selected fields from a given table

2016-03-22 Thread Gihan Anuruddha
AFAIK, you can't do this when you use the REST API. But if you use the
admin service you should able to do this.

On Wed, Mar 23, 2016 at 10:39 AM, Geesara Prathap  wrote:

> Hi All,
>
> As an example, *ORG_WSO2_IOT_DEVICES_TEMPERATURE *table consists of five
> fields: META_OWNER, META_DEVICETYPE, META_DEVICEID, META_TIME, TEMPERATURE
> and _TIMESTAMP. But interested only less number of fields. When querying
> this
>
> *meta_owner:admin AND meta_deviceId:1iexrfgp2jwa8 AND
> meta_time:[1456467843079 TO 1456468494817]* which retrieved all fields it
> contains. So how to get selected some of the fields only which are required?
>
> Thanks,
> Geesara
> --
> Geesara Prathap Kulathunga
> Software Engineer
> WSO2 Inc; http://wso2.com
> Mobile : +940772684174
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
W.G. Gihan Anuruddha
Senior Software Engineer | WSO2, Inc.
M: +94772272595
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DAS] Is there a way to retrieve selected fields from a given table

2016-03-22 Thread Geesara Prathap
Thanks for the information. In admin service how to do $subject. Just to
know

On Wed, Mar 23, 2016 at 11:28 AM, Gihan Anuruddha  wrote:

> AFAIK, you can't do this when you use the REST API. But if you use the
> admin service you should able to do this.
>
> On Wed, Mar 23, 2016 at 10:39 AM, Geesara Prathap 
> wrote:
>
>> Hi All,
>>
>> As an example, *ORG_WSO2_IOT_DEVICES_TEMPERATURE *table consists of five
>> fields: META_OWNER, META_DEVICETYPE, META_DEVICEID, META_TIME, TEMPERATURE
>> and _TIMESTAMP. But interested only less number of fields. When querying
>> this
>>
>> *meta_owner:admin AND meta_deviceId:1iexrfgp2jwa8 AND
>> meta_time:[1456467843079 TO 1456468494817]* which retrieved all fields
>> it contains. So how to get selected some of the fields only which are
>> required?
>>
>> Thanks,
>> Geesara
>> --
>> Geesara Prathap Kulathunga
>> Software Engineer
>> WSO2 Inc; http://wso2.com
>> Mobile : +940772684174
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> W.G. Gihan Anuruddha
> Senior Software Engineer | WSO2, Inc.
> M: +94772272595
>



-- 
Geesara Prathap Kulathunga
Software Engineer
WSO2 Inc; http://wso2.com
Mobile : +940772684174
___
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-22 Thread Pushpalanka Jayawardhana
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 
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 a piece here. Please help me to
>> clarify this point
>>
>
Hi Manujith,

There are no cURL commands available as we do not have REST implementation
as of now.
In order to get familiar with the code base and development environment and
to try out the scenario you suggested follow the below steps.

1 - Try to write a Java client for EntitlementService (SOAP service) [1]

Please find the relevant service at [1]. This is the service that needs to
be cosumed in order to get the XACML policy decision from PDP for a given
XACML request.

Specific method to call is "public String getDecision(String request) throws
EntitlementException " giving the XACML request as a String. The relevant
stub classes can be found at [2] that can be used at client side. Try to
get client code written for this which can be placed in PEP when required.
You can further publish a blogpost with this client code which can
strengthen your proposal further.

2 - In production scenarioes usually ESB acts as the PEP creating the XACML
request and calling the PDP via code similar to client code you would
develop in the above point.

The article at [3], describes this use case, but it has older content. You
can try out same things with latest product versions. If you encounter any
issues get back to us. We will try to find a solution.


I think you would be in a good position to start with the proposal once the
first point is done as 2nd is a extended version of that.
Do get back with any problems you face. We will try our best to get back as
soon as possible.


[1] -
https://github.com/wso2/identity-framework/blob/master/components/entitlement/org.wso2.carbon.identity.entitlement/src/main/java/org/wso2/carbon/identity/entitlement/EntitlementService.java
[2] -
https://github.com/wso2/identity-framework/tree/master/service-stubs/identity/org.wso2.carbon.identity.entitlement.stub
[3] -
http://wso2.com/library/articles/2010/10/using-xacml-fine-grained-authorization-wso2-platform/
[4] -
http://wso2.com/library/tutorials/2012/12/providing-xacml-fine-grained-authorization-webapps/

Thanks,
Pushpalanka

>
>> Thank You
>>
>>
>> On Tue, Mar 22, 2016 at 10:47 PM, Manujith Pallewatte <
>> manujith...@gmail.com> wrote:
>>
>>> Hi Pushpalanka,
>>>
>>> Thank you for the resources, I will for sure start working on the
>>> proposal. I was trying to get the basic implementation details straight
>>> before jumping into the proposal
>>> so I could include a better plan in the proposal.  But it seems with the
>>> time constraints I would have to speed it up. Trying my best to deliver the
>>> proposal by
>>> tomorrow.
>>>
>>> Thank you
>>>
>>> On Tue, Mar 22, 2016 at 10:32 PM, Pushpalanka Jayawardhana <
>>> la...@wso2.com> wrote:
>>>
 Hi Manujith,

 If you haven't already try go through instructions provided at Dev list
 under the thread "GSoC project proposal questions" for this proposal
 as well.

 Hope you are getting up with the pace as the proposal deadline is
 falling on 25th March(this Friday). While you try get familiar with the
 development procedure and other resources, please try to go ahead with
 drafting the proposal as well. This will allow us to give some early feed
 back and time for you to adjust. Following resources might help you.

>>>

Re: [Dev] [DAS]Abnormal behavior of data after purging a table

2016-03-22 Thread Sachith Withana
Nirmal: I'm looking into this.

On Wed, Mar 23, 2016 at 11:20 AM, Nirmal Fernando  wrote:

> Hi, Anyone looking into this?
>
> On Mon, Mar 21, 2016 at 11:23 AM, Nirmal Fernando  wrote:
>
>> Hi All,
>>
>> Any thoughts on this? This seems to be a L1.
>>
>> On Fri, Mar 18, 2016 at 3:27 PM, Sachith Withana 
>> wrote:
>>
>>> [+Gimantha]
>>>
>>> On Fri, Mar 18, 2016 at 3:26 PM, Sachith Withana 
>>> wrote:
>>>
 Hi all,

 We reproduced the issue, but if we take out the spark script step, it
 works fine.
 (by using the simulator to get the data in to the table).

 @Niranda:
 Any thoughts on why this might be happening?

 Thanks,
 Sachith

 On Fri, Mar 18, 2016 at 2:28 PM, Vithulan Vijayanandan <
 vithu...@wso2.com> wrote:

> Hi,
>
> We are encountering an abnormal behavior of data after purging DAS
> table using analytics backup tool kit [1], -purge command.
>
> To reproduce this issue,
>
>1. Generate a table (x) from spark script using y table.
>2. Purge all the data in x using analytics backup tool command
>-purge.
>3. Re-populate the table x as in 1.
>4. Send events to stream y (Execution plan will refer to table x
>when you send events to y)
>5. Now if you see the table x, it will be empty.
>
> [1] https://docs.wso2.com/pages/viewpage.action?pageId=45957285
>
> Thanks.
>
> Regards,
> Vithulan.
> --
> *Vithulan MV*
>
> Intern-Software Engineering
> WSO2, Inc : wso2.com
> Mobile: +94712540524
>



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

>>>
>>>
>>>
>>> --
>>> 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
>>>
>>
>>
>>
>> --
>>
>> Thanks & regards,
>> Nirmal
>>
>> Team Lead - WSO2 Machine Learner
>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>> Mobile: +94715779733
>> Blog: http://nirmalfdo.blogspot.com/
>>
>>
>>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Team Lead - WSO2 Machine Learner
> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


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


[Dev] [GSOC] Web based BPMN editor to support a subset of commonly used BPMN constructs - Invitation to comment

2016-03-22 Thread Heshan Jayasinghe (via Google Docs)

I've shared an item with you:

[GSOC] Web based BPMN editor to support a subset of commonly used BPMN  
constructs

https://docs.google.com/document/d/12ZhKZGku0pqTjaPmm_h9oIocFF_KHs1eP_KHZwgxd1w/edit?usp=sharing&invite=CPXup-gK&ts=56f2341f

It's not an attachment -- it's stored online. To open this item, just click  
the link above.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Representing Arrays in JSON schema

2016-03-22 Thread Sohani Weerasinghe
Hi All,

As per the offline discussion we had, we have finalized the array
representation as below.

If we consider an xml which contains an array of Ids, the json schema
representation would be as follows


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



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



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

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

On Wed, Mar 23, 2016 at 10:00 AM, Susinda Perera  wrote:

> Hi Sohani
>
> I do not think this is a correct representation,
> *"items": [] , *this says id is an empty array, but it is not (in this
> example it has 2, and also it has some value inside id tag, which is string
> in this example. if we say its empty array we loose all these information.
> Therefore i believe it should be something like below.
>
> *"items": [{*
> * "id":
> "http://jsonschema.net/queryMoreResponse/result/sf:records/0/sf:Id/0
> ",*
> * "type": "string"*
> * }]*
>
>
>
> On Mon, Mar 21, 2016 at 9:18 PM, Sohani Weerasinghe 
> wrote:
>
>> Hi All,
>>
>> As per the offline discussion we had, please find the summary of
>> representing the arrays in JSON Schema.
>>
>> If we consider an xml which contains an array of Ids, (Id) which does not
>> contain any items inside it,
>>
>> eg:
>> 
>>
>>   false
>>   01gD001vELkIAM-400
>>   
>> * 001D00HS2PPIA1*
>> * 001D00HS2PPIA1*
>>   
>>427
>>  
>>
>>
>> Then, the expected json schema should be as follows
>>
>> "sf:records": {
>> "id": "http://jsonschema.net/queryMoreResponse/result/sf:records";,
>> "type": "array",
>> "items": [{
>> "id": "http://jsonschema.net/queryMoreResponse/result/sf:records/0";,
>> "type": "object",
>> "properties": {
>> "sf:Id": {
>> "id":"http://jsonschema.net/queryMoreResponse/result/sf:records/0/sf:Id";,
>> "type": "array",
>> *"items": []*
>> }
>> }
>> }]
>> }
>>
>> If we have elements inside, then we can add those as items accordingly.
>>
>> Please find the image which represents the array as shown below
>>
>>
>>
>> Thanks,
>> Sohani
>> ​
>> Sohani Weerasinghe
>> Software Engineer
>> WSO2, Inc: http://wso2.com
>>
>> Mobile  : +94 716439774
>> Blog :http://christinetechtips.blogspot.com/
>> Twitter  : https://twitter.com/sohanichristine
>>
>
>
>
> --
> *Susinda Perera*
> Software Engineer
> B.Sc.(Eng), M.Sc(Computer Science), AMIE(SL)
> Mobile:(+94)716049075
> Blog: susinda.blogspot.com
> WSO2 Inc. http://wso2.com/
> Tel : 94 11 214 5345 Fax :94 11 2145300
>
>
___
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-22 Thread Manujith Pallewatte
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

Thank You

On Wed, Mar 23, 2016 at 11:35 AM, Pushpalanka Jayawardhana 
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 a piece here. Please help me to
>>> clarify this point
>>>
>>
> Hi Manujith,
>
> There are no cURL commands available as we do not have REST implementation
> as of now.
> In order to get familiar with the code base and development environment
> and to try out the scenario you suggested follow the below steps.
>
> 1 - Try to write a Java client for EntitlementService (SOAP service) [1]
>
> Please find the relevant service at [1]. This is the service that needs to
> be cosumed in order to get the XACML policy decision from PDP for a given
> XACML request.
>
> Specific method to call is "public String getDecision(String request)
> throws EntitlementException " giving the XACML request as a String. The
> relevant stub classes can be found at [2] that can be used at client side.
> Try to get client code written for this which can be placed in PEP when
> required. You can further publish a blogpost with this client code which
> can strengthen your proposal further.
>
> 2 - In production scenarioes usually ESB acts as the PEP creating the
> XACML request and calling the PDP via code similar to client code you would
> develop in the above point.
>
> The article at [3], describes this use case, but it has older content. You
> can try out same things with latest product versions. If you encounter any
> issues get back to us. We will try to find a solution.
>
>
> I think you would be in a good position to start with the proposal once
> the first point is done as 2nd is a extended version of that.
> Do get back with any problems you face. We will try our best to get back
> as soon as possible.
>
>
> [1] -
> https://github.com/wso2/identity-framework/blob/master/components/entitlement/org.wso2.carbon.identity.entitlement/src/main/java/org/wso2/carbon/identity/entitlement/EntitlementService.java
> [2] -
> https://github.com/wso2/identity-framework/tree/master/service-stubs/identity/org.wso2.carbon.identity.entitlement.stub
> [3] -
> http://wso2.com/library/articles/2010/10/using-xacml-fine-grained-authorization-wso2-platform/
> [4] -
> http://wso2.com/library/tutorials/2012/12/providing-xacml-fine-grained-authorization-webapps/
>
> Thanks,
> Pushpalanka
>
>>
>>> Thank You
>>>
>>>
>>> On Tue, Mar 22, 2016 at 10:47 PM, Manujith Pallewatte <
>>> manujith...@gmail.com> wrote:
>>>
 Hi Pushpalanka,

 Thank you for the resources, I will for sure start working on the
 proposal. I was trying to get the basic implementation details straight
 before jumping into the proposal
 so I could include a better plan in the proposal.  But it seems with
 the time constraints I would have to speed it up. Trying my best to deliver
 the proposal by
 tomorrow.

 Thank you

>>>

Re: [Dev] Representing Arrays in JSON schema

2016-03-22 Thread Sohani Weerasinghe
Hi All,

As per the offline discussion we had, we have finalized the array
representation as below.

If we consider an xml which contains an array of Ids, the json schema
representation would be as follows


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



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


​

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

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

On Wed, Mar 23, 2016 at 11:56 AM, Sohani Weerasinghe 
wrote:

> Hi All,
>
> As per the offline discussion we had, we have finalized the array
> representation as below.
>
> If we consider an xml which contains an array of Ids, the json schema
> representation would be as follows
>
> 
>
>   false
>   01gD001vELkIAM-400
>   
> * 001D00HS2PPIA1*
> * 001D00HS2PPIA1*
>   
>427
>  
>
>
>
>
> "sf:records": {
> "id": "http://jsonschema.net/queryMoreResponse/result/sf:records";,
> "type": "array",
> "items": [{
> "id": "http://jsonschema.net/queryMoreResponse/result/sf:records/0";,
> "type": "object",
> "properties": {
> "sf:Id": {
> "id": "http://jsonschema.net/queryMoreResponse/result/sf:records/0/sf:Id";,
> "type": "array",
> "items": [{
> "id": "http://jsonschema.net/queryMoreResponse/result/sf:records/0/sf:Id/0
> ",
> "type": "string"
> }]
> },
> "sf:type": {
> "id": "http://jsonschema.net/queryMoreResponse/result/sf:records/0/sf:type
> ",
> "type": "string"
> },
> "sf:Name": {
> "id": "http://jsonschema.net/queryMoreResponse/result/sf:records/0/sf:Name
> ",
> "type": "string"
> },
> "@type": {
> "id": "http://jsonschema.net/queryMoreResponse/result/sf:records/0/@type";,
> "type": "string"
> }
> }
> }]
> }
>
>
>
> Sohani Weerasinghe
> Software Engineer
> WSO2, Inc: http://wso2.com
>
> Mobile  : +94 716439774
> Blog :http://christinetechtips.blogspot.com/
> Twitter  : https://twitter.com/sohanichristine
>
> On Wed, Mar 23, 2016 at 10:00 AM, Susinda Perera  wrote:
>
>> Hi Sohani
>>
>> I do not think this is a correct representation,
>> *"items": [] , *this says id is an empty array, but it is not (in this
>> example it has 2, and also it has some value inside id tag, which is string
>> in this example. if we say its empty array we loose all these information.
>> Therefore i believe it should be something like below.
>>
>> *"items": [{*
>> * "id":
>> "http://jsonschema.net/queryMoreResponse/result/sf:records/0/sf:Id/0
>> ",*
>> * "type": "string"*
>> * }]*
>>
>>
>>
>> On Mon, Mar 21, 2016 at 9:18 PM, Sohani Weerasinghe 
>> wrote:
>>
>>> Hi All,
>>>
>>> As per the offline discussion we had, please find the summary of
>>> representing the arrays in JSON Schema.
>>>
>>> If we consider an xml which contains an array of Ids, (Id) which does
>>> not contain any items inside it,
>>>
>>> eg:
>>> 
>>>
>>>   false
>>>   01gD001vELkIAM-400
>>>   
>>> * 001D00HS2PPIA1*
>>> * 001D00HS2PPIA1*
>>>   
>>>427
>>>  
>>>
>>>
>>> Then, the expected json schema should be as follows
>>>
>>> "sf:records": {
>>> "id": "http://jsonschema.net/queryMoreResponse/result/sf:records";,
>>> "type": "array",
>>> "items": [{
>>> "id": "http://jsonschema.net/queryMoreResponse/result/sf:records/0";,
>>> "type": "object",
>>> "properties": {
>>> "sf:Id": {
>>> "id":"http://jsonschema.net/queryMoreResponse/result/sf:records/0/sf:Id
>>> ",
>>> "type": "array",
>>> *"items": []*
>>> }
>>> }
>>> }]
>>> }
>>>
>>> If we have elements inside, then we can add those as items accordingly.
>>>
>>> Please find the image which represents the array as shown below
>>>
>>>
>>>
>>> Thanks,
>>> Sohani
>>> ​
>>> Sohani Weerasinghe
>>> Software Engineer
>>> WSO2, Inc: http://wso2.com
>>>
>>> Mobile  : +94 716439774
>>> Blog :http://christinetechtips.blogspot.com/
>>> Twitter  : https:

Re: [Dev] Representing Arrays in JSON schema

2016-03-22 Thread Susinda Perera
Shall we represent icons as follows
object {}
array []
Attribute A
Element <>


On Wed, Mar 23, 2016 at 11:58 AM, Sohani Weerasinghe 
wrote:

> Hi All,
>
> As per the offline discussion we had, we have finalized the array
> representation as below.
>
> If we consider an xml which contains an array of Ids, the json schema
> representation would be as follows
>
> 
>
>   false
>   01gD001vELkIAM-400
>   
> * 001D00HS2PPIA1*
> * 001D00HS2PPIA1*
>   
>427
>  
>
>
>
>
>   "sf:records": {
> "id": "http://jsonschema.net/queryMoreResponse/result/sf:records";,
> "type": "array",
> "items": [{
> "id": "http://jsonschema.net/queryMoreResponse/result/sf:records/0";,
> "type": "object",
> "properties": {
> "sf:Id": {
> "id": "http://jsonschema.net/queryMoreResponse/result/sf:records/0/sf:Id";,
> "type": "array",
> *"items": [{*
> * "id":
> "http://jsonschema.net/queryMoreResponse/result/sf:records/0/sf:Id/0
> ",*
> * "type": "string"*
> * }]*
> },
> "sf:type": {
> "id": "http://jsonschema.net/queryMoreResponse/result/sf:records/0/sf:type
> ",
> "type": "string"
> },
> "sf:Name": {
> "id": "http://jsonschema.net/queryMoreResponse/result/sf:records/0/sf:Name
> ",
> "type": "string"
> },
> "@type": {
> "id": "http://jsonschema.net/queryMoreResponse/result/sf:records/0/@type";,
> "type": "string"
> }
> }
> }]
> }
>
>
> ​
>
> Sohani Weerasinghe
> Software Engineer
> WSO2, Inc: http://wso2.com
>
> Mobile  : +94 716439774
> Blog :http://christinetechtips.blogspot.com/
> Twitter  : https://twitter.com/sohanichristine
>
> On Wed, Mar 23, 2016 at 11:56 AM, Sohani Weerasinghe 
> wrote:
>
>> Hi All,
>>
>> As per the offline discussion we had, we have finalized the array
>> representation as below.
>>
>> If we consider an xml which contains an array of Ids, the json schema
>> representation would be as follows
>>
>> 
>>
>>   false
>>   01gD001vELkIAM-400
>>   
>> * 001D00HS2PPIA1*
>> * 001D00HS2PPIA1*
>>   
>>427
>>  
>>
>>
>>
>>
>> "sf:records": {
>> "id": "http://jsonschema.net/queryMoreResponse/result/sf:records";,
>> "type": "array",
>> "items": [{
>> "id": "http://jsonschema.net/queryMoreResponse/result/sf:records/0";,
>> "type": "object",
>> "properties": {
>> "sf:Id": {
>> "id": "http://jsonschema.net/queryMoreResponse/result/sf:records/0/sf:Id
>> ",
>> "type": "array",
>> "items": [{
>> "id": "
>> http://jsonschema.net/queryMoreResponse/result/sf:records/0/sf:Id/0";,
>> "type": "string"
>> }]
>> },
>> "sf:type": {
>> "id": "
>> http://jsonschema.net/queryMoreResponse/result/sf:records/0/sf:type";,
>> "type": "string"
>> },
>> "sf:Name": {
>> "id": "
>> http://jsonschema.net/queryMoreResponse/result/sf:records/0/sf:Name";,
>> "type": "string"
>> },
>> "@type": {
>> "id": "http://jsonschema.net/queryMoreResponse/result/sf:records/0/@type
>> ",
>> "type": "string"
>> }
>> }
>> }]
>> }
>>
>>
>>
>> Sohani Weerasinghe
>> Software Engineer
>> WSO2, Inc: http://wso2.com
>>
>> Mobile  : +94 716439774
>> Blog :http://christinetechtips.blogspot.com/
>> Twitter  : https://twitter.com/sohanichristine
>>
>> On Wed, Mar 23, 2016 at 10:00 AM, Susinda Perera 
>> wrote:
>>
>>> Hi Sohani
>>>
>>> I do not think this is a correct representation,
>>> *"items": [] , *this says id is an empty array, but it is not (in this
>>> example it has 2, and also it has some value inside id tag, which is string
>>> in this example. if we say its empty array we loose all these information.
>>> Therefore i believe it should be something like below.
>>>
>>> *"items": [{*
>>> * "id":
>>> "http://jsonschema.net/queryMoreResponse/result/sf:records/0/sf:Id/0
>>> ",*
>>> * "type": "string"*
>>> * }]*
>>>
>>>
>>>
>>> On Mon, Mar 21, 2016 at 9:18 PM, Sohani Weerasinghe 
>>> wrote:
>>>
 Hi All,

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

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

 eg:
 

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


 Then, the expected json schema should be as follows

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

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

2016-03-22 Thread Manujith Pallewatte
Hi all,

Also since REST has no restriction on the media type it should use, is it
okay to have a JSON implementation as well? Should it be strictly XML?

On Wed, Mar 23, 2016 at 11:58 AM, Manujith Pallewatte  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
>
> Thank You
>
> On Wed, Mar 23, 2016 at 11:35 AM, Pushpalanka Jayawardhana  > 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 a piece here. Please help me to
 clarify this point

>>>
>> Hi Manujith,
>>
>> There are no cURL commands available as we do not have REST
>> implementation as of now.
>> In order to get familiar with the code base and development environment
>> and to try out the scenario you suggested follow the below steps.
>>
>> 1 - Try to write a Java client for EntitlementService (SOAP service) [1]
>>
>> Please find the relevant service at [1]. This is the service that needs
>> to be cosumed in order to get the XACML policy decision from PDP for a
>> given XACML request.
>>
>> Specific method to call is "public String getDecision(String request)
>> throws EntitlementException " giving the XACML request as a String. The
>> relevant stub classes can be found at [2] that can be used at client side.
>> Try to get client code written for this which can be placed in PEP when
>> required. You can further publish a blogpost with this client code which
>> can strengthen your proposal further.
>>
>> 2 - In production scenarioes usually ESB acts as the PEP creating the
>> XACML request and calling the PDP via code similar to client code you would
>> develop in the above point.
>>
>> The article at [3], describes this use case, but it has older content.
>> You can try out same things with latest product versions. If you encounter
>> any issues get back to us. We will try to find a solution.
>>
>>
>> I think you would be in a good position to start with the proposal once
>> the first point is done as 2nd is a extended version of that.
>> Do get back with any problems you face. We will try our best to get back
>> as soon as possible.
>>
>>
>> [1] -
>> https://github.com/wso2/identity-framework/blob/master/components/entitlement/org.wso2.carbon.identity.entitlement/src/main/java/org/wso2/carbon/identity/entitlement/EntitlementService.java
>> [2] -
>> https://github.com/wso2/identity-framework/tree/master/service-stubs/identity/org.wso2.carbon.identity.entitlement.stub
>> [3] -
>> http://wso2.com/library/articles/2010/10/using-xacml-fine-grained-authorization-wso2-platform/
>> [4] -
>> http://wso2.com/library/tutorials/2012/12/providing-xacml-fine-grained-authorization-webapps/
>>
>> Thanks,
>> Pushpalanka
>>
>>>
 Thank You


 On Tue, Mar 22, 2016 at 10:47 PM, Manujith Pallewatte <
 manujith...@gmail.com> wrote:

> Hi Pushpalanka,
>
> Thank you for the resources, I will for sure sta

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

2016-03-22 Thread Pushpalanka Jayawardhana
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 12:00 PM, Manujith Pallewatte  wrote:

> Hi all,
>
> Also since REST has no restriction on the media type it should use, is it
> okay to have a JSON implementation as well? Should it be strictly XML?
>
No restriction on it to be XML. Since this is REST implementation JSON is
favored.
Please refer [1] as well, which defines a standards representation of XACML
request and responses in JSON.

[1] -
http://docs.oasis-open.org/xacml/xacml-json-http/v1.0/xacml-json-http-v1.0.html


>
> 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
>>
>> 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 a piece here. Please help me to
> clarify this point
>

>>> Hi Manujith,
>>>
>>> There are no cURL commands available as we do not have REST
>>> implementation as of now.
>>> In order to get familiar with the code base and development environment
>>> and to try out the scenario you suggested follow the below steps.
>>>
>>> 1 - Try to write a Java client for EntitlementService (SOAP service) [1]
>>>
>>> Please find the relevant service at [1]. This is the service that needs
>>> to be cosumed in order to get the XACML policy decision from PDP for a
>>> given XACML request.
>>>
>>> Specific method to call is "public String getDecision(String request)
>>> throws EntitlementException " giving the XACML request as a String. The
>>> relevant stub classes can be found at [2] that can be used at client side.
>>> Try to get client code written for this which can be placed in PEP when
>>> required. You can further publish a blogpost with this client code which
>>> can strengthen your proposal further.
>>>
>>> 2 - In production scenarioes usually ESB acts as the PEP creating the
>>> XACML request and calling the PDP via code similar to client code you would
>>> develop in the above point.
>>>
>>> The article at [3], describes this use case, but it has older content.
>>> You can try out same things with latest product versions. If you encounter
>>> any issues get back to us. We will try to find a solution.
>>>
>>>
>>> I think you would be in a good position to start with the proposal once
>>> the first point is done as 2nd is a extended version of that.
>>> Do get back with any problems you face. We will try our best to get bac

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

2016-03-22 Thread Pushpalanka Jayawardhana
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  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  > 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 a piece here. Please help me to
 clarify this point

>>>
>> Hi Manujith,
>>
>> There are no cURL commands available as we do not have REST
>> implementation as of now.
>> In order to get familiar with the code base and development environment
>> and to try out the scenario you suggested follow the below steps.
>>
>> 1 - Try to write a Java client for EntitlementService (SOAP service) [1]
>>
>> Please find the relevant service at [1]. This is the service that needs
>> to be cosumed in order to get the XACML policy decision from PDP for a
>> given XACML request.
>>
>> Specific method to call is "public String getDecision(String request)
>> throws EntitlementException " giving the XACML request as a String. The
>> relevant stub classes can be found at [2] that can be used at client side.
>> Try to get client code written for this which can be placed in PEP when
>> required. You can further publish a blogpost with this client code which
>> can strengthen your proposal further.
>>
>> 2 - In production scenarioes usually ESB acts as the PEP creating the
>> XACML request and calling the PDP via code similar to client code you would
>> develop in the above point.
>>
>> The article at [3], describes this use case, but it has older content.
>> You can try out same things with latest product versions. If you encounter
>> any issues get back to us. We will try to find a solution.
>>
>>
>> I think you would be in a good position to start with the proposal once
>> the first point is done as 2nd is a extended version of that.
>> Do get back with any problems you face. We will try our best to get back
>> as soon as possible.
>>
>>
>> [1] -
>> https://github.com/wso2/identity-framework/blob/master/components/entitlement/org.wso2.carbon.identity.entitlement/src/main/java/org/wso2/carbon/identity/entitlement/EntitlementService.java
>> [2] -
>> https://github.com/wso2/identity-framework/tree/master/service-stubs/identity/org.wso2.carbon.identity.entitlement.stub
>> [3] -
>> http://wso2.com/library/articles/2010/10/using-xacml-fine-grained-authorization-wso2-platform/
>> [4] -
>> http://wso2.com/library/tutorials/2012/12/providing-xacml-fine-grained-authorization-webapps/
>>
>> Thanks,
>> Pushpala