Re: [Dev] [G-Reg] [New Feature] Implementing password field for registry RXTs
Thanks Maninda. Regards, Sithumini On Mon, Mar 16, 2015 at 11:43 AM, Maninda Edirisooriya mani...@wso2.com wrote: IMO the password field should be encrypted when it is stored in the database. That means the password should be encrypted from the backend and decrypted each time from the backend once requested. Thanks. *Maninda Edirisooriya* Senior Software Engineer *WSO2, Inc.*lean.enterprise.middleware. *Blog* : http://maninda.blogspot.com/ *E-mail* : mani...@wso2.com *Skype* : @manindae *Twitter* : @maninda On Mon, Mar 16, 2015 at 10:46 AM, Sithumini Senevirathne sithumi...@wso2.com wrote: Hi all, Currently registry do not have password field support for RXTs and I'm working on implementing this. This implementation comes with several concerns as below, 1. UI aspect of the password field 2. Security aspect of the password fields The solution for the concern #1 is, 1. Created a new PasswordFiels class in org.wso2.carbon.governance.generic.ui.common.dataobject Regarding the security concern of the password field, I identified several challenges. - When to encrypt the password field content. - Whether the encryption should be in UI side or backend side? - When to decrypt the password field content. - Whether the decryption should be done in every time it is viewed or decrypt the password field content as necessary upon request of the user? Please give your suggestions on regarding these concerns. Thanks, Regards, Sithumini -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [G-Reg] [New Feature] Implementing password field for registry RXTs
Hi all, Currently registry do not have password field support for RXTs and I'm working on implementing this. This implementation comes with several concerns as below, 1. UI aspect of the password field 2. Security aspect of the password fields The solution for the concern #1 is, 1. Created a new PasswordFiels class in org.wso2.carbon.governance.generic.ui.common.dataobject Regarding the security concern of the password field, I identified several challenges. - When to encrypt the password field content. - Whether the encryption should be in UI side or backend side? - When to decrypt the password field content. - Whether the decryption should be done in every time it is viewed or decrypt the password field content as necessary upon request of the user? Please give your suggestions on regarding these concerns. Thanks, Regards, Sithumini -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Please review and merge
Hi Danesh, Please $subject for the PR[1] and apply the attached svn diff for the issue [2]. [1] https://github.com/wso2/product-greg/pull/47 [2] https://wso2.org/jira/browse/CARBON-14768 -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 automationTestpatch1103.patch Description: Binary data ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [G-Reg 4.6.0] Issue in creating an endpoint
Hi Chandana, Thanks for the respond. I'll create an UI automation test case and will update the result. Thanks, Sithumini On Thu, Mar 5, 2015 at 2:55 PM, Chandana Napagoda chand...@wso2.com wrote: HI Sithumini, According to the stacktrace this SOF error is coming form the UI laye[1]r. So I think you need to write an UI automation test case for this use case. [1] ID: [0] [Greg] [2015-03-05 14:45:08,790] ERROR {org.apache.tiles.jsp.taglib.RenderTagSupport} - Error during rendering {org.apache.tiles.jsp.taglib.RenderTagSupport} java.lang.StackOverflowError at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:637) at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:536) at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:259) at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:571) at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:259) at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:571) at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:259) at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:571) at org.wso2.carbon.context.internal.CarbonContextDataHolder.getCurrentCarbonContextHolder(CarbonContextDataHolder.java:533) at org.wso2.carbon.context.internal.CarbonContextDataHolder.getCurrentCarbonContextHolder(CarbonContextDataHolder.java:568) Regards, Chandana On Thu, Mar 5, 2015 at 12:00 PM, Sithumini Senevirathne sithumi...@wso2.com wrote: Hi Chandana, Can you please share the test case, you have written? Please find the test case at [1]. [1] https://github.com/Sithumini/Registry1103TestCase/blob/master/Registry1103TestCase.java Hi Sanath, As we discussed yesterday, did you check with GReg team about why the option to set the endpoint name and version is not available in the method you are using ? Can that have a impact to this behavior? Yes, I discussed that problem with chandana. His suggestion was to create the endpoint using GenericArtifactManager not using the EndpointManager. And now this problem is solved. As instructed endpoint is created using GenericArtifactManager and endpoint name and the version is set. I think that doesn't have an impact on this behaviour. Thanks, Sithumini Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Wed, Mar 4, 2015 at 10:29 PM, Sithumini Senevirathne sithumi...@wso2.com wrote: Hi Sagara, Yes, I have already talked to them. Thanks, Sithumini On Wed, Mar 4, 2015 at 9:51 PM, Sagara Gunathunga sag...@wso2.com wrote: Did you talk to Krishantha or someone from automation team about the issue ? Thanks ! On Wed, Mar 4, 2015 at 9:28 PM, Sithumini Senevirathne sithumi...@wso2.com wrote: Hi, Currently I am working on writing a test case. The problem context is when login to the registry through a tenant user and when we create an endpoint then SOF errors are thrown. Errors can be found in carbon.log file. So in test case I followed below steps. - Created an tenant. - Logged in to the registry through the tenant. - Added an endpoint using registry GenericArtifactManager. - Read the log file to find the error. But here SOF error is not thrown. Then I manually add an endpoint and found the SOF error was thrown. Even the endpoint added through the code was not listed in the registry management console metadata list. But both endpoints have been created at the correct path. location of endpoint add in test case code level : /_system/governance/mediation/mediationdata/endpoint/endpoint1/1.0.0/endpoint location of manually added endpoint : /_system/governance/mediation/mediationdata/endpoint/TestEndpoint1/2.0.0/endpoint This behaviour has become a blocker for this test. Can someone explain me the reason for this behaviour? Is there other way to overcome this? Thank you, Sithumini -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 -- Sagara Gunathunga Senior Technical Lead; WSO2, Inc.; http://wso2.com V.P Apache Web Services;http://ws.apache.org/ Linkedin; http://www.linkedin.com/in/ssagara Blog ; http://ssagara.blogspot.com -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin
[Dev] [G-Reg 4.6.0] Issue in creating an endpoint
Hi, Currently I am working on writing a test case. The problem context is when login to the registry through a tenant user and when we create an endpoint then SOF errors are thrown. Errors can be found in carbon.log file. So in test case I followed below steps. - Created an tenant. - Logged in to the registry through the tenant. - Added an endpoint using registry GenericArtifactManager. - Read the log file to find the error. But here SOF error is not thrown. Then I manually add an endpoint and found the SOF error was thrown. Even the endpoint added through the code was not listed in the registry management console metadata list. But both endpoints have been created at the correct path. location of endpoint add in test case code level : /_system/governance/mediation/mediationdata/endpoint/endpoint1/1.0.0/endpoint location of manually added endpoint : /_system/governance/mediation/mediationdata/endpoint/TestEndpoint1/2.0.0/endpoint This behaviour has become a blocker for this test. Can someone explain me the reason for this behaviour? Is there other way to overcome this? Thank you, Sithumini -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [G-Reg 4.6.0] Issue in creating an endpoint
Hi Sagara, Yes, I have already talked to them. Thanks, Sithumini On Wed, Mar 4, 2015 at 9:51 PM, Sagara Gunathunga sag...@wso2.com wrote: Did you talk to Krishantha or someone from automation team about the issue ? Thanks ! On Wed, Mar 4, 2015 at 9:28 PM, Sithumini Senevirathne sithumi...@wso2.com wrote: Hi, Currently I am working on writing a test case. The problem context is when login to the registry through a tenant user and when we create an endpoint then SOF errors are thrown. Errors can be found in carbon.log file. So in test case I followed below steps. - Created an tenant. - Logged in to the registry through the tenant. - Added an endpoint using registry GenericArtifactManager. - Read the log file to find the error. But here SOF error is not thrown. Then I manually add an endpoint and found the SOF error was thrown. Even the endpoint added through the code was not listed in the registry management console metadata list. But both endpoints have been created at the correct path. location of endpoint add in test case code level : /_system/governance/mediation/mediationdata/endpoint/endpoint1/1.0.0/endpoint location of manually added endpoint : /_system/governance/mediation/mediationdata/endpoint/TestEndpoint1/2.0.0/endpoint This behaviour has become a blocker for this test. Can someone explain me the reason for this behaviour? Is there other way to overcome this? Thank you, Sithumini -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 -- Sagara Gunathunga Senior Technical Lead; WSO2, Inc.; http://wso2.com V.P Apache Web Services;http://ws.apache.org/ Linkedin; http://www.linkedin.com/in/ssagara Blog ; http://ssagara.blogspot.com -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [G-Reg 4.6.0] Issue in creating an endpoint
Hi Chandana, Can you please share the test case, you have written? Please find the test case at [1]. [1] https://github.com/Sithumini/Registry1103TestCase/blob/master/Registry1103TestCase.java Hi Sanath, As we discussed yesterday, did you check with GReg team about why the option to set the endpoint name and version is not available in the method you are using ? Can that have a impact to this behavior? Yes, I discussed that problem with chandana. His suggestion was to create the endpoint using GenericArtifactManager not using the EndpointManager. And now this problem is solved. As instructed endpoint is created using GenericArtifactManager and endpoint name and the version is set. I think that doesn't have an impact on this behaviour. Thanks, Sithumini Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Wed, Mar 4, 2015 at 10:29 PM, Sithumini Senevirathne sithumi...@wso2.com wrote: Hi Sagara, Yes, I have already talked to them. Thanks, Sithumini On Wed, Mar 4, 2015 at 9:51 PM, Sagara Gunathunga sag...@wso2.com wrote: Did you talk to Krishantha or someone from automation team about the issue ? Thanks ! On Wed, Mar 4, 2015 at 9:28 PM, Sithumini Senevirathne sithumi...@wso2.com wrote: Hi, Currently I am working on writing a test case. The problem context is when login to the registry through a tenant user and when we create an endpoint then SOF errors are thrown. Errors can be found in carbon.log file. So in test case I followed below steps. - Created an tenant. - Logged in to the registry through the tenant. - Added an endpoint using registry GenericArtifactManager. - Read the log file to find the error. But here SOF error is not thrown. Then I manually add an endpoint and found the SOF error was thrown. Even the endpoint added through the code was not listed in the registry management console metadata list. But both endpoints have been created at the correct path. location of endpoint add in test case code level : /_system/governance/mediation/mediationdata/endpoint/endpoint1/1.0.0/endpoint location of manually added endpoint : /_system/governance/mediation/mediationdata/endpoint/TestEndpoint1/2.0.0/endpoint This behaviour has become a blocker for this test. Can someone explain me the reason for this behaviour? Is there other way to overcome this? Thank you, Sithumini -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 -- Sagara Gunathunga Senior Technical Lead; WSO2, Inc.; http://wso2.com V.P Apache Web Services;http://ws.apache.org/ Linkedin; http://www.linkedin.com/in/ssagara Blog ; http://ssagara.blogspot.com -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Chandana Napagoda* Senior Software Engineer WSO2 Inc. - http://wso2.org *Email : chand...@wso2.com chand...@wso2.com**Mobile : +94718169299 %2B94718169299* *Blog :http://cnapagoda.blogspot.com http://cnapagoda.blogspot.com* -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [DEV] Issue in automation LogViewerClient
Hi Krishantha, noted. I will change it accordingly. Thanks, Sithumini On Wed, Mar 4, 2015 at 5:37 PM, Krishantha Samaraweera krishan...@wso2.com wrote: On Wed, Mar 4, 2015 at 5:27 PM, Sithumini Senevirathne sithumi...@wso2.com wrote: Hi Krishantha, Thanks for the respond. You have two options to assert the error condition. 1. Flush the log before creating governance endpoint and assert for *Error during rendering *after endpoint creation. 2. Read the carbon.home property and process the carbon log file to find specific error detail. I have already done this way to assert the error condition. Just wanted to know whether I have missed anything in LogViewerClient. Please use @SetEnviroment custom annotation to execute the test only on integration environment. We need to exclude the test from platform execution since it has dependency to carbon.home Thanks, Krishantha. Thanks, Sithumini Thanks, Krishantha. On Wed, Mar 4, 2015 at 4:41 PM, Sithumini Senevirathne sithumi...@wso2.com wrote: Hi, Currently I am working on writing a test case which required to read the carbon.log file in registry (testng 6.1.1, GReg 4.6.0). Here I use LogViewerClient getLogger(), getStacktrace(), log.getMessage() to get the log content. My intention is to track the StackOverflowError in the log file. Below [1] shows the sample error log message that can be find in the carbon.log. Problem is none of the above mentioned methods were able to track the error. Here getMessage() method output the only the below part from the error log. Error during rendering Couldn't get the java.lang.StackOverflowError part in the log file. Is this a known issue or am I missing anything? [1] TID: [0] [AS] [2015-03-03 14:39:12,069] ERROR {org.apache.tiles.jsp.taglib.RenderTagSupport} - *Error during rendering *{org.apache.tiles.jsp.taglib.RenderTagSupport} java.lang.StackOverflowError at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:571) Thanks, Sithumini -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [DEV] Issue in automation LogViewerClient
Hi, Currently I am working on writing a test case which required to read the carbon.log file in registry (testng 6.1.1, GReg 4.6.0). Here I use LogViewerClient getLogger(), getStacktrace(), log.getMessage() to get the log content. My intention is to track the StackOverflowError in the log file. Below [1] shows the sample error log message that can be find in the carbon.log. Problem is none of the above mentioned methods were able to track the error. Here getMessage() method output the only the below part from the error log. Error during rendering Couldn't get the java.lang.StackOverflowError part in the log file. Is this a known issue or am I missing anything? [1] TID: [0] [AS] [2015-03-03 14:39:12,069] ERROR {org.apache.tiles.jsp.taglib.RenderTagSupport} - *Error during rendering * {org.apache.tiles.jsp.taglib.RenderTagSupport} java.lang.StackOverflowError at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:571) Thanks, Sithumini -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [DEV] Issue in automation LogViewerClient
Hi, Currently I am working on writing a test case which required to read the carbon.log file in registry (testng 6.1.1, GReg 4.6.0). Here I use LogViewerClient getLogger(), getStacktrace(), log.getMessage() to get the log content. My intention is to track the StackOverflowError in the log file. Below [1] shows the sample error log message that can be find in the carbon.log. Problem is none of the above mentioned methods were able to track the error. Here getMessage() method output the only the below part from the error log. Error during rendering Couldn't get the java.lang.StackOverflowError part in the log file. Is this a known issue or am I missing anything? [1] TID: [0] [AS] [2015-03-03 14:39:12,069] ERROR {org.apache.tiles.jsp.taglib.RenderTagSupport} - *Error during rendering * {org.apache.tiles.jsp.taglib.RenderTagSupport} java.lang.StackOverflowError at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:571) Thanks, Sithumini -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [ES] Store Search function is not working
Hi Sameera, Noted and thanks for the respond. Regards, Sithumini On Thu, Feb 26, 2015 at 11:41 AM, Sameera Medagammaddegedara samee...@wso2.com wrote: Hi Sithumini, This is a known issue and is caused by the following: When you enter the service name in the search box and press enter the search query is built using all of the parameters in the drop down advanced search box.This needs to be fixed to perform the search based on the name field. The search operation itself works and can be verified by doing the search using the advanced search drop down. Thank You, Sameera On Tue, Feb 24, 2015 at 9:49 PM, Sithumini Senevirathne sithumi...@wso2.com wrote: Hi, I tried to search for an existing service by service name. I got below message in the search field of the UI with no output. overview_name:abx interface_transportProtocols:None interface_messageFormats:None interface_messageExchangePatterns:None security_authenticationPlatform:None security_authenticationMechanism:None security_authorizationPlatform:None security_messageIntegrity:None security_messageEncryption:None When search for the service by version same happens and got the below message in the search field. overview_version:1.0.0 interface_transportProtocols:None interface_messageFormats:None interface_messageExchangePatterns:None security_authenticationPlatform:None security_authenticationMechanism:None security_authorizationPlatform:None security_messageIntegrity:None security_messageEncryption:None No error message found in the console only the INFO and WARN logs were there. Is this a known issue? -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sameera Medagammaddegedara Software Engineer Contact: Email: samee...@wso2.com Mobile: + 94 077 255 3005 -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Error while adding a schedule task from registry xml.
) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343) at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433) at org.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81) at org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40) at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38) at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1279) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1192) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5210) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5493) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:695) Appreciate your advice on this. Thanks -- Prasanna Dangalla Software Engineer, WSO2, Inc.; http://wso2.com/ lean.enterprise.middleware cell: +94 777 55 80 30 | +94 718 11 27 51 twitter: @prasa77 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [ES] Store Search function is not working
Hi, I tried to search for an existing service by service name. I got below message in the search field of the UI with no output. overview_name:abx interface_transportProtocols:None interface_messageFormats:None interface_messageExchangePatterns:None security_authenticationPlatform:None security_authenticationMechanism:None security_authorizationPlatform:None security_messageIntegrity:None security_messageEncryption:None When search for the service by version same happens and got the below message in the search field. overview_version:1.0.0 interface_transportProtocols:None interface_messageFormats:None interface_messageExchangePatterns:None security_authenticationPlatform:None security_authenticationMechanism:None security_authorizationPlatform:None security_messageIntegrity:None security_messageEncryption:None No error message found in the console only the INFO and WARN logs were there. Is this a known issue? -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [DEV][G-REG] no output from Issue Tracker Sample
Hi Kavinda, This is bit strange because for make sure I just did the same with G-Reg 4.6.0 and mine works perfect. Did you browse and see whether the file is added to the registry? and make sure you copied the content fully. Thanks, Sithumini On Thu, Feb 19, 2015 at 2:23 PM, Vinod Kavinda vi...@wso2.com wrote: hi, Thanks for the response. I did sign out and sign in, even tried restarting the server. No luck! Regards, Kavinda On Thu, Feb 19, 2015 at 2:11 PM, Sithumini Senevirathne sithumi...@wso2.com wrote: Hi Kavinda, After creating the registry extension file you have to sign out and sign in again to see the Issue and Backlog items in metadata section. I think you have miss that and this is clearly point out in the document :) . Thanks, Sithumini On Thu, Feb 19, 2015 at 1:53 PM, Kavinda vi...@wso2.com wrote: hi, I'm following the issue tracker sample[1] from G-REG. I created the registry extension file as instructed in [1]. But there is no Issue and Backlog items in metadata section in dashboard. There are no any errors in the console either. Am I missing something? [1] - https://docs.wso2.com/display/Governance460/Issue+Tracker+Sample -- Vinod Kavinda *Software Engineer* *WSO2, Inc http://www.wso2.com.* Mobile : +94 (0) 712 415544 vi...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 -- Vinod Kavinda *Software Engineer* *WSO2, Inc http://www.wso2.com.* Mobile : +94 (0) 712 415544 vi...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [DEV][G-REG] no output from Issue Tracker Sample
Hi Kavinda, After creating the registry extension file you have to sign out and sign in again to see the Issue and Backlog items in metadata section. I think you have miss that and this is clearly point out in the document :) . Thanks, Sithumini On Thu, Feb 19, 2015 at 1:53 PM, Kavinda vi...@wso2.com wrote: hi, I'm following the issue tracker sample[1] from G-REG. I created the registry extension file as instructed in [1]. But there is no Issue and Backlog items in metadata section in dashboard. There are no any errors in the console either. Am I missing something? [1] - https://docs.wso2.com/display/Governance460/Issue+Tracker+Sample -- Vinod Kavinda *Software Engineer* *WSO2, Inc http://www.wso2.com.* Mobile : +94 (0) 712 415544 vi...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [DEV][G-REG] no output from Issue Tracker Sample
Hi, Thanks for adding these info. Please find inline comments. I did two changes this time, 1.There is a issue when copying from sample web page by double clicking on the content. Some unwanted characters get added, so this time I copied it without using that option. This is the issue with unwanted characters file content have changed. 2.I navigated to the exact folder through tree view of the dashboard and added the file, without giving full path in the name as instructed in sample doc. This is not an issue as you can create a registry extension file giving the full path in the name as instructed in the doc. Thanks, Sithumini One of them should be the issue. Added these info hoping it will help someone fallen into the same problem. On Thu, Feb 19, 2015 at 2:23 PM, Vinod Kavinda vi...@wso2.com wrote: hi, Thanks for the response. I did sign out and sign in, even tried restarting the server. No luck! Regards, Kavinda On Thu, Feb 19, 2015 at 2:11 PM, Sithumini Senevirathne sithumi...@wso2.com wrote: Hi Kavinda, After creating the registry extension file you have to sign out and sign in again to see the Issue and Backlog items in metadata section. I think you have miss that and this is clearly point out in the document :) . Thanks, Sithumini On Thu, Feb 19, 2015 at 1:53 PM, Kavinda vi...@wso2.com wrote: hi, I'm following the issue tracker sample[1] from G-REG. I created the registry extension file as instructed in [1]. But there is no Issue and Backlog items in metadata section in dashboard. There are no any errors in the console either. Am I missing something? [1] - https://docs.wso2.com/display/Governance460/Issue+Tracker+Sample -- Vinod Kavinda *Software Engineer* *WSO2, Inc http://www.wso2.com.* Mobile : +94 (0) 712 415544 vi...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 -- Vinod Kavinda *Software Engineer* *WSO2, Inc http://www.wso2.com.* Mobile : +94 (0) 712 415544 vi...@wso2.com -- Vinod Kavinda *Software Engineer* *WSO2, Inc http://www.wso2.com.* Mobile : +94 (0) 712 415544 vi...@wso2.com -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [G-REG] Transition UI Sample Problem
Hi Anuja, Did you add the created Transition UI to one of the lifecycle configuration? Step 6 in the sample doc. If you have done that you can see the changes by adding that lifecycle to any registry resource and promote it. You can find the lifecycle section at the right side of the registry management console. Thanks, Sithumnin On Thu, Feb 19, 2015 at 2:59 PM, Anuja Herath an...@wso2.com wrote: Hi, I followed all steps in G-Reg Transition UI sample [1] without any error. But, I am unable to find the place where changes were affected at last. [1] https://docs.wso2.com/display/Governance460/Transition+UI+Sample -- Anuja Herath *Software Engineer* *WSO2, Inc.* Mobile : +94 (0)71 429 8861 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [G-REG] Transition UI Sample Problem
Hi Anuja, If you did all the steps correctly when click the promote button you should see a separate UI section with version and Resource name right below the lifecycle section. Its better if you go through the jsp file you added then you can get an idea of the result easily. This sample demonstrate the registry lifecycle configuration element, UI. With this we can associate a user interface with a particular event during a given transition. Did you get any errors when trying to promote? [1] https://docs.wso2.com/display/Governance460/Lifecycle+Configuration+Elements#LifecycleConfigurationElements-ui Thanks, Sithumini On Thu, Feb 19, 2015 at 5:28 PM, Anuja Herath an...@wso2.com wrote: Hi Sithumini, I have completed all steps. What is the result going to be after clicking Promote button? I don't see any different from how it worked before applying transition ui. On Thu, Feb 19, 2015 at 3:57 PM, Sithumini Senevirathne sithumi...@wso2.com wrote: Hi Anuja, Did you add the created Transition UI to one of the lifecycle configuration? Step 6 in the sample doc. If you have done that you can see the changes by adding that lifecycle to any registry resource and promote it. You can find the lifecycle section at the right side of the registry management console. Thanks, Sithumnin On Thu, Feb 19, 2015 at 2:59 PM, Anuja Herath an...@wso2.com wrote: Hi, I followed all steps in G-Reg Transition UI sample [1] without any error. But, I am unable to find the place where changes were affected at last. [1] https://docs.wso2.com/display/Governance460/Transition+UI+Sample -- Anuja Herath *Software Engineer* *WSO2, Inc.* Mobile : +94 (0)71 429 8861 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 -- Anuja Herath *Software Engineer* *WSO2, Inc.* Mobile : +94 (0)71 429 8861 -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [G-REG] Transition UI Sample Problem
Hi Anuja, I think you have added the Transition UI to service lifecycle configuration. JSP file added in this sample is what's used in the default ServiceLifeCycle configuration. If you go through the last part of the sample doc its highlighted there. Its better if you add the Transition UI to Samplelifecycle then you can see the changes. Thanks, Sithumini On Thu, Feb 19, 2015 at 8:01 PM, Sithumini Senevirathne sithumi...@wso2.com wrote: Hi Anuja, If you did all the steps correctly when click the promote button you should see a separate UI section with version and Resource name right below the lifecycle section. Its better if you go through the jsp file you added then you can get an idea of the result easily. This sample demonstrate the registry lifecycle configuration element, UI. With this we can associate a user interface with a particular event during a given transition. Did you get any errors when trying to promote? [1] https://docs.wso2.com/display/Governance460/Lifecycle+Configuration+Elements#LifecycleConfigurationElements-ui Thanks, Sithumini On Thu, Feb 19, 2015 at 5:28 PM, Anuja Herath an...@wso2.com wrote: Hi Sithumini, I have completed all steps. What is the result going to be after clicking Promote button? I don't see any different from how it worked before applying transition ui. On Thu, Feb 19, 2015 at 3:57 PM, Sithumini Senevirathne sithumi...@wso2.com wrote: Hi Anuja, Did you add the created Transition UI to one of the lifecycle configuration? Step 6 in the sample doc. If you have done that you can see the changes by adding that lifecycle to any registry resource and promote it. You can find the lifecycle section at the right side of the registry management console. Thanks, Sithumnin On Thu, Feb 19, 2015 at 2:59 PM, Anuja Herath an...@wso2.com wrote: Hi, I followed all steps in G-Reg Transition UI sample [1] without any error. But, I am unable to find the place where changes were affected at last. [1] https://docs.wso2.com/display/Governance460/Transition+UI+Sample -- Anuja Herath *Software Engineer* *WSO2, Inc.* Mobile : +94 (0)71 429 8861 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 -- Anuja Herath *Software Engineer* *WSO2, Inc.* Mobile : +94 (0)71 429 8861 -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Is there any standard library in java to create a generic date formatter for Solr ?
Hi All, I am working on a new feature, Solr based advance search in G-Reg. In my requirement date is passed in below format before index it in Solr. Below are the example date being passed and the standard Solr date format. String dateFormat = Mon Feb 09 02:05:26 IST 2015; The standard Solr format is *-MM-dd'T'HH:mm:ss'Z*' As the solution I tried SimpleDateFormat but the problem with this approach is, its not a generic solution to support various formats. So looking for a generic one available, which can cater to any date format. Is there a standard library to achieve this ? Thanks, Regards, Sithumini -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [G-Reg] [New Feature] Design and develop Solr based search feature for current SQL based advance
Hi Danesh, But for Advanced search, we need to enforce fields required to advanced search in every index document. So only having default indexer will not address the problem. We need to enforce index those fields in current existing indexers and indexer defined in future. How are we going to cater this problem. Default indexer will index all the required fields need in advance search and when a resource is ready for indexing, *default indexer + indexer define for the particular resource* will get call. If resource doesn't come under a defined media type only the default indexer will get call. So with this approach we don't need to enforce fields need for advance search in every index document as default indexer going to index them. I think this default indexer will be able to address the above mentioned problem. Thanks, Regards, Sithumini -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Committers += Tharindu Edirisinghe
Congratulations Tharindu!!! On Sun, Feb 1, 2015 at 10:48 PM, Srisunmugaraja Paraparan parapa...@wso2.com wrote: Congratulations Tharindu .. On Sun, Feb 1, 2015 at 10:41 PM, Pumudu Ruhunage pum...@wso2.com wrote: Congratulations Tharindu..!!! :) On Sun, Feb 1, 2015 at 10:29 PM, Tharindu Dharmarathna tharin...@wso2.com wrote: Congrats tharindu On Feb 1, 2015 10:21 PM, Chamin Nalinda cha...@wso2.com wrote: Congratulations bro :) On Sun, Feb 1, 2015 at 10:19 PM, Vijitha Ekanayake vijit...@wso2.com wrote: Congratulations Tharindu !!! On Sun, Feb 1, 2015 at 10:11 PM, Buddhima Wijeweera buddh...@wso2.com wrote: Congratulations Tharindu !!! On Sun, Feb 1, 2015 at 10:10 PM, Firzhan Naqash firz...@wso2.com wrote: Congratz Tharindhu ... Regards, Firzhan On Sun, Feb 1, 2015 at 10:09 PM, Hasintha Indrajee hasin...@wso2.com wrote: Congratulations Tharindu ...!! On Sun, Feb 1, 2015 at 9:58 PM, Johann Nallathamby joh...@wso2.com wrote: Hi All, It's my pleasure to announce Tharindu Edirisinghe as a WSO2 Committer. Tharindu has been a valuable contributor for WSO2 Identity Server product, and in recognition of his contribution to WSO2, he has been voted as a WSO2 Committer. Tharindu, congratulations and keep up the good work! Thanks Regards. -- *Johann Dilantha Nallathamby* Associate Technical Lead Product Lead of WSO2 Identity Server Integration Technologies Team WSO2, Inc. lean.enterprise.middleware Mobile - *+9476950* Blog - *http://nallaa.wordpress.com http://nallaa.wordpress.com* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Buddhima Wijeweera Software Engineer; WSO2 Inc.; http://wso2.com , Mobile: +94 71 427 9966 Email: buddh...@wso2.com Blog: https://buddhimawijeweera.wordpress.com GitHub Profile: https://github.com/Buddhima ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Vijitha Ekanayake Software Engineer*, *WSO2, Inc.; http://wso2.com/ Mobile : +94 777 24 73 39 | +94 718 74 44 08 lean.enterprise.middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Chamin Nalinda* Intern - Engineering WSO2 Inc. http://www.wso2.com lean.enterprise.middleware Mobile: (+94) 77 241 66 04 Linkedin: https://www.linkedin.com/in/chaminnalinda Web: http://www.ckreativity.com Blog: http://techspiro.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Pumudu Ruhunage Associate Software Engineer | WSO2 Inc M: +94 779 664493 | http://wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks Regards -- Srisunmugaraja Paraparan Software Engineer, WSO2 Inc. - lean . enterprise . middleware | wso2.com email : parapa...@wso2.com, mobile : +94 77 0362151 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [G-Reg ] Resource MediaType null scenarios
Hi, I am working on Solr based search feature for current SQL based advance search in G-Reg. Currently we are checking the media type when indexing a resource and only a small set of resources get indexed. For the proposed feature I need to index all type of resources in the registry. Can somebody explain me what are the possible scenarios for a null media type? Thanks, Regards, Sithumini -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Committers += Amalka Subasinghe
Congratulations Amalka!! On Tue, Jan 27, 2015 at 11:53 AM, Sajith Kariyawasam saj...@wso2.com wrote: Congratulations Amalka! On Tue, Jan 27, 2015 at 11:49 AM, Harsha Kumara hars...@wso2.com wrote: Congratulations Amalka! On Tue, Jan 27, 2015 at 11:22 AM, Roshan Deniyage rosh...@wso2.com wrote: Congrats Amalka Roshan Deniyage Associate Technical Lead WSO2, Inc: http://wso2.com Mobile: +94 777636406 Twitter: *https://twitter.com/roshku https://twitter.com/roshku* LinkedIn : https://www.linkedin.com/in/roshandeniyage On Tue, Jan 27, 2015 at 11:04 AM, Lasindu Charith lasi...@wso2.com wrote: Congratulations Amalka ...!!! On Mon, Jan 26, 2015 at 9:11 PM, Supun Sethunga sup...@wso2.com wrote: Congratz! :) On Tue, Jan 27, 2015 at 10:39 AM, Gayashan Amarasinghe gayas...@wso2.com wrote: Congratulations Amalka!!! On Tue, Jan 27, 2015 at 10:24 AM, Dimuthu Leelarathne dimut...@wso2.com wrote: Hi all, It is with great pleasure that WSO2 welcomes Amalka Subasinghe as a committer! Congratulations! thanks, Dimuthu -- Dimuthu Leelarathne Architect Product Lead of App Factory WSO2, Inc. (http://wso2.com) email: dimut...@wso2.com Mobile : 0773661935 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Lasindu Charith* Software Engineer, WSO2 Inc. Mobile: +94714427192 Web: blog.lasindu.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Harsha Kumara Software Engineer, WSO2 Inc. Mobile: +94775505618 Blog:harshcreationz.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Committers += Danesh Kuruppu
Congratulations Danesh !! On Tue, Jan 27, 2015 at 8:47 AM, Sagara Gunathunga sag...@wso2.com wrote: Its my pleasure to welcome Danesh Kuruppu as a WSO2 committer. Danesh, welcome aboard and keep up the good work. Thanks ! -- Sagara Gunathunga Senior Technical Lead; WSO2, Inc.; http://wso2.com V.P Apache Web Services;http://ws.apache.org/ Linkedin; http://www.linkedin.com/in/ssagara Blog ; http://ssagara.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Issue in accessing OSGI of multiple versions
Hi, I am currently developing a G-Reg feature[1] and for that I use a 3rd party library called membrane-soa-model. This library uses Groovy 2.0 which needs ASM 4. I created an osgi bundle for the membrane. If we run the Registry server ASM 3 bundle also get Active as product-AS uses it. When both ASM 3 and ASM 4 bundles are in Active state my feature gives an error as membrane accesses ASM3 bundle. 11 ACTIVE asm_3.1.0.wso2v1 12 ACTIVE asm_4.0_1.0.0 I want membrane OSGI to use ASM4 only, to achieve this I introduce ASM 4 with proper osgi versioning and introduce groovy and asm as private-packages. But couldn't resolve the problem. Below is what I added in membrane osgi POM, instructions Bundle-Name${project.artifactId}/Bundle-Name Bundle-SymbolicName${project.groupId}.${project.artifactId}/Bundle-SymbolicName Bundle-DescriptionOSGI version of ${project.name }/Bundle-Description Export-Packagecom.predic8.*/Export-Package Private-Package org.codehaus.groovy;version=2.0.4, org.ow2.asm;version=4.0, /Private-Package Import-Package !com.predic8.*, !org.ow2.asm, !org.codehaus.groovy, *;resolution:=optional /Import-Package /instructions What is the proper way to overcome this issue? [1] https://redmine.wso2.com/issues/3403 -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Issue in accessing OSGI of multiple versions
Hi, This was solved using embedding dependencies Embed-Dependency. Below is the code snippet, instructions Bundle-Name${project.artifactId}/Bundle-Name Bundle-SymbolicName${project.groupId}.${project.artifactId}/Bundle-SymbolicName Bundle-DescriptionOSGI version of ${project.name }/Bundle-Description Export-Packagecom.predic8.*;version=1.4.1/Export-Package Import-Package !com.predic8.wso2.*, *;resolution:=optional /Import-Package *Embed-Dependency* * soa-model-core|groovy|asm-all;scope=compile|runtime;inline=false* */Embed-Dependency* /instructions Thank you, Regards, Sithumini On Sat, Jan 17, 2015 at 11:47 AM, Danushka Fernando danush...@wso2.com wrote: I think what you should do is to depend on the correct version. Can you attach full pom.xml. On Jan 16, 2015 5:39 PM, Sithumini Senevirathne sithumi...@wso2.com wrote: Hi, I am currently developing a G-Reg feature[1] and for that I use a 3rd party library called membrane-soa-model. This library uses Groovy 2.0 which needs ASM 4. I created an osgi bundle for the membrane. If we run the Registry server ASM 3 bundle also get Active as product-AS uses it. When both ASM 3 and ASM 4 bundles are in Active state my feature gives an error as membrane accesses ASM3 bundle. 11 ACTIVE asm_3.1.0.wso2v1 12 ACTIVE asm_4.0_1.0.0 I want membrane OSGI to use ASM4 only, to achieve this I introduce ASM 4 with proper osgi versioning and introduce groovy and asm as private-packages. But couldn't resolve the problem. Below is what I added in membrane osgi POM, instructions Bundle-Name${project.artifactId}/Bundle-Name Bundle-SymbolicName${project.groupId}.${project.artifactId}/Bundle-SymbolicName Bundle-DescriptionOSGI version of ${ project.name}/Bundle-Description Export-Packagecom.predic8.*/Export-Package Private-Package org.codehaus.groovy;version=2.0.4, org.ow2.asm;version=4.0, /Private-Package Import-Package !com.predic8.*, !org.ow2.asm, !org.codehaus.groovy, *;resolution:=optional /Import-Package /instructions What is the proper way to overcome this issue? [1] https://redmine.wso2.com/issues/3403 -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [G-Reg ] Please review and merge the pull request - G-Reg Tagging Handle Sample
Hi, Please review and merge the pull request for wso2/product-greg [1]. [1] https://github.com/wso2/product-greg/pull/15 Thanks, Sithumini On Tue, Jan 13, 2015 at 11:07 PM, Sithumini Senevirathne sithumi...@wso2.com wrote: Hi, Please review and merge the pull request [1]. [1] https://github.com/wso2-dev/product-greg/pull/63 Jira : https://wso2.org/jira/browse/REGISTRY-2379 Thanks, Sithumini -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [G-Reg ] Please review and merge the pull request - G-Reg Tagging Handle Sample
Hi, Please review and merge the pull request [1]. [1] https://github.com/wso2-dev/product-greg/pull/63 Jira : https://wso2.org/jira/browse/REGISTRY-2379 Thanks, Sithumini -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] ASM library upgrade request
Hi All, Currently I am working on G-Reg new feature [1] Ability to display difference of two resources of same type. Main objective of this feature is to demonstrate the differences between two resources of same type. For example WSDLs, WADLs, XSDs etc.. To compare and analyse the WSDL/ XML Schema documents, selected the open source library Membrane SOA-Model and got the third party library approval [2] for it. This library uses Groovy 2.x which needs ASM 4. Currently product-as uses ASM 3. As membrane cannot work with ASM versions later than 4 .0, I am facing an ASM library conflict. With ASM 3 it gives a java.lang.IncompatibleClassChangeError. The reason for this error is membrane uses org.objectweb.asm.ClassVisitor class in ASM 4 but this is an Interface in ASM 3 and a Class in ASM 4 onwards. In-order to overcome the conflict need to upgrade ASM. What is the standard way to proceed in this situation? [1] https://redmine.wso2.com/issues/3403 [2] https://redmine.wso2.com/issues/3466 -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [G-Reg] Sample for G-Reg 5.0.0 - Apply namespace as a Tag while creating the service
Hi all, I created a G-Reg sample which will apply the namespace of the service as a tag at the time of the service creation. This was done using Registry Hander. I created a sample hander called CustomTagServiceHandler. At the time of service creation this Handler will get hit and will apply the namespace as a Tag into the service. You can find the sample code and the README file in github repository [1]. If there are any other scenarios which need to cover with this sample please provide your feedback. [1] https://github.com/Sithumini/G-Reg-Sample Thanks, Regards, Sithumini -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [G-Reg] Sample for G-Reg 5.0.0 - Apply namespace as a Tag while creating the service
Hi Senaka, Sure, I will add a description into the README .txt and will add useful comments to the [1]. [1] https://github.com/Sithumini/G-Reg-Sample/blob/master/src/src/main/java/org/wso2/carbon/registry/samples/handler/CustomTagServiceHandler.java Thanks, Sithumini On Fri, Jan 9, 2015 at 4:04 PM, Senaka Fernando sen...@wso2.com wrote: Hi Sithumini, I didn't have time to try out the sample as yet, but I went through the README.txt file. From a technical point of view this is a good introduction, but from a business point of view somebody cannot understand how this sample can be of use for them. Can you expand the introduction section to include a description as to how this makes sense to somebody who is interested in similar functionality? Please also add some useful comments to [1] so that somebody with little to no experience with the handler API can understand the code you have written and its purpose. [1] https://github.com/Sithumini/G-Reg-Sample/blob/master/src/src/main/java/org/wso2/carbon/registry/samples/handler/CustomTagServiceHandler.java Thanks, Senaka. On Fri, Jan 9, 2015 at 1:34 PM, Sithumini Senevirathne sithumi...@wso2.com wrote: Hi all, I created a G-Reg sample which will apply the namespace of the service as a tag at the time of the service creation. This was done using Registry Hander. I created a sample hander called CustomTagServiceHandler. At the time of service creation this Handler will get hit and will apply the namespace as a Tag into the service. You can find the sample code and the README file in github repository [1]. If there are any other scenarios which need to cover with this sample please provide your feedback. [1] https://github.com/Sithumini/G-Reg-Sample Thanks, Regards, Sithumini -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 -- *[image: http://wso2.com] http://wso2.comSenaka Fernando* Solutions Architect; WSO2 Inc.; http://wso2.com *Member; Apache Software Foundation; http://apache.org http://apache.orgE-mail: senaka AT wso2.com http://wso2.com**P: +1 408 754 7388 %2B1%20408%20754%207388; ext: 51736*; *M: +44 782 741 1966 %2B44%20782%20741%201966Linked-In: http://linkedin.com/in/senakafernando http://linkedin.com/in/senakafernando*Lean . Enterprise . Middleware -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Commiters += Sameera Jayaratna
Congratulations Sameera On Mon, Jan 5, 2015 at 1:36 PM, Damith Wickramasinghe dami...@wso2.com wrote: Congratzz :) On Mon, Jan 5, 2015 at 1:32 PM, Harsha Kumara hars...@wso2.com wrote: Congratulations Sameera! On Mon, Jan 5, 2015 at 1:21 PM, Malintha Adikari malin...@wso2.com wrote: Congratulations.. On Mon, Jan 5, 2015 at 7:48 AM, Sajini De Silva saj...@wso2.com wrote: Congratulations Sameera !!! On Mon, Jan 5, 2015 at 1:17 PM, Manoj Gunawardena man...@wso2.com wrote: Congratulations Sameera ! On Mon, Jan 5, 2015 at 1:14 PM, Ruchira Wageesha ruch...@wso2.com wrote: Hi All, It's my pleasure to welcome Sameera Jayaratna as a WSO2 Committer. Sameera is a member of WSO2 UES/ES team and has done a great contribution to WSO2 ES product showing a great enthusiasm in her work. In recognition of her contribution, she has been voted as a WSO2 Committer. Sameera, welcome aboard and keep up the good work.. /Ruchira -- *Ruchira Wageesha**Associate Technical Lead* *WSO2 Inc. - lean . enterprise . middleware | wso2.com http://wso2.com* *email: ruch...@wso2.com ruch...@wso2.com, blog: ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com, mobile: +94 77 5493444 %2B94%2077%205493444* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Manoj Gunawardena Tech Lead WSO2, Inc.: http://wso2.com lean.enterprise.middleware Mobile : +94 77 2291643 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sajini De SIlva Software Engineer; WSO2 Inc.; http://wso2.com , Email: saj...@wso2.com Blog: http://sajinid.blogspot.com/ Git hub profile: https://github.com/sajinidesilva Phone: +94 712797729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Malintha Adikari* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware Mobile: +94 71 2312958 Blog:http://malinthas.blogspot.com Page: http://about.me/malintha ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Harsha Kumara Software Engineer, WSO2 Inc. Mobile: +94775505618 Blog:harshcreationz.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Software Engineer WSO2 Inc.; http://wso2.com http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg lean.enterprise.middleware mobile: *+94728671315 %2B94728671315* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Commiters += Ayesha Dissanayaka
Ranawaka M: +94714629880 Blog : http://isurur.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, Kalpa Welivitigoda Software Engineer, WSO2 Inc. http://wso2.com Email: kal...@wso2.com Mobile: +94776509215 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Buddhima Wijeweera Software Engineer; WSO2 Inc.; http://wso2.com , Mobile: +94 71 427 9966 Email: buddh...@wso2.com Blog: https://buddhimawijeweera.wordpress.com GitHub Profile: https://github.com/Buddhima ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Committers += Akalanka Darshana Pagoda Arachchi
Congratulations Akalanka :) On Tue, Jan 6, 2015 at 9:56 AM, Asitha Nanayakkara asi...@wso2.com wrote: Congratulations Akalanka! On Tue, Jan 6, 2015 at 9:23 AM, Harsha Thirimanna hars...@wso2.com wrote: Congratz On Jan 5, 2015 2:33 PM, Ramith Jayasinghe ram...@wso2.com wrote: Hi Akalanka, Congratulations! It is with great pleasure that we welcome you as a WSO2 committer. Keep up the good work! regards -- Ramith Jayasinghe Technical Lead WSO2 Inc., http://wso2.com lean.enterprise.middleware E: ram...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Asitha Nanayakkara* Software Engineer WSO2, Inc. http://wso2.com/ Mob: + 94 77 85 30 682 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Committers += Awanthika Senarath
Congratulations Awanthika On Mon, Jan 5, 2015 at 1:10 PM, Supun Sethunga sup...@wso2.com wrote: Congratz Awanthika!! On Mon, Jan 5, 2015 at 1:08 PM, Harsha Kumara hars...@wso2.com wrote: Congratulations Awanthika! On Mon, Jan 5, 2015 at 1:07 PM, Vijitha Ekanayake vijit...@wso2.com wrote: Congratulations Awanthika ... !!! On Mon, Jan 5, 2015 at 1:04 PM, Buddhima Wijeweera buddh...@wso2.com wrote: Congratulations Awanthika!!! On Mon, Jan 5, 2015 at 12:59 PM, Thilini Anoratna thili...@wso2.com wrote: Congratz !! :) On Mon, Jan 5, 2015 at 12:55 PM, Rajeevan Vimalanathan rajeev...@wso2.com wrote: Congratz Awanthika...!!! On Mon, Jan 5, 2015 at 12:48 PM, Jasintha Dasanayake jasin...@wso2.com wrote: Hi All, It's my distinct pleasure to welcome Awanthika Senarath as a WSO2 Committer. Awanthika has been a valuable contributor for WSO2 Developer Studio since she joined WSO2. In recognition of her contributions to WSO2, She has been voted as a WSO2 Committer. Awanthika, Congratulations and Keep up the good work! Thanks and Regards, /Jasintha -- *Jasintha Dasanayake* *Senior Software EngineerWSO2 Inc. | http://wso2.com http://wso2.com/lean . enterprise . middleware* *mobile :- 0711368118 0711368118* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, V.Rajeevan Software Engineer, WSO2 Inc. :http://wso2.com Mobile : +94 773090875 Email : rajeev...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thilini Anoratna Software Engineering Intern WSO2 Inc.; http://wso2.com lean.enterprise.middleware Mobile : +94 (0) 778955654 Email: thili...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Buddhima Wijeweera Software Engineer; WSO2 Inc.; http://wso2.com , Mobile: +94 71 427 9966 Email: buddh...@wso2.com Blog: https://buddhimawijeweera.wordpress.com GitHub Profile: https://github.com/Buddhima ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Vijitha Ekanayake Software Engineer*, *WSO2, Inc.; http://wso2.com/ Mobile : +94 777 24 73 39 | +94 718 74 44 08 lean.enterprise.middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Harsha Kumara Software Engineer, WSO2 Inc. Mobile: +94775505618 Blog:harshcreationz.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Deployment synchroniser not working with mac
Hi, I enabled deployment synchroniser in ESB 4.8.0 and it stop server start with the below warning message. WARN - StartupFinalizerServiceComponent Waiting for required OSGi services: org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService,org.wso2.carbon.server.admin.common.IServerAdmin,org.wso2.carbon.throttling.agent.ThrottlingAgent, *Software* OS X 10.9 (13A3028) java version 1.6.0_65 I checked for this error and found some incidents where this error appears before but I couldn't find a exact reason or solution. Is this a known issue in mac? Thank you, Regards, Sithumini -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev