Re: [Dev] Carbon kernel branch 4.2.0 build failure

2016-10-25 Thread Malintha Adikari
gt; [INFO] Axiom C14N  SUCCESS
>> [0.397s]
>> [INFO] Axiom Test Suite .. SUCCESS
>> [0.603s]
>> [INFO] Axiom OSGI Test Suite Parent .. SUCCESS
>> [0.016s]
>> [INFO] Axiom OSGI Test Suite - Build . SUCCESS
>> [8.110s]
>> [INFO] Axiom OSGI Test Suite - Run ... SUCCESS
>> [53.862s]
>> [INFO] Axiom Integration Test Suite .. SUCCESS
>> [25.241s]
>> [INFO] Axiom . SUCCESS
>> [1.083s]
>> [INFO] axiom.wso2  SUCCESS
>> [1.780s]
>> [INFO] Apache Axis2 - Kernel . SUCCESS
>> [16.154s]
>> [INFO] Apache Axis2 - Transport - HTTP ... SUCCESS
>> [1.469s]
>> [INFO] Apache Axis2 - Transport - Local .. SUCCESS
>> [0.468s]
>> [INFO] Apache Axis2 - JSON ... SUCCESS
>> [0.430s]
>> [INFO] axis2.wso2  SUCCESS
>> [3.789s]
>> *[INFO] Apache Axis2 - Transport - JMS  FAILURE
>> [0.140s]*
>> [INFO] WSS4J . SKIPPED
>> [INFO] wss4j.wso2  SKIPPED
>> [INFO] httpcore.wso2 . SKIPPED
>> [INFO] spring.framework.wso2 . SKIPPED
>> [INFO] WSO2 Carbon - Utilities ... SKIPPED
>> [INFO] WSO2 Carbon - JSR 107 API . SKIPPED
>> [INFO] WSO2 Carbon - User Manager Kernel . SKIPPED
>> [INFO] WSO2 Carbon - Registry Kernel . SKIPPED
>> [INFO] WSO2 Carbon - Application Deployer  SKIPPED
>> [INFO] WSO2 Carbon - Kernel .. SKIPPED
>> [INFO] WSO2 Carbon - Standalone Server ... SKIPPED
>> [INFO] WSO2 Carbon - Coordination Core ... SKIPPED
>> [INFO] WSO2 Carbon - Services  SKIPPED
>> [INFO] WSO2 Carbon - Server Administration ... SKIPPED
>> [INFO] WSO2 Carbon - carbon tomcat bundle  SKIPPED
>> [INFO] WSO2 Carbon - Carbon specific tomcat extensions ... SKIPPED
>> [INFO] WSO2 Carbon Kernel Kernel Patch 0001 .. SKIPPED
>> [INFO] WSO2 Carbon Kernel Kernel Core Patch 0001 . SKIPPED
>> [INFO] Distribution-Aggregate  SKIPPED
>> [INFO] WSO2 Carbon - Kernel Patch0001 Feature  SKIPPED
>> [INFO] 
>> 
>> [INFO] BUILD FAILURE
>> [INFO] 
>> 
>> [INFO] Total time: 3:11.088s
>> [INFO] Finished at: Mon Apr 04 12:00:41 IST 2016
>> [INFO] Final Memory: 74M/1132M
>> [INFO] 
>> 
>> *[ERROR] Failed to execute goal on project axis2-transport-jms: Could not
>> resolve dependencies for project
>> org.apache.axis2:axis2-transport-jms:bundle:1.1.0-wso2v9: The following
>> artifacts could not be resolved:
>> org.apache.qpid:qpid-broker:jar:1.0-incubating-M2.1,
>> org.apache.qpid:qpid-client:jar:1.0-incubating-M2.1: Failure to find
>> org.apache.qpid:qpid-broker:jar:1.0-incubating-M2.1 in
>> http://people.apache.org/repo/m2-incubating-repository/
>> <http://people.apache.org/repo/m2-incubating-repository/> was cached in the
>> local repository, resolution will not be reattempted until the update
>> interval of apache-incubating has elapsed or updates are forced -> [Help 1]*
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/
>> DependencyResolutionException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>> [ERROR] mvn  -rf :axis2-transport-jms
>>
>> Thanks,
>> Suhan
>>
>> Suhan Dharmasuriya
>> Software Engineer - Test Automation
>>
>> *WSO2, Inc. *
>>
>> lean . enterprise . middleware
>> Tel: +94 112 145345
>> Mob: +94 779 869138
>> Blog: http://suhan-opensource.blogspot.com/
>>
>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Associate Technical Lead,
>> Platform Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635
>> Blog - *http://kishanthan.wordpress.com
>> <http://kishanthan.wordpress.com>*
>> Twitter - *http://twitter.com/kishanthan <http://twitter.com/kishanthan>*
>>
>
>
> Suhan Dharmasuriya
> Software Engineer - Test Automation
>
> *WSO2, Inc. *
>
> lean . enterprise . middleware
> Tel: +94 112 145345
> Mob: +94 779 869138
> Blog: http://suhan-opensource.blogspot.com/
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
https://wso2.com/signature*Malintha Adikari*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE][RC1] Release - WSO2 Business Process Server 3.6.0 RC1

2016-08-25 Thread Malintha Adikari
;>>
>>>>>>>> *Run-time* : https://github.com/wso2/produc
>>>>>>>> t-bps/releases/tag/v3.6.0-RC1
>>>>>>>> *Tooling*  : https://github.com/wso2/devstu
>>>>>>>> dio-tooling-bps/releases/tag/Released-release-3.6.0-RC1-2016
>>>>>>>> -08-24-114818
>>>>>>>>
>>>>>>>> Please vote as follows.
>>>>>>>> [+] Stable - go ahead and release
>>>>>>>> [-] Broken - do not release (explain why)
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> ~ WSO2 BPS Team ~
>>>>>>>>
>>>>>>>> --
>>>>>>>> Milinda Perera
>>>>>>>> Senior Software Engineer;
>>>>>>>> WSO2 Inc. http://wso2.com ,
>>>>>>>> Mobile: (+94) 714 115 032
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Vinod Kavinda
>>>>>>> Software Engineer
>>>>>>> *WSO2 Inc. - lean . enterprise . middleware <http://www.wso2.com>.*
>>>>>>> Mobile : +94 (0) 712 415544
>>>>>>> Blog : http://soatechflicks.blogspot.com/
>>>>>>> [image: http://wso2.com/signature]
>>>>>>> <http://wso2.com/signature>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Milinda Perera
>>>>>> Senior Software Engineer;
>>>>>> WSO2 Inc. http://wso2.com ,
>>>>>> Mobile: (+94) 714 115 032
>>>>>>
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Amal Gunatilake*
>>>>> WSO2 Inc.; http://wso2.com
>>>>> Lean . Enterprise . Middleware
>>>>>
>>>>> mobile: (+94) 773561195
>>>>> blog: amalg-blogs.blogspot.com; twitter: @daag123
>>>>> linkedIn: https://www.linkedin.com/in/amalgunatilake
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Milinda Perera
>>>> Senior Software Engineer;
>>>> WSO2 Inc. http://wso2.com ,
>>>> Mobile: (+94) 714 115 032
>>>>
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Sudharma Subasinghe,
>>> Software Engineer,
>>> WSO2 Inc.
>>> Email: sudhar...@wso2.com <hasi...@wso2.com>
>>> Mobile : +94 710 565 157 <%2B94%20718%20210%20200>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Heshitha Hettihewa
>> *Software Engineer*
>> Mobile : +94716866386
>> <%2B94%20%280%29%20773%20451194>
>> heshit...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Nandika Jayawardana
> WSO2 Inc ; http://wso2.com
> lean.enterprise.middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
https://wso2.com/signature*Malintha Adikari*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Cannot append third context url to startup log

2016-08-04 Thread Malintha Adikari
Hi,

We have 3 jaggery apps in PC and we want to show each app context URL in
startup log. We can add context URLs up to two apps but 3rd app context URL
is not appearing in the log. I got to know that this is a known issue. Do
we have fix/workaround for this issue ? Is there any public jira to track
the issue ?

Regards,
Malintha

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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Error while starting-up DAS 3.0.1 with -Dsetup option

2016-07-25 Thread Malintha Adikari
terService(ServiceRegistry.java:214)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
at
org.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81)
at
org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40)
at
org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38)
at
org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5262)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5550)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
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)
Caused by: java.io.FileNotFoundException:
/home/malintha/projects/wso2/wso2das-3.0.1/dbscripts/identity/h2.sql (No
such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:146)
at java.io.FileInputStream.(FileInputStream.java:101)
at
org.wso2.carbon.identity.core.persistence.IdentityDBInitializer.executeSQLScript(IdentityDBInitializer.java:235)
... 63 more

Regards,
Malintha

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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Automation][APIM] Integrating APIM testng tests with Heartbeat in cloud

2016-02-17 Thread Malintha Adikari
Hi Erandi,

You can refer APIM product integration test module for doing this[1]. We
have defined required dependencies for backend tests in test-back end pom
file [2] and  you can find relevant dependency versions in parent poms.

[1].
https://github.com/wso2/product-apim/tree/master/modules/integration/tests-integration

[2].
https://github.com/wso2/product-apim/blob/master/modules/integration/tests-integration/tests-backend/pom.xml

Regards,
Malintha

On Wed, Feb 17, 2016 at 4:29 PM, Erandi Ganepola <era...@wso2.com> wrote:

> Hi All,
>
> I'm trying to run APIM Integration test cases(wriiten in testng framework)
> through "Cloud Heartbeat system" and I'm using APIM testng.xml and
> automation.xml files. Through my code I'm reading those files and going to
> run integration test cases.
>
> I have added below dependencies to relevant pom in my project. But still
> it has some issues with resolving the class paths.
>
> Can someone explain what are the exact dependencies I should use or is
> there a matter with feasibility of this scenario?
>
> 
> org.wso2.am
>
> org.wso2.carbon.am.integration.backend.test
> 1.10.1-SNAPSHOT
> 
> 
> org.wso2.am
> org.wso2.am.integration.admin.clients
> 1.10.1-SNAPSHOT
> 
> 
> org.wso2.am
>
> org.wso2.am.integration.test.extensions
> 1.10.1-SNAPSHOT
> 
> 
> org.wso2.am
>
> org.wso2.am.integration.common.test.utils
> 1.10.1-SNAPSHOT
> 
> 
> org.wso2.am
> org.wso2.am.integration.ui.pages
> 1.10.1-SNAPSHOT
> 
>
> Thanks and Regards,
> Erandi.
>
> Erandi Ganepola
> Software Engineering Intern
> +94710695692
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM] API Manager Integration test cases to be run through Heartbeat

2016-02-02 Thread Malintha Adikari
Hi Erandi,

We use AutomationContext object to store all test environment related
information. If we want to run a test case using tenant user, we have to
create AutomationContext object providing that tenant user information. So
we are creating AutomationContext object before we start executing test
case (we create this object under @BeforeClass annotation).

When we create AutomationContext object we are getting user related data
through TestUserMode object. Incase, we need to execute same test case for
both super tenant  and tenant user, we create data provider with all those
users and provide that data provider to the test case. Then test case will
be executed sequentially for all users mentioned in the data provider (for
each test run , separate AutomationContext object will be created for the
current user).

Each test case inherits from base test class where we create
AutomationContext object in it's init() method. In APIMIntergrationBaseTest
class there are two overloading methods

1. init() - AutomationContext is created using super tenant
2. init(TestUserMode userMode) - Automation context is created using the
provided TenantUserMode object.

We can use following logic to differentiate test cases which are running in
super tenant + tenant mode or only in super tenant mode.

   - If a test case has a data provider and AutomationContext has been
   created using TestUserMode object provided by that data provider, that test
   case will be executed for all users

ex:
[2]

@Factory(dataProvider = "userModeDataProvider") public ESBJAVA3380TestCase(
TestUserMode userMode) {
this.userMode = userMode;
}
@DataProvider(name = "userModeDataProvider")
public static Object[][] userModeDataProvider() {
return new Object[][]{
new Object[]{TestUserMode.SUPER_TENANT_ADMIN},
new Object[]{TestUserMode.TENANT_ADMIN},
};
}
@BeforeClass(alwaysRun = true)
public void setEnvironment() throws Exception {
.
super.init(userMode);
Here we run test case using both super tenant and tenant


   - If a test case has no data provider and it is using super class inti()
   method, that test case is executed only for super tenant.


[3]

public void initialize() throws APIManagerIntegrationTestException,
XPathExpressionException,
MalformedURLException {
super.init();


[1]
https://github.com/wso2/product-apim/blob/master/modules/integration/tests-common/integration-test-utils/src/main/java/org/wso2/am/integration/test/utils/base/APIMIntegrationBaseTest.java
[2]
https://github.com/wso2/product-apim/blob/master/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/json/ESBJAVA3380TestCase.java
[3].
https://github.com/wso2/product-apim/blob/master/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/api/lifecycle/APIAccessibilityOfPublishedOldAPIAndPublishedCopyAPITestCase.java

Regards,
Malintha


On Wed, Feb 3, 2016 at 11:28 AM, Erandi Ganepola <era...@wso2.com> wrote:

> Hi All,
>
> I'm going to run Api manager integration test cases through Heartbeat
> system in cloud.
>
> So I need to clarify the tests which have been written in "tenant mood"
> because only those will be tested in Heartbeat (test cases written in
> "super tenant mood" won't be checked).
>
> Please mention the test cases which have been written in "tenant mood".
>
> Thanks and Regards,
> Erandi.
>
> Erandi Ganepola
> Software Engineering Intern
> +94710695692
> +94754191524
>
>
> _______
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Fazlan Nazeem

2016-01-12 Thread Malintha Adikari
Congratulations..!!!

On Tue, Jan 12, 2016 at 4:36 PM, Nirmal Fernando <nir...@wso2.com> wrote:

> Hi All,
>
> It's my pleasure to announce *Fazlan Nazeem* as a *WSO2 Committer*. He
> has been a key contributor to the *WSO2 Machine Learner *Product and in
> recognition of his work, he had been voted as a WSO2 Committer.
>
> Congratulations Fazlan and keep up the good work!
>
> --
>
> Thanks & regards,
> Nirmal
>
> Team Lead - WSO2 Machine Learner
> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM] APIM 1.10.X Build failure

2015-12-07 Thread Malintha Adikari
Hi,

Issue was with my current branch and resolved that. Thank you very much.

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


Re: [Dev] [APIM] APIM 1.10.X Build failure

2015-12-07 Thread Malintha Adikari
epositories/releases/,
>>>> releases=true, snapshots=true),
>>>>
>>>> [ERROR] wso2.snapshots (
>>>> http://maven.wso2.org/nexus/content/repositories/snapshots/,
>>>> releases=false, snapshots=true),
>>>>
>>>> [ERROR] central (http://repo.maven.apache.org/maven2, releases=true,
>>>> snapshots=false)
>>>>
>>>> [ERROR] -> [Help 1]
>>>>
>>>> [ERROR]
>>>>
>>>> [ERROR] To see the full stack trace of the errors, re-run Maven with
>>>> the -e switch.
>>>>
>>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>>>
>>>> [ERROR]
>>>>
>>>> [ERROR] For more information about the errors and possible solutions,
>>>> please read the following articles:
>>>>
>>>> [ERROR] [Help 1]
>>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>>>>
>>>> [ERROR]
>>>>
>>>> [ERROR] After correcting the problems, you can resume the build with
>>>> the command
>>>>
>>>> [ERROR]   mvn  -rf :am-p2-profile
>>>> [1] https://github.com/wso2/product-apim/
>>>>
>>>> Thanks,
>>>> Iqbal
>>>> --
>>>> Irham Iqbal
>>>> Software Engineer - Test Automation
>>>> WSO2, Inc.: http://wso2.com
>>>> lean. enterprise. middleware
>>>> phone: +94 777888452
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Madusanka Premaratne* | Associate Software Engineer
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka
>> Mobile: +94 71 835 70 73| Work: +94 112 145 345
>> Email: madusan...@wso2.com | Web: www.wso2.com
>>
>> [image: Facebook] <https://www.facebook.com/maduzanka> [image: Twitter]
>> <https://twitter.com/rmmpremaratne> [image: Google Plus]
>> <https://plus.google.com/u/0/+MadusankaPremaratnemaduz/about/p/pub> [image:
>> Linkedin] <http://lk.linkedin.com/in/madusanka/> [image: Instagram]
>> <http://instagram.com/madusankapremaratne> [image: Skype]
>> <http://@rmmpremaratne>
>>
>>
>
>
> --
> Irham Iqbal
> Software Engineer - Test Automation
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
> phone: +94 777888452
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Ruwan Abeykoon

2015-12-01 Thread Malintha Adikari
Congratulations Ruwan.

On Tue, Dec 1, 2015 at 1:30 PM, Dinusha Senanayaka <dinu...@wso2.com> wrote:

> Hi All,
>
> It is my pleasure to welcome Ruwan Abeykoon as a WSO2 Committer.  Ruwan,
> congratulations and keep up the good work.
>
> Regards,
> Dinusha.
>
> --
> Dinusha Dilrukshi
> Associate Technical Lead
> WSO2 Inc.: http://wso2.com/
> Mobile: +94725255071
> Blog: http://dinushasblog.blogspot.com/
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Sachith Withana

2015-11-30 Thread Malintha Adikari
Congratulations Sachith...

On Tue, Dec 1, 2015 at 10:59 AM, Dunith Dhanushka <dun...@wso2.com> wrote:

> Congrats Sachith!
>
> On Tue, Dec 1, 2015 at 10:54 AM, Anjana Fernando <anj...@wso2.com> wrote:
>
>> Hi everyone,
>>
>> It is my pleasure to welcome Sachith as a WSO2 committer. He has done
>> numerous contributions to the Data Analytics Server product, in doing
>> development and bringing in ideas, and has proved to be a valuable and a
>> dependable person. So Sachith welcome aboard, and keep up with the good
>> work! ..
>>
>> Cheers,
>> Anjana.
>> --
>> *Anjana Fernando*
>> Senior Technical Lead
>> WSO2 Inc. | http://wso2.com
>> lean . enterprise . middleware
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Regards,
>
> Dunith Dhanushka,
> Senior Software Engineer
> WSO2 Inc,
>
> Mobile - +94 71 8615744
> Blog - dunithd.wordpress.com <http://blog.dunith.com>
> Twitter - @dunithd <http://twitter.com/dunithd>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Kesavan Yogarajah

2015-11-30 Thread Malintha Adikari
Congratulations Kesavan..

On Tue, Dec 1, 2015 at 10:37 AM, Rajeenthini Satkunam <rajeenth...@wso2.com>
wrote:

> Congratulations Kesavan 
>
> On Fri, Nov 27, 2015 at 3:04 PM, Kalyani Yogeswaranathan <kaly...@wso2.com
> > wrote:
>
>> Congrats Kesavan!!!
>>
>> On Fri, Nov 27, 2015 at 12:02 PM, Malaka Silva <mal...@wso2.com> wrote:
>>
>>> Hi Devs,
>>>
>>> Its my pleasure to welcome Kesavan Yogarajah as a WSO2 Committer.
>>>
>>> Kesavan has been working with the WSO2 Connectors team and has
>>> contributed immensely to  ESB product on RnD, IS Authenticators and ESB
>>> Connectors. He is a very dedicated and committed individual who is
>>> eager to learn.
>>>
>>> Kesavan, welcome aboard and keep up the good work.
>>>
>>> Best Regards,
>>>
>>> Malaka Silva
>>> Senior Tech Lead
>>> M: +94 777 219 791
>>> Tel : 94 11 214 5345
>>> Fax :94 11 2145300
>>> Skype : malaka.sampath.silva
>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>> Blog : http://mrmalakasilva.blogspot.com/
>>>
>>> WSO2, Inc.
>>> lean . enterprise . middleware
>>> http://www.wso2.com/
>>> http://www.wso2.com/about/team/malaka-silva/
>>> <http://wso2.com/about/team/malaka-silva/>
>>> https://store.wso2.com/store/
>>>
>>> Save a tree -Conserve nature & Save the world for your future. Print
>>> this email only if it is absolutely necessary.
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> *Kalyani Yogeswaranathan*
>>
>> *Associate software engineer*
>> *WSO2 Inc.*
>>
>> *Mobile: 0776390284*
>>
>> _______
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Thank You.*
>
> *Rajeenthini Satkunam*
>
> *Associate Software Engineer | WSO2*
>
>
> *E:rajeenth...@wso2.com <rajeenth...@wso2.com>*
>
> *M :+94770832823 <%2B94770832823>   *
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM 1.10.x] Error while add comment on API

2015-11-24 Thread Malintha Adikari
engine.engine.RhinoEngine.execScript(RhinoEngine.java:567)
... 38 more

Regards,
Malintha

On Tue, Nov 24, 2015 at 12:47 PM, Nuwan Dias <nuw...@wso2.com> wrote:

> The error says "ssoEnabled" is not defined. Can you check if an old
> webapp is being added to the runtime via dep-sync maybe?
>
> Thanks,
> NuwanD.
>
> On Tue, Nov 24, 2015 at 12:33 PM, Malintha Adikari <malin...@wso2.com>
> wrote:
>
>> Hi,
>>
>> I am getting following error while trying to add comment to an API in
>> store node in a distributed setup. I tried this in stadalone pack and this
>> issue is not there. Is there any suspicious configuration which cause this
>> error ?
>>
>> TID: [-1234] [] [2015-11-24 06:34:29,454] ERROR
>> {org.jaggeryjs.jaggery.core.manager.WebAppManager} -
>>  org.mozilla.javascript.EcmaError: ReferenceError: "ssoEnabled" is not
>> defined. (/store/site/blocks/comment/comment-add/ajax/comment-add.jag#33)
>> {org.jaggeryjs.jaggery.core.manager.WebAppManager}
>> org.jaggeryjs.scriptengine.exceptions.ScriptException:
>> org.mozilla.javascript.EcmaError: ReferenceError: "ssoEnabled" is not
>> defined. (/store/site/blocks/comment/comment-add/ajax/comment-add.jag#33)
>> at
>> org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:571)
>> at
>> org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
>> at
>> org.jaggeryjs.jaggery.core.manager.WebAppManager.exec(WebAppManager.java:587)
>> at
>> org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:507)
>> at
>> org.jaggeryjs.jaggery.core.JaggeryServlet.doPost(JaggeryServlet.java:29)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>> at
>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
>> at
>> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
>> at
>> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:378)
>> at
>> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
>> at
>> org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>> at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
>> at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
>> at
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
>> at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
>> at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
>> at
>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99)
>> at
>> org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
>> at
>> org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:57)
>> at
>> org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
>> at
>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)
>> at
>> org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)
>> at
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
>> at
>> org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
>> at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
>> at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
>> at
>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
>> at
>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
>> at
>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1739)
>> at
>> org.apache.tomcat.util.net.NioEndpoint$So

Re: [Dev] [APIM 1.10.x] Error while add comment on API

2015-11-24 Thread Malintha Adikari
I meant re-prepared the distributed setup by "restart" term.

On Tue, Nov 24, 2015 at 2:31 PM, Malintha Adikari <malin...@wso2.com> wrote:

> Hi Nuwan,
>
> We cleaned-up the SVN repo and restarted the distributed setup in order to
> stop deploying any old web app. Now I am getting following error while
> adding comment.
>
> TID: [-1234] [] [2015-11-24 08:52:44,820]  INFO
> {JAGGERY.site.blocks.api-doc.ajax.get:jag} -  carbon.super
> {JAGGERY.site.blocks.api-doc.ajax.get:jag}
> TID: [-1234] [] [2015-11-24 08:52:44,825]  INFO
> {JAGGERY.site.blocks.api-doc.ajax.get:jag} -  carbon.super
> {JAGGERY.site.blocks.api-doc.ajax.get:jag}
> TID: [-1234] [] [2015-11-24 08:52:54,721] ERROR
> {org.wso2.carbon.apimgt.impl.dao.ApiMgtDAO} -  Failed to add comment data,
> for  CalculatorAPI-1.0 {org.wso2.carbon.apimgt.impl.dao.ApiMgtDAO}
> java.sql.SQLException: Generated keys not requested. You need to specify
> Statement.RETURN_GENERATED_KEYS to Statement.executeUpdate() or
> Connection.prepareStatement().
> at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:996)
> at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:935)
> at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:924)
> at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:870)
> at com.mysql.jdbc.StatementImpl.getGeneratedKeys(StatementImpl.java:1817)
> at
> org.wso2.carbon.apimgt.impl.dao.ApiMgtDAO.addComment(ApiMgtDAO.java:7575)
> at
> org.wso2.carbon.apimgt.impl.APIConsumerImpl.addComment(APIConsumerImpl.java:2158)
> at
> org.wso2.carbon.apimgt.impl.UserAwareAPIConsumer.addComment(UserAwareAPIConsumer.java:97)
> at
> org.wso2.carbon.apimgt.hostobjects.APIStoreHostObject.jsFunction_addComments(APIStoreHostObject.java:2032)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
> at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:386)
> at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
> at
> org.jaggeryjs.rhino.store.modules.comment.c2._c_anonymous_1(/store/modules/comment/add.jag:8)
> at
> org.jaggeryjs.rhino.store.modules.comment.c2.call(/store/modules/comment/add.jag)
> at
> org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2430)
> at org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:269)
> at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:97)
> at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
> at
> org.jaggeryjs.rhino.store.modules.comment.c0._c_anonymous_1(/store/modules/comment/module.jag:5)
> at
> org.jaggeryjs.rhino.store.modules.comment.c0.call(/store/modules/comment/module.jag)
> at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
> at
> org.jaggeryjs.rhino.store.site.blocks.comment.comment_add.ajax.c0._c_anonymous_1(/store/site/blocks/comment/comment-add/ajax/comment-add.jag:57)
> at
> org.jaggeryjs.rhino.store.site.blocks.comment.comment_add.ajax.c0.call(/store/site/blocks/comment/comment-add/ajax/comment-add.jag)
> at org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:23)
> at
> org.jaggeryjs.rhino.store.site.blocks.comment.comment_add.ajax.c0._c_script_0(/store/site/blocks/comment/comment-add/ajax/comment-add.jag:4)
> at
> org.jaggeryjs.rhino.store.site.blocks.comment.comment_add.ajax.c0.call(/store/site/blocks/comment/comment-add/ajax/comment-add.jag)
> at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
> at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
> at
> org.jaggeryjs.rhino.store.site.blocks.comment.comment_add.ajax.c0.call(/store/site/blocks/comment/comment-add/ajax/comment-add.jag)
> at
> org.jaggeryjs.rhino.store.site.blocks.comment.comment_add.ajax.c0.exec(/store/site/blocks/comment/comment-add/ajax/comment-add.jag)
> at
> org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567)
> at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
> at
> org.jaggeryjs.jaggery.core.manager.WebAppManager.exec(WebAppManager.java:587)
> at
> org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:507)
> at org.jaggeryjs.jaggery.core.JaggeryServlet.doPost(JaggeryServlet.java:29)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> at
> org.apache.catalina.core.Ap

[Dev] [APIM 1.10.x] Error while add comment on API

2015-11-23 Thread Malintha Adikari
omment_add.ajax.c0._c_script_0(/store/site/blocks/comment/comment-add/ajax/comment-add.jag:4)
at
org.jaggeryjs.rhino.store.site.blocks.comment.comment_add.ajax.c0.call(/store/site/blocks/comment/comment-add/ajax/comment-add.jag)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
at
org.jaggeryjs.rhino.store.site.blocks.comment.comment_add.ajax.c0.call(/store/site/blocks/comment/comment-add/ajax/comment-add.jag)
at
org.jaggeryjs.rhino.store.site.blocks.comment.comment_add.ajax.c0.exec(/store/site/blocks/comment/comment-add/ajax/comment-add.jag)
at
org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567)

Regards,
Malintha


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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] "hostname in certificate didn't match:" issue when accessing IS dashboard

2015-11-19 Thread Malintha Adikari
Hi Aprana,

I am getting the same issue while accessing APIM distributed cluster nodes
fronted through loadbalancer(nginx) instance. Did you able to solve this
issue ? If so how did you solve it ?

Regards,
Malintha

On Wed, Oct 28, 2015 at 2:09 PM, Isuru Udana <isu...@wso2.com> wrote:

> Hi Aparna,
>
> Bundles are coming from features, whatever version defined in the product
> pom have no relationship for that.
>
>  Thanks.
>
> On Wed, Oct 28, 2015 at 11:20 AM, Aparna Karunarathna <apa...@wso2.com>
> wrote:
>
>> Hi Isuru,
>>
>> I checked version from the ESB master branch pom[1].
>>
>> 4.1.2
>>
>> [1] https://github.com/wso2/product-esb/blob/master/pom.xml
>>
>> Regards,
>> Aparna.
>>
>> On Tue, Oct 27, 2015 at 5:41 AM, Isuru Udana <isu...@wso2.com> wrote:
>>
>>> Hi Aparna,
>>>
>>> We are using 4.3.1.
>>>
>>>
>>> Thanks.
>>>
>>> On Mon, Oct 26, 2015 at 10:36 AM, Aparna Karunarathna <apa...@wso2.com>
>>> wrote:
>>>
>>>> Hi Kasun/Isuru,
>>>>
>>>> Currently ESB uses Apache httpclient 4.1.2, shouldn't it upgrade to
>>>> newer version?
>>>>
>>>> @Deep, Thanks for the clarification.
>>>>
>>>> Regards,
>>>> Aparna
>>>>
>>>> On Sat, Oct 24, 2015 at 11:38 AM, Deependra Ariyadewa <d...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Aparna,
>>>>>
>>>>> This can happen when the client does not send the SNI[1][2] to the
>>>>> server side to select the proper HTTPS virtual host. In this case NGINX
>>>>> reverse proxy created in the vhost. Most of the modern browsers send SNI 
>>>>> to
>>>>> server, therefore you will not observe this when you make the request via 
>>>>> a
>>>>> modern browser.
>>>>>
>>>>> Most of the new Java HTTP client libraries also support SNI. As an
>>>>> example, Apache httpclient library support SNI from version 4.3.2 [3]. If
>>>>> you use a library which does not support SNI, you will get this error for
>>>>> HTTPS call going towards services hosted in virtual host environments.
>>>>>
>>>>> [1] https://en.wikipedia.org/wiki/Server_Name_Indication
>>>>> [2] https://www.ietf.org/rfc/rfc3546.txt
>>>>> [3] https://hc.apache.org/news.html
>>>>>
>>>>> On Fri, Oct 23, 2015 at 11:07 AM, Aparna Karunarathna <apa...@wso2.com
>>>>> > wrote:
>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> I have encountered a weird "hostname in certificate didn't match:"
>>>>>> issue when accessing IS dashboard. My setup details are as follows.
>>>>>>
>>>>>> *Setup Details*
>>>>>> *IS cluster*
>>>>>> - 3 nodes cluster
>>>>>> - Hostname - mgt.is.wso2.com
>>>>>> - Certificate CN - mgt.is.wso2.com
>>>>>>
>>>>>> *BPS cluster*
>>>>>> - 2 nodes cluster (manager/worker)
>>>>>> - Hostnames - Manager - mgt.bps.wso2.com / Worker - wrk.bps.wso2.com
>>>>>> - Certificate CN - *.bps.wso2.com
>>>>>>
>>>>>> * Both nodes are fronted by same Nginx plus load balancer.
>>>>>>
>>>>>> [1]
>>>>>> javax.net.ssl.SSLException: hostname in certificate didn't match: <
>>>>>> mgt.is.wso2.com> != <*.bps.wso2.com>
>>>>>> at
>>>>>> org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:238)
>>>>>> at
>>>>>> org.apache.http.conn.ssl.BrowserCompatHostnameVerifier.verify(BrowserCompatHostnameVerifier.java:54)
>>>>>> 
>>>>>> 
>>>>>>
>>>>>> When we check the browser cookie, it gave correct certificate. (
>>>>>> mgt.is.wso2.com), but when we check it from java client[2] it gives
>>>>>> the bps certificate (*.bps.wso2.com) instead of IS.
>>>>>>
>>>>>> [2]
>>>>>> https://darray.wordpress.com/2015/07/12/freak-vulnerability-and-disabling-weak-export-cipher-suites-in-wso2-carbon-4-2-0-based-products/
>>>>>>
>>>>>> What is the reason for this? Is it my config issue or Nginx issue or
>&g

[Dev] Typo in "Deployment Synchronizer" section in carbon.xml file

2015-11-11 Thread Malintha Adikari
Hi,

There is a typo[1] in $subject. Found this in APIM 1.10.x pack.

 [1]  

Regards,
Malintha
-- 
*Malintha Adikari*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Warning/error while starting up APIM 1.10.x

2015-11-10 Thread Malintha Adikari
Hi,

I am getting following warning while server starting. What is the reason
for this ?

TID: [-1234] [] [2015-11-11 06:49:10,065]  WARN
{org.apache.synapse.commons.util.MiscellaneousUtil} -  Error loading
properties from a file at from the System defined location: /mnt/
192.168.57.131/gateway/wso2am-1.10.0-SNAPSHOT/repository/conf/synapse-handlers.xml
{org.apache.synapse.commons.util.MiscellaneousUtil}

Regards,
Malintha


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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [APIM 1.10.x] Error while adding API from Tenant user

2015-11-09 Thread Malintha Adikari
(AbstractProtocol.java:611)_
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1739)_
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1698)_
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)_
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)_
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)_
at
java.lang.Thread.run(Thread.java:745)_Caused by:
org.wso2.carbon.apimgt.api.APIManagementException: Error in adding API
:WeatherAPI_ at
org.wso2.carbon.apimgt.impl.APIProviderImpl.addAPI(APIProviderImpl.java:445)_
at
org.wso2.carbon.apimgt.impl.UserAwareAPIProvider.addAPI(UserAwareAPIProvider.java:48)_
at
org.wso2.carbon.apimgt.hostobjects.APIProviderHostObject.saveAPI(APIProviderHostObject.java:927)_
at
org.wso2.carbon.apimgt.hostobjects.APIProviderHostObject.jsFunction_createAPI(APIProviderHostObject.java:832)_
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)_ at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)_
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)_
at
java.lang.reflect.Method.invoke(Method.java:606)_ at
org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)_ ... 59
more_Caused by: org.wso2.carbon.apimgt.api.APIManagementException: Error
while performing registry transaction operation_ at
org.wso2.carbon.apimgt.impl.AbstractAPIManager.handleException(AbstractAPIManager.java:780)_
at
org.wso2.carbon.apimgt.impl.APIProviderImpl.createAPI(APIProviderImpl.java:1732)_
at
org.wso2.carbon.apimgt.impl.APIProviderImpl.addAPI(APIProviderImpl.java:424)_
...
67 more_Caused by:
org.wso2.carbon.governance.api.exception.GovernanceException: Error in
associating lifecycle for the artifact. id:
6b928596-5dad-48a6-9a5f-c99952eca972, path:
/apimgt/applicationdata/provider/malintha-AT-malintha.com/WeatherAPI/1.0.0/api._
at
org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifactImpl.attachLifecycle(GovernanceArtifactImpl.java:391)_
at
org.wso2.carbon.apimgt.impl.APIProviderImpl.createAPI(APIProviderImpl.java:1684)_
...
68 more_Caused by:
org.wso2.carbon.registry.core.exceptions.RegistryException: Couldn't find
aspectName 'APILifeCycle'_ at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.associateAspect(EmbeddedRegistry.java:2428)_
at
org.wso2.carbon.registry.core.caching.CacheBackedRegistry.associateAspect(CacheBackedRegistry.java:416)_
at
org.wso2.carbon.registry.core.session.UserRegistry.associateAspectInternal(UserRegistry.java:1897)_
at
org.wso2.carbon.registry.core.session.UserRegistry.access$3800(UserRegistry.java:60)_
at
org.wso2.carbon.registry.core.session.UserRegistry$39.run(UserRegistry.java:1869)_
at
org.wso2.carbon.registry.core.session.UserRegistry$39.run(UserRegistry.java:1866)_
at
java.security.AccessController.doPrivileged(Native Method)_ at
org.wso2.carbon.registry.core.session.UserRegistry.associateAspect(UserRegistry.java:1866)_
at
org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifactImpl.attachLifecycle(GovernanceArtifactImpl.java:378)_
...
69 more_ (Sanitized)

Regards,
Malintha

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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] Error when Running Automation Tests in Parallel

2015-11-05 Thread Malintha Adikari
Hi Akalanka,

Can you point me to the test case which you are trying to run in parallel.

Regards,
Malintha

On Thu, Nov 5, 2015 at 11:47 AM, Akalanka Pagoda Arachchi <
darsha...@wso2.com> wrote:

> Hi All,
>
> When we configure to run automation tests in parallel, following error is
> thrown intermittently.
>
> I"ve enabled to run 10 threads in parallel with the following config in
> testng.xml file.
>
>  thread-count="10">
>
> Stacktrace
>
> java.lang.NullPointerException
>   at org.apache.xerces.dom.ParentNode.nodeListGetLength(Unknown Source)
>   at org.apache.xerces.dom.ParentNode.getLength(Unknown Source)
>   at 
> org.wso2.carbon.automation.engine.context.AutomationContext.extractUser(AutomationContext.java:307)
>   at 
> org.wso2.carbon.automation.engine.context.AutomationContext.getSuperTenant(AutomationContext.java:286)
>   at 
> org.wso2.carbon.automation.engine.context.AutomationContext.getContextTenant(AutomationContext.java:336)
>   at 
> org.wso2.carbon.automation.engine.context.AutomationContext.getContextUrls(AutomationContext.java:477)
>   at 
> org.wso2.mb.integration.common.utils.backend.MBIntegrationBaseTest.init(MBIntegrationBaseTest.java:59)
>   at 
> org.wso2.mb.integration.tests.amqp.functional.AutoAcknowledgementsTestCase.prepare(AutoAcknowledgementsTestCase.java:61)
>
>
> There are kind of similar issue reported regarding DOM usage with threads 
> [1]. This is happening when initialising each test with following two lines.
>
>
> automationContext = new AutomationContext("MB", userMode);
>
> backendURL = automationContext.getContextUrls().getBackEndUrl();
>
>
> Any idea on this?
>
>
> Thanks,
>
> Akalanka
>
>
> [1] - https://issues.apache.org/jira/browse/XERCESJ-727
>
>
>
>
> --
> *Darshana Akalanka Pagoda Arachchi,*
> *Software Engineer*
> *078-4721791*
>



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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] Error when Running Automation Tests in Parallel

2015-11-05 Thread Malintha Adikari
Thank you. I will have a look.

On Thu, Nov 5, 2015 at 2:10 PM, Akalanka Pagoda Arachchi <darsha...@wso2.com
> wrote:

> Hi Malintha,
>
> The testng.xml file is located in [1].
>
> The test cases failing are different in each run, at the moment test [2],
> and [3] have failed in jenkins.
>
> Please note that although this is frequent in jenkins, when doing a local
> run, this issue is rarely occurring. Furthermore, this issue did not occur
> when the tests are run sequentially. We made it to run in parallel since it
> will save more time when building.
>
> [1] -
> https://github.com/wso2/product-mb/blob/master/modules/integration/tests-integration/tests-amqp/src/test/resources/testng.xml
> [2] -
> https://github.com/wso2/product-mb/blob/master/modules/integration/tests-integration/tests-amqp/src/test/java/org/wso2/mb/integration/tests/amqp/functional/AutoAcknowledgementsTestCase.java
> [3] -
> https://github.com/wso2/product-mb/blob/master/modules/integration/tests-integration/tests-amqp/src/test/java/org/wso2/mb/integration/tests/amqp/functional/DurableTopicSubscriptionTestCase.java
>
> Thanks,
> Akalanka.
>
>
> On Thu, Nov 5, 2015 at 1:51 PM, Malintha Adikari <malin...@wso2.com>
> wrote:
>
>> Hi Akalanka,
>>
>> Can you point me to the test case which you are trying to run in
>> parallel.
>>
>> Regards,
>> Malintha
>>
>> On Thu, Nov 5, 2015 at 11:47 AM, Akalanka Pagoda Arachchi <
>> darsha...@wso2.com> wrote:
>>
>>> Hi All,
>>>
>>> When we configure to run automation tests in parallel, following error
>>> is thrown intermittently.
>>>
>>> I"ve enabled to run 10 threads in parallel with the following config in
>>> testng.xml file.
>>>
>>> >> thread-count="10">
>>>
>>> Stacktrace
>>>
>>> java.lang.NullPointerException
>>> at org.apache.xerces.dom.ParentNode.nodeListGetLength(Unknown Source)
>>> at org.apache.xerces.dom.ParentNode.getLength(Unknown Source)
>>> at 
>>> org.wso2.carbon.automation.engine.context.AutomationContext.extractUser(AutomationContext.java:307)
>>> at 
>>> org.wso2.carbon.automation.engine.context.AutomationContext.getSuperTenant(AutomationContext.java:286)
>>> at 
>>> org.wso2.carbon.automation.engine.context.AutomationContext.getContextTenant(AutomationContext.java:336)
>>> at 
>>> org.wso2.carbon.automation.engine.context.AutomationContext.getContextUrls(AutomationContext.java:477)
>>> at 
>>> org.wso2.mb.integration.common.utils.backend.MBIntegrationBaseTest.init(MBIntegrationBaseTest.java:59)
>>> at 
>>> org.wso2.mb.integration.tests.amqp.functional.AutoAcknowledgementsTestCase.prepare(AutoAcknowledgementsTestCase.java:61)
>>>
>>>
>>> There are kind of similar issue reported regarding DOM usage with threads 
>>> [1]. This is happening when initialising each test with following two lines.
>>>
>>>
>>> automationContext = new AutomationContext("MB", userMode);
>>>
>>> backendURL = automationContext.getContextUrls().getBackEndUrl();
>>>
>>>
>>> Any idea on this?
>>>
>>>
>>> Thanks,
>>>
>>> Akalanka
>>>
>>>
>>> [1] - https://issues.apache.org/jira/browse/XERCESJ-727
>>>
>>>
>>>
>>>
>>> --
>>> *Darshana Akalanka Pagoda Arachchi,*
>>> *Software Engineer*
>>> *078-4721791*
>>>
>>
>>
>>
>> --
>> *Malintha Adikari*
>> Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> Mobile: +94 71 2312958
>> Blog:http://malinthas.blogspot.com
>> Page:   http://about.me/malintha
>>
>
>
>
> --
> *Darshana Akalanka Pagoda Arachchi,*
> *Software Engineer*
> *078-4721791*
>



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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] Error when Running Automation Tests in Parallel

2015-11-05 Thread Malintha Adikari
Hi,
Testng provides 4 modes to run your tests in parallel[1]. Among those 4
modes, we recommend parallel="classes" mode.


*parallel="methods"*: TestNG will run all your test methods in separate
threads. Dependent methods will also run in separate threads but they will
respect the order that you specified. If you use this mode, there is a
possibility to run your test's @BeforeClass methods in different threads
than the @Test methods. According to Test Framework architecture, we use
variables which are initialized inside @BeforeClass methods inside our
@Test methods. So executing these two methods in separate threads may cause
problems. So we do not recommend to use this mode.

*parallel="classes"*: TestNG will run all the methods in the same class in
the same thread, but each class will be run in a separate thread. In this
mode all methods inside your test class (@BeforeClass , @Test, @AfterClass)
will be executed in one thread. It guarantees the values which were
assigned to variables inside @BeforeClass method are available to @Test
methods as expected. We recommend this mode to run your test in parallel.


[1] http://testng.org/doc/documentation-main.html#parallel-running
<http://testng.org/doc/documentation-main.html#parallel-running>

Regards,
Malintha


On Thu, Nov 5, 2015 at 2:41 PM, Akalanka Pagoda Arachchi <darsha...@wso2.com
> wrote:

> Thanks Dharshana.
>
> I will modify the tests as you have suggested and see if it fixes the
> issue.
>
> Thanks,
> Akalanka.
>
> On Thu, Nov 5, 2015 at 2:37 PM, Dharshana Warusavitharana <
> dharsha...@wso2.com> wrote:
>
>> Hi Akalanka,
>>
>> I see some issue how you initiate parallel test run in testng.xml
>>
>> > thread-count="10">
>>
>> parallel= true is mainly used in test method level to run test methods
>> parallel once you add this to suite level(testNG.xml) it will trigger all
>> test methods in test suites run parallel. I dont think our architecture can
>> support this.
>>
>> So what you can do is run tests parallel in class level, you can refer
>> tag below to support that.
>>
>> <*suite* name="tests-amqp-parallel" parallel="classes" thread-count="10"
>> >
>> And please update testNg version of your test suite above 6.8 (latest
>> is 6.9.9) where lots of improvements were introduced in those later
>> versions.
>>
>> And other thing you can try our is make test suites run parallel.
>>
>> 
>>
>> for this you can add several test tags inside testng.xml and those test
>> suites will run in parallel.
>>
>> Thank you,
>> Dharshana.
>>
>> On Thu, Nov 5, 2015 at 2:21 PM, Akalanka Pagoda Arachchi <
>> darsha...@wso2.com> wrote:
>>
>>> Hi Malitha,
>>>
>>> Thanks for taking a look at this.
>>>
>>> All our test cases are extended from MBIntegrationBaseTest [1]. Within
>>> each test's prepare method, we invoke the 'init' method of this class. The
>>> exception is occuring when invoking the line
>>> backendURL = automationContext.getContextUrls().getBackEndUrl();
>>>
>>> We have added a synchronise block there as well trying to rectify this
>>> issue.
>>>
>>> [1] -
>>> https://github.com/wso2/product-mb/blob/master/modules/integration/tests-common/integration-tests-utils/src/main/java/org/wso2/mb/integration/common/utils/backend/MBIntegrationBaseTest.java
>>>
>>> Thanks,
>>> Akalanka.
>>>
>>> On Thu, Nov 5, 2015 at 2:12 PM, Malintha Adikari <malin...@wso2.com>
>>> wrote:
>>>
>>>> Thank you. I will have a look.
>>>>
>>>> On Thu, Nov 5, 2015 at 2:10 PM, Akalanka Pagoda Arachchi <
>>>> darsha...@wso2.com> wrote:
>>>>
>>>>> Hi Malintha,
>>>>>
>>>>> The testng.xml file is located in [1].
>>>>>
>>>>> The test cases failing are different in each run, at the moment test
>>>>> [2], and [3] have failed in jenkins.
>>>>>
>>>>> Please note that although this is frequent in jenkins, when doing a
>>>>> local run, this issue is rarely occurring. Furthermore, this issue did not
>>>>> occur when the tests are run sequentially. We made it to run in parallel
>>>>> since it will save more time when building.
>>>>>
>>>>> [1] -
>>>>> https://github.com/wso2/product-mb/blob/master/modules/integration/tests-integration/tests-amqp/src/test/resources/testng.xml
>>>>

Re: [Dev] OpenIDConnect - Error while accessing UserInfo Endpoint

2015-11-02 Thread Malintha Adikari
No, I start Keymanager component without any profile.

On Mon, Nov 2, 2015 at 3:06 PM, Darshana Gunawardana <darsh...@wso2.com>
wrote:

> java.lang.NoClassDefFoundError:
>> org/wso2/carbon/claim/mgt/ClaimManagerHandler
>
>
> Seems like claim management feature is not started in the node which
> throws this error. Are you starting this server with some specific profile?
>
> Thanks,
>
> On Mon, Nov 2, 2015 at 2:28 PM, Malintha Adikari <malin...@wso2.com>
> wrote:
>
>> I got following error while trying
>>
>> curl -k -v -H "Authorization: Bearer d347421b2963c981cb2583dc559c090"
>> https://keymanager.am.wso2.com/oauth2/userinfo?schema=openid.
>>
>> What could be reason for this error ?
>>
>> Note: I am getting this issue only in distributed APIM setup and working
>> fine in standalone APIM pack.
>>
>>
>> < HTTP/1.1 500 Internal Server Error
>> * Server nginx/1.8.0 is not blacklisted
>> < Server: nginx/1.8.0
>> < Date: Mon, 02 Nov 2015 08:37:53 GMT
>> < Content-Type: text/html;charset=utf-8
>> < Content-Length: 6336
>> < Connection: keep-alive
>> < Content-Language: en
>> < Vary: Accept-Encoding
>>
>> Apache Tomcat/7.0.55 - Error report<!--H1
>> {fontfamily:Tahoma,Arial,sansserif;color:white;backgroundcolor:#525D76;fontsize:22px;}
>> H2
>> {fontfamily:Tahoma,Arial,sansserif;color:white;backgroundcolor:#525D76;fontsize:16px;}
>> H3
>> {fontfamily:Tahoma,Arial,sansserif;color:white;backgroundcolor:#525D76;fontsize:14px;}
>> BODY {fontfamily:Tahoma,Arial,sansserif;color:black;backgroundcolor:white;}
>> B {fontfamily:Tahoma,Arial,sansserif;color:white;backgroundcolor:#525D76;}
>> P
>> {fontfamily:Tahoma,Arial,sansserif;background:white;color:black;fontsize:12px;}A
>> {color : black;}A.name {color : black;}HR {color : #525D76;}-->
>> HTTP Status 500 - org.apache.cxf.interceptor.Fault:
>> org/wso2/carbon/claim/mgt/ClaimManagerHandler> "noshade">type Exception reportmessage 
>> org.apache.cxf.interceptor.Fault:
>> org/wso2/carbon/claim/mgt/ClaimManagerHandlerdescription
>>  The server encountered an internal error that prevented it from
>> fulfilling this request.exception 
>> java.lang.RuntimeException:
>> org.apache.cxf.interceptor.Fault:
>> org/wso2/carbon/claim/mgt/ClaimManagerHandler
>> org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:116)
>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:331)
>> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
>> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239)
>> org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223)
>> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:203)
>> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:137)
>> org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:159)
>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)
>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:211)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262)
>> root cause org.apache.cxf.interceptor.Fault:
>> org/wso2/carbon/claim/mgt/ClaimManagerHandler
>> org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:162)
>> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:128)
>> org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:194)
>> org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:100)
>> org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:57)
>> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:93)
>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)
>> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
>> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239)
>> org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223)
>> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:203)
>> org.apache.cxf.transport.servlet.ServletController.invoke(Servle

[Dev] OpenIDConnect - Error while accessing UserInfo Endpoint

2015-11-02 Thread Malintha Adikari
ng.reflect.Method.invoke(Method.java:606)
org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:194)
org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:100)
org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:57)
org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:93)
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239)
org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223)
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:203)
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:137)
org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:159)
org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)
org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:211)
javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262)
note The full stack trace of the root cause is
available in the Apache Tomcat/7.0.55 logs.Apache Tomcat/7.0.55

Regards,
Malintha

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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] OpenIDConnect - Error while accessing UserInfo Endpoint

2015-11-02 Thread Malintha Adikari
ava:93)
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239)
org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223)
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:203)
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:137)
org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:159)
org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)
org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:211)
javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262)
note The full stack trace of the root cause is
available in the Apache Tomcat/7.0.55 logs.Apache Tomcat/7.0.55

Regards,
Malintha

On Mon, Nov 2, 2015 at 3:11 PM, Malintha Adikari <malin...@wso2.com> wrote:

> No, I start Keymanager component without any profile.
>
> On Mon, Nov 2, 2015 at 3:06 PM, Darshana Gunawardana <darsh...@wso2.com>
> wrote:
>
>> java.lang.NoClassDefFoundError:
>>> org/wso2/carbon/claim/mgt/ClaimManagerHandler
>>
>>
>> Seems like claim management feature is not started in the node which
>> throws this error. Are you starting this server with some specific profile?
>>
>> Thanks,
>>
>> On Mon, Nov 2, 2015 at 2:28 PM, Malintha Adikari <malin...@wso2.com>
>> wrote:
>>
>>> I got following error while trying
>>>
>>> curl -k -v -H "Authorization: Bearer d347421b2963c981cb2583dc559c090"
>>> https://keymanager.am.wso2.com/oauth2/userinfo?schema=openid.
>>>
>>> What could be reason for this error ?
>>>
>>> Note: I am getting this issue only in distributed APIM setup and working
>>> fine in standalone APIM pack.
>>>
>>>
>>> < HTTP/1.1 500 Internal Server Error
>>> * Server nginx/1.8.0 is not blacklisted
>>> < Server: nginx/1.8.0
>>> < Date: Mon, 02 Nov 2015 08:37:53 GMT
>>> < Content-Type: text/html;charset=utf-8
>>> < Content-Length: 6336
>>> < Connection: keep-alive
>>> < Content-Language: en
>>> < Vary: Accept-Encoding
>>>
>>> Apache Tomcat/7.0.55 - Error report<!--H1
>>> {fontfamily:Tahoma,Arial,sansserif;color:white;backgroundcolor:#525D76;fontsize:22px;}
>>> H2
>>> {fontfamily:Tahoma,Arial,sansserif;color:white;backgroundcolor:#525D76;fontsize:16px;}
>>> H3
>>> {fontfamily:Tahoma,Arial,sansserif;color:white;backgroundcolor:#525D76;fontsize:14px;}
>>> BODY {fontfamily:Tahoma,Arial,sansserif;color:black;backgroundcolor:white;}
>>> B {fontfamily:Tahoma,Arial,sansserif;color:white;backgroundcolor:#525D76;}
>>> P
>>> {fontfamily:Tahoma,Arial,sansserif;background:white;color:black;fontsize:12px;}A
>>> {color : black;}A.name {color : black;}HR {color : #525D76;}-->
>>> HTTP Status 500 - org.apache.cxf.interceptor.Fault:
>>> org/wso2/carbon/claim/mgt/ClaimManagerHandler>> "noshade">type Exception reportmessage 
>>> org.apache.cxf.interceptor.Fault:
>>> org/wso2/carbon/claim/mgt/ClaimManagerHandlerdescription
>>>  The server encountered an internal error that prevented it from
>>> fulfilling this request.exception 
>>> java.lang.RuntimeException:
>>> org.apache.cxf.interceptor.Fault:
>>> org/wso2/carbon/claim/mgt/ClaimManagerHandler
>>> org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:116)
>>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:331)
>>> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
>>> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239)
>>> org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223)
>>> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:203)
>>> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:137)
>>> org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:159)
>>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)
>>> org.apache.cxf.transpor

Re: [Dev] OpenIDConnect - Error while accessing UserInfo Endpoint

2015-11-02 Thread Malintha Adikari
Hi Darshana,

I restarted entire cluster and it resolved the issue. Thank you.

Regards,
Malintha

On Mon, Nov 2, 2015 at 5:07 PM, Gayan Gunawardana <ga...@wso2.com> wrote:

> Please check this too [1].
>
> [1] https://wso2.org/jira/browse/IDENTITY-2465
>
> On Mon, Nov 2, 2015 at 4:57 PM, Malintha Adikari <malin...@wso2.com>
> wrote:
>
>> Hi Darshana,
>>
>> Requests to gateway node give me following error.
>>
>> http://gateway.am.wso2.com:9763/oauth2/userinfo?schema=openid
>>
>>
>> Apache Tomcat/7.0.55 - Error report<!--H1
>> {fontfamily:Tahoma,Arial,sansserif;color:white;backgroundcolor:#525D76;fontsize:22px;}
>> H2
>> {fontfamily:Tahoma,Arial,sansserif;color:white;backgroundcolor:#525D76;fontsize:16px;}
>> H3
>> {fontfamily:Tahoma,Arial,sansserif;color:white;backgroundcolor:#525D76;fontsize:14px;}
>> BODY {fontfamily:Tahoma,Arial,sansserif;color:black;backgroundcolor:white;}
>> B {fontfamily:Tahoma,Arial,sansserif;color:white;backgroundcolor:#525D76;}
>> P
>> {fontfamily:Tahoma,Arial,sansserif;background:white;color:black;fontsize:12px;}A
>> {color : black;}A.name {color : black;}HR {color : #525D76;}-->
>> HTTP Status 500 - org.apache.cxf.interceptor.Fault> size="1" noshade="noshade">type Exception report
>> message org.apache.cxf.interceptor.Faultdescription
>>  The server encountered an internal error that prevented it from
>> fulfilling this request.exception 
>> java.lang.RuntimeException:
>> org.apache.cxf.interceptor.Fault
>> org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:116)
>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:331)
>> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
>> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239)
>> org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223)
>> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:203)
>> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:137)
>> org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:159)
>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)
>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:211)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262)
>> root cause org.apache.cxf.interceptor.Fault
>> org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:162)
>> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:128)
>> org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:194)
>> org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:100)
>> org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:57)
>> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:93)
>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)
>> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
>> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239)
>> org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223)
>> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:203)
>> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:137)
>> org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:159)
>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)
>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:211)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262)
>> root cause java.lang.NullPointerException
>> org.wso2.carbon.context.PrivilegedCarbonContext.getOSGiService(PrivilegedCarbonContext.java:448)
>> org.wso2.carbon.identity.oauth.endpoint.util.EndpointUtil.getOAuthServerConfiguration(EndpointUtil.java:67)
>> org.wso2.carbon.identity.oauth.endpoint.util.EndpointUtil.getUserInfoRequestValidator(EndpointUtil.java:87)
>> org.wso2.carbon.identity.oauth.endpoint.user.impl.UserInfoEndpoin

Re: [Dev] WSO2 Committers += Pandula Kariyawasam

2015-10-05 Thread Malintha Adikari
Congratz Pandula


On Mon, Oct 5, 2015 at 11:54 AM, Chanaka Fernando <chana...@wso2.com> wrote:

> Congratulations Pandula !!!
>
> On Mon, Oct 5, 2015 at 11:13 AM, Pavithra Madurangi <pavit...@wso2.com>
> wrote:
>
>> Hi All,
>>
>> It's my pleasure to announce Pandula Kariyawasam as a WSO2 Committer.
>> Pandula is an active member of QA team and has given a great contribution
>> to Application Server, API Manager, G-Reg, ESB, EMM, BAM, App Factory and
>> IS product releases. So in recognition of his contribution, dedication and
>> ownership shown towards the tasks given to him, he has been voted as a WSO2
>> Committer.
>>
>> Pandula, congratulations and keep up the good work...!
>>
>> Regards,
>> Pavithra
>> --
>> *Pavithra Madurangi*
>> Associate Technical Lead - QA.
>> WSO2 Inc.: http://wso2.com/
>> Mobile: 0777207357 / 0112747089
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> --
> Chanaka Fernando
> Senior Technical Lead
> WSO2, Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 773337238
> Blog : http://soatutorials.blogspot.com
> LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0
> Twitter:https://twitter.com/chanakaudaya
>
>
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Getting PKIX path building failed

2015-10-01 Thread Malintha Adikari
Hi,

To generate cert from the keystore

keytool -genkey -alias keyAlias-keyalg RSA -keypass changeit -storepass
changeit keystore keystore.jks

To export the generated certificate

keytool -export -alias keyAlias-storepass changeit -file server.cer
-keystore keystore.jks


You can use above commands to do it and more information from doc
https://docs.oracle.com/cd/E19798-01/821-1751/ghlgv/index.html

Regards,
Malintha

On Thu, Oct 1, 2015 at 4:46 PM, Danushka Fernando <danush...@wso2.com>
wrote:

> You need to export the certificate from the keystore and import it to
> java. You can use keytool for that purpose.
>
> Thanks & Regards
> Danushka Fernando
> Senior Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729
>
> On Thu, Oct 1, 2015 at 11:31 AM, Sriashalya Srivathsan <asha...@wso2.com>
> wrote:
>
>> Hi Malintha,
>> I have a problem in adding keystore in to java.we can add the certificate
>> to java cacert, but I have keystore. how to add it?
>>
>> On Thu, Oct 1, 2015 at 11:12 AM, Sriashalya Srivathsan <asha...@wso2.com>
>> wrote:
>>
>>> Thanx Malintha, I'll check on that
>>>
>>> On Thu, Oct 1, 2015 at 10:49 AM, Malintha Adikari <malin...@wso2.com>
>>> wrote:
>>>
>>>> Hi Sriashalya,
>>>>
>>>> Are you getting this error while sending requests to IS ? When you
>>>> install new keystore to wso2 product you have to configure it in carbon.xml
>>>> also.
>>>>
>>>> 
>>>> 
>>>>
>>>> ${carbon.home}/repository/resources/security/wso2carbon.jks
>>>> 
>>>> JKS
>>>> 
>>>> wso2carbon
>>>> 
>>>> wso2carbon
>>>> 
>>>> wso2carbon
>>>> 
>>>>
>>>> Regards,
>>>> Malintha
>>>>
>>>> On Thu, Oct 1, 2015 at 10:35 AM, Sriashalya Srivathsan <
>>>> asha...@wso2.com> wrote:
>>>>
>>>>> Hi
>>>>>
>>>>> Getting the following error while adding the keystore to IS which is
>>>>> provided by the API.
>>>>>
>>>>> javax.net.ssl.SSLHandshakeException:
>>>>> sun.security.validator.ValidatorException: PKIX path building failed:
>>>>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
>>>>> valid certification path to requested target
>>>>>
>>>>> I've added the certificate to java cacerts and wso2 IS.
>>>>>
>>>>>
>>>>> --
>>>>> Regards
>>>>> S.Sriashalya,
>>>>> WSO2 *Inc*.
>>>>> lean . enterprise . middleware
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Malintha Adikari*
>>>> Software Engineer
>>>> WSO2 Inc.; http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> Mobile: +94 71 2312958
>>>> Blog:http://malinthas.blogspot.com
>>>> Page:   http://about.me/malintha
>>>>
>>>
>>>
>>>
>>> --
>>> Regards
>>> S.Sriashalya,
>>> WSO2 *Inc*.
>>> lean . enterprise . middleware
>>>
>>
>>
>>
>> --
>> Regards
>> S.Sriashalya,
>> WSO2 *Inc*.
>> lean . enterprise . middleware
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ML] Getting error while creating a dataset

2015-10-01 Thread Malintha Adikari
Hi,

I am trying to create a dataset from 748KB sized data file [1] and getting
following error.

[2015-10-02 01:03:38,769]  INFO
{org.wso2.carbon.ml.core.impl.MLDatasetProcessor} -  [Created] MLDataset
[id=1, name=digitdd, tenantId=-1234, userName=admin, dataSourceType=file,
dataTargetType=file, sourcePath=null, dataType=csv, comments=,
version=1.0.0, containsHeader=true, status=null]
[2015-10-02 01:03:40,537]  WARN
{org.wso2.carbon.ml.database.internal.MLDatabaseUtils} -  An error occurred
while enabling autocommit: PooledConnection has already been closed.
java.sql.SQLException: PooledConnection has already been closed.
at
org.apache.tomcat.jdbc.pool.DisposableConnectionFacade.invoke(DisposableConnectionFacade.java:86)
at com.sun.proxy.$Proxy16.setAutoCommit(Unknown Source)
at
org.wso2.carbon.ml.database.internal.MLDatabaseUtils.enableAutoCommit(MLDatabaseUtils.java:153)
at
org.wso2.carbon.ml.database.internal.MLDatabaseService.updateSummaryStatistics(MLDatabaseService.java:2370)
at
org.wso2.carbon.ml.core.impl.SummaryStatsGenerator.run(SummaryStatsGenerator.java:130)
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)
[2015-10-02 01:03:40,550] ERROR
{org.wso2.carbon.ml.core.impl.SummaryStatsGenerator} -  Error occurred
while calculating summary statistics for dataset version 1: An error
occurred while updating the database with summary statistics of the dataset
1: 16
org.wso2.carbon.ml.database.exceptions.DatabaseHandlerException: An error
occurred while updating the database with summary statistics of the dataset
1: 16
at
org.wso2.carbon.ml.database.internal.MLDatabaseService.updateSummaryStatistics(MLDatabaseService.java:2366)
at
org.wso2.carbon.ml.core.impl.SummaryStatsGenerator.run(SummaryStatsGenerator.java:130)
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)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 16
at
org.wso2.carbon.ml.database.internal.MLDatabaseService.updateSummaryStatistics(MLDatabaseService.java:2329)
... 4 more

What could be the possible reason for this error ?

[1]
http://ocw.mit.edu/courses/sloan-school-of-management/15-097-prediction-machine-learning-and-statistics-spring-2012/datasets/digits.csv

Regards,
Malintha

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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Getting PKIX path building failed

2015-09-30 Thread Malintha Adikari
Hi Sriashalya,

Are you getting this error while sending requests to IS ? When you install
new keystore to wso2 product you have to configure it in carbon.xml also.




${carbon.home}/repository/resources/security/wso2carbon.jks

JKS

wso2carbon

wso2carbon

wso2carbon


Regards,
Malintha

On Thu, Oct 1, 2015 at 10:35 AM, Sriashalya Srivathsan <asha...@wso2.com>
wrote:

> Hi
>
> Getting the following error while adding the keystore to IS which is
> provided by the API.
>
> javax.net.ssl.SSLHandshakeException:
> sun.security.validator.ValidatorException: PKIX path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
> valid certification path to requested target
>
> I've added the certificate to java cacerts and wso2 IS.
>
>
> --
> Regards
> S.Sriashalya,
> WSO2 *Inc*.
> lean . enterprise . middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] APIM- Gateway environments

2015-09-22 Thread Malintha Adikari
Hi Udara,

I faced the same problem and ended up with the error message you have
mentioned above. In my case I have enabled dep-sync in both gateway nodes
and used WSClient client type. There was a configuration issue in my
dep-sync configuration and it was the root cause for my issue. Have you
enabled dep-sync in gateway nodes in your deployment ? If you have enabled
dep-sync , you can cleanup existing artifacts and retry if possible.

Regards,
Malintha

On Wed, Sep 23, 2015 at 8:48 AM, Amila De Silva <ami...@wso2.com> wrote:

> Hi Udara,
>
> What is the client type you are using? Can you switch it to WSClient and
> check.
>
>
> On Wednesday, September 23, 2015, Udara Liyanage <ud...@wso2.com> wrote:
>
>> Hi Ajith,
>>
>> APIM2 is only acting as a gateway. The only difference to have two
>> distributed gateways[1]is when APIs are created in API1, it should be
>> available in APIM2 too.
>>
>> [1] https://docs.wso2.com/display/CLUSTER420/Clustering+API+Manager
>>
>> On Tue, Sep 22, 2015 at 1:15 PM, Ajith Vitharana <aji...@wso2.com> wrote:
>>
>>> If you have created the API from APIM1 , then API meta data has stored
>>> in  APIM1 databases (registry and AM db).  AFAIU you need to share the
>>> databases (registry and AM db) with APIM2
>>>
>>> -Ajith
>>>
>>> On Tue, Sep 22, 2015 at 4:04 PM, Udara Liyanage <ud...@wso2.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> [1] I am trying to do what described in [1]. I have two APIMs in two
>>>> regions.
>>>>
>>>> In APIM1 , I added second APIM as an environment.
>>>>
>>>>  
>>>> Gateway B
>>>> https://apim2.com:9443/services/
>>>> 
>>>> admin
>>>> admin
>>>> http://apim2.com:8280,
>>>> https://apim2.com:8243
>>>> 
>>>> 
>>>>
>>>> In APIM2 , I pointed APIM as the Key manager.
>>>>
>>>>  
>>>> https://apim1:9443/services/
>>>> admin
>>>> admin
>>>>
>>>> Now when I create an API in APIM, artifacts are successfully published
>>>> to APIM2 too as expected. I manually check the artifacts and both has the
>>>> same API artifacts.
>>>>
>>>> Then I tried accessing the API from APIM1 which got succeeded.
>>>> However when I try to access the API from APIM2, I get the following
>>>> error message
>>>>
>>>> *No matching resource found in the API for the given
>>>> requestAccess failure for API: /sample/v1,
>>>> version: v1 with key: c0dca4351fa3f074cd52a6087409743. Check the API
>>>> documentation and add a proper REST resource path to the invocation URL*
>>>>
>>>> *[1] *
>>>> https://docs.wso2.com/display/AM170/Maintaining+Separate+Production+and+Sandbox+Gateways
>>>> --
>>>>
>>>> Udara Liyanage
>>>> Software Engineer
>>>> WSO2, Inc.: http://wso2.com
>>>> lean. enterprise. middleware
>>>>
>>>> web: http://udaraliyanage.wordpress.com
>>>> phone: +94 71 443 6897
>>>>
>>>
>>>
>>>
>>> --
>>> Ajith Vitharana.
>>>
>>> WSO2 Inc. - http://wso2.com
>>> Email  : aji...@wso2.com
>>> Blog: http://vitharana.org
>>> Mobile : +1-812-360-5335
>>>
>>>
>>
>>
>> --
>>
>> Udara Liyanage
>> Software Engineer
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> web: http://udaraliyanage.wordpress.com
>> phone: +94 71 443 6897
>>
>
>
> --
> *Amila De Silva*
>
> WSO2 Inc.
> mobile :(+94) 775119302
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Configuring APIM publisher node when there are more than one APIM gateway instances

2015-09-20 Thread Malintha Adikari
Hi,

There are two APIM gateway instances, one is in active and other one is in
passive state (to achieve high availability). I have enabled dep-sync.
Should I add all gateway endpoint addresses or is it enough adding only
active instance endpoint address in to the publisher's api-manager.xml
gateway section ?

Regards,
Malintha

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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Configuring APIM publisher node when there are more than one APIM gateway instances

2015-09-20 Thread Malintha Adikari
Thank you Amila.

On Mon, Sep 21, 2015 at 8:28 AM, Amila De Silva <ami...@wso2.com> wrote:

> Hi Malintha,
>
> I can think of two options you can try;
> 1. Specify end points of both the gateways in api-manager.xml. Since there
> are only two nodes, you'll be able to deploy artifacts on the passive node
> without enabling dep-sync.
> 2. If node switching happens at the LB level, then you can specify a
> single DNS name for the active node. When a failure is detected, LB will
> route requests to the active instance, and the passive instance will
> receive artifacts through dep-sync.
>
> On Sunday, September 20, 2015, Malintha Adikari <malin...@wso2.com> wrote:
>
>> Hi,
>>
>> There are two APIM gateway instances, one is in active and other one is
>> in passive state (to achieve high availability). I have enabled dep-sync.
>> Should I add all gateway endpoint addresses or is it enough adding only
>> active instance endpoint address in to the publisher's api-manager.xml
>> gateway section ?
>>
>> Regards,
>> Malintha
>>
>> --
>> *Malintha Adikari *
>> Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> Mobile: +94 71 2312958
>> Blog:http://malinthas.blogspot.com
>> Page:   http://about.me/malintha
>>
>
>
> --
> *Amila De Silva*
>
> WSO2 Inc.
> mobile :(+94) 775119302
>
>
>


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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Getting error while installing features to IS 5.0.0 pack using pom

2015-09-11 Thread Malintha Adikari
attaching POM file used to install key manager features.

On Thu, Sep 10, 2015 at 10:56 AM, Krishantha Samaraweera <
krishan...@wso2.com> wrote:

> Hi Malintha,
>
> Shall we try to installed the feature using osgi console. You can refer
> [1]. Automation of this approach would be bit tricky as we need to maintain
> another script to do all these command execution.
>
> [1] http://wiki.eclipse.org/Equinox_p2_Console_Users_Guide
>
> Thanks,
> Krishantha.
>
> On Wed, Sep 9, 2015 at 10:46 PM, Malintha Adikari <malin...@wso2.com>
> wrote:
>
>> Thank you Lasitha for infomation
>>
>> On Wed, Sep 9, 2015 at 10:26 PM, Malintha Adikari <malin...@wso2.com>
>> wrote:
>>
>>> Adding Krishantha
>>> On Sep 9, 2015 6:30 PM, "Lasitha Wattaladeniya" <lasit...@wso2.com>
>>> wrote:
>>>
>>>> Hi Malintha,
>>>>
>>>> Apparently there's a bug, it's reported in this jira [1].
>>>>
>>>> [1]. https://wso2.org/jira/browse/CARBON-15195
>>>>
>>>> On Wed, Sep 9, 2015 at 3:59 PM, Malintha Adikari <malin...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I am installing keymanager feature to IS 5.0.0 pack using pom file. I
>>>>> am getting version conflicts for some features.
>>>>> When I try to install
>>>>>
>>>>> Ex:
>>>>> 
>>>>>org.wso2.carbon.registry.contentsearch.server.feature.group
>>>>>4.2.2
>>>>> 
>>>>>
>>>>> I am getting following error
>>>>>
>>>>> Installing org.wso2.carbon.xfer.feature.group 4.2.0.
>>>>> Installing org.wso2.carbon.stratos.deployment.feature.group 2.2.1.
>>>>> Installing org.wso2.carbon.system.statistics.feature.group 4.2.2.
>>>>> Installation failed.
>>>>> Cannot complete the install because of a conflicting dependency.
>>>>>  Software being installed: WSO2 Carbon - Registry Content Search
>>>>> Server Feature 4.2.2
>>>>> (org.wso2.carbon.registry.contentsearch.server.feature.group 4.2.2)
>>>>>  Software currently installed: WSO2 Carbon - Registry Content Search
>>>>> Feature 4.2.1 (org.wso2.carbon.registry.contentsearch.feature.group 4.2.1)
>>>>>  Only one of the following can be installed at once:
>>>>>   WSO2 Carbon - Registry Content Search Server Feature 4.2.2
>>>>> (org.wso2.carbon.registry.contentsearch.server.feature.jar 4.2.2)
>>>>>   WSO2 Carbon - Registry Content Search Server Feature 4.2.1
>>>>> (org.wso2.carbon.registry.contentsearch.server.feature.jar 4.2.1)
>>>>>  Cannot satisfy dependency:
>>>>>   From: WSO2 Carbon - Registry Content Search Feature 4.2.1
>>>>> (org.wso2.carbon.registry.contentsearch.feature.group 4.2.1)
>>>>>   To: org.wso2.carbon.registry.contentsearch.server.feature.group
>>>>> [4.2.1]
>>>>>  Cannot satisfy dependency:
>>>>>   From: WSO2 Carbon - Registry Content Search Server Feature 4.2.1
>>>>> (org.wso2.carbon.registry.contentsearch.server.feature.group 4.2.1)
>>>>>   To: org.wso2.carbon.registry.contentsearch.server.feature.jar [4.2.1]
>>>>>  Cannot satisfy dependency:
>>>>>   From: WSO2 Carbon - Registry Content Search Server Feature 4.2.2
>>>>> (org.wso2.carbon.registry.contentsearch.server.feature.group 4.2.2)
>>>>>   To: org.wso2.carbon.registry.contentsearch.server.feature.jar [4.2.2]
>>>>> Application failed, log file location:
>>>>> /root/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1441793612480.log
>>>>>
>>>>> Seems there is a conflict between existing feature in the carbon pack
>>>>> and the new feature to be installed. How can I upgrade a feature ?.
>>>>> Appreciate your help on this.
>>>>>
>>>>> Regards,
>>>>> Malintha
>>>>>
>>>>> --
>>>>> *Malintha Adikari*
>>>>> Software Engineer
>>>>> WSO2 Inc.; http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>> Mobile: +94 71 2312958
>>>>> Blog:http://malinthas.blogspot.com
>>>>> Page:   http://about.me/malintha
>>>>>
>>>>> ___
>>>>&g

[Dev] Getting error while installing features to IS 5.0.0 pack using pom

2015-09-09 Thread Malintha Adikari
Hi,

I am installing keymanager feature to IS 5.0.0 pack using pom file. I am
getting version conflicts for some features.
When I try to install

Ex:

   org.wso2.carbon.registry.contentsearch.server.feature.group
   4.2.2


I am getting following error

Installing org.wso2.carbon.xfer.feature.group 4.2.0.
Installing org.wso2.carbon.stratos.deployment.feature.group 2.2.1.
Installing org.wso2.carbon.system.statistics.feature.group 4.2.2.
Installation failed.
Cannot complete the install because of a conflicting dependency.
 Software being installed: WSO2 Carbon - Registry Content Search Server
Feature 4.2.2 (org.wso2.carbon.registry.contentsearch.server.feature.group
4.2.2)
 Software currently installed: WSO2 Carbon - Registry Content Search
Feature 4.2.1 (org.wso2.carbon.registry.contentsearch.feature.group 4.2.1)
 Only one of the following can be installed at once:
  WSO2 Carbon - Registry Content Search Server Feature 4.2.2
(org.wso2.carbon.registry.contentsearch.server.feature.jar 4.2.2)
  WSO2 Carbon - Registry Content Search Server Feature 4.2.1
(org.wso2.carbon.registry.contentsearch.server.feature.jar 4.2.1)
 Cannot satisfy dependency:
  From: WSO2 Carbon - Registry Content Search Feature 4.2.1
(org.wso2.carbon.registry.contentsearch.feature.group 4.2.1)
  To: org.wso2.carbon.registry.contentsearch.server.feature.group [4.2.1]
 Cannot satisfy dependency:
  From: WSO2 Carbon - Registry Content Search Server Feature 4.2.1
(org.wso2.carbon.registry.contentsearch.server.feature.group 4.2.1)
  To: org.wso2.carbon.registry.contentsearch.server.feature.jar [4.2.1]
 Cannot satisfy dependency:
  From: WSO2 Carbon - Registry Content Search Server Feature 4.2.2
(org.wso2.carbon.registry.contentsearch.server.feature.group 4.2.2)
  To: org.wso2.carbon.registry.contentsearch.server.feature.jar [4.2.2]
Application failed, log file location:
/root/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1441793612480.log

Seems there is a conflict between existing feature in the carbon pack and
the new feature to be installed. How can I upgrade a feature ?. Appreciate
your help on this.

Regards,
Malintha

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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Getting error while installing features to IS 5.0.0 pack using pom

2015-09-09 Thread Malintha Adikari
Adding Krishantha
On Sep 9, 2015 6:30 PM, "Lasitha Wattaladeniya" <lasit...@wso2.com> wrote:

> Hi Malintha,
>
> Apparently there's a bug, it's reported in this jira [1].
>
> [1]. https://wso2.org/jira/browse/CARBON-15195
>
> On Wed, Sep 9, 2015 at 3:59 PM, Malintha Adikari <malin...@wso2.com>
> wrote:
>
>> Hi,
>>
>> I am installing keymanager feature to IS 5.0.0 pack using pom file. I am
>> getting version conflicts for some features.
>> When I try to install
>>
>> Ex:
>> 
>>org.wso2.carbon.registry.contentsearch.server.feature.group
>>4.2.2
>> 
>>
>> I am getting following error
>>
>> Installing org.wso2.carbon.xfer.feature.group 4.2.0.
>> Installing org.wso2.carbon.stratos.deployment.feature.group 2.2.1.
>> Installing org.wso2.carbon.system.statistics.feature.group 4.2.2.
>> Installation failed.
>> Cannot complete the install because of a conflicting dependency.
>>  Software being installed: WSO2 Carbon - Registry Content Search Server
>> Feature 4.2.2 (org.wso2.carbon.registry.contentsearch.server.feature.group
>> 4.2.2)
>>  Software currently installed: WSO2 Carbon - Registry Content Search
>> Feature 4.2.1 (org.wso2.carbon.registry.contentsearch.feature.group 4.2.1)
>>  Only one of the following can be installed at once:
>>   WSO2 Carbon - Registry Content Search Server Feature 4.2.2
>> (org.wso2.carbon.registry.contentsearch.server.feature.jar 4.2.2)
>>   WSO2 Carbon - Registry Content Search Server Feature 4.2.1
>> (org.wso2.carbon.registry.contentsearch.server.feature.jar 4.2.1)
>>  Cannot satisfy dependency:
>>   From: WSO2 Carbon - Registry Content Search Feature 4.2.1
>> (org.wso2.carbon.registry.contentsearch.feature.group 4.2.1)
>>   To: org.wso2.carbon.registry.contentsearch.server.feature.group [4.2.1]
>>  Cannot satisfy dependency:
>>   From: WSO2 Carbon - Registry Content Search Server Feature 4.2.1
>> (org.wso2.carbon.registry.contentsearch.server.feature.group 4.2.1)
>>   To: org.wso2.carbon.registry.contentsearch.server.feature.jar [4.2.1]
>>  Cannot satisfy dependency:
>>   From: WSO2 Carbon - Registry Content Search Server Feature 4.2.2
>> (org.wso2.carbon.registry.contentsearch.server.feature.group 4.2.2)
>>   To: org.wso2.carbon.registry.contentsearch.server.feature.jar [4.2.2]
>> Application failed, log file location:
>> /root/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1441793612480.log
>>
>> Seems there is a conflict between existing feature in the carbon pack and
>> the new feature to be installed. How can I upgrade a feature ?. Appreciate
>> your help on this.
>>
>> Regards,
>> Malintha
>>
>> --
>> *Malintha Adikari*
>> Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> Mobile: +94 71 2312958
>> Blog:http://malinthas.blogspot.com
>> Page:   http://about.me/malintha
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Lasitha Wattaladeniya
> Software Engineer
> WSO2, Inc. | http://wso2.com
> lean. enterprise. middleware
>
> Mobile : +94719397528
> Blog : techreadme.blogspot.com
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Getting error while installing features to IS 5.0.0 pack using pom

2015-09-09 Thread Malintha Adikari
Thank you Lasitha for infomation

On Wed, Sep 9, 2015 at 10:26 PM, Malintha Adikari <malin...@wso2.com> wrote:

> Adding Krishantha
> On Sep 9, 2015 6:30 PM, "Lasitha Wattaladeniya" <lasit...@wso2.com> wrote:
>
>> Hi Malintha,
>>
>> Apparently there's a bug, it's reported in this jira [1].
>>
>> [1]. https://wso2.org/jira/browse/CARBON-15195
>>
>> On Wed, Sep 9, 2015 at 3:59 PM, Malintha Adikari <malin...@wso2.com>
>> wrote:
>>
>>> Hi,
>>>
>>> I am installing keymanager feature to IS 5.0.0 pack using pom file. I am
>>> getting version conflicts for some features.
>>> When I try to install
>>>
>>> Ex:
>>> 
>>>org.wso2.carbon.registry.contentsearch.server.feature.group
>>>4.2.2
>>> 
>>>
>>> I am getting following error
>>>
>>> Installing org.wso2.carbon.xfer.feature.group 4.2.0.
>>> Installing org.wso2.carbon.stratos.deployment.feature.group 2.2.1.
>>> Installing org.wso2.carbon.system.statistics.feature.group 4.2.2.
>>> Installation failed.
>>> Cannot complete the install because of a conflicting dependency.
>>>  Software being installed: WSO2 Carbon - Registry Content Search Server
>>> Feature 4.2.2 (org.wso2.carbon.registry.contentsearch.server.feature.group
>>> 4.2.2)
>>>  Software currently installed: WSO2 Carbon - Registry Content Search
>>> Feature 4.2.1 (org.wso2.carbon.registry.contentsearch.feature.group 4.2.1)
>>>  Only one of the following can be installed at once:
>>>   WSO2 Carbon - Registry Content Search Server Feature 4.2.2
>>> (org.wso2.carbon.registry.contentsearch.server.feature.jar 4.2.2)
>>>   WSO2 Carbon - Registry Content Search Server Feature 4.2.1
>>> (org.wso2.carbon.registry.contentsearch.server.feature.jar 4.2.1)
>>>  Cannot satisfy dependency:
>>>   From: WSO2 Carbon - Registry Content Search Feature 4.2.1
>>> (org.wso2.carbon.registry.contentsearch.feature.group 4.2.1)
>>>   To: org.wso2.carbon.registry.contentsearch.server.feature.group [4.2.1]
>>>  Cannot satisfy dependency:
>>>   From: WSO2 Carbon - Registry Content Search Server Feature 4.2.1
>>> (org.wso2.carbon.registry.contentsearch.server.feature.group 4.2.1)
>>>   To: org.wso2.carbon.registry.contentsearch.server.feature.jar [4.2.1]
>>>  Cannot satisfy dependency:
>>>   From: WSO2 Carbon - Registry Content Search Server Feature 4.2.2
>>> (org.wso2.carbon.registry.contentsearch.server.feature.group 4.2.2)
>>>   To: org.wso2.carbon.registry.contentsearch.server.feature.jar [4.2.2]
>>> Application failed, log file location:
>>> /root/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1441793612480.log
>>>
>>> Seems there is a conflict between existing feature in the carbon pack
>>> and the new feature to be installed. How can I upgrade a feature ?.
>>> Appreciate your help on this.
>>>
>>> Regards,
>>> Malintha
>>>
>>> --
>>> *Malintha Adikari*
>>> Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> Mobile: +94 71 2312958
>>> Blog:http://malinthas.blogspot.com
>>> Page:   http://about.me/malintha
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Lasitha Wattaladeniya
>> Software Engineer
>> WSO2, Inc. | http://wso2.com
>> lean. enterprise. middleware
>>
>> Mobile : +94719397528
>> Blog : techreadme.blogspot.com
>>
>


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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Nuwandi Wickramasinghe

2015-08-30 Thread Malintha Adikari
Congratulations Nuwandi...

On Mon, Aug 31, 2015 at 9:59 AM, Thanuja Jayasinghe than...@wso2.com
wrote:

 Congtrz Nuwandi.!!!

 On Thu, Aug 27, 2015 at 8:32 PM, Johann Nallathamby joh...@wso2.com
 wrote:

 Hi All,

 It's my pleasure to announce Nuwandi Wickramasinghe as a WSO2 Committer.
 Nuwandi has been a valuable contributor for WSO2 Identity Server
 product, and in recognition of her contribution to WSO2, she has been voted
 as a WSO2 Committer.

 Nuwandi, congratulations and keep up the good work!

 Thanks  Regards.

 --

 *Johann Dilantha Nallathamby*
 Technical Lead  Product Lead of WSO2 Identity Server
 Integration Technologies Team
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - *+9476950*
 Blog - *http://nallaa.wordpress.com http://nallaa.wordpress.com*

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




 --
 *Thanuja Lakmal*
 Senior 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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Getting 400 Bad Request

2015-03-30 Thread Malintha Adikari
Hi Sriashalya,

I missed the mail, sorry for that.

Yes, I have faced 400 responses when my parameters are not compatible with
expected ones. For your sample request , possible culprit is mobile
number's format. Please look at following SMS send request, which I have
used with a SMS gateway


{outboundSMSMessageRequest:{
address:[tel:+941234456,tel:+941234566],
senderAddress:tel:+200,
outboundSMSTextMessage:{message:Hello World},
clientCorrelator:12g3456,
receiptRequest: {notifyURL:http://abc123.com
http://application.example.com/notifications/DeliveryInfoNotification,
callbackData:some-data-useful-to-the-requester},
senderName:wso2}
}


Here we have used phone numbers with + ( note in your request you have
encoded it). Could you try phone  numbers without encoding and share the
result. ?

Does your BE give any fault response apart from the status code. If it
does, could you please share it.

Regards,
Malintha

On Tue, Mar 31, 2015 at 1:53 AM, Malintha Adikari malin...@wso2.com wrote:

 Hi Sriashalya,

 I missed the mail, sorry for that.

 Yes, I have faced 400 responses when my parameters are not compatible with
 expected ones. For your sample request , possible culprit is mobile
 number's format. Please look at following SMS send request, which I have
 used with a SMS gateway


 {outboundSMSMessageRequest:{
 address:[tel:+941234456,tel:+941234566],
 senderAddress:tel:+200,
 outboundSMSTextMessage:{message:Hello World},
 clientCorrelator:12g3456,
 receiptRequest: {notifyURL:
 http://application.example.com/notifications/DeliveryInfoNotification;,
 callbackData:some-data-useful-to-the-requester},
 senderName:wso2}
 }


 Here we have used phone numbers with + ( note in your request you have
 encoded it). Could you try phone  numbers without encoding and share the
 result. ?

  Is your BE gives any fault response apart from the status code. If it
 does, could you please share it.

 Regards,
 Malintha

 On Mon, Mar 30, 2015 at 5:47 AM, Sriashalya Srivathsan asha...@wso2.com
 wrote:

 Hi Malintha,
 Have you experienced about above issue.



 Thank you,
 Rgds,

 On Fri, Mar 27, 2015 at 10:54 AM, Sriashalya Srivathsan asha...@wso2.com
  wrote:

 Hi All,

 I'm trying to do the GSMA One API for send sms.For that I need to set up 
 the back end. For that I tried the following information given by the API 
 git repo.


 *Deployment: pull the oneapi directory and contents and build a .war. 
 Deploy in your JEE application server (tested on Tomcat 6, OSX and Win XP)

 Usage: Start the application on localhost:8080 . This shows a form through 
 which requests may be made to the OneAPI server. The src code is LGPL and 
 m,ay be used to build a production OneAPI server that will actually fulfill 
 the requests (i.e. charge/locate/message users)*


 I used the following end point in the REST client


 http://localhost:8080/oneapiserver/SendSMSService/1/smsmessaging/outbound/tel%3A94772446947/requests

 Content- Type  application/json

 Accept - application/json

 Authorization - Basic YXNoYWx5YTg2QGdhbWlsLmNvbTpBc2gxOThAdmF0aA==


 {outboundSMSMessageRequest:
   {
   address: [tel%3A%2B94754284288],
   outboundSMSTextMessage: {message: Test Message:SMSX-02},
   senderAddress: tel:94772446947
   }


 but I'm getting the response 400, What I'm missing here?


 --
 S.Sriashalya,
 Associate Software Engineer,
 WSO2.




 --
 S.Sriashalya,
 Associate Software Engineer,
 WSO2.




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

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Getting 400 Bad Request

2015-03-30 Thread Malintha Adikari
Hi Sriashalya,

I missed the mail, sorry for that.

Yes, I have faced 400 responses when my parameters are not compatible with
expected ones. For your sample request , possible culprit is mobile
number's format. Please look at following SMS send request, which I have
used with a SMS gateway


{outboundSMSMessageRequest:{
address:[tel:+941234456,tel:+941234566],
senderAddress:tel:+200,
outboundSMSTextMessage:{message:Hello World},
clientCorrelator:12g3456,
receiptRequest: {notifyURL:
http://application.example.com/notifications/DeliveryInfoNotification;,
callbackData:some-data-useful-to-the-requester},
senderName:wso2}
}


Here we have used phone numbers with + ( note in your request you have
encoded it). Could you try phone  numbers without encoding and share the
result. ?

 Is your BE gives any fault response apart from the status code. If it
does, could you please share it.

Regards,
Malintha

On Mon, Mar 30, 2015 at 5:47 AM, Sriashalya Srivathsan asha...@wso2.com
wrote:

 Hi Malintha,
 Have you experienced about above issue.



 Thank you,
 Rgds,

 On Fri, Mar 27, 2015 at 10:54 AM, Sriashalya Srivathsan asha...@wso2.com
 wrote:

 Hi All,

 I'm trying to do the GSMA One API for send sms.For that I need to set up the 
 back end. For that I tried the following information given by the API git 
 repo.


 *Deployment: pull the oneapi directory and contents and build a .war. Deploy 
 in your JEE application server (tested on Tomcat 6, OSX and Win XP)

 Usage: Start the application on localhost:8080 . This shows a form through 
 which requests may be made to the OneAPI server. The src code is LGPL and 
 m,ay be used to build a production OneAPI server that will actually fulfill 
 the requests (i.e. charge/locate/message users)*


 I used the following end point in the REST client


 http://localhost:8080/oneapiserver/SendSMSService/1/smsmessaging/outbound/tel%3A94772446947/requests

 Content- Type  application/json

 Accept - application/json

 Authorization - Basic YXNoYWx5YTg2QGdhbWlsLmNvbTpBc2gxOThAdmF0aA==


 {outboundSMSMessageRequest:
   {
   address: [tel%3A%2B94754284288],
   outboundSMSTextMessage: {message: Test Message:SMSX-02},
   senderAddress: tel:94772446947
   }


 but I'm getting the response 400, What I'm missing here?


 --
 S.Sriashalya,
 Associate Software Engineer,
 WSO2.




 --
 S.Sriashalya,
 Associate Software Engineer,
 WSO2.




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Getting 400 Bad Request

2015-03-30 Thread Malintha Adikari
Hi Srishalya,

I think you are calling API resource in ESB from your REST client.
According to OneAPI spec we should encode sender address inside request URL
and send mobile numbers without encoding inside the message body. Following
is sample request from OneAPI doc [1]

POST *http://example.com/smsmessaging/v1/outbound/
http://example.com/smsmessaging/v1/outbound/
tel%3A%2B12345678/requests* HTTP/1.1
Host: example.com:80
Content-Type: application/json
Accept: application/json

{outboundSMSMessageRequest:{
address:[tel:+1350991,
tel:+1350992],
senderAddress:tel:12345678,
outboundSMSTextMessage:{message:Hello World},
clientCorrelator:123456,
receiptRequest:
{notifyURL:http://application.example.com/notifications/DeliveryInfoNotification;,
callbackData:some-data-useful-to-the-requester},
senderName:ACME Inc.}
}

The sender address may be (depend on your implementation) extracted
from the URL and used to prepare

the request to the BE. Error message tells us about a missing
parameter. Is there any possibility to

capture the request which reaches to the BE after the transformation?
Then we can examine it and find the

missing value there.

[1] http://www.gsma.com/oneapi/sms-restful-netapi/


Regards,
Malintha

On Tue, Mar 31, 2015 at 3:56 AM, Sriashalya Srivathsan asha...@wso2.com
wrote:

 Hi Malintha,
 Thank you for your response,
 I sent the request without encoding, but still I get 400.
 Please find the request currently I sent through the REST, below

 {outboundSMSMessageRequest:
   {
 address: [tel:+94754284288],
   outboundSMSTextMessage: {message: Test Message:SMSX-02},
   senderAddress: tel:+94772446947
   }

 my end point is

 http://localhost:8080/oneapiserver/SendSMSService/1/smsmessaging/outbound/tel:+94772446947/requests

 and I'm getting the response like
 400 Bad request
 {
 requestError: {
 serviceException: {
 messageId: SVC0002,
 text: Invalid input value for message part %1,
 variables: [
 Missing mandatory parameter:
 senderAddress,address,message
 ]
 },
 policyException: null
 }
 }

 On Tue, Mar 31, 2015 at 7:30 AM, Malintha Adikari malin...@wso2.com
 wrote:

 Hi Sriashalya,

 I missed the mail, sorry for that.

 Yes, I have faced 400 responses when my parameters are not compatible
 with expected ones. For your sample request , possible culprit is mobile
 number's format. Please look at following SMS send request, which I have
 used with a SMS gateway


 {outboundSMSMessageRequest:{
 address:[tel:+941234456,tel:+941234566],
 senderAddress:tel:+200,
 outboundSMSTextMessage:{message:Hello World},
 clientCorrelator:12g3456,
 receiptRequest: {notifyURL:http://abc123.com
 http://application.example.com/notifications/DeliveryInfoNotification,
 callbackData:some-data-useful-to-the-requester},
 senderName:wso2}
 }


 Here we have used phone numbers with + ( note in your request you have
 encoded it). Could you try phone  numbers without encoding and share the
 result. ?

 Does your BE give any fault response apart from the status code. If it
 does, could you please share it.

 Regards,
 Malintha

 On Tue, Mar 31, 2015 at 1:53 AM, Malintha Adikari malin...@wso2.com
 wrote:

 Hi Sriashalya,

 I missed the mail, sorry for that.

 Yes, I have faced 400 responses when my parameters are not compatible
 with expected ones. For your sample request , possible culprit is mobile
 number's format. Please look at following SMS send request, which I have
 used with a SMS gateway


 {outboundSMSMessageRequest:{
 address:[tel:+941234456,tel:+941234566],
 senderAddress:tel:+200,
 outboundSMSTextMessage:{message:Hello World},
 clientCorrelator:12g3456,
 receiptRequest: {notifyURL:
 http://application.example.com/notifications/DeliveryInfoNotification;,
 callbackData:some-data-useful-to-the-requester},
 senderName:wso2}
 }


 Here we have used phone numbers with + ( note in your request you have
 encoded it). Could you try phone  numbers without encoding and share the
 result. ?

  Is your BE gives any fault response apart from the status code. If it
 does, could you please share it.

 Regards,
 Malintha

 On Mon, Mar 30, 2015 at 5:47 AM, Sriashalya Srivathsan asha...@wso2.com
  wrote:

 Hi Malintha,
 Have you experienced about above issue.



 Thank you,
 Rgds,

 On Fri, Mar 27, 2015 at 10:54 AM, Sriashalya Srivathsan 
 asha...@wso2.com wrote:

 Hi All,

 I'm trying to do the GSMA One API for send sms.For that I need to set up 
 the back end. For that I tried the following information given by the API 
 git repo.


 *Deployment: pull the oneapi directory and contents and build a .war. 
 Deploy in your JEE application server (tested on Tomcat 6, OSX and Win XP)

 Usage: Start the application on localhost:8080 . This shows a form 
 through which requests may be made to the OneAPI server. The src code is 
 LGPL and m,ay be used to build a production OneAPI server that will 
 actually

Re: [Dev] WSO2 Committers += Amila Godwin Shrimal

2015-03-20 Thread Malintha Adikari



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




 --
 Hasintha Indrajee
 Software Engineer
 WSO2, Inc.
 Mobile:+94 771892453


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




 --
 Isura Dilhara Karunaratne
 Software Engineer

 Mob +94 772 254 810


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




 --
 Isuruwan Herath
 Technical Lead

 Contact: +94 776 273 296

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




 --
 *Bhathiya Jayasekara*
 *Software Engineer,*
 *WSO2 inc., http://wso2.com http://wso2.com*

 *Phone: +94715478185 %2B94715478185*
 *LinkedIn: http://www.linkedin.com/in/bhathiyaj
 http://www.linkedin.com/in/bhathiyaj*
 *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax*
 *Blog: http://movingaheadblog.blogspot.com
 http://movingaheadblog.blogspot.com/*

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




 --

 *Prabath Ariyarathna*

 *Associate Technical Lead*

 *WSO2, Inc. *

 *lean . enterprise . middleware *


 *Email: prabat...@wso2.com prabat...@wso2.com*

 *Blog: http://prabu-lk.blogspot.com http://prabu-lk.blogspot.com*

 *Flicker : https://www.flickr.com/photos/47759189@N08
 https://www.flickr.com/photos/47759189@N08*

 *Mobile: +94 77 699 4730 *






 ___
 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




 --
 With Regards,

 *Rasika Perera*
 Software Engineer
 M: +94 71 680 9060 E: rasi...@wso2.com
 LinkedIn: http://lk.linkedin.com/in/rasika90

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

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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Management Console UI changes to WSO2 MB

2015-03-10 Thread Malintha Adikari
On Tue, Mar 10, 2015 at 10:16 AM, Chamalee De Silva chama...@wso2.com
wrote:

 Hi all,

 I am currently doing my fast track training project in WSO2 Message Broker.

 I want  to do a UI change in the Message broker Management Console by
 adding another row with a check-box to an existing HTML table.

 [image: Inline image 1]



 I went through the documentation links and found the following jars to
 change the layout and theme etc.

1. org.wso2.carbon.ui-3.2.2.jar
2. org.wso2.mb.styles-3.2.0.jar

 But my requirement is to add HTML elements. Not changing css  styles.
 Can anyone help me in getting this solved.

 Thank you.


 --

 Chamalee De Silva

 Software Engineer | WSO2

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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Ashan Manathunga

2015-03-10 Thread Malintha Adikari
Congratulations Ashan !

On Tue, Mar 10, 2015 at 6:17 AM, Chamara Silva cham...@wso2.com wrote:

 Congratulations


 On Mon, Mar 9, 2015 at 11:28 AM, Isuruwan Herath isuru...@wso2.com
 wrote:

 Congratz Ashan!!!

 On Mon, Mar 9, 2015 at 9:16 AM, Malith Munasinghe mali...@wso2.com
 wrote:

 Congratulations Ashan!!!

 On Mon, Mar 9, 2015 at 9:08 AM, Niranda Perera nira...@wso2.com wrote:

 Congrats Ashan! :-)

 On Mon, Mar 9, 2015 at 9:06 AM, Vinod Kavinda vi...@wso2.com wrote:

 Congratulations Ashan!!

 On Mon, Mar 9, 2015 at 8:33 AM, Thilini Cooray thili...@wso2.com
 wrote:

 Congrats, Ashan !

 On Sun, Mar 8, 2015 at 10:26 PM, Jagath Ariyananda jag...@wso2.com
 wrote:

 Congratulations Ashan.

 On Fri, Mar 6, 2015 at 4:53 PM, Srisunmugaraja Paraparan 
 parapa...@wso2.com wrote:

 Congratz Ashan.

 On Fri, Mar 6, 2015 at 4:45 PM, Samisa Abeysinghe sam...@wso2.com
 wrote:

 Hi All
 It's my pleasure to welcome Ashan as a WSO2 Committer.

 Ashan, welcome aboard and keep up the good work!

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Delivery

 WSO2 Inc.
 http://wso2.com


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




 --
 Thanks  Regards
 --
 Srisunmugaraja Paraparan
 Software Engineer,
 WSO2 Inc. - lean . enterprise . middleware |  wso2.com

 email : parapa...@wso2.com, mobile : +94 77 0362151




 --
 Jagath Ariyananda
 Director - Support
 WSO2, Inc.
 Mobile:+94 714887531

 Disclaimer: This communication may contain privileged or other
 confidential information and is intended exclusively for the 
 addressee/s.
 If you are not the intended recipient/s, or believe that you may have
 received this communication in error, please reply to the sender 
 indicating
 that fact and delete the copy you received and in addition, you should 
 not
 print, copy, retransmit, disseminate, or otherwise use the information
 contained in this communication. Internet communications cannot be
 guaranteed to be timely, secure, error or virus-free. The sender does 
 not
 accept liability for any errors or omissions.

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




 --
 Best Regards,

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

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

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




 --
 Vinod Kavinda
 Software Engineer, *WSO2, Inc http://www.wso2.com.*
 Mobile : +94 (0) 712 415544
 vi...@wso2.com

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




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

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




 --
 Malith Munasinghe | Software Engineer
 M: +94 (071) 9401122
 E: mali...@wso2.com
 W: http://wso2.com

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




 --
 Isuruwan Herath
 Technical Lead

 Contact: +94 776 273 296

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




 --
 Suminda Chamara Silva
 Associate Technical Lead
 WSO2 Inc.
 Mobile: +94718302858
 blog: http://chamaras.blogspot.com


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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Irham Iqbal

2015-03-10 Thread Malintha Adikari
Congratulations Irham!

On Tue, Mar 10, 2015 at 7:51 AM, Krishantha Samaraweera krishan...@wso2.com
 wrote:

 Hi all,

 It's my pleasure to welcome Irham Iqbal as a WSO2 Committer.

 Irham, welcome aboard and keep up the good work!

 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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2015-02-17 Thread Malintha Adikari
Hi Pubudu,

AFAIK above procedure is  correct. Please fine answers inline


On Tue, Feb 17, 2015 at 8:44 AM, Pubudu Dodangoda pubu...@wso2.com wrote:


 I am trying to authenticate a valid user (say admin/admin) via a
 webservice which is hosted inside the BAM
 The procedure I followed is as follows

 Create an AuthenticationAdminStub
 login using admin/ admin

 I have 3 issues
 1) Will this procedure work?


Yes


 2)What should be the service URL which should be given as a parameter to
 the AuthenticationAdminStub?


https://; + hostName + : + httpsPort + / + webContextRoot + / + 
services/ + AuthenticationAdmin;

As an example https://localhost:9443/services/AuthenticationAdmin;


3)What should be the remote address which should be given to the
 login(userName,password,remoteAddress) method?


It should be the hostname of the remote host (String). If you have resolved
it in /etc/hosts your can put that here. I think in your case it should be
localhost

Please look at this blog post for sample code [1]

[1]
http://nuwanwimalasekara.blogspot.com/2013/02/invoking-wso2-carbon-admin-services.html

Regards,
Malintha Adikari

 --
 Pubudu Dodangoda
 BSc Engineering(Hon's) Undergraduate
 Department of Computer Science Engineering
 University of Moratuwa
 0716053681 / 0775192994

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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] get Hostname and Port of the current server

2015-02-16 Thread Malintha Adikari
Hi,

Test Automation Framework  (from 4.3.0 version) provides single location to
store all test related configuration details (Host name ,port address,
tenant/user info...etc). If you are writing your test case inside existing
test module you can find that file (automation.xml [1]) in
*{your_module}/src/test/resources* location. You have to store your server
related configurations under *platform* section of that file.

ex:

productGroup name=ESB clusteringEnabled=false default=true
 instance name=lbw001 type=lb_worker_manager
nonBlockingTransportEnabled=true  hosts host type=worker
esb.wso2con.com/host host type=managermgt.esb.wso2con.com/
host  /hosts  portsport type=nhttps8243/portport
type=nhttp8280/port  /ports  properties
  /properties  /instance

..


Then you can retrieve those info inside your test case by creating
AutomationContext object.

ex:

automationContext = new AutomationContext(ESB,
TestUserMode.SUPER_TENANT_ADMIN);

Through this approach Framework facilitate you to prepare your test
environment. Please refer Automation Framework docs for information on how
to use/create this AutomationContext object[2], and blogs [3]


[1] https://docs.wso2.com/display/TA430/Automation.xml+File
[2]
http://wso2.com/library/articles/2014/06/how-to-write-connector-integration-tests-using-wso2-test-automation-framework/
[3]
http://malinthas.blogspot.com/2014/02/how-to-write-test-case-using-wso2-test.html

Regards,
Malintha

On Mon, Feb 16, 2015 at 10:14 AM, Malintha Adikari malin...@wso2.com
wrote:

 Hi Shiva,

 What is the Automation Test Framework version you are going to use?

 Regards,
 Malintha

 On Mon, Feb 16, 2015 at 10:07 AM, Shiva Balachandran sh...@wso2.com
 wrote:

 Hi All,

 I am writing some testcases and it is necessary for me to acquire the
 hostname(eg:-localhost) and the port (eg - 9443) of the current server,
 separately. Is there a method to get these data?

 Thank you.

 Regards
 --
 Shiva Balachandran
 Software Engineer
 WSO2 Inc.

 Mobile - +94 774445788
 Blog - https://shivabalachandran.wordpress.com/

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




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

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] get Hostname and Port of the current server

2015-02-16 Thread Malintha Adikari
Hi Shiva,

What is the Automation Test Framework version you are going to use?

Regards,
Malintha

On Mon, Feb 16, 2015 at 10:07 AM, Shiva Balachandran sh...@wso2.com wrote:

 Hi All,

 I am writing some testcases and it is necessary for me to acquire the
 hostname(eg:-localhost) and the port (eg - 9443) of the current server,
 separately. Is there a method to get these data?

 Thank you.

 Regards
 --
 Shiva Balachandran
 Software Engineer
 WSO2 Inc.

 Mobile - +94 774445788
 Blog - https://shivabalachandran.wordpress.com/

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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB] Error when running test cases

2015-02-10 Thread Malintha Adikari
Hi Pasadi,


According to the error log , Test Framework is trying to load a class
(Axis2ServerExtension) but it can't find it. We register classes in
automation.xml file which we expect to execute in various phases of test
execution. If you look at your automation.xml Listener Extensions
sections you may found you have registered this class.

Please make sure *Axis2ServerExtension* class is inside the expected
location.

Regards,
Malintha Adikari

On Tue, Feb 10, 2015 at 8:03 AM, Saneth Dharmakeerthi sane...@wso2.com
wrote:


 Hi Pasadi,

 Apologies and I misunderstood  *Axis2ServerExtension* as  a class in
 *org.wso2.carbon.**automationutils.*
 But
 *org.wso2.esb.integration.common.extensions.axis2server.Axis2ServerExtension*
 is  in *modules/integration/test-common/extensions*

 so please add *test-common/extensions* as a dependency in all your
 required test module pom files.

 dependency
 groupIdorg.wso2.esb/groupId
 artifactIdextensions/artifactId
 /dependency


 also the version should be the *$project.version* and the need to be
 added to the root pom.




 Thanks and Best Regards,

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

 On Tue, Feb 10, 2015 at 9:55 AM, Saneth Dharmakeerthi sane...@wso2.com
 wrote:

 HI Pasadi,

 Sorry, correct dependency for *Axis2ServerExtension *is as bellow

 dependency
 groupIdorg.wso2.carbon.automationutils/groupId
 artifactIdorg.wso2.carbon.integration.common.extensions/artifactId
 version${carbon.automationutils.version}/version
 /dependency

 carbon.automationutils.version4.3.0/carbon.automationutils.version


 Thanks and Best Regards,

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

 On Tue, Feb 10, 2015 at 9:51 AM, Saneth Dharmakeerthi sane...@wso2.com
 wrote:

 HI Pasadi,

 Please verify the pom is updated correctly with integration dependencies
 . *Axis2ServerExtension *is packed inside 
 org.wso2.carbon.*automation.extensions.
 *Also refer the dev mail[1]

 dependency

 groupIdorg.wso2.carbon.automation/groupId
 artifactIdorg.wso2.carbon.automation.extensions/artifactId
 version${carbon.automation.version}/version
 /dependency

 carbon.automation.version4.3.1/carbon.automation.version


 [1] [Dev] Automation dependencies to be updated in all products moving
 with git



 Thanks and Best Regards,

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

 On Tue, Feb 10, 2015 at 9:32 AM, Pasadi Munasinghe pasa...@wso2.com
 wrote:

 Hi,
 When I'm attempting to run the integration tests in product-esb using
 esb 4.9.0.-M7 pack, I'm getting the following error. This only occurs while
 running test cases , otherwise it is getting build successfully. Can anyone
 suggest a solution for this..?
 Stack Trace is as follows,

 Running TestSuite
 ERROR
 [org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener] -
 Execution error occurred in
 TestExecutionListener:-[Ljava.lang.StackTraceElement;@7aae3364
 org.apache.maven.surefire.util.SurefireReflectionException:
 java.lang.reflect.InvocationTargetException; nested exception is
 java.lang.reflect.InvocationTargetException: null
 java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
 at
 org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
 at
 org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
 at
 org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
 at
 org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
 Caused by: java.lang.RuntimeException: Error on initializing test
 environment
 at
 org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener.handleException(TestExecutionListener.java:71)
 at
 org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener.onExecutionStart(TestExecutionListener.java:52)
 at org.testng.TestNG.runExecutionListeners(TestNG.java:1032)
 at org.testng.TestNG.run(TestNG.java:983)
 at
 org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178)
 at
 org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
 at
 org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96)
 ... 9 more
 *Caused by: java.lang.ClassNotFoundException:
 org.wso2.esb.integration.common.extensions.axis2server.Axis2ServerExtension*
 at java.net.URLClassLoader$1.run(URLClassLoader.java:202

Re: [Dev] [ESB] - Integration Test Enhancements: Multi-tenant Login Test

2015-01-29 Thread Malintha Adikari
Hi pasadi,

If you look at the parent class init method, there we prepare some
resources which are helpful to the test writer.IMo you can create a
separate method doing the same thing in your test class and create two
automation context objects.

Regards,
Malintha

On ursday, January 29, 2015, Pasadi Munasinghe pasa...@wso2.com wrote:

 Hi,
 Not using tenant key and user key was the reason for the previous
 exception.
 new AutomtherContext(ESB,esbs001,wso2, user1 ); worked fine.

 The issue that I have now is, to make the users log in and for them to act
 as inboundAdminClients. They should use inbound endpoints and send messages
 from a queue.

 Above scenario requires separate session keys and contexturls for each
 client. Such variables are assigned from the base class [1] init method.
 But the init methods use a default tenant users hence I can't use that
 method.

 Is it okay to create another init() method within that class as
 init(String instanceName, String tenantName, String userName) ..?? If not,
 can some one suggest what should be done exactly..??



 [1]
 https://github.com/wso2-dev/product-esb/blob/master/modules/integration/test-common/integration-test-utils/src/main/java/org/wso2/esb/integration/common/utils/ESBIntegrationTest.java

 On Wed, Jan 28, 2015 at 11:23 AM, Malintha Adikari malin...@wso2.com
 javascript:_e(%7B%7D,'cvml','malin...@wso2.com'); wrote:

 Hi Pasadi,

 Can you share the code where you create AutomationContext objects ? Which
 parameters you passed in to the constrictors ?

 Regards,
 Malintha



 On Wed, Jan 28, 2015 at 5:41 AM, Pasadi Munasinghe pasa...@wso2.com
 javascript:_e(%7B%7D,'cvml','pasa...@wso2.com'); wrote:

 Hi Malintha,

 I tried to create separate automation contexts using productname as ESB
 and instance name as esbs001. But it throws a null pointer exception. Can
 you explain what I am doing wrong..?


 java.lang.NullPointerException
 at
 org.wso2.carbon.automation.engine.context.AutomationContext.getNonSuperTenant(AutomationContext.java:345)
 at
 org.wso2.carbon.automation.engine.context.AutomationContext.getContextTenant(AutomationContext.java:335)
 at
 org.wso2.carbon.automation.engine.context.AutomationContext.getContextUrls(AutomationContext.java:469)
 at
 org.wso2.carbon.integration.common.utils.LoginLogoutClient.init(LoginLogoutClient.java:51)
 at
 org.wso2.carbon.integration.common.utils.mgt.ServerConfigurationManager.init(ServerConfigurationManager.java:94)
 at
 org.wso2.carbon.esb.jms.inbound.transport.test.JMSInboundHttpTenantTestCase.init(JMSInboundHttpTenantTestCase.java:43)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
 at
 org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:525)
 at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:202)
 at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:130)
 at
 org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:173)
 at
 org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:105)
 at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
 at org.testng.TestRunner.privateRun(TestRunner.java:757)
 at org.testng.TestRunner.run(TestRunner.java:608)
 at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
 at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
 at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
 at org.testng.SuiteRunner.run(SuiteRunner.java:240)
 at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
 at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
 at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
 at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
 at org.testng.TestNG.run(TestNG.java:999)
 at
 org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178)
 at
 org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
 at
 org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
 at
 org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165

Re: [Dev] [ESB] - Integration Test Enhancements: Multi-tenant Login Test

2015-01-27 Thread Malintha Adikari
Hi Pasadi,

Can you share the code where you create AutomationContext objects ? Which
parameters you passed in to the constrictors ?

Regards,
Malintha



On Wed, Jan 28, 2015 at 5:41 AM, Pasadi Munasinghe pasa...@wso2.com wrote:

 Hi Malintha,

 I tried to create separate automation contexts using productname as ESB
 and instance name as esbs001. But it throws a null pointer exception. Can
 you explain what I am doing wrong..?


 java.lang.NullPointerException
 at
 org.wso2.carbon.automation.engine.context.AutomationContext.getNonSuperTenant(AutomationContext.java:345)
 at
 org.wso2.carbon.automation.engine.context.AutomationContext.getContextTenant(AutomationContext.java:335)
 at
 org.wso2.carbon.automation.engine.context.AutomationContext.getContextUrls(AutomationContext.java:469)
 at
 org.wso2.carbon.integration.common.utils.LoginLogoutClient.init(LoginLogoutClient.java:51)
 at
 org.wso2.carbon.integration.common.utils.mgt.ServerConfigurationManager.init(ServerConfigurationManager.java:94)
 at
 org.wso2.carbon.esb.jms.inbound.transport.test.JMSInboundHttpTenantTestCase.init(JMSInboundHttpTenantTestCase.java:43)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
 at
 org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:525)
 at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:202)
 at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:130)
 at
 org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:173)
 at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:105)
 at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
 at org.testng.TestRunner.privateRun(TestRunner.java:757)
 at org.testng.TestRunner.run(TestRunner.java:608)
 at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
 at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
 at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
 at org.testng.SuiteRunner.run(SuiteRunner.java:240)
 at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
 at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
 at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
 at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
 at org.testng.TestNG.run(TestNG.java:999)
 at
 org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178)
 at
 org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
 at
 org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
 at
 org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
 at
 org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
 at
 org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
 at
 org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)



 On Wed, Jan 28, 2015 at 8:08 AM, Saneth Dharmakeerthi sane...@wso2.com
 wrote:

 HI Pasadi,

 You can do the multiple user login in same script as bellow.

 user login:

 LoginLogoutUtil loginUtil = new LoginLogoutUtil(9443, localhost); //
 use correct port
 *sessionCookie* = loginUtil.login(TENANT_NAME_1, TENANT_PASSWORD,
 backendURL);

 Make sure to update the  cookie information as above. Use updated cookie
 for your next activities.

 Ex:
 WebAppAdminClient webAppAdminClient = new WebAppAdminClient(backendURL,
 *sessionCookie*);





 Thanks and Best Regards,

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

 On Tue, Jan 27, 2015 at 6:52 PM, Malintha Adikari malin...@wso2.com
 wrote:

 Hi Prasadi,

 In WSO2 Test Automation Framework, we store all configurations details
 related to tests in automation.xml file [1].  You can add/remove your tents
 under userManagement element of that file. Then Test Framework will
 automatically create tenants which are mentioned under above tag. So in
 your case please add two tenants in to that files


 tenant domain=wso2.com key=wso2.comadmin  user key=
 adminuserNameadmin/userNamepasswordadmin

Re: [Dev] [ESB] - Integration Test Enhancements: Multi-tenant Login Test

2015-01-27 Thread Malintha Adikari
Hi Prasadi,

In WSO2 Test Automation Framework, we store all configurations details
related to tests in automation.xml file [1].  You can add/remove your tents
under userManagement element of that file. Then Test Framework will
automatically create tenants which are mentioned under above tag. So in
your case please add two tenants in to that files


tenant domain=wso2.com key=wso2.comadmin  user
key=admin
userNameadmin/userNamepasswordadmin/password  /user  /
admin  users   user key=user1  userNametestuser11/userName
  passwordtestuser11/password  /user  user key=user2
userNametestuser21/userName  passwordtestuser21/password/
user  /users

tenant domain=test.com key=test.com  adminuser key=admin
userNameadmin/userName  passwordadmin/password /user /admin
users user key=user11userNametestuser111/userName
passwordtestuser11/password /useruser key=user21userName
testuser211/userNamepasswordtestuser21/password  /user /users



Then you can use those tenants seperately inside your tests. You can create
separate AutomationContext objects in your test (in your case two) and
use those AutomationContext objects for writing your test case. You can
achieve tenant separation through these objects.



*AutomationContext tenant1Context= new AutomationContext(productGroupName,
instanceName, wso2.com http://wso2.com, admin)AutomationContext
tenant2Context= new AutomationContext(productGroupName, instanceName,
test.com http://test.com, user11)*

(Please refer AutmationContext.java class[4] for different constructors you
can use to create your AutomationContext object)

In ESB tests above AutomationContext object is created inside a base
class [3] and all test classes inherited from that class. You can add your
AutomationContext objects in your test class and it will do no harm

Note: Tenant creation process is done by AutomationFramework here. (In the
upstart of the carbon server)

If you want to create tenants inside your test case it self please refer
how Automation Framework do the same thing [2]

[1]
https://github.com/wso2/product-as/blob/master/modules/integration/tests-integration/tests/src/test/resources/automation.xml
[2]
https://github.com/wso2-dev/carbon-platform-integration-utils/tree/master/common-framework-extensions/src/main/java/org/wso2/carbon/integration/common/extensions/usermgt
[3]
https://github.com/wso2-dev/product-esb/blob/master/modules/integration/test-common/integration-test-utils/src/main/java/org/wso2/esb/integration/common/utils/ESBIntegrationTest.java
[4]
https://github.com/wso2-dev/carbon-platform-integration/blob/master/test-automation-framework/org.wso2.carbon.automation.engine/src/main/java/org/wso2/carbon/automation/engine/context/AutomationContext.java

Regards,
Malintha Adikari



On Tue, Jan 27, 2015 at 12:46 PM, Irham Iqbal iq...@wso2.com wrote:

 Hi,

 In this class[1] we populate users for tenant. you can go through
 addTenantUsers method and see how you can add users.

 [1]
 https://github.com/wso2-dev/carbon-platform-integration-utils/blob/master/common-framework-extensions/src/main/java/org/wso2/carbon/integration/common/extensions/usermgt/UserPopulator.java

 Thanks,
 Iqbal

 On Tue, Jan 27, 2015 at 5:55 PM, Pasadi Munasinghe pasa...@wso2.com
 wrote:

 Hi Irham,

 Thank you for the reply.
 What I actually need to do is to create one tenant and make him execute a
 certain process and the other one should log in and some other process. Can
 you please elaborate how can I get each user to perform their respective
 activities..??
 Thanx..!!

 On Tue, Jan 27, 2015 at 5:40 PM, Irham Iqbal iq...@wso2.com wrote:

 Hi Pasadi,

 You can use automation.xml[1] to create multiple tenants.
 You can define your tenants inside userManagement tag and  inside 
 listenerExtensions tag add the extension class[2]. This
 automation.xml[1] already has those configuration.

 [1]
 https://github.com/wso2/product-as/blob/master/modules/integration/tests-integration/tests/src/test/resources/automation.xml


 [2]org.wso2.carbon.integration.common.extensions.usermgt.UserPopulateExtension


 Thanks,
 Iqbal

 On Tue, Jan 27, 2015 at 5:20 PM, Pasadi Munasinghe pasa...@wso2.com
 wrote:

 Hi,
 I am in the process of implementing a test case where initially 2
 tenant users should be able to log in. How should I do this..??
 Thanx..!!!
 --
 Pasadi Munasinghe
 Software Engineer Intern
 WSO2, Inc
 Mobile: +9471 377 5515

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




 --
 Irham Iqbal
 Software Engineer - Test Automation
  WSO2, Inc.: http://wso2.com
 lean. enterprise. middleware
 phone: +94 777888452




 --
 Pasadi Munasinghe
 Software Engineer Intern
 WSO2, Inc
 Mobile: +9471 377 5515




 --
 Irham Iqbal
 Software Engineer - Test Automation
  WSO2, Inc.: http://wso2.com
 lean. enterprise. middleware
 phone: +94 777888452

Re: [Dev] WSO2 Committers += Amalka Subasinghe

2015-01-26 Thread Malintha Adikari
Congratulations.

On Tue, Jan 27, 2015 at 4:54 AM, Dimuthu Leelarathne dimut...@wso2.com
wrote:

 Hi all,

 It is with great pleasure that WSO2 welcomes Amalka Subasinghe as
 a committer!

 Congratulations!

 thanks,
 Dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

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

 Lean . Enterprise . Middleware

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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Commiters += Sameera Jayaratna

2015-01-04 Thread Malintha Adikari
Congratulations..

On Mon, Jan 5, 2015 at 7:48 AM, Sajini De Silva saj...@wso2.com wrote:

 Congratulations Sameera !!!

 On Mon, Jan 5, 2015 at 1:17 PM, Manoj Gunawardena man...@wso2.com wrote:

 Congratulations Sameera !

 On Mon, Jan 5, 2015 at 1:14 PM, Ruchira Wageesha ruch...@wso2.com
 wrote:

 Hi All,

 It's my pleasure to welcome Sameera Jayaratna as a WSO2 Committer.
 Sameera is a member of WSO2 UES/ES team and has done a great contribution
 to WSO2 ES product showing a great enthusiasm in her work. In recognition
 of her contribution, she has been voted as a WSO2 Committer.

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

 /Ruchira

 --

 *Ruchira Wageesha**Associate Technical Lead*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com
 http://wso2.com*

 *email: ruch...@wso2.com ruch...@wso2.com,   blog:
 ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com,
 mobile: +94 77 5493444 %2B94%2077%205493444*

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




 --
 Manoj Gunawardena
 Tech Lead
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 Mobile : +94 77 2291643

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




 --
 Sajini De SIlva
 Software Engineer; WSO2 Inc.; http://wso2.com ,
 Email: saj...@wso2.com
 Blog: http://sajinid.blogspot.com/
 Git hub profile: https://github.com/sajinidesilva

 Phone: +94 712797729


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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Commiters += Ayesha Dissanayaka

2015-01-04 Thread Malintha Adikari
Congratulations Ayesha!!!


On Mon, Jan 5, 2015 at 7:43 AM, Ruchira Wageesha ruch...@wso2.com wrote:

 Hi All,

 It's my pleasure to welcome Ayesha Dissanayaka as a WSO2 Committer. Ayesha
 is a member of WSO2 UES/ES team and has done a great contribution to WSO2
 ES product showing a great enthusiasm in her work. In recognition of her
 contribution, she has been voted as a WSO2 Committer.

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

 /Ruchira

 --

 *Ruchira Wageesha**Associate Technical Lead*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com http://wso2.com*

 *email: ruch...@wso2.com ruch...@wso2.com,   blog:
 ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com,
 mobile: +94 77 5493444 %2B94%2077%205493444*

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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Can we use property values for DBLookup/Report mediator connection details

2015-01-03 Thread Malintha Adikari
Hi,

I am using DBLookUP/Report mediator. There I want to get  DB connection
details (username, password...etc ) from a properties rather than
hard-coding it inside the mediator as follows

dbreport
connection
   pool
  passwordabc123/password
  useruser123/user
  urljdbc:mysql://10.0.0.1/mydb/url
  drivercom.mysql.jdbc.Driver/driver
   /pool
/connection

Can I use values stored in properties for above connection details ?

Regards,
Malintha Adikari

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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Firzhan Naqash

2014-12-23 Thread Malintha Adikari
Congratzz Firzhan...!!!


On Wed, Dec 24, 2014 at 4:55 AM, Ravindra Ranwala ravin...@wso2.com wrote:

 Congrats Firzhan !!!

 On Tue, Dec 23, 2014 at 4:32 PM, Thanuja Jayasinghe than...@wso2.com
 wrote:

 Congratz Firzhan.

 On Tue, Dec 23, 2014 at 5:42 AM, Dakshika Jayathilaka daksh...@wso2.com
 wrote:

 Congratulations !!

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

 On Tue, Dec 23, 2014 at 2:27 PM, Manoj Kumara ma...@wso2.com wrote:

 Congratulations !!


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

 On Tue, Dec 23, 2014 at 2:26 PM, Sajini De Silva saj...@wso2.com
 wrote:

 Congratulations Firzhan!!!

 On Tue, Dec 23, 2014 at 2:25 PM, Lasitha Wattaladeniya 
 lasit...@wso2.com wrote:

 Congratulations !

 On Tue, Dec 23, 2014 at 11:48 AM, Kasun De Silva kas...@wso2.com
 wrote:

 Congratz Firzan !!!

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

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


 On Tue, Dec 23, 2014 at 11:46 AM, Nandika Jayawardana 
 nand...@wso2.com wrote:

 Hi All,

 It is my pleasure to welcome Firzhan as a WSO2 committer. Firzhan
 is a key member of Business Process Server Team and has contributed to 
 Both
 BPS and IS.
 Welcome aboard and week up the good work !

 Regards
 Nandika

 --
 Nandika Jayawardana
 Senior Technical Lead
 WSO2 Inc ; http://wso2.com
 lean.enterprise.middleware

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



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




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

 Mobile : +94719397528
 Blog : techreadme.blogspot.com

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




 --
 Sajini De SIlva
 Software Engineer; WSO2 Inc.; http://wso2.com ,
 Email: saj...@wso2.com
 Blog: http://sajinid.blogspot.com/
 Git hub profile: https://github.com/sajinidesilva

 Phone: +94 712797729


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



 ___
 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




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




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


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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error while adding value to XML element added using enrich mediator

2014-12-03 Thread Malintha Adikari
Hi Jerad,

Thank you for the answer.



On Wed, Dec 3, 2014 at 9:32 AM, Jerad Rutnam je...@wso2.com wrote:

 Hi Malintha,

 I'm not sure if this will help, did you try adding a type to target tag.

 enrich
 source type=property clone=true
 property=message1/source
 target type=custom xpath=//deliverystatus xmlns=
 http://ws.apache.org/ns/synapse;/target


we can explicitly add namespace as above. If we don't assign any , the
default namespace will be added.  AFAIK, no need to add the default ns
explicitly.

/enrich

 Regards,

 On Mon, Dec 1, 2014 at 7:52 PM, Malintha Adikari malin...@wso2.com
 wrote:

 Hi Senduran,

 I tried it but the issue is still there ( Using esb 4.8.1). Will check
 more with your sample. Thank you very much

 On Mon, Dec 1, 2014 at 2:03 PM, Senduran Balasubramaniyam 
 sendu...@wso2.com wrote:

 Hi Malintha,

 can you try the following and let me know (btw  I tried with ESB 4.8.1)

 property name=deliverystatus scope=default
 deleveryStatus xmlns=temval/deleveryStatus
 /property

 property name=message1 value=abc123 scope=default
 type=STRING/property

 enrich
 source type=property clone=true
 property=deliverystatus/source
 target type=body action=child/target
 /enrich


 enrich
 source clone=true type=custom xpath=$ctx:message1/source
 target action=replace type=custom
 xpath=//deliverystatus/text()/target
 /enrich

 Thanks
 Senduran

 On Mon, Dec 1, 2014 at 6:49 PM, Malintha Adikari malin...@wso2.com
 wrote:

 Hi Senduran,

 Thank you for the prompt response.


 On Mon, Dec 1, 2014 at 1:06 PM, Senduran Balasubramaniyam 
 sendu...@wso2.com wrote:

 Hi Malintha,

 You can get rid of the default namespace by adding an empty namespace
 i.e
 property name=deliverystatus scope=default
 deleveryStatus xmlns=/deleveryStatus
 /property


 I have already tried adding xmlns= to remove added namespace. But it
 did not fix the issue for me.


 also I am not quite sure about the 2nd enrich mediator's target. Since
 if you are adding something like //deliverystatus then the xpath will 
 try
 to find a deliverystatus node in the body.


 First I add this element to request body. Then I try to add value into
 that element. I used  log mediator and printed the payload after adding the
 deliveryStatus element and the payload contains that element. But I
 cannot access that element using //deliveryStatus xpath.

 I tried to access same DOM level elements and I could access them.
 Problem is cannot access the newly added element though it exists.


 If your request doesn't have a deliverystatus node this error may
 occur

 Thanks
 Senduran


 On Mon, Dec 1, 2014 at 5:59 PM, Malintha Adikari malin...@wso2.com
 wrote:

 Hi,

 I want to add following XML element as a child to the payload body

 deleveryStatusabc123/deleveryStatus

 This abc123 value is taken from a property.

 I used enrich mediator to add the element as follows

 property name=deliverystatus scope=default
 deleveryStatus/deleveryStatus
  /property

  enrich
 source type=property clone=true
 property=deliverystatus/source
 target type=body action=child/target
  /enrich

 and it sets the element as expected to the body (with default
 namespace)

 (deleveryStatus xmlns=http://ws.apache.org/ns/synapse
 /deleveryStatus)

 Then I tired to set value in to this element (taking from another
 property)

  enrich
 source type=property clone=true
 property=message1/source
 target xpath=//deliverystatus xmlns=
 http://ws.apache.org/ns/synapse;/target
   /enrich

 and it gives me following error

  *ERROR - EnrichMediator Invalid Target object to be enrich.*

 But I could add values to elements which were already there in the
 payload body (value can't be added only to the newly added one). What 
 could
 be the reason for this issue? Is there any other way to do this task ?

 Regards,
 Malintha Adikari
 --
 *Malintha Adikari*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

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




 --
 *Senduran *
 Software Engineer,
 WSO2, Inc.;  http://wso2.com/ http://wso2.com/
 Mobile: +94 77 952 6548




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

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha




 --
 *Senduran *
 Software Engineer,
 WSO2, Inc.;  http://wso2.com/ http://wso2.com/
 Mobile: +94 77 952 6548




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

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

 ___
 Dev mailing list
 Dev

Re: [Dev] Invoke a python script through java

2014-12-02 Thread Malintha Adikari
Hi Suhan,

IMO, the best approach is Jython[1] where we can embed python code inside
our java code. Jython is a python interpreter written in java and it allow
us to use python in platform independent manner.

[1] www.jython.org

Regards,
Malintha Adikari

On Tue, Dec 2, 2014 at 12:25 PM, Suhan Dharmasuriya suh...@wso2.com wrote:

 Hi,

 I'm currently using a python script to create instances in OpenStack via
 python NovaClient.
 My script sets up a cluster and is to perform some platform tests in a
 clustered environment.

 I want to invoke this python script inside a java plugin (which is yet to
 be written) as an extension to
 the WSO2 Test Automation Framework.

 What are the standard approaches for invoking python scripts inside java?
 Are there any svn/git WSO2 repositories I can refer?

 Thanks,
 Suhan
 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

 lean . enterprise . middleware
 Tel: +94 112 145345
 Mob: +94 779 869138
 Blog: http://suhan-opensource.blogspot.com/

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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Invoke a python script through java

2014-12-02 Thread Malintha Adikari
Hi Thushara,

On Tue, Dec 2, 2014 at 12:37 PM, Thushara Ranawaka thusha...@wso2.com
wrote:

 Hi Suhan,

 I had a similar kind of a issue few months ago, Kindly find this answer[1].

 [1]-
 http://stackoverflow.com/questions/23054880/execute-a-python-separate-application-in-a-java-application


Yes this is also an option. AFAIK, here we  here we call python language
from a process. Calling,  from platform Independent language(Java) to a
native application (Python) is not good approach IMO.


 Thanks,
 Thushara

 On Tue, Dec 2, 2014 at 5:55 PM, Suhan Dharmasuriya suh...@wso2.com
 wrote:

 Hi,

 I'm currently using a python script to create instances in OpenStack via
 python NovaClient.
 My script sets up a cluster and is to perform some platform tests in a
 clustered environment.

 I want to invoke this python script inside a java plugin (which is yet to
 be written) as an extension to
 the WSO2 Test Automation Framework.

 What are the standard approaches for invoking python scripts inside java?
 Are there any svn/git WSO2 repositories I can refer?

 Thanks,
 Suhan
 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

 lean . enterprise . middleware
 Tel: +94 112 145345
 Mob: +94 779 869138
 Blog: http://suhan-opensource.blogspot.com/

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




 --
 Thushara Kasun Ranawaka
 Software Engineer
 WSO2 Inc.; http://www.wso2.com
 lean.enterprise.middleware
 Mobile : *+94 (0) 773438949 %2B94%20%280%29%20773438949*
 *thusha...@wso2.com thusha...@wso2.com*

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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Error while adding value to XML element added using enrich mediator

2014-12-01 Thread Malintha Adikari
Hi,

I want to add following XML element as a child to the payload body

deleveryStatusabc123/deleveryStatus

This abc123 value is taken from a property.

I used enrich mediator to add the element as follows

property name=deliverystatus scope=default
deleveryStatus/deleveryStatus
 /property

 enrich
source type=property clone=true
property=deliverystatus/source
target type=body action=child/target
 /enrich

and it sets the element as expected to the body (with default namespace)

(deleveryStatus xmlns=http://ws.apache.org/ns/synapse;/deleveryStatus)

Then I tired to set value in to this element (taking from another property)

 enrich
source type=property clone=true
property=message1/source
target xpath=//deliverystatus xmlns=
http://ws.apache.org/ns/synapse;/target
  /enrich

and it gives me following error

 *ERROR - EnrichMediator Invalid Target object to be enrich.*

But I could add values to elements which were already there in the payload
body (value can't be added only to the newly added one). What could be the
reason for this issue? Is there any other way to do this task ?

Regards,
Malintha Adikari
-- 
*Malintha Adikari*
 Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error while adding value to XML element added using enrich mediator

2014-12-01 Thread Malintha Adikari
Hi Senduran,

Thank you for the prompt response.


On Mon, Dec 1, 2014 at 1:06 PM, Senduran Balasubramaniyam sendu...@wso2.com
 wrote:

 Hi Malintha,

 You can get rid of the default namespace by adding an empty namespace
 i.e
 property name=deliverystatus scope=default
 deleveryStatus xmlns=/deleveryStatus
 /property


I have already tried adding xmlns= to remove added namespace. But it did
not fix the issue for me.


 also I am not quite sure about the 2nd enrich mediator's target. Since if
 you are adding something like //deliverystatus then the xpath will try to
 find a deliverystatus node in the body.


First I add this element to request body. Then I try to add value into that
element. I used  log mediator and printed the payload after adding the
deliveryStatus element and the payload contains that element. But I
cannot access that element using //deliveryStatus xpath.

I tried to access same DOM level elements and I could access them. Problem
is cannot access the newly added element though it exists.


 If your request doesn't have a deliverystatus node this error may occur

 Thanks
 Senduran


 On Mon, Dec 1, 2014 at 5:59 PM, Malintha Adikari malin...@wso2.com
 wrote:

 Hi,

 I want to add following XML element as a child to the payload body

 deleveryStatusabc123/deleveryStatus

 This abc123 value is taken from a property.

 I used enrich mediator to add the element as follows

 property name=deliverystatus scope=default
 deleveryStatus/deleveryStatus
  /property

  enrich
 source type=property clone=true
 property=deliverystatus/source
 target type=body action=child/target
  /enrich

 and it sets the element as expected to the body (with default namespace)

 (deleveryStatus xmlns=http://ws.apache.org/ns/synapse
 /deleveryStatus)

 Then I tired to set value in to this element (taking from another
 property)

  enrich
 source type=property clone=true
 property=message1/source
 target xpath=//deliverystatus xmlns=
 http://ws.apache.org/ns/synapse;/target
   /enrich

 and it gives me following error

  *ERROR - EnrichMediator Invalid Target object to be enrich.*

 But I could add values to elements which were already there in the
 payload body (value can't be added only to the newly added one). What could
 be the reason for this issue? Is there any other way to do this task ?

 Regards,
 Malintha Adikari
 --
 *Malintha Adikari*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

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




 --
 *Senduran *
 Software Engineer,
 WSO2, Inc.;  http://wso2.com/ http://wso2.com/
 Mobile: +94 77 952 6548




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error while adding value to XML element added using enrich mediator

2014-12-01 Thread Malintha Adikari
Hi Senduran,

I tried it but the issue is still there ( Using esb 4.8.1). Will check more
with your sample. Thank you very much

On Mon, Dec 1, 2014 at 2:03 PM, Senduran Balasubramaniyam sendu...@wso2.com
 wrote:

 Hi Malintha,

 can you try the following and let me know (btw  I tried with ESB 4.8.1)

 property name=deliverystatus scope=default
 deleveryStatus xmlns=temval/deleveryStatus
 /property

 property name=message1 value=abc123 scope=default
 type=STRING/property

 enrich
 source type=property clone=true
 property=deliverystatus/source
 target type=body action=child/target
 /enrich


 enrich
 source clone=true type=custom xpath=$ctx:message1/source
 target action=replace type=custom
 xpath=//deliverystatus/text()/target
 /enrich

 Thanks
 Senduran

 On Mon, Dec 1, 2014 at 6:49 PM, Malintha Adikari malin...@wso2.com
 wrote:

 Hi Senduran,

 Thank you for the prompt response.


 On Mon, Dec 1, 2014 at 1:06 PM, Senduran Balasubramaniyam 
 sendu...@wso2.com wrote:

 Hi Malintha,

 You can get rid of the default namespace by adding an empty namespace
 i.e
 property name=deliverystatus scope=default
 deleveryStatus xmlns=/deleveryStatus
 /property


 I have already tried adding xmlns= to remove added namespace. But it
 did not fix the issue for me.


 also I am not quite sure about the 2nd enrich mediator's target. Since
 if you are adding something like //deliverystatus then the xpath will try
 to find a deliverystatus node in the body.


 First I add this element to request body. Then I try to add value into
 that element. I used  log mediator and printed the payload after adding the
 deliveryStatus element and the payload contains that element. But I
 cannot access that element using //deliveryStatus xpath.

 I tried to access same DOM level elements and I could access them.
 Problem is cannot access the newly added element though it exists.


 If your request doesn't have a deliverystatus node this error may occur

 Thanks
 Senduran


 On Mon, Dec 1, 2014 at 5:59 PM, Malintha Adikari malin...@wso2.com
 wrote:

 Hi,

 I want to add following XML element as a child to the payload body

 deleveryStatusabc123/deleveryStatus

 This abc123 value is taken from a property.

 I used enrich mediator to add the element as follows

 property name=deliverystatus scope=default
 deleveryStatus/deleveryStatus
  /property

  enrich
 source type=property clone=true
 property=deliverystatus/source
 target type=body action=child/target
  /enrich

 and it sets the element as expected to the body (with default namespace)

 (deleveryStatus xmlns=http://ws.apache.org/ns/synapse
 /deleveryStatus)

 Then I tired to set value in to this element (taking from another
 property)

  enrich
 source type=property clone=true
 property=message1/source
 target xpath=//deliverystatus xmlns=
 http://ws.apache.org/ns/synapse;/target
   /enrich

 and it gives me following error

  *ERROR - EnrichMediator Invalid Target object to be enrich.*

 But I could add values to elements which were already there in the
 payload body (value can't be added only to the newly added one). What could
 be the reason for this issue? Is there any other way to do this task ?

 Regards,
 Malintha Adikari
 --
 *Malintha Adikari*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

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




 --
 *Senduran *
 Software Engineer,
 WSO2, Inc.;  http://wso2.com/ http://wso2.com/
 Mobile: +94 77 952 6548




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

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha




 --
 *Senduran *
 Software Engineer,
 WSO2, Inc.;  http://wso2.com/ http://wso2.com/
 Mobile: +94 77 952 6548




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Programmatically shutdown servers in a cluster using puppet master to agent communication

2014-11-26 Thread Malintha Adikari
Hi,

Thank you Manula for prompt reply.

On Wed, Nov 26, 2014 at 6:51 AM, Manula Waidyanatha man...@wso2.com wrote:

 The easiest way is to send a kill signal (SIGTERM) to the process since
 you can get the Process ID from carbon home.
 If not, you can run the Application server as a Linux service (init or
 upstart). Then you can use the Mcollective service plugin to stop the
 service in a cluster.


I think Mcollective approach is better as we have the  server starting
requirement as well.


Regards,
Malintha Adikari


 On Wed, Nov 26, 2014 at 12:06 PM, Suhan Dharmasuriya suh...@wso2.com
 wrote:

 Hi,

 Currently Malintha and I are in to RD of deployment automation.

 We have a requirement to shutdown a application server temporarily in a
 cluster node.
 For that we are thinking of pushing a configuration from puppet master to
 agent node.

 Can we use puppet kick or mCollective commands to perform this task?
 Is there a better alternative other than using puppet?

 Thanks,
 Suhan
 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

 lean . enterprise . middleware
 Tel: +94 112 145345
 Mob: +94 779 869138
 Blog: http://suhan-opensource.blogspot.com/




 --
 Regards,
 Manula Waidyanatha
 Systems Engineer, WSO2, Inc.
 Phone: +94 774 195853
 Blog: blog.manula.org




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Sajini De Silva

2014-11-18 Thread Malintha Adikari
Congratulations Sajini !!!

On Tue, Nov 18, 2014 at 8:13 AM, Ashan Dhananjaya ash...@wso2.com wrote:

 congratzz sajini. all da very best!! happy for u.

 On Tue, Nov 18, 2014 at 1:26 PM, Ramith Jayasinghe ram...@wso2.com
 wrote:

 Hi Sajini,
 Congratulations!
 It is with great pleasure that we welcome you as a WSO2 committer. Keep
 up the good work!

 thanks and best regards

 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com

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




 --
 Ashan Dhananjaya Kumara
 Trainee Software Engineer, WSO2 Inc.
 Inc: *WSO2 Inc. *
 Phone : +94715547461
 Blog : http://ashandhananjaya.blogspot.com/
 Twitter  : https://twitter.com/Dhananjaya92
 Say ello :https://ello.co/ashandk





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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Harsha Kumara

2014-11-06 Thread Malintha Adikari
Congratulations Harsha !

On Fri, Nov 7, 2014 at 5:35 AM, Thilini Anoratna thili...@wso2.com wrote:

 Congratz Harsha!!  :)

 On Fri, Nov 7, 2014 at 10:53 AM, Buddhima Wijeweera buddh...@wso2.com
 wrote:

 Congratulations Harsha !!!

 On Fri, Nov 7, 2014 at 10:47 AM, Roshan Wijesena ros...@wso2.com wrote:

 Congratulations..!!

 On Fri, Nov 7, 2014 at 10:41 AM, Rajeevan Vimalanathan 
 rajeev...@wso2.com wrote:

 Congratz Harsha...!!!

 On Fri, Nov 7, 2014 at 10:33 AM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Harsha !

 On Fri, Nov 7, 2014 at 10:26 AM, Mahesh Chinthaka mahe...@wso2.com
 wrote:

 Congratulations Harsha

 On Fri, Nov 7, 2014 at 10:17 AM, Prabath Abeysekera 
 praba...@wso2.com wrote:

 Hi Everyone,

 It's my pleasure to welcome Harsha Kumara as a WSO2 Committer.
 Harsha has always been a key member of the Storage Server team 
 contributing
 immensely to SS related developments ever since he joined us a few 
 months
 back. In recognition of his contributions, ownership shown towards the
 tasks/responsibilities assigned to him, and commitment, he's been voted 
 as
 a WSO2 committer.

 Harsha, Welcome aboard and keep up the awesome work!


 Cheers,
 Prabath
 --
 Prabath Abeysekara
 Associate Technical Lead, Data TG.
 WSO2 Inc.
 Email: praba...@wso2.com
 Mobile: +94774171471

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




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




 --
 Best Regards,

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

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




 --
 Best Regards,
 V.Rajeevan
 Software Engineer,
 WSO2 Inc. :http://wso2.com

 Mobile : +94 773090875
 Email : rajeev...@wso2.com

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




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

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




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

 Email: buddh...@wso2.com
 Blog:   https://buddhimawijeweera.wordpress.com
 GitHub Profile: https://github.com/Buddhima

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




 --
 Thilini Anoratna
 Software Engineering Intern
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile : +94 (0) 778955654
 Email: thili...@wso2.com

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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Asanka Abeyweera

2014-11-05 Thread Malintha Adikari
Congratulations...

On Wed, Nov 5, 2014 at 4:46 PM, Mahesh Chinthaka mahe...@wso2.com wrote:

 Congratulations Asanka...!!!

 On Wed, Nov 5, 2014 at 10:07 PM, Ramith Jayasinghe ram...@wso2.com
 wrote:

 Hi Asanka,
  Congratulations!
 It is with great pleasure that we welcome you as a WSO2 committer. Keep
 up the good work!
 thanks and best regards,

 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com


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




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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-29 Thread Malintha Adikari
-bin/mailman/listinfo/dev



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




 --
 Best Regards,
 V.Rajeevan
 Software Engineer,
 WSO2 Inc. :http://wso2.com

 Mobile : +94 773090875
 Email : rajeev...@wso2.com

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




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




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

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




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

 Email: buddh...@wso2.com
 Blog:   https://buddhimawijeweera.wordpress.com
 GitHub Profile: https://github.com/Buddhima

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



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




 --

 Tharindu Edirisinghe
 Software Engineer | WSO2 Inc
 Identity Server Team
 mobile : +94 775 181586

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



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




 --
 Shiva Balachandran
 Software Engineer
 WSO2 Inc.

 Mobile - +94 774445788

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




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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Gayashan Amarasinghe

2014-10-20 Thread Malintha Adikari
Congratulations.!!!

On Mon, Oct 20, 2014 at 6:20 AM, Sameera Jayasoma same...@wso2.com wrote:

 Hi Gayashan,

 It's my pleasure to welcome you to WSO2 Committers club. You've been
 contributing to WSO2 in various forms, hence you deserve this. Please keep
 up with good work you've been doing so far.

 Congratulations!!!

 Thanks,
 Sameera.

 --
 Sameera Jayasoma,
 Software Architect,

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

 Lean . Enterprise . Middleware


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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Tishan Dahanayakage

2014-10-20 Thread Malintha Adikari




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Reduce the execution speed of Web Driver

2014-10-20 Thread Malintha Adikari
On Mon, Oct 20, 2014 at 4:55 AM, Ayesha Dissanayaka aye...@wso2.com wrote:

 Hi,

 I'm also having this concern while executing UI test cases in WSO2 ES.

 In my case ES Publisher App take ablout 15sec in order to populate
 properly after completing indexing and all. Hence, I have to thread sleep
 all the test classes. I would also like to know whether this is the
 recommended way to slow down the web driver, or can we implicitly wait to
 start the test execution by the framework.

 Thanks!
 - Ayesha

 On Fri, Oct 17, 2014 at 10:10 AM, Sohani Weerasinghe soh...@wso2.com
 wrote:

 Hi,

 When using selenium web driver to write test cases, currently  I am using
 Thread sleeps in order to control the speed of the browser. Is this the
 recommended way to slow down the execution speed?

 Selenium web driver has no method to control the speed of the tests. Yes
,the possible solution is hold the execution by implicit/explicit waiting
(but not mixing them - [1] ). IMO, in the worst case we have to use thread
sleep when we cannot find a way to use above web driver built in waiting
methods.

[1] http://docs.seleniumhq.org/docs/04_webdriver_advanced.jsp

Regards,
Malintha Adikari

Please note that I am also using explicit waits to wait for certain
 conditions to occur before proceeding further and implicit waits to poll
 the DOM for a certain amount of time to find an element.

 Thanks,
 Sohani
 Sohani Weerasinghe
 Software Engineer
 WSO2, Inc: http://wso2.com

 Mobile  : +94 716439774
 Blog :http://christinetechtips.blogspot.com/
 Twitter  : https://twitter.com/sohanichristine

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




 --
 *Ayesha Dissanayaka*
 Software Engineer,
 WSO2, Inc : http://wso2.com
 http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg
 20, Palmgrove Avenue, Colombo 3
 E-Mail: aye...@wso2.com ayshsa...@gmail.com

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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to run a product with different configurations in Test Suit

2014-10-10 Thread Malintha Adikari
Hi Dharashana,

Test Automation Framework provides infrastructure facilities to develop and
execute automated tests. You can setup your test environment using test
automation framework before you run your automated test cases. Test
Automation Framework provide this environment preparing facility ( start up
servers.etc) to users through providing extending points to test
automation framework. It allow users to plug  custom classes to testng
listener interfaces  and implement their own tasks in the flow of test
execution.

We have provided this server startup facility as a pluggable class[3] a to
a  testng listeners [1]. Then we have registered that pluggable class in
the automation.xml file ( you can find this file in the resources folder
inside your test suite)  [2] which has all the configuration details for
your test execution as follows

listenerExtensions
  platformExecutionManager   extentionClasses  class
name
org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerExtension
/name  !--parameter name=-DportOffset value=0 /--  !--parameter
name=cmdArg value=debug 5005 /--.


 What happens in the test execution is , the test automation framework
looks for the registered pluggable classes inside the automation.xml and
execute those classes within appropriate phase of the test execution. ( ex
: Server startup pluggable class is executed before test cases execution
phase ). You can write your own pluggable classes using the set of
interfaces by test automation framework and registered those classes to do
own tasks within the test execution similarly.

For configuring before starting up servers, we haven't provide that
facility through test automation framework yet. AFAIK this can be achieved
using the Deployment Automation Framework which is still under development
[ Please refer Architecture of Deployment Automation Framework mail
thread in the architecture list for more info ] (you can pass limited
number of params to server starting-up task as you can see above provided
xml snippet).


[1] https://docs.wso2.com/display/TA430/TestNG+Listeners
[2] https://docs.wso2.com/display/TA430/Automation.xml+File
[3]
https://github.com/wso2-dev/carbon-platform-integration-utils/blob/master/common-framework-extensions/src/main/java/org/wso2/carbon/integration/common/extensions/carbonserver/CarbonServerExtension.java

Regards,
Malintha Adikari


On Fri, Oct 10, 2014 at 10:03 AM, Darshana Akalanka Pagoda Arachchi 
darsha...@wso2.com wrote:

 Hi all,

 In the Message Broker test suit we have test cases which automatically run
 the products and then runs tests on it. I however do not have a clear idea
 on how the products gets deployed.

 All we have is a base test class which is extended by other test classes
 which is as follows.


 --
 *import org.apache.commons.logging.Log;*
 *import org.apache.commons.logging.LogFactory;*
 *import org.wso2.carbon.automation.engine.context.AutomationContext;*
 *import org.wso2.carbon.automation.engine.context.TestUserMode;*

 */***
 * * Base class of all MB integration tests*
 * */*
 *public class MBIntegrationBaseTest {*

 *protected Log log = LogFactory.getLog(MBIntegrationBaseTest.class);*
 *protected AutomationContext automationContext;*
 *protected String backendURL;*

 *protected void init(TestUserMode userMode) throws Exception {*
 *automationContext = new AutomationContext(MB, userMode);*
 *backendURL = automationContext.getContextUrls().getBackEndUrl();*
 *}*

 *}*


 ---

 The pom file for this module is attached and I believe is responsible in
 copying and extracting the built product to a working directory to test.

 I want to write a test which alter the configurations of the products
 before the product is deployed. Is this possible? Please advice.

 Thanks,
 --
 *Darshana Akalanka Pagoda Arachchi,*
 *Software Engineer*
 *078-4721791*

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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Denuwanthi De Silva

2014-10-10 Thread Malintha Adikari
 Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792

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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Sameera Kannangara

2014-10-09 Thread Malintha Adikari
Congratulations Sameera!

On Fri, Oct 10, 2014 at 11:07 AM, Gayashan Amarasinghe gayas...@wso2.com
wrote:

 Congratulations Kannangara!!!

 On Fri, Oct 10, 2014 at 11:04 AM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 Congrats sameera.

 On Fri, Oct 10, 2014 at 10:36 AM, Yasassri Ratnayake yasas...@wso2.com
 wrote:

 Congrats Sameera!!

 On Fri, Oct 10, 2014 at 10:33 AM, Vijitha Ekanayake vijit...@wso2.com
 wrote:

 Congratulations Sameera !!!

 On Fri, Oct 10, 2014 at 9:42 AM, Heshani Gamage hesh...@wso2.com
 wrote:

 Congratulations Sameera!

 On Fri, Oct 10, 2014 at 9:38 AM, Subash Chaturanga sub...@wso2.com
 wrote:

 Hi all,
 It's our pleasure to welcome Sameera Kannangara as a WSO2 Committer.
 Sameera has contributed immensely to WSO2 Governance Registry and 
 platform
 and shown great commitment. In recognition of his contribution, he has 
 been
 voted as a WSO2 Commiter.

 Welcome aboard and keep up the good work.

 --
 Thanks
 /subash

 *Subash Chaturanga*
 Senior Software Engineer
 Platform TG; WSO2 Inc. http://wso2.com
 Contact:
 email: sub...@wso2.com
 blog:  http://subashsdm.blogspot.com/
 twitter: @subash89
 phone: +9477 2225922
 Lean . Enterprise . Middleware

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




 --
 Heshani Gamage
 Software Engineer, WSO2, Inc.
 email : hesh...@wso2.com

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




 --
 Vijitha Ekanayake
 Software Engineer*, *WSO2, Inc.; http://wso2.com/
 Mobile : +94 777 24 73 39 | +94 718 74 44 08
 lean.enterprise.middleware

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




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

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




 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792

 ___
 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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Anuruddha Premalal

2014-09-29 Thread Malintha Adikari
Congratulations Anuruddha.!!

On Mon, Sep 29, 2014 at 1:13 PM, Yasassri Ratnayake yasas...@wso2.com
wrote:

 Congrats Anuruddha!!

 On Mon, Sep 29, 2014 at 1:11 PM, Vijitha Ekanayake vijit...@wso2.com
 wrote:

 Congratulations Anuruddha ..!!!

 On Mon, Sep 29, 2014 at 12:55 PM, Lasindu Charith lasi...@wso2.com
 wrote:

 Congratulations Anuruddha ..!!!

 On Mon, Sep 29, 2014 at 11:41 AM, Tharindu Edirisinghe 
 tharin...@wso2.com wrote:

 Congratulations Anuruddha 

 On Mon, Sep 29, 2014 at 11:28 AM, Waruna De Silva waru...@wso2.com
 wrote:

 Congratulations Anuruddha.!!

 On Mon, Sep 29, 2014 at 8:53 AM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Anuruddha Premalal  as a WSO2 Committer.
 Anuruddha has contributed immensely to WSO2 App Factory and has shown 
 great
 commitment. In recognition of his contribution, he has been voted as a 
 WSO2
 Committer.

 Anuruddha, welcome aboard!

 Regards,
 Amila.

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




 --

 --
 Waruna De Silva.
 Director of Engineering ; WSO2, Inc.;  http://wso2.com/
 cell +94 777 316866

 Lean . Enterprise . Middleware


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




 --

 Tharindu Edirisinghe
 Software Engineer | WSO2 Inc
 Identity Server Team
 mobile : +94 775 181586

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




 --
 *Lasindu Charith*
 Software Engineer, WSO2 Inc.
 Mobile: +94714427192
 Web: blog.lasindu.com

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




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




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

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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Commiters += Rajith Siriwardena

2014-09-25 Thread Malintha Adikari
 list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Rajkumar Rajaratnam
 Software Engineer | WSO2, Inc.
 Mobile +94777568639 | +94783498120

 ___
 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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Sewwandhi Perera

2014-09-17 Thread Malintha Adikari
,
 WSO2 Inc.

 *E-mail:* chathuri...@wso2.com
 *Mobile: *+94714 328 612
 *Blog*: chathurikaerandi.blogspot.com

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




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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Harshan Liyanage

2014-09-17 Thread Malintha Adikari
Congratulations Harshan 

On Thu, Sep 18, 2014 at 5:12 AM, Kasun Dissanayake kas...@wso2.com wrote:

 Hi Harshan,

 Congratulations

 On Thu, Sep 18, 2014 at 10:36 AM, Manula Chathurika Thantriwatte 
 manu...@wso2.com wrote:

 Congratulations !!!

 On Thu, Sep 18, 2014 at 10:13 AM, Jayanga Dissanayake jaya...@wso2.com
 wrote:

 Congratulations Harshan...

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

 On Thu, Sep 18, 2014 at 9:54 AM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Harshan !

 On Thu, Sep 18, 2014 at 9:49 AM, Chan duli...@wso2.com wrote:

 Congratz Harshan!

 On Thu, Sep 18, 2014 at 9:36 AM, Chathurika De Silva 
 chathuri...@wso2.com wrote:

 Congratulations Harshan 

 On Thu, Sep 18, 2014 at 9:35 AM, Sewwandi Perera sewwa...@wso2.com
 wrote:

 Congratulations Harshan...!!! :)

 On Thu, Sep 18, 2014 at 9:34 AM, Inosh Perera ino...@wso2.com
 wrote:

 Congrats Harshan!!! :)

 On Thu, Sep 18, 2014 at 9:33 AM, Niranjan Karunanandham 
 niran...@wso2.com wrote:

 Congrats Harshan!!


 On Thu, Sep 18, 2014 at 9:27 AM, Shanmugarajah Sinnathamby 
 s...@wso2.com wrote:

 Hi,

 Its my pleasure to welcome Harshan Liyanage  as a WSO2 Committer.
 Harshan has made great contributions to EMM product and other related
 products during the last few months and in recognition of his 
 commitment
 and contributions, he has been voted as a committer.

 Harshan, welcome aboard and keep up the good work.

 Best Regards,
 Shan









 --
 *Shanmugarajah (Shan)*
 Director, Mobile Architecture,
 WSO2, Inc.; http://wso2.com
 Email: s...@wso2.com
 Mobile : +9448260
 Blog: http://shanfour.blogspot.com



 --
 *Shanmugarajah (Shan)*
 Director, Mobile Architecture,
 WSO2, Inc.; http://wso2.com
 Email: s...@wso2.com
 Mobile : +9448260
 Blog: http://shanfour.blogspot.com

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




 --

 *Niranjan Karunanandham*
 Senior Software Engineer - WSO2 Inc.
 WSO2 Inc.: http://www.wso2.com

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




 --
 Inosh Perera
 Software Engineer, WSO2 Inc.
 Tel: 0785293686

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




 --
 Sewwandi Perera
 Software Engineer

 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware
 mobile: +94-713765098

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




 --
 *Chathurika Erandi*
 Software Engineer,
 WSO2 Inc.

 *E-mail:* chathuri...@wso2.com
 *Mobile: *+94714 328 612
 *Blog*: chathurikaerandi.blogspot.com

 ___
 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 duli...@wso2mobile.com*
 *  ~Mobile +94712112165 %2B94712112165*
 *  ~Website   dulitha.me http://dulitha.me*
 *  ~Twitter @dulitharw https://twitter.com/dulitharw*
   *~Github @dulichan https://github.com/dulichan*
   *~SO @chan http://stackoverflow.com/users/813471/chan*

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




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



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




 --
 Regards,
 Manula Chathurika Thantriwatte
 Software Engineer
 WSO2 Inc. : http://wso2.com
 lean . enterprise . middleware

 email : manu...@wso2.com / man...@apache.org
 phone : +94 772492511
 blog : http://manulachathurika.blogspot.com/




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




 --
 Kasun Dissanayake
 Software Engineer
 WSO2 Inc.
 Lean | Enterprise | Middleware
 Tel - +94 77 086 2860
 Skype - kasun.dissanayake4
 LinkedIn - lk.linkedin.com/in/kasundis/

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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Dilini Muthumala

2014-08-15 Thread Malintha Adikari
. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892


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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Adding validations to the ConfigurationErrorChecker when the execution mode is platform in automation.xml

2014-08-07 Thread Malintha Adikari
On Wed, Aug 6, 2014 at 10:09 PM, Amalka Subasinghe ama...@wso2.com wrote:




 On Wed, Aug 6, 2014 at 10:08 PM, Amalka Subasinghe ama...@wso2.com
 wrote:

 it just checking whether the following entries exist

  port type=http80/port
 port type=https443/port



 On Wed, Aug 6, 2014 at 9:56 PM, Nuwan Wimalasekara nuw...@wso2.com
 wrote:




 On Wed, Aug 6, 2014 at 10:08 PM, Amalka Subasinghe ama...@wso2.com
 wrote:

 Hi,

 When the execution mode is platform, there’s no validations to check
 whether instances configured properly in automation.xml

 Thought to add following validations:

 1. check whether at least 1 or more //platform/productGroup is
 configured

 2. at least 1 instance is configured with any of the instance type
 worker/manager/lb_worker/lb_manager/lb_worker_manager

 3. correctly configured worker and manager hosts depending on the
 instance type
 4. at least http and https ports configured correctly


 +1 for adding validation mechanism to confirm semantically correctness
of the content provided in the automation.xml. Then we can stop test
execution if anything ( related to configurations ) is wrong at very early
stage.


   What do you mean by  http and https ports configured correctly ?
 Should they have valid values or are you going to verify whether those port
 are open?

 There might be some server url  without port. Means DNS


 is there anything I need to consider?

 Thanks,
 Nuwanw

 Thanks
 Amalka




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

 phone: +94 71 668 4620






 --

 Amalka Subasinghe

 Senior Software Engineer
 WSO2 Inc.
 Mobile: +94 77 9401267




 --

 Amalka Subasinghe

 Senior Software Engineer
 WSO2 Inc.
 Mobile: +94 77 9401267




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Kavith Lokuhewage

2014-08-04 Thread Malintha Adikari
Congratulations !!


On Mon, Aug 4, 2014 at 11:42 AM, Sohani Weerasinghe soh...@wso2.com wrote:

 Congratulations !

 Sohani Weerasinghe
 Software Engineer
 WSO2, Inc: http://wso2.com

 Mobile  : +94 716439774
 Blog :http://christinetechtips.blogspot.com/
 Twitter  : https://twitter.com/sohanichristine


 On Mon, Aug 4, 2014 at 11:41 AM, Jasintha Dasanayake jasin...@wso2.com
 wrote:

 Hi All,

 It's my distinct pleasure to welcome kavith Lokuhewage as a WSO2
 Committer.

 Kavith has  been a valuable contributor for WSO2 Developer Studio since
 he joined WSO2. In recognition of his contributions to WSO2, he has been
 voted as a WSO2 Committer.

 Kavith, Congratulations and Keep up the good work!

 Thanks and Regards,
 /Jasintha

 --

 *Jasintha Dasanayake *

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


 *mobile :- 0711368118 0711368118 *

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



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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Announce] WSO2 Committers += Jayanga Dissanayake

2014-08-04 Thread Malintha Adikari
Congratulations 


On Tue, Aug 5, 2014 at 11:10 AM, Sameera Jayasoma same...@wso2.com wrote:

 Hello Folks,

 In recognition of his contributions to WSO2 Carbon as well as to WSO2 in
 various forms, we are pleased to announce the WSO2 committership of Jayanga
 Dissanayake.

 Jayanga has contributed in many areas, including Development Governance
 Project for C5, Operation Center. We look forward to his valuable
 involvement as a WSO2 committer.

 Jayanga, welcome to WSO2 Committer's club. Please join us in
 congratulating him.

 Thanks,
 Sameera.

 --
 Sameera Jayasoma,
 Software Architect,

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

 Lean . Enterprise . Middleware


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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Waruna Perera

2014-08-01 Thread Malintha Adikari
Congratulations Waruna!!



On Fri, Aug 1, 2014 at 1:31 PM, Asanka Dissanayake asan...@wso2.com wrote:

 Congratz Waruna !!


 On Fri, Aug 1, 2014 at 1:22 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi all,

 It's my distinct pleasure to welcome Waruna Perera as a WSO2 Committer.
 He has been a valuable contributor for test automation and WSO2 product
 platform. In acknowledgement of his contributions, he's been voted as a
 WSO2 Committer. Welcome aboard and keep up the good work!

 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




 --


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

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

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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Merge the Pull Request (TA-874)

2014-07-31 Thread Malintha Adikari
Hi Nuwan,

Resolved the issue.

Regards,
Malintha Adikari


On Mon, Jul 28, 2014 at 6:01 PM, Nuwan Wimalasekara nuw...@wso2.com wrote:

 Hi Malintha,
 Please resolve the JIRA since the issue is fixed now.

 Thanks,
 Nuwanw


 On Mon, Jul 28, 2014 at 6:00 PM, Nuwan Wimalasekara nuw...@wso2.com
 wrote:

 Merged at
 https://github.com/wso2-dev/carbon-platform-integration/commit/1e5e8aaf000869a86075fad59009f430dd108976

 Thanks,
 Nuwanw


 On Mon, Jul 28, 2014 at 5:51 PM, Malintha Adikari malin...@wso2.com
 wrote:

 Hi ,

 Please merge the pull request [1] to resolve [2]
 [1] https://github.com/wso2-dev/carbon-platform-integration/pull/10
 [2]* https://wso2.org/jira/browse/TA-874
 https://wso2.org/jira/browse/TA-874*

 Regards,
 Malintha Adikari

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

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha




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

 phone: +94 71 668 4620






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

 phone: +94 71 668 4620






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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Writing a test case for ESB in tenant mode with 4.3.0 automation framework

2014-07-28 Thread Malintha Adikari
Hi,

Yes, this is a bug in the framework. Cause for the issue is *getUserName()
*gives correct username ( appending @domainName) for all other users but
not admin user of the tenant. This is valid for superTenant but wrong for
other tenants. We can fix this by appending @domainName value to all
usernames in the framework API implementation.

Regards,
Malintha Adikari


On Sun, Jul 27, 2014 at 8:35 PM, Isuru Udana isu...@wso2.com wrote:

 Thanks Malintha.

 After adding the extension to automation.xml users are getting added
 properly and test case executed successfully.
 However we still need the modification done by me to the
 LoginLogoutClient. It looks to me a bug in the framework.
 Could you please verify the fix done by me and apply it ?

 Thanks.



 On Sun, Jul 27, 2014 at 7:58 PM, Malintha Adikari malin...@wso2.com
 wrote:

 Hi Isuru,

 We are using  pluggable extensions in test automation framework to allow
 user to plug additional extensions to the test execution flow.  We have
 already  provided user management ( user population) as a pluggable
 extension. We have to register those extensions in automation.xml under
 *listenerExtensions* section in order to use those pluggable modules.

 In your issue , seems you haven't  register that user populator extension
 in your automation.xml file. You can register user management extension in
 automation.xml as follows

 listenerExtensions

 platformExecutionManager

  extentionClasses

 classNameorg.wso2.carbon.integration.common.extensions.
 usermgt.UserPopulateExtension/className



 /extentionClasses


 /platformExecutionManager

 After registering this pluggable module , test framework will populate
 all the tenant users which you have mentioned in the automation.xml under
 userManagement section and  you can use those tenant users for your tests.

 Ex: TestUserMode.TENANT_ADMIN represents the admin user of the first
 tenant of the tenant list we have populated. So y
 .


 On Sun, Jul 27, 2014 at 12:40 PM, Isuru Udana isu...@wso2.com wrote:

 Hi Automation Team,

 I am trying to write a automation test for ESB in tenant mode.
 As per offline information I got from NuwanW, we only have to use the
 following

 init(TestUserMode.TENANT_ADMIN);


 If we have populated the tenants correctly, we can prepare the test
 environment for tenant user as above and proceed with our test without any
 further change.


 instead of

 init();

 to run the test case in tenant mode.

 When I try that approach I saw that artifacts are getting deployed to
 the super tenant even if we initialize the tenant mode. Reason for that is
 Login method always logs into super tenant to deploy artifacts. So I did
 the following change in the LoginLogoutClient.


  public String login() throws LoginAuthenticationExceptionException,
 IOException, XMLStreamException,
  URISyntaxException, SAXException, XPathExpressionException {
 -String userName;
 -userName =
 automationContext.getContextTenant().getContextUser().getUserName();
 +
 +// Get the tenant
 +Tenant tenant = automationContext.getContextTenant();
 +
 +String userName =
 +
  
 tenant.getContextUser().getUserName().concat(@).concat(tenant.getDomain());
 +
  return loginClient.login(userName,
 automationContext.getContextTenant().getContextUser().getPassword()
  ,
 automationContext.getInstance().getHosts().get(default));
  }

 After making that modification now I am getting the following error.

 Invalid domain or unactivated tenant login

 Then I tried to manually log into the management console using the
 tenant admin credentials defined in the automation.xml and it wasn't
 successful.

 What am I missing here ?

 Or else is this way of running tests in tenant mode is not tested and
 still under development ?

 Thanks.




 --
 *Isuru Udana*
 Senior
 * Software Engineer*
 WSO2 Inc.; http://wso2.com
 email: isu...@wso2.com cell: +94 77 3791887
 blog: http://mytecheye.blogspot.com/
 twitter: http://twitter.com/isudana



 Regards,
 Malintha Adikari


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

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha




 --
 *Isuru Udana*
 Senior
 * Software Engineer*
 WSO2 Inc.; http://wso2.com
 email: isu...@wso2.com cell: +94 77 3791887
 blog: http://mytecheye.blogspot.com/
 twitter: http://twitter.com/isudana




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Merge the Pull Request (TA-874)

2014-07-28 Thread Malintha Adikari
Hi ,

Please merge the pull request [1] to resolve [2]
[1] https://github.com/wso2-dev/carbon-platform-integration/pull/10
[2]* https://wso2.org/jira/browse/TA-874
https://wso2.org/jira/browse/TA-874*

Regards,
Malintha Adikari

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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Merge the Pull Request (TA-874)

2014-07-28 Thread Malintha Adikari
Thanks


On Mon, Jul 28, 2014 at 6:00 PM, Nuwan Wimalasekara nuw...@wso2.com wrote:

 Merged at
 https://github.com/wso2-dev/carbon-platform-integration/commit/1e5e8aaf000869a86075fad59009f430dd108976

 Thanks,
 Nuwanw


 On Mon, Jul 28, 2014 at 5:51 PM, Malintha Adikari malin...@wso2.com
 wrote:

 Hi ,

 Please merge the pull request [1] to resolve [2]
 [1] https://github.com/wso2-dev/carbon-platform-integration/pull/10
 [2]* https://wso2.org/jira/browse/TA-874
 https://wso2.org/jira/browse/TA-874*

 Regards,
 Malintha Adikari

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

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha




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

 phone: +94 71 668 4620






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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Writing a test case for ESB in tenant mode with 4.3.0 automation framework

2014-07-27 Thread Malintha Adikari
Hi Isuru,

We are using  pluggable extensions in test automation framework to allow
user to plug additional extensions to the test execution flow.  We have
already  provided user management ( user population) as a pluggable
extension. We have to register those extensions in automation.xml under
*listenerExtensions* section in order to use those pluggable modules.

In your issue , seems you haven't  register that user populator extension
in your automation.xml file. You can register user management extension in
automation.xml as follows

listenerExtensions

platformExecutionManager

 extentionClasses

classNameorg.wso2.carbon.integration.common.extensions.
usermgt.UserPopulateExtension/className

   

/extentionClasses


/platformExecutionManager

After registering this pluggable module , test framework will populate all
the tenant users which you have mentioned in the automation.xml under
userManagement section and  you can use those tenant users for your tests.

Ex: TestUserMode.TENANT_ADMIN represents the admin user of the first tenant
of the tenant list we have populated. So y
.


On Sun, Jul 27, 2014 at 12:40 PM, Isuru Udana isu...@wso2.com wrote:

 Hi Automation Team,

 I am trying to write a automation test for ESB in tenant mode.
 As per offline information I got from NuwanW, we only have to use the
 following

 init(TestUserMode.TENANT_ADMIN);


If we have populated the tenants correctly, we can prepare the test
environment for tenant user as above and proceed with our test without any
further change.


 instead of

 init();

 to run the test case in tenant mode.

 When I try that approach I saw that artifacts are getting deployed to the
 super tenant even if we initialize the tenant mode. Reason for that is
 Login method always logs into super tenant to deploy artifacts. So I did
 the following change in the LoginLogoutClient.


  public String login() throws LoginAuthenticationExceptionException,
 IOException, XMLStreamException,
  URISyntaxException, SAXException, XPathExpressionException {
 -String userName;
 -userName =
 automationContext.getContextTenant().getContextUser().getUserName();
 +
 +// Get the tenant
 +Tenant tenant = automationContext.getContextTenant();
 +
 +String userName =
 +
  tenant.getContextUser().getUserName().concat(@).concat(tenant.getDomain());
 +
  return loginClient.login(userName,
 automationContext.getContextTenant().getContextUser().getPassword()
  ,
 automationContext.getInstance().getHosts().get(default));
  }

 After making that modification now I am getting the following error.

 Invalid domain or unactivated tenant login

 Then I tried to manually log into the management console using the tenant
 admin credentials defined in the automation.xml and it wasn't successful.

 What am I missing here ?

 Or else is this way of running tests in tenant mode is not tested and
 still under development ?

 Thanks.




 --
 *Isuru Udana*
 Senior
 * Software Engineer*
 WSO2 Inc.; http://wso2.com
 email: isu...@wso2.com cell: +94 77 3791887
 blog: http://mytecheye.blogspot.com/
 twitter: http://twitter.com/isudana



Regards,
Malintha Adikari


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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSOC project: Progress of Automation Test Case Generation Tool

2014-07-27 Thread Malintha Adikari
On Sun, Jul 27, 2014 at 12:46 AM, Rukshan Chathuranga rcruksha...@gmail.com
 wrote:

 Hi all,


- I started to translate test-cases written for ESB-product to robot
test script, a as separate test module to the ESB using my tool. But i
faced several issues when translate them, because of ESB use different
service and its responses are different formats. Those are noted here.
- Since we can invoke services operation by providing different
information like service name, operation, parameters, data etc. user get
confuse selecting correct keyword. When translating test cases i realized
that when use command to invoke operations user have to provide many
information. Thus this can be complex to user to understand it. Thus to
overcome the complexity and provide the readability i implement new
keywords to specify those details one by one rather than in a line.
- Below are the command used for invoke service operations,


 1)
 echo Payload Test
 invoke Operation In  echo  echoString  in  HelloWorld #invoke operation
  Assert InvokeOperation  HelloWorld #assert output
 invoke Operation In  echo  echoInt  in  123
  Assert InvokeOperation  123
 ${out} invoke Operation In  echo  echoStringArrays  a  AA  b  BB  c  11
  Log ${out}


 These blue lines are the command for invoke operations. for command we
 have to provide the service name, operation and parameters. This keyword
 can be use if the response is basic string or array types.

 2)
 Test Sample
 get Attibute Value Of OperationIn  quote  getQuote  last  symbol  wso2
  Assert GetAttibuteValueOfOperationIn  Fault: response message 'last'
 price null

 Here this blue color line is also used to invoke operations. user have to
 used this kind of keyword if response is bit complex. this kind of response
 can be get from the stockQuoteService. Because user may interested the
 one attribute of the response. here last is the such a attribute of the
 response. Thus when this kind of response is required, this command get bit
 complex. Thus i introduce the another way to invoke operations.

 3)
 Test Sample
 set ServiceName  quote
  set ServiceOperation  getQuote
 set ServiceParentChild  request
  set ServiceParas  symbol  wso2
 ${o}= InvokeOperation
  assertNotNull  ${o}
 ${la}= get OperationValue  last
  assertNotNull  ${la}


+1 for 3 approach. this approach reduces the complexity of dealing with the
requests ans responses. BTW, I have a problem related to some keywords you
have used ( ServiceName., OperationValue..). Are these keywords your
own keyworks or kind of default keywords. If these are your own keywords ,
how do we instruct users to use those keywords in the test scripts ?


 This is the alternative and best way of invoke operations. here details
 are provided as step by step. then it improve the readability. Also with
 this user can invoke operation easily that accept no of parameters.


- These are the 3 methods that can be used to invoke operations. But i
like to know which way is prefer for this tools. can we use all this or
just use one way to handle every operations? Also i like to know whether
there is any other solutions.
- Also there is some difficulties when understanding the
SimpleStockQuote based test cases written in ESB product test. Thus, can we
have a time to discuss about these things.
- Also i hope write some documents to provide details of how to write
test case using this tool. So i hope to work on it after clear these
issues.


 Thanks and regards.


Regards,
Malintha Adikari



 On Sun, Jul 13, 2014 at 9:21 PM, Rukshan Chathuranga 
 rcruksha...@gmail.com wrote:

 Hi All,


 I have to mention some issue i came across during the project. Also my
 progress and that issues are listed below.


- As i mention earlier when user invoke some Admin service operation,
user have to import those library to the Robot test script before run the
test case . The problem of this approach is user have to have some kind of
knowledge about operation's library. Then those Libraries are generated 
 and
added to the Script. Since using this approach user get confuse with
importing library, another mechanism have to include. One Approach is
Generate all the Library class for each Admin service and import to the
Script in advance.Then user don't have to worry about identify which
library to include. This is the most simple mechanism for this problem.
Also if there is another good solution to solve this, please let me know.



- Also i started to integrate my Project to the Automation Framework.
As First step i developed a Test Module for Product ESB based on the my
Project. Module is working with .jar distribution of the Project installed
into the local maven repository. With this, user just have to implement a
Robot script test suit inside 
*src/test/resources/robotframework/tests* folder and Configuration

Re: [Dev] WSO2 Committers += Sajith Ravindra

2014-07-23 Thread Malintha Adikari
Congratulations Sajith..


Regards,
Malintha Adikari


On Wed, Jul 23, 2014 at 3:42 PM, Sriskandarajah Suhothayan s...@wso2.com
wrote:


 Hi All,

 It's my pleasure to announce Sajith Ravindra as a WSO2 Committer. SajithR has
 been a valuable contributor for WSO2 CEP product and in recognition of his
 contributions to WSO2, he has been voted as a WSO2Committer.

 Sajith, Congratulations and Keep up the good work!

 Thanks and Regards,
 Suho

 --

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


 *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757 | blog:
 http://suhothayan.blogspot.com/ http://suhothayan.blogspot.com/ twitter:
 http://twitter.com/suhothayan http://twitter.com/suhothayan | linked-in:
 http://lk.linkedin.com/in/suhothayan http://lk.linkedin.com/in/suhothayan*

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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Thanuja Jayasinghe

2014-07-23 Thread Malintha Adikari
Congratulations Thanuja




On Wed, Jul 23, 2014 at 4:27 PM, Johann Nallathamby joh...@wso2.com wrote:

 Hi All,

 It's my pleasure to announce Thanuja Jayasinghe as a WSO2 Committer.
 Thanuja has been a valuable contributor for WSO2 Identity Server product,
 and in recognition of his contributions to WSO2, he has been voted as a WSO2
 Committer.

 Thanuja, Congratulations and Keep up the good work!

 Thanks  Regards,
 Johann.

 --
 Thanks  Regards,

 *Johann Dilantha Nallathamby*
 Associate Technical Lead  Product Lead of WSO2 Identity Server
 Integration Technologies Team
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - *+9476950*
 Blog - *http://nallaa.wordpress.com http://nallaa.wordpress.com*

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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Isura Karunaratne

2014-07-23 Thread Malintha Adikari
Congratulations


On Wed, Jul 23, 2014 at 4:41 PM, Shameera Rathnayaka shame...@wso2.com
wrote:

 Congratzz Isura.

 ~Shameera.


 On Wed, Jul 23, 2014 at 4:39 PM, Hasintha Indrajee hasin...@wso2.com
 wrote:

 Congrats Isura.


 On Wed, Jul 23, 2014 at 4:37 PM, Pulasthi Mahawithana pulast...@wso2.com
  wrote:

 Congrats Isura ...


 On Wed, Jul 23, 2014 at 4:35 PM, Suresh Attanayaka sur...@wso2.com
 wrote:

 Congrats Isura.


 On Wed, Jul 23, 2014 at 4:30 PM, Johann Nallathamby joh...@wso2.com
 wrote:

 Hi All,

 It's my pleasure to announce Isura Karunaratne as a WSO2 Committer.
 Isura has been a valuable contributor for WSO2 Identity Server
 product, and in recognition of his contributions to WSO2, he has been 
 voted
 as a WSO2 Committer.

 Isura, Congratulations and Keep up the good work!

 Thanks  Regards,
 Johann.

 --
 Thanks  Regards,

 *Johann Dilantha Nallathamby*
 Associate Technical Lead  Product Lead of WSO2 Identity Server
 Integration Technologies Team
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - *+9476950*
 Blog - *http://nallaa.wordpress.com http://nallaa.wordpress.com*

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




 --
 Suresh Attanayake
 Senior Software Engineer; WSO2 Inc. http://wso2.com/
 Blog : http://sureshatt.blogspot.com/
 Twitter : https://twitter.com/sureshatt
 LinkedIn : http://lk.linkedin.com/in/sureshatt
 Mobile : +94755012060

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




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

 ___
 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




 --
 *Software Engineer - WSO2 Inc.*
 *email: shameera AT wso2.com shame...@wso2.com , shameera AT apache.org
 shame...@apache.org*
 *phone:  +9471 922 1454 %2B9471%20922%201454*

 *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
 *Twitter : *https://twitter.com/Shameera_R

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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Prasad Tissera

2014-07-23 Thread Malintha Adikari
Congratulations


On Wed, Jul 23, 2014 at 4:41 PM, Pulasthi Supun pulas...@wso2.com wrote:

 Congrats Prasad !!!


 On Wed, Jul 23, 2014 at 4:40 PM, Pulasthi Mahawithana pulast...@wso2.com
 wrote:

 Congrats Prasad...


 On Wed, Jul 23, 2014 at 4:38 PM, Suresh Attanayaka sur...@wso2.com
 wrote:

 Congrats Prasad!


 On Wed, Jul 23, 2014 at 4:28 PM, Johann Nallathamby joh...@wso2.com
 wrote:

 Hi All,

 It's my pleasure to announce Prasad Tissera as a WSO2 Committer.
 Prasad has been a valuable contributor for WSO2 Identity Server
 product, and in recognition of his contributions to WSO2, he has been voted
 as a WSO2 Committer.

 Prasad, Congratulations and Keep up the good work!

 Thanks  Regards,
 Johann.

 --
 Thanks  Regards,

 *Johann Dilantha Nallathamby*
 Associate Technical Lead  Product Lead of WSO2 Identity Server
 Integration Technologies Team
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - *+9476950*
 Blog - *http://nallaa.wordpress.com http://nallaa.wordpress.com*

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




 --
 Suresh Attanayake
 Senior Software Engineer; WSO2 Inc. http://wso2.com/
 Blog : http://sureshatt.blogspot.com/
 Twitter : https://twitter.com/sureshatt
 LinkedIn : http://lk.linkedin.com/in/sureshatt
 Mobile : +94755012060

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




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

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




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

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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Get the tenant ID from a web app, deployed in a carbon server

2014-07-22 Thread Malintha Adikari
Hi Dilini,

AFAIK, this is a bug. It returns -1 ( which is not a valid tenant Id)
because we haven't set the tenant id property while we deploy/undeploy the
web app. There is a reported jira [1] for this issue and I think the issue
is been fixed now.

[1]https://wso2.org/jira/browse/CARBON-14807

Regards,
Malintha Adikari


On Tue, Jul 22, 2014 at 3:29 PM, Dilini Muthumala dil...@wso2.com wrote:

 Hi,

 Would like to know, how to $subject.

 I tired with,
 PrivilegedCarbonContext.getThreadLocalCarbonContext().getTenantId();

 which returned -1, as the tenant id.

 Thanks,
 Dilini

 --
 *Dilini Muthumala*
 Software Engineer,
 WSO2 Inc.

 *E-mail :* dil...@wso2.com
 *Mobile: *+94713 400 029

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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Carbon] Reproducing Bug - Logging incorrect tenant ID in wso2carbon.log

2014-07-10 Thread Malintha Adikari
Hi Gayashan,

You can observe this issue in waso2carbon.log file of any product. Each log
event in those logs shows it's tenant user id (according to the pattern we
have mentioned in the log4jproperties file ). Some of those log event has
-1 as the tenant id. According to my understanding, normal wso2carbon log
events show the tenant id as 0 for every log event. That is an another
issue and you couldn't observe this issue in normal wso2carbon.log files.
What I did was created an simple OSGI bundle for log appending  and
registered it in the wso2carbonlog section in log4jproperties file. I could
reproduce the issue using that log  appender file.

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


Re: [Dev] GSOC project: Progress of Automation Test Case Generation Tool

2014-06-20 Thread Malintha Adikari
Hi Rukshan,

On Thu, Jun 19, 2014 at 7:01 PM, Rukshan Chathuranga rcruksha...@gmail.com
wrote:

 Hi all,



 I could automate the ProxyServiceAdmin Admin service to upload the proxy
 to ESB. Also it support, Confirm whether it is successful or not. This
 steps was possible to written in robot test script.
 Thus i'm try to scripting and automate to invoke the uploaded proxy
 services. for that can you let me know, what are the available options to
 invoke the proxy services.


You can use Axis2ServiceClient [1] for invoked the deployed proxy service.

[1]
https://github.com/wso2/carbon-platform-integration/blob/master/test-automation-framework/org.wso2.carbon.automation.test.utils/src/main/java/org/wso2/carbon/automation/test/utils/axis2client/AxisServiceClient.java

Regards,
Malintha Adikari


 Thanks and regards.


 On Thu, Jun 19, 2014 at 11:56 AM, Malintha Adikari malin...@wso2.com
 wrote:

 Please note the update for the test scenario :


 On Thu, Jun 19, 2014 at 11:52 AM, Malintha Adikari malin...@wso2.com
 wrote:

 Hi Rukshan,

 As the next step we can evaluate the usability of robot scripts. Then
 we have to come up with a way to enhance the usability of the test scripts
 based on that evaluation. Could you try to develop an automated test case
 using robot for following test scenario and compare the original script and
 robot script and evaluate the differences between two

 *. login to Application server
 * upload a service to application server
 * confirm the uploaded server has been deployed successfully
 (this should be your back end service for the ESB proxy service)


 1.login to esb
 2.upload a proxy to esb
 3.check whether it was deployed successfully
 4.send a payload to the proxy
 5.Get the response
 6.Check the response is correct/incorrect

 Regards,
 Malintha Adikari


 On Tue, Jun 17, 2014 at 2:14 PM, Rukshan Chathuranga 
 rcruksha...@gmail.com wrote:

 Hi all,

  I added a xml file to keep stub name and wsdl file name of each admin
 services. its structure is looks like this.

 service stub=org.wso2.carbon.statistics.stub.StatisticsAdminStub
 name=StatisticsAdmin wsdl=StatisticsAdmin 
 lib=StatisticsAdminLibrary/

 Then added new java method to return wsdl name and stub class name. It
 is like this.

 public static String[] getServiceInfor(String lib) {
 File pomfile = new File(service.xml);
  String[] res;
 try {

 DocumentBuilder dBuilder = DocumentBuilderFactory.newInstance()
  .newDocumentBuilder();
 Document doc = dBuilder.parse(pomfile);
 System.out.println(Root element :
  + doc.getDocumentElement().getNodeName());

 NodeList service = doc.getElementsByTagName(service);
  for (int i = 0; i  service.getLength(); i++) {
 Element ele = (Element) service.item(i);
 if (ele.getAttribute(lib).equals(lib)) {
  res = new String[2];
 res[0] = ele.getAttribute(stub);
 res[1] = ele.getAttribute(wsdl);
  return res;
 }

 }
 return null;

 } catch (Exception e) {
 System.out.println(e.getMessage());
 return null;
  }
 }


 So if there are any issue in this procedure please let me know.


 Thanks and regards.




 On Sat, Jun 14, 2014 at 9:10 AM, Rukshan Chathuranga 
 rcruksha...@gmail.com wrote:

 Hi Dharshana,

 No. it was not the resolving the dependencies of the client. Sorry if
 my mail is not much clear. :)

  I wanted to import required classes for Client that generated based
 on the Stub classes. My first step was taking package information from the
 POM.xml as you said. but it contain only some parent package names and 
 also
 those get mapped to the new package names(rename). Thus it was difficulty
 to extract all the classes. Also some extra libraries get imported and 
 some
 required libraries not get imported.

 But using reflection it is possible to get all the operation's
 information of the stub classes. Then importing required class for
 parameters and return type was much easier.

 ex:
 import org.wso2.carbon.service.mgt.stub.ServiceAdminStub;
 import
 org.wso2.carbon.service.mgt.stub.types.carbon.ServiceDownloadData;
 import
 org.wso2.carbon.service.mgt.stub.types.carbon.ServiceGroupMetaData;


 Thanks and regards.




 On Sat, Jun 14, 2014 at 12:18 AM, Dharshana Warusavitharana 
 dharsha...@wso2.com wrote:

 Hi Rekshan,

 Do we really need this step. AFAICU you are trying to automate the
 dependency resolving of your client library.
 Basically, there is a limited set of dependency for external
 libraries when you are generating the client. That won't expand much over
 introducing new stubs.
 You can have general pom file which have basic dependencies which
 are common to the general stubs.

 And im not clear how you would identify extra libraries you need by
 just using reflection.

 Correct me if im wrong

 Thank you,
 Dharshana.


 On Fri, Jun 13, 2014 at 10:51 AM, Rukshan Chathuranga 
 rcruksha...@gmail.com wrote:

 Hi All,

 I could manage the issue occurred during Client generation from
 Stub. I get operations from the WSDL file and used Java reflection to
 identify

Re: [Dev] GSOC project: Progress of Automation Test Case Generation Tool

2014-06-19 Thread Malintha Adikari
Hi Rukshan,

As the next step we can evaluate the usability of robot scripts. Then  we
have to come up with a way to enhance the usability of the test scripts
based on that evaluation. Could you try to develop an automated test case
using robot for following test scenario and compare the original script and
robot script and evaluate the differences between two

1.login to esb
2.upload a proxy to esb
3.check whether it was deployed successfully
4.send a payload to the proxy
5.Get the response
6.Check the response is correct/incorrect

Regards,
Malintha Adikari


On Tue, Jun 17, 2014 at 2:14 PM, Rukshan Chathuranga rcruksha...@gmail.com
wrote:

 Hi all,

  I added a xml file to keep stub name and wsdl file name of each admin
 services. its structure is looks like this.

 service stub=org.wso2.carbon.statistics.stub.StatisticsAdminStub
 name=StatisticsAdmin wsdl=StatisticsAdmin lib=StatisticsAdminLibrary/

 Then added new java method to return wsdl name and stub class name. It is
 like this.

 public static String[] getServiceInfor(String lib) {
 File pomfile = new File(service.xml);
  String[] res;
 try {

 DocumentBuilder dBuilder = DocumentBuilderFactory.newInstance()
  .newDocumentBuilder();
 Document doc = dBuilder.parse(pomfile);
 System.out.println(Root element :
  + doc.getDocumentElement().getNodeName());

 NodeList service = doc.getElementsByTagName(service);
  for (int i = 0; i  service.getLength(); i++) {
 Element ele = (Element) service.item(i);
 if (ele.getAttribute(lib).equals(lib)) {
  res = new String[2];
 res[0] = ele.getAttribute(stub);
 res[1] = ele.getAttribute(wsdl);
  return res;
 }

 }
 return null;

 } catch (Exception e) {
 System.out.println(e.getMessage());
 return null;
  }
 }


 So if there are any issue in this procedure please let me know.


 Thanks and regards.




 On Sat, Jun 14, 2014 at 9:10 AM, Rukshan Chathuranga 
 rcruksha...@gmail.com wrote:

 Hi Dharshana,

 No. it was not the resolving the dependencies of the client. Sorry if my
 mail is not much clear. :)

  I wanted to import required classes for Client that generated based on
 the Stub classes. My first step was taking package information from the
 POM.xml as you said. but it contain only some parent package names and also
 those get mapped to the new package names(rename). Thus it was difficulty
 to extract all the classes. Also some extra libraries get imported and some
 required libraries not get imported.

 But using reflection it is possible to get all the operation's
 information of the stub classes. Then importing required class for
 parameters and return type was much easier.

 ex:
 import org.wso2.carbon.service.mgt.stub.ServiceAdminStub;
 import org.wso2.carbon.service.mgt.stub.types.carbon.ServiceDownloadData;
 import org.wso2.carbon.service.mgt.stub.types.carbon.ServiceGroupMetaData;


 Thanks and regards.




 On Sat, Jun 14, 2014 at 12:18 AM, Dharshana Warusavitharana 
 dharsha...@wso2.com wrote:

 Hi Rekshan,

 Do we really need this step. AFAICU you are trying to automate the
 dependency resolving of your client library.
 Basically, there is a limited set of dependency for external libraries
 when you are generating the client. That won't expand much over introducing
 new stubs.
 You can have general pom file which have basic dependencies which are
 common to the general stubs.

 And im not clear how you would identify extra libraries you need by
 just using reflection.

 Correct me if im wrong

 Thank you,
 Dharshana.


 On Fri, Jun 13, 2014 at 10:51 AM, Rukshan Chathuranga 
 rcruksha...@gmail.com wrote:

 Hi All,

 I could manage the issue occurred during Client generation from Stub. I
 get operations from the WSDL file and used Java reflection to identify the
 information of those operation. Then it help me to identified the required
 Libraries and import them into generated Client libraries. Also added
 Property file to get services host and port information.

 new version of the project can be found from here.

 https://github.com/ruks/Automated-test-case-generation-tool/tree/991e6e21927288d237c0a8d1985b7d2787f91a9b/Auto-TAF

 Thanks and regards.


 On Tue, Jun 10, 2014 at 3:24 PM, Rukshan Chathuranga 
 rcruksha...@gmail.com wrote:

 Hi Malintha,

 Generating Client from Stub is not problem with one String template
 file. Template file contain generic Class structure like Method,
 Constructor, Fields and Import library. Only difference is their name and
 object type. Identifying the those names and type from WSDL, it is 
 possible
 to generate Different client for different Stub.

 Thanks and regards.


 On Tue, Jun 10, 2014 at 3:09 PM, Malintha Adikari malin...@wso2.com
 wrote:

 Hi Rukshan,




 On Tue, Jun 10, 2014 at 2:49 PM, Rukshan Chathuranga 
 rcruksha...@gmail.com wrote:

 Hi all,

 These days i am working on Automatically Generating Client code. Now
 i able to generate Client Code using String Template. For That i Used
 previously Used String Template file with Some Modification

Re: [Dev] GSOC project: Progress of Automation Test Case Generation Tool

2014-06-19 Thread Malintha Adikari
Please note the update for the test scenario :


On Thu, Jun 19, 2014 at 11:52 AM, Malintha Adikari malin...@wso2.com
wrote:

 Hi Rukshan,

 As the next step we can evaluate the usability of robot scripts. Then  we
 have to come up with a way to enhance the usability of the test scripts
 based on that evaluation. Could you try to develop an automated test case
 using robot for following test scenario and compare the original script and
 robot script and evaluate the differences between two

 *. login to Application server
* upload a service to application server
* confirm the uploaded server has been deployed successfully
(this should be your back end service for the ESB proxy service)


 1.login to esb
 2.upload a proxy to esb
 3.check whether it was deployed successfully
 4.send a payload to the proxy
 5.Get the response
 6.Check the response is correct/incorrect

 Regards,
 Malintha Adikari


 On Tue, Jun 17, 2014 at 2:14 PM, Rukshan Chathuranga 
 rcruksha...@gmail.com wrote:

 Hi all,

  I added a xml file to keep stub name and wsdl file name of each admin
 services. its structure is looks like this.

 service stub=org.wso2.carbon.statistics.stub.StatisticsAdminStub
 name=StatisticsAdmin wsdl=StatisticsAdmin lib=StatisticsAdminLibrary/

 Then added new java method to return wsdl name and stub class name. It is
 like this.

 public static String[] getServiceInfor(String lib) {
 File pomfile = new File(service.xml);
  String[] res;
 try {

 DocumentBuilder dBuilder = DocumentBuilderFactory.newInstance()
  .newDocumentBuilder();
 Document doc = dBuilder.parse(pomfile);
 System.out.println(Root element :
  + doc.getDocumentElement().getNodeName());

 NodeList service = doc.getElementsByTagName(service);
  for (int i = 0; i  service.getLength(); i++) {
 Element ele = (Element) service.item(i);
 if (ele.getAttribute(lib).equals(lib)) {
  res = new String[2];
 res[0] = ele.getAttribute(stub);
 res[1] = ele.getAttribute(wsdl);
  return res;
 }

 }
 return null;

 } catch (Exception e) {
 System.out.println(e.getMessage());
 return null;
  }
 }


 So if there are any issue in this procedure please let me know.


 Thanks and regards.




 On Sat, Jun 14, 2014 at 9:10 AM, Rukshan Chathuranga 
 rcruksha...@gmail.com wrote:

 Hi Dharshana,

 No. it was not the resolving the dependencies of the client. Sorry if my
 mail is not much clear. :)

  I wanted to import required classes for Client that generated based on
 the Stub classes. My first step was taking package information from the
 POM.xml as you said. but it contain only some parent package names and also
 those get mapped to the new package names(rename). Thus it was difficulty
 to extract all the classes. Also some extra libraries get imported and some
 required libraries not get imported.

 But using reflection it is possible to get all the operation's
 information of the stub classes. Then importing required class for
 parameters and return type was much easier.

 ex:
 import org.wso2.carbon.service.mgt.stub.ServiceAdminStub;
 import org.wso2.carbon.service.mgt.stub.types.carbon.ServiceDownloadData;
 import
 org.wso2.carbon.service.mgt.stub.types.carbon.ServiceGroupMetaData;


 Thanks and regards.




 On Sat, Jun 14, 2014 at 12:18 AM, Dharshana Warusavitharana 
 dharsha...@wso2.com wrote:

 Hi Rekshan,

 Do we really need this step. AFAICU you are trying to automate the
 dependency resolving of your client library.
 Basically, there is a limited set of dependency for external libraries
 when you are generating the client. That won't expand much over introducing
 new stubs.
 You can have general pom file which have basic dependencies which are
 common to the general stubs.

 And im not clear how you would identify extra libraries you need by
 just using reflection.

 Correct me if im wrong

 Thank you,
 Dharshana.


 On Fri, Jun 13, 2014 at 10:51 AM, Rukshan Chathuranga 
 rcruksha...@gmail.com wrote:

 Hi All,

 I could manage the issue occurred during Client generation from Stub.
 I get operations from the WSDL file and used Java reflection to identify
 the information of those operation. Then it help me to identified the
 required Libraries and import them into generated Client libraries. Also
 added Property file to get services host and port information.

 new version of the project can be found from here.

 https://github.com/ruks/Automated-test-case-generation-tool/tree/991e6e21927288d237c0a8d1985b7d2787f91a9b/Auto-TAF

 Thanks and regards.


 On Tue, Jun 10, 2014 at 3:24 PM, Rukshan Chathuranga 
 rcruksha...@gmail.com wrote:

 Hi Malintha,

 Generating Client from Stub is not problem with one String template
 file. Template file contain generic Class structure like Method,
 Constructor, Fields and Import library. Only difference is their name and
 object type. Identifying the those names and type from WSDL, it is 
 possible
 to generate Different client for different Stub.

 Thanks and regards.


 On Tue, Jun 10, 2014 at 3:09 PM, Malintha Adikari

Re: [Dev] WSO2 Committers += Shazni Nazir

2014-06-03 Thread Malintha Adikari
Congrats Shazni



On Tue, Jun 3, 2014 at 7:52 PM, Srisunmugaraja Paraparan parapa...@wso2.com
 wrote:

 Congrats Shazni..


 On Tue, Jun 3, 2014 at 7:51 PM, Pulasthi Supun pulas...@wso2.com wrote:

 Congrats Shazni!!




 On Tue, Jun 3, 2014 at 7:49 PM, Subash Chaturanga sub...@wso2.com
 wrote:

 Hi all,
 It's my pleasure to announce Shazni as a WSO2 Committer. Shazni has done
 great contributions to G-Reg product and showed very good enthusiasm in his
 work. And in recognition of his contribution he has been voted as a wso2
 commiter.

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

 --
 Thanks
 /subash

 *Subash Chaturanga*
 Senior Software Engineer :Platform TG; WSO2 Inc. http://wso2.com

 email: sub...@wso2.com
 blog:  http://subashsdm.blogspot.com/
 twitter: @subash89
 phone: +9477 2225922
 Lean . Enterprise . Middleware

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




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

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




 --
 Thanks  Regards
 --
 Srisunmugaraja Paraparan
 Software Engineer,
 WSO2 Inc. - lean . enterprise . middleware |  wso2.com

 email : parapa...@wso2.com, mobile : +94 77 0362151

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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Sohani Weerasinghe

2014-06-02 Thread Malintha Adikari
Congratulations Sohani...


On Mon, Jun 2, 2014 at 4:43 PM, Shameera Rathnayaka shame...@wso2.com
wrote:

 Congratulation Shani !!!


 On Mon, Jun 2, 2014 at 3:57 PM, Sohani Weerasinghe soh...@wso2.com
 wrote:

 Thank you everyone 

 Thanks,
 Sohani

 Sohani Weerasinghe
 Software Engineer
 WSO2, Inc: http://wso2.com

 Mobile  : +94 716439774
 Blog :http://christinetechtips.blogspot.com/
 Twitter  : https://twitter.com/sohanichristine


 On Sun, Jun 1, 2014 at 3:10 PM, Dilini Muthumala dil...@wso2.com wrote:

 Congrats, Sohani!


 On Sun, Jun 1, 2014 at 9:31 AM, Rajith Vitharana raji...@wso2.com
 wrote:

 congrats!!!


 On Sat, May 31, 2014 at 8:58 AM, Tania Mahanama ta...@wso2.com wrote:

 Congrats!!


 On Sat, May 31, 2014 at 7:58 AM, Thanuja Jayasinghe than...@wso2.com
 wrote:

 Congratz!!!
 On 30 May 2014 17:00, Lali Devamanthri l...@wso2.com wrote:

 Congratulations 


 On Fri, May 30, 2014 at 11:06 AM, Jasintha Dasanayake 
 jasin...@wso2.com wrote:

 Hi All,

 It's my distinct pleasure to welcome Sohani as a WSO2 Committer.

 Sohani has  been a valuable contributor for WSO2 Developer Studio
 since she joined WSO2. In recognition of her contributions to WSO2, 
 she has
 been voted as a WSO2 Committer.

 Sohani, Congratulations and Keep up the good work!

 Thanks and Regards,
 /Jasintha


 --

 *Jasintha Dasanayake *

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


 *mobile :- 0711368118 0711368118 *

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




 --
 *Lali Sudaththa Devamanthri*
 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 71 895 4922
  http://www.wso2.com

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


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




 --
 Tania Mahanama
 Senior Technical Writer

 Contact:
 Mob: +94 077 5129270

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




 --
 Rajith Vitharana


 Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94715883223
 Blog : http://lankavitharana.blogspot.com/

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




 --
 *Dilini Muthumala*
 Software Engineer,
 WSO2 Inc.

  *E-mail :* dil...@wso2.com
 *Mobile: *+94713 400 029



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




 --
 *Software Engineer - WSO2 Inc.*
 *email: shameera AT wso2.com shame...@wso2.com , shameera AT apache.org
 shame...@apache.org*
 *phone:  +9471 922 1454 %2B9471%20922%201454*

 *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
 *Twitter : *https://twitter.com/Shameera_R

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




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

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


  1   2   >