Re: [Dev] WSO2 Committers += Yasassri Ratnayake

2017-07-02 Thread Maneesha Wijesekara
Congratulations Yasassri :)

On Mon, Jul 3, 2017 at 10:07 AM, Ushani Balasooriya  wrote:

> Hi All,
>
> It's my pleasure to announce Yasassri Ratnayake as a WSO2 Committer. He has
> given a great contribution to ESB, MB, App Manager and EI product releases.
> In recognition of his contribution, dedication, and commitment he has been
> voted as a WSO2 committer.
>
> Congratulations Yasassri and keep up the good work...!
>
> Thanks,
> --
> *Ushani Balasooriya*
> Associate Technical Lead - EE;
> WSO2 Inc; http://www.wso2.com/.
> Mobile; +94772636796
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Maneesha Wijesekara
Software Engineer
WSO2 Inc.

Email: manee...@wso2.com
Linkedin: http://linkedin.com/in/maneeshawijesekara
Mobile: +94712443119
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Committers += Yasassri Ratnayake

2017-07-02 Thread Ushani Balasooriya
Hi All,

It's my pleasure to announce Yasassri Ratnayake as a WSO2 Committer. He has
given a great contribution to ESB, MB, App Manager and EI product releases.
In recognition of his contribution, dedication, and commitment he has been
voted as a WSO2 committer.

Congratulations Yasassri and keep up the good work...!

Thanks,
-- 
*Ushani Balasooriya*
Associate Technical Lead - EE;
WSO2 Inc; http://www.wso2.com/.
Mobile; +94772636796
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Yasima Dewmini

2017-07-02 Thread Tharika Madurapperuma
Congratulations Yasima..!! Wish you all the best.

On Mon, Jul 3, 2017 at 8:52 AM, Naduni Pamudika  wrote:

> Congratulations Yasima !!!
>
> On Fri, Jun 30, 2017 at 9:22 PM, Chamalee De Silva 
> wrote:
>
>> Congratulations Yasima 
>>
>>
>>
>>
>> On Fri, Jun 30, 2017 at 3:03 PM, Harsha Kumara  wrote:
>>
>>> Congratulations!
>>>
>>> On Fri, Jun 30, 2017 at 1:41 PM, Tharindu Dharmarathna <
>>> tharin...@wso2.com> wrote:
>>>
 Congratulations Yasima!


 On Fri, Jun 30, 2017 at 1:31 PM, Roshan Wijesena 
 wrote:

> Congratulations Yasima!
>
> On Fri, Jun 30, 2017 at 1:20 PM, Sanjeewa Malalgoda  > wrote:
>
>> Hi All,
>> It's my pleasure to welcome  Yasima Dewmini  as a WSO2 Committer.
>>
>> Yasima  has been a valuable contributor to the WSO2 API Manager
>> team. In recognition of her contribution, dedication, and commitment she
>> has been voted as a WSO2 committer.
>>
>> Yasima, Congratulations and keep up the good work!
>>
>> Thank You,
>> sanjeewa.
>> --
>>
>> *Sanjeewa Malalgoda*
>> WSO2 Inc.
>> Mobile : +94713068779 <+94%2071%20306%208779>
>>
>> blog
>> :http://sanjeewamalalgoda.blogspot.com/
>> 
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Roshan Wijesena.
> Senior Software Engineer-WSO2 Inc.
> Mobile: *+94719154640 <+94%2071%20915%204640>*
> 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
>
>


 --

 *Tharindu Dharmarathna*Senior Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: *+94779109091 <+94%2077%20910%209091>*

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


>>>
>>>
>>> --
>>> Harsha Kumara
>>> Software Engineer, WSO2 Inc.
>>> Mobile: +94775505618 <+94%2077%20550%205618>
>>> Blog:harshcreationz.blogspot.com
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thanks & Regards,
>>
>> *Chamalee De Silva*
>> Software Engineer
>> *WS**O2* Inc. :http://wso2.com/
>>
>> Office   :- *+94 11 2145345 <%2B94%2011%202145345>*
>> mobile  :- *+94 7 <%2B94%2077%202782039>1 4315942*
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Naduni Pamudika*
> Software Engineer | WSO2
> Mobile: +94 719 143658 <+94%2071%20914%203658>
> [image: http://wso2.com/signature] 
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Tharika Madurapperuma*
Software Engineer | WSO2, Inc.

Email : thar...@wso2.com
Mobile : +94777875624
Web : http://wso2.com


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


Re: [Dev] WSO2 IoT Server 3.1.0-Alpha Released!

2017-07-02 Thread Rick Krueger
Thanks Madhawa.  Good stuff.

Rick Krueger
WSO2, Inc.
415.250.3038
www.linkedin.com/in/rickkrueger






On Sat, Jul 1, 2017 at 12:49 PM, Madhawa Perera  wrote:

> Hi Rick,
>
> Thanks for the comments. In IoTS 3.1.0 documentation (which is still work
> in progress), we have added a section named "About this Release". Next
> release note onwards we will add that link to the release note.
>
> Answering to your second question,
> In the above release note what we referred as 'speed' is the rate at which
> some device or something (a sensor) moves. Apart from that we do provide
> capabilities to analyse device performance also based on CPU utilization,
> memory consumption etc.
>
> Thank you
> Best Regards,
> Madhawa
>
> On Sat, Jun 24, 2017 at 9:35 PM, Rick Krueger  wrote:
>
>> Thanks Madhawa.
>>
>> A couple comments. Whenever a new version of a product is announced my
>> experience is that people tend to want to know what's new in the new
>> release.  Would it be possible to highlight these things?
>>
>> Also, I'm by no means an expert is our IoT Server, but when we say
>> "analyze... the speed of the devices" do we mean analyze the performance of
>> the devices and the networks they're running on?
>>
>> Regards,
>>
>>
>> Rick Krueger
>> WSO2, Inc.
>> 415.250.3038 <(415)%20250-3038>
>> www.linkedin.com/in/rickkrueger
>>
>>
>>
>>
>>
>>
>> On Fri, Jun 23, 2017 at 11:25 AM, Madhawa Perera 
>> wrote:
>>
>>> WSO2 IoT Server 3.1.0-Alpha
>>>
>>> We are pleased to announce WSO2 IoT Server 3.1.0-Alpha release. It can
>>> be downloaded from wso2iot-3.1.0-alpha.zip
>>> 
>>>
>>> WSO2 IoT Server is a complete solution that enables device manufacturers
>>> and enterprises to connect and manage their devices, build apps, manage
>>> events, secure devices and data, and visualize sensor data in a scalable
>>> manner.
>>>
>>> It also offers a complete and secure enterprise mobility management
>>> (EMM/MDM) solution that aims to address mobile computing challenges faced
>>> by enterprises today. Supporting iOS, Android, and Windows devices, it
>>> helps organizations deal with both corporate owned, personally enabled
>>> (COPE) and employee-owned devices with the bring your own device (BYOD)
>>> concept.
>>>
>>> WSO2 IoT Server comes with advanced analytics, enabling users to analyze
>>> speed, proximity and geo-fencing information of devices including details
>>> of those in motion and stationary state.
>>> Additional resources
>>>
>>> Documentations: WSO2 IoT Server Documentation
>>> 
>>> Engaging with CommunityMailing Lists
>>>
>>> Join our mailing list and correspond with the developers directly.
>>>
>>> Developer list: dev@wso2.org | Subscribe
>>>  | Mail Archive
>>> 
>>> Reporting Issues
>>>
>>> We encourage you to report issues, documentation faults and feature
>>> requests regarding WSO2 IoT Server through WSO2 IoT GIT Issues
>>> .
>>> Discussion Forums
>>>
>>> We encourage to use stackoverflow
>>> 
>>>  to
>>> engage with developers as well as other users.
>>>
>>> For more information about WSO2 IoT Server, please see
>>> http://wso2.com/products/iot-server or visit the WSO2 Oxygen Tank
>>>  developer portal for additional resources.
>>>
>>> Thank you for your interest in WSO2 IoT Server.
>>>
>>> *The WSO2 IoT Server Team*
>>>
>>> --
>>> Madhawa Perera
>>> *Software Engineer*
>>> Mobile : +94 (0) 773655496 <+94%2077%20365%205496>
>>> <%2B94%20%280%29%20773%20451194>
>>> madha...@wso2.com
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "WSO2 IoT Team Group" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to iot-group+unsubscr...@wso2.com.
>>> For more options, visit https://groups.google.com/a/wso2.com/d/optout.
>>>
>>
>>
>
>
> --
> Madhawa Perera
> *Software Engineer*
> Mobile : +94 (0) 773655496 <+94%2077%20365%205496>
> <%2B94%20%280%29%20773%20451194>
> madha...@wso2.com
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 IoT Server 3.1.0-Alpha Released!

2017-07-02 Thread Rick Krueger
Thanks Madhawa.

A couple comments. Whenever a new version of a product is announced my
experience is that people tend to want to know what's new in the new
release.  Would it be possible to highlight these things?

Also, I'm by no means an expert is our IoT Server, but when we say
"analyze... the speed of the devices" do we mean analyze the performance of
the devices and the networks they're running on?

Regards,


Rick Krueger
WSO2, Inc.
415.250.3038
www.linkedin.com/in/rickkrueger






On Fri, Jun 23, 2017 at 11:25 AM, Madhawa Perera  wrote:

> WSO2 IoT Server 3.1.0-Alpha
>
> We are pleased to announce WSO2 IoT Server 3.1.0-Alpha release. It can be
> downloaded from wso2iot-3.1.0-alpha.zip
> 
>
> WSO2 IoT Server is a complete solution that enables device manufacturers
> and enterprises to connect and manage their devices, build apps, manage
> events, secure devices and data, and visualize sensor data in a scalable
> manner.
>
> It also offers a complete and secure enterprise mobility management
> (EMM/MDM) solution that aims to address mobile computing challenges faced
> by enterprises today. Supporting iOS, Android, and Windows devices, it
> helps organizations deal with both corporate owned, personally enabled
> (COPE) and employee-owned devices with the bring your own device (BYOD)
> concept.
>
> WSO2 IoT Server comes with advanced analytics, enabling users to analyze
> speed, proximity and geo-fencing information of devices including details
> of those in motion and stationary state.
> Additional resources
>
> Documentations: WSO2 IoT Server Documentation
> 
> Engaging with CommunityMailing Lists
>
> Join our mailing list and correspond with the developers directly.
>
> Developer list: dev@wso2.org | Subscribe
>  | Mail Archive
> 
> Reporting Issues
>
> We encourage you to report issues, documentation faults and feature
> requests regarding WSO2 IoT Server through WSO2 IoT GIT Issues
> .
> Discussion Forums
>
> We encourage to use stackoverflow
> 
>  to
> engage with developers as well as other users.
>
> For more information about WSO2 IoT Server, please see
> http://wso2.com/products/iot-server or visit the WSO2 Oxygen Tank
>  developer portal for additional resources.
>
> Thank you for your interest in WSO2 IoT Server.
>
> *The WSO2 IoT Server Team*
>
> --
> Madhawa Perera
> *Software Engineer*
> Mobile : +94 (0) 773655496 <+94%2077%20365%205496>
> <%2B94%20%280%29%20773%20451194>
> madha...@wso2.com
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "WSO2 IoT Team Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to iot-group+unsubscr...@wso2.com.
> For more options, visit https://groups.google.com/a/wso2.com/d/optout.
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC][SCIM] SCIM 2.0 Test Dependencies

2017-07-02 Thread Ruwan Abeykoon
Hi All,
I would also think terminate the test is the correct move, when it is not
compliant

We could add more test cases if we need to test adjusting the schema. These
are different test than 100% compliancy test.

Apart from this, Each test case should be able to run irrespective of the
result of the other test. We need to adhere "Isolation" on test cases. [1]

[1] http://jasonpolites.github.io/tao-of-testing/ch4-1.1.html

Cheers,
Ruwan


On Sun, Jul 2, 2017 at 7:52 AM, Vindula Jayawardana <
vindula...@cse.mrt.ac.lk> wrote:

> Hi Johann,
>
>>
>>> In SCIM 2.0 compliance test suite, there are inter dependencies between
>>> tests. For an example,
>>>
>>> We have identified /Schemas endpoint as a critical test which tests the
>>> schemas corresponding to user and group resources according to SCIM
>>> specification. However in a case where a SCIM service provider has
>>> customized the schemas according to their own requirements, this test will
>>> be failed. As the test suite uses the /Schemas endpoint to learn about the
>>> service providers schema definitions (consider the case where there is a
>>> user schema extension defined by the service provider), if the /Schemas
>>> endpoint fails, the test suite will be terminated immediately as the test
>>> suite cannot learn the configurations. However we can also make it not to
>>> terminate but to get adjusted to the service provider's configs after just
>>> failing the /Schemas endpoint test only. With that, the service provider
>>> will be able to run the remaining tests on the altered schemas without
>>> being blocked due to test dependency. But it should also be noted that,
>>> this approach can cause the test suite to not to adhere to the
>>> specification, but to adjust itself dynamically after a proper indication
>>> of the reason for the adjustment.
>>>
>>> Hence, as identified in the above example, there are two possible
>>> options in a test dependency situation.
>>>
>>> 1. Terminate
>>> 2. Adjust accordingly and continue the suite but fails only the parent
>>> test.
>>>
>>> What is the best way of handling this?. Any thoughts on this is highly
>>> appreciated.
>>>
>>
>> I would say just terminate. Why would you need to customize the core user
>> schema when there is the possibility of defining an extended user schema.
>> No one asked you to stick to any of the attributes coming from the core
>> schema right?
>>
>
> Yes, you have a good point on this. Assuming user schema can be done in
> the way you have specified,  still there can be a problem when it comes to
> group schema since it does not have an extension defined. However due to
> the less number of attributes associated with the group schema and their
> nature of it, I would say, it is very likely that service providers will
> not be altering the group schema most of the cases. Hence putting an effort
> on the second option could be redundant. So I agree with the termination
> based on your reasoning.
>
>>
>>
>>>
>>> Thank you
>>> *Vindula Jayawardana*
>>> Computer Science and Engineering Dept.
>>> University of Moratuwa
>>> mobile : +713462554
>>> Email : vindul...@gmail.com
>>>
>>> 
>>> 
>>> 
>>> 
>>>
>>> *“Respect is how to treat everyone, not just those you want to impress.
>>> "*
>>>
>>>
>>> *-Richard Branson-*
>>>
>>>
>>>
>>
>>
>> --
>> Thanks & Regards,
>>
>> *Johann Dilantha Nallathamby*
>> Senior Technical Lead - WSO2 Identity Server
>> Governance Technologies Team
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - *+9476950*
>> Blog - *http://nallaa.wordpress.com *
>>
>
>


-- 

*Ruwan Abeykoon*
*Associate Director/Architect**,*
*WSO2, Inc. http://wso2.com  *
*lean.enterprise.middleware.*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Yasima Dewmini

2017-07-02 Thread Naduni Pamudika
Congratulations Yasima !!!

On Fri, Jun 30, 2017 at 9:22 PM, Chamalee De Silva 
wrote:

> Congratulations Yasima 
>
>
>
>
> On Fri, Jun 30, 2017 at 3:03 PM, Harsha Kumara  wrote:
>
>> Congratulations!
>>
>> On Fri, Jun 30, 2017 at 1:41 PM, Tharindu Dharmarathna <
>> tharin...@wso2.com> wrote:
>>
>>> Congratulations Yasima!
>>>
>>>
>>> On Fri, Jun 30, 2017 at 1:31 PM, Roshan Wijesena 
>>> wrote:
>>>
 Congratulations Yasima!

 On Fri, Jun 30, 2017 at 1:20 PM, Sanjeewa Malalgoda 
 wrote:

> Hi All,
> It's my pleasure to welcome  Yasima Dewmini  as a WSO2 Committer.
>
> Yasima  has been a valuable contributor to the WSO2 API Manager team.
> In recognition of her contribution, dedication, and commitment she has 
> been
> voted as a WSO2 committer.
>
> Yasima, Congratulations and keep up the good work!
>
> Thank You,
> sanjeewa.
> --
>
> *Sanjeewa Malalgoda*
> WSO2 Inc.
> Mobile : +94713068779 <+94%2071%20306%208779>
>
> blog
> :http://sanjeewamalalgoda.blogspot.com/
> 
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 Roshan Wijesena.
 Senior Software Engineer-WSO2 Inc.
 Mobile: *+94719154640 <+94%2071%20915%204640>*
 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


