Re: [Dev] VFS Inbound Testing Scenario

2015-04-28 Thread Malaka Silva
Hi Shakila,

You don't need any ELB to check the scenarios for inbound polling
transports. Just create the cluster with ESB nodes and should be able to
proceed.

On Tue, Apr 28, 2015 at 2:45 PM, Shakila Sivagnanarajah shak...@wso2.com
wrote:

 Hi all,

 Due to the problem in configuring cluster with Nginx, Now I am trying to
 configure cluster using WSO2 ELB.

 On Tue, Apr 28, 2015 at 10:03 AM, Shakila Sivagnanarajah shak...@wso2.com
  wrote:

 I am configuring cluster with Nginx ELB. I put svnClientBundle-1.0.0.jar
 http://dist.wso2.org/tools/svnClientBundle-1.0.0.jar and get the
 warning [1].

 [1]
 [2015-04-27 12:04:23,572]  INFO - PermissionUpdater Permission cache
 updated for tenant -1234
 [2015-04-27 12:05:23,581]  WARN - AppDeployerServiceComponent Waiting for
 required OSGi services:
 org.wso2.carbon.application.deployer.synapse.service.SynapseAppDeployerService,org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService,
 [2015-04-27 12:05:23,593]  WARN - StartupFinalizerServiceComponent
 Waiting for required OSGi services:
 org.wso2.carbon.application.deployer.service.CappDeploymentService,org.wso2.carbon.server.admin.common.IServerAdmin,org.wso2.carbon.throttling.agent.ThrottlingAgent,


 After that, I put svn-client-adapter-1.10.5.wso2v1.jar in dropins. Still
 I am getting the same warning [1].


 On Fri, Apr 24, 2015 at 3:57 PM, Shakila Sivagnanarajah shak...@wso2.com
  wrote:

 Hi all,

 I have tested the file transfer with file inbound protocol. For this, I
 referred Synapse Sample 900. Now I am going to test the use case [1].

 [1] Pick up a file in a local directory, send an email with data from
 the file.

 Thank you


 On Fri, Apr 24, 2015 at 12:23 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi Malaka,

 I configured 2 worker nodes. And I set one worker as the known worker
 for the manager. The artifacts mentioned in [1] were created at the given
 SVN location.
 [1]

- axis2modules/

 https://svn.wso2.com/wso2/training/careerlaunch/shakila/test/-1234/axis2modules/
- axis2services/

 https://svn.wso2.com/wso2/training/careerlaunch/shakila/test/-1234/axis2services/
- synapse-configs/

 https://svn.wso2.com/wso2/training/careerlaunch/shakila/test/-1234/synapse-configs/
- webapps/

 https://svn.wso2.com/wso2/training/careerlaunch/shakila/test/-1234/webapps/

 Thank you.

 On Fri, Apr 24, 2015 at 12:13 PM, Malaka Silva mal...@wso2.com wrote:

 Hi Shakira,

 Further Check [1]

 [1] https://wso2.org/jira/browse/BPS-346

 On Fri, Apr 24, 2015 at 11:44 AM, Malaka Silva mal...@wso2.com
 wrote:

 Hi Shakila,

 Is seems like a warning given by dep-sync. However do you get the
 artifacts gets deployed to worker nodes?

 How many worker nodes did you configure?

 On Fri, Apr 24, 2015 at 11:13 AM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi all,

 I am doing the ESB task to test the VFS Inbound.
 I went through some portion of Carbon-Mediation code related to VFS
 and tested VFS file transfer functionality with Smooks mediator (Synapse
 Sample 654) so far.

 From this testing, I got an idea of Smooks mediator and practically
 tested one of the use cases of VFS inbound.

 I have set up ESB worker/manager cluster without ELB. For this I
 referred document [1] and used Ngnix Load Balancer. And I used the ESB 
 pack
 got from [2].

 [1]
 https://docs.google.com/a/wso2.com/document/d/1x80QfnBW09keGVYOi3MLruckXbIVp45vOj9deyF0l5I/edit?usp=sharing

 [2]
 https://svn.wso2.org/repos/wso2/people/ishan/dist/esb/4.9.0/wso2esb-4.9.0-M7.zip

 *Issues:*

- When I start Worker 1, I am getting the exception *Can't find
a svn action for svn output line : Updating 
 'repository/deployment/server'*
see in log [3].

 [3]

 [2015-04-24 10:15:56,155]  INFO - MemberUtils Added member: Host:
 mgt.esb.wso2.com, Remote Host:null, Port: 4100, HTTP:-1, HTTPS:-1,
 Domain: null, Sub-domain:null, Active:true
 [2015-04-24 10:16:04,676]  INFO - HazelcastClusteringAgent Hazelcast
 initialized in 8519ms
 [2015-04-24 10:16:04,696]  INFO - MemberUtils Added member:
 Host:10.100.5.171, Remote Host:null, Port: 4100, HTTP:8281, HTTPS:8244,
 Domain: wso2.esb.domain, Sub-domain:__$default, Active:true
 [2015-04-24 10:16:04,696]  INFO - HazelcastClusteringAgent Local
 member: [d795d8a2-f6da-491a-ad5f-fe2cfa82f950] - Host:10.100.5.171, 
 Remote
 Host:null, Port: 4200, HTTP:8282, HTTPS:8245, Domain: wso2.esb.domain,
 Sub-domain:null, Active:true
 [2015-04-24 10:16:04,704]  INFO - MemberUtils Added member:
 Host:10.100.5.171, Remote Host:null, Port: 4200, HTTP:8282, HTTPS:8245,
 Domain: wso2.esb.domain, Sub-domain:__$default, Active:true
 [2015-04-24 10:16:04,960]  INFO - HazelcastClusteringAgent Cluster
 initialization completed
 [2015-04-24 10:16:04,968]  INFO - NioSelectorPool Using a shared
 selector for servlet write/read
 [2015-04-24 10:16:05,400]  INFO - NioSelectorPool Using a shared
 selector for servlet write/read
 [2015-04-24 10:16:05,470]  INFO - 

Re: [Dev] Please review and Merge the PR

2015-04-28 Thread Lakmali Baminiwatta
On 28 April 2015 at 16:52, Chamalee De Silva chama...@wso2.com wrote:

 Hi,

 This is the Fix [1] for the Public JIRA [2].

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

 Changes merged. Thanks.

  $subject.

 --

 Chamalee De Silva

 Software Engineer | WSO2

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




-- 
Lakmali Baminiwatta
 Senior Software Engineer
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware
mobile:  +94 71 2335936
blog : lakmali.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB] JMS Inbound Testing Scenario

2015-04-28 Thread Vanii Thiyagarajah
Hi all,

I have started to test the JMS use cases and I am  trying to fix the issue
in sample 901.

On Tue, Apr 28, 2015 at 10:29 AM, Vanii Thiyagarajah va...@wso2.com wrote:

 Hi Vanji,

 I have configured  jndi.properties as mentioned in the [1] doc
 [1] http://activemq.apache.org/jndi-support.html
  I got the same error log.

 On Tue, Apr 28, 2015 at 10:15 AM, Vanii Thiyagarajah va...@wso2.com
 wrote:

 Hi Malaka,

 I am trying to connect with ActiveMQ.

 On Tue, Apr 28, 2015 at 10:13 AM, Malaka Silva mal...@wso2.com wrote:

 Hi vanii,

 Also are you trying to connect to ActiveMQ or WSO2MB here?

 On Tue, Apr 28, 2015 at 10:08 AM, Vanjikumaran Sivajothy va...@wso2.com
  wrote:

 Hi vanii,

 Can you please double check the jndi.properties for your right
 configuration ?

 On Tue, Apr 28, 2015 at 10:05 AM, Vanii Thiyagarajah va...@wso2.com
 wrote:

 I am doing Inbound Endpoint JMS Protocol Sample. I got the following
 error. I have done the all configurations as mentioned in the doc [1].
 Could you please give me any suggestions on this?



 https://docs.wso2.com/display/ESB490/Sample+901%3A+Inbound+Endpoint+JMS+Protocol+Sample

  ERROR - JMSConnectionFactoryManager Error setting up connection
 factory : myTopicConnectionFactory
 org.apache.axis2.transport.jms.AxisJMSException: Cannot acquire JNDI
 context, JMS Connection factory : TopicConnectionFactory or default
 destination : null for JMS CF : myTopicConnectionFactory using :
 {java.naming.provider.url=repository/conf/jndi.properties,
 java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory,
 transport.jms.ConnectionFactoryType=topic,
 transport.jms.ConnectionFactoryJNDIName=TopicConnectionFactory}
 at
 org.apache.axis2.transport.jms.JMSConnectionFactory.init(JMSConnectionFactory.java:102)
 at
 org.apache.axis2.transport.jms.JMSConnectionFactoryManager.loadConnectionFactoryDefinitions(JMSConnectionFactoryManager.java:58)
 at
 org.apache.axis2.transport.jms.JMSConnectionFactoryManager.init(JMSConnectionFactoryManager.java:45)
 at
 org.apache.axis2.transport.jms.JMSListener.doInit(JMSListener.java:65)
 at
 org.apache.axis2.transport.base.AbstractTransportListenerEx.init(AbstractTransportListenerEx.java:62)
 at
 org.apache.axis2.engine.ListenerManager.init(ListenerManager.java:84)
 at
 org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:411)
 at
 org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
 at
 org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:88)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
 at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
 at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
 org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
 at
 org.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81)
 at
 org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60)
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40)
 at
 org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38)
 at
 org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1279)
 at
 

Re: [Dev] Error when creating Users and Roles in Management Console.

2015-04-28 Thread Lasantha Fernando
[Reopening thread to discuss whether disabling STRICT_QUOTE_PARSING is the
correct approach]

Hi Hemika, all,

A similar issue has been reported in [1] and we also fixed this by
introducing disabling strict quote parsing for JSP. However, is this the
correct fix or just a temporary workaround? According to [2] this is a
temporary workaround. The correct fix would be to escape quotes within
quote properly (the reasons for tomcat version upgrade is discussed in [3]
and related threads).

I think the better fix would be to correct the JSP compliance issues in the
pages pointed by Hemika above and keep away from allowing our code to
become spec incompliant further. i.e. as soon as we introduce this
parameter, we are allowing developers to write code that is not compliant
with the JSP spec.

Since there doesn't seem to be many places where this issue exists, it will
be easier to fix now. However, if we disable strict quote parsing, more
issues of similar type might be introduced and it will become harder to fix
when we eventually decide to fix this. So wouldn't it be better to fix this
properly now without disabling the compliance checks? WDYT?

[1] https://wso2.org/jira/browse/CEP-1101
[2] https://wso2.org/jira/browse/CARBON-14755
[3] https://wso2.org/jira/browse/WSAS-1687

Thanks,
Lasantha


On 22 December 2014 at 13:59, Nirmal Fernando nir...@wso2.com wrote:

 [Adding Ramith and Hasitha]

 On Mon, Dec 22, 2014 at 1:50 PM, Hemika Kodikara hem...@wso2.com wrote:

 Was able to fix it using the following env variable.

 -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false

 Regards,
 Hemika

 Hemika Kodikara
 Software Engineer
 WSO2 Inc.
 lean . enterprise . middleware
 http://wso2.com

 Mobile : +9477762

 On Fri, Dec 19, 2014 at 6:57 PM, Hemika Kodikara hem...@wso2.com wrote:

 Hi All,

 Faced the following error when creating a role in MB 3.0.0.

 Steps in Management Console:
 Users and Roles-Roles-Add New Role.
 Give a name to the role.
 Select Next.
 Select Necessary permissions.
 Select Next.

 Note : This also occurs in the following pages.
 carbon/role/add-step3.jsp
 carbon/user/add-step2.jsp
 carbon/user/edit-user-roles.jsp?username=testUserdisPlayName=testUser
 (When assigning roles to an existing user.)

  The Error 

 Dec 19, 2014 6:53:01 PM org.apache.catalina.core.ApplicationDispatcher
 invoke
 SEVERE: Servlet.service() for servlet bridgeservlet threw exception
 org.apache.jasper.JasperException: /role/add-step3.jsp (line: 248,
 column: 49) Attribute value roleName=+roleName is quoted with  which
 must be escaped when used within the value
 at
 org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42)
 at
 org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:443)
 at
 org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:89)
 at org.apache.jasper.compiler.Parser.parseAttributeValue(Parser.java:280)
 at org.apache.jasper.compiler.Parser.parseAttribute(Parser.java:229)
 at org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:162)
 at org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:153)
 at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1236)
 at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1452)
 at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1664)
 at org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1002)
 at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1274)
 at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1452)
 at org.apache.jasper.compiler.Parser.parse(Parser.java:138)
 at
 org.apache.jasper.compiler.ParserController.doParse(ParserController.java:242)
 at
 org.apache.jasper.compiler.ParserController.parse(ParserController.java:102)
 at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:198)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:373)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)
 at
 org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:657)
 at
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
 at
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
 at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 at
 org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
 at
 org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
 at
 

Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Dan Martin
unsubscribe

On Mon, Apr 27, 2015 at 11:57 PM, Dimuthu Leelarathne dimut...@wso2.com
wrote:

 Hi all,

 It is with great pleasure that WSO2 welcomes Mahesh Chinthaka as WSO2
 committer!

 Thank you for your hard work. Congratulation!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

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


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


Re: [Dev] What happens if the client-end connection is closed when an Axis2 service request sends the response back

2015-04-28 Thread Kishanthan Thangarajah
This is not a axis2 level concern, rather this is at transport level. Even
though the error is not visible in the console level, it may be at a
different logging level (DEBUG or FINE). We need to check this at tomcat
logging level (may be change the logging level to debug) and see whether we
see the broken pipe error.

On Tue, Apr 28, 2015 at 2:44 PM, Amal Gunatilake am...@wso2.com wrote:

 Hi Sagara,

 The following concern was identified during a customer query.
 Any feedback is much appreciated.

 Best regards,
 Amal.

 On Thu, Apr 23, 2015 at 10:27 AM, Amal Gunatilake am...@wso2.com wrote:

 Hi Guys,

 Appreciate any thoughts on the above matter. :)

 Best regards,
 Amal.

 On Tue, Apr 21, 2015 at 4:01 PM, Amal Gunatilake am...@wso2.com wrote:

 Hi Sameera and Team,

 I wrote a simple Axis2 sample with a 10 seconds delay in between the
 message receive and response. Then I invoke the service using SoapUI and
 before (in-between 10s delay) sending the response, I terminate the
 connection. When the server reply back with the response, it's unable to
 write the message and therefore theoretically it should throw an exception,
 but there's no error logged in the server end.

 The requirement is, since Axis2 is HTTP transport there has to be an ACK
 for each and every receive and response and if something goes wrong with
 the connection when writing the response there has to be an exception
 thrown. This is mainly to identify the difference between a response that
 has been written successfully and a response that was unable to write due
 to broken pipe.

 Please advice me whether this is already implemented in the carbon code
 base and if not how can we achieve this requirement in Axsi2?

 Kind regards,

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




 --
 Kind regards,

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




 --
 Kind regards,

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




-- 
*Kishanthan Thangarajah*
Associate Technical Lead,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com*
Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Malithi Edirisinghe
Congrats ... :)

On Tue, Apr 28, 2015 at 1:59 PM, Dinithi De Silva dinit...@wso2.com wrote:

 Congratulations Mahesh.!!!

 On Tue, Apr 28, 2015 at 1:19 PM, Sajith Abeywardhana saji...@wso2.com
 wrote:

 Congratulations !!!

 *Sajith Abeywardhana* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka.
 Mobile: +94772260485
 Email: saji...@wso2.com mahe...@wso2.com | Web: www.wso2.com

 On Tue, Apr 28, 2015 at 12:49 PM, Damith Wickramasinghe dami...@wso2.com
  wrote:

 Congrats Mahesh... 

 On Tue, Apr 28, 2015 at 12:34 PM, Milan Perera mi...@wso2.com wrote:

 Congratz Mahesh..!!!

 On Tue, Apr 28, 2015 at 11:43 AM, Prasanna Dangalla prasa...@wso2.com
 wrote:

 Congratulations Mahesh..

 On Tue, Apr 28, 2015 at 11:42 AM, Chathura Priyankara 
 chathu...@wso2.com wrote:

 Congratulations Mahesh !!!

 On Tue, Apr 28, 2015 at 11:17 AM, Thusitha Thilina Dayaratne 
 thusit...@wso2.com wrote:

 Congratulations..!!

 On Tue, Apr 28, 2015 at 11:15 AM, Chamalee De Silva 
 chama...@wso2.com wrote:

 Congratulations Mahesh !

 On Tue, Apr 28, 2015 at 11:13 AM, Dilan Udara Ariyaratne 
 dil...@wso2.com wrote:

 Congratz, Mahesh!!!


 *Dilan U. Ariyaratne*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 Mobile: +94775149066
 lean . enterprise . middleware

 On Tue, Apr 28, 2015 at 10:40 AM, Samith Dassanayake 
 sam...@wso2.com wrote:

 Congratz Mahesh!

 On Tue, Apr 28, 2015 at 10:28 AM, Kalpa Welivitigoda 
 kal...@wso2.com wrote:

 Congratulations Mahesh !

 On Tue, Apr 28, 2015 at 10:28 AM, Tharik Kanaka tha...@wso2.com
  wrote:

 Congratulations Mahesh.

 On Tue, Apr 28, 2015 at 9:27 AM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

 Hi all,

 It is with great pleasure that WSO2 welcomes Mahesh Chinthaka
 as WSO2 committer!

 Thank you for your hard work. Congratulation!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

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




 --

 *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




 --
 Best Regards,

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

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




 --
 Best Regards

 Samith Dassanayake
 Software Engineer | Cloud TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +947 76207351

 ___
 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




 --

 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




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




 --
 Chathura Priyankara
 Software Engineer | WSO2 Inc.
 Mobile : +94718795340
 Blog : www.codeoncloud.blogspot.com

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




 --
 Prasanna Dangalla
 Software Engineer, WSO2, Inc.; http://wso2.com/
 lean.enterprise.middleware

 cell: +94 777 55 80 30 | +94 718 11 27 51
 twitter: @prasa77

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




 --
 Milan Harindu Perera
 Software Engineer
 *WSO2, Inc*
 (+94) 77 309 7088
 lean . enterprise . middleware
 http://lk.linkedin.com/in/milanharinduperera

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




 --
 Software Engineer
 WSO2 Inc.; http://wso2.com
 http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg
 lean.enterprise.middleware

 mobile: *+94728671315 %2B94728671315*


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



 ___
 Dev mailing list
 

Re: [Dev] WSO2 Committers += Vinuri Perera

2015-04-28 Thread Malithi Edirisinghe
Congratz ... :)

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

 Congratz Vinuri :)


 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

 On Mon, Apr 27, 2015 at 2:19 PM, Amila Maha Arachchi ami...@wso2.com
 wrote:

 Hi all,

 Its my pleasure to welcome Vinuri Perera as a WSO2 Committer. Vinuri is a
 member of WSO2 Cloud team and she has done a great contribution to WSO2
 Cloud and has shown great enthusiasm in her work both in development and
 other cloud related work. In recognition of her contribution, she has been
 voted as a WSO2 Committer.

 Vinuri, welcome aboard and keep up the good work..

 Regards,
 Amila.

 --
 *Amila Maharachchi*
 Senior Technical Lead
 WSO2, Inc.; http://wso2.com

 Blog: http://maharachchi.blogspot.com
 Mobile: +94719371446


 ___
 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




-- 

*Malithi Edirisinghe*
Senior Software Engineer
WSO2 Inc.

Mobile : +94 (0) 718176807
malit...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Sajith Abeywardhana
Congratulations !!!

*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com mahe...@wso2.com | Web: www.wso2.com

On Tue, Apr 28, 2015 at 4:22 PM, Malithi Edirisinghe malit...@wso2.com
wrote:

 Congrats ... :)

 On Tue, Apr 28, 2015 at 1:59 PM, Dinithi De Silva dinit...@wso2.com
 wrote:

 Congratulations Mahesh.!!!

 On Tue, Apr 28, 2015 at 1:19 PM, Sajith Abeywardhana saji...@wso2.com
 wrote:

 Congratulations !!!

 *Sajith Abeywardhana* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka.
 Mobile: +94772260485
 Email: saji...@wso2.com mahe...@wso2.com | Web: www.wso2.com

 On Tue, Apr 28, 2015 at 12:49 PM, Damith Wickramasinghe 
 dami...@wso2.com wrote:

 Congrats Mahesh... 

 On Tue, Apr 28, 2015 at 12:34 PM, Milan Perera mi...@wso2.com wrote:

 Congratz Mahesh..!!!

 On Tue, Apr 28, 2015 at 11:43 AM, Prasanna Dangalla prasa...@wso2.com
  wrote:

 Congratulations Mahesh..

 On Tue, Apr 28, 2015 at 11:42 AM, Chathura Priyankara 
 chathu...@wso2.com wrote:

 Congratulations Mahesh !!!

 On Tue, Apr 28, 2015 at 11:17 AM, Thusitha Thilina Dayaratne 
 thusit...@wso2.com wrote:

 Congratulations..!!

 On Tue, Apr 28, 2015 at 11:15 AM, Chamalee De Silva 
 chama...@wso2.com wrote:

 Congratulations Mahesh !

 On Tue, Apr 28, 2015 at 11:13 AM, Dilan Udara Ariyaratne 
 dil...@wso2.com wrote:

 Congratz, Mahesh!!!


 *Dilan U. Ariyaratne*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 Mobile: +94775149066
 lean . enterprise . middleware

 On Tue, Apr 28, 2015 at 10:40 AM, Samith Dassanayake 
 sam...@wso2.com wrote:

 Congratz Mahesh!

 On Tue, Apr 28, 2015 at 10:28 AM, Kalpa Welivitigoda 
 kal...@wso2.com wrote:

 Congratulations Mahesh !

 On Tue, Apr 28, 2015 at 10:28 AM, Tharik Kanaka 
 tha...@wso2.com wrote:

 Congratulations Mahesh.

 On Tue, Apr 28, 2015 at 9:27 AM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

 Hi all,

 It is with great pleasure that WSO2 welcomes Mahesh Chinthaka
 as WSO2 committer!

 Thank you for your hard work. Congratulation!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

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




 --

 *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




 --
 Best Regards,

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

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




 --
 Best Regards

 Samith Dassanayake
 Software Engineer | Cloud TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +947 76207351

 ___
 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




 --

 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




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




 --
 Chathura Priyankara
 Software Engineer | WSO2 Inc.
 Mobile : +94718795340
 Blog : www.codeoncloud.blogspot.com

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




 --
 Prasanna Dangalla
 Software Engineer, WSO2, Inc.; http://wso2.com/
 lean.enterprise.middleware

 cell: +94 777 55 80 30 | +94 718 11 27 51
 twitter: @prasa77

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




 --
 Milan Harindu Perera
 Software Engineer
 *WSO2, Inc*
 (+94) 77 309 7088
 lean . enterprise . middleware
 http://lk.linkedin.com/in/milanharinduperera

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




 --
 Software Engineer
 WSO2 Inc.; http://wso2.com
 

[Dev] WSO2 DAS v3.0 M5 Released!

2015-04-28 Thread Gihan Anuruddha
Hi,

The WSO2 DAS team is pleased to announce the fifth milestone release of
WSO2 DAS v3.0. The distribution is available at [1]. The release includes
the following new features, improvements, and tasks.

*Improvement*

   - [BAM-1995 https://wso2.org/jira/browse/BAM-1995] - Adding facet
   search for message console
   - [BAM-1999 https://wso2.org/jira/browse/BAM-1999] - Expose Analytics
   APIs as JavaScript APIs for External webapps


*New Feature*

   - [BAM-1996 https://wso2.org/jira/browse/BAM-1996] - Data Backup and
   Restore Tool
   - [BAM-1969 https://wso2.org/jira/browse/BAM-1969] - Feature Rich
   Dashboard Support


*Task*

   - [BAM-1997 https://wso2.org/jira/browse/BAM-1997] - Adding analytics
   schema Capp deployer
   - [BAM-1998 https://wso2.org/jira/browse/BAM-1998] - Moving
   carbon-analytics and product-das to Carbon kernal 4.4.0


The documentation for DAS v3.0 can be found at [2]. Your feedback is most
welcome, and any issues can be reported to the project at [3].

[1]
https://svn.wso2.org/repos/wso2/people/sinthuja/DAS3.0/M5/wso2das-3.0.0-SNAPSHOT.zip
https://www.google.com/url?q=https%3A%2F%2Fsvn.wso2.org%2Frepos%2Fwso2%2Fpeople%2Fsinthuja%2FDAS3.0%2FM5%2Fwso2das-3.0.0-SNAPSHOT.zipsa=Dsntz=1usg=AFQjCNF32R5hJmbBWEBwY4e7c7T6xg0ztw
[2]
https://docs.wso2.com/display/DAS300/WSO2+Data+Analytics+Server+Documentation
[3] https://wso2.org/jira/browse/BAM


- WSO2 DAS Team.

-- 
W.G. Gihan Anuruddha
Senior Software Engineer | WSO2, Inc.
M: +9477227259
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ES] [GReg] Please review and merge changes

2015-04-28 Thread Dakshika Jayathilaka
Hi,

Is there any specific reason to use* success-MsgDiv*  *error-MsgDiv*
 classes instead of bootstrap alert classes. ?

Regards,

*Dakshika Jayathilaka*
PMC Member  Committer of Apache Stratos
Senior Software Engineer
WSO2, Inc.
lean.enterprise.middleware
0771100911

On Tue, Apr 28, 2015 at 3:11 PM, Thusitha Kalugamage thusi...@wso2.com
wrote:

 Hi Team,

 UX changes to ES end has completed

- Login drop down defect fix
- WADL/WSDL/Policy/Schema/Soap Service forms styling
- Accordion icon state change
- No result, error, success message styles
- Text box focus colour change defect fix
- Action buttons styling
- Space distribution fix for forms and accordion tabs

 please find the PR [1]
 [1] https://github.com/wso2/carbon-store/pull/23
 https://github.com/wso2/carbon-store/pull/23


 Thanks!
 --
 Thusitha Kalugamage
 *Software Engineer*
 Mobile : +94 (0) 774 074370
 Tel   : +94 (0) 112 145 345
 thusi...@wso2.com

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


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


Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Roshan Deniyage
Congrats Mahesh

Roshan Deniyage
Associate Technical Lead
WSO2, Inc: http://wso2.com

Mobile:  +94 777636406 / +1 408 667 6254
Twitter:  *https://twitter.com/roshku https://twitter.com/roshku*
LinkedIn :  https://www.linkedin.com/in/roshandeniyage


On Tue, Apr 28, 2015 at 12:58 PM, Lasitha Wattaladeniya lasit...@wso2.com
wrote:

 Congratulations Mahesh !

 On Tue, Apr 28, 2015 at 10:18 PM, Kasun De Silva kas...@wso2.com wrote:

 Congrats Mahesh!!

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


 On Tue, Apr 28, 2015 at 7:59 AM, Harsha Thirimanna - WSO2, Inc. 
 hars...@wso2.com wrote:

 Congrats Mahesh !!
 On Apr 28, 2015 7:30 PM, Dan Martin dpm.myw...@gmail.com wrote:

 unsubscribe

 On Mon, Apr 27, 2015 at 11:57 PM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

 Hi all,

 It is with great pleasure that WSO2 welcomes Mahesh Chinthaka as WSO2
 committer!

 Thank you for your hard work. Congratulation!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

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



 ___
 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




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


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


[Dev] [App Factory] How to execute init methods only once in integration tests base class

2015-04-28 Thread Punnadi Gunarathna
Hi All,

Currently initWithTenantCreation method in AppFactoryIntegrationTest
class [1] is being called from all the test cases via their
setEnvironment method [2].
initWithTenantCreation method is used to populate tenant, default
application. Is it possible to execute this type of methods once for all
the test cases, rather than calling them for each test case separately.
Please advice.

[1]
https://github.com/wso2/product-af/blob/master/modules/integration/integration-test-utils/src/main/java/org/wso2/appfactory/integration/test/utils/AppFactoryIntegrationTest.java
[2]
https://github.com/wso2/product-af/tree/master/modules/integration/tests-integration/tests-scenarios/src/test/java/org/wso2/appfactory/tests/scenarios
-- 
Thanks and Regards,

Punnadi Gunarathna
Senior Software Engineer,
WSO2, Inc.; http://wso2.com http://wso2
Blog: http://hi-my-world.blogspot.com/
Tel : 94 11 214 5345
Fax :94 11 2145300



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


Re: [Dev] [App Factory] How to execute init methods only once in integration tests base class

2015-04-28 Thread Saneth Dharmakeerthi
HI Punnadi,

Yes you can, If you need to call initWithTenantCreation() only once for set
of test case. put it in side @BeforeTest method,
Create a separate test case with @BeforeTest method and implement the logic
that you need to call once for set of test cases. You can refer a sample
implementation of @BeforeTest in[1].

After that  group the test cases inside a one test instance in testng.xml

test name=[test name] preserve-order=true parallel=false
classes
class name=[Test case with @BeforeTest ]/
class name=[Testcase1]/
 class name=[Testcase2]/
/classes
/test

If all the test cases are in same package, you can use packagespackage
name=/packages  instead of   classes/classes.


[1]
https://github.com/wso2/product-apim/blob/master/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/api/lifecycle/APIManagerConfigurationChangeTest.java
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [App Factory] How to execute init methods only once in integration tests base class

2015-04-28 Thread Nuwan Wimalasekara
Hi Punnadi,
You can use @BeforTest annotation to execute a method only one time for a
test package. if you need to execute this method one time for all the test
classes in particular test module, You can write a extension class and
configure it in automation.xml to execute before test execution.

https://docs.wso2.com/display/TA430/TestNG+Listeners

Thanks,
Nuwanw

On Tue, Apr 28, 2015 at 4:47 PM, Punnadi Gunarathna punn...@wso2.com
wrote:

 Hi All,

 Currently initWithTenantCreation method in AppFactoryIntegrationTest
 class [1] is being called from all the test cases via their
 setEnvironment method [2].
 initWithTenantCreation method is used to populate tenant, default
 application. Is it possible to execute this type of methods once for all
 the test cases, rather than calling them for each test case separately.
 Please advice.

 [1]
 https://github.com/wso2/product-af/blob/master/modules/integration/integration-test-utils/src/main/java/org/wso2/appfactory/integration/test/utils/AppFactoryIntegrationTest.java
 [2]
 https://github.com/wso2/product-af/tree/master/modules/integration/tests-integration/tests-scenarios/src/test/java/org/wso2/appfactory/tests/scenarios
 --
 Thanks and Regards,

 Punnadi Gunarathna
 Senior Software Engineer,
 WSO2, Inc.; http://wso2.com http://wso2
 Blog: http://hi-my-world.blogspot.com/
 Tel : 94 11 214 5345
 Fax :94 11 2145300



  http://lalajisureshika.blogspot.com/




-- 
Nuwan Wimalasekara
Senior Software Engineer - Test Automation
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

phone: +94 71 668 4620
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Rest API used by Dev Studio

2015-04-28 Thread Dimuthu Leelarathne
Hi all,

Could we have a list of methods used by the dev studio?

Please note the following methods are proposed to be removed from the code.

checkSystemStatus

newKey

getUniqueAppVersions

initAppVersion

containsApplication

getAppCountInStage

getApplicationsOfUser

getAllAppVersionsInStage

getAppVersionsInStage

getAllAppVersionsInStages

getAppVersionsInStagesWithMetaData

getMetaDataForAppVersion

getRetiredVersions

getLatestBuildSuccessInfo

getBuildableStages


thanks,

dimuthu



-- 
Dimuthu Leelarathne
Architect  Product Lead of App Factory

WSO2, Inc. (http://wso2.com)
email: dimut...@wso2.com
Mobile : 0773661935

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


Re: [Dev] [ESB] Building the ESB product from the source

2015-04-28 Thread Chanaka Sampath Cooray
Hi,

Adding 1.5.4 as the version solved the problem.

Thanks everyone.

On Tue, Apr 28, 2015 at 2:57 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 To set the p2 plugin version to 1.5.4, if the version not defined in the
 p2 pom you need to define the version.
 plugin
 groupIdorg.wso2.maven/groupId
 artifactIdcarbon-p2-plugin/artifactId
 *version${carbon.p2.plugin.version}/version*



 On Tue, Apr 28, 2015 at 11:59 AM, Isuru Ranawaka isu...@wso2.com wrote:

 Hi all,

 After after changing p2-plugin version to 1.5.4 above mentioned error
 will be fixed but there will be still build breaks if builds in clean repo.
 Because current develop branch refers to old jars and those are got
 removed . So we need to update to newer versions and for that we need to
 wait until carbon-governance is released.

 thanks

 On Tue, Apr 28, 2015 at 11:16 AM, KasunG Gajasinghe kas...@wso2.com
 wrote:

 Hi,


 On Tue, Apr 28, 2015 at 11:04 AM, Isuru Ranawaka isu...@wso2.com
 wrote:

 Hi KasunG,

 After changing  p2-plugin version for 1.5.4  it works

 On Tue, Apr 28, 2015 at 10:51 AM, Kasun Indrasiri ka...@wso2.com
 wrote:

 Isn't this a bug in latest p2 plugin ?


 It looks like it. Please stick to the 1.5.4 version for your build. We
 will fix the issue in 1.5.5, and do a release.

 @Chanaka/Isuru, can you file a bug in jira?

 Thanks.


 On Tue, Apr 28, 2015 at 10:47 AM, Manoj Kumara ma...@wso2.com wrote:

 [Adding ESB team]


 *Manoj Kumara*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94713448188

 On Tue, Apr 28, 2015 at 10:43 AM, Thusitha Thilina Dayaratne 
 thusit...@wso2.com wrote:

 Hi Chanaka,

 Check the p2-plugin version in the p2-profile module in the ESB.
 There you can find segment like

 plugin

groupIdorg.wso2.maven/groupId

artifactIdcarbon-p2-plugin/artifactId

version${carbon.p2.plugin.version}/version

 check the version there

 Thanks

 On Tue, Apr 28, 2015 at 10:36 AM, Chanaka Sampath Cooray 
 chanakasampat...@gmail.com wrote:

 Hi Kasun,

 I tried with maven 3.0.5 and got the same error, how do I change
 the version of the p2 plugin?

 Thanks

 On Tue, Apr 28, 2015 at 10:31 AM, Kasun Gajasinghe kas...@wso2.com
  wrote:


 Can you guys build with maven 3.0.x, and update the status as
 Manoj mentioned?

 This may have occurred due to a latest p2 plugin release. If the
 above doesn't work, set the p2 plugin version as 1.5.4, and build the
 product.

 Thanks.

 On Apr 28, 2015, at 10:26 AM, Firzhan Naqash firz...@wso2.com
 wrote:

 Hi Chanaka,

 The same error has also been observed in IS. I am not sure whether
 this error occurs due to change in p2 plugin.

 I am adding kasung.

 Regards,
 Firzhan

 On Mon, Apr 27, 2015 at 11:48 PM, Chanaka Sampath Cooray 
 chanakasampat...@gmail.com wrote:

 Ok I will try maven 3.0.x and let you know the results.

 Thanks.

 On Tue, Apr 28, 2015 at 10:13 AM, Manoj Kumara ma...@wso2.com
 wrote:

 Did you tried with maven 3.0.x


 *Manoj Kumara*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94713448188

 On Tue, Apr 28, 2015 at 10:10 AM, Chanaka Sampath Cooray 
 chanakasampat...@gmail.com wrote:

 Hi Manoj,

 I used the repo [1] and the master branch of that and I also
 checked with the M6 and M7 releases as well, None of them did not 
 work for
 me.

 [1] https://github.com/wso2/product-esb

 Regards,
 Chanaka

 On Tue, Apr 28, 2015 at 10:04 AM, Manoj Kumara ma...@wso2.com
 wrote:

 Hi Chanaka,

 What is the branch you are using. For turing branch you need
 to use Maven 3.0.x to build the source.

 Regards,
 Manoj


 *Manoj Kumara*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94713448188

 On Tue, Apr 28, 2015 at 8:16 AM, Chanaka Sampath Cooray 
 chanakasampat...@gmail.com wrote:

 Hi all,

 I tried to build the esb product from the source. I got the
 following error when I tried to do that. I built using jdk 1.6 
 and maven
 3.2.5 and I am using mac osx. Is there anything I have missed?

 [ERROR] Failed to execute goal
 org.wso2.maven:carbon-p2-plugin:1.5.5:p2-repo-gen 
 (2-p2-repo-generation) on
 project wso2esb-p2-profile: Execution 2-p2-repo-generation of 
 goal
 org.wso2.maven:carbon-p2-plugin:1.5.5:p2-repo-gen failed: An API
 incompatibility was encountered while executing
 org.wso2.maven:carbon-p2-plugin:1.5.5:p2-repo-gen:
 java.lang.NoSuchMethodError:
 org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(Lorg/codehaus/plexus/util/cli/Commandline;Lorg/codehaus/plexus/util/cli/StreamConsumer;Lorg/codehaus/plexus/util/cli/StreamConsumer;I)I

 [ERROR] -

 [ERROR] realm =
 pluginorg.wso2.maven:carbon-p2-plugin:1.5.5

 [ERROR] strategy =
 org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy

 [ERROR] urls[0] =
 file:/Users/bcchanaka/.m2/repository/org/wso2/maven/carbon-p2-plugin/1.5.5/carbon-p2-plugin-1.5.5.jar

 

Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Pirinthapan Mahendran
Congrats Mahesh !!




Mahendran Pirinthapan
Software Engineer | WSO2 Inc.
Mobile +94772378732.

On Tue, Apr 28, 2015 at 4:32 PM, Sajith Abeywardhana saji...@wso2.com
wrote:

 Congratulations !!!

 *Sajith Abeywardhana* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka.
 Mobile: +94772260485
 Email: saji...@wso2.com mahe...@wso2.com | Web: www.wso2.com

 On Tue, Apr 28, 2015 at 4:22 PM, Malithi Edirisinghe malit...@wso2.com
 wrote:

 Congrats ... :)

 On Tue, Apr 28, 2015 at 1:59 PM, Dinithi De Silva dinit...@wso2.com
 wrote:

 Congratulations Mahesh.!!!

 On Tue, Apr 28, 2015 at 1:19 PM, Sajith Abeywardhana saji...@wso2.com
 wrote:

 Congratulations !!!

 *Sajith Abeywardhana* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka.
 Mobile: +94772260485
 Email: saji...@wso2.com mahe...@wso2.com | Web: www.wso2.com

 On Tue, Apr 28, 2015 at 12:49 PM, Damith Wickramasinghe 
 dami...@wso2.com wrote:

 Congrats Mahesh... 

 On Tue, Apr 28, 2015 at 12:34 PM, Milan Perera mi...@wso2.com wrote:

 Congratz Mahesh..!!!

 On Tue, Apr 28, 2015 at 11:43 AM, Prasanna Dangalla 
 prasa...@wso2.com wrote:

 Congratulations Mahesh..

 On Tue, Apr 28, 2015 at 11:42 AM, Chathura Priyankara 
 chathu...@wso2.com wrote:

 Congratulations Mahesh !!!

 On Tue, Apr 28, 2015 at 11:17 AM, Thusitha Thilina Dayaratne 
 thusit...@wso2.com wrote:

 Congratulations..!!

 On Tue, Apr 28, 2015 at 11:15 AM, Chamalee De Silva 
 chama...@wso2.com wrote:

 Congratulations Mahesh !

 On Tue, Apr 28, 2015 at 11:13 AM, Dilan Udara Ariyaratne 
 dil...@wso2.com wrote:

 Congratz, Mahesh!!!


 *Dilan U. Ariyaratne*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 Mobile: +94775149066
 lean . enterprise . middleware

 On Tue, Apr 28, 2015 at 10:40 AM, Samith Dassanayake 
 sam...@wso2.com wrote:

 Congratz Mahesh!

 On Tue, Apr 28, 2015 at 10:28 AM, Kalpa Welivitigoda 
 kal...@wso2.com wrote:

 Congratulations Mahesh !

 On Tue, Apr 28, 2015 at 10:28 AM, Tharik Kanaka 
 tha...@wso2.com wrote:

 Congratulations Mahesh.

 On Tue, Apr 28, 2015 at 9:27 AM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

 Hi all,

 It is with great pleasure that WSO2 welcomes Mahesh
 Chinthaka as WSO2 committer!

 Thank you for your hard work. Congratulation!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

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




 --

 *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




 --
 Best Regards,

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

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




 --
 Best Regards

 Samith Dassanayake
 Software Engineer | Cloud TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +947 76207351

 ___
 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




 --

 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




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




 --
 Chathura Priyankara
 Software Engineer | WSO2 Inc.
 Mobile : +94718795340
 Blog : www.codeoncloud.blogspot.com

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




 --
 Prasanna Dangalla
 Software Engineer, WSO2, Inc.; http://wso2.com/
 lean.enterprise.middleware

 cell: +94 777 55 80 30 | +94 718 11 27 51
 twitter: @prasa77

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




 --
 Milan Harindu Perera
 Software Engineer
 *WSO2, Inc*
 (+94) 77 309 7088
 lean . enterprise . middleware
 http://lk.linkedin.com/in/milanharinduperera

 ___
 Dev mailing 

Re: [Dev] VFS Inbound Testing Scenario

2015-04-28 Thread Shakila Sivagnanarajah
Hi Malaka,

Thanks for the response. I will configure the cluster without ELB.

Thank you.

On Tue, Apr 28, 2015 at 4:54 PM, Malaka Silva mal...@wso2.com wrote:

 Hi Shakila,

 You don't need any ELB to check the scenarios for inbound polling
 transports. Just create the cluster with ESB nodes and should be able to
 proceed.

 On Tue, Apr 28, 2015 at 2:45 PM, Shakila Sivagnanarajah shak...@wso2.com
 wrote:

 Hi all,

 Due to the problem in configuring cluster with Nginx, Now I am trying to
 configure cluster using WSO2 ELB.

 On Tue, Apr 28, 2015 at 10:03 AM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 I am configuring cluster with Nginx ELB. I put svnClientBundle-1.0.0.jar
 http://dist.wso2.org/tools/svnClientBundle-1.0.0.jar and get the
 warning [1].

 [1]
 [2015-04-27 12:04:23,572]  INFO - PermissionUpdater Permission cache
 updated for tenant -1234
 [2015-04-27 12:05:23,581]  WARN - AppDeployerServiceComponent Waiting
 for required OSGi services:
 org.wso2.carbon.application.deployer.synapse.service.SynapseAppDeployerService,org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService,
 [2015-04-27 12:05:23,593]  WARN - StartupFinalizerServiceComponent
 Waiting for required OSGi services:
 org.wso2.carbon.application.deployer.service.CappDeploymentService,org.wso2.carbon.server.admin.common.IServerAdmin,org.wso2.carbon.throttling.agent.ThrottlingAgent,


 After that, I put svn-client-adapter-1.10.5.wso2v1.jar in dropins. Still
 I am getting the same warning [1].


 On Fri, Apr 24, 2015 at 3:57 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi all,

 I have tested the file transfer with file inbound protocol. For this, I
 referred Synapse Sample 900. Now I am going to test the use case [1].

 [1] Pick up a file in a local directory, send an email with data from
 the file.

 Thank you


 On Fri, Apr 24, 2015 at 12:23 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi Malaka,

 I configured 2 worker nodes. And I set one worker as the known worker
 for the manager. The artifacts mentioned in [1] were created at the given
 SVN location.
 [1]

- axis2modules/

 https://svn.wso2.com/wso2/training/careerlaunch/shakila/test/-1234/axis2modules/
- axis2services/

 https://svn.wso2.com/wso2/training/careerlaunch/shakila/test/-1234/axis2services/
- synapse-configs/

 https://svn.wso2.com/wso2/training/careerlaunch/shakila/test/-1234/synapse-configs/
- webapps/

 https://svn.wso2.com/wso2/training/careerlaunch/shakila/test/-1234/webapps/

 Thank you.

 On Fri, Apr 24, 2015 at 12:13 PM, Malaka Silva mal...@wso2.com
 wrote:

 Hi Shakira,

 Further Check [1]

 [1] https://wso2.org/jira/browse/BPS-346

 On Fri, Apr 24, 2015 at 11:44 AM, Malaka Silva mal...@wso2.com
 wrote:

 Hi Shakila,

 Is seems like a warning given by dep-sync. However do you get the
 artifacts gets deployed to worker nodes?

 How many worker nodes did you configure?

 On Fri, Apr 24, 2015 at 11:13 AM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi all,

 I am doing the ESB task to test the VFS Inbound.
 I went through some portion of Carbon-Mediation code related to VFS
 and tested VFS file transfer functionality with Smooks mediator 
 (Synapse
 Sample 654) so far.

 From this testing, I got an idea of Smooks mediator and practically
 tested one of the use cases of VFS inbound.

 I have set up ESB worker/manager cluster without ELB. For this I
 referred document [1] and used Ngnix Load Balancer. And I used the ESB 
 pack
 got from [2].

 [1]
 https://docs.google.com/a/wso2.com/document/d/1x80QfnBW09keGVYOi3MLruckXbIVp45vOj9deyF0l5I/edit?usp=sharing

 [2]
 https://svn.wso2.org/repos/wso2/people/ishan/dist/esb/4.9.0/wso2esb-4.9.0-M7.zip

 *Issues:*

- When I start Worker 1, I am getting the exception *Can't find
a svn action for svn output line : Updating 
 'repository/deployment/server'*
see in log [3].

 [3]

 [2015-04-24 10:15:56,155]  INFO - MemberUtils Added member: Host:
 mgt.esb.wso2.com, Remote Host:null, Port: 4100, HTTP:-1, HTTPS:-1,
 Domain: null, Sub-domain:null, Active:true
 [2015-04-24 10:16:04,676]  INFO - HazelcastClusteringAgent
 Hazelcast initialized in 8519ms
 [2015-04-24 10:16:04,696]  INFO - MemberUtils Added member:
 Host:10.100.5.171, Remote Host:null, Port: 4100, HTTP:8281, HTTPS:8244,
 Domain: wso2.esb.domain, Sub-domain:__$default, Active:true
 [2015-04-24 10:16:04,696]  INFO - HazelcastClusteringAgent Local
 member: [d795d8a2-f6da-491a-ad5f-fe2cfa82f950] - Host:10.100.5.171, 
 Remote
 Host:null, Port: 4200, HTTP:8282, HTTPS:8245, Domain: wso2.esb.domain,
 Sub-domain:null, Active:true
 [2015-04-24 10:16:04,704]  INFO - MemberUtils Added member:
 Host:10.100.5.171, Remote Host:null, Port: 4200, HTTP:8282, HTTPS:8245,
 Domain: wso2.esb.domain, Sub-domain:__$default, Active:true
 [2015-04-24 10:16:04,960]  INFO - HazelcastClusteringAgent Cluster
 initialization completed
 [2015-04-24 10:16:04,968]  INFO - NioSelectorPool Using a shared
 

Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Jerad Rutnam
Congratulations Mahesh! :)

On Tue, Apr 28, 2015 at 4:50 PM, Pirinthapan Mahendran pirintha...@wso2.com
 wrote:

 Congrats Mahesh !!




 Mahendran Pirinthapan
 Software Engineer | WSO2 Inc.
 Mobile +94772378732.

 On Tue, Apr 28, 2015 at 4:32 PM, Sajith Abeywardhana saji...@wso2.com
 wrote:

 Congratulations !!!

 *Sajith Abeywardhana* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka.
 Mobile: +94772260485
 Email: saji...@wso2.com mahe...@wso2.com | Web: www.wso2.com

 On Tue, Apr 28, 2015 at 4:22 PM, Malithi Edirisinghe malit...@wso2.com
 wrote:

 Congrats ... :)

 On Tue, Apr 28, 2015 at 1:59 PM, Dinithi De Silva dinit...@wso2.com
 wrote:

 Congratulations Mahesh.!!!

 On Tue, Apr 28, 2015 at 1:19 PM, Sajith Abeywardhana saji...@wso2.com
 wrote:

 Congratulations !!!

 *Sajith Abeywardhana* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka.
 Mobile: +94772260485
 Email: saji...@wso2.com mahe...@wso2.com | Web: www.wso2.com

 On Tue, Apr 28, 2015 at 12:49 PM, Damith Wickramasinghe 
 dami...@wso2.com wrote:

 Congrats Mahesh... 

 On Tue, Apr 28, 2015 at 12:34 PM, Milan Perera mi...@wso2.com
 wrote:

 Congratz Mahesh..!!!

 On Tue, Apr 28, 2015 at 11:43 AM, Prasanna Dangalla 
 prasa...@wso2.com wrote:

 Congratulations Mahesh..

 On Tue, Apr 28, 2015 at 11:42 AM, Chathura Priyankara 
 chathu...@wso2.com wrote:

 Congratulations Mahesh !!!

 On Tue, Apr 28, 2015 at 11:17 AM, Thusitha Thilina Dayaratne 
 thusit...@wso2.com wrote:

 Congratulations..!!

 On Tue, Apr 28, 2015 at 11:15 AM, Chamalee De Silva 
 chama...@wso2.com wrote:

 Congratulations Mahesh !

 On Tue, Apr 28, 2015 at 11:13 AM, Dilan Udara Ariyaratne 
 dil...@wso2.com wrote:

 Congratz, Mahesh!!!


 *Dilan U. Ariyaratne*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 Mobile: +94775149066
 lean . enterprise . middleware

 On Tue, Apr 28, 2015 at 10:40 AM, Samith Dassanayake 
 sam...@wso2.com wrote:

 Congratz Mahesh!

 On Tue, Apr 28, 2015 at 10:28 AM, Kalpa Welivitigoda 
 kal...@wso2.com wrote:

 Congratulations Mahesh !

 On Tue, Apr 28, 2015 at 10:28 AM, Tharik Kanaka 
 tha...@wso2.com wrote:

 Congratulations Mahesh.

 On Tue, Apr 28, 2015 at 9:27 AM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

 Hi all,

 It is with great pleasure that WSO2 welcomes Mahesh
 Chinthaka as WSO2 committer!

 Thank you for your hard work. Congratulation!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

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




 --

 *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




 --
 Best Regards,

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

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




 --
 Best Regards

 Samith Dassanayake
 Software Engineer | Cloud TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +947 76207351

 ___
 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




 --

 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




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




 --
 Chathura Priyankara
 Software Engineer | WSO2 Inc.
 Mobile : +94718795340
 Blog : www.codeoncloud.blogspot.com

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




 --
 Prasanna Dangalla
 Software Engineer, WSO2, Inc.; http://wso2.com/
 lean.enterprise.middleware

 cell: +94 777 55 80 30 | +94 718 11 27 51
 twitter: @prasa77

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




 --
 Milan Harindu Perera
 Software Engineer
 *WSO2, Inc*
 (+94) 77 309 7088
 lean . enterprise . 

[Dev] Please review and Merge the PR

2015-04-28 Thread Chamalee De Silva
Hi,

This is the Fix [1] for the Public JIRA [2].

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

 $subject.

-- 

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


Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Harsha Thirimanna - WSO2, Inc.
Congrats Mahesh !!
On Apr 28, 2015 7:30 PM, Dan Martin dpm.myw...@gmail.com wrote:

 unsubscribe

 On Mon, Apr 27, 2015 at 11:57 PM, Dimuthu Leelarathne dimut...@wso2.com
 wrote:

 Hi all,

 It is with great pleasure that WSO2 welcomes Mahesh Chinthaka as WSO2
 committer!

 Thank you for your hard work. Congratulation!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

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



 ___
 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] [App Factory] How to execute init methods only once in integration tests base class

2015-04-28 Thread Samith Dassanayake
Hi Nuwan,

If the requirement is to call those methods once for all the tests, isn't
it better to use @BeforeSuite(Instead of @BeforeTest)  annotation or
an extension using SuiteListenerExtension?

Thanks,
Samith

On Wed, Apr 29, 2015 at 8:09 AM, Nuwan Wimalasekara nuw...@wso2.com wrote:

 Hi Punnadi,
 You can use @BeforTest annotation to execute a method only one time for a
 test package. if you need to execute this method one time for all the test
 classes in particular test module, You can write a extension class and
 configure it in automation.xml to execute before test execution.

 https://docs.wso2.com/display/TA430/TestNG+Listeners

 Thanks,
 Nuwanw

 On Tue, Apr 28, 2015 at 4:47 PM, Punnadi Gunarathna punn...@wso2.com
 wrote:

 Hi All,

 Currently initWithTenantCreation method in AppFactoryIntegrationTest
 class [1] is being called from all the test cases via their
 setEnvironment method [2].
 initWithTenantCreation method is used to populate tenant, default
 application. Is it possible to execute this type of methods once for all
 the test cases, rather than calling them for each test case separately.
 Please advice.

 [1]
 https://github.com/wso2/product-af/blob/master/modules/integration/integration-test-utils/src/main/java/org/wso2/appfactory/integration/test/utils/AppFactoryIntegrationTest.java
 [2]
 https://github.com/wso2/product-af/tree/master/modules/integration/tests-integration/tests-scenarios/src/test/java/org/wso2/appfactory/tests/scenarios
 --
 Thanks and Regards,

 Punnadi Gunarathna
 Senior Software Engineer,
 WSO2, Inc.; http://wso2.com http://wso2
 Blog: http://hi-my-world.blogspot.com/
 Tel : 94 11 214 5345
 Fax :94 11 2145300



  http://lalajisureshika.blogspot.com/




 --
 Nuwan Wimalasekara
 Senior Software Engineer - Test Automation
 WSO2, Inc.: http://wso2.com
 lean. enterprise. middleware

 phone: +94 71 668 4620




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




-- 
Best Regards

Samith Dassanayake
Software Engineer | Cloud TG
WSO2, Inc. | http://wso2.com
lean. enterprise. middleware

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


[Dev] Build Failure - JiBX Data Binding Sample

2015-04-28 Thread Nadeesha Meegoda
Hi,

I am running these AS samples, currently running the JiBX and the build
fails. Has anyone come across this before?

 [bind] Error running binding compiler
 [bind] java.lang.VerifyError: Expecting a stackmap frame at branch
target 12
 [bind] Exception Details:
 [bind]   Location:
 [bind]
org/wso2/appserver/jibx/library/beans/Book.JiBX_jibx_unwrapped_newinstance_1_0(Lorg/wso2/appserver/jibx/library/beans/Book;Lorg/jibx/runtime/impl/UnmarshallingContext;)Lorg/wso2/appserver/jibx/library/beans/Book;
@1: ifnonnull
 [bind]   Reason:
 [bind]Expected stackmap frame at this location.
 [bind] Bytecode:
 [bind] 000: 2ac7 000b bb00 0a59 b700 744b 2ab0
 [bind]
 [bind] at java.lang.Class.getDeclaredMethods0(Native Method)
 [bind] at
java.lang.Class.privateGetDeclaredMethods(Class.java:2615)
 [bind] at java.lang.Class.getDeclaredMethods(Class.java:1860)
 [bind] at org.jibx.binding.Compile.compile(Compile.java:278)
 [bind] at
org.jibx.binding.ant.CompileTask.execute(CompileTask.java:248)
 [bind] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
 [bind] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown
Source)
 [bind] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [bind] at java.lang.reflect.Method.invoke(Method.java:606)
 [bind] at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
 [bind] at org.apache.tools.ant.Task.perform(Task.java:348)
 [bind] at org.apache.tools.ant.Target.execute(Target.java:435)
 [bind] at org.apache.tools.ant.Target.performTasks(Target.java:456)
 [bind] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
 [bind] at
org.apache.tools.ant.Project.executeTarget(Project.java:1364)
 [bind] at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
 [bind] at
org.apache.tools.ant.Project.executeTargets(Project.java:1248)
 [bind] at org.apache.tools.ant.Main.runBuild(Main.java:851)
 [bind] at org.apache.tools.ant.Main.startAnt(Main.java:235)
 [bind] at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
 [bind] at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
 [bind]

BUILD FAILED
/home/nadeesham/Documents/Products/wso2as-5.2.1/samples/Jibx/build.xml:89:
JiBXException in JiBX binding compilation


Any Input regarding this is highly appreciated.

Thanks
-- 
*Nadeesha Meegoda*
Software Engineer - QA
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
email : nadees...@wso2.com
mobile: +94783639540
%2B94%2077%202273555
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Rest API used by Dev Studio

2015-04-28 Thread Manisha Gayathri
On Wed, Apr 29, 2015 at 5:24 AM, Dimuthu Leelarathne dimut...@wso2.com
wrote:

 Hi all,

 Could we have a list of methods used by the dev studio?

 Please note the following methods are proposed to be removed from the code.



When I checked the code, found that only below actions are being used in
DevS according to
org.wso2.developerstudio.appfactory.core.jag.api.JagApiProperties class

public static  final String USER_APP_LIST__ACTION = getApplicationsOfUser;
public static final String App_NIFO_ACTION = getAppVersionsInStage;
public static final String App_BUILD_NUMBER_ACTION = buildinfobyappid;
public static final String App_BUILD_URL_ACTIONL = getBuildLogsUrl;
public static final String App_BUILD_INFO_ACTION =getbuildandrepodata;
public static final String FORKED_REPO_INFO_ACTION =
getbuildandrepodataforkedrepo;
public static final String App_BUILD_ACTION =createArtifact;
public static final String App_USERS_ROLES_ACTION =getUsersOfApplication;
public static final String App_DB_INFO_ACTION =
getDbUserTemplateInfoForStages;
public static final String App_DS_INFO_ACTION = getDatasources;

Only 2 out of the following list in used in DevS.


 checkSystemStatus

 newKey

 getUniqueAppVersions

 initAppVersion

 containsApplication

 getAppCountInStage

 getApplicationsOfUser - this is used in devS

 getAllAppVersionsInStage

 getAppVersionsInStage - this is used in devS

 getAllAppVersionsInStages

 getAppVersionsInStagesWithMetaData

 getMetaDataForAppVersion

 getRetiredVersions

 getLatestBuildSuccessInfo

 getBuildableStages


 thanks,

 dimuthu



 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware




-- 
~Regards
*Manisha Eleperuma*
Senior Software Engineer
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware

*blog:  http://manisha-eleperuma.blogspot.com/
http://manisha-eleperuma.blogspot.com/*
*mobile:  +94 71 8279777*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Orbit] Please review the PR for Spark 1.3.0

2015-04-28 Thread Niranda Perera
Hi Kasun,

I did the changes. could you please check it now? thanks

rgds

On Tue, Apr 28, 2015 at 9:49 PM, Kasun Gajasinghe kas...@wso2.com wrote:

 Hi Niranda,

 Can you also fix the import-packages to not have star imports with
 resolution optional?

 Thanks.

 On Apr 28, 2015, at 1:50 PM, Niranda Perera nira...@wso2.com wrote:

 @Kasun thank you for the clarification

 I have made the adjustments. can you please check it?

 rgds

 On Mon, Apr 27, 2015 at 11:16 AM, KasunG Gajasinghe kas...@wso2.com
 wrote:

 Hi Niranda,

 The Bundle-Classpath tag is as mentioned above is required to over-ride
 the classes in the original orbit bundle. Since both the orbit bundle, and
 patched bundle have the same classes, we need to instruct to give
 precedence to the patch.jar. Hence, the above tag is required.

 The bundles will be resolved fine, but the over-riding may or may not
 happen. So, can you add this tag? Further, there are some pending comments
 in the PR.

 Thanks.

 On Mon, Apr 27, 2015 at 10:55 AM, Niranda Perera nira...@wso2.com
 wrote:

 Hi Supun,

 are you referring to this?
 Export-Package
 org.apache.spark.*;version=${spark.version};-split-package:=merge-first
 /Export-Package

 well, AFAIK what export-package does is, it exposes the
 org.apache.spark.* classes in the OSGI environment. since we are not doing
 any patching for the original classes, I dont think we have to change the
 version to 1.3.0.wso2v1

 @sameera, pls correct me if I'm wrong.

 rgds

 On Wed, Apr 22, 2015 at 9:06 AM, Supun Sethunga sup...@wso2.com wrote:

 Hi Sameera/Niranda,

 With parallel to this, Im in the process of migrating the spark Ml-Lib
 and spark streaming versions for product ML. Just wanted to clear myself,
 shouldn't the export-package-version of all spark packages be 1.3.0.wso2v1,
 rather than 1.3.0?

 Thanks,
 Supun

 On Fri, Apr 17, 2015 at 4:39 PM, Niranda Perera nira...@wso2.com
 wrote:

 oh. are you referring to the
 Bundle-Classpathpatch.jar,./Bundle-Classpath
 line?
 I did not include it in the orbit bundle.

 but I checked the bundles in a fresh carbon server and it seems like
 the patch gets attached successfully.
 ​
  Screenshot from 2015-04-17 16:20:15.png
 https://docs.google.com/a/wso2.com/file/d/0B1GsnfycTl32bDMyNG5DMDhRcHc/edit?usp=drive_web
 ​
 I checked it with BAM pack also.

 bundle-classpath tag, is it mandatory to be in the for the orbit
 bundle, for the patch to get attached?

 the patch pom is as follows

 https://github.com/nirandaperera/carbon-analytics/blob/clustering%2B130%2BMT/components/analytics/analytics-processors/org.wso2.carbon.analytics.spark.patch/pom.xml





 On Thu, Apr 16, 2015 at 3:05 PM, Anjana Fernando anj...@wso2.com
 wrote:

 Niranda, yeah, we would have to put that part to be able to later
 patch it. A sample can be found here [1].

 [1]
 https://github.com/wso2/orbit/blob/master/tomcat/7.0.59.wso2v2/pom.xml

 Cheers,
 Anjana.

 On Thu, Apr 16, 2015 at 3:00 PM, Sameera Jayasoma same...@wso2.com
 wrote:

 I meant to say, do we need to add the patch.jar line to the spark
 bundle as we've done in Tomcat bundle.

 Thanks,
 Sameera.

 On Thu, Apr 16, 2015 at 12:31 PM, Niranda Perera nira...@wso2.com
 wrote:

 Hi Sameera,

 No its not. The patch is in org.wso2.analytics.spark.patch
 component. Its still not committed to carbon - analytics

 Rgds

 On Thu, Apr 16, 2015, 12:17 Sameera Jayasoma same...@wso2.com
 wrote:

 Hi Niranda,

 Does this include fragment-bundle/patch modification also?

 Thanks,
 Sameera.

 On Thu, Apr 16, 2015 at 8:03 AM, Niranda Perera nira...@wso2.com
 wrote:

 Hi,

 Kind reminder on this.

 Best regards

 Niranda Perera
 Software Engineer, WSO2 Inc.
 Mobile: +94-71-554-8430
 Twitter: @n1r44
 On Apr 14, 2015 19:17, Niranda Perera nira...@wso2.com wrote:

 Hi Sameera,

 Could you please review this PR [1] for Spark 1.3.0.

 this upgrades 1.2.1 to 1.3.0. this upgrade is done, because
 1.3.0 comes with some major API changes and we wanted to include 
 those API
 changes before the DAS (BAM) 3.0.0 alpha

 cheers

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

 --
 *Niranda Perera*
 Software Engineer, WSO2 Inc.
 Mobile: +94-71-554-8430
 Twitter: @n1r44 https://twitter.com/N1R44




 --
 Sameera Jayasoma,
 Software Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://blog.sameera.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

 Lean . Enterprise . Middleware




 --
 Sameera Jayasoma,
 Software Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://blog.sameera.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

 Lean . Enterprise . Middleware




 --
 *Anjana Fernando*
 Senior Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware




 --
 *Niranda Perera*
 Software Engineer, WSO2 Inc.
 Mobile: 

Re: [Dev] Build Failure - JiBX Data Binding Sample

2015-04-28 Thread Chathura Priyankara
Hi Nadeesha,

I think similar exception is discussed in [1].
According to that you need to set the JVM option -XX:-UseSplitVerifier
before executing the binding compiler.

[1]
https://wso2.org/jira/si/jira.issueviews:issue-html/CARBON-12931/CARBON-12931.html

Thanks!
Best Regards,
Chathura.

On Wed, Apr 29, 2015 at 8:42 AM, Nadeesha Meegoda nadees...@wso2.com
wrote:

 Hi,

 I am running these AS samples, currently running the JiBX and the build
 fails. Has anyone come across this before?

  [bind] Error running binding compiler
  [bind] java.lang.VerifyError: Expecting a stackmap frame at branch
 target 12
  [bind] Exception Details:
  [bind]   Location:
  [bind]
 org/wso2/appserver/jibx/library/beans/Book.JiBX_jibx_unwrapped_newinstance_1_0(Lorg/wso2/appserver/jibx/library/beans/Book;Lorg/jibx/runtime/impl/UnmarshallingContext;)Lorg/wso2/appserver/jibx/library/beans/Book;
 @1: ifnonnull
  [bind]   Reason:
  [bind]Expected stackmap frame at this location.
  [bind] Bytecode:
  [bind] 000: 2ac7 000b bb00 0a59 b700 744b 2ab0
  [bind]
  [bind] at java.lang.Class.getDeclaredMethods0(Native Method)
  [bind] at
 java.lang.Class.privateGetDeclaredMethods(Class.java:2615)
  [bind] at java.lang.Class.getDeclaredMethods(Class.java:1860)
  [bind] at org.jibx.binding.Compile.compile(Compile.java:278)
  [bind] at
 org.jibx.binding.ant.CompileTask.execute(CompileTask.java:248)
  [bind] at
 org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
  [bind] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown
 Source)
  [bind] at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  [bind] at java.lang.reflect.Method.invoke(Method.java:606)
  [bind] at
 org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  [bind] at org.apache.tools.ant.Task.perform(Task.java:348)
  [bind] at org.apache.tools.ant.Target.execute(Target.java:435)
  [bind] at
 org.apache.tools.ant.Target.performTasks(Target.java:456)
  [bind] at
 org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
  [bind] at
 org.apache.tools.ant.Project.executeTarget(Project.java:1364)
  [bind] at
 org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
  [bind] at
 org.apache.tools.ant.Project.executeTargets(Project.java:1248)
  [bind] at org.apache.tools.ant.Main.runBuild(Main.java:851)
  [bind] at org.apache.tools.ant.Main.startAnt(Main.java:235)
  [bind] at
 org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
  [bind] at
 org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
  [bind]

 BUILD FAILED
 /home/nadeesham/Documents/Products/wso2as-5.2.1/samples/Jibx/build.xml:89:
 JiBXException in JiBX binding compilation


 Any Input regarding this is highly appreciated.

 Thanks
 --
 *Nadeesha Meegoda*
 Software Engineer - QA
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware
 email : nadees...@wso2.com
 mobile: +94783639540
 %2B94%2077%202273555

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




-- 
Chathura Priyankara
Software Engineer | WSO2 Inc.
Mobile : +94718795340
Blog : www.codeoncloud.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 App Factory - removing an application

2015-04-28 Thread Manisha Gayathri
You can do a REST call to delete an application as per the doc in [1]

[1].
https://docs.wso2.com/display/AF210/REST+APIs#RESTAPIs-deleteApplication

Thanks
Manisha

On Sun, Apr 26, 2015 at 7:40 PM, Chalitha Kulathunga chalit...@wso2.com
wrote:

 Thanks

 On Sun, Apr 26, 2015 at 7:34 PM, Danushka Fernando danush...@wso2.com
 wrote:

 Will check the code and let you know. However there is a service call you
 can do deleteApplication in one of our services. Will let you know which
 service it is.

 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729


 On Apr 26, 2015 6:44 PM, Chalitha Kulathunga chalit...@wso2.com
 wrote:

 Hi all,

 I'm looking for existing methods which can completely remove
 applications belong to a particular tenant in WSO2 App Factory. Could
 someone please recommend me a standard way to delete applications. The
 requirement is to delete applications of a specific tenant internally, only
 giving the name of the tenant/created user.


 Thanks  Regards

 --
 *Chalitha Sanyuja Kulathunga*
 *Software Engineer*
 WSO2 Inc.; http://wso2.com
 email: chalit...@wso2.com cell: +94 77 5927581 %2B94%2077%207779495




 --
 *Chalitha Sanyuja Kulathunga*
 *Software Engineer*
 WSO2 Inc.; http://wso2.com
 email: chalit...@wso2.com cell: +94 77 5927581 %2B94%2077%207779495

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




-- 
~Regards
*Manisha Eleperuma*
Senior Software Engineer
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware

*blog:  http://manisha-eleperuma.blogspot.com/
http://manisha-eleperuma.blogspot.com/*
*mobile:  +94 71 8279777*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Vinuri Perera

2015-04-28 Thread Samith Dassanayake
Congratz Vinuri

On Tue, Apr 28, 2015 at 4:23 PM, Malithi Edirisinghe malit...@wso2.com
wrote:

 Congratz ... :)

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

 Congratz Vinuri :)


 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

 On Mon, Apr 27, 2015 at 2:19 PM, Amila Maha Arachchi ami...@wso2.com
 wrote:

 Hi all,

 Its my pleasure to welcome Vinuri Perera as a WSO2 Committer. Vinuri is
 a member of WSO2 Cloud team and she has done a great contribution to WSO2
 Cloud and has shown great enthusiasm in her work both in development and
 other cloud related work. In recognition of her contribution, she has been
 voted as a WSO2 Committer.

 Vinuri, welcome aboard and keep up the good work..

 Regards,
 Amila.

 --
 *Amila Maharachchi*
 Senior Technical Lead
 WSO2, Inc.; http://wso2.com

 Blog: http://maharachchi.blogspot.com
 Mobile: +94719371446


 ___
 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




 --

 *Malithi Edirisinghe*
 Senior Software Engineer
 WSO2 Inc.

 Mobile : +94 (0) 718176807
 malit...@wso2.com

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




-- 
Best Regards

Samith Dassanayake
Software Engineer | Cloud TG
WSO2, Inc. | http://wso2.com
lean. enterprise. middleware

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


[Dev] Password conditions of secure endpoints in API Manager

2015-04-28 Thread Saneth Dharmakeerthi
Hi APIM team,

When we configure a API endpoint as a secure endpoint,Is there any
conditions regarding the password?


Thanks and Best Regards,

Saneth Dharmakeerthi
Senior Software Engineer
WSO2, Inc.
Mobile: +94772325511
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [AppM] Sample Documentation for Outbound Provisioning with Salesfroce

2015-04-28 Thread Sajith Ariyarathna
Hi,
I have created this doc [1] for $subject. Please review and comment.

[1] 
*https://docs.google.com/a/wso2.com/document/d/15t0ihN1ETpUcrJDm5DuYzjJuDLGGpGm3iIde0hOFRFo/edit?usp=sharing
https://docs.google.com/a/wso2.com/document/d/15t0ihN1ETpUcrJDm5DuYzjJuDLGGpGm3iIde0hOFRFo/edit?usp=sharing*


Thanks  Regards.
​​

-- 
Sajith Ariyarathna
Software Engineer; WSO2, Inc.;  http://wso2.com/
mobile: +94 77 6602284, +94 71 3951048
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Password conditions of secure endpoints in API Manager

2015-04-28 Thread Sewmini Jayaweera
Hi Saneth,

As per my knowledge this is used once we have a backend which is secured.

For an example;
say you have hello service hosted in WSO2 application server which is
secured using UsernameToken and your API is pointing to that service. In an
intense like that you need to give user credentials which you used to
secure back end (It will be a user's credentials registered in AS).

When a client is accessing this service through the API, he should be
invoke the API as usual. (Since we have given user credentials of the
secured backend when creating the API )

Cheers!
Sewmini

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Wed, Apr 29, 2015 at 9:03 AM, Saneth Dharmakeerthi sane...@wso2.com
wrote:

 Hi APIM team,

 When we configure a API endpoint as a secure endpoint,Is there any
 conditions regarding the password?


 Thanks and Best Regards,

 Saneth Dharmakeerthi
 Senior Software Engineer
 WSO2, Inc.
 Mobile: +94772325511

 ___
 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] [ESB] Rule Mediator - Accessing rule set via Registry Lookup

2015-04-28 Thread Suhan Dharmasuriya
Hi,

Setup ESB 4.8.1 + MB 2.2.0 (3 Queues namely; UC7_QueueListnerProxy,
javaVendor, otherVendor)

During a demonstration we were successfully able to define the rule set
in-line [2] using a Rule Mediator.
But when we try to upload the contents as messageRoutingRules.xml [4] file
into registry and access rule set via Registry Lookup [1]
we are getting a null pointer [3].

Where can we find a sample registry rule set xml file content?

Please note that in ESB documentation [1] sample.xml file content is not
provided.

[1] https://docs.wso2.com/display/ESB481/Rule+Mediator
[2]
proxy name=UC7_QueueListnerProxy
  transports=https http jms
  startOnLoad=true
  trace=disable
  description/
  target
 inSequence
log level=full/
rule xmlns=http://wso2.org/carbon/rules;
   sourcesoapBody/source
   target action=replace
resultXpath=//accept/child::text()$accept/target
   ruleSet
  properties/
  rule resourceType=regular sourceType=inline
 package SimpleRoutingRules;

rule Invoke IBM no-loop true
when
symbol: String() eval( symbol.equals(IBM) )
then

 update(drools.getWorkingMemory().getFactHandle(symbol),javaVendorEndPoint);
end

rule Invoke SUN no-loop true
when
symbol: String() eval( symbol.equals(SUN) )
then

 update(drools.getWorkingMemory().getFactHandle(symbol),javaVendorEndPoint);
end

rule Invoke MFST no-loop true
when
symbol: String() eval( symbol.equals(MFST) )
then

 update(drools.getWorkingMemory().getFactHandle(symbol),otherVendorEndPoint);
end

/rule
   /ruleSet
   input namespace=http://services.samples;
wrapperElementName=getQuote
  fact xmlns:m0=http://services.samples;
elementName=symbol
namespace=http://services.samples;
type=java.lang.String

xpath=//m0:getQuote/m0:request/m0:symbol/child::text()/
   /input
   output namespace=http://services.samples;
   wrapperElementName=getQuoteRespone
  fact elementName=accept namespace=
type=java.lang.String/
   /output
/rule
log level=custom
   property xmlns:m0=http://services.samples;
 name=*** Message Payload 

 expression=//m0:getQuote/m0:request/m0:symbol/child::text()/
/log
switch source=get-property('accept')
   case regex=javaVendorEndPoint
  log level=custom
 property name=*** Endpoint Located for
Vendor 
   value=javaVendorEndPoint/
  /log
  log level=custom
 property name=*** Sending Message to Queue 
value=javaVendor/
  /log
  property name=OUT_ONLY value=true/
  send
 endpoint
address
uri=jms:/javaVendor?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactoryamp;java.naming.factory.initial=org.wso2.andes.jndi.PropertiesFileInitialContextFactoryamp;java.naming.provider.url=repository/conf/jndi.propertiesamp;transport.jms.DestinationType=queue/
 /endpoint
  /send
   /case
   case regex=otherVendorEndPoint
  log level=custom
 property name=*** Endpoint Located for
Vendor 
   value=otherVendorEndPoint/
  /log
  log level=custom
 property name=*** Sending Message to Queue 
value=otherVendor/
  /log
  property name=OUT_ONLY value=true/
  send
 endpoint
address
uri=jms:/otherVendor?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactoryamp;java.naming.factory.initial=org.wso2.andes.jndi.PropertiesFileInitialContextFactoryamp;java.naming.provider.url=repository/conf/jndi.propertiesamp;transport.jms.DestinationType=queue/
 /endpoint
  /send
   /case
/switch
drop/
 /inSequence
  /target
  parameter name=transport.jms.ContentType
 rules
jmsPropertycontentType/jmsProperty
defaultapplication/xml/default
 /rules
  /parameter
   /proxy

[3]
[2015-04-29 10:46:31,861]  INFO - LogMediator To: , WSAction: urn:mediate,
SOAPAction: 

[Dev] Invitation: [Code Review][AppM]Sample Deploy @ Thu Apr 30, 2015 2pm - 3pm (sachi...@wso2.com)

2015-04-28 Thread Sachith Herath
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20150430T083000Z
DTEND:20150430T093000Z
DTSTAMP:20150429T031741Z
ORGANIZER;CN=Sachith Herath:mailto:sachi...@wso2.com
UID:vf8ih78ccpomrkgep0lrec6...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Binali Perera;X-NUM-GUESTS=0:mailto:bin...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Sachith Herath;X-NUM-GUESTS=0:mailto:sachi...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Sumedha Rubasinghe;X-NUM-GUESTS=0:mailto:sume...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Lahiru Cooray;X-NUM-GUESTS=0:mailto:lahi...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Chathura Dilan;X-NUM-GUESTS=0:mailto:chathu...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Ruwan Yatawara;X-NUM-GUESTS=0:mailto:ruw...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Dinusha Senanayaka;X-NUM-GUESTS=0:mailto:dinu...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=dev@wso2.org;X-NUM-GUESTS=0:mailto:dev@wso2.org
CREATED:20150429T031628Z
DESCRIPTION:View your event at https://www.google.com/calendar/event?action
 =VIEWeid=dmY4aWg3OGNjcG9tcmtnZXAwbHJlYzZsbTAgZGV2QHdzbzIub3Jntok=MTcjc2Fj
 aGl0aHVAd3NvMi5jb20yNzE1NTAxZTY4ZGRmYWI0OTE1MWYzNDljNmFhNDc0YzEwZTkzNTFhct
 z=Asia/Colombohl=en.
LAST-MODIFIED:20150429T031741Z
LOCATION:LK 3rd Floor Meeting Room - Kernel
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:[Code Review][AppM]Sample Deploy
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR


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


Re: [Dev] Rest API used by Dev Studio

2015-04-28 Thread Rajeevan Vimalanathan
Hi All,

To add with Jasintha, In addition to the above, DevStudio is also using
login, logout, and getTenantDisplayNames(It is an Admin service).

Thanks,
Rajeevan

On Wed, Apr 29, 2015 at 10:13 AM, Jasintha Dasanayake jasin...@wso2.com
wrote:

 Hi Dimuthu /Manisha

 FYI, following is the list of API calls are used by Developer Studio App
 Factory tools.

 *List of Jag files*

- /appmgt/site/blocks/application/get/ajax/list.jag
- /appmgt/site/blocks/user/login/ajax/login.jag
- /appmgt/site/blocks/build/list/ajax/list.jag
- /appmgt/site/blocks/build/get/ajax/get.jag
- /appmgt/site/blocks/buildandrepo/list/ajax/list.jag
- /appmgt/site/blocks/lifecycle/add/ajax/add.jag
- /appmgt/site/blocks/application/users/get/ajax/list.jag
- /appmgt/site/blocks/rssmanager/add/ajax/add.jag
- /appmgt/site/blocks/resources/datasource/get/ajax/list.jag
- /appmgt/site/blocks/buildandrepo/list/ajax/list.jag


 *List of Actions*

- getApplicationsOfUser
- getAppVersionsInStage
- buildinfobyappid
- getBuildLogsUrl
- getbuildandrepodata
- getbuildandrepodataforkedrepo
- createArtifact
- getUsersOfApplication
- getDbUserTemplateInfoForStages
- getDataSourceInfoUrl

 Thanks and Regards
 /Jasintha

 On Wed, Apr 29, 2015 at 9:34 AM, Manisha Gayathri mani...@wso2.com
 wrote:



 On Wed, Apr 29, 2015 at 5:24 AM, Dimuthu Leelarathne dimut...@wso2.com
 wrote:

 Hi all,

 Could we have a list of methods used by the dev studio?

 Please note the following methods are proposed to be removed from the
 code.



 When I checked the code, found that only below actions are being used in
 DevS according to
 org.wso2.developerstudio.appfactory.core.jag.api.JagApiProperties class

 public static  final String USER_APP_LIST__ACTION =
 getApplicationsOfUser;
 public static final String App_NIFO_ACTION = getAppVersionsInStage;
 public static final String App_BUILD_NUMBER_ACTION = buildinfobyappid;
 public static final String App_BUILD_URL_ACTIONL = getBuildLogsUrl;
 public static final String App_BUILD_INFO_ACTION =getbuildandrepodata;
 public static final String FORKED_REPO_INFO_ACTION =
 getbuildandrepodataforkedrepo;
 public static final String App_BUILD_ACTION =createArtifact;
 public static final String App_USERS_ROLES_ACTION
 =getUsersOfApplication;
 public static final String App_DB_INFO_ACTION =
 getDbUserTemplateInfoForStages;
 public static final String App_DS_INFO_ACTION = getDatasources;

 Only 2 out of the following list in used in DevS.


 checkSystemStatus

 newKey

 getUniqueAppVersions

 initAppVersion

 containsApplication

 getAppCountInStage

 getApplicationsOfUser - this is used in devS

 getAllAppVersionsInStage

 getAppVersionsInStage - this is used in devS

 getAllAppVersionsInStages

 getAppVersionsInStagesWithMetaData

 getMetaDataForAppVersion

 getRetiredVersions

 getLatestBuildSuccessInfo

 getBuildableStages


 thanks,

 dimuthu



 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware




 --
 ~Regards
 *Manisha Eleperuma*
 Senior Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware

 *blog:  http://manisha-eleperuma.blogspot.com/
 http://manisha-eleperuma.blogspot.com/*
 *mobile:  +94 71 8279777 %2B94%2071%208279777*




 --

 *Jasintha Dasanayake*

 *Senior Software EngineerWSO2 Inc. | http://wso2.com
 http://wso2.com/lean . enterprise . middleware*


 *mobile :- 0711368118*

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




-- 

Vimalanathan Rajeevan
Software Engineer
WSO2 Inc.:http://wso2.com
lean.enterprise.middleware


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


Re: [Dev] Password conditions of secure endpoints in API Manager

2015-04-28 Thread Madusanka Premaratne
Hi Saneth,
What do you mean by condition? You have to provide the basic authentication
username and password to the two text boxes.
When calling to the endpoint you have to use basic auth header by using the
given user name and password.

Thanks,
Madusanka

On Wed, Apr 29, 2015 at 9:03 AM, Saneth Dharmakeerthi sane...@wso2.com
wrote:

 Hi APIM team,

 When we configure a API endpoint as a secure endpoint,Is there any
 conditions regarding the password?


 Thanks and Best Regards,

 Saneth Dharmakeerthi
 Senior Software Engineer
 WSO2, Inc.
 Mobile: +94772325511

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




-- 
*Madusanka Premaratne* | Associate Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 835 70 73| Work: +94 112 145 345
Email: madusan...@wso2.com | Web: www.wso2.com

[image: Facebook] https://www.facebook.com/maduzanka [image: Twitter]
https://twitter.com/rmmpremaratne [image: Google Plus]
https://plus.google.com/u/0/+MadusankaPremaratnemaduz/about/p/pub [image:
Linkedin] http://lk.linkedin.com/in/madusanka/ [image: Instagram]
http://instagram.com/madusankapremaratne [image: Skype]
http://@rmmpremaratne
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Madhuranga Bandara
Congratulations Mahesh... !!!

*Madhuranga Sampath Bandara*
Software Engineer

WSO2, Inc.;http://wso2.com/
http://www.google.com/url?q=http%3A%2F%2Fwso2.com%2Fsa=Dsntz=1usg=AFQjCNGJuLRux6KkJwXKVUCYOtEsNCmIAQ
lean.enterprise.middleware
Mobile: +94722241065

On Tue, Apr 28, 2015 at 9:27 AM, Dimuthu Leelarathne dimut...@wso2.com
wrote:

 Hi all,

 It is with great pleasure that WSO2 welcomes Mahesh Chinthaka as WSO2
 committer!

 Thank you for your hard work. Congratulation!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

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


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


Re: [Dev] Enterprise Store - UI test failures

2015-04-28 Thread Ayesha Dissanayaka
Hi all,

I was able to fix one test class[1] in this[2] commit.
Hope this would be helpful in order to fix other test failures.

Best approach would be to debug test classes one at a time to locate the UI
element mismatches.

[1]
https://github.com/wso2/product-es/blob/e6a6a2b2891f0d436294320436caa09ed9ffae23/modules/integration/tests-ui-integration/tests-ui/src/test/java/org/wso2/es/ui/integration/test/publisher/ESPublisherAddEditAssetTestCase.java
[2]
https://github.com/wso2/product-es/commit/e6a6a2b2891f0d436294320436caa09ed9ffae23

Thanks!
-Ayesha

On Tue, Apr 28, 2015 at 12:46 AM, Rajeenthini Satkunam rajeenth...@wso2.com
 wrote:

 Hi,

 Noted,I will look into this links and I will discuss with team if I need
 further helps on this.

 On Tue, Apr 28, 2015 at 7:52 AM, Ayesha Dissanayaka aye...@wso2.com
 wrote:

 Hi all,

 I think the reason for this test failures should be the recent UI changes
 in ES. The mentioned UI tests were written on top of previous ES UIs and I
 don't think we have re-written them on top of new UI. Hope the team has
 already started working on this.

 Almost all the tests are failing due to unavailability of UI elements,
 which is expected due to the change in UI. So, I think the best way to fix
 this would be to re-generate the tests using selenium record and playback,
 rather than someone going through line by line to map previous UI elements
 to new ones.

 We already have the templates for ES publisher and Store UI test
 generation. And the initial idea of having Selenium UI Test Generation
 for ES is exactly to address this kind of scenarios without much of a
 trouble.

 @Rajeenthini, since you are working on this, below e-mail threads and
 links would be helpful for you. Let me know if you need further help on
 this.

 [1] [Dev][ES] Selenium UI Integration Test Generation
 [2] [ES- Integration Test] Custom WebDriver Class for UI test Automation
 [3]
 http://techspace-ps.blogspot.com/2015/01/selenium-ide-template-for-testng.html
 [4]
 http://asadistechspace.blogspot.com/2014/12/customize-selenium-code-jeneration.html#.VT7oGzlO0c0

 Thanks!
 -Ayesha

 On Tue, Apr 21, 2015 at 6:01 AM, Udara Rathnayake uda...@wso2.com
 wrote:

 Hi Krishantha,

 We are looking into this.

 Regards,
 UdaraR

 On Mon, Apr 20, 2015 at 5:12 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 More test failures in tests-ui module.

 Failed tests:
 testESPublishToStore(org.wso2.es.ui.integration.test.common.ESPublishToStore):
 Timed out after 30 seconds waiting for presence of element located by:
 By.linkText: Add gadget(..)

 setUp(org.wso2.es.ui.integration.test.notifications.ESPublisherNotificationTestCase):
 Timed out after 30 seconds waiting for presence of element located by:
 By.linkText: Add gadget(..)

 tearDown(org.wso2.es.ui.integration.test.notifications.ESPublisherNotificationTestCase)

 testAddAsset(org.wso2.es.ui.integration.test.publisher.ESPublisherTenantAddEditAssetTestCase):
 Timed out after 30 seconds waiting for presence of element located by:
 By.linkText: Add gadget(..)

 testAddAsset(org.wso2.es.ui.integration.test.publisher.ESPublisherTenantAddEditAssetTestCase):
 Timed out after 30 seconds waiting for presence of element located by:
 By.linkText: Add gadget(..)

 testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherSubscriptionTestCase):
 Timed out after 30 seconds waiting for presence of element located by:
 By.linkText: Add gadget(..)

 testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherSubscriptionTestCase):
 Timed out after 30 seconds waiting for presence of element located by:
 By.linkText: Add gadget(..)

 setUp(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantNotificationTestCase):
 Timed out after 30 seconds waiting for presence of element located by:
 By.linkText: Add gadget(..)

 setUp(org.wso2.es.ui.integration.test.store.ESStoreAnonCategorySortingTestCase):
 Timed out after 30 seconds waiting for presence of element located by:
 By.linkText: Add gadget(..)

 tearDown(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantNotificationTestCase)

 testAnonHomePage(org.wso2.es.ui.integration.test.store.ESStoreAnonHomePageTestCase):
 Timed out after 30 seconds waiting for presence of element located by:
 By.selector: div.span3.store-right  div.row  div.span3(..)

 testAnonNavigationLinks(org.wso2.es.ui.integration.test.store.ESStoreAnonHomePageTestCase):
 Recent Gadgets link not working expected [Stacked Line Chart] but found
 [Line Chart]

 testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantSubscriptionTestCase):
 Timed out after 30 seconds waiting for presence of element located by:
 By.linkText: Add gadget(..)

 testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantSubscriptionTestCase):
 Timed out after 30 seconds waiting for presence of element located by:
 By.linkText: Add gadget(..)

 

Re: [Dev] [Orbit] Please review the PR for Spark 1.3.0

2015-04-28 Thread Supun Sethunga
Hi Niranda,

are you referring to this?
 Export-Package
 org.apache.spark.*;version=${spark.version};-split-package:=merge-first
 /Export-Package


Yes exactly. My concern was, what if multiple versions of the same package
were in the same osgi environment..  I know its very highly unlikely, but
IF such a case happens, then I think spark (or any bundle) will pick up
only one of the versions.

Thanks,
Supun

On Mon, Apr 27, 2015 at 10:55 AM, Niranda Perera nira...@wso2.com wrote:

 Hi Supun,

 are you referring to this?
 Export-Package
 org.apache.spark.*;version=${spark.version};-split-package:=merge-first
 /Export-Package

 well, AFAIK what export-package does is, it exposes the org.apache.spark.*
 classes in the OSGI environment. since we are not doing any patching for
 the original classes, I dont think we have to change the version to
 1.3.0.wso2v1

 @sameera, pls correct me if I'm wrong.

 rgds

 On Wed, Apr 22, 2015 at 9:06 AM, Supun Sethunga sup...@wso2.com wrote:

 Hi Sameera/Niranda,

 With parallel to this, Im in the process of migrating the spark Ml-Lib
 and spark streaming versions for product ML. Just wanted to clear myself,
 shouldn't the export-package-version of all spark packages be 1.3.0.wso2v1,
 rather than 1.3.0?

 Thanks,
 Supun

 On Fri, Apr 17, 2015 at 4:39 PM, Niranda Perera nira...@wso2.com wrote:

 oh. are you referring to the
 Bundle-Classpathpatch.jar,./Bundle-Classpath
 line?
 I did not include it in the orbit bundle.

 but I checked the bundles in a fresh carbon server and it seems like the
 patch gets attached successfully.
 ​
  Screenshot from 2015-04-17 16:20:15.png
 https://docs.google.com/a/wso2.com/file/d/0B1GsnfycTl32bDMyNG5DMDhRcHc/edit?usp=drive_web
 ​
 I checked it with BAM pack also.

 bundle-classpath tag, is it mandatory to be in the for the orbit
 bundle, for the patch to get attached?

 the patch pom is as follows

 https://github.com/nirandaperera/carbon-analytics/blob/clustering%2B130%2BMT/components/analytics/analytics-processors/org.wso2.carbon.analytics.spark.patch/pom.xml





 On Thu, Apr 16, 2015 at 3:05 PM, Anjana Fernando anj...@wso2.com
 wrote:

 Niranda, yeah, we would have to put that part to be able to later patch
 it. A sample can be found here [1].

 [1]
 https://github.com/wso2/orbit/blob/master/tomcat/7.0.59.wso2v2/pom.xml

 Cheers,
 Anjana.

 On Thu, Apr 16, 2015 at 3:00 PM, Sameera Jayasoma same...@wso2.com
 wrote:

 I meant to say, do we need to add the patch.jar line to the spark
 bundle as we've done in Tomcat bundle.

 Thanks,
 Sameera.

 On Thu, Apr 16, 2015 at 12:31 PM, Niranda Perera nira...@wso2.com
 wrote:

 Hi Sameera,

 No its not. The patch is in org.wso2.analytics.spark.patch component.
 Its still not committed to carbon - analytics

 Rgds

 On Thu, Apr 16, 2015, 12:17 Sameera Jayasoma same...@wso2.com
 wrote:

 Hi Niranda,

 Does this include fragment-bundle/patch modification also?

 Thanks,
 Sameera.

 On Thu, Apr 16, 2015 at 8:03 AM, Niranda Perera nira...@wso2.com
 wrote:

 Hi,

 Kind reminder on this.

 Best regards

 Niranda Perera
 Software Engineer, WSO2 Inc.
 Mobile: +94-71-554-8430
 Twitter: @n1r44
 On Apr 14, 2015 19:17, Niranda Perera nira...@wso2.com wrote:

 Hi Sameera,

 Could you please review this PR [1] for Spark 1.3.0.

 this upgrades 1.2.1 to 1.3.0. this upgrade is done, because 1.3.0
 comes with some major API changes and we wanted to include those API
 changes before the DAS (BAM) 3.0.0 alpha

 cheers

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

 --
 *Niranda Perera*
 Software Engineer, WSO2 Inc.
 Mobile: +94-71-554-8430
 Twitter: @n1r44 https://twitter.com/N1R44




 --
 Sameera Jayasoma,
 Software Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://blog.sameera.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

 Lean . Enterprise . Middleware




 --
 Sameera Jayasoma,
 Software Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://blog.sameera.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

 Lean . Enterprise . Middleware




 --
 *Anjana Fernando*
 Senior Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware




 --
 *Niranda Perera*
 Software Engineer, WSO2 Inc.
 Mobile: +94-71-554-8430
 Twitter: @n1r44 https://twitter.com/N1R44

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




 --
 *Supun Sethunga*
 Software Engineer
 WSO2, Inc.
 http://wso2.com/
 lean | enterprise | middleware
 Mobile : +94 716546324




 --
 *Niranda Perera*
 Software Engineer, WSO2 Inc.
 Mobile: +94-71-554-8430
 Twitter: @n1r44 https://twitter.com/N1R44




-- 
*Supun Sethunga*
Software Engineer
WSO2, Inc.
http://wso2.com/
lean | enterprise | middleware
Mobile : +94 716546324

Re: [Dev] [Orbit] Please review the PR for Spark 1.3.0

2015-04-28 Thread Niranda Perera
Hi Supun,

let me understand the scenario here.

say there are 2 OSGI bundle in the environment spark v 1.3.0 and spark v
1.2.1 and we have a component org.wso2.analytics.spark.core which imports
org.apache.spark version [1.2.1, 1.4.0).
then AFAIK in the OSGI environment, org.wso2.analytics.spark.core gets
wired to the latest version in the runtime.
@carbon team pls correct me if I'm wrong

but I do not think it has anything to do with the Export-Package tag in
the orbit bundle.

rgds

On Wed, Apr 29, 2015 at 10:22 AM, Supun Sethunga sup...@wso2.com wrote:

 Hi Niranda,

 are you referring to this?
 Export-Package
 org.apache.spark.*;version=${spark.version};-split-package:=merge-first
 /Export-Package


 Yes exactly. My concern was, what if multiple versions of the same package
 were in the same osgi environment..  I know its very highly unlikely, but
 IF such a case happens, then I think spark (or any bundle) will pick up
 only one of the versions.

 Thanks,
 Supun

 On Mon, Apr 27, 2015 at 10:55 AM, Niranda Perera nira...@wso2.com wrote:

 Hi Supun,

 are you referring to this?
 Export-Package
 org.apache.spark.*;version=${spark.version};-split-package:=merge-first
 /Export-Package

 well, AFAIK what export-package does is, it exposes the
 org.apache.spark.* classes in the OSGI environment. since we are not doing
 any patching for the original classes, I dont think we have to change the
 version to 1.3.0.wso2v1

 @sameera, pls correct me if I'm wrong.

 rgds

 On Wed, Apr 22, 2015 at 9:06 AM, Supun Sethunga sup...@wso2.com wrote:

 Hi Sameera/Niranda,

 With parallel to this, Im in the process of migrating the spark Ml-Lib
 and spark streaming versions for product ML. Just wanted to clear myself,
 shouldn't the export-package-version of all spark packages be 1.3.0.wso2v1,
 rather than 1.3.0?

 Thanks,
 Supun

 On Fri, Apr 17, 2015 at 4:39 PM, Niranda Perera nira...@wso2.com
 wrote:

 oh. are you referring to the
 Bundle-Classpathpatch.jar,./Bundle-Classpath
 line?
 I did not include it in the orbit bundle.

 but I checked the bundles in a fresh carbon server and it seems like
 the patch gets attached successfully.
 ​
  Screenshot from 2015-04-17 16:20:15.png
 https://docs.google.com/a/wso2.com/file/d/0B1GsnfycTl32bDMyNG5DMDhRcHc/edit?usp=drive_web
 ​
 I checked it with BAM pack also.

 bundle-classpath tag, is it mandatory to be in the for the orbit
 bundle, for the patch to get attached?

 the patch pom is as follows

 https://github.com/nirandaperera/carbon-analytics/blob/clustering%2B130%2BMT/components/analytics/analytics-processors/org.wso2.carbon.analytics.spark.patch/pom.xml





 On Thu, Apr 16, 2015 at 3:05 PM, Anjana Fernando anj...@wso2.com
 wrote:

 Niranda, yeah, we would have to put that part to be able to later
 patch it. A sample can be found here [1].

 [1]
 https://github.com/wso2/orbit/blob/master/tomcat/7.0.59.wso2v2/pom.xml

 Cheers,
 Anjana.

 On Thu, Apr 16, 2015 at 3:00 PM, Sameera Jayasoma same...@wso2.com
 wrote:

 I meant to say, do we need to add the patch.jar line to the spark
 bundle as we've done in Tomcat bundle.

 Thanks,
 Sameera.

 On Thu, Apr 16, 2015 at 12:31 PM, Niranda Perera nira...@wso2.com
 wrote:

 Hi Sameera,

 No its not. The patch is in org.wso2.analytics.spark.patch
 component. Its still not committed to carbon - analytics

 Rgds

 On Thu, Apr 16, 2015, 12:17 Sameera Jayasoma same...@wso2.com
 wrote:

 Hi Niranda,

 Does this include fragment-bundle/patch modification also?

 Thanks,
 Sameera.

 On Thu, Apr 16, 2015 at 8:03 AM, Niranda Perera nira...@wso2.com
 wrote:

 Hi,

 Kind reminder on this.

 Best regards

 Niranda Perera
 Software Engineer, WSO2 Inc.
 Mobile: +94-71-554-8430
 Twitter: @n1r44
 On Apr 14, 2015 19:17, Niranda Perera nira...@wso2.com wrote:

 Hi Sameera,

 Could you please review this PR [1] for Spark 1.3.0.

 this upgrades 1.2.1 to 1.3.0. this upgrade is done, because 1.3.0
 comes with some major API changes and we wanted to include those API
 changes before the DAS (BAM) 3.0.0 alpha

 cheers

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

 --
 *Niranda Perera*
 Software Engineer, WSO2 Inc.
 Mobile: +94-71-554-8430
 Twitter: @n1r44 https://twitter.com/N1R44




 --
 Sameera Jayasoma,
 Software Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://blog.sameera.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

 Lean . Enterprise . Middleware




 --
 Sameera Jayasoma,
 Software Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://blog.sameera.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

 Lean . Enterprise . Middleware




 --
 *Anjana Fernando*
 Senior Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware




 --
 *Niranda Perera*
 Software Engineer, WSO2 Inc.
 Mobile: 

Re: [Dev] [AppM] Sample Documentation for Outbound Provisioning with Salesfroce

2015-04-28 Thread Ushani Balasooriya
Hi Sajith,

I have included few suggestions in the document.

Thanks!

On Wed, Apr 29, 2015 at 10:37 AM, Sajith Ariyarathna sajit...@wso2.com
wrote:

 Hi,
 I have created this doc [1] for $subject. Please review and comment.

 [1] 
 *https://docs.google.com/a/wso2.com/document/d/15t0ihN1ETpUcrJDm5DuYzjJuDLGGpGm3iIde0hOFRFo/edit?usp=sharing
 https://docs.google.com/a/wso2.com/document/d/15t0ihN1ETpUcrJDm5DuYzjJuDLGGpGm3iIde0hOFRFo/edit?usp=sharing*


 Thanks  Regards.
 ​​

 --
 Sajith Ariyarathna
 Software Engineer; WSO2, Inc.;  http://wso2.com/
 mobile: +94 77 6602284, +94 71 3951048

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




-- 
*Ushani Balasooriya*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; +94772636796
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Build Failure - JiBX Data Binding Sample

2015-04-28 Thread Sewmini Jayaweera
Hi Nadeesha,

Will you please check whether documentation or READ ME file hasn't
mentioned which Java version to be used. If not please open a doc Jira

Thanks  Regards,
Sewmini



Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Wed, Apr 29, 2015 at 9:50 AM, Chathura Priyankara chathu...@wso2.com
wrote:

 Hi Nadeesha,

 I think similar exception is discussed in [1].
 According to that you need to set the JVM option -XX:-UseSplitVerifier
 before executing the binding compiler.

 [1]
 https://wso2.org/jira/si/jira.issueviews:issue-html/CARBON-12931/CARBON-12931.html

 Thanks!
 Best Regards,
 Chathura.

 On Wed, Apr 29, 2015 at 8:42 AM, Nadeesha Meegoda nadees...@wso2.com
 wrote:

 Hi,

 I am running these AS samples, currently running the JiBX and the build
 fails. Has anyone come across this before?

  [bind] Error running binding compiler
  [bind] java.lang.VerifyError: Expecting a stackmap frame at branch
 target 12
  [bind] Exception Details:
  [bind]   Location:
  [bind]
 org/wso2/appserver/jibx/library/beans/Book.JiBX_jibx_unwrapped_newinstance_1_0(Lorg/wso2/appserver/jibx/library/beans/Book;Lorg/jibx/runtime/impl/UnmarshallingContext;)Lorg/wso2/appserver/jibx/library/beans/Book;
 @1: ifnonnull
  [bind]   Reason:
  [bind]Expected stackmap frame at this location.
  [bind] Bytecode:
  [bind] 000: 2ac7 000b bb00 0a59 b700 744b 2ab0
  [bind]
  [bind] at java.lang.Class.getDeclaredMethods0(Native Method)
  [bind] at
 java.lang.Class.privateGetDeclaredMethods(Class.java:2615)
  [bind] at java.lang.Class.getDeclaredMethods(Class.java:1860)
  [bind] at org.jibx.binding.Compile.compile(Compile.java:278)
  [bind] at
 org.jibx.binding.ant.CompileTask.execute(CompileTask.java:248)
  [bind] at
 org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
  [bind] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown
 Source)
  [bind] at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  [bind] at java.lang.reflect.Method.invoke(Method.java:606)
  [bind] at
 org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  [bind] at org.apache.tools.ant.Task.perform(Task.java:348)
  [bind] at org.apache.tools.ant.Target.execute(Target.java:435)
  [bind] at
 org.apache.tools.ant.Target.performTasks(Target.java:456)
  [bind] at
 org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
  [bind] at
 org.apache.tools.ant.Project.executeTarget(Project.java:1364)
  [bind] at
 org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
  [bind] at
 org.apache.tools.ant.Project.executeTargets(Project.java:1248)
  [bind] at org.apache.tools.ant.Main.runBuild(Main.java:851)
  [bind] at org.apache.tools.ant.Main.startAnt(Main.java:235)
  [bind] at
 org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
  [bind] at
 org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
  [bind]

 BUILD FAILED
 /home/nadeesham/Documents/Products/wso2as-5.2.1/samples/Jibx/build.xml:89:
 JiBXException in JiBX binding compilation


 Any Input regarding this is highly appreciated.

 Thanks
 --
 *Nadeesha Meegoda*
 Software Engineer - QA
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware
 email : nadees...@wso2.com
 mobile: +94783639540
 %2B94%2077%202273555

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




 --
 Chathura Priyankara
 Software Engineer | WSO2 Inc.
 Mobile : +94718795340
 Blog : www.codeoncloud.blogspot.com

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


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


Re: [Dev] Rest API used by Dev Studio

2015-04-28 Thread Danushka Fernando
Hi Jasintha and DevS team

all the references from

/appmgt/site/blocks/build/* and /appmgt/site/blocks/buildandrepo/* are
getting moved to

appmgt/site/blocks/reposBuilds/* in next version of AF.

Please update your code accordingly for next version.

Thanks  Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729

On Wed, Apr 29, 2015 at 10:29 AM, Rajeevan Vimalanathan rajeev...@wso2.com
wrote:

 Hi All,

 To add with Jasintha, In addition to the above, DevStudio is also using
 login, logout, and getTenantDisplayNames(It is an Admin service).

 Thanks,
 Rajeevan

 On Wed, Apr 29, 2015 at 10:13 AM, Jasintha Dasanayake jasin...@wso2.com
 wrote:

 Hi Dimuthu /Manisha

 FYI, following is the list of API calls are used by Developer Studio App
 Factory tools.

 *List of Jag files*

- /appmgt/site/blocks/application/get/ajax/list.jag
- /appmgt/site/blocks/user/login/ajax/login.jag
- /appmgt/site/blocks/build/list/ajax/list.jag
- /appmgt/site/blocks/build/get/ajax/get.jag
- /appmgt/site/blocks/buildandrepo/list/ajax/list.jag
- /appmgt/site/blocks/lifecycle/add/ajax/add.jag
- /appmgt/site/blocks/application/users/get/ajax/list.jag
- /appmgt/site/blocks/rssmanager/add/ajax/add.jag
- /appmgt/site/blocks/resources/datasource/get/ajax/list.jag
- /appmgt/site/blocks/buildandrepo/list/ajax/list.jag


 *List of Actions*

- getApplicationsOfUser
- getAppVersionsInStage
- buildinfobyappid
- getBuildLogsUrl
- getbuildandrepodata
- getbuildandrepodataforkedrepo
- createArtifact
- getUsersOfApplication
- getDbUserTemplateInfoForStages
- getDataSourceInfoUrl

 Thanks and Regards
 /Jasintha

 On Wed, Apr 29, 2015 at 9:34 AM, Manisha Gayathri mani...@wso2.com
 wrote:



 On Wed, Apr 29, 2015 at 5:24 AM, Dimuthu Leelarathne dimut...@wso2.com
 wrote:

 Hi all,

 Could we have a list of methods used by the dev studio?

 Please note the following methods are proposed to be removed from the
 code.



 When I checked the code, found that only below actions are being used in
 DevS according to
 org.wso2.developerstudio.appfactory.core.jag.api.JagApiProperties class

 public static  final String USER_APP_LIST__ACTION =
 getApplicationsOfUser;
 public static final String App_NIFO_ACTION = getAppVersionsInStage;
 public static final String App_BUILD_NUMBER_ACTION = buildinfobyappid;
 public static final String App_BUILD_URL_ACTIONL = getBuildLogsUrl;
 public static final String App_BUILD_INFO_ACTION =getbuildandrepodata;
 public static final String FORKED_REPO_INFO_ACTION =
 getbuildandrepodataforkedrepo;
 public static final String App_BUILD_ACTION =createArtifact;
 public static final String App_USERS_ROLES_ACTION
 =getUsersOfApplication;
 public static final String App_DB_INFO_ACTION =
 getDbUserTemplateInfoForStages;
 public static final String App_DS_INFO_ACTION = getDatasources;

 Only 2 out of the following list in used in DevS.


 checkSystemStatus

 newKey

 getUniqueAppVersions

 initAppVersion

 containsApplication

 getAppCountInStage

 getApplicationsOfUser - this is used in devS

 getAllAppVersionsInStage

 getAppVersionsInStage - this is used in devS

 getAllAppVersionsInStages

 getAppVersionsInStagesWithMetaData

 getMetaDataForAppVersion

 getRetiredVersions

 getLatestBuildSuccessInfo

 getBuildableStages


 thanks,

 dimuthu



 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware




 --
 ~Regards
 *Manisha Eleperuma*
 Senior Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware

 *blog:  http://manisha-eleperuma.blogspot.com/
 http://manisha-eleperuma.blogspot.com/*
 *mobile:  +94 71 8279777 %2B94%2071%208279777*




 --

 *Jasintha Dasanayake*

 *Senior Software EngineerWSO2 Inc. | http://wso2.com
 http://wso2.com/lean . enterprise . middleware*


 *mobile :- 0711368118*

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




 --

 Vimalanathan Rajeevan
 Software Engineer
 WSO2 Inc.:http://wso2.com
 lean.enterprise.middleware


 Mobile : +94 773090875

 ___
 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] Password conditions of secure endpoints in API Manager

2015-04-28 Thread Madusanka Premaratne
Hi Saneth
There are no such restrictions/conditions.
As I said before the given username and password use only to generate basic
HTTP Authorization header.

Thanks,
Madusanka

On Wed, Apr 29, 2015 at 11:14 AM, Saneth Dharmakeerthi sane...@wso2.com
wrote:

 HI Madusanka/Swmini,

 Thanks for your response,

 But actually what I want to know is , whether there is any condition
 regarding the format of the password like what characters it can have or
 what characters it can't?


 Thanks and Best Regards,

 Saneth Dharmakeerthi
 Senior Software Engineer
 WSO2, Inc.
 Mobile: +94772325511

 On Wed, Apr 29, 2015 at 10:49 AM, Sewmini Jayaweera sewm...@wso2.com
 wrote:

 Hi Saneth,

 As per my knowledge this is used once we have a backend which is secured.

 For an example;
 say you have hello service hosted in WSO2 application server which is
 secured using UsernameToken and your API is pointing to that service. In an
 intense like that you need to give user credentials which you used to
 secure back end (It will be a user's credentials registered in AS).

 When a client is accessing this service through the API, he should be
 invoke the API as usual. (Since we have given user credentials of the
 secured backend when creating the API )

 Cheers!
 Sewmini

 Sewmini Jayaweera
 *Software Engineer - QA Team*
 Mobile: +94 (0) 773 381 250
 sewm...@wso2.com

 On Wed, Apr 29, 2015 at 9:03 AM, Saneth Dharmakeerthi sane...@wso2.com
 wrote:

 Hi APIM team,

 When we configure a API endpoint as a secure endpoint,Is there any
 conditions regarding the password?


 Thanks and Best Regards,

 Saneth Dharmakeerthi
 Senior Software Engineer
 WSO2, Inc.
 Mobile: +94772325511

 ___
 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




-- 
*Madusanka Premaratne* | Associate Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 835 70 73| Work: +94 112 145 345
Email: madusan...@wso2.com | Web: www.wso2.com

[image: Facebook] https://www.facebook.com/maduzanka [image: Twitter]
https://twitter.com/rmmpremaratne [image: Google Plus]
https://plus.google.com/u/0/+MadusankaPremaratnemaduz/about/p/pub [image:
Linkedin] http://lk.linkedin.com/in/madusanka/ [image: Instagram]
http://instagram.com/madusankapremaratne [image: Skype]
http://@rmmpremaratne
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [App Factory] How to execute init methods only once in integration tests base class

2015-04-28 Thread Nuwan Wimalasekara
Hi Samith,
Yes. You can use @BeforeSuite as well. But if you have more than one test
suites in a test module, It will execute each and every time before test
suite is running. If you have only one test suite, Both options doing the
same thing.

Thanks,
Nuwanw

On Tue, Apr 28, 2015 at 8:07 PM, Samith Dassanayake sam...@wso2.com wrote:

 Hi Nuwan,

 If the requirement is to call those methods once for all the tests, isn't
 it better to use @BeforeSuite(Instead of @BeforeTest)  annotation or
 an extension using SuiteListenerExtension?

 Thanks,
 Samith

 On Wed, Apr 29, 2015 at 8:09 AM, Nuwan Wimalasekara nuw...@wso2.com
 wrote:

 Hi Punnadi,
 You can use @BeforTest annotation to execute a method only one time for a
 test package. if you need to execute this method one time for all the test
 classes in particular test module, You can write a extension class and
 configure it in automation.xml to execute before test execution.

 https://docs.wso2.com/display/TA430/TestNG+Listeners

 Thanks,
 Nuwanw

 On Tue, Apr 28, 2015 at 4:47 PM, Punnadi Gunarathna punn...@wso2.com
 wrote:

 Hi All,

 Currently initWithTenantCreation method in AppFactoryIntegrationTest
 class [1] is being called from all the test cases via their
 setEnvironment method [2].
 initWithTenantCreation method is used to populate tenant, default
 application. Is it possible to execute this type of methods once for all
 the test cases, rather than calling them for each test case separately.
 Please advice.

 [1]
 https://github.com/wso2/product-af/blob/master/modules/integration/integration-test-utils/src/main/java/org/wso2/appfactory/integration/test/utils/AppFactoryIntegrationTest.java
 [2]
 https://github.com/wso2/product-af/tree/master/modules/integration/tests-integration/tests-scenarios/src/test/java/org/wso2/appfactory/tests/scenarios
 --
 Thanks and Regards,

 Punnadi Gunarathna
 Senior Software Engineer,
 WSO2, Inc.; http://wso2.com http://wso2
 Blog: http://hi-my-world.blogspot.com/
 Tel : 94 11 214 5345
 Fax :94 11 2145300



  http://lalajisureshika.blogspot.com/




 --
 Nuwan Wimalasekara
 Senior Software Engineer - Test Automation
 WSO2, Inc.: http://wso2.com
 lean. enterprise. middleware

 phone: +94 71 668 4620




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




 --
 Best Regards

 Samith Dassanayake
 Software Engineer | Cloud TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +947 76207351




-- 
Nuwan Wimalasekara
Senior Software Engineer - Test Automation
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

phone: +94 71 668 4620
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Madhawa Gunasekara
Congratulations Mahesh

On Wed, Apr 29, 2015 at 8:57 AM, Madhuranga Bandara madhura...@wso2.com
wrote:

 Congratulations Mahesh... !!!

 *Madhuranga Sampath Bandara*
 Software Engineer

 WSO2, Inc.;http://wso2.com/
 http://www.google.com/url?q=http%3A%2F%2Fwso2.com%2Fsa=Dsntz=1usg=AFQjCNGJuLRux6KkJwXKVUCYOtEsNCmIAQ
 lean.enterprise.middleware
 Mobile: +94722241065

 On Tue, Apr 28, 2015 at 9:27 AM, Dimuthu Leelarathne dimut...@wso2.com
 wrote:

 Hi all,

 It is with great pleasure that WSO2 welcomes Mahesh Chinthaka as WSO2
 committer!

 Thank you for your hard work. Congratulation!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

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



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




-- 
*Madhawa Gunasekara*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 719411002 +94+719411002
blog: *http://madhawa-gunasekara.blogspot.com
http://madhawa-gunasekara.blogspot.com*
linkedin: *http://lk.linkedin.com/in/mgunasekara
http://lk.linkedin.com/in/mgunasekara*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Rest API used by Dev Studio

2015-04-28 Thread Jasintha Dasanayake
Hi Dimuthu /Manisha

FYI, following is the list of API calls are used by Developer Studio App
Factory tools.

*List of Jag files*

   - /appmgt/site/blocks/application/get/ajax/list.jag
   - /appmgt/site/blocks/user/login/ajax/login.jag
   - /appmgt/site/blocks/build/list/ajax/list.jag
   - /appmgt/site/blocks/build/get/ajax/get.jag
   - /appmgt/site/blocks/buildandrepo/list/ajax/list.jag
   - /appmgt/site/blocks/lifecycle/add/ajax/add.jag
   - /appmgt/site/blocks/application/users/get/ajax/list.jag
   - /appmgt/site/blocks/rssmanager/add/ajax/add.jag
   - /appmgt/site/blocks/resources/datasource/get/ajax/list.jag
   - /appmgt/site/blocks/buildandrepo/list/ajax/list.jag


*List of Actions*

   - getApplicationsOfUser
   - getAppVersionsInStage
   - buildinfobyappid
   - getBuildLogsUrl
   - getbuildandrepodata
   - getbuildandrepodataforkedrepo
   - createArtifact
   - getUsersOfApplication
   - getDbUserTemplateInfoForStages
   - getDataSourceInfoUrl

Thanks and Regards
/Jasintha

On Wed, Apr 29, 2015 at 9:34 AM, Manisha Gayathri mani...@wso2.com wrote:



 On Wed, Apr 29, 2015 at 5:24 AM, Dimuthu Leelarathne dimut...@wso2.com
 wrote:

 Hi all,

 Could we have a list of methods used by the dev studio?

 Please note the following methods are proposed to be removed from the
 code.



 When I checked the code, found that only below actions are being used in
 DevS according to
 org.wso2.developerstudio.appfactory.core.jag.api.JagApiProperties class

 public static  final String USER_APP_LIST__ACTION =
 getApplicationsOfUser;
 public static final String App_NIFO_ACTION = getAppVersionsInStage;
 public static final String App_BUILD_NUMBER_ACTION = buildinfobyappid;
 public static final String App_BUILD_URL_ACTIONL = getBuildLogsUrl;
 public static final String App_BUILD_INFO_ACTION =getbuildandrepodata;
 public static final String FORKED_REPO_INFO_ACTION =
 getbuildandrepodataforkedrepo;
 public static final String App_BUILD_ACTION =createArtifact;
 public static final String App_USERS_ROLES_ACTION =getUsersOfApplication;
 public static final String App_DB_INFO_ACTION =
 getDbUserTemplateInfoForStages;
 public static final String App_DS_INFO_ACTION = getDatasources;

 Only 2 out of the following list in used in DevS.


 checkSystemStatus

 newKey

 getUniqueAppVersions

 initAppVersion

 containsApplication

 getAppCountInStage

 getApplicationsOfUser - this is used in devS

 getAllAppVersionsInStage

 getAppVersionsInStage - this is used in devS

 getAllAppVersionsInStages

 getAppVersionsInStagesWithMetaData

 getMetaDataForAppVersion

 getRetiredVersions

 getLatestBuildSuccessInfo

 getBuildableStages


 thanks,

 dimuthu



 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware




 --
 ~Regards
 *Manisha Eleperuma*
 Senior Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware

 *blog:  http://manisha-eleperuma.blogspot.com/
 http://manisha-eleperuma.blogspot.com/*
 *mobile:  +94 71 8279777 %2B94%2071%208279777*




-- 

*Jasintha Dasanayake*

*Senior Software EngineerWSO2 Inc. | http://wso2.com http://wso2.com/lean
. enterprise . middleware*


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


[Dev] [IS] Account Locking Data Flow Clarifications:

2015-04-28 Thread Damith Senanayake
Hi,

I have been trying to fix a bug [ https://wso2.org/jira/browse/IDENTITY-3235
https://www.google.com/url?q=https%3A%2F%2Fwso2.org%2Fjira%2Fbrowse%2FIDENTITY-3235sa=Dsntz=1usg=AFQjCNErzS46IPaEGxwAFhOKGDQUPlmZdA
] and I have noticed that when we try to login from the Primary domain, the
UserStoreManager( a ReadWriteLDAPUserStoreManager ) contains the
'userCache' member which has stored the logged in users from the primary
domain. However, if we have a secondary user store (A jdbc store, say) the
same cannot be found.

I am having trouble understanding how the locked users are stored in this
information flow. For instance, if a user from the primary domain gets
locked with max number of failed attempts, that information is stored in
the userClaimsDo instance pertaining to that user, in the
userIdentityDataMap. And then this user is put into a cache. What I need to
know is, is it intended to be non-persistent (the locked details go away
when we restart the server) or is there a persistent storage mechanism
involved.

Secondly, I am trying to figure out where the userStore domain information
is stored in  one these user instances at the back end. Any idea where to
start looking for that?


Thanks.
-- 
*-Damith Senanayake-*
+94712205272
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] Account Locking Data Flow Clarifications:

2015-04-28 Thread Tharindu Edirisinghe
Hi Damith,

You can refer [1]  for enabling the Account Lock feature in Identity
Server. You have to add the following claims in the wso2.org claim dialect.
(accountLocked claim is already there by default. You need to add the other
two)



   - http://wso2.org/claims/identity/accountLocked

  mapped attribute - initials


   - http://wso2.org/claims/identity/unlockTime

 mapped attribute - unlockTime


   - http://wso2.org/claims/identity/failedLoginAttempts

 mapped attribute - failedLoginAttempts

The values for above are actually persisted. If the user is in LDAP and
when the feature is activated you'll see corresponding values in
'initials', 'unlockTime' and 'failedLoginAttempts' attributes if you browse
the LDAP using ApacheDS.

If you are using a JDBC (database) userstore, you can see those values in
the UM_USER_ATTRIBUTE table.

Note that for accountLocked claim, we give the attribute name as initials
because in WSO2 LDAP schema, there is no attribute defined with the name
accountLocked. Therefore we use an existing attribute such as initials
which will contain true/false to show that the user account is locked or
not.

If you need more help, let me know.

[1] https://docs.wso2.com/pages/viewpage.action?pageId=34612027

Regards,
TharinduE

On Wed, Apr 29, 2015 at 10:54 AM, Damith Senanayake dami...@wso2.com
wrote:

 Hi,

 I have been trying to fix a bug [
 https://wso2.org/jira/browse/IDENTITY-3235
 https://www.google.com/url?q=https%3A%2F%2Fwso2.org%2Fjira%2Fbrowse%2FIDENTITY-3235sa=Dsntz=1usg=AFQjCNErzS46IPaEGxwAFhOKGDQUPlmZdA
 ] and I have noticed that when we try to login from the Primary domain, the
 UserStoreManager( a ReadWriteLDAPUserStoreManager ) contains the
 'userCache' member which has stored the logged in users from the primary
 domain. However, if we have a secondary user store (A jdbc store, say) the
 same cannot be found.

 I am having trouble understanding how the locked users are stored in this
 information flow. For instance, if a user from the primary domain gets
 locked with max number of failed attempts, that information is stored in
 the userClaimsDo instance pertaining to that user, in the
 userIdentityDataMap. And then this user is put into a cache. What I need to
 know is, is it intended to be non-persistent (the locked details go away
 when we restart the server) or is there a persistent storage mechanism
 involved.

 Secondly, I am trying to figure out where the userStore domain information
 is stored in  one these user instances at the back end. Any idea where to
 start looking for that?


 Thanks.
 --
 *-Damith Senanayake-*
 +94712205272

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




-- 

Tharindu Edirisinghe
Software Engineer | WSO2 Inc
Identity Server Team
mobile : +94 775 181586
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Password conditions of secure endpoints in API Manager

2015-04-28 Thread Saneth Dharmakeerthi
HI Madusanka/Swmini,

Thanks for your response,

But actually what I want to know is , whether there is any condition
regarding the format of the password like what characters it can have or
what characters it can't?


Thanks and Best Regards,

Saneth Dharmakeerthi
Senior Software Engineer
WSO2, Inc.
Mobile: +94772325511

On Wed, Apr 29, 2015 at 10:49 AM, Sewmini Jayaweera sewm...@wso2.com
wrote:

 Hi Saneth,

 As per my knowledge this is used once we have a backend which is secured.

 For an example;
 say you have hello service hosted in WSO2 application server which is
 secured using UsernameToken and your API is pointing to that service. In an
 intense like that you need to give user credentials which you used to
 secure back end (It will be a user's credentials registered in AS).

 When a client is accessing this service through the API, he should be
 invoke the API as usual. (Since we have given user credentials of the
 secured backend when creating the API )

 Cheers!
 Sewmini

 Sewmini Jayaweera
 *Software Engineer - QA Team*
 Mobile: +94 (0) 773 381 250
 sewm...@wso2.com

 On Wed, Apr 29, 2015 at 9:03 AM, Saneth Dharmakeerthi sane...@wso2.com
 wrote:

 Hi APIM team,

 When we configure a API endpoint as a secure endpoint,Is there any
 conditions regarding the password?


 Thanks and Best Regards,

 Saneth Dharmakeerthi
 Senior Software Engineer
 WSO2, Inc.
 Mobile: +94772325511

 ___
 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] Build Failure - JiBX Data Binding Sample

2015-04-28 Thread Nadeesha Meegoda
Thanks for the responses. I found it in the READ ME and followed the steps
from the above response from Chathura.


Regards,

On Wed, Apr 29, 2015 at 11:07 AM, Sewmini Jayaweera sewm...@wso2.com
wrote:

 Hi Nadeesha,

 Will you please check whether documentation or READ ME file hasn't
 mentioned which Java version to be used. If not please open a doc Jira

 Thanks  Regards,
 Sewmini



 Sewmini Jayaweera
 *Software Engineer - QA Team*
 Mobile: +94 (0) 773 381 250
 sewm...@wso2.com

 On Wed, Apr 29, 2015 at 9:50 AM, Chathura Priyankara chathu...@wso2.com
 wrote:

 Hi Nadeesha,

 I think similar exception is discussed in [1].
 According to that you need to set the JVM option -XX:-UseSplitVerifier
 before executing the binding compiler.

 [1]
 https://wso2.org/jira/si/jira.issueviews:issue-html/CARBON-12931/CARBON-12931.html

 Thanks!
 Best Regards,
 Chathura.

 On Wed, Apr 29, 2015 at 8:42 AM, Nadeesha Meegoda nadees...@wso2.com
 wrote:

 Hi,

 I am running these AS samples, currently running the JiBX and the build
 fails. Has anyone come across this before?

  [bind] Error running binding compiler
  [bind] java.lang.VerifyError: Expecting a stackmap frame at branch
 target 12
  [bind] Exception Details:
  [bind]   Location:
  [bind]
 org/wso2/appserver/jibx/library/beans/Book.JiBX_jibx_unwrapped_newinstance_1_0(Lorg/wso2/appserver/jibx/library/beans/Book;Lorg/jibx/runtime/impl/UnmarshallingContext;)Lorg/wso2/appserver/jibx/library/beans/Book;
 @1: ifnonnull
  [bind]   Reason:
  [bind]Expected stackmap frame at this location.
  [bind] Bytecode:
  [bind] 000: 2ac7 000b bb00 0a59 b700 744b 2ab0
  [bind]
  [bind] at java.lang.Class.getDeclaredMethods0(Native Method)
  [bind] at
 java.lang.Class.privateGetDeclaredMethods(Class.java:2615)
  [bind] at java.lang.Class.getDeclaredMethods(Class.java:1860)
  [bind] at org.jibx.binding.Compile.compile(Compile.java:278)
  [bind] at
 org.jibx.binding.ant.CompileTask.execute(CompileTask.java:248)
  [bind] at
 org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
  [bind] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown
 Source)
  [bind] at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  [bind] at java.lang.reflect.Method.invoke(Method.java:606)
  [bind] at
 org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  [bind] at org.apache.tools.ant.Task.perform(Task.java:348)
  [bind] at org.apache.tools.ant.Target.execute(Target.java:435)
  [bind] at
 org.apache.tools.ant.Target.performTasks(Target.java:456)
  [bind] at
 org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
  [bind] at
 org.apache.tools.ant.Project.executeTarget(Project.java:1364)
  [bind] at
 org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
  [bind] at
 org.apache.tools.ant.Project.executeTargets(Project.java:1248)
  [bind] at org.apache.tools.ant.Main.runBuild(Main.java:851)
  [bind] at org.apache.tools.ant.Main.startAnt(Main.java:235)
  [bind] at
 org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
  [bind] at
 org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
  [bind]

 BUILD FAILED
 /home/nadeesham/Documents/Products/wso2as-5.2.1/samples/Jibx/build.xml:89:
 JiBXException in JiBX binding compilation


 Any Input regarding this is highly appreciated.

 Thanks
 --
 *Nadeesha Meegoda*
 Software Engineer - QA
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware
 email : nadees...@wso2.com
 mobile: +94783639540
 %2B94%2077%202273555

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




 --
 Chathura Priyankara
 Software Engineer | WSO2 Inc.
 Mobile : +94718795340
 Blog : www.codeoncloud.blogspot.com

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





-- 
*Nadeesha Meegoda*
Software Engineer - QA
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
email : nadees...@wso2.com
mobile: +94783639540
%2B94%2077%202273555
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Orbit] Please review the PR for Spark 1.3.0

2015-04-28 Thread Kasun Gajasinghe
Hi Niranda,

Can you also fix the import-packages to not have star imports with resolution 
optional?

Thanks. 

 On Apr 28, 2015, at 1:50 PM, Niranda Perera nira...@wso2.com wrote:
 
 @Kasun thank you for the clarification 
 
 I have made the adjustments. can you please check it? 
 
 rgds
 
 On Mon, Apr 27, 2015 at 11:16 AM, KasunG Gajasinghe kas...@wso2.com wrote:
 Hi Niranda,
 
 The Bundle-Classpath tag is as mentioned above is required to over-ride the 
 classes in the original orbit bundle. Since both the orbit bundle, and 
 patched bundle have the same classes, we need to instruct to give precedence 
 to the patch.jar. Hence, the above tag is required. 
 
 The bundles will be resolved fine, but the over-riding may or may not 
 happen. So, can you add this tag? Further, there are some pending comments 
 in the PR.
 
 Thanks.
 
 On Mon, Apr 27, 2015 at 10:55 AM, Niranda Perera nira...@wso2.com wrote:
 Hi Supun, 
 
 are you referring to this?
 Export-Package
 org.apache.spark.*;version=${spark.version};-split-package:=merge-first
 /Export-Package
 
 well, AFAIK what export-package does is, it exposes the org.apache.spark.* 
 classes in the OSGI environment. since we are not doing any patching for 
 the original classes, I dont think we have to change the version to 
 1.3.0.wso2v1
 
 @sameera, pls correct me if I'm wrong. 
 
 rgds
 
 On Wed, Apr 22, 2015 at 9:06 AM, Supun Sethunga sup...@wso2.com wrote:
 Hi Sameera/Niranda,
 
 With parallel to this, Im in the process of migrating the spark Ml-Lib and 
 spark streaming versions for product ML. Just wanted to clear myself, 
 shouldn't the export-package-version of all spark packages be 
 1.3.0.wso2v1, rather than 1.3.0?
 
 Thanks,
 Supun
 
 On Fri, Apr 17, 2015 at 4:39 PM, Niranda Perera nira...@wso2.com wrote:
 oh. are you referring to the 
 Bundle-Classpathpatch.jar,./Bundle-Classpath 
 line?
 I did not include it in the orbit bundle.
 
 but I checked the bundles in a fresh carbon server and it seems like the 
 patch gets attached successfully.
 ​
  Screenshot from 2015-04-17 16:20:15.png
 ​
 I checked it with BAM pack also. 
 
 bundle-classpath tag, is it mandatory to be in the for the orbit 
 bundle, for the patch to get attached?
 
 the patch pom is as follows 
 https://github.com/nirandaperera/carbon-analytics/blob/clustering%2B130%2BMT/components/analytics/analytics-processors/org.wso2.carbon.analytics.spark.patch/pom.xml
 
 
 
 
 
 On Thu, Apr 16, 2015 at 3:05 PM, Anjana Fernando anj...@wso2.com wrote:
 Niranda, yeah, we would have to put that part to be able to later patch 
 it. A sample can be found here [1].
 
 [1] 
 https://github.com/wso2/orbit/blob/master/tomcat/7.0.59.wso2v2/pom.xml
 
 Cheers,
 Anjana.
 
 On Thu, Apr 16, 2015 at 3:00 PM, Sameera Jayasoma same...@wso2.com 
 wrote:
 I meant to say, do we need to add the patch.jar line to the spark 
 bundle as we've done in Tomcat bundle.
 
 Thanks,
 Sameera.
 
 On Thu, Apr 16, 2015 at 12:31 PM, Niranda Perera nira...@wso2.com 
 wrote:
 Hi Sameera,
 
 No its not. The patch is in org.wso2.analytics.spark.patch component. 
 Its still not committed to carbon - analytics
 
 Rgds
 
 On Thu, Apr 16, 2015, 12:17 Sameera Jayasoma same...@wso2.com wrote:
 Hi Niranda,
 
 Does this include fragment-bundle/patch modification also?
 
 Thanks,
 Sameera.
 
 On Thu, Apr 16, 2015 at 8:03 AM, Niranda Perera nira...@wso2.com 
 wrote:
 Hi,
 
 Kind reminder on this.
 
 Best regards
 
 Niranda Perera
 Software Engineer, WSO2 Inc.
 Mobile: +94-71-554-8430
 Twitter: @n1r44
 
 On Apr 14, 2015 19:17, Niranda Perera nira...@wso2.com wrote:
 Hi Sameera, 
 
 Could you please review this PR [1] for Spark 1.3.0. 
 
 this upgrades 1.2.1 to 1.3.0. this upgrade is done, because 1.3.0 
 comes with some major API changes and we wanted to include those 
 API changes before the DAS (BAM) 3.0.0 alpha
 
 cheers
 
 [1] https://github.com/wso2/orbit/pull/83
 
 -- 
 Niranda Perera
 Software Engineer, WSO2 Inc.
 Mobile: +94-71-554-8430
 Twitter: @n1r44
 
 
 
 -- 
 Sameera Jayasoma,
 Software Architect,
 
 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://blog.sameera.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456
 
 Lean . Enterprise . Middleware
 
 
 
 
 
 -- 
 Sameera Jayasoma,
 Software Architect,
 
 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://blog.sameera.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456
 
 Lean . Enterprise . Middleware
 
 
 
 
 
 -- 
 Anjana Fernando
 Senior Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware
 
 
 
 -- 
 Niranda Perera
 Software Engineer, WSO2 Inc.
 Mobile: +94-71-554-8430
 Twitter: @n1r44
 
 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev
 
 
 
 
 -- 
 Supun Sethunga
 

Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Kasun De Silva
Congrats Mahesh!!

*Kasun de Silva*
Software Engineer | *WSO2 Inc.*; http://wso2.com
lean.enterprise.middleware

email   : kas...@wso2.com
mobile : +94 77 794 4260


On Tue, Apr 28, 2015 at 7:59 AM, Harsha Thirimanna - WSO2, Inc. 
hars...@wso2.com wrote:

 Congrats Mahesh !!
 On Apr 28, 2015 7:30 PM, Dan Martin dpm.myw...@gmail.com wrote:

 unsubscribe

 On Mon, Apr 27, 2015 at 11:57 PM, Dimuthu Leelarathne dimut...@wso2.com
 wrote:

 Hi all,

 It is with great pleasure that WSO2 welcomes Mahesh Chinthaka as WSO2
 committer!

 Thank you for your hard work. Congratulation!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

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



 ___
 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


Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Lasitha Wattaladeniya
Congratulations Mahesh !

On Tue, Apr 28, 2015 at 10:18 PM, Kasun De Silva kas...@wso2.com wrote:

 Congrats Mahesh!!

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


 On Tue, Apr 28, 2015 at 7:59 AM, Harsha Thirimanna - WSO2, Inc. 
 hars...@wso2.com wrote:

 Congrats Mahesh !!
 On Apr 28, 2015 7:30 PM, Dan Martin dpm.myw...@gmail.com wrote:

 unsubscribe

 On Mon, Apr 27, 2015 at 11:57 PM, Dimuthu Leelarathne dimut...@wso2.com
  wrote:

 Hi all,

 It is with great pleasure that WSO2 welcomes Mahesh Chinthaka as WSO2
 committer!

 Thank you for your hard work. Congratulation!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

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



 ___
 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




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


Re: [Dev] Any available module for jaggery to get oAuth tokens?

2015-04-28 Thread Dulitha Wijewantha
Yeah, that's the service URL to get tokens, but I am looking for an api to
get the tokens. Since there is no such API available, shall I improve the
oAuth module to perform this function?

On Fri, Apr 24, 2015 at 7:33 PM, Madusanka Premaratne madusan...@wso2.com
wrote:

 Hi Dulitha,
 You can call to https://localhost:8243/token to get both refresh_token
 and access_token
 Have a look at the following curl command
 curl -k -d grant_type=passwordusername=adminpassword=admin -H
 Authorization: Basic
 bmU5X015dDNKWGxuTDRNWjhrbnlFdDM3cGRvYTpTSEtCOTZoX0RjeGVlMnQ0eG9JZlhMUERRRHdh,
 Content-Type: application/x-www-form-urlencoded
 https://localhost:8243/token

 Thanks,
 Madusanka

 On Fri, Apr 24, 2015 at 5:14 PM, Dulitha Wijewantha duli...@wso2.com
 wrote:

 Hi guys,
 Is there are any available module for jaggery (or Java) that can be
 called to obtain oAuth 2 tokens from API Manager? I looked into the oauth
 module [1] in jaggery but it doesn't seem to return refresh tokens.

 My use-case is to obtain access/refresh tokens for Password/SAML Grant
 Type from a Jaggery app.

 [1] -
 https://github.com/wso2/jaggery-extensions/blob/master/oauth/resources/org.jaggeryjs.modules.oauth/src/main/java/org/jaggeryjs/modules/oauth/OAuthHostObject.java

 Cheers~

 --
 Dulitha Wijewantha (Chan)
 Software Engineer - Mobile Development
 WSO2 Inc
 Lean.Enterprise.Middleware
  * ~Email   duli...@wso2.com duli...@wso2mobile.com*
 *  ~Mobile +94712112165 %2B94712112165*
 *  ~Website   dulitha.me http://dulitha.me*
 *  ~Twitter @dulitharw https://twitter.com/dulitharw*
   *~Github @dulichan https://github.com/dulichan*
   *~SO @chan http://stackoverflow.com/users/813471/chan*

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




 --
 *Madusanka Premaratne* | Associate Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 835 70 73| Work: +94 112 145 345
 Email: madusan...@wso2.com | Web: www.wso2.com

 [image: Facebook] https://www.facebook.com/maduzanka [image: Twitter]
 https://twitter.com/rmmpremaratne [image: Google Plus]
 https://plus.google.com/u/0/+MadusankaPremaratnemaduz/about/p/pub [image:
 Linkedin] http://lk.linkedin.com/in/madusanka/ [image: Instagram]
 http://instagram.com/madusankapremaratne [image: Skype]
 http://@rmmpremaratne




-- 
Dulitha Wijewantha (Chan)
Software Engineer - Mobile Development
WSO2 Inc
Lean.Enterprise.Middleware
 * ~Email   duli...@wso2.com duli...@wso2mobile.com*
*  ~Mobile +94712112165*
*  ~Website   dulitha.me http://dulitha.me*
*  ~Twitter @dulitharw https://twitter.com/dulitharw*
  *~Github @dulichan https://github.com/dulichan*
  *~SO @chan http://stackoverflow.com/users/813471/chan*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Reading zip file form VFS

2015-04-28 Thread Manuranga Perera
Hi Malaka, Ravi
this is not same as using VFS, since in task approach I have to take into
account what happens when multiple files come in. there will be much more
code i have to write if I am using task.

so why is task better approach?

On Tue, Apr 28, 2015 at 10:26 AM, Shakila Sivagnanarajah shak...@wso2.com
wrote:

 Hi,

 AFIK we can improve file connector with this feature. We have a method in
 file connector to append content into a file. And we can read a file and
 process the content using VFS. As Ravi and Malaka mentioned, we can trigger
 the proxy using polling transport.

 On Tue, Apr 28, 2015 at 10:00 AM, Malaka Silva mal...@wso2.com wrote:

 Hi Manuranga,

 Anyway in polling transport checks for the files according to the
 interval given. You can achieve the same using schedule task as Ravi
 mentioned.

 Also you can simple change the URL from local file to FTP since you will
 be using common VFS library.

 @Connector Team - Can we improve the file connector to support this?
 Please add this to the list.

 On Tue, Apr 28, 2015 at 9:50 AM, Manuranga Perera m...@wso2.com wrote:

 Then I'll have to write the file monitor part manually. I want to switch
 to ftp later.
 On 28 Apr 2015 09:46, Ravi Undupitiya r...@wso2.com wrote:

 Hi Manuranga,

 You can place the file connector inside a scheduled task.

 On Tue, Apr 28, 2015 at 9:42 AM, Manuranga Perera m...@wso2.com
 wrote:

 But then how does the proxy get started ?
 On 28 Apr 2015 09:40, Malaka Silva mal...@wso2.com wrote:

 Hi,

 IMO you can write a connector to the job. It'll be similar to file
 connector. [1]

 Anyway message is already build when it's invoking the class mediator.

 [1]
 https://storepreview.wso2.com/store/assets/esbconnector/f0550184-88c4-4d5e-b73f-ea51b1b5ab98

 On Mon, Apr 27, 2015 at 5:58 PM, Manuranga Perera m...@wso2.com
 wrote:

 I am reading a zip file from VFS transport. I need to read and merge
 all the files in the zip (from a custom mediator).

 I can write the unzip logic in my custom mediator by reading the zip
 file as a byte stream. but is there a better way to do this?
 --
 With regards,
 *Manu*ranga Perera.

 phone : 071 7 70 20 50
 mail : m...@wso2.com




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print
 this email only if it is absolutely necessary.


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




 --
 *Ravi Undupitiya*
 Senior Software Engineer; WSO2 http://wso2.com


 *E-mail: r...@wso2.com http://wso2.com**M: **+94 772 930 712
 %2B94%C2%A0772%20930%20712*

 Lean . Enterprise . Middleware




 --

 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.




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




-- 
With regards,
*Manu*ranga Perera.

phone : 071 7 70 20 50
mail : m...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Reading zip file form VFS

2015-04-28 Thread Manuranga Perera
Had a chat with Isuru, since I don't want to write custom code for handling
multiple files scenario, I'll continue to use VFS with binary relay for the
content type.

If we are recommending file connector over VFS, then we need to have some *file
iterator* functionality too. Otherwise, using file connector instead of VFS
will not work. In the future if this becomes available we can switch.

On Tue, Apr 28, 2015 at 1:02 PM, Manuranga Perera m...@wso2.com wrote:

 Hi Malaka, Ravi
 this is not same as using VFS, since in task approach I have to take into
 account what happens when multiple files come in. there will be much more
 code i have to write if I am using task.

 so why is task better approach?

 On Tue, Apr 28, 2015 at 10:26 AM, Shakila Sivagnanarajah shak...@wso2.com
  wrote:

 Hi,

 AFIK we can improve file connector with this feature. We have a method in
 file connector to append content into a file. And we can read a file and
 process the content using VFS. As Ravi and Malaka mentioned, we can trigger
 the proxy using polling transport.

 On Tue, Apr 28, 2015 at 10:00 AM, Malaka Silva mal...@wso2.com wrote:

 Hi Manuranga,

 Anyway in polling transport checks for the files according to the
 interval given. You can achieve the same using schedule task as Ravi
 mentioned.

 Also you can simple change the URL from local file to FTP since you will
 be using common VFS library.

 @Connector Team - Can we improve the file connector to support this?
 Please add this to the list.

 On Tue, Apr 28, 2015 at 9:50 AM, Manuranga Perera m...@wso2.com wrote:

 Then I'll have to write the file monitor part manually. I want to
 switch to ftp later.
 On 28 Apr 2015 09:46, Ravi Undupitiya r...@wso2.com wrote:

 Hi Manuranga,

 You can place the file connector inside a scheduled task.

 On Tue, Apr 28, 2015 at 9:42 AM, Manuranga Perera m...@wso2.com
 wrote:

 But then how does the proxy get started ?
 On 28 Apr 2015 09:40, Malaka Silva mal...@wso2.com wrote:

 Hi,

 IMO you can write a connector to the job. It'll be similar to file
 connector. [1]

 Anyway message is already build when it's invoking the class
 mediator.

 [1]
 https://storepreview.wso2.com/store/assets/esbconnector/f0550184-88c4-4d5e-b73f-ea51b1b5ab98

 On Mon, Apr 27, 2015 at 5:58 PM, Manuranga Perera m...@wso2.com
 wrote:

 I am reading a zip file from VFS transport. I need to read and
 merge all the files in the zip (from a custom mediator).

 I can write the unzip logic in my custom mediator by reading the
 zip file as a byte stream. but is there a better way to do this?
 --
 With regards,
 *Manu*ranga Perera.

 phone : 071 7 70 20 50
 mail : m...@wso2.com




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print
 this email only if it is absolutely necessary.


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




 --
 *Ravi Undupitiya*
 Senior Software Engineer; WSO2 http://wso2.com


 *E-mail: r...@wso2.com http://wso2.com**M: **+94 772 930 712
 %2B94%C2%A0772%20930%20712*

 Lean . Enterprise . Middleware




 --

 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.




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --
 With regards,
 *Manu*ranga Perera.

 phone : 071 7 70 20 50
 mail : m...@wso2.com




-- 
With regards,
*Manu*ranga Perera.

phone : 071 7 70 20 50
mail : m...@wso2.com
___
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] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Dinithi De Silva
Congratulations Mahesh.!!!

On Tue, Apr 28, 2015 at 1:19 PM, Sajith Abeywardhana saji...@wso2.com
wrote:

 Congratulations !!!

 *Sajith Abeywardhana* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka.
 Mobile: +94772260485
 Email: saji...@wso2.com mahe...@wso2.com | Web: www.wso2.com

 On Tue, Apr 28, 2015 at 12:49 PM, Damith Wickramasinghe dami...@wso2.com
 wrote:

 Congrats Mahesh... 

 On Tue, Apr 28, 2015 at 12:34 PM, Milan Perera mi...@wso2.com wrote:

 Congratz Mahesh..!!!

 On Tue, Apr 28, 2015 at 11:43 AM, Prasanna Dangalla prasa...@wso2.com
 wrote:

 Congratulations Mahesh..

 On Tue, Apr 28, 2015 at 11:42 AM, Chathura Priyankara 
 chathu...@wso2.com wrote:

 Congratulations Mahesh !!!

 On Tue, Apr 28, 2015 at 11:17 AM, Thusitha Thilina Dayaratne 
 thusit...@wso2.com wrote:

 Congratulations..!!

 On Tue, Apr 28, 2015 at 11:15 AM, Chamalee De Silva 
 chama...@wso2.com wrote:

 Congratulations Mahesh !

 On Tue, Apr 28, 2015 at 11:13 AM, Dilan Udara Ariyaratne 
 dil...@wso2.com wrote:

 Congratz, Mahesh!!!


 *Dilan U. Ariyaratne*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 Mobile: +94775149066
 lean . enterprise . middleware

 On Tue, Apr 28, 2015 at 10:40 AM, Samith Dassanayake 
 sam...@wso2.com wrote:

 Congratz Mahesh!

 On Tue, Apr 28, 2015 at 10:28 AM, Kalpa Welivitigoda 
 kal...@wso2.com wrote:

 Congratulations Mahesh !

 On Tue, Apr 28, 2015 at 10:28 AM, Tharik Kanaka tha...@wso2.com
 wrote:

 Congratulations Mahesh.

 On Tue, Apr 28, 2015 at 9:27 AM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

 Hi all,

 It is with great pleasure that WSO2 welcomes Mahesh Chinthaka
 as WSO2 committer!

 Thank you for your hard work. Congratulation!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

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




 --

 *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




 --
 Best Regards,

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

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




 --
 Best Regards

 Samith Dassanayake
 Software Engineer | Cloud TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +947 76207351

 ___
 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




 --

 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




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




 --
 Chathura Priyankara
 Software Engineer | WSO2 Inc.
 Mobile : +94718795340
 Blog : www.codeoncloud.blogspot.com

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




 --
 Prasanna Dangalla
 Software Engineer, WSO2, Inc.; http://wso2.com/
 lean.enterprise.middleware

 cell: +94 777 55 80 30 | +94 718 11 27 51
 twitter: @prasa77

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




 --
 Milan Harindu Perera
 Software Engineer
 *WSO2, Inc*
 (+94) 77 309 7088
 lean . enterprise . middleware
 http://lk.linkedin.com/in/milanharinduperera

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




 --
 Software Engineer
 WSO2 Inc.; http://wso2.com
 http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg
 lean.enterprise.middleware

 mobile: *+94728671315 %2B94728671315*


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



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




-- 
*Dinithi De Silva*
Associate Software 

Re: [Dev] Any available module for jaggery to get oAuth tokens?

2015-04-28 Thread Ruchira Wageesha
On Tue, Apr 28, 2015 at 2:16 PM, Dulitha Wijewantha duli...@wso2.com
wrote:

 Yeah, that's the service URL to get tokens, but I am looking for an api to
 get the tokens. Since there is no such API available, shall I improve the
 oAuth module to perform this function?

+1, but don't couple it into any API Manager specific codes. If you have to
do so, then come up with a new module.


 On Fri, Apr 24, 2015 at 7:33 PM, Madusanka Premaratne madusan...@wso2.com
  wrote:

 Hi Dulitha,
 You can call to https://localhost:8243/token to get both refresh_token
 and access_token
 Have a look at the following curl command
 curl -k -d grant_type=passwordusername=adminpassword=admin -H
 Authorization: Basic
 bmU5X015dDNKWGxuTDRNWjhrbnlFdDM3cGRvYTpTSEtCOTZoX0RjeGVlMnQ0eG9JZlhMUERRRHdh,
 Content-Type: application/x-www-form-urlencoded
 https://localhost:8243/token

 Thanks,
 Madusanka

 On Fri, Apr 24, 2015 at 5:14 PM, Dulitha Wijewantha duli...@wso2.com
 wrote:

 Hi guys,
 Is there are any available module for jaggery (or Java) that can be
 called to obtain oAuth 2 tokens from API Manager? I looked into the oauth
 module [1] in jaggery but it doesn't seem to return refresh tokens.

 My use-case is to obtain access/refresh tokens for Password/SAML Grant
 Type from a Jaggery app.

 [1] -
 https://github.com/wso2/jaggery-extensions/blob/master/oauth/resources/org.jaggeryjs.modules.oauth/src/main/java/org/jaggeryjs/modules/oauth/OAuthHostObject.java

 Cheers~

 --
 Dulitha Wijewantha (Chan)
 Software Engineer - Mobile Development
 WSO2 Inc
 Lean.Enterprise.Middleware
  * ~Email   duli...@wso2.com duli...@wso2mobile.com*
 *  ~Mobile +94712112165 %2B94712112165*
 *  ~Website   dulitha.me http://dulitha.me*
 *  ~Twitter @dulitharw https://twitter.com/dulitharw*
   *~Github @dulichan https://github.com/dulichan*
   *~SO @chan http://stackoverflow.com/users/813471/chan*

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




 --
 *Madusanka Premaratne* | Associate Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 835 70 73| Work: +94 112 145 345
 Email: madusan...@wso2.com | Web: www.wso2.com

 [image: Facebook] https://www.facebook.com/maduzanka [image: Twitter]
 https://twitter.com/rmmpremaratne [image: Google Plus]
 https://plus.google.com/u/0/+MadusankaPremaratnemaduz/about/p/pub [image:
 Linkedin] http://lk.linkedin.com/in/madusanka/ [image: Instagram]
 http://instagram.com/madusankapremaratne [image: Skype]
 http://@rmmpremaratne




 --
 Dulitha Wijewantha (Chan)
 Software Engineer - Mobile Development
 WSO2 Inc
 Lean.Enterprise.Middleware
  * ~Email   duli...@wso2.com duli...@wso2mobile.com*
 *  ~Mobile +94712112165 %2B94712112165*
 *  ~Website   dulitha.me http://dulitha.me*
 *  ~Twitter @dulitharw https://twitter.com/dulitharw*
   *~Github @dulichan https://github.com/dulichan*
   *~SO @chan http://stackoverflow.com/users/813471/chan*




-- 

*Ruchira Wageesha**Technical Lead*
*WSO2 Inc. - lean . enterprise . middleware |  wso2.com http://wso2.com*

*email: ruch...@wso2.com ruch...@wso2.com,   blog:
ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com,
mobile: +94 77 5493444*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Java heap space Error

2015-04-28 Thread Thusitha Thilina Dayaratne
Hi Elimantha,

Did you check those options are set correctly when you run the build?
If they already set successfully, then it might be because still the
allocation is not enough. But probably your current allocation looks enough.
Anyway you can try to increase and build again.

Thanks

On Tue, Apr 28, 2015 at 11:27 AM, Elilmatha Sivanesan elilma...@wso2.com
wrote:


 Hi all,

 I'm building carbon mediation and product-esb from source and getting an
 error

 [ERROR] Java heap space - [Help 1]

 My bashrc file looks like this
 export MAVEN_OPTS=-Xmx4096m -Xms1024m -XX:PremSize=1024m
 -XX:MaxPermSize=1024m
 export JVM_ARGS=-Xmx4096m -XX:MaxPermSize=2048m

 Can any one suggest with the correct value to use here.

 --
 *S.Elilmatha*
 Associate  Software Engineer,

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

 Mobile 0779842221.


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




-- 
Thusitha Dayaratne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

Mobile  +94712756809
Blog  alokayasoya.blogspot.com
Abouthttp://about.me/thusithathilina
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Prasanna Dangalla
Congratulations Mahesh..

On Tue, Apr 28, 2015 at 11:42 AM, Chathura Priyankara chathu...@wso2.com
wrote:

 Congratulations Mahesh !!!

 On Tue, Apr 28, 2015 at 11:17 AM, Thusitha Thilina Dayaratne 
 thusit...@wso2.com wrote:

 Congratulations..!!

 On Tue, Apr 28, 2015 at 11:15 AM, Chamalee De Silva chama...@wso2.com
 wrote:

 Congratulations Mahesh !

 On Tue, Apr 28, 2015 at 11:13 AM, Dilan Udara Ariyaratne 
 dil...@wso2.com wrote:

 Congratz, Mahesh!!!


 *Dilan U. Ariyaratne*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 Mobile: +94775149066
 lean . enterprise . middleware

 On Tue, Apr 28, 2015 at 10:40 AM, Samith Dassanayake sam...@wso2.com
 wrote:

 Congratz Mahesh!

 On Tue, Apr 28, 2015 at 10:28 AM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Mahesh !

 On Tue, Apr 28, 2015 at 10:28 AM, Tharik Kanaka tha...@wso2.com
 wrote:

 Congratulations Mahesh.

 On Tue, Apr 28, 2015 at 9:27 AM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

 Hi all,

 It is with great pleasure that WSO2 welcomes Mahesh Chinthaka as
 WSO2 committer!

 Thank you for your hard work. Congratulation!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

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




 --

 *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




 --
 Best Regards,

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

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




 --
 Best Regards

 Samith Dassanayake
 Software Engineer | Cloud TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +947 76207351

 ___
 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




 --

 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




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




 --
 Chathura Priyankara
 Software Engineer | WSO2 Inc.
 Mobile : +94718795340
 Blog : www.codeoncloud.blogspot.com

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




-- 
Prasanna Dangalla
Software Engineer, WSO2, Inc.; http://wso2.com/
lean.enterprise.middleware

cell: +94 777 55 80 30 | +94 718 11 27 51
twitter: @prasa77
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Java heap space Error

2015-04-28 Thread Pumudu Ruhunage
Hi Elilmatha,

Did you verified if the MAVEN_OPTS set properly? you can check it with this
command[1]. If it's not set properly reload bashrc with this command[2].

[1] echo $MAVEN_OPTS

[2] source ~/.bashrc


Regards,

On Tue, Apr 28, 2015 at 11:32 AM, Thusitha Thilina Dayaratne 
thusit...@wso2.com wrote:

 Hi Elimantha,

 Did you check those options are set correctly when you run the build?
 If they already set successfully, then it might be because still the
 allocation is not enough. But probably your current allocation looks enough.
 Anyway you can try to increase and build again.

 Thanks

 On Tue, Apr 28, 2015 at 11:27 AM, Elilmatha Sivanesan elilma...@wso2.com
 wrote:


 Hi all,

 I'm building carbon mediation and product-esb from source and getting an
 error

 [ERROR] Java heap space - [Help 1]

 My bashrc file looks like this
 export MAVEN_OPTS=-Xmx4096m -Xms1024m -XX:PremSize=1024m
 -XX:MaxPermSize=1024m
 export JVM_ARGS=-Xmx4096m -XX:MaxPermSize=2048m

 Can any one suggest with the correct value to use here.

 --
 *S.Elilmatha*
 Associate  Software Engineer,

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

 Mobile 0779842221.


 ___
 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




-- 
Pumudu Ruhunage
Associate Software Engineer | WSO2 Inc
M: +94 779 664493  | http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please Review and Merge

2015-04-28 Thread KasunG Gajasinghe
Merged.

Thanks,
KasunG

On Tue, Apr 28, 2015 at 11:36 AM, Chathura Priyankara chathu...@wso2.com
wrote:

 Hi,

 Please review and merge PR[1].
 This is the fix for JIRA issue [2].

 [1] https://github.com/wso2/wso2-axis2/pull/41
 [2] https://wso2.org/jira/browse/CARBON-15236

 Thanks!
 Chathura.

 --
 Chathura Priyankara
 Software Engineer | WSO2 Inc.
 Mobile : +94718795340
 Blog : www.codeoncloud.blogspot.com




-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Java heap space Error

2015-04-28 Thread Elilmatha Sivanesan
Hi

Yes both values are set properly ,But still I get the heap space error.

Thank you.

On Tue, Apr 28, 2015 at 11:44 AM, Pumudu Ruhunage pum...@wso2.com wrote:

 Hi Elilmatha,

 Did you verified if the MAVEN_OPTS set properly? you can check it with
 this command[1]. If it's not set properly reload bashrc with this
 command[2].

 [1] echo $MAVEN_OPTS

 [2] source ~/.bashrc


 Regards,

 On Tue, Apr 28, 2015 at 11:32 AM, Thusitha Thilina Dayaratne 
 thusit...@wso2.com wrote:

 Hi Elimantha,

 Did you check those options are set correctly when you run the build?
 If they already set successfully, then it might be because still the
 allocation is not enough. But probably your current allocation looks enough.
 Anyway you can try to increase and build again.

 Thanks

 On Tue, Apr 28, 2015 at 11:27 AM, Elilmatha Sivanesan elilma...@wso2.com
  wrote:


 Hi all,

 I'm building carbon mediation and product-esb from source and getting an
 error

 [ERROR] Java heap space - [Help 1]

 My bashrc file looks like this
 export MAVEN_OPTS=-Xmx4096m -Xms1024m -XX:PremSize=1024m
 -XX:MaxPermSize=1024m
 export JVM_ARGS=-Xmx4096m -XX:MaxPermSize=2048m

 Can any one suggest with the correct value to use here.

 --
 *S.Elilmatha*
 Associate  Software Engineer,

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

 Mobile 0779842221.


 ___
 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




 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://wso2.com




-- 
*S.Elilmatha*
Associate  Software Engineer,

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

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


[Dev] Please Review and Merge the PR

2015-04-28 Thread Thusitha Thilina Dayaratne
Hi,

Please review and merge the following PR[1] to change the jaggery version
in product-as
[1] - https://github.com/wso2/product-as/pull/58

Thanks
Best Regards
-- 
Thusitha Dayaratne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

Mobile  +94712756809
Blog  alokayasoya.blogspot.com
Abouthttp://about.me/thusithathilina
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Differentiating the artifacts deployed with CAR file and persist the changes done through the management console

2015-04-28 Thread Kishanthan Thangarajah
On Mon, Apr 27, 2015 at 11:38 PM, Isuru Udana isu...@wso2.com wrote:

 Hi Kishanthan,

 On Mon, Apr 27, 2015 at 11:05 PM, Kishanthan Thangarajah 
 kishant...@wso2.com wrote:

 So for #3, are we going to support mgt console level changes for
 artifacts that comes from CApp's ? What are the user requirements and do we
 actually need this?

 I thought we decided to remove the editing functionality for artifacts
 that comes from CApps in mgt console level.

 We are having lot of issue with users accidentally editing artifacts
 coming from CApps in mgt console.
 As the first thing we can disable the editing option.
 However sometimes users need to do quick changes in artifacts using
 MgtConsole for testing purposes etc.. So if we disable editing
 functionality we won't be able to satisfy that.
 So we decided to see the possibility to persisting modifications back the
 CApp.


But if we think from the platform point of view, we do not support the
above for all the artifacts that comes from various products (Eg : DSS,
Registry-Artifacts, etc). Also the above approach also has some
issues/drawbacks. If something goes wrong during saving back to the CApp,
the complete CApp may become faulty and all artifacts from the CApp may get
removed.

IMHO, we should avoid this and allow modification only from Dev-Studio.




 On Mon, Apr 27, 2015 at 7:15 PM, Priyadarssini Kishokumar 
 priyadarss...@wso2.com wrote:

 Hi All,

 I'm implementing $Subject with related redmine[1]

 The main tasks should be
 1. Identifying the artifacts deployed with CAR
 2. Changes done through the management console for CAR artifacts should
 not be saved in default deployment location
 3. Persisting the changes into the CAR file.

 Currently I'm identifying the artifacts coming from CAR and set the
 details in the synapse level. By this way requirements 1  2 can be solved.
 To persisting into CAR file, we need to get the CAPP name in the synapse
 level. Currently I'm doing by modify the DeploymentFileData in the axis2.
 In carbon application deployment SynapseAppDeployer class passing the
 DeploymentFileData to synapse. This is the only place the deployed file
 details are passing to synapse. To avoid axis2 level changes, we need to
 come up with  a way to send the CAPP file details to synapse. Please advise
 a better way to handle this.


 [1] https://redmine.wso2.com/issues/3837

 --
 Priya Kishok
 Software Engineer
 WSO2, Inc : http://wso2.com
 Mob : +94774457404

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




 --
 *Kishanthan Thangarajah*
 Associate Technical Lead,
 Platform Technologies Team,
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - +94773426635
 Blog - *http://kishanthan.wordpress.com
 http://kishanthan.wordpress.com*
 Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan*




 --
 *Isuru Udana*
 Associate Technical Lead
 WSO2 Inc.; http://wso2.com
 email: isu...@wso2.com cell: +94 77 3791887
 blog: http://mytecheye.blogspot.com/




-- 
*Kishanthan Thangarajah*
Associate Technical Lead,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com*
Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Vinuri Perera

2015-04-28 Thread Kasun Gunasekara
Congratz Vinuri :)


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

On Mon, Apr 27, 2015 at 2:19 PM, Amila Maha Arachchi ami...@wso2.com
wrote:

 Hi all,

 Its my pleasure to welcome Vinuri Perera as a WSO2 Committer. Vinuri is a
 member of WSO2 Cloud team and she has done a great contribution to WSO2
 Cloud and has shown great enthusiasm in her work both in development and
 other cloud related work. In recognition of her contribution, she has been
 voted as a WSO2 Committer.

 Vinuri, welcome aboard and keep up the good work..

 Regards,
 Amila.

 --
 *Amila Maharachchi*
 Senior Technical Lead
 WSO2, Inc.; http://wso2.com

 Blog: http://maharachchi.blogspot.com
 Mobile: +94719371446


 ___
 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] Please Review and Merge

2015-04-28 Thread Chathura Priyankara
Hi,

Please review and merge PR[1].
This is the fix for JIRA issue [2].

[1] https://github.com/wso2/wso2-axis2/pull/41
[2] https://wso2.org/jira/browse/CARBON-15236

Thanks!
Chathura.

-- 
Chathura Priyankara
Software Engineer | WSO2 Inc.
Mobile : +94718795340
Blog : www.codeoncloud.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] App Manager Release 1.0.0 - QA Plan changes

2015-04-28 Thread Asanthi Kulasinghe
Hi,

This is to give an update on the test status of App Manager release 1.0.0.

We have been experiencing recurring issues (regression / blockers) in the
latest released packs.
Therefore we would like to revise the QA plan as follows.

- We'll complete testing the remaining areas  (*Updated via thread 'App
Manager 1.0 - release test status update'*)  by the end of this week and
report any issues encountered.
- Once a stable pack with fixes for the currently reported L1 and L2's is
issued we will run the tests for 2 more weeks.
  Please note that we need to re-test
 1. blocked features with fixes
 2. all previously tested areas for regression issues due to fixes.

We have identified the following as areas/features with issues and pending
fixes as at now. Therefore we will mostly be concentrating on these areas.
Please mention any additions/changes required.
- App life cycle and docs
- App Visibility
- Integration with BAM
- BPS integration - Workflows
- XACML
- JWT
- OAuth
- Samples
- Throttling
- App Discovery
- Deploy Sample feature
- Session replication
- Single log out
- User roles
- Cluster scenarios
- Enterprise subscription
- Skip Creating proxy Services
- Integrating with EMM (iOS)
- Long running and stress tests
- Testing with Oracle
- Testing in Windows


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


[Dev] How to change the default tenant domain defined in Automation.xml in each integration test run

2015-04-28 Thread Punnadi Gunarathna
Hi,

In order to run intergeneration tests, there is a pre-configured up and
running App Factory setup in place.
So for each integration test run, we need to create a new tenant domain.

As of now, default tenant is defined in Automation.xml. Due to our
requirement, default tenant has to be changed.
Is there a way to achieve our requirement?
-- 
Thanks and Regards,

Punnadi Gunarathna
Senior Software Engineer,
WSO2, Inc.; http://wso2.com http://wso2
Blog: http://hi-my-world.blogspot.com/
Tel : 94 11 214 5345
Fax :94 11 2145300



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


Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Milan Perera
Congratz Mahesh..!!!

On Tue, Apr 28, 2015 at 11:43 AM, Prasanna Dangalla prasa...@wso2.com
wrote:

 Congratulations Mahesh..

 On Tue, Apr 28, 2015 at 11:42 AM, Chathura Priyankara chathu...@wso2.com
 wrote:

 Congratulations Mahesh !!!

 On Tue, Apr 28, 2015 at 11:17 AM, Thusitha Thilina Dayaratne 
 thusit...@wso2.com wrote:

 Congratulations..!!

 On Tue, Apr 28, 2015 at 11:15 AM, Chamalee De Silva chama...@wso2.com
 wrote:

 Congratulations Mahesh !

 On Tue, Apr 28, 2015 at 11:13 AM, Dilan Udara Ariyaratne 
 dil...@wso2.com wrote:

 Congratz, Mahesh!!!


 *Dilan U. Ariyaratne*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 Mobile: +94775149066
 lean . enterprise . middleware

 On Tue, Apr 28, 2015 at 10:40 AM, Samith Dassanayake sam...@wso2.com
 wrote:

 Congratz Mahesh!

 On Tue, Apr 28, 2015 at 10:28 AM, Kalpa Welivitigoda kal...@wso2.com
  wrote:

 Congratulations Mahesh !

 On Tue, Apr 28, 2015 at 10:28 AM, Tharik Kanaka tha...@wso2.com
 wrote:

 Congratulations Mahesh.

 On Tue, Apr 28, 2015 at 9:27 AM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

 Hi all,

 It is with great pleasure that WSO2 welcomes Mahesh Chinthaka as
 WSO2 committer!

 Thank you for your hard work. Congratulation!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

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




 --

 *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




 --
 Best Regards,

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

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




 --
 Best Regards

 Samith Dassanayake
 Software Engineer | Cloud TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +947 76207351

 ___
 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




 --

 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




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




 --
 Chathura Priyankara
 Software Engineer | WSO2 Inc.
 Mobile : +94718795340
 Blog : www.codeoncloud.blogspot.com

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




 --
 Prasanna Dangalla
 Software Engineer, WSO2, Inc.; http://wso2.com/
 lean.enterprise.middleware

 cell: +94 777 55 80 30 | +94 718 11 27 51
 twitter: @prasa77

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




-- 
Milan Harindu Perera
Software Engineer
*WSO2, Inc*
(+94) 77 309 7088
lean . enterprise . middleware
http://lk.linkedin.com/in/milanharinduperera
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Damith Wickramasinghe
Congrats Mahesh... 

On Tue, Apr 28, 2015 at 12:34 PM, Milan Perera mi...@wso2.com wrote:

 Congratz Mahesh..!!!

 On Tue, Apr 28, 2015 at 11:43 AM, Prasanna Dangalla prasa...@wso2.com
 wrote:

 Congratulations Mahesh..

 On Tue, Apr 28, 2015 at 11:42 AM, Chathura Priyankara chathu...@wso2.com
  wrote:

 Congratulations Mahesh !!!

 On Tue, Apr 28, 2015 at 11:17 AM, Thusitha Thilina Dayaratne 
 thusit...@wso2.com wrote:

 Congratulations..!!

 On Tue, Apr 28, 2015 at 11:15 AM, Chamalee De Silva chama...@wso2.com
 wrote:

 Congratulations Mahesh !

 On Tue, Apr 28, 2015 at 11:13 AM, Dilan Udara Ariyaratne 
 dil...@wso2.com wrote:

 Congratz, Mahesh!!!


 *Dilan U. Ariyaratne*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 Mobile: +94775149066
 lean . enterprise . middleware

 On Tue, Apr 28, 2015 at 10:40 AM, Samith Dassanayake sam...@wso2.com
  wrote:

 Congratz Mahesh!

 On Tue, Apr 28, 2015 at 10:28 AM, Kalpa Welivitigoda 
 kal...@wso2.com wrote:

 Congratulations Mahesh !

 On Tue, Apr 28, 2015 at 10:28 AM, Tharik Kanaka tha...@wso2.com
 wrote:

 Congratulations Mahesh.

 On Tue, Apr 28, 2015 at 9:27 AM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

 Hi all,

 It is with great pleasure that WSO2 welcomes Mahesh Chinthaka as
 WSO2 committer!

 Thank you for your hard work. Congratulation!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

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




 --

 *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




 --
 Best Regards,

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

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




 --
 Best Regards

 Samith Dassanayake
 Software Engineer | Cloud TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +947 76207351

 ___
 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




 --

 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




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




 --
 Chathura Priyankara
 Software Engineer | WSO2 Inc.
 Mobile : +94718795340
 Blog : www.codeoncloud.blogspot.com

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




 --
 Prasanna Dangalla
 Software Engineer, WSO2, Inc.; http://wso2.com/
 lean.enterprise.middleware

 cell: +94 777 55 80 30 | +94 718 11 27 51
 twitter: @prasa77

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




 --
 Milan Harindu Perera
 Software Engineer
 *WSO2, Inc*
 (+94) 77 309 7088
 lean . enterprise . middleware
 http://lk.linkedin.com/in/milanharinduperera

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




-- 
Software Engineer
WSO2 Inc.; http://wso2.com
http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg
lean.enterprise.middleware

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


[Dev] [AppM] Please review and merge PR ( JIRA APPM-676)

2015-04-28 Thread Ruwan Abeykoon
Hi Team,
Please review and merge PR[1] and [2]. This will fix all the issues noted
in JIRA APPM-676 [3]

Please note that I removed the following directories as I think they are
not being used.

carbon-appmgt/features/appmgt/org.wso2.carbon.appmgt.core.
feature/src/main/resources/config/BAM/
product-app-manager/config/BAM

[1] https://github.com/wso2/carbon-appmgt/pull/41
[2] https://github.com/wso2/product-app-manager/pull/212
[3] https://wso2.org/jira/browse/APPM-676


-- 

*Ruwan Abeykoon*
*Architect,*
*WSO2, Inc. http://wso2.com http://wso2.com/ *
*lean.enterprise.middleware.*

email: ruw...@wso2.com
phone:(+94) 39736
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please Review and Merge the PR

2015-04-28 Thread KasunG Gajasinghe
Merged.

On Tue, Apr 28, 2015 at 12:38 PM, Thusitha Thilina Dayaratne 
thusit...@wso2.com wrote:

 Hi,

 Please review and merge the following PR[1] to change the jaggery version
 in product-as
 [1] - https://github.com/wso2/product-as/pull/58

 Thanks
 Best Regards
 --
 Thusitha Dayaratne
 Software Engineer
 WSO2 Inc. - lean . enterprise . middleware |  wso2.com

 Mobile  +94712756809
 Blog  alokayasoya.blogspot.com
 Abouthttp://about.me/thusithathilina




-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to change the default tenant domain defined in Automation.xml in each integration test run

2015-04-28 Thread Punnadi Gunarathna
Hi,

This can be achieved with AppFactoryIntegrationTest base class itself.

On Tue, Apr 28, 2015 at 11:55 AM, Punnadi Gunarathna punn...@wso2.com
wrote:

 Hi,

 In order to run intergeneration tests, there is a pre-configured up and
 running App Factory setup in place.
 So for each integration test run, we need to create a new tenant domain.

 As of now, default tenant is defined in Automation.xml. Due to our
 requirement, default tenant has to be changed.
 Is there a way to achieve our requirement?
 --
 Thanks and Regards,

 Punnadi Gunarathna
 Senior Software Engineer,
 WSO2, Inc.; http://wso2.com http://wso2
 Blog: http://hi-my-world.blogspot.com/
 Tel : 94 11 214 5345
 Fax :94 11 2145300



  http://lalajisureshika.blogspot.com/




-- 
Thanks and Regards,

Punnadi Gunarathna
Senior Software Engineer,
WSO2, Inc.; http://wso2.com http://wso2
Blog: http://hi-my-world.blogspot.com/
Tel : 94 11 214 5345
Fax :94 11 2145300



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


Re: [Dev] What happens if the client-end connection is closed when an Axis2 service request sends the response back

2015-04-28 Thread Amal Gunatilake
Hi Sagara,

The following concern was identified during a customer query.
Any feedback is much appreciated.

Best regards,
Amal.

On Thu, Apr 23, 2015 at 10:27 AM, Amal Gunatilake am...@wso2.com wrote:

 Hi Guys,

 Appreciate any thoughts on the above matter. :)

 Best regards,
 Amal.

 On Tue, Apr 21, 2015 at 4:01 PM, Amal Gunatilake am...@wso2.com wrote:

 Hi Sameera and Team,

 I wrote a simple Axis2 sample with a 10 seconds delay in between the
 message receive and response. Then I invoke the service using SoapUI and
 before (in-between 10s delay) sending the response, I terminate the
 connection. When the server reply back with the response, it's unable to
 write the message and therefore theoretically it should throw an exception,
 but there's no error logged in the server end.

 The requirement is, since Axis2 is HTTP transport there has to be an ACK
 for each and every receive and response and if something goes wrong with
 the connection when writing the response there has to be an exception
 thrown. This is mainly to identify the difference between a response that
 has been written successfully and a response that was unable to write due
 to broken pipe.

 Please advice me whether this is already implemented in the carbon code
 base and if not how can we achieve this requirement in Axsi2?

 Kind regards,

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




 --
 Kind regards,

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




-- 
Kind regards,

*Amal Gunatilake*
 Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] VFS Inbound Testing Scenario

2015-04-28 Thread Shakila Sivagnanarajah
Hi all,

Due to the problem in configuring cluster with Nginx, Now I am trying to
configure cluster using WSO2 ELB.

On Tue, Apr 28, 2015 at 10:03 AM, Shakila Sivagnanarajah shak...@wso2.com
wrote:

 I am configuring cluster with Nginx ELB. I put svnClientBundle-1.0.0.jar
 http://dist.wso2.org/tools/svnClientBundle-1.0.0.jar and get the
 warning [1].

 [1]
 [2015-04-27 12:04:23,572]  INFO - PermissionUpdater Permission cache
 updated for tenant -1234
 [2015-04-27 12:05:23,581]  WARN - AppDeployerServiceComponent Waiting for
 required OSGi services:
 org.wso2.carbon.application.deployer.synapse.service.SynapseAppDeployerService,org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService,
 [2015-04-27 12:05:23,593]  WARN - StartupFinalizerServiceComponent Waiting
 for required OSGi services:
 org.wso2.carbon.application.deployer.service.CappDeploymentService,org.wso2.carbon.server.admin.common.IServerAdmin,org.wso2.carbon.throttling.agent.ThrottlingAgent,


 After that, I put svn-client-adapter-1.10.5.wso2v1.jar in dropins. Still I
 am getting the same warning [1].


 On Fri, Apr 24, 2015 at 3:57 PM, Shakila Sivagnanarajah shak...@wso2.com
 wrote:

 Hi all,

 I have tested the file transfer with file inbound protocol. For this, I
 referred Synapse Sample 900. Now I am going to test the use case [1].

 [1] Pick up a file in a local directory, send an email with data from the
 file.

 Thank you


 On Fri, Apr 24, 2015 at 12:23 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi Malaka,

 I configured 2 worker nodes. And I set one worker as the known worker
 for the manager. The artifacts mentioned in [1] were created at the given
 SVN location.
 [1]

- axis2modules/

 https://svn.wso2.com/wso2/training/careerlaunch/shakila/test/-1234/axis2modules/
- axis2services/

 https://svn.wso2.com/wso2/training/careerlaunch/shakila/test/-1234/axis2services/
- synapse-configs/

 https://svn.wso2.com/wso2/training/careerlaunch/shakila/test/-1234/synapse-configs/
- webapps/

 https://svn.wso2.com/wso2/training/careerlaunch/shakila/test/-1234/webapps/

 Thank you.

 On Fri, Apr 24, 2015 at 12:13 PM, Malaka Silva mal...@wso2.com wrote:

 Hi Shakira,

 Further Check [1]

 [1] https://wso2.org/jira/browse/BPS-346

 On Fri, Apr 24, 2015 at 11:44 AM, Malaka Silva mal...@wso2.com wrote:

 Hi Shakila,

 Is seems like a warning given by dep-sync. However do you get the
 artifacts gets deployed to worker nodes?

 How many worker nodes did you configure?

 On Fri, Apr 24, 2015 at 11:13 AM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi all,

 I am doing the ESB task to test the VFS Inbound.
 I went through some portion of Carbon-Mediation code related to VFS
 and tested VFS file transfer functionality with Smooks mediator (Synapse
 Sample 654) so far.

 From this testing, I got an idea of Smooks mediator and practically
 tested one of the use cases of VFS inbound.

 I have set up ESB worker/manager cluster without ELB. For this I
 referred document [1] and used Ngnix Load Balancer. And I used the ESB 
 pack
 got from [2].

 [1]
 https://docs.google.com/a/wso2.com/document/d/1x80QfnBW09keGVYOi3MLruckXbIVp45vOj9deyF0l5I/edit?usp=sharing

 [2]
 https://svn.wso2.org/repos/wso2/people/ishan/dist/esb/4.9.0/wso2esb-4.9.0-M7.zip

 *Issues:*

- When I start Worker 1, I am getting the exception *Can't find a
svn action for svn output line : Updating 
 'repository/deployment/server'*
see in log [3].

 [3]

 [2015-04-24 10:15:56,155]  INFO - MemberUtils Added member: Host:
 mgt.esb.wso2.com, Remote Host:null, Port: 4100, HTTP:-1, HTTPS:-1,
 Domain: null, Sub-domain:null, Active:true
 [2015-04-24 10:16:04,676]  INFO - HazelcastClusteringAgent Hazelcast
 initialized in 8519ms
 [2015-04-24 10:16:04,696]  INFO - MemberUtils Added member:
 Host:10.100.5.171, Remote Host:null, Port: 4100, HTTP:8281, HTTPS:8244,
 Domain: wso2.esb.domain, Sub-domain:__$default, Active:true
 [2015-04-24 10:16:04,696]  INFO - HazelcastClusteringAgent Local
 member: [d795d8a2-f6da-491a-ad5f-fe2cfa82f950] - Host:10.100.5.171, 
 Remote
 Host:null, Port: 4200, HTTP:8282, HTTPS:8245, Domain: wso2.esb.domain,
 Sub-domain:null, Active:true
 [2015-04-24 10:16:04,704]  INFO - MemberUtils Added member:
 Host:10.100.5.171, Remote Host:null, Port: 4200, HTTP:8282, HTTPS:8245,
 Domain: wso2.esb.domain, Sub-domain:__$default, Active:true
 [2015-04-24 10:16:04,960]  INFO - HazelcastClusteringAgent Cluster
 initialization completed
 [2015-04-24 10:16:04,968]  INFO - NioSelectorPool Using a shared
 selector for servlet write/read
 [2015-04-24 10:16:05,400]  INFO - NioSelectorPool Using a shared
 selector for servlet write/read
 [2015-04-24 10:16:05,470]  INFO - TaskServiceImpl Task service
 starting in CLUSTERED mode...
 [2015-04-24 10:16:05,510]  INFO - NTaskTaskManager Initialized task
 manager. Tenant [-1234]
 [2015-04-24 10:16:05,511]  INFO - ClusterGroupCommunicator Waiting
 for 2 [ESB_TASK] task executor nodes...
 

Re: [Dev] [ESB] Building the ESB product from the source

2015-04-28 Thread Supun Malinga
Hi,

To set the p2 plugin version to 1.5.4, if the version not defined in the p2
pom you need to define the version.
plugin
groupIdorg.wso2.maven/groupId
artifactIdcarbon-p2-plugin/artifactId
*version${carbon.p2.plugin.version}/version*



On Tue, Apr 28, 2015 at 11:59 AM, Isuru Ranawaka isu...@wso2.com wrote:

 Hi all,

 After after changing p2-plugin version to 1.5.4 above mentioned error will
 be fixed but there will be still build breaks if builds in clean repo.
 Because current develop branch refers to old jars and those are got
 removed . So we need to update to newer versions and for that we need to
 wait until carbon-governance is released.

 thanks

 On Tue, Apr 28, 2015 at 11:16 AM, KasunG Gajasinghe kas...@wso2.com
 wrote:

 Hi,


 On Tue, Apr 28, 2015 at 11:04 AM, Isuru Ranawaka isu...@wso2.com wrote:

 Hi KasunG,

 After changing  p2-plugin version for 1.5.4  it works

 On Tue, Apr 28, 2015 at 10:51 AM, Kasun Indrasiri ka...@wso2.com
 wrote:

 Isn't this a bug in latest p2 plugin ?


 It looks like it. Please stick to the 1.5.4 version for your build. We
 will fix the issue in 1.5.5, and do a release.

 @Chanaka/Isuru, can you file a bug in jira?

 Thanks.


 On Tue, Apr 28, 2015 at 10:47 AM, Manoj Kumara ma...@wso2.com wrote:

 [Adding ESB team]


 *Manoj Kumara*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94713448188

 On Tue, Apr 28, 2015 at 10:43 AM, Thusitha Thilina Dayaratne 
 thusit...@wso2.com wrote:

 Hi Chanaka,

 Check the p2-plugin version in the p2-profile module in the ESB.
 There you can find segment like

 plugin

groupIdorg.wso2.maven/groupId

artifactIdcarbon-p2-plugin/artifactId

version${carbon.p2.plugin.version}/version

 check the version there

 Thanks

 On Tue, Apr 28, 2015 at 10:36 AM, Chanaka Sampath Cooray 
 chanakasampat...@gmail.com wrote:

 Hi Kasun,

 I tried with maven 3.0.5 and got the same error, how do I change the
 version of the p2 plugin?

 Thanks

 On Tue, Apr 28, 2015 at 10:31 AM, Kasun Gajasinghe kas...@wso2.com
 wrote:


 Can you guys build with maven 3.0.x, and update the status as Manoj
 mentioned?

 This may have occurred due to a latest p2 plugin release. If the
 above doesn't work, set the p2 plugin version as 1.5.4, and build the
 product.

 Thanks.

 On Apr 28, 2015, at 10:26 AM, Firzhan Naqash firz...@wso2.com
 wrote:

 Hi Chanaka,

 The same error has also been observed in IS. I am not sure whether
 this error occurs due to change in p2 plugin.

 I am adding kasung.

 Regards,
 Firzhan

 On Mon, Apr 27, 2015 at 11:48 PM, Chanaka Sampath Cooray 
 chanakasampat...@gmail.com wrote:

 Ok I will try maven 3.0.x and let you know the results.

 Thanks.

 On Tue, Apr 28, 2015 at 10:13 AM, Manoj Kumara ma...@wso2.com
 wrote:

 Did you tried with maven 3.0.x


 *Manoj Kumara*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94713448188

 On Tue, Apr 28, 2015 at 10:10 AM, Chanaka Sampath Cooray 
 chanakasampat...@gmail.com wrote:

 Hi Manoj,

 I used the repo [1] and the master branch of that and I also
 checked with the M6 and M7 releases as well, None of them did not 
 work for
 me.

 [1] https://github.com/wso2/product-esb

 Regards,
 Chanaka

 On Tue, Apr 28, 2015 at 10:04 AM, Manoj Kumara ma...@wso2.com
 wrote:

 Hi Chanaka,

 What is the branch you are using. For turing branch you need to
 use Maven 3.0.x to build the source.

 Regards,
 Manoj


 *Manoj Kumara*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94713448188

 On Tue, Apr 28, 2015 at 8:16 AM, Chanaka Sampath Cooray 
 chanakasampat...@gmail.com wrote:

 Hi all,

 I tried to build the esb product from the source. I got the
 following error when I tried to do that. I built using jdk 1.6 
 and maven
 3.2.5 and I am using mac osx. Is there anything I have missed?

 [ERROR] Failed to execute goal
 org.wso2.maven:carbon-p2-plugin:1.5.5:p2-repo-gen 
 (2-p2-repo-generation) on
 project wso2esb-p2-profile: Execution 2-p2-repo-generation of goal
 org.wso2.maven:carbon-p2-plugin:1.5.5:p2-repo-gen failed: An API
 incompatibility was encountered while executing
 org.wso2.maven:carbon-p2-plugin:1.5.5:p2-repo-gen:
 java.lang.NoSuchMethodError:
 org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(Lorg/codehaus/plexus/util/cli/Commandline;Lorg/codehaus/plexus/util/cli/StreamConsumer;Lorg/codehaus/plexus/util/cli/StreamConsumer;I)I

 [ERROR] -

 [ERROR] realm =pluginorg.wso2.maven:carbon-p2-plugin:1.5.5

 [ERROR] strategy =
 org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy

 [ERROR] urls[0] =
 file:/Users/bcchanaka/.m2/repository/org/wso2/maven/carbon-p2-plugin/1.5.5/carbon-p2-plugin-1.5.5.jar

 [ERROR] urls[1] =
 file:/Users/bcchanaka/.m2/repository/org/sonatype/aether/aether-util/1.7/aether-util-1.7.jar

 [ERROR] urls[2] =
 

[Dev] [ES] [GReg] Please review and merge changes

2015-04-28 Thread Thusitha Kalugamage
Hi Team,

UX changes to ES end has completed

   - Login drop down defect fix
   - WADL/WSDL/Policy/Schema/Soap Service forms styling
   - Accordion icon state change
   - No result, error, success message styles
   - Text box focus colour change defect fix
   - Action buttons styling
   - Space distribution fix for forms and accordion tabs

please find the PR [1]
[1] https://github.com/wso2/carbon-store/pull/23
https://github.com/wso2/carbon-store/pull/23


Thanks!
-- 
Thusitha Kalugamage
*Software Engineer*
Mobile : +94 (0) 774 074370
Tel   : +94 (0) 112 145 345
thusi...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please review and merge PR

2015-04-28 Thread Sachith Herath
Hi,

Please review and merge PR[1], PR[2]

[1] https://github.com/wso2/product-app-manager/pull/215
[2] https://github.com/wso2/carbon-appmgt/pull/43


*Sachith Ushan*
Software Engineering  intern
WSO2 : http://wso2 http://goog_1352065705.com
mobile :- +94 71 8853336
sachi...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please review and merge PR for APPM-778

2015-04-28 Thread Sajith Abeywardhana
Hi Dinusha,

Please merge https://github.com/wso2/product-app-manager/pull/214 for
https://wso2.org/jira/browse/APPM-778

*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com mahe...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Chathura Priyankara
Congratulations Mahesh !!!

On Tue, Apr 28, 2015 at 11:17 AM, Thusitha Thilina Dayaratne 
thusit...@wso2.com wrote:

 Congratulations..!!

 On Tue, Apr 28, 2015 at 11:15 AM, Chamalee De Silva chama...@wso2.com
 wrote:

 Congratulations Mahesh !

 On Tue, Apr 28, 2015 at 11:13 AM, Dilan Udara Ariyaratne dil...@wso2.com
  wrote:

 Congratz, Mahesh!!!


 *Dilan U. Ariyaratne*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 Mobile: +94775149066
 lean . enterprise . middleware

 On Tue, Apr 28, 2015 at 10:40 AM, Samith Dassanayake sam...@wso2.com
 wrote:

 Congratz Mahesh!

 On Tue, Apr 28, 2015 at 10:28 AM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Mahesh !

 On Tue, Apr 28, 2015 at 10:28 AM, Tharik Kanaka tha...@wso2.com
 wrote:

 Congratulations Mahesh.

 On Tue, Apr 28, 2015 at 9:27 AM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

 Hi all,

 It is with great pleasure that WSO2 welcomes Mahesh Chinthaka as
 WSO2 committer!

 Thank you for your hard work. Congratulation!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

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




 --

 *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




 --
 Best Regards,

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

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




 --
 Best Regards

 Samith Dassanayake
 Software Engineer | Cloud TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +947 76207351

 ___
 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




 --

 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




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




-- 
Chathura Priyankara
Software Engineer | WSO2 Inc.
Mobile : +94718795340
Blog : www.codeoncloud.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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

2015-04-28 Thread Kasun Gunasekara
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
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB] Building the ESB product from the source

2015-04-28 Thread Isuru Ranawaka
Hi all,

After after changing p2-plugin version to 1.5.4 above mentioned error will
be fixed but there will be still build breaks if builds in clean repo.
Because current develop branch refers to old jars and those are got
removed . So we need to update to newer versions and for that we need to
wait until carbon-governance is released.

thanks

On Tue, Apr 28, 2015 at 11:16 AM, KasunG Gajasinghe kas...@wso2.com wrote:

 Hi,


 On Tue, Apr 28, 2015 at 11:04 AM, Isuru Ranawaka isu...@wso2.com wrote:

 Hi KasunG,

 After changing  p2-plugin version for 1.5.4  it works

 On Tue, Apr 28, 2015 at 10:51 AM, Kasun Indrasiri ka...@wso2.com wrote:

 Isn't this a bug in latest p2 plugin ?


 It looks like it. Please stick to the 1.5.4 version for your build. We
 will fix the issue in 1.5.5, and do a release.

 @Chanaka/Isuru, can you file a bug in jira?

 Thanks.


 On Tue, Apr 28, 2015 at 10:47 AM, Manoj Kumara ma...@wso2.com wrote:

 [Adding ESB team]


 *Manoj Kumara*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94713448188

 On Tue, Apr 28, 2015 at 10:43 AM, Thusitha Thilina Dayaratne 
 thusit...@wso2.com wrote:

 Hi Chanaka,

 Check the p2-plugin version in the p2-profile module in the ESB.
 There you can find segment like

 plugin

groupIdorg.wso2.maven/groupId

artifactIdcarbon-p2-plugin/artifactId

version${carbon.p2.plugin.version}/version

 check the version there

 Thanks

 On Tue, Apr 28, 2015 at 10:36 AM, Chanaka Sampath Cooray 
 chanakasampat...@gmail.com wrote:

 Hi Kasun,

 I tried with maven 3.0.5 and got the same error, how do I change the
 version of the p2 plugin?

 Thanks

 On Tue, Apr 28, 2015 at 10:31 AM, Kasun Gajasinghe kas...@wso2.com
 wrote:


 Can you guys build with maven 3.0.x, and update the status as Manoj
 mentioned?

 This may have occurred due to a latest p2 plugin release. If the
 above doesn't work, set the p2 plugin version as 1.5.4, and build the
 product.

 Thanks.

 On Apr 28, 2015, at 10:26 AM, Firzhan Naqash firz...@wso2.com
 wrote:

 Hi Chanaka,

 The same error has also been observed in IS. I am not sure whether
 this error occurs due to change in p2 plugin.

 I am adding kasung.

 Regards,
 Firzhan

 On Mon, Apr 27, 2015 at 11:48 PM, Chanaka Sampath Cooray 
 chanakasampat...@gmail.com wrote:

 Ok I will try maven 3.0.x and let you know the results.

 Thanks.

 On Tue, Apr 28, 2015 at 10:13 AM, Manoj Kumara ma...@wso2.com
 wrote:

 Did you tried with maven 3.0.x


 *Manoj Kumara*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94713448188

 On Tue, Apr 28, 2015 at 10:10 AM, Chanaka Sampath Cooray 
 chanakasampat...@gmail.com wrote:

 Hi Manoj,

 I used the repo [1] and the master branch of that and I also
 checked with the M6 and M7 releases as well, None of them did not 
 work for
 me.

 [1] https://github.com/wso2/product-esb

 Regards,
 Chanaka

 On Tue, Apr 28, 2015 at 10:04 AM, Manoj Kumara ma...@wso2.com
 wrote:

 Hi Chanaka,

 What is the branch you are using. For turing branch you need to
 use Maven 3.0.x to build the source.

 Regards,
 Manoj


 *Manoj Kumara*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94713448188

 On Tue, Apr 28, 2015 at 8:16 AM, Chanaka Sampath Cooray 
 chanakasampat...@gmail.com wrote:

 Hi all,

 I tried to build the esb product from the source. I got the
 following error when I tried to do that. I built using jdk 1.6 and 
 maven
 3.2.5 and I am using mac osx. Is there anything I have missed?

 [ERROR] Failed to execute goal
 org.wso2.maven:carbon-p2-plugin:1.5.5:p2-repo-gen 
 (2-p2-repo-generation) on
 project wso2esb-p2-profile: Execution 2-p2-repo-generation of goal
 org.wso2.maven:carbon-p2-plugin:1.5.5:p2-repo-gen failed: An API
 incompatibility was encountered while executing
 org.wso2.maven:carbon-p2-plugin:1.5.5:p2-repo-gen:
 java.lang.NoSuchMethodError:
 org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(Lorg/codehaus/plexus/util/cli/Commandline;Lorg/codehaus/plexus/util/cli/StreamConsumer;Lorg/codehaus/plexus/util/cli/StreamConsumer;I)I

 [ERROR] -

 [ERROR] realm =pluginorg.wso2.maven:carbon-p2-plugin:1.5.5

 [ERROR] strategy =
 org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy

 [ERROR] urls[0] =
 file:/Users/bcchanaka/.m2/repository/org/wso2/maven/carbon-p2-plugin/1.5.5/carbon-p2-plugin-1.5.5.jar

 [ERROR] urls[1] =
 file:/Users/bcchanaka/.m2/repository/org/sonatype/aether/aether-util/1.7/aether-util-1.7.jar

 [ERROR] urls[2] =
 file:/Users/bcchanaka/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar

 [ERROR] urls[3] =
 file:/Users/bcchanaka/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar

 [ERROR] urls[4] =
 file:/Users/bcchanaka/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar

 [ERROR] urls[5] =
 

Re: [Dev] Java heap space Error

2015-04-28 Thread Isuru Perera
Hi,

Those values should be enough. For example, I have:

$ echo $MAVEN_OPTS
-Xms512m -Xmx1536m -XX:MaxPermSize=512m -XX:ReservedCodeCacheSize=256m

When you run mvn clean install, run following command in another terminal.

ps -ef | grep clean install

You should see MAVEN_OPTS value in the process.

Thanks!

Best Regards,

On Tue, Apr 28, 2015 at 11:27 AM, Elilmatha Sivanesan elilma...@wso2.com
wrote:


 Hi all,

 I'm building carbon mediation and product-esb from source and getting an
 error

 [ERROR] Java heap space - [Help 1]

 My bashrc file looks like this
 export MAVEN_OPTS=-Xmx4096m -Xms1024m -XX:PremSize=1024m
 -XX:MaxPermSize=1024m
 export JVM_ARGS=-Xmx4096m -XX:MaxPermSize=2048m

 Can any one suggest with the correct value to use here.

 --
 *S.Elilmatha*
 Associate  Software Engineer,

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

 Mobile 0779842221.


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




-- 
Isuru Perera
Associate Technical Lead | 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


Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Sajith Abeywardhana
Congratulations !!!

*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com mahe...@wso2.com | Web: www.wso2.com

On Tue, Apr 28, 2015 at 12:49 PM, Damith Wickramasinghe dami...@wso2.com
wrote:

 Congrats Mahesh... 

 On Tue, Apr 28, 2015 at 12:34 PM, Milan Perera mi...@wso2.com wrote:

 Congratz Mahesh..!!!

 On Tue, Apr 28, 2015 at 11:43 AM, Prasanna Dangalla prasa...@wso2.com
 wrote:

 Congratulations Mahesh..

 On Tue, Apr 28, 2015 at 11:42 AM, Chathura Priyankara 
 chathu...@wso2.com wrote:

 Congratulations Mahesh !!!

 On Tue, Apr 28, 2015 at 11:17 AM, Thusitha Thilina Dayaratne 
 thusit...@wso2.com wrote:

 Congratulations..!!

 On Tue, Apr 28, 2015 at 11:15 AM, Chamalee De Silva chama...@wso2.com
  wrote:

 Congratulations Mahesh !

 On Tue, Apr 28, 2015 at 11:13 AM, Dilan Udara Ariyaratne 
 dil...@wso2.com wrote:

 Congratz, Mahesh!!!


 *Dilan U. Ariyaratne*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 Mobile: +94775149066
 lean . enterprise . middleware

 On Tue, Apr 28, 2015 at 10:40 AM, Samith Dassanayake 
 sam...@wso2.com wrote:

 Congratz Mahesh!

 On Tue, Apr 28, 2015 at 10:28 AM, Kalpa Welivitigoda 
 kal...@wso2.com wrote:

 Congratulations Mahesh !

 On Tue, Apr 28, 2015 at 10:28 AM, Tharik Kanaka tha...@wso2.com
 wrote:

 Congratulations Mahesh.

 On Tue, Apr 28, 2015 at 9:27 AM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

 Hi all,

 It is with great pleasure that WSO2 welcomes Mahesh Chinthaka as
 WSO2 committer!

 Thank you for your hard work. Congratulation!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

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




 --

 *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




 --
 Best Regards,

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

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




 --
 Best Regards

 Samith Dassanayake
 Software Engineer | Cloud TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +947 76207351

 ___
 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




 --

 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




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




 --
 Chathura Priyankara
 Software Engineer | WSO2 Inc.
 Mobile : +94718795340
 Blog : www.codeoncloud.blogspot.com

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




 --
 Prasanna Dangalla
 Software Engineer, WSO2, Inc.; http://wso2.com/
 lean.enterprise.middleware

 cell: +94 777 55 80 30 | +94 718 11 27 51
 twitter: @prasa77

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




 --
 Milan Harindu Perera
 Software Engineer
 *WSO2, Inc*
 (+94) 77 309 7088
 lean . enterprise . middleware
 http://lk.linkedin.com/in/milanharinduperera

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




 --
 Software Engineer
 WSO2 Inc.; http://wso2.com
 http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg
 lean.enterprise.middleware

 mobile: *+94728671315 %2B94728671315*


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


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


Re: [Dev] Differentiating the artifacts deployed with CAR file and persist the changes done through the management console

2015-04-28 Thread Isuru Udana
Hi Kishanthan/Manoj,

We agree with your points. We'll drop the task of persisting artifacts back
to CApp and will do only the task of disabling editing capability from Mgt
console for artifacts coming from a CApp .

Thanks.

On Tue, Apr 28, 2015 at 12:47 PM, Kishanthan Thangarajah 
kishant...@wso2.com wrote:



 On Mon, Apr 27, 2015 at 11:38 PM, Isuru Udana isu...@wso2.com wrote:

 Hi Kishanthan,

 On Mon, Apr 27, 2015 at 11:05 PM, Kishanthan Thangarajah 
 kishant...@wso2.com wrote:

 So for #3, are we going to support mgt console level changes for
 artifacts that comes from CApp's ? What are the user requirements and do we
 actually need this?

 I thought we decided to remove the editing functionality for artifacts
 that comes from CApps in mgt console level.

 We are having lot of issue with users accidentally editing artifacts
 coming from CApps in mgt console.
 As the first thing we can disable the editing option.
 However sometimes users need to do quick changes in artifacts using
 MgtConsole for testing purposes etc.. So if we disable editing
 functionality we won't be able to satisfy that.
 So we decided to see the possibility to persisting modifications back the
 CApp.


 But if we think from the platform point of view, we do not support the
 above for all the artifacts that comes from various products (Eg : DSS,
 Registry-Artifacts, etc). Also the above approach also has some
 issues/drawbacks. If something goes wrong during saving back to the CApp,
 the complete CApp may become faulty and all artifacts from the CApp may get
 removed.

 IMHO, we should avoid this and allow modification only from Dev-Studio.




 On Mon, Apr 27, 2015 at 7:15 PM, Priyadarssini Kishokumar 
 priyadarss...@wso2.com wrote:

 Hi All,

 I'm implementing $Subject with related redmine[1]

 The main tasks should be
 1. Identifying the artifacts deployed with CAR
 2. Changes done through the management console for CAR artifacts should
 not be saved in default deployment location
 3. Persisting the changes into the CAR file.

 Currently I'm identifying the artifacts coming from CAR and set the
 details in the synapse level. By this way requirements 1  2 can be solved.
 To persisting into CAR file, we need to get the CAPP name in the synapse
 level. Currently I'm doing by modify the DeploymentFileData in the axis2.
 In carbon application deployment SynapseAppDeployer class passing the
 DeploymentFileData to synapse. This is the only place the deployed file
 details are passing to synapse. To avoid axis2 level changes, we need to
 come up with  a way to send the CAPP file details to synapse. Please advise
 a better way to handle this.


 [1] https://redmine.wso2.com/issues/3837

 --
 Priya Kishok
 Software Engineer
 WSO2, Inc : http://wso2.com
 Mob : +94774457404

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




 --
 *Kishanthan Thangarajah*
 Associate Technical Lead,
 Platform Technologies Team,
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - +94773426635
 Blog - *http://kishanthan.wordpress.com
 http://kishanthan.wordpress.com*
 Twitter - *http://twitter.com/kishanthan
 http://twitter.com/kishanthan*




 --
 *Isuru Udana*
 Associate Technical Lead
 WSO2 Inc.; http://wso2.com
 email: isu...@wso2.com cell: +94 77 3791887
 blog: http://mytecheye.blogspot.com/




 --
 *Kishanthan Thangarajah*
 Associate Technical Lead,
 Platform Technologies Team,
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - +94773426635
 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com*
 Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan*




-- 
*Isuru Udana*
Associate Technical Lead
WSO2 Inc.; http://wso2.com
email: isu...@wso2.com cell: +94 77 3791887
blog: http://mytecheye.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Orbit] Please review the PR for Spark 1.3.0

2015-04-28 Thread Niranda Perera
@Kasun thank you for the clarification

I have made the adjustments. can you please check it?

rgds

On Mon, Apr 27, 2015 at 11:16 AM, KasunG Gajasinghe kas...@wso2.com wrote:

 Hi Niranda,

 The Bundle-Classpath tag is as mentioned above is required to over-ride
 the classes in the original orbit bundle. Since both the orbit bundle, and
 patched bundle have the same classes, we need to instruct to give
 precedence to the patch.jar. Hence, the above tag is required.

 The bundles will be resolved fine, but the over-riding may or may not
 happen. So, can you add this tag? Further, there are some pending comments
 in the PR.

 Thanks.

 On Mon, Apr 27, 2015 at 10:55 AM, Niranda Perera nira...@wso2.com wrote:

 Hi Supun,

 are you referring to this?
 Export-Package
 org.apache.spark.*;version=${spark.version};-split-package:=merge-first
 /Export-Package

 well, AFAIK what export-package does is, it exposes the
 org.apache.spark.* classes in the OSGI environment. since we are not doing
 any patching for the original classes, I dont think we have to change the
 version to 1.3.0.wso2v1

 @sameera, pls correct me if I'm wrong.

 rgds

 On Wed, Apr 22, 2015 at 9:06 AM, Supun Sethunga sup...@wso2.com wrote:

 Hi Sameera/Niranda,

 With parallel to this, Im in the process of migrating the spark Ml-Lib
 and spark streaming versions for product ML. Just wanted to clear myself,
 shouldn't the export-package-version of all spark packages be 1.3.0.wso2v1,
 rather than 1.3.0?

 Thanks,
 Supun

 On Fri, Apr 17, 2015 at 4:39 PM, Niranda Perera nira...@wso2.com
 wrote:

 oh. are you referring to the
 Bundle-Classpathpatch.jar,./Bundle-Classpath
 line?
 I did not include it in the orbit bundle.

 but I checked the bundles in a fresh carbon server and it seems like
 the patch gets attached successfully.
 ​
  Screenshot from 2015-04-17 16:20:15.png
 https://docs.google.com/a/wso2.com/file/d/0B1GsnfycTl32bDMyNG5DMDhRcHc/edit?usp=drive_web
 ​
 I checked it with BAM pack also.

 bundle-classpath tag, is it mandatory to be in the for the orbit
 bundle, for the patch to get attached?

 the patch pom is as follows

 https://github.com/nirandaperera/carbon-analytics/blob/clustering%2B130%2BMT/components/analytics/analytics-processors/org.wso2.carbon.analytics.spark.patch/pom.xml





 On Thu, Apr 16, 2015 at 3:05 PM, Anjana Fernando anj...@wso2.com
 wrote:

 Niranda, yeah, we would have to put that part to be able to later
 patch it. A sample can be found here [1].

 [1]
 https://github.com/wso2/orbit/blob/master/tomcat/7.0.59.wso2v2/pom.xml

 Cheers,
 Anjana.

 On Thu, Apr 16, 2015 at 3:00 PM, Sameera Jayasoma same...@wso2.com
 wrote:

 I meant to say, do we need to add the patch.jar line to the spark
 bundle as we've done in Tomcat bundle.

 Thanks,
 Sameera.

 On Thu, Apr 16, 2015 at 12:31 PM, Niranda Perera nira...@wso2.com
 wrote:

 Hi Sameera,

 No its not. The patch is in org.wso2.analytics.spark.patch
 component. Its still not committed to carbon - analytics

 Rgds

 On Thu, Apr 16, 2015, 12:17 Sameera Jayasoma same...@wso2.com
 wrote:

 Hi Niranda,

 Does this include fragment-bundle/patch modification also?

 Thanks,
 Sameera.

 On Thu, Apr 16, 2015 at 8:03 AM, Niranda Perera nira...@wso2.com
 wrote:

 Hi,

 Kind reminder on this.

 Best regards

 Niranda Perera
 Software Engineer, WSO2 Inc.
 Mobile: +94-71-554-8430
 Twitter: @n1r44
 On Apr 14, 2015 19:17, Niranda Perera nira...@wso2.com wrote:

 Hi Sameera,

 Could you please review this PR [1] for Spark 1.3.0.

 this upgrades 1.2.1 to 1.3.0. this upgrade is done, because 1.3.0
 comes with some major API changes and we wanted to include those API
 changes before the DAS (BAM) 3.0.0 alpha

 cheers

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

 --
 *Niranda Perera*
 Software Engineer, WSO2 Inc.
 Mobile: +94-71-554-8430
 Twitter: @n1r44 https://twitter.com/N1R44




 --
 Sameera Jayasoma,
 Software Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://blog.sameera.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

 Lean . Enterprise . Middleware




 --
 Sameera Jayasoma,
 Software Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://blog.sameera.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

 Lean . Enterprise . Middleware




 --
 *Anjana Fernando*
 Senior Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware




 --
 *Niranda Perera*
 Software Engineer, WSO2 Inc.
 Mobile: +94-71-554-8430
 Twitter: @n1r44 https://twitter.com/N1R44

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




 --
 *Supun Sethunga*
 Software Engineer
 WSO2, Inc.
 http://wso2.com/
 lean | enterprise | middleware
 Mobile : +94 716546324




 --
 *Niranda Perera*
 

Re: [Dev] Reading zip file form VFS

2015-04-28 Thread Manuranga Perera
In file connector if we can have something like following it will work for
this scenario. I think will be a common requirement whenever there can be
multiple files. Connector team, pleas talk with ESB team and see if this
makes scene.

file.iterate
path/home/manu/watch_dir/path
targetSequenceforEachZipFileSq/targetSequence
file.iterate

On Tue, Apr 28, 2015 at 1:43 PM, Manuranga Perera m...@wso2.com wrote:

 Had a chat with Isuru, since I don't want to write custom code for
 handling multiple files scenario, I'll continue to use VFS with binary
 relay for the content type.

 If we are recommending file connector over VFS, then we need to have some 
 *file
 iterator* functionality too. Otherwise, using file connector instead of
 VFS will not work. In the future if this becomes available we can switch.

 On Tue, Apr 28, 2015 at 1:02 PM, Manuranga Perera m...@wso2.com wrote:

 Hi Malaka, Ravi
 this is not same as using VFS, since in task approach I have to take into
 account what happens when multiple files come in. there will be much more
 code i have to write if I am using task.

 so why is task better approach?

 On Tue, Apr 28, 2015 at 10:26 AM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi,

 AFIK we can improve file connector with this feature. We have a method
 in file connector to append content into a file. And we can read a file and
 process the content using VFS. As Ravi and Malaka mentioned, we can trigger
 the proxy using polling transport.

 On Tue, Apr 28, 2015 at 10:00 AM, Malaka Silva mal...@wso2.com wrote:

 Hi Manuranga,

 Anyway in polling transport checks for the files according to the
 interval given. You can achieve the same using schedule task as Ravi
 mentioned.

 Also you can simple change the URL from local file to FTP since you
 will be using common VFS library.

 @Connector Team - Can we improve the file connector to support this?
 Please add this to the list.

 On Tue, Apr 28, 2015 at 9:50 AM, Manuranga Perera m...@wso2.com
 wrote:

 Then I'll have to write the file monitor part manually. I want to
 switch to ftp later.
 On 28 Apr 2015 09:46, Ravi Undupitiya r...@wso2.com wrote:

 Hi Manuranga,

 You can place the file connector inside a scheduled task.

 On Tue, Apr 28, 2015 at 9:42 AM, Manuranga Perera m...@wso2.com
 wrote:

 But then how does the proxy get started ?
 On 28 Apr 2015 09:40, Malaka Silva mal...@wso2.com wrote:

 Hi,

 IMO you can write a connector to the job. It'll be similar to file
 connector. [1]

 Anyway message is already build when it's invoking the class
 mediator.

 [1]
 https://storepreview.wso2.com/store/assets/esbconnector/f0550184-88c4-4d5e-b73f-ea51b1b5ab98

 On Mon, Apr 27, 2015 at 5:58 PM, Manuranga Perera m...@wso2.com
 wrote:

 I am reading a zip file from VFS transport. I need to read and
 merge all the files in the zip (from a custom mediator).

 I can write the unzip logic in my custom mediator by reading the
 zip file as a byte stream. but is there a better way to do this?
 --
 With regards,
 *Manu*ranga Perera.

 phone : 071 7 70 20 50
 mail : m...@wso2.com




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future.
 Print this email only if it is absolutely necessary.


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




 --
 *Ravi Undupitiya*
 Senior Software Engineer; WSO2 http://wso2.com


 *E-mail: r...@wso2.com http://wso2.com**M: **+94 772 930 712
 %2B94%C2%A0772%20930%20712*

 Lean . Enterprise . Middleware




 --

 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.




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --
 With regards,
 *Manu*ranga Perera.

 phone : 071 7 70 20 50
 mail : m...@wso2.com




 --
 With regards,
 *Manu*ranga Perera.

 phone : 071 7 70 20 50
 mail : m...@wso2.com




-- 
With regards,
*Manu*ranga Perera.

phone : 071 7 70 20 50
mail : m...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev