Re: [Dev] kafka UI improvement (ESBJAVA-3915)
Hi Shakila, Added some comments. Did you check other inbound protocols with this change? Don't we need to apply the same for update page as well? On Fri, Jul 17, 2015 at 4:55 PM, Shakila Sivagnanarajah shak...@wso2.com wrote: Hi Malaka, Please review and merge PR[1] for $subject. [1] https://github.com/wso2/carbon-mediation/pull/294 Thank you -- Shakila Sivagnanarajah Associate Software Engineer Mobile :+94 (0) 770 760240 shak...@wso2.com -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] charon-v2.0.0-wso2v4 released to staging
Hi, charon-v2.0.0-wso2v4 released to staging and verified the fixes. Please review and move to public Thanks Isura -- Isura Dilhara Karunaratne Senior Software Engineer Mob +94 772 254 810 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [App Factory] UX/UI Incorporation
Hi All, We have added few other pages into git. 1. database_initial.html https://github.com/wso2-dev-ux/product-cloud/blob/master/Markup/database_initial.html 2. database_initial_listing.html https://github.com/wso2-dev-ux/product-cloud/blob/master/Markup/database_initial_listing.html 3. database_new.html https://github.com/wso2-dev-ux/product-cloud/blob/master/Markup/database_new.html Regards, *Dakshika Jayathilaka* PMC Member Committer of Apache Stratos Senior Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Tue, Jul 14, 2015 at 10:10 AM, Dakshika Jayathilaka daksh...@wso2.com wrote: Hi All, We have added content loading methods to cloud_app_details_initial_content_load.html https://github.com/wso2-dev-ux/product-cloud/blob/master/Markup/cloud_app_details_initial_content_load.html . you can select any div and call 'show'/ 'hide' method. *Sample: * *$('selector').loading('show/hide');* *Preview: * https://cdn.rawgit.com/wso2-dev-ux/product-cloud/master/Markup/cloud_app_details_initial_content_load.html Regards, *Dakshika Jayathilaka* PMC Member Committer of Apache Stratos Senior Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Mon, Jul 13, 2015 at 5:00 PM, Mahesh Chinthaka mahe...@wso2.com wrote: adding RoshanD. He is doing 009_cloud_app_details_initial.html https://github.com/wso2-dev-ux/product-cloud/blob/master/Markup/009_cloud_app_details_initial.html page. On Mon, Jul 13, 2015 at 3:53 PM, Dakshika Jayathilaka daksh...@wso2.com wrote: Hi All, We have added notification updates on below pages. 1. form_notification.html https://github.com/wso2-dev-ux/product-cloud/blob/master/Markup/form_notification.html 2. block type notification - 009_cloud_app_details_initial.html https://github.com/wso2-dev-ux/product-cloud/blob/master/Markup/009_cloud_app_details_initial.html please be kind enough to merge above changes. Regards, *Dakshika Jayathilaka* PMC Member Committer of Apache Stratos Senior Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Wed, Jul 8, 2015 at 6:19 PM, Dakshika Jayathilaka daksh...@wso2.com wrote: Hi All, We have added application notification pane to overview page(009_cloud_app_details_initial.html). please check. https://raw.githubusercontent.com/wso2-dev-ux/product-cloud/master/Markup/009_cloud_app_details_initial.html Regards, *Dakshika Jayathilaka* PMC Member Committer of Apache Stratos Senior Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Wed, Jul 8, 2015 at 10:50 AM, Mahesh Chinthaka mahe...@wso2.com wrote: Hi Dakshika , I remember the wireframes. Actually 2 things, 1. Where can I find the markup for issues_initial_blank page (Actually for the button Report an Issue)? 2. Last time when I took a git pull (before sending my last mail) create issue button was not there in the issues_initial page. Now its there :) thank you. On Wed, Jul 8, 2015 at 6:19 AM, Dakshika Jayathilaka daksh...@wso2.com wrote: Hi, this is the updated listing page.. https://cdn.rawgit.com/wso2-dev-ux/product-cloud/master/Markup/issues_initial.html Regards, *Dakshika Jayathilaka* PMC Member Committer of Apache Stratos Senior Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Wed, Jul 8, 2015 at 6:15 AM, Dakshika Jayathilaka daksh...@wso2.com wrote: Hi Mahesh, Its already there..(issues_initial_blank) seems you missed important points that we discussed on the meeting.. :). I have attached wireframes for further reference. please be kind enough to check. We usually update markup pages everyday. so please take pull and continue your work. Regards, *Dakshika Jayathilaka* PMC Member Committer of Apache Stratos Senior Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Tue, Jul 7, 2015 at 7:00 PM, Mahesh Chinthaka mahe...@wso2.com wrote: Hi Dakshika, In issue_initial.html we dont have a Create Issue button. In our early UI we had a create issue (New Issue) button in index page of the issue tracker. With new UI where are we going to have that button or link for a user to create an issue ? In new UI if there are issues created , then those issues will be shown in the data table. When there are no issues, data table will be empty. IMO we should have a button in index page to create issues. Otherwise how the user going to add an issue ? This is the initial landing page for a user when he clicks on the issue tracker link in the left side panel. Thanks. On Fri, Jul 3, 2015 at 4:41 PM, Dakshika Jayathilaka daksh...@wso2.com wrote: Hi All, We have added issues_new.html https://github.com/wso2-dev-ux/product-cloud/blob/master/Markup/issues_new.html and issues_initial.html https://github.com/wso2-dev-ux/product-cloud/blob/master/Markup/issues_initial.html pages to git repo. Regards, *Dakshika Jayathilaka* PMC Member
Re: [Dev] Throttle mediator improvements
Hi all, Please review and merge the following pr moving throttle core module to Synapse Commons. https://github.com/wso2/carbon-mediation/pull/293 https://github.com/wso2/wso2-synapse/pull/265 regards Kevin On Tue, Jul 7, 2015 at 11:17 AM, Kevin Ratnasekera ke...@wso2.com wrote: Hi all, With related to $subject, we did some changes related to carbon throttle core module. Currently there is no public git repository for this throttle core module which has distributed throttling features. So as a alternative, we are planning to move the throttle core module to Synapse Commons package with added improvements. Regards Kevin ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] How to handle QOS Security for servlet request
For that, you need to set a security constraint for your webapp via web.xml. [1] The axis2 service security QOS settings are irrelevant here. [1] http://docs.oracle.com/cd/E19798-01/821-1841/bncbk/index.html On Fri, Jul 17, 2015 at 3:03 PM, Madhawa Gunasekara madha...@wso2.com wrote: Hi devs, I have a requirement to authenticate users for my service. and also I'm not using axis2 for my service. It's a simple web app. Is there a way to access service configs (QOS security) from backend to write a callback handler for my servlet. Any help on this matter is highly appreciated. Thanks, Madhawa -- *Madhawa Gunasekara* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 719411002 +94+719411002 blog: *http://madhawa-gunasekara.blogspot.com http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] How to handle QOS Security for servlet request
Hi Madhawa, I think you can refer to CarbonSaasApp sample which we have added in the WSO2-AS https://github.com/wso2/product-as/blob/master/modules/samples/CarbonSaaSApp/WebContent/WEB-INF/web.xml Thanks /Thusitha On Fri, Jul 17, 2015 at 5:27 PM, KasunG Gajasinghe kas...@wso2.com wrote: For that, you need to set a security constraint for your webapp via web.xml. [1] The axis2 service security QOS settings are irrelevant here. [1] http://docs.oracle.com/cd/E19798-01/821-1841/bncbk/index.html On Fri, Jul 17, 2015 at 3:03 PM, Madhawa Gunasekara madha...@wso2.com wrote: Hi devs, I have a requirement to authenticate users for my service. and also I'm not using axis2 for my service. It's a simple web app. Is there a way to access service configs (QOS security) from backend to write a callback handler for my servlet. Any help on this matter is highly appreciated. Thanks, Madhawa -- *Madhawa Gunasekara* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 719411002 +94+719411002 blog: *http://madhawa-gunasekara.blogspot.com http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thusitha Dayaratne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com Mobile +94712756809 Blog alokayasoya.blogspot.com Abouthttp://about.me/thusithathilina ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] How to handle QOS Security for servlet request
On Fri, Jul 17, 2015 at 5:27 PM, KasunG Gajasinghe kas...@wso2.com wrote: For that, you need to set a security constraint for your webapp via web.xml. [1] The axis2 service security QOS settings are irrelevant here. [1] http://docs.oracle.com/cd/E19798-01/821-1841/bncbk/index.html adding to the above, Here user name and roles defined will work with the users roles defined in wso2 servers. thanks, On Fri, Jul 17, 2015 at 3:03 PM, Madhawa Gunasekara madha...@wso2.com wrote: Hi devs, I have a requirement to authenticate users for my service. and also I'm not using axis2 for my service. It's a simple web app. Is there a way to access service configs (QOS security) from backend to write a callback handler for my servlet. Any help on this matter is highly appreciated. Thanks, Madhawa -- *Madhawa Gunasekara* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 719411002 +94+719411002 blog: *http://madhawa-gunasekara.blogspot.com http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] charon-v2.0.0-wso2v4 released to staging
Link to repo : http://maven.wso2.org/nexus/content/repositories/orgwso2charon-004/ On Fri, Jul 17, 2015 at 5:38 PM, Isura Karunaratne is...@wso2.com wrote: Hi, charon-v2.0.0-wso2v4 released to staging and verified the fixes. Please review and move to public Thanks Isura -- Isura Dilhara Karunaratne Senior Software Engineer Mob +94 772 254 810 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Prasad Tissera Software Engineer. Mobile : +94777223444 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Customizing Workflows in wso2 API Manager
ok thank you Chamalee. Will try and let you know, Thanks again :D -- View this message in context: http://wso2-oxygen-tank.10903.n7.nabble.com/Customizing-Workflows-in-wso2-API-Manager-tp121859p121875.html Sent from the WSO2 Development mailing list archive at Nabble.com. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Issue while creating custom Inbound
Hi Kathees, I think you are not exporting the twitter4j related jars Can you please try the following Export-Package org.wso2.carbon.inbound.custom.poll.*, org.twitter4j.* /Export-Package Regards Senduran On Fri, Jul 17, 2015 at 12:54 AM, Kathees Rajendram kath...@wso2.com wrote: Hi Lakshani, Thank you the reply. I added and tried the jars to the component/lib also.I am getting the sample error. Am I missing in the pom while bundling? packagingbundle/packaging dependency groupIdorg.twitter4j/groupId artifactIdtwitter4j-core/artifactId version4.0.4/version /dependency dependency groupIdorg.twitter4j/groupId artifactIdtwitter4j-stream/artifactId version4.0.4/version /dependency plugin groupIdorg.apache.felix/groupId artifactIdmaven-bundle-plugin/artifactId version1.4.0/version extensionstrue/extensions configuration instructions Bundle-SymbolicName${pom.artifactId}/Bundle-SymbolicName Export-Package org.wso2.carbon.inbound.custom.poll.*, /Export-Package Import-Package !javax.xml.namespace, javax.xml.namespace; version=0.0.0, *;resolution:=optional, /Import-Package DynamicImport-Package*/DynamicImport-Package /instructions /configuration /plugin Thanks, Kathees On Fri, Jul 17, 2015 at 9:54 AM, Lakshani Gamage laksh...@wso2.com wrote: Hi Kathees, Seems your class has not been exported properly. Please see the error log. *Caused by: java.lang.**NoClassDefFoundError: twitter4j/StreamListener* May be you haven't created the osgi bundle properly. You can put the jar to component/lib directory. It will make the jar osgi and export all classes. Thank you, Lakshani. On Fri, Jul 17, 2015 at 8:50 AM, Kathees Rajendram kath...@wso2.com wrote: Hi, While creating a custom inbound Endpoint I am getting the following error. In the custom endpoint,i used the twitter4j-stream dependency, bundled and added the dropins in the ESB. Can you suggest how to solve the issue? [2015-07-17 08:32:43,741] INFO - GenericProcessor Inbound listener class for class org.wso2.carbon.inbound.custom.poll.SamplePollingClient starting ... [2015-07-17 08:30:47,846] ERROR - RPCMessageReceiver twitter4j/StreamListener java.lang.reflect.InvocationTargetException 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.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212) at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117) at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40) at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) at org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169) at org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82) at org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45) at org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149) at org.wso2.carbon.mediation.configadmin.stub.ConfigServiceAdminStub.updateConfiguration(ConfigServiceAdminStub.java:1340) at org.wso2.carbon.mediation.configadmin.ui.ConfigManagementClient.updateConfiguration(ConfigManagementClient.java:98) at org.apache.jsp.configadmin.saveconfig_jsp._jspService(saveconfig_jsp.java:169) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155) at
Re: [Dev] [ES] Please review and merge
I have merged the PR. On Wed, Jul 15, 2015 at 4:20 PM, Thusitha Kalugamage thusi...@wso2.com wrote: Thanks Udara, Please merge these second set of fixes as well. [1] https://github.com/wso2/carbon-store/pull/96 Cheers! [1] https://github.com/wso2/carbon-store/pull/96 https://github.com/wso2/carbon-store/pull/96 On Fri, Jul 10, 2015 at 2:50 PM, Udara Rathnayake uda...@wso2.com wrote: PR merged. On Fri, Jul 10, 2015 at 11:44 AM, Thusitha Kalugamage thusi...@wso2.com wrote: Please find the PR[1] here... [1] https://github.com/wso2/carbon-store/pull/93 https://github.com/wso2/carbon-store/pull/93 On Fri, Jul 10, 2015 at 11:40 AM, Thusitha Kalugamage thusi...@wso2.com wrote: Hi Team, Please merge these responsive issue fixes including - https://wso2.org/jira/browse/STORE-863 - https://wso2.org/jira/browse/STORE-856 Regards, -- Thusitha Kalugamage *Software Engineer* Mobile : +94 (0) 774 074370 Tel : +94 (0) 112 145 345 thusi...@wso2.com -- Thusitha Kalugamage *Software Engineer* Mobile : +94 (0) 774 074370 Tel : +94 (0) 112 145 345 thusi...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thusitha Kalugamage *Software Engineer* Mobile : +94 (0) 774 074370 Tel : +94 (0) 112 145 345 thusi...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [MB] puppet scripts/modules
Hi Manula, It seems [1] is the place we maintain puppet modules for products. Shall we commit MB puppet modules also there? [1] https://github.com/wso2/Puppet-Modules regards -- Ramith Jayasinghe Technical Lead WSO2 Inc., http://wso2.com lean.enterprise.middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Issue while creating custom Inbound
Hi Kathees, Can you open /META-INF/MANIFEST.MF twitter file in droppings and check if the package is exported properly. On Fri, Jul 17, 2015 at 11:24 AM, Kathees Rajendram kath...@wso2.com wrote: Hi Lakshani, Thank you the reply. I added and tried the jars to the component/lib also.I am getting the sample error. Am I missing in the pom while bundling? packagingbundle/packaging dependency groupIdorg.twitter4j/groupId artifactIdtwitter4j-core/artifactId version4.0.4/version /dependency dependency groupIdorg.twitter4j/groupId artifactIdtwitter4j-stream/artifactId version4.0.4/version /dependency plugin groupIdorg.apache.felix/groupId artifactIdmaven-bundle-plugin/artifactId version1.4.0/version extensionstrue/extensions configuration instructions Bundle-SymbolicName${pom.artifactId}/Bundle-SymbolicName Export-Package org.wso2.carbon.inbound.custom.poll.*, /Export-Package Import-Package !javax.xml.namespace, javax.xml.namespace; version=0.0.0, *;resolution:=optional, /Import-Package DynamicImport-Package*/DynamicImport-Package /instructions /configuration /plugin Thanks, Kathees On Fri, Jul 17, 2015 at 9:54 AM, Lakshani Gamage laksh...@wso2.com wrote: Hi Kathees, Seems your class has not been exported properly. Please see the error log. *Caused by: java.lang.**NoClassDefFoundError: twitter4j/StreamListener* May be you haven't created the osgi bundle properly. You can put the jar to component/lib directory. It will make the jar osgi and export all classes. Thank you, Lakshani. On Fri, Jul 17, 2015 at 8:50 AM, Kathees Rajendram kath...@wso2.com wrote: Hi, While creating a custom inbound Endpoint I am getting the following error. In the custom endpoint,i used the twitter4j-stream dependency, bundled and added the dropins in the ESB. Can you suggest how to solve the issue? [2015-07-17 08:32:43,741] INFO - GenericProcessor Inbound listener class for class org.wso2.carbon.inbound.custom.poll.SamplePollingClient starting ... [2015-07-17 08:30:47,846] ERROR - RPCMessageReceiver twitter4j/StreamListener java.lang.reflect.InvocationTargetException 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.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212) at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117) at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40) at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) at org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169) at org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82) at org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45) at org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149) at org.wso2.carbon.mediation.configadmin.stub.ConfigServiceAdminStub.updateConfiguration(ConfigServiceAdminStub.java:1340) at org.wso2.carbon.mediation.configadmin.ui.ConfigManagementClient.updateConfiguration(ConfigManagementClient.java:98) at org.apache.jsp.configadmin.saveconfig_jsp._jspService(saveconfig_jsp.java:169) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155) at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
Re: [Dev] User profile management - getNameAssociatedWith
Hi Suhan, On Fri, Jul 17, 2015 at 10:41 AM, Suhan Dharmasuriya suh...@wso2.com wrote: Hi Ishara, Thank you for the guidance. Is it necessary to set the same resident IDP certificate to the IDP that we are creating [1] [@109]? If not, will it affect the retrieval of the Associated name functionality? There shouldn't be a affect with certificate with Associated ID functionality. I'm not clear what your are going to do.Better if you explain what your are going to do here. I'm trying to get the resident IDP in App Server but unable to do so. Therefore when creating the new IDP, I tried with setting up a dummy certificate value with BASE64 encoded. [1] https://github.com/wso2/product-is/blob/7c3cbe328ea37ecbbee995a9528d4de44495e633/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/identity/mgt/IdentityProviderMgtServiceTestCase.java Thanks, Suhan On Wed, Jul 15, 2015 at 6:07 PM, Ishara Karunarathna isha...@wso2.com wrote: Hi, On Wed, Jul 15, 2015 at 5:46 PM, Suhan Dharmasuriya suh...@wso2.com wrote: Hi, What is the functionality of $subject? If you did an account association. Sending Associated IDP, Associated subject ID you can get the Associated users (Who exist in the user store) user name. Thanks, Ishara I'm observing this operation inside UserProfileMgtService [1] when admin services are exposed in App Server latest build. I have added an IdP with basic details [2]. mgt:identityProvider xsd:aliashttps://localhost:9443/oauth2/token//xsd:alias xsd:certificateBASE64 encoded String goes here/xsd:certificate xsd:displayNameSample IdP/xsd:displayName xsd:enabletrue/xsd:enable xsd:federationHubfalse/xsd:federationHub xsd:homeRealmIdlocalhost/xsd:homeRealmId xsd:identityProviderDescriptionSample Description/xsd:identityProviderDescription xsd:identityProviderNameTestIdP/xsd:identityProviderName xsd:primarytrue/xsd:primary xsd:provisioningRoletest/xsd:provisioningRole /mgt:identityProvider After performing associateID operation, I tried to call the getNameAssociatedWith through my custom client but getting a null object. Relevant sql is as follows [3]. sql = SELECT DOMAIN_NAME, USER_NAME FROM IDN_ASSOCIATED_ID WHERE TENANT_ID = ? AND IDP_ID = (SELECT ID + FROM IDP WHERE NAME = ? AND TENANT_ID = ?) AND IDP_USER_ID = ?; [1] https://localhost:9443/services/UserProfileMgtService?wsdl [2] https://github.com/wso2/carbon-identity/blob/master/components/idp-mgt/org.wso2.carbon.idp.mgt/src/main/java/org/wso2/carbon/idp/mgt/IdentityProviderManagementService.java [3] https://github.com/wso2/carbon-identity/blob/master/components/user-mgt/org.wso2.carbon.identity.user.profile/src/main/java/org/wso2/carbon/identity/user/profile/mgt/UserProfileAdmin.java Thanks, Suhan -- Suhan Dharmasuriya Software Engineer - Test Automation *WSO2, Inc. * lean . enterprise . middleware Tel: +94 112 145345 Mob: +94 779 869138 Blog: http://suhan-opensource.blogspot.com/ -- Ishara Karunarathna Senior Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: isha...@wso2.com, blog: isharaaruna.blogspot.com, mobile: +94717996791 -- Suhan Dharmasuriya Software Engineer - Test Automation *WSO2, Inc. * lean . enterprise . middleware Tel: +94 112 145345 Mob: +94 779 869138 Blog: http://suhan-opensource.blogspot.com/ -- Ishara Karunarathna Senior Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: isha...@wso2.com, blog: isharaaruna.blogspot.com, mobile: +94717996791 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Customizing Workflows in wso2 API Manager
Hello All, I have been working on wso2 API Manager for some time now. I have added a user sign up workflow to it. Now the problem that I am facing is this : I have a scenario wherein, once the admin approves the request from the admin-dashboard, that is admin can either Approve/Reject the sign up request. Once he does so, an email must be sent to the appropriate user. This is what I need to achieve. (I have also tried the customized subscription workflow provided by wso2, and recieved an email whenever I subscribe to an API, But here the email was sent without any human intervention. There is a SubscriptionWorkflowDTO class that contains information about suscriptions created) Now I have created a service in esb that is capable of sending an email to a user. But where I am still facing an issue is, how to *capture the admin-dashboard events* that is* once the admin approves/rejects and clicks on the complete button*, i need to invoke email sending service in esb with the appropriate admin response. How do I achieve this? Any help will be greatly appreciated P.s : I am looking into the source code and trying to modify it to suit my situation, but things are not going in my way. -- View this message in context: http://wso2-oxygen-tank.10903.n7.nabble.com/Customizing-Workflows-in-wso2-API-Manager-tp121859.html Sent from the WSO2 Development mailing list archive at Nabble.com. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Customizing Workflows in wso2 API Manager
Hi Rohith, When Considering API Manager with workflows, If you want to send an email to the approved user where the admin approves the event you can implement a custom executor extending the workflow executor class of the particular event e.g. If you want to send an email to the user when the admin approves the Application registraion you can create a custom executor calss extending ApplicationRegistrationWSWorkflowExecutor. There you can override execute(WorkflowDTO workflowDTO) method and achieve that as follows. @Override public void execute(WorkflowDTO workflowDTO) throws WorkflowException { ApplicationRegistrationWorkflowDTO appDTO = (ApplicationRegistrationWorkflowDTO) workflowDTO; String emailSubject = appDTO.getKeyType() + Application Registration; String emailText = Appplication + appDTO.getApplication().getName() + is registered for + appDTO.getKeyType() + key by user + appDTO.getUserName(); try { //Implementation of email sending here e.g. EmailSender.SendEmail Method } catch (MessagingException e) { // TODO Auto-generated catch block e.printStackTrace(); } //SEND EMAIL super.execute(workflowDTO); } We can use this way to send emails to the admin user as well. On Fri, Jul 17, 2015 at 12:35 PM, rohit rohitab...@gmail.com wrote: Hello All, I have been working on wso2 API Manager for some time now. I have added a user sign up workflow to it. Now the problem that I am facing is this : I have a scenario wherein, once the admin approves the request from the admin-dashboard, that is admin can either Approve/Reject the sign up request. Once he does so, an email must be sent to the appropriate user. This is what I need to achieve. (I have also tried the customized subscription workflow provided by wso2, and recieved an email whenever I subscribe to an API, But here the email was sent without any human intervention. There is a SubscriptionWorkflowDTO class that contains information about suscriptions created) Now I have created a service in esb that is capable of sending an email to a user. But where I am still facing an issue is, how to *capture the admin-dashboard events* that is* once the admin approves/rejects and clicks on the complete button*, i need to invoke email sending service in esb with the appropriate admin response. How do I achieve this? Any help will be greatly appreciated P.s : I am looking into the source code and trying to modify it to suit my situation, but things are not going in my way. -- View this message in context: http://wso2-oxygen-tank.10903.n7.nabble.com/Customizing-Workflows-in-wso2-API-Manager-tp121859.html Sent from the WSO2 Development mailing list archive at Nabble.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%2027820391 4315942* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] BAM: new reports screens lose state
Hi Folks, Just playing with BAM and when I tools-report-add I lose data when I go back and forth between screens - follows is the scenario. Adding a table report - fill out step 1 (name of report, table name, field names etc.) click next. On step 2 click back which takes me back to step 1 but all the data has been lost. I tried this same scenario when creating a bar chart report type as well - it too loses *some* data when I go back from step 2 to step 1 - but it does retain just the name. I haven't tried any of the other report types but I'm guessing that they need to be checked too to ensure that data gets shown when moving between steps? I don't know what method we use for retaining data between screens but it doesn't appear to be consistent across report types? Shall I create a JIRA or has someone already noted/tackled this (I'm using BAM release 2.5) many thanks ! John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [MB] puppet scripts/modules
Hi Ramith, Yes. No problem. But we have planned to have a separate repo for each puppet module. But for now you can commit the MB module there. On Fri, Jul 17, 2015 at 7:37 AM, Ramith Jayasinghe ram...@wso2.com wrote: Hi Manula, It seems [1] is the place we maintain puppet modules for products. Shall we commit MB puppet modules also there? [1] https://github.com/wso2/Puppet-Modules regards -- Ramith Jayasinghe Technical Lead WSO2 Inc., http://wso2.com lean.enterprise.middleware -- Regards, Manula Waidyanatha Systems Engineer, WSO2, Inc. Phone: +94 774 195853 Blog: blog.manula.org ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] How to handle QOS Security for servlet request
Hi devs, I have a requirement to authenticate users for my service. and also I'm not using axis2 for my service. It's a simple web app. Is there a way to access service configs (QOS security) from backend to write a callback handler for my servlet. Any help on this matter is highly appreciated. Thanks, Madhawa -- *Madhawa Gunasekara* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 719411002 +94+719411002 blog: *http://madhawa-gunasekara.blogspot.com http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [dev] [cashboard Connector] HTTP/1.1 401 Unauthorized erro
Hi All, I’m trying get auth through esb connector but I'm getting the [1] error but as mentioned in Readme file i added [2] and in the request i tried with Content-Type application/xml and without in header but error is repeating. but test cases are working for credentials [1] [2015-07-17 14:53:05,989] WARN - SequenceMediator onError handler : faultHandlerSeq for sequence : null cannot be found [2015-07-17 14:53:05,997] DEBUG - headers http-outgoing-4 POST /account/auth HTTP/1.1 [2015-07-17 14:53:05,998] DEBUG - headers http-outgoing-4 cookie: menuPanel=visible; menuPanelType=main; region3_registry_menu=none; region1_manage_menu=visible; wso2.carbon.rememberme=admin-edd93278-6bb8-4c1e-a125-e1a68fda90a3; JSESSIONID=F27885DC357E102C7716ACB2B7A60F16; requestedURI=../../carbon/admin/index.jsp; region1_configure_menu=none; region4_monitor_menu=none; region5_tools_menu=none; current-breadcrumb=manage_menu%2Cmediation_menu%2Cconfig_menu%23configadmin+index.jsp*; MSG14371098586160.4839721793267453=true; MSG14371109157250.2970512011319284=true; MSG14371127261360.8698314854355778=true [2015-07-17 14:53:05,998] DEBUG - headers http-outgoing-4 cache-control: no-cache [2015-07-17 14:53:05,998] DEBUG - headers http-outgoing-4 accept-language: null [2015-07-17 14:53:05,998] DEBUG - headers http-outgoing-4 accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 [2015-07-17 14:53:05,998] DEBUG - headers http-outgoing-4 accept-encoding: gzip, deflate [2015-07-17 14:53:05,998] DEBUG - headers http-outgoing-4 Content-Type: application/xml [2015-07-17 14:53:05,998] DEBUG - headers http-outgoing-4 pragma: no-cache [2015-07-17 14:53:05,998] DEBUG - headers http-outgoing-4 Transfer-Encoding: chunked [2015-07-17 14:53:05,998] DEBUG - headers http-outgoing-4 Host: api.wso2connectortest.cashboardapp.com:443 [2015-07-17 14:53:05,998] DEBUG - headers http-outgoing-4 Connection: Keep-Alive [2015-07-17 14:53:05,998] DEBUG - headers http-outgoing-4 User-Agent: Synapse-PT-HttpComponents-NIO [2015-07-17 14:53:06,259] DEBUG - headers http-outgoing-4 HTTP/1.1 401 Unauthorized [2015-07-17 14:53:06,260] DEBUG - headers http-outgoing-4 Content-Type: text/html; charset=utf-8 [2015-07-17 14:53:06,260] DEBUG - headers http-outgoing-4 Content-Length: 1 [2015-07-17 14:53:06,260] DEBUG - headers http-outgoing-4 Connection: keep-alive [2015-07-17 14:53:06,260] DEBUG - headers http-outgoing-4 Status: 401 Unauthorized [2015-07-17 14:53:06,261] DEBUG - headers http-outgoing-4 X-Runtime: 1 [2015-07-17 14:53:06,261] DEBUG - headers http-outgoing-4 Set-Cookie: session=39e8c677ae9f4b276ec03ee8b7954022; domain=.cashboardapp.com; path=/; HttpOnly [2015-07-17 14:53:06,261] DEBUG - headers http-outgoing-4 Set-Cookie: _session_id=55f0b47acf3f1ac03abfa0e09979fd78; domain=.cashboardapp.com; path=/; HttpOnly [2015-07-17 14:53:06,261] DEBUG - headers http-outgoing-4 Cache-Control: no-cache [2015-07-17 14:53:06,262] DEBUG - headers http-outgoing-4 X-Powered-By: Phusion Passenger 4.0.30 [2015-07-17 14:53:06,262] DEBUG - headers http-outgoing-4 Date: Fri, 17 Jul 2015 09:23:05 GMT [2015-07-17 14:53:06,262] DEBUG - headers http-outgoing-4 Server: nginx/1.4.4 + Phusion Passenger 4.0.30 [2015-07-17 14:53:06,267] WARN - SequenceMediator onError handler : faultHandlerSeq for sequence : null cannot be found [2015-07-17 14:53:06,272] INFO - LogMediator To: , WSAction: , SOAPAction: , MessageID: urn:uuid:0719e31a-64cd-4120-9264-a7f2ce605fec, Direction: response, MESSAGE = Executing default 'fault' sequence, ERROR_CODE = 0, ERROR_MESSAGE = java.lang.NullPointerException, Envelope: ?xml version='1.0' encoding='utf-8'?soapenv:Envelope xmlns:soapenv= http://www.w3.org/2003/05/soap-envelope;soapenv:Bodyns:binary xmlns:ns= http://ws.apache.org/commons/ns/payload IA==/ns:binary/soapenv:Body/soapenv:Envelope [2] messageFormatter contentType=text/html class=org.wso2.carbon.relay.ExpandingMessageFormatter/ messageBuilder contentType=text/html class=org.wso2.carbon.relay.BinaryRelayBuilder/ messageFormatter contentType=application/pdf class=org.wso2.carbon.relay.ExpandingMessageFormatter/ messageBuilder contentType=application/pdf class=org.wso2.carbon.relay.BinaryRelayBuilder/ -- Thank you Best Regards Rajjaz HM Associate Software Engineer WSO2 Inc. http://wso2.com/ lean | enterprise | middleware Mobile : +94752833834 Email :raj...@wso2.com LinkedIn | Blogger | WSO2 Profile http://wso2.com/about/team/mohammer_rajjaz/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] User profile management - getNameAssociatedWith
Hi Ishara, Scenario I'm trying is as follows. I'm trying to test the associated ID functionality regarding the UserProfileMgtService in App Server. Therefore to test the same I have to create an IDP first with basic details. I have successfully tested the following operations. 1. associateID 2. getAssociatedIDs 3. removeAssociateID However I'm unable to get a value with getNameAssociatedWith. I have logged in to my AuthenticatorClient using default admin credentials. Can you please provide some related documentation or an article regarding the associated ID functionality? I would like to further analyse this scenario in depth. Thanks, Suhan On Fri, Jul 17, 2015 at 12:05 PM, Ishara Karunarathna isha...@wso2.com wrote: Hi Suhan, On Fri, Jul 17, 2015 at 10:41 AM, Suhan Dharmasuriya suh...@wso2.com wrote: Hi Ishara, Thank you for the guidance. Is it necessary to set the same resident IDP certificate to the IDP that we are creating [1] [@109]? If not, will it affect the retrieval of the Associated name functionality? There shouldn't be a affect with certificate with Associated ID functionality. I'm not clear what your are going to do.Better if you explain what your are going to do here. I'm trying to get the resident IDP in App Server but unable to do so. Therefore when creating the new IDP, I tried with setting up a dummy certificate value with BASE64 encoded. [1] https://github.com/wso2/product-is/blob/7c3cbe328ea37ecbbee995a9528d4de44495e633/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/identity/mgt/IdentityProviderMgtServiceTestCase.java Thanks, Suhan On Wed, Jul 15, 2015 at 6:07 PM, Ishara Karunarathna isha...@wso2.com wrote: Hi, On Wed, Jul 15, 2015 at 5:46 PM, Suhan Dharmasuriya suh...@wso2.com wrote: Hi, What is the functionality of $subject? If you did an account association. Sending Associated IDP, Associated subject ID you can get the Associated users (Who exist in the user store) user name. Thanks, Ishara I'm observing this operation inside UserProfileMgtService [1] when admin services are exposed in App Server latest build. I have added an IdP with basic details [2]. mgt:identityProvider xsd:aliashttps://localhost:9443/oauth2/token//xsd:alias xsd:certificateBASE64 encoded String goes here/xsd:certificate xsd:displayNameSample IdP/xsd:displayName xsd:enabletrue/xsd:enable xsd:federationHubfalse/xsd:federationHub xsd:homeRealmIdlocalhost/xsd:homeRealmId xsd:identityProviderDescriptionSample Description/xsd:identityProviderDescription xsd:identityProviderNameTestIdP/xsd:identityProviderName xsd:primarytrue/xsd:primary xsd:provisioningRoletest/xsd:provisioningRole /mgt:identityProvider After performing associateID operation, I tried to call the getNameAssociatedWith through my custom client but getting a null object. Relevant sql is as follows [3]. sql = SELECT DOMAIN_NAME, USER_NAME FROM IDN_ASSOCIATED_ID WHERE TENANT_ID = ? AND IDP_ID = (SELECT ID + FROM IDP WHERE NAME = ? AND TENANT_ID = ?) AND IDP_USER_ID = ?; [1] https://localhost:9443/services/UserProfileMgtService?wsdl [2] https://github.com/wso2/carbon-identity/blob/master/components/idp-mgt/org.wso2.carbon.idp.mgt/src/main/java/org/wso2/carbon/idp/mgt/IdentityProviderManagementService.java [3] https://github.com/wso2/carbon-identity/blob/master/components/user-mgt/org.wso2.carbon.identity.user.profile/src/main/java/org/wso2/carbon/identity/user/profile/mgt/UserProfileAdmin.java Thanks, Suhan -- Suhan Dharmasuriya Software Engineer - Test Automation *WSO2, Inc. * lean . enterprise . middleware Tel: +94 112 145345 Mob: +94 779 869138 Blog: http://suhan-opensource.blogspot.com/ -- Ishara Karunarathna Senior Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: isha...@wso2.com, blog: isharaaruna.blogspot.com, mobile: +94717996791 -- Suhan Dharmasuriya Software Engineer - Test Automation *WSO2, Inc. * lean . enterprise . middleware Tel: +94 112 145345 Mob: +94 779 869138 Blog: http://suhan-opensource.blogspot.com/ -- Ishara Karunarathna Senior Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: isha...@wso2.com, blog: isharaaruna.blogspot.com, mobile: +94717996791 -- Suhan Dharmasuriya Software Engineer - Test Automation *WSO2, Inc. * lean . enterprise . middleware Tel: +94 112 145345 Mob: +94 779 869138 Blog: http://suhan-opensource.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Customizing Workflows in wso2 API Manager
Well Thank you sir, the *AbstractApplicationRegistrationWorkflowExecutor* class contains the workFlowDTO status for Application Registration events, but what I'm keen on capturing is *UserSignUp *events. Is there a way to do that? If that is the case, then may be according to you suggestion I can get the status. Do i need to implement such class definition for my kind of scenario? -- View this message in context: http://wso2-oxygen-tank.10903.n7.nabble.com/Customizing-Workflows-in-wso2-API-Manager-tp121859p121870.html Sent from the WSO2 Development mailing list archive at Nabble.com. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Customizing Workflows in wso2 API Manager
Adding more, Please refer public void complete(WorkflowDTO workFlowDTO) method starting from line 63 in [1] [1] https://github.com/wso2/carbon-apimgt/blob/f517aed904f44b093ce87a392f2fe65a5ff01713/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/workflow/AbstractApplicationRegistrationWorkflowExecutor.java On Fri, Jul 17, 2015 at 3:31 PM, Chamalee De Silva chama...@wso2.com wrote: Hi Rohit, Well. In our API Manager source code *AbstractApplicationRegistrationWorkflowExecutor.java *checks the status of the workFlowDTO status. Whether it is created, rejected or approved. According to that we perform the operations like updating the database and updating the UI with messages. So I think you can use the class [1] to achieve your purpose. [1] https://github.com/wso2/carbon-apimgt/blob/f517aed904f44b093ce87a392f2fe65a5ff01713/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/workflow/AbstractApplicationRegistrationWorkflowExecutor.java On Fri, Jul 17, 2015 at 2:38 PM, rohit rohitab...@gmail.com wrote: Respected Sir thank you so much for your prompt reply. However in your sample code you are using, *ApplicationRegistrationWorkflowDTO *class which contains the necessary details about application registration as well as in the worflow sample in wso2 documentation, they are using the *SubscriptionWorkflowDTO* class which contains information about the subscription which is being created. Similarly what I am looking for is *one such class which contains the details of admin approval/reject events*, so that I can extend that class and write my logic that needs to be implemented. I have created a user sign up workflow and the sign up request goes to Admin Dashboard Web application (https://Server Host:9443/admin-dashboard) provided by wso2. What I wanted to know is that If I could capture the admin approval/reject events from a href=quot;https://lt;Server Host:9443/admin-dashboardhttps://Server Host:9443/admin-dashboard and its response so that I can send an email notification to a user telling him whether his request has been approved/rejected. Please tell me if it is possible or what is the workaround to achieve to achieve this? Thanks in advance. -- View this message in context: http://wso2-oxygen-tank.10903.n7.nabble.com/Customizing-Workflows-in-wso2-API-Manager-tp121859p121865.html Sent from the WSO2 Development mailing list archive at Nabble.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%2027820391 4315942* -- 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%2027820391 4315942* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] User profile management - getNameAssociatedWith
HI On Fri, Jul 17, 2015 at 4:00 PM, Suhan Dharmasuriya suh...@wso2.com wrote: Hi Ishara, Scenario I'm trying is as follows. I'm trying to test the associated ID functionality regarding the UserProfileMgtService in App Server. Therefore to test the same I have to create an IDP first with basic details. I have successfully tested the following operations. 1. associateID 2. getAssociatedIDs 3. removeAssociateID However I'm unable to get a value with getNameAssociatedWith. I have logged in to my AuthenticatorClient using default admin credentials. Can you please provide some related documentation or an article regarding the associated ID functionality? You will find it here[1]. [1] http://daytodayjava.blogspot.com/2015/04/manage-user-account-associations.html I would like to further analyse this scenario in depth. Thanks, Suhan On Fri, Jul 17, 2015 at 12:05 PM, Ishara Karunarathna isha...@wso2.com wrote: Hi Suhan, On Fri, Jul 17, 2015 at 10:41 AM, Suhan Dharmasuriya suh...@wso2.com wrote: Hi Ishara, Thank you for the guidance. Is it necessary to set the same resident IDP certificate to the IDP that we are creating [1] [@109]? If not, will it affect the retrieval of the Associated name functionality? There shouldn't be a affect with certificate with Associated ID functionality. I'm not clear what your are going to do.Better if you explain what your are going to do here. I'm trying to get the resident IDP in App Server but unable to do so. Therefore when creating the new IDP, I tried with setting up a dummy certificate value with BASE64 encoded. [1] https://github.com/wso2/product-is/blob/7c3cbe328ea37ecbbee995a9528d4de44495e633/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/identity/mgt/IdentityProviderMgtServiceTestCase.java Thanks, Suhan On Wed, Jul 15, 2015 at 6:07 PM, Ishara Karunarathna isha...@wso2.com wrote: Hi, On Wed, Jul 15, 2015 at 5:46 PM, Suhan Dharmasuriya suh...@wso2.com wrote: Hi, What is the functionality of $subject? If you did an account association. Sending Associated IDP, Associated subject ID you can get the Associated users (Who exist in the user store) user name. Thanks, Ishara I'm observing this operation inside UserProfileMgtService [1] when admin services are exposed in App Server latest build. I have added an IdP with basic details [2]. mgt:identityProvider xsd:aliashttps://localhost:9443/oauth2/token/ /xsd:alias xsd:certificateBASE64 encoded String goes here/xsd:certificate xsd:displayNameSample IdP/xsd:displayName xsd:enabletrue/xsd:enable xsd:federationHubfalse/xsd:federationHub xsd:homeRealmIdlocalhost/xsd:homeRealmId xsd:identityProviderDescriptionSample Description/xsd:identityProviderDescription xsd:identityProviderNameTestIdP/xsd:identityProviderName xsd:primarytrue/xsd:primary xsd:provisioningRoletest/xsd:provisioningRole /mgt:identityProvider After performing associateID operation, I tried to call the getNameAssociatedWith through my custom client but getting a null object. Relevant sql is as follows [3]. sql = SELECT DOMAIN_NAME, USER_NAME FROM IDN_ASSOCIATED_ID WHERE TENANT_ID = ? AND IDP_ID = (SELECT ID + FROM IDP WHERE NAME = ? AND TENANT_ID = ?) AND IDP_USER_ID = ?; [1] https://localhost:9443/services/UserProfileMgtService?wsdl [2] https://github.com/wso2/carbon-identity/blob/master/components/idp-mgt/org.wso2.carbon.idp.mgt/src/main/java/org/wso2/carbon/idp/mgt/IdentityProviderManagementService.java [3] https://github.com/wso2/carbon-identity/blob/master/components/user-mgt/org.wso2.carbon.identity.user.profile/src/main/java/org/wso2/carbon/identity/user/profile/mgt/UserProfileAdmin.java Thanks, Suhan -- Suhan Dharmasuriya Software Engineer - Test Automation *WSO2, Inc. * lean . enterprise . middleware Tel: +94 112 145345 Mob: +94 779 869138 Blog: http://suhan-opensource.blogspot.com/ -- Ishara Karunarathna Senior Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: isha...@wso2.com, blog: isharaaruna.blogspot.com, mobile: +94717996791 -- Suhan Dharmasuriya Software Engineer - Test Automation *WSO2, Inc. * lean . enterprise . middleware Tel: +94 112 145345 Mob: +94 779 869138 Blog: http://suhan-opensource.blogspot.com/ -- Ishara Karunarathna Senior Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: isha...@wso2.com, blog: isharaaruna.blogspot.com, mobile: +94717996791 -- Suhan Dharmasuriya Software Engineer - Test Automation *WSO2, Inc. * lean . enterprise . middleware Tel: +94 112 145345 Mob: +94 779 869138 Blog: http://suhan-opensource.blogspot.com/ -- Ishara Karunarathna Senior Software Engineer WSO2 Inc. - lean .
[Dev] kafka UI improvement (ESBJAVA-3915)
Hi Malaka, Please review and merge PR[1] for $subject. [1] https://github.com/wso2/carbon-mediation/pull/294 Thank you -- Shakila Sivagnanarajah Associate Software Engineer Mobile :+94 (0) 770 760240 shak...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Registry search doesn't return the expected results with combinations of space and *
Hi Tanya, The issue is fixed now. You can check this against 4.5.2-SNAPSHOT carbon-governance. Shazni Nazeer Mob : +94 37331 LinkedIn : http://lk.linkedin.com/in/shazninazeer Blog : http://shazninazeer.blogspot.com On Thu, Jul 16, 2015 at 12:18 PM, Tanya Madurapperuma ta...@wso2.com wrote: Reopened [1] [1] https://wso2.org/jira/browse/REGISTRY-2596 Thanks, Tanya On Thu, Jul 16, 2015 at 12:01 PM, Tanya Madurapperuma ta...@wso2.com wrote: Hi Greg team, In the management console if we perform an advanced search (Advance Filter) with * and space in the search text, it doesn't return the expected results. Please see the following observations. *pie chart* - returns nothing *pie chart- returns nothing pie chart*- returns nothing *pie - returns nothing *pie cha* - returns nothing pie cha* - returns nothing *ie* - works *pie* - works Appreciate if you could fix this since we need this feature for the ES release. Thanks, Tanya -- Tanya Madurapperuma Senior Software Engineer, WSO2 Inc. : wso2.com Mobile : +94718184439 Blog : http://tanyamadurapperuma.blogspot.com -- Tanya Madurapperuma Senior Software Engineer, WSO2 Inc. : wso2.com Mobile : +94718184439 Blog : http://tanyamadurapperuma.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Customizing Workflows in wso2 API Manager
Respected Sir thank you so much for your prompt reply. However in your sample code you are using, *ApplicationRegistrationWorkflowDTO *class which contains the necessary details about application registration as well as in the worflow sample in wso2 documentation, they are using the *SubscriptionWorkflowDTO* class which contains information about the subscription which is being created. Similarly what I am looking for is *one such class which contains the details of admin approval/reject events*, so that I can extend that class and write my logic that needs to be implemented. I have created a user sign up workflow and the sign up request goes to Admin Dashboard Web application (https://Server Host:9443/admin-dashboard) provided by wso2. What I wanted to know is that If I could capture the admin approval/reject events from a href=quot;https://lt;Server Host:9443/admin-dashboardhttps://Server Host:9443/admin-dashboard and its response so that I can send an email notification to a user telling him whether his request has been approved/rejected. Please tell me if it is possible or what is the workaround to achieve to achieve this? Thanks in advance. -- View this message in context: http://wso2-oxygen-tank.10903.n7.nabble.com/Customizing-Workflows-in-wso2-API-Manager-tp121859p121865.html Sent from the WSO2 Development mailing list archive at Nabble.com. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Customizing Workflows in wso2 API Manager
Hi Rohit, Well. In our API Manager source code *AbstractApplicationRegistrationWorkflowExecutor.java *checks the status of the workFlowDTO status. Whether it is created, rejected or approved. According to that we perform the operations like updating the database and updating the UI with messages. So I think you can use the class [1] to achieve your purpose. [1] https://github.com/wso2/carbon-apimgt/blob/f517aed904f44b093ce87a392f2fe65a5ff01713/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/workflow/AbstractApplicationRegistrationWorkflowExecutor.java On Fri, Jul 17, 2015 at 2:38 PM, rohit rohitab...@gmail.com wrote: Respected Sir thank you so much for your prompt reply. However in your sample code you are using, *ApplicationRegistrationWorkflowDTO *class which contains the necessary details about application registration as well as in the worflow sample in wso2 documentation, they are using the *SubscriptionWorkflowDTO* class which contains information about the subscription which is being created. Similarly what I am looking for is *one such class which contains the details of admin approval/reject events*, so that I can extend that class and write my logic that needs to be implemented. I have created a user sign up workflow and the sign up request goes to Admin Dashboard Web application (https://Server Host:9443/admin-dashboard) provided by wso2. What I wanted to know is that If I could capture the admin approval/reject events from a href=quot;https://lt;Server Host:9443/admin-dashboardhttps://Server Host:9443/admin-dashboard and its response so that I can send an email notification to a user telling him whether his request has been approved/rejected. Please tell me if it is possible or what is the workaround to achieve to achieve this? Thanks in advance. -- View this message in context: http://wso2-oxygen-tank.10903.n7.nabble.com/Customizing-Workflows-in-wso2-API-Manager-tp121859p121865.html Sent from the WSO2 Development mailing list archive at Nabble.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%2027820391 4315942* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Customizing Workflows in wso2 API Manager
Hi Rohith, I think the best way is to refer the source code well. There are workflow executor classes for each of the workflows that we are supporting. If you browse through the workflow directory under carbon-apimgt https://github.com/wso2/carbon-apimgt/tree/f517aed904f44b093ce87a392f2fe65a5ff01713 /components https://github.com/wso2/carbon-apimgt/tree/f517aed904f44b093ce87a392f2fe65a5ff01713/components /apimgt https://github.com/wso2/carbon-apimgt/tree/f517aed904f44b093ce87a392f2fe65a5ff01713/components/apimgt /org.wso2.carbon.apimgt.impl https://github.com/wso2/carbon-apimgt/tree/f517aed904f44b093ce87a392f2fe65a5ff01713/components/apimgt/org.wso2.carbon.apimgt.impl /src https://github.com/wso2/carbon-apimgt/tree/f517aed904f44b093ce87a392f2fe65a5ff01713/components/apimgt/org.wso2.carbon.apimgt.impl/src /main https://github.com/wso2/carbon-apimgt/tree/f517aed904f44b093ce87a392f2fe65a5ff01713/components/apimgt/org.wso2.carbon.apimgt.impl/src/main /java https://github.com/wso2/carbon-apimgt/tree/f517aed904f44b093ce87a392f2fe65a5ff01713/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java /org https://github.com/wso2/carbon-apimgt/tree/f517aed904f44b093ce87a392f2fe65a5ff01713/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org /wso2 https://github.com/wso2/carbon-apimgt/tree/f517aed904f44b093ce87a392f2fe65a5ff01713/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2 /carbon https://github.com/wso2/carbon-apimgt/tree/f517aed904f44b093ce87a392f2fe65a5ff01713/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon /apimgt https://github.com/wso2/carbon-apimgt/tree/f517aed904f44b093ce87a392f2fe65a5ff01713/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt /impl https://github.com/wso2/carbon-apimgt/tree/f517aed904f44b093ce87a392f2fe65a5ff01713/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl you can find the implementations for *user signup workflow* where you can get the *status of the workflow. * As an example in *UserSignUpSimpleWorkflowExecutor.java *you can see the same* complete() method *for user sign up which I mentioned earlier. So go through them and do your implementations using them. On Fri, Jul 17, 2015 at 3:37 PM, rohit rohitab...@gmail.com wrote: Well Thank you sir, the *AbstractApplicationRegistrationWorkflowExecutor* class contains the workFlowDTO status for Application Registration events, but what I'm keen on capturing is *UserSignUp *events. Is there a way to do that? If that is the case, then may be according to you suggestion I can get the status. Do i need to implement such class definition for my kind of scenario? -- View this message in context: http://wso2-oxygen-tank.10903.n7.nabble.com/Customizing-Workflows-in-wso2-API-Manager-tp121859p121870.html Sent from the WSO2 Development mailing list archive at Nabble.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%2027820391 4315942* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [dev] [cashboard Connector] HTTP/1.1 401 Unauthorized erro
Hi Rajjaz, I think, according to your init method it is enough to give your correct email address ,subdomain and the password that is the API key you need to get from the API. and send those parameters in a json format through REST consider when you send the parameters through REST set the header as content type -application/json Thank you On Fri, Jul 17, 2015 at 6:57 PM, Rajjaz Mohammed raj...@wso2.com wrote: is there any solution -- Forwarded message -- From: Rajjaz Mohammed raj...@wso2.com Date: Fri, Jul 17, 2015 at 6:14 PM Subject: Re: [Dev] [dev] [cashboard Connector] HTTP/1.1 401 Unauthorized erro To: Malaka Silva mal...@wso2.com if i run other methods without init method [2] then i got error [3]. something problem in url format [2] HTTP 401 (UNAUTHORIZED) - You can't login because your login has been archived. [3][2015-07-17 18:10:46,097] ERROR - ClientUtils The system cannot infer the transport information from the {+uri.var.apiUrl}/client_contacts.{+uri.var.format} URL. [2015-07-17 18:10:46,098] ERROR - Axis2Sender Unexpected error during sending message out org.apache.axis2.AxisFault: The system cannot infer the transport information from the {+uri.var.apiUrl}/client_contacts.{+uri.var.format} URL. at org.apache.axis2.description.ClientUtils.inferOutTransport(ClientUtils.java:81) at org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.executeImpl(DynamicAxisOperation.java:115) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149) at org.apache.synapse.core.axis2.Axis2FlexibleMEPClient.send(Axis2FlexibleMEPClient.java:482) at org.apache.synapse.core.axis2.Axis2Sender.sendOn(Axis2Sender.java:59) at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:338) at org.apache.synapse.endpoints.AbstractEndpoint.send(AbstractEndpoint.java:333) at org.apache.synapse.endpoints.HTTPEndpoint.send(HTTPEndpoint.java:79) at org.apache.synapse.mediators.builtin.CallMediator.mediate(CallMediator.java:114) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47) at org.apache.synapse.mediators.template.TemplateMediator.mediate(TemplateMediator.java:77) at org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:129) at org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:78) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47) at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131) at org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:166) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146) at org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:231) at javax.servlet.http.HttpServlet.service(HttpServlet.java:755) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at
[Dev] [CEP 3.1.0]
Hi Nirmal, I am unable to import TimeStampSiddhiQueue in Siddhi 2.2.x. What could be the possible reason? Thanks *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [GSoC-2015][Help]
Hi Lasantha, This is what I am looking for. I will update if I am getting any issues. Thanks *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 18 July 2015 at 01:56, Lasantha Fernando lasan...@wso2.com wrote: Hi Pranavan, Actually I missed pointing this out in the earlier mail, the thing is, if you are using output rate limiting, your window should act more like a sliding window. You can refer to the implementation within Siddhi at [1]. Looking at the code you have already written, it seems your CurveFinderWindowProcessor is based on the Siddhi TimeBatchWindowProcessor. The issue in that implementation is that it will output the events once they are expired only. i.e. for a 10 min window it will output the events received within that specific 10 mins as a batch at the end of the window time period. For output rate limiting of 1 min to work, your extension would have to act more similar to a sliding window (similar to the implementation in [1]). For example, if you write your curve fitting window to be similar to a sliding window, then whenever a new event comes, you can recalculate the curve function after ejecting any expired events and taking into consideration the new event. Then you can output the newly calculated values for the curve immediately. But since you have put an output rate limiter of 1 min in front, the events would actually come out of the query every 1 min. Will that approach work for your usecase? However, please note that if there are other specific requirements when implementing this CurveFitting extension, it might be efficient to implement this logic within your window processor extension itself. In that case, what you can do is implement the logic to pass the events to next processor at 1 min intervals, but still keep the events in the window itself for 10 min. e.g. Keep the window size to 10 min, but make the window processing be scheduled for 1 min interval. Then at the the time of calling the nextProcessor.process(event) method, do an additional check to see if the event is older for 1 min and dispatch to the next processor. You might have to maintain additional queues to know which events have been dispatched, but still in the window and which events are in window and not yet dispatched. The sum of the events in both those queues will be the actual window. I am simply suggesting an alternative approach here that might work.If you need to go with CustomWindow hanldes all approach. You might have to figure out other implementation details and adjust the design accordingly. Can you consider the above 2 approaches suggested/any other feasible approaches and decide which is more appropriate taking into consideration the usecase for this extension as well? [1] https://github.com/wso2/siddhi/blob/2.2.x/modules/siddhi-core/src/main/java/org/wso2/siddhi/core/query/processor/window/TimeWindowProcessor.java Thanks, Lasantha On 17 July 2015 at 09:51, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi Lasantha, I am using it. But I have some problems in getting the snapshot events of 1 minute. Can you tell me a method how can I get those? Thanks *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 16 July 2015 at 11:32, Lasantha Fernando lasan...@wso2.com wrote: [Please copy dev list as well so that we can get input/feedback from a wider community in any discussions] Hi Pranavan, If you want to output every 1 min, you can use output rate limiting of Siddhi [1]. i.e. Keep a window of 10 min, and put output rate limiting to output all every 1 min. Will that work for your usecase? Can you write your curve fitting extension as a normal sliding time window and then put output rate limiting in front of that window and see if that fits your usecase? [1] https://docs.wso2.com/display/CEP310/Output+Rate+Limiting Thanks, Lasantha On 15 July 2015 at 20:41, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi Lasantha, The thing is that I have a window of 10 min. I am outputiing the events every one min. So I need to save the events as ten chunks of event lists. ( 10 lists of events) ? Is that possible? Thanks *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 15 July 2015 at 11:34, Lasantha Fernando lasan...@wso2.com wrote: Hi Pranavan, Can you elaborate more on what you mean by keeping the events in 10 blocks and removing and adding of 1 min of events? If you need to output when 10 events are accumulated, then you have to write that logic where nextProcessor.process() is called in the run() method. However, that would be similar to a length batch window, and you won't be able to introduce any time constraint. If you want to process
Re: [Dev] Can't login as tenant in publisher
Hi Lalaji/Dhanuka/Harsha, Have you guys tried out tenant scenarios with the new extension model? Asking this to narrow down possible issues since we haven't encounted this issue within ES pack. Regards, UdaraR On Sat, Jul 18, 2015 at 5:33 AM, Shazni Nazeer sha...@wso2.com wrote: Hi Sameera, Thanks for the response. The problem in concern is to have the ability to login into tenants in the default pack. Setting useTenantKey true manually also solves the problem of inability to login to tenants (But not the issue of inability to login to publisher after an unsuccessful attempt, needing a restart) Therefore, appreciate if this could be incorporated into es-feature by default, so that either the above mentioned useTenantKey attribute set to true or with your above mentioned work around. Shazni Nazeer Mob : +94 37331 LinkedIn : http://lk.linkedin.com/in/shazninazeer Blog : http://shazninazeer.blogspot.com On Fri, Jul 17, 2015 at 9:12 PM, Sameera Medagammaddegedara samee...@wso2.com wrote: Hi Shazni, As a temporary work around please set the active authentication method to basic in order to continue with development and QA. You can do this by: 1. Edit the publisher.json and change activeMethod to basic [1] 2. Edit the store.json and change activeMethod to basic [2] *Reference* [1] https://github.com/wso2/carbon-store/blob/master/apps/publisher/config/publisher.json#L50 [2] https://github.com/wso2/carbon-store/blob/master/apps/store/config/store.json#L27 On Fri, Jul 17, 2015 at 10:34 AM, Shazni Nazeer sha...@wso2.com wrote: Hi ES-team, In G-Reg publisher default pack, we are unable to login as a tenant. We get the exception shown in [3] in the console. And subsequently it's not possible to login to publisher by any means unless restarting the server. This turned out be due to useTenantKey attribute in repository/deployment/server/jaggeryapps/publisher/config/publisher.json and repository/deployment/server/jaggeryapps/store/config/store.json in publisher and store respectively being false. Unable to login into publisher and store as tenants in default pack is an issue for us. Further, after a failed attempt to login as a tenant, needing a restart is also an issue [1] Appreciate we could get this resolved so that a tenant can login in the default pack? [1] https://wso2.org/jira/browse/STORE-922 [2] https://wso2.org/jira/browse/REGISTRY-2687 [3] org.opensaml.xml.validation.ValidationException: Signature did not validate against the credential's key at org.opensaml.xml.signature.SignatureValidator.validate(SignatureValidator.java:78) at org.jaggeryjs.modules.sso.common.util.Util.validateSignature(Util.java:290) 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.NativeJavaMethod.call(NativeJavaMethod.java:225) at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52) at org.jaggeryjs.rhino.sso.scripts.c0._c_anonymous_3(sso/scripts/sso.client.js:55) at org.jaggeryjs.rhino.sso.scripts.c0.call(sso/scripts/sso.client.js) at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42) at org.jaggeryjs.rhino.publisher.controllers.c2._c_anonymous_1(/publisher/controllers/acs.jag:68) at org.jaggeryjs.rhino.publisher.controllers.c2.call(/publisher/controllers/acs.jag) at org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:23) at org.jaggeryjs.rhino.publisher.controllers.c2._c_script_0(/publisher/controllers/acs.jag:20) at org.jaggeryjs.rhino.publisher.controllers.c2.call(/publisher/controllers/acs.jag) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091) at org.jaggeryjs.rhino.publisher.controllers.c2.call(/publisher/controllers/acs.jag) at org.jaggeryjs.rhino.publisher.controllers.c2.exec(/publisher/controllers/acs.jag) at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567) at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273) at org.jaggeryjs.jaggery.core.manager.WebAppManager.exec(WebAppManager.java:587) at org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:507) at org.jaggeryjs.jaggery.core.JaggeryServlet.doPost(JaggeryServlet.java:29) at javax.servlet.http.HttpServlet.service(HttpServlet.java:646) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at
Re: [Dev] [CEP 3.1.0]
[Looping few CEP guys] On Sat, Jul 18, 2015 at 9:59 AM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi Nirmal, I am unable to import TimeStampSiddhiQueue in Siddhi 2.2.x. What could be the possible reason? Thanks *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 -- Thanks regards, Nirmal 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] [AppM] App manager-1.1.0 with Carbon 4.4.0 upgrade status
Hi Ruwan, Did we manage to fix this? Cheers, Prabath On Wed, Jul 15, 2015 at 7:54 PM, Ruwan Abeykoon ruw...@wso2.com wrote: Hi All, Yet another update on $subject The intermittent classloader issue could not be resolved yet. Here are few observations. The jaggery application calls the CarbonWebappClassloader to lookup a class in governance API bundle. This fails. However the same class is properly loaded via different bundle (Say WebappManagment) classloader which is not initially loaded via Tomcat/Jaggary app. No issue found in launch.ini. No apparent conflicting bundles or unsatisfied dependencies. There were few duplicate packaged exported by different bundles, but seems they are not causing the issue. I am working with Sameera to find the underlying cause. I am unable to create a PR with the version change due to above issue. Cheers, Ruwan On Wed, Jul 8, 2015 at 11:28 AM, Ruwan Abeykoon ruw...@wso2.com wrote: Hi Team, I would like to update you on $subject 1. All the module versions are bumped up to 1.1.0-SNAPSHOT 2. Removed all the carbon 4.2.0 and related features which depend on C 4.2.0 and added Carbon 4.4.0 kernel and other features compatible with Carbon 4.4.0 (registry, governance, mediation, Jaggery, etc). 3. Forked ES for C 4.4.0 version bump up, upgraded the dependencies, Had to change few classes in ES to be able to get it compatible with governance 4.5.1. 4. Changed few classes and jaggery files which needed to be changed due to method signature changes in registry (e.g. GenericArtifact.invokeAction(...)). Current Status with Carbon 4.4.0 1. AppM builds and starts successfully 2. Can create web applications, publish and subscribe. Present Issues which I am working on. 1. Intermittent, Classloader or similar issue in loading org.wso2.carbon.governance.api.generic [1] 2. Need to test most of other areas(mobile apps, policy, throttling) 3. At the moment, update synapse config to the gateway is failing. 4. Clean up the code which had experimental/debug code 5. Remove unwanted/duplicate jaggery modules [2] None of the changes are committed to any public repository yet. [1] Mail thread [Dev]Class Loading issue in Jaggery, Carbon 4.4.0 [2] Mail thread [Dev][AppM] Removing multiple modules directories -- *Ruwan Abeykoon* *Architect,* *WSO2, Inc. http://wso2.com http://wso2.com/ * *lean.enterprise.middleware.* email: ruw...@wso2.com phone:(+94) 39736 -- *Ruwan Abeykoon* *Architect,* *WSO2, Inc. http://wso2.com http://wso2.com/ * *lean.enterprise.middleware.* email: ruw...@wso2.com phone:(+94) 39736 -- Prabath Abeysekara Technical Lead WSO2 Inc. Email: praba...@wso2.com Mobile: +94774171471 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [dev] [cashboard Connector] HTTP/1.1 401 Unauthorized erro
Thank you sriashalya, for the header [1] is resolve the unauthorized error with some other so i hope i can resolve that errors. we need to both 3 headers in case cashboard according to test case setting. [1] Accept application/xmlContent-Type application/jsonAccept-CharsetUTF-8 On Sat, Jul 18, 2015 at 5:46 AM, NIFRAS ISMAIL nifrasism...@gmail.com wrote: Hi Rajjaz, These things need to concern https://api.cashboardapp.com/projects If you're on an older account plan that restricts the number of active projects you may encounter a HTTP 403 (FORBIDDEN) status code. Thank you Regards. *M. Nifras Ismail* [image: LinkedIn] http://lk.linkedin.com/pub/nifras-ismail/54/343/94b On Fri, Jul 17, 2015 at 10:14 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Rajjaz, I think, according to your init method it is enough to give your correct email address ,subdomain and the password that is the API key you need to get from the API. and send those parameters in a json format through REST consider when you send the parameters through REST set the header as content type -application/json Thank you On Fri, Jul 17, 2015 at 6:57 PM, Rajjaz Mohammed raj...@wso2.com wrote: is there any solution -- Forwarded message -- From: Rajjaz Mohammed raj...@wso2.com Date: Fri, Jul 17, 2015 at 6:14 PM Subject: Re: [Dev] [dev] [cashboard Connector] HTTP/1.1 401 Unauthorized erro To: Malaka Silva mal...@wso2.com if i run other methods without init method [2] then i got error [3]. something problem in url format [2] HTTP 401 (UNAUTHORIZED) - You can't login because your login has been archived. [3][2015-07-17 18:10:46,097] ERROR - ClientUtils The system cannot infer the transport information from the {+uri.var.apiUrl}/client_contacts.{+uri.var.format} URL. [2015-07-17 18:10:46,098] ERROR - Axis2Sender Unexpected error during sending message out org.apache.axis2.AxisFault: The system cannot infer the transport information from the {+uri.var.apiUrl}/client_contacts.{+uri.var.format} URL. at org.apache.axis2.description.ClientUtils.inferOutTransport(ClientUtils.java:81) at org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.executeImpl(DynamicAxisOperation.java:115) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149) at org.apache.synapse.core.axis2.Axis2FlexibleMEPClient.send(Axis2FlexibleMEPClient.java:482) at org.apache.synapse.core.axis2.Axis2Sender.sendOn(Axis2Sender.java:59) at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:338) at org.apache.synapse.endpoints.AbstractEndpoint.send(AbstractEndpoint.java:333) at org.apache.synapse.endpoints.HTTPEndpoint.send(HTTPEndpoint.java:79) at org.apache.synapse.mediators.builtin.CallMediator.mediate(CallMediator.java:114) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47) at org.apache.synapse.mediators.template.TemplateMediator.mediate(TemplateMediator.java:77) at org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:129) at org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:78) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47) at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131) at org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:166) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146) at org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:231) at javax.servlet.http.HttpServlet.service(HttpServlet.java:755) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at
Re: [Dev] [MB] puppet scripts/modules
Hi Manula, No problem, lets commit to the new location once we have it. On Fri, Jul 17, 2015 at 9:50 PM, Manula Waidyanatha man...@wso2.com wrote: Hi Ramith, Yes. No problem. But we have planned to have a separate repo for each puppet module. But for now you can commit the MB module there. On Fri, Jul 17, 2015 at 7:37 AM, Ramith Jayasinghe ram...@wso2.com wrote: Hi Manula, It seems [1] is the place we maintain puppet modules for products. Shall we commit MB puppet modules also there? [1] https://github.com/wso2/Puppet-Modules regards -- Ramith Jayasinghe Technical Lead WSO2 Inc., http://wso2.com lean.enterprise.middleware -- Regards, Manula Waidyanatha Systems Engineer, WSO2, Inc. Phone: +94 774 195853 Blog: blog.manula.org -- Ramith Jayasinghe Technical Lead WSO2 Inc., http://wso2.com lean.enterprise.middleware E: ram...@wso2.com P: +94 777542851 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [dev] [cashboard Connector] HTTP/1.1 401 Unauthorized erro
Hi Rajjaz, These things need to concern https://api.cashboardapp.com/projects If you're on an older account plan that restricts the number of active projects you may encounter a HTTP 403 (FORBIDDEN) status code. Thank you Regards. *M. Nifras Ismail* [image: LinkedIn] http://lk.linkedin.com/pub/nifras-ismail/54/343/94b On Fri, Jul 17, 2015 at 10:14 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Rajjaz, I think, according to your init method it is enough to give your correct email address ,subdomain and the password that is the API key you need to get from the API. and send those parameters in a json format through REST consider when you send the parameters through REST set the header as content type -application/json Thank you On Fri, Jul 17, 2015 at 6:57 PM, Rajjaz Mohammed raj...@wso2.com wrote: is there any solution -- Forwarded message -- From: Rajjaz Mohammed raj...@wso2.com Date: Fri, Jul 17, 2015 at 6:14 PM Subject: Re: [Dev] [dev] [cashboard Connector] HTTP/1.1 401 Unauthorized erro To: Malaka Silva mal...@wso2.com if i run other methods without init method [2] then i got error [3]. something problem in url format [2] HTTP 401 (UNAUTHORIZED) - You can't login because your login has been archived. [3][2015-07-17 18:10:46,097] ERROR - ClientUtils The system cannot infer the transport information from the {+uri.var.apiUrl}/client_contacts.{+uri.var.format} URL. [2015-07-17 18:10:46,098] ERROR - Axis2Sender Unexpected error during sending message out org.apache.axis2.AxisFault: The system cannot infer the transport information from the {+uri.var.apiUrl}/client_contacts.{+uri.var.format} URL. at org.apache.axis2.description.ClientUtils.inferOutTransport(ClientUtils.java:81) at org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.executeImpl(DynamicAxisOperation.java:115) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149) at org.apache.synapse.core.axis2.Axis2FlexibleMEPClient.send(Axis2FlexibleMEPClient.java:482) at org.apache.synapse.core.axis2.Axis2Sender.sendOn(Axis2Sender.java:59) at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:338) at org.apache.synapse.endpoints.AbstractEndpoint.send(AbstractEndpoint.java:333) at org.apache.synapse.endpoints.HTTPEndpoint.send(HTTPEndpoint.java:79) at org.apache.synapse.mediators.builtin.CallMediator.mediate(CallMediator.java:114) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47) at org.apache.synapse.mediators.template.TemplateMediator.mediate(TemplateMediator.java:77) at org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:129) at org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:78) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47) at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131) at org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:166) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146) at org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:231) at javax.servlet.http.HttpServlet.service(HttpServlet.java:755) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at
Re: [Dev] [GSoC-2015][Help]
Hi Pranavan, Actually I missed pointing this out in the earlier mail, the thing is, if you are using output rate limiting, your window should act more like a sliding window. You can refer to the implementation within Siddhi at [1]. Looking at the code you have already written, it seems your CurveFinderWindowProcessor is based on the Siddhi TimeBatchWindowProcessor. The issue in that implementation is that it will output the events once they are expired only. i.e. for a 10 min window it will output the events received within that specific 10 mins as a batch at the end of the window time period. For output rate limiting of 1 min to work, your extension would have to act more similar to a sliding window (similar to the implementation in [1]). For example, if you write your curve fitting window to be similar to a sliding window, then whenever a new event comes, you can recalculate the curve function after ejecting any expired events and taking into consideration the new event. Then you can output the newly calculated values for the curve immediately. But since you have put an output rate limiter of 1 min in front, the events would actually come out of the query every 1 min. Will that approach work for your usecase? However, please note that if there are other specific requirements when implementing this CurveFitting extension, it might be efficient to implement this logic within your window processor extension itself. In that case, what you can do is implement the logic to pass the events to next processor at 1 min intervals, but still keep the events in the window itself for 10 min. e.g. Keep the window size to 10 min, but make the window processing be scheduled for 1 min interval. Then at the the time of calling the nextProcessor.process(event) method, do an additional check to see if the event is older for 1 min and dispatch to the next processor. You might have to maintain additional queues to know which events have been dispatched, but still in the window and which events are in window and not yet dispatched. The sum of the events in both those queues will be the actual window. I am simply suggesting an alternative approach here that might work.If you need to go with CustomWindow hanldes all approach. You might have to figure out other implementation details and adjust the design accordingly. Can you consider the above 2 approaches suggested/any other feasible approaches and decide which is more appropriate taking into consideration the usecase for this extension as well? [1] https://github.com/wso2/siddhi/blob/2.2.x/modules/siddhi-core/src/main/java/org/wso2/siddhi/core/query/processor/window/TimeWindowProcessor.java Thanks, Lasantha On 17 July 2015 at 09:51, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi Lasantha, I am using it. But I have some problems in getting the snapshot events of 1 minute. Can you tell me a method how can I get those? Thanks *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 16 July 2015 at 11:32, Lasantha Fernando lasan...@wso2.com wrote: [Please copy dev list as well so that we can get input/feedback from a wider community in any discussions] Hi Pranavan, If you want to output every 1 min, you can use output rate limiting of Siddhi [1]. i.e. Keep a window of 10 min, and put output rate limiting to output all every 1 min. Will that work for your usecase? Can you write your curve fitting extension as a normal sliding time window and then put output rate limiting in front of that window and see if that fits your usecase? [1] https://docs.wso2.com/display/CEP310/Output+Rate+Limiting Thanks, Lasantha On 15 July 2015 at 20:41, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi Lasantha, The thing is that I have a window of 10 min. I am outputiing the events every one min. So I need to save the events as ten chunks of event lists. ( 10 lists of events) ? Is that possible? Thanks *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 15 July 2015 at 11:34, Lasantha Fernando lasan...@wso2.com wrote: Hi Pranavan, Can you elaborate more on what you mean by keeping the events in 10 blocks and removing and adding of 1 min of events? If you need to output when 10 events are accumulated, then you have to write that logic where nextProcessor.process() is called in the run() method. However, that would be similar to a length batch window, and you won't be able to introduce any time constraint. If you want to process in batches of 10, you can modify the logic in if(removeEvent == null) condition. Can you work a bit further to modify the logic as necessary for your usecase? Then it will be easier to understand the issue you are facing by looking at your code. Thanks, Lasantha On 14 July 2015 at 21:58, Pranavan Theivendiram
Re: [Dev] Can't login as tenant in publisher
Hi Sameera, Thanks for the response. The problem in concern is to have the ability to login into tenants in the default pack. Setting useTenantKey true manually also solves the problem of inability to login to tenants (But not the issue of inability to login to publisher after an unsuccessful attempt, needing a restart) Therefore, appreciate if this could be incorporated into es-feature by default, so that either the above mentioned useTenantKey attribute set to true or with your above mentioned work around. Shazni Nazeer Mob : +94 37331 LinkedIn : http://lk.linkedin.com/in/shazninazeer Blog : http://shazninazeer.blogspot.com On Fri, Jul 17, 2015 at 9:12 PM, Sameera Medagammaddegedara samee...@wso2.com wrote: Hi Shazni, As a temporary work around please set the active authentication method to basic in order to continue with development and QA. You can do this by: 1. Edit the publisher.json and change activeMethod to basic [1] 2. Edit the store.json and change activeMethod to basic [2] *Reference* [1] https://github.com/wso2/carbon-store/blob/master/apps/publisher/config/publisher.json#L50 [2] https://github.com/wso2/carbon-store/blob/master/apps/store/config/store.json#L27 On Fri, Jul 17, 2015 at 10:34 AM, Shazni Nazeer sha...@wso2.com wrote: Hi ES-team, In G-Reg publisher default pack, we are unable to login as a tenant. We get the exception shown in [3] in the console. And subsequently it's not possible to login to publisher by any means unless restarting the server. This turned out be due to useTenantKey attribute in repository/deployment/server/jaggeryapps/publisher/config/publisher.json and repository/deployment/server/jaggeryapps/store/config/store.json in publisher and store respectively being false. Unable to login into publisher and store as tenants in default pack is an issue for us. Further, after a failed attempt to login as a tenant, needing a restart is also an issue [1] Appreciate we could get this resolved so that a tenant can login in the default pack? [1] https://wso2.org/jira/browse/STORE-922 [2] https://wso2.org/jira/browse/REGISTRY-2687 [3] org.opensaml.xml.validation.ValidationException: Signature did not validate against the credential's key at org.opensaml.xml.signature.SignatureValidator.validate(SignatureValidator.java:78) at org.jaggeryjs.modules.sso.common.util.Util.validateSignature(Util.java:290) 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.NativeJavaMethod.call(NativeJavaMethod.java:225) at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52) at org.jaggeryjs.rhino.sso.scripts.c0._c_anonymous_3(sso/scripts/sso.client.js:55) at org.jaggeryjs.rhino.sso.scripts.c0.call(sso/scripts/sso.client.js) at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42) at org.jaggeryjs.rhino.publisher.controllers.c2._c_anonymous_1(/publisher/controllers/acs.jag:68) at org.jaggeryjs.rhino.publisher.controllers.c2.call(/publisher/controllers/acs.jag) at org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:23) at org.jaggeryjs.rhino.publisher.controllers.c2._c_script_0(/publisher/controllers/acs.jag:20) at org.jaggeryjs.rhino.publisher.controllers.c2.call(/publisher/controllers/acs.jag) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091) at org.jaggeryjs.rhino.publisher.controllers.c2.call(/publisher/controllers/acs.jag) at org.jaggeryjs.rhino.publisher.controllers.c2.exec(/publisher/controllers/acs.jag) at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567) at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273) at org.jaggeryjs.jaggery.core.manager.WebAppManager.exec(WebAppManager.java:587) at org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:507) at org.jaggeryjs.jaggery.core.JaggeryServlet.doPost(JaggeryServlet.java:29) at javax.servlet.http.HttpServlet.service(HttpServlet.java:646) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:378) at