>>>
>>>
>>> --
>>>
>>> *Tharindu Dharmarathna*Senior Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: *+94779109091 <+94%2077%20910%209091>*
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Harsha Kumara
>> Software Engineer, WSO2 Inc.
>> Mobile: +94775505618 <+94%2077%20550%205618>
>> Blog:harshcreationz.blogspot.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thanks & Regards,
>
> *Chamalee De Silva*
> Software Engineer
> *WS**O2* Inc. :http://wso2.com/
>
> Office   :- *+94 11 2145345 <%2B94%2011%202145345>*
> mobile  :- *+94 7 <%2B94%2077%202782039>1 4315942*
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Naduni Pamudika*
Software Engineer | WSO2
Mobile: +94 719 143658 <+94%2071%20914%203658>
[image: http://wso2.com/signature] 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] net.sf.saxon.om.NamePool$NamePoolLimitException: NamePool limit exceeded:

2017-07-02 Thread Júnior
Hi Himasha,

I will try to grab the logs, but as I could see from the JIRA there is no
fix for that?

Is there any suggestion for this?

Thanks,

2017-07-01 22:53 GMT-03:00 Himasha Guruge :

> Hi Francisco,
>
> Could you provide the complete error log? Looks like the issue is as
> reported in [1].
>
>
> [1] https://wso2.org/jira/browse/ESBJAVA-3363
>
> Thanks,
> Himasha
>
> On Sat, Jul 1, 2017 at 5:18 AM, Júnior  wrote:
>
>> Hello,
>>
>> I am facing this exception when doing XQuery or XSLT transformation:
>>
>>
>> net.sf.saxon.om.NamePool$NamePoolLimitException: NamePool limit
>> exceeded:
>>
>>
>>
>> Does anyone knows a workaround for this?
>>
>> Thanks,
>> --
>> Francisco Ribeiro
>> *SCEA|SCJP|SCWCD|IBM Certified SOA Associate*
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Himasha Guruge
> *Software Engineer*
> WS*O2* *Inc.*
> Mobile: +94 777459299 <+94%2077%20745%209299>
> himas...@wso2.com
>



-- 
Francisco Ribeiro
*SCEA|SCJP|SCWCD|IBM Certified SOA Associate*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC][Siddhi][CEP]: Siddhi Pattern for Absence of Events

2017-07-02 Thread Gobinath
Thanks, Suho.

Sure I will.


Thanks & Regards,
Gobinath

On Sun, Jul 2, 2017 at 6:32 AM, Sriskandarajah Suhothayan 
wrote:

> Thanks merged the PR.
>
> Can you inform in SOF that you have fixed this issue, and this is the PR.
>
> Thanks
> Suho
>
> On Sun, Jul 2, 2017 at 6:21 AM, Gobinath  wrote:
>
>> Hi,
>>
>> Please find the PR [1] fixing the following issues in Siddhi.
>>
>> 1. Logical pattern not obeying the '*within*' keyword
>>
>> 2. Sequence not obeying the '*every*' keyword
>>
>> 3. Logical pattern '*from* *A or B select...*' not producing the output
>>
>> With this fix, the problems asked in Stack Overflow [2] are resolved.
>>
>>
>> [1] https://github.com/wso2/siddhi/pull/436
>>
>> [2] https://stackoverflow.com/questions/41557227/siddhi-logi
>> cal-and-with-within-executes-callback-unexpectedly
>>
>>
>> Thanks & Regards,
>> Gobinath
>>
>>
>> On Sat, May 13, 2017 at 8:02 AM, Gobinath  wrote:
>>
>>> Hi,
>>>
>>> I've fixed the duplicate output with 'OR' in the PR #354 [1]. According
>>> to this fix, the *addState* method of *LogicalPreStateProcessor* treats
>>> both PATTERN and SEQUENCE in the same way [2]. It does not break any
>>> existing tests but please check whether it makes sense or not.
>>>
>>>
>>> [1] https://github.com/wso2/siddhi/pull/354
>>>
>>> [2] https://github.com/wso2/siddhi/pull/354/commits/803e4d0f
>>> 486d7268af117bcfe42f4c704f98b3b5#diff-32293ae88907e099f28593
>>> e5496e1e67R62
>>>
>>>
>>> Thanks & Regards,
>>> Gobinath
>>>
>>> On Mon, May 8, 2017 at 1:24 AM, Sriskandarajah Suhothayan >> > wrote:
>>>
 I have merged that. +1 this also should give 1 output.

 Thanks for the fixes.

 Regards
 Suho

 On Mon, May 8, 2017 at 10:18 AM, Nirmal Fernando 
 wrote:

> Again, I'd only expect one o/p;
> Event{timestamp=1494203709496, data=[WSO2, null, 4.7], isExpired=false}
>
> On Mon, May 8, 2017 at 6:25 AM, Gobinath  wrote:
>
>> Hi,
>>
>> I've found a minor bug and sent the PR [1] with the fix. Similar
>> behavior is noticed with *or* operator as well (Even after the fix).
>> I have given the code and the output below for your concern.
>>
>> // Query: e1 or e2 -> e3
>>
>> define stream Stream1 (symbol string, price float, volume int);
>> define stream Stream2 (symbol string, price float, volume int);
>>
>> @info(name = 'query1')
>> from e1=Stream1[price > 20] or e2=Stream2[price >30] ->
>> e3=Stream2['IBM' == symbol]
>> select e1.symbol as symbol1, e2.price as price2, e3.price as price3
>> insert into OutputStream;
>>
>> // Input
>> Stream1.send(new Object[]{"WSO2", 55.6f, 100});
>> Stream2.send(new Object[]{"GOOG", 72.7f, 100});
>> Stream2.send(new Object[]{"IBM", 4.7f, 100});
>>
>> // Output
>> Event{timestamp=1494203709496, data=[WSO2, null, 4.7],
>> isExpired=false}
>> Event{timestamp=1494203709496, data=[WSO2, null, 4.7],
>> isExpired=false}
>>
>> If it is also a bug, please do let me know without merging the PR. I
>> will fix it under the same PR.
>>
>> [1] https://github.com/wso2/siddhi/pull/345
>>
>>
>> Thanks & Regards,
>> Gobinath
>>
>> On Sun, May 7, 2017 at 2:06 PM, Gobinath 
>> wrote:
>>
>>> Sure. I'll check the issue and send a separate PR with the fix.
>>>
>>>
>>> Thanks & Regards,
>>> Gobinath
>>>
>>> On Sun, May 7, 2017 at 1:51 PM, Sriskandarajah Suhothayan <
>>> s...@wso2.com> wrote:
>>>
 Yes, it looks like a bug to me, can you check why it's happening.

 Regards
 Suho

 On Sun, May 7, 2017 at 8:56 PM, Nirmal Fernando 
 wrote:

> Looks like a bug to me. I would expect only 1 event.
>
> On Sun, May 7, 2017 at 8:49 PM, Gobinath 
> wrote:
>
>> Hi,
>>
>> Thanks for accepting my proposal. I have a question regarding the
>> behavior of *and* in a pattern.
>>
>> // Query: e1 and e2 -> e3
>>
>> define stream Stream1 (symbol string, price float, volume int);
>> define stream Stream2 (symbol string, price float, volume int);
>>
>> @info(name = 'query1')
>> from e1=Stream1[price > 50.0f] and e2=Stream2['IBM' == symbol] ->
>> e3=Stream2[price > 20]
>> select e1.symbol as symbol1, e2.price as price2, e3.price as
>> price3
>> insert into OutputStream;
>>
>> // Input
>> Stream1.send(new Object[]{"GOOGLE", 72.7f, 100});
>> Stream2.send(new Object[]{"IBM", 4.7f, 100});
>> Stream2.send(new Object[]{"WSO2", 55.6f, 100});
>>
>>
>> // Output
>> 

Re: [Dev] [GSoC][Siddhi][CEP]: Siddhi Pattern for Absence of Events

2017-07-02 Thread Sriskandarajah Suhothayan
Thanks merged the PR.

Can you inform in SOF that you have fixed this issue, and this is the PR.

Thanks
Suho

On Sun, Jul 2, 2017 at 6:21 AM, Gobinath  wrote:

> Hi,
>
> Please find the PR [1] fixing the following issues in Siddhi.
>
> 1. Logical pattern not obeying the '*within*' keyword
>
> 2. Sequence not obeying the '*every*' keyword
>
> 3. Logical pattern '*from* *A or B select...*' not producing the output
>
> With this fix, the problems asked in Stack Overflow [2] are resolved.
>
>
> [1] https://github.com/wso2/siddhi/pull/436
>
> [2] https://stackoverflow.com/questions/41557227/siddhi-
> logical-and-with-within-executes-callback-unexpectedly
>
>
> Thanks & Regards,
> Gobinath
>
>
> On Sat, May 13, 2017 at 8:02 AM, Gobinath  wrote:
>
>> Hi,
>>
>> I've fixed the duplicate output with 'OR' in the PR #354 [1]. According
>> to this fix, the *addState* method of *LogicalPreStateProcessor* treats
>> both PATTERN and SEQUENCE in the same way [2]. It does not break any
>> existing tests but please check whether it makes sense or not.
>>
>>
>> [1] https://github.com/wso2/siddhi/pull/354
>>
>> [2] https://github.com/wso2/siddhi/pull/354/commits/803e4d0f
>> 486d7268af117bcfe42f4c704f98b3b5#diff-32293ae88907e099f28593e5496e1e67R62
>>
>>
>> Thanks & Regards,
>> Gobinath
>>
>> On Mon, May 8, 2017 at 1:24 AM, Sriskandarajah Suhothayan 
>> wrote:
>>
>>> I have merged that. +1 this also should give 1 output.
>>>
>>> Thanks for the fixes.
>>>
>>> Regards
>>> Suho
>>>
>>> On Mon, May 8, 2017 at 10:18 AM, Nirmal Fernando 
>>> wrote:
>>>
 Again, I'd only expect one o/p;
 Event{timestamp=1494203709496, data=[WSO2, null, 4.7], isExpired=false}

 On Mon, May 8, 2017 at 6:25 AM, Gobinath  wrote:

> Hi,
>
> I've found a minor bug and sent the PR [1] with the fix. Similar
> behavior is noticed with *or* operator as well (Even after the fix).
> I have given the code and the output below for your concern.
>
> // Query: e1 or e2 -> e3
>
> define stream Stream1 (symbol string, price float, volume int);
> define stream Stream2 (symbol string, price float, volume int);
>
> @info(name = 'query1')
> from e1=Stream1[price > 20] or e2=Stream2[price >30] ->
> e3=Stream2['IBM' == symbol]
> select e1.symbol as symbol1, e2.price as price2, e3.price as price3
> insert into OutputStream;
>
> // Input
> Stream1.send(new Object[]{"WSO2", 55.6f, 100});
> Stream2.send(new Object[]{"GOOG", 72.7f, 100});
> Stream2.send(new Object[]{"IBM", 4.7f, 100});
>
> // Output
> Event{timestamp=1494203709496, data=[WSO2, null, 4.7], isExpired=false}
> Event{timestamp=1494203709496, data=[WSO2, null, 4.7], isExpired=false}
>
> If it is also a bug, please do let me know without merging the PR. I
> will fix it under the same PR.
>
> [1] https://github.com/wso2/siddhi/pull/345
>
>
> Thanks & Regards,
> Gobinath
>
> On Sun, May 7, 2017 at 2:06 PM, Gobinath  wrote:
>
>> Sure. I'll check the issue and send a separate PR with the fix.
>>
>>
>> Thanks & Regards,
>> Gobinath
>>
>> On Sun, May 7, 2017 at 1:51 PM, Sriskandarajah Suhothayan <
>> s...@wso2.com> wrote:
>>
>>> Yes, it looks like a bug to me, can you check why it's happening.
>>>
>>> Regards
>>> Suho
>>>
>>> On Sun, May 7, 2017 at 8:56 PM, Nirmal Fernando 
>>> wrote:
>>>
 Looks like a bug to me. I would expect only 1 event.

 On Sun, May 7, 2017 at 8:49 PM, Gobinath 
 wrote:

> Hi,
>
> Thanks for accepting my proposal. I have a question regarding the
> behavior of *and* in a pattern.
>
> // Query: e1 and e2 -> e3
>
> define stream Stream1 (symbol string, price float, volume int);
> define stream Stream2 (symbol string, price float, volume int);
>
> @info(name = 'query1')
> from e1=Stream1[price > 50.0f] and e2=Stream2['IBM' == symbol] ->
> e3=Stream2[price > 20]
> select e1.symbol as symbol1, e2.price as price2, e3.price as price3
> insert into OutputStream;
>
> // Input
> Stream1.send(new Object[]{"GOOGLE", 72.7f, 100});
> Stream2.send(new Object[]{"IBM", 4.7f, 100});
> Stream2.send(new Object[]{"WSO2", 55.6f, 100});
>
>
> // Output
> Event{timestamp=1494169305631, data=[GOOGLE, 4.7, 55.6],
> isExpired=false}
> Event{timestamp=1494169305631, data=[GOOGLE, 4.7, 55.6],
> isExpired=false}
>
> Is this the expected output?. Note that the output contains two
> exactly similar events but the pattern *e1 -> e2 and e3* outputs
> a single event 

Re: [Dev] Invoking Human Task in BPEL

2017-07-02 Thread Heshitha Hettihewa
Hi Lipsa,

AFAIK there is no straight forward documentation for that. The humantask
artifacts created using WSO2 developer studio contains wsdls for task
service and the callback service. You may add these two services as partner
links and invoke them. In WSO2 developer studio BPEL editor use a Remote
Task and add them as partner links(You can add the above services as
partner links using their wsdls). To do that add a Remote task(Inside
BPEL4People category) to BPEL sequence. Then configure it by adding input
output variables and partner links through the properties. This article[1]
gives an idea about adding partner links through WSO2 developer studio.

With remote tasks you can invoke the human task service and receive the
output through task callback service.You can refer this[2] blog post to get
an idea about using remote tasks.

[1]. http://wso2.com/library/articles/2012/09/develop-wsbpel-
apache-ode-wso2-developer-studio/
[2]. http://himashag.blogspot.com/2016/08/why-are-human-tasks-imp
ortant-for-your.html

Thanks.

On Fri, Jun 30, 2017 at 12:44 PM, Lipsa Pradhan <
lipsa.prad...@adnatesolutions.com> wrote:

> Thanks for the docs... But is there any document either for the process of
> triggering a Human Task from a BPEL or for adding a RemoteTask in a BPEL.
>
> On Fri, Jun 30, 2017 at 11:56 AM, Heshitha Hettihewa 
> wrote:
>
>> Hi Lipsa,
>>
>> For this you should install BPS Tooling pack as described in this doc[1].
>> There is a human task editor which can be used to create a human task
>> easily. You can find a step by step guide in here[2]. More over you can use
>> the BPEL editor to create a BPEL and you can find a guide to create a BPEL
>> using developer studio here[3]. With these you can create your own BPEL and
>> human task artifacts.
>>
>> [1]. https://docs.wso2.com/display/BPS360/Installing+the+BPS+Tool
>> ing+Plug-In
>> [2]. https://docs.wso2.com/display/BPS360/Writing+a+Human+Task+Ar
>> tifact+using+the+Editor
>> [3]. https://docs.wso2.com/display/BPS360/Creating+a+BPEL+Process
>>
>> Thanks.
>>
>> On Fri, Jun 30, 2017 at 11:23 AM, Lipsa Pradhan <
>> lipsa.prad...@adnatesolutions.com> wrote:
>>
>>> Hi everyone
>>>
>>> I want to know the procedure of creating a human task in a BPEL, which
>>> is being created in developer studio. Actually, in the
>>> avalable documentations, there is a single example of ClaimApprovalTask
>>> everywhere. That too, not from scratch, we are supposed to deploy the files
>>> from samples folder directly.
>>>
>>> So, can anyone provide me documentation for the BPEL Creation with
>>> Humantask in developer studio?
>>>
>>> Thanks in advance!
>>>
>>> Warm Regards
>>> Lipsa Pradhan
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Heshitha Hettihewa
>> *Software Engineer*
>> Mobile : +94716866386
>> <%2B94%20%280%29%20773%20451194>
>> heshit...@wso2.com
>>
>
>


-- 
Heshitha Hettihewa
*Software Engineer*
Mobile : +94716866386
<%2B94%20%280%29%20773%20451194>
heshit...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev