Re: [Dev] java.net.BindException: Address already in use (Bind failed)

2017-12-17 Thread roshan wijesena
ps ax | grep wso2

kill -9 PID



On Sat, Dec 16, 2017 at 7:36 AM, Júnior  wrote:

> Hi,
>
> I am facing this issue when using the call mediator.
>
> Is there any fix for that?
>
> I am running on EI-61.0
>
> Thanks
>
> Follow the stack trace
>
> *org.apache.axis2.AxisFault: Address already in use (Bind failed)*
> at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
> at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HT
> TPSender.java:199)
> at org.apache.axis2.transport.http.HTTPSender.send(HTTPSende
> r.java:77)
> at org.apache.axis2.transport.http.CommonsHTTPTransportSender.wri
> teMessageWithCommons(CommonsHTTPTransportSender.java:451)
> at org.apache.axis2.transport.http.CommonsHTTPTransportSender.inv
> oke(CommonsHTTPTransportSender.java:278)
> 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.execu
> teImpl(OutInAxisOperation.java:225)
> at org.apache.axis2.client.OperationClient.execute(Operat
> ionClient.java:149)
> at org.apache.synapse.message.senders.blocking.BlockingMsgSender.
> sendReceive(BlockingMsgSender.java:302)
> at org.apache.synapse.message.senders.blocking.BlockingMsgSender.
> send(BlockingMsgSender.java:211)
> at org.apache.synapse.mediators.builtin.CallMediator.handleBlo
> ckingCall(CallMediator.java:150)
> at org.apache.synapse.mediators.builtin.CallMediator.mediate(C
> allMediator.java:113)
> at org.apache.synapse.mediators.AbstractListMediator.mediate(A
> bstractListMediator.java:97)
> at org.apache.synapse.mediators.filters.FilterMediator.mediate(
> FilterMediator.java:250)
> at org.apache.synapse.mediators.base.SequenceMediator.mediate(S
> equenceMediator.java:267)
> at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.mediat
> eFromContinuationStateStack(Axis2SynapseEnvironment.java:775)
> at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.inject
> Message(Axis2SynapseEnvironment.java:282)
> at org.apache.synapse.core.axis2.SynapseCallbackReceiver.handle
> Message(SynapseCallbackReceiver.java:554)
> at org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(
> SynapseCallbackReceiver.java:188)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
> at org.apache.synapse.transport.passthru.ClientWorker.run(Clie
> ntWorker.java:262)
> at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(
> NativeWorkerPool.java:172)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(T
> hreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.net.BindException: Address already in use (Bind failed)
> at java.net.PlainSocketImpl.socketBind(Native Method)
> at java.net.AbstractPlainSocketImpl.bind(A
> bstractPlainSocketImpl.java:387)
> at java.net.Socket.bind(Socket.java:644)
> at sun.security.ssl.BaseSSLSocketImpl.bind(BaseSSLSocketImpl.java:
> 124)
> at sun.security.ssl.SSLSocketImpl.bind(SSLSocketImpl.java:65)
> at sun.security.ssl.SSLSocketImpl.init>(SSLSocketImpl.java:468
> )
> at sun.security.ssl.SSLSocketFactoryImpl.createSocket(
> SSLSocketFactoryImpl.java:153)
> at org.opensaml.ws.soap.client.http.TLSProtocolSocketFactory.
> createSocket(TLSProtocolSocketFactory.java:185)
> at org.apache.commons.httpclient.HttpConnection.open(
> HttpConnection.java:707)
> at org.apache.commons.httpclient.MultiThreadedHttpConnectionMan
> ager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:
> 1361)
> at org.apache.commons.httpclient.HttpMethodDirector.
> executeWithRetry(HttpMethodDirector.java:387)
> at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(
> HttpMethodDirector.java:171)
> at org.apache.commons.httpclient.HttpClient.executeMethod(
> HttpClient.java:397)
> at org.apache.axis2.transport.http.AbstractHTTPSender.
> executeMethod(AbstractHTTPSender.java:659)
> at org.apache.axis2.transport.http.HTTPSender.sendViaPost(
> HTTPSender.java:195)
> ... 24 more
>
>
>
> --
> Francisco Ribeiro
> *SCEA|SCJP|SCWCD|IBM Certified SOA Associate*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Retrieving API details via carbon REST API admin service

2017-11-26 Thread roshan wijesena
Have you tried these APIs?

https://docs.wso2.com/display/AM210/apidocs/publisher/

On Mon, Nov 27, 2017 at 2:45 AM, Amanda Jayanetti  wrote:

> Hi all,
>
> For a task that I'm currently working on, I need to retrieve all APIs that
> have been created/published by a particular tenant. In order to do this, we
> tried using carbon REST API admin service but details of API handlers were
> not returned by this service. Is this the expected behavior? If so, is
> there any other way of retrieving these details?
>
> Best Regards,
> Amanda
> --
> *Amanda Jayanetti*
> Software Engineer
> WSO2, Inc.; http://wso2.com
>
> Mobile: +9471957591 <+94%2071%20185%202792>1
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM]Cannot login to APIM Management console with admin credentials

2017-11-24 Thread roshan wijesena
So this is not because of java problem?

On Fri, Nov 24, 2017 at 10:24 PM Isuru Uyanage <isur...@wso2.com> wrote:

> Hi Irham,
> Yes it worked with *carbon/** with java build 1.8.0_144-b01.
>
>
> Thanks
> Isuru
>
> *Thanks and Best Regards,*
>
> *Isuru Uyanage*
> *Software Engineer - QA | WSO2*
> *Mobile : **+94 77 <+94%2077%20767%201807> 55 30752*
> *LinkedIn: **https://www.linkedin.com/in/isuru-uyanage/
> <https://www.linkedin.com/in/isuru-uyanage/>*
>
>
>
>
> On Fri, Nov 24, 2017 at 7:56 AM, Irham Iqbal <iq...@wso2.com> wrote:
>
>> Hi Isuru,
>>
>> The reason for the issue your facing is the request is not going
>> for /carbon/admin/* IMO if you making it /carbon/* it should work.
>>
>> Thanks,
>> Iqbal
>>
>> On Thu, Nov 23, 2017 at 8:20 PM, Bhathiya Jayasekara <bhath...@wso2.com>
>> wrote:
>>
>>> Hi Roshan,
>>>
>>> No, that's not a public thread.
>>>
>>> Here[1] is the original bug.
>>>
>>> @Isuru: Make sure you don't have the previous version in your PATH
>>> variable.
>>>
>>> [1] https://bugs.openjdk.java.net/browse/JDK-8189789
>>>
>>> Thanks,
>>> Bhathiya
>>>
>>> On Thu, Nov 23, 2017 at 4:30 PM, Isuru Uyanage <isur...@wso2.com> wrote:
>>>
>>>> Hi All,
>>>> I downgraded Java to (build 1.8.0_144-b01) and restarted the APIM 2.1.0
>>>>
>>>> But still, I'm getting the same error. Any thoughts about this.
>>>>
>>>> *Thanks and Best Regards,*
>>>>
>>>> *Isuru Uyanage*
>>>> *Software Engineer - QA | WSO2*
>>>> *Mobile : **+94 77 <+94%2077%20767%201807> 55 30752*
>>>> *LinkedIn: **https://www.linkedin.com/in/isuru-uyanage/
>>>> <https://www.linkedin.com/in/isuru-uyanage/>*
>>>>
>>>>
>>>>
>>>>
>>>> On Thu, Nov 23, 2017 at 1:22 PM, Isuru Uyanage <isur...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> I tried updating Owasp.CsrfGuard.Carbon.properties file, which is in
>>>>> $APIM_HOME/repository/conf/security folder by adding the below entry.
>>>>>
>>>>> org.owasp.csrfguard.unprotected.mgtconsolelogin=%servletContext%/carbon/admin/*
>>>>>
>>>>> I could log in to the Management console with admin credentials but
>>>>> once try to creating user/user roles, cannot proceed further and the same
>>>>> issue is repeating. I think the best option is to downgrade the java.
>>>>>
>>>>> Thanks,
>>>>>
>>>>> *Thanks and Best Regards,*
>>>>>
>>>>> *Isuru Uyanage*
>>>>> *Software Engineer - QA | WSO2*
>>>>> *Mobile : **+94 77 <+94%2077%20767%201807> 55 30752*
>>>>> *LinkedIn: **https://www.linkedin.com/in/isuru-uyanage/
>>>>> <https://www.linkedin.com/in/isuru-uyanage/>*
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Thu, Nov 23, 2017 at 4:54 AM, roshan wijesena <
>>>>> roshan86...@gmail.com> wrote:
>>>>>
>>>>>> Hi Rumy,
>>>>>>
>>>>>> is this mail public ?, [Important][Critical] None of WSO2 products
>>>>>> are working with latest JDK.
>>>>>>
>>>>>> I am also facing the same problem, however downgrade java is not a
>>>>>> option for me :(
>>>>>>
>>>>>> On Wed, Nov 22, 2017 at 11:09 PM, Mushthaq Rumy <musht...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Isuru,
>>>>>>>
>>>>>>> Seems like the java version is causing this issue. This issue is
>>>>>>> there with java JDK 8u151. Please refer [1] for more details.
>>>>>>>
>>>>>>> [1] - [Important][Critical] None of WSO2 products are working with
>>>>>>> latest JDK [Was: GZIP decoding issue in APIM/EI when deployed in MC]
>>>>>>>
>>>>>>> Thanks & Regards,
>>>>>>> Mushthaq
>>>>>>>
>>>>>>> On Wed, Nov 22, 2017 at 3:35 PM, Irham Iqbal <iq...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi Isuru,
>>>>>>>>
&g

Re: [Dev] [APIM]Cannot login to APIM Management console with admin credentials

2017-11-24 Thread roshan wijesena
Ok, thanks Bhathiya.

On Fri, Nov 24, 2017 at 11:02 PM Bhathiya Jayasekara <bhath...@wso2.com>
wrote:

> It is. What Irham has suggested is a workaround to fix one of a few issues
> which occur due to that bug, and it opens up a security vulnerability too.
> In a production environment, you shouldn't do that.
>
> Thanks,
> Bhathiya
>
> On Fri, Nov 24, 2017 at 4:56 PM, roshan wijesena <roshan86...@gmail.com>
> wrote:
>
>> So this is not because of java problem?
>>
>> On Fri, Nov 24, 2017 at 10:24 PM Isuru Uyanage <isur...@wso2.com> wrote:
>>
>>> Hi Irham,
>>> Yes it worked with *carbon/** with java build 1.8.0_144-b01.
>>>
>>>
>>> Thanks
>>> Isuru
>>>
>>> *Thanks and Best Regards,*
>>>
>>> *Isuru Uyanage*
>>> *Software Engineer - QA | WSO2*
>>> *Mobile : **+94 77 <+94%2077%20767%201807> 55 30752*
>>> *LinkedIn: **https://www.linkedin.com/in/isuru-uyanage/
>>> <https://www.linkedin.com/in/isuru-uyanage/>*
>>>
>>>
>>>
>>>
>>> On Fri, Nov 24, 2017 at 7:56 AM, Irham Iqbal <iq...@wso2.com> wrote:
>>>
>>>> Hi Isuru,
>>>>
>>>> The reason for the issue your facing is the request is not going
>>>> for /carbon/admin/* IMO if you making it /carbon/* it should work.
>>>>
>>>> Thanks,
>>>> Iqbal
>>>>
>>>> On Thu, Nov 23, 2017 at 8:20 PM, Bhathiya Jayasekara <bhath...@wso2.com
>>>> > wrote:
>>>>
>>>>> Hi Roshan,
>>>>>
>>>>> No, that's not a public thread.
>>>>>
>>>>> Here[1] is the original bug.
>>>>>
>>>>> @Isuru: Make sure you don't have the previous version in your PATH
>>>>> variable.
>>>>>
>>>>> [1] https://bugs.openjdk.java.net/browse/JDK-8189789
>>>>>
>>>>> Thanks,
>>>>> Bhathiya
>>>>>
>>>>> On Thu, Nov 23, 2017 at 4:30 PM, Isuru Uyanage <isur...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Hi All,
>>>>>> I downgraded Java to (build 1.8.0_144-b01) and restarted the APIM
>>>>>> 2.1.0
>>>>>>
>>>>>> But still, I'm getting the same error. Any thoughts about this.
>>>>>>
>>>>>> *Thanks and Best Regards,*
>>>>>>
>>>>>> *Isuru Uyanage*
>>>>>> *Software Engineer - QA | WSO2*
>>>>>> *Mobile : **+94 77 <+94%2077%20767%201807> 55 30752*
>>>>>> *LinkedIn: **https://www.linkedin.com/in/isuru-uyanage/
>>>>>> <https://www.linkedin.com/in/isuru-uyanage/>*
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Thu, Nov 23, 2017 at 1:22 PM, Isuru Uyanage <isur...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi All,
>>>>>>>
>>>>>>> I tried updating Owasp.CsrfGuard.Carbon.properties file, which is
>>>>>>> in $APIM_HOME/repository/conf/security folder by adding the below
>>>>>>> entry.
>>>>>>>
>>>>>>> org.owasp.csrfguard.unprotected.mgtconsolelogin=%servletContext%/carbon/admin/*
>>>>>>>
>>>>>>> I could log in to the Management console with admin credentials but
>>>>>>> once try to creating user/user roles, cannot proceed further and the 
>>>>>>> same
>>>>>>> issue is repeating. I think the best option is to downgrade the java.
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> *Thanks and Best Regards,*
>>>>>>>
>>>>>>> *Isuru Uyanage*
>>>>>>> *Software Engineer - QA | WSO2*
>>>>>>> *Mobile : **+94 77 <+94%2077%20767%201807> 55 30752*
>>>>>>> *LinkedIn: **https://www.linkedin.com/in/isuru-uyanage/
>>>>>>> <https://www.linkedin.com/in/isuru-uyanage/>*
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Nov 23, 2017 at 4:54 AM, roshan wijesena <
>>>>>>> roshan86...@gmail.com> wrote:
>>>>>>>
>>>>>>>&g

Re: [Dev] [APIM 2.1.0] Class not found org.wso2.carbon.transport.passthru.PassThroughHttpSender cannot be found by axis2_1.6.1.wso2v20

2017-11-22 Thread roshan wijesena
Chamalee,

Thanks that was the issue :D . Sorry for the noise!

On Thu, Nov 23, 2017 at 4:14 PM, Chamalee De Silva <chama...@wso2.com>
wrote:

> Hi Roshan,
>
> Can you double check your axis2.xml configuration for the Transport sender
> class ?
>
> This issue can be reproduced in a fresh pack when you set
> * org.wso2.carbon*.transport.passthru.PassThroughHttpSender as the class
> in your transport sender configuration without using *org.apache.synapse.*
> transport.passthru.PassThroughHttpSender as the class.
>
>
>
> Thanks,
> Chamalee
>
> On Thu, Nov 23, 2017 at 9:05 AM, roshan wijesena <roshan86...@gmail.com>
> wrote:
>
>> Folks,
>>
>> When I enable transportSender configs from axis2.xml, in APIM 2.1.0, I
>> am getting below error, what could be gone wrong here?
>>
>> 
>> true
>> localhost
>> 8080
>> 
>>
>> [2017-11-23 13:31:29,852] FATAL - CarbonServerManager WSO2 Carbon
>> initialization Failed
>> org.apache.axis2.AxisFault: Exception occured while loading the Axis
>> configuration from /opt/wso2/wso2am-2.1.0/repository/conf/axis2/axis2.xml
>> at org.wso2.carbon.core.CarbonAxisConfigurator.getAxisConfigura
>> tion(CarbonAxisConfigurator.java:194)
>> at org.apache.axis2.context.ConfigurationContextFactory.createC
>> onfigurationContext(ConfigurationContextFactory.java:64)
>> at org.wso2.carbon.core.CarbonConfigurationContextFactory.creat
>> eNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
>> at org.wso2.carbon.core.init.CarbonServerManager.initializeCarb
>> on(CarbonServerManager.java:398)
>> at org.wso2.carbon.core.init.CarbonServerManager.start(CarbonSe
>> rverManager.java:219)
>> at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.act
>> ivate(CarbonCoreServiceComponent.java:94)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
>> ssorImpl.java:62)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
>> thodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:498)
>> at org.eclipse.equinox.internal.ds.model.ServiceComponent.activ
>> ate(ServiceComponent.java:260)
>> at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.a
>> ctivate(ServiceComponentProp.java:146)
>> at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.b
>> uild(ServiceComponentProp.java:345)
>> at org.eclipse.equinox.internal.ds.InstanceProcess.buildCompone
>> nt(InstanceProcess.java:620)
>> at org.eclipse.equinox.internal.ds.InstanceProcess.buildCompone
>> nts(InstanceProcess.java:197)
>> at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolve
>> r.java:343)
>> at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SC
>> RManager.java:222)
>> at org.eclipse.osgi.internal.serviceregistry.FilteredServiceLis
>> tener.serviceChanged(FilteredServiceListener.java:107)
>> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.d
>> ispatchEvent(BundleContextImpl.java:861)
>> at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve
>> nt(EventManager.java:230)
>> at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEv
>> entSynchronous(ListenerQueue.java:148)
>> at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.pu
>> blishServiceEventPrivileged(ServiceRegistry.java:819)
>> at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.pu
>> blishServiceEvent(ServiceRegistry.java:771)
>> at org.eclipse.osgi.internal.serviceregistry.ServiceRegistratio
>> nImpl.register(ServiceRegistrationImpl.java:130)
>> at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.re
>> gisterService(ServiceRegistry.java:214)
>> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.r
>> egisterService(BundleContextImpl.java:433)
>> at org.eclipse.equinox.http.servlet.internal.Activator.register
>> HttpService(Activator.java:81)
>> at org.eclipse.equinox.http.servlet.internal.Activator.addProxy
>> Servlet(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.initSer

[Dev] [APIM 2.1.0] Class not found org.wso2.carbon.transport.passthru.PassThroughHttpSender cannot be found by axis2_1.6.1.wso2v20

2017-11-22 Thread roshan wijesena
Folks,

When I enable transportSender configs from axis2.xml, in APIM 2.1.0, I am
getting below error, what could be gone wrong here?


true
localhost
8080


[2017-11-23 13:31:29,852] FATAL - CarbonServerManager WSO2 Carbon
initialization Failed
org.apache.axis2.AxisFault: Exception occured while loading the Axis
configuration from /opt/wso2/wso2am-2.1.0/repository/conf/axis2/axis2.xml
at
org.wso2.carbon.core.CarbonAxisConfigurator.getAxisConfiguration(CarbonAxisConfigurator.java:194)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
at
org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
at
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:398)
at
org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
at
org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:94)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
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:345)
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:1269)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1182)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1072)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5368)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5660)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.axis2.deployment.DeploymentException:
org.wso2.carbon.transport.passthru.PassThroughHttpSender cannot be found by
axis2_1.6.1.wso2v20
at
org.apache.axis2.deployment.AxisConfigBuilder.processTransportSenders(AxisConfigBuilder.java:712)
at
org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:124)
at

Re: [Dev] Some values are missing in governance registry property search

2017-11-22 Thread roshan wijesena
"Even though if we add multiple versions of an API, only one version of
that particular API is visibile in the publisher."

Which version is this? I tested in 2.1.0 i can see all versioned apis in
publisher, is this happening when you have more than 10 APIs?

On Thu, Nov 23, 2017 at 4:41 AM, Megala Uthayakumar  wrote:

> Hi All,
>
> I am working on adding access control support to APIM 2.1.x,. For this
> feature, we are making use of the registry property-search for the getting
> relevant resources based on user roles. While doing the implementation, I
> came across following behaviour,
>
> Even though if we add multiple versions of an API, only one version of
> that particular API is visibile in the publisher. While analyzing this
> issue, I understood this issue is only happening if we are using
> PaginationContext init, with the sort property "overview_name" (i.e. API
> Name). This has happened because when finally sorting the merged attribute
> search result and property search result, we are using the TreeSet in [1]
> and in TreeSet if comparator [2] returns 0, it will be thought as duplicate
> and that value will be replaced TreeSet. Since in API Manager case, both
> the versions of API will have the same "overview_name" and the comparator
> will return the value as 0, so only one value will be given as result. In
> order to overcome this, we need to return some other value, whenever the
> comparison value is  0.
>
> I have created an github issue for this [3] and did a fix for this issue[
> 4]. I tested this fix locally and it seems to be working fine.
>
> Appreciate if someone from registry team can review and merge this.
>
> [1] https://github.com/wso2/carbon-governance/blob/master/
> components/governance/org.wso2.carbon.governance.api/
> src/main/java/org/wso2/carbon/governance/api/util/
> GovernanceUtils.java#L2055
> [2] https://github.com/wso2/carbon-governance/blob/master/
> components/governance/org.wso2.carbon.governance.api/
> src/main/java/org/wso2/carbon/governance/api/util/
> GovernanceUtils.java#L2056
> [3] https://github.com/wso2/carbon-governance/issues/297
> [4] https://github.com/wso2/carbon-governance/pull/298
>
> Thanks.
>
> Regards,
> Megala
> --
> Megala Uthayakumar
>
> Software Engineer
> Mobile : 0779967122
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM]Cannot login to APIM Management console with admin credentials

2017-11-22 Thread roshan wijesena
Hi Rumy,

is this mail public ?, [Important][Critical] None of WSO2 products are
working with latest JDK.

I am also facing the same problem, however downgrade java is not a option
for me :(

On Wed, Nov 22, 2017 at 11:09 PM, Mushthaq Rumy  wrote:

> Hi Isuru,
>
> Seems like the java version is causing this issue. This issue is there
> with java JDK 8u151. Please refer [1] for more details.
>
> [1] - [Important][Critical] None of WSO2 products are working with
> latest JDK [Was: GZIP decoding issue in APIM/EI when deployed in MC]
>
> Thanks & Regards,
> Mushthaq
>
> On Wed, Nov 22, 2017 at 3:35 PM, Irham Iqbal  wrote:
>
>> Hi Isuru,
>>
>> The reason might the java version you're using.
>>
>> You can update the Owasp.CsrfGuard.Carbon.properties file, which is in
>> $APIM_HOME/repository/conf/security folder with the bellowing entry to
>> ignore this error, IMO it's better if you use the proper java version.
>> org.owasp.csrfguard.unprotected.mgtconsolelogin=%servletCont
>> ext%/carbon/admin/*
>>
>> Thanks,
>> Iqbal
>>
>> On Wed, Nov 22, 2017 at 3:08 PM, Isuru Uyanage  wrote:
>>
>>> Hi All,
>>>
>>> I'm using wum updated pack (wso2am-2.1.0.1511201090302) for API Manager.
>>> After APIM server is started with the fresh pack, I can navigate to
>>> Management Console. But once I'm trying to log in with admin credentials, I
>>> cannot log in. The error is as below.
>>>
>>> Error: 403 Forbidden
>>> JavaLogger potential cross-site request forgery (CSRF) attack thwarted
>>> (user:, ip:10.100.5.136, method:POST,
>>> uri:/carbon/admin/login_action.jsp, error:required token is missing
>>> from the request)
>>>
>>> Affected Product Version:
>>> wum updated pack: wso2am-2.1.0.1511201090302.zip
>>>
>>> Environment details and versions:
>>>
>>> macOS High Sierra
>>> Version 10.13.1
>>> Google Chrome: Version 62.0.3202.94 (Official Build) (64-bit)
>>> Firefox: 57.0
>>>
>>> Any thoughts about this are highly appreciated.
>>>
>>>
>>> *Thanks and Best Regards,*
>>>
>>> *Isuru Uyanage*
>>> *Software Engineer - QA | WSO2*
>>> *Mobile : **+94 77 <+94%2077%20767%201807> 55 30752*
>>> *LinkedIn: **https://www.linkedin.com/in/isuru-uyanage/
>>> *
>>>
>>>
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Irham Iqbal
>> Software Engineer
>> WSO2
>> phone: +94 777888452
>> 
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Mushthaq Rumy
> *Software Engineer*
> Mobile : +94 (0) 779 492140 <%2B94%20%280%29%20773%20451194>
> Email : musht...@wso2.com
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middleware.
>
> 
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] API-Proxy for Single Page Application

2017-11-20 Thread roshan wijesena
Thanks Prabath.

It is clear now.

Regards
Roshan


On Mon, Nov 20, 2017 at 6:11 PM Prabath Siriwardena <prab...@wso2.com>
wrote:

> Let me clarify what is solved by the encryption here..
>
> Here the proxy uses the code grant type - and it gets access token +
> refresh token. Proxy can either store that at server side and replicate it
> across all the nodes - or store them in an encrypted cookie, and make
> things stateless..
>
> Encryption is used here to make the application stateless - and the end
> user will not get access to the access token or the refresh token.
>
> Then again, if someone finds the value stored in the session storage and
> then talk to the proxy API passing that along with all the encrypted
> cookies through its own app (say cURL).. it will not work...
>
> To make the above blocked - you need to have TLS channel binding between
> the browser and the proxy - and you need not to worry about APIs (whether
> they support channel binding or not)...
>
> The other benefit proxy gives is support for CORS - you need not to worry
> whether the external APIs support CORS or not...
>
> Thanks & regards,
> -Prabath
>
>
> On Sun, Nov 19, 2017 at 11:44 PM, Thilina Madumal <thilina...@wso2.com>
> wrote:
>
>> +Dev list
>>
>> On Mon, Nov 20, 2017 at 11:01 AM, Thilina Madumal <thilina...@wso2.com>
>> wrote:
>>
>>> Hi Roshan,
>>>
>>>
>>> On Mon, Nov 20, 2017 at 10:43 AM, roshan wijesena <roshan86...@gmail.com
>>> > wrote:
>>>
>>>> Hi Thilina,
>>>>
>>>> How do you create this encrypted token? I agree with  NuwanD,  if you
>>>> store that encrypted token in the browser, and if some one got that token
>>>> he can
>>>>
>>>
>>> For now I'm using symetric encryption. Encrypted tokens are stored in a
>>> cookie and sent to the browser.
>>>
>>>
>>>> access your protected backed via proxy call. The point is encrypted
>>>> token seems not fixing the problem, which you trying to achieve.
>>>>
>>>
>>> So what do you suggest?
>>> You are suggesting to store the tokens at the Proxy against some key
>>> (say sessionID), and send this sessionID as a cookie to the browser-client?
>>> If so, what if this cookie is stolen? It is the same case right?
>>>
>>>
>>>>
>>>> Regards
>>>> Roshan
>>>>
>>>> On Mon, Nov 20, 2017 at 4:01 PM, Thilina Madumal <thilina...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Nuwan,
>>>>>
>>>>>
>>>>> On Mon, Nov 20, 2017 at 1:54 AM, Nuwan Dias <nuw...@wso2.com> wrote:
>>>>>
>>>>>> Hi Thilina,
>>>>>>
>>>>>> I still don't understand how encrypting this information makes the
>>>>>> proxy stateless. What state would the proxy have to bear if this
>>>>>> information was in plain text? Also why would you need to store the
>>>>>> id_token on client side?
>>>>>>
>>>>>
>>>>> If the access_token is not stored at the browser side, then the proxy
>>>>> need to store the access_token against some key at the proxy side. It is
>>>>> same with the id_token. We need the id_token to understand the context of
>>>>> the access_token.
>>>>>
>>>>> In order to avoid storing tokens at the Proxy, we need to send those
>>>>> to the browser client. Sending them as plain text is not a wise thing to
>>>>> do. That's where the encryption comes in handy.
>>>>>
>>>>> However the important thing to note here is, there is no server-side
>>>>> for these SPAs. We don't target the web-applications with a server-side.
>>>>> Our focus is only pure SPAs where there is no corresponding server side.
>>>>>
>>>>>
>>>>>>
>>>>>> Yes, encrypting the token and other info would prevent an attacker
>>>>>> calling the APIs directly. But an attacker wouldn't be worried about
>>>>>> calling the APIs directly. He would just call through the proxy, just 
>>>>>> like
>>>>>> the SPA itself does.
>>>>>>
>>>>>
>>>>> If the attacker can get hold of the cookies, yes this can happen.
>>>>> However given that if we have secured the cookies and make them HTTPOnly 
>>>>&

Re: [Dev] API-Proxy for Single Page Application

2017-11-19 Thread roshan wijesena
Hi Thilina,

My suggestion is, use something similar to that we have done in the APIM
SPAs, or can ballerina doing something with this I am not sure?

Regards
Roshan


On Mon, Nov 20, 2017 at 4:31 PM, Thilina Madumal <thilina...@wso2.com>
wrote:

> Hi Roshan,
>
>
> On Mon, Nov 20, 2017 at 10:43 AM, roshan wijesena <roshan86...@gmail.com>
> wrote:
>
>> Hi Thilina,
>>
>> How do you create this encrypted token? I agree with  NuwanD,  if you
>> store that encrypted token in the browser, and if some one got that token
>> he can
>>
>
> For now I'm using symetric encryption. Encrypted tokens are stored in a
> cookie and sent to the browser.
>
>
>> access your protected backed via proxy call. The point is encrypted token
>> seems not fixing the problem, which you trying to achieve.
>>
>
> So what do you suggest?
> You are suggesting to store the tokens at the Proxy against some key (say
> sessionID), and send this sessionID as a cookie to the browser-client?
> If so, what if this cookie is stolen? It is the same case right?
>
>
>>
>> Regards
>> Roshan
>>
>> On Mon, Nov 20, 2017 at 4:01 PM, Thilina Madumal <thilina...@wso2.com>
>> wrote:
>>
>>> Hi Nuwan,
>>>
>>>
>>> On Mon, Nov 20, 2017 at 1:54 AM, Nuwan Dias <nuw...@wso2.com> wrote:
>>>
>>>> Hi Thilina,
>>>>
>>>> I still don't understand how encrypting this information makes the
>>>> proxy stateless. What state would the proxy have to bear if this
>>>> information was in plain text? Also why would you need to store the
>>>> id_token on client side?
>>>>
>>>
>>> If the access_token is not stored at the browser side, then the proxy
>>> need to store the access_token against some key at the proxy side. It is
>>> same with the id_token. We need the id_token to understand the context of
>>> the access_token.
>>>
>>> In order to avoid storing tokens at the Proxy, we need to send those to
>>> the browser client. Sending them as plain text is not a wise thing to do.
>>> That's where the encryption comes in handy.
>>>
>>> However the important thing to note here is, there is no server-side for
>>> these SPAs. We don't target the web-applications with a server-side. Our
>>> focus is only pure SPAs where there is no corresponding server side.
>>>
>>>
>>>>
>>>> Yes, encrypting the token and other info would prevent an attacker
>>>> calling the APIs directly. But an attacker wouldn't be worried about
>>>> calling the APIs directly. He would just call through the proxy, just like
>>>> the SPA itself does.
>>>>
>>>
>>> If the attacker can get hold of the cookies, yes this can happen.
>>> However given that if we have secured the cookies and make them HTTPOnly we
>>> can ensure security up to some level, can't we?
>>>
>>> However if an attacker got hold of your facebook, google, or whatever
>>> cookies then he will be able to forge your identity. IMO this to happen,
>>> the attacker should either hack your machine or you should hand over the
>>> cookies willingly. Given that cookies are secured and HttpOnly, man in the
>>> middle attack or, cross-site scripts will not be able to exploit the
>>> cookies.
>>>
>>>
>>>>
>>>> Thanks,
>>>> NuwanD.
>>>>
>>>> On Sun, 19 Nov 2017 at 9:05 pm, Thilina Madumal <thilina...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Nuwan,
>>>>>
>>>>>
>>>>> On Sun, Nov 19, 2017 at 8:48 PM, Nuwan Dias <nuw...@wso2.com> wrote:
>>>>>
>>>>>> Hi Thilina,
>>>>>>
>>>>>> What do you gain by encrypting the token that is to be stored on the
>>>>>> client side? Since the client does not seem to be doing any decryption
>>>>>> before using the
>>>>>>
>>>>>
>>>>> FYI here it is not only just the access_token. It is access_token +
>>>>> refresh_token + id_token altogether.
>>>>> Token encrypted and stored in the client side to make the proxy
>>>>> stateless.
>>>>> The Cookie that posesses these data is secured and HttpOnly.
>>>>>
>>>>>
>>>>>> token, theft of an encrypted token could be just as bad as the one in
>>>>>> plain 

Re: [Dev] API-Proxy for Single Page Application

2017-11-16 Thread roshan wijesena
Can you please explain more about this API-proxy ? is it only for decrypt
the token?

APIM 3.0.X has SPA's for it's publisher and store apps, have a look at
security implementation of it. AFAIK, there is a no API proxy in that
implementation.

On Thu, Nov 16, 2017 at 11:06 PM, Thilina Madumal 
wrote:

> Hi Devs,
>
> The idea of an API-Proxy for Single Page Applications is quite helpful in
> mitigating inherent security risks of keeping the access_token in the
> browser side as plain text.
>
> Here the idea is to keep the access_token encrypted and set in a cookie.
> API-Proxy will mediate all the calls for the third-party APIs by decrypting
> the access_token value and calling the requested third-party APIs with the
> decrypted access_token.
>
> This is a significantly valuable use-case for the SPAs where there is no
> attached server-side other than the container which is used to facilitate
> the initial page download.
>
> I'm in the requirement gathering phase. Would appreciate your suggestions
> on,
>
>- what are the nice to have capabilities in API-Proxy
>- what are the complexities that will arise while implementing this
>- how to achieve the third-party API call mediation
>- Is this a valid use-case
>- or is this a redundant effort
>- are there any alternatives
>- and etc.
>
> This is an open invitation to shoot whatever pops into your mind in this
> regards:)
>
> Thanks in advance.
>
> Cheers,
> Thilina
> --
> *Thilina Madumal*
> *Software Engineer | **WSO2*
> Email: thilina...@wso2.com
> Mobile: *+ <+94%2077%20767%201807>94 774553167*
> Web:  http://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


Re: [Dev] APIM-2.1.0 retrieve app name from access token or client id

2017-09-26 Thread roshan wijesena
Hi

There is an admin service to fetch the oAuth application details,

https://docs.wso2.com/display/AM210/WSO2+Admin+Services



On Tue, Sep 26, 2017 at 10:33 PM, 김대경  wrote:

> Hi
>
> I want to know applocation name from access token.
>
> I can get client_id(consumerKey) using '/oauth2/introspect' api. But I
> want to know application name.
>
> How can I retrieve this information?
> I think 'Application name' is not secret value.
>
> thank you.
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM] [Golang] Implementing HTTP PUT in Golang

2017-08-13 Thread roshan wijesena
Hello Menuka,

It is Interesting to know why we have selected GoLang to develop this API
rather JAVA? Will it work with a JVM OOTB with out installing any
additional libs?

Regards
Roshan.

On Mon, Aug 14, 2017 at 1:39 PM, Isuru Haththotuwa  wrote:

> Just to clarify, is this working with POST?
>
> On Mon, Aug 14, 2017 at 9:01 AM, Isuru Haththotuwa 
> wrote:
>
>> The best way to figure out this would be to debug the MSF4J layer.
>>
>> @Thusitha/Chanaka: Can you please give some input on where to start
>> debugging for this particular case?
>>
>> On Sun, Aug 13, 2017 at 12:54 PM, Menuka Warushavithana 
>> wrote:
>>
>>> Hi,
>>> I'm working on creating a CLI tool for importing and exporting APIs
>>> between different environments (for WSO2 API Manager 3.0.0) using Golang.
>>>
>>> I have an issue with importing APIs.
>>> The following curl command works fine.
>>> *`curl -k -F "file=@exported.zip" -X PUT -H "Authorization: Bearer
>>> " https://localhost:9292/api/am/publisher/v1.0/import/apis
>>> `*
>>>
>>> The problem is with mapping this to Go code.
>>> Here's what I wrote at first.
>>>
>>> func main() {
>>> data, err := os.Open("./exported.zip")
>>> accessToken := ""
>>> if err != nil {
>>> fmt.Println("Error oening file")
>>> panic(err)
>>> }
>>>
>>> req, reqErr := http.NewRequest(http.MethodPut, "
>>> https://localhost:9292/api/am/publisher/v1.0/import/apis;, data)
>>> if reqErr != nil {
>>> fmt.Println("Error creating request")
>>> panic(reqErr)
>>> }
>>>
>>> req.Header.Add("Content-Type", "multipart/form-data") // response
>>> is 500 with or without this line
>>> req.Header.Add("Authorization", "Bearer "+accessToken)
>>>
>>> tr := {
>>> TLSClientConfig: {InsecureSkipVerify: true}, // for
>>> skipping errors in https
>>> }
>>>
>>> client := {Transport: tr}
>>> res, resErr := client.Do(req)
>>>
>>> if resErr != nil {
>>> fmt.Println("Error in response")
>>> panic(resErr)
>>> }
>>>
>>> body, err := ioutil.ReadAll(res.Body)
>>>
>>> fmt.Println("Response:", res)
>>> fmt.Println("Body:", string(body))
>>> fmt.Println("Status:", res.Status)
>>>
>>> defer res.Body.Close()
>>> }
>>>
>>> This returns a *500 Internal Server Error.*
>>>
>>> But the request works fine with *Postman* client. Therefore, I tried
>>> putting the extra headers generated by Postman in Go code.
>>>
>>> func main() {
>>> url := "https://localhost:9292/api/am/publisher/v1.0;
>>> accessToken := ""
>>>
>>> payload := strings.NewReader("--WebKi
>>> tFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data;
>>> name=\"file\"; filename=\"./exported.zip\"\r\nContent-Type:
>>> application/zip\r\n\r\n\r\n--WebKitFormBoundary7MA4YWxkTrZu0gW--")
>>>
>>> req, _ := http.NewRequest(http.MethodPut, url, payload)
>>>
>>> req.Header.Add("content-type", "multipart/form-data;
>>> boundary=WebKitFormBoundary7MA4YWxkTrZu0gW")
>>> req.Header.Add("authorization", "Bearer "+accessToken)
>>> req.Header.Add("cache-control", "no-cache")
>>>
>>> tr := {
>>> TLSClientConfig: {InsecureSkipVerify: true}, // for
>>> skipping errors in https
>>> }
>>>
>>> client := {Transport: tr}
>>> resp, _ := client.Do(req)
>>>
>>> if resp != nil {
>>>
>>> body, _ := ioutil.ReadAll(resp.Body)
>>>
>>> fmt.Println(resp)
>>> fmt.Println(string(body))
>>> } else {
>>> fmt.Println("Null Response")
>>> }
>>>
>>> fmt.Println(resp.Status)
>>> }
>>>
>>> This returns a *405 - Method Not Allowed*
>>>
>>> So, Postman works. Curl works. Go does not.
>>> I googled on 'multipart/form-data' under HTTP, but that didn't help
>>> either.
>>>
>>> Your advice is much appreciated in solving this issue.
>>>
>>> Thanks and Regards
>>>
>>> *Menuka Warushavithana*
>>> *Software Engineering Intern*
>>> *WSO2*
>>>
>>> *Moblie:  + <%2B%2094%2011%202145345%20%C2%A0Ext.%205737> 94 77
>>> 6979690 <077%20697%209690>*
>>>
>>>
>>>
>>
>>
>> --
>> Thanks and Regards,
>>
>> Isuru H.
>> +94 716 358 048 <071%20635%208048>* *
>>
>>
>>
>
>
> --
> Thanks and Regards,
>
> Isuru H.
> +94 716 358 048 <+94%2071%20635%208048>* *
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Yasima Dewmini

2017-06-30 Thread Roshan Wijesena
Congratulations Yasima!

On Fri, Jun 30, 2017 at 1:20 PM, Sanjeewa Malalgoda <sanje...@wso2.com>
wrote:

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


-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] OpenAM as key manager with wso2

2017-06-22 Thread Roshan Wijesena
Hi

This documentation explains how to configure third-party key manager with
wso2 API manager. In this example, we have used surfOauth but you can
follow same steps to configure openAM as well.


https://docs.wso2.com/display/AM210/Configuring+a+Third-Party+Key+Manager

On Thu, Jun 22, 2017 at 6:09 PM, Srinivasreddy R <
srinivasreddy4...@gmail.com> wrote:

> Hi All,
> I want to use OpenAM as a key manager with wso2 api manager .
> please suggest .
>
> thanks
> srinivas
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [UUF] UUF-Client renderFragment fails with warning "Content is empty."

2017-02-16 Thread Roshan Wijesena
It seems Kasun is right,

the object "data" is by-default coming as html/text. so we don't need use
it as 'data.html' .

Since this is a blocker for APIM C5 - M1 release for now I have sent a pull
request with a fix. Please review and merge.

https://github.com/wso2/carbon-uuf-common/pull/41/files


On Tue, Feb 14, 2017 at 10:42 AM, Kasun Thennakoon <kasu...@wso2.com> wrote:

> Hi all,
>
> Experience the $subject when using UUF-Client for rendering hbs fragments.
> As I understand, the response of 
> *http://localhost:9090/publisher/fragments/{fragment-name}
> <http://localhost:9090/publisher/fragments/%7Bfragment-name%7D> *contains
> an HTML string and in this line[1] it is looking for *.html* attribute in
> the response object when calling *pushContent* method. Which pass an 
> *undefined
> *value.IMHO this is what cause to display no content in the target zone.
>
>
> [1]: https://github.com/wso2/carbon-uuf-common/blob/master/
> components/org.wso2.carbon.uuf.common.foundation.ui/src/
> main/fragments/uuf-client/public/uuf-client/uuf-client.js#L226
>
> --
> *Kasun Thennakoon*
> Software Engineer
> WSO2, Inc.
> Mobile:+94 711661919
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] [VOTE] Release WSO2 API Manager 2.1.0 RC4

2017-01-31 Thread Roshan Wijesena
Tested following,

1. SSO with IS 5.3.0
2. Assertion encryption enabled SP with API store, publisher, admin.
3. API invocation.
4. API docs save in local storage while editing.

[+] Stable - Go ahead and release.

Thanks.


On Tue, Jan 31, 2017 at 2:09 PM, Samitha Chathuranga <sami...@wso2.com>
wrote:

> Hi,
>
> I tested following in a fully distributed deployment, with shared registry
> configurations.
>
> 1. Starting & working with profiles
> 2. Basic API life cycle
> 3. Throttling
> 4. Basic analytics functions
>
> [+] Stable - go ahead and release
>
> Regards,
> Samitha
>
> On Tue, Jan 31, 2017 at 12:51 PM, Chamila Adhikarinayake <
> chami...@wso2.com> wrote:
>
>> Hi,
>>
>> Tested Workflows for API state change feature.
>>
>> [+] Stable - go ahead and release
>>
>> Chamila
>>
>> On Tue, Jan 31, 2017 at 12:31 PM, Rajith Roshan <raji...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> Tested API manager with third party key manager.
>>>
>>> [+] Stable - go ahead and release
>>>
>>>
>>> Thanks!
>>> Rajith
>>>
>>> On Tue, Jan 31, 2017 at 12:23 PM, Anuruddha Liyanarachchi <
>>> anurudd...@wso2.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> Tested following:
>>>>
>>>> 1. Websocket API create, publish and invocation.
>>>> 2. SOAP endpoint API create, publish and invocation.
>>>>
>>>> [+] Stable - go ahead and release
>>>>
>>>> On Mon, Jan 30, 2017 at 10:28 PM, Malintha Amarasinghe <
>>>> malint...@wso2.com> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> This is the 4th Release Candidate of WSO2 API Manager 2.1.0
>>>>>
>>>>> Please download, test the product and vote. The vote will be open for
>>>>> 72 hours or as needed.
>>>>>
>>>>> Source and distribution
>>>>>
>>>>> Run-time : https://github.com/wso2/prod
>>>>> uct-apim/releases/download/v2.1.0-rc4/wso2am-2.1.0-RC4.zip
>>>>> Analytics : https://github.com/wso2/anal
>>>>> ytics-apim/releases/download/v2.1.0-rc3/wso2am-analytics-2.1.0-RC3.zip
>>>>> Tooling : https://github.com/wso2/devs
>>>>> tudio-tooling-apim/releases/tag/v2.1.0-rc2
>>>>>
>>>>>
>>>>> This release fixes the following issues:
>>>>> Runtime : https://wso2.org/jira/issues/?filter=13623
>>>>> Analytics : https://wso2.org/jira/issues/?filter=13624
>>>>> Tooling : https://wso2.org/jira/browse/DEVTOOLAPI-1
>>>>>
>>>>>
>>>>> Please vote as follows.
>>>>> [+] Stable - go ahead and release
>>>>> [-] Broken - do not release (explain why)
>>>>>
>>>>> Thanks,
>>>>> - WSO2 API Manager Team -
>>>>>
>>>>> --
>>>>> Malintha Amarasinghe
>>>>> Software Engineer
>>>>> *WSO2, Inc. - lean | enterprise | middleware*
>>>>> http://wso2.com/
>>>>>
>>>>> Mobile : +94 712383306 <+94%2071%20238%203306>
>>>>>
>>>>> ___
>>>>> Architecture mailing list
>>>>> architect...@wso2.org
>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Thanks and Regards,*
>>>> Anuruddha Lanka Liyanarachchi
>>>> Software Engineer - WSO2
>>>> Mobile : +94 (0) 712762611
>>>> Tel  : +94 112 145 345
>>>> a <thili...@wso2.com>nurudd...@wso2.com
>>>>
>>>> ___
>>>> Architecture mailing list
>>>> architect...@wso2.org
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>
>>>>
>>>
>>>
>>> --
>>> Rajith Roshan
>>> Software Engineer, WSO2 Inc.
>>> Mobile: +94-72-642-8350 <%2B94-71-554-8430>
>>>
>>> ___
>>> Architecture mailing list
>>> architect...@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>
>>>
>>
>>
>> --
>> Regards,
>> Chamila Adhikarinayake
>> Senior Software Engineer
>> WSO2, Inc.
>> Mobile - +94712346437 <+94%2071%20234%206437>
>> Email  - chami...@wso2.com
>> Blog  -  http://helpfromadhi.blogspot.com/
>>
>> ___
>> Architecture mailing list
>> architect...@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
>
> --
> Samitha Chathuranga
> Software Engineer, WSO2 Inc.
> lean.enterprise.middleware
> Mobile: +94715123761
>
> [image: http://wso2.com/signature] <http://wso2.com/signature>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Farasath Ahamed

2016-10-24 Thread Roshan Wijesena
Congratulations!

On Mon, Oct 24, 2016 at 2:44 AM, Johann Nallathamby <joh...@wso2.com> wrote:

> Hi All,
>
> It's my pleasure to announce Farasath Ahamed as a WSO2 Committer. Farasath
>  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.
>
> Farasath, congratulations and keep up the good work!
>
> Thanks & Regards.
>
> --
> Thanks & Regards,
>
> *Johann Dilantha Nallathamby*
> Technical Lead & Product Lead of WSO2 Identity Server
> Governance Technologies Team
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - *+9476950*
> Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE][RC3] Release - WSO2 API Manager mediation policy tooling 2.0.0 RC3.

2016-09-01 Thread Roshan Wijesena
Hi All,

Thanks for testing and verifying WSO2 APIM tooling 2.0.0 RC3. We are
closing the vote now. We are proceeding with  WSO2 APIM  tooling 2.0.0
release.

Thanks,
WSO2 APIM Team.

On Thu, Sep 1, 2016 at 5:45 PM, Roshan Wijesena <ros...@wso2.com> wrote:

> Hi Isabelle,
>
> On Thu, Sep 1, 2016 at 5:40 PM, Isabelle Mauny <isabe...@wso2.com> wrote:
>
>> Needs to be tested against API Cloud. Is that done ?
>>
>
> Yes, we have tested this with wso2 API cloud.
>
> Regards
> Roshan.
>
>
> --
> Roshan Wijesena.
> Senior Software Engineer-WSO2 Inc.
> Mobile: *+94719154640 <%2B94719154640>*
> Email: ros...@wso2.com
> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
> lean.enterprise.middleware.
>



-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE][RC3] Release - WSO2 API Manager mediation policy tooling 2.0.0 RC3.

2016-09-01 Thread Roshan Wijesena
Hi Isabelle,

On Thu, Sep 1, 2016 at 5:40 PM, Isabelle Mauny <isabe...@wso2.com> wrote:

> Needs to be tested against API Cloud. Is that done ?
>

Yes, we have tested this with wso2 API cloud.

Regards
Roshan.


-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [VOTE][RC3] Release - WSO2 API Manager mediation policy tooling 2.0.0 RC3.

2016-08-30 Thread Roshan Wijesena
Hi All,

This is the 3rd Release Candidate of WSO2 API Manager mediation policy
tooling 2.0.0.

Please download, test the product and vote. The vote will be open for 72
hours or as needed.

*Source and distribution*

*Tooling*  :
https://github.com/wso2/devstudio-tooling-apim/releases/tag/Released-release-2.0.3-RC3-2016-08-30-105251


Please vote as follows.
[+] Stable - go ahead and release
[-] Broken - do not release (explain why)

Thanks,
WSO2 APIM team.

-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Pull request for Devs platform repo.

2016-08-29 Thread Roshan Wijesena
Thanks Kavith.

On Tue, Aug 30, 2016 at 7:21 AM, Kavith Lokuhewage <kav...@wso2.com> wrote:

> Hi Roshan,
>
> Merged and updates are temporary published at [1]. They will be
> permanently published at [2] soon.
> Please verify the update (source tag at [3]).
>
>
> [1] http://builder1.us1.wso2.org/~developerstudio/developer-
> studio-kernel/4.1.0/platform-bundles/updates/
> [2] http://product-dist.wso2.com/p2/developer-studio-
> kernel/4.1.0/platform-bundles/
> [3] https://github.com/wso2/devstudio-tooling-platform/
> tree/4.1.0-201608291817-update
>
>
> Thanks,
>
> *Kavith Lokuhewage*
> Senior Software Engineer
> WSO2 Inc. - http://wso2.com
> lean . enterprise . middleware
> Mobile - +94779145123
> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
> Twitter <https://twitter.com/KavithThiranga>
>
> On Mon, Aug 29, 2016 at 5:12 PM, Roshan Wijesena <ros...@wso2.com> wrote:
>
>> Hi DevS Team,
>>
>> Please review and  merge below pull requests.
>>
>> https://github.com/wso2/devstudio-tooling-platform/pull/2
>> https://github.com/wso2/devstudio-tooling-platform/pull/3
>>
>> After that, please release an update for https://github.com/wso2/de
>> vstudio-tooling-platform/tree/4.1.0-updates
>>
>> Regards
>> Roshan.
>>
>> --
>> Roshan Wijesena.
>> Senior Software Engineer-WSO2 Inc.
>> Mobile: *+94719154640 <%2B94719154640>*
>> Email: ros...@wso2.com
>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>> lean.enterprise.middleware.
>>
>
>


-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Pull request for Devs platform repo.

2016-08-29 Thread Roshan Wijesena
Hi DevS Team,

Please review and  merge below pull requests.

https://github.com/wso2/devstudio-tooling-platform/pull/2
https://github.com/wso2/devstudio-tooling-platform/pull/3

After that, please release an update for
https://github.com/wso2/devstudio-tooling-platform/tree/4.1.0-updates

Regards
Roshan.

-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE][RC2] Release - WSO2 API Manager mediation policy tooling 2.0.0 RC2.

2016-08-28 Thread Roshan Wijesena
Hi All,

Due to the above-mentioned issue, we have to drop the RC2. We will fix this
and release RC3 soon.

Thanks.


On Mon, Aug 29, 2016 at 10:22 AM, Jasintha Dasanayake <jasin...@wso2.com>
wrote:

> Hi Roshan
>
> Plugins is not singed , seems jar singer plugin is not configured in the
> POM . Could you please fix this
>
> Thanks and Regards
> /Jasintha
>
>
> On Mon, Aug 29, 2016 at 10:08 AM, Sam Sivayogam <s...@wso2.com> wrote:
>
>> Tested in Mac. Was able add custom sequences to APIM through dev studio.
>>
>>  [+] Stable - go ahead and release
>>
>> On Fri, Aug 26, 2016 at 6:04 PM, Roshan Wijesena <ros...@wso2.com> wrote:
>>
>>> Hi All,
>>>
>>> This is the 2nd Release Candidate of WSO2 API Manager mediation policy
>>> tooling 2.0.0.
>>>
>>> Please download, test the product and vote. The vote will be open for 72
>>> hours or as needed.
>>>
>>> *Source and distribution*
>>>
>>> *Tooling*  : https://github.com/wso2/devstudio-tooling-apim/releases/ta
>>> g/Released-release-2.0.2-RC2-2016-08-26-113147
>>>
>>>
>>> Please vote as follows.
>>> [+] Stable - go ahead and release
>>> [-] Broken - do not release (explain why)
>>>
>>> Thanks,
>>> WSO2 APIM team.
>>>
>>> --
>>> Roshan Wijesena.
>>> Senior Software Engineer-WSO2 Inc.
>>> Mobile: *+94719154640 <%2B94719154640>*
>>> Email: ros...@wso2.com
>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>>> lean.enterprise.middleware.
>>>
>>
>>
>>
>> --
>> *Sam Sivayogam*
>>
>> Senior Software Engineer
>> Mobile  : +94 772 906 439
>> Office   : +94 112 145 345
>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>> lean.enterprise.middleware.
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Jasintha Dasanayake**Associate Technical Lead*
>
> *WSO2 Inc. | http://wso2.com <http://wso2.com/>lean . enterprise .
> middleware*
>
>
> *mobile :- 0711-368-118*
>



-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [VOTE][RC2] Release - WSO2 API Manager mediation policy tooling 2.0.0 RC2.

2016-08-26 Thread Roshan Wijesena
Hi All,

This is the 2nd Release Candidate of WSO2 API Manager mediation policy
tooling 2.0.0.

Please download, test the product and vote. The vote will be open for 72
hours or as needed.

*Source and distribution*

*Tooling*  :
https://github.com/wso2/devstudio-tooling-apim/releases/tag/Released-release-2.0.2-RC2-2016-08-26-113147


Please vote as follows.
[+] Stable - go ahead and release
[-] Broken - do not release (explain why)

Thanks,
WSO2 APIM team.

-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] [VOTE] Release WSO2 API Manager 2.0.0 RC5

2016-07-28 Thread Roshan Wijesena
Tested below,

1. SSO security fix.
2. SSO with IS 5.1.0
3. Basic APIM flow.
4. CSRF functionality in admin portal.

No issues found.

[+] Stable - go ahead and release.


On Thu, Jul 28, 2016 at 2:25 PM, Uvindra Dias Jayasinha <uvin...@wso2.com>
wrote:

> Tested below with secure vault with custom key store
>
> 1. API creation and publication with different user roles and invocation
> tenant/super tenant
> 2. Stats tenant/super tenant(Store and Publisher)
> 3. Log Analyzer tenant/super tenant
> 4. API creation and publication with different user roles for tenant/super
> tenant
>
> No issues found
>
> [+] Stable - go ahead and release.
>
> On 28 July 2016 at 02:02, Abimaran Kugathasan <abima...@wso2.com> wrote:
>
>> *WSO2 API Manager 2.0.0-RC5 Released*
>>
>> This is the 5th Release Candidate of the WSO2 API Manager 2.0.0
>>
>> Source & binary distribution files of API Manager 2.0.0-RC5 :
>>
>>  Runtime : 
>> *https://github.com/wso2/product-apim/releases/tag/v2.0.0-rc5
>> <https://github.com/wso2/product-apim/releases/tag/v2.0.0-rc5>*
>>  Analytics : 
>> *https://github.com/wso2/analytics-apim/releases/tag/v2.0.0-rc5
>> <https://github.com/wso2/analytics-apim/releases/tag/v2.0.0-rc5>*
>>
>> Please download, test the product and vote. Vote will be open for 72
>> hours or as needed.
>> Refer to github readme for guides.
>>
>> Please vote as follows.
>> [+] Stable - go ahead and release
>> [-]  Broken - do not release (please explain why)
>>
>> --
>> Thanks
>> Abimaran Kugathasan
>> Senior Software Engineer - API Technologies
>>
>> Email : abima...@wso2.com
>> Mobile : +94 773922820
>>
>> <http://stackoverflow.com/users/515034>
>> <http://lk.linkedin.com/in/abimaran>
>> <http://www.lkabimaran.blogspot.com/>  <https://github.com/abimarank>
>> <https://twitter.com/abimaran>
>>
>>
>> ___
>> Architecture mailing list
>> architect...@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
>
> --
> Regards,
> Uvindra
>
> Mobile: 33962
>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] [VOTE] Release WSO2 API Manager 2.0.0 RC4

2016-07-22 Thread Roshan Wijesena
Tested below with DB2 and SQL server 2008.

* Basic APIM functionality.
* Alert subscriptions.
* Log analyzer in a multi-tenant environment.

No issues found

[+] Stable - go ahead and release.



On Fri, Jul 22, 2016 at 11:28 AM, Rukshan Premathunga <ruks...@wso2.com>
wrote:

> Tested analytics and smoke tested APIM on db2, mssql, mysql, mysql5.7,
> oracle, postgre and h2.
>
> No issues found.
>
> [+] - Stable - go ahead and release
>
> Thanks.
>
> On Fri, Jul 22, 2016 at 10:48 AM, Thilini Cooray <thili...@wso2.com>
> wrote:
>
>> Tested
>>
>>- API import-export
>>- Store Self Sign-up
>>- Store search
>>- Tested main functionalities with MySQL, PostgreSQL and on Windows
>>
>> No issues found.
>>
>> [+] - Stable - go ahead and release
>>
>> Thanks.
>>
>>
>> On Fri, Jul 22, 2016 at 1:25 AM, Abimaran Kugathasan <abima...@wso2.com>
>> wrote:
>>
>>> *WSO2 API Manager 2.0.0-RC4 Released*
>>>
>>> This is the 4th Release Candidate of the WSO2 API Manager 2.0.0
>>>
>>> Source & binary distribution files of API Manager 2.0.0-RC4 :
>>>
>>>  Runtime :
>>> https://github.com/wso2/product-apim/releases/tag/v2.0.0-rc4
>>>  Analytics :
>>> https://github.com/wso2/analytics-apim/releases/tag/v2.0.0-rc3
>>>
>>> Please download, test the product and vote. Vote will be open for 72
>>> hours or as needed.
>>> Refer to github readme for guides.
>>>
>>> Please vote as follows.
>>> [+] Stable - go ahead and release
>>> [-]  Broken - do not release (please explain why)
>>>
>>>
>>> --
>>> Thanks
>>> Abimaran Kugathasan
>>> Senior Software Engineer
>>>
>>> Email : abima...@wso2.com
>>> Mobile : +94 773922820
>>>
>>> <http://stackoverflow.com/users/515034>
>>> <http://lk.linkedin.com/in/abimaran>
>>> <http://www.lkabimaran.blogspot.com/>  <https://github.com/abimarank>
>>> <https://twitter.com/abimaran>
>>>
>>>
>>> ___
>>> Architecture mailing list
>>> architect...@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>
>>>
>>
>>
>> --
>> Best Regards,
>>
>> *Thilini Cooray*
>> Software Engineer
>> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
>> E-mail : thili...@wso2.com
>>
>> WSO2 Inc. www.wso2.com
>> lean.enterprise.middleware
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Rukshan Chathuranga.
> Software Engineer.
> WSO2, Inc.
>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] error

2016-07-19 Thread Roshan Wijesena
ipt.ContextFactory.doTopCall(ContextFactory.java:394)
> FINEST|240/0|"WSO2 Carbon"|16-07-18 12:57:29|   at
> org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
> FINEST|240/0|"WSO2 Carbon"|16-07-18 12:57:29|   at
> org.jaggeryjs.rhino.admin.site.blocks.manage_alerts.ajax.c0.call(/admin/site/blocks/manage-alerts/ajax/manage-alerts.jag)
> FINEST|240/0|"WSO2 Carbon"|16-07-18 12:57:29|   at
> org.jaggeryjs.rhino.admin.site.blocks.manage_alerts.ajax.c0.exec(/admin/site/blocks/manage-alerts/ajax/manage-alerts.jag)
> FINEST|240/0|"WSO2 Carbon"|16-07-18 12:57:29|   at
> org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567)
> FINEST|240/0|"WSO2 Carbon"|16-07-18 12:57:29|   at
> org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
> FINEST|240/0|"WSO2 Carbon"|16-07-18 12:57:29|   at
> org.jaggeryjs.jaggery.core.manager.WebAppManager.exec(WebAppManager.java:588)
> FINEST|240/0|"WSO2 Carbon"|16-07-18 12:57:29|   at
> org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:508)
> FINEST|240/0|"WSO2 Carbon"|16-07-18 12:57:29|   at
> org.jaggeryjs.jaggery.core.JaggeryServlet.doPost(JaggeryServlet.java:29)
> FINEST|240/0|"WSO2 Carbon"|16-07-18 12:57:29|   at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
> FINEST|240/0|"WSO2 Carbon"|16-07-18 12:57:29|   at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
> FINEST|240/0|"WSO2 Carbon"|16-07-18 12:57:29|   at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
> FINEST|240/0|"WSO2 Carbon"|16-07-18 12:57:29|   at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> FINEST|240/0|"WSO2 Carbon"|16-07-18 12:57:29|   at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:747)
> FINEST|240/0|"WSO2 Carbon"|16-07-18 12:57:29|   at
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:485)
> FINEST|240/0|"WSO2 Carbon"|16-07-18 12:57:29|   at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:377)
> FINEST|240/0|&q

Re: [Dev] [APIM 500] How API publisher can delete a API which has subscriptions

2016-07-07 Thread Roshan Wijesena
Go to Application section and then subscription tab then unsubscribe.

On Thu, Jul 7, 2016 at 3:58 PM, Lakshman Udayakantha <lakshm...@wso2.com>
wrote:

> Hi Asanka,
>
> AFAIR we can't delete an API which has subscriptions rather you can block
> the API using API publisher.
>
> Thanks
>
> On Thu, Jul 7, 2016 at 3:45 PM, Asanka Vithanage <asan...@wso2.com> wrote:
>
>> Hi,
>>
>> Sorry. Topic should be changed as [APIM 200] How API publisher can delete
>> a API which has subscriptions
>>
>> On Thu, Jul 7, 2016 at 3:43 PM, Asanka Vithanage <asan...@wso2.com>
>> wrote:
>>
>>> Hi All,
>>>
>>> Using API Publisher and Store, I am trying to achieve the $Subject. But
>>> it seems via current store and publisher UIs, we can't do that.
>>>
>>> Let's think we create two users called userPub and userSub with only
>>> login and Manage permissions.
>>> Then "userPub" login to the API Publisher and create/Publish an API.
>>> Then "userSub" login to the API Store and subscribe to the above  API.
>>> Now "userPub" want to the delete the API, But Publisher does not allow
>>> to delete the API due to the subscriptions.
>>> Now the question is how do delete the subscriptions, Though I logged to
>>> store with user "userPub" I can't find a way to remove the subscription.
>>> So, as a result, I can't figure out a way to delete the API.
>>>
>>> Do we have a way to delete the API in this kind of situation? Appreciate
>>> your thoughts.
>>>
>>> --
>>> Asanka Vithanage
>>> Senior Software Engineer -QA
>>> Mobile: +94 0716286708
>>> Email: asan...@wso2.com
>>> WSO2 Inc. www.wso2.com
>>>
>>>
>>
>>
>> --
>> Asanka Vithanage
>> Senior Software Engineer -QA
>> Mobile: +94 0716286708
>> Email: asan...@wso2.com
>> WSO2 Inc. www.wso2.com
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Lakshman Udayakantha
> WSO2 Inc. www.wso2.com
> lean.enterprise.middleware
> Mobile: *0714388124*
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [API Store] Switching through Side Panes and them moving around while switching does not look cool

2016-06-28 Thread Roshan Wijesena
[+ adding Joe/Thusitha]

On Tue, Jun 28, 2016 at 3:08 PM, Chamara Ariyarathne <chama...@wso2.com>
wrote:

> Created a jira for this.
> https://wso2.org/jira/browse/APIMANAGER-5131
>
> Please share your ideas on this.
>
> --
> *Chamara Ariyarathne*
> Associate Technical Lead - QA
> WSO2 Inc; http://www.wso2.com/
> Mobile; *+94772786766 <%2B94772786766>*
>



-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How can we subscribe from alerts

2016-05-24 Thread Roshan Wijesena
Hi Shavantha,

We will fix this.

Regards
Roshan

On Wed, May 25, 2016 at 10:37 AM, Shavantha Weerasinghe <shavan...@wso2.com>
wrote:

> Hi All
>
> On API Manager Publisher screen to manage alerts I was attempting to
> de-select all alerts or remove the email address given in order to
> Unsubscribe. However, the UI validation requires that at least 1 alert
> type or the email be kept.
>
> How can a API Publisher stop receiving alert notifications.
>
> regards,
> Shavantha Weerasinghe
> Senior Software Engineer QA
> WSO2, Inc.
> lean.enterprise.middleware.
> http://wso2.com
> http://wso2.org
> Tel : 94 11 214 5345
> Fax :94 11 2145300
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] APIM 2.0.0-SNAPSHOT Nightly build - 13/05/2016

2016-05-16 Thread Roshan Wijesena
Hi Shavantha,

Try after enabling  stats from api-manager.xml

Regards
Roshan

On Mon, May 16, 2016 at 6:03 PM, Shavantha Weerasinghe <shavan...@wso2.com>
wrote:

> Hi Bhathiya
>
> The API Publisher for the nightly build on 13-05 does not have the Manage
> alert types option. Has that been removed
>
>
> regards,
>
> Shavantha Weerasinghe
> Senior Software Engineer QA
> WSO2, Inc.
> lean.enterprise.middleware.
> http://wso2.com
> http://wso2.org
> Tel : 94 11 214 5345
> Fax :94 11 2145300
>
>
> On Sat, May 14, 2016 at 1:24 AM, Bhathiya Jayasekara <bhath...@wso2.com>
> wrote:
>
>> Hi all,
>>
>> Please find APIM 2.0.0 SNAPSHOT nightly build here[1].
>>
>> [1]
>> https://svn.wso2.org/repos/wso2/scratch/2016/apim-2.0.0/wso2am-2.0.0-SNAPSHOT-13-05-2016.zip
>>
>> Thanks,
>>
>> --
>> *Bhathiya Jayasekara*
>> *Senior Software Engineer,*
>> *WSO2 inc., http://wso2.com <http://wso2.com>*
>>
>> *Phone: +94715478185 <%2B94715478185>*
>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>> <http://www.linkedin.com/in/bhathiyaj>*
>> *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>*
>> *Blog: http://movingaheadblog.blogspot.com
>> <http://movingaheadblog.blogspot.com/>*
>>
>
>


-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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

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

On Tue, Mar 22, 2016 at 10:03 PM, Nuwan Dias <nuw...@wso2.com> wrote:

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


-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Malintha Amarasinghe

2016-01-30 Thread Roshan Wijesena
Congratulations !

On Sat, Jan 30, 2016 at 8:34 PM, Hasunie Adikari <hasu...@wso2.com> wrote:

> Congratz Malintha
>
> On Sat, Jan 30, 2016 at 7:03 PM, Rukshan Premathunga <ruks...@wso2.com>
> wrote:
>
>> congratz malintha...
>>
>> On Sat, Jan 30, 2016 at 6:57 PM, Isuru Wijesinghe <isur...@wso2.com>
>> wrote:
>>
>>> Congratzz Malintha :)
>>>
>>> On Sat, Jan 30, 2016 at 1:38 PM, Nuwan Dias <nuw...@wso2.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> It is with great pleasure we welcome Malintha Amarasinghe as a
>>>> WSO2 Committer. @Malintha, congratulations and keep up the good work!
>>>>
>>>> Thanks,
>>>> NuwanD.
>>>>
>>>> --
>>>> Nuwan Dias
>>>>
>>>> Technical Lead - WSO2, Inc. http://wso2.com
>>>> email : nuw...@wso2.com
>>>> Phone : +94 777 775 729
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Isuru Wijesinghe
>>> *Software Engineer*
>>> WSO2 inc : http://wso2.com
>>> lean.enterprise.middleware
>>> Mobile: 0710933706
>>> isur...@wso2.com
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Rukshan Chathuranga.
>> Software Engineer.
>> WSO2, Inc.
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Hasunie Adikari*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
> blog http://hasuniea.blogspot.com
> Mobile:+94715139495
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WARN after moving to org.wso2.carbon.dashboards.shindig.feature-1.0.0

2016-01-28 Thread Roshan Wijesena
I observed this intermittently  in a 2 node HA cluster. Data size I would
say roughly  around 1000 records of text data..

On Thu, Jan 28, 2016 at 10:30 PM, Maninda Edirisooriya <mani...@wso2.com>
wrote:

> Can you guys mention the exact steps to reproduce the issue and the type
> of deployment of DAS used. (i.e. whether using with a distributed setup)
> And mention what type and size of data used.
>
> 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 Thu, Jan 28, 2016 at 10:32 PM, Roshan Wijesena <ros...@wso2.com> wrote:
>
>> I can observe this issue in DAS 3.0.1 also. any idea why is this coming.?
>>
>> On Thu, Jul 2, 2015 at 3:41 AM, Prasad Tissera <pras...@wso2.com> wrote:
>>
>>>
>>> [2015-07-02 13:48:46,404]  WARN {net.sf.ehcache.pool.sizeof.SizeOf} -
>>>  The configured limit of 1,000 object references was reached while
>>> attempting to calculate the size of the object graph. This can be avoided
>>> by adding stop points with @IgnoreSizeOf annotations. Since the CacheManger
>>> or Cache  elements maxDepthExceededBehavior is set to
>>> "abort", the sizing operation has stopped and the reported cache size is
>>> not accurate. If performance degradation is NOT an issue at the configured
>>> limit, raise the limit value using the CacheManager or Cache 
>>> elements maxDepth attribute. For more information, see the Ehcache
>>> configuration documentation.
>>>
>>> On Thu, Jul 2, 2015 at 2:11 PM, Prasad Tissera <pras...@wso2.com> wrote:
>>>
>>>> Getting following warining multiple times when accessing dashboard
>>>> after moving to org.wso2.carbon.dashboards.shindig.feature-1.0.0
>>>>
>>>> --
>>>> Prasad Tissera
>>>> Software Engineer.
>>>> Mobile : +94777223444
>>>>
>>>
>>>
>>>
>>> --
>>> Prasad Tissera
>>> Software Engineer.
>>> Mobile : +94777223444
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Roshan Wijesena.
>> Senior Software Engineer-WSO2 Inc.
>> Mobile: *+94719154640 <%2B94719154640>*
>> Email: ros...@wso2.com
>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>> lean.enterprise.middleware.
>>
>
>


-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WARN after moving to org.wso2.carbon.dashboards.shindig.feature-1.0.0

2016-01-28 Thread Roshan Wijesena
I can observe this issue in DAS 3.0.1 also. any idea why is this coming.?

On Thu, Jul 2, 2015 at 3:41 AM, Prasad Tissera <pras...@wso2.com> wrote:

>
> [2015-07-02 13:48:46,404]  WARN {net.sf.ehcache.pool.sizeof.SizeOf} -  The
> configured limit of 1,000 object references was reached while attempting to
> calculate the size of the object graph. This can be avoided by adding stop
> points with @IgnoreSizeOf annotations. Since the CacheManger or Cache
>  elements maxDepthExceededBehavior is set to "abort", the
> sizing operation has stopped and the reported cache size is not accurate.
> If performance degradation is NOT an issue at the configured limit, raise
> the limit value using the CacheManager or Cache  elements
> maxDepth attribute. For more information, see the Ehcache configuration
> documentation.
>
> On Thu, Jul 2, 2015 at 2:11 PM, Prasad Tissera <pras...@wso2.com> wrote:
>
>> Getting following warining multiple times when accessing dashboard after
>> moving to org.wso2.carbon.dashboards.shindig.feature-1.0.0
>>
>> --
>> Prasad Tissera
>> Software Engineer.
>> Mobile : +94777223444
>>
>
>
>
> --
> Prasad Tissera
> Software Engineer.
> Mobile : +94777223444
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][DAS]Null pointer exception while executing a schedule task in DAS HA cluster.

2016-01-24 Thread Roshan Wijesena
Hi  Niranda/DAS team,

I have updated  DAS server into 3.0.1. I am testing a minimum HA cluster
when one server is in down situation. I am getting this exception
periodically, and spark scripts are not running at all. it seems we can
*not* survive when one server is in down situation?

TID: [-1234] [] [2016-01-24 21:10:10,015] ERROR
{org.wso2.carbon.analytics.spark.core.AnalyticsTask} -  Error while
executing the scheduled task for the script: is_log_analytics
{org.wso2.carbon.analytics.spark.core.AnalyticsTask}
org.wso2.carbon.analytics.spark.core.exception.AnalyticsExecutionException:
Spark SQL Context is not available. Check if the cluster has instantiated
properly.
at
org.wso2.carbon.analytics.spark.core.internal.SparkAnalyticsExecutor.executeQueryLocal(SparkAnalyticsExecutor.java:728)
at
org.wso2.carbon.analytics.spark.core.internal.SparkAnalyticsExecutor.executeQuery(SparkAnalyticsExecutor.java:709)
at
org.wso2.carbon.analytics.spark.core.CarbonAnalyticsProcessorService.executeQuery(CarbonAnalyticsProcessorService.java:201)
at
org.wso2.carbon.analytics.spark.core.CarbonAnalyticsProcessorService.executeScript(CarbonAnalyticsProcessorService.java:151)
at
org.wso2.carbon.analytics.spark.core.AnalyticsTask.execute(AnalyticsTask.java:59)
at
org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJobAdapter.java:67)
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

-Roshan







On Fri, Dec 11, 2015 at 1:08 AM, Roshan Wijesena <ros...@wso2.com> wrote:

> Hi Niranda / Inosh,
>
> Thanks a lot for the quick call and reply. Yes issue seems to be fixed
> now. Did not appear for a while.
>
> -Roshan
>
> On Fri, Dec 11, 2015 at 12:47 AM, Niranda Perera <nira...@wso2.com> wrote:
>
>> Hi Roshan,
>>
>> This happens when you have a malformed HA cluster. When you put the
>> master count as 2, the spark cluster would not get initiated until there
>> are 2 members in the analytics cluster. when the count as 2 and there is a
>> task scheduled already, you may come across this issue, until the 2nd node
>> is up and running. You should see that after sometime, the exception gets
>> resolved., and that is when the analytics cluster is at a workable state.
>>
>> But I agree, an NPE is not acceptable here and this has been already
>> fixed in 3.0.1 [1]
>>
>> as per the query modification, yes, the query gets modified to handle
>> multi tenancy in the spark runtime.
>>
>> hope this resolves your issues.
>>
>> rgds
>>
>> [1] https://wso2.org/jira/browse/DAS-329
>>
>> On Fri, Dec 11, 2015 at 11:40 AM, Roshan Wijesena <ros...@wso2.com>
>> wrote:
>>
>>>  I reproduced the error. If we set carbon.spark.master.count value to 2
>>> this error will occur. Any solution available in this case?
>>>
>>>
>>> On Thu, Dec 10, 2015 at 9:05 PM, Roshan Wijesena <ros...@wso2.com>
>>> wrote:
>>>
>>>> After I enabled the debug, it looks like below
>>>>
>>>> [2015-12-10 22:03:00,001]  INFO
>>>> {org.wso2.carbon.analytics.spark.core.AnalyticsTask} -  Executing the
>>>> schedule task for: httpd_log_analytics for tenant id: -1234
>>>> [2015-12-10 22:03:00,013] DEBUG
>>>> {org.wso2.carbon.analytics.spark.core.internal.SparkAnalyticsExecutor} -
>>>>  Executing : CREATE TEMPORARY TABLE X1234_HttpLogTableUSING
>>>> org.wso2.carbon.analytics.spark.core.sources.AnalyticsRelationProvider
>>>>OPTIONS (tableName "ORG_WSO2_SAMPLE_HTTPD_LOGS" , tenantId "-1234")
>>>> [2015-12-10 22:03:00,013] ERROR
>>>> {org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter} -  Error in
>>>> executing task: null
>>>> java.lang.NullPointerException
>>>> at
>>>> org.wso2.carbon.analytics.spark.core.internal.SparkAnalyticsExecutor.executeQueryLocal(SparkAnalyticsExecutor.java:710)
>>>> at
>>>> org.wso2.carbon.analytics.spark.core.internal.SparkAnalyticsExecutor.executeQuery(SparkAnalyticsExecutor.java:692)
>>>> at
>>>> org.wso2.carbon.analytics.spark.core.CarbonAnalyticsProcessorService.executeQuery(CarbonAnalyticsProcessorService.java:199)
>>>> at
>>>> org.wso2.carbon.analytics.spark.core.CarbonAnalyticsProcessorService.executeScript(Ca

Re: [Dev] [DEV][DAS]Null pointer exception while executing a schedule task in DAS HA cluster.

2016-01-24 Thread Roshan Wijesena
Hi Guys,

I have set carbon.spark.master.count  2 in both DAS server's
repository/conf/analytics/spark/spark-defaults.conf. And this error is
printing periodically, for now, its more that 10 mins.

On Sun, Jan 24, 2016 at 9:02 PM, Niranda Perera <nira...@wso2.com> wrote:

> Hi Roshan,
>
> I agree with Inosh. It takes few seconds for spark to recover, until then
> you might see this exception. Do you see this exception through out?
>
> best
>
> On Mon, Jan 25, 2016 at 8:13 AM, Inosh Goonewardena <in...@wso2.com>
> wrote:
>
>> Hi Roshan,
>>
>> How many analyzer nodes are there in the cluster? If the master count is
>> set to 1 and the master is down, spark cluster will not survive. It you set
>> the master count to 2, then if the master is down other node become the
>> master and it survive. However until spark context is initialize properly
>> in the other node(will take roughly about 5 - 30secs) you will see above
>> error.
>>
>> On Sun, Jan 24, 2016 at 8:25 PM, Roshan Wijesena <ros...@wso2.com> wrote:
>>
>>> Hi  Niranda/DAS team,
>>>
>>> I have updated  DAS server into 3.0.1. I am testing a minimum HA cluster
>>> when one server is in down situation. I am getting this exception
>>> periodically, and spark scripts are not running at all. it seems we can
>>> *not* survive when one server is in down situation?
>>>
>>> TID: [-1234] [] [2016-01-24 21:10:10,015] ERROR
>>> {org.wso2.carbon.analytics.spark.core.AnalyticsTask} -  Error while
>>> executing the scheduled task for the script: is_log_analytics
>>> {org.wso2.carbon.analytics.spark.core.AnalyticsTask}
>>> org.wso2.carbon.analytics.spark.core.exception.AnalyticsExecutionException:
>>> Spark SQL Context is not available. Check if the cluster has instantiated
>>> properly.
>>> at
>>> org.wso2.carbon.analytics.spark.core.internal.SparkAnalyticsExecutor.executeQueryLocal(SparkAnalyticsExecutor.java:728)
>>> at
>>> org.wso2.carbon.analytics.spark.core.internal.SparkAnalyticsExecutor.executeQuery(SparkAnalyticsExecutor.java:709)
>>> at
>>> org.wso2.carbon.analytics.spark.core.CarbonAnalyticsProcessorService.executeQuery(CarbonAnalyticsProcessorService.java:201)
>>> at
>>> org.wso2.carbon.analytics.spark.core.CarbonAnalyticsProcessorService.executeScript(CarbonAnalyticsProcessorService.java:151)
>>> at
>>> org.wso2.carbon.analytics.spark.core.AnalyticsTask.execute(AnalyticsTask.java:59)
>>> at
>>> org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJobAdapter.java:67)
>>> at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
>>> at
>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>>> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>> at
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>> at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>> at java.lang.Thread.run(Thread.java:745)
>>>
>>> -Roshan
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Fri, Dec 11, 2015 at 1:08 AM, Roshan Wijesena <ros...@wso2.com>
>>> wrote:
>>>
>>>> Hi Niranda / Inosh,
>>>>
>>>> Thanks a lot for the quick call and reply. Yes issue seems to be fixed
>>>> now. Did not appear for a while.
>>>>
>>>> -Roshan
>>>>
>>>> On Fri, Dec 11, 2015 at 12:47 AM, Niranda Perera <nira...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Roshan,
>>>>>
>>>>> This happens when you have a malformed HA cluster. When you put the
>>>>> master count as 2, the spark cluster would not get initiated until there
>>>>> are 2 members in the analytics cluster. when the count as 2 and there is a
>>>>> task scheduled already, you may come across this issue, until the 2nd node
>>>>> is up and running. You should see that after sometime, the exception gets
>>>>> resolved., and that is when the analytics cluster is at a workable state.
>>>>>
>>>>> But I agree, an NPE is not acceptable here and this has been already
>>>>> fixed in 3.0.1 [1]
>>>>>
>>>>> as per the query modification, yes, the query gets modified to handle
>>>>> multi tenancy in the spark runtime.
>>>>>
>>>>> hope this

[Dev] Can we run schedule tasks in IS510?

2016-01-18 Thread Roshan Wijesena
Hi,

I tried by adding below configs to registry.xml file but did not work.








-Roshan

-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] Identity Server

2016-01-13 Thread Roshan Wijesena
Hi,

You can use carbon admin services. This will help you.

http://xacmlinfo.org/2014/11/13/understanding-the-admin-services-in-carbon-products/

On Wed, Jan 13, 2016 at 4:01 PM, John Q <johnq3...@gmail.com> wrote:

> Hello,
> Can any body tell me where can I find information about Identity Server in
> order to create users from an external app? I mean invoking some service?
>
> Thanks,
> John
>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][DAS] How to sort data in DAS?

2016-01-08 Thread Roshan Wijesena
Hi,

The problem is I can not *search* sorted tempory tables because there are
no indexes. Is there any way to create indexes in tempory tables?

-Roshan

On Fri, Jan 1, 2016 at 12:12 PM, Gimantha Bandara <giman...@wso2.com> wrote:

> Hi Roshan,
>
> REST APIs do not provide a way to sort data in DAS. The only option is to
> use spark queries to create sorted temporary tables.
>
> On Wed, Dec 30, 2015 at 9:25 AM, Roshan Wijesena <ros...@wso2.com> wrote:
>
>> Hi Udara,
>>
>> Yes I also thought about this, the only problem is let's say we have 10
>> column table, and if I want to sort  columns of this table, I need to
>> create 20 tempory tables two temp tables per one column (ASC/DESC). BTW, I
>> think this is the only solution we got so far. :)
>>
>> -Roshan
>>
>>
>>
>> On Tue, Dec 29, 2015 at 9:44 PM, Udara Rathnayake <uda...@wso2.com>
>> wrote:
>>
>>> Hi Roshan,
>>>
>>> If you are querying a temporary table, you can initially store data
>>> within temporary table in the particular order. Then you don't need to
>>> worry about the order while querying.
>>> Eg:- You can have ORDER BY, DESC/ASC within your SELECT (INSERT
>>> INTO/OVERWRITE TABLE  **)[1]
>>>
>>> BTW I haven't tried this method, May be someone from DAS team can point
>>> a better solution.
>>>
>>> [1] https://docs.wso2.com/display/DAS300/Spark+Query+Language
>>>
>>> On Tue, Dec 29, 2015 at 10:22 PM, Roshan Wijesena <ros...@wso2.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> Do we have a REST API for this? How could I sort a data set by
>>>> ascending or descending order when retrieving from the data source?
>>>>
>>>> -Roshan
>>>>
>>>> --
>>>> Roshan Wijesena.
>>>> Senior Software Engineer-WSO2 Inc.
>>>> Mobile: *+94719154640 <%2B94719154640>*
>>>> Email: ros...@wso2.com
>>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>>>> lean.enterprise.middleware.
>>>>
>>>
>>>
>>>
>>> --
>>> Regards,
>>> UdaraR
>>>
>>
>>
>>
>> --
>> Roshan Wijesena.
>> Senior Software Engineer-WSO2 Inc.
>> Mobile: *+94719154640 <%2B94719154640>*
>> Email: ros...@wso2.com
>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>> lean.enterprise.middleware.
>>
>
>
>
> --
> Gimantha Bandara
> Software Engineer
> WSO2. Inc : http://wso2.com
> Mobile : +94714961919
>



-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][DAS] How to sort data in DAS?

2016-01-08 Thread Roshan Wijesena
Fascinating!  I did not see that. Thanks, Udara.

On Fri, Jan 8, 2016 at 6:40 PM, Udara Rathnayake <uda...@wso2.com> wrote:

>
>
> On Fri, Jan 8, 2016 at 7:30 PM, Udara Rathnayake <uda...@wso2.com> wrote:
>
>> Hi Roshan,
>>
>> You can give - i within your schema while creating the temporary table to
>> make it an indexed column.
>>
>> Eg:- schema "user_name INT -i, .. "
>>
> ​This Eg is a bit confusing... so following is something which I have
> tried,
> CREATE TEMPORARY TABLE lasthour_login_info_001 using CarbonAnalytics
> options (tableName "LASTHOUR_LOGIN_INFO_001", schema "*username STRING -i*,
> timestamp STRING");​
>
>
>>
>> https://docs.wso2.com/display/DAS300/Spark+Query+Language
>>
>> On Fri, Jan 8, 2016 at 7:24 PM, Roshan Wijesena <ros...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> The problem is I can not *search* sorted tempory tables because there
>>> are no indexes. Is there any way to create indexes in tempory tables?
>>>
>>> -Roshan
>>>
>>> On Fri, Jan 1, 2016 at 12:12 PM, Gimantha Bandara <giman...@wso2.com>
>>> wrote:
>>>
>>>> Hi Roshan,
>>>>
>>>> REST APIs do not provide a way to sort data in DAS. The only option is
>>>> to use spark queries to create sorted temporary tables.
>>>>
>>>> On Wed, Dec 30, 2015 at 9:25 AM, Roshan Wijesena <ros...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Udara,
>>>>>
>>>>> Yes I also thought about this, the only problem is let's say we have
>>>>> 10 column table, and if I want to sort  columns of this table, I need to
>>>>> create 20 tempory tables two temp tables per one column (ASC/DESC). BTW, I
>>>>> think this is the only solution we got so far. :)
>>>>>
>>>>> -Roshan
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Dec 29, 2015 at 9:44 PM, Udara Rathnayake <uda...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Roshan,
>>>>>>
>>>>>> If you are querying a temporary table, you can initially store data
>>>>>> within temporary table in the particular order. Then you don't need to
>>>>>> worry about the order while querying.
>>>>>> Eg:- You can have ORDER BY, DESC/ASC within your SELECT (INSERT
>>>>>> INTO/OVERWRITE TABLE  **)[1]
>>>>>>
>>>>>> BTW I haven't tried this method, May be someone from DAS team can
>>>>>> point a better solution.
>>>>>>
>>>>>> [1] https://docs.wso2.com/display/DAS300/Spark+Query+Language
>>>>>>
>>>>>> On Tue, Dec 29, 2015 at 10:22 PM, Roshan Wijesena <ros...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> Do we have a REST API for this? How could I sort a data set by
>>>>>>> ascending or descending order when retrieving from the data source?
>>>>>>>
>>>>>>> -Roshan
>>>>>>>
>>>>>>> --
>>>>>>> Roshan Wijesena.
>>>>>>> Senior Software Engineer-WSO2 Inc.
>>>>>>> Mobile: *+94719154640 <%2B94719154640>*
>>>>>>> Email: ros...@wso2.com
>>>>>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>>>>>>> lean.enterprise.middleware.
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Regards,
>>>>>> UdaraR
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Roshan Wijesena.
>>>>> Senior Software Engineer-WSO2 Inc.
>>>>> Mobile: *+94719154640 <%2B94719154640>*
>>>>> Email: ros...@wso2.com
>>>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>>>>> lean.enterprise.middleware.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Gimantha Bandara
>>>> Software Engineer
>>>> WSO2. Inc : http://wso2.com
>>>> Mobile : +94714961919
>>>>
>>>
>>>
>>>
>>> --
>>> Roshan Wijesena.
>>> Senior Software Engineer-WSO2 Inc.
>>> Mobile: *+94719154640 <%2B94719154640>*
>>> Email: ros...@wso2.com
>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>>> lean.enterprise.middleware.
>>>
>>
>>
>>
>> --
>> Regards,
>> UdaraR
>>
>
>
>
> --
> Regards,
> UdaraR
>



-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 API Manager 1.10.0 RC4

2016-01-06 Thread Roshan Wijesena
Hi,

Tested API create/subscribe/invoke flow and map existing auth app with
pre-generated keys by creating a service provider manually in
carbon-console.
No issues found.

[x]  Stable - go ahead and release.

-Roshan

On Wed, Jan 6, 2016 at 10:27 AM, Shani Ranasinghe <sh...@wso2.com> wrote:

> Tested HTTP redirect in super tenant & tenant mode. No issues found,
> Tested sample API. No issues found.
>
> [x]  Stable - go ahead and release
>
> On Wed, Jan 6, 2016 at 9:50 PM, Harsha Kumara <hars...@wso2.com> wrote:
>
>> Tested the prototype APIs in Tenant and Super Tenant. No issue found.
>>
>> [x]  Stable - go ahead and release
>>
>> Thanks
>> Harsha
>>
>> On Wed, Jan 6, 2016 at 9:28 PM, Tharindu Dharmarathna <tharin...@wso2.com
>> > wrote:
>>
>>> Tested the IS as a Keymanager and SSO . No issue found.
>>>
>>> [x]  Stable - go ahead and release
>>>
>>> Thanks
>>> Tharindu
>>>
>>>
>>> On Wed, Jan 6, 2016 at 9:22 PM, Bhathiya Jayasekara <bhath...@wso2.com>
>>> wrote:
>>>
>>>> Smoke tested. No issues found.
>>>>
>>>> [x]  Stable - go ahead and release
>>>>
>>>> Thanks,
>>>> Bhathiya
>>>>
>>>> On Wed, Jan 6, 2016 at 6:28 PM, Chamila Adhikarinayake <
>>>> chami...@wso2.com> wrote:
>>>>
>>>>> Hi Devs,
>>>>>
>>>>> This is the fourth release candidate of WSO2 API Manager 1.10.0.
>>>>>
>>>>> This release fixes the following issues:
>>>>> https://wso2.org/jira/issues/?filter=12597
>>>>>
>>>>> Please download, test and vote.
>>>>>
>>>>> Binary distribution files:
>>>>> http://svn.wso2.org/repos/wso2/people/chamilaa/apim-1.10.0-rc4/
>>>>>
>>>>> The tag to be voted upon:
>>>>> https://github.com/wso2/product-apim/tree/v1.10.0-rc4
>>>>>
>>>>>
>>>>> [ ]  Stable - go ahead and release
>>>>> [ ]  Broken - do not release (explain why)
>>>>>
>>>>> Thanks and Regards,
>>>>> WSO2 API Manager Team
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Chamila Adhikarinayake
>>>>> Software Engineer
>>>>> WSO2, Inc.
>>>>> Mobile - +94712346437
>>>>> Email  - chami...@wso2.com
>>>>> Blog  -  http://helpfromadhi.blogspot.com/
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Bhathiya Jayasekara*
>>>> *Senior Software Engineer,*
>>>> *WSO2 inc., http://wso2.com <http://wso2.com>*
>>>>
>>>> *Phone: +94715478185 <%2B94715478185>*
>>>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>>>> <http://www.linkedin.com/in/bhathiyaj>*
>>>> *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>*
>>>> *Blog: http://movingaheadblog.blogspot.com
>>>> <http://movingaheadblog.blogspot.com/>*
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> *Tharindu Dharmarathna*Associate Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: *+94779109091 <%2B94779109091>*
>>>
>>> ___
>>> 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
>>
>>
>
>
> --
> Thanks and Regards
> *,Shani Ranasinghe*
> Senior Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 77 2273555
> Blog: http://waysandmeans.blogspot.com/
> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DEV][DAS] How to add pagination into dashboard data table?

2015-12-29 Thread Roshan Wijesena
Hi,

Is there any  way to add paginations into DAS dashboard data table rather
customize its d3.js files?

-Roshan

-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][DAS] How to add pagination into dashboard data table?

2015-12-29 Thread Roshan Wijesena
Hi Udara,

Yes, I have a table like below within a gadget, currently it shows all
records available in the database table. Looking for a pagination solution
for this like 10 by 10 records.


​

On Tue, Dec 29, 2015 at 11:08 AM, Udara Rathnayake <uda...@wso2.com> wrote:

> Hi Roshan,
>
> Are we talking about displaying paginated content within a gadget?
>
> On Tue, Dec 29, 2015 at 11:58 AM, Maninda Edirisooriya <mani...@wso2.com>
> wrote:
>
>> [+Dunith]
>>
>> AFAIK you have to edit files to customize DAS dashboards.
>> 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 Tue, Dec 29, 2015 at 10:23 PM, Roshan Wijesena <ros...@wso2.com>
>> wrote:
>>
>>> Hi,
>>>
>>> Is there any  way to add paginations into DAS dashboard data table
>>> rather customize its d3.js files?
>>>
>>> -Roshan
>>>
>>> --
>>> Roshan Wijesena.
>>> Senior Software Engineer-WSO2 Inc.
>>> Mobile: *+94719154640 <%2B94719154640>*
>>> Email: ros...@wso2.com
>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>>> lean.enterprise.middleware.
>>>
>>
>>
>
>
> --
> Regards,
> UdaraR
>



-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][DAS] How to add pagination into dashboard data table?

2015-12-29 Thread Roshan Wijesena
probably we have to make  main.js's  "start" and "count" params into
dynamics to get this done.

 var request = {
type: 8,
tableName: datasource,
filter:filter,
timeFrom: timeFrom,
timeTo: timeTo,
start: 10,
count: 10
};

On Tue, Dec 29, 2015 at 11:25 AM, Roshan Wijesena <ros...@wso2.com> wrote:

> Hi Udara,
>
> Yes, I have a table like below within a gadget, currently it shows all
> records available in the database table. Looking for a pagination solution
> for this like 10 by 10 records.
>
>
> ​
>
> On Tue, Dec 29, 2015 at 11:08 AM, Udara Rathnayake <uda...@wso2.com>
> wrote:
>
>> Hi Roshan,
>>
>> Are we talking about displaying paginated content within a gadget?
>>
>> On Tue, Dec 29, 2015 at 11:58 AM, Maninda Edirisooriya <mani...@wso2.com>
>> wrote:
>>
>>> [+Dunith]
>>>
>>> AFAIK you have to edit files to customize DAS dashboards.
>>> 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 Tue, Dec 29, 2015 at 10:23 PM, Roshan Wijesena <ros...@wso2.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> Is there any  way to add paginations into DAS dashboard data table
>>>> rather customize its d3.js files?
>>>>
>>>> -Roshan
>>>>
>>>> --
>>>> Roshan Wijesena.
>>>> Senior Software Engineer-WSO2 Inc.
>>>> Mobile: *+94719154640 <%2B94719154640>*
>>>> Email: ros...@wso2.com
>>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>>>> lean.enterprise.middleware.
>>>>
>>>
>>>
>>
>>
>> --
>> Regards,
>> UdaraR
>>
>
>
>
> --
> Roshan Wijesena.
> Senior Software Engineer-WSO2 Inc.
> Mobile: *+94719154640 <%2B94719154640>*
> Email: ros...@wso2.com
> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
> lean.enterprise.middleware.
>



-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][DAS] How to add pagination into dashboard data table?

2015-12-29 Thread Roshan Wijesena
Thanks Udara.

On Tue, Dec 29, 2015 at 11:52 AM, Udara Rathnayake <uda...@wso2.com> wrote:

> Hi Roshan,
>
> Populating gadget data using JS API's search with start and count[1] and
> render as per your requirement is also an option I think.
>
> [1]
> https://docs.wso2.com/display/DAS300/Retrieving+All+Records+Matching+the+Given+Search+Query+via+JS+API
>
> On Tue, Dec 29, 2015 at 12:43 PM, Roshan Wijesena <ros...@wso2.com> wrote:
>
>> probably we have to make  main.js's  "start" and "count" params into
>> dynamics to get this done.
>>
>>  var request = {
>> type: 8,
>> tableName: datasource,
>> filter:filter,
>> timeFrom: timeFrom,
>> timeTo: timeTo,
>> start: 10,
>> count: 10
>> };
>>
> ​If this works, you can just go and edit existing gadget to cater your
> requirement rather ​
> creating new one using JS API.​
>
>
>>
>> On Tue, Dec 29, 2015 at 11:25 AM, Roshan Wijesena <ros...@wso2.com>
>> wrote:
>>
>>> Hi Udara,
>>>
>>> Yes, I have a table like below within a gadget, currently it shows all
>>> records available in the database table. Looking for a pagination solution
>>> for this like 10 by 10 records.
>>>
>>>
>>> ​
>>>
>>> On Tue, Dec 29, 2015 at 11:08 AM, Udara Rathnayake <uda...@wso2.com>
>>> wrote:
>>>
>>>> Hi Roshan,
>>>>
>>>> Are we talking about displaying paginated content within a gadget?
>>>>
>>>> On Tue, Dec 29, 2015 at 11:58 AM, Maninda Edirisooriya <
>>>> mani...@wso2.com> wrote:
>>>>
>>>>> [+Dunith]
>>>>>
>>>>> AFAIK you have to edit files to customize DAS dashboards.
>>>>> 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 Tue, Dec 29, 2015 at 10:23 PM, Roshan Wijesena <ros...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Is there any  way to add paginations into DAS dashboard data table
>>>>>> rather customize its d3.js files?
>>>>>>
>>>>>> -Roshan
>>>>>>
>>>>>> --
>>>>>> Roshan Wijesena.
>>>>>> Senior Software Engineer-WSO2 Inc.
>>>>>> Mobile: *+94719154640 <%2B94719154640>*
>>>>>> Email: ros...@wso2.com
>>>>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>>>>>> lean.enterprise.middleware.
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> UdaraR
>>>>
>>>
>>>
>>>
>>> --
>>> Roshan Wijesena.
>>> Senior Software Engineer-WSO2 Inc.
>>> Mobile: *+94719154640 <%2B94719154640>*
>>> Email: ros...@wso2.com
>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>>> lean.enterprise.middleware.
>>>
>>
>>
>>
>> --
>> Roshan Wijesena.
>> Senior Software Engineer-WSO2 Inc.
>> Mobile: *+94719154640 <%2B94719154640>*
>> Email: ros...@wso2.com
>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>> lean.enterprise.middleware.
>>
>
>
>
> --
> Regards,
> UdaraR
>



-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DEV][DAS] How to sort data in DAS?

2015-12-29 Thread Roshan Wijesena
Hi,

Do we have a REST API for this? How could I sort a data set by ascending or
descending order when retrieving from the data source?

-Roshan

-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][DAS] How to sort data in DAS?

2015-12-29 Thread Roshan Wijesena
Hi Udara,

Yes I also thought about this, the only problem is let's say we have 10
column table, and if I want to sort  columns of this table, I need to
create 20 tempory tables two temp tables per one column (ASC/DESC). BTW, I
think this is the only solution we got so far. :)

-Roshan



On Tue, Dec 29, 2015 at 9:44 PM, Udara Rathnayake <uda...@wso2.com> wrote:

> Hi Roshan,
>
> If you are querying a temporary table, you can initially store data within
> temporary table in the particular order. Then you don't need to worry about
> the order while querying.
> Eg:- You can have ORDER BY, DESC/ASC within your SELECT (INSERT
> INTO/OVERWRITE TABLE  **)[1]
>
> BTW I haven't tried this method, May be someone from DAS team can point a
> better solution.
>
> [1] https://docs.wso2.com/display/DAS300/Spark+Query+Language
>
> On Tue, Dec 29, 2015 at 10:22 PM, Roshan Wijesena <ros...@wso2.com> wrote:
>
>> Hi,
>>
>> Do we have a REST API for this? How could I sort a data set by ascending
>> or descending order when retrieving from the data source?
>>
>> -Roshan
>>
>> --
>> Roshan Wijesena.
>> Senior Software Engineer-WSO2 Inc.
>> Mobile: *+94719154640 <%2B94719154640>*
>> Email: ros...@wso2.com
>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>> lean.enterprise.middleware.
>>
>
>
>
> --
> Regards,
> UdaraR
>



-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DAS ]How to delete/edit created gadget from DAS.

2015-12-28 Thread Roshan Wijesena
Hi,

I think it has not implemented yet [1]. Any workaround for this?

[1] https://wso2.org/jira/browse/DAS-336

-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][DAS] Publishing data through JAVA client REST or THRIFT?

2015-12-14 Thread Roshan Wijesena
Thanks, Gimantha,

Doc says "Publishing Data Using Java Client Through REST API". Probably we
might need this heading?

[1]
https://docs.wso2.com/display/DAS300/Publishing+Data+Using+Java+Client+Through+REST+API

On Mon, Dec 14, 2015 at 5:47 PM, Gimantha Bandara <giman...@wso2.com> wrote:

> Hi Roshan,
>
> REST API cannot be used for publishing the data to DAS. You will have to
> use THRIFT.
>
> On Monday, December 14, 2015, Udara Rathnayake <uda...@wso2.com> wrote:
>
>> As far as I understood those EP's are for analytic purpose.
>> DAS team please correct me if I'm wrong.
>>
>> On Mon, Dec 14, 2015 at 4:08 PM, Roshan Wijesena <ros...@wso2.com> wrote:
>>
>>> Hi Udara,
>>>
>>> Yes, it is. But could not find data publisher end point (POST or PUT)
>>> from the endpoint list. Further, I am just wondering what are the
>>> advantages and disadvantages of REST vs Thrift publishers.
>>>
>>> -Roshan
>>>
>>> On Mon, Dec 14, 2015 at 3:04 PM, Udara Rathnayake <uda...@wso2.com>
>>> wrote:
>>>
>>>> Hi Roshan,
>>>>
>>>> On Mon, Dec 14, 2015 at 3:40 PM, Roshan Wijesena <ros...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi DAS team,
>>>>>
>>>>> 1. I could not find the data publisher endpoint  from the list [1].
>>>>> Which endpoint is used for save the data?
>>>>>
>>>> ​I think you are looking at the analytics REST API.​ Refer
>>>> https://docs.wso2.com/display/DAS300/Collecting+Data to
>>>> publish/persist data.
>>>>
>>>>>
>>>>> 2. I am just wondering which method to be used for data publishing for
>>>>> DAS. Can someone please explain few advantage and disadvantage of both?
>>>>>
>>>>> [1] https://docs.wso2.com/display/DAS300/Analytics+REST+API+Guide
>>>>>
>>>>> --
>>>>> Roshan Wijesena.
>>>>> Senior Software Engineer-WSO2 Inc.
>>>>> Mobile: *+94719154640 <%2B94719154640>*
>>>>> Email: ros...@wso2.com
>>>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>>>>> lean.enterprise.middleware.
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> UdaraR
>>>>
>>>
>>>
>>>
>>> --
>>> Roshan Wijesena.
>>> Senior Software Engineer-WSO2 Inc.
>>> Mobile: *+94719154640 <%2B94719154640>*
>>> Email: ros...@wso2.com
>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>>> lean.enterprise.middleware.
>>>
>>
>>
>>
>> --
>> Regards,
>> UdaraR
>>
>
>
> --
> Gimantha Bandara
> Software Engineer
> WSO2. Inc : http://wso2.com
> Mobile : +94714961919
>
>


-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][DAS] Publishing data through JAVA client REST or THRIFT?

2015-12-14 Thread Roshan Wijesena
Thanks Inosh.

On Mon, Dec 14, 2015 at 7:58 PM, Inosh Goonewardena <in...@wso2.com> wrote:

> Hi Roshan,
>
>
> On Tue, Dec 15, 2015 at 5:27 AM, Roshan Wijesena <ros...@wso2.com> wrote:
>
>> Thanks, Gimantha,
>>
>> Doc says "Publishing Data Using Java Client Through REST API". Probably
>> we might need this heading?
>>
>
> Yes. We cannot use Analytics REST API to publish data to DAS. We need to
> remove this doc. @Rukshani, please note.
>
> However as Udara pointed out you can publish data through HTTP transport
> [1] as an alternative. Basically, there are different ways in which WSO2
> DAS can be configured to receive data in the form of events [2].
>
> [1] https://docs.wso2.com/display/DAS300/HTTP+Event+Receiver
> [2] https://docs.wso2.com/display/DAS300/Configuring+Event+Receivers
>
>
>>
>> [1]
>> https://docs.wso2.com/display/DAS300/Publishing+Data+Using+Java+Client+Through+REST+API
>>
>> On Mon, Dec 14, 2015 at 5:47 PM, Gimantha Bandara <giman...@wso2.com>
>> wrote:
>>
>>> Hi Roshan,
>>>
>>> REST API cannot be used for publishing the data to DAS. You will have to
>>> use THRIFT.
>>>
>>> On Monday, December 14, 2015, Udara Rathnayake <uda...@wso2.com> wrote:
>>>
>>>> As far as I understood those EP's are for analytic purpose.
>>>> DAS team please correct me if I'm wrong.
>>>>
>>>> On Mon, Dec 14, 2015 at 4:08 PM, Roshan Wijesena <ros...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Udara,
>>>>>
>>>>> Yes, it is. But could not find data publisher end point (POST or PUT)
>>>>> from the endpoint list. Further, I am just wondering what are the
>>>>> advantages and disadvantages of REST vs Thrift publishers.
>>>>>
>>>>> -Roshan
>>>>>
>>>>> On Mon, Dec 14, 2015 at 3:04 PM, Udara Rathnayake <uda...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Roshan,
>>>>>>
>>>>>> On Mon, Dec 14, 2015 at 3:40 PM, Roshan Wijesena <ros...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi DAS team,
>>>>>>>
>>>>>>> 1. I could not find the data publisher endpoint  from the list [1].
>>>>>>> Which endpoint is used for save the data?
>>>>>>>
>>>>>> ​I think you are looking at the analytics REST API.​ Refer
>>>>>> https://docs.wso2.com/display/DAS300/Collecting+Data to
>>>>>> publish/persist data.
>>>>>>
>>>>>>>
>>>>>>> 2. I am just wondering which method to be used for data publishing
>>>>>>> for DAS. Can someone please explain few advantage and disadvantage of 
>>>>>>> both?
>>>>>>>
>>>>>>> [1] https://docs.wso2.com/display/DAS300/Analytics+REST+API+Guide
>>>>>>>
>>>>>>> --
>>>>>>> Roshan Wijesena.
>>>>>>> Senior Software Engineer-WSO2 Inc.
>>>>>>> Mobile: *+94719154640 <%2B94719154640>*
>>>>>>> Email: ros...@wso2.com
>>>>>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>>>>>>> lean.enterprise.middleware.
>>>>>>>
>>>>>>> ___
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Regards,
>>>>>> UdaraR
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Roshan Wijesena.
>>>>> Senior Software Engineer-WSO2 Inc.
>>>>> Mobile: *+94719154640 <%2B94719154640>*
>>>>> Email: ros...@wso2.com
>>>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>>>>> lean.enterprise.middleware.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> UdaraR
>>>>
>>>
>>>
>>> --
>>> Gimantha Bandara
>>> Software Engineer
>>> WSO2. Inc : http://wso2.com
>>> Mobile : +94714961919
>>>
>>>
>>
>>
>> --
>> Roshan Wijesena.
>> Senior Software Engineer-WSO2 Inc.
>> Mobile: *+94719154640 <%2B94719154640>*
>> Email: ros...@wso2.com
>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>> lean.enterprise.middleware.
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thanks & Regards,
>
> Inosh Goonewardena
> Associate Technical Lead- WSO2 Inc.
> Mobile: +94779966317
>



-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][DAS] Publishing data through JAVA client REST or THRIFT?

2015-12-14 Thread Roshan Wijesena
Hi Udara,

Yes, it is. But could not find data publisher end point (POST or PUT) from
the endpoint list. Further, I am just wondering what are the advantages and
disadvantages of REST vs Thrift publishers.

-Roshan

On Mon, Dec 14, 2015 at 3:04 PM, Udara Rathnayake <uda...@wso2.com> wrote:

> Hi Roshan,
>
> On Mon, Dec 14, 2015 at 3:40 PM, Roshan Wijesena <ros...@wso2.com> wrote:
>
>> Hi DAS team,
>>
>> 1. I could not find the data publisher endpoint  from the list [1]. Which
>> endpoint is used for save the data?
>>
> ​I think you are looking at the analytics REST API.​ Refer
> https://docs.wso2.com/display/DAS300/Collecting+Data to publish/persist
> data.
>
>>
>> 2. I am just wondering which method to be used for data publishing for
>> DAS. Can someone please explain few advantage and disadvantage of both?
>>
>> [1] https://docs.wso2.com/display/DAS300/Analytics+REST+API+Guide
>>
>> --
>> Roshan Wijesena.
>> Senior Software Engineer-WSO2 Inc.
>> Mobile: *+94719154640 <%2B94719154640>*
>> Email: ros...@wso2.com
>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>> lean.enterprise.middleware.
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Regards,
> UdaraR
>



-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DEV][DAS] Publishing data through JAVA client REST or THRIFT?

2015-12-14 Thread Roshan Wijesena
Hi DAS team,

1. I could not find the data publisher endpoint  from the list [1]. Which
endpoint is used for save the data?

2. I am just wondering which method to be used for data publishing for DAS.
Can someone please explain few advantage and disadvantage of both?

[1] https://docs.wso2.com/display/DAS300/Analytics+REST+API+Guide

-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DEV][DAS]Null pointer exception while executing a schedule task in DAS HA cluster.

2015-12-10 Thread Roshan Wijesena
Hi DAS teaam,

I am getting below null pointer exception while trying to execute a
scheduled task. What I  simply did was created a two node HA cluster and
tried to run this example[1]. It has a scheduled task. However, this error
can not be observed in a single node fresh pack.

The error is,

[2015-12-10 19:32:00,573]  INFO
{org.wso2.carbon.analytics.spark.core.AnalyticsTask} -  Executing the
schedule task for: httpd_log_analytics for tenant id: -1234
[2015-12-10 19:32:21,899]  INFO
{org.wso2.carbon.event.processor.manager.core.internal.CarbonEventManagementService}
-  Starting polling event receivers
[2015-12-10 19:32:32,096] ERROR
{org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter} -  Error in
executing task: null
java.lang.NullPointerException
at
org.wso2.carbon.analytics.spark.core.internal.SparkAnalyticsExecutor.executeQueryLocal(SparkAnalyticsExecutor.java:710)
at
org.wso2.carbon.analytics.spark.core.internal.SparkAnalyticsExecutor.executeQuery(SparkAnalyticsExecutor.java:692)
at
org.wso2.carbon.analytics.spark.core.CarbonAnalyticsProcessorService.executeQuery(CarbonAnalyticsProcessorService.java:199)
at
org.wso2.carbon.analytics.spark.core.CarbonAnalyticsProcessorService.executeScript(CarbonAnalyticsProcessorService.java:149)
at
org.wso2.carbon.analytics.spark.core.AnalyticsTask.execute(AnalyticsTask.java:57)
at
org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJobAdapter.java:67)
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)


[1] https://docs.wso2.com/display/DAS300/Analyzing+HTTPD+Logs

-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][DAS]Null pointer exception while executing a schedule task in DAS HA cluster.

2015-12-10 Thread Roshan Wijesena
After I enabled the debug, it looks like below

[2015-12-10 22:03:00,001]  INFO
{org.wso2.carbon.analytics.spark.core.AnalyticsTask} -  Executing the
schedule task for: httpd_log_analytics for tenant id: -1234
[2015-12-10 22:03:00,013] DEBUG
{org.wso2.carbon.analytics.spark.core.internal.SparkAnalyticsExecutor} -
 Executing : CREATE TEMPORARY TABLE X1234_HttpLogTableUSING
org.wso2.carbon.analytics.spark.core.sources.AnalyticsRelationProvider
   OPTIONS (tableName "ORG_WSO2_SAMPLE_HTTPD_LOGS" , tenantId "-1234")
[2015-12-10 22:03:00,013] ERROR
{org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter} -  Error in
executing task: null
java.lang.NullPointerException
at
org.wso2.carbon.analytics.spark.core.internal.SparkAnalyticsExecutor.executeQueryLocal(SparkAnalyticsExecutor.java:710)
at
org.wso2.carbon.analytics.spark.core.internal.SparkAnalyticsExecutor.executeQuery(SparkAnalyticsExecutor.java:692)
at
org.wso2.carbon.analytics.spark.core.CarbonAnalyticsProcessorService.executeQuery(CarbonAnalyticsProcessorService.java:199)
at
org.wso2.carbon.analytics.spark.core.CarbonAnalyticsProcessorService.executeScript(CarbonAnalyticsProcessorService.java:149)
at
org.wso2.carbon.analytics.spark.core.AnalyticsTask.execute(AnalyticsTask.java:57)
at
org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJobAdapter.java:67)
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

does that query got modified?

 CREATE TEMPORARY TABLE X1234_HttpLogTableUSING
org.wso2.carbon.analytics.spark.core.sources.AnalyticsRelationProvider
   OPTIONS (tableName "ORG_WSO2_SAMPLE_HTTPD_LOGS" , tenantId "-1234")






On Thu, Dec 10, 2015 at 6:53 PM, Roshan Wijesena <ros...@wso2.com> wrote:

> Hi DAS teaam,
>
> I am getting below null pointer exception while trying to execute a
> scheduled task. What I  simply did was created a two node HA cluster and
> tried to run this example[1]. It has a scheduled task. However, this error
> can not be observed in a single node fresh pack.
>
> The error is,
>
> [2015-12-10 19:32:00,573]  INFO
> {org.wso2.carbon.analytics.spark.core.AnalyticsTask} -  Executing the
> schedule task for: httpd_log_analytics for tenant id: -1234
> [2015-12-10 19:32:21,899]  INFO
> {org.wso2.carbon.event.processor.manager.core.internal.CarbonEventManagementService}
> -  Starting polling event receivers
> [2015-12-10 19:32:32,096] ERROR
> {org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter} -  Error in
> executing task: null
> java.lang.NullPointerException
> at
> org.wso2.carbon.analytics.spark.core.internal.SparkAnalyticsExecutor.executeQueryLocal(SparkAnalyticsExecutor.java:710)
> at
> org.wso2.carbon.analytics.spark.core.internal.SparkAnalyticsExecutor.executeQuery(SparkAnalyticsExecutor.java:692)
> at
> org.wso2.carbon.analytics.spark.core.CarbonAnalyticsProcessorService.executeQuery(CarbonAnalyticsProcessorService.java:199)
> at
> org.wso2.carbon.analytics.spark.core.CarbonAnalyticsProcessorService.executeScript(CarbonAnalyticsProcessorService.java:149)
> at
> org.wso2.carbon.analytics.spark.core.AnalyticsTask.execute(AnalyticsTask.java:57)
> at
> org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJobAdapter.java:67)
> at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
>
>
> [1] https://docs.wso2.com/display/DAS300/Analyzing+HTTPD+Logs
>
> --
> Roshan Wijesena.
> Senior Software Engineer-WSO2 Inc.
> Mobile: *+94719154640 <%2B94719154640>*
> Email: ros...@wso2.com
> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
> lean.enterprise.middleware.
>



-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][DAS]Null pointer exception while executing a schedule task in DAS HA cluster.

2015-12-10 Thread Roshan Wijesena
Hi Niranda / Inosh,

Thanks a lot for the quick call and reply. Yes issue seems to be fixed now.
Did not appear for a while.

-Roshan

On Fri, Dec 11, 2015 at 12:47 AM, Niranda Perera <nira...@wso2.com> wrote:

> Hi Roshan,
>
> This happens when you have a malformed HA cluster. When you put the master
> count as 2, the spark cluster would not get initiated until there are 2
> members in the analytics cluster. when the count as 2 and there is a task
> scheduled already, you may come across this issue, until the 2nd node is up
> and running. You should see that after sometime, the exception gets
> resolved., and that is when the analytics cluster is at a workable state.
>
> But I agree, an NPE is not acceptable here and this has been already fixed
> in 3.0.1 [1]
>
> as per the query modification, yes, the query gets modified to handle
> multi tenancy in the spark runtime.
>
> hope this resolves your issues.
>
> rgds
>
> [1] https://wso2.org/jira/browse/DAS-329
>
> On Fri, Dec 11, 2015 at 11:40 AM, Roshan Wijesena <ros...@wso2.com> wrote:
>
>>  I reproduced the error. If we set carbon.spark.master.count value to 2
>> this error will occur. Any solution available in this case?
>>
>>
>> On Thu, Dec 10, 2015 at 9:05 PM, Roshan Wijesena <ros...@wso2.com> wrote:
>>
>>> After I enabled the debug, it looks like below
>>>
>>> [2015-12-10 22:03:00,001]  INFO
>>> {org.wso2.carbon.analytics.spark.core.AnalyticsTask} -  Executing the
>>> schedule task for: httpd_log_analytics for tenant id: -1234
>>> [2015-12-10 22:03:00,013] DEBUG
>>> {org.wso2.carbon.analytics.spark.core.internal.SparkAnalyticsExecutor} -
>>>  Executing : CREATE TEMPORARY TABLE X1234_HttpLogTableUSING
>>> org.wso2.carbon.analytics.spark.core.sources.AnalyticsRelationProvider
>>>OPTIONS (tableName "ORG_WSO2_SAMPLE_HTTPD_LOGS" , tenantId "-1234")
>>> [2015-12-10 22:03:00,013] ERROR
>>> {org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter} -  Error in
>>> executing task: null
>>> java.lang.NullPointerException
>>> at
>>> org.wso2.carbon.analytics.spark.core.internal.SparkAnalyticsExecutor.executeQueryLocal(SparkAnalyticsExecutor.java:710)
>>> at
>>> org.wso2.carbon.analytics.spark.core.internal.SparkAnalyticsExecutor.executeQuery(SparkAnalyticsExecutor.java:692)
>>> at
>>> org.wso2.carbon.analytics.spark.core.CarbonAnalyticsProcessorService.executeQuery(CarbonAnalyticsProcessorService.java:199)
>>> at
>>> org.wso2.carbon.analytics.spark.core.CarbonAnalyticsProcessorService.executeScript(CarbonAnalyticsProcessorService.java:149)
>>> at
>>> org.wso2.carbon.analytics.spark.core.AnalyticsTask.execute(AnalyticsTask.java:57)
>>> at
>>> org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJobAdapter.java:67)
>>> at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
>>> at
>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>>> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>> at
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>> at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>> at java.lang.Thread.run(Thread.java:745)
>>>
>>> does that query got modified?
>>>
>>>  CREATE TEMPORARY TABLE X1234_HttpLogTableUSING
>>> org.wso2.carbon.analytics.spark.core.sources.AnalyticsRelationProvider
>>>OPTIONS (tableName "ORG_WSO2_SAMPLE_HTTPD_LOGS" , tenantId "-1234")
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Thu, Dec 10, 2015 at 6:53 PM, Roshan Wijesena <ros...@wso2.com>
>>> wrote:
>>>
>>>> Hi DAS teaam,
>>>>
>>>> I am getting below null pointer exception while trying to execute a
>>>> scheduled task. What I  simply did was created a two node HA cluster and
>>>> tried to run this example[1]. It has a scheduled task. However, this error
>>>> can not be observed in a single node fresh pack.
>>>>
>>>> The error is,
>>>>
>>>> [2015-12-10 19:32:00,573]  INFO
>>>> {org.wso2.carbon.analytics.spark.core.AnalyticsTask} -  Executing the
>>>> schedule task for: httpd_log_analytics for tenant id: -1234
>>>> [2015-12-10 19:32:21,899]  INFO
>>>> {org.wso2.carbon.event.processor.manager.core.internal.CarbonEventManagementService}
>>>> -  Starting pol

Re: [Dev] [DEV][DAS]Null pointer exception while executing a schedule task in DAS HA cluster.

2015-12-10 Thread Roshan Wijesena
 I reproduced the error. If we set carbon.spark.master.count value to 2
this error will occur. Any solution available in this case?


On Thu, Dec 10, 2015 at 9:05 PM, Roshan Wijesena <ros...@wso2.com> wrote:

> After I enabled the debug, it looks like below
>
> [2015-12-10 22:03:00,001]  INFO
> {org.wso2.carbon.analytics.spark.core.AnalyticsTask} -  Executing the
> schedule task for: httpd_log_analytics for tenant id: -1234
> [2015-12-10 22:03:00,013] DEBUG
> {org.wso2.carbon.analytics.spark.core.internal.SparkAnalyticsExecutor} -
>  Executing : CREATE TEMPORARY TABLE X1234_HttpLogTableUSING
> org.wso2.carbon.analytics.spark.core.sources.AnalyticsRelationProvider
>OPTIONS (tableName "ORG_WSO2_SAMPLE_HTTPD_LOGS" , tenantId "-1234")
> [2015-12-10 22:03:00,013] ERROR
> {org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter} -  Error in
> executing task: null
> java.lang.NullPointerException
> at
> org.wso2.carbon.analytics.spark.core.internal.SparkAnalyticsExecutor.executeQueryLocal(SparkAnalyticsExecutor.java:710)
> at
> org.wso2.carbon.analytics.spark.core.internal.SparkAnalyticsExecutor.executeQuery(SparkAnalyticsExecutor.java:692)
> at
> org.wso2.carbon.analytics.spark.core.CarbonAnalyticsProcessorService.executeQuery(CarbonAnalyticsProcessorService.java:199)
> at
> org.wso2.carbon.analytics.spark.core.CarbonAnalyticsProcessorService.executeScript(CarbonAnalyticsProcessorService.java:149)
> at
> org.wso2.carbon.analytics.spark.core.AnalyticsTask.execute(AnalyticsTask.java:57)
> at
> org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJobAdapter.java:67)
> at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
>
> does that query got modified?
>
>  CREATE TEMPORARY TABLE X1234_HttpLogTableUSING
> org.wso2.carbon.analytics.spark.core.sources.AnalyticsRelationProvider
>OPTIONS (tableName "ORG_WSO2_SAMPLE_HTTPD_LOGS" , tenantId "-1234")
>
>
>
>
>
>
> On Thu, Dec 10, 2015 at 6:53 PM, Roshan Wijesena <ros...@wso2.com> wrote:
>
>> Hi DAS teaam,
>>
>> I am getting below null pointer exception while trying to execute a
>> scheduled task. What I  simply did was created a two node HA cluster and
>> tried to run this example[1]. It has a scheduled task. However, this error
>> can not be observed in a single node fresh pack.
>>
>> The error is,
>>
>> [2015-12-10 19:32:00,573]  INFO
>> {org.wso2.carbon.analytics.spark.core.AnalyticsTask} -  Executing the
>> schedule task for: httpd_log_analytics for tenant id: -1234
>> [2015-12-10 19:32:21,899]  INFO
>> {org.wso2.carbon.event.processor.manager.core.internal.CarbonEventManagementService}
>> -  Starting polling event receivers
>> [2015-12-10 19:32:32,096] ERROR
>> {org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter} -  Error in
>> executing task: null
>> java.lang.NullPointerException
>> at
>> org.wso2.carbon.analytics.spark.core.internal.SparkAnalyticsExecutor.executeQueryLocal(SparkAnalyticsExecutor.java:710)
>> at
>> org.wso2.carbon.analytics.spark.core.internal.SparkAnalyticsExecutor.executeQuery(SparkAnalyticsExecutor.java:692)
>> at
>> org.wso2.carbon.analytics.spark.core.CarbonAnalyticsProcessorService.executeQuery(CarbonAnalyticsProcessorService.java:199)
>> at
>> org.wso2.carbon.analytics.spark.core.CarbonAnalyticsProcessorService.executeScript(CarbonAnalyticsProcessorService.java:149)
>> at
>> org.wso2.carbon.analytics.spark.core.AnalyticsTask.execute(AnalyticsTask.java:57)
>> at
>> org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJobAdapter.java:67)
>> at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
>> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>> at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>> at java.lang.Thread.run(Thread.java:745)
>>
>>
>> [1] https://docs.wso2.com/display/DAS300/Analyzing+HTTPD+Logs
>>
>> --
>> Roshan Wijesena.
>> Senior Software Engineer-WSO2 Inc.
>> Mobile: *+94719154640 <%2B94719154640>*
>> Emai

Re: [Dev] [DEV][DAS]WSO2 DAS load balancing ports.

2015-12-10 Thread Roshan Wijesena
Thanks, Maninda.


On Thu, Dec 10, 2015 at 12:05 AM, Maninda Edirisooriya <mani...@wso2.com>
wrote:

> Hi Roshen,
>
> Please find the required port in [1] and [2].
>
> [1] https://docs.wso2.com/display/DAS300/WSO2+DAS+Specific+Ports
> [2] https://docs.wso2.com/display/DAS300/Default+Ports+of+WSO2+Products
>
> 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 Thu, Dec 10, 2015 at 5:16 AM, Roshan Wijesena <ros...@wso2.com> wrote:
>
>> Hi,
>>
>> When load balancing a minimum HA DAS cluster[1] what are the ports that
>> we need to expose to the outside? I Could not find proper documentation
>> around that?
>>
>> [1]
>> https://docs.wso2.com/display/CLUSTER44x/Minimum+High+Availability+Deployment
>>
>> --
>> Roshan Wijesena.
>> Senior Software Engineer-WSO2 Inc.
>> Mobile: *+94719154640 <%2B94719154640>*
>> Email: ros...@wso2.com
>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>> lean.enterprise.middleware.
>>
>
>


-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DEV][DAS]WSO2 DAS load balancing ports.

2015-12-09 Thread Roshan Wijesena
Hi,

When load balancing a minimum HA DAS cluster[1] what are the ports that we
need to expose to the outside? I Could not find proper documentation around
that?

[1]
https://docs.wso2.com/display/CLUSTER44x/Minimum+High+Availability+Deployment

-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DAS] Sending Notifications Through Published Events Using Spark DAS sample is not displaying data?

2015-12-08 Thread Roshan Wijesena
Hi Udani,

I can see data if I add them via "Event Stream Simulator". If I upload data
via CSV file, data can not be seen.

-Roshan

On Tue, Dec 8, 2015 at 6:22 AM, Udani Weeraratne <ud...@wso2.com> wrote:

> Hi Roshan,
>
> I followed the steps from the sample and was able to obtain the output as
> shown in the documentation. The only possibility to obtain records as shown
> in your output is when you just persist the stream without enabling the
> Persist Attribute field under Payload Data Attributes. But then the event
> sink file will be as [1]. So can you please double check with a different
> stream and follow the same steps.
>
> [1]
>
>  standalone="yes"?>PRODUCTS_STREAM:1.0.0EVENT_STORE
>
> Thanks,
>
> On Tue, Dec 8, 2015 at 9:34 AM, Inosh Goonewardena <in...@wso2.com> wrote:
>
>> Hi Roshan,
>>
>> Problem seems to be in adding data to original stemream through csv file.
>> Until we verify that step in the sample please move ahead by publishing
>> data to that stream using event simulator.
>>
>>
>> On Tuesday, December 8, 2015, Roshan Wijesena <ros...@wso2.com> wrote:
>>
>>> Hi Inosh,
>>>
>>> Thanks for the reply. Yes, I enabled the persistence. Stream definition
>>> and event sink XML files are attached. BTW how to find relevant spark
>>> script?
>>>
>>>
>>> On Mon, Dec 7, 2015 at 8:48 PM, Inosh Goonewardena <in...@wso2.com>
>>> wrote:
>>>
>>>> Hi Roshan,
>>>>
>>>> Did you enable the persistence for stream and it attributes properly?
>>>> Could you please share the Stream definition, event sink xml and spark
>>>> script.
>>>>
>>>>
>>>> On Tuesday, December 8, 2015, Roshan Wijesena <ros...@wso2.com> wrote:
>>>>
>>>>> Hi DAS team,
>>>>>
>>>>> I am trying to run the sample [1]. Even though there are no errors on
>>>>> the console, I  could not see the data partially. See the screen shot. any
>>>>> idea why this is happening?
>>>>>
>>>>> [1]
>>>>> https://docs.wso2.com/display/DAS300/Sending+Notifications+Through+Published+Events+Using+Spark
>>>>>
>>>>> --
>>>>> Roshan Wijesena.
>>>>> Senior Software Engineer-WSO2 Inc.
>>>>> Mobile: *+94719154640 <%2B94719154640>*
>>>>> Email: ros...@wso2.com
>>>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>>>>> lean.enterprise.middleware.
>>>>>
>>>>
>>>>
>>>> --
>>>> Thanks & Regards,
>>>>
>>>> Inosh Goonewardena
>>>> Associate Technical Lead- WSO2 Inc.
>>>> Mobile: +94779966317
>>>>
>>>>
>>>
>>>
>>> --
>>> Roshan Wijesena.
>>> Senior Software Engineer-WSO2 Inc.
>>> Mobile: *+94719154640 <%2B94719154640>*
>>> Email: ros...@wso2.com
>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>>> lean.enterprise.middleware.
>>>
>>
>>
>> --
>> Thanks & Regards,
>>
>> Inosh Goonewardena
>> Associate Technical Lead- WSO2 Inc.
>> Mobile: +94779966317
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Udani Weeraratne*
> Software Engineer - Intern
> WSO2 Inc.: www.wso2.com
> lean.enterprise.middleware
>
> Email: ud...@wso2.com
> Mobile: +94 775437714
> LinkedIn: *https://lk.linkedin.com/in/udaniweeraratne
> <https://lk.linkedin.com/in/udaniweeraratne>*
> Blog : https://udaniweeraratne.wordpress.com/
>



-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DAS] Why we use an UDF library in Analyzing HTTPD Logs sample?

2015-12-08 Thread Roshan Wijesena
Hi

I am trying to understand why we
use org.wso2.das.samples.geoip-3.0.0-SNAPSHOT.jar library in this example?
What is the purpose of it?

-Roshan

-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DAS] Why we use an UDF library in Analyzing HTTPD Logs sample?

2015-12-08 Thread Roshan Wijesena
Thanks Sinthuja

On Tue, Dec 8, 2015 at 11:01 PM, Sinthuja Ragendran <sinth...@wso2.com>
wrote:

> Hi Roshan,
>
> This jar is basically used as custom UDF for spark to find the country
> name from the IP for that sample.
>
> Thanks,
> Sinthuja.
>
> On Wed, Dec 9, 2015 at 9:26 AM, Roshan Wijesena <ros...@wso2.com> wrote:
>
>> This is the sample [1]
>>
>> [1] https://docs.wso2.com/display/DAS300/Analyzing+HTTPD+Logs
>>
>> On Tue, Dec 8, 2015 at 9:55 PM, Roshan Wijesena <ros...@wso2.com> wrote:
>>
>>> Hi
>>>
>>> I am trying to understand why we
>>> use org.wso2.das.samples.geoip-3.0.0-SNAPSHOT.jar library in this example?
>>> What is the purpose of it?
>>>
>>> -Roshan
>>>
>>> --
>>> Roshan Wijesena.
>>> Senior Software Engineer-WSO2 Inc.
>>> Mobile: *+94719154640 <%2B94719154640>*
>>> Email: ros...@wso2.com
>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>>> lean.enterprise.middleware.
>>>
>>
>>
>>
>> --
>> Roshan Wijesena.
>> Senior Software Engineer-WSO2 Inc.
>> Mobile: *+94719154640 <%2B94719154640>*
>> Email: ros...@wso2.com
>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>> lean.enterprise.middleware.
>>
>
>
>
> --
> *Sinthuja Rajendran*
> Associate Technical Lead
> WSO2, Inc.:http://wso2.com
>
> Blog: http://sinthu-rajan.blogspot.com/
> Mobile: +94774273955
>
>
>


-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DAS] Why we use an UDF library in Analyzing HTTPD Logs sample?

2015-12-08 Thread Roshan Wijesena
This is the sample [1]

[1] https://docs.wso2.com/display/DAS300/Analyzing+HTTPD+Logs

On Tue, Dec 8, 2015 at 9:55 PM, Roshan Wijesena <ros...@wso2.com> wrote:

> Hi
>
> I am trying to understand why we
> use org.wso2.das.samples.geoip-3.0.0-SNAPSHOT.jar library in this example?
> What is the purpose of it?
>
> -Roshan
>
> --
> Roshan Wijesena.
> Senior Software Engineer-WSO2 Inc.
> Mobile: *+94719154640 <%2B94719154640>*
> Email: ros...@wso2.com
> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
> lean.enterprise.middleware.
>



-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DAS] Sending Notifications Through Published Events Using Spark DAS sample is not displaying data?

2015-12-07 Thread Roshan Wijesena
Hi Inosh,

Thanks for the reply. Yes, I enabled the persistence. Stream definition and
event sink XML files are attached. BTW how to find relevant spark script?


On Mon, Dec 7, 2015 at 8:48 PM, Inosh Goonewardena <in...@wso2.com> wrote:

> Hi Roshan,
>
> Did you enable the persistence for stream and it attributes properly?
> Could you please share the Stream definition, event sink xml and spark
> script.
>
>
> On Tuesday, December 8, 2015, Roshan Wijesena <ros...@wso2.com> wrote:
>
>> Hi DAS team,
>>
>> I am trying to run the sample [1]. Even though there are no errors on the
>> console, I  could not see the data partially. See the screen shot. any idea
>> why this is happening?
>>
>> [1]
>> https://docs.wso2.com/display/DAS300/Sending+Notifications+Through+Published+Events+Using+Spark
>>
>> --
>> Roshan Wijesena.
>> Senior Software Engineer-WSO2 Inc.
>> Mobile: *+94719154640 <%2B94719154640>*
>> Email: ros...@wso2.com
>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>> lean.enterprise.middleware.
>>
>
>
> --
> Thanks & Regards,
>
> Inosh Goonewardena
> Associate Technical Lead- WSO2 Inc.
> Mobile: +94779966317
>
>


-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.


product_stream_1.0.0.json
Description: application/json
product-nametruetruefalseSTRINGquantitytruefalsefalseINTEGERproduct_stream:1.0.0EVENT_STOREfootwear.csvproduct_stream:1.0.0,1000Nike,7
Adidas,3
Puma,2
Bettans,0
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DAS] Sending Notifications Through Published Events Using Spark DAS sample is not displaying data?

2015-12-07 Thread Roshan Wijesena
Hi DAS team,

I am trying to run the sample [1]. Even though there are no errors on the
console, I  could not see the data partially. See the screen shot. any idea
why this is happening?

[1]
https://docs.wso2.com/display/DAS300/Sending+Notifications+Through+Published+Events+Using+Spark

-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] SelfSignUpUtil class is not executing when we enabled workflow with BPS + API manager 1.9.0

2015-09-02 Thread Roshan Wijesena
Hi Nuwan,

I have not applied any patches to BPS. what are  patches that I need to
apply ?

-Roshan.
On Sep 2, 2015 3:59 PM, "Nuwan Dias" <nuw...@wso2.com> wrote:

> Have you applied the latest kernel patches to BPS?
>
> On Wed, Sep 2, 2015 at 3:51 PM, Roshan Wijesena <ros...@wso2.com> wrote:
>
>> Hi Amila,
>>
>> In BPS node I am getting this error,
>>
>> [2015-09-02 13:58:10,526] ERROR
>> {org.wso2.carbon.bpel.core.ode.integration.PartnerService} -  Error sending
>> message to Axis2 for ODE mex {PartnerRoleMex#hqejbhcnphrakj0fe4uvbs [PID {
>> http://workflow.registeruser.apimgt.carbon.wso2.org}UserSignupProcess-4]
>> calling org.apache.ode.bpel.epr.WSAEndpoint@4c44e355.resumeEvent(...)
>> Status REQUEST}
>> org.apache.axis2.AxisFault: Transport error: 401 Error: Unauthorized
>> at
>> org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:308)
>> at
>> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:194)
>> at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
>> at
>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451)
>> at
>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278)
>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
>> at
>> org.wso2.carbon.core.multitenancy.transports.TenantTransportSender.invoke(TenantTransportSender.java:198)
>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
>> at
>> org.apache.axis2.description.OutOnlyAxisOperationClient.executeImpl(OutOnlyAxisOperation.java:297)
>> at
>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
>> at
>> org.wso2.carbon.bpel.core.ode.integration.utils.AxisServiceUtils.invokeService(AxisServiceUtils.java:305)
>> at
>> org.wso2.carbon.bpel.core.ode.integration.PartnerService.invoke(PartnerService.java:324)
>> at
>> org.wso2.carbon.bpel.core.ode.integration.BPELMessageExchangeContextImpl.invokePartner(BPELMessageExchangeContextImpl.java:43)
>> at
>> org.apache.ode.bpel.engine.BpelRuntimeContextImpl.invoke(BpelRuntimeContextImpl.java:793)
>> at org.apache.ode.bpel.runtime.INVOKE.run(INVOKE.java:130)
>> at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:606)
>> at
>> org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
>> at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139)
>> at
>> org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeContextImpl.java:898)
>> at
>> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeInstance(PartnerLinkMyRoleImpl.java:250)
>> at org.apache.ode.bpel.engine.BpelProcess$1.invoke(BpelProcess.java:288)
>> at
>> org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:224)
>> at
>> org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:279)
>> at
>> org.apache.ode.bpel.engine.BpelProcess.handleJobDetails(BpelProcess.java:434)
>> at
>> org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:558)
>> at
>> org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:467)
>> at
>> org.apache.ode.scheduler.simple.SimpleScheduler$RunJob$1.call(SimpleScheduler.java:536)
>> at
>> org.apache.ode.scheduler.simple.SimpleScheduler$RunJob$1.call(SimpleScheduler.java:530)
>> at
>> org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:280)
>> at
>> org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:235)
>> at
>> org.apache.ode.scheduler.simple.SimpleScheduler$RunJob.call(SimpleScheduler.java:530)
>> at
>> org.apache.ode.scheduler.simple.SimpleScheduler$RunJob.call(SimpleScheduler.java:514)
>> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>> at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>> at java.lang.Thread.run(Thread.java:745)
>>
>>
>>
>> On Wed, Sep 2, 2015 at 3:42 PM, Amila De Silva <ami...@wso2.com> wrote:
>>
>>> Hi Roshan,
>>>
>>> Do you get any exceptions when signing up?
>>>
>>> On Wed, Sep 2, 2015 at 2:51 PM, Roshan Wijesena <ros...@wso2.com> wrote:
>

Re: [Dev] SelfSignUpUtil class is not executing when we enabled workflow with BPS + API manager 1.9.0

2015-09-02 Thread Roshan Wijesena
Hi Amila,

In BPS node I am getting this error,

[2015-09-02 13:58:10,526] ERROR
{org.wso2.carbon.bpel.core.ode.integration.PartnerService} -  Error sending
message to Axis2 for ODE mex {PartnerRoleMex#hqejbhcnphrakj0fe4uvbs [PID {
http://workflow.registeruser.apimgt.carbon.wso2.org}UserSignupProcess-4]
calling org.apache.ode.bpel.epr.WSAEndpoint@4c44e355.resumeEvent(...)
Status REQUEST}
org.apache.axis2.AxisFault: Transport error: 401 Error: Unauthorized
at
org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:308)
at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:194)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
at
org.wso2.carbon.core.multitenancy.transports.TenantTransportSender.invoke(TenantTransportSender.java:198)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
at
org.apache.axis2.description.OutOnlyAxisOperationClient.executeImpl(OutOnlyAxisOperation.java:297)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at
org.wso2.carbon.bpel.core.ode.integration.utils.AxisServiceUtils.invokeService(AxisServiceUtils.java:305)
at
org.wso2.carbon.bpel.core.ode.integration.PartnerService.invoke(PartnerService.java:324)
at
org.wso2.carbon.bpel.core.ode.integration.BPELMessageExchangeContextImpl.invokePartner(BPELMessageExchangeContextImpl.java:43)
at
org.apache.ode.bpel.engine.BpelRuntimeContextImpl.invoke(BpelRuntimeContextImpl.java:793)
at org.apache.ode.bpel.runtime.INVOKE.run(INVOKE.java:130)
at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139)
at
org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeContextImpl.java:898)
at
org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeInstance(PartnerLinkMyRoleImpl.java:250)
at org.apache.ode.bpel.engine.BpelProcess$1.invoke(BpelProcess.java:288)
at
org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:224)
at
org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:279)
at
org.apache.ode.bpel.engine.BpelProcess.handleJobDetails(BpelProcess.java:434)
at
org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:558)
at
org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:467)
at
org.apache.ode.scheduler.simple.SimpleScheduler$RunJob$1.call(SimpleScheduler.java:536)
at
org.apache.ode.scheduler.simple.SimpleScheduler$RunJob$1.call(SimpleScheduler.java:530)
at
org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:280)
at
org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:235)
at
org.apache.ode.scheduler.simple.SimpleScheduler$RunJob.call(SimpleScheduler.java:530)
at
org.apache.ode.scheduler.simple.SimpleScheduler$RunJob.call(SimpleScheduler.java:514)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)



On Wed, Sep 2, 2015 at 3:42 PM, Amila De Silva <ami...@wso2.com> wrote:

> Hi Roshan,
>
> Do you get any exceptions when signing up?
>
> On Wed, Sep 2, 2015 at 2:51 PM, Roshan Wijesena <ros...@wso2.com> wrote:
>
>> Hi Guys,
>>
>> I have enabled user sign up work flow for tenant as explained here[1],
>> However, When an user signed up I could not see the default
>> internal/subscriber role assigned to that user properly. I tried to debug
>> but SelfSignUpUtil class  does not get hit by debug.
>>
>> any reason for this?
>>
>> [1] https://docs.wso2.com/display/AM190/Configuring+Workflows+for+Tenants
>>
>> Regards
>> Roshan
>>
>> --
>> Roshan Wijesena.
>> Senior Software Engineer-WSO2 Inc.
>> Mobile: *+94719154640 <%2B94719154640>*
>> Email: ros...@wso2.com
>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>> lean.enterprise.middleware.
>>
>
>
>
> --
> *Amila De Silva*
>
> WSO2 Inc.
> mobile :(+94) 775119302
>
>


-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] SelfSignUpUtil class is not executing when we enabled workflow with BPS + API manager 1.9.0

2015-09-02 Thread Roshan Wijesena
Hi Guys,

I have enabled user sign up work flow for tenant as explained here[1],
However, When an user signed up I could not see the default
internal/subscriber role assigned to that user properly. I tried to debug
but SelfSignUpUtil class  does not get hit by debug.

any reason for this?

[1] https://docs.wso2.com/display/AM190/Configuring+Workflows+for+Tenants

Regards
Roshan

-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Madusanka Premaratne

2015-08-17 Thread Roshan Wijesena
Congratulations!

On Sat, Aug 15, 2015 at 10:15 AM, Nuwan Dias nuw...@wso2.com wrote:

 Hi,

 It is with great pleasure we welcome Madusanka Premaratne as a
 WSO2 Committer. @Madusanka, congratulations and keep up the good work!

 Thanks,
 NuwanD.

 --
 Nuwan Dias

 Technical Lead - WSO2, Inc. http://wso2.com
 email : nuw...@wso2.com
 Phone : +94 777 775 729

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




-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com http://wso2.com/*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Tharindu Dharmarathna

2015-07-27 Thread Roshan Wijesena
Congratulations!

On Tue, Jul 28, 2015 at 10:47 AM, Nuwan Dias nuw...@wso2.com wrote:

 Hi,

 It is with great pleasure we welcome Tharindu Dharmarathna as a
 WSO2 Committer. @Tharindu, congratulations and keep up the good work!

 Thanks,
 NuwanD.

 --
 Nuwan Dias

 Technical Lead - WSO2, Inc. http://wso2.com
 email : nuw...@wso2.com
 Phone : +94 777 775 729

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




-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com http://wso2.com/*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error when generating/refreshing keys in APIM 1.9.0

2015-07-24 Thread Roshan Wijesena
.carbon.apimgt.api.APIManagementException: Error
 occurred while creating an Application Registration Entry for Application :
 DefaultApplication
 at
 org.wso2.carbon.apimgt.impl.dao.ApiMgtDAO.handleException(ApiMgtDAO.java:7303)
 at
 org.wso2.carbon.apimgt.impl.dao.ApiMgtDAO.createApplicationRegistrationEntry(ApiMgtDAO.java:326)
 at
 org.wso2.carbon.apimgt.impl.workflow.ApplicationRegistrationSimpleWorkflowExecutor.complete(ApplicationRegistrationSimpleWorkflowExecutor.java:80)
 ... 67 more
 Caused by:
 com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException:
 Duplicate entry '1-1-PRODUCTION' for key 'SUBSCRIBER_ID'
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)
 at
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
 at
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
 at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
 at com.mysql.jdbc.Util.getInstance(Util.java:386)
 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1041)
 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237)
 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169)
 at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2617)
 at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2778)
 at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2825)
 at
 com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2156)
 at
 com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1379)
 at
 org.wso2.carbon.apimgt.impl.dao.ApiMgtDAO.createApplicationRegistrationEntry(ApiMgtDAO.java:308)
 ... 68 more
 TID: [0] [AM] [2015-07-24 10:23:06,480] ERROR
 {JAGGERY.site.blocks.subscription.subscription-add.ajax.subscription-add:jag}
 -  org.jaggeryjs.scriptengine.exceptions.ScriptException: Error while
 obtaining the application access token for the
 application:DefaultApplication
 {JAGGERY.site.blocks.subscription.subscription-add.ajax.subscription-add:jag}
 TID: [0] [AM] [2015-07-24 10:23:06,480]  INFO
 {JAGGERY.site.blocks.subscription.subscription-add.ajax.subscription-add:jag}
 -  -mod.generateApplicationKeyresult : [object
 Object]
 {JAGGERY.site.blocks.subscription.subscription-add.ajax.subscription-add:jag}


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




 --
 Regards,
 Uvindra

 Mobile: 33962




-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com http://wso2.com/*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Building WSO2 API Manager 1.9.0 from Source

2015-07-18 Thread Roshan Wijesena
Hi Rohith,

What are the maven errors?

Regards
Roshan.

On Sat, Jul 18, 2015 at 2:46 PM, rohit rohitab...@gmail.com wrote:

 Hello All,

 I'm trying to build API Manager from the source code. I have downloaded the
 source code from :
 https://github.com/wso2/carbon-apimgt/releases/tag/carbon-apimgt-v1.9.0
 However I am facing a lot of issues when trying to build the code in
 eclipse, a lot of maven issues as a result of which I am unable to proceed
 and I am no maven expert. Could anyone please guide me step by step, on how
 to build the product from source. I am trying to follow this link :
 https://docs.wso2.com/display/AM190/Building+from+Source, but its not
 helping me in any way!
 Thanks in advance.



 --
 View this message in context:
 http://wso2-oxygen-tank.10903.n7.nabble.com/Building-WSO2-API-Manager-1-9-0-from-Source-tp121905.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




-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com http://wso2.com/*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] APIM 1.9.0 nightly build pack - 13-06-2015

2015-06-12 Thread Roshan Wijesena
Hi,

Please find $subject from [1]

[1]http://builder1.us1.wso2.org/~apim/13-06-2015/

Thanks,
Roshan

-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com http://wso2.com/*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Do we need to keep Embed-Dependency In carbon-apimgt 1.4.0 and 1.9.0

2015-06-05 Thread Roshan Wijesena
I removed it  from two components (intercepter and data publisher) in
carbon-apimgt 1.9.0  in  beta 3 pack. it seems fine.

On Sat, Jun 6, 2015 at 10:50 AM, Nuwan Dias nuw...@wso2.com wrote:

 Not sure of the need for it. Can we remove and see?

 On Thu, Jun 4, 2015 at 10:52 AM, Roshan Wijesena ros...@wso2.com wrote:

 Hi Folks,

 Carbon team has raised some concerns regarding below Embed-Dependency
 [1]  that we are using in few components of carbon-apimgt 1.4.0 and 1.9.0
 branches. In fact I have added them in to 1.4.0 poms because of we were
 using it in SVN poms.

 Embed-Dependency
 scribe;scope=compile|runtime;inline=false;
 /Embed-Dependency

 Does any one has valid point to keep it? or can we remove it? What are
 the pros and cons?

 [1]
 https://github.com/wso2/carbon-apimgt/blob/master/components/apimgt/org.wso2.carbon.apimgt.interceptor/pom.xml

 Regards
 Roshan.


 --
 Roshan Wijesena.
 Senior Software Engineer-WSO2 Inc.
 Mobile: *+94719154640 %2B94719154640*
 Email: ros...@wso2.com
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.




 --
 Nuwan Dias

 Technical Lead - WSO2, Inc. http://wso2.com
 email : nuw...@wso2.com
 Phone : +94 777 775 729




-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com http://wso2.com/*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Do we need to keep Embed-Dependency In carbon-apimgt 1.4.0 and 1.9.0

2015-06-04 Thread Roshan Wijesena
Hi Folks,

Carbon team has raised some concerns regarding below Embed-Dependency [1]
 that we are using in few components of carbon-apimgt 1.4.0 and 1.9.0
branches. In fact I have added them in to 1.4.0 poms because of we were
using it in SVN poms.

Embed-Dependency
scribe;scope=compile|runtime;inline=false;
/Embed-Dependency

Does any one has valid point to keep it? or can we remove it? What are the
pros and cons?

[1]
https://github.com/wso2/carbon-apimgt/blob/master/components/apimgt/org.wso2.carbon.apimgt.interceptor/pom.xml

Regards
Roshan.


-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com http://wso2.com/*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Orbit Bundle orbit/jsonpath/0.8.1.wso2v1

2015-05-22 Thread Roshan Wijesena
Hi

I think you need to add below section to your pom. Other wise Jenkins would
give an error. same thing happened to me once.

   repositories
repository
idwso2-nexus/id
nameWSO2 internal Repository/name
urlhttp://maven.wso2.org/nexus/content/groups/wso2-public/
/url
releases
enabledtrue/enabled
updatePolicydaily/updatePolicy
checksumPolicyfail/checksumPolicy
/releases
/repository
/repositories
distributionManagement
repository
idwso2.releases/id
nameWSO2 internal Repository/name
urlhttp://maven.wso2.org/nexus/content/repositories/releases/
/url
/repository
snapshotRepository
idwso2.snapshots/id
nameApache Snapshot Repository/name
urlhttp://maven.wso2.org/nexus/content/repositories/snapshots/
/url
/snapshotRepository
/distributionManagement

On Fri, May 22, 2015 at 12:38 PM, Dhanuka Ranasinghe dhan...@wso2.com
wrote:

 Hi,

 Could you please merge below PR [1].

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

 Cheers,
 *Dhanuka Ranasinghe*

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

 phone : +94 715381915

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




-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com http://wso2.com/*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Why we are having two different nexus repositories?

2015-05-18 Thread Roshan Wijesena
Hi Manoj,

Thanks for the offline help  for resolve bundle issues. As discussed, I
closed my previous pull request, as we need to release a new version of
waffle jar. Please find the new pull request [1] and have a review and
merge it.

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

Thanks.
Regards
Roshan.

On Sun, May 17, 2015 at 11:11 PM, Roshan Wijesena ros...@wso2.com wrote:

 Hi PulasthiM,

 Thanks.  As you mentioned waffle classes were missing in the jar at[1].
 Once I specified the bundle plugin version to 1.4.0 it works as expected.
 Furthermore it has missed com.sun.jna*;  classes also from being export.

 Hi KasunG/Sameera/Manoj

 I have created a pull request for above mentioned issues. Please review
 and merge the pull request[2].

 Have to mention all these things came up while I was working on this JIRA
 [3].

 [1]
 http://maven.wso2.org/nexus/content/repositories/releases/com/github/dblock/waffle/wso2/waffle-jna/1.6.wso2v1/
 [2] https://github.com/wso2/orbit/pull/90
 [3] https://wso2.org/jira/browse/APIMANAGER-3541

 Regards
 Roshan.

 On Sun, May 17, 2015 at 4:04 PM, Pulasthi Mahawithana pulast...@wso2.com
 wrote:

 Hi,

 Seems like the waffle.* classes are missing in the jar at [2].

 Checked the code locally and it works fine when the maven-bundle-plugin
 version is specified to 2.3 or below at [3] (Currently the version is not
 specified).  Will we need to re-deploy this with the version included (or
 by doing the required changes for bundle plugin 2.4 and above)?

 [3] https://github.com/wso2/orbit/blob/master/waffle/1.6.wso2v1/pom.xml

 On Sat, May 16, 2015 at 1:18 PM, Roshan Wijesena ros...@wso2.com wrote:

 Hi Devs,

 Can someone please explain why we are having two different nexus
 repositories? And which one to use when releasing a feature?

 http://maven.wso2.org/nexus/content/repositories/wso2maven2/
 http://maven.wso2.org/nexus/content/repositories/releases/

 We have a situation where waffle-jna-1.6. wso2v1. jar  exist in both
 locations with two different file sizes.. [1] [2]. The problem is which one
 to be used?

 [1]
 http://maven.wso2.org/nexus/content/repositories/wso2maven2/com/github/dblock/waffle/wso2/waffle-jna/1.6.wso2v1/

 [2]

 http://maven.wso2.org/nexus/content/repositories/releases/com/github/dblock/waffle/wso2/waffle-jna/1.6.wso2v1/

 Thanks.


 --
 Roshan Wijesena.
 Senior Software Engineer-WSO2 Inc.
 Mobile: *+94719154640 %2B94719154640*
 Email: ros...@wso2.com
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.

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




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




 --
 Roshan Wijesena.
 Senior Software Engineer-WSO2 Inc.
 Mobile: *+94719154640 %2B94719154640*
 Email: ros...@wso2.com
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.




-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com http://wso2.com/*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Why we are having two different nexus repositories?

2015-05-17 Thread Roshan Wijesena
Hi PulasthiM,

Thanks.  As you mentioned waffle classes were missing in the jar at[1].
Once I specified the bundle plugin version to 1.4.0 it works as expected.
Furthermore it has missed com.sun.jna*;  classes also from being export.

Hi KasunG/Sameera/Manoj

I have created a pull request for above mentioned issues. Please review and
merge the pull request[2].

Have to mention all these things came up while I was working on this JIRA
[3].

[1]
http://maven.wso2.org/nexus/content/repositories/releases/com/github/dblock/waffle/wso2/waffle-jna/1.6.wso2v1/
[2] https://github.com/wso2/orbit/pull/90
[3] https://wso2.org/jira/browse/APIMANAGER-3541

Regards
Roshan.

On Sun, May 17, 2015 at 4:04 PM, Pulasthi Mahawithana pulast...@wso2.com
wrote:

 Hi,

 Seems like the waffle.* classes are missing in the jar at [2].

 Checked the code locally and it works fine when the maven-bundle-plugin
 version is specified to 2.3 or below at [3] (Currently the version is not
 specified).  Will we need to re-deploy this with the version included (or
 by doing the required changes for bundle plugin 2.4 and above)?

 [3] https://github.com/wso2/orbit/blob/master/waffle/1.6.wso2v1/pom.xml

 On Sat, May 16, 2015 at 1:18 PM, Roshan Wijesena ros...@wso2.com wrote:

 Hi Devs,

 Can someone please explain why we are having two different nexus
 repositories? And which one to use when releasing a feature?

 http://maven.wso2.org/nexus/content/repositories/wso2maven2/
 http://maven.wso2.org/nexus/content/repositories/releases/

 We have a situation where waffle-jna-1.6. wso2v1. jar  exist in both
 locations with two different file sizes.. [1] [2]. The problem is which one
 to be used?

 [1]
 http://maven.wso2.org/nexus/content/repositories/wso2maven2/com/github/dblock/waffle/wso2/waffle-jna/1.6.wso2v1/

 [2]

 http://maven.wso2.org/nexus/content/repositories/releases/com/github/dblock/waffle/wso2/waffle-jna/1.6.wso2v1/

 Thanks.


 --
 Roshan Wijesena.
 Senior Software Engineer-WSO2 Inc.
 Mobile: *+94719154640 %2B94719154640*
 Email: ros...@wso2.com
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.

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




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




-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com http://wso2.com/*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Why we are having two different nexus repositories?

2015-05-16 Thread Roshan Wijesena
Hi Devs,

Can someone please explain why we are having two different nexus
repositories? And which one to use when releasing a feature?

http://maven.wso2.org/nexus/content/repositories/wso2maven2/
http://maven.wso2.org/nexus/content/repositories/releases/

We have a situation where waffle-jna-1.6. wso2v1. jar  exist in both
locations with two different file sizes.. [1] [2]. The problem is which one
to be used?

[1]
http://maven.wso2.org/nexus/content/repositories/wso2maven2/com/github/dblock/waffle/wso2/waffle-jna/1.6.wso2v1/

[2]
http://maven.wso2.org/nexus/content/repositories/releases/com/github/dblock/waffle/wso2/waffle-jna/1.6.wso2v1/

Thanks.


-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com http://wso2.com/*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review and merge PR for APIMANAGER-3413

2015-04-29 Thread Roshan Wijesena
Done.

Thanks.

On Wed, Apr 29, 2015 at 4:51 PM, Kasun Gunasekara kas...@wso2.com wrote:

 Hi,

 Please review and merge the PR [1] for JIRA [2].

 [1] https://github.com/wso2/carbon-apimgt/pull/269
 [2} https://wso2.org/jira/browse/APIMANAGER-3413

 Thanks.

 Kasun Gunasekara
 Software Engineering Intern - WSO2
 Mobile : +94 77 6986482
 Twitter https://twitter.com/KaluMallii | Google+
 https://plus.google.com/+KaZGunasekara/ | LinkedIn
 http://www.linkedin.com/in/kasun32




-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com http://wso2.com/*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review and merge PR for APIMANAGER-3472

2015-04-28 Thread Roshan Wijesena
Done.

Regards
Roshan.

On Tue, Apr 28, 2015 at 11:54 AM, Kasun Gunasekara kas...@wso2.com wrote:

 Hi,

 Please find the fix PR [1] for JIRA APIMANAGER-3472 [2], review and merge.

 [1] https://github.com/wso2/carbon-apimgt/pull/248
 [2] https://wso2.org/jira/browse/APIMANAGER-3472

 Regards.

 Kasun Gunasekara
 Software Engineering Intern - WSO2
 Mobile : +94 77 6986482
 Twitter https://twitter.com/KaluMallii | Google+
 https://plus.google.com/+KaZGunasekara/ | LinkedIn
 http://www.linkedin.com/in/kasun32




-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com http://wso2.com/*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] JSON script mediator issue

2015-03-24 Thread Roshan Wijesena
Hi,

I also tried same scenario once and received the  same error. This seems to
be a known issue, It has been discussed in this mail thread. [Dev]
getPayloadJSON returning an empty object

Regards
Roshan



On Tue, Mar 24, 2015 at 12:27 PM, Ishan Jayawardena is...@wso2.com wrote:

 What are the builder and formatter that you have registered?

 On Tue, Mar 24, 2015 at 12:17 PM, Vijayaratha Vijayasingam 
 rat...@wso2.com wrote:

 Hi Ishan;
 I tried following json line[1] in APIM 1..80
 But im getting following error;

 My request is a valid json as mentioned below;

 {
 company_uui:xxx,
 name: Y
 }

 Why script mediator could not extract 'name' from the incoming json
 payload?

 [1]var name=  *mc.getPayloadJSON().name.toString*;

 [2]

 2015-03-24 11:58:40,804] ERROR - ScriptMessageContext JSON object is null.

 [2015-03-24 11:58:40,806] ERROR - ScriptMediator Error in execution :

 org.mozilla.javascript.EcmaError: TypeError: Cannot read property
 toString from undefined (eval#2)

 at
 org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3687)

 at
 org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3665)

 at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3693)

 at
 Thanks.
 --
 -Ratha




 --
 Ishan Jayawardena
 Senior Software Engineer

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




-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com http://wso2.com/*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] getPayloadJSON returning an empty object

2015-03-13 Thread Roshan Wijesena
/*

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




 --


 *Asanka DissanayakeSoftware Engineer*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com http://wso2.com/*

 *email: asan...@wso2.com ruch...@wso2.com,   blog:
 cyberwaadiya.blogspot.com
 http://cyberwaadiya.blogspot.com, asankastechtalks.wordpress.com
 http://asankastechtalks.wordpress.com  mobile: +94 71 8373821*

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




 --

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




-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com http://wso2.com/*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Dinesh J Weerakkody

2015-03-11 Thread Roshan Wijesena
Congratulations!!

On Thu, Mar 12, 2015 at 9:45 AM, Thilini Cooray thili...@wso2.com wrote:

 Congratulations, Dinesh.

 On Thu, Mar 12, 2015 at 9:42 AM, Chanuka Dissanayake chan...@wso2.com
 wrote:

 Congratulations Dinesh..!

 On Thu, Mar 12, 2015 at 9:40 AM, Thusitha Thilina Dayaratne 
 thusit...@wso2.com wrote:

 Congratulations Dinesh ..!

 On Thu, Mar 12, 2015 at 8:59 AM, Lasitha Wattaladeniya 
 lasit...@wso2.com wrote:

 Congratulations Dinesh :) !

 On Thu, Mar 12, 2015 at 8:53 AM, Vijitha Ekanayake vijit...@wso2.com
 wrote:

 Congratulations Dinesh !!!

 On Thu, Mar 12, 2015 at 8:41 AM, Tharik Kanaka tha...@wso2.com
 wrote:

 Congratulations Dinesh

 On Thu, Mar 12, 2015 at 8:33 AM, Ravindra Ranwala ravin...@wso2.com
 wrote:

 Congratulations Dinesh !

 On Thu, Mar 12, 2015 at 8:30 AM, Chamalee De Silva 
 chama...@wso2.com wrote:

 congrats!

 On Thu, Mar 12, 2015 at 8:24 AM, Abimaran Kugathasan 
 abima...@wso2.com wrote:

 Congrats!

 On Thu, Mar 12, 2015 at 8:17 AM, Nuwan Dias nuw...@wso2.com
 wrote:

 Hi,

 It is with great pleasure we welcome DineshW as a WSO2 Committer.
 @Dinesh, congratulations and keep up the good work!

 Thanks,
 NuwanD.

 --
 Nuwan Dias

 Associate Tech Lead - WSO2, Inc. http://wso2.com
 email : nuw...@wso2.com
 Phone : +94 777 775 729

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




 --
 Thanks
 Abimaran Kugathasan

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

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


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




 --

 Chamalee De Silva

 Software Engineer | WSO2

 E:chama...@wso2.com nirosh...@wso2.com
 M :0711540738| http://wso2.com http://wso2.com/

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




 --
 Ravindra Ranwala
 Software Engineer
 WSO2, Inc: http://wso2.com
 http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg
 Mobile: +94714198770


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




 --

 *Tharik Kanaka* | Associate Software Engineer

 WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

 Email: tha...@wso2.com | Web: www.wso2.com

 ___
 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




 --
 Lasitha Wattaladeniya
 Software Engineer
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94719397528
 Blog : techreadme.blogspot.com

 ___
 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




 --
 Chanuka Dissanayake
 *Software Engineer | **WSO2 Inc.*; http://wso2.com

 Mobile: +94 71 33 63 596
 Email: chan...@wso2.com

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




 --
 Best Regards,

 *Thilini Cooray*
 Software Engineer
 Mobile : +94 (0) 774 570 112 %2B94%20%280%29%20773%20451194
 E-mail : thili...@wso2.com

 WSO2 Inc. www.wso2.com
 lean.enterprise.middleware

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




-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com http://wso2.com/*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Urgent] [Greg] - Greg 5.0.0 server start up delays for several minutes

2015-02-09 Thread Roshan Wijesena
Hi Abimaran,

Please disregard my earlier  pull request #18. It was in wrong version I
already closed it. Instead please merge new pull request [1].

[1] https://github.com/wso2/carbon-apimgt/pull/19/

Regards
Roshan.

On Mon, Feb 9, 2015 at 4:29 PM, Roshan Wijesena ros...@wso2.com wrote:

 Hi Abimaran,

 Please merge the pull request [1]. this will solve the case.

 [1] https://github.com/wso2/carbon-apimgt/pull/18

 On Mon, Feb 9, 2015 at 12:37 PM, Roshan Wijesena ros...@wso2.com wrote:

 Hi Chandana,

 It seems  the pull request changes are missing in carbon-apimgt. Abimaran
 is looking in to this.

 Regards
 Roshan

 On Mon, Feb 9, 2015 at 12:29 PM, Chandana Napagoda chand...@wso2.com
 wrote:

 HI Roshan,

 We noticed the server startup delay in today's pack as well. We can see
 that org.wso2.carbon.apimgt.core is in INSTALLED state.

 Regards,
 Chandana

 On Wed, Jan 28, 2015 at 2:57 PM, Roshan Wijesena ros...@wso2.com
 wrote:

 Hi all,

 This issue is fixed now. Please merge the pull request [1]. I have
 tested locally with greg latest built seems working fine. Please let us
 know if there any issue over this.

 [1] https://github.com/wso2/carbon-apimgt/pull/11

 Regards
 Roshan

 On Thu, Jan 22, 2015 at 7:11 PM, Sagara Gunathunga sag...@wso2.com
 wrote:



 On Sat, Jan 17, 2015 at 9:12 PM, Ruwan Yatawara ruw...@wso2.com
 wrote:

 Hi All,

 Merged the PR.


 Have you guys test this fix  ?

 I can see this commit[1] and up to date bundles in Nexus [2], but
 still facing same issue during the server start up, can you please look
 into this and treat it as an urgent matter.

 161 INSTALLED   org.wso2.carbon.apimgt.core_4.3.0.SNAPSHOT
 165 INSTALLED   org.wso2.carbon.apimgt.interceptor_4.3.0.SNAPSHOT

 osgi diag 161
 reference:file:../plugins/org.wso2.carbon.apimgt.core_4.3.0.SNAPSHOT.jar
 [161]
   Package uses conflict: Import-Package: org.wso2.carbon.apimgt.impl;
 version=0.0.0
   Package uses conflict: Import-Package:
 org.wso2.carbon.apimgt.impl.utils; version=0.0.0
   Direct constraints which are unresolved:
 Missing optionally imported package
 org.wso2.carbon.apimgt.core_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.authenticate_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.gateway_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.internal_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.throttle_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.usage_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.throttle.core_4.3.0.SNAPSHOT.


 osgi diag 165
 reference:file:../plugins/org.wso2.carbon.apimgt.interceptor_4.3.0.SNAPSHOT.jar
 [165]
   Package uses conflict: Import-Package:
 org.wso2.carbon.apimgt.impl.dao; version=0.0.0
   Package uses conflict: Import-Package:
 org.wso2.carbon.apimgt.impl.dto; version=0.0.0
   Package uses conflict: Import-Package:
 org.wso2.carbon.apimgt.impl.utils; version=0.0.0
   Direct constraints which are unresolved:
 Missing optionally imported package
 org.wso2.carbon.apimgt.core_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.authenticate_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.gateway_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.throttle_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.usage_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.interceptor_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.interceptor.handler_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.interceptor.utils_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.interceptor.valve_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.usage.publisher.internal_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.throttle.core_4.3.0.SNAPSHOT.
   Leaf constraints in the dependency chain which are unresolved:

 reference:file:../plugins/org.wso2.carbon.apimgt.core_4.3.0.SNAPSHOT.jar
 [161]
   Missing optionally imported package
 org.wso2.carbon.throttle.core_4.3.0.SNAPSHOT.



 [1] -
 https://github.com/wso2/carbon-apimgt/commit/57cc690a07231cde42e8398aae5b36d404183744

 [2] -
 http://maven.wso2.org/nexus/content/repositories/snapshots/org/wso2/carbon/apimgt/4.3.0-SNAPSHOT/maven-metadata.xml


 Thanks !


 Thanks and Regards,

 Ruwan Yatawara

 Senior Software Engineer,
 WSO2 Inc.

 email : ruw...@wso2.com
 mobile : +94 77 9110413
 blog : http://thoughts.ruwan-ace.com/
 www: :http://wso2.com


 On Sat, Jan 17, 2015 at 4:03 PM, Ruwan Yatawara ruw...@wso2.com
 wrote:

 Sure. Will merge. Don't have access to a computer atm. Give me a
 couple of hours.

 Regards,
 Ruwan
 On 17 Jan 2015 11:46, Nuwan Dias nuw...@wso2.com wrote:

 @Ruwan, can you have a quick look and merge?

 On Sat, Jan 17

Re: [Dev] [Urgent] [Greg] - Greg 5.0.0 server start up delays for several minutes

2015-02-09 Thread Roshan Wijesena
Hi Abimaran,

Please merge the pull request [1]. this will solve the case.

[1] https://github.com/wso2/carbon-apimgt/pull/18

On Mon, Feb 9, 2015 at 12:37 PM, Roshan Wijesena ros...@wso2.com wrote:

 Hi Chandana,

 It seems  the pull request changes are missing in carbon-apimgt. Abimaran
 is looking in to this.

 Regards
 Roshan

 On Mon, Feb 9, 2015 at 12:29 PM, Chandana Napagoda chand...@wso2.com
 wrote:

 HI Roshan,

 We noticed the server startup delay in today's pack as well. We can see
 that org.wso2.carbon.apimgt.core is in INSTALLED state.

 Regards,
 Chandana

 On Wed, Jan 28, 2015 at 2:57 PM, Roshan Wijesena ros...@wso2.com wrote:

 Hi all,

 This issue is fixed now. Please merge the pull request [1]. I have
 tested locally with greg latest built seems working fine. Please let us
 know if there any issue over this.

 [1] https://github.com/wso2/carbon-apimgt/pull/11

 Regards
 Roshan

 On Thu, Jan 22, 2015 at 7:11 PM, Sagara Gunathunga sag...@wso2.com
 wrote:



 On Sat, Jan 17, 2015 at 9:12 PM, Ruwan Yatawara ruw...@wso2.com
 wrote:

 Hi All,

 Merged the PR.


 Have you guys test this fix  ?

 I can see this commit[1] and up to date bundles in Nexus [2], but still
 facing same issue during the server start up, can you please look into this
 and treat it as an urgent matter.

 161 INSTALLED   org.wso2.carbon.apimgt.core_4.3.0.SNAPSHOT
 165 INSTALLED   org.wso2.carbon.apimgt.interceptor_4.3.0.SNAPSHOT

 osgi diag 161
 reference:file:../plugins/org.wso2.carbon.apimgt.core_4.3.0.SNAPSHOT.jar
 [161]
   Package uses conflict: Import-Package: org.wso2.carbon.apimgt.impl;
 version=0.0.0
   Package uses conflict: Import-Package:
 org.wso2.carbon.apimgt.impl.utils; version=0.0.0
   Direct constraints which are unresolved:
 Missing optionally imported package
 org.wso2.carbon.apimgt.core_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.authenticate_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.gateway_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.internal_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.throttle_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.usage_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.throttle.core_4.3.0.SNAPSHOT.


 osgi diag 165
 reference:file:../plugins/org.wso2.carbon.apimgt.interceptor_4.3.0.SNAPSHOT.jar
 [165]
   Package uses conflict: Import-Package:
 org.wso2.carbon.apimgt.impl.dao; version=0.0.0
   Package uses conflict: Import-Package:
 org.wso2.carbon.apimgt.impl.dto; version=0.0.0
   Package uses conflict: Import-Package:
 org.wso2.carbon.apimgt.impl.utils; version=0.0.0
   Direct constraints which are unresolved:
 Missing optionally imported package
 org.wso2.carbon.apimgt.core_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.authenticate_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.gateway_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.throttle_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.usage_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.interceptor_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.interceptor.handler_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.interceptor.utils_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.interceptor.valve_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.usage.publisher.internal_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.throttle.core_4.3.0.SNAPSHOT.
   Leaf constraints in the dependency chain which are unresolved:

 reference:file:../plugins/org.wso2.carbon.apimgt.core_4.3.0.SNAPSHOT.jar
 [161]
   Missing optionally imported package
 org.wso2.carbon.throttle.core_4.3.0.SNAPSHOT.



 [1] -
 https://github.com/wso2/carbon-apimgt/commit/57cc690a07231cde42e8398aae5b36d404183744

 [2] -
 http://maven.wso2.org/nexus/content/repositories/snapshots/org/wso2/carbon/apimgt/4.3.0-SNAPSHOT/maven-metadata.xml


 Thanks !


 Thanks and Regards,

 Ruwan Yatawara

 Senior Software Engineer,
 WSO2 Inc.

 email : ruw...@wso2.com
 mobile : +94 77 9110413
 blog : http://thoughts.ruwan-ace.com/
 www: :http://wso2.com


 On Sat, Jan 17, 2015 at 4:03 PM, Ruwan Yatawara ruw...@wso2.com
 wrote:

 Sure. Will merge. Don't have access to a computer atm. Give me a
 couple of hours.

 Regards,
 Ruwan
 On 17 Jan 2015 11:46, Nuwan Dias nuw...@wso2.com wrote:

 @Ruwan, can you have a quick look and merge?

 On Sat, Jan 17, 2015 at 8:47 AM, Roshan Wijesena ros...@wso2.com
 wrote:

 Hi NuwanD,

 Please review and merge
 https://github.com/wso2-dev/carbon-apimgt/pull/16  pull request to
 wso2-dev carbon-apimgt.

 Regards
 Roshan.

 On Sat, Jan 17, 2015 at 12:28 AM, Pulasthi Supun pulas...@wso2.com
  wrote:

 Hi Roshan

Re: [Dev] [Urgent] [Greg] - Greg 5.0.0 server start up delays for several minutes

2015-02-08 Thread Roshan Wijesena
Hi Chandana,

It seems  the pull request changes are missing in carbon-apimgt. Abimaran
is looking in to this.

Regards
Roshan

On Mon, Feb 9, 2015 at 12:29 PM, Chandana Napagoda chand...@wso2.com
wrote:

 HI Roshan,

 We noticed the server startup delay in today's pack as well. We can see
 that org.wso2.carbon.apimgt.core is in INSTALLED state.

 Regards,
 Chandana

 On Wed, Jan 28, 2015 at 2:57 PM, Roshan Wijesena ros...@wso2.com wrote:

 Hi all,

 This issue is fixed now. Please merge the pull request [1]. I have tested
 locally with greg latest built seems working fine. Please let us know if
 there any issue over this.

 [1] https://github.com/wso2/carbon-apimgt/pull/11

 Regards
 Roshan

 On Thu, Jan 22, 2015 at 7:11 PM, Sagara Gunathunga sag...@wso2.com
 wrote:



 On Sat, Jan 17, 2015 at 9:12 PM, Ruwan Yatawara ruw...@wso2.com wrote:

 Hi All,

 Merged the PR.


 Have you guys test this fix  ?

 I can see this commit[1] and up to date bundles in Nexus [2], but still
 facing same issue during the server start up, can you please look into this
 and treat it as an urgent matter.

 161 INSTALLED   org.wso2.carbon.apimgt.core_4.3.0.SNAPSHOT
 165 INSTALLED   org.wso2.carbon.apimgt.interceptor_4.3.0.SNAPSHOT

 osgi diag 161
 reference:file:../plugins/org.wso2.carbon.apimgt.core_4.3.0.SNAPSHOT.jar
 [161]
   Package uses conflict: Import-Package: org.wso2.carbon.apimgt.impl;
 version=0.0.0
   Package uses conflict: Import-Package:
 org.wso2.carbon.apimgt.impl.utils; version=0.0.0
   Direct constraints which are unresolved:
 Missing optionally imported package
 org.wso2.carbon.apimgt.core_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.authenticate_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.gateway_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.internal_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.throttle_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.usage_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.throttle.core_4.3.0.SNAPSHOT.


 osgi diag 165
 reference:file:../plugins/org.wso2.carbon.apimgt.interceptor_4.3.0.SNAPSHOT.jar
 [165]
   Package uses conflict: Import-Package:
 org.wso2.carbon.apimgt.impl.dao; version=0.0.0
   Package uses conflict: Import-Package:
 org.wso2.carbon.apimgt.impl.dto; version=0.0.0
   Package uses conflict: Import-Package:
 org.wso2.carbon.apimgt.impl.utils; version=0.0.0
   Direct constraints which are unresolved:
 Missing optionally imported package
 org.wso2.carbon.apimgt.core_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.authenticate_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.gateway_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.throttle_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.usage_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.interceptor_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.interceptor.handler_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.interceptor.utils_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.interceptor.valve_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.usage.publisher.internal_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.throttle.core_4.3.0.SNAPSHOT.
   Leaf constraints in the dependency chain which are unresolved:

 reference:file:../plugins/org.wso2.carbon.apimgt.core_4.3.0.SNAPSHOT.jar
 [161]
   Missing optionally imported package
 org.wso2.carbon.throttle.core_4.3.0.SNAPSHOT.



 [1] -
 https://github.com/wso2/carbon-apimgt/commit/57cc690a07231cde42e8398aae5b36d404183744

 [2] -
 http://maven.wso2.org/nexus/content/repositories/snapshots/org/wso2/carbon/apimgt/4.3.0-SNAPSHOT/maven-metadata.xml


 Thanks !


 Thanks and Regards,

 Ruwan Yatawara

 Senior Software Engineer,
 WSO2 Inc.

 email : ruw...@wso2.com
 mobile : +94 77 9110413
 blog : http://thoughts.ruwan-ace.com/
 www: :http://wso2.com


 On Sat, Jan 17, 2015 at 4:03 PM, Ruwan Yatawara ruw...@wso2.com
 wrote:

 Sure. Will merge. Don't have access to a computer atm. Give me a
 couple of hours.

 Regards,
 Ruwan
 On 17 Jan 2015 11:46, Nuwan Dias nuw...@wso2.com wrote:

 @Ruwan, can you have a quick look and merge?

 On Sat, Jan 17, 2015 at 8:47 AM, Roshan Wijesena ros...@wso2.com
 wrote:

 Hi NuwanD,

 Please review and merge
 https://github.com/wso2-dev/carbon-apimgt/pull/16  pull request to
 wso2-dev carbon-apimgt.

 Regards
 Roshan.

 On Sat, Jan 17, 2015 at 12:28 AM, Pulasthi Supun pulas...@wso2.com
 wrote:

 Hi Roshan,

 Could you get someone from the API manager team to review it and
 merge it as soon as possible. the governance lcm stub structure should 
 be
 accurate.

 Best Regards,
 Pulasthi

 On Fri, Jan 16, 2015

Re: [Dev] Server hangs with mssql

2015-02-06 Thread Roshan Wijesena
Might be an OSGI issue?

On Fri, Feb 6, 2015 at 2:25 PM, Nirodha Pramod niro...@wso2.com wrote:

 Hi Ratha,

 We have test APIM 1.8.0 with MSSQL at the early stages and below[1] are
 the issues we found. Other than that we didn't experienced any server
 getting hanged issue.

 [1]
 https://wso2.org/jira/browse/APIMANAGER-2823?jql=project%20%3D%20APIMANAGER%20AND%20affectedVersion%20%3D%20%221.8.0%22%20AND%20text%20~%20%22mssql%22

 -Nirodha

 On Fri, Feb 6, 2015 at 2:17 PM, Isuru Perera isu...@wso2.com wrote:

 I have used MSSQL datasources with no issues. Did you check OSGi console?
 Perhaps some bundles are not getting activated.

 On Wed, Feb 4, 2015 at 2:53 PM, Vijayaratha Vijayasingam rat...@wso2.com
  wrote:

 Hi all;
 I configured mssql as DB. When starting the server (AM 1.8.0)it hangs at
 some point. There is no any error logs or other log infos.[1]

 Anyone faced such issue before?

 [1]

 [2015-02-05 08:12:08,679]  INFO - CarbonCoreActivator User :
 Administrator, en-US, Asia/Singapore
 [2015-02-05 08:12:10,056]  WARN - ValidationResultPrinter The running OS
 : Windows Server 2012 is not a tested Operating System for running WSO2
 Carbo
 n
 [2015-02-05 08:12:10,056]  WARN - ValidationResultPrinter The default
 keystore (wso2carbon.jks) is currently being used. To maximize security
 when dep
 loying to a production environment, configure a new keystore with a
 unique password in the production server profile.
 [2015-02-05 08:12:10,181]  INFO - AgentHolder Agent created !
 [2015-02-05 08:12:10,197]  INFO - AgentDS Successfully deployed Agent
 Client
 [2015-02-05 08:12:10,244]  INFO - AgentHolder Agent created !
 [2015-02-05 08:12:10,275]  INFO - AgentDS Successfully deployed Agent
 Client
 [2015-02-05 08:12:23,884]  INFO - TaglibUriRule TLD skipped. URI:
 http://tiles.apache.org/tags-tiles is already defined
 [2015-02-05 08:12:28,883]  INFO - EmbeddedRegistryService Configured
 Registry in 68ms
 [2015-02-05 08:12:28,976]  INFO - EmbeddedRegistryService Connected to
 mount at govregistry in 66ms
 [2015-02-05 08:13:42,880]  INFO - EmbeddedRegistryService Connected to
 mount at govregistry in 399ms
 [2015-02-05 08:13:59,519]  INFO - RegistryCoreServiceComponent Registry
 Mode: READ-WRITE


 --
 -Ratha

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




 --
 Isuru Perera
 Senior Software Engineer | WSO2, Inc. | http://wso2.com/
 Lean . Enterprise . Middleware

 about.me/chrishantha

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




 --

 *Nirodha Gallage*
 Senior Software Engineer, QA.
 WSO2 Inc.: http://wso2.com/
 Mobile: +94716429078

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




-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com http://wso2.com/*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Urgent] [Greg] - Greg 5.0.0 server start up delays for several minutes

2015-01-28 Thread Roshan Wijesena
Hi all,

This issue is fixed now. Please merge the pull request [1]. I have tested
locally with greg latest built seems working fine. Please let us know if
there any issue over this.

[1] https://github.com/wso2/carbon-apimgt/pull/11

Regards
Roshan

On Thu, Jan 22, 2015 at 7:11 PM, Sagara Gunathunga sag...@wso2.com wrote:



 On Sat, Jan 17, 2015 at 9:12 PM, Ruwan Yatawara ruw...@wso2.com wrote:

 Hi All,

 Merged the PR.


 Have you guys test this fix  ?

 I can see this commit[1] and up to date bundles in Nexus [2], but still
 facing same issue during the server start up, can you please look into this
 and treat it as an urgent matter.

 161 INSTALLED   org.wso2.carbon.apimgt.core_4.3.0.SNAPSHOT
 165 INSTALLED   org.wso2.carbon.apimgt.interceptor_4.3.0.SNAPSHOT

 osgi diag 161
 reference:file:../plugins/org.wso2.carbon.apimgt.core_4.3.0.SNAPSHOT.jar
 [161]
   Package uses conflict: Import-Package: org.wso2.carbon.apimgt.impl;
 version=0.0.0
   Package uses conflict: Import-Package:
 org.wso2.carbon.apimgt.impl.utils; version=0.0.0
   Direct constraints which are unresolved:
 Missing optionally imported package org.wso2.carbon.apimgt.core_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.authenticate_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.gateway_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.internal_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.throttle_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.usage_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.throttle.core_4.3.0.SNAPSHOT.


 osgi diag 165
 reference:file:../plugins/org.wso2.carbon.apimgt.interceptor_4.3.0.SNAPSHOT.jar
 [165]
   Package uses conflict: Import-Package: org.wso2.carbon.apimgt.impl.dao;
 version=0.0.0
   Package uses conflict: Import-Package: org.wso2.carbon.apimgt.impl.dto;
 version=0.0.0
   Package uses conflict: Import-Package:
 org.wso2.carbon.apimgt.impl.utils; version=0.0.0
   Direct constraints which are unresolved:
 Missing optionally imported package org.wso2.carbon.apimgt.core_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.authenticate_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.gateway_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.throttle_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.usage_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.interceptor_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.interceptor.handler_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.interceptor.utils_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.interceptor.valve_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.usage.publisher.internal_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.throttle.core_4.3.0.SNAPSHOT.
   Leaf constraints in the dependency chain which are unresolved:

 reference:file:../plugins/org.wso2.carbon.apimgt.core_4.3.0.SNAPSHOT.jar
 [161]
   Missing optionally imported package
 org.wso2.carbon.throttle.core_4.3.0.SNAPSHOT.



 [1] -
 https://github.com/wso2/carbon-apimgt/commit/57cc690a07231cde42e8398aae5b36d404183744

 [2] -
 http://maven.wso2.org/nexus/content/repositories/snapshots/org/wso2/carbon/apimgt/4.3.0-SNAPSHOT/maven-metadata.xml


 Thanks !


 Thanks and Regards,

 Ruwan Yatawara

 Senior Software Engineer,
 WSO2 Inc.

 email : ruw...@wso2.com
 mobile : +94 77 9110413
 blog : http://thoughts.ruwan-ace.com/
 www: :http://wso2.com


 On Sat, Jan 17, 2015 at 4:03 PM, Ruwan Yatawara ruw...@wso2.com wrote:

 Sure. Will merge. Don't have access to a computer atm. Give me a couple
 of hours.

 Regards,
 Ruwan
 On 17 Jan 2015 11:46, Nuwan Dias nuw...@wso2.com wrote:

 @Ruwan, can you have a quick look and merge?

 On Sat, Jan 17, 2015 at 8:47 AM, Roshan Wijesena ros...@wso2.com
 wrote:

 Hi NuwanD,

 Please review and merge
 https://github.com/wso2-dev/carbon-apimgt/pull/16  pull request to
 wso2-dev carbon-apimgt.

 Regards
 Roshan.

 On Sat, Jan 17, 2015 at 12:28 AM, Pulasthi Supun pulas...@wso2.com
 wrote:

 Hi Roshan,

 Could you get someone from the API manager team to review it and
 merge it as soon as possible. the governance lcm stub structure should be
 accurate.

 Best Regards,
 Pulasthi

 On Fri, Jan 16, 2015 at 10:03 PM, Roshan Wijesena ros...@wso2.com
 wrote:

 Hi Pulasthi,

 I have made a pull request for above concern [1] Please have a
 review on it.

 But I am not clear about one thing which is , *The package
 structure does not have stub* could you please clarify  more on
 the same?. Furthermore if below given pull request is wrong would it be
 possible to share a correct service stub repo for us to follow the same
 structure?. However I already  followed

Re: [Dev] carbon-apimgt build fails with a compilation error

2015-01-25 Thread Roshan Wijesena
Hi Ruwan,

Please merge the pull request [1].

[1] https://github.com/wso2-dev/carbon-apimgt/pull/20

regards
Roshan.

On Fri, Jan 23, 2015 at 5:21 PM, Denuwanthi De Silva denuwan...@wso2.com
wrote:

 Hi,

 wso2-dev/carbon-apimgt fails with the following compilation error.

 ---
 [ERROR] COMPILATION ERROR :
 [INFO] -
 [ERROR]
 /home/denuwanthi/G-reg/git-repos/tempapim/carbon-apimgt/components/apimgt/org.wso2.carbon.apimgt.keymgt/src/main/java/org/wso2/carbon/apimgt/keymgt/handlers/ExtendedAuthorizationCodeGrantHandler.java:[34,27]
 unreported exception
 org.wso2.carbon.identity.oauth2.InvalidRefreshTokenException; must be
 caught or declared to be thrown
 [INFO] 1 error




 Thanks,
 --
 Denuwanthi De Silva
 Software Engineer;
 WSO2 Inc.; http://wso2.com,
 Email: denuwan...@wso2.com
 Blog: https://denuwanthi.wordpress.com/

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




-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com http://wso2.com/*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Pull request for wso2-dev/product-apim build failure.

2015-01-25 Thread Roshan Wijesena
Hi Ruwan,

Please merge the pull request [1].

[1] https://github.com/wso2-dev/product-apim/pull/6

Regards
Roshan

-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com http://wso2.com/*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] carbon-apimgt build fails with a compilation error

2015-01-25 Thread Roshan Wijesena
Hi Ruwan,

Please merge this pull request[1] to wso2/carbon-apimgt repo.

[1] https://github.com/wso2/carbon-apimgt/pull/8

Regards
Roshan.

On Mon, Jan 26, 2015 at 11:17 AM, Roshan Wijesena ros...@wso2.com wrote:

 Hi Ruwan,

 Please merge the pull request [1].

 [1] https://github.com/wso2-dev/carbon-apimgt/pull/20

 regards
 Roshan.

 On Fri, Jan 23, 2015 at 5:21 PM, Denuwanthi De Silva denuwan...@wso2.com
 wrote:

 Hi,

 wso2-dev/carbon-apimgt fails with the following compilation error.

 ---
 [ERROR] COMPILATION ERROR :
 [INFO] -
 [ERROR]
 /home/denuwanthi/G-reg/git-repos/tempapim/carbon-apimgt/components/apimgt/org.wso2.carbon.apimgt.keymgt/src/main/java/org/wso2/carbon/apimgt/keymgt/handlers/ExtendedAuthorizationCodeGrantHandler.java:[34,27]
 unreported exception
 org.wso2.carbon.identity.oauth2.InvalidRefreshTokenException; must be
 caught or declared to be thrown
 [INFO] 1 error




 Thanks,
 --
 Denuwanthi De Silva
 Software Engineer;
 WSO2 Inc.; http://wso2.com,
 Email: denuwan...@wso2.com
 Blog: https://denuwanthi.wordpress.com/

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




 --
 Roshan Wijesena.
 Senior Software Engineer-WSO2 Inc.
 Mobile: *+94719154640 %2B94719154640*
 Email: ros...@wso2.com
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.




-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com http://wso2.com/*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Abimaran Kugathasan

2015-01-23 Thread Roshan Wijesena
Congratulations!! Abimaran.

On Sat, Jan 24, 2015 at 12:35 PM, Nuwan Dias nuw...@wso2.com wrote:

 Hi,

 Its with great pleasure we welcome Abimaran Kugathasan as a WSO2
 committer. @Abimaran, congratulations and keep up the good work!

 Thanks,
 NuwanD.

 --
 Nuwan Dias

 Associate Tech Lead - WSO2, Inc. http://wso2.com
 email : nuw...@wso2.com
 Phone : +94 777 775 729

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




-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com http://wso2.com/*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Greg build failure in APIM features installation

2015-01-21 Thread Roshan Wijesena
Hi Nuwan/Ruwan

Please merge the pull request to wso2-dev/apimgt [1].

https://github.com/wso2-dev/carbon-apimgt/pull/19

Hi Chandana,

Please let me know if you still have this issue even after apply these
changes.

Regards
Roshan.

On Wed, Jan 21, 2015 at 10:12 PM, Chandana Napagoda chand...@wso2.com
wrote:

 Hi APIM Team,

 Greg build is failing[1] in the p2 profile generation while installing
 APIM features. Can you please look into these build issue ASAP.

 [1]. https://wso2.org/jenkins/job/product-greg/350/console

 Installation failed.
 Cannot complete the install because one or more required items could not
 be found.
  Software being installed: WSO2 Carbon - Api management Server Interceptor
 Feature 4.3.0.SNAPSHOT (org.wso2.carbon.apimgt.
 interceptor.feature.group 4.3.0.SNAPSHOT)
  Missing requirement: org.wso2.carbon.apimgt.interceptor 4.3.0.SNAPSHOT
 (org.wso2.carbon.apimgt.interceptor 4.3.0.SNAPSHOT) requires 'package
 org.wso2.carbon.core 4.3.0.SNAPSHOT' but it could not be found
  Cannot satisfy dependency:
   From: WSO2 Carbon - Api management Server Interceptor Feature
 4.3.0.SNAPSHOT (org.wso2.carbon.apimgt.interceptor.feature.group
 4.3.0.SNAPSHOT)
   To: org.wso2.carbon.apimgt.interceptor [4.3.0.SNAPSHOT]
 Application failed, log file location: 
 https://wso2.org/jenkins/job/product-greg/ws/.repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1421853249326.log
 

 Regards,
 Chandana

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




-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com http://wso2.com/*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Greg build failure in APIM features installation

2015-01-21 Thread Roshan Wijesena
[Looping Ruwan]

On Thu, Jan 22, 2015 at 11:10 AM, Roshan Wijesena ros...@wso2.com wrote:

 Hi Nuwan/Ruwan

 Please merge the pull request to wso2-dev/apimgt [1].

 https://github.com/wso2-dev/carbon-apimgt/pull/19

 Hi Chandana,

 Please let me know if you still have this issue even after apply these
 changes.

 Regards
 Roshan.

 On Wed, Jan 21, 2015 at 10:12 PM, Chandana Napagoda chand...@wso2.com
 wrote:

 Hi APIM Team,

 Greg build is failing[1] in the p2 profile generation while installing
 APIM features. Can you please look into these build issue ASAP.

 [1]. https://wso2.org/jenkins/job/product-greg/350/console

 Installation failed.
 Cannot complete the install because one or more required items could not
 be found.
  Software being installed: WSO2 Carbon - Api management Server
 Interceptor Feature 4.3.0.SNAPSHOT (org.wso2.carbon.apimgt.
 interceptor.feature.group 4.3.0.SNAPSHOT)
  Missing requirement: org.wso2.carbon.apimgt.interceptor 4.3.0.SNAPSHOT
 (org.wso2.carbon.apimgt.interceptor 4.3.0.SNAPSHOT) requires 'package
 org.wso2.carbon.core 4.3.0.SNAPSHOT' but it could not be found
  Cannot satisfy dependency:
   From: WSO2 Carbon - Api management Server Interceptor Feature
 4.3.0.SNAPSHOT (org.wso2.carbon.apimgt.interceptor.feature.group
 4.3.0.SNAPSHOT)
   To: org.wso2.carbon.apimgt.interceptor [4.3.0.SNAPSHOT]
 Application failed, log file location: 
 https://wso2.org/jenkins/job/product-greg/ws/.repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1421853249326.log
 

 Regards,
 Chandana

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




 --
 Roshan Wijesena.
 Senior Software Engineer-WSO2 Inc.
 Mobile: *+94719154640 %2B94719154640*
 Email: ros...@wso2.com
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.




-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com http://wso2.com/*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Urgent] [Greg] - Greg 5.0.0 server start up delays for several minutes

2015-01-16 Thread Roshan Wijesena
 up quickly,
 but several osgi bundles were not starting properly.

 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




 --
 --
 Pulasthi Supun
 Software Engineer; WSO2 Inc.; http://wso2.com,
 Email: pulas...@wso2.com
 Mobile: +94 (71) 9258281
 Blog : http://pulasthisupun.blogspot.com/
 Git hub profile: https://github.com/pulasthi




-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com http://wso2.com/*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Urgent] [Greg] - Greg 5.0.0 server start up delays for several minutes

2015-01-16 Thread Roshan Wijesena
Hi NuwanD,

Please review and merge https://github.com/wso2-dev/carbon-apimgt/pull/16
pull request to wso2-dev carbon-apimgt.

Regards
Roshan.

On Sat, Jan 17, 2015 at 12:28 AM, Pulasthi Supun pulas...@wso2.com wrote:

 Hi Roshan,

 Could you get someone from the API manager team to review it and merge it
 as soon as possible. the governance lcm stub structure should be accurate.

 Best Regards,
 Pulasthi

 On Fri, Jan 16, 2015 at 10:03 PM, Roshan Wijesena ros...@wso2.com wrote:

 Hi Pulasthi,

 I have made a pull request for above concern [1] Please have a review on
 it.

 But I am not clear about one thing which is , *The package structure
 does not have stub* could you please clarify  more on the same?.
 Furthermore if below given pull request is wrong would it be possible to
 share a correct service stub repo for us to follow the same structure?.
 However I already  followed [2] repo structure to create my  pull request.

 [1] https://github.com/wso2-dev/carbon-apimgt/pull/16
 [2]
 https://github.com/wso2-dev/carbon-governance/tree/master/service-stubs/governance/org.wso2.carbon.governance.lcm.stub

 Thanks.

 Regards
 Roshan.

 On Fri, Jan 16, 2015 at 7:56 PM, Pulasthi Supun pulas...@wso2.com
 wrote:

 Hi APIM team

 After further looking into this with sameera. we found out that the 
 org.wso2.carbon.apimgt.keymgt.stub structure and exports are wrong.
 The package structure does not have stub hence it exports 
 org.wso2.carbon.apimgt.impl.dto.xsd
 which should be org.wso2.carbon.apimgt.stub.impl.dto.xsd.

 And the bundle exports org.wso2.carbon.apimgt.* and this should be
 org.wso2.carbon.apimgt.stub* since this is a stub bundle.

 Can someone from the API Manager team look into this an provide the
 necessary changes as soon as possible since this is blocking the Greg 5.0.0
 M1 release.

 Regards,
 Pulasthi


 On Thu, Jan 15, 2015 at 5:09 PM, Prasanna Dangalla prasa...@wso2.com
 wrote:

 Hi apim team,

 Greg server hangs for several minutes after printing

 JAVA_HOME environment variable is set to
 /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
 CARBON_HOME environment variable is set to
 /Users/prasanna/workspace/wso2/greg/git/prasanna/product-greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT

 We debug in osgi console. Then we found following two apimanager osgi
 bundles were not started.

 161INSTALLED   org.wso2.carbon.apimgt.core_4.3.0.SNAPSHOT
 165INSTALLED   org.wso2.carbon.apimgt.interceptor_4.3.0.SNAPSHOT

 diag 161 and diag 165 describes the following

 osgi diag 161
 reference:file:../plugins/org.wso2.carbon.apimgt.core_4.3.0.SNAPSHOT.jar
 [161]
   Package uses conflict: Import-Package: org.wso2.carbon.apimgt.impl;
 version=0.0.0
   Package uses conflict: Import-Package:
 org.wso2.carbon.apimgt.impl.utils; version=0.0.0
   Direct constraints which are unresolved:
 Missing optionally imported package
 org.wso2.carbon.apimgt.core_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.authenticate_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.gateway_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.internal_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.throttle_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.usage_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.throttle.core_4.3.0.SNAPSHOT.


 osgi diag 165
 reference:file:../plugins/org.wso2.carbon.apimgt.interceptor_4.3.0.SNAPSHOT.jar
 [165]
   Package uses conflict: Import-Package:
 org.wso2.carbon.apimgt.impl.dao; version=0.0.0
   Package uses conflict: Import-Package:
 org.wso2.carbon.apimgt.impl.dto; version=0.0.0
   Package uses conflict: Import-Package:
 org.wso2.carbon.apimgt.impl.utils; version=0.0.0
   Direct constraints which are unresolved:
 Missing optionally imported package
 org.wso2.carbon.apimgt.core_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.authenticate_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.gateway_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.throttle_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.core.usage_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.interceptor_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.interceptor.handler_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.interceptor.utils_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.interceptor.valve_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.apimgt.usage.publisher.internal_0.0.0.
 Missing optionally imported package
 org.wso2.carbon.throttle.core_4.3.0.SNAPSHOT.
   Leaf constraints in the dependency chain which are unresolved:

 reference:file:../plugins/org.wso2.carbon.apimgt.core_4.3.0.SNAPSHOT.jar
 [161

Re: [Dev] [Urgent] Updating carbon-apimgt to use kernel version 4.3.0 instead of 4.3.0-SNAPSHOT

2015-01-13 Thread Roshan Wijesena
Thanks for bring this up and I have fixed it.

Hi NuwanD,

Please merge this pull request  [1] to wso2-dev repo.

[1] https://github.com/wso2-dev/carbon-apimgt/pull/15

Regards
Roshan.



On Tue, Jan 13, 2015 at 3:40 PM, Pulasthi Supun pulas...@wso2.com wrote:

 Hi Roshan,

 We are still getting errors during feature installations.

 Installing org.wso2.carbon.tenant.deployment.feature.group 4.3.0.SNAPSHOT.
 Installation failed.
 Cannot complete the install because one or more required items could not
 be found.
  Software being installed: WSO2 Carbon - API Store Feature 4.3.0.SNAPSHOT
 (org.wso2.carbon.apimgt.store.feature.group 4.3.0.SNAPSHOT)
  Missing requirement: WSO2 Carbon - API Store Feature 4.3.0.SNAPSHOT
 (org.wso2.carbon.apimgt.store.feature.group 4.3.0.SNAPSHOT) requires
 'org.wso2.carbon.core.server.feature.group [4.3.0.SNAPSHOT,4.4.0)' but it
 could not be found
 Application failed, log file location:
 /home/greg/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1421140548600.log

 These also need to be corrected.

 Best Regards,
 Pulasthi

 On Sun, Jan 11, 2015 at 10:59 PM, Pulasthi Supun pulas...@wso2.com
 wrote:

 Hi Nuwan/Ruwan

 Can someone merge this pull ASAP. And btw the build still seems to fail
 under a clean repo build.

 Best Regards,
 Pulasthi

 On Sat, Jan 10, 2015 at 8:12 PM, Roshan Wijesena ros...@wso2.com wrote:

 Thanks Prabath.

 Hi NuwanD,

 I have added more fixes to carbon-apimgt  now we can build carbon-apimgt
 components without any compilation errors.Further I updated corresponded
 carbon versions and added  latest APIM changes also. I have made a pull
 request [1] please merge it to the [2] repo. After that  please send the
 Pull request to [3].


 [1] https://github.com/wso2-dev/carbon-apimgt/pull/14
 [2] https://github.com/wso2-dev/carbon-apimgt
 [3] https://github.com/wso2/carbon-apimgt

 let me know any concerns.

 Regards
 Roshan.


 On Sat, Jan 10, 2015 at 11:38 AM, Prabath Abeysekera praba...@wso2.com
 wrote:

 Hi Everyone,

 Geeth and I had already fixed most of these issues in
 wso2-dev/carbon-apimgt repository. Appreciate if someone who's got access
 sending PRs to wso2/carbon-apimgt, can merge these changes.

 Cheers,
 Prabath

 On Fri, Jan 9, 2015 at 11:07 PM, Pulasthi Supun pulas...@wso2.com
 wrote:

 Hi Roshan,

 We are installing several apim features in our product build. below is
 the list of features we are installing.

 org.wso2.carbon:org.wso2.carbon.apimgt.core.feature
 org.wso2.carbon:org.wso2.carbon.apimgt.interceptor.feature
 org.wso2.carbon:org.wso2.carbon.apimgt.publisher.feature
 org.wso2.carbon:org.wso2.carbon.apimgt.store.feature
 org.wso2.carbon:org.wso2.carbon.apimgt.startup.publisher.feature

 if we can get these features built even locally ( for now ) that would
 be great.

 Best Regards,
 Pulasthi


 On Fri, Jan 9, 2015 at 10:40 PM, Roshan Wijesena ros...@wso2.com
 wrote:

 Hi Pulasthi,

 What are the components you guys have tried to build in Greg product?
 please share the repos if possible. Then I can test it  locally  my self 
 to
 make sure things are working after the fix.

 Regards
 Roshan

 On Fri, Jan 9, 2015 at 9:38 PM, Pulasthi Supun pulas...@wso2.com
 wrote:

 Hi Roshan,

 Great, Thanks.

 Best Regards,
 Pulasthi

 On Fri, Jan 9, 2015 at 8:40 PM, Roshan Wijesena ros...@wso2.com
 wrote:

 Hi All,

 I had a look into this issue. While working on this I have
 encountered multiple compilation errors in carbon-apimgt. I have to fix
 them first. However, I will  update the progress here by tomorrow.

 Regards
 Roshan.



 On Fri, Jan 9, 2015 at 6:35 PM, Nuwan Dias nuw...@wso2.com wrote:

 Adding Roshan. He will look into it.

 Thanks,
 NuwanD.

 On Fri, Jan 9, 2015 at 4:26 PM, Pulasthi Supun pulas...@wso2.com
 wrote:

 Hi All,

 The carbon-apimgt needs to be updated corresponding to the kernel
 release. We are getting the following error when building the Greg 
 product
 and this is a blocker for us. The versions need to be updated.

 
 Installing org.wso2.carbon.tenant.deployment.feature.group
 4.3.0.SNAPSHOT.
 Installation failed.
 Cannot complete the install because one or more required items
 could not be found.
  Software being installed: WSO2 Carbon - Api management Server
 Interceptor Feature 4.3.0.SNAPSHOT
 (org.wso2.carbon.apimgt.interceptor.feature.group 4.3.0.SNAPSHOT)
  Missing requirement: org.wso2.carbon.apimgt.interceptor
 4.3.0.SNAPSHOT (org.wso2.carbon.apimgt.interceptor 4.3.0.SNAPSHOT) 
 requires
 'package org.wso2.carbon.core 4.3.0.SNAPSHOT' but it could not be 
 found
  Cannot satisfy dependency:
   From: WSO2 Carbon - Api management Server Interceptor Feature
 4.3.0.SNAPSHOT (org.wso2.carbon.apimgt.interceptor.feature.group
 4.3.0.SNAPSHOT)
   To: org.wso2.carbon.apimgt.interceptor [4.3.0.SNAPSHOT]
 Application failed, log file location:
 /home/pulasthi/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1420800479886.log

Re: [Dev] [Urgent] Updating carbon-apimgt to use kernel version 4.3.0 instead of 4.3.0-SNAPSHOT

2015-01-10 Thread Roshan Wijesena
Thanks Prabath.

Hi NuwanD,

I have added more fixes to carbon-apimgt  now we can build carbon-apimgt
components without any compilation errors.Further I updated corresponded
carbon versions and added  latest APIM changes also. I have made a pull
request [1] please merge it to the [2] repo. After that  please send the
Pull request to [3].


[1] https://github.com/wso2-dev/carbon-apimgt/pull/14
[2] https://github.com/wso2-dev/carbon-apimgt
[3] https://github.com/wso2/carbon-apimgt

let me know any concerns.

Regards
Roshan.


On Sat, Jan 10, 2015 at 11:38 AM, Prabath Abeysekera praba...@wso2.com
wrote:

 Hi Everyone,

 Geeth and I had already fixed most of these issues in
 wso2-dev/carbon-apimgt repository. Appreciate if someone who's got access
 sending PRs to wso2/carbon-apimgt, can merge these changes.

 Cheers,
 Prabath

 On Fri, Jan 9, 2015 at 11:07 PM, Pulasthi Supun pulas...@wso2.com wrote:

 Hi Roshan,

 We are installing several apim features in our product build. below is
 the list of features we are installing.

 org.wso2.carbon:org.wso2.carbon.apimgt.core.feature
 org.wso2.carbon:org.wso2.carbon.apimgt.interceptor.feature
 org.wso2.carbon:org.wso2.carbon.apimgt.publisher.feature
 org.wso2.carbon:org.wso2.carbon.apimgt.store.feature
 org.wso2.carbon:org.wso2.carbon.apimgt.startup.publisher.feature

 if we can get these features built even locally ( for now ) that would be
 great.

 Best Regards,
 Pulasthi


 On Fri, Jan 9, 2015 at 10:40 PM, Roshan Wijesena ros...@wso2.com wrote:

 Hi Pulasthi,

 What are the components you guys have tried to build in Greg product?
 please share the repos if possible. Then I can test it  locally  my self to
 make sure things are working after the fix.

 Regards
 Roshan

 On Fri, Jan 9, 2015 at 9:38 PM, Pulasthi Supun pulas...@wso2.com
 wrote:

 Hi Roshan,

 Great, Thanks.

 Best Regards,
 Pulasthi

 On Fri, Jan 9, 2015 at 8:40 PM, Roshan Wijesena ros...@wso2.com
 wrote:

 Hi All,

 I had a look into this issue. While working on this I have encountered
 multiple compilation errors in carbon-apimgt. I have to fix them first.
 However, I will  update the progress here by tomorrow.

 Regards
 Roshan.



 On Fri, Jan 9, 2015 at 6:35 PM, Nuwan Dias nuw...@wso2.com wrote:

 Adding Roshan. He will look into it.

 Thanks,
 NuwanD.

 On Fri, Jan 9, 2015 at 4:26 PM, Pulasthi Supun pulas...@wso2.com
 wrote:

 Hi All,

 The carbon-apimgt needs to be updated corresponding to the kernel
 release. We are getting the following error when building the Greg 
 product
 and this is a blocker for us. The versions need to be updated.

 
 Installing org.wso2.carbon.tenant.deployment.feature.group
 4.3.0.SNAPSHOT.
 Installation failed.
 Cannot complete the install because one or more required items could
 not be found.
  Software being installed: WSO2 Carbon - Api management Server
 Interceptor Feature 4.3.0.SNAPSHOT
 (org.wso2.carbon.apimgt.interceptor.feature.group 4.3.0.SNAPSHOT)
  Missing requirement: org.wso2.carbon.apimgt.interceptor
 4.3.0.SNAPSHOT (org.wso2.carbon.apimgt.interceptor 4.3.0.SNAPSHOT) 
 requires
 'package org.wso2.carbon.core 4.3.0.SNAPSHOT' but it could not be found
  Cannot satisfy dependency:
   From: WSO2 Carbon - Api management Server Interceptor Feature
 4.3.0.SNAPSHOT (org.wso2.carbon.apimgt.interceptor.feature.group
 4.3.0.SNAPSHOT)
   To: org.wso2.carbon.apimgt.interceptor [4.3.0.SNAPSHOT]
 Application failed, log file location:
 /home/pulasthi/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1420800479886.log


 Best Regards,
 Pulasthi
 --
 --
 Pulasthi Supun
 Software Engineer; WSO2 Inc.; http://wso2.com,
 Email: pulas...@wso2.com
 Mobile: +94 (71) 9258281
 Blog : http://pulasthisupun.blogspot.com/
 Git hub profile: https://github.com/pulasthi




 --
 Nuwan Dias

 Associate Tech Lead - WSO2, Inc. http://wso2.com
 email : nuw...@wso2.com
 Phone : +94 777 775 729




 --
 Roshan Wijesena.
 Senior Software Engineer-WSO2 Inc.
 Mobile: *+94719154640 %2B94719154640*
 Email: ros...@wso2.com
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.




 --
 --
 Pulasthi Supun
 Software Engineer; WSO2 Inc.; http://wso2.com,
 Email: pulas...@wso2.com
 Mobile: +94 (71) 9258281
 Blog : http://pulasthisupun.blogspot.com/
 Git hub profile: https://github.com/pulasthi




 --
 Roshan Wijesena.
 Senior Software Engineer-WSO2 Inc.
 Mobile: *+94719154640 %2B94719154640*
 Email: ros...@wso2.com
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.




 --
 --
 Pulasthi Supun
 Software Engineer; WSO2 Inc.; http://wso2.com,
 Email: pulas...@wso2.com
 Mobile: +94 (71) 9258281
 Blog : http://pulasthisupun.blogspot.com/
 Git hub profile: https://github.com/pulasthi

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




 --
 Prabath Abeysekara
 Associate Technical Lead, Data TG.
 WSO2 Inc.
 Email: praba...@wso2

  1   2   >