[Dev] [CEP][stratos] Stratos single jvm cep aggregate functions issue

2014-08-17 Thread Asiri Liyana Arachchi
Hi all,

I'm using this [1] execution plan inside stratos single jvm installation.

select cluster_id,network_partition_id,avg(active_instances_count) as
instances_count, avg(in_flight_request_count) as count ,
*sum(served_request_count)
as served_count*
 insert into average_in_flight_requests 

*sum*  doesn't  give expected output. I've checked the same query with a
standalone cep 3.1.0 and it gave desired results.
for an example : served_request_count =10 sent for four times to CEP within
a minute then the out put(served_count) is 80 (most of the time) or 60
where it should be 40.

I'm using stratos pack  4.0.0-rc4 (release )

Can't figure out why this is happening. Any ideas?

Thanks in advance.

Regards,
Asiri



[1] : from avg_rif_stat
select cluster_id, network_partition_id,active_instances_count,
in_flight_request_count,served_request_count,
 stratos:concat(cluster_id, '-' , network_partition_id) as
avg_rif_cluster_network
insert into avg_rif_concat;
 define partition avg_rif_cluster_partition by
 avg_rif_concat.avg_rif_cluster_network;
from avg_rif_concat#window.timeBatch(1 min)
 select cluster_id,network_partition_id,avg(active_instances_count) as
instances_count, avg(in_flight_request_count) as count ,
sum(served_request_count) as served_count
 insert into average_in_flight_requests
partition by avg_rif_cluster_partition;
 from average_in_flight_requests
 select cluster_id, network_partition_id,instances_count, served_count,
 stratos:divider(served_count , instances_count) as
requests_per_instance
 insert into served_requests_per_instance;
from served_requests_per_instance#window.timeBatch(10 min)
select cluster_id,network_partition_id, avg(requests_per_instance) as
average_served_count
 insert into average_served_request_count;
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review and merge orbit #10

2014-08-17 Thread Maheshika Goonetilleke
Hi Johann

Done, please check.


On Sun, Aug 17, 2014 at 8:55 AM, Johann Nallathamby joh...@wso2.com wrote:

 Reviewed and merged.

 @Maheshika: please try deploying now.

 Thanks,
 Johann.


 On Sun, Aug 17, 2014 at 8:22 AM, Pulasthi Mahawithana pulast...@wso2.com
 wrote:

 Hi,

 I created a pull request[1] adding distributionManagement. Please
 review and merge.

 [1] https://github.com/wso2/orbit/pull/18


 On Fri, Aug 15, 2014 at 5:28 PM, Maheshika Goonetilleke 
 mahesh...@wso2.com wrote:

 Hi Johann

 Deployment failure due the following error;

 [INFO]
 

 [INFO] BUILD FAILURE

 [INFO]
 

 [INFO] Total time: 8.126s

 [INFO] Finished at: Fri Aug 15 11:55:59 UTC 2014

 [INFO] Final Memory: 9M/224M

 [INFO]
 

 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-deploy-plugin:2.8.1:deploy (default-deploy)
 on project bcprov-jdk15: Deployment failed: repository element was not
 specified in the POM inside distributionManagement element or in
 -DaltDeploymentRepository=id::layout::url parameter - [Help 1]

 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
 execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.1:deploy
 (default-deploy) on project bcprov-jdk15: Deployment failed: repository
 element was not specified in the POM inside distributionManagement element
 or in -DaltDeploymentRepository=id::layout::url parameter

 at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)

 at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

 at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

 at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)

 at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)

 at
 org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)

 at
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)

 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)

 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)

 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)

 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)

 at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)

 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

 at java.lang.reflect.Method.invoke(Method.java:606)

 at
 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)

 at
 org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)

 at
 org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)

 at
 org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)

 Caused by: org.apache.maven.plugin.MojoExecutionException: Deployment
 failed: repository element was not specified in the POM inside
 distributionManagement element or in
 -DaltDeploymentRepository=id::layout::url parameter

 at
 org.apache.maven.plugin.deploy.DeployMojo.getDeploymentRepository(DeployMojo.java:339)

 at
 org.apache.maven.plugin.deploy.DeployMojo.deployProject(DeployMojo.java:204)

 at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:169)

 at
 org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)

 at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)

 ... 19 more

 [ERROR]
 [ERROR]


 On Fri, Aug 15, 2014 at 3:08 PM, Johann Nallathamby joh...@wso2.com
 wrote:

 Hi Maheshika,

 I have merged the pull request. Can you please deploy it to nexus?

 Thanks,
 Johann.


 On Tue, Jul 22, 2014 at 6:29 PM, Pulasthi Mahawithana 
 pulast...@wso2.com wrote:

 Hi,

 Please merge pull request [1]. Refer the discussion at [2] for the
 details.

 [1] https://github.com/wso2/orbit/pull/10
 [2] [Dev] JAX-RS servlet instantiation fails due to
 NoClassDefFoundError

 --
 *Pulasthi Mahawithana*
 Software Engineer
 WSO2 Inc., http://wso2.com/
 Mobile: +94-71-5179022
 Blog: http://blog.pulasthi.org




 --
 Thanks  Regards,

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

 Mobile - *+9476950*
 Blog - *http://nallaa.wordpress.com http://nallaa.wordpress.com*




 --

 Thanks  Best Regards,

 Maheshika Goonetilleke
 Engineering Process Coordinator

 *WSO2 Inc*
 *email   : mahesh...@wso2.com mahesh...@wso2.com *
 *mobile : +94 773 

Re: [Dev] GSoC 2014 : Implement Registry Extension (RXT) 2.0 + Associated UI support

2014-08-17 Thread Iresha Udayangani
Hi all,

I wrote couple of blog posts covering the project.

http://ireshapm.blogspot.com/2014/08/implement-registry-extension-rxt-20.html

http://ireshapm.blogspot.com/2014/08/use-jaggery-ws-request-to-call-product_77.html

I appreciate any suggestions regarding the work done.

Thanks.




On Tue, Aug 12, 2014 at 6:47 PM, Iresha Udayangani iresh...@gmail.com
wrote:

 Hi Shelan,

 Yes, there are few changes in the server side as well. I have committed
 the changes to
 https://github.com/ireshapm0/carbon-governance/commits/dev-rxt-json

 I have added a new Admin Service method (addJSONRXTResource) to
 ManageGenericArtifactService. So you will have to build and replace the jar
 of org.wso2.carbon.governance.generic component, before using the JApp.

 @Subash: Actually I was talking about the Edit RXT UI, not the Add
 Metadata UI(in ES).

 Thanks.


 On Mon, Aug 11, 2014 at 10:10 PM, Shelan Perera she...@wso2.com wrote:

 Hi Iresha,

 Is there anything to be done at the server side or can we just save the
 artifact in the UI? I got your new changes and deployed the app. But when i
 try to save the
 artifact i got the following error. Any idea on this ?. Have you
 committed all your changes to the Git?


 [2014-08-11 21:58:54,677]  INFO
 {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -
  'admin@carbon.super [-1234]' logged in at [2014-08-11 21:58:54,677+0530]
 [2014-08-11 22:01:01,385]  INFO
 {org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} -  Deployed
 webapp:
 StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ArtifactBuilder-1].File[/home/shelan/wso2/gsoc-mentoring/wso2greg-4.6.0/repository/deployment/server/jaggeryapps/ArtifactBuilder-1]
 [2014-08-11 22:02:36,008] ERROR
 {org.jaggeryjs.hostobjects.ws.WSRequestHostObject} -  Error occured while
 invoking the service
 org.apache.axis2.AxisFault: The endpoint reference (EPR) for the
 Operation not found is
 https://localhost:9443/services/ManageGenericArtifactService and the WSA
 Action = urn:addJSONRXTResource. If this EPR was previously reachable,
 please contact the server administrator.
  at
 org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
 at
 org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:367)
  at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:413)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:224)
  at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
 at
 org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:554)
  at
 org.jaggeryjs.hostobjects.ws.WSRequestHostObject.jsFunction_send(WSRequestHostObject.java:362)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
 at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
  at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:386)
 at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
  at
 org.jaggeryjs.rhino.ArtifactBuilder__1.c1._c_script_0(/ArtifactBuilder-1//ws-rxt.jag:16)
 at
 org.jaggeryjs.rhino.ArtifactBuilder__1.c1.call(/ArtifactBuilder-1//ws-rxt.jag)
  at
 org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
 at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
  at
 org.jaggeryjs.rhino.ArtifactBuilder__1.c1.call(/ArtifactBuilder-1//ws-rxt.jag)
 at
 org.jaggeryjs.rhino.ArtifactBuilder__1.c1.exec(/ArtifactBuilder-1//ws-rxt.jag)
  at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:570)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
  at
 org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:432)
 at
 org.jaggeryjs.jaggery.core.JaggeryServlet.doPost(JaggeryServlet.java:29)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
  at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at
 org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
 at
 org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
  at
 org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
 at
 org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
  at
 org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  at
 

Re: [Dev] [API Manager] - Status of API Subscriptions

2014-08-17 Thread Shavantha Weerasinghe
Hi Abimaran

These new statuses is it for 171 version or is it for a specific client. We
can cover these new statuses with the 171 pack in QA

regards,

Shavantha Weerasinghe
Senior Software Engineer QA
WSO2, Inc.
lean.enterprise.middleware.
http://wso2.com
http://wso2.org
Tel : 94 11 214 5345
Fax :94 11 2145300



On Fri, Aug 8, 2014 at 3:23 PM, Abimaran Kugathasan abima...@wso2.com
wrote:

 Hi Sumedha,

 In Current APIM, following are the status of a API Subscriptions

 BLOCKED, PROD_ONLY_BLOCKED, UNBLOCKED, ON_HOLD, REJECTED

 Consider following scenario/use case and relevant status of API
 subscriptions

 1. An Application subscribes an API  -  UNBLOCKED

 2. Publisher blocks the Application- BLOCKED

 3. Application unsubscribes the API  - The entry will be
 removed from DB

 4. Same Application subscribes to same API - UNBLOCKED (A new entry in the
 DB)

 In this case, the Application was blocked by the publisher. Since we have
 deleted the entry from DB, Application can invoke the API after re
 subscribing to the API

 With this implementation (keeping one status for API subscriptions), there
 can be multiple scenarios having same problem.

 So, we have to introduce two status for API subscription.

 1. One for keeping the application state - SUBSCRIBE/UNSUBSCRIBE

 2. Another for keeping publisher's action on the subscription -
 BLOCK/UNBLOCK/PROD_ONLY_BLOCKED

 With the introduction of these two status, please find the new status for
 the above use case.

 1. An Application subscribes to an API  -  SUBSCRIBE,UNBLOCKED

 2. Publisher blocks the Application- SUBSCRIBE,BLOCKED

 3. Application unsubscribes the API  - UNSUBSCRIBE,BLOCKED

 4. Same Application subscribes to same API - SUBSCRIBE,BLOCKED

 So, even the application re subscribing to API, it can't invoke.

 Here we don't delete any subscription entries from DB. So we can find the
 history of the subscription of a API



 --
 Thanks
 Abimaran Kugathasan

 Software Engineer | WSO2 Inc
 Data  APIs Technologies Team
 Mobile : +94 77 1708229

 http://stackoverflow.com/users/515034
 http://lk.linkedin.com/in/abimaran
 http://www.lkabimaran.blogspot.com/  https://github.com/abimaran
 https://twitter.com/abimaran


 ___
 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] WSO2 Committers += Dilini Muthumala

2014-08-17 Thread Manula Chathurika Thantriwatte
Congratulations !!!


On Sun, Aug 17, 2014 at 9:46 AM, Supun Sethunga sup...@wso2.com wrote:

 Congratulations Dilini!


 On Sun, Aug 17, 2014 at 8:53 AM, Chalitha Waldeniyage chali...@wso2.com
 wrote:

 Congratulations.. Dilini.. :)


 On Sat, Aug 16, 2014 at 10:47 AM, Malintha Adikari malin...@wso2.com
 wrote:

 Congratulations Dilini!


 On Fri, Aug 15, 2014 at 10:52 PM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Congratulations!


 On Fri, Aug 15, 2014 at 8:43 PM, Amal Gunatilake am...@wso2.com
 wrote:

 Congratz Dilini!

 Thank you   Best regards,

 *Amal Gunatilake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware


 On Fri, Aug 15, 2014 at 11:46 AM, Waruna Jayaweera waru...@wso2.com
 wrote:

 Congratulations..!


 On Fri, Aug 15, 2014 at 11:28 AM, Milinda Perera milin...@wso2.com
 wrote:

 Congratulations dilini 


 On Fri, Aug 15, 2014 at 11:17 AM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Dilini!


 On Fri, Aug 15, 2014 at 11:03 AM, Seshika Fernando 
 sesh...@wso2.com wrote:

 SUPERB! Congrats dilini!


 On Fri, Aug 15, 2014 at 10:45 AM, Kalpa Welivitigoda 
 kal...@wso2.com wrote:

 Congratulations Dilini !


 On Fri, Aug 15, 2014 at 10:38 AM, Dakshika Jayathilaka 
 daksh...@wso2.com wrote:

 Congratulations.. !

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911


 On Fri, Aug 15, 2014 at 5:07 AM, Melan Nimesh me...@apache.org
 wrote:

 Congratulations Dilini !!!


 On Fri, Aug 15, 2014 at 10:14 AM, Aruna Karunarathna 
 ar...@wso2.com wrote:

 Congratzz Dilini..!!!


 On Fri, Aug 15, 2014 at 10:12 AM, Sohani Weerasinghe 
 soh...@wso2.com wrote:

 Congratulations 

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

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


 On Fri, Aug 15, 2014 at 9:50 AM, Susinda Perera 
 susi...@wso2.com wrote:

 Congratulations.. !



 On Fri, Aug 15, 2014 at 9:47 AM, Sriskandarajah Suhothayan 
 s...@wso2.com wrote:


 Hi All,

 It's my pleasure to announce Dilini Muthumala as a WSO2
 Committer. Dilini has been a valuable contributor for WSO2
 CEP product and in recognition of her contributions to WSO2, 
 she has been
 voted as a WSO2Committer.

 Dilini, Congratulations and Keep up the good work!

 Thanks and Regards,
 Suho
  --

 *S. Suhothayan*
 Technical Lead  Team Lead of WSO2 Complex Event Processor
  *WSO2 Inc. *http://wso2.com
 * http://wso2.com/*
 lean . enterprise . middleware


 *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757 |
 blog: http://suhothayan.blogspot.com/ 
 http://suhothayan.blogspot.com/
 twitter: http://twitter.com/suhothayan 
 http://twitter.com/suhothayan |
 linked-in: http://lk.linkedin.com/in/suhothayan
 http://lk.linkedin.com/in/suhothayan*

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




 --
 *Susinda Perera*
 Software Engineer
 Mobile:(+94)716049075

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




 --

 * Aruna Sujith Karunarathna* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 9040362 | Work: +94 112145345
 Email: ar...@wso2.com | Web: www.wso2.com


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


 ___
 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




 --
 Best Regards,

 Kalpa Welivitigoda
 Software Engineer, WSO2 Inc. http://wso2.com
 Email: kal...@wso2.com
 Mobile: +94776509215

 ___
 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




 --
 *Gayashan Amarasinghe*
 Software Engineer | Platform TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94718314517
 Blog : gayashan-a.blogspot.com

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




 --
 Milinda Perera
 Software Engineer;
 WSO2 Inc. http://wso2.com ,
 Mobile: (+94) 714 115 032


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




 --
 Regards,

 Waruna Lakshitha Jayaweera
 

[Dev] vulnerabilities scan results

2014-08-17 Thread Shavantha Weerasinghe
Hi Joe

I ran a tool called Vega that scans for possible vulnerabilities on XSS and
other type of attacks on AP Store and got some results. Below attached
document has just two of the results that were generated for your review.
Please see if they need to be looked at.

Note: the tool doesn’t allow to generate any report so its not easy to copy
past all the results generated.

regards,
Shavantha Weerasinghe
Senior Software Engineer QA
WSO2, Inc.
lean.enterprise.middleware.
http://wso2.com
http://wso2.org
Tel : 94 11 214 5345
Fax :94 11 2145300


results.odt
Description: application/vnd.oasis.opendocument.text
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [API Manager] - Status of API Subscriptions

2014-08-17 Thread Abimaran Kugathasan
Hi Shavantha,

It's for the product 1.7.1, not only for any specific clients.


On Mon, Aug 18, 2014 at 8:55 AM, Shavantha Weerasinghe shavan...@wso2.com
wrote:

 Hi Abimaran

 These new statuses is it for 171 version or is it for a specific client.
 We can cover these new statuses with the 171 pack in QA

 regards,

 Shavantha Weerasinghe
 Senior Software Engineer QA
 WSO2, Inc.
 lean.enterprise.middleware.
 http://wso2.com
 http://wso2.org
 Tel : 94 11 214 5345
 Fax :94 11 2145300



 On Fri, Aug 8, 2014 at 3:23 PM, Abimaran Kugathasan abima...@wso2.com
 wrote:

  Hi Sumedha,

 In Current APIM, following are the status of a API Subscriptions

 BLOCKED, PROD_ONLY_BLOCKED, UNBLOCKED, ON_HOLD, REJECTED

 Consider following scenario/use case and relevant status of API
 subscriptions

 1. An Application subscribes an API  -  UNBLOCKED

 2. Publisher blocks the Application- BLOCKED

 3. Application unsubscribes the API  - The entry will be
 removed from DB

 4. Same Application subscribes to same API - UNBLOCKED (A new entry in
 the DB)

 In this case, the Application was blocked by the publisher. Since we have
 deleted the entry from DB, Application can invoke the API after re
 subscribing to the API

 With this implementation (keeping one status for API subscriptions),
 there can be multiple scenarios having same problem.

 So, we have to introduce two status for API subscription.

 1. One for keeping the application state - SUBSCRIBE/UNSUBSCRIBE

 2. Another for keeping publisher's action on the subscription -
 BLOCK/UNBLOCK/PROD_ONLY_BLOCKED

 With the introduction of these two status, please find the new status for
 the above use case.

 1. An Application subscribes to an API  -  SUBSCRIBE,UNBLOCKED

 2. Publisher blocks the Application- SUBSCRIBE,BLOCKED

 3. Application unsubscribes the API  - UNSUBSCRIBE,BLOCKED

 4. Same Application subscribes to same API - SUBSCRIBE,BLOCKED

 So, even the application re subscribing to API, it can't invoke.

 Here we don't delete any subscription entries from DB. So we can find the
 history of the subscription of a API



 --
 Thanks
 Abimaran Kugathasan

 Software Engineer | WSO2 Inc
 Data  APIs Technologies Team
 Mobile : +94 77 1708229

 http://stackoverflow.com/users/515034
 http://lk.linkedin.com/in/abimaran
 http://www.lkabimaran.blogspot.com/  https://github.com/abimaran
 https://twitter.com/abimaran


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





-- 
Thanks
Abimaran Kugathasan

Software Engineer | WSO2 Inc
Data  APIs Technologies Team
Mobile : +94 77 1708229

http://stackoverflow.com/users/515034
http://lk.linkedin.com/in/abimaran  http://www.lkabimaran.blogspot.com/
https://github.com/abimaran  https://twitter.com/abimaran
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Dilini Muthumala

2014-08-17 Thread Abimaran Kugathasan
Congrats Dilini!


On Mon, Aug 18, 2014 at 9:16 AM, Manula Chathurika Thantriwatte 
manu...@wso2.com wrote:

 Congratulations !!!


 On Sun, Aug 17, 2014 at 9:46 AM, Supun Sethunga sup...@wso2.com wrote:

 Congratulations Dilini!


 On Sun, Aug 17, 2014 at 8:53 AM, Chalitha Waldeniyage chali...@wso2.com
 wrote:

 Congratulations.. Dilini.. :)


 On Sat, Aug 16, 2014 at 10:47 AM, Malintha Adikari malin...@wso2.com
 wrote:

 Congratulations Dilini!


 On Fri, Aug 15, 2014 at 10:52 PM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Congratulations!


 On Fri, Aug 15, 2014 at 8:43 PM, Amal Gunatilake am...@wso2.com
 wrote:

 Congratz Dilini!

 Thank you   Best regards,

 *Amal Gunatilake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware


 On Fri, Aug 15, 2014 at 11:46 AM, Waruna Jayaweera waru...@wso2.com
 wrote:

 Congratulations..!


 On Fri, Aug 15, 2014 at 11:28 AM, Milinda Perera milin...@wso2.com
 wrote:

 Congratulations dilini 


 On Fri, Aug 15, 2014 at 11:17 AM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Dilini!


 On Fri, Aug 15, 2014 at 11:03 AM, Seshika Fernando 
 sesh...@wso2.com wrote:

 SUPERB! Congrats dilini!


 On Fri, Aug 15, 2014 at 10:45 AM, Kalpa Welivitigoda 
 kal...@wso2.com wrote:

 Congratulations Dilini !


 On Fri, Aug 15, 2014 at 10:38 AM, Dakshika Jayathilaka 
 daksh...@wso2.com wrote:

 Congratulations.. !

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911


 On Fri, Aug 15, 2014 at 5:07 AM, Melan Nimesh me...@apache.org
  wrote:

 Congratulations Dilini !!!


 On Fri, Aug 15, 2014 at 10:14 AM, Aruna Karunarathna 
 ar...@wso2.com wrote:

 Congratzz Dilini..!!!


 On Fri, Aug 15, 2014 at 10:12 AM, Sohani Weerasinghe 
 soh...@wso2.com wrote:

 Congratulations 

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

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


 On Fri, Aug 15, 2014 at 9:50 AM, Susinda Perera 
 susi...@wso2.com wrote:

 Congratulations.. !



 On Fri, Aug 15, 2014 at 9:47 AM, Sriskandarajah Suhothayan
 s...@wso2.com wrote:


 Hi All,

 It's my pleasure to announce Dilini Muthumala as a WSO2
 Committer. Dilini has been a valuable contributor for
 WSO2 CEP product and in recognition of her contributions to 
 WSO2, she has
 been voted as a WSO2Committer.

 Dilini, Congratulations and Keep up the good work!

 Thanks and Regards,
 Suho
  --

 *S. Suhothayan*
 Technical Lead  Team Lead of WSO2 Complex Event Processor
  *WSO2 Inc. *http://wso2.com
 * http://wso2.com/*
 lean . enterprise . middleware


 *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757 |
 blog: http://suhothayan.blogspot.com/ 
 http://suhothayan.blogspot.com/
 twitter: http://twitter.com/suhothayan 
 http://twitter.com/suhothayan |
 linked-in: http://lk.linkedin.com/in/suhothayan
 http://lk.linkedin.com/in/suhothayan*

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




 --
 *Susinda Perera*
 Software Engineer
 Mobile:(+94)716049075

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




 --

 * Aruna Sujith Karunarathna* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 9040362 | Work: +94 112145345
 Email: ar...@wso2.com | Web: www.wso2.com


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


 ___
 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




 --
 Best Regards,

 Kalpa Welivitigoda
 Software Engineer, WSO2 Inc. http://wso2.com
 Email: kal...@wso2.com
 Mobile: +94776509215

 ___
 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




 --
 *Gayashan Amarasinghe*
 Software Engineer | Platform TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94718314517
 Blog : gayashan-a.blogspot.com

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




 --
 Milinda Perera
 Software Engineer;
 WSO2 Inc. http://wso2.com ,
 Mobile: (+94) 714 115 032


 ___
 Dev mailing list
 

Re: [Dev] WSO2 Committers += Dilini Muthumala

2014-08-17 Thread Sewwandi Perera
Congratulations Dilini...!!! :)


On Mon, Aug 18, 2014 at 10:28 AM, Abimaran Kugathasan abima...@wso2.com
wrote:

 Congrats Dilini!


 On Mon, Aug 18, 2014 at 9:16 AM, Manula Chathurika Thantriwatte 
 manu...@wso2.com wrote:

 Congratulations !!!


 On Sun, Aug 17, 2014 at 9:46 AM, Supun Sethunga sup...@wso2.com wrote:

 Congratulations Dilini!


 On Sun, Aug 17, 2014 at 8:53 AM, Chalitha Waldeniyage chali...@wso2.com
  wrote:

 Congratulations.. Dilini.. :)


 On Sat, Aug 16, 2014 at 10:47 AM, Malintha Adikari malin...@wso2.com
 wrote:

 Congratulations Dilini!


 On Fri, Aug 15, 2014 at 10:52 PM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Congratulations!


 On Fri, Aug 15, 2014 at 8:43 PM, Amal Gunatilake am...@wso2.com
 wrote:

 Congratz Dilini!

 Thank you   Best regards,

 *Amal Gunatilake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware


 On Fri, Aug 15, 2014 at 11:46 AM, Waruna Jayaweera waru...@wso2.com
  wrote:

 Congratulations..!


 On Fri, Aug 15, 2014 at 11:28 AM, Milinda Perera milin...@wso2.com
  wrote:

 Congratulations dilini 


 On Fri, Aug 15, 2014 at 11:17 AM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Dilini!


 On Fri, Aug 15, 2014 at 11:03 AM, Seshika Fernando 
 sesh...@wso2.com wrote:

 SUPERB! Congrats dilini!


 On Fri, Aug 15, 2014 at 10:45 AM, Kalpa Welivitigoda 
 kal...@wso2.com wrote:

 Congratulations Dilini !


 On Fri, Aug 15, 2014 at 10:38 AM, Dakshika Jayathilaka 
 daksh...@wso2.com wrote:

 Congratulations.. !

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911


 On Fri, Aug 15, 2014 at 5:07 AM, Melan Nimesh 
 me...@apache.org wrote:

 Congratulations Dilini !!!


 On Fri, Aug 15, 2014 at 10:14 AM, Aruna Karunarathna 
 ar...@wso2.com wrote:

 Congratzz Dilini..!!!


 On Fri, Aug 15, 2014 at 10:12 AM, Sohani Weerasinghe 
 soh...@wso2.com wrote:

 Congratulations 

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

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


 On Fri, Aug 15, 2014 at 9:50 AM, Susinda Perera 
 susi...@wso2.com wrote:

 Congratulations.. !



 On Fri, Aug 15, 2014 at 9:47 AM, Sriskandarajah Suhothayan
 s...@wso2.com wrote:


 Hi All,

 It's my pleasure to announce Dilini Muthumala as a WSO2
 Committer. Dilini has been a valuable contributor for
 WSO2 CEP product and in recognition of her contributions to 
 WSO2, she has
 been voted as a WSO2Committer.

 Dilini, Congratulations and Keep up the good work!

 Thanks and Regards,
 Suho
  --

 *S. Suhothayan*
 Technical Lead  Team Lead of WSO2 Complex Event Processor
  *WSO2 Inc. *http://wso2.com
 * http://wso2.com/*
 lean . enterprise . middleware


 *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757
 | blog: http://suhothayan.blogspot.com/ 
 http://suhothayan.blogspot.com/
 twitter: http://twitter.com/suhothayan 
 http://twitter.com/suhothayan |
 linked-in: http://lk.linkedin.com/in/suhothayan
 http://lk.linkedin.com/in/suhothayan*

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




 --
 *Susinda Perera*
 Software Engineer
 Mobile:(+94)716049075

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




 --

 * Aruna Sujith Karunarathna* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 9040362 | Work: +94 112145345
 Email: ar...@wso2.com | Web: www.wso2.com


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


 ___
 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




 --
 Best Regards,

 Kalpa Welivitigoda
 Software Engineer, WSO2 Inc. http://wso2.com
 Email: kal...@wso2.com
 Mobile: +94776509215

 ___
 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




 --
 *Gayashan Amarasinghe*
 Software Engineer | Platform TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94718314517
 Blog : gayashan-a.blogspot.com

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




 --
 Milinda Perera
 Software Engineer;
 WSO2 

Re: [Dev] WSO2 Committers += Dilini Muthumala

2014-08-17 Thread Lasantha Fernando
Congratz Dilini.. :-)


On 18 August 2014 10:28, Abimaran Kugathasan abima...@wso2.com wrote:

 Congrats Dilini!


 On Mon, Aug 18, 2014 at 9:16 AM, Manula Chathurika Thantriwatte 
 manu...@wso2.com wrote:

 Congratulations !!!


 On Sun, Aug 17, 2014 at 9:46 AM, Supun Sethunga sup...@wso2.com wrote:

 Congratulations Dilini!


 On Sun, Aug 17, 2014 at 8:53 AM, Chalitha Waldeniyage chali...@wso2.com
  wrote:

 Congratulations.. Dilini.. :)


 On Sat, Aug 16, 2014 at 10:47 AM, Malintha Adikari malin...@wso2.com
 wrote:

 Congratulations Dilini!


 On Fri, Aug 15, 2014 at 10:52 PM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Congratulations!


 On Fri, Aug 15, 2014 at 8:43 PM, Amal Gunatilake am...@wso2.com
 wrote:

 Congratz Dilini!

 Thank you   Best regards,

 *Amal Gunatilake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware


 On Fri, Aug 15, 2014 at 11:46 AM, Waruna Jayaweera waru...@wso2.com
  wrote:

 Congratulations..!


 On Fri, Aug 15, 2014 at 11:28 AM, Milinda Perera milin...@wso2.com
  wrote:

 Congratulations dilini 


 On Fri, Aug 15, 2014 at 11:17 AM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Dilini!


 On Fri, Aug 15, 2014 at 11:03 AM, Seshika Fernando 
 sesh...@wso2.com wrote:

 SUPERB! Congrats dilini!


 On Fri, Aug 15, 2014 at 10:45 AM, Kalpa Welivitigoda 
 kal...@wso2.com wrote:

 Congratulations Dilini !


 On Fri, Aug 15, 2014 at 10:38 AM, Dakshika Jayathilaka 
 daksh...@wso2.com wrote:

 Congratulations.. !

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911


 On Fri, Aug 15, 2014 at 5:07 AM, Melan Nimesh 
 me...@apache.org wrote:

 Congratulations Dilini !!!


 On Fri, Aug 15, 2014 at 10:14 AM, Aruna Karunarathna 
 ar...@wso2.com wrote:

 Congratzz Dilini..!!!


 On Fri, Aug 15, 2014 at 10:12 AM, Sohani Weerasinghe 
 soh...@wso2.com wrote:

 Congratulations 

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

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


 On Fri, Aug 15, 2014 at 9:50 AM, Susinda Perera 
 susi...@wso2.com wrote:

 Congratulations.. !



 On Fri, Aug 15, 2014 at 9:47 AM, Sriskandarajah Suhothayan
 s...@wso2.com wrote:


 Hi All,

 It's my pleasure to announce Dilini Muthumala as a WSO2
 Committer. Dilini has been a valuable contributor for
 WSO2 CEP product and in recognition of her contributions to 
 WSO2, she has
 been voted as a WSO2Committer.

 Dilini, Congratulations and Keep up the good work!

 Thanks and Regards,
 Suho
  --

 *S. Suhothayan*
 Technical Lead  Team Lead of WSO2 Complex Event Processor
  *WSO2 Inc. *http://wso2.com
 * http://wso2.com/*
 lean . enterprise . middleware


 *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757
 | blog: http://suhothayan.blogspot.com/ 
 http://suhothayan.blogspot.com/
 twitter: http://twitter.com/suhothayan 
 http://twitter.com/suhothayan |
 linked-in: http://lk.linkedin.com/in/suhothayan
 http://lk.linkedin.com/in/suhothayan*

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




 --
 *Susinda Perera*
 Software Engineer
 Mobile:(+94)716049075

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




 --

 * Aruna Sujith Karunarathna* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 9040362 | Work: +94 112145345
 Email: ar...@wso2.com | Web: www.wso2.com


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


 ___
 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




 --
 Best Regards,

 Kalpa Welivitigoda
 Software Engineer, WSO2 Inc. http://wso2.com
 Email: kal...@wso2.com
 Mobile: +94776509215

 ___
 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




 --
 *Gayashan Amarasinghe*
 Software Engineer | Platform TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94718314517
 Blog : gayashan-a.blogspot.com

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




 --
 Milinda Perera
 Software Engineer;
 WSO2 Inc. 

Re: [Dev] WSO2 Committers += Dilini Muthumala

2014-08-17 Thread Gimantha Bandara
Congratz Dilini


On Mon, Aug 18, 2014 at 10:44 AM, Sewwandi Perera sewwa...@wso2.com wrote:

 Congratulations Dilini...!!! :)


 On Mon, Aug 18, 2014 at 10:28 AM, Abimaran Kugathasan abima...@wso2.com
 wrote:

 Congrats Dilini!


 On Mon, Aug 18, 2014 at 9:16 AM, Manula Chathurika Thantriwatte 
 manu...@wso2.com wrote:

 Congratulations !!!


 On Sun, Aug 17, 2014 at 9:46 AM, Supun Sethunga sup...@wso2.com wrote:

 Congratulations Dilini!


 On Sun, Aug 17, 2014 at 8:53 AM, Chalitha Waldeniyage 
 chali...@wso2.com wrote:

 Congratulations.. Dilini.. :)


 On Sat, Aug 16, 2014 at 10:47 AM, Malintha Adikari malin...@wso2.com
 wrote:

 Congratulations Dilini!


 On Fri, Aug 15, 2014 at 10:52 PM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Congratulations!


 On Fri, Aug 15, 2014 at 8:43 PM, Amal Gunatilake am...@wso2.com
 wrote:

 Congratz Dilini!

 Thank you   Best regards,

 *Amal Gunatilake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware


 On Fri, Aug 15, 2014 at 11:46 AM, Waruna Jayaweera 
 waru...@wso2.com wrote:

 Congratulations..!


 On Fri, Aug 15, 2014 at 11:28 AM, Milinda Perera 
 milin...@wso2.com wrote:

 Congratulations dilini 


 On Fri, Aug 15, 2014 at 11:17 AM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Dilini!


 On Fri, Aug 15, 2014 at 11:03 AM, Seshika Fernando 
 sesh...@wso2.com wrote:

 SUPERB! Congrats dilini!


 On Fri, Aug 15, 2014 at 10:45 AM, Kalpa Welivitigoda 
 kal...@wso2.com wrote:

 Congratulations Dilini !


 On Fri, Aug 15, 2014 at 10:38 AM, Dakshika Jayathilaka 
 daksh...@wso2.com wrote:

 Congratulations.. !

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911


 On Fri, Aug 15, 2014 at 5:07 AM, Melan Nimesh 
 me...@apache.org wrote:

 Congratulations Dilini !!!


 On Fri, Aug 15, 2014 at 10:14 AM, Aruna Karunarathna 
 ar...@wso2.com wrote:

 Congratzz Dilini..!!!


 On Fri, Aug 15, 2014 at 10:12 AM, Sohani Weerasinghe 
 soh...@wso2.com wrote:

 Congratulations 

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

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


 On Fri, Aug 15, 2014 at 9:50 AM, Susinda Perera 
 susi...@wso2.com wrote:

 Congratulations.. !



 On Fri, Aug 15, 2014 at 9:47 AM, Sriskandarajah
 Suhothayan s...@wso2.com wrote:


 Hi All,

 It's my pleasure to announce Dilini Muthumala as a WSO2
 Committer. Dilini has been a valuable contributor for
 WSO2 CEP product and in recognition of her contributions to 
 WSO2, she has
 been voted as a WSO2Committer.

 Dilini, Congratulations and Keep up the good work!

 Thanks and Regards,
 Suho
  --

 *S. Suhothayan*
 Technical Lead  Team Lead of WSO2 Complex Event
 Processor
  *WSO2 Inc. *http://wso2.com
 * http://wso2.com/*
 lean . enterprise . middleware


 *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757
 | blog: http://suhothayan.blogspot.com/ 
 http://suhothayan.blogspot.com/
 twitter: http://twitter.com/suhothayan 
 http://twitter.com/suhothayan |
 linked-in: http://lk.linkedin.com/in/suhothayan
 http://lk.linkedin.com/in/suhothayan*

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




 --
 *Susinda Perera*
 Software Engineer
 Mobile:(+94)716049075

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




 --

 * Aruna Sujith Karunarathna* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 9040362 | Work: +94 112145345
 Email: ar...@wso2.com | Web: www.wso2.com


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


 ___
 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




 --
 Best Regards,

 Kalpa Welivitigoda
 Software Engineer, WSO2 Inc. http://wso2.com
 Email: kal...@wso2.com
 Mobile: +94776509215

 ___
 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




 --
 *Gayashan Amarasinghe*
 Software Engineer | Platform TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94718314517
 Blog : gayashan-a.blogspot.com

 ___
 Dev mailing list
 

[Dev] {chunk-13 pack -17/08/2014}

2014-08-17 Thread Vijayaratha Vijayasingam
Hi all;
Please find pack here[1]

[1]https://svn.wso2.org/repos/wso2/scratch/chunk13-release/17-08-2014/

Thanks.

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


Re: [Dev] WSO2 Committers += Dilini Muthumala

2014-08-17 Thread Dunith Dhanushka
Congrats Dilini!


On Mon, Aug 18, 2014 at 10:58 AM, Gimantha Bandara giman...@wso2.com
wrote:

 Congratz Dilini


 On Mon, Aug 18, 2014 at 10:44 AM, Sewwandi Perera sewwa...@wso2.com
 wrote:

 Congratulations Dilini...!!! :)


 On Mon, Aug 18, 2014 at 10:28 AM, Abimaran Kugathasan abima...@wso2.com
 wrote:

 Congrats Dilini!


 On Mon, Aug 18, 2014 at 9:16 AM, Manula Chathurika Thantriwatte 
 manu...@wso2.com wrote:

 Congratulations !!!


 On Sun, Aug 17, 2014 at 9:46 AM, Supun Sethunga sup...@wso2.com
 wrote:

 Congratulations Dilini!


 On Sun, Aug 17, 2014 at 8:53 AM, Chalitha Waldeniyage 
 chali...@wso2.com wrote:

 Congratulations.. Dilini.. :)


 On Sat, Aug 16, 2014 at 10:47 AM, Malintha Adikari malin...@wso2.com
  wrote:

 Congratulations Dilini!


 On Fri, Aug 15, 2014 at 10:52 PM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Congratulations!


 On Fri, Aug 15, 2014 at 8:43 PM, Amal Gunatilake am...@wso2.com
 wrote:

 Congratz Dilini!

 Thank you   Best regards,

 *Amal Gunatilake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware


 On Fri, Aug 15, 2014 at 11:46 AM, Waruna Jayaweera 
 waru...@wso2.com wrote:

 Congratulations..!


 On Fri, Aug 15, 2014 at 11:28 AM, Milinda Perera 
 milin...@wso2.com wrote:

 Congratulations dilini 


 On Fri, Aug 15, 2014 at 11:17 AM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Dilini!


 On Fri, Aug 15, 2014 at 11:03 AM, Seshika Fernando 
 sesh...@wso2.com wrote:

 SUPERB! Congrats dilini!


 On Fri, Aug 15, 2014 at 10:45 AM, Kalpa Welivitigoda 
 kal...@wso2.com wrote:

 Congratulations Dilini !


 On Fri, Aug 15, 2014 at 10:38 AM, Dakshika Jayathilaka 
 daksh...@wso2.com wrote:

 Congratulations.. !

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911


 On Fri, Aug 15, 2014 at 5:07 AM, Melan Nimesh 
 me...@apache.org wrote:

 Congratulations Dilini !!!


 On Fri, Aug 15, 2014 at 10:14 AM, Aruna Karunarathna 
 ar...@wso2.com wrote:

 Congratzz Dilini..!!!


 On Fri, Aug 15, 2014 at 10:12 AM, Sohani Weerasinghe 
 soh...@wso2.com wrote:

 Congratulations 

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

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


 On Fri, Aug 15, 2014 at 9:50 AM, Susinda Perera 
 susi...@wso2.com wrote:

 Congratulations.. !



 On Fri, Aug 15, 2014 at 9:47 AM, Sriskandarajah
 Suhothayan s...@wso2.com wrote:


 Hi All,

 It's my pleasure to announce Dilini Muthumala as a
 WSO2 Committer. Dilini has been a valuable contributor
 for WSO2 CEP product and in recognition of her 
 contributions to WSO2, she
 has been voted as a WSO2Committer.

 Dilini, Congratulations and Keep up the good work!

 Thanks and Regards,
 Suho
  --

 *S. Suhothayan*
 Technical Lead  Team Lead of WSO2 Complex Event
 Processor
  *WSO2 Inc. *http://wso2.com
 * http://wso2.com/*
 lean . enterprise . middleware


 *cell: (+94) 779 756 757
 %28%2B94%29%20779%20756%20757 | blog: 
 http://suhothayan.blogspot.com/
 http://suhothayan.blogspot.com/ twitter: 
 http://twitter.com/suhothayan
 http://twitter.com/suhothayan | linked-in:
 http://lk.linkedin.com/in/suhothayan 
 http://lk.linkedin.com/in/suhothayan*

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




 --
 *Susinda Perera*
 Software Engineer
 Mobile:(+94)716049075

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




 --

 * Aruna Sujith Karunarathna* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 9040362 | Work: +94 112145345
 Email: ar...@wso2.com | Web: www.wso2.com


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


 ___
 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




 --
 Best Regards,

 Kalpa Welivitigoda
 Software Engineer, WSO2 Inc. http://wso2.com
 Email: kal...@wso2.com
 Mobile: +94776509215

 ___
 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




 --
 *Gayashan Amarasinghe*
 Software Engineer | Platform TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94718314517
 Blog : 

[Dev] Registry GET call happens within a transaction

2014-08-17 Thread Subash Chaturanga
Hi Senaka et al,
Is there any particular reason for doing $subject ? Because transactional
db connection is always heavy and many applications doing the GET quite
frequently. IMO we should not be doing a read in a transactional manner.
Pls correct me if I am missing something.

I am referring EmbeddedRegitry#get.

-- 
Thanks
/subash

*Subash Chaturanga*
Senior Software Engineer  Lead WSO2 Governance Registry
Platform TG; WSO2 Inc. http://wso2.com
Contact:
email: sub...@wso2.com
blog:  http://subashsdm.blogspot.com/
twitter: @subash89
phone: +9477 2225922
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] what is the difference between EnableGatewayKeyCache and EnableGatewayResourceCache

2014-08-17 Thread Nuwan Dias
Hi Shavantha,

The EnableGatewayKeyCache entry enables/disables a cache which we use to
store tokens. Whereas the EnableGatewayResourceCache entry
enables/disables a cache which we use to store data of API resources.

Your observations are not related to the resource cache AFAIU, but they are
related to the token cache. The token cache is used to store information
related to a token. Ex: token's validity period, token owner's username,
etc. The resource cache is used to store information related to API
resources such as a resource's auth type, tier, etc.

Thanks,
NuwanD.


On Sat, Aug 16, 2014 at 10:37 AM, Shavantha Weerasinghe shavan...@wso2.com
wrote:

 Hi Nuwan

 What is the difference between the two properties EnableGatewayKeyCache
 and EnableGatewayResourceCache that exist within the api-manager.xml.

 I tested with both enabled disabled and one of the two enabled and what I
 noticed was that when EnableGatewayKeyCache was enabled and if we delete an
 application then the invocation of an API stopps after about 15 minutes
 where as if the *EnableGatewayKeyCache *was disabled and
 EnableGatewayResourceCache was enabled then upon deleting an application
 with the subscriptions the invocation is not allowed

 regards,
 Shavantha Weerasinghe
 Senior Software Engineer QA
 WSO2, Inc.
 lean.enterprise.middleware.
 http://wso2.com
 http://wso2.org
 Tel : 94 11 214 5345
 Fax :94 11 2145300




-- 
Nuwan Dias

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


[Dev] Cassanda 2.0

2014-08-17 Thread Darshana Akalanka Pagoda Arachchi
Hi all,

Isn't it time to move to cassandra 2.0.x with cql 3.1.x.

What's new in Cassandra | DataStax Cassandra 2.0 Documentation
http://www.datastax.com/documentation/cassandra/2.0/cassandra/features/features_key_c.html

http://cassandra.apache.org/doc/cql3/CQL.html#changes

This will allow us to simplify some of the data models specially because of
the 'SELECT DISTINCT' support on partition keys.

WDYT?

-- 
*Darshana Akalanka Pagoda Arachchi,*
*Software Engineer*
*078-4721791*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev