[Dev] [APIM][BAM] Breaking analytic hive script to prevent fail entirely when one CF failed to create

2014-11-04 Thread Lakshman Udayakantha
I am working on this jira[1]. As per the offline discussion with Amani, I
have to break the hive script to individual scripts to address follow
analytic logics

org_wso2_apimgt_statistics_destination

org_wso2_apimgt_statistics_request

org_wso2_apimgt_statistics_response

org_wso2_apimgt_statistics_fault

I have attached the analytic toolbox in which include four individual hive
scripts to address above analytic logics here[2]. When I deployed this new
toolbox on BAM, It posts some errors into the server logs. I pasted the
server log part that contain these errors. Anyway I can notice published
statistics on APIM dashboard. Anyone has any idea why I am getting these
errors?

[2014-11-05 12:46:15,955] ERROR
{org.wso2.carbon.hadoop.hive.jdbc.storage.db.DBManager} -  Failed to get
connection

org.h2.jdbc.JdbcSQLException: Connection is broken: "null" [90067-140]

at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)

at org.h2.message.DbException.get(DbException.java:156)

at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:331)

at
org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:253)

at org.h2.engine.SessionRemote.createSession(SessionRemote.java:219)

at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:111)

at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:95)

at org.h2.Driver.connect(Driver.java:73)

at java.sql.DriverManager.getConnection(DriverManager.java:582)

at java.sql.DriverManager.getConnection(DriverManager.java:185)

at
org.wso2.carbon.hadoop.hive.jdbc.storage.db.DBManager.createConnection(DBManager.java:73)

at
org.wso2.carbon.hadoop.hive.jdbc.storage.db.DBManager.createConnection(DBManager.java:85)

at
org.wso2.carbon.hadoop.hive.jdbc.storage.JDBCDataOutputFormat.getHiveRecordWriter(JDBCDataOutputFormat.java:48)

at
org.apache.hadoop.hive.ql.io.HiveFileFormatUtils.getRecordWriter(HiveFileFormatUtils.java:236)

at
org.apache.hadoop.hive.ql.io.HiveFileFormatUtils.getHiveRecordWriter(HiveFileFormatUtils.java:224)

at
org.apache.hadoop.hive.ql.exec.FileSinkOperator.createBucketFiles(FileSinkOperator.java:478)

at
org.apache.hadoop.hive.ql.exec.FileSinkOperator.processOp(FileSinkOperator.java:526)

at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:467)

at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:758)

at
org.apache.hadoop.hive.ql.exec.SelectOperator.processOp(SelectOperator.java:84)

at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:467)

at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:758)

at
org.apache.hadoop.hive.ql.exec.SelectOperator.processOp(SelectOperator.java:84)

at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:467)

at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:758)

at
org.apache.hadoop.hive.ql.exec.GroupByOperator.forward(GroupByOperator.java:964)

at
org.apache.hadoop.hive.ql.exec.GroupByOperator.processAggr(GroupByOperator.java:781)

at
org.apache.hadoop.hive.ql.exec.GroupByOperator.processOp(GroupByOperator.java:707)

at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:467)

at org.apache.hadoop.hive.ql.exec.ExecReducer.reduce(ExecReducer.java:248)

at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:518)

at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:419)

at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:257)

Caused by: java.net.UnknownHostException: null

at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)

at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:883)

at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1236)

at java.net.InetAddress.getAllByName0(InetAddress.java:1187)

at java.net.InetAddress.getAllByName(InetAddress.java:1117)

at java.net.InetAddress.getAllByName(InetAddress.java:1053)

at java.net.InetAddress.getByName(InetAddress.java:1003)

at org.h2.util.NetUtils.createSocket(NetUtils.java:90)

at org.h2.engine.SessionRemote.initTransfer(SessionRemote.java:96)

at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:327)

... 30 more

[2014-11-05 12:46:15,963] FATAL {ExecReducer} -
org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while
processing row (tag=0)
{"key":{"_col0":"testAPI2:v1.0.0","_col1":"carbon.super","_col2":"/test/api2","_col3":"10.100.5.161","_col4":2014,"_col5":10,"_col6":31,"_col7":10,"_col8":14,"_col9":"2014-10-31
10:14"},"value":{"_col0":{"count":1,"sum":583.0},"_col1":1},"alias":0}

at org.apache.hadoop.hive.ql.exec.ExecReducer.reduce(ExecReducer.java:257)

at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:518)

at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:419)

at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:257)

Caused by: org.apache.hadoop.hive.ql.metadata.HiveException:
java.lang.NullPointerException

at
org.apache.hadoop.hive.ql.exec.GroupByOperator.processOp(GroupByOperator.java:720)

at org.ap

Re: [Dev] WSO2 Committers += Niranjan Karunanandham

2014-11-04 Thread Priyadarssini Kishokumar
Congratulations Niranjan !

On Wed, Nov 5, 2014 at 12:30 PM, Chan  wrote:

> Congratz !
>
> On Wed, Nov 5, 2014 at 9:37 AM, Sam Sivayogam  wrote:
>
>> Congrats Niranjan :)
>>
>> On Tue, Nov 4, 2014 at 6:02 PM, Vijitha Ekanayake 
>> wrote:
>>
>>> Congratulations !!!
>>>
>>> On Tue, Nov 4, 2014 at 11:43 AM, Sameera Perera 
>>> wrote:
>>>
 Hi all,

 It's my pleasure to announce Niranjan as a WSO2 Committer.  He has
 been an active contributor for WSO2 Enterprise Mobility Manager.

 Niranjan, welcome aboard and keep up the good work!.

 --

 --

 *Sameera Perera*
 Director of Engineering
 gtalk: samee...@wso2.com
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 *WSO2, Inc.* 
 lean.enterprise.middleware



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


>>>
>>>
>>> --
>>> Vijitha Ekanayake
>>> Software Engineer*, *WSO2, Inc.; http://wso2.com/
>>> Mobile : +94 777 24 73 39 | +94 718 74 44 08
>>> lean.enterprise.middleware
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Sam Sivayogam*
>>
>> Software Engineer
>>
>> 
>> *Mobile*  : +94 772 906 439
>> *Office*   : +94 112 145 345
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Chan (Dulitha Wijewantha)
> Software Engineer - Mobile Development
> WSO2 Inc
> Lean.Enterprise.Mobileware
>  * ~Email   duli...@wso2.com *
> *  ~Mobile +94712112165 <%2B94712112165>*
> *  ~Website   dulitha.me *
> *  ~Twitter @dulitharw *
>   *~Github @dulichan *
>   *~SO @chan *
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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


Re: [Dev] [APPFAC] Login failed exception while creating a new tenant

2014-11-04 Thread Danushka Fernando
In which call exactly this occurs? In which server do you see this error?
AF or someother server?

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

On Wed, Nov 5, 2014 at 11:40 AM, Kasun De Silva  wrote:

> Hi All,
>
> I have just setup the latest AF pack. Observed the following exception
> while creating the tenant. Any clue ?
>
> TID: [0] [Carbon] [2014-11-05 11:23:48,185] ERROR
> {org.wso2.carbon.identity.authenticator.signedjwt.SignedJWTAuthenticator} -
>  Authentication Request is rejected. User does not exists in UserStore
> {org.wso2.carbon.identity.authenticator.signedjwt.SignedJWTAuthenticator}
> TID: [0] [Carbon] [2014-11-05 11:23:48,185] ERROR
> {org.wso2.carbon.identity.authenticator.signedjwt.SignedJWTAuthenticator} -
>  Authentication Request is rejected. User does not exists in UserStore
> {org.wso2.carbon.identity.authenticator.signedjwt.SignedJWTAuthenticator}
> TID: [0] [Carbon] [2014-11-05 11:23:48,186]  WARN
> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  Failed
> Administrator login attempt 'kasun[-1234]' at [2014-11-05
> 11:23:48,186+0530]
> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil}
> TID: [0] [Carbon] [2014-11-05 11:23:48,186]  WARN
> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  Failed
> Administrator login attempt 'kasun[-1234]' at [2014-11-05
> 11:23:48,186+0530]
> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil}
> TID: [0] [Carbon] [2014-11-05 11:23:48,187]  WARN
> {org.wso2.carbon.server.admin.module.handler.AuthenticationHandler} -
>  Illegal access attempt at [2014-11-05 11:23:48,0187] from IP address
> 127.0.0.1 : Service is WSRegistryService
> {org.wso2.carbon.server.admin.module.handler.AuthenticationHandler}
> TID: [0] [Carbon] [2014-11-05 11:23:48,187]  WARN
> {org.wso2.carbon.server.admin.module.handler.AuthenticationHandler} -
>  Illegal access attempt at [2014-11-05 11:23:48,0187] from IP address
> 127.0.0.1 : Service is WSRegistryService
> {org.wso2.carbon.server.admin.module.handler.AuthenticationHandler}
> TID: [0] [Carbon] [2014-11-05 11:23:48,188] ERROR
> {org.apache.axis2.engine.AxisEngine} -  Access Denied. Please login first.
> {org.apache.axis2.engine.AxisEngine}
> org.apache.axis2.AxisFault: Access Denied. Please login first.
> at
> org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.authenticate(AuthenticationHandler.java:97)
> at
> org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.invoke(AuthenticationHandler.java:66)
> at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
> at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
> at
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
> at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
> at
> org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:231)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
> at
> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
> at
> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
> at
> org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
> at
> org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
> at
> org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
> at
> org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(Tom

Re: [Dev] BAM 2.5.0 Release testing

2014-11-04 Thread Anjana Fernando
OK.

Cheers,
Anjana.

On Tue, Nov 4, 2014 at 11:27 PM, Aparna Karunarathna 
wrote:

> No Anjana, taskServerCount=2.
>
> Regards,
> Aparna
>
> On Wed, Nov 5, 2014 at 12:49 PM, Anjana Fernando  wrote:
>
>> Why is taskServerCount=1? ..
>>
>> Cheers,
>> Anjana.
>>
>> On Tue, Nov 4, 2014 at 11:15 PM, Shavantha Weerasinghe <
>> shavan...@wso2.com> wrote:
>>
>>> changes done to the two nodes
>>>
>>> *hive-site.xml*
>>>
>>>  
>>> hadoop.embedded.local.mode.debug
>>> false
>>>   
>>>
>>>
>>>
>>> hive.incremental.processing.intermediate.results.cassandra.hosts
>>> *192.168.48.33:9160 *
>>>   
>>>
>>>
>>>
>>> hive.incremental.processing.intermediate.results.cassandra.userName
>>> *cassandrauser*
>>>   
>>>
>>>
>>>
>>> hive.incremental.processing.intermediate.results.cassandra.password
>>> *cassandrapw*
>>>   
>>>
>>> *user-mgt.xml*
>>> jdbc/WSO2UserDB
>>>
>>> jdbc/WSO2UserDB
>>>
>>>
>>> all username/password master-datasource.xml
>>>
>>>
>>> *axis2.xml*
>>> wka
>>>
>>>  192.168.48.29
>>>
>>>  
>>> 
>>> 192.168.48.30
>>> 4000
>>> 
>>> 
>>>
>>>
>>> 
>>> 192.168.48.29
>>> 4000
>>> 
>>> 
>>>
>>> *tasks-config.xml*
>>>
>>>  1
>>>
>>>
>>> Shavantha Weerasinghe
>>> Senior Software Engineer QA
>>> WSO2, Inc.
>>> lean.enterprise.middleware.
>>> http://wso2.com
>>> http://wso2.org
>>> Tel : 94 11 214 5345
>>> Fax :94 11 2145300
>>>
>>>
>>> On Wed, Nov 5, 2014 at 11:42 AM, Shavantha Weerasinghe <
>>> shavan...@wso2.com> wrote:
>>>
 Hi Dunith

 I have reported the following two puppet related jira for now
 https://wso2.org/jira/browse/BAM-1861
 https://wso2.org/jira/browse/BAM-1862

 will update the other issues and update this mail thread

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


 On Tue, Nov 4, 2014 at 11:11 PM, Dunith Dhanushka 
 wrote:

> Hi Shavantha,
>
> You'll only need above configurations when incremental processing is
> enabled. However you don't need to edit those values by hand, instead
> puppet should automatically configure it for you.
>
> Please raise a JIRA for this. Will fix it.
>
> Regards,
> Dunith
>
>
>
> On Tue, Nov 4, 2014 at 10:40 PM, Dunith Dhanushka 
> wrote:
>
>> Hi Aparna,
>>
>> Issue 1 - Failed in in the first time and succeeded in the 2nd
>> attempt.
>>
>> Puppet script uses wget command to fetch Cassandra distribution from
>> the specified remote location. This operation might take some time
>> depending on the network. Above situation could happen if the
>> Cassandra distribution was not fully downloaded and Puppet script tries 
>> to
>> continue with partially downloaded distribution. Not sure this is 
>> specific
>> to our research cloud environment. I'll check on this further.
>>
>> *Issue 2* - Temporarily  copied files
>> This might be due to issue #1, partial download of a distribution
>> file.
>>
>> Yes, I'll make a note about user 'kurumba' in the documentation.
>>
>> Regards,
>> Dunith
>>
>>
>>
>>
>> On Tue, Nov 4, 2014 at 9:38 PM, Shavantha Weerasinghe <
>> shavan...@wso2.com> wrote:
>>
>>> Hi Dunith
>>>
>>> within the puppet scrips for receive/analyzer nodes hive-site.xml
>>> are we to change the user name/password and host values
>>>
>>>
>>>
>>> hive.incremental.processing.intermediate.results.cassandra.hosts
>>> localhost:9160
>>>   
>>>
>>>
>>>
>>> hive.incremental.processing.intermediate.results.cassandra.userName
>>> admin
>>>   
>>>
>>>
>>>
>>> hive.incremental.processing.intermediate.results.cassandra.password
>>> admin
>>>   
>>>
>>>
>>> Shavantha Weerasinghe
>>> Senior Software Engineer QA
>>> WSO2, Inc.
>>> lean.enterprise.middleware.
>>> http://wso2.com
>>> http://wso2.org
>>> Tel : 94 11 214 5345
>>> Fax :94 11 2145300
>>>
>>>
>>> On Mon, Nov 3, 2014 at 6:12 PM, Dunith Dhanushka 
>>> wrote:
>>>
 Hi ,

 Please note that when setting this up in the research cloud, turn
 off the iptables by '*sudo service iptables stop*'. Otherwise
 it'll block internode communications.

 Regards,
 Dunith

 On Mon, Nov 3, 2014 at 11:53 AM, Dunith Dhanushka 
 wrote:

> Hi Aparna,
>
> I have completed the puppet script upgrade for puppet version 3.7
> and tested them on a Centos cluster. Ple

Re: [Dev] BAM 2.5.0 Release testing

2014-11-04 Thread Aparna Karunarathna
No Anjana, taskServerCount=2.

Regards,
Aparna

On Wed, Nov 5, 2014 at 12:49 PM, Anjana Fernando  wrote:

> Why is taskServerCount=1? ..
>
> Cheers,
> Anjana.
>
> On Tue, Nov 4, 2014 at 11:15 PM, Shavantha Weerasinghe  > wrote:
>
>> changes done to the two nodes
>>
>> *hive-site.xml*
>>
>>  
>> hadoop.embedded.local.mode.debug
>> false
>>   
>>
>>
>>
>> hive.incremental.processing.intermediate.results.cassandra.hosts
>> *192.168.48.33:9160 *
>>   
>>
>>
>>
>> hive.incremental.processing.intermediate.results.cassandra.userName
>> *cassandrauser*
>>   
>>
>>
>>
>> hive.incremental.processing.intermediate.results.cassandra.password
>> *cassandrapw*
>>   
>>
>> *user-mgt.xml*
>> jdbc/WSO2UserDB
>>
>> jdbc/WSO2UserDB
>>
>>
>> all username/password master-datasource.xml
>>
>>
>> *axis2.xml*
>> wka
>>
>>  192.168.48.29
>>
>>  
>> 
>> 192.168.48.30
>> 4000
>> 
>> 
>>
>>
>> 
>> 192.168.48.29
>> 4000
>> 
>> 
>>
>> *tasks-config.xml*
>>
>>  1
>>
>>
>> Shavantha Weerasinghe
>> Senior Software Engineer QA
>> WSO2, Inc.
>> lean.enterprise.middleware.
>> http://wso2.com
>> http://wso2.org
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300
>>
>>
>> On Wed, Nov 5, 2014 at 11:42 AM, Shavantha Weerasinghe <
>> shavan...@wso2.com> wrote:
>>
>>> Hi Dunith
>>>
>>> I have reported the following two puppet related jira for now
>>> https://wso2.org/jira/browse/BAM-1861
>>> https://wso2.org/jira/browse/BAM-1862
>>>
>>> will update the other issues and update this mail thread
>>>
>>> Shavantha Weerasinghe
>>> Senior Software Engineer QA
>>> WSO2, Inc.
>>> lean.enterprise.middleware.
>>> http://wso2.com
>>> http://wso2.org
>>> Tel : 94 11 214 5345
>>> Fax :94 11 2145300
>>>
>>>
>>> On Tue, Nov 4, 2014 at 11:11 PM, Dunith Dhanushka 
>>> wrote:
>>>
 Hi Shavantha,

 You'll only need above configurations when incremental processing is
 enabled. However you don't need to edit those values by hand, instead
 puppet should automatically configure it for you.

 Please raise a JIRA for this. Will fix it.

 Regards,
 Dunith



 On Tue, Nov 4, 2014 at 10:40 PM, Dunith Dhanushka 
 wrote:

> Hi Aparna,
>
> Issue 1 - Failed in in the first time and succeeded in the 2nd attempt.
>
> Puppet script uses wget command to fetch Cassandra distribution from
> the specified remote location. This operation might take some time
> depending on the network. Above situation could happen if the
> Cassandra distribution was not fully downloaded and Puppet script tries to
> continue with partially downloaded distribution. Not sure this is specific
> to our research cloud environment. I'll check on this further.
>
> *Issue 2* - Temporarily  copied files
> This might be due to issue #1, partial download of a distribution file.
>
> Yes, I'll make a note about user 'kurumba' in the documentation.
>
> Regards,
> Dunith
>
>
>
>
> On Tue, Nov 4, 2014 at 9:38 PM, Shavantha Weerasinghe <
> shavan...@wso2.com> wrote:
>
>> Hi Dunith
>>
>> within the puppet scrips for receive/analyzer nodes hive-site.xml are
>> we to change the user name/password and host values
>>
>>
>>
>> hive.incremental.processing.intermediate.results.cassandra.hosts
>> localhost:9160
>>   
>>
>>
>>
>> hive.incremental.processing.intermediate.results.cassandra.userName
>> admin
>>   
>>
>>
>>
>> hive.incremental.processing.intermediate.results.cassandra.password
>> admin
>>   
>>
>>
>> Shavantha Weerasinghe
>> Senior Software Engineer QA
>> WSO2, Inc.
>> lean.enterprise.middleware.
>> http://wso2.com
>> http://wso2.org
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300
>>
>>
>> On Mon, Nov 3, 2014 at 6:12 PM, Dunith Dhanushka 
>> wrote:
>>
>>> Hi ,
>>>
>>> Please note that when setting this up in the research cloud, turn
>>> off the iptables by '*sudo service iptables stop*'. Otherwise it'll
>>> block internode communications.
>>>
>>> Regards,
>>> Dunith
>>>
>>> On Mon, Nov 3, 2014 at 11:53 AM, Dunith Dhanushka 
>>> wrote:
>>>
 Hi Aparna,

 I have completed the puppet script upgrade for puppet version 3.7
 and tested them on a Centos cluster. Please find the attached guide for
 setup instructions.


 Regards,
 Dunith
 ​
  BAM 2.5.0 Distributed Setup with Puppet 3.7
 
 ​

 On Wed, Oct 29

Re: [Dev] BAM 2.5.0 Release testing

2014-11-04 Thread Anjana Fernando
Why is taskServerCount=1? ..

Cheers,
Anjana.

On Tue, Nov 4, 2014 at 11:15 PM, Shavantha Weerasinghe 
wrote:

> changes done to the two nodes
>
> *hive-site.xml*
>
>  
> hadoop.embedded.local.mode.debug
> false
>   
>
>
>
> hive.incremental.processing.intermediate.results.cassandra.hosts
> *192.168.48.33:9160 *
>   
>
>
>
> hive.incremental.processing.intermediate.results.cassandra.userName
> *cassandrauser*
>   
>
>
>
> hive.incremental.processing.intermediate.results.cassandra.password
> *cassandrapw*
>   
>
> *user-mgt.xml*
> jdbc/WSO2UserDB
>
> jdbc/WSO2UserDB
>
>
> all username/password master-datasource.xml
>
>
> *axis2.xml*
> wka
>
>  192.168.48.29
>
>  
> 
> 192.168.48.30
> 4000
> 
> 
>
>
> 
> 192.168.48.29
> 4000
> 
> 
>
> *tasks-config.xml*
>
>  1
>
>
> Shavantha Weerasinghe
> Senior Software Engineer QA
> WSO2, Inc.
> lean.enterprise.middleware.
> http://wso2.com
> http://wso2.org
> Tel : 94 11 214 5345
> Fax :94 11 2145300
>
>
> On Wed, Nov 5, 2014 at 11:42 AM, Shavantha Weerasinghe  > wrote:
>
>> Hi Dunith
>>
>> I have reported the following two puppet related jira for now
>> https://wso2.org/jira/browse/BAM-1861
>> https://wso2.org/jira/browse/BAM-1862
>>
>> will update the other issues and update this mail thread
>>
>> Shavantha Weerasinghe
>> Senior Software Engineer QA
>> WSO2, Inc.
>> lean.enterprise.middleware.
>> http://wso2.com
>> http://wso2.org
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300
>>
>>
>> On Tue, Nov 4, 2014 at 11:11 PM, Dunith Dhanushka 
>> wrote:
>>
>>> Hi Shavantha,
>>>
>>> You'll only need above configurations when incremental processing is
>>> enabled. However you don't need to edit those values by hand, instead
>>> puppet should automatically configure it for you.
>>>
>>> Please raise a JIRA for this. Will fix it.
>>>
>>> Regards,
>>> Dunith
>>>
>>>
>>>
>>> On Tue, Nov 4, 2014 at 10:40 PM, Dunith Dhanushka 
>>> wrote:
>>>
 Hi Aparna,

 Issue 1 - Failed in in the first time and succeeded in the 2nd attempt.

 Puppet script uses wget command to fetch Cassandra distribution from
 the specified remote location. This operation might take some time
 depending on the network. Above situation could happen if the
 Cassandra distribution was not fully downloaded and Puppet script tries to
 continue with partially downloaded distribution. Not sure this is specific
 to our research cloud environment. I'll check on this further.

 *Issue 2* - Temporarily  copied files
 This might be due to issue #1, partial download of a distribution file.

 Yes, I'll make a note about user 'kurumba' in the documentation.

 Regards,
 Dunith




 On Tue, Nov 4, 2014 at 9:38 PM, Shavantha Weerasinghe <
 shavan...@wso2.com> wrote:

> Hi Dunith
>
> within the puppet scrips for receive/analyzer nodes hive-site.xml are
> we to change the user name/password and host values
>
>
>
> hive.incremental.processing.intermediate.results.cassandra.hosts
> localhost:9160
>   
>
>
>
> hive.incremental.processing.intermediate.results.cassandra.userName
> admin
>   
>
>
>
> hive.incremental.processing.intermediate.results.cassandra.password
> admin
>   
>
>
> Shavantha Weerasinghe
> Senior Software Engineer QA
> WSO2, Inc.
> lean.enterprise.middleware.
> http://wso2.com
> http://wso2.org
> Tel : 94 11 214 5345
> Fax :94 11 2145300
>
>
> On Mon, Nov 3, 2014 at 6:12 PM, Dunith Dhanushka 
> wrote:
>
>> Hi ,
>>
>> Please note that when setting this up in the research cloud, turn off
>> the iptables by '*sudo service iptables stop*'. Otherwise it'll
>> block internode communications.
>>
>> Regards,
>> Dunith
>>
>> On Mon, Nov 3, 2014 at 11:53 AM, Dunith Dhanushka 
>> wrote:
>>
>>> Hi Aparna,
>>>
>>> I have completed the puppet script upgrade for puppet version 3.7
>>> and tested them on a Centos cluster. Please find the attached guide for
>>> setup instructions.
>>>
>>>
>>> Regards,
>>> Dunith
>>> ​
>>>  BAM 2.5.0 Distributed Setup with Puppet 3.7
>>> 
>>> ​
>>>
>>> On Wed, Oct 29, 2014 at 11:58 AM, Dunith Dhanushka 
>>> wrote:
>>>
 Hi Aparna,

 I have completed the scripts for BAM and Cassandra nodes. But still
 need to work on Hadoop scripts. I have started testing them on the 
 centos
 cluster created in the research cloud.

 Hopefully by 

Re: [Dev] BAM 2.5.0 Release testing

2014-11-04 Thread Shavantha Weerasinghe
changes done to the two nodes

*hive-site.xml*

 
hadoop.embedded.local.mode.debug
false
  

   

hive.incremental.processing.intermediate.results.cassandra.hosts
*192.168.48.33:9160 *
  

   

hive.incremental.processing.intermediate.results.cassandra.userName
*cassandrauser*
  

   

hive.incremental.processing.intermediate.results.cassandra.password
*cassandrapw*
  

*user-mgt.xml*
jdbc/WSO2UserDB

jdbc/WSO2UserDB


all username/password master-datasource.xml


*axis2.xml*
wka

 192.168.48.29

 

192.168.48.30
4000



   

192.168.48.29
4000



*tasks-config.xml*

 1


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


On Wed, Nov 5, 2014 at 11:42 AM, Shavantha Weerasinghe 
wrote:

> Hi Dunith
>
> I have reported the following two puppet related jira for now
> https://wso2.org/jira/browse/BAM-1861
> https://wso2.org/jira/browse/BAM-1862
>
> will update the other issues and update this mail thread
>
> Shavantha Weerasinghe
> Senior Software Engineer QA
> WSO2, Inc.
> lean.enterprise.middleware.
> http://wso2.com
> http://wso2.org
> Tel : 94 11 214 5345
> Fax :94 11 2145300
>
>
> On Tue, Nov 4, 2014 at 11:11 PM, Dunith Dhanushka  wrote:
>
>> Hi Shavantha,
>>
>> You'll only need above configurations when incremental processing is
>> enabled. However you don't need to edit those values by hand, instead
>> puppet should automatically configure it for you.
>>
>> Please raise a JIRA for this. Will fix it.
>>
>> Regards,
>> Dunith
>>
>>
>>
>> On Tue, Nov 4, 2014 at 10:40 PM, Dunith Dhanushka 
>> wrote:
>>
>>> Hi Aparna,
>>>
>>> Issue 1 - Failed in in the first time and succeeded in the 2nd attempt.
>>>
>>> Puppet script uses wget command to fetch Cassandra distribution from the
>>> specified remote location. This operation might take some time depending on
>>> the network. Above situation could happen if the Cassandra distribution was
>>> not fully downloaded and Puppet script tries to continue with partially
>>> downloaded distribution. Not sure this is specific to our research cloud
>>> environment. I'll check on this further.
>>>
>>> *Issue 2* - Temporarily  copied files
>>> This might be due to issue #1, partial download of a distribution file.
>>>
>>> Yes, I'll make a note about user 'kurumba' in the documentation.
>>>
>>> Regards,
>>> Dunith
>>>
>>>
>>>
>>>
>>> On Tue, Nov 4, 2014 at 9:38 PM, Shavantha Weerasinghe <
>>> shavan...@wso2.com> wrote:
>>>
 Hi Dunith

 within the puppet scrips for receive/analyzer nodes hive-site.xml are
 we to change the user name/password and host values



 hive.incremental.processing.intermediate.results.cassandra.hosts
 localhost:9160
   



 hive.incremental.processing.intermediate.results.cassandra.userName
 admin
   



 hive.incremental.processing.intermediate.results.cassandra.password
 admin
   


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


 On Mon, Nov 3, 2014 at 6:12 PM, Dunith Dhanushka 
 wrote:

> Hi ,
>
> Please note that when setting this up in the research cloud, turn off
> the iptables by '*sudo service iptables stop*'. Otherwise it'll block
> internode communications.
>
> Regards,
> Dunith
>
> On Mon, Nov 3, 2014 at 11:53 AM, Dunith Dhanushka 
> wrote:
>
>> Hi Aparna,
>>
>> I have completed the puppet script upgrade for puppet version 3.7 and
>> tested them on a Centos cluster. Please find the attached guide for setup
>> instructions.
>>
>>
>> Regards,
>> Dunith
>> ​
>>  BAM 2.5.0 Distributed Setup with Puppet 3.7
>> 
>> ​
>>
>> On Wed, Oct 29, 2014 at 11:58 AM, Dunith Dhanushka 
>> wrote:
>>
>>> Hi Aparna,
>>>
>>> I have completed the scripts for BAM and Cassandra nodes. But still
>>> need to work on Hadoop scripts. I have started testing them on the 
>>> centos
>>> cluster created in the research cloud.
>>>
>>> Hopefully by today EOD I'll be able to finish  testing with full BAM
>>> cluster.
>>>
>>>
>>> Regards,
>>> Dunith
>>>
>>>
>>> On Wed, Oct 29, 2014 at 11:40 AM, Aparna Karunarathna <
>>> apa...@wso2.com> wrote:
>>>
 Hi Dunith,

 Any update on puppet scripts?

 Regards,
 Aparna.

 

[Dev] clarification on hive-site.xml

2014-11-04 Thread Shavantha Weerasinghe
Hi Sinthuja

within the hive-site.xml, for the below property can we have comma
separated values to list out all the external cassandra nodes. ex :
192.168.48.33:9160,192.168.48.35:9160,192.168.48.36:9160,192.168.48.37:9160

   

hive.incremental.processing.intermediate.results.cassandra.hosts
192.168.48.33:9160
  

regards,
Shavantha Weerasinghe
Senior Software Engineer QA
WSO2, Inc.
lean.enterprise.middleware.
http://wso2.com
http://wso2.org
Tel : 94 11 214 5345
Fax :94 11 2145300
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Automate OpenID to SAML federation flow - How to start two IS instances with different hostnames

2014-11-04 Thread Krishantha Samaraweera
Hi Malithi,

Changing /etc/hosts at test runtime is not recommended. You cannot edit
this file without super user privileges. And our tests are public, so
anybody should be able to run the tests thus accessing system files of test
execution environment will be a problem.

You need to write these cases as platform tests.  For the time being you
can assume two IS instances are running in different hosts and go ahead
with test cases writing. Our plan is to provide automated product
deployment framework in future, so once it is available you can get those
tests cases fully automated.

Please refer how MB team wrote their platform tests at
https://github.com/wso2-dev/product-mb/tree/master/modules/integration/tests-platform

Thanks,
Krishantha.

On Wed, Nov 5, 2014 at 11:59 AM, Malithi Edirisinghe 
wrote:

> Hi Waruna,
>
> The problem is changing the etc/hosts in automation tests. I don't think
> it's recommended when writing integrations tests.
>
> Hope there would be some better solution for this.
>
> Thanks,
> Malithi.
>
> On Wed, Nov 5, 2014 at 11:49 AM, Waruna Perera  wrote:
>
>> Hi Malithi,
>>
>> To overcome session cookie problem pls look at[1].
>>
>> [1]
>> http://warunaperera.blogspot.com/2014/06/enablingsso-for-wso2-servers-overcome.html
>>
>> On Tue, Nov 4, 2014 at 11:06 PM, Malithi Edirisinghe 
>> wrote:
>>
>>> Hi all,
>>>
>>> I'm working on automating the OpenID to SAML federation flow. At the
>>> moment OpenID implementation on IS 5.1.0 depends on the session, which
>>> would be fixed in future. Hence when I start two IS instances with the same
>>> hostname changing only the port the OpenID federation flow breaks since the
>>> cookie is bound to the hostname and this overwrites each other's session
>>> information resulting in lost sessions. Thus, I need to start two IS
>>> instances that bind to different hostnames.
>>> I would like to know whether this is possible with TAF 4.2.8 or how
>>> could we achieve this scenario ?
>>>
>>> Thanks,
>>> Malithi.
>>>
>>> --
>>>
>>> *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
>>>
>>>
>>
>>
>> --
>> Waruna Perera
>> Senior Software Engineer - Test Automation
>> Mobile: +94 77 3867037
>> WSO2, Inc.; http://wso2.com/
>> lean . enterprise . middlewear.
>>
>
>
>
> --
>
> *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
>
>


-- 
Krishantha Samaraweera
Senior Technical Lead - Test Automation
Mobile: +94 77 7759918
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Niranjan Karunanandham

2014-11-04 Thread Chan
Congratz !

On Wed, Nov 5, 2014 at 9:37 AM, Sam Sivayogam  wrote:

> Congrats Niranjan :)
>
> On Tue, Nov 4, 2014 at 6:02 PM, Vijitha Ekanayake 
> wrote:
>
>> Congratulations !!!
>>
>> On Tue, Nov 4, 2014 at 11:43 AM, Sameera Perera 
>> wrote:
>>
>>> Hi all,
>>>
>>> It's my pleasure to announce Niranjan as a WSO2 Committer.  He has been
>>> an active contributor for WSO2 Enterprise Mobility Manager.
>>>
>>> Niranjan, welcome aboard and keep up the good work!.
>>>
>>> --
>>>
>>> --
>>>
>>> *Sameera Perera*
>>> Director of Engineering
>>> gtalk: samee...@wso2.com
>>> Tel : 94 11 214 5345
>>> Fax :94 11 2145300
>>> *WSO2, Inc.* 
>>> lean.enterprise.middleware
>>>
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Vijitha Ekanayake
>> Software Engineer*, *WSO2, Inc.; http://wso2.com/
>> Mobile : +94 777 24 73 39 | +94 718 74 44 08
>> lean.enterprise.middleware
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Sam Sivayogam*
>
> Software Engineer
>
> 
> *Mobile*  : +94 772 906 439
> *Office*   : +94 112 145 345
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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


[Dev] [APPFAC]Moving string values in "JDBCApplicationDao" to a Constant file

2014-11-04 Thread Roshan Deniyage
Hi Devs,
   In appfactory sql statement for runtime database operations are in the
"SQLConstants" and this is fine. But, the column names which are used by
some methods are hard coded. Better to move those to a constant file.

I'm going to rename the "SQLConstants" file to "SQLQueryConstans" and put
the other strings in "SQLConstants" file.

Any comment on this would be appreciated.


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

Mobile:  +94 777636406
Twitter:  *https://twitter.com/roshku *
LinkedIn :  https://www.linkedin.com/in/roshandeniyage
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Carbon 4.3.0-SNAPSHOT intermittent error

2014-11-04 Thread Gayashan Amarasinghe
Thanks Lochana.

On Wed, Nov 5, 2014 at 12:09 PM, Lochana Menikarachchi 
wrote:

> Installing org.wso2.carbon.ldap.server.feature.group 4.3.0.SNAPSHOT.
> Installing org.wso2.carbon.ldap.server.server.feature.group 4.3.0.SNAPSHOT.
> Installing org.wso2.carbon.directory.service.mgr.feature.group
> 4.3.0.SNAPSHOT.
> Installing org.wso2.carbon.directory.service.mgr.server.feature.group
> 4.3.0.SNAPSHOT.
> Installing org.wso2.carbon.directory.service.mgr.ui.feature.group
> 4.3.0.SNAPSHOT.
> Installing org.wso2.carbon.um.ws.service.feature.group 4.3.0.SNAPSHOT.
> Installing org.wso2.carbon.logging.mgt.feature.group 4.3.0.SNAPSHOT.
> Installing org.wso2.carbon.databridge.datapublisher.feature.group
> 4.3.0.SNAPSHOT.
> Installing org.wso2.carbon.security.mgt.feature.group 4.3.0.SNAPSHOT.
> Installing org.wso2.carbon.registry.core.feature.group 4.3.0.SNAPSHOT.
> Installing org.wso2.carbon.registry.ui.menu.feature.group 4.3.0.SNAPSHOT.
> Installing org.wso2.carbon.registry.resource.properties.feature.group
> 4.3.0.SNAPSHOT.
> Installing org.wso2.carbon.tenant.usage.agent.feature.group 4.3.0.SNAPSHOT.
> Installing org.wso2.carbon.tenant.throttling.agent.feature.group
> 4.3.0.SNAPSHOT.
> Installing org.wso2.carbon.tenant.common.feature.group 4.3.0.SNAPSHOT.
> Installing org.wso2.carbon.tenant.deployment.feature.group 4.3.0.SNAPSHOT.
> Installing org.wso2.carbon.transaction.manager.feature.group
> 4.3.0.SNAPSHOT.
> Installing org.wso2.carbon.event.common.feature.group 4.3.0.SNAPSHOT.
> Installing org.wso2.carbon.ntask.feature.group 4.3.0.SNAPSHOT.
> Installing
> org.wso2.carbon.identity.authenticator.saml2.sso.server.feature.group
> 4.3.0.SNAPSHOT.
> Installing
> org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.group
> 4.3.0.SNAPSHOT.
> Installing org.wso2.carbon.claim.mgt.feature.group 4.3.0.SNAPSHOT.
> Installing org.wso2.carbon.user.mgt.feature.group 4.3.0.SNAPSHOT.
> Installing org.wso2.carbon.ml.feature.group 0.1.0.
> Installing org.jaggeryjs.feature.group 0.9.0.SNAPSHOT.
> Installing org.jaggeryjs.modules.caramel.feature.group 1.0.1.
> Installing org.jaggeryjs.modules.handlebars.feature.group 1.0.0.
> Installing org.jaggeryjs.modules.markdown.feature.group 1.0.0.
> Installing org.jaggeryjs.modules.carbon.feature.group 1.0.0.
> Installing org.jaggeryjs.modules.process.feature.group 1.0.0.
> Installing org.jaggeryjs.modules.uuid.feature.group 1.0.0.
> Installing org.wso2.carbon.webapp.mgt.server.feature.group 4.3.0.SNAPSHOT.
>
> On Wed, Nov 5, 2014 at 10:14 AM, Aruna Karunarathna 
> wrote:
>
>>
>>
>> On Wed, Nov 5, 2014 at 9:49 AM, Lochana Menikarachchi 
>> wrote:
>>
>>> Correction.. I get this with a Carbon 4.3.0-SNAPSHOT based product.. I
>>> have ldap, carbon remote user management features and jaggery features
>>> installed in it.
>>>
>>
>> This is a known issue in 4.3.0. I think the jaggery feature is causing
>> the problem.
>>
>>
>>>
>>> On Wed, Nov 5, 2014 at 9:26 AM, Lochana Menikarachchi 
>>> wrote:
>>>

 I run into this error intermittently.. Is there a solution for this..

 java.lang.ClassNotFoundException:
 org.wso2.carbon.tomcat.ext.servlet.DelegationServlet
 at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1718)
 at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
 at
 org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:529)
 at
 org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:511)
 at
 org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:139)
 at
 org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1143)
 at
 org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
 at
 org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5210)
 at
 org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5493)
 at
 org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
 at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
 at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
 at java.util.concurrent.FutureTask.run(FutureTask.java:262)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:745)

 --
 Lochana Menikarachchi
 Senior Tech Lead
 WSO2 Inc.

>>>
>>>
>>>
>>> --
>>> Lochana Menikarachchi
>>> Senior Tech Lead
>>> WSO2 Inc.
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>

Re: [Dev] Carbon 4.3.0-SNAPSHOT intermittent error

2014-11-04 Thread Lochana Menikarachchi
Installing org.wso2.carbon.ldap.server.feature.group 4.3.0.SNAPSHOT.
Installing org.wso2.carbon.ldap.server.server.feature.group 4.3.0.SNAPSHOT.
Installing org.wso2.carbon.directory.service.mgr.feature.group
4.3.0.SNAPSHOT.
Installing org.wso2.carbon.directory.service.mgr.server.feature.group
4.3.0.SNAPSHOT.
Installing org.wso2.carbon.directory.service.mgr.ui.feature.group
4.3.0.SNAPSHOT.
Installing org.wso2.carbon.um.ws.service.feature.group 4.3.0.SNAPSHOT.
Installing org.wso2.carbon.logging.mgt.feature.group 4.3.0.SNAPSHOT.
Installing org.wso2.carbon.databridge.datapublisher.feature.group
4.3.0.SNAPSHOT.
Installing org.wso2.carbon.security.mgt.feature.group 4.3.0.SNAPSHOT.
Installing org.wso2.carbon.registry.core.feature.group 4.3.0.SNAPSHOT.
Installing org.wso2.carbon.registry.ui.menu.feature.group 4.3.0.SNAPSHOT.
Installing org.wso2.carbon.registry.resource.properties.feature.group
4.3.0.SNAPSHOT.
Installing org.wso2.carbon.tenant.usage.agent.feature.group 4.3.0.SNAPSHOT.
Installing org.wso2.carbon.tenant.throttling.agent.feature.group
4.3.0.SNAPSHOT.
Installing org.wso2.carbon.tenant.common.feature.group 4.3.0.SNAPSHOT.
Installing org.wso2.carbon.tenant.deployment.feature.group 4.3.0.SNAPSHOT.
Installing org.wso2.carbon.transaction.manager.feature.group 4.3.0.SNAPSHOT.
Installing org.wso2.carbon.event.common.feature.group 4.3.0.SNAPSHOT.
Installing org.wso2.carbon.ntask.feature.group 4.3.0.SNAPSHOT.
Installing
org.wso2.carbon.identity.authenticator.saml2.sso.server.feature.group
4.3.0.SNAPSHOT.
Installing
org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.group
4.3.0.SNAPSHOT.
Installing org.wso2.carbon.claim.mgt.feature.group 4.3.0.SNAPSHOT.
Installing org.wso2.carbon.user.mgt.feature.group 4.3.0.SNAPSHOT.
Installing org.wso2.carbon.ml.feature.group 0.1.0.
Installing org.jaggeryjs.feature.group 0.9.0.SNAPSHOT.
Installing org.jaggeryjs.modules.caramel.feature.group 1.0.1.
Installing org.jaggeryjs.modules.handlebars.feature.group 1.0.0.
Installing org.jaggeryjs.modules.markdown.feature.group 1.0.0.
Installing org.jaggeryjs.modules.carbon.feature.group 1.0.0.
Installing org.jaggeryjs.modules.process.feature.group 1.0.0.
Installing org.jaggeryjs.modules.uuid.feature.group 1.0.0.
Installing org.wso2.carbon.webapp.mgt.server.feature.group 4.3.0.SNAPSHOT.

On Wed, Nov 5, 2014 at 10:14 AM, Aruna Karunarathna  wrote:

>
>
> On Wed, Nov 5, 2014 at 9:49 AM, Lochana Menikarachchi 
> wrote:
>
>> Correction.. I get this with a Carbon 4.3.0-SNAPSHOT based product.. I
>> have ldap, carbon remote user management features and jaggery features
>> installed in it.
>>
>
> This is a known issue in 4.3.0. I think the jaggery feature is causing the
> problem.
>
>
>>
>> On Wed, Nov 5, 2014 at 9:26 AM, Lochana Menikarachchi 
>> wrote:
>>
>>>
>>> I run into this error intermittently.. Is there a solution for this..
>>>
>>> java.lang.ClassNotFoundException:
>>> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet
>>> at
>>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1718)
>>> at
>>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
>>> at
>>> org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:529)
>>> at
>>> org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:511)
>>> at
>>> org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:139)
>>> at
>>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1143)
>>> at
>>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
>>> at
>>> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5210)
>>> at
>>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5493)
>>> at
>>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>>> at
>>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>>> at
>>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>>> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>>> at
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>> at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>> at java.lang.Thread.run(Thread.java:745)
>>>
>>> --
>>> Lochana Menikarachchi
>>> Senior Tech Lead
>>> WSO2 Inc.
>>>
>>
>>
>>
>> --
>> Lochana Menikarachchi
>> Senior Tech Lead
>> WSO2 Inc.
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Aruna Sujith Karunarathna* | Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 9040362 | Work: +94 112145345
> Email: ar...@wso2.com | Web: www.wso2.com
>
>



-- 
Lochana Menik

Re: [Dev] MQTT Sample for MB 3.0.0

2014-11-04 Thread Akalanka Pagoda Arachchi
+1

It would be valuable to have Analytics use cases. Will come up with one.

Thanks

On Wed, Nov 5, 2014 at 11:56 AM, Iranga Muthuthanthri 
wrote:

> Could we do any Analytics use case with Integration with
> BAM(2.5.0)/CEP(3.1.0)?
>
> On Wed, Nov 5, 2014 at 11:41 AM, Akalanka Pagoda Arachchi <
> darsha...@wso2.com> wrote:
>
>> Hi all,
>>
>> Following up on MQTT integration to MB 3.0.0, we need to add a few
>> samples promoting some strong use cases for MQTT with MB.
>>
>> Some use cases we have in mind are :
>>
>>
>>- IOT related - publish device state via MQTT to MB
>>- Mock Publishing state of several sensors in vehicles to
>>   hierarchical topics each second
>>  - vehicle type - > vehicle model -> engine temperature
>>  -> speed
>>  -> acceleration
>>   - QOS 0
>>   - A last will testament which is received when the vehicle moves
>>   out of range
>>
>>   - A chat client
>>   - Group chats
>>   - QOS 2
>>
>>
>> If there are any other scenarios that we need to cover in sample please
>> provide your feedback.
>>
>>
>> Thanks,
>> --
>> *Darshana Akalanka Pagoda Arachchi,*
>> *Software Engineer*
>> *078-4721791*
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thanks & Regards
>
> Iranga Muthuthanthri
> (M) -0777-255773
> Team Product Management
>
>


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


Re: [Dev] Automate OpenID to SAML federation flow - How to start two IS instances with different hostnames

2014-11-04 Thread Malithi Edirisinghe
Hi Waruna,

The problem is changing the etc/hosts in automation tests. I don't think
it's recommended when writing integrations tests.

Hope there would be some better solution for this.

Thanks,
Malithi.

On Wed, Nov 5, 2014 at 11:49 AM, Waruna Perera  wrote:

> Hi Malithi,
>
> To overcome session cookie problem pls look at[1].
>
> [1]
> http://warunaperera.blogspot.com/2014/06/enablingsso-for-wso2-servers-overcome.html
>
> On Tue, Nov 4, 2014 at 11:06 PM, Malithi Edirisinghe 
> wrote:
>
>> Hi all,
>>
>> I'm working on automating the OpenID to SAML federation flow. At the
>> moment OpenID implementation on IS 5.1.0 depends on the session, which
>> would be fixed in future. Hence when I start two IS instances with the same
>> hostname changing only the port the OpenID federation flow breaks since the
>> cookie is bound to the hostname and this overwrites each other's session
>> information resulting in lost sessions. Thus, I need to start two IS
>> instances that bind to different hostnames.
>> I would like to know whether this is possible with TAF 4.2.8 or how could
>> we achieve this scenario ?
>>
>> Thanks,
>> Malithi.
>>
>> --
>>
>> *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
>>
>>
>
>
> --
> Waruna Perera
> Senior Software Engineer - Test Automation
> Mobile: +94 77 3867037
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middlewear.
>



-- 

*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] MQTT Sample for MB 3.0.0

2014-11-04 Thread Iranga Muthuthanthri
Could we do any Analytics use case with Integration with
BAM(2.5.0)/CEP(3.1.0)?

On Wed, Nov 5, 2014 at 11:41 AM, Akalanka Pagoda Arachchi <
darsha...@wso2.com> wrote:

> Hi all,
>
> Following up on MQTT integration to MB 3.0.0, we need to add a few samples
> promoting some strong use cases for MQTT with MB.
>
> Some use cases we have in mind are :
>
>
>- IOT related - publish device state via MQTT to MB
>- Mock Publishing state of several sensors in vehicles to hierarchical
>   topics each second
>  - vehicle type - > vehicle model -> engine temperature
>  -> speed
>  -> acceleration
>   - QOS 0
>   - A last will testament which is received when the vehicle moves
>   out of range
>
>   - A chat client
>   - Group chats
>   - QOS 2
>
>
> If there are any other scenarios that we need to cover in sample please
> provide your feedback.
>
>
> Thanks,
> --
> *Darshana Akalanka Pagoda Arachchi,*
> *Software Engineer*
> *078-4721791*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thanks & Regards

Iranga Muthuthanthri
(M) -0777-255773
Team Product Management
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][APPFAC] Please commit the patch

2014-11-04 Thread Samith Dassanayake
Done.

Thanks,
Samith

On Wed, Nov 5, 2014 at 11:53 AM, Roshan Deniyage  wrote:

> Hi Samith,
>Please commit the attached patch for JIRA [1]
>
> [1]
> ​ 
> *​​https://wso2.org/jira/browse/APPFAC-2630
> ​*
>
> Thanks,
>
> Roshan Deniyage
> Associate Technical Lead
> WSO2, Inc: http://wso2.com
>
> Mobile:  +94 777636406
> Twitter:
> *https://twitt​​er.com/roshku *
> LinkedIn :  https://www.linkedin.com/in/roshandeniyage
>
>
>
>
>
>


-- 
Best Regards

Samith Dassanayake
Software Engineer, WSO2 Inc.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DEV][APPFAC] Please commit the patch

2014-11-04 Thread Roshan Deniyage
Hi Samith,
   Please commit the attached patch for JIRA [1]

[1]
​ 
*​​https://wso2.org/jira/browse/APPFAC-2630
​*

Thanks,

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

Mobile:  +94 777636406
Twitter:
*https://twitt​​er.com/roshku *
LinkedIn :  https://www.linkedin.com/in/roshandeniyage
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Automate OpenID to SAML federation flow - How to start two IS instances with different hostnames

2014-11-04 Thread Waruna Perera
Hi Malithi,

To overcome session cookie problem pls look at[1].

[1]
http://warunaperera.blogspot.com/2014/06/enablingsso-for-wso2-servers-overcome.html

On Tue, Nov 4, 2014 at 11:06 PM, Malithi Edirisinghe 
wrote:

> Hi all,
>
> I'm working on automating the OpenID to SAML federation flow. At the
> moment OpenID implementation on IS 5.1.0 depends on the session, which
> would be fixed in future. Hence when I start two IS instances with the same
> hostname changing only the port the OpenID federation flow breaks since the
> cookie is bound to the hostname and this overwrites each other's session
> information resulting in lost sessions. Thus, I need to start two IS
> instances that bind to different hostnames.
> I would like to know whether this is possible with TAF 4.2.8 or how could
> we achieve this scenario ?
>
> Thanks,
> Malithi.
>
> --
>
> *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
>
>


-- 
Waruna Perera
Senior Software Engineer - Test Automation
Mobile: +94 77 3867037
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] BAM 2.5.0 Release testing

2014-11-04 Thread Shavantha Weerasinghe
Hi Dunith

I have reported the following two puppet related jira for now
https://wso2.org/jira/browse/BAM-1861
https://wso2.org/jira/browse/BAM-1862

will update the other issues and update this mail thread

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


On Tue, Nov 4, 2014 at 11:11 PM, Dunith Dhanushka  wrote:

> Hi Shavantha,
>
> You'll only need above configurations when incremental processing is
> enabled. However you don't need to edit those values by hand, instead
> puppet should automatically configure it for you.
>
> Please raise a JIRA for this. Will fix it.
>
> Regards,
> Dunith
>
>
>
> On Tue, Nov 4, 2014 at 10:40 PM, Dunith Dhanushka  wrote:
>
>> Hi Aparna,
>>
>> Issue 1 - Failed in in the first time and succeeded in the 2nd attempt.
>>
>> Puppet script uses wget command to fetch Cassandra distribution from the
>> specified remote location. This operation might take some time depending on
>> the network. Above situation could happen if the Cassandra distribution was
>> not fully downloaded and Puppet script tries to continue with partially
>> downloaded distribution. Not sure this is specific to our research cloud
>> environment. I'll check on this further.
>>
>> *Issue 2* - Temporarily  copied files
>> This might be due to issue #1, partial download of a distribution file.
>>
>> Yes, I'll make a note about user 'kurumba' in the documentation.
>>
>> Regards,
>> Dunith
>>
>>
>>
>>
>> On Tue, Nov 4, 2014 at 9:38 PM, Shavantha Weerasinghe > > wrote:
>>
>>> Hi Dunith
>>>
>>> within the puppet scrips for receive/analyzer nodes hive-site.xml are we
>>> to change the user name/password and host values
>>>
>>>
>>>
>>> hive.incremental.processing.intermediate.results.cassandra.hosts
>>> localhost:9160
>>>   
>>>
>>>
>>>
>>> hive.incremental.processing.intermediate.results.cassandra.userName
>>> admin
>>>   
>>>
>>>
>>>
>>> hive.incremental.processing.intermediate.results.cassandra.password
>>> admin
>>>   
>>>
>>>
>>> Shavantha Weerasinghe
>>> Senior Software Engineer QA
>>> WSO2, Inc.
>>> lean.enterprise.middleware.
>>> http://wso2.com
>>> http://wso2.org
>>> Tel : 94 11 214 5345
>>> Fax :94 11 2145300
>>>
>>>
>>> On Mon, Nov 3, 2014 at 6:12 PM, Dunith Dhanushka 
>>> wrote:
>>>
 Hi ,

 Please note that when setting this up in the research cloud, turn off
 the iptables by '*sudo service iptables stop*'. Otherwise it'll block
 internode communications.

 Regards,
 Dunith

 On Mon, Nov 3, 2014 at 11:53 AM, Dunith Dhanushka 
 wrote:

> Hi Aparna,
>
> I have completed the puppet script upgrade for puppet version 3.7 and
> tested them on a Centos cluster. Please find the attached guide for setup
> instructions.
>
>
> Regards,
> Dunith
> ​
>  BAM 2.5.0 Distributed Setup with Puppet 3.7
> 
> ​
>
> On Wed, Oct 29, 2014 at 11:58 AM, Dunith Dhanushka 
> wrote:
>
>> Hi Aparna,
>>
>> I have completed the scripts for BAM and Cassandra nodes. But still
>> need to work on Hadoop scripts. I have started testing them on the centos
>> cluster created in the research cloud.
>>
>> Hopefully by today EOD I'll be able to finish  testing with full BAM
>> cluster.
>>
>>
>> Regards,
>> Dunith
>>
>>
>> On Wed, Oct 29, 2014 at 11:40 AM, Aparna Karunarathna <
>> apa...@wso2.com> wrote:
>>
>>> Hi Dunith,
>>>
>>> Any update on puppet scripts?
>>>
>>> Regards,
>>> Aparna.
>>>
>>> On Mon, Oct 27, 2014 at 10:42 AM, Sewmini Jayaweera <
>>> sewm...@wso2.com> wrote:
>>>
 Hi Aparna,

 I tested following issues,

 [1] https://wso2.org/jira/browse/BAM-1611
 [2] https://wso2.org/jira/browse/BAM-1515
 [3] https://redmine.wso2.com/issues/3186

 Issue [1] and [2] were fixed.

 in order to test issue [3] I created an email adaptor and when
 sending a email contains text as e-mail body got following error

  [2014-10-27 10:23:36,317]  INFO
 {org.apache.axis2.builder.BuilderUtil} -  OMException in getSOAPBuilder
 org.apache.axiom.om.OMException:
 com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'm'
 (code 109) in prolog; expected '<'
  at [row,col {unknown-source}]: [1,1]
 at
 org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)
 at
 org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:204)
 at java.lang.Thread.run(Thread.java:745)

 Similar issue is being reported by Shavantha -
 https

[Dev] What are the jars need to be included for code coverage of MB

2014-11-04 Thread Krishantha Samaraweera
Hi all,

Currently following jars are included for MB code coverage generation.  Is
there any updates required for jar list ?

org.wso2.carbon.andes_
> org.wso2.carbon.andes.core_
> org.wso2.carbon.andes.admin_
> org.wso2.carbon.andes.commons_
> org.wso2.carbon.andes.cluster.mgt_
> org.wso2.carbon.andes.authentication_
> org.wso2.carbon.andes.authorization_


Thanks,
Krishantha.

Krishantha Samaraweera
Senior Technical Lead - Test Automation
Mobile: +94 77 7759918
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][API-M] - SSO Cofiguration Documentation issue

2014-11-04 Thread Evanthika Amarasiri
Hi Dharshana,

When I removed the property, while trying to login from my tenant, it gave
me an error page and returned the following exception at Publisher console.

I was able to login from my tenants *only* when I used this parameter in
identity.xml. I'm using API-M 1.8.0 nightly pack with IS 5.0.0.

TID: [0] [AM] [2014-11-05 01:02:05,411] ERROR
{JAGGERY.jagg.jaggery_acs:jag} -  SAML response signature is verification
failed. {JAGGERY.jagg.jaggery_acs:jag}

Regards,

Evanthika

On Wed, Nov 5, 2014 at 9:43 AM, Darshana Gunawardana 
wrote:

> If it worked for APIM 1.7.0 and IS 5.0.0 with tenant users, APIM 1.8.0
> should also work same way..
>
> On Wed, Nov 5, 2014 at 9:00 AM, Yasassri Ratnayake 
> wrote:
>
>> Hi Rajakrishna,
>>
>> The above configuration indicates that the SAML2 SSO SAML Response must
>> be signed using the authenticated user's tenant keystore. Please refer to
>> the comments made in [1]
>>
>> [1] - https://wso2.org/jira/browse/STORE-454
>>
>> With Regards,
>>
>> On Tue, Nov 4, 2014 at 6:55 PM, Rajakrishna Reddy 
>> wrote:
>>
>>>  Yes it used to work with AM-1.7.0 and is 5.0.0 
>>>
>>> Why do we need that separate config element in identity. Xml now for
>>> AM-1.8.0!??
>>>
>>> Can anyone explains why??
>>>
>>> --
>>> Thanks & Regards,
>>> Rajakrishna Reddy
>>>
>>> --- Original Message ---
>>>
>>> From: "Nuwan Dias" 
>>> Sent: 29 October 2014 20:40
>>> To: "Yasassri Ratnayake" 
>>> Cc: "WSO2 Developers' List" 
>>> Subject: Re: [Dev] [DEV][API-M] - SSO Cofiguration Documentation issue
>>>
>>>  What if you define the SP as a 'SaaS Application', doesn't it work? It
>>> used to work with 1.7.0 and IS 5.0.0 AFAIR.
>>>
>>> On Wed, Oct 29, 2014 at 1:51 AM, Yasassri Ratnayake 
>>> wrote:
>>>
>>> Hi All,
>>>
>>>  When enabling SSO for Publisher and Store. A new config element should
>>> be added to identity.xml file in the IS Node in-order for tenant users to
>>> login, If the element is not included the following error will be shown in
>>> the API-M console.
>>>
>>>  ERROR - jaggery_acs:jag SAML response signature is verification failed.
>>>
>>>  This is reported at [1], please do the needful to fix this.
>>>
>>> [1] - https://wso2.org/jira/browse/DOCUMENTATION-1219
>>>
>>>  With Regards,
>>> --
>>> Yasassri Ratnayake
>>> Software Engineer - QA
>>> WSO2 Inc ; http://wso2.com
>>> lean.enterprise.middleware
>>> *Mobile : +94715933168 <%2B94715933168>*
>>> *Blog : http://yasassriratnayake.blogspot.com/
>>> *
>>>
>>>
>>>
>>>
>>>  --
>>> Nuwan Dias
>>>
>>>  Associate Tech Lead - WSO2, Inc. http://wso2.com
>>> email : nuw...@wso2.com
>>> Phone : +94 777 775 729
>>>
>>
>>
>>
>> --
>> Yasassri Ratnayake
>> Software Engineer - QA
>> WSO2 Inc ; http://wso2.com
>> lean.enterprise.middleware
>> *Mobile : +94715933168 <%2B94715933168>*
>> *Blog : http://yasassriratnayake.blogspot.com/
>> *
>>
>
>
>
> --
> Regards,
>
>
> *Darshana Gunawardana*Software Engineer
> WSO2 Inc.; http://wso2.com
>
> *E-mail: darsh...@wso2.com *
> *Mobile: +94718566859 <%2B94718566859>*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] [APPFAC] Login failed exception while creating a new tenant

2014-11-04 Thread Kasun De Silva
Hi All,

I have just setup the latest AF pack. Observed the following exception
while creating the tenant. Any clue ?

TID: [0] [Carbon] [2014-11-05 11:23:48,185] ERROR
{org.wso2.carbon.identity.authenticator.signedjwt.SignedJWTAuthenticator} -
 Authentication Request is rejected. User does not exists in UserStore
{org.wso2.carbon.identity.authenticator.signedjwt.SignedJWTAuthenticator}
TID: [0] [Carbon] [2014-11-05 11:23:48,185] ERROR
{org.wso2.carbon.identity.authenticator.signedjwt.SignedJWTAuthenticator} -
 Authentication Request is rejected. User does not exists in UserStore
{org.wso2.carbon.identity.authenticator.signedjwt.SignedJWTAuthenticator}
TID: [0] [Carbon] [2014-11-05 11:23:48,186]  WARN
{org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  Failed
Administrator login attempt 'kasun[-1234]' at [2014-11-05
11:23:48,186+0530]
{org.wso2.carbon.core.services.util.CarbonAuthenticationUtil}
TID: [0] [Carbon] [2014-11-05 11:23:48,186]  WARN
{org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  Failed
Administrator login attempt 'kasun[-1234]' at [2014-11-05
11:23:48,186+0530]
{org.wso2.carbon.core.services.util.CarbonAuthenticationUtil}
TID: [0] [Carbon] [2014-11-05 11:23:48,187]  WARN
{org.wso2.carbon.server.admin.module.handler.AuthenticationHandler} -
 Illegal access attempt at [2014-11-05 11:23:48,0187] from IP address
127.0.0.1 : Service is WSRegistryService
{org.wso2.carbon.server.admin.module.handler.AuthenticationHandler}
TID: [0] [Carbon] [2014-11-05 11:23:48,187]  WARN
{org.wso2.carbon.server.admin.module.handler.AuthenticationHandler} -
 Illegal access attempt at [2014-11-05 11:23:48,0187] from IP address
127.0.0.1 : Service is WSRegistryService
{org.wso2.carbon.server.admin.module.handler.AuthenticationHandler}
TID: [0] [Carbon] [2014-11-05 11:23:48,188] ERROR
{org.apache.axis2.engine.AxisEngine} -  Access Denied. Please login first.
{org.apache.axis2.engine.AxisEngine}
org.apache.axis2.AxisFault: Access Denied. Please login first.
at
org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.authenticate(AuthenticationHandler.java:97)
at
org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.invoke(AuthenticationHandler.java:66)
at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
at
org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:231)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at
org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
at
org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
at
org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
at
org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
at
org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at
org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
at
org.apache.catalina.c

[Dev] MQTT Sample for MB 3.0.0

2014-11-04 Thread Akalanka Pagoda Arachchi
Hi all,

Following up on MQTT integration to MB 3.0.0, we need to add a few samples
promoting some strong use cases for MQTT with MB.

Some use cases we have in mind are :


   - IOT related - publish device state via MQTT to MB
   - Mock Publishing state of several sensors in vehicles to hierarchical
  topics each second
 - vehicle type - > vehicle model -> engine temperature
 -> speed
 -> acceleration
  - QOS 0
  - A last will testament which is received when the vehicle moves out
  of range

  - A chat client
  - Group chats
  - QOS 2


If there are any other scenarios that we need to cover in sample please
provide your feedback.


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


Re: [Dev] API Manager 1.8.0 pack 20-10-2014

2014-11-04 Thread Evanthika Amarasiri
Hi All,

It would be great if the following issues can be fixed before we build the
next APIM pack.

[1] - https://wso2.org/jira/browse/APIMANAGER-3042
[2] - https://wso2.org/jira/browse/APIMANAGER-2116
[3] - https://wso2.org/jira/browse/APIMANAGER-3022
[4] - https://wso2.org/jira/browse/APIMANAGER-3051

Regards,
Evanthika

On Wed, Oct 29, 2014 at 9:41 AM, Uvindra Dias Jayasinha 
wrote:

> We made this change to fix[1], we changed all the DB scripts so that they
> would be consistent, but looks like now Oracle has an issue with this :(
>
> So we will revert it back on the other scripts to CURRENT_TIMESTAMP as
> default(which was what existed previously) and only have a 0 as default for
> the MySQL DB script since there is no way of maintaining consistency across
> all scripts for this case anymore.
>
>
>
> [1] - https://wso2.org/jira/browse/APIMANAGER-2981
>
> On 28 October 2014 16:23, Evanthika Amarasiri  wrote:
>
>> Hi Uvindra,
>>
>> The Oracle DB script of the latest API-M pack (27th Oct) fails due to the
>> following of the AM_WORKFLOWS table.
>>
>> *WF_CREATED_TIME TIMESTAMP DEFAULT 0,*
>>
>> Since testing on the setup was blocked from this  issue, we updated the
>> script as below.
>>
>> *WF_CREATED_TIME TIMESTAMP DEFAULT CURRENT_TIMESTAMP*
>>
>> Jira reported at [1]
>>
>> [1] - https://wso2.org/jira/browse/APIMANAGER-3021
>>
>> Regards,
>> Evanthika
>>
>> On Wed, Oct 22, 2014 at 3:22 PM, Yasassri Ratnayake 
>> wrote:
>>
>>> Thanks, We will be using the provided scripts for time being.
>>>
>>> On Wed, Oct 22, 2014 at 2:52 PM, Uvindra Dias Jayasinha <
>>> uvin...@wso2.com> wrote:
>>>
 Ticket has been resolved and the updated scripts can be obtained from
 here till a new pack is issued,


 https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/apimgt/1.8.0/modules/distribution/resources/sql/

  You can use these scripts instead of the ones in the 20 October pack
 to create databases for your testing

 On 22 October 2014 10:02, Uvindra Dias Jayasinha 
 wrote:

> Yes you can use the scripts from the previous pack to continue but
> refrain from testing any *work flow* related functionality until we
> resolve this for the moment.
>
> We will change this so that it is backward compatible.
>
> On 22 October 2014 09:59, Yasassri Ratnayake 
> wrote:
>
>> Hi Uvindra,
>>
>> I'm using *mysql 5.5.40*. Till you fix this issue is it OK if we use
>> the scripts from the 6th October pack since this issue is blocking us.
>>
>> With regards,
>>
>> On Wed, Oct 22, 2014 at 9:50 AM, Uvindra Dias Jayasinha <
>> uvin...@wso2.com> wrote:
>>
>>> The change to the script was introduced via the resolution of this
>>> ticket,
>>>
>>> https://wso2.org/jira/browse/APIMANAGER-2536
>>>
>>> This issue is MySQL version dependent and does not occur on version
>>> 5.6.5 and above. Most probably this was tested on a newer version of 
>>> MySQL
>>> during development and therefore did not cause any issues.
>>>
>>> On 22 October 2014 09:41, Uvindra Dias Jayasinha 
>>> wrote:
>>>
 I am looking into this, the script has been changed recently

 On 22 October 2014 07:53, Yasassri Ratnayake 
 wrote:

> Hi All,
>
> There seems to be an Syntax error in the mysql DB scripts(apim
> scripts), and due to this some of the tables do not get created. I 
> have
> reported this at [1]. Since this is a blocking issue pls provide a fix
> ASAP.
>
> When the server is started with -Dsetup parameter the server
> doesn't even throw an error indicating that the DB scripts haven't 
> executed
> properly.  Isn't this another concern?
>
> [1] - https://wso2.org/jira/browse/APIMANAGER-2981
> --
> Yasassri Ratnayake
> Software Engineer - QA
> WSO2 Inc ; http://wso2.com
> lean.enterprise.middleware
> *Mobile : +94715933168 <%2B94715933168>*
> *Blog : http://yasassriratnayake.blogspot.com/
> *
>



 --
 Regards,
 Uvindra

 Mobile: 33962

>>>
>>>
>>>
>>> --
>>> Regards,
>>> Uvindra
>>>
>>> Mobile: 33962
>>>
>>
>>
>>
>> --
>> Yasassri Ratnayake
>> Software Engineer - QA
>> WSO2 Inc ; http://wso2.com
>> lean.enterprise.middleware
>> *Mobile : +94715933168 <%2B94715933168>*
>> *Blog : http://yasassriratnayake.blogspot.com/
>> *
>>
>
>
>
> --
> Regards,
> Uvindra
>
> Mobile: 33962
>



 --
 Regards,
 Uvindra

 Mobile: 33962

>>>
>>>
>>>
>>> --
>>>

Re: [Dev] Carbon 4.3.0-SNAPSHOT intermittent error

2014-11-04 Thread Aruna Karunarathna
On Wed, Nov 5, 2014 at 9:49 AM, Lochana Menikarachchi 
wrote:

> Correction.. I get this with a Carbon 4.3.0-SNAPSHOT based product.. I
> have ldap, carbon remote user management features and jaggery features
> installed in it.
>

This is a known issue in 4.3.0. I think the jaggery feature is causing the
problem.


>
> On Wed, Nov 5, 2014 at 9:26 AM, Lochana Menikarachchi 
> wrote:
>
>>
>> I run into this error intermittently.. Is there a solution for this..
>>
>> java.lang.ClassNotFoundException:
>> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet
>> at
>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1718)
>> at
>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
>> at
>> org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:529)
>> at
>> org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:511)
>> at
>> org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:139)
>> at
>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1143)
>> at
>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
>> at
>> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5210)
>> at
>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5493)
>> at
>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>> at
>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>> at
>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>> at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>> at java.lang.Thread.run(Thread.java:745)
>>
>> --
>> Lochana Menikarachchi
>> Senior Tech Lead
>> WSO2 Inc.
>>
>
>
>
> --
> Lochana Menikarachchi
> Senior Tech Lead
> WSO2 Inc.
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Aruna Sujith Karunarathna* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 9040362 | Work: +94 112145345
Email: ar...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [G-Reg]Management console notification generation fails in automation tests

2014-11-04 Thread Dimuthu De Lanerolle
Hi Krishantha,

I Will look into this.

Regards

On Tue, Nov 4, 2014 at 11:22 PM, Krishantha Samaraweera  wrote:

> Hi DimuthuD,
>
> Can you check what is going wrong. Please check backend management console
> subscription tests first. You can access to management console while
> running the tests and verify whether notifications are present.
>
> Thanks,
> Krishantha.
>
> On Tue, Nov 4, 2014 at 10:00 PM, Sameera Kannangara 
> wrote:
>
>> Hi all,
>>
>> I have created automation test class [1], for the jira reported at [2].
>>
>> This scenario is fixed and can be easily tested manually and verify the
>> fix.
>> However when running this test scenario using automation test class at
>> [1] management console notifications are not generated.
>>
>> Further more when try to test the same scenario on the server used for
>> the automation test, manual test previously verfied the fix fails as
>> notification are not shown in management console UI.
>>
>> But if we take the /repository/conf/registry.xml file of the
>> server used for the automation test, replace the same file of a fresh G-Reg
>> 5.0.0-SNAPSHOT instance, management console notifications are generated
>> fine. Therefore fix can be verified.
>>
>> Fix for the reported jira can be located at [3].
>>
>> Thank you,
>> SameeraK.
>>
>> [1]
>> https://github.com/sameerak/product-greg/blob/REGISTRY-2332_tests/modules/integration/tests-ui-integration/tests-ui/src/test/java/org/wso2/carbon/greg/ui/test/notification/TestRegistry2332.java
>> [2] https://wso2.org/jira/browse/REGISTRY-2332
>> [3] https://github.com/wso2-dev/carbon-governance/pull/22
>>
>> --
>> *Sameera Kannangara*
>> Software Engineer
>> Platform TG; WSO2 Inc. http://wso2.com
>> Contact:
>> phone: +94719541577
>> Lean . Enterprise . Middleware
>>
>
>
>
> --
> Krishantha Samaraweera
> Senior Technical Lead - Test Automation
> Mobile: +94 77 7759918
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middlewear.
>



-- 
Dimuthu De Lanerolle
Software Engineer
WSO2 Inc.
lean . enterprise . middlewear.
http://wso2.com/
Tel. : +94 11 2145345  Fax : +94 11 2145300  email : dimut...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [CEP] Sending messages to multiple email addresses using CEP output email adapter

2014-11-04 Thread Lahiru Cooray
Hi CD,
To manage the subscribers list, i think of course you need to maintain a
database.
Could you please share the ER diagram or table structure of the existing db.

On Wed, Nov 5, 2014 at 9:45 AM, CD Athuraliya  wrote:

> Hi all,
>
> Using the above method we can send emails to multiple email addresses
> using output email adapter. Still what is the best way to manage a dynamic
> email list to be used with email output adapter? In our case we need to
> maintain a subscription list. Currently we are using a separate database
> for this purpose. Kindly share your thoughts on best way to do this.
>
> Thanks and best regards.
>
> On Tue, Nov 4, 2014 at 4:26 PM, Lahiru Cooray  wrote:
>
>> Hi Madhawa,
>>
>> As per the offline chat, to solve your problem you can simply concatenate
>> the receiving email addresses related to each event.
>>
>> *Eg:*
>> *@email - "*a...@gmail.com, b...@yahoo.com, c...@hotmail.com"
>>
>> Event formatter email address -   *@**email*
>>
>>
>> On Thu, Oct 30, 2014 at 1:03 AM, Madhawa Gunasekara 
>> wrote:
>>
>>> Hi All,
>>>
>>> I'm working on a traffic analysis project. I just need to send traffic
>>> alert messages to subscribers. But email addresses vary according to
>>> their subscribed location.
>>>
>>> As per my understanding the email address should be fixed when using a
>>> CEP email output adapter.
>>>
>>> How can I use WSO2 CEP output email adapter to carry through my problem?
>>>
>>>
>>>
>>> Thanks.
>>>
>>> --
>>> *Madhawa Gunasekara*
>>> Software Engineering Intern
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: +94 719411002
>>>
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Lahiru Cooray*
>> Software Engineer
>> WSO2, Inc.;http://wso2.com/
>> lean.enterprise.middleware
>>
>> Mobile: +94 715 654154
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *CD Athuraliya*
> Software Engineering Intern
> WSO2, Inc.
> lean . enterprise . middleware
> Mobile: +94 716288847
> LinkedIn  | Twitter
>  | Blog
> 
>



-- 
*Lahiru Cooray*
Software Engineer
WSO2, Inc.;http://wso2.com/
lean.enterprise.middleware

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


Re: [Dev] [APPFAC] Move apptype specific jenkins job configurations to apptype processors

2014-11-04 Thread Danushka Fernando
If you mean to have a default one +1. Which means that someone can deploy
an apptype without a build configuration. So I will vote for maven
configuration in that case. WDYT
On Nov 5, 2014 8:28 AM, "Dimuthu Leelarathne"  wrote:

> Hi,
>
> In order to save the repetition, we can have ONE job-configuraitons
> inbuilt. Idea is, if an app type is added without a job this job
> configuration is taken as the default. We have to pick the most generic one
> in this case. I believe the interpreter language building would be the most
> generic case.
>
> thanks,
> dimuthu
>
> On Tue, Nov 4, 2014 at 10:36 AM, Kasun De Silva  wrote:
>
>> Hi Danushka,
>>
>> Yes, that would be more generic, I will proceed with the above approach.
>>
>> Thanks,
>> Kasun
>>
>> *Kasun de Silva*
>> Software Engineer | *WSO2 Inc.*; http://wso2.com
>> lean.enterprise.middleware
>>
>> email   : kas...@wso2.com
>> mobile : +94 77 794 4260
>>
>>
>> On Tue, Nov 4, 2014 at 11:07 AM, Danushka Fernando 
>> wrote:
>>
>>> IIRC what Dimuthu asked for is to move all build configuration. No point
>>> of moving it just for one apptype.
>>> On Nov 4, 2014 9:38 AM, "Kasun De Silva"  wrote:
>>>
 Hi Danushka,

 Are you suggesting to move all the jenkins job configurations currently
 we have in to apptype processors, what my impression was we are doing that
 for non maven and buildable apptypes like ASP.NET. Should we refactor
 that improvement for maven apptype and other apptypes as well ?  Dimuthu
 WDYT ?

 Thanks,
 Kasun

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

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


 On Sun, Nov 2, 2014 at 9:59 PM, Danushka Fernando 
 wrote:

> Since we are just replacing some values of this and we are passing it
> to jenkins I think we can do that. And with this I think we can get rid of
> the code we check for freestyle or maven type jobs and we can minimize the
> changes we do to the configuration from the code as well. So while work on
> this refactor the code as well.
>
>
> Thanks & Regards
> Danushka Fernando
> Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729
>
> On Sun, Nov 2, 2014 at 8:34 PM, Kasun De Silva 
> wrote:
>
>> Hi All,
>>
>> I'm working on the $subject. I'm thinking that we can include the
>> jenkins job configuration inside the apptype as buildconfiguration.xml,
>> similar to apptype.xml for non maven and buildable apptypes, and while
>> deploying the apptype we can add the job configuration to application 
>> type
>> bean. So that we can access it when it needed from the jenkins job
>> configurator. WDYT of this approach ?
>>
>> Thanks,
>> Kasun
>>
>> *Kasun de Silva*
>> Software Engineer | *WSO2 Inc.*; http://wso2.com
>> lean.enterprise.middleware
>>
>> email   : kas...@wso2.com
>> mobile : +94 77 794 4260
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>

>>
>
>
> --
> 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] Carbon 4.3.0-SNAPSHOT intermittent error

2014-11-04 Thread Gayashan Amarasinghe
Hi Lochana,

This is a known issue and we'll be fixing it. For the time being please
restart the server once you encounter this.

Can I get a full list of features you have installed in your server?

Gayashan Amarasinghe
(sent from mobile)
On 5 Nov 2014 09:49, "Lochana Menikarachchi"  wrote:

> Correction.. I get this with a Carbon 4.3.0-SNAPSHOT based product.. I
> have ldap, carbon remote user management features and jaggery features
> installed in it.
>
> On Wed, Nov 5, 2014 at 9:26 AM, Lochana Menikarachchi 
> wrote:
>
>>
>> I run into this error intermittently.. Is there a solution for this..
>>
>> java.lang.ClassNotFoundException:
>> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet
>> at
>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1718)
>> at
>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
>> at
>> org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:529)
>> at
>> org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:511)
>> at
>> org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:139)
>> at
>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1143)
>> at
>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
>> at
>> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5210)
>> at
>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5493)
>> at
>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>> at
>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>> at
>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>> at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>> at java.lang.Thread.run(Thread.java:745)
>>
>> --
>> Lochana Menikarachchi
>> Senior Tech Lead
>> WSO2 Inc.
>>
>
>
>
> --
> Lochana Menikarachchi
> Senior Tech Lead
> WSO2 Inc.
>
> ___
> 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] Carbon 4.3.0-SNAPSHOT intermittent error

2014-11-04 Thread Lochana Menikarachchi
Correction.. I get this with a Carbon 4.3.0-SNAPSHOT based product.. I have
ldap, carbon remote user management features and jaggery features installed
in it.

On Wed, Nov 5, 2014 at 9:26 AM, Lochana Menikarachchi 
wrote:

>
> I run into this error intermittently.. Is there a solution for this..
>
> java.lang.ClassNotFoundException:
> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1718)
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
> at
> org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:529)
> at
> org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:511)
> at
> org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:139)
> at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1143)
> at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
> at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5210)
> at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5493)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> at
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
> at
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
>
> --
> Lochana Menikarachchi
> Senior Tech Lead
> WSO2 Inc.
>



-- 
Lochana Menikarachchi
Senior Tech Lead
WSO2 Inc.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [CEP] Sending messages to multiple email addresses using CEP output email adapter

2014-11-04 Thread CD Athuraliya
Hi all,

Using the above method we can send emails to multiple email addresses using
output email adapter. Still what is the best way to manage a dynamic email
list to be used with email output adapter? In our case we need to maintain
a subscription list. Currently we are using a separate database for this
purpose. Kindly share your thoughts on best way to do this.

Thanks and best regards.

On Tue, Nov 4, 2014 at 4:26 PM, Lahiru Cooray  wrote:

> Hi Madhawa,
>
> As per the offline chat, to solve your problem you can simply concatenate
> the receiving email addresses related to each event.
>
> *Eg:*
> *@email - "*a...@gmail.com, b...@yahoo.com, c...@hotmail.com"
>
> Event formatter email address -   *@**email*
>
>
> On Thu, Oct 30, 2014 at 1:03 AM, Madhawa Gunasekara 
> wrote:
>
>> Hi All,
>>
>> I'm working on a traffic analysis project. I just need to send traffic
>> alert messages to subscribers. But email addresses vary according to
>> their subscribed location.
>>
>> As per my understanding the email address should be fixed when using a
>> CEP email output adapter.
>>
>> How can I use WSO2 CEP output email adapter to carry through my problem?
>>
>>
>>
>> Thanks.
>>
>> --
>> *Madhawa Gunasekara*
>> Software Engineering Intern
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: +94 719411002
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Lahiru Cooray*
> Software Engineer
> WSO2, Inc.;http://wso2.com/
> lean.enterprise.middleware
>
> Mobile: +94 715 654154
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*CD Athuraliya*
Software Engineering Intern
WSO2, Inc.
lean . enterprise . middleware
Mobile: +94 716288847
LinkedIn  | Twitter
 | Blog 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][API-M] - SSO Cofiguration Documentation issue

2014-11-04 Thread Darshana Gunawardana
If it worked for APIM 1.7.0 and IS 5.0.0 with tenant users, APIM 1.8.0
should also work same way..

On Wed, Nov 5, 2014 at 9:00 AM, Yasassri Ratnayake 
wrote:

> Hi Rajakrishna,
>
> The above configuration indicates that the SAML2 SSO SAML Response must be
> signed using the authenticated user's tenant keystore. Please refer to the
> comments made in [1]
>
> [1] - https://wso2.org/jira/browse/STORE-454
>
> With Regards,
>
> On Tue, Nov 4, 2014 at 6:55 PM, Rajakrishna Reddy 
> wrote:
>
>>  Yes it used to work with AM-1.7.0 and is 5.0.0 
>>
>> Why do we need that separate config element in identity. Xml now for
>> AM-1.8.0!??
>>
>> Can anyone explains why??
>>
>> --
>> Thanks & Regards,
>> Rajakrishna Reddy
>>
>> --- Original Message ---
>>
>> From: "Nuwan Dias" 
>> Sent: 29 October 2014 20:40
>> To: "Yasassri Ratnayake" 
>> Cc: "WSO2 Developers' List" 
>> Subject: Re: [Dev] [DEV][API-M] - SSO Cofiguration Documentation issue
>>
>>  What if you define the SP as a 'SaaS Application', doesn't it work? It
>> used to work with 1.7.0 and IS 5.0.0 AFAIR.
>>
>> On Wed, Oct 29, 2014 at 1:51 AM, Yasassri Ratnayake 
>> wrote:
>>
>> Hi All,
>>
>>  When enabling SSO for Publisher and Store. A new config element should
>> be added to identity.xml file in the IS Node in-order for tenant users to
>> login, If the element is not included the following error will be shown in
>> the API-M console.
>>
>>  ERROR - jaggery_acs:jag SAML response signature is verification failed.
>>
>>  This is reported at [1], please do the needful to fix this.
>>
>> [1] - https://wso2.org/jira/browse/DOCUMENTATION-1219
>>
>>  With Regards,
>> --
>> Yasassri Ratnayake
>> Software Engineer - QA
>> WSO2 Inc ; http://wso2.com
>> lean.enterprise.middleware
>> *Mobile : +94715933168 <%2B94715933168>*
>> *Blog : http://yasassriratnayake.blogspot.com/
>> *
>>
>>
>>
>>
>>  --
>> Nuwan Dias
>>
>>  Associate Tech Lead - WSO2, Inc. http://wso2.com
>> email : nuw...@wso2.com
>> Phone : +94 777 775 729
>>
>
>
>
> --
> Yasassri Ratnayake
> Software Engineer - QA
> WSO2 Inc ; http://wso2.com
> lean.enterprise.middleware
> *Mobile : +94715933168 <%2B94715933168>*
> *Blog : http://yasassriratnayake.blogspot.com/
> *
>



-- 
Regards,


*Darshana Gunawardana*Software Engineer
WSO2 Inc.; http://wso2.com

*E-mail: darsh...@wso2.com *
*Mobile: +94718566859*Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Niranjan Karunanandham

2014-11-04 Thread Sam Sivayogam
Congrats Niranjan :)

On Tue, Nov 4, 2014 at 6:02 PM, Vijitha Ekanayake  wrote:

> Congratulations !!!
>
> On Tue, Nov 4, 2014 at 11:43 AM, Sameera Perera  wrote:
>
>> Hi all,
>>
>> It's my pleasure to announce Niranjan as a WSO2 Committer.  He has been
>> an active contributor for WSO2 Enterprise Mobility Manager.
>>
>> Niranjan, welcome aboard and keep up the good work!.
>>
>> --
>>
>> --
>>
>> *Sameera Perera*
>> Director of Engineering
>> gtalk: samee...@wso2.com
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300
>> *WSO2, Inc.* 
>> lean.enterprise.middleware
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Vijitha Ekanayake
> Software Engineer*, *WSO2, Inc.; http://wso2.com/
> Mobile : +94 777 24 73 39 | +94 718 74 44 08
> lean.enterprise.middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Sam Sivayogam*

Software Engineer


*Mobile*  : +94 772 906 439
*Office*   : +94 112 145 345
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [CEP] Sending messages to multiple email addresses using CEP output email adapter

2014-11-04 Thread Madhawa Gunasekara
Hi Lahiru,

Thanks for helping me to solve this problem.

Best Regards.
Madhawa

On Tue, Nov 4, 2014 at 4:26 PM, Lahiru Cooray  wrote:

> Hi Madhawa,
>
> As per the offline chat, to solve your problem you can simply concatenate
> the receiving email addresses related to each event.
>
> *Eg:*
> *@email - "*a...@gmail.com, b...@yahoo.com, c...@hotmail.com"
>
> Event formatter email address -   *@**email*
>
>
> On Thu, Oct 30, 2014 at 1:03 AM, Madhawa Gunasekara 
> wrote:
>
>> Hi All,
>>
>> I'm working on a traffic analysis project. I just need to send traffic
>> alert messages to subscribers. But email addresses vary according to
>> their subscribed location.
>>
>> As per my understanding the email address should be fixed when using a
>> CEP email output adapter.
>>
>> How can I use WSO2 CEP output email adapter to carry through my problem?
>>
>>
>>
>> Thanks.
>>
>> --
>> *Madhawa Gunasekara*
>> Software Engineering Intern
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: +94 719411002
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Lahiru Cooray*
> Software Engineer
> WSO2, Inc.;http://wso2.com/
> lean.enterprise.middleware
>
> Mobile: +94 715 654154
>



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

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


[Dev] Carbon 4.3.0-SNAPSHOT intermittent error

2014-11-04 Thread Lochana Menikarachchi
I run into this error intermittently.. Is there a solution for this..

java.lang.ClassNotFoundException:
org.wso2.carbon.tomcat.ext.servlet.DelegationServlet
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1718)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
at
org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:529)
at
org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:511)
at
org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:139)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1143)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5210)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5493)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

-- 
Lochana Menikarachchi
Senior Tech Lead
WSO2 Inc.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ESB 4.8.1] Updating Iterate mediator Target will remove all data in Target

2014-11-04 Thread Eranda Sooriyabandara
Hi ESB team,
I did the following steps and end up loosing the date inside target of
iterate mediator

1. Add new sequence with Iterate mediator
2. In Target set a endpoint (Address endpoint)

Now you can see the source view as something like following

http://org.apache.synapse/xsd"; xmlns:m0="
http://services.samples"; preservePayload="true" attachPath="//m0:getQuote"
expression="//m0:getQuote/m0:request" id="iterate_01">
  
 
http://localhost:9000/services/SimpleStockQuoteService";>
 
  
   

3. Select Target of the Iterate mediator
4. Hit update without doing any update

Now you can see the source view as something like following

http://org.apache.synapse/xsd"; xmlns:m0="
http://services.samples"; preservePayload="true" attachPath="//m0:getQuote"
expression="//m0:getQuote/m0:request" id="iterate_01">
  
   

See the target element is empty. Is this a known issue?

thanks
Eranda


-- 

*Eranda Sooriyabandara*Senior Software Engineer;
Integration Technologies Team;
WSO2 Inc.; http://wso2.com
Lean . Enterprise . Middleware

E-mail: eranda AT wso2.com
Mobile: +94 716 472 816
Linked-In: http://www.linkedin.com/in/erandasooriyabandara
Blog: http://emsooriyabandara.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][API-M] - SSO Cofiguration Documentation issue

2014-11-04 Thread Yasassri Ratnayake
Hi Rajakrishna,

The above configuration indicates that the SAML2 SSO SAML Response must be
signed using the authenticated user's tenant keystore. Please refer to the
comments made in [1]

[1] - https://wso2.org/jira/browse/STORE-454

With Regards,

On Tue, Nov 4, 2014 at 6:55 PM, Rajakrishna Reddy  wrote:

>  Yes it used to work with AM-1.7.0 and is 5.0.0 
>
> Why do we need that separate config element in identity. Xml now for
> AM-1.8.0!??
>
> Can anyone explains why??
>
> --
> Thanks & Regards,
> Rajakrishna Reddy
>
> --- Original Message ---
>
> From: "Nuwan Dias" 
> Sent: 29 October 2014 20:40
> To: "Yasassri Ratnayake" 
> Cc: "WSO2 Developers' List" 
> Subject: Re: [Dev] [DEV][API-M] - SSO Cofiguration Documentation issue
>
>  What if you define the SP as a 'SaaS Application', doesn't it work? It
> used to work with 1.7.0 and IS 5.0.0 AFAIR.
>
> On Wed, Oct 29, 2014 at 1:51 AM, Yasassri Ratnayake 
> wrote:
>
> Hi All,
>
>  When enabling SSO for Publisher and Store. A new config element should
> be added to identity.xml file in the IS Node in-order for tenant users to
> login, If the element is not included the following error will be shown in
> the API-M console.
>
>  ERROR - jaggery_acs:jag SAML response signature is verification failed.
>
>  This is reported at [1], please do the needful to fix this.
>
> [1] - https://wso2.org/jira/browse/DOCUMENTATION-1219
>
>  With Regards,
> --
> Yasassri Ratnayake
> Software Engineer - QA
> WSO2 Inc ; http://wso2.com
> lean.enterprise.middleware
> *Mobile : +94715933168 <%2B94715933168>*
> *Blog : http://yasassriratnayake.blogspot.com/
> *
>
>
>
>
>  --
> Nuwan Dias
>
>  Associate Tech Lead - WSO2, Inc. http://wso2.com
> email : nuw...@wso2.com
> Phone : +94 777 775 729
>



-- 
Yasassri Ratnayake
Software Engineer - QA
WSO2 Inc ; http://wso2.com
lean.enterprise.middleware
*Mobile : +94715933168*
*Blog : http://yasassriratnayake.blogspot.com/
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] What is ESB mediator serializer for?

2014-11-04 Thread Lahiru Chandima
Hi Dilan,

Isn't it createSpecificMediator() that is called to create a mediator from
configuration file?

I searched in the synapse source for usages of createSpecificMediator() and
found that serializeSpecificMediator() is used in deployers mostly for
restoring the XML in error conditions.

Anyway, why I wanted to know when serializeSpecificMediator() is called is
to check the correctness of my serializer. I found
org.apache.synapse.mediators.AbstractTestCase.serialization() method which
can do that. Now I can check the correctness of my serializer using that.

Thanks everyone for help


On Tue, Nov 4, 2014 at 6:48 PM, Dilan Udara Ariyaratne 
wrote:

> Hi Lahiru,
>
> AFAIK, serializeSpecificMediator() is the method that gets called when we
> are reading the relevant configuration xml for a specific mediator from the
> esb configuration file
> and input that to the mediate() function of the mediator to do the
> corresponding processing.
>
> Cheers.
>
>
> *Dilan U. Ariyaratne*
> Software Engineer
> WSO2 Inc. 
> Mobile: +94775149066
> lean . enterprise . middleware
>
> On Tue, Nov 4, 2014 at 12:45 PM, Lahiru Chandima  wrote:
>
>> Hi Maninda,
>>
>> I thought the conversion of the mediator to xml and vice versa is done by
>> the mediator class in the mediator configuration UI bundle. It has
>> serialize() method to convert mediator to XML and build() method to build a
>> mediator from XML.
>>
>> Anyway, I will check whether serializeSpecificMediator() gets called when
>> configuring the mediator in UI when I implement the UI bundle.
>>
>> Thanks.
>>
>> On Tue, Nov 4, 2014 at 12:34 PM, Maninda Edirisooriya 
>> wrote:
>>
>>> Hi Lahiru,
>>>
>>> As earlier said by Isuru, it is used to convert the mediator UI entered
>>> configuration to generate the mediator XML as I remember. And you may find
>>> another class to generate the UI from this XML back which does the reverse
>>> of the serializer. These two classes will be called when you switch between
>>> UI view and source view of the mediator UI as I remember.
>>>
>>>
>>> *Maninda Edirisooriya*
>>> Senior Software Engineer
>>>
>>> *WSO2, Inc.*lean.enterprise.middleware.
>>>
>>> *Blog* : http://maninda.blogspot.com/
>>> *E-mail* : mani...@wso2.com
>>> *Skype* : @manindae
>>> *Twitter* : @maninda
>>>
>>> On Tue, Nov 4, 2014 at 12:24 PM, Lahiru Chandima 
>>> wrote:
>>>
 Hi Isuru,

 Actually the blog post you provided is the one that I am already
 referring to :). It specifies to create a serializer but doesn't mention
 what is the need of a serializer.

 Thanks.

 On Tue, Nov 4, 2014 at 12:18 PM, Isuru Ranawaka 
 wrote:

> Hi ,
>
> Hope following links help you
>
> http://maninda.blogspot.com/2013/01/writing-custom-mediator-for-wso2-esb.html
> http://wso2.com/library/2936/
>
> On Tue, Nov 4, 2014 at 12:06 PM, Lahiru Chandima 
> wrote:
>
>> Hi Waruna,
>>
>> My OSGi bundle is active. mediate() method of the mediator gets
>> called without a problem. The problem is that serializeSpecificMediator()
>> doesn't get called.
>>
>> Hi Isuru,
>>
>> Isn't  it
>> org.wso2.carbon.mediator.service.ui.AbstractMediator.serialize()
>> method (which needs to be implemented in UI bundle mediator class) which 
>> UI
>> bundle uses for serializing the mediator config to XML? I haven't 
>> deployed
>> a mediator configuration UI bundle yet for this mediator.
>>
>> Thanks
>>
>>
>>
>> On Tue, Nov 4, 2014 at 11:56 AM, Isuru Ranawaka 
>> wrote:
>>
>>> Hi Lahiru,
>>>
>>> Mediator serializer   is for write mediator configuration object to
>>> XML file which is used when saving configuration from UI to file system.
>>> Check by saving your configuration from UI.
>>>
>>> Thanks
>>> isuruR
>>>
>>> On Tue, Nov 4, 2014 at 11:47 AM, Waruna Perera 
>>> wrote:
>>>
 Hi Lahiru,

 can you check whether your bundle got activated vi Osgi console?


 Thanks

 On Tue, Nov 4, 2014 at 11:34 AM, Lahiru Chandima 
 wrote:

> Hi All,
>
> I am writing a new ESB mediator and I cannot figure out the need
> of a mediator serializer (extension of AbstractMediatorSerializer) 
> for a
> mediator.
>
> Also, in the new mediator I created, if I add a breakpoint in
> serializeSpecificMediator() method in my mediator serializer and 
> debugged,
> the breakpoint never gets hit (during ESB startup or when the mediator
> receives an event to mediate).
>
> Does anybody know what is the need of a mediator serializer and
> when does the serializeSpecificMediator() method get called?
>
> Thanks
>
> --
> Lahiru Chandima
> *Senior Software Engineer*

Re: [Dev] [APPFAC] Move apptype specific jenkins job configurations to apptype processors

2014-11-04 Thread Dimuthu Leelarathne
Hi,

In order to save the repetition, we can have ONE job-configuraitons
inbuilt. Idea is, if an app type is added without a job this job
configuration is taken as the default. We have to pick the most generic one
in this case. I believe the interpreter language building would be the most
generic case.

thanks,
dimuthu

On Tue, Nov 4, 2014 at 10:36 AM, Kasun De Silva  wrote:

> Hi Danushka,
>
> Yes, that would be more generic, I will proceed with the above approach.
>
> Thanks,
> Kasun
>
> *Kasun de Silva*
> Software Engineer | *WSO2 Inc.*; http://wso2.com
> lean.enterprise.middleware
>
> email   : kas...@wso2.com
> mobile : +94 77 794 4260
>
>
> On Tue, Nov 4, 2014 at 11:07 AM, Danushka Fernando 
> wrote:
>
>> IIRC what Dimuthu asked for is to move all build configuration. No point
>> of moving it just for one apptype.
>> On Nov 4, 2014 9:38 AM, "Kasun De Silva"  wrote:
>>
>>> Hi Danushka,
>>>
>>> Are you suggesting to move all the jenkins job configurations currently
>>> we have in to apptype processors, what my impression was we are doing that
>>> for non maven and buildable apptypes like ASP.NET. Should we refactor
>>> that improvement for maven apptype and other apptypes as well ?  Dimuthu
>>> WDYT ?
>>>
>>> Thanks,
>>> Kasun
>>>
>>> *Kasun de Silva*
>>> Software Engineer | *WSO2 Inc.*; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> email   : kas...@wso2.com
>>> mobile : +94 77 794 4260
>>>
>>>
>>> On Sun, Nov 2, 2014 at 9:59 PM, Danushka Fernando 
>>> wrote:
>>>
 Since we are just replacing some values of this and we are passing it
 to jenkins I think we can do that. And with this I think we can get rid of
 the code we check for freestyle or maven type jobs and we can minimize the
 changes we do to the configuration from the code as well. So while work on
 this refactor the code as well.


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

 On Sun, Nov 2, 2014 at 8:34 PM, Kasun De Silva  wrote:

> Hi All,
>
> I'm working on the $subject. I'm thinking that we can include the
> jenkins job configuration inside the apptype as buildconfiguration.xml,
> similar to apptype.xml for non maven and buildable apptypes, and while
> deploying the apptype we can add the job configuration to application type
> bean. So that we can access it when it needed from the jenkins job
> configurator. WDYT of this approach ?
>
> Thanks,
> Kasun
>
> *Kasun de Silva*
> Software Engineer | *WSO2 Inc.*; http://wso2.com
> lean.enterprise.middleware
>
> email   : kas...@wso2.com
> mobile : +94 77 794 4260
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>

>>>
>


-- 
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] [APIM][BAM][DEV] Intergrating APIM cluster with BAM

2014-11-04 Thread Yasassri Ratnayake
Hi Nuwan,

Is there a way to disable thrift configurations in Publisher and Store? If
I do not specify valid thrift URL or Port after enabling statistics the
server throws the following error, indicating that publisher/store is
trying to connect to the thrift server.

ERROR - AsyncDataPublisher Reconnection failed for for tcp://
10.100.5.112:7614/

Regards,

On Tue, Nov 4, 2014 at 6:27 PM, Nuwan Dias  wrote:

> There's no need for the Publisher and Store to point to the thrift Server.
> But you need to enabled stats for the graphs to work.
>
> Thanks,
> NuwanD.
>
> On Tue, Nov 4, 2014 at 6:11 PM, Yasassri Ratnayake 
> wrote:
>
>> Hi All,
>>
>> When Integrating APIM cluster with BAM I noticed that statistics should
>> be enabled in all gateway nodes and in all publisher and store nodes (*They
>> have to be pointed to the Thrift server*). AFAIK data is published to
>> BAM by the Gateway nodes. And store and publisher fetches data from the
>> STAT DBs and display it on the UI.
>>
>> If we are starting all the servers with the relevant profiles (publisher,
>> store profile etc.) is there a necessity for the publisher and store to
>> connect to BAM?
>>
>>
>> With Regards,
>> --
>> Yasassri Ratnayake
>> Software Engineer - QA
>> WSO2 Inc ; http://wso2.com
>> lean.enterprise.middleware
>> *Mobile : +94715933168 <%2B94715933168>*
>> *Blog : http://yasassriratnayake.blogspot.com/
>> *
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Nuwan Dias
>
> Associate Tech Lead - WSO2, Inc. http://wso2.com
> email : nuw...@wso2.com
> Phone : +94 777 775 729
>



-- 
Yasassri Ratnayake
Software Engineer - QA
WSO2 Inc ; http://wso2.com
lean.enterprise.middleware
*Mobile : +94715933168*
*Blog : http://yasassriratnayake.blogspot.com/
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Siddhi] Counting Patterns

2014-11-04 Thread Sriskandarajah Suhothayan
On Tue, Nov 4, 2014 at 12:22 AM, Seshika Fernando  wrote:

> Jira opened for counting patterns issue - CEP-977 - Counting Patterns do
> not work properly 
>
> Separately, you had mentioned that we can use e2[*prev*], e2[*last*] etc;
> These are not documented anywhere AFAIK. Need to open a docsJIRA for this.
> Are there any other similar keywords that can be used?
>
> Yes we have to fix the doc and as I remember we only have prev and last

Suho


> On Tue, Nov 4, 2014 at 10:13 AM, Seshika Fernando 
> wrote:
>
>> Thanks. Shall open a jira for this.
>>
>> On Tue, Nov 4, 2014 at 9:56 AM, Sriskandarajah Suhothayan 
>> wrote:
>>
>>>
>>>
>>> On Mon, Nov 3, 2014 at 3:57 AM, Seshika Fernando 
>>> wrote:
>>>
 Hi Suho,

 Leaving this particular example aside, I still have an issue with
 counting patterns.
 In the following example

 from e1 = data ->
 e2 = data[(e1.cardNum == e2.cardNum) and (e1.location != e2.location)]
 <4:>
 select e1.cardNum, e1.location as loc1, e2[0].location as loc2,
 e2[1].location as loc3, e2[2].location as loc4, e2[3].location as loc5
 insert into alert

 Assuming the below is the stream of transactions

 CardNum, Location
 1234, Kandy
 1234, Colombo
 1234, Trinco
 1234, Galle
 1234, Nairobi
 1234, Jaffna

 Then the first alert should be triggered as *[1234, Kandy, Colombo,
 Trinco, Galle, Nairobi] *since there are 4 transactions from the same
 card at locations different to the first transaction.

 However, currently we get alerts for every 2 events as follows..

 data=[1234, Kandy, Colombo, null, null, null]

 data=[1234, Kandy, Colombo, Trinco, null, null]

 data=[1234, Colombo, Trinco, null, null, null]

 data=[1234, Kandy, Colombo, Trinco, Galle, null]

 data=[1234, Colombo, Trinco, Galle, null, null]

 data=[1234, Trinco, Galle, null, null, null]

 data=[1234, Kandy, Colombo, Trinco, Galle, Nairobi]

 data=[1234, Colombo, Trinco, Galle, Nairobi, null]

 data=[1234, Trinco, Galle, Nairobi, null, null]

 data=[1234, Galle, Nairobi, null, null, null]

 data=[1234, Colombo, Trinco, Galle, Nairobi, Jaffna]

 data=[1234, Trinco, Galle, Nairobi, Jaffna, null]

 data=[1234, Galle, Nairobi, Jaffna, null, null]

 data=[1234, Nairobi, Jaffna, null, null, null]


 So I don't think this is how counting patterns are supposed to work,
 since there is no real use of putting <4:> if the alerts are going to come
 as above. WDYT?

 I feel we need to revisit counting patterns and their usability.

 It should not return null at-least it has to have 4 valid values.
>>> I think that is a bug
>>> will have a look
>>>
>>> For now as a work around, put a having condition to check is last one is
>>> not a null
>>>
>>> from e1 = data ->
>>> e2 = data[(e1.cardNum == e2.cardNum) and (e1.location != e2.location)]
>>> <4:>
>>> select e1.cardNum, e1.location as loc1, e2[0].location as loc2,
>>> e2[1].location as loc3, e2[2].location as loc4, e2[3].location as loc5
>>> having e2[3].location instanceof string
>>> insert into alert
>>>
>>> Suho
>>>
 seshi


 On Mon, Nov 3, 2014 at 9:06 AM, Supun Muthutantrige 
 wrote:

> Hi Suho,
>
> Yes, the 3rd example worked for the above given scenario. And when
> more than 3 addresses are allowed, what Seshika has mentioned can also be
> used.
>
> Thank you,
> Regards
>
>
> *Supun Rasitha Muthutantrige*
> Software Engineer | Intern
> WSO2 Inc: http://wso2.com
> lean.enterprise.middleware
> Mobile: 0758374608
>


>>>
>>>
>>> --
>>>
>>> *S. Suhothayan*
>>> Technical Lead & Team Lead of WSO2 Complex Event Processor
>>>  *WSO2 Inc. *http://wso2.com
>>> * *
>>> lean . enterprise . middleware
>>>
>>>
>>> *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog:
>>> http://suhothayan.blogspot.com/ twitter:
>>> http://twitter.com/suhothayan  | linked-in:
>>> http://lk.linkedin.com/in/suhothayan *
>>>
>>
>>
>


-- 

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


*cell: (+94) 779 756 757 | blog: http://suhothayan.blogspot.com/
twitter: http://twitter.com/suhothayan
 | linked-in:
http://lk.linkedin.com/in/suhothayan *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] IS Integration Test Automation - Status Update

2014-11-04 Thread Thanuja Jayasinghe
Hi All,

Status Update - end of 04/11/2014

OVERALL COVERAGE SUMMARY
nameline, %block, %method, %class, %all classes36%  (21808.8/59853)
34%  (85996/251321)46%  (4210/9189)57%  (605/1070)OVERALL STATS SUMMARY
total packages:276total executable files:921total classes:1070total methods:
9189total executable lines:59853


Thanks,
Thanuja.

On Mon, Oct 27, 2014 at 10:43 PM, Prabath Siriwardena 
wrote:

> Excellent..!!! Please also report the test coverage - like every 2
> days - then we know where we are heading to...
>
> Let's try to get 60% by next release...
>
> Thanks & regards,
> -Prabath
>
> On Mon, Oct 27, 2014 at 11:31 AM, Thanuja Jayasinghe 
> wrote:
> > Hi All,
> >
> > Following is the status update of ongoing integration test hackathon for
> IS.
> > We have completed the following areas,
> >
> > OAuth Flow
> >
> > Authorization Code
> > Implicit
> > Client Credentials
> > Resource Owner
> >
> > OpenID Flow
> >
> > Smart/Dumb consumer with attribute exchange for user admin and user
> consent
> > approve
> > Smart/Dumb consumer with attribute exchange for normal log in user and
> user
> > consent approve
> > Smart/Dumb consumer with attribute exchange for normal log in user and
> user
> > consent approve always
> > Smart/Dumb consumer with attribute exchange for normal log in user and
> user
> > consent skip
> >
> > OpenID flow covers both super admin and tenant mode
> >
> > We also fixed the existing user management integration test case.
> >
> > During this week we have planed to work on following tasks,
> >
> > Complete OpenID automation flow
> > Complete OAuth automation flow
> > Single log out using SAML
> > Provisioning
> > OpenID Connect
> >
> > Once we have the review we will update this thread with code coverage
> stats.
> >
> > Thanks,
> > Thanuja.
> >
> > --
> > Thanuja Lakmal
> > Software Engineer
> > WSO2 Inc. http://wso2.com/
> > lean.enterprise.middleware
> > Mobile: +94715979891 +94758009992
>
>
>
> --
> Thanks & Regards,
> Prabath
>
> Twitter : @prabath
> LinkedIn : http://www.linkedin.com/in/prabathsiriwardena
>
> Mobile : +94 71 809 6732
>
> http://blog.facilelogin.com
> http://blog.api-security.org
>



-- 
*Thanuja Lakmal*
Software Engineer
WSO2 Inc. http://wso2.com/
*lean.enterprise.middleware*
Mobile: +94715979891 +94758009992
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [G-Reg]Management console notification generation fails in automation tests

2014-11-04 Thread Krishantha Samaraweera
Hi DimuthuD,

Can you check what is going wrong. Please check backend management console
subscription tests first. You can access to management console while
running the tests and verify whether notifications are present.

Thanks,
Krishantha.

On Tue, Nov 4, 2014 at 10:00 PM, Sameera Kannangara 
wrote:

> Hi all,
>
> I have created automation test class [1], for the jira reported at [2].
>
> This scenario is fixed and can be easily tested manually and verify the
> fix.
> However when running this test scenario using automation test class at [1]
> management console notifications are not generated.
>
> Further more when try to test the same scenario on the server used for the
> automation test, manual test previously verfied the fix fails as
> notification are not shown in management console UI.
>
> But if we take the /repository/conf/registry.xml file of the
> server used for the automation test, replace the same file of a fresh G-Reg
> 5.0.0-SNAPSHOT instance, management console notifications are generated
> fine. Therefore fix can be verified.
>
> Fix for the reported jira can be located at [3].
>
> Thank you,
> SameeraK.
>
> [1]
> https://github.com/sameerak/product-greg/blob/REGISTRY-2332_tests/modules/integration/tests-ui-integration/tests-ui/src/test/java/org/wso2/carbon/greg/ui/test/notification/TestRegistry2332.java
> [2] https://wso2.org/jira/browse/REGISTRY-2332
> [3] https://github.com/wso2-dev/carbon-governance/pull/22
>
> --
> *Sameera Kannangara*
> Software Engineer
> Platform TG; WSO2 Inc. http://wso2.com
> Contact:
> phone: +94719541577
> Lean . Enterprise . Middleware
>



-- 
Krishantha Samaraweera
Senior Technical Lead - Test Automation
Mobile: +94 77 7759918
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AF] Problem occurred while moving undeploy functionality to appfactory.deployers

2014-11-04 Thread Mahesh Chinthaka
Hi Samith,
Thanks , will check and do.

On Tue, Nov 4, 2014 at 11:16 PM, Samith Dassanayake  wrote:

> @Mahesh
> IIRC you cannot use RepositoryManager.getAppRepositoryURL() instead of
> getGitRepoUrlForTenant() since it is used get GIT repo url and what we
> need here is S2Git repo url. As Janaka has suggested
> AbstractStratosDeployer.generateRepoUrl() could be used. Please check.
>
> On Tue, Nov 4, 2014 at 11:06 PM, Mahesh Chinthaka 
> wrote:
>
>> Hi Janaka,
>> We initially decided to implement unDeployArtifact() in AbstractDeployer,
>> now it seems better to implement it in AbstractStratosDeployer.
>> +1 to implement it in AbstractStratosDeployer.
>> @Harsha,
>> WDYT ?
>>
>> On Tue, Nov 4, 2014 at 11:00 PM, Janaka Ranabahu  wrote:
>>
>>> Hi Mahesh,
>>>
>>> On Tue, Nov 4, 2014 at 10:51 PM, Mahesh Chinthaka 
>>> wrote:
>>>
 Hi Harsha,
 While following other codes i was able to figure out some usages and
 below is what im going to do. Let me know if anything wrong.


 *getRepositoryProviderAdminPassword()*
 *getRepositoryProviderAdminUser()*

 These two can be solved. We can
 use DeployerUtil.getRepositoryProviderProperty to get the repository
 provider admin username and password

 Please note that the current implementation of those methods are in the
>>> NonBuildableArtifactDeployer. Please move them to AbstractStratosDeployer
>>> so that in future, any deployment related operation for stratos can use
>>> them.
>>>

 *getGitRepoUrlForTenant()*

 RepositoryManager.getAppRepositoryURL can be used to do the job.

 Why can't you use the generateRepoUrl() method in
>>> AbstractStratosDeployer for this. I didn't compare the implementations of
>>> those 2 but they might be different since we are using 2 templates for Git
>>> and S2Git. So please check that too.
>>>

 *getServerDeploymentPaths()*

 This will be moved to AbstractDeployer.

 I would rather suggest to use AbstractStratosDeployer here since this
>>> is related to stratos deployment and might not be the same for any other
>>> deployment environment in the future
>>>

 getFilesToDelete()

 I will move this in to AbstractDeployer, because unDeployAftifact is
 also in the AbstractDeployer and AbstractStratosDeployer is inherited from
 AbstractDeployer. So  I think we have to move it to AbstractDeployer

 Same as above.
>>>
>>> Thanks,
>>> Janaka
>>>


 On Tue, Nov 4, 2014 at 10:21 PM, Harsha Thirimanna 
 wrote:

> Hi Mahesh,
>
> Don't write same code twice. Just move it. Because it is not suite to
> use those kind of method that keeping this Service Class. When we are 
> doing
> some changes, we may have to re-factor according to the best practices.
> WDYT ?
>
>
> *Harsha Thirimanna*
> Senior Software Engineer; WSO2, Inc.; http://wso2.com
> * *
> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
> +94 *
> *774617784twitter: **http://twitter.com/
> *
> *harshathirimannlinked-in: **http:
> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
> *
>
> *Lean . Enterprise . Middleware*
>
>
> On Tue, Nov 4, 2014 at 10:18 PM, Mahesh Chinthaka 
> wrote:
>
>> Hi Harsha,
>> Why cant we just make those methods public and use them ? Since
>> appfactory.core is already a dependancy in appfactory.deployers
>> So we can avoid writing the same code twice.
>>
>> On Tue, Nov 4, 2014 at 10:13 PM, Harsha Thirimanna 
>> wrote:
>>
>>> Hi Janaka,
>>>
>>> There are no new utility method. Just keep it in right place as we
>>> can reuse it.
>>>
>>>
>>> *Harsha Thirimanna*
>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>>> * *
>>> *email: **hars...@wso2.com* * cell: +94 71 5186770
>>>  , +94 *
>>> *774617784twitter: **http://twitter.com/
>>> *
>>> *harshathirimannlinked-in: **http:
>>> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
>>> *
>>>
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>> On Tue, Nov 4, 2014 at 10:12 PM, Harsha Thirimanna >> > wrote:
>>>
 ​sorry, I had sent half of the mail​.

 getFilesToDelete - you can move this method
 to AbstractStratosDeployer

 getRepositoryProviderAdminUser
 getRepositoryProviderAdminPassword

 these two methods can move to AppFactoryUtil in common component
 and make it public.




 *Harsha Thirimanna*
 Senior Soft

Re: [Dev] [AF] Problem occurred while moving undeploy functionality to appfactory.deployers

2014-11-04 Thread Samith Dassanayake
@Mahesh
IIRC you cannot use RepositoryManager.getAppRepositoryURL() instead of
getGitRepoUrlForTenant() since it is used get GIT repo url and what we need
here is S2Git repo url. As Janaka has suggested
AbstractStratosDeployer.generateRepoUrl()
could be used. Please check.

On Tue, Nov 4, 2014 at 11:06 PM, Mahesh Chinthaka  wrote:

> Hi Janaka,
> We initially decided to implement unDeployArtifact() in AbstractDeployer,
> now it seems better to implement it in AbstractStratosDeployer.
> +1 to implement it in AbstractStratosDeployer.
> @Harsha,
> WDYT ?
>
> On Tue, Nov 4, 2014 at 11:00 PM, Janaka Ranabahu  wrote:
>
>> Hi Mahesh,
>>
>> On Tue, Nov 4, 2014 at 10:51 PM, Mahesh Chinthaka 
>> wrote:
>>
>>> Hi Harsha,
>>> While following other codes i was able to figure out some usages and
>>> below is what im going to do. Let me know if anything wrong.
>>>
>>>
>>> *getRepositoryProviderAdminPassword()*
>>> *getRepositoryProviderAdminUser()*
>>>
>>> These two can be solved. We can
>>> use DeployerUtil.getRepositoryProviderProperty to get the repository
>>> provider admin username and password
>>>
>>> Please note that the current implementation of those methods are in the
>> NonBuildableArtifactDeployer. Please move them to AbstractStratosDeployer
>> so that in future, any deployment related operation for stratos can use
>> them.
>>
>>>
>>> *getGitRepoUrlForTenant()*
>>>
>>> RepositoryManager.getAppRepositoryURL can be used to do the job.
>>>
>>> Why can't you use the generateRepoUrl() method in
>> AbstractStratosDeployer for this. I didn't compare the implementations of
>> those 2 but they might be different since we are using 2 templates for Git
>> and S2Git. So please check that too.
>>
>>>
>>> *getServerDeploymentPaths()*
>>>
>>> This will be moved to AbstractDeployer.
>>>
>>> I would rather suggest to use AbstractStratosDeployer here since this is
>> related to stratos deployment and might not be the same for any other
>> deployment environment in the future
>>
>>>
>>> getFilesToDelete()
>>>
>>> I will move this in to AbstractDeployer, because unDeployAftifact is
>>> also in the AbstractDeployer and AbstractStratosDeployer is inherited from
>>> AbstractDeployer. So  I think we have to move it to AbstractDeployer
>>>
>>> Same as above.
>>
>> Thanks,
>> Janaka
>>
>>>
>>>
>>> On Tue, Nov 4, 2014 at 10:21 PM, Harsha Thirimanna 
>>> wrote:
>>>
 Hi Mahesh,

 Don't write same code twice. Just move it. Because it is not suite to
 use those kind of method that keeping this Service Class. When we are doing
 some changes, we may have to re-factor according to the best practices.
 WDYT ?


 *Harsha Thirimanna*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 * *
 *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
 +94 *
 *774617784twitter: **http://twitter.com/
 *
 *harshathirimannlinked-in: **http:
 **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
 *

 *Lean . Enterprise . Middleware*


 On Tue, Nov 4, 2014 at 10:18 PM, Mahesh Chinthaka 
 wrote:

> Hi Harsha,
> Why cant we just make those methods public and use them ? Since
> appfactory.core is already a dependancy in appfactory.deployers
> So we can avoid writing the same code twice.
>
> On Tue, Nov 4, 2014 at 10:13 PM, Harsha Thirimanna 
> wrote:
>
>> Hi Janaka,
>>
>> There are no new utility method. Just keep it in right place as we
>> can reuse it.
>>
>>
>> *Harsha Thirimanna*
>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>> * *
>> *email: **hars...@wso2.com* * cell: +94 71 5186770
>>  , +94 *
>> *774617784twitter: **http://twitter.com/
>> *
>> *harshathirimannlinked-in: **http:
>> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
>> *
>>
>> *Lean . Enterprise . Middleware*
>>
>>
>> On Tue, Nov 4, 2014 at 10:12 PM, Harsha Thirimanna 
>> wrote:
>>
>>> ​sorry, I had sent half of the mail​.
>>>
>>> getFilesToDelete - you can move this method
>>> to AbstractStratosDeployer
>>>
>>> getRepositoryProviderAdminUser
>>> getRepositoryProviderAdminPassword
>>>
>>> these two methods can move to AppFactoryUtil in common component and
>>> make it public.
>>>
>>>
>>>
>>>
>>> *Harsha Thirimanna*
>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>>> * *
>>> *email: **hars...@wso2.com* * cell: +94 71 5186770
>>>  , +94 *
>>> *774617784twitter: **http://twitter.com/
>>> *
>>> *harshat

[Dev] [G-reg] [Redmine Issue Review] Meeting Notes

2014-11-04 Thread Denuwanthi De Silva
Hi,

Following were discussed during the G-reg Redmine Issue review.

Notes on G-reg store (ES store integration to G-reg):
1.Adding RXTs

As of now, adding a new RXT, does not make them appear in store, for that
we need to add an entry about the rxt in a configuration file.

In the meeting it was discussed to support, displaying any rxt added in
store without configuring a file, and only need to configure a file if
disabling that rxt.


2.In future support an admin app(for store) to enable/disable rxts instead
of configuring file.



3.Discussed to change the UI of ES store integrated to G-reg, to show rxts
(services, wsdls etc) as categories instead of tabs.

4.Discussed to maintain this categorization like another extension in
Enterprise store. (app extension)



5.When Unified Governance is implemented, RXT will be replaced by it.(both
can co-exist for sometime). This was discussed in the meeting too.

Eventually ES store also should support the same.



Thanks,
Denuwanthi.


-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AF] Problem occurred while moving undeploy functionality to appfactory.deployers

2014-11-04 Thread Mahesh Chinthaka
Hi,
Thanks everyone, I will proceed.

On Tue, Nov 4, 2014 at 11:11 PM, Janaka Ranabahu  wrote:

>
>
> On Tue, Nov 4, 2014 at 11:06 PM, Mahesh Chinthaka 
> wrote:
>
>> Hi Janaka,
>> We initially decided to implement unDeployArtifact() in AbstractDeployer,
>> now it seems better to implement it in AbstractStratosDeployer.
>> +1 to implement it in AbstractStratosDeployer.
>>
> +1 for implementing it in the AbstractStratosDeployer since that is the
> default place for all the stratos deployment related implementations.
>
> Thanks,
> Janaka
>
>> @Harsha,
>> WDYT ?
>>
>> On Tue, Nov 4, 2014 at 11:00 PM, Janaka Ranabahu  wrote:
>>
>>> Hi Mahesh,
>>>
>>> On Tue, Nov 4, 2014 at 10:51 PM, Mahesh Chinthaka 
>>> wrote:
>>>
 Hi Harsha,
 While following other codes i was able to figure out some usages and
 below is what im going to do. Let me know if anything wrong.


 *getRepositoryProviderAdminPassword()*
 *getRepositoryProviderAdminUser()*

 These two can be solved. We can
 use DeployerUtil.getRepositoryProviderProperty to get the repository
 provider admin username and password

 Please note that the current implementation of those methods are in the
>>> NonBuildableArtifactDeployer. Please move them to AbstractStratosDeployer
>>> so that in future, any deployment related operation for stratos can use
>>> them.
>>>

 *getGitRepoUrlForTenant()*

 RepositoryManager.getAppRepositoryURL can be used to do the job.

 Why can't you use the generateRepoUrl() method in
>>> AbstractStratosDeployer for this. I didn't compare the implementations of
>>> those 2 but they might be different since we are using 2 templates for Git
>>> and S2Git. So please check that too.
>>>

 *getServerDeploymentPaths()*

 This will be moved to AbstractDeployer.

 I would rather suggest to use AbstractStratosDeployer here since this
>>> is related to stratos deployment and might not be the same for any other
>>> deployment environment in the future
>>>

 getFilesToDelete()

 I will move this in to AbstractDeployer, because unDeployAftifact is
 also in the AbstractDeployer and AbstractStratosDeployer is inherited from
 AbstractDeployer. So  I think we have to move it to AbstractDeployer

 Same as above.
>>>
>>> Thanks,
>>> Janaka
>>>


 On Tue, Nov 4, 2014 at 10:21 PM, Harsha Thirimanna 
 wrote:

> Hi Mahesh,
>
> Don't write same code twice. Just move it. Because it is not suite to
> use those kind of method that keeping this Service Class. When we are 
> doing
> some changes, we may have to re-factor according to the best practices.
> WDYT ?
>
>
> *Harsha Thirimanna*
> Senior Software Engineer; WSO2, Inc.; http://wso2.com
> * *
> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
> +94 *
> *774617784twitter: **http://twitter.com/
> *
> *harshathirimannlinked-in: **http:
> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
> *
>
> *Lean . Enterprise . Middleware*
>
>
> On Tue, Nov 4, 2014 at 10:18 PM, Mahesh Chinthaka 
> wrote:
>
>> Hi Harsha,
>> Why cant we just make those methods public and use them ? Since
>> appfactory.core is already a dependancy in appfactory.deployers
>> So we can avoid writing the same code twice.
>>
>> On Tue, Nov 4, 2014 at 10:13 PM, Harsha Thirimanna 
>> wrote:
>>
>>> Hi Janaka,
>>>
>>> There are no new utility method. Just keep it in right place as we
>>> can reuse it.
>>>
>>>
>>> *Harsha Thirimanna*
>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>>> * *
>>> *email: **hars...@wso2.com* * cell: +94 71 5186770
>>>  , +94 *
>>> *774617784twitter: **http://twitter.com/
>>> *
>>> *harshathirimannlinked-in: **http:
>>> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
>>> *
>>>
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>> On Tue, Nov 4, 2014 at 10:12 PM, Harsha Thirimanna >> > wrote:
>>>
 ​sorry, I had sent half of the mail​.

 getFilesToDelete - you can move this method
 to AbstractStratosDeployer

 getRepositoryProviderAdminUser
 getRepositoryProviderAdminPassword

 these two methods can move to AppFactoryUtil in common component
 and make it public.




 *Harsha Thirimanna*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 * *
 *email: **hars...@wso2.com

Re: [Dev] [AF] Problem occurred while moving undeploy functionality to appfactory.deployers

2014-11-04 Thread Janaka Ranabahu
On Tue, Nov 4, 2014 at 11:06 PM, Mahesh Chinthaka  wrote:

> Hi Janaka,
> We initially decided to implement unDeployArtifact() in AbstractDeployer,
> now it seems better to implement it in AbstractStratosDeployer.
> +1 to implement it in AbstractStratosDeployer.
>
+1 for implementing it in the AbstractStratosDeployer since that is the
default place for all the stratos deployment related implementations.

Thanks,
Janaka

> @Harsha,
> WDYT ?
>
> On Tue, Nov 4, 2014 at 11:00 PM, Janaka Ranabahu  wrote:
>
>> Hi Mahesh,
>>
>> On Tue, Nov 4, 2014 at 10:51 PM, Mahesh Chinthaka 
>> wrote:
>>
>>> Hi Harsha,
>>> While following other codes i was able to figure out some usages and
>>> below is what im going to do. Let me know if anything wrong.
>>>
>>>
>>> *getRepositoryProviderAdminPassword()*
>>> *getRepositoryProviderAdminUser()*
>>>
>>> These two can be solved. We can
>>> use DeployerUtil.getRepositoryProviderProperty to get the repository
>>> provider admin username and password
>>>
>>> Please note that the current implementation of those methods are in the
>> NonBuildableArtifactDeployer. Please move them to AbstractStratosDeployer
>> so that in future, any deployment related operation for stratos can use
>> them.
>>
>>>
>>> *getGitRepoUrlForTenant()*
>>>
>>> RepositoryManager.getAppRepositoryURL can be used to do the job.
>>>
>>> Why can't you use the generateRepoUrl() method in
>> AbstractStratosDeployer for this. I didn't compare the implementations of
>> those 2 but they might be different since we are using 2 templates for Git
>> and S2Git. So please check that too.
>>
>>>
>>> *getServerDeploymentPaths()*
>>>
>>> This will be moved to AbstractDeployer.
>>>
>>> I would rather suggest to use AbstractStratosDeployer here since this is
>> related to stratos deployment and might not be the same for any other
>> deployment environment in the future
>>
>>>
>>> getFilesToDelete()
>>>
>>> I will move this in to AbstractDeployer, because unDeployAftifact is
>>> also in the AbstractDeployer and AbstractStratosDeployer is inherited from
>>> AbstractDeployer. So  I think we have to move it to AbstractDeployer
>>>
>>> Same as above.
>>
>> Thanks,
>> Janaka
>>
>>>
>>>
>>> On Tue, Nov 4, 2014 at 10:21 PM, Harsha Thirimanna 
>>> wrote:
>>>
 Hi Mahesh,

 Don't write same code twice. Just move it. Because it is not suite to
 use those kind of method that keeping this Service Class. When we are doing
 some changes, we may have to re-factor according to the best practices.
 WDYT ?


 *Harsha Thirimanna*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 * *
 *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
 +94 *
 *774617784twitter: **http://twitter.com/
 *
 *harshathirimannlinked-in: **http:
 **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
 *

 *Lean . Enterprise . Middleware*


 On Tue, Nov 4, 2014 at 10:18 PM, Mahesh Chinthaka 
 wrote:

> Hi Harsha,
> Why cant we just make those methods public and use them ? Since
> appfactory.core is already a dependancy in appfactory.deployers
> So we can avoid writing the same code twice.
>
> On Tue, Nov 4, 2014 at 10:13 PM, Harsha Thirimanna 
> wrote:
>
>> Hi Janaka,
>>
>> There are no new utility method. Just keep it in right place as we
>> can reuse it.
>>
>>
>> *Harsha Thirimanna*
>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>> * *
>> *email: **hars...@wso2.com* * cell: +94 71 5186770
>>  , +94 *
>> *774617784twitter: **http://twitter.com/
>> *
>> *harshathirimannlinked-in: **http:
>> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
>> *
>>
>> *Lean . Enterprise . Middleware*
>>
>>
>> On Tue, Nov 4, 2014 at 10:12 PM, Harsha Thirimanna 
>> wrote:
>>
>>> ​sorry, I had sent half of the mail​.
>>>
>>> getFilesToDelete - you can move this method
>>> to AbstractStratosDeployer
>>>
>>> getRepositoryProviderAdminUser
>>> getRepositoryProviderAdminPassword
>>>
>>> these two methods can move to AppFactoryUtil in common component and
>>> make it public.
>>>
>>>
>>>
>>>
>>> *Harsha Thirimanna*
>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>>> * *
>>> *email: **hars...@wso2.com* * cell: +94 71 5186770
>>>  , +94 *
>>> *774617784twitter: **http://twitter.com/
>>> *
>>> *harshathirimannlinked-in: **http:
>>> **//www.linkedin.com/pub/harsha-thiriman

Re: [Dev] BAM 2.5.0 Release testing

2014-11-04 Thread Dunith Dhanushka
Hi Shavantha,

You'll only need above configurations when incremental processing is
enabled. However you don't need to edit those values by hand, instead
puppet should automatically configure it for you.

Please raise a JIRA for this. Will fix it.

Regards,
Dunith



On Tue, Nov 4, 2014 at 10:40 PM, Dunith Dhanushka  wrote:

> Hi Aparna,
>
> Issue 1 - Failed in in the first time and succeeded in the 2nd attempt.
>
> Puppet script uses wget command to fetch Cassandra distribution from the
> specified remote location. This operation might take some time depending on
> the network. Above situation could happen if the Cassandra distribution was
> not fully downloaded and Puppet script tries to continue with partially
> downloaded distribution. Not sure this is specific to our research cloud
> environment. I'll check on this further.
>
> *Issue 2* - Temporarily  copied files
> This might be due to issue #1, partial download of a distribution file.
>
> Yes, I'll make a note about user 'kurumba' in the documentation.
>
> Regards,
> Dunith
>
>
>
>
> On Tue, Nov 4, 2014 at 9:38 PM, Shavantha Weerasinghe 
> wrote:
>
>> Hi Dunith
>>
>> within the puppet scrips for receive/analyzer nodes hive-site.xml are we
>> to change the user name/password and host values
>>
>>
>>
>> hive.incremental.processing.intermediate.results.cassandra.hosts
>> localhost:9160
>>   
>>
>>
>>
>> hive.incremental.processing.intermediate.results.cassandra.userName
>> admin
>>   
>>
>>
>>
>> hive.incremental.processing.intermediate.results.cassandra.password
>> admin
>>   
>>
>>
>> Shavantha Weerasinghe
>> Senior Software Engineer QA
>> WSO2, Inc.
>> lean.enterprise.middleware.
>> http://wso2.com
>> http://wso2.org
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300
>>
>>
>> On Mon, Nov 3, 2014 at 6:12 PM, Dunith Dhanushka  wrote:
>>
>>> Hi ,
>>>
>>> Please note that when setting this up in the research cloud, turn off
>>> the iptables by '*sudo service iptables stop*'. Otherwise it'll block
>>> internode communications.
>>>
>>> Regards,
>>> Dunith
>>>
>>> On Mon, Nov 3, 2014 at 11:53 AM, Dunith Dhanushka 
>>> wrote:
>>>
 Hi Aparna,

 I have completed the puppet script upgrade for puppet version 3.7 and
 tested them on a Centos cluster. Please find the attached guide for setup
 instructions.


 Regards,
 Dunith
 ​
  BAM 2.5.0 Distributed Setup with Puppet 3.7
 
 ​

 On Wed, Oct 29, 2014 at 11:58 AM, Dunith Dhanushka 
 wrote:

> Hi Aparna,
>
> I have completed the scripts for BAM and Cassandra nodes. But still
> need to work on Hadoop scripts. I have started testing them on the centos
> cluster created in the research cloud.
>
> Hopefully by today EOD I'll be able to finish  testing with full BAM
> cluster.
>
>
> Regards,
> Dunith
>
>
> On Wed, Oct 29, 2014 at 11:40 AM, Aparna Karunarathna  > wrote:
>
>> Hi Dunith,
>>
>> Any update on puppet scripts?
>>
>> Regards,
>> Aparna.
>>
>> On Mon, Oct 27, 2014 at 10:42 AM, Sewmini Jayaweera > > wrote:
>>
>>> Hi Aparna,
>>>
>>> I tested following issues,
>>>
>>> [1] https://wso2.org/jira/browse/BAM-1611
>>> [2] https://wso2.org/jira/browse/BAM-1515
>>> [3] https://redmine.wso2.com/issues/3186
>>>
>>> Issue [1] and [2] were fixed.
>>>
>>> in order to test issue [3] I created an email adaptor and when
>>> sending a email contains text as e-mail body got following error
>>>
>>>  [2014-10-27 10:23:36,317]  INFO
>>> {org.apache.axis2.builder.BuilderUtil} -  OMException in getSOAPBuilder
>>> org.apache.axiom.om.OMException:
>>> com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'm'
>>> (code 109) in prolog; expected '<'
>>>  at [row,col {unknown-source}]: [1,1]
>>> at
>>> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)
>>> at
>>> org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:204)
>>> at java.lang.Thread.run(Thread.java:745)
>>>
>>> Similar issue is being reported by Shavantha -
>>> https://wso2.org/jira/browse/BAM-1830
>>>
>>> Thank You.
>>>
>>>
>>>
>>> Sewmini Jayaweera
>>> *Software Engineer - QA Team*
>>> Mobile: +94 (0) 773 381 250
>>> sewm...@wso2.com
>>>
>>> On Fri, Oct 24, 2014 at 5:52 PM, Shavantha Weerasinghe <
>>> shavan...@wso2.com> wrote:
>>>
 Hi Inosh

 When we create a stream the payload is generated in xml format as
 below[1] however, when the email is sent with this in the body the BAM
 throws an exception "INFO {org.apache.axis2.builder.BuilderUtil} -
 OMException in getSOAPBuilder
 org.apa

Re: [Dev] [AF] Problem occurred while moving undeploy functionality to appfactory.deployers

2014-11-04 Thread Harsha Thirimanna
Yes +1. Finally I wanted to tell, we should move to the correct place :)


*Harsha Thirimanna*
Senior Software Engineer; WSO2, Inc.; http://wso2.com
* *
*email: **hars...@wso2.com* * cell: +94 71 5186770  , +94 *
*774617784twitter: **http://twitter.com/ *
*harshathirimannlinked-in: **http:
**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
*

*Lean . Enterprise . Middleware*


On Tue, Nov 4, 2014 at 11:06 PM, Mahesh Chinthaka  wrote:

> Hi Janaka,
> We initially decided to implement unDeployArtifact() in AbstractDeployer,
> now it seems better to implement it in AbstractStratosDeployer.
> +1 to implement it in AbstractStratosDeployer.
> @Harsha,
> WDYT ?
>
> On Tue, Nov 4, 2014 at 11:00 PM, Janaka Ranabahu  wrote:
>
>> Hi Mahesh,
>>
>> On Tue, Nov 4, 2014 at 10:51 PM, Mahesh Chinthaka 
>> wrote:
>>
>>> Hi Harsha,
>>> While following other codes i was able to figure out some usages and
>>> below is what im going to do. Let me know if anything wrong.
>>>
>>>
>>> *getRepositoryProviderAdminPassword()*
>>> *getRepositoryProviderAdminUser()*
>>>
>>> These two can be solved. We can
>>> use DeployerUtil.getRepositoryProviderProperty to get the repository
>>> provider admin username and password
>>>
>>> Please note that the current implementation of those methods are in the
>> NonBuildableArtifactDeployer. Please move them to AbstractStratosDeployer
>> so that in future, any deployment related operation for stratos can use
>> them.
>>
>>>
>>> *getGitRepoUrlForTenant()*
>>>
>>> RepositoryManager.getAppRepositoryURL can be used to do the job.
>>>
>>> Why can't you use the generateRepoUrl() method in
>> AbstractStratosDeployer for this. I didn't compare the implementations of
>> those 2 but they might be different since we are using 2 templates for Git
>> and S2Git. So please check that too.
>>
>>>
>>> *getServerDeploymentPaths()*
>>>
>>> This will be moved to AbstractDeployer.
>>>
>>> I would rather suggest to use AbstractStratosDeployer here since this is
>> related to stratos deployment and might not be the same for any other
>> deployment environment in the future
>>
>>>
>>> getFilesToDelete()
>>>
>>> I will move this in to AbstractDeployer, because unDeployAftifact is
>>> also in the AbstractDeployer and AbstractStratosDeployer is inherited from
>>> AbstractDeployer. So  I think we have to move it to AbstractDeployer
>>>
>>> Same as above.
>>
>> Thanks,
>> Janaka
>>
>>>
>>>
>>> On Tue, Nov 4, 2014 at 10:21 PM, Harsha Thirimanna 
>>> wrote:
>>>
 Hi Mahesh,

 Don't write same code twice. Just move it. Because it is not suite to
 use those kind of method that keeping this Service Class. When we are doing
 some changes, we may have to re-factor according to the best practices.
 WDYT ?


 *Harsha Thirimanna*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 * *
 *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
 +94 *
 *774617784twitter: **http://twitter.com/
 *
 *harshathirimannlinked-in: **http:
 **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
 *

 *Lean . Enterprise . Middleware*


 On Tue, Nov 4, 2014 at 10:18 PM, Mahesh Chinthaka 
 wrote:

> Hi Harsha,
> Why cant we just make those methods public and use them ? Since
> appfactory.core is already a dependancy in appfactory.deployers
> So we can avoid writing the same code twice.
>
> On Tue, Nov 4, 2014 at 10:13 PM, Harsha Thirimanna 
> wrote:
>
>> Hi Janaka,
>>
>> There are no new utility method. Just keep it in right place as we
>> can reuse it.
>>
>>
>> *Harsha Thirimanna*
>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>> * *
>> *email: **hars...@wso2.com* * cell: +94 71 5186770
>>  , +94 *
>> *774617784twitter: **http://twitter.com/
>> *
>> *harshathirimannlinked-in: **http:
>> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
>> *
>>
>> *Lean . Enterprise . Middleware*
>>
>>
>> On Tue, Nov 4, 2014 at 10:12 PM, Harsha Thirimanna 
>> wrote:
>>
>>> ​sorry, I had sent half of the mail​.
>>>
>>> getFilesToDelete - you can move this method
>>> to AbstractStratosDeployer
>>>
>>> getRepositoryProviderAdminUser
>>> getRepositoryProviderAdminPassword
>>>
>>> these two methods can move to AppFactoryUtil in common component and
>>> make it public.
>>>
>>>
>>>
>>>
>>> *Harsha Thirimanna*
>>> Senior Softw

Re: [Dev] [AF] Problem occurred while moving undeploy functionality to appfactory.deployers

2014-11-04 Thread Mahesh Chinthaka
Hi Janaka,
We initially decided to implement unDeployArtifact() in AbstractDeployer,
now it seems better to implement it in AbstractStratosDeployer.
+1 to implement it in AbstractStratosDeployer.
@Harsha,
WDYT ?

On Tue, Nov 4, 2014 at 11:00 PM, Janaka Ranabahu  wrote:

> Hi Mahesh,
>
> On Tue, Nov 4, 2014 at 10:51 PM, Mahesh Chinthaka 
> wrote:
>
>> Hi Harsha,
>> While following other codes i was able to figure out some usages and
>> below is what im going to do. Let me know if anything wrong.
>>
>>
>> *getRepositoryProviderAdminPassword()*
>> *getRepositoryProviderAdminUser()*
>>
>> These two can be solved. We can
>> use DeployerUtil.getRepositoryProviderProperty to get the repository
>> provider admin username and password
>>
>> Please note that the current implementation of those methods are in the
> NonBuildableArtifactDeployer. Please move them to AbstractStratosDeployer
> so that in future, any deployment related operation for stratos can use
> them.
>
>>
>> *getGitRepoUrlForTenant()*
>>
>> RepositoryManager.getAppRepositoryURL can be used to do the job.
>>
>> Why can't you use the generateRepoUrl() method in AbstractStratosDeployer
> for this. I didn't compare the implementations of those 2 but they might be
> different since we are using 2 templates for Git and S2Git. So please check
> that too.
>
>>
>> *getServerDeploymentPaths()*
>>
>> This will be moved to AbstractDeployer.
>>
>> I would rather suggest to use AbstractStratosDeployer here since this is
> related to stratos deployment and might not be the same for any other
> deployment environment in the future
>
>>
>> getFilesToDelete()
>>
>> I will move this in to AbstractDeployer, because unDeployAftifact is also
>> in the AbstractDeployer and AbstractStratosDeployer is inherited from
>> AbstractDeployer. So  I think we have to move it to AbstractDeployer
>>
>> Same as above.
>
> Thanks,
> Janaka
>
>>
>>
>> On Tue, Nov 4, 2014 at 10:21 PM, Harsha Thirimanna 
>> wrote:
>>
>>> Hi Mahesh,
>>>
>>> Don't write same code twice. Just move it. Because it is not suite to
>>> use those kind of method that keeping this Service Class. When we are doing
>>> some changes, we may have to re-factor according to the best practices.
>>> WDYT ?
>>>
>>>
>>> *Harsha Thirimanna*
>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>>> * *
>>> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
>>> +94 *
>>> *774617784twitter: **http://twitter.com/
>>> *
>>> *harshathirimannlinked-in: **http:
>>> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
>>> *
>>>
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>> On Tue, Nov 4, 2014 at 10:18 PM, Mahesh Chinthaka 
>>> wrote:
>>>
 Hi Harsha,
 Why cant we just make those methods public and use them ? Since
 appfactory.core is already a dependancy in appfactory.deployers
 So we can avoid writing the same code twice.

 On Tue, Nov 4, 2014 at 10:13 PM, Harsha Thirimanna 
 wrote:

> Hi Janaka,
>
> There are no new utility method. Just keep it in right place as we can
> reuse it.
>
>
> *Harsha Thirimanna*
> Senior Software Engineer; WSO2, Inc.; http://wso2.com
> * *
> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
> +94 *
> *774617784twitter: **http://twitter.com/
> *
> *harshathirimannlinked-in: **http:
> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
> *
>
> *Lean . Enterprise . Middleware*
>
>
> On Tue, Nov 4, 2014 at 10:12 PM, Harsha Thirimanna 
> wrote:
>
>> ​sorry, I had sent half of the mail​.
>>
>> getFilesToDelete - you can move this method to AbstractStratosDeployer
>>
>> getRepositoryProviderAdminUser
>> getRepositoryProviderAdminPassword
>>
>> these two methods can move to AppFactoryUtil in common component and
>> make it public.
>>
>>
>>
>>
>> *Harsha Thirimanna*
>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>> * *
>> *email: **hars...@wso2.com* * cell: +94 71 5186770
>>  , +94 *
>> *774617784twitter: **http://twitter.com/
>> *
>> *harshathirimannlinked-in: **http:
>> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
>> *
>>
>> *Lean . Enterprise . Middleware*
>>
>>
>> On Tue, Nov 4, 2014 at 10:03 PM, Harsha Thirimanna 
>> wrote:
>>
>>> Hi Janaka,
>>>
>>> As Mahesh mentioned some of here are Util methods as private.
>>>
>>> @Mahesh
>>>
>>> getGitRepoUrlForTenan

[Dev] Automate OpenID to SAML federation flow - How to start two IS instances with different hostnames

2014-11-04 Thread Malithi Edirisinghe
Hi all,

I'm working on automating the OpenID to SAML federation flow. At the moment
OpenID implementation on IS 5.1.0 depends on the session, which would be
fixed in future. Hence when I start two IS instances with the same hostname
changing only the port the OpenID federation flow breaks since the cookie
is bound to the hostname and this overwrites each other's session
information resulting in lost sessions. Thus, I need to start two IS
instances that bind to different hostnames.
I would like to know whether this is possible with TAF 4.2.8 or how could
we achieve this scenario ?

Thanks,
Malithi.

-- 

*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] [AF] Problem occurred while moving undeploy functionality to appfactory.deployers

2014-11-04 Thread Janaka Ranabahu
Hi Mahesh,

On Tue, Nov 4, 2014 at 10:51 PM, Mahesh Chinthaka  wrote:

> Hi Harsha,
> While following other codes i was able to figure out some usages and below
> is what im going to do. Let me know if anything wrong.
>
>
> *getRepositoryProviderAdminPassword()*
> *getRepositoryProviderAdminUser()*
>
> These two can be solved. We can
> use DeployerUtil.getRepositoryProviderProperty to get the repository
> provider admin username and password
>
> Please note that the current implementation of those methods are in the
NonBuildableArtifactDeployer. Please move them to AbstractStratosDeployer
so that in future, any deployment related operation for stratos can use
them.

>
> *getGitRepoUrlForTenant()*
>
> RepositoryManager.getAppRepositoryURL can be used to do the job.
>
> Why can't you use the generateRepoUrl() method in AbstractStratosDeployer
for this. I didn't compare the implementations of those 2 but they might be
different since we are using 2 templates for Git and S2Git. So please check
that too.

>
> *getServerDeploymentPaths()*
>
> This will be moved to AbstractDeployer.
>
> I would rather suggest to use AbstractStratosDeployer here since this is
related to stratos deployment and might not be the same for any other
deployment environment in the future

>
> getFilesToDelete()
>
> I will move this in to AbstractDeployer, because unDeployAftifact is also
> in the AbstractDeployer and AbstractStratosDeployer is inherited from
> AbstractDeployer. So  I think we have to move it to AbstractDeployer
>
> Same as above.

Thanks,
Janaka

>
>
> On Tue, Nov 4, 2014 at 10:21 PM, Harsha Thirimanna 
> wrote:
>
>> Hi Mahesh,
>>
>> Don't write same code twice. Just move it. Because it is not suite to use
>> those kind of method that keeping this Service Class. When we are doing
>> some changes, we may have to re-factor according to the best practices.
>> WDYT ?
>>
>>
>> *Harsha Thirimanna*
>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>> * *
>> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
>> +94 *
>> *774617784twitter: **http://twitter.com/
>> *
>> *harshathirimannlinked-in: **http:
>> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
>> *
>>
>> *Lean . Enterprise . Middleware*
>>
>>
>> On Tue, Nov 4, 2014 at 10:18 PM, Mahesh Chinthaka 
>> wrote:
>>
>>> Hi Harsha,
>>> Why cant we just make those methods public and use them ? Since
>>> appfactory.core is already a dependancy in appfactory.deployers
>>> So we can avoid writing the same code twice.
>>>
>>> On Tue, Nov 4, 2014 at 10:13 PM, Harsha Thirimanna 
>>> wrote:
>>>
 Hi Janaka,

 There are no new utility method. Just keep it in right place as we can
 reuse it.


 *Harsha Thirimanna*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 * *
 *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
 +94 *
 *774617784twitter: **http://twitter.com/
 *
 *harshathirimannlinked-in: **http:
 **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
 *

 *Lean . Enterprise . Middleware*


 On Tue, Nov 4, 2014 at 10:12 PM, Harsha Thirimanna 
 wrote:

> ​sorry, I had sent half of the mail​.
>
> getFilesToDelete - you can move this method to AbstractStratosDeployer
>
> getRepositoryProviderAdminUser
> getRepositoryProviderAdminPassword
>
> these two methods can move to AppFactoryUtil in common component and
> make it public.
>
>
>
>
> *Harsha Thirimanna*
> Senior Software Engineer; WSO2, Inc.; http://wso2.com
> * *
> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
> +94 *
> *774617784twitter: **http://twitter.com/
> *
> *harshathirimannlinked-in: **http:
> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
> *
>
> *Lean . Enterprise . Middleware*
>
>
> On Tue, Nov 4, 2014 at 10:03 PM, Harsha Thirimanna 
> wrote:
>
>> Hi Janaka,
>>
>> As Mahesh mentioned some of here are Util methods as private.
>>
>> @Mahesh
>>
>> getGitRepoUrlForTenant - rename this method to getRepoUrlForTenant
>> and move it to RepositoryClient interface. Implement it
>> in GitRepositoryClient according to the Git.
>> getServerDeploymentPaths - in this method, there is only static
>> method call
>>
>>
>> *Harsha Thirimanna*
>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>> * *
>> *email: **hars...@wso2.com* * cell: +94 

Re: [Dev] [AF] Problem occurred while moving undeploy functionality to appfactory.deployers

2014-11-04 Thread Samith Dassanayake
+1 to move them to correct Util classes and refactor accordingly. It would
make ApplicationDeployer more cleaner and we could use those utility in
other places as we needed.

On Tue, Nov 4, 2014 at 10:21 PM, Harsha Thirimanna  wrote:

> Hi Mahesh,
>
> Don't write same code twice. Just move it. Because it is not suite to use
> those kind of method that keeping this Service Class. When we are doing
> some changes, we may have to re-factor according to the best practices.
> WDYT ?
>
>
> *Harsha Thirimanna*
> Senior Software Engineer; WSO2, Inc.; http://wso2.com
> * *
> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
> +94 *
> *774617784twitter: **http://twitter.com/
> *
> *harshathirimannlinked-in: **http:
> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
> *
>
> *Lean . Enterprise . Middleware*
>
>
> On Tue, Nov 4, 2014 at 10:18 PM, Mahesh Chinthaka 
> wrote:
>
>> Hi Harsha,
>> Why cant we just make those methods public and use them ? Since
>> appfactory.core is already a dependancy in appfactory.deployers
>> So we can avoid writing the same code twice.
>>
>> On Tue, Nov 4, 2014 at 10:13 PM, Harsha Thirimanna 
>> wrote:
>>
>>> Hi Janaka,
>>>
>>> There are no new utility method. Just keep it in right place as we can
>>> reuse it.
>>>
>>>
>>> *Harsha Thirimanna*
>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>>> * *
>>> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
>>> +94 *
>>> *774617784twitter: **http://twitter.com/
>>> *
>>> *harshathirimannlinked-in: **http:
>>> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
>>> *
>>>
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>> On Tue, Nov 4, 2014 at 10:12 PM, Harsha Thirimanna 
>>> wrote:
>>>
 ​sorry, I had sent half of the mail​.

 getFilesToDelete - you can move this method to AbstractStratosDeployer

 getRepositoryProviderAdminUser
 getRepositoryProviderAdminPassword

 these two methods can move to AppFactoryUtil in common component and
 make it public.




 *Harsha Thirimanna*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 * *
 *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
 +94 *
 *774617784twitter: **http://twitter.com/
 *
 *harshathirimannlinked-in: **http:
 **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
 *

 *Lean . Enterprise . Middleware*


 On Tue, Nov 4, 2014 at 10:03 PM, Harsha Thirimanna 
 wrote:

> Hi Janaka,
>
> As Mahesh mentioned some of here are Util methods as private.
>
> @Mahesh
>
> getGitRepoUrlForTenant - rename this method to getRepoUrlForTenant and
> move it to RepositoryClient interface. Implement it in GitRepositoryClient
> according to the Git.
> getServerDeploymentPaths - in this method, there is only static method
> call
>
>
> *Harsha Thirimanna*
> Senior Software Engineer; WSO2, Inc.; http://wso2.com
> * *
> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
> +94 *
> *774617784twitter: **http://twitter.com/
> *
> *harshathirimannlinked-in: **http:
> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
> *
>
> *Lean . Enterprise . Middleware*
>
>
> On Tue, Nov 4, 2014 at 9:52 PM, Janaka Ranabahu 
> wrote:
>
>> Hi Mahesh,
>>
>> On Tue, Nov 4, 2014 at 9:42 PM, Mahesh Chinthaka 
>> wrote:
>>
>>> Hi all ,
>>> I was trying to move the exact functionality in
>>> *org.wso2.carbon.appfactory.core.deploy.ApplicationDeployer.undeployAllArtifactsOfAppFromDepSyncGitRepo()*
>>> to
>>> *org.wso2.carbon.appfactory.deployers.AbstractDeployer.unDeployArtifact()*
>>>
>>> while working on *unDeployArtifact()* i need to access some more
>>> methods inside *ApplicationDeployer* class, which are private.
>>> those are : getRepositoryProviderAdminUser()
>>>   getRepositoryProviderAdminPassword()
>>>   getGitRepoUrlForTenant()
>>>   getServerDeploymentPaths()
>>>   getFilesToDelete()
>>>
>> Did you check how these parameters are sent when the deployment call
>> happens? IIRC, we pass a parameter map for that method which contains all
>> these parameters. Also those parameters are config

Re: [Dev] [AF] Problem occurred while moving undeploy functionality to appfactory.deployers

2014-11-04 Thread Mahesh Chinthaka
Hi Harsha,
While following other codes i was able to figure out some usages and below
is what im going to do. Let me know if anything wrong.


*getRepositoryProviderAdminPassword()*
*getRepositoryProviderAdminUser()*

These two can be solved. We can
use DeployerUtil.getRepositoryProviderProperty to get the repository
provider admin username and password


*getGitRepoUrlForTenant()*

RepositoryManager.getAppRepositoryURL can be used to do the job.


*getServerDeploymentPaths()*

This will be moved to AbstractDeployer.


getFilesToDelete()

I will move this in to AbstractDeployer, because unDeployAftifact is also
in the AbstractDeployer and AbstractStratosDeployer is inherited from
AbstractDeployer. So  I think we have to move it to AbstractDeployer


On Tue, Nov 4, 2014 at 10:21 PM, Harsha Thirimanna  wrote:

> Hi Mahesh,
>
> Don't write same code twice. Just move it. Because it is not suite to use
> those kind of method that keeping this Service Class. When we are doing
> some changes, we may have to re-factor according to the best practices.
> WDYT ?
>
>
> *Harsha Thirimanna*
> Senior Software Engineer; WSO2, Inc.; http://wso2.com
> * *
> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
> +94 *
> *774617784twitter: **http://twitter.com/
> *
> *harshathirimannlinked-in: **http:
> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
> *
>
> *Lean . Enterprise . Middleware*
>
>
> On Tue, Nov 4, 2014 at 10:18 PM, Mahesh Chinthaka 
> wrote:
>
>> Hi Harsha,
>> Why cant we just make those methods public and use them ? Since
>> appfactory.core is already a dependancy in appfactory.deployers
>> So we can avoid writing the same code twice.
>>
>> On Tue, Nov 4, 2014 at 10:13 PM, Harsha Thirimanna 
>> wrote:
>>
>>> Hi Janaka,
>>>
>>> There are no new utility method. Just keep it in right place as we can
>>> reuse it.
>>>
>>>
>>> *Harsha Thirimanna*
>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>>> * *
>>> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
>>> +94 *
>>> *774617784twitter: **http://twitter.com/
>>> *
>>> *harshathirimannlinked-in: **http:
>>> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
>>> *
>>>
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>> On Tue, Nov 4, 2014 at 10:12 PM, Harsha Thirimanna 
>>> wrote:
>>>
 ​sorry, I had sent half of the mail​.

 getFilesToDelete - you can move this method to AbstractStratosDeployer

 getRepositoryProviderAdminUser
 getRepositoryProviderAdminPassword

 these two methods can move to AppFactoryUtil in common component and
 make it public.




 *Harsha Thirimanna*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 * *
 *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
 +94 *
 *774617784twitter: **http://twitter.com/
 *
 *harshathirimannlinked-in: **http:
 **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
 *

 *Lean . Enterprise . Middleware*


 On Tue, Nov 4, 2014 at 10:03 PM, Harsha Thirimanna 
 wrote:

> Hi Janaka,
>
> As Mahesh mentioned some of here are Util methods as private.
>
> @Mahesh
>
> getGitRepoUrlForTenant - rename this method to getRepoUrlForTenant and
> move it to RepositoryClient interface. Implement it in GitRepositoryClient
> according to the Git.
> getServerDeploymentPaths - in this method, there is only static method
> call
>
>
> *Harsha Thirimanna*
> Senior Software Engineer; WSO2, Inc.; http://wso2.com
> * *
> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
> +94 *
> *774617784twitter: **http://twitter.com/
> *
> *harshathirimannlinked-in: **http:
> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
> *
>
> *Lean . Enterprise . Middleware*
>
>
> On Tue, Nov 4, 2014 at 9:52 PM, Janaka Ranabahu 
> wrote:
>
>> Hi Mahesh,
>>
>> On Tue, Nov 4, 2014 at 9:42 PM, Mahesh Chinthaka 
>> wrote:
>>
>>> Hi all ,
>>> I was trying to move the exact functionality in
>>> *org.wso2.carbon.appfactory.core.deploy.ApplicationDeployer.undeployAllArtifactsOfAppFromDepSyncGitRepo()*
>>> to
>>> *org.wso2.carbon.appfactory.deployers.AbstractDeployer.unDeployArtifact()*
>>>
>>> while working on *unDeployArtifact()* i need to access som

Re: [Dev] [AF] Problem occurred while moving undeploy functionality to appfactory.deployers

2014-11-04 Thread Danushka Fernando
+1 for refactoring.
@Mahesh : These are good reads. Read these if you are not familiar to
refactoring.

[1] http://sourcemaking.com/refactoring/bad-smells-in-code
[2] http://sourcemaking.com/refactoring/duplicated-code


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

On Tue, Nov 4, 2014 at 10:21 PM, Harsha Thirimanna  wrote:

> Hi Mahesh,
>
> Don't write same code twice. Just move it. Because it is not suite to use
> those kind of method that keeping this Service Class. When we are doing
> some changes, we may have to re-factor according to the best practices.
> WDYT ?
>
>
> *Harsha Thirimanna*
> Senior Software Engineer; WSO2, Inc.; http://wso2.com
> * *
> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
> +94 *
> *774617784twitter: **http://twitter.com/
> *
> *harshathirimannlinked-in: **http:
> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
> *
>
> *Lean . Enterprise . Middleware*
>
>
> On Tue, Nov 4, 2014 at 10:18 PM, Mahesh Chinthaka 
> wrote:
>
>> Hi Harsha,
>> Why cant we just make those methods public and use them ? Since
>> appfactory.core is already a dependancy in appfactory.deployers
>> So we can avoid writing the same code twice.
>>
>> On Tue, Nov 4, 2014 at 10:13 PM, Harsha Thirimanna 
>> wrote:
>>
>>> Hi Janaka,
>>>
>>> There are no new utility method. Just keep it in right place as we can
>>> reuse it.
>>>
>>>
>>> *Harsha Thirimanna*
>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>>> * *
>>> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
>>> +94 *
>>> *774617784twitter: **http://twitter.com/
>>> *
>>> *harshathirimannlinked-in: **http:
>>> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
>>> *
>>>
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>> On Tue, Nov 4, 2014 at 10:12 PM, Harsha Thirimanna 
>>> wrote:
>>>
 ​sorry, I had sent half of the mail​.

 getFilesToDelete - you can move this method to AbstractStratosDeployer

 getRepositoryProviderAdminUser
 getRepositoryProviderAdminPassword

 these two methods can move to AppFactoryUtil in common component and
 make it public.




 *Harsha Thirimanna*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 * *
 *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
 +94 *
 *774617784twitter: **http://twitter.com/
 *
 *harshathirimannlinked-in: **http:
 **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
 *

 *Lean . Enterprise . Middleware*


 On Tue, Nov 4, 2014 at 10:03 PM, Harsha Thirimanna 
 wrote:

> Hi Janaka,
>
> As Mahesh mentioned some of here are Util methods as private.
>
> @Mahesh
>
> getGitRepoUrlForTenant - rename this method to getRepoUrlForTenant and
> move it to RepositoryClient interface. Implement it in GitRepositoryClient
> according to the Git.
> getServerDeploymentPaths - in this method, there is only static method
> call
>
>
> *Harsha Thirimanna*
> Senior Software Engineer; WSO2, Inc.; http://wso2.com
> * *
> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
> +94 *
> *774617784twitter: **http://twitter.com/
> *
> *harshathirimannlinked-in: **http:
> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
> *
>
> *Lean . Enterprise . Middleware*
>
>
> On Tue, Nov 4, 2014 at 9:52 PM, Janaka Ranabahu 
> wrote:
>
>> Hi Mahesh,
>>
>> On Tue, Nov 4, 2014 at 9:42 PM, Mahesh Chinthaka 
>> wrote:
>>
>>> Hi all ,
>>> I was trying to move the exact functionality in
>>> *org.wso2.carbon.appfactory.core.deploy.ApplicationDeployer.undeployAllArtifactsOfAppFromDepSyncGitRepo()*
>>> to
>>> *org.wso2.carbon.appfactory.deployers.AbstractDeployer.unDeployArtifact()*
>>>
>>> while working on *unDeployArtifact()* i need to access some more
>>> methods inside *ApplicationDeployer* class, which are private.
>>> those are : getRepositoryProviderAdminUser()
>>>   getRepositoryProviderAdminPassword()
>>>   getGitRepoUrlForTenant()
>>>   getServerDeploymentPaths()
>>>   getFilesToDelete()
>>>
>> Did you check how these parameters are sent when the deplo

Re: [Dev] BAM 2.5.0 Release testing

2014-11-04 Thread Dunith Dhanushka
Hi Aparna,

Issue 1 - Failed in in the first time and succeeded in the 2nd attempt.

Puppet script uses wget command to fetch Cassandra distribution from the
specified remote location. This operation might take some time depending on
the network. Above situation could happen if the Cassandra distribution was
not fully downloaded and Puppet script tries to continue with partially
downloaded distribution. Not sure this is specific to our research cloud
environment. I'll check on this further.

*Issue 2* - Temporarily  copied files
This might be due to issue #1, partial download of a distribution file.

Yes, I'll make a note about user 'kurumba' in the documentation.

Regards,
Dunith




On Tue, Nov 4, 2014 at 9:38 PM, Shavantha Weerasinghe 
wrote:

> Hi Dunith
>
> within the puppet scrips for receive/analyzer nodes hive-site.xml are we
> to change the user name/password and host values
>
>
>
> hive.incremental.processing.intermediate.results.cassandra.hosts
> localhost:9160
>   
>
>
>
> hive.incremental.processing.intermediate.results.cassandra.userName
> admin
>   
>
>
>
> hive.incremental.processing.intermediate.results.cassandra.password
> admin
>   
>
>
> Shavantha Weerasinghe
> Senior Software Engineer QA
> WSO2, Inc.
> lean.enterprise.middleware.
> http://wso2.com
> http://wso2.org
> Tel : 94 11 214 5345
> Fax :94 11 2145300
>
>
> On Mon, Nov 3, 2014 at 6:12 PM, Dunith Dhanushka  wrote:
>
>> Hi ,
>>
>> Please note that when setting this up in the research cloud, turn off the
>> iptables by '*sudo service iptables stop*'. Otherwise it'll block
>> internode communications.
>>
>> Regards,
>> Dunith
>>
>> On Mon, Nov 3, 2014 at 11:53 AM, Dunith Dhanushka 
>> wrote:
>>
>>> Hi Aparna,
>>>
>>> I have completed the puppet script upgrade for puppet version 3.7 and
>>> tested them on a Centos cluster. Please find the attached guide for setup
>>> instructions.
>>>
>>>
>>> Regards,
>>> Dunith
>>> ​
>>>  BAM 2.5.0 Distributed Setup with Puppet 3.7
>>> 
>>> ​
>>>
>>> On Wed, Oct 29, 2014 at 11:58 AM, Dunith Dhanushka 
>>> wrote:
>>>
 Hi Aparna,

 I have completed the scripts for BAM and Cassandra nodes. But still
 need to work on Hadoop scripts. I have started testing them on the centos
 cluster created in the research cloud.

 Hopefully by today EOD I'll be able to finish  testing with full BAM
 cluster.


 Regards,
 Dunith


 On Wed, Oct 29, 2014 at 11:40 AM, Aparna Karunarathna 
 wrote:

> Hi Dunith,
>
> Any update on puppet scripts?
>
> Regards,
> Aparna.
>
> On Mon, Oct 27, 2014 at 10:42 AM, Sewmini Jayaweera 
> wrote:
>
>> Hi Aparna,
>>
>> I tested following issues,
>>
>> [1] https://wso2.org/jira/browse/BAM-1611
>> [2] https://wso2.org/jira/browse/BAM-1515
>> [3] https://redmine.wso2.com/issues/3186
>>
>> Issue [1] and [2] were fixed.
>>
>> in order to test issue [3] I created an email adaptor and when
>> sending a email contains text as e-mail body got following error
>>
>>  [2014-10-27 10:23:36,317]  INFO
>> {org.apache.axis2.builder.BuilderUtil} -  OMException in getSOAPBuilder
>> org.apache.axiom.om.OMException:
>> com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'm'
>> (code 109) in prolog; expected '<'
>>  at [row,col {unknown-source}]: [1,1]
>> at
>> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)
>> at
>> org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:204)
>> at java.lang.Thread.run(Thread.java:745)
>>
>> Similar issue is being reported by Shavantha -
>> https://wso2.org/jira/browse/BAM-1830
>>
>> Thank You.
>>
>>
>>
>> Sewmini Jayaweera
>> *Software Engineer - QA Team*
>> Mobile: +94 (0) 773 381 250
>> sewm...@wso2.com
>>
>> On Fri, Oct 24, 2014 at 5:52 PM, Shavantha Weerasinghe <
>> shavan...@wso2.com> wrote:
>>
>>> Hi Inosh
>>>
>>> When we create a stream the payload is generated in xml format as
>>> below[1] however, when the email is sent with this in the body the BAM
>>> throws an exception "INFO {org.apache.axis2.builder.BuilderUtil} -
>>> OMException in getSOAPBuilder
>>> org.apache.axiom.soap.SOAPProcessingException: First Element must
>>> contain the local name, Envelope , but found events". If we send the
>>> payload on email as [2] the exception is not thrown. Is this the 
>>> expected
>>> behaviour
>>>
>>> [1] system generated payload
>>> 
>>> 
>>> 
>>> 45
>>> data1
>>> data4
>>> data4
>>> data2
>>> data3
>>> data

Re: [Dev] [PPaaS] Need to update Public JIRA

2014-11-04 Thread Lakmal Warusawithana
What should go there? PaaS features are covered by Apache Stratos. Only we
need to update with Cartridges. (Docker and puppet based)

On Tue, Nov 4, 2014 at 10:33 PM, Imesh Gunaratne  wrote:

> Hi Devs,
>
> I think we need to update PPaaS public JIRA with the features that we are
> planning to deliver in 4.1.0 release. WDYT?
>
> Thanks
>
> --
> *Imesh Gunaratne*
> Technical Lead
> WSO2 Inc: http://wso2.com
> T: +94 11 214 5345 M: +94 77 374 2057
> W: http://imesh.gunaratne.org
> Lean . Enterprise . Middleware
>
>


-- 
Lakmal Warusawithana
Vice President, Apache Stratos
Director - Cloud Architecture; WSO2 Inc.
Mobile : +94714289692
Blog : http://lakmalsview.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [PPaaS] Need to update Public JIRA

2014-11-04 Thread Imesh Gunaratne
Hi Devs,

I think we need to update PPaaS public JIRA with the features that we are
planning to deliver in 4.1.0 release. WDYT?

Thanks

-- 
*Imesh Gunaratne*
Technical Lead
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: http://imesh.gunaratne.org
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AF] Problem occurred while moving undeploy functionality to appfactory.deployers

2014-11-04 Thread Harsha Thirimanna
Hi Mahesh,

Don't write same code twice. Just move it. Because it is not suite to use
those kind of method that keeping this Service Class. When we are doing
some changes, we may have to re-factor according to the best practices.
WDYT ?


*Harsha Thirimanna*
Senior Software Engineer; WSO2, Inc.; http://wso2.com
* *
*email: **hars...@wso2.com* * cell: +94 71 5186770  , +94 *
*774617784twitter: **http://twitter.com/ *
*harshathirimannlinked-in: **http:
**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
*

*Lean . Enterprise . Middleware*


On Tue, Nov 4, 2014 at 10:18 PM, Mahesh Chinthaka  wrote:

> Hi Harsha,
> Why cant we just make those methods public and use them ? Since
> appfactory.core is already a dependancy in appfactory.deployers
> So we can avoid writing the same code twice.
>
> On Tue, Nov 4, 2014 at 10:13 PM, Harsha Thirimanna 
> wrote:
>
>> Hi Janaka,
>>
>> There are no new utility method. Just keep it in right place as we can
>> reuse it.
>>
>>
>> *Harsha Thirimanna*
>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>> * *
>> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
>> +94 *
>> *774617784twitter: **http://twitter.com/
>> *
>> *harshathirimannlinked-in: **http:
>> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
>> *
>>
>> *Lean . Enterprise . Middleware*
>>
>>
>> On Tue, Nov 4, 2014 at 10:12 PM, Harsha Thirimanna 
>> wrote:
>>
>>> ​sorry, I had sent half of the mail​.
>>>
>>> getFilesToDelete - you can move this method to AbstractStratosDeployer
>>>
>>> getRepositoryProviderAdminUser
>>> getRepositoryProviderAdminPassword
>>>
>>> these two methods can move to AppFactoryUtil in common component and
>>> make it public.
>>>
>>>
>>>
>>>
>>> *Harsha Thirimanna*
>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>>> * *
>>> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
>>> +94 *
>>> *774617784twitter: **http://twitter.com/
>>> *
>>> *harshathirimannlinked-in: **http:
>>> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
>>> *
>>>
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>> On Tue, Nov 4, 2014 at 10:03 PM, Harsha Thirimanna 
>>> wrote:
>>>
 Hi Janaka,

 As Mahesh mentioned some of here are Util methods as private.

 @Mahesh

 getGitRepoUrlForTenant - rename this method to getRepoUrlForTenant and
 move it to RepositoryClient interface. Implement it in GitRepositoryClient
 according to the Git.
 getServerDeploymentPaths - in this method, there is only static method
 call


 *Harsha Thirimanna*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 * *
 *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
 +94 *
 *774617784twitter: **http://twitter.com/
 *
 *harshathirimannlinked-in: **http:
 **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
 *

 *Lean . Enterprise . Middleware*


 On Tue, Nov 4, 2014 at 9:52 PM, Janaka Ranabahu 
 wrote:

> Hi Mahesh,
>
> On Tue, Nov 4, 2014 at 9:42 PM, Mahesh Chinthaka 
> wrote:
>
>> Hi all ,
>> I was trying to move the exact functionality in
>> *org.wso2.carbon.appfactory.core.deploy.ApplicationDeployer.undeployAllArtifactsOfAppFromDepSyncGitRepo()*
>> to
>> *org.wso2.carbon.appfactory.deployers.AbstractDeployer.unDeployArtifact()*
>>
>> while working on *unDeployArtifact()* i need to access some more
>> methods inside *ApplicationDeployer* class, which are private.
>> those are : getRepositoryProviderAdminUser()
>>   getRepositoryProviderAdminPassword()
>>   getGitRepoUrlForTenant()
>>   getServerDeploymentPaths()
>>   getFilesToDelete()
>>
> Did you check how these parameters are sent when the deployment call
> happens? IIRC, we pass a parameter map for that method which contains all
> these parameters. Also those parameters are configured in the 
> appfactory.xml
> So please check how the deploy methods work. That should give you a
> clue.
>
> Thanks,
> Janaka
>
>>
>> What kind of approach should I follow ?
>>
>> 1. Make above methods public and use them.
>> 2. Implement same methods inside AbstactDeployer class and use them.
>>
>> FYI : *AbstractDeployer* class 

Re: [Dev] [AF] Problem occurred while moving undeploy functionality to appfactory.deployers

2014-11-04 Thread Mahesh Chinthaka
Hi Harsha,
Why cant we just make those methods public and use them ? Since
appfactory.core is already a dependancy in appfactory.deployers
So we can avoid writing the same code twice.

On Tue, Nov 4, 2014 at 10:13 PM, Harsha Thirimanna  wrote:

> Hi Janaka,
>
> There are no new utility method. Just keep it in right place as we can
> reuse it.
>
>
> *Harsha Thirimanna*
> Senior Software Engineer; WSO2, Inc.; http://wso2.com
> * *
> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
> +94 *
> *774617784twitter: **http://twitter.com/
> *
> *harshathirimannlinked-in: **http:
> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
> *
>
> *Lean . Enterprise . Middleware*
>
>
> On Tue, Nov 4, 2014 at 10:12 PM, Harsha Thirimanna 
> wrote:
>
>> ​sorry, I had sent half of the mail​.
>>
>> getFilesToDelete - you can move this method to AbstractStratosDeployer
>>
>> getRepositoryProviderAdminUser
>> getRepositoryProviderAdminPassword
>>
>> these two methods can move to AppFactoryUtil in common component and make
>> it public.
>>
>>
>>
>>
>> *Harsha Thirimanna*
>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>> * *
>> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
>> +94 *
>> *774617784twitter: **http://twitter.com/
>> *
>> *harshathirimannlinked-in: **http:
>> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
>> *
>>
>> *Lean . Enterprise . Middleware*
>>
>>
>> On Tue, Nov 4, 2014 at 10:03 PM, Harsha Thirimanna 
>> wrote:
>>
>>> Hi Janaka,
>>>
>>> As Mahesh mentioned some of here are Util methods as private.
>>>
>>> @Mahesh
>>>
>>> getGitRepoUrlForTenant - rename this method to getRepoUrlForTenant and
>>> move it to RepositoryClient interface. Implement it in GitRepositoryClient
>>> according to the Git.
>>> getServerDeploymentPaths - in this method, there is only static method
>>> call
>>>
>>>
>>> *Harsha Thirimanna*
>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>>> * *
>>> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
>>> +94 *
>>> *774617784twitter: **http://twitter.com/
>>> *
>>> *harshathirimannlinked-in: **http:
>>> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
>>> *
>>>
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>> On Tue, Nov 4, 2014 at 9:52 PM, Janaka Ranabahu  wrote:
>>>
 Hi Mahesh,

 On Tue, Nov 4, 2014 at 9:42 PM, Mahesh Chinthaka 
 wrote:

> Hi all ,
> I was trying to move the exact functionality in
> *org.wso2.carbon.appfactory.core.deploy.ApplicationDeployer.undeployAllArtifactsOfAppFromDepSyncGitRepo()*
> to
> *org.wso2.carbon.appfactory.deployers.AbstractDeployer.unDeployArtifact()*
>
> while working on *unDeployArtifact()* i need to access some more
> methods inside *ApplicationDeployer* class, which are private.
> those are : getRepositoryProviderAdminUser()
>   getRepositoryProviderAdminPassword()
>   getGitRepoUrlForTenant()
>   getServerDeploymentPaths()
>   getFilesToDelete()
>
 Did you check how these parameters are sent when the deployment call
 happens? IIRC, we pass a parameter map for that method which contains all
 these parameters. Also those parameters are configured in the 
 appfactory.xml
 So please check how the deploy methods work. That should give you a
 clue.

 Thanks,
 Janaka

>
> What kind of approach should I follow ?
>
> 1. Make above methods public and use them.
> 2. Implement same methods inside AbstactDeployer class and use them.
>
> FYI : *AbstractDeployer* class is implemented from *Deployer*
> interface and currently it has following methods.
> deployTaggedArtifact
> deployLatestSuccessArtifact
> deployPromotedArtifact
> unDeployArtifact
> handleException
>
> Thanks
> --
> *Mahesh Chinthaka Vidanagama* | Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 63 63 083 | Work: +94 112 145 345
> Email: mahe...@wso2.com | Web: www.wso2.com
>



 --
 *Janaka Ranabahu*
 Senior Software Engineer; WSO2 Inc.; http://wso2.com


 *E-mail: jan...@wso2.com **M: **+94 718370861
 <%2B94%20718370861>*

 Lean . Enterprise . Middleware

>>>
>>>
>>
>


-- 
*Mahesh Chinthaka Vidanagama* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colom

Re: [Dev] [AF] Problem occurred while moving undeploy functionality to appfactory.deployers

2014-11-04 Thread Danushka Fernando
+1 to move them to AppfactoryUtil. So we can use it every where.

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

On Tue, Nov 4, 2014 at 10:13 PM, Harsha Thirimanna  wrote:

> Hi Janaka,
>
> There are no new utility method. Just keep it in right place as we can
> reuse it.
>
>
> *Harsha Thirimanna*
> Senior Software Engineer; WSO2, Inc.; http://wso2.com
> * *
> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
> +94 *
> *774617784twitter: **http://twitter.com/
> *
> *harshathirimannlinked-in: **http:
> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
> *
>
> *Lean . Enterprise . Middleware*
>
>
> On Tue, Nov 4, 2014 at 10:12 PM, Harsha Thirimanna 
> wrote:
>
>> ​sorry, I had sent half of the mail​.
>>
>> getFilesToDelete - you can move this method to AbstractStratosDeployer
>>
>> getRepositoryProviderAdminUser
>> getRepositoryProviderAdminPassword
>>
>> these two methods can move to AppFactoryUtil in common component and make
>> it public.
>>
>>
>>
>>
>> *Harsha Thirimanna*
>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>> * *
>> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
>> +94 *
>> *774617784twitter: **http://twitter.com/
>> *
>> *harshathirimannlinked-in: **http:
>> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
>> *
>>
>> *Lean . Enterprise . Middleware*
>>
>>
>> On Tue, Nov 4, 2014 at 10:03 PM, Harsha Thirimanna 
>> wrote:
>>
>>> Hi Janaka,
>>>
>>> As Mahesh mentioned some of here are Util methods as private.
>>>
>>> @Mahesh
>>>
>>> getGitRepoUrlForTenant - rename this method to getRepoUrlForTenant and
>>> move it to RepositoryClient interface. Implement it in GitRepositoryClient
>>> according to the Git.
>>> getServerDeploymentPaths - in this method, there is only static method
>>> call
>>>
>>>
>>> *Harsha Thirimanna*
>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>>> * *
>>> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
>>> +94 *
>>> *774617784twitter: **http://twitter.com/
>>> *
>>> *harshathirimannlinked-in: **http:
>>> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
>>> *
>>>
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>> On Tue, Nov 4, 2014 at 9:52 PM, Janaka Ranabahu  wrote:
>>>
 Hi Mahesh,

 On Tue, Nov 4, 2014 at 9:42 PM, Mahesh Chinthaka 
 wrote:

> Hi all ,
> I was trying to move the exact functionality in
> *org.wso2.carbon.appfactory.core.deploy.ApplicationDeployer.undeployAllArtifactsOfAppFromDepSyncGitRepo()*
> to
> *org.wso2.carbon.appfactory.deployers.AbstractDeployer.unDeployArtifact()*
>
> while working on *unDeployArtifact()* i need to access some more
> methods inside *ApplicationDeployer* class, which are private.
> those are : getRepositoryProviderAdminUser()
>   getRepositoryProviderAdminPassword()
>   getGitRepoUrlForTenant()
>   getServerDeploymentPaths()
>   getFilesToDelete()
>
 Did you check how these parameters are sent when the deployment call
 happens? IIRC, we pass a parameter map for that method which contains all
 these parameters. Also those parameters are configured in the 
 appfactory.xml
 So please check how the deploy methods work. That should give you a
 clue.

 Thanks,
 Janaka

>
> What kind of approach should I follow ?
>
> 1. Make above methods public and use them.
> 2. Implement same methods inside AbstactDeployer class and use them.
>
> FYI : *AbstractDeployer* class is implemented from *Deployer*
> interface and currently it has following methods.
> deployTaggedArtifact
> deployLatestSuccessArtifact
> deployPromotedArtifact
> unDeployArtifact
> handleException
>
> Thanks
> --
> *Mahesh Chinthaka Vidanagama* | Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 63 63 083 | Work: +94 112 145 345
> Email: mahe...@wso2.com | Web: www.wso2.com
>



 --
 *Janaka Ranabahu*
 Senior Software Engineer; WSO2 Inc.; http://wso2.com


 *E-mail: jan...@wso2.com **M: **+94 718370861
 <%2B94%20718370861>*

 Lean . Enterprise . Middleware

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


Re: [Dev] [AF] Problem occurred while moving undeploy functionality to appfactory.deployers

2014-11-04 Thread Harsha Thirimanna
Hi Janaka,

There are no new utility method. Just keep it in right place as we can
reuse it.


*Harsha Thirimanna*
Senior Software Engineer; WSO2, Inc.; http://wso2.com
* *
*email: **hars...@wso2.com* * cell: +94 71 5186770  , +94 *
*774617784twitter: **http://twitter.com/ *
*harshathirimannlinked-in: **http:
**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
*

*Lean . Enterprise . Middleware*


On Tue, Nov 4, 2014 at 10:12 PM, Harsha Thirimanna  wrote:

> ​sorry, I had sent half of the mail​.
>
> getFilesToDelete - you can move this method to AbstractStratosDeployer
>
> getRepositoryProviderAdminUser
> getRepositoryProviderAdminPassword
>
> these two methods can move to AppFactoryUtil in common component and make
> it public.
>
>
>
>
> *Harsha Thirimanna*
> Senior Software Engineer; WSO2, Inc.; http://wso2.com
> * *
> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
> +94 *
> *774617784twitter: **http://twitter.com/
> *
> *harshathirimannlinked-in: **http:
> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
> *
>
> *Lean . Enterprise . Middleware*
>
>
> On Tue, Nov 4, 2014 at 10:03 PM, Harsha Thirimanna 
> wrote:
>
>> Hi Janaka,
>>
>> As Mahesh mentioned some of here are Util methods as private.
>>
>> @Mahesh
>>
>> getGitRepoUrlForTenant - rename this method to getRepoUrlForTenant and
>> move it to RepositoryClient interface. Implement it in GitRepositoryClient
>> according to the Git.
>> getServerDeploymentPaths - in this method, there is only static method
>> call
>>
>>
>> *Harsha Thirimanna*
>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>> * *
>> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
>> +94 *
>> *774617784twitter: **http://twitter.com/
>> *
>> *harshathirimannlinked-in: **http:
>> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
>> *
>>
>> *Lean . Enterprise . Middleware*
>>
>>
>> On Tue, Nov 4, 2014 at 9:52 PM, Janaka Ranabahu  wrote:
>>
>>> Hi Mahesh,
>>>
>>> On Tue, Nov 4, 2014 at 9:42 PM, Mahesh Chinthaka 
>>> wrote:
>>>
 Hi all ,
 I was trying to move the exact functionality in
 *org.wso2.carbon.appfactory.core.deploy.ApplicationDeployer.undeployAllArtifactsOfAppFromDepSyncGitRepo()*
 to
 *org.wso2.carbon.appfactory.deployers.AbstractDeployer.unDeployArtifact()*

 while working on *unDeployArtifact()* i need to access some more
 methods inside *ApplicationDeployer* class, which are private.
 those are : getRepositoryProviderAdminUser()
   getRepositoryProviderAdminPassword()
   getGitRepoUrlForTenant()
   getServerDeploymentPaths()
   getFilesToDelete()

>>> Did you check how these parameters are sent when the deployment call
>>> happens? IIRC, we pass a parameter map for that method which contains all
>>> these parameters. Also those parameters are configured in the appfactory.xml
>>> So please check how the deploy methods work. That should give you a clue.
>>>
>>> Thanks,
>>> Janaka
>>>

 What kind of approach should I follow ?

 1. Make above methods public and use them.
 2. Implement same methods inside AbstactDeployer class and use them.

 FYI : *AbstractDeployer* class is implemented from *Deployer*
 interface and currently it has following methods.
 deployTaggedArtifact
 deployLatestSuccessArtifact
 deployPromotedArtifact
 unDeployArtifact
 handleException

 Thanks
 --
 *Mahesh Chinthaka Vidanagama* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 63 63 083 | Work: +94 112 145 345
 Email: mahe...@wso2.com | Web: www.wso2.com

>>>
>>>
>>>
>>> --
>>> *Janaka Ranabahu*
>>> Senior Software Engineer; WSO2 Inc.; http://wso2.com
>>>
>>>
>>> *E-mail: jan...@wso2.com **M: **+94 718370861
>>> <%2B94%20718370861>*
>>>
>>> Lean . Enterprise . Middleware
>>>
>>
>>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AF] Problem occurred while moving undeploy functionality to appfactory.deployers

2014-11-04 Thread Harsha Thirimanna
​sorry, I had sent half of the mail​.

getFilesToDelete - you can move this method to AbstractStratosDeployer

getRepositoryProviderAdminUser
getRepositoryProviderAdminPassword

these two methods can move to AppFactoryUtil in common component and make
it public.




*Harsha Thirimanna*
Senior Software Engineer; WSO2, Inc.; http://wso2.com
* *
*email: **hars...@wso2.com* * cell: +94 71 5186770  , +94 *
*774617784twitter: **http://twitter.com/ *
*harshathirimannlinked-in: **http:
**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
*

*Lean . Enterprise . Middleware*


On Tue, Nov 4, 2014 at 10:03 PM, Harsha Thirimanna  wrote:

> Hi Janaka,
>
> As Mahesh mentioned some of here are Util methods as private.
>
> @Mahesh
>
> getGitRepoUrlForTenant - rename this method to getRepoUrlForTenant and
> move it to RepositoryClient interface. Implement it in GitRepositoryClient
> according to the Git.
> getServerDeploymentPaths - in this method, there is only static method call
>
>
> *Harsha Thirimanna*
> Senior Software Engineer; WSO2, Inc.; http://wso2.com
> * *
> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
> +94 *
> *774617784twitter: **http://twitter.com/
> *
> *harshathirimannlinked-in: **http:
> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
> *
>
> *Lean . Enterprise . Middleware*
>
>
> On Tue, Nov 4, 2014 at 9:52 PM, Janaka Ranabahu  wrote:
>
>> Hi Mahesh,
>>
>> On Tue, Nov 4, 2014 at 9:42 PM, Mahesh Chinthaka 
>> wrote:
>>
>>> Hi all ,
>>> I was trying to move the exact functionality in
>>> *org.wso2.carbon.appfactory.core.deploy.ApplicationDeployer.undeployAllArtifactsOfAppFromDepSyncGitRepo()*
>>> to
>>> *org.wso2.carbon.appfactory.deployers.AbstractDeployer.unDeployArtifact()*
>>>
>>> while working on *unDeployArtifact()* i need to access some more
>>> methods inside *ApplicationDeployer* class, which are private.
>>> those are : getRepositoryProviderAdminUser()
>>>   getRepositoryProviderAdminPassword()
>>>   getGitRepoUrlForTenant()
>>>   getServerDeploymentPaths()
>>>   getFilesToDelete()
>>>
>> Did you check how these parameters are sent when the deployment call
>> happens? IIRC, we pass a parameter map for that method which contains all
>> these parameters. Also those parameters are configured in the appfactory.xml
>> So please check how the deploy methods work. That should give you a clue.
>>
>> Thanks,
>> Janaka
>>
>>>
>>> What kind of approach should I follow ?
>>>
>>> 1. Make above methods public and use them.
>>> 2. Implement same methods inside AbstactDeployer class and use them.
>>>
>>> FYI : *AbstractDeployer* class is implemented from *Deployer* interface
>>> and currently it has following methods.
>>> deployTaggedArtifact
>>> deployLatestSuccessArtifact
>>> deployPromotedArtifact
>>> unDeployArtifact
>>> handleException
>>>
>>> Thanks
>>> --
>>> *Mahesh Chinthaka Vidanagama* | Software Engineer
>>> WSO2, Inc | lean. enterprise. middleware.
>>> #20, Palm Grove, Colombo 03, Sri Lanka
>>> Mobile: +94 71 63 63 083 | Work: +94 112 145 345
>>> Email: mahe...@wso2.com | Web: www.wso2.com
>>>
>>
>>
>>
>> --
>> *Janaka Ranabahu*
>> Senior Software Engineer; WSO2 Inc.; http://wso2.com
>>
>>
>> *E-mail: jan...@wso2.com **M: **+94 718370861
>> <%2B94%20718370861>*
>>
>> Lean . Enterprise . Middleware
>>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AF] Problem occurred while moving undeploy functionality to appfactory.deployers

2014-11-04 Thread Janaka Ranabahu
Hi Harsha,

On Tue, Nov 4, 2014 at 10:03 PM, Harsha Thirimanna  wrote:

> Hi Janaka,
>
> As Mahesh mentioned some of here are Util methods as private.
>
Agreed. But to add the artifact to the git repo, we need the same
parameters right? Then there is a way that we pass those parameters to the
deploy method. What he should do it so use the same approach and same
methods since we are using the same repo to remove the artifact. IMO, for
that purpose, we do not need to introduce new utility methods.

Please correct me if I'm wrong.

Thanks,
Janaka

>
> @Mahesh
>
> getGitRepoUrlForTenant - rename this method to getRepoUrlForTenant and
> move it to RepositoryClient interface. Implement it in GitRepositoryClient
> according to the Git.
> getServerDeploymentPaths - in this method, there is only static method call
>
>
> *Harsha Thirimanna*
> Senior Software Engineer; WSO2, Inc.; http://wso2.com
> * *
> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
> +94 *
> *774617784twitter: **http://twitter.com/
> *
> *harshathirimannlinked-in: **http:
> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
> *
>
> *Lean . Enterprise . Middleware*
>
>
> On Tue, Nov 4, 2014 at 9:52 PM, Janaka Ranabahu  wrote:
>
>> Hi Mahesh,
>>
>> On Tue, Nov 4, 2014 at 9:42 PM, Mahesh Chinthaka 
>> wrote:
>>
>>> Hi all ,
>>> I was trying to move the exact functionality in
>>> *org.wso2.carbon.appfactory.core.deploy.ApplicationDeployer.undeployAllArtifactsOfAppFromDepSyncGitRepo()*
>>> to
>>> *org.wso2.carbon.appfactory.deployers.AbstractDeployer.unDeployArtifact()*
>>>
>>> while working on *unDeployArtifact()* i need to access some more
>>> methods inside *ApplicationDeployer* class, which are private.
>>> those are : getRepositoryProviderAdminUser()
>>>   getRepositoryProviderAdminPassword()
>>>   getGitRepoUrlForTenant()
>>>   getServerDeploymentPaths()
>>>   getFilesToDelete()
>>>
>> Did you check how these parameters are sent when the deployment call
>> happens? IIRC, we pass a parameter map for that method which contains all
>> these parameters. Also those parameters are configured in the appfactory.xml
>> So please check how the deploy methods work. That should give you a clue.
>>
>> Thanks,
>> Janaka
>>
>>>
>>> What kind of approach should I follow ?
>>>
>>> 1. Make above methods public and use them.
>>> 2. Implement same methods inside AbstactDeployer class and use them.
>>>
>>> FYI : *AbstractDeployer* class is implemented from *Deployer* interface
>>> and currently it has following methods.
>>> deployTaggedArtifact
>>> deployLatestSuccessArtifact
>>> deployPromotedArtifact
>>> unDeployArtifact
>>> handleException
>>>
>>> Thanks
>>> --
>>> *Mahesh Chinthaka Vidanagama* | Software Engineer
>>> WSO2, Inc | lean. enterprise. middleware.
>>> #20, Palm Grove, Colombo 03, Sri Lanka
>>> Mobile: +94 71 63 63 083 | Work: +94 112 145 345
>>> Email: mahe...@wso2.com | Web: www.wso2.com
>>>
>>
>>
>>
>> --
>> *Janaka Ranabahu*
>> Senior Software Engineer; WSO2 Inc.; http://wso2.com
>>
>>
>> *E-mail: jan...@wso2.com **M: **+94 718370861
>> <%2B94%20718370861>*
>>
>> Lean . Enterprise . Middleware
>>
>
>


-- 
*Janaka Ranabahu*
Senior Software Engineer; WSO2 Inc.; http://wso2.com


*E-mail: jan...@wso2.com **M: **+94 718370861*

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


Re: [Dev] [AF] Problem occurred while moving undeploy functionality to appfactory.deployers

2014-11-04 Thread Harsha Thirimanna
Hi Janaka,

As Mahesh mentioned some of here are Util methods as private.

@Mahesh

getGitRepoUrlForTenant - rename this method to getRepoUrlForTenant and move
it to RepositoryClient interface. Implement it in GitRepositoryClient
according to the Git.
getServerDeploymentPaths - in this method, there is only static method call


*Harsha Thirimanna*
Senior Software Engineer; WSO2, Inc.; http://wso2.com
* *
*email: **hars...@wso2.com* * cell: +94 71 5186770  , +94 *
*774617784twitter: **http://twitter.com/ *
*harshathirimannlinked-in: **http:
**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
*

*Lean . Enterprise . Middleware*


On Tue, Nov 4, 2014 at 9:52 PM, Janaka Ranabahu  wrote:

> Hi Mahesh,
>
> On Tue, Nov 4, 2014 at 9:42 PM, Mahesh Chinthaka  wrote:
>
>> Hi all ,
>> I was trying to move the exact functionality in
>> *org.wso2.carbon.appfactory.core.deploy.ApplicationDeployer.undeployAllArtifactsOfAppFromDepSyncGitRepo()*
>> to
>> *org.wso2.carbon.appfactory.deployers.AbstractDeployer.unDeployArtifact()*
>>
>> while working on *unDeployArtifact()* i need to access some more methods
>> inside *ApplicationDeployer* class, which are private.
>> those are : getRepositoryProviderAdminUser()
>>   getRepositoryProviderAdminPassword()
>>   getGitRepoUrlForTenant()
>>   getServerDeploymentPaths()
>>   getFilesToDelete()
>>
> Did you check how these parameters are sent when the deployment call
> happens? IIRC, we pass a parameter map for that method which contains all
> these parameters. Also those parameters are configured in the appfactory.xml
> So please check how the deploy methods work. That should give you a clue.
>
> Thanks,
> Janaka
>
>>
>> What kind of approach should I follow ?
>>
>> 1. Make above methods public and use them.
>> 2. Implement same methods inside AbstactDeployer class and use them.
>>
>> FYI : *AbstractDeployer* class is implemented from *Deployer* interface
>> and currently it has following methods.
>> deployTaggedArtifact
>> deployLatestSuccessArtifact
>> deployPromotedArtifact
>> unDeployArtifact
>> handleException
>>
>> Thanks
>> --
>> *Mahesh Chinthaka Vidanagama* | Software Engineer
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka
>> Mobile: +94 71 63 63 083 | Work: +94 112 145 345
>> Email: mahe...@wso2.com | Web: www.wso2.com
>>
>
>
>
> --
> *Janaka Ranabahu*
> Senior Software Engineer; WSO2 Inc.; http://wso2.com
>
>
> *E-mail: jan...@wso2.com **M: **+94 718370861
> <%2B94%20718370861>*
>
> Lean . Enterprise . Middleware
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [G-Reg]Management console notification generation fails in automation tests

2014-11-04 Thread Sameera Kannangara
Hi all,

I have created automation test class [1], for the jira reported at [2].

This scenario is fixed and can be easily tested manually and verify the fix.
However when running this test scenario using automation test class at [1]
management console notifications are not generated.

Further more when try to test the same scenario on the server used for the
automation test, manual test previously verfied the fix fails as
notification are not shown in management console UI.

But if we take the /repository/conf/registry.xml file of the
server used for the automation test, replace the same file of a fresh G-Reg
5.0.0-SNAPSHOT instance, management console notifications are generated
fine. Therefore fix can be verified.

Fix for the reported jira can be located at [3].

Thank you,
SameeraK.

[1]
https://github.com/sameerak/product-greg/blob/REGISTRY-2332_tests/modules/integration/tests-ui-integration/tests-ui/src/test/java/org/wso2/carbon/greg/ui/test/notification/TestRegistry2332.java
[2] https://wso2.org/jira/browse/REGISTRY-2332
[3] https://github.com/wso2-dev/carbon-governance/pull/22

-- 
*Sameera Kannangara*
Software Engineer
Platform TG; WSO2 Inc. http://wso2.com
Contact:
phone: +94719541577
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Pull requests for CARBON-14871 and IDENTITY-2663

2014-11-04 Thread Gayashan Amarasinghe
Kind reminder on this.

Thanks.
/Gayashan

On Thu, Sep 11, 2014 at 11:37 AM, Gayashan Amarasinghe 
wrote:

> Hi Asela/IS team,
>
> Can you send pull request for [1] for carbon4-kernel. It would require
> applying fix for [2] as well. If some API changes were avoided when
> applying this to turing branch, they can be properly fixed now for 4.3.0
> release.
>
> [1] https://wso2.org/jira/browse/CARBON-14871
> [2] https://wso2.org/jira/browse/IDENTITY-2663
>
> Thanks.
> /Gayashan
>
> --
> *Gayashan Amarasinghe*
> Software Engineer | Platform TG
> WSO2, Inc. | http://wso2.com
> lean. enterprise. middleware
>
> Mobile : +94718314517
> Blog : gayashan-a.blogspot.com
>



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

Mobile : +94718314517
Blog : gayashan-a.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AF] Problem occurred while moving undeploy functionality to appfactory.deployers

2014-11-04 Thread Janaka Ranabahu
Hi Mahesh,

On Tue, Nov 4, 2014 at 9:42 PM, Mahesh Chinthaka  wrote:

> Hi all ,
> I was trying to move the exact functionality in
> *org.wso2.carbon.appfactory.core.deploy.ApplicationDeployer.undeployAllArtifactsOfAppFromDepSyncGitRepo()*
> to
> *org.wso2.carbon.appfactory.deployers.AbstractDeployer.unDeployArtifact()*
>
> while working on *unDeployArtifact()* i need to access some more methods
> inside *ApplicationDeployer* class, which are private.
> those are : getRepositoryProviderAdminUser()
>   getRepositoryProviderAdminPassword()
>   getGitRepoUrlForTenant()
>   getServerDeploymentPaths()
>   getFilesToDelete()
>
Did you check how these parameters are sent when the deployment call
happens? IIRC, we pass a parameter map for that method which contains all
these parameters. Also those parameters are configured in the appfactory.xml
So please check how the deploy methods work. That should give you a clue.

Thanks,
Janaka

>
> What kind of approach should I follow ?
>
> 1. Make above methods public and use them.
> 2. Implement same methods inside AbstactDeployer class and use them.
>
> FYI : *AbstractDeployer* class is implemented from *Deployer* interface
> and currently it has following methods.
> deployTaggedArtifact
> deployLatestSuccessArtifact
> deployPromotedArtifact
> unDeployArtifact
> handleException
>
> Thanks
> --
> *Mahesh Chinthaka Vidanagama* | Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 63 63 083 | Work: +94 112 145 345
> Email: mahe...@wso2.com | Web: www.wso2.com
>



-- 
*Janaka Ranabahu*
Senior Software Engineer; WSO2 Inc.; http://wso2.com


*E-mail: jan...@wso2.com **M: **+94 718370861*

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


[Dev] [AF] Problem occurred while moving undeploy functionality to appfactory.deployers

2014-11-04 Thread Mahesh Chinthaka
Hi all ,
I was trying to move the exact functionality in
*org.wso2.carbon.appfactory.core.deploy.ApplicationDeployer.undeployAllArtifactsOfAppFromDepSyncGitRepo()*
to
*org.wso2.carbon.appfactory.deployers.AbstractDeployer.unDeployArtifact()*

while working on *unDeployArtifact()* i need to access some more methods
inside *ApplicationDeployer* class, which are private.
those are : getRepositoryProviderAdminUser()
  getRepositoryProviderAdminPassword()
  getGitRepoUrlForTenant()
  getServerDeploymentPaths()
  getFilesToDelete()

What kind of approach should I follow ?

1. Make above methods public and use them.
2. Implement same methods inside AbstactDeployer class and use them.

FYI : *AbstractDeployer* class is implemented from *Deployer* interface and
currently it has following methods.
deployTaggedArtifact
deployLatestSuccessArtifact
deployPromotedArtifact
unDeployArtifact
handleException

Thanks
-- 
*Mahesh Chinthaka Vidanagama* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 63 63 083 | Work: +94 112 145 345
Email: mahe...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] BAM 2.5.0 Release testing

2014-11-04 Thread Shavantha Weerasinghe
Hi Dunith

within the puppet scrips for receive/analyzer nodes hive-site.xml are we to
change the user name/password and host values

   

hive.incremental.processing.intermediate.results.cassandra.hosts
localhost:9160
  

   

hive.incremental.processing.intermediate.results.cassandra.userName
admin
  

   

hive.incremental.processing.intermediate.results.cassandra.password
admin
  


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


On Mon, Nov 3, 2014 at 6:12 PM, Dunith Dhanushka  wrote:

> Hi ,
>
> Please note that when setting this up in the research cloud, turn off the
> iptables by '*sudo service iptables stop*'. Otherwise it'll block
> internode communications.
>
> Regards,
> Dunith
>
> On Mon, Nov 3, 2014 at 11:53 AM, Dunith Dhanushka  wrote:
>
>> Hi Aparna,
>>
>> I have completed the puppet script upgrade for puppet version 3.7 and
>> tested them on a Centos cluster. Please find the attached guide for setup
>> instructions.
>>
>>
>> Regards,
>> Dunith
>> ​
>>  BAM 2.5.0 Distributed Setup with Puppet 3.7
>> 
>> ​
>>
>> On Wed, Oct 29, 2014 at 11:58 AM, Dunith Dhanushka 
>> wrote:
>>
>>> Hi Aparna,
>>>
>>> I have completed the scripts for BAM and Cassandra nodes. But still need
>>> to work on Hadoop scripts. I have started testing them on the centos
>>> cluster created in the research cloud.
>>>
>>> Hopefully by today EOD I'll be able to finish  testing with full BAM
>>> cluster.
>>>
>>>
>>> Regards,
>>> Dunith
>>>
>>>
>>> On Wed, Oct 29, 2014 at 11:40 AM, Aparna Karunarathna 
>>> wrote:
>>>
 Hi Dunith,

 Any update on puppet scripts?

 Regards,
 Aparna.

 On Mon, Oct 27, 2014 at 10:42 AM, Sewmini Jayaweera 
 wrote:

> Hi Aparna,
>
> I tested following issues,
>
> [1] https://wso2.org/jira/browse/BAM-1611
> [2] https://wso2.org/jira/browse/BAM-1515
> [3] https://redmine.wso2.com/issues/3186
>
> Issue [1] and [2] were fixed.
>
> in order to test issue [3] I created an email adaptor and when sending
> a email contains text as e-mail body got following error
>
>  [2014-10-27 10:23:36,317]  INFO
> {org.apache.axis2.builder.BuilderUtil} -  OMException in getSOAPBuilder
> org.apache.axiom.om.OMException:
> com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'm'
> (code 109) in prolog; expected '<'
>  at [row,col {unknown-source}]: [1,1]
> at
> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)
> at
> org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:204)
> at java.lang.Thread.run(Thread.java:745)
>
> Similar issue is being reported by Shavantha -
> https://wso2.org/jira/browse/BAM-1830
>
> Thank You.
>
>
>
> Sewmini Jayaweera
> *Software Engineer - QA Team*
> Mobile: +94 (0) 773 381 250
> sewm...@wso2.com
>
> On Fri, Oct 24, 2014 at 5:52 PM, Shavantha Weerasinghe <
> shavan...@wso2.com> wrote:
>
>> Hi Inosh
>>
>> When we create a stream the payload is generated in xml format as
>> below[1] however, when the email is sent with this in the body the BAM
>> throws an exception "INFO {org.apache.axis2.builder.BuilderUtil} -
>> OMException in getSOAPBuilder
>> org.apache.axiom.soap.SOAPProcessingException: First Element must
>> contain the local name, Envelope , but found events". If we send the
>> payload on email as [2] the exception is not thrown. Is this the expected
>> behaviour
>>
>> [1] system generated payload
>> 
>> 
>> 
>> 45
>> data1
>> data4
>> data4
>> data2
>> data3
>> data1
>> data3
>> data2
>> 
>> 
>> data5
>> 
>> 
>> data5
>> data3
>> data4
>> data1
>> 645565
>> 
>> 
>> 
>>
>> [2] with soap envelope
>> http://www.w3.org/2003/05/soap-envelope";
>> xmlns:ser="http://services.samples";
>> xmlns:xsd="http://services.samples/xsd";>
>> 
>> 
>> 
>> 
>> 
>> 100
>> data3> method>
>> data5<
>> /character_set_encoding>
>> data5> address>
>> data3
>> data1
>> data2
>> data4
>> data1
>> 
>> 
>> data2
>> 
>> 
>> data3
>> 

Re: [Dev] Is there a way to remove element from xml to json converted message

2014-11-04 Thread Asanka Vithanage
Hi,
Thanks for the replies. I was able to get error message removing JsonObject
element using following enrich mediator block.


   
   
 

On Tue, Nov 4, 2014 at 5:07 AM, Dilan Udara Ariyaratne 
wrote:

> Hi Asanka,
>
> If I understood your requirement correctly, you can try this out.
>
> In your code, figure out a way to access the xml based or json based
> custom error response that you generate, so that you can easily assign that
> value to an OMNode or a JSONObject.
> Once that is done, using the way we generally access an OMNode or
> JSONObject, you can simply extract the error message and display the
> content.
>
> Hope this may help.
>
> Thanks.
>
>
>
> *Dilan U. Ariyaratne*
> Software Engineer
> WSO2 Inc. 
> Mobile: +94775149066
> lean . enterprise . middleware
>
> On Tue, Nov 4, 2014 at 12:22 PM, Senduran Balasubramaniyam <
> sendu...@wso2.com> wrote:
>
>> Hi Asanka,
>>
>> Is your requirement to get the final output as json or xml ?
>> If it is xml then you can change the payload factory media-type to "xml"
>>
>> Thanks
>> Senduran
>>
>> On Tue, Nov 4, 2014 at 10:09 AM, Asanka Vithanage 
>> wrote:
>>
>>> Hi,
>>>
>>> I customized API manager main sequence to change the default error
>>> message according to below format.so now i am getting the error messages as
>>> below.
>>>
>>> *PayloadFactory:*
>>>
>>> 
>>> 
>>> http://errors.api.wso2.com/wso2/"/>
>>>  
>>>
>>> 
>>>  
>>> {
>>> "message":"$1",
>>>
>>>   "_links":{
>>> "about":{
>>> "href": "$2"
>>> },
>>>
>>> "help":{
>>> "href": "$3$4"
>>> }
>>>
>>> }
>>>
>>> }
>>> 
>>> 
>>> http://www.w3.org/2003/05/soap-envelope"; xmlns:ns3="
>>> http://org.apache.synapse/xsd"; evaluator="xml"
>>> expression="$ctx:ERROR_DETAIL"/>
>>> http://www.w3.org/2003/05/soap-envelope"; xmlns:ns3="
>>> http://org.apache.synapse/xsd"; evaluator="xml"
>>> expression="$ctx:ERROR_URL_POSTFIX"/>
>>> http://www.w3.org/2003/05/soap-envelope"; xmlns:ns3="
>>> http://org.apache.synapse/xsd"; evaluator="xml"
>>> expression="$ctx:ERROR_FORMAT_LINK"/>
>>> http://www.w3.org/2003/05/soap-envelope"; xmlns:ns3="
>>> http://org.apache.synapse/xsd"; evaluator="xml"
>>> expression="$ctx:ERROR_CODE"/>
>>> 
>>>
>>>
>>>
>>> *Error Results:*
>>>
>>> XML:
>>>
>>> The requested resource is not 
>>> available.<_links>HelloService1/1.0.0/greet?name=Hihttp://errors.api.wso2.com/wso2/404
>>>  
>>> 
>>>
>>> Json:
>>>
>>> {"jsonObject":{"error":{"message":"The requested resource is not 
>>> available.","_links":{"about":{"href":"HelloService1\/1.0.0\/greet?name=Hi"},"help":{"href":"http:\/\/errors.api.wso2.com
>>>  \/wso2\/404"}
>>>
>>>
>>> Here my requirement is to remove the  element from the
>>> response and display only the error message. Is there any way to do this?
>>> Appreciate if anyone can provide some help on this.
>>>
>>> --
>>> Asanka Vithanage
>>> Senior Software Engineer -QA
>>> Mobile: +94 0716286708
>>> Email: asan...@wso2.com
>>> WSO2 Inc. www.wso2.com
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Senduran *
>> Software Engineer,
>> WSO2, Inc.;  http://wso2.com/ 
>> Mobile: +94 77 952 6548
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Appfactory] Use GJit plugin for repository management

2014-11-04 Thread Mahesh Chinthaka
Hi all,

As per the offline discussions with team, I'm moving undeploy functionality
from appfactory.core to appfactory.deployers

In fact I'm moving the functionality in
*undeployAllArtifactsOfAppFromDepSyncGitRepo* method in
*org.wso2.carbon.appfactory.core.deploy.ApplicationDeployer* class to
*unDeployArtifact* method in
*org.wso2.carbon.appfactory.deployers.AbstractDeployer* class

Thanks

On Tue, Nov 4, 2014 at 1:07 PM, Harsha Thirimanna  wrote:

> Hi Samitha,
>
> As we discussed, it is better to move AppfactoryRepositoryClient interface
> from Repository component to core component and it should be an interface
> instead of abstract class. Then Repository component can register its
> implementation to the AppfactoryRepositoryClient when the Repository
> component activate.
>
>
> *Harsha Thirimanna*
> Senior Software Engineer; WSO2, Inc.; http://wso2.com
> * *
> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
> +94 *
> *774617784twitter: **http://twitter.com/
> *
> *harshathirimannlinked-in: **http:
> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
> *
>
> *Lean . Enterprise . Middleware*
>
>
> On Wed, Oct 29, 2014 at 10:48 PM, Samith Dassanayake 
> wrote:
>
>> Hi Mahesh,
>> As you have suggested before, can't we remove undeploy functionalities
>> from appfactory.core and move them to appfactory.deployers such that 
>> deployment
>> and undeployment related operations will handle from the same bundle. Then
>> we can remove the AppfactoryRepositoryClient from the appfactory.core.
>>
>> Thanks,
>> Samith
>>
>> On Wed, Oct 29, 2014 at 10:35 PM, Mahesh Chinthaka 
>> wrote:
>>
>>> Hi Dimuthu,
>>>
>>> I worked on above suggested method and got succeeded.
>>> So *org.wso2.carbon.appfactory.repository.mgt.client.*
>>> *AppfacotryRepositoryClient* is used inside appfactory.deployers as
>>> well.
>>> We got rid of one AppfactoryRepositoryClient out of two. :)
>>>
>>> *AppfactoryRepositoryClient* in *appfactory.core* is left. Waiting for
>>> a thought on this.
>>>
>>> thanks
>>>
>>> On Wed, Oct 22, 2014 at 11:35 AM, Mahesh Chinthaka 
>>> wrote:
>>>
 Hi Dimuthu,

 I will try that way out and let you know.
 Thanks.

 On Wed, Oct 22, 2014 at 11:08 AM, Dimuthu Leelarathne <
 dimut...@wso2.com> wrote:

> Hi Mahesh,
>
> As per our offline discussion we can use org.wso2.carbon.appfactory.
> repository.mgt.client.AppfacotryRepositoryClient inside deployers as
> well. So we'll have one AppFactoryRepositoryClient everywhere. If we copy
> the RepositoryMgt into the AppServer it should function without an issue
> because the Carbon env is visible to the Jenkins webapp.
>
> thanks,
> dimuthu
>
>
> On Tue, Oct 21, 2014 at 6:57 PM, Mahesh Chinthaka 
> wrote:
>
>> Hi,
>> ok then , i will proceed with refactoring. Thanks.
>>
>> On Tue, Oct 21, 2014 at 6:36 PM, Janaka Ranabahu 
>> wrote:
>>
>>> Hi,
>>>
>>> On Tue, Oct 21, 2014 at 6:19 PM, Mahesh Chinthaka 
>>> wrote:
>>>
 Hi ,
 No i meant a webservice, i understand it's not a good idea.
 Anyway there are some more findings so far,

 *Regarding appfactory.core.deploy.AppfactoryRepositoryClient*

 *appfactory.core.deploy.AppfactoryRepositoryClient* is used only
 twice for whole code. That is in *deleteFromDepSyncGitRepo* method
 and *undeployAllArtifactsOfAppFromDepSyncGitRepo *method in
 *ApplicationDeployer* class within the same package. And above two
 methods are private.

 Though all other repository deployment functions happen in
 *appfactory.deployers *(which jar goes to jenkins) , undeployment
 happens in *appfactory.core* section (correct me if im wrong).

 Therefore if we move undeploy functionality to
 *appfactory.deployers *section , we can get rid of
 *appfactory.core.deploy.AppfactoryRepositoryClient. *

 +1. Please proceed with the re-factoring. We need to handle
>>> deployment and undeployment related operations from the same place.
>>>
 *Regarding appfactory.deployers.clients.AppfactoryRepositoryClient*

 Unfortunately we will have to do the same implementation as in 
 *appfactory.repository.mgt
 *here , since this goes to jenkins and we need to keep minimum
 dependancies. Because of the minimum dependencies scenario we cannot 
 use
 *JGitAgent* available in *appfacotry.repository.mgt . *Therefore
 we have to re-implement it here in *appfactory.deployers.clients*
 though it's a replication.

 Let's check whether we could move them to a common component, maybe
>>> something like appfactory.common co

Re: [Dev] BAM 2.5.0 Release testing

2014-11-04 Thread Aparna Karunarathna
Hi Dunith,

We have deployed the BAM setup using puppet scripts and observed some
issues which related to the puppet scripts and docs, those were already
reported as jira's.

Additionally we have observed followings when executing puppet scripts.

*Issue 1* - Failed in in the first time and succeeded in the 2nd attempt.

Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Caching catalog for cassandra2.wso2.qa.com
Warning: The package type's allow_virtual parameter will be changing its
default value from false to true in a future release. If you do not want to
allow virtual packages, please explicitly set allow_virtual to false.
   (at /usr/lib/ruby/site_ruby/1.8/puppet/type/package.rb:430:in `default')
Info: Applying configuration version '1415102617'
Error: Could not set 'present' on ensure: No such file or directory - /mnt/
192.168.48.35/cassandra2.wso2.qa.com/apache-cassandra-1.2.19/conf/cassandra.yaml20141104-11647-t7255o.lock
at
28:/etc/puppet/environments/production/modules/cassandra/manifests/init.pp
Error: Could not set 'present' on ensure: No such file or directory - /mnt/
192.168.48.35/cassandra2.wso2.qa.com/apache-cassandra-1.2.19/conf/cassandra.yaml20141104-11647-t7255o.lock
at
28:/etc/puppet/environments/production/modules/cassandra/manifests/init.pp
Wrapped exception:
No such file or directory - /mnt/
192.168.48.35/cassandra2.wso2.qa.com/apache-cassandra-1.2.19/conf/cassandra.yaml20141104-11647-t7255o.lock
Error:
/Stage[main]/Cassandra/Cassandra::Push_templates[conf/cassandra.yaml]/File[/mnt/
192.168.48.35/cassandra2.wso2.qa.com/apache-cassandra-1.2.19/conf/cassandra.yaml]/ensure:
change from absent to present failed: Could not set 'present' on ensure: No
such file or directory - /mnt/
192.168.48.35/cassandra2.wso2.qa.com/apache-cassandra-1.2.19/conf/cassandra.yaml20141104-11647-t7255o.lock
at
28:/etc/puppet/environments/production/modules/cassandra/manifests/init.pp
Notice:
/Stage[main]/Cassandra/Cassandra::Initialize[cassandra]/Exec[creating_target_for_cassandra]/returns:
executed successfully
Notice:
/Stage[main]/Cassandra/Cassandra::Initialize[cassandra]/Exec[downloading_apache-cassandra-1.2.19-bin.tar.gz_for_cassandra]/returns:
executed successfully
Notice:
/Stage[main]/Cassandra/Cassandra::Initialize[cassandra]/Exec[extracting_apache-cassandra-1.2.19-bin.tar.gz_for_cassandra]/returns:
executed successfully
Notice:
/Stage[main]/Cassandra/Cassandra::Initialize[cassandra]/Exec[setting_permission_for_cassandra]/returns:
executed successfully
Notice:
/Stage[main]/Cassandra/Cassandra::Start[cassandra]/Exec[strating_cassandra]:
Dependency File[/mnt/
192.168.48.35/cassandra2.wso2.qa.com/apache-cassandra-1.2.19/conf/cassandra.yaml]
has failures: true
Warning:
/Stage[main]/Cassandra/Cassandra::Start[cassandra]/Exec[strating_cassandra]:
Skipping because of failed dependencies
Notice: Finished catalog run in 426.38 seconds

--

Info: Computing checksum on file /mnt/
192.168.48.35/cassandra2.wso2.qa.com/apache-cassandra-1.2.19/conf/cassandra.yaml
Info: FileBucket got a duplicate file {md5}4ab27556310df20fc90460d65d804476
Info:
/Stage[main]/Cassandra/Cassandra::Push_templates[conf/cassandra.yaml]/File[/mnt/
192.168.48.35/cassandra2.wso2.qa.com/apache-cassandra-1.2.19/conf/cassandra.yaml]:
Filebucketed /mnt/
192.168.48.35/cassandra2.wso2.qa.com/apache-cassandra-1.2.19/conf/cassandra.yaml
to puppet with sum 4ab27556310df20fc90460d65d804476
Notice:
/Stage[main]/Cassandra/Cassandra::Push_templates[conf/cassandra.yaml]/File[/mnt/
192.168.48.35/cassandra2.wso2.qa.com/apache-cassandra-1.2.19/conf/cassandra.yaml]/content:
content changed '{md5}4ab27556310df20fc90460d65d804476' to
'{md5}11ef86c5823e1925355fcb26fc06433f'
Notice:
/Stage[main]/Cassandra/Cassandra::Push_templates[conf/cassandra.yaml]/File[/mnt/
192.168.48.35/cassandra2.wso2.qa.com/apache-cassandra-1.2.19/conf/cassandra.yaml]/mode:
mode changed '0644' to '0755'
Notice:
/Stage[main]/Cassandra/Cassandra::Initialize[cassandra]/Exec[creating_target_for_cassandra]/returns:
executed successfully
Notice:
/Stage[main]/Cassandra/Cassandra::Initialize[cassandra]/Exec[setting_permission_for_cassandra]/returns:
executed successfully
Notice:
/Stage[main]/Cassandra/Cassandra::Start[cassandra]/Exec[strating_cassandra]/returns:
executed successfully
Notice: Finished catalog run in 1.34 seconds

*Issue 2* - Temporarily  copied files

-rwxr-xr-x.  1 kurumba kurumba 938K Nov  4 12:52
mysql-connector-java-5.1.33-bin.jar
-rwxr-xr-x.  1 kurumba kurumba 588K Nov  4 12:51
mysql-connector-java-5.1.33-bin.jar20141104-1444-1olpdq7


This full deployment setup is owned by kurumba user and group, it would be
great to document about the this user as well(some customer environment,
they don't like to create unnecessary user).

Regards,
Aparna.



On Mon, Nov 3, 2014 at 6:16 PM, Rasanjaya Subas

Re: [Dev] [DEV][API-M] - SSO Cofiguration Documentation issue

2014-11-04 Thread Rajakrishna Reddy
Yes it used to work with AM-1.7.0 and is 5.0.0 

Why do we need that separate config element in identity. Xml now for AM-1.8.0!??

Can anyone explains why??

--
Thanks & Regards,
Rajakrishna Reddy

--- Original Message ---

From: "Nuwan Dias" 
Sent: 29 October 2014 20:40
To: "Yasassri Ratnayake" 
Cc: "WSO2 Developers' List" 
Subject: Re: [Dev] [DEV][API-M] - SSO Cofiguration Documentation issue

What if you define the SP as a 'SaaS Application', doesn't it work? It used
to work with 1.7.0 and IS 5.0.0 AFAIR.

On Wed, Oct 29, 2014 at 1:51 AM, Yasassri Ratnayake 
wrote:

> Hi All,
>
> When enabling SSO for Publisher and Store. A new config element should be
> added to identity.xml file in the IS Node in-order for tenant users to
> login, If the element is not included the following error will be shown in
> the API-M console.
>
> ERROR - jaggery_acs:jag SAML response signature is verification failed.
>
> This is reported at [1], please do the needful to fix this.
>
> [1] - https://wso2.org/jira/browse/DOCUMENTATION-1219
>
> With Regards,
> --
> Yasassri Ratnayake
> Software Engineer - QA
> WSO2 Inc ; http://wso2.com
> lean.enterprise.middleware
> *Mobile : +94715933168 <%2B94715933168>*
> *Blog : http://yasassriratnayake.blogspot.com/
> *
>



--
Nuwan Dias

Associate Tech Lead - WSO2, Inc. http://wso2.com
email : nuw...@wso2.com
Phone : +94 777 775 729
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] What is ESB mediator serializer for?

2014-11-04 Thread Dilan Udara Ariyaratne
Hi Lahiru,

AFAIK, serializeSpecificMediator() is the method that gets called when we
are reading the relevant configuration xml for a specific mediator from the
esb configuration file
and input that to the mediate() function of the mediator to do the
corresponding processing.

Cheers.


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

On Tue, Nov 4, 2014 at 12:45 PM, Lahiru Chandima  wrote:

> Hi Maninda,
>
> I thought the conversion of the mediator to xml and vice versa is done by
> the mediator class in the mediator configuration UI bundle. It has
> serialize() method to convert mediator to XML and build() method to build a
> mediator from XML.
>
> Anyway, I will check whether serializeSpecificMediator() gets called when
> configuring the mediator in UI when I implement the UI bundle.
>
> Thanks.
>
> On Tue, Nov 4, 2014 at 12:34 PM, Maninda Edirisooriya 
> wrote:
>
>> Hi Lahiru,
>>
>> As earlier said by Isuru, it is used to convert the mediator UI entered
>> configuration to generate the mediator XML as I remember. And you may find
>> another class to generate the UI from this XML back which does the reverse
>> of the serializer. These two classes will be called when you switch between
>> UI view and source view of the mediator UI as I remember.
>>
>>
>> *Maninda Edirisooriya*
>> Senior Software Engineer
>>
>> *WSO2, Inc.*lean.enterprise.middleware.
>>
>> *Blog* : http://maninda.blogspot.com/
>> *E-mail* : mani...@wso2.com
>> *Skype* : @manindae
>> *Twitter* : @maninda
>>
>> On Tue, Nov 4, 2014 at 12:24 PM, Lahiru Chandima 
>> wrote:
>>
>>> Hi Isuru,
>>>
>>> Actually the blog post you provided is the one that I am already
>>> referring to :). It specifies to create a serializer but doesn't mention
>>> what is the need of a serializer.
>>>
>>> Thanks.
>>>
>>> On Tue, Nov 4, 2014 at 12:18 PM, Isuru Ranawaka  wrote:
>>>
 Hi ,

 Hope following links help you

 http://maninda.blogspot.com/2013/01/writing-custom-mediator-for-wso2-esb.html
 http://wso2.com/library/2936/

 On Tue, Nov 4, 2014 at 12:06 PM, Lahiru Chandima 
 wrote:

> Hi Waruna,
>
> My OSGi bundle is active. mediate() method of the mediator gets called
> without a problem. The problem is that serializeSpecificMediator() doesn't
> get called.
>
> Hi Isuru,
>
> Isn't  it
> org.wso2.carbon.mediator.service.ui.AbstractMediator.serialize()
> method (which needs to be implemented in UI bundle mediator class) which 
> UI
> bundle uses for serializing the mediator config to XML? I haven't deployed
> a mediator configuration UI bundle yet for this mediator.
>
> Thanks
>
>
>
> On Tue, Nov 4, 2014 at 11:56 AM, Isuru Ranawaka 
> wrote:
>
>> Hi Lahiru,
>>
>> Mediator serializer   is for write mediator configuration object to
>> XML file which is used when saving configuration from UI to file system.
>> Check by saving your configuration from UI.
>>
>> Thanks
>> isuruR
>>
>> On Tue, Nov 4, 2014 at 11:47 AM, Waruna Perera 
>> wrote:
>>
>>> Hi Lahiru,
>>>
>>> can you check whether your bundle got activated vi Osgi console?
>>>
>>>
>>> Thanks
>>>
>>> On Tue, Nov 4, 2014 at 11:34 AM, Lahiru Chandima 
>>> wrote:
>>>
 Hi All,

 I am writing a new ESB mediator and I cannot figure out the need of
 a mediator serializer (extension of AbstractMediatorSerializer) for a
 mediator.

 Also, in the new mediator I created, if I add a breakpoint in
 serializeSpecificMediator() method in my mediator serializer and 
 debugged,
 the breakpoint never gets hit (during ESB startup or when the mediator
 receives an event to mediate).

 Does anybody know what is the need of a mediator serializer and
 when does the serializeSpecificMediator() method get called?

 Thanks

 --
 Lahiru Chandima
 *Senior Software Engineer*
 Mobile : +94 (0) 772 253283
 lahi...@wso2.com

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


>>>
>>>
>>> --
>>> Waruna Perera
>>> Senior Software Engineer - Test Automation
>>> Mobile: +94 77 3867037
>>> WSO2, Inc.; http://wso2.com/
>>> lean . enterprise . middlewear.
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Best Regards
>> Isuru Ranawaka
>> M: +94714629880
>> Blog : http://isurur.blogspot.com/
>>
>
>
>
> --
> Lahiru Chandima
> *Senior Softw

Re: [Dev] Is there a way to remove element from xml to json converted message

2014-11-04 Thread Dilan Udara Ariyaratne
Hi Asanka,

If I understood your requirement correctly, you can try this out.

In your code, figure out a way to access the xml based or json based custom
error response that you generate, so that you can easily assign that value
to an OMNode or a JSONObject.
Once that is done, using the way we generally access an OMNode or
JSONObject, you can simply extract the error message and display the
content.

Hope this may help.

Thanks.



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

On Tue, Nov 4, 2014 at 12:22 PM, Senduran Balasubramaniyam <
sendu...@wso2.com> wrote:

> Hi Asanka,
>
> Is your requirement to get the final output as json or xml ?
> If it is xml then you can change the payload factory media-type to "xml"
>
> Thanks
> Senduran
>
> On Tue, Nov 4, 2014 at 10:09 AM, Asanka Vithanage 
> wrote:
>
>> Hi,
>>
>> I customized API manager main sequence to change the default error
>> message according to below format.so now i am getting the error messages as
>> below.
>>
>> *PayloadFactory:*
>>
>> 
>> 
>> http://errors.api.wso2.com/wso2/"/>
>>  
>>
>> 
>>  
>> {
>> "message":"$1",
>>
>>   "_links":{
>> "about":{
>> "href": "$2"
>> },
>>
>> "help":{
>> "href": "$3$4"
>> }
>>
>> }
>>
>> }
>> 
>> 
>> http://www.w3.org/2003/05/soap-envelope"; xmlns:ns3="
>> http://org.apache.synapse/xsd"; evaluator="xml"
>> expression="$ctx:ERROR_DETAIL"/>
>> http://www.w3.org/2003/05/soap-envelope"; xmlns:ns3="
>> http://org.apache.synapse/xsd"; evaluator="xml"
>> expression="$ctx:ERROR_URL_POSTFIX"/>
>> http://www.w3.org/2003/05/soap-envelope"; xmlns:ns3="
>> http://org.apache.synapse/xsd"; evaluator="xml"
>> expression="$ctx:ERROR_FORMAT_LINK"/>
>> http://www.w3.org/2003/05/soap-envelope"; xmlns:ns3="
>> http://org.apache.synapse/xsd"; evaluator="xml"
>> expression="$ctx:ERROR_CODE"/>
>> 
>>
>>
>>
>> *Error Results:*
>>
>> XML:
>>
>> The requested resource is not 
>> available.<_links>HelloService1/1.0.0/greet?name=Hihttp://errors.api.wso2.com/wso2/404
>>  
>> 
>>
>> Json:
>>
>> {"jsonObject":{"error":{"message":"The requested resource is not 
>> available.","_links":{"about":{"href":"HelloService1\/1.0.0\/greet?name=Hi"},"help":{"href":"http:\/\/errors.api.wso2.com
>>  \/wso2\/404"}
>>
>>
>> Here my requirement is to remove the  element from the
>> response and display only the error message. Is there any way to do this?
>> Appreciate if anyone can provide some help on this.
>>
>> --
>> Asanka Vithanage
>> Senior Software Engineer -QA
>> Mobile: +94 0716286708
>> Email: asan...@wso2.com
>> WSO2 Inc. www.wso2.com
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Senduran *
> Software Engineer,
> WSO2, Inc.;  http://wso2.com/ 
> Mobile: +94 77 952 6548
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM][BAM][DEV] Intergrating APIM cluster with BAM

2014-11-04 Thread Nuwan Dias
There's no need for the Publisher and Store to point to the thrift Server.
But you need to enabled stats for the graphs to work.

Thanks,
NuwanD.

On Tue, Nov 4, 2014 at 6:11 PM, Yasassri Ratnayake 
wrote:

> Hi All,
>
> When Integrating APIM cluster with BAM I noticed that statistics should be
> enabled in all gateway nodes and in all publisher and store nodes (*They
> have to be pointed to the Thrift server*). AFAIK data is published to BAM
> by the Gateway nodes. And store and publisher fetches data from the STAT
> DBs and display it on the UI.
>
> If we are starting all the servers with the relevant profiles (publisher,
> store profile etc.) is there a necessity for the publisher and store to
> connect to BAM?
>
>
> With Regards,
> --
> Yasassri Ratnayake
> Software Engineer - QA
> WSO2 Inc ; http://wso2.com
> lean.enterprise.middleware
> *Mobile : +94715933168 <%2B94715933168>*
> *Blog : http://yasassriratnayake.blogspot.com/
> *
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Nuwan Dias

Associate Tech Lead - WSO2, Inc. http://wso2.com
email : nuw...@wso2.com
Phone : +94 777 775 729
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [APIM][BAM][DEV] Intergrating APIM cluster with BAM

2014-11-04 Thread Yasassri Ratnayake
Hi All,

When Integrating APIM cluster with BAM I noticed that statistics should be
enabled in all gateway nodes and in all publisher and store nodes (*They
have to be pointed to the Thrift server*). AFAIK data is published to BAM
by the Gateway nodes. And store and publisher fetches data from the STAT
DBs and display it on the UI.

If we are starting all the servers with the relevant profiles (publisher,
store profile etc.) is there a necessity for the publisher and store to
connect to BAM?


With Regards,
-- 
Yasassri Ratnayake
Software Engineer - QA
WSO2 Inc ; http://wso2.com
lean.enterprise.middleware
*Mobile : +94715933168*
*Blog : http://yasassriratnayake.blogspot.com/
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Niranjan Karunanandham

2014-11-04 Thread Vijitha Ekanayake
Congratulations !!!

On Tue, Nov 4, 2014 at 11:43 AM, Sameera Perera  wrote:

> Hi all,
>
> It's my pleasure to announce Niranjan as a WSO2 Committer.  He has been
> an active contributor for WSO2 Enterprise Mobility Manager.
>
> Niranjan, welcome aboard and keep up the good work!.
>
> --
>
> --
>
> *Sameera Perera*
> Director of Engineering
> gtalk: samee...@wso2.com
> Tel : 94 11 214 5345
> Fax :94 11 2145300
> *WSO2, Inc.* 
> lean.enterprise.middleware
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Vijitha Ekanayake
Software Engineer*, *WSO2, Inc.; http://wso2.com/
Mobile : +94 777 24 73 39 | +94 718 74 44 08
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [APIM] Please commit the patch

2014-11-04 Thread Abimaran Kugathasan
Hi,,

Please commit attached patch for JIRA[1]

[1] : https://wso2.org/jira/browse/APIMANAGER-3024

-- 
Thanks
Abimaran Kugathasan

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


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


Re: [Dev] WSO2 Committers += Niranjan Karunanandham

2014-11-04 Thread Dilan Udara Ariyaratne
Congratulations Niranjan...

Keep up the good work.


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

On Tue, Nov 4, 2014 at 4:58 PM, Shashika Karunatilaka 
wrote:

> Congrats Niranjan
>
> On Tue, Nov 4, 2014 at 4:50 PM, Dakshika Jayathilaka 
> wrote:
>
>> Congratulations Nira...!
>>
>> *Dakshika Jayathilaka*
>> Software Engineer
>> WSO2, Inc.
>> lean.enterprise.middleware
>> 0771100911
>>
>> On Tue, Nov 4, 2014 at 4:44 PM, Kasun De Silva  wrote:
>>
>>> Congrats Niranjan..!!
>>>
>>> *Kasun de Silva*
>>> Software Engineer | *WSO2 Inc.*; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> email   : kas...@wso2.com
>>> mobile : +94 77 794 4260
>>>
>>>
>>> On Tue, Nov 4, 2014 at 4:38 PM, Pulasthi Supun 
>>> wrote:
>>>
 Congrats 


 On Tue, Nov 4, 2014 at 4:35 PM, Milinda Perera 
 wrote:

> Congrats Niranjan ..
>
> On Tue, Nov 4, 2014 at 4:26 PM, Mahesh Chinthaka 
> wrote:
>
>> Congratulations Niranjan...!!!
>>
>> On Tue, Nov 4, 2014 at 4:22 PM, Nipuni Perera 
>> wrote:
>>
>>> Congratulations Niranjan
>>>
>>>
>>>
>>>
>>> On Tue, Nov 4, 2014 at 4:14 PM, Srisunmugaraja Paraparan <
>>> parapa...@wso2.com> wrote:
>>>
 Congratulations Niranjan ...

 On Tue, Nov 4, 2014 at 4:08 PM, Harsha Kumara 
 wrote:

> Congratulations Niranjan!
>
> On Tue, Nov 4, 2014 at 4:04 PM, Suhan Dharmasuriya <
> suh...@wso2.com> wrote:
>
>> Congrats Niranjan!!!
>>
>> On Tue, Nov 4, 2014 at 4:00 PM, Shiroshica Kulatilake <
>> sh...@wso2.com> wrote:
>>
>>> Congrats !!
>>>
>>> On Tue, Nov 4, 2014 at 3:51 PM, Jayanga Dissanayake <
>>> jaya...@wso2.com> wrote:
>>>
 Congratulations Niranjan...

 *Jayanga Dissanayake*
 Senior Software Engineer
 WSO2 Inc. - http://wso2.com/
 lean . enterprise . middleware
 email: jaya...@wso2.com
 mobile: +94772207259

 On Tue, Nov 4, 2014 at 12:35 PM, Isuruwan Herath <
 isuru...@wso2.com> wrote:

> Congratulations !!!
>
> On Tue, Nov 4, 2014 at 12:32 PM, KasunG Gajasinghe <
> kas...@wso2.com> wrote:
>
>> Congratulations Niranjan!
>>
>> On Tue, Nov 4, 2014 at 12:30 PM, Godwin Amila Shrimal <
>> god...@wso2.com> wrote:
>>
>>> Congratulations Niranjan...!
>>>
>>> On Tue, Nov 4, 2014 at 12:27 PM, Senduran Balasubramaniyam <
>>> sendu...@wso2.com> wrote:
>>>
 Congratulations Niranjan !!

 On Tue, Nov 4, 2014 at 12:20 PM, Abimaran Kugathasan <
 abima...@wso2.com> wrote:

> Congrats Niranjan!
>
> On Tue, Nov 4, 2014 at 12:15 PM, Kasun Dissanayake <
> kas...@wso2.com> wrote:
>
>> Congradzzz Nira !!!
>>
>> On Tue, Nov 4, 2014 at 12:06 PM, Inosh Perera <
>> ino...@wso2.com> wrote:
>>
>>> Congratulations Niranjan !!
>>>
>>>
>>>
>>> On Tue, Nov 4, 2014 at 11:56 AM, Rajeevan Vimalanathan <
>>> rajeev...@wso2.com> wrote:
>>>
 Congratz Niranjan...!!!

 On Tue, Nov 4, 2014 at 11:54 AM, Gayashan Amarasinghe <
 gayas...@wso2.com> wrote:

> Congratulations Niranjan!!! :)
>
> On Tue, Nov 4, 2014 at 11:47 AM, Prasanna Dangalla <
> prasa...@wso2.com> wrote:
>
>> Congratulations !!!
>>
>> On Tue, Nov 4, 2014 at 11:45 AM, Aruna Karunarathna <
>> ar...@wso2.com> wrote:
>>
>>> Congratulations Nira..!!!
>>>
>>> On Tue, Nov 4, 2014 at 11:44 AM, Kalpa Welivitigoda
>>>  wrote:
>>>
 Congratulations Niranjan !

 On Tue, Nov 4, 2014 at 11:43 AM, Sameera Perera <
 samee...@wso2.com> wrote:

> Hi all,
>
> It's my pleasure to announce Niranjan as a WSO2
> Committer.  He has been an active contributor for
> WSO2

Re: [Dev] WSO2 Committers += Niranjan Karunanandham

2014-11-04 Thread Shashika Karunatilaka
Congrats Niranjan

On Tue, Nov 4, 2014 at 4:50 PM, Dakshika Jayathilaka 
wrote:

> Congratulations Nira...!
>
> *Dakshika Jayathilaka*
> Software Engineer
> WSO2, Inc.
> lean.enterprise.middleware
> 0771100911
>
> On Tue, Nov 4, 2014 at 4:44 PM, Kasun De Silva  wrote:
>
>> Congrats Niranjan..!!
>>
>> *Kasun de Silva*
>> Software Engineer | *WSO2 Inc.*; http://wso2.com
>> lean.enterprise.middleware
>>
>> email   : kas...@wso2.com
>> mobile : +94 77 794 4260
>>
>>
>> On Tue, Nov 4, 2014 at 4:38 PM, Pulasthi Supun  wrote:
>>
>>> Congrats 
>>>
>>>
>>> On Tue, Nov 4, 2014 at 4:35 PM, Milinda Perera 
>>> wrote:
>>>
 Congrats Niranjan ..

 On Tue, Nov 4, 2014 at 4:26 PM, Mahesh Chinthaka 
 wrote:

> Congratulations Niranjan...!!!
>
> On Tue, Nov 4, 2014 at 4:22 PM, Nipuni Perera  wrote:
>
>> Congratulations Niranjan
>>
>>
>>
>>
>> On Tue, Nov 4, 2014 at 4:14 PM, Srisunmugaraja Paraparan <
>> parapa...@wso2.com> wrote:
>>
>>> Congratulations Niranjan ...
>>>
>>> On Tue, Nov 4, 2014 at 4:08 PM, Harsha Kumara 
>>> wrote:
>>>
 Congratulations Niranjan!

 On Tue, Nov 4, 2014 at 4:04 PM, Suhan Dharmasuriya >>> > wrote:

> Congrats Niranjan!!!
>
> On Tue, Nov 4, 2014 at 4:00 PM, Shiroshica Kulatilake <
> sh...@wso2.com> wrote:
>
>> Congrats !!
>>
>> On Tue, Nov 4, 2014 at 3:51 PM, Jayanga Dissanayake <
>> jaya...@wso2.com> wrote:
>>
>>> Congratulations Niranjan...
>>>
>>> *Jayanga Dissanayake*
>>> Senior Software Engineer
>>> WSO2 Inc. - http://wso2.com/
>>> lean . enterprise . middleware
>>> email: jaya...@wso2.com
>>> mobile: +94772207259
>>>
>>> On Tue, Nov 4, 2014 at 12:35 PM, Isuruwan Herath <
>>> isuru...@wso2.com> wrote:
>>>
 Congratulations !!!

 On Tue, Nov 4, 2014 at 12:32 PM, KasunG Gajasinghe <
 kas...@wso2.com> wrote:

> Congratulations Niranjan!
>
> On Tue, Nov 4, 2014 at 12:30 PM, Godwin Amila Shrimal <
> god...@wso2.com> wrote:
>
>> Congratulations Niranjan...!
>>
>> On Tue, Nov 4, 2014 at 12:27 PM, Senduran Balasubramaniyam <
>> sendu...@wso2.com> wrote:
>>
>>> Congratulations Niranjan !!
>>>
>>> On Tue, Nov 4, 2014 at 12:20 PM, Abimaran Kugathasan <
>>> abima...@wso2.com> wrote:
>>>
 Congrats Niranjan!

 On Tue, Nov 4, 2014 at 12:15 PM, Kasun Dissanayake <
 kas...@wso2.com> wrote:

> Congradzzz Nira !!!
>
> On Tue, Nov 4, 2014 at 12:06 PM, Inosh Perera <
> ino...@wso2.com> wrote:
>
>> Congratulations Niranjan !!
>>
>>
>>
>> On Tue, Nov 4, 2014 at 11:56 AM, Rajeevan Vimalanathan <
>> rajeev...@wso2.com> wrote:
>>
>>> Congratz Niranjan...!!!
>>>
>>> On Tue, Nov 4, 2014 at 11:54 AM, Gayashan Amarasinghe <
>>> gayas...@wso2.com> wrote:
>>>
 Congratulations Niranjan!!! :)

 On Tue, Nov 4, 2014 at 11:47 AM, Prasanna Dangalla <
 prasa...@wso2.com> wrote:

> Congratulations !!!
>
> On Tue, Nov 4, 2014 at 11:45 AM, Aruna Karunarathna <
> ar...@wso2.com> wrote:
>
>> Congratulations Nira..!!!
>>
>> On Tue, Nov 4, 2014 at 11:44 AM, Kalpa Welivitigoda <
>> kal...@wso2.com> wrote:
>>
>>> Congratulations Niranjan !
>>>
>>> On Tue, Nov 4, 2014 at 11:43 AM, Sameera Perera <
>>> samee...@wso2.com> wrote:
>>>
 Hi all,

 It's my pleasure to announce Niranjan as a WSO2
 Committer.  He has been an active contributor for
 WSO2 Enterprise Mobility Manager.

 Niranjan, welcome aboard and keep up the good
 work!.

 --

 --

 *Sameera Perera*
 Director of Engine

Re: [Dev] WSO2 Committers += Niranjan Karunanandham

2014-11-04 Thread Dakshika Jayathilaka
Congratulations Nira...!

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

On Tue, Nov 4, 2014 at 4:44 PM, Kasun De Silva  wrote:

> Congrats Niranjan..!!
>
> *Kasun de Silva*
> Software Engineer | *WSO2 Inc.*; http://wso2.com
> lean.enterprise.middleware
>
> email   : kas...@wso2.com
> mobile : +94 77 794 4260
>
>
> On Tue, Nov 4, 2014 at 4:38 PM, Pulasthi Supun  wrote:
>
>> Congrats 
>>
>>
>> On Tue, Nov 4, 2014 at 4:35 PM, Milinda Perera  wrote:
>>
>>> Congrats Niranjan ..
>>>
>>> On Tue, Nov 4, 2014 at 4:26 PM, Mahesh Chinthaka 
>>> wrote:
>>>
 Congratulations Niranjan...!!!

 On Tue, Nov 4, 2014 at 4:22 PM, Nipuni Perera  wrote:

> Congratulations Niranjan
>
>
>
>
> On Tue, Nov 4, 2014 at 4:14 PM, Srisunmugaraja Paraparan <
> parapa...@wso2.com> wrote:
>
>> Congratulations Niranjan ...
>>
>> On Tue, Nov 4, 2014 at 4:08 PM, Harsha Kumara 
>> wrote:
>>
>>> Congratulations Niranjan!
>>>
>>> On Tue, Nov 4, 2014 at 4:04 PM, Suhan Dharmasuriya 
>>> wrote:
>>>
 Congrats Niranjan!!!

 On Tue, Nov 4, 2014 at 4:00 PM, Shiroshica Kulatilake <
 sh...@wso2.com> wrote:

> Congrats !!
>
> On Tue, Nov 4, 2014 at 3:51 PM, Jayanga Dissanayake <
> jaya...@wso2.com> wrote:
>
>> Congratulations Niranjan...
>>
>> *Jayanga Dissanayake*
>> Senior Software Engineer
>> WSO2 Inc. - http://wso2.com/
>> lean . enterprise . middleware
>> email: jaya...@wso2.com
>> mobile: +94772207259
>>
>> On Tue, Nov 4, 2014 at 12:35 PM, Isuruwan Herath <
>> isuru...@wso2.com> wrote:
>>
>>> Congratulations !!!
>>>
>>> On Tue, Nov 4, 2014 at 12:32 PM, KasunG Gajasinghe <
>>> kas...@wso2.com> wrote:
>>>
 Congratulations Niranjan!

 On Tue, Nov 4, 2014 at 12:30 PM, Godwin Amila Shrimal <
 god...@wso2.com> wrote:

> Congratulations Niranjan...!
>
> On Tue, Nov 4, 2014 at 12:27 PM, Senduran Balasubramaniyam <
> sendu...@wso2.com> wrote:
>
>> Congratulations Niranjan !!
>>
>> On Tue, Nov 4, 2014 at 12:20 PM, Abimaran Kugathasan <
>> abima...@wso2.com> wrote:
>>
>>> Congrats Niranjan!
>>>
>>> On Tue, Nov 4, 2014 at 12:15 PM, Kasun Dissanayake <
>>> kas...@wso2.com> wrote:
>>>
 Congradzzz Nira !!!

 On Tue, Nov 4, 2014 at 12:06 PM, Inosh Perera <
 ino...@wso2.com> wrote:

> Congratulations Niranjan !!
>
>
>
> On Tue, Nov 4, 2014 at 11:56 AM, Rajeevan Vimalanathan <
> rajeev...@wso2.com> wrote:
>
>> Congratz Niranjan...!!!
>>
>> On Tue, Nov 4, 2014 at 11:54 AM, Gayashan Amarasinghe <
>> gayas...@wso2.com> wrote:
>>
>>> Congratulations Niranjan!!! :)
>>>
>>> On Tue, Nov 4, 2014 at 11:47 AM, Prasanna Dangalla <
>>> prasa...@wso2.com> wrote:
>>>
 Congratulations !!!

 On Tue, Nov 4, 2014 at 11:45 AM, Aruna Karunarathna <
 ar...@wso2.com> wrote:

> Congratulations Nira..!!!
>
> On Tue, Nov 4, 2014 at 11:44 AM, Kalpa Welivitigoda <
> kal...@wso2.com> wrote:
>
>> Congratulations Niranjan !
>>
>> On Tue, Nov 4, 2014 at 11:43 AM, Sameera Perera <
>> samee...@wso2.com> wrote:
>>
>>> Hi all,
>>>
>>> It's my pleasure to announce Niranjan as a WSO2
>>> Committer.  He has been an active contributor for
>>> WSO2 Enterprise Mobility Manager.
>>>
>>> Niranjan, welcome aboard and keep up the good work!.
>>>
>>> --
>>>
>>> --
>>>
>>> *Sameera Perera*
>>> Director of Engineering
>>> gtalk: samee...@wso2.com
>>> Tel : 94 11 214 5345
>>> Fax :94 11 2145300
>>> *WSO2, Inc.* 
>>> lean.enterprise.middleware
>>>

Re: [Dev] WSO2 Committers += Niranjan Karunanandham

2014-11-04 Thread Kasun De Silva
Congrats Niranjan..!!

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

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


On Tue, Nov 4, 2014 at 4:38 PM, Pulasthi Supun  wrote:

> Congrats 
>
>
> On Tue, Nov 4, 2014 at 4:35 PM, Milinda Perera  wrote:
>
>> Congrats Niranjan ..
>>
>> On Tue, Nov 4, 2014 at 4:26 PM, Mahesh Chinthaka 
>> wrote:
>>
>>> Congratulations Niranjan...!!!
>>>
>>> On Tue, Nov 4, 2014 at 4:22 PM, Nipuni Perera  wrote:
>>>
 Congratulations Niranjan




 On Tue, Nov 4, 2014 at 4:14 PM, Srisunmugaraja Paraparan <
 parapa...@wso2.com> wrote:

> Congratulations Niranjan ...
>
> On Tue, Nov 4, 2014 at 4:08 PM, Harsha Kumara 
> wrote:
>
>> Congratulations Niranjan!
>>
>> On Tue, Nov 4, 2014 at 4:04 PM, Suhan Dharmasuriya 
>> wrote:
>>
>>> Congrats Niranjan!!!
>>>
>>> On Tue, Nov 4, 2014 at 4:00 PM, Shiroshica Kulatilake <
>>> sh...@wso2.com> wrote:
>>>
 Congrats !!

 On Tue, Nov 4, 2014 at 3:51 PM, Jayanga Dissanayake <
 jaya...@wso2.com> wrote:

> Congratulations Niranjan...
>
> *Jayanga Dissanayake*
> Senior Software Engineer
> WSO2 Inc. - http://wso2.com/
> lean . enterprise . middleware
> email: jaya...@wso2.com
> mobile: +94772207259
>
> On Tue, Nov 4, 2014 at 12:35 PM, Isuruwan Herath <
> isuru...@wso2.com> wrote:
>
>> Congratulations !!!
>>
>> On Tue, Nov 4, 2014 at 12:32 PM, KasunG Gajasinghe <
>> kas...@wso2.com> wrote:
>>
>>> Congratulations Niranjan!
>>>
>>> On Tue, Nov 4, 2014 at 12:30 PM, Godwin Amila Shrimal <
>>> god...@wso2.com> wrote:
>>>
 Congratulations Niranjan...!

 On Tue, Nov 4, 2014 at 12:27 PM, Senduran Balasubramaniyam <
 sendu...@wso2.com> wrote:

> Congratulations Niranjan !!
>
> On Tue, Nov 4, 2014 at 12:20 PM, Abimaran Kugathasan <
> abima...@wso2.com> wrote:
>
>> Congrats Niranjan!
>>
>> On Tue, Nov 4, 2014 at 12:15 PM, Kasun Dissanayake <
>> kas...@wso2.com> wrote:
>>
>>> Congradzzz Nira !!!
>>>
>>> On Tue, Nov 4, 2014 at 12:06 PM, Inosh Perera <
>>> ino...@wso2.com> wrote:
>>>
 Congratulations Niranjan !!



 On Tue, Nov 4, 2014 at 11:56 AM, Rajeevan Vimalanathan <
 rajeev...@wso2.com> wrote:

> Congratz Niranjan...!!!
>
> On Tue, Nov 4, 2014 at 11:54 AM, Gayashan Amarasinghe <
> gayas...@wso2.com> wrote:
>
>> Congratulations Niranjan!!! :)
>>
>> On Tue, Nov 4, 2014 at 11:47 AM, Prasanna Dangalla <
>> prasa...@wso2.com> wrote:
>>
>>> Congratulations !!!
>>>
>>> On Tue, Nov 4, 2014 at 11:45 AM, Aruna Karunarathna <
>>> ar...@wso2.com> wrote:
>>>
 Congratulations Nira..!!!

 On Tue, Nov 4, 2014 at 11:44 AM, Kalpa Welivitigoda <
 kal...@wso2.com> wrote:

> Congratulations Niranjan !
>
> On Tue, Nov 4, 2014 at 11:43 AM, Sameera Perera <
> samee...@wso2.com> wrote:
>
>> Hi all,
>>
>> It's my pleasure to announce Niranjan as a WSO2
>> Committer.  He has been an active contributor for
>> WSO2 Enterprise Mobility Manager.
>>
>> Niranjan, welcome aboard and keep up the good work!.
>>
>> --
>>
>> --
>>
>> *Sameera Perera*
>> Director of Engineering
>> gtalk: samee...@wso2.com
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300
>> *WSO2, Inc.* 
>> lean.enterprise.middleware
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>

Re: [Dev] WSO2 Committers += Niranjan Karunanandham

2014-11-04 Thread Pulasthi Supun
Congrats 


On Tue, Nov 4, 2014 at 4:35 PM, Milinda Perera  wrote:

> Congrats Niranjan ..
>
> On Tue, Nov 4, 2014 at 4:26 PM, Mahesh Chinthaka  wrote:
>
>> Congratulations Niranjan...!!!
>>
>> On Tue, Nov 4, 2014 at 4:22 PM, Nipuni Perera  wrote:
>>
>>> Congratulations Niranjan
>>>
>>>
>>>
>>>
>>> On Tue, Nov 4, 2014 at 4:14 PM, Srisunmugaraja Paraparan <
>>> parapa...@wso2.com> wrote:
>>>
 Congratulations Niranjan ...

 On Tue, Nov 4, 2014 at 4:08 PM, Harsha Kumara  wrote:

> Congratulations Niranjan!
>
> On Tue, Nov 4, 2014 at 4:04 PM, Suhan Dharmasuriya 
> wrote:
>
>> Congrats Niranjan!!!
>>
>> On Tue, Nov 4, 2014 at 4:00 PM, Shiroshica Kulatilake > > wrote:
>>
>>> Congrats !!
>>>
>>> On Tue, Nov 4, 2014 at 3:51 PM, Jayanga Dissanayake <
>>> jaya...@wso2.com> wrote:
>>>
 Congratulations Niranjan...

 *Jayanga Dissanayake*
 Senior Software Engineer
 WSO2 Inc. - http://wso2.com/
 lean . enterprise . middleware
 email: jaya...@wso2.com
 mobile: +94772207259

 On Tue, Nov 4, 2014 at 12:35 PM, Isuruwan Herath >>> > wrote:

> Congratulations !!!
>
> On Tue, Nov 4, 2014 at 12:32 PM, KasunG Gajasinghe <
> kas...@wso2.com> wrote:
>
>> Congratulations Niranjan!
>>
>> On Tue, Nov 4, 2014 at 12:30 PM, Godwin Amila Shrimal <
>> god...@wso2.com> wrote:
>>
>>> Congratulations Niranjan...!
>>>
>>> On Tue, Nov 4, 2014 at 12:27 PM, Senduran Balasubramaniyam <
>>> sendu...@wso2.com> wrote:
>>>
 Congratulations Niranjan !!

 On Tue, Nov 4, 2014 at 12:20 PM, Abimaran Kugathasan <
 abima...@wso2.com> wrote:

> Congrats Niranjan!
>
> On Tue, Nov 4, 2014 at 12:15 PM, Kasun Dissanayake <
> kas...@wso2.com> wrote:
>
>> Congradzzz Nira !!!
>>
>> On Tue, Nov 4, 2014 at 12:06 PM, Inosh Perera <
>> ino...@wso2.com> wrote:
>>
>>> Congratulations Niranjan !!
>>>
>>>
>>>
>>> On Tue, Nov 4, 2014 at 11:56 AM, Rajeevan Vimalanathan <
>>> rajeev...@wso2.com> wrote:
>>>
 Congratz Niranjan...!!!

 On Tue, Nov 4, 2014 at 11:54 AM, Gayashan Amarasinghe <
 gayas...@wso2.com> wrote:

> Congratulations Niranjan!!! :)
>
> On Tue, Nov 4, 2014 at 11:47 AM, Prasanna Dangalla <
> prasa...@wso2.com> wrote:
>
>> Congratulations !!!
>>
>> On Tue, Nov 4, 2014 at 11:45 AM, Aruna Karunarathna <
>> ar...@wso2.com> wrote:
>>
>>> Congratulations Nira..!!!
>>>
>>> On Tue, Nov 4, 2014 at 11:44 AM, Kalpa Welivitigoda <
>>> kal...@wso2.com> wrote:
>>>
 Congratulations Niranjan !

 On Tue, Nov 4, 2014 at 11:43 AM, Sameera Perera <
 samee...@wso2.com> wrote:

> Hi all,
>
> It's my pleasure to announce Niranjan as a WSO2
> Committer.  He has been an active contributor for
> WSO2 Enterprise Mobility Manager.
>
> Niranjan, welcome aboard and keep up the good work!.
>
> --
>
> --
>
> *Sameera Perera*
> Director of Engineering
> gtalk: samee...@wso2.com
> Tel : 94 11 214 5345
> Fax :94 11 2145300
> *WSO2, Inc.* 
> lean.enterprise.middleware
>
>
>
> ___
> 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 mai

Re: [Dev] WSO2 Committers += Niranjan Karunanandham

2014-11-04 Thread Supun Malinga
Congratulations Niranjan!

On Tue, Nov 4, 2014 at 4:35 PM, Milinda Perera  wrote:

> Congrats Niranjan ..
>
> On Tue, Nov 4, 2014 at 4:26 PM, Mahesh Chinthaka  wrote:
>
>> Congratulations Niranjan...!!!
>>
>> On Tue, Nov 4, 2014 at 4:22 PM, Nipuni Perera  wrote:
>>
>>> Congratulations Niranjan
>>>
>>>
>>>
>>>
>>> On Tue, Nov 4, 2014 at 4:14 PM, Srisunmugaraja Paraparan <
>>> parapa...@wso2.com> wrote:
>>>
 Congratulations Niranjan ...

 On Tue, Nov 4, 2014 at 4:08 PM, Harsha Kumara  wrote:

> Congratulations Niranjan!
>
> On Tue, Nov 4, 2014 at 4:04 PM, Suhan Dharmasuriya 
> wrote:
>
>> Congrats Niranjan!!!
>>
>> On Tue, Nov 4, 2014 at 4:00 PM, Shiroshica Kulatilake > > wrote:
>>
>>> Congrats !!
>>>
>>> On Tue, Nov 4, 2014 at 3:51 PM, Jayanga Dissanayake <
>>> jaya...@wso2.com> wrote:
>>>
 Congratulations Niranjan...

 *Jayanga Dissanayake*
 Senior Software Engineer
 WSO2 Inc. - http://wso2.com/
 lean . enterprise . middleware
 email: jaya...@wso2.com
 mobile: +94772207259

 On Tue, Nov 4, 2014 at 12:35 PM, Isuruwan Herath >>> > wrote:

> Congratulations !!!
>
> On Tue, Nov 4, 2014 at 12:32 PM, KasunG Gajasinghe <
> kas...@wso2.com> wrote:
>
>> Congratulations Niranjan!
>>
>> On Tue, Nov 4, 2014 at 12:30 PM, Godwin Amila Shrimal <
>> god...@wso2.com> wrote:
>>
>>> Congratulations Niranjan...!
>>>
>>> On Tue, Nov 4, 2014 at 12:27 PM, Senduran Balasubramaniyam <
>>> sendu...@wso2.com> wrote:
>>>
 Congratulations Niranjan !!

 On Tue, Nov 4, 2014 at 12:20 PM, Abimaran Kugathasan <
 abima...@wso2.com> wrote:

> Congrats Niranjan!
>
> On Tue, Nov 4, 2014 at 12:15 PM, Kasun Dissanayake <
> kas...@wso2.com> wrote:
>
>> Congradzzz Nira !!!
>>
>> On Tue, Nov 4, 2014 at 12:06 PM, Inosh Perera <
>> ino...@wso2.com> wrote:
>>
>>> Congratulations Niranjan !!
>>>
>>>
>>>
>>> On Tue, Nov 4, 2014 at 11:56 AM, Rajeevan Vimalanathan <
>>> rajeev...@wso2.com> wrote:
>>>
 Congratz Niranjan...!!!

 On Tue, Nov 4, 2014 at 11:54 AM, Gayashan Amarasinghe <
 gayas...@wso2.com> wrote:

> Congratulations Niranjan!!! :)
>
> On Tue, Nov 4, 2014 at 11:47 AM, Prasanna Dangalla <
> prasa...@wso2.com> wrote:
>
>> Congratulations !!!
>>
>> On Tue, Nov 4, 2014 at 11:45 AM, Aruna Karunarathna <
>> ar...@wso2.com> wrote:
>>
>>> Congratulations Nira..!!!
>>>
>>> On Tue, Nov 4, 2014 at 11:44 AM, Kalpa Welivitigoda <
>>> kal...@wso2.com> wrote:
>>>
 Congratulations Niranjan !

 On Tue, Nov 4, 2014 at 11:43 AM, Sameera Perera <
 samee...@wso2.com> wrote:

> Hi all,
>
> It's my pleasure to announce Niranjan as a WSO2
> Committer.  He has been an active contributor for
> WSO2 Enterprise Mobility Manager.
>
> Niranjan, welcome aboard and keep up the good work!.
>
> --
>
> --
>
> *Sameera Perera*
> Director of Engineering
> gtalk: samee...@wso2.com
> Tel : 94 11 214 5345
> Fax :94 11 2145300
> *WSO2, Inc.* 
> lean.enterprise.middleware
>
>
>
> ___
> 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 

Re: [Dev] WSO2 Committers += Niranjan Karunanandham

2014-11-04 Thread Milinda Perera
Congrats Niranjan ..

On Tue, Nov 4, 2014 at 4:26 PM, Mahesh Chinthaka  wrote:

> Congratulations Niranjan...!!!
>
> On Tue, Nov 4, 2014 at 4:22 PM, Nipuni Perera  wrote:
>
>> Congratulations Niranjan
>>
>>
>>
>>
>> On Tue, Nov 4, 2014 at 4:14 PM, Srisunmugaraja Paraparan <
>> parapa...@wso2.com> wrote:
>>
>>> Congratulations Niranjan ...
>>>
>>> On Tue, Nov 4, 2014 at 4:08 PM, Harsha Kumara  wrote:
>>>
 Congratulations Niranjan!

 On Tue, Nov 4, 2014 at 4:04 PM, Suhan Dharmasuriya 
 wrote:

> Congrats Niranjan!!!
>
> On Tue, Nov 4, 2014 at 4:00 PM, Shiroshica Kulatilake 
> wrote:
>
>> Congrats !!
>>
>> On Tue, Nov 4, 2014 at 3:51 PM, Jayanga Dissanayake > > wrote:
>>
>>> Congratulations Niranjan...
>>>
>>> *Jayanga Dissanayake*
>>> Senior Software Engineer
>>> WSO2 Inc. - http://wso2.com/
>>> lean . enterprise . middleware
>>> email: jaya...@wso2.com
>>> mobile: +94772207259
>>>
>>> On Tue, Nov 4, 2014 at 12:35 PM, Isuruwan Herath 
>>> wrote:
>>>
 Congratulations !!!

 On Tue, Nov 4, 2014 at 12:32 PM, KasunG Gajasinghe >>> > wrote:

> Congratulations Niranjan!
>
> On Tue, Nov 4, 2014 at 12:30 PM, Godwin Amila Shrimal <
> god...@wso2.com> wrote:
>
>> Congratulations Niranjan...!
>>
>> On Tue, Nov 4, 2014 at 12:27 PM, Senduran Balasubramaniyam <
>> sendu...@wso2.com> wrote:
>>
>>> Congratulations Niranjan !!
>>>
>>> On Tue, Nov 4, 2014 at 12:20 PM, Abimaran Kugathasan <
>>> abima...@wso2.com> wrote:
>>>
 Congrats Niranjan!

 On Tue, Nov 4, 2014 at 12:15 PM, Kasun Dissanayake <
 kas...@wso2.com> wrote:

> Congradzzz Nira !!!
>
> On Tue, Nov 4, 2014 at 12:06 PM, Inosh Perera  > wrote:
>
>> Congratulations Niranjan !!
>>
>>
>>
>> On Tue, Nov 4, 2014 at 11:56 AM, Rajeevan Vimalanathan <
>> rajeev...@wso2.com> wrote:
>>
>>> Congratz Niranjan...!!!
>>>
>>> On Tue, Nov 4, 2014 at 11:54 AM, Gayashan Amarasinghe <
>>> gayas...@wso2.com> wrote:
>>>
 Congratulations Niranjan!!! :)

 On Tue, Nov 4, 2014 at 11:47 AM, Prasanna Dangalla <
 prasa...@wso2.com> wrote:

> Congratulations !!!
>
> On Tue, Nov 4, 2014 at 11:45 AM, Aruna Karunarathna <
> ar...@wso2.com> wrote:
>
>> Congratulations Nira..!!!
>>
>> On Tue, Nov 4, 2014 at 11:44 AM, Kalpa Welivitigoda <
>> kal...@wso2.com> wrote:
>>
>>> Congratulations Niranjan !
>>>
>>> On Tue, Nov 4, 2014 at 11:43 AM, Sameera Perera <
>>> samee...@wso2.com> wrote:
>>>
 Hi all,

 It's my pleasure to announce Niranjan as a WSO2
 Committer.  He has been an active contributor for WSO2
 Enterprise Mobility Manager.

 Niranjan, welcome aboard and keep up the good work!.

 --

 --

 *Sameera Perera*
 Director of Engineering
 gtalk: samee...@wso2.com
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 *WSO2, Inc.* 
 lean.enterprise.middleware



 ___
 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
>>>
>>>
>>
>>
>> --
>>
>> *Aruna Sujith Karunarathna* | Software E

Re: [Dev] [CEP] Sending messages to multiple email addresses using CEP output email adapter

2014-11-04 Thread Lahiru Cooray
Hi Madhawa,

As per the offline chat, to solve your problem you can simply concatenate
the receiving email addresses related to each event.

*Eg:*
*@email - "*a...@gmail.com, b...@yahoo.com, c...@hotmail.com"

Event formatter email address -   *@**email*


On Thu, Oct 30, 2014 at 1:03 AM, Madhawa Gunasekara 
wrote:

> Hi All,
>
> I'm working on a traffic analysis project. I just need to send traffic
> alert messages to subscribers. But email addresses vary according to
> their subscribed location.
>
> As per my understanding the email address should be fixed when using a CEP
> email output adapter.
>
> How can I use WSO2 CEP output email adapter to carry through my problem?
>
>
>
> Thanks.
>
> --
> *Madhawa Gunasekara*
> Software Engineering Intern
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 719411002
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Lahiru Cooray*
Software Engineer
WSO2, Inc.;http://wso2.com/
lean.enterprise.middleware

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


Re: [Dev] WSO2 Committers += Niranjan Karunanandham

2014-11-04 Thread Mahesh Chinthaka
Congratulations Niranjan...!!!

On Tue, Nov 4, 2014 at 4:22 PM, Nipuni Perera  wrote:

> Congratulations Niranjan
>
>
>
>
> On Tue, Nov 4, 2014 at 4:14 PM, Srisunmugaraja Paraparan <
> parapa...@wso2.com> wrote:
>
>> Congratulations Niranjan ...
>>
>> On Tue, Nov 4, 2014 at 4:08 PM, Harsha Kumara  wrote:
>>
>>> Congratulations Niranjan!
>>>
>>> On Tue, Nov 4, 2014 at 4:04 PM, Suhan Dharmasuriya 
>>> wrote:
>>>
 Congrats Niranjan!!!

 On Tue, Nov 4, 2014 at 4:00 PM, Shiroshica Kulatilake 
 wrote:

> Congrats !!
>
> On Tue, Nov 4, 2014 at 3:51 PM, Jayanga Dissanayake 
> wrote:
>
>> Congratulations Niranjan...
>>
>> *Jayanga Dissanayake*
>> Senior Software Engineer
>> WSO2 Inc. - http://wso2.com/
>> lean . enterprise . middleware
>> email: jaya...@wso2.com
>> mobile: +94772207259
>>
>> On Tue, Nov 4, 2014 at 12:35 PM, Isuruwan Herath 
>> wrote:
>>
>>> Congratulations !!!
>>>
>>> On Tue, Nov 4, 2014 at 12:32 PM, KasunG Gajasinghe 
>>> wrote:
>>>
 Congratulations Niranjan!

 On Tue, Nov 4, 2014 at 12:30 PM, Godwin Amila Shrimal <
 god...@wso2.com> wrote:

> Congratulations Niranjan...!
>
> On Tue, Nov 4, 2014 at 12:27 PM, Senduran Balasubramaniyam <
> sendu...@wso2.com> wrote:
>
>> Congratulations Niranjan !!
>>
>> On Tue, Nov 4, 2014 at 12:20 PM, Abimaran Kugathasan <
>> abima...@wso2.com> wrote:
>>
>>> Congrats Niranjan!
>>>
>>> On Tue, Nov 4, 2014 at 12:15 PM, Kasun Dissanayake <
>>> kas...@wso2.com> wrote:
>>>
 Congradzzz Nira !!!

 On Tue, Nov 4, 2014 at 12:06 PM, Inosh Perera 
 wrote:

> Congratulations Niranjan !!
>
>
>
> On Tue, Nov 4, 2014 at 11:56 AM, Rajeevan Vimalanathan <
> rajeev...@wso2.com> wrote:
>
>> Congratz Niranjan...!!!
>>
>> On Tue, Nov 4, 2014 at 11:54 AM, Gayashan Amarasinghe <
>> gayas...@wso2.com> wrote:
>>
>>> Congratulations Niranjan!!! :)
>>>
>>> On Tue, Nov 4, 2014 at 11:47 AM, Prasanna Dangalla <
>>> prasa...@wso2.com> wrote:
>>>
 Congratulations !!!

 On Tue, Nov 4, 2014 at 11:45 AM, Aruna Karunarathna <
 ar...@wso2.com> wrote:

> Congratulations Nira..!!!
>
> On Tue, Nov 4, 2014 at 11:44 AM, Kalpa Welivitigoda <
> kal...@wso2.com> wrote:
>
>> Congratulations Niranjan !
>>
>> On Tue, Nov 4, 2014 at 11:43 AM, Sameera Perera <
>> samee...@wso2.com> wrote:
>>
>>> Hi all,
>>>
>>> It's my pleasure to announce Niranjan as a WSO2
>>> Committer.  He has been an active contributor for WSO2
>>> Enterprise Mobility Manager.
>>>
>>> Niranjan, welcome aboard and keep up the good work!.
>>>
>>> --
>>>
>>> --
>>>
>>> *Sameera Perera*
>>> Director of Engineering
>>> gtalk: samee...@wso2.com
>>> Tel : 94 11 214 5345
>>> Fax :94 11 2145300
>>> *WSO2, Inc.* 
>>> lean.enterprise.middleware
>>>
>>>
>>>
>>> ___
>>> 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
>>
>>
>
>
> --
>
> *Aruna Sujith Karunarathna* | Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 9040362 | Work: +94 112145345
> Email: ar...@wso2.com | Web: w

Re: [Dev] WSO2 Committers += Niranjan Karunanandham

2014-11-04 Thread Nipuni Perera
Congratulations Niranjan




On Tue, Nov 4, 2014 at 4:14 PM, Srisunmugaraja Paraparan  wrote:

> Congratulations Niranjan ...
>
> On Tue, Nov 4, 2014 at 4:08 PM, Harsha Kumara  wrote:
>
>> Congratulations Niranjan!
>>
>> On Tue, Nov 4, 2014 at 4:04 PM, Suhan Dharmasuriya 
>> wrote:
>>
>>> Congrats Niranjan!!!
>>>
>>> On Tue, Nov 4, 2014 at 4:00 PM, Shiroshica Kulatilake 
>>> wrote:
>>>
 Congrats !!

 On Tue, Nov 4, 2014 at 3:51 PM, Jayanga Dissanayake 
 wrote:

> Congratulations Niranjan...
>
> *Jayanga Dissanayake*
> Senior Software Engineer
> WSO2 Inc. - http://wso2.com/
> lean . enterprise . middleware
> email: jaya...@wso2.com
> mobile: +94772207259
>
> On Tue, Nov 4, 2014 at 12:35 PM, Isuruwan Herath 
> wrote:
>
>> Congratulations !!!
>>
>> On Tue, Nov 4, 2014 at 12:32 PM, KasunG Gajasinghe 
>> wrote:
>>
>>> Congratulations Niranjan!
>>>
>>> On Tue, Nov 4, 2014 at 12:30 PM, Godwin Amila Shrimal <
>>> god...@wso2.com> wrote:
>>>
 Congratulations Niranjan...!

 On Tue, Nov 4, 2014 at 12:27 PM, Senduran Balasubramaniyam <
 sendu...@wso2.com> wrote:

> Congratulations Niranjan !!
>
> On Tue, Nov 4, 2014 at 12:20 PM, Abimaran Kugathasan <
> abima...@wso2.com> wrote:
>
>> Congrats Niranjan!
>>
>> On Tue, Nov 4, 2014 at 12:15 PM, Kasun Dissanayake <
>> kas...@wso2.com> wrote:
>>
>>> Congradzzz Nira !!!
>>>
>>> On Tue, Nov 4, 2014 at 12:06 PM, Inosh Perera 
>>> wrote:
>>>
 Congratulations Niranjan !!



 On Tue, Nov 4, 2014 at 11:56 AM, Rajeevan Vimalanathan <
 rajeev...@wso2.com> wrote:

> Congratz Niranjan...!!!
>
> On Tue, Nov 4, 2014 at 11:54 AM, Gayashan Amarasinghe <
> gayas...@wso2.com> wrote:
>
>> Congratulations Niranjan!!! :)
>>
>> On Tue, Nov 4, 2014 at 11:47 AM, Prasanna Dangalla <
>> prasa...@wso2.com> wrote:
>>
>>> Congratulations !!!
>>>
>>> On Tue, Nov 4, 2014 at 11:45 AM, Aruna Karunarathna <
>>> ar...@wso2.com> wrote:
>>>
 Congratulations Nira..!!!

 On Tue, Nov 4, 2014 at 11:44 AM, Kalpa Welivitigoda <
 kal...@wso2.com> wrote:

> Congratulations Niranjan !
>
> On Tue, Nov 4, 2014 at 11:43 AM, Sameera Perera <
> samee...@wso2.com> wrote:
>
>> Hi all,
>>
>> It's my pleasure to announce Niranjan as a WSO2
>> Committer.  He has been an active contributor for WSO2
>> Enterprise Mobility Manager.
>>
>> Niranjan, welcome aboard and keep up the good work!.
>>
>> --
>>
>> --
>>
>> *Sameera Perera*
>> Director of Engineering
>> gtalk: samee...@wso2.com
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300
>> *WSO2, Inc.* 
>> lean.enterprise.middleware
>>
>>
>>
>> ___
>> 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
>
>


 --

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


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

>>>

Re: [Dev] WSO2 Committers += Niranjan Karunanandham

2014-11-04 Thread Srisunmugaraja Paraparan
Congratulations Niranjan ...

On Tue, Nov 4, 2014 at 4:08 PM, Harsha Kumara  wrote:

> Congratulations Niranjan!
>
> On Tue, Nov 4, 2014 at 4:04 PM, Suhan Dharmasuriya 
> wrote:
>
>> Congrats Niranjan!!!
>>
>> On Tue, Nov 4, 2014 at 4:00 PM, Shiroshica Kulatilake 
>> wrote:
>>
>>> Congrats !!
>>>
>>> On Tue, Nov 4, 2014 at 3:51 PM, Jayanga Dissanayake 
>>> wrote:
>>>
 Congratulations Niranjan...

 *Jayanga Dissanayake*
 Senior Software Engineer
 WSO2 Inc. - http://wso2.com/
 lean . enterprise . middleware
 email: jaya...@wso2.com
 mobile: +94772207259

 On Tue, Nov 4, 2014 at 12:35 PM, Isuruwan Herath 
 wrote:

> Congratulations !!!
>
> On Tue, Nov 4, 2014 at 12:32 PM, KasunG Gajasinghe 
> wrote:
>
>> Congratulations Niranjan!
>>
>> On Tue, Nov 4, 2014 at 12:30 PM, Godwin Amila Shrimal <
>> god...@wso2.com> wrote:
>>
>>> Congratulations Niranjan...!
>>>
>>> On Tue, Nov 4, 2014 at 12:27 PM, Senduran Balasubramaniyam <
>>> sendu...@wso2.com> wrote:
>>>
 Congratulations Niranjan !!

 On Tue, Nov 4, 2014 at 12:20 PM, Abimaran Kugathasan <
 abima...@wso2.com> wrote:

> Congrats Niranjan!
>
> On Tue, Nov 4, 2014 at 12:15 PM, Kasun Dissanayake <
> kas...@wso2.com> wrote:
>
>> Congradzzz Nira !!!
>>
>> On Tue, Nov 4, 2014 at 12:06 PM, Inosh Perera 
>> wrote:
>>
>>> Congratulations Niranjan !!
>>>
>>>
>>>
>>> On Tue, Nov 4, 2014 at 11:56 AM, Rajeevan Vimalanathan <
>>> rajeev...@wso2.com> wrote:
>>>
 Congratz Niranjan...!!!

 On Tue, Nov 4, 2014 at 11:54 AM, Gayashan Amarasinghe <
 gayas...@wso2.com> wrote:

> Congratulations Niranjan!!! :)
>
> On Tue, Nov 4, 2014 at 11:47 AM, Prasanna Dangalla <
> prasa...@wso2.com> wrote:
>
>> Congratulations !!!
>>
>> On Tue, Nov 4, 2014 at 11:45 AM, Aruna Karunarathna <
>> ar...@wso2.com> wrote:
>>
>>> Congratulations Nira..!!!
>>>
>>> On Tue, Nov 4, 2014 at 11:44 AM, Kalpa Welivitigoda <
>>> kal...@wso2.com> wrote:
>>>
 Congratulations Niranjan !

 On Tue, Nov 4, 2014 at 11:43 AM, Sameera Perera <
 samee...@wso2.com> wrote:

> Hi all,
>
> It's my pleasure to announce Niranjan as a WSO2 Committer.
>  He has been an active contributor for WSO2 Enterprise
> Mobility Manager.
>
> Niranjan, welcome aboard and keep up the good work!.
>
> --
>
> --
>
> *Sameera Perera*
> Director of Engineering
> gtalk: samee...@wso2.com
> Tel : 94 11 214 5345
> Fax :94 11 2145300
> *WSO2, Inc.* 
> lean.enterprise.middleware
>
>
>
> ___
> 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


>>>
>>>
>>> --
>>>
>>> *Aruna Sujith Karunarathna* | Software Engineer
>>> WSO2, Inc | lean. enterprise. middleware.
>>> #20, Palm Grove, Colombo 03, Sri Lanka
>>> Mobile: +94 71 9040362 | Work: +94 112145345
>>> Email: ar...@wso2.com | Web: www.wso2.com
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Prasanna Dangalla
>> Software Engineer, WSO2, Inc.; http://wso2.com/
>> lean.enterprise.middleware
>>
>> cell: +94 777 55 80 30 | +94 

Re: [Dev] WSO2 Committers += Niranjan Karunanandham

2014-11-04 Thread Harsha Kumara
Congratulations Niranjan!

On Tue, Nov 4, 2014 at 4:04 PM, Suhan Dharmasuriya  wrote:

> Congrats Niranjan!!!
>
> On Tue, Nov 4, 2014 at 4:00 PM, Shiroshica Kulatilake 
> wrote:
>
>> Congrats !!
>>
>> On Tue, Nov 4, 2014 at 3:51 PM, Jayanga Dissanayake 
>> wrote:
>>
>>> Congratulations Niranjan...
>>>
>>> *Jayanga Dissanayake*
>>> Senior Software Engineer
>>> WSO2 Inc. - http://wso2.com/
>>> lean . enterprise . middleware
>>> email: jaya...@wso2.com
>>> mobile: +94772207259
>>>
>>> On Tue, Nov 4, 2014 at 12:35 PM, Isuruwan Herath 
>>> wrote:
>>>
 Congratulations !!!

 On Tue, Nov 4, 2014 at 12:32 PM, KasunG Gajasinghe 
 wrote:

> Congratulations Niranjan!
>
> On Tue, Nov 4, 2014 at 12:30 PM, Godwin Amila Shrimal  > wrote:
>
>> Congratulations Niranjan...!
>>
>> On Tue, Nov 4, 2014 at 12:27 PM, Senduran Balasubramaniyam <
>> sendu...@wso2.com> wrote:
>>
>>> Congratulations Niranjan !!
>>>
>>> On Tue, Nov 4, 2014 at 12:20 PM, Abimaran Kugathasan <
>>> abima...@wso2.com> wrote:
>>>
 Congrats Niranjan!

 On Tue, Nov 4, 2014 at 12:15 PM, Kasun Dissanayake >>> > wrote:

> Congradzzz Nira !!!
>
> On Tue, Nov 4, 2014 at 12:06 PM, Inosh Perera 
> wrote:
>
>> Congratulations Niranjan !!
>>
>>
>>
>> On Tue, Nov 4, 2014 at 11:56 AM, Rajeevan Vimalanathan <
>> rajeev...@wso2.com> wrote:
>>
>>> Congratz Niranjan...!!!
>>>
>>> On Tue, Nov 4, 2014 at 11:54 AM, Gayashan Amarasinghe <
>>> gayas...@wso2.com> wrote:
>>>
 Congratulations Niranjan!!! :)

 On Tue, Nov 4, 2014 at 11:47 AM, Prasanna Dangalla <
 prasa...@wso2.com> wrote:

> Congratulations !!!
>
> On Tue, Nov 4, 2014 at 11:45 AM, Aruna Karunarathna <
> ar...@wso2.com> wrote:
>
>> Congratulations Nira..!!!
>>
>> On Tue, Nov 4, 2014 at 11:44 AM, Kalpa Welivitigoda <
>> kal...@wso2.com> wrote:
>>
>>> Congratulations Niranjan !
>>>
>>> On Tue, Nov 4, 2014 at 11:43 AM, Sameera Perera <
>>> samee...@wso2.com> wrote:
>>>
 Hi all,

 It's my pleasure to announce Niranjan as a WSO2 Committer.
  He has been an active contributor for WSO2 Enterprise
 Mobility Manager.

 Niranjan, welcome aboard and keep up the good work!.

 --

 --

 *Sameera Perera*
 Director of Engineering
 gtalk: samee...@wso2.com
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 *WSO2, Inc.* 
 lean.enterprise.middleware



 ___
 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
>>>
>>>
>>
>>
>> --
>>
>> *Aruna Sujith Karunarathna* | Software Engineer
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka
>> Mobile: +94 71 9040362 | Work: +94 112145345
>> Email: ar...@wso2.com | Web: www.wso2.com
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> 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] WSO2 Committers += Niranjan Karunanandham

2014-11-04 Thread Suhan Dharmasuriya
Congrats Niranjan!!!

On Tue, Nov 4, 2014 at 4:00 PM, Shiroshica Kulatilake 
wrote:

> Congrats !!
>
> On Tue, Nov 4, 2014 at 3:51 PM, Jayanga Dissanayake 
> wrote:
>
>> Congratulations Niranjan...
>>
>> *Jayanga Dissanayake*
>> Senior Software Engineer
>> WSO2 Inc. - http://wso2.com/
>> lean . enterprise . middleware
>> email: jaya...@wso2.com
>> mobile: +94772207259
>>
>> On Tue, Nov 4, 2014 at 12:35 PM, Isuruwan Herath 
>> wrote:
>>
>>> Congratulations !!!
>>>
>>> On Tue, Nov 4, 2014 at 12:32 PM, KasunG Gajasinghe 
>>> wrote:
>>>
 Congratulations Niranjan!

 On Tue, Nov 4, 2014 at 12:30 PM, Godwin Amila Shrimal 
 wrote:

> Congratulations Niranjan...!
>
> On Tue, Nov 4, 2014 at 12:27 PM, Senduran Balasubramaniyam <
> sendu...@wso2.com> wrote:
>
>> Congratulations Niranjan !!
>>
>> On Tue, Nov 4, 2014 at 12:20 PM, Abimaran Kugathasan <
>> abima...@wso2.com> wrote:
>>
>>> Congrats Niranjan!
>>>
>>> On Tue, Nov 4, 2014 at 12:15 PM, Kasun Dissanayake 
>>> wrote:
>>>
 Congradzzz Nira !!!

 On Tue, Nov 4, 2014 at 12:06 PM, Inosh Perera 
 wrote:

> Congratulations Niranjan !!
>
>
>
> On Tue, Nov 4, 2014 at 11:56 AM, Rajeevan Vimalanathan <
> rajeev...@wso2.com> wrote:
>
>> Congratz Niranjan...!!!
>>
>> On Tue, Nov 4, 2014 at 11:54 AM, Gayashan Amarasinghe <
>> gayas...@wso2.com> wrote:
>>
>>> Congratulations Niranjan!!! :)
>>>
>>> On Tue, Nov 4, 2014 at 11:47 AM, Prasanna Dangalla <
>>> prasa...@wso2.com> wrote:
>>>
 Congratulations !!!

 On Tue, Nov 4, 2014 at 11:45 AM, Aruna Karunarathna <
 ar...@wso2.com> wrote:

> Congratulations Nira..!!!
>
> On Tue, Nov 4, 2014 at 11:44 AM, Kalpa Welivitigoda <
> kal...@wso2.com> wrote:
>
>> Congratulations Niranjan !
>>
>> On Tue, Nov 4, 2014 at 11:43 AM, Sameera Perera <
>> samee...@wso2.com> wrote:
>>
>>> Hi all,
>>>
>>> It's my pleasure to announce Niranjan as a WSO2 Committer.  He
>>> has been an active contributor for WSO2 Enterprise Mobility 
>>> Manager.
>>>
>>> Niranjan, welcome aboard and keep up the good work!.
>>>
>>> --
>>>
>>> --
>>>
>>> *Sameera Perera*
>>> Director of Engineering
>>> gtalk: samee...@wso2.com
>>> Tel : 94 11 214 5345
>>> Fax :94 11 2145300
>>> *WSO2, Inc.* 
>>> lean.enterprise.middleware
>>>
>>>
>>>
>>> ___
>>> 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
>>
>>
>
>
> --
>
> *Aruna Sujith Karunarathna* | Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 9040362 | Work: +94 112145345
> Email: ar...@wso2.com | Web: www.wso2.com
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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


>>>
>>>
>>> --
>>> *Gayashan Amarasinghe*
>>> Software Engineer | Platform TG
>>> WSO2, Inc. | http://wso2.com
>>> lean. enterprise. middleware
>>>
>>> Mobile : +94718314517
>>> Blog : g

Re: [Dev] WSO2 Committers += Niranjan Karunanandham

2014-11-04 Thread Shiroshica Kulatilake
Congrats !!

On Tue, Nov 4, 2014 at 3:51 PM, Jayanga Dissanayake 
wrote:

> Congratulations Niranjan...
>
> *Jayanga Dissanayake*
> Senior Software Engineer
> WSO2 Inc. - http://wso2.com/
> lean . enterprise . middleware
> email: jaya...@wso2.com
> mobile: +94772207259
>
> On Tue, Nov 4, 2014 at 12:35 PM, Isuruwan Herath 
> wrote:
>
>> Congratulations !!!
>>
>> On Tue, Nov 4, 2014 at 12:32 PM, KasunG Gajasinghe 
>> wrote:
>>
>>> Congratulations Niranjan!
>>>
>>> On Tue, Nov 4, 2014 at 12:30 PM, Godwin Amila Shrimal 
>>> wrote:
>>>
 Congratulations Niranjan...!

 On Tue, Nov 4, 2014 at 12:27 PM, Senduran Balasubramaniyam <
 sendu...@wso2.com> wrote:

> Congratulations Niranjan !!
>
> On Tue, Nov 4, 2014 at 12:20 PM, Abimaran Kugathasan <
> abima...@wso2.com> wrote:
>
>> Congrats Niranjan!
>>
>> On Tue, Nov 4, 2014 at 12:15 PM, Kasun Dissanayake 
>> wrote:
>>
>>> Congradzzz Nira !!!
>>>
>>> On Tue, Nov 4, 2014 at 12:06 PM, Inosh Perera 
>>> wrote:
>>>
 Congratulations Niranjan !!



 On Tue, Nov 4, 2014 at 11:56 AM, Rajeevan Vimalanathan <
 rajeev...@wso2.com> wrote:

> Congratz Niranjan...!!!
>
> On Tue, Nov 4, 2014 at 11:54 AM, Gayashan Amarasinghe <
> gayas...@wso2.com> wrote:
>
>> Congratulations Niranjan!!! :)
>>
>> On Tue, Nov 4, 2014 at 11:47 AM, Prasanna Dangalla <
>> prasa...@wso2.com> wrote:
>>
>>> Congratulations !!!
>>>
>>> On Tue, Nov 4, 2014 at 11:45 AM, Aruna Karunarathna <
>>> ar...@wso2.com> wrote:
>>>
 Congratulations Nira..!!!

 On Tue, Nov 4, 2014 at 11:44 AM, Kalpa Welivitigoda <
 kal...@wso2.com> wrote:

> Congratulations Niranjan !
>
> On Tue, Nov 4, 2014 at 11:43 AM, Sameera Perera <
> samee...@wso2.com> wrote:
>
>> Hi all,
>>
>> It's my pleasure to announce Niranjan as a WSO2 Committer.  He
>> has been an active contributor for WSO2 Enterprise Mobility 
>> Manager.
>>
>> Niranjan, welcome aboard and keep up the good work!.
>>
>> --
>>
>> --
>>
>> *Sameera Perera*
>> Director of Engineering
>> gtalk: samee...@wso2.com
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300
>> *WSO2, Inc.* 
>> lean.enterprise.middleware
>>
>>
>>
>> ___
>> 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
>
>


 --

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


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


>>>
>>>
>>> --
>>> 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
>>>
>>>
>>
>>
>> --
>> *Gayashan Amarasinghe*
>> Software Engineer | Platform TG
>> WSO2, Inc. | http://wso2.com
>> lean. enterprise. middleware
>>
>> Mobile : +94718314517
>> Blog : gayashan-a.blogspot.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> -

Re: [Dev] WSO2 Committers += Niranjan Karunanandham

2014-11-04 Thread Jayanga Dissanayake
Congratulations Niranjan...

*Jayanga Dissanayake*
Senior Software Engineer
WSO2 Inc. - http://wso2.com/
lean . enterprise . middleware
email: jaya...@wso2.com
mobile: +94772207259

On Tue, Nov 4, 2014 at 12:35 PM, Isuruwan Herath  wrote:

> Congratulations !!!
>
> On Tue, Nov 4, 2014 at 12:32 PM, KasunG Gajasinghe 
> wrote:
>
>> Congratulations Niranjan!
>>
>> On Tue, Nov 4, 2014 at 12:30 PM, Godwin Amila Shrimal 
>> wrote:
>>
>>> Congratulations Niranjan...!
>>>
>>> On Tue, Nov 4, 2014 at 12:27 PM, Senduran Balasubramaniyam <
>>> sendu...@wso2.com> wrote:
>>>
 Congratulations Niranjan !!

 On Tue, Nov 4, 2014 at 12:20 PM, Abimaran Kugathasan >>> > wrote:

> Congrats Niranjan!
>
> On Tue, Nov 4, 2014 at 12:15 PM, Kasun Dissanayake 
> wrote:
>
>> Congradzzz Nira !!!
>>
>> On Tue, Nov 4, 2014 at 12:06 PM, Inosh Perera 
>> wrote:
>>
>>> Congratulations Niranjan !!
>>>
>>>
>>>
>>> On Tue, Nov 4, 2014 at 11:56 AM, Rajeevan Vimalanathan <
>>> rajeev...@wso2.com> wrote:
>>>
 Congratz Niranjan...!!!

 On Tue, Nov 4, 2014 at 11:54 AM, Gayashan Amarasinghe <
 gayas...@wso2.com> wrote:

> Congratulations Niranjan!!! :)
>
> On Tue, Nov 4, 2014 at 11:47 AM, Prasanna Dangalla <
> prasa...@wso2.com> wrote:
>
>> Congratulations !!!
>>
>> On Tue, Nov 4, 2014 at 11:45 AM, Aruna Karunarathna <
>> ar...@wso2.com> wrote:
>>
>>> Congratulations Nira..!!!
>>>
>>> On Tue, Nov 4, 2014 at 11:44 AM, Kalpa Welivitigoda <
>>> kal...@wso2.com> wrote:
>>>
 Congratulations Niranjan !

 On Tue, Nov 4, 2014 at 11:43 AM, Sameera Perera <
 samee...@wso2.com> wrote:

> Hi all,
>
> It's my pleasure to announce Niranjan as a WSO2 Committer.  He
> has been an active contributor for WSO2 Enterprise Mobility 
> Manager.
>
> Niranjan, welcome aboard and keep up the good work!.
>
> --
>
> --
>
> *Sameera Perera*
> Director of Engineering
> gtalk: samee...@wso2.com
> Tel : 94 11 214 5345
> Fax :94 11 2145300
> *WSO2, Inc.* 
> lean.enterprise.middleware
>
>
>
> ___
> 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


>>>
>>>
>>> --
>>>
>>> *Aruna Sujith Karunarathna* | Software Engineer
>>> WSO2, Inc | lean. enterprise. middleware.
>>> #20, Palm Grove, Colombo 03, Sri Lanka
>>> Mobile: +94 71 9040362 | Work: +94 112145345
>>> Email: ar...@wso2.com | Web: www.wso2.com
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> 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
>>
>>
>
>
> --
> *Gayashan Amarasinghe*
> Software Engineer | Platform TG
> WSO2, Inc. | http://wso2.com
> lean. enterprise. middleware
>
> Mobile : +94718314517
> Blog : gayashan-a.blogspot.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 Best Regards,
 V.Rajeevan
 Software Engineer,
 WSO2 Inc. :http://wso2.com

 Mobile : +94 773090875
 Email : rajeev...@wso2.com

 ___
 Dev mailing l

[Dev] [dev] [ES] Enter key code mapped to create asset method

2014-11-04 Thread Himasha Guruge
Hi All,

In Enterprise Store Publisher side,when creating a new asset under a type,
is the enter key mapped to create functionality?

 I created a new asset type, and in add asset page,  (
http://localhost:9763/publisher/asts//create)for some other
functionality I was going to map enter key code to a javascript function.

But it doesn't work since the create method gets fired when enter key is
pressed. Appreciate advice on this.

Thanks & Regards,

Himasha Guruge
*Software Engineer*
WS*O2* *Inc.*
Mobile: +94 777459299
himas...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Resource.properties file doesn't link with carbon component.

2014-11-04 Thread Buddhi Senarathna
Hi malithi,

that menu appears as Fraud detection, in the menu is a test project that i
created by removing Resources.properties file and manually entering the
values. i forgot to remove it before i captured this. apologies for that
and yes i had extract the jar and nothing wrong inside that.

thank you.

On Tue, Nov 4, 2014 at 3:09 PM, Malithi Edirisinghe 
wrote:

> Hi Buddhi,
>
> Could you extract the jar and see whether the folder structure is as
> expected. Also in the screenhot attached I see a menu as Fraud Detection
> with the exact icon that you have specified in the component.xml file.
> Other than that seems you have properly configured.
>
> Thanks,
> Malithi.
>
> On Tue, Nov 4, 2014 at 11:18 AM, Buddhi Senarathna 
> wrote:
>
>> My carbon component works properly. but it doesn't show the name that i
>> want to display.
>>
>>
>> ​
>> ​i believe the problem occurs when the component links with the
>> Resource.properties file.
>>
>>
>> *this is the folder structure*
>>
>>
>>
>>
>> *​*
>> *this is the content of component.xml file *
>>
>> http://products.wso2.org/carbon";>
>> 
>> 
>> fraud_detection_menu
>> event.fd
>>
>> org.wso2.carbon.test.pro.ui.i18n.Resources
>> tools_menu
>> ../mymtdt/index.jsp
>> region5
>> 40
>> home
>> ../mymtdt/images/students.gif
>>
>> /permission/protected/manage
>> 
>> 
>> 
>>
>> *this is the content of Resource.properties file *
>>
>> event.fd=Fraud Detection
>>
>> please help me to figure it out what is the problem and i'm using
>> eclipse, luna version
>>
>> thanks.
>>
>>
>>
>> --
>>
>> *Buddhi Chathuranga Senarathna*
>>
>>
>> *InternWSO2, Inc. *
>> *Mob: +94 755 446 685 <%2B94%20755%20446%20685>*
>>
>> ___
>> 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
>



-- 

*Buddhi Chathuranga Senarathna*


*InternWSO2, Inc. *
*Mob: +94 755 446 685*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Issue in adding multiple devices for a user in EMM

2014-11-04 Thread Pasanthi Amarasekera
Hi,

I tried this scenario again and it worked. I think there would have been a
network issue earlier (as I tested it at home).

For example : I created a user and enrolled an android device using the
username and emailed password, in WiFi_1. Then disconnected from WiFi_1 and
connected to WiFi_2, tried to add another android device from WiFi_2 with
the same username and emailed password. It worked, the device was added
successfully.

Thank you.

Regards,
Pasanthi.







On Mon, Oct 13, 2014 at 10:06 PM, Niranjan Karunanandham 
wrote:

> Hi Pasanthi,
>
>
> On Mon, Oct 13, 2014 at 12:33 PM, Pasanthi Amarasekera 
>>>  wrote:
>>>
 Hi Harshan,

 No I did not get any errors in server but the authentication failed
 with the agent in the device. And another thing I noticed is, it is not the
 same EMM server IP I get when I change the network.

>>> When the network changes, the server IP will change because the IP
> assigned to your laptop changes when you connect to another wifi network.
>
> Regards,
> Nira
>
>
> On Mon, Oct 13, 2014 at 1:42 PM, Inosh Perera  wrote:
>
>> Hi Pasanthi,
>> Instead of creating a new user, can you use admin credential and enroll
>> with two devices? This should be possible, and even for a normal user, it
>> should work. What is the exact error shown on the device?
>>
>> Regards,
>> Inosh
>>
>> On Mon, Oct 13, 2014 at 1:32 PM, Harshan Liyanage 
>> wrote:
>>
>>> Hi Pasanthi,
>>>
>>> We have not tested such multi-device scenarios in different networks.
>>> But it should work fine. However could you please try enrolling a different
>>> user & enroll multiple devices for that user (in the same network)?
>>>
>>> Thanks,
>>>
>>> Best Regards,
>>>
>>> Lakshitha Harshan
>>> Software Engineer
>>> Mobile: *+94724423048*
>>> Email: hars...@wso2.com
>>> Blog : http://harshanliyanage.blogspot.com/
>>> *WSO2, Inc. :** wso2.com *
>>> lean.enterprise.middleware.
>>>
>>> On Mon, Oct 13, 2014 at 12:33 PM, Pasanthi Amarasekera <
>>> pasan...@wso2.com> wrote:
>>>
 Hi Harshan,

 No I did not get any errors in server but the authentication failed
 with the agent in the device. And another thing I noticed is, it is not the
 same EMM server IP I get when I change the network.

 For example let's say I got PW_1 as password with WiFi_1 for user_1.
 I can't use this PW_1 to enroll another device for user_1 in WiFi_2.

 Thank you.

 Regards,
 Pasanthi.


 On Mon, Oct 13, 2014 at 11:54 AM, Harshan Liyanage 
 wrote:

> Hi Pasanthi,
>
> AFAIK there could not be any issue for this scenario. We have tested
> it. Do you get any errors in server when enrolling the new device to the
> EMM?
>
> Thanks,
>
> Best Regards,
>
> Lakshitha Harshan
> Software Engineer
> Mobile: *+94724423048*
> Email: hars...@wso2.com
> Blog : http://harshanliyanage.blogspot.com/
> *WSO2, Inc. :** wso2.com *
> lean.enterprise.middleware.
>
> On Mon, Oct 13, 2014 at 10:59 AM, Pasanthi Amarasekera <
> pasan...@wso2.com> wrote:
>
>>
>>
>> On Sun, Oct 12, 2014 at 11:57 PM, Pasanthi Amarasekera <
>> pasan...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> Last week I created a user to the EMM running in my localhost and
>>> then enrolled an android phone, with the username and the password 
>>> given in
>>> the user enrollment email.
>>>
>>> Today I tried to add an android tab to the same user with the same
>>> username and password. But those credentials didn't work today. What 
>>> can be
>>> the reason for this ?
>>>
>>> The tab used is a nexus 7 with android 4.4.4
>>>
>>> I had to create a new user to add the above mentioned tab to my
>>> local EMM.
>>>
>>> The only difference between the users I created last week and today
>>> is, the wifi network.
>>>
>>> Thank you.
>>>
>>> Regards,
>>> Pasanthi.
>>>
>>> --
>>> Pasanthi Amarasekera
>>> WSO2 Inc: http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> Mobile: +94 77 9541735
>>>
>>
>>
>>
>> --
>> Pasanthi Amarasekera
>> WSO2 Inc: http://wso2.com
>> lean.enterprise.middleware
>>
>> Mobile: +94 77 9541735
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


 --
 Pasanthi Amarasekera
 WSO2 Inc: http://wso2.com
 lean.enterprise.middleware

 Mobile: +94 77 9541735

>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Inosh Perera
>> Software Engineer, WSO2 Inc.
>> Tel: 0785293686
>>
>> ___
>> Dev mailing

  1   2   >