Re: [Dev] [DAS]CApp deployment fails due to spark script

2017-05-19 Thread Sajith Abeywardhana
Hi Lakshman,

Thanks for the reply.
But I do so the parser may parse the xml file without any error. Does it
mean that the spark engine will be executing the spark query correctly?

Thanks,
Sajith.

On 19 May 2017 at 12:13, Lakshman Udayakantha  wrote:

> Hi Sajith,
>
> I suspect that It is because of greater than sign and lesser than sign in
> insert queries. Did you try out using CDATA between those queries because
> text between CDATA will be considered as text, not as tags. If that is the
> case there should be a way to escaping those characters.
>
> Thanks,
> Lakshman.
>
> On Fri, May 19, 2017 at 11:48 AM, Sajith Abeywardhana <
> sabeywardh...@mitrai.com> wrote:
>
>> Hi DAS Team,
>>
>> I'm using wso2das-3.1.0 and here[1] is my spark script. When I bundle
>> this script to a capp, and when I'm deploying that capp, the capp
>> deployment fails. Error log printed as this[2].
>> I can deploy the capp if I build the capp without two insert queries in
>> the script. But I can edit and save the script using carbon console with
>> two insert scripts. Am I missing anything when I deploying the capp?
>>
>>
>>
>> [1]
>> CREATE TEMPORARY TABLE device_update_notification USING
>> org.wso2.carbon.analytics.spark.event.EventStreamProvider OPTIONS
>> (receiverURL "tcp://localhost:7611", username "admin", password "admin",
>> streamName "generated_notifications_stream", version "1.0.0", payload
>> "bs_id string, alert string");
>>
>> CREATE TEMPORARY TABLE sensor_data USING CarbonAnalytics OPTIONS
>> (tableName "PROCESSED_GRAMPA_EVENTS_STREAM",
>> schema "BS_ID STRING, PIR INT, A_T DOUBLE, SOUND INT, LIGHT INT,
>> EVENT_TIME LONG, FROM_TIME LONG, TO_TIME LONG, _timestamp LONG");
>>
>> INSERT OVERWRITE TABLE device_update_notification
>> SELECT bs_id, alert FROM (
>> SELECT BS_ID AS bs_id, 'offline' as alert, MAX(_timestamp) as event_time
>> FROM sensor_data
>> GROUP BY BS_ID
>> ) as max_time_table
>> WHERE (unix_timestamp() - event_time) > 900;
>>
>> INSERT OVERWRITE TABLE device_update_notification
>> SELECT bs_id, alert FROM (
>> SELECT BS_ID AS bs_id, 'connected' as alert, MAX(_timestamp) as
>> event_time
>> FROM sensor_data
>> GROUP BY BS_ID
>> ) as max_time_table
>> WHERE (unix_timestamp() - event_time) < 900;
>>
>>
>> [2]
>> TID: [-1234] [] [2017-05-19 05:57:01,683] ERROR
>> {org.wso2.carbon.analytics.spark.core.SparkScriptCAppDeployer} -  Error
>> while reading the analytics script : /mnt/wso2/wso2das-3.1.0/tmp/ca
>> rbonapps/-1234/1495173421409kraydel-das-artifacts.car/device_update_spark_script
>> _1.0.0/device_update_spark_script.xml {org.wso2.carbon.analytics.spa
>> rk.core.SparkScriptCAppDeployer}
>> javax.xml.bind.UnmarshalException
>>  - with linked exception:
>> [org.xml.sax.SAXParseException: The content of elements must consist of
>> well-formed character data or markup.]
>> at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmars
>> halException(AbstractUnmarshallerImpl.java:335)
>> at com.sun.xml.internal.bind.v2.runtime.unmarshaller.Unmarshall
>> erImpl.createUnmarshalException(UnmarshallerImpl.java:563)
>> at com.sun.xml.internal.bind.v2.runtime.unmarshaller.Unmarshall
>> erImpl.unmarshal0(UnmarshallerImpl.java:249)
>> at com.sun.xml.internal.bind.v2.runtime.unmarshaller.Unmarshall
>> erImpl.unmarshal(UnmarshallerImpl.java:214)
>> at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Ab
>> stractUnmarshallerImpl.java:157)
>> at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Ab
>> stractUnmarshallerImpl.java:162)
>> at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Ab
>> stractUnmarshallerImpl.java:171)
>> at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Ab
>> stractUnmarshallerImpl.java:189)
>> at org.wso2.carbon.analytics.spark.core.SparkScriptCAppDeployer
>> .deploy(SparkScriptCAppDeployer.java:97)
>> at org.wso2.carbon.analytics.spark.core.SparkScriptCAppDeployer
>> .deployArtifacts(SparkScriptCAppDeployer.java:76)
>> at org.wso2.carbon.application.deployer.internal.ApplicationMan
>> ager.deployCarbonApp(ApplicationManager.java:263)
>> at org.wso2.carbon.application.deployer.CappAxis2Deployer.deplo
>> y(CappAxis2Deployer.java:72)
>> at org.apache.axis2.deployment.repository.util.DeploymentFileDa
>> ta.deploy(De

[Dev] [DAS]CApp deployment fails due to spark script

2017-05-18 Thread Sajith Abeywardhana
Hi DAS Team,

I'm using wso2das-3.1.0 and here[1] is my spark script. When I bundle this
script to a capp, and when I'm deploying that capp, the capp deployment
fails. Error log printed as this[2].
I can deploy the capp if I build the capp without two insert queries in the
script. But I can edit and save the script using carbon console with two
insert scripts. Am I missing anything when I deploying the capp?



[1]
CREATE TEMPORARY TABLE device_update_notification USING
org.wso2.carbon.analytics.spark.event.EventStreamProvider OPTIONS
(receiverURL "tcp://localhost:7611", username "admin", password "admin",
streamName "generated_notifications_stream", version "1.0.0", payload
"bs_id string, alert string");

CREATE TEMPORARY TABLE sensor_data USING CarbonAnalytics OPTIONS (tableName
"PROCESSED_GRAMPA_EVENTS_STREAM",
schema "BS_ID STRING, PIR INT, A_T DOUBLE, SOUND INT, LIGHT INT, EVENT_TIME
LONG, FROM_TIME LONG, TO_TIME LONG, _timestamp LONG");

INSERT OVERWRITE TABLE device_update_notification
SELECT bs_id, alert FROM (
SELECT BS_ID AS bs_id, 'offline' as alert, MAX(_timestamp) as event_time
FROM sensor_data
GROUP BY BS_ID
) as max_time_table
WHERE (unix_timestamp() - event_time) > 900;

INSERT OVERWRITE TABLE device_update_notification
SELECT bs_id, alert FROM (
SELECT BS_ID AS bs_id, 'connected' as alert, MAX(_timestamp) as event_time
FROM sensor_data
GROUP BY BS_ID
) as max_time_table
WHERE (unix_timestamp() - event_time) < 900;


[2]
TID: [-1234] [] [2017-05-19 05:57:01,683] ERROR
{org.wso2.carbon.analytics.spark.core.SparkScriptCAppDeployer} -  Error
while reading the analytics script :
/mnt/wso2/wso2das-3.1.0/tmp/carbonapps/-1234/1495173421409kraydel-das-artifacts.car/device_update_spark_script
_1.0.0/device_update_spark_script.xml
{org.wso2.carbon.analytics.spark.core.SparkScriptCAppDeployer}
javax.xml.bind.UnmarshalException
 - with linked exception:
[org.xml.sax.SAXParseException: The content of elements must consist of
well-formed character data or markup.]
at
javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:335)
at
com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:563)
at
com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:249)
at
com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:214)
at
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:157)
at
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:162)
at
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:171)
at
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:189)
at
org.wso2.carbon.analytics.spark.core.SparkScriptCAppDeployer.deploy(SparkScriptCAppDeployer.java:97)
at
org.wso2.carbon.analytics.spark.core.SparkScriptCAppDeployer.deployArtifacts(SparkScriptCAppDeployer.java:76)
at
org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:263)
at
org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deployer.java:72)
at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807)
at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
at
org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
at
org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
at
org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
at
org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:93)
at
org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:138)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thre

Re: [Dev] GSOC 2017 -CLI tool for WSO2 API Manager

2017-02-19 Thread Sajith Abeywardhana
Adding project mentors.

On Mon, Feb 20, 2017 at 9:33 AM, Heshan Jayasinghe 
wrote:

> Hi all,
>
> I am Heshan Jayasinghe 4th year undergraduate of university of
> moratuwa,Srilanka. I have experience in Java/MEAN/android/Go projects. I
> was GSOC 2016 participant with your Organization and successfully finish
> all my tasks and complete my project.
>
> I go though all the information you mention in this project and I go
> though Go sample CLI tools examples too.I familiar with REST services in
> java and node.js and haven't more experience using Go.I think i
> can familiar with those areas before start this project. Could you please
> give me further information about this projects then i can research on
> those area.
>
> Thank you,
> regards,
>
> Heshan Jayasinghe
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IS] Resident IDP update fails due to new authenticator in IS-5.2.0 for a migrated IS from 5.1.0 to 5.2.0

2017-01-19 Thread Sajith Abeywardhana
ava:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at
org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at
org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:120)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:120)
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:218)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
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:956)
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:442)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1082)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:623)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1756)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1715)
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)

Thanks,
Sajith.

-- 
*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Identity cloud]Client certification missing when requesting the REST services using the dashboard jaggery app

2016-11-29 Thread Sajith Abeywardhana
Hi All,

I observe the "AuthenticationHandler not found exception"[1] when the
dashboard jaggery app calls[2] the backend REST services over the HTTPS. By
debugging, we found that this issue occurs only when the carbon server is
started with the hostname verification enable mode. If the hostname
verification is enabled the jaggery app does not send the client
certificate along with the request. If there is no any client certification
in the request the AuthenticationHandler reject the request and throws the
exception[1].  When I disable the hostname verification, the jaggery app
sends the client certificate along with the request and then the
AuthenticationHandler will process the request.

Any thoughts how to solve this issue?

[1]
TID: [-1234] [] [2016-11-29 13:05:36,332] ERROR
{org.wso2.carbon.tomcat.ext.valves.CompositeValve} -  Could not handle
request: /api/appm/publisher/v1.1/roles
org.wso2.carbon.identity.auth.service.exception.AuthRuntimeException:
AuthenticationHandler not found.
at
org.wso2.carbon.identity.auth.service.AuthenticationManager.authenticate(AuthenticationManager.java:101)
at
org.wso2.carbon.identity.auth.valve.AuthenticationValve.invoke(AuthenticationValve.java:75)
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:956)
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:442)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1082)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:623)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1756)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1715)
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)
TID: [-1234] [] [2016-11-29 13:05:36,338] ERROR
{JAGGERY.serviceproviders.custom.controllers.custom.getRoles:jag} -
 org.mozilla.javascript.EcmaError: TypeError: Cannot read property
"roleIds" from null
(/dashboard/serviceproviders/custom/controllers/custom/getRoles.jag#15)
at
org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3687)
at
org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3665)
at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3693)
at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3712)
at
org.mozilla.javascript.ScriptRuntime.undefReadError(ScriptRuntime.java:3725)
at
org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1483)
at
org.jaggeryjs.rhino.dashboard.serviceproviders.custom.controllers.custom.c5._c_getRoles_1(/dashboard/serviceproviders/custom/controllers/custom/getRoles.jag:15)
at
org.jaggeryjs.rhino.dashboard.serviceproviders.custom.controllers.custom.c5.call(/dashboard/serviceproviders/custom/controllers/custom/getRoles.jag)
at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:74)
at
org.jaggeryjs.rhino.dashboard.serviceproviders.custom.controllers.custom.c5._c_script_0(/dashboard/serviceproviders/custom/controllers/custom/getRoles.jag:6)
at
org.jaggeryjs.rhino.dashboard.serviceproviders.custom.controllers.custom.c5.call(/dashboard/serviceproviders/custom/controllers/custom/getRoles.jag)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)

[2]
https://github.com/wso2-extensions/identity-cloud/blob/master/jaggeryapps/dashboard/modules/appManagementClient.js#L126

Regards,
Sajith.

-- 
*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Regarding APPM-1160

2016-07-07 Thread Sajith Abeywardhana
Hi All,

EMM supports multi-tenancy it is designed to work with one instance of App
> Manager via OSGI services. When they work together they function as one
> product, hence EMM and App Manager share same tenants across the multi
> tenanted environment.
>

This means we don't need to keep the tenant config when we are connecting
using OSGi service.


> This is a special scenario where AppM connects to EMM via  EMM REST
> APIs. According to how we have developed the plugin tenant admin and
> password needs to be stored in the plugin configuration. This is a
> plugin specific configuration, therefore, the plugin developer has
> flexibility to store those configurations in any way he prefers.
>

When we are connecting using REST connector we need to have a tenant config
in AppM side. How about that we kept those tenant config in app-manager.xml
as below.




/store/extensions/assets/mobileapp/resources/models/%s.png
https://localhost:9450/mdm-admin


https://localhost:9448/oauth2/token
WjLm24IxBVLF0oz0VJfmtJbjJbka
v3KkIQXkJ1SDp_Bf8uUQxu5p7TQa
hr.com ,eng.com
,mrk.com



/store/extensions/assets/mobileapp/resources/models/%s.png




hradmin
hr.123


engadmin
eng.123


mrkadmin
eng.123
    
    

    



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


On Tue, Jul 5, 2016 at 12:01 PM, Chathura Dilan  wrote:

> Hi Dinusha,
>
> EMM supports multi-tenancy it is designed to work with one instance of
> App Manager via OSGI services. When they work together they function as one
> product, hence EMM and App Manager share same tenants across the multi
> tenanted environment.
>

> This is a special scenario where AppM connects to EMM via  EMM REST
> APIs. According to how we have developed the plugin tenant admin and
> password needs to be stored in the plugin configuration. This is a
> plugin specific configuration, therefore, the plugin developer has
> flexibility to store those configurations in any way he prefers.
>
> When it's comes to multi tenancy, +1 we have to store those
> configurations in the registry for the rest connector plugin . But how we
> store those values are plugin specific.
>
>
> On Tue, Jul 5, 2016 at 10:51 AM, Dinusha Senanayaka 
> wrote:
>
>> Hi Chathura,
>>
>> Does multi-tenancy supports in EMM for device management ? If yes, we
>> need to fix [1] as well, which means we cannot keep this configuration in
>> the app-manager.xml. Need to take it to registry.
>>
>> [1] https://wso2.org/jira/browse/APPM-1160
>>
>> Regards,
>> Dinsuha.
>>
>> --
>> Dinusha Dilrukshi
>> Associate Technical Lead
>> WSO2 Inc.: http://wso2.com/
>> Mobile: +94725255071
>> Blog: http://dinushasblog.blogspot.com/
>>
>
>
>
> --
> Regards,
>
> Chatura Dilan Perera
> *Associate Tech Lead** - WSO2 Inc.*
> www.dilan.me
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Carbon][IS][AppM] Kernel update to 4.4.6 in AppM gives ClassNotFoundException by opensaml_2.6.4.wso2v2

2016-06-23 Thread Sajith Abeywardhana
.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:505)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
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:956)
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:436)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1749)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1708)
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)

[2].
https://github.com/wso2/orbit/blob/master/opensaml/2.6.4.wso2v2/pom.xml#L322

[3].
https://github.com/wso2/orbit/blob/master/opensaml/2.6.4.wso2v3/pom.xml#L342

Regards,
Sajith.

-- 
*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Shall we use latest APPM in EMM?

2016-04-06 Thread Sajith Abeywardhana
Hi Lakshman,

I reviewed some files in PR https://github.com/wso2/carbon-appmgt/pull/250 and
add some comments. Please have a look.

Thanks,
Sajith.

On Wed, Apr 6, 2016 at 7:33 PM, Lakshman Udayakantha 
wrote:

> Hi APPM Team, EMM Team,
>
> I have created following pull requests [1], [2] and [3] for latest APPM
> and EMM integration. Could you review and merge them?
>
> [1] https://github.com/wso2/carbon-appmgt/pull/250
> [2] https://github.com/wso2/product-emm/pull/203
> [3] https://github.com/wso2/carbon-device-mgt/pull/208/
>
> Thanks
>
> On Wed, Mar 23, 2016 at 6:02 PM, Lakshman Udayakantha 
> wrote:
>
>> Hi All,
>>
>> After I have merged the APPM latest version and configuration changes
>> from APPM to EMM and after the above code changes, publisher and store can
>> be browsed and publish apps without any issue. But app installing on
>> devices failed because the code which handles that part are moved to an
>> APPM old branch(which is currently using in EMM) from EMM. So I
>> cherry-picked those specific commits from that old branch to master branch
>> in APPM. After that app installing on devices worked without any issue. But
>> product app manager P2 profile generation failed with below error messages.
>>
>>  Software being installed: WSO2 Carbon - App Manager WSO2 MDM Feature
>> 1.1.3.SNAPSHOT (org.wso2.carbon.appmgt.mdm.wso2mdm.feature.group
>> 1.1.3.SNAPSHOT)
>>  Missing requirement: org.wso2.carbon.appmgt.mdm.wso2mdm 1.1.3.SNAPSHOT
>> (org.wso2.carbon.appmgt.mdm.wso2mdm 1.1.3.SNAPSHOT) requires 'package
>> org.wso2.carbon.device.mgt.core.app.mgt 0.0.0' but it could not be found
>>
>> According to the error, It seems like we have to bundle carbon device
>> features and lot of other features which depend on it with APPM product
>> which is not actually used in APPM.
>>
>> According to the offline discussion with PrabathA, DinushaS, RuwanA, It
>> was proposed to keep the code handled which handled app installing on
>> devices in APPM as a separate independent feature, but not bundled with
>> APPM product rather it bundled with EMM product.
>>
>> Thanks
>>
>>
>> On Mon, Mar 21, 2016 at 4:59 PM, Dinusha Senanayaka 
>> wrote:
>>
>>>
>>>
>>> On Mon, Mar 21, 2016 at 4:42 PM, Lakshman Udayakantha <
>>> lakshm...@wso2.com> wrote:
>>>
 Hi Dinusha,

 Updated the pull with your suggestions.

>>> Thanks. Merged.
>>>

 Thanks

 On Mon, Mar 21, 2016 at 2:57 PM, Dinusha Senanayaka 
 wrote:

> Hi Lakshman,
>
> Thanks for fixing this. Added few comments to PR. Please update.
>
> Regards,
> Dinusha.
>
> On Mon, Mar 21, 2016 at 2:40 PM, Lakshman Udayakantha <
> lakshm...@wso2.com> wrote:
>
>> Hi Dinusha,
>>
>> I have moved subscriber persisting code [1] to subscription creation
>> moment from login moment. Could you review and merge it.
>>
>> [1] https://github.com/wso2/carbon-appmgt/pull/245/files
>>
>> Thanks
>>
>>
>> On Fri, Mar 18, 2016 at 9:30 PM, Dinusha Senanayaka > > wrote:
>>
>>> Hi All,
>>>
>>> This is something we got from the APIM code and we need to refactor
>>> it. In their case, users login to store can create oauth app and 
>>> subscribe
>>> to APIs. App creation also should be done by a subscriber and that's why
>>> user is added to SUBSCRIBER table at the login. Then SUBSCRIPTION table 
>>> is
>>> populate when the actual subscription happen to API.
>>>
>>> Anyway, AppM do not have this app creation concept in the store.
>>> Hence we could move this SUBSCRIBER, SUBSCRIPTION both table inserts to
>>> where actual subscription happens.
>>>
>>> Regards,
>>> Dinusha.
>>>
>>> On Fri, Mar 18, 2016 at 8:33 PM, Lahiru Cooray 
>>> wrote:
>>>
 +1 for Ruwan's suggestion.
 Further in current model, Subscriptions(APM_SUBSCRIPTION) are
 mapped to a Application(APM_APPLICATION) and Application is bound to a
 subscriber (APM_SUBSCRIBER)

 Subscriber should ideally contain the users who are subscribed to
 an App.
 But currently APM_SUBSCRIBER table getting updated when an user log
 in to the store (which is not ideal)
 This operation should be moved to just before user get subscribed
 to an App.


 On Fri, Mar 18, 2016 at 5:12 PM, Ruwan Abeykoon 
 wrote:

> Hi All,
> I think APM_SUBSCRIBER is used to check subscription on WebApps
> or Sites.
> I think adding subscriber to this table can be moved to place
> where the subscription is added. We might have to revisit and change 
> the
> SQL queries which is used to check the subscriptions.
>
> Cheers,
> Ruwan
>
> On Fri, Mar 18, 2016 at 4:49 PM, Lakshman Udayakantha <
> lakshm...@wso2.com> wrote:
>
>> Hi Dinusha,
>>>

Re: [Dev] [EMM][APPM]How to call from emm jaggery apps to publisher jaggery apps

2016-02-24 Thread Sajith Abeywardhana
Hi Laksman,

It seems API url is wrong. It should be
"/publisher/api/asset/get/uuid/mobileapp/"+provider+"/"+name+"/"+version;
instead
of  "/publisher/api/asset/get/uuid/mobileapp"+provider+"/"+name+"/"+version;


*API code for your reference. *

//get uuid of given asset for-> provider,name,version
routeManager.register('GET', 'publisher',
'/publisher/api/asset/get/uuid/{type}/{provider}/{name}/{version}',
function (context) {
var assetProvider = context.params.provider;
var assetName = context.params.name;
var assetVersion = context.params.version;
var shortName = context.params.type;
var artifactManager = rxtManager.getArtifactManager(shortName);

var fn = function (asset) {
var cond1 = (asset.attributes.overview_provider ==
assetProvider ) ? true : false;
var cond2 = (asset.attributes.overview_name ==
assetName ) ? true : false;
var cond3 = (asset.attributes.overview_version ==
assetVersion ) ? true : false;
return (cond1 && cond2 && cond3);
}

var artifact = artifactManager.find(fn, null);
if (artifact && artifact != null && artifact.length > 0) {
var artifactId = artifact[0].id;
var res = {error: false, uuid: artifactId};
response.contentType = "application/json";
print(res);
} else {
var res = {error: false, uuid: null , message :'Could
not find UUID for given webapp'};
response.contentType = "application/json";
print(res);
}


});


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

On Wed, Feb 24, 2016 at 9:34 PM, Lakshman Udayakantha 
wrote:

> Hi,
>
> I have called using below code snippet a store rest API.
>
> var serviceURL = 
> "/publisher/api/asset/get/uuid/mobileapp"+provider+"/"+name+"/"+version;
> invokerUtil.get(
> serviceURL,
> function (data) {
> console.log("call succeeded...!");
> },
> function (data) {
> console.log("error occured.!!!");
> }
> );
>
>
> This call is done in a javascript method from emm to publisher jaggery
> app. But this call will fail with 401 unauthorised error. How do I get
> authenticate this call?
>
> Thanks
> --
> Lakshman Udayakantha
> WSO2 Inc. www.wso2.com
> lean.enterprise.middleware
> Mobile: *0714388124*
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 App Manager 1.1.0 RC1

2015-12-23 Thread Sajith Abeywardhana
Hi,

Tested following use cases

   - Tenant creation.
   - SSO to tenants.
   - Publishing apps using publisher.
   - App documentation(create/edit).
   - App lifecycle promotion/demotion.
   - App versioning.
   - Publish apps to external store.
   - Apps subscription from store.
   - Paginations in store side.
   - User ratings and app sorting.
   - App documentation viewing in store side.


No issue found in above use cases.
[x] Stable - go ahead and release.


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

On Wed, Dec 23, 2015 at 2:26 PM, Jenananthan Yogendran  wrote:

> No issue found in above use cases ,
>
> My vote - [x] Stable - go ahead and release
>
> Thanks
>
> On Wed, Dec 23, 2015 at 2:24 PM, Jenananthan Yogendran <
> jenanant...@wso2.com> wrote:
>
>> Hi
>>
>> Tested following use cases
>>
>> Self Signup for tenant
>> visibility and Access webapps- public app
>>   anonymouse app
>> skip the gateway app
>> role restricted app
>> single signon -  gateway,store,publisher,social
>> single logout - gateway,store,publisher,social
>> publish adevertise app to tenant stores
>> tenant store browsing
>> jwt token to backend app
>> add acs url for skip the gateway app
>> subscription availability-current,all,specific tenants
>> subscription availablity for app created using copy option
>>
>> On Wed, Dec 23, 2015 at 2:15 PM, Lakshani Gamage 
>> wrote:
>>
>>> Hi all,
>>>
>>> I tested the following.
>>>
>>>- Basic app creation and life cycle changing flow.
>>>- Create new version and app documentation.
>>>- App statistics
>>>- Sorting and filtering.
>>>- Both Store and publisher REST APIs.
>>>- Skip Gateway feature.
>>>
>>> Works fine. I didn't encounter any issues.
>>>
>>> [x] Stable - go ahead and release
>>> Thanks and Regards,
>>> Lakshani.
>>>
>>>
>>> On Wed, Dec 23, 2015 at 7:37 AM, Dinusha Senanayaka 
>>> wrote:
>>>
>>>> Hi Devs,
>>>>
>>>> This is the first release candidate of WSO2 App Manager 1.1.0.
>>>>
>>>> This release fixes the following issues:
>>>> https://wso2.org/jira/browse/APPM-1081?filter=12598
>>>>
>>>> Please download, test and vote.
>>>>
>>>> Source & binary distribution files:
>>>> http://builder1.us1.wso2.org/~appm/release-1.1.0/RC1/wso2appm-1.1.0.zip
>>>>
>>>> The tag to be voted upon:
>>>> https://github.com/wso2/product-app-manager/tree/v1.1.0
>>>>
>>>>
>>>> [ ]  Stable - go ahead and release
>>>> [ ]  Broken - do not release (explain why)
>>>>
>>>> Thanks and Regards,
>>>> WSO2 App Manager Team.
>>>>
>>>>
>>>> --
>>>> 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
>>>>
>>>>
>>>
>>>
>>> --
>>> Lakshani Gamage
>>>
>>> *Software Engineer*
>>> Mobile : +94 (0) 71 5478184 <%2B94%20%280%29%20773%20451194>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Jenananthan Yogendran
>> *Software Engineer,*
>> *WSO2 inc., http://wso2.com <http://wso2.com>*
>>
>>
>
>
> --
> Jenananthan Yogendran
> *Software Engineer,*
> *WSO2 inc., http://wso2.com <http://wso2.com>*
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IS][APPM] Identity version update from 4.5.6 to 5.0.2 in AppM

2015-11-11 Thread Sajith Abeywardhana
Hi IS team,

When I'm doing $subject I got below build failure message due to identity
version of the *org.wso2.carbon.identity.core* is 5.0.2.


​

So I try to update *org.wso2.carbon.identity.self.registration.server* feature
to version 5.0.2. But I couldn't find any greater version than 4.5.6. When
I inspect the commit history in IS repo[1] I found that
*org.wso2.carbon.identity.self.registration.server.feature* has been
renamed as* org.wso2.carbon.identity.user.registration.server.feature *in
several occasions. So instead of using
*org.wso2.carbon.identity.self.registration.server
*feature in AppM I update it as
*org.wso2.carbon.identity.user.registration.server
*feature. Please confirm is this correct or wrong. If it is wrong how could
I solve this?

[1].
https://github.com/wso2/carbon-identity/commit/eaade1ed135a5f13e91046417510fdd290b8f1f0


*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IS][APPM] IS-4.5.3 to IS-5.0.0 API changes

2015-10-28 Thread Sajith Abeywardhana
Hi Devs,

I'm in the process of updating IS version 4.5.3 to 5.0.0 in APPM. When I'm
doing this I found below API change. Please assist me to resolve this.

In IS-4.5.3 there is a API as,
*org.wso2.carbon.identity.sso.saml.stub.types.SAMLSSOServiceProviderDTO.setLogoutURL(String
logoutUrl);*

But in IS-5.0.0 I couldn't found it. How should I resolve this?


*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review and merge

2015-10-06 Thread Sajith Abeywardhana
The pack I used for the testing is one commit behind and due to that it
didn't render correctly. When we tested with the missing commit we got
Ayesha's mentioned issue and we fixed it.


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

On Wed, Oct 7, 2015 at 11:32 AM, Udara Rathnayake  wrote:

>
>
> On Wed, Oct 7, 2015 at 11:14 AM, Ayesha Dissanayaka 
> wrote:
>
>> Hi Sajith,
>>
>> I am referring to user not logged in sate. In that case if we directly
>> access
>> https://10.100.7.19:9443/portal/dashboards/ano-db01/landing?isAnonView=false
>> URL then we will see the default view.
>>
>> And when there a logged in user viewing
>> https://10.100.7.19:9443/portal/dashboards/ano-db01/landing?isAnonView=false
>> and logout then also default view is shown since the URL has
>> isAnonView=false
>>
>
> This is different from what Sajith mentioned to me. Sajith, Please
> coordinate with ayesha  and fix above (if exists)
>
> Thanks
>
>>
>> Thanks!
>> -Ayesha
>>
>>
>> On Wed, Oct 7, 2015 at 11:02 AM, Sajith Abeywardhana 
>> wrote:
>>
>>> If the user removes the isAnonView param from the url, next time browser
>>> will show url as 
>>> *https://10.100.7.19:9443/portal/dashboards/ano-db01/landing?isAnonView=null
>>> <https://10.100.7.19:9443/portal/dashboards/ano-db01/landing?isAnonView=null>.
>>> *Since null value is a bit ugly I fixed it and committed it to the PR.
>>>
>>> *Sajith Abeywardhana* | Software Engineer
>>> WSO2, Inc | lean. enterprise. middleware.
>>> #20, Palm Grove, Colombo 03, Sri Lanka.
>>> Mobile: +94772260485
>>> Email: saji...@wso2.com | Web: www.wso2.com
>>>
>>> On Wed, Oct 7, 2015 at 10:50 AM, Udara Rathnayake 
>>> wrote:
>>>
>>>> Had a chat with Sajith. Current implementation seems fine..
>>>>
>>>> On Wed, Oct 7, 2015 at 10:40 AM, Sajith Abeywardhana 
>>>> wrote:
>>>>
>>>>> Hi Ayesha,
>>>>>
>>>>> Small clarification?
>>>>>
>>>>>
>>>>>> I observed that even *anonymous users* can view the logged in view
>>>>>> by setting query parameter "isAnonView=false" or without setting it at 
>>>>>> all
>>>>>> in the browser.
>>>>>>
>>>>>
>>>>> I think you mean in here when the *logged in user* viewing anonymous
>>>>> view he can view logged in view by setting query parameter
>>>>> "isAnonView=false" or without setting it at all in the browser.
>>>>>
>>>>> Anonymous user(with out logging) never able to view logged in view. Am
>>>>> I right?
>>>>>
>>>>>
>>>>> *Sajith Abeywardhana* | Software Engineer
>>>>> WSO2, Inc | lean. enterprise. middleware.
>>>>> #20, Palm Grove, Colombo 03, Sri Lanka.
>>>>> Mobile: +94772260485
>>>>> Email: saji...@wso2.com | Web: www.wso2.com
>>>>>
>>>>>
>>>>>
>>>>>> Can you check this.
>>>>>>
>>>>>> Further, instead of having this reflected in the URL can we try keep
>>>>>> it internally?
>>>>>>
>>>>>> Thanks!
>>>>>> -Ayesha
>>>>>>
>>>>>>
>>>>>> On Tue, Oct 6, 2015 at 6:42 PM, Sajith Abeywardhana >>>>> > wrote:
>>>>>>
>>>>>>> Both jira's[1][2] which relevant  to anon view committed under one
>>>>>>> PR[3]. Please review and merge.
>>>>>>>
>>>>>>> [1]. https://wso2.org/jira/browse/UES-597
>>>>>>> [2]. https://wso2.org/jira/browse/UES-599
>>>>>>> [3]. https://github.com/wso2/carbon-dashboards/pull/66
>>>>>>>
>>>>>>> *Sajith Abeywardhana* | Software Engineer
>>>>>>> WSO2, Inc | lean. enterprise. middleware.
>>>>>>> #20, Palm Grove, Colombo 03, Sri Lanka.
>>>>>>> Mobile: +94772260485
>>>>>>> Email: saji...@wso2.com | Web: www.wso2.com
>>>>>>>
>>>>>>> On Tue, Oct 6, 2015 at 2:16 PM, Sajith Abeywardhana <
>>>>>>> saji...@wso2.com>

Re: [Dev] Please review and merge

2015-10-06 Thread Sajith Abeywardhana
If the user removes the isAnonView param from the url, next time browser
will show url as
*https://10.100.7.19:9443/portal/dashboards/ano-db01/landing?isAnonView=null
<https://10.100.7.19:9443/portal/dashboards/ano-db01/landing?isAnonView=null>.
*Since null value is a bit ugly I fixed it and committed it to the PR.

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

On Wed, Oct 7, 2015 at 10:50 AM, Udara Rathnayake  wrote:

> Had a chat with Sajith. Current implementation seems fine..
>
> On Wed, Oct 7, 2015 at 10:40 AM, Sajith Abeywardhana 
> wrote:
>
>> Hi Ayesha,
>>
>> Small clarification?
>>
>>
>>> I observed that even *anonymous users* can view the logged in view by
>>> setting query parameter "isAnonView=false" or without setting it at all in
>>> the browser.
>>>
>>
>> I think you mean in here when the *logged in user* viewing anonymous
>> view he can view logged in view by setting query parameter
>> "isAnonView=false" or without setting it at all in the browser.
>>
>> Anonymous user(with out logging) never able to view logged in view. Am I
>> right?
>>
>>
>> *Sajith Abeywardhana* | Software Engineer
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka.
>> Mobile: +94772260485
>> Email: saji...@wso2.com | Web: www.wso2.com
>>
>>
>>
>>> Can you check this.
>>>
>>> Further, instead of having this reflected in the URL can we try keep it
>>> internally?
>>>
>>> Thanks!
>>> -Ayesha
>>>
>>>
>>> On Tue, Oct 6, 2015 at 6:42 PM, Sajith Abeywardhana 
>>> wrote:
>>>
>>>> Both jira's[1][2] which relevant  to anon view committed under one
>>>> PR[3]. Please review and merge.
>>>>
>>>> [1]. https://wso2.org/jira/browse/UES-597
>>>> [2]. https://wso2.org/jira/browse/UES-599
>>>> [3]. https://github.com/wso2/carbon-dashboards/pull/66
>>>>
>>>> *Sajith Abeywardhana* | Software Engineer
>>>> WSO2, Inc | lean. enterprise. middleware.
>>>> #20, Palm Grove, Colombo 03, Sri Lanka.
>>>> Mobile: +94772260485
>>>> Email: saji...@wso2.com | Web: www.wso2.com
>>>>
>>>> On Tue, Oct 6, 2015 at 2:16 PM, Sajith Abeywardhana 
>>>> wrote:
>>>>
>>>>> Fixed the code according to [Dev] [UES][Dashboard Server] Dashboard
>>>>> anonymous view landing page. Please merge the PR.
>>>>>
>>>>> *Sajith Abeywardhana* | Software Engineer
>>>>> WSO2, Inc | lean. enterprise. middleware.
>>>>> #20, Palm Grove, Colombo 03, Sri Lanka.
>>>>> Mobile: +94772260485
>>>>> Email: saji...@wso2.com | Web: www.wso2.com
>>>>>
>>>>> On Tue, Oct 6, 2015 at 10:59 AM, Sajith Abeywardhana >>>> > wrote:
>>>>>
>>>>>> Please hold this merge. Page link rendering logic should be changed.
>>>>>> We can't check *!user *after the jira -
>>>>>> https://wso2.org/jira/browse/UES-597
>>>>>>
>>>>>> *Sajith Abeywardhana* | Software Engineer
>>>>>> WSO2, Inc | lean. enterprise. middleware.
>>>>>> #20, Palm Grove, Colombo 03, Sri Lanka.
>>>>>> Mobile: +94772260485
>>>>>> Email: saji...@wso2.com | Web: www.wso2.com
>>>>>>
>>>>>> On Tue, Oct 6, 2015 at 10:38 AM, Sajith Abeywardhana <
>>>>>> saji...@wso2.com> wrote:
>>>>>>
>>>>>>> Please review and merge
>>>>>>> https://github.com/wso2/carbon-dashboards/pull/66 for
>>>>>>> https://wso2.org/jira/browse/UES-599
>>>>>>>
>>>>>>>
>>>>>>> *Sajith Abeywardhana* | Software Engineer
>>>>>>> WSO2, Inc | lean. enterprise. middleware.
>>>>>>> #20, Palm Grove, Colombo 03, Sri Lanka.
>>>>>>> Mobile: +94772260485
>>>>>>> Email: saji...@wso2.com | Web: www.wso2.com
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> *Ayesha Dissanayaka*
>>> Software Engineer,
>>> WSO2, Inc : http://wso2.com
>>> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
>>> 20, Palmgrove Avenue, Colombo 3
>>> E-Mail: aye...@wso2.com 
>>>
>>
>>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review and merge

2015-10-06 Thread Sajith Abeywardhana
Hi Ayesha,

Small clarification?


> I observed that even *anonymous users* can view the logged in view by
> setting query parameter "isAnonView=false" or without setting it at all in
> the browser.
>

I think you mean in here when the *logged in user* viewing anonymous view
he can view logged in view by setting query parameter "isAnonView=false" or
without setting it at all in the browser.

Anonymous user(with out logging) never able to view logged in view. Am I
right?


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



> Can you check this.
>
> Further, instead of having this reflected in the URL can we try keep it
> internally?
>
> Thanks!
> -Ayesha
>
>
> On Tue, Oct 6, 2015 at 6:42 PM, Sajith Abeywardhana 
> wrote:
>
>> Both jira's[1][2] which relevant  to anon view committed under one PR[3].
>> Please review and merge.
>>
>> [1]. https://wso2.org/jira/browse/UES-597
>> [2]. https://wso2.org/jira/browse/UES-599
>> [3]. https://github.com/wso2/carbon-dashboards/pull/66
>>
>> *Sajith Abeywardhana* | Software Engineer
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka.
>> Mobile: +94772260485
>> Email: saji...@wso2.com | Web: www.wso2.com
>>
>> On Tue, Oct 6, 2015 at 2:16 PM, Sajith Abeywardhana 
>> wrote:
>>
>>> Fixed the code according to [Dev] [UES][Dashboard Server] Dashboard
>>> anonymous view landing page. Please merge the PR.
>>>
>>> *Sajith Abeywardhana* | Software Engineer
>>> WSO2, Inc | lean. enterprise. middleware.
>>> #20, Palm Grove, Colombo 03, Sri Lanka.
>>> Mobile: +94772260485
>>> Email: saji...@wso2.com | Web: www.wso2.com
>>>
>>> On Tue, Oct 6, 2015 at 10:59 AM, Sajith Abeywardhana 
>>> wrote:
>>>
>>>> Please hold this merge. Page link rendering logic should be changed. We
>>>> can't check *!user *after the jira -
>>>> https://wso2.org/jira/browse/UES-597
>>>>
>>>> *Sajith Abeywardhana* | Software Engineer
>>>> WSO2, Inc | lean. enterprise. middleware.
>>>> #20, Palm Grove, Colombo 03, Sri Lanka.
>>>> Mobile: +94772260485
>>>> Email: saji...@wso2.com | Web: www.wso2.com
>>>>
>>>> On Tue, Oct 6, 2015 at 10:38 AM, Sajith Abeywardhana 
>>>> wrote:
>>>>
>>>>> Please review and merge
>>>>> https://github.com/wso2/carbon-dashboards/pull/66 for
>>>>> https://wso2.org/jira/browse/UES-599
>>>>>
>>>>>
>>>>> *Sajith Abeywardhana* | Software Engineer
>>>>> WSO2, Inc | lean. enterprise. middleware.
>>>>> #20, Palm Grove, Colombo 03, Sri Lanka.
>>>>> Mobile: +94772260485
>>>>> Email: saji...@wso2.com | Web: www.wso2.com
>>>>>
>>>>
>>>>
>>>
>>
>
>
> --
> *Ayesha Dissanayaka*
> Software Engineer,
> WSO2, Inc : http://wso2.com
> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
> 20, Palmgrove Avenue, Colombo 3
> E-Mail: aye...@wso2.com 
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] USE-597 Use case update

2015-10-06 Thread Sajith Abeywardhana
Hi All,

As discussed with Udara, I update the use case of the jirs[1]. If you got
any suggestion please let me know.

Updated use case : When the user designing a dashboard he can click on the
view button. Then dashboard preview should be displayed. If the user
designing the anonymous page, then the anonymous preview should be
displayed. Otherwise, if the user designing the default page, then the
default preview should be displayed.

[1]. https://wso2.org/jira/browse/UES-597

*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please merge the PR

2015-10-04 Thread Sajith Abeywardhana
Yes. rpc library inherited from the feature as Manu said. The problem was
not in the rpc library. It was in with the carbon-dashboard version which
we include in the UES release. Current carbon-dashboard version
is 1.5.0.SNAPSHOT but in my product-ues pom file it was 1.4.0. Also in the
product-ues GitHub, it is mentioned as*
1.0.4 *but in the
carbon-dashboard pom file it is
*1.0.5-SNAPSHOT*
 Shouldn't we sync those two versions?

Dashboard json file slightly changes in carbon-dashboard version 1.4.0 and
carbon-dashboard version 1.5.0. SNAPSHOT. That was the root cause for this
issue. I fixed the code according to the new version.

@Sameera,
I commit the changes and please review and marge below PRs.
 https://github.com/wso2/carbon-dashboards/pull/53 for
https://wso2.org/jira/browse/UES-585
 https://github.com/wso2/carbon-dashboards/pull/54 for
https://wso2.org/jira/browse/UES-573

@Ayesha,
Please review and merge https://github.com/wso2/carbon-dashboards/pull/60
 for https://wso2.org/jira/browse/UES-595




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

On Sat, Oct 3, 2015 at 10:09 PM, Manuranga Perera  wrote:

> the rpc library should come automatically whit with Feature tag for set
> pref. no need to include it manually.
>
> On Fri, Oct 2, 2015 at 7:36 PM, Sajith Abeywardhana 
> wrote:
>
>> Hi Sameera,
>>
>> On Wed, Sep 30, 2015 at 1:12 PM, Sajith Abeywardhana 
>> wrote:
>>
>>> Please review and merge
>>> https://github.com/wso2/carbon-dashboards/pull/53 for
>>> https://wso2.org/jira/browse/UES-585
>>>
>>> For this we need to have rpc.js as a library. When I was testing it I
>> directly included it to the index.xml as  *> src="<a  rel="nofollow" href="http://sandbox.ig.gmodules.com/gadgets/js/rpc.js">http://sandbox.ig.gmodules.com/gadgets/js/rpc.js</a>
>> <<a  rel="nofollow" href="http://sandbox.ig.gmodules.com/gadgets/js/rpc.js">http://sandbox.ig.gmodules.com/gadgets/js/rpc.js</a>>">.* But when
>> you were trying, we didn't include that rpc library. That was the reason
>> for the conflict.
>> Now I have changed the designer.js to loads the rpc library along with UI
>> initialization(This is the time set_pref get registered) and I added rcp.js
>> to the portal/js/ folder.
>> Please let me know If you have any concerns.
>>
>> *Sajith Abeywardhana* | Software Engineer
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka.
>> Mobile: +94772260485
>> Email: saji...@wso2.com | Web: www.wso2.com
>>
>>
>>
>>
>>>
>>> *Sajith Abeywardhana* | Software Engineer
>>> WSO2, Inc | lean. enterprise. middleware.
>>> #20, Palm Grove, Colombo 03, Sri Lanka.
>>> Mobile: +94772260485
>>> Email: saji...@wso2.com | Web: www.wso2.com
>>>
>>
>>
>
>
> --
> With regards,
> *Manu*ranga Perera.
>
> phone : 071 7 70 20 50
> mail : m...@wso2.com
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Support for Hazelcast AWS membership scheme implemented for C5

2015-08-26 Thread Sajith Abeywardhana
Hi Azeez,

How should I define security group when we are having a more than one
security group?

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

On Sat, Aug 22, 2015 at 12:05 PM, Afkham Azeez  wrote:

> Yes, I need to add that as well as comments for the Generic membership
> scheme. Thanks.
>
> On Fri, Aug 21, 2015 at 11:10 PM, Sajith Abeywardhana 
> wrote:
>
>> Please add AWS to the comment in line no 28-40
>>
>> *Sajith Abeywardhana* | Software Engineer
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka.
>> Mobile: +94772260485
>> Email: saji...@wso2.com | Web: www.wso2.com
>>
>> On Fri, Aug 21, 2015 at 10:05 PM, Afkham Azeez  wrote:
>>
>>> Here is the cluster.xml. Hope it is self explanatory.
>>>
>>>
>>> https://github.com/wso2/carbon-kernel/blob/master/distribution/carbon-home/repository/conf/cluster.xml
>>>
>>> On Fri, Aug 21, 2015 at 8:19 PM, Sajith Abeywardhana 
>>> wrote:
>>>
>>>> Hi Azeez,
>>>>
>>>> In C5 are we moving wka and multicast configurations to cluster.xml
>>>> file as well? Or are we moving whole  element?
>>>>
>>>> *Sajith Abeywardhana* | Software Engineer
>>>> WSO2, Inc | lean. enterprise. middleware.
>>>> #20, Palm Grove, Colombo 03, Sri Lanka.
>>>> Mobile: +94772260485
>>>> Email: saji...@wso2.com | Web: www.wso2.com
>>>>
>>>> On Fri, Aug 21, 2015 at 2:51 PM, Afkham Azeez  wrote:
>>>>
>>>>> Please note $subject. The configuration in the cluster.xml file is as
>>>>> follows. Docs will have to be updated.
>>>>>
>>>>> 
>>>>> xx
>>>>> yy
>>>>> a_group_name
>>>>> us-east-1
>>>>> a_tag_key
>>>>> a_tag_value
>>>>> 
>>>>>
>>>>>
>>>>> --
>>>>> *Afkham Azeez*
>>>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>>>> Member; Apache Software Foundation; http://www.apache.org/
>>>>> * <http://www.apache.org/>*
>>>>> *email: **az...@wso2.com* 
>>>>> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
>>>>> *http://blog.afkham.org* <http://blog.afkham.org>
>>>>> *twitter: **http://twitter.com/afkham_azeez*
>>>>> <http://twitter.com/afkham_azeez>
>>>>> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
>>>>> <http://lk.linkedin.com/in/afkhamazeez>*
>>>>>
>>>>> *Lean . Enterprise . Middleware*
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> *Afkham Azeez*
>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>> Member; Apache Software Foundation; http://www.apache.org/
>>> * <http://www.apache.org/>*
>>> *email: **az...@wso2.com* 
>>> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
>>> *http://blog.afkham.org* <http://blog.afkham.org>
>>> *twitter: **http://twitter.com/afkham_azeez*
>>> <http://twitter.com/afkham_azeez>
>>> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
>>> <http://lk.linkedin.com/in/afkhamazeez>*
>>>
>>> *Lean . Enterprise . Middleware*
>>>
>>
>>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>*
> *email: **az...@wso2.com* 
> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
> *http://blog.afkham.org* <http://blog.afkham.org>
> *twitter: **http://twitter.com/afkham_azeez*
> <http://twitter.com/afkham_azeez>
> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
> <http://lk.linkedin.com/in/afkhamazeez>*
>
> *Lean . Enterprise . Middleware*
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Support for Hazelcast AWS membership scheme implemented for C5

2015-08-21 Thread Sajith Abeywardhana
Please add AWS to the comment in line no 28-40

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

On Fri, Aug 21, 2015 at 10:05 PM, Afkham Azeez  wrote:

> Here is the cluster.xml. Hope it is self explanatory.
>
>
> https://github.com/wso2/carbon-kernel/blob/master/distribution/carbon-home/repository/conf/cluster.xml
>
> On Fri, Aug 21, 2015 at 8:19 PM, Sajith Abeywardhana 
> wrote:
>
>> Hi Azeez,
>>
>> In C5 are we moving wka and multicast configurations to cluster.xml file
>> as well? Or are we moving whole  element?
>>
>> *Sajith Abeywardhana* | Software Engineer
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka.
>> Mobile: +94772260485
>> Email: saji...@wso2.com | Web: www.wso2.com
>>
>> On Fri, Aug 21, 2015 at 2:51 PM, Afkham Azeez  wrote:
>>
>>> Please note $subject. The configuration in the cluster.xml file is as
>>> follows. Docs will have to be updated.
>>>
>>> 
>>> xx
>>> yy
>>> a_group_name
>>> us-east-1
>>> a_tag_key
>>> a_tag_value
>>> 
>>>
>>>
>>> --
>>> *Afkham Azeez*
>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>> Member; Apache Software Foundation; http://www.apache.org/
>>> * <http://www.apache.org/>*
>>> *email: **az...@wso2.com* 
>>> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
>>> *http://blog.afkham.org* <http://blog.afkham.org>
>>> *twitter: **http://twitter.com/afkham_azeez*
>>> <http://twitter.com/afkham_azeez>
>>> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
>>> <http://lk.linkedin.com/in/afkhamazeez>*
>>>
>>> *Lean . Enterprise . Middleware*
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>*
> *email: **az...@wso2.com* 
> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
> *http://blog.afkham.org* <http://blog.afkham.org>
> *twitter: **http://twitter.com/afkham_azeez*
> <http://twitter.com/afkham_azeez>
> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
> <http://lk.linkedin.com/in/afkhamazeez>*
>
> *Lean . Enterprise . Middleware*
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Support for Hazelcast AWS membership scheme implemented for C5

2015-08-21 Thread Sajith Abeywardhana
Hi Azeez,

In C5 are we moving wka and multicast configurations to cluster.xml file as
well? Or are we moving whole  element?

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

On Fri, Aug 21, 2015 at 2:51 PM, Afkham Azeez  wrote:

> Please note $subject. The configuration in the cluster.xml file is as
> follows. Docs will have to be updated.
>
> 
> xx
> yy
> a_group_name
> us-east-1
> a_tag_key
> a_tag_value
> 
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>*
> *email: **az...@wso2.com* 
> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
> *http://blog.afkham.org* <http://blog.afkham.org>
> *twitter: **http://twitter.com/afkham_azeez*
> <http://twitter.com/afkham_azeez>
> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
> <http://lk.linkedin.com/in/afkhamazeez>*
>
> *Lean . Enterprise . Middleware*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APPM] JWT is signed by AppM gateway. But not the IDP. WDYT?

2015-08-20 Thread Sajith Abeywardhana
Hi Dinusha,

JWT improvement(define a new interface and abstract class so that now we
can implement the abstract class as an extension point.) is done. How could
we deal with JWT signing? Please instruct me.

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

On Wed, Aug 12, 2015 at 11:55 AM, Dinusha Senanayaka 
wrote:

> [Adding Prabath]
>
> In API Manager, JWT is generated as a part of key validation process (key
> manager) , hence the JWT is signed by KeyManager (IdP). But in App Manager,
> JWT generation happens at the gateway using the SAML response sent by IdP.
> Since GW is the one generating JWT, problem is how we are going to get it
> signed by IdP. Seems it's a valid requirement.
>
>
> On Wed, Aug 12, 2015 at 11:45 AM, Sajith Abeywardhana 
> wrote:
>
>> Hi all,
>>
>> AppM use JWT for transfer claims between AppM gateway and the backend
>> application. JWT has been generated by extracting user claims from the SAML
>> response which is provided by the IDP. Currently JWT is signed by the AppM
>> gateway but not by the IDP.
>>
>> I think we need to sign the JWT by using the IDP, WDYT?
>>
>> *Sajith Abeywardhana* | Software Engineer
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka.
>> Mobile: +94772260485
>> Email: saji...@wso2.com | Web: www.wso2.com
>>
>
>
>
> --
> 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


[Dev] [APPM] JWT is signed by AppM gateway. But not the IDP. WDYT?

2015-08-11 Thread Sajith Abeywardhana
Hi all,

AppM use JWT for transfer claims between AppM gateway and the backend
application. JWT has been generated by extracting user claims from the SAML
response which is provided by the IDP. Currently JWT is signed by the AppM
gateway but not by the IDP.

I think we need to sign the JWT by using the IDP, WDYT?

*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] APPM Internal Deployment is not working with two IDPs

2015-08-07 Thread Sajith Abeywardhana
Hi Lakshani,

User login process should be handle by single IDP node. When you configure
2 IDP nodes nginx will route the http/s request which relevant to single
login process, to both IDPs. I guess that is the issue in here.

One solution is, you can enable nginx session persistence using *sticky.* Then
nginx identifies user sessions and routes the requests to the same upstream
server.

Did you check the nginx [/var/log/nginx/]access.log? You can verify by
checking the access log whether the nginx route the request to both IDPs or
not.


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

On Fri, Aug 7, 2015 at 12:08 AM, Lakshani Gamage  wrote:

>
> Hi all,
>
> I am setting up an APPM internal deployment with following components.
>
> VM 1 : Store, Publisher, Gateway, IDP, svn
>
> VM2 :  Store, Publisher, Gateway, IDP, nginx, mysql server
>
> For above setup I used PoxyPort (443 and 80) for all components.  APPM
> internal deployment setup is working fine with one IDP.
>
> Nginx Config file of IDP for working setup as follows.
>
>
> upstream idphttps {
>   server 192.168.57.178:9444;
> }
>
> upstream idphttp {
> server 192.168.57.178:9764;
> }
>
> #via HTTP
> server {
> listen   80;
> server_name idp.appm.wso2.com;
>
>  location / {
>index index.html;
>proxy_set_header X-Forwarded-Host $host;
>proxy_set_header X-Forwarded-Server $host;
>proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>
> proxy_set_header Host $http_host;
> proxy_read_timeout 5m;
> proxy_send_timeout 5m;
>
>proxy_pass http://idphttp/;
>proxy_redirect http://idphttp/ http://idp.appm.wso2.com/;
>}
>
> }
>
>  #via HTTPS
> server {
>
>listen 443;
>server_name idp.appm.wso2.com;
>
>ssl on;
>ssl_certificate /etc/nginx/ssl/nginx.crt;
>ssl_certificate_key /etc/nginx/ssl/nginx.key;
>
>   location / {
>index index.html;
>proxy_set_header X-Forwarded-Host $host;
>proxy_set_header X-Forwarded-Server $host;
>proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>
> proxy_set_header Host $http_host;
> proxy_read_timeout 5m;
> proxy_send_timeout 5m;
>
>proxy_pass https://idphttps/;
>proxy_redirect https://idphttps/ https://idp.appm.wso2.com/;
>}
> }
>
>
>
> But If I use 2 IDPs, I can't login to IS server. There is no error logs
> also.
>
> Nginx config file of IDP as follows.
>
>
> upstream idphttps {
>   server 192.168.57.178:9444;
> server 192.168.57.179:9444;
> }
>
> upstream idphttp {
> server 192.168.57.178:9764;
> server 192.168.57.179:9764;
> }
>
> #via HTTP
> server {
> listen   80;
> server_name idp.appm.wso2.com;
>
>  location / {
>index index.html;
>proxy_set_header X-Forwarded-Host $host;
>proxy_set_header X-Forwarded-Server $host;
>proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>
> proxy_set_header Host $http_host;
> proxy_read_timeout 5m;
> proxy_send_timeout 5m;
>
>proxy_pass http://idphttp/;
>proxy_redirect http://idphttp/ http://idp.appm.wso2.com/;
>}
>
> }
>
>  #via HTTPS
> server {
>
>listen 443;
>server_name idp.appm.wso2.com;
>
>ssl on;
>ssl_certificate /etc/nginx/ssl/nginx.crt;
>ssl_certificate_key /etc/nginx/ssl/nginx.key;
>
>   location / {
>index index.html;
>proxy_set_header X-Forwarded-Host $host;
>proxy_set_header X-Forwarded-Server $host;
>proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>
> proxy_set_header Host $http_host;
> proxy_read_timeout 5m;
> proxy_send_timeout 5m;
>
>proxy_pass https://idphttps/;
>proxy_redirect https://idphttps/ https://idp.appm.wso2.com/;
>}
> }
>
>
> Both IDPs(192.168.57.178:9444, 192.168.57.179:9444) are working
> individually.  I need both of IDPs for internal deployment setup. Is there
> any issue in Nginx config file for both IDP server?
>
> Thanks,
> Lakshani
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Anuruddha Liyanarachchi

2015-08-04 Thread Sajith Abeywardhana
Congratulations Anuruddha !!!

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

On Mon, Aug 3, 2015 at 11:37 PM, Imesh Gunaratne  wrote:

> s/great contributors/great contributions/g
>
> On Mon, Aug 3, 2015 at 11:36 PM, Imesh Gunaratne  wrote:
>
>> Hi Devs,
>>
>> It's my pleasure to welcome Anuruddha Liyanarachchi as a WSO2 Committer.
>>
>> Anuruddha has done great contributors to the WSO2 Private PaaS project.
>> As a recognition of his work he has been voted as a WSO2 committer.
>>
>> Anuruddha, welcome aboard! Keep up the good work!
>>
>> Thanks
>>
>> --
>> *Imesh Gunaratne*
>> Senior Technical Lead
>> WSO2 Inc: http://wso2.com
>> T: +94 11 214 5345 M: +94 77 374 2057
>> W: http://imesh.gunaratne.org
>> Lean . Enterprise . Middleware
>>
>>
>
>
> --
> *Imesh Gunaratne*
> Senior Technical Lead
> WSO2 Inc: http://wso2.com
> T: +94 11 214 5345 M: +94 77 374 2057
> W: http://imesh.gunaratne.org
> Lean . Enterprise . Middleware
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AppM] AppM load test on gateway using jmeter

2015-07-15 Thread Sajith Abeywardhana
Hi Lakshani,

Thanks to Infar team we got 4GB memory in gateway instances. Now we can
proceed.

Please find the below clustering environment configuration [Table 1] which
we will be using for AppM load testing. Shall we start writing Jmeter
scripts for below testing scenarios [Table 2] as well?


Server IP

Instance config

Product

192.168.57.144

2 VCPUs, 4GB, 40GB

MySQL, svn, nginx

192.168.57.132

1 VCPUs, 2GB, 20GB

IDP (WSO2 AppM distribution)

192.168.57.134

1 VCPUs, 2GB, 20GB

publisher (WSO2 AppM distribution)

192.168.57.133

1 VCPUs, 2GB, 20GB

store mgt (WSO2 AppM distribution)

192.168.57.135

1 VCPUs, 2GB, 20GB

store wkr (WSO2 AppM distribution)

192.168.57.136

2 VCPUs, 4GB, 40GB

gateway mgt (WSO2 AppM distribution)

192.168.57.139

2 VCPUs, 4GB, 40GB

gateway wkr (WSO2 AppM distribution)

 Table
1



Test

How to proceed

Goal and test output

Capacity/Load Test

Gradually increase the number of hits to gateways by looking at the CPU
load average and JVM memory utilization. We keep increasing hit count until
performance or stability become unacceptable in gateway nodes.


Goal - Measure how many concurrents hits can handle by the gateway
successfully.

Output - In a cluster environment with 2 gateway nodes which having a 4GB
memory in each instance, AppM can handle up to n concurrent hits without
any performance or stability issues.

Stress Test

Load the gateway beyond the normal load condition. Push it to the extreme.


Goal - We will see which components fail first. Making these components
more robust.

  Table 1

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

On Mon, Jul 13, 2015 at 3:14 PM, Yasassri Ratnayake 
wrote:

> Hi Sajith & Lakshani,
>
> Yes 4 GB will be sufficient for both OS and APP-M instance.
>
> The type of Jmeter script depends on what type of performance/load test
> you are trying to perform. E.g : Long running test, Stress test etc. If you
> are trying to measure the throughput you can gradually increase the number
> of threads by looking at the CPU load average.
>
> Regards,
>
> On Mon, Jul 13, 2015 at 3:02 PM, Sajith Abeywardhana 
> wrote:
>
>> Hi Yasassri,
>>
>> Yes, for both OS and AppM we do have 2GB.
>> Anyway I'll ask infar to increase those instance's RAM up to 4GB. Do you
>> guys have any other feedbacks on like number of threads(users)? or any
>> other feedback regarding jmeter script?
>>
>> *Sajith Abeywardhana* | Software Engineer
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka.
>> Mobile: +94772260485
>> Email: saji...@wso2.com  | Web: www.wso2.com
>>
>> On Mon, Jul 13, 2015 at 2:51 PM, Lakshani Gamage 
>> wrote:
>>
>>> Hi Yasassri,
>>>
>>> Once I done a long test running for API Manager with 4GB size VMs. IMO,
>>> 4GB enough for both OS and the APP-M instance. Any objection?
>>>
>>> Regards,
>>> Lakshani.
>>>
>>> On Mon, Jul 13, 2015 at 2:44 PM, Yasassri Ratnayake 
>>> wrote:
>>>
>>>> Hi Sajith,
>>>>
>>>> On Mon, Jul 13, 2015 at 2:36 PM, Sajith Abeywardhana 
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> We are planning to start the $subject. So we configured a AppM cluster
>>>>> with publisher, 2 store, 2 gateway and IDP. Each gateway instance(hosted 
>>>>> as
>>>>> open stack instance) dose have 2GB RAM and ubuntu 14.04 installed. We are
>>>>> planning to load 4 sample web applications simultanI  Belieeously.
>>>>> Please kind enough to provide feedbacks on this.
>>>>>
>>>>>
>>>> 2GB for both OS and the APP-M instance? If that's the case I believe
>>>> its not sufficient to run a load test. Generally we increase the allocated
>>>> heap for the JVM when running load tests.
>>>>
>>>>
>>>> Regards,
>>>> --
>>>> Yasassri Ratnayake
>>>> Software Engineer - QA
>>>> WSO2 Inc ; http://wso2.com
>>>> lean.enterprise.middleware
>>>> *Mobile : +94715933168 <%2B94715933168>*
>>>> *Blogs : http://yasassriratnayake.blogspot.com
>>>> <http://yasassriratnayake.blogspot.com/>*
>>>> *http://wso2logs.blogspot.com
>>>> <http://wso2logs.blogspot.com>*
>>>>
>>>
>>>
>>>
>>> --
>>> Lakshani Gamage
>>>
>>> *Software Engineer*
>>> Mobile : +94 (0) 71 5478184 <%2B94%20%280%29%20773%20451194>
>>>
>>
>>
>
>
> --
> Yasassri Ratnayake
> Software Engineer - QA
> WSO2 Inc ; http://wso2.com
> lean.enterprise.middleware
> *Mobile : +94715933168 <%2B94715933168>*
> *Blogs : http://yasassriratnayake.blogspot.com
> <http://yasassriratnayake.blogspot.com/>*
> *http://wso2logs.blogspot.com <http://wso2logs.blogspot.com>*
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Make sure that the given file is completely downloaded to the client

2015-07-14 Thread Sajith Abeywardhana
Hi,

When we are implementing a one time download link (for a file downloading),
we have to make sure that the given file is completely downloaded to the
client before garbage the given link. Can you guys please suggest a way to
make sure that the given file is completely downloaded to the client? I
need to do this in server side.

Sending progress back to the server is not possible in this case.

Check sent packets and tries to predict download completion is a one way.
Any other suggestions?

*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com  | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [AppM] AppM load test on gateway using jmeter

2015-07-13 Thread Sajith Abeywardhana
Hi,

We are planning to start the $subject. So we configured a AppM cluster with
publisher, 2 store, 2 gateway and IDP. Each gateway instance(hosted as open
stack instance) dose have 2GB RAM and ubuntu 14.04 installed. We are
planning to load 4 sample web applications simultaneously. Please kind
enough to provide feedbacks on this.

*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com  | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [AppM]Please review and merge PR for APPM-1020

2015-07-12 Thread Sajith Abeywardhana
Hi Team,

Please merge https://github.com/wso2/product-app-manager/pull/245 for
https://wso2.org/jira/browse/APPM-1020

*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com  | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [AppM]Please review and merge PR for APPM-1016

2015-07-08 Thread Sajith Abeywardhana
Hi Team,

Please merge https://github.com/wso2/carbon-appmgt/pull/88 for
https://wso2.org/jira/browse/APPM-1016

*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com  | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [AppM]Please review and merge PR for APPM-1015

2015-07-08 Thread Sajith Abeywardhana
Hi Team,

Please merge https://github.com/wso2/carbon-appmgt/pull/87 for
https://wso2.org/jira/browse/APPM-1015

*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com  | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [AppM]Please review and merge PR for APPM-1014

2015-07-07 Thread Sajith Abeywardhana
Hi Team,

Please merge https://github.com/wso2/carbon-appmgt/pull/86 for
https://wso2.org/jira/browse/APPM-1014

*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com  | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [APPM]Please review and merge PR for APPM-482

2015-06-26 Thread Sajith Abeywardhana
Hi Team,

Please review and merge PR[1] for APPM-482[2]

[1]. https://github.com/wso2/carbon-appmgt/pull/85
[2]. https://wso2.org/jira/browse/APPM-482

*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com  | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [APPM]Please review and merge PR for APPM-507

2015-06-25 Thread Sajith Abeywardhana
Hi Team,

Please review and merge PR[1] for APPM-507[2]
[1]. https://github.com/wso2/carbon-appmgt/pull/84
[2]. https://wso2.org/jira/browse/APPM-507

*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com  | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please review and merge PR for APPM-907

2015-06-23 Thread Sajith Abeywardhana
Hi Dinusha,

Please review and merge PR[1] for APPM-907

[1]. https://github.com/wso2/carbon-appmgt/pull/81
[2]. https://wso2.org/jira/browse/APPM-907

*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com  | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Read carbon.xml property value

2015-06-22 Thread Sajith Abeywardhana
Thank you Harsha. Found it. :)

CarbonUtils.getServerConfiguration().getFirstProperty("EnableEmailUserName");

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

On Mon, Jun 22, 2015 at 6:29 PM, Harsha Kumara  wrote:

> Hi Sajith,
>
> You can do as follow [1]
>
> [1] -
> https://github.com/wso2/carbon4-kernel/blob/3411679819caa7a3f388482ea914880f14c00da5/core/org.wso2.carbon.utils/src/main/java/org/wso2/carbon/utils/multitenancy/MultitenantUtils.java#L198
>
> Thanks,
> Harsha
>
> On Mon, Jun 22, 2015 at 6:16 PM, Sajith Abeywardhana 
> wrote:
>
>> Hi All,
>>
>> How can I get  property value in carbon.xml file?
>>
>> *Sajith Abeywardhana* | Software Engineer
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka.
>> Mobile: +94772260485
>> Email: saji...@wso2.com  | Web: www.wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Harsha Kumara
> Software Engineer, WSO2 Inc.
> Mobile: +94775505618
> Blog:harshcreationz.blogspot.com
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Read carbon.xml property value

2015-06-22 Thread Sajith Abeywardhana
Hi All,

How can I get  property value in carbon.xml file?

*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com  | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AppM] App manager cluster setup puppet modules.

2015-06-19 Thread Sajith Abeywardhana
Hi All,

Please find the documentation in here[1].

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

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

On Mon, Jun 15, 2015 at 7:18 PM, Sajith Abeywardhana 
wrote:

> HI Lakshani,
>
> Please find the $subject git repo [1]. I'll write the document for this.
> Until that you can setup the deployment environment as below. Please refer
> architecture mail "*[Architecture][APPM]Puppet for APPM cluster*" as well.
>
>
>1. Install mysql server and create the databases for CARBON_DB, AM_DB,
>UM_DB, REG_DB. [2]
>2. Create svn for deployment synchronizer. [3]
>3. Install puppet master and agents. [4]
>4. Install the nginx as a load balancer.[5]
>
>
> [1]. https://github.com/sajithab/appm_cluster_puppet
> [2]. https://docs.wso2.com/display/APPM100/Setting+up+MySQL
> [3].
> https://docs.wso2.com/display/CLUSTER420/Configuring+Deployment+Synchronizer
> [4].
> http://sajithswa.blogspot.com/2015/02/puppet-master-and-agent-architecture.html
> [5]. https://docs.wso2.com/display/CLUSTER420/Configuring+Nginx
>
>
> *Sajith Abeywardhana* | Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka.
> Mobile: +94772260485
> Email: saji...@wso2.com  | Web: www.wso2.com
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Sam Sivayogam

2015-06-17 Thread Sajith Abeywardhana
Congratulations sam !!!

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

On Thu, Jun 18, 2015 at 10:29 AM, Aiyadurai Rajeevan 
wrote:

> Congratulations SAM *Anderson* ;)
>
> Thanks & Regards,
> S.A.Rajeevan
> Software Engineer WSO2 Inc
> E-Mail: rajeev...@wso2.com | Mobile : +94776411636
>
> On Mon, Jun 15, 2015 at 12:26 PM, Shiva Balachandran 
> wrote:
>
>> Congrats Sam! :)
>>
>> On Mon, Jun 15, 2015 at 10:44 AM, Dilan Udara Ariyaratne > > wrote:
>>
>>> Congratulations, Sam !!!
>>>
>>>
>>>
>>> *Dilan U. Ariyaratne*
>>> Software Engineer
>>> WSO2 Inc. <http://wso2.com/>
>>> Mobile: +94775149066
>>> lean . enterprise . middleware
>>>
>>> On Mon, Jun 15, 2015 at 10:22 AM, Harsha Kumara 
>>> wrote:
>>>
>>>> Congratulations Sam!
>>>>
>>>> On Mon, Jun 15, 2015 at 9:38 AM, Chamalee De Silva 
>>>> wrote:
>>>>
>>>>> Congrats Sam!
>>>>>
>>>>> On Mon, Jun 15, 2015 at 9:26 AM, Elilmatha Sivanesan <
>>>>> elilma...@wso2.com> wrote:
>>>>>
>>>>>> Congratulations Sam...
>>>>>>
>>>>>> On Mon, Jun 15, 2015 at 9:19 AM, Kesavan Yogarajah >>>>> > wrote:
>>>>>>
>>>>>>> Congratulations Sam !
>>>>>>>
>>>>>>> Kesavan Yogarajah
>>>>>>> Associate Software Engineer
>>>>>>> Mobile :+94 (0) 779 758021
>>>>>>> kesav...@wso2.com
>>>>>>> WSO2, Inc.
>>>>>>> lean . enterprise . middleware
>>>>>>>
>>>>>>> On Mon, Jun 15, 2015 at 9:14 AM, Senduran Balasubramaniyam <
>>>>>>> sendu...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Congratulations Sam !!!
>>>>>>>>
>>>>>>>> On Sun, Jun 14, 2015 at 10:34 PM, Thilini Cooray >>>>>>> > wrote:
>>>>>>>>
>>>>>>>>> Congratulations, Sam !
>>>>>>>>>
>>>>>>>>> On Mon, Jun 15, 2015 at 8:58 AM, Rajeevan Vimalanathan <
>>>>>>>>> rajeev...@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> Congrats Sam...!!!
>>>>>>>>>>
>>>>>>>>>> On Mon, Jun 15, 2015 at 8:44 AM, Vinuri Perera 
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> Congrats Sam !
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jun 15, 2015 at 8:37 AM, Saneth Dharmakeerthi <
>>>>>>>>>>> sane...@wso2.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Congratulations Sam...
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks and Best Regards,
>>>>>>>>>>>>
>>>>>>>>>>>> Saneth Dharmakeerthi
>>>>>>>>>>>> Senior Software Engineer
>>>>>>>>>>>> WSO2, Inc.
>>>>>>>>>>>> Mobile: +94772325511
>>>>>>>>>>>>
>>>>>>>>>>>> On Mon, Jun 15, 2015 at 8:31 AM, Nuwan Dias 
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>
>>>>>>>>>>>>> It is with great pleasure we welcome Sam Sivayogam as a WSO2
>>>>>>>>>>>>> Committer. @Sam, congratulations and keep up the good work!
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>> NuwanD.
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Nuwan Dias
>>>>>>>>>>>>>
>>>>>>>>>>>>> Technical Lead - WSO2, Inc. http://wso2.co

[Dev] [AppM] App manager cluster setup puppet modules.

2015-06-15 Thread Sajith Abeywardhana
HI Lakshani,

Please find the $subject git repo [1]. I'll write the document for this.
Until that you can setup the deployment environment as below. Please refer
architecture mail "*[Architecture][APPM]Puppet for APPM cluster*" as well.


   1. Install mysql server and create the databases for CARBON_DB, AM_DB,
   UM_DB, REG_DB. [2]
   2. Create svn for deployment synchronizer. [3]
   3. Install puppet master and agents. [4]
   4. Install the nginx as a load balancer.[5]


[1]. https://github.com/sajithab/appm_cluster_puppet
[2]. https://docs.wso2.com/display/APPM100/Setting+up+MySQL
[3].
https://docs.wso2.com/display/CLUSTER420/Configuring+Deployment+Synchronizer
[4].
http://sajithswa.blogspot.com/2015/02/puppet-master-and-agent-architecture.html
[5]. https://docs.wso2.com/display/CLUSTER420/Configuring+Nginx


*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com  | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Puppet setup script showing Error: Could not request certificate

2015-06-11 Thread Sajith Abeywardhana
Hi Rajeewan,

Did you inspect tcp dump? It seems like SSL handshake fail when requesting
a certificate.

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

On Thu, Jun 11, 2015 at 3:35 PM, Aiyadurai Rajeevan 
wrote:

> Hi All,
>
> I have been working on integrating Appfactory developer setup puppet
> script for Mac, When I run the the setup script i got below exception. Your
> expertise would be much appreciated to resolve this issue.
>
> ###
> ### Starting AppFactory Developer Setup ###
> ###
>
> Removing previous agent certificates...
>
> Setting username and password for puppet agent...
> Enter username (default username is "afpuppet" and press enter to continue
> with the default):
> Enter password (default password is "afpuppet" and press enter to continue
> with the default):
> Installing mkpasswd...
> sudo: apt-get: command not found
> # Starting mysql setup 
> /Library/Ruby/Site/puppet/defaults.rb:214: warning: Insecure world
> writable dir /usr/local/bin in PATH, mode 040777
> tee: setup-logs/puppet2015-06-11.15:26:32.log: No such file or directory
> /Library/Ruby/Site/puppet/defaults.rb:214: warning: Insecure world
> writable dir /usr/local/bin in PATH, mode 040777
> Warning: Setting templatedir is deprecated. See
> http://links.puppetlabs.com/env-settings-deprecations
>(at /Library/Ruby/Site/puppet/settings.rb:1139:in
> `issue_deprecation_warning')
> Info: Creating a new SSL key for 7j4755-mysql
> Info: Caching certificate for ca
> Info: csr_attributes file loading from /etc/puppet/csr_attributes.yaml
> Info: Creating a new SSL certificate request for 7j4755-mysql
> Info: Certificate Request fingerprint (SHA256):
> A5:91:3E:BB:B1:39:4C:29:EE:99:39:E4:3D:83:57:1E:48:0D:C6:45:20:58:16:95:88:5E:70:D1:37:E3:30:B4
> Info: Caching certificate for 7j4755-mysql
> Error: Could not request certificate: SSL_connect returned=1 errno=0
> state=SSLv3 read server certificate B: certificate verify failed: [self
> signed certificate in certificate chain for /CN=Puppet CA generated on
> puppet.appfactory.private.wso2.com]
>
> Thanks & Regards,
> S.A.Rajeevan
> Software Engineer WSO2 Inc
> E-Mail: rajeev...@wso2.com | Mobile : +94776411636
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to write proxy to get data from salesforce and write to database

2015-06-11 Thread Sajith Abeywardhana
Hi,

this article will help you.
http://wso2.com/library/articles/2013/12/esb-connectors-in-action-enterprise-integration/

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

On Thu, Jun 11, 2015 at 5:16 PM, Kesavan Yogarajah 
wrote:

> Hi Aaquibah,
>
> Please have a look in the following article[1].
>
> [1] -
> http://wso2.com/library/articles/2014/02/cloud-to-rdbms-using-wso2-esb/
>
> Thanks
> <http://wso2.com/library/articles/2014/02/cloud-to-rdbms-using-wso2-esb/>
>
> Kesavan Yogarajah
> Associate Software Engineer
> Mobile :+94 (0) 779 758021
> kesav...@wso2.com
> WSO2, Inc.
> lean . enterprise . middleware
>
> On Thu, Jun 11, 2015 at 5:13 PM, Aaquibah Nashry  wrote:
>
>> Hi,
>> I'm trying to get data from salesforce and save it to a mysql database. i
>> have to use a proxy. I'm new to these concepts.
>> Is there anyone who can help me? Any blogs articles, etc...?
>>
>> Thanks,
>> M.R.Aaquibah Nashry
>> *Intern, Engineering*
>> Mobile : +94 773946123
>> Tel  : +94 112662541
>> nas...@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
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] SSLException in cluster

2015-06-09 Thread Sajith Abeywardhana
Thanks guys,

I exported key using browser and placed it on product security folder using
below command. It solved issue.

*sudo keytool -importcert -file /mnt/setup/seckey -keystore
/mnt/192.168.57.134/wso2appm-1.0.0/repository/resources/security/client-truststore.jks
<http://192.168.57.134/wso2appm-1.0.0/repository/resources/security/client-truststore.jks>
-alias "nginxkey"*

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

On Wed, Jun 10, 2015 at 10:51 AM, Milinda Perera  wrote:

> This blog post may be useful :
> http://evanthika.blogspot.com/2014/01/how-to-solve-pkix-path-building-failed.html
>
> Thanks,
> Milinda
>
> On Wed, Jun 10, 2015 at 10:47 AM, Firzhan Naqash  wrote:
>
>> Import the nginx certs to publisher's client-trustore
>>
>> Regards,
>> Firzhan
>>
>> On Wed, Jun 10, 2015 at 12:13 AM, Yasassri Ratnayake 
>> wrote:
>>
>>> Did you add the keys to the client-truststore of AM nodes?
>>>
>>> On Wed, Jun 10, 2015 at 10:35 AM, Ruwan Abeykoon 
>>> wrote:
>>>
>>>> Hi Sajith,
>>>> It could be due to public key of the "elb-km.appm.wso2.com:9443"
>>>> (nginx) not being available in the publisher side key-store.
>>>>
>>>> Cheers,
>>>> Ruwan
>>>>
>>>> On Wed, Jun 10, 2015 at 10:06 AM, Sajith Abeywardhana >>> > wrote:
>>>>
>>>>> Im getting this SSLException in publisher node while accessing IDP
>>>>> node through nginx. Authentication request initiated by publisher node. 
>>>>> Any
>>>>> idea??
>>>>>
>>>>> publisher -> nginx -> IDP
>>>>>
>>>>> TID: [0] [AM] [2015-06-09 16:02:18,320]  INFO
>>>>> {org.apache.axis2.transport.http.HTTPSender} -  Unable to sendViaPost to
>>>>> url[https://elb-km.appm.wso2.com:9443/services/AuthenticationAdmin]
>>>>> {org.apache.axis2.transport.http.HTTPSender}
>>>>> org.apache.axis2.AxisFault: javax.net.ssl.SSLException: Connection has
>>>>> been shutdown: 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
>>>>> at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
>>>>> at
>>>>> org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.java:78)
>>>>> at
>>>>> org.apache.axis2.transport.http.AxisRequestEntity.writeRequest(AxisRequestEntity.java:84)
>>>>> at
>>>>> org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499)
>>>>> at
>>>>> org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114)
>>>>> at
>>>>> org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
>>>>> at
>>>>> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
>>>>> at
>>>>> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
>>>>> at
>>>>> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
>>>>> at
>>>>> org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:646)
>>>>> at
>>>>> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:195)
>>>>> at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
>>>>> at
>>>>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451)
>>>>> at
>>>>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278)
>>>>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
>>>>> at
>>>>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
>>>>> at
>>>>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
>>>>> at
>>>>> org.apache.axis2.client.OperationClient.execu

[Dev] SSLException in cluster

2015-06-09 Thread Sajith Abeywardhana
g.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1736)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1695)
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)
*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com  | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Vishanth Balasubramaniam

2015-05-17 Thread Sajith Abeywardhana
Congratulations!!!

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

On Mon, May 18, 2015 at 9:31 AM, Kasun Bandara  wrote:

> Congratulations Vishanth!!
>
> On Mon, May 18, 2015 at 9:15 AM, Vijitha Ekanayake 
> wrote:
>
>> Congratulations Vishanth ...!!!
>>
>> On Mon, May 18, 2015 at 9:10 AM, Jerad Rutnam  wrote:
>>
>>> Congratulations Vishanth! :)
>>>
>>> On Mon, May 18, 2015 at 8:38 AM, Thilini Cooray 
>>> wrote:
>>>
>>>> Congatulations, Vishanth !
>>>>
>>>> On Sun, May 17, 2015 at 10:55 PM, Malith Munasinghe 
>>>> wrote:
>>>>
>>>>> Congratulations Vishanth!
>>>>>
>>>>> On Sat, May 16, 2015 at 5:43 PM, Chamalee De Silva 
>>>>> wrote:
>>>>>
>>>>>> Congrats Vishanth..!! :)
>>>>>>
>>>>>> On Sat, May 16, 2015 at 8:07 AM, Viraj Senevirathne 
>>>>>> wrote:
>>>>>>
>>>>>>> Congratulations  Vishanth ...!
>>>>>>>
>>>>>>> On Sat, May 16, 2015 at 5:31 AM, Dakshika Jayathilaka <
>>>>>>> daksh...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Congratualtions Vishanth...!!
>>>>>>>>
>>>>>>>> *Dakshika Jayathilaka*
>>>>>>>> PMC Member & Committer of Apache Stratos
>>>>>>>> Senior Software Engineer
>>>>>>>> WSO2, Inc.
>>>>>>>> lean.enterprise.middleware
>>>>>>>> 0771100911
>>>>>>>>
>>>>>>>> On Sat, May 16, 2015 at 12:13 AM, Prasanna Dangalla <
>>>>>>>> prasa...@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Congratulations
>>>>>>>>>
>>>>>>>>> On Fri, May 15, 2015 at 11:12 PM, Damith Wickramasinghe <
>>>>>>>>> dami...@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> Congrats Vishanth !!!
>>>>>>>>>>
>>>>>>>>>> On Fri, May 15, 2015 at 10:58 PM, Harsha Kumara >>>>>>>>> > wrote:
>>>>>>>>>>
>>>>>>>>>>> Congratulation Vishanth!
>>>>>>>>>>>
>>>>>>>>>>> On Fri, May 15, 2015 at 10:37 PM, Thusitha Thilina Dayaratne <
>>>>>>>>>>> thusit...@wso2.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Congratulations...!
>>>>>>>>>>>>
>>>>>>>>>>>> On Fri, May 15, 2015 at 7:10 PM, Madhuranga Bandara <
>>>>>>>>>>>> madhura...@wso2.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Congratulations Vishanth !!!
>>>>>>>>>>>>> Madhuranga Sampath Bandara
>>>>>>>>>>>>> Software Engineer
>>>>>>>>>>>>>
>>>>>>>>>>>>> WSO2, Inc.;http://wso2.com/
>>>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>>> Mobile: +94722241065
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Fri, May 15, 2015 at 6:58 PM, Imesh Gunaratne <
>>>>>>>>>>>>> im...@wso2.com> wrote:
>>>>>>>>>>>>> > Hi Devs,
>>>>>>>>>>>>> >
>>>>>>>>>>>>> > It's my pleasure to welcome Vishanth Balasubramaniam as a
>>>>>>>>>>>>> WSO2 Committer.
>>>>>>>>>>>>> > Vishanth, welcome aboard and keep up the good work!
>>>>>>>>>>>>> >
>>>>>>>>>>>>> > Thanks
>>>>>>>>>>>>> >
>>>>>>>>>>>>> > --
>>>>>>>>>>>>> > Imesh Gunaratne
>>>>>>&g

Re: [Dev] WSO2 Committers += Mahesh Chinthaka

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

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

On Tue, Apr 28, 2015 at 4:22 PM, Malithi Edirisinghe 
wrote:

> Congrats ... :)
>
> On Tue, Apr 28, 2015 at 1:59 PM, Dinithi De Silva 
> wrote:
>
>> Congratulations Mahesh.!!!
>>
>> On Tue, Apr 28, 2015 at 1:19 PM, Sajith Abeywardhana 
>> wrote:
>>
>>> Congratulations !!!
>>>
>>> *Sajith Abeywardhana* | Software Engineer
>>> WSO2, Inc | lean. enterprise. middleware.
>>> #20, Palm Grove, Colombo 03, Sri Lanka.
>>> Mobile: +94772260485
>>> Email: saji...@wso2.com  | Web: www.wso2.com
>>>
>>> On Tue, Apr 28, 2015 at 12:49 PM, Damith Wickramasinghe <
>>> dami...@wso2.com> wrote:
>>>
>>>> Congrats Mahesh... 
>>>>
>>>> On Tue, Apr 28, 2015 at 12:34 PM, Milan Perera  wrote:
>>>>
>>>>> Congratz Mahesh..!!!
>>>>>
>>>>> On Tue, Apr 28, 2015 at 11:43 AM, Prasanna Dangalla >>>> > wrote:
>>>>>
>>>>>> Congratulations Mahesh..
>>>>>>
>>>>>> On Tue, Apr 28, 2015 at 11:42 AM, Chathura Priyankara <
>>>>>> chathu...@wso2.com> wrote:
>>>>>>
>>>>>>> Congratulations Mahesh !!!
>>>>>>>
>>>>>>> On Tue, Apr 28, 2015 at 11:17 AM, Thusitha Thilina Dayaratne <
>>>>>>> thusit...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Congratulations..!!
>>>>>>>>
>>>>>>>> On Tue, Apr 28, 2015 at 11:15 AM, Chamalee De Silva <
>>>>>>>> chama...@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Congratulations Mahesh !
>>>>>>>>>
>>>>>>>>> On Tue, Apr 28, 2015 at 11:13 AM, Dilan Udara Ariyaratne <
>>>>>>>>> dil...@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> Congratz, Mahesh!!!
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> *Dilan U. Ariyaratne*
>>>>>>>>>> Software Engineer
>>>>>>>>>> WSO2 Inc. <http://wso2.com/>
>>>>>>>>>> Mobile: +94775149066
>>>>>>>>>> lean . enterprise . middleware
>>>>>>>>>>
>>>>>>>>>> On Tue, Apr 28, 2015 at 10:40 AM, Samith Dassanayake <
>>>>>>>>>> sam...@wso2.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Congratz Mahesh!
>>>>>>>>>>>
>>>>>>>>>>> On Tue, Apr 28, 2015 at 10:28 AM, Kalpa Welivitigoda <
>>>>>>>>>>> kal...@wso2.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Congratulations Mahesh !
>>>>>>>>>>>>
>>>>>>>>>>>> On Tue, Apr 28, 2015 at 10:28 AM, Tharik Kanaka <
>>>>>>>>>>>> tha...@wso2.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Congratulations Mahesh.
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Tue, Apr 28, 2015 at 9:27 AM, Dimuthu Leelarathne <
>>>>>>>>>>>>> dimut...@wso2.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> It is with great pleasure that WSO2 welcomes Mahesh Chinthaka
>>>>>>>>>>>>>> as WSO2 committer!
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thank you for your hard work. Congratulation!
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> thanks,
>>>>>>>>>>>>>> dimuthu
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Dimuthu Leelarat

[Dev] Please review and merge PR for APPM-778

2015-04-28 Thread Sajith Abeywardhana
Hi Dinusha,

Please merge https://github.com/wso2/product-app-manager/pull/214 for
https://wso2.org/jira/browse/APPM-778

*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com  | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Mahesh Chinthaka

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

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

On Tue, Apr 28, 2015 at 12:49 PM, Damith Wickramasinghe 
wrote:

> Congrats Mahesh... 
>
> On Tue, Apr 28, 2015 at 12:34 PM, Milan Perera  wrote:
>
>> Congratz Mahesh..!!!
>>
>> On Tue, Apr 28, 2015 at 11:43 AM, Prasanna Dangalla 
>> wrote:
>>
>>> Congratulations Mahesh..
>>>
>>> On Tue, Apr 28, 2015 at 11:42 AM, Chathura Priyankara <
>>> chathu...@wso2.com> wrote:
>>>
>>>> Congratulations Mahesh !!!
>>>>
>>>> On Tue, Apr 28, 2015 at 11:17 AM, Thusitha Thilina Dayaratne <
>>>> thusit...@wso2.com> wrote:
>>>>
>>>>> Congratulations..!!
>>>>>
>>>>> On Tue, Apr 28, 2015 at 11:15 AM, Chamalee De Silva >>>> > wrote:
>>>>>
>>>>>> Congratulations Mahesh !
>>>>>>
>>>>>> On Tue, Apr 28, 2015 at 11:13 AM, Dilan Udara Ariyaratne <
>>>>>> dil...@wso2.com> wrote:
>>>>>>
>>>>>>> Congratz, Mahesh!!!
>>>>>>>
>>>>>>>
>>>>>>> *Dilan U. Ariyaratne*
>>>>>>> Software Engineer
>>>>>>> WSO2 Inc. <http://wso2.com/>
>>>>>>> Mobile: +94775149066
>>>>>>> lean . enterprise . middleware
>>>>>>>
>>>>>>> On Tue, Apr 28, 2015 at 10:40 AM, Samith Dassanayake <
>>>>>>> sam...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Congratz Mahesh!
>>>>>>>>
>>>>>>>> On Tue, Apr 28, 2015 at 10:28 AM, Kalpa Welivitigoda <
>>>>>>>> kal...@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Congratulations Mahesh !
>>>>>>>>>
>>>>>>>>> On Tue, Apr 28, 2015 at 10:28 AM, Tharik Kanaka 
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Congratulations Mahesh.
>>>>>>>>>>
>>>>>>>>>> On Tue, Apr 28, 2015 at 9:27 AM, Dimuthu Leelarathne <
>>>>>>>>>> dimut...@wso2.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi all,
>>>>>>>>>>>
>>>>>>>>>>> It is with great pleasure that WSO2 welcomes Mahesh Chinthaka as
>>>>>>>>>>> WSO2 committer!
>>>>>>>>>>>
>>>>>>>>>>> Thank you for your hard work. Congratulation!
>>>>>>>>>>>
>>>>>>>>>>> thanks,
>>>>>>>>>>> dimuthu
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Dimuthu Leelarathne
>>>>>>>>>>> Architect & Product Lead of App Factory
>>>>>>>>>>>
>>>>>>>>>>> WSO2, Inc. (http://wso2.com)
>>>>>>>>>>> email: dimut...@wso2.com
>>>>>>>>>>> Mobile : 0773661935
>>>>>>>>>>>
>>>>>>>>>>> Lean . Enterprise . Middleware
>>>>>>>>>>>
>>>>>>>>>>> ___
>>>>>>>>>>> Dev mailing list
>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>>
>>>>>>>>>> *Tharik Kanaka* | Associate Software Engineer
>>>>>>>>>>
>>>>>>>>>> WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka
>>>>>>>>>>
>>>>>>>>>> Email: tha...@wso2.com | Web: www.wso2.com
>>>>>>>>>>
>>>>>>>>>> __

Re: [Dev] WSO2 Committers += Vinuri Perera

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

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

On Tue, Apr 28, 2015 at 9:34 AM, Indunil Upeksha Rathnayake <
indu...@wso2.com> wrote:

> Congratulations Vinuri !!
>
> Best Regards
> --
> Indunil Upeksha Rathnayake
> Software Engineer | WSO2 Inc
> Emailindu...@wso2.com
> Mobile  +94713695179
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please review and merge PR for APPM-777

2015-04-27 Thread Sajith Abeywardhana
Hi Dinusha,

Please merge https://github.com/wso2/product-app-manager/pull/211 for
https://wso2.org/jira/browse/APPM-777

*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com  | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please review and merge PR for APPM-735

2015-04-24 Thread Sajith Abeywardhana
Hi Dinusha,

Please review and merge PR[1] for APPM-735[2]

[1]. https://github.com/wso2/carbon-appmgt/pull/37
[2]. https://wso2.org/jira/browse/APPM-735


*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com  | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please review and merge PR for APPM-791

2015-04-23 Thread Sajith Abeywardhana
Hi,

Please review and merge PR[1], PR[2] for APPM-791[3]

[1]. https://github.com/wso2/carbon-appmgt/pull/36
[2]. https://github.com/wso2/product-app-manager/pull/204
[3]. https://wso2.org/jira/browse/APPM-791


*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com  | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] App Manager Integration tests are broken

2015-04-22 Thread Sajith Abeywardhana
: org.openqa.selenium.remote.ErrorHandler$UnknownServerException:
Unable to locate element: {"method":"id","selector":"inp-username"}
Build info: version: '2.37.0', revision:
'a7c61cbd68657e133ae96672cf995890bad2ee42', time: '2013-10-18 09:51:02'
System info: host: 'SajithA-MacBook', ip: '10.100.7.19', os.name: 'Mac OS
X', os.arch: 'x86_64', os.version: '10.9.5', java.version: '1.6.0_65'
Driver info: driver.version: unknown
at .FirefoxDriver.prototype.findElementInternal_(file:///var/folders/l1/3w8xmrd5211b1d0yk42548kmgp/T/anonymous1351737437995765282webdriver-profile/extensions/
fxdri...@googlecode.com/components/driver_component.js:8891)
at .fxdriver.Timer.prototype.setTimeout/<.notify(file:///var/folders/l1/3w8xmrd5211b1d0yk42548kmgp/T/anonymous1351737437995765282webdriver-profile/extensions/
fxdri...@googlecode.com/components/driver_component.js:396)

[2015-04-22 12:53:38,332]  INFO
{org.wso2.carbon.automation.core.utils.serverutils.ServerUtils} -  Shutting
down server..

Results :

Failed tests:
testApplicationSubscribe(org.wso2.carbon.appmanager.integration.ui.TestCases.LifeCycleTestCase):
Application testApp is already subscribed expected [false] but found [true]

testApplicationDeletion(org.wso2.carbon.appmanager.integration.ui.TestCases.AppDeleteTestCase):
App deletion failed>

testSelfSignUp(org.wso2.carbon.appmanager.integration.ui.TestCases.SelfSignUpTestCase):
Timed out after 30 seconds waiting for visibility of element located by
By.id: inp-username(..)

Tests run: 19, Failures: 3, Errors: 0, Skipped: 0

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

On Tue, Apr 21, 2015 at 2:10 PM, Dinusha Senanayaka 
wrote:

> Hi Krishantha,
>
> Sajith is checking this.
>
> Regards,
> Dinusha.
>
> On Tue, Apr 21, 2015 at 1:23 PM, Krishantha Samaraweera <
> krishan...@wso2.com> wrote:
>
>> Hi App Manager team,
>>
>> Ui integration tests are broken heavily.
>>
>> When running the UI tests more than 15 firefox instances get created.
>> This directly affect to test performance.  Can you arrange a review with
>> Automation team after fixing failures.
>>
>> Also backend test module is excluded from build [1].  Aren't you guys add
>> test cases for new features ?
>>
>> Failed tests:
>> init(org.wso2.carbon.appmanager.integration.ui.TestCases.SAMLtoBackendTestCase):
>> Change state failed>
>>
>> destroy(org.wso2.carbon.appmanager.integration.ui.TestCases.SAMLtoBackendTestCase)
>>
>> init(org.wso2.carbon.appmanager.integration.ui.TestCases.JWTGenerationTestCase):
>> Change state failed>
>>
>> destroy(org.wso2.carbon.appmanager.integration.ui.TestCases.JWTGenerationTestCase)
>>
>> init(org.wso2.carbon.appmanager.integration.ui.TestCases.ResourceAuthXCMLTestCase):
>> Change state failed>
>>
>> destroy(org.wso2.carbon.appmanager.integration.ui.TestCases.ResourceAuthXCMLTestCase)
>>
>> init(org.wso2.carbon.appmanager.integration.ui.TestCases.ThrottlingTestCase):
>> Change state failed>
>>
>> destroy(org.wso2.carbon.appmanager.integration.ui.TestCases.ThrottlingTestCase)
>>   init(org.wso2.carbon.appmanager.integration.ui.TestCases.TagsTestCase):
>> Change state failed>
>>
>> init(org.wso2.carbon.appmanager.integration.ui.TestCases.ResourceAuthRolesTestCase):
>> Change state failed>
>>
>> destroy(org.wso2.carbon.appmanager.integration.ui.TestCases.ResourceAuthRolesTestCase)
>>
>> init(org.wso2.carbon.appmanager.integration.ui.TestCases.LifeCycleTestCase):
>> Change state failed>
>>
>> destroy(org.wso2.carbon.appmanager.integration.ui.TestCases.LifeCycleTestCase)
>>
>> testApplicationDeletion(org.wso2.carbon.appmanager.integration.ui.TestCases.AppDeleteTestCase):
>> App deletion failed>
>>
>> testSelfSignUp(org.wso2.carbon.appmanager.integration.ui.TestCases.SelfSignUpTestCase):
>> Timed out after 30 seconds waiting for visibility of element located by
>> By.id: inp-username(..)
>>
>> init(org.wso2.carbon.appmanager.integration.ui.TestCases.DocumentTestCase):
>> Change state failed>
>>
>> init(org.wso2.carbon.appmanager.integration.ui.TestCases.GoogleAnalyticsTestCase):
>> Change state failed>
>>
>> init(org.wso2.carbon.appmanager.integration.ui.TestCases.RatingTestCase):
>> Change state failed>
>>
>> *Tests run: 36, Failures: 18, Errors: 0, Skipped: 16*
>>
>> [1]
>> https://github.com/wso2/product-app-manager/blob/master/modules/integration/tests/pom.xml
>>
>> Thanks,
>> Krishantha.
>> --
>> Krishantha Samaraweera
>> Senior Technical Lead - Test Automation
>> Mobile: +94 77 7759918
>> WSO2, Inc.; http://wso2.com/
>> lean . enterprise . middlewear.
>>
>
>
>
> --
> Dinusha Dilrukshi
> Senior Software Engineer
> 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


Re: [Dev] WSO2 Committers += Lakshman Udayakantha

2015-04-16 Thread Sajith Abeywardhana
Congratulations ...!

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

On Sun, Apr 12, 2015 at 3:31 AM, Isura Karunaratne  wrote:

> Congratulations Lakshman...!
>
>
> On Saturday, April 11, 2015, Pumudu Ruhunage  wrote:
>
>> Congratulations Lakshman..!!
>>
>> On Fri, Apr 10, 2015 at 8:48 PM, Chamalee De Silva 
>> wrote:
>>
>>> Congrats Lakshman !!  :)
>>>
>>> On Fri, Apr 10, 2015 at 7:30 PM, Hemika Kodikara 
>>> wrote:
>>>
>>>> Congratulations Lakshman!
>>>>
>>>> Hemika Kodikara
>>>> Software Engineer
>>>> WSO2 Inc.
>>>> lean . enterprise . middleware
>>>> http://wso2.com
>>>>
>>>> Mobile : +9477762
>>>>
>>>> On Fri, Apr 10, 2015 at 6:44 PM, Dilan Udara Ariyaratne <
>>>> dil...@wso2.com> wrote:
>>>>
>>>>> Congratulations, Lakshman...
>>>>>
>>>>>
>>>>> *Dilan U. Ariyaratne*
>>>>> Software Engineer
>>>>> WSO2 Inc. <http://wso2.com/>
>>>>> Mobile: +94775149066
>>>>> lean . enterprise . middleware
>>>>>
>>>>> On Fri, Apr 10, 2015 at 4:57 PM, Kalpa Welivitigoda 
>>>>> wrote:
>>>>>
>>>>>> Congratulations Lakshman !
>>>>>>
>>>>>> On Fri, Apr 10, 2015 at 4:56 PM, Harsha Kumara 
>>>>>> wrote:
>>>>>>
>>>>>>> Congratulations Lakshman!
>>>>>>>
>>>>>>> On Fri, Apr 10, 2015 at 4:52 PM, Lasantha Fernando <
>>>>>>> lasan...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Congratz Lakshman!!...
>>>>>>>>
>>>>>>>> On 10 April 2015 at 16:21, Dinesh J Weerakkody 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Congratulations.. :)
>>>>>>>>>
>>>>>>>>> Thanks
>>>>>>>>>
>>>>>>>>> *Dinesh J. Weerakkody*
>>>>>>>>> Software Engineer
>>>>>>>>> WSO2 Inc.
>>>>>>>>> lean | enterprise | middleware
>>>>>>>>> M : +94 727 361788 | E : dine...@wso2.com | W : www.wso2.com
>>>>>>>>>
>>>>>>>>> On Fri, Apr 10, 2015 at 3:57 PM, Milan Perera 
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Congratz Lakshman..!!!
>>>>>>>>>>
>>>>>>>>>> On Fri, Apr 10, 2015 at 3:54 PM, Asok Perera 
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> Congratz Lakshman !!!
>>>>>>>>>>>
>>>>>>>>>>> *Asok Aravinda Perera*
>>>>>>>>>>> Software Engineer
>>>>>>>>>>> WSO2, Inc.;http://wso2.com/
>>>>>>>>>>> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com%2F&sa=D&sntz=1&usg=AFQjCNGJuLRux6KkJwXKVUCYOtEsNCmIAQ>
>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>
>>>>>>>>>>> Mobile: +94722241032
>>>>>>>>>>>
>>>>>>>>>>> On Fri, Apr 10, 2015 at 3:32 PM, Jerad Rutnam 
>>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Congratulations Lakshman! :)
>>>>>>>>>>>>
>>>>>>>>>>>> On Fri, Apr 10, 2015 at 3:26 PM, Sam Sivayogam 
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Congrats Lakshman :)
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Fri, Apr 10, 2015 at 3:15 PM, Chanuka Dissanayake <
>>>>>>>>>>>>> chan...@wso2.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Congratulations Lakshman!
>>>>>>>>>>&g

Re: [Dev] WSO2 Committers += Kasun Dhananjaya Delgolla

2015-04-16 Thread Sajith Abeywardhana
Congratulations ...!

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

On Tue, Apr 14, 2015 at 9:17 AM, Dulitha Wijewantha 
wrote:

> Congratz!
>
> On Sat, Apr 11, 2015 at 11:03 PM, Kasun Dananjaya Delgolla <
> kas...@wso2.com> wrote:
>
>> Thank a lot everyone! :)
>>
>> On Sat, Apr 11, 2015 at 1:26 PM, Jerad Rutnam  wrote:
>>
>>> Congratulations Kasun! :)
>>>
>>> On Sat, Apr 11, 2015 at 7:55 PM, Prasanna Dangalla 
>>> wrote:
>>>
>>>> Congratulations
>>>>
>>>> On Fri, Apr 10, 2015 at 9:45 PM, Harsha Kumara 
>>>> wrote:
>>>>
>>>>> Congratulations Kasun!
>>>>>
>>>>> On Fri, Apr 10, 2015 at 6:39 PM, Maheeka Jayasuriya 
>>>>> wrote:
>>>>>
>>>>>> Congrats Kasun !!
>>>>>>
>>>>>> Maheeka Jayasuriya
>>>>>> Software Engineer
>>>>>> Mobile : +9450661
>>>>>>
>>>>>> On Fri, Apr 10, 2015 at 6:05 PM, Dilan Udara Ariyaratne <
>>>>>> dil...@wso2.com> wrote:
>>>>>>
>>>>>>> Congratz, Kasun!!!
>>>>>>>
>>>>>>>
>>>>>>> *Dilan U. Ariyaratne*
>>>>>>> Software Engineer
>>>>>>> WSO2 Inc. <http://wso2.com/>
>>>>>>> Mobile: +94775149066
>>>>>>> lean . enterprise . middleware
>>>>>>>
>>>>>>> On Fri, Apr 10, 2015 at 5:30 PM, Prabath Abeysekera <
>>>>>>> praba...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi Everyone,
>>>>>>>>
>>>>>>>> It's my pleasure to welcome Kasun Dhananjaya Delgolla as a WSO2
>>>>>>>> Committer. Kasun has been a key element of EMM as well as MDM teams 
>>>>>>>> for the
>>>>>>>> last couple of years and contributed towards all development efforts 
>>>>>>>> with a
>>>>>>>> great deal of passion and commitment. In recognition of his 
>>>>>>>> contributions,
>>>>>>>> he's been voted in as a WSO2 Committer.
>>>>>>>>
>>>>>>>> Kasun, Welcome aboard and keep up the good 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
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> ___
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Harsha Kumara
>>>>> Software Engineer, WSO2 Inc.
>>>>> Mobile: +94775505618
>>>>> Blog:harshcreationz.blogspot.com
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Prasanna Dangalla
>>>> Software Engineer, WSO2, Inc.; http://wso2.com/
>>>> lean.enterprise.middleware
>>>>
>>>> cell: +94 777 55 80 30 | +94 718 11 27 51
>>>> twitter: @prasa77
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Jerad Rutnam*
>>> *Software Engineer*
>>>
>>> WSO2 Inc.
>>> lean | enterprise | middleware
>>> M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com
>>>
>>
>>
>>
>> --
>> Kasun Dananjaya Delgolla
>>
>> Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>> Tel:  +94 11 214 5345
>> Fax: +94 11 2145300
>> Mob: + 94 771 771 015
>> Blog: http://kddcodingparadise.blogspot.com
>> Linkedin: *http://lk.linkedin.com/in/kasundananjaya
>> <http://lk.linkedin.com/in/kasundananjaya>*
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Dulitha Wijewantha (Chan)
> Software Engineer - Mobile Development
> WSO2 Inc
> Lean.Enterprise.Middleware
>  * ~Email   duli...@wso2.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
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Prasanna Dangalla

2015-04-16 Thread Sajith Abeywardhana
Congratulations ...!

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

On Thu, Apr 16, 2015 at 2:05 PM, Shiva Balachandran  wrote:

> Congrats Bro!
>
>
> On Sun, Apr 12, 2015 at 3:32 AM, Isura Karunaratne  wrote:
>
>> Congratulations Prasanna...!
>>
>>
>> On Saturday, April 11, 2015, Hasintha Indrajee  wrote:
>>
>>> Congratulations Prasanna !!
>>>
>>> On Fri, Apr 10, 2015 at 11:19 PM, Rasika Perera 
>>> wrote:
>>>
>>>> Congrats Prasanna !!!
>>>>
>>>> On Fri, Apr 10, 2015 at 2:17 PM, Hasitha Amal De Silva <
>>>> hasit...@wso2.com> wrote:
>>>>
>>>>> Congrats Prasanna ! :)
>>>>>
>>>>> On Fri, Apr 10, 2015 at 2:16 PM, Prasanna Dangalla 
>>>>> wrote:
>>>>>
>>>>>> Thanks all  :D
>>>>>>
>>>>>> On Fri, Apr 10, 2015 at 9:13 AM, Chamalee De Silva >>>>> > wrote:
>>>>>>
>>>>>>> Congrats Prasanna !!
>>>>>>>
>>>>>>> On Thu, Apr 9, 2015 at 8:54 PM, Denuwanthi De Silva <
>>>>>>> denuwan...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Congratulations Prasanna !!
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, Apr 9, 2015 at 5:13 PM, Shazni Nazeer 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Congratz Prasanna!!!
>>>>>>>>>
>>>>>>>>> Shazni Nazeer
>>>>>>>>>
>>>>>>>>> Senior Software Engineer
>>>>>>>>>
>>>>>>>>> Mob : +94 37331
>>>>>>>>> LinkedIn : http://lk.linkedin.com/in/shazninazeer
>>>>>>>>> Blog : http://shazninazeer.blogspot.com
>>>>>>>>>
>>>>>>>>> On Thu, Apr 9, 2015 at 2:56 PM, Asok Perera 
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Congratz Prasanna !
>>>>>>>>>>
>>>>>>>>>> *Asok Aravinda Perera*
>>>>>>>>>> Software Engineer
>>>>>>>>>> WSO2, Inc.;http://wso2.com/
>>>>>>>>>> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com%2F&sa=D&sntz=1&usg=AFQjCNGJuLRux6KkJwXKVUCYOtEsNCmIAQ>
>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>
>>>>>>>>>> Mobile: +94722241032
>>>>>>>>>>
>>>>>>>>>> On Thu, Apr 9, 2015 at 2:40 PM, Chamin Dias 
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> Congratulations Prasanna...!!
>>>>>>>>>>>
>>>>>>>>>>> On Thu, Apr 9, 2015 at 2:29 PM, Jayanga Dissanayake <
>>>>>>>>>>> jaya...@wso2.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Congratulations... Prasanna...
>>>>>>>>>>>>
>>>>>>>>>>>> *Jayanga Dissanayake*
>>>>>>>>>>>> Senior Software Engineer
>>>>>>>>>>>> WSO2 Inc. - http://wso2.com/
>>>>>>>>>>>> lean . enterprise . middleware
>>>>>>>>>>>> email: jaya...@wso2.com
>>>>>>>>>>>> mobile: +94772207259
>>>>>>>>>>>>
>>>>>>>>>>>> On Thu, Apr 9, 2015 at 2:22 PM, Waruna Jayaweera <
>>>>>>>>>>>> waru...@wso2.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Congratzz ...:D
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Thu, Apr 9, 2015 at 2:15 PM, Sam Sivayogam 
>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Congrats !!! :)
>>>>>>>>>>&

Re: [Dev] WSO2 Committers += Dilan Ariyaratne

2015-04-16 Thread Sajith Abeywardhana
Congratulations ...!

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

On Thu, Apr 16, 2015 at 3:35 PM, Inshaf Mahath  wrote:

> Congrats Dilan..!!!
>
> On Thu, Apr 16, 2015 at 3:22 PM, Damith Wickramasinghe 
> wrote:
>
>> Congrats Dilan 
>>
>> On Thu, Apr 16, 2015 at 3:18 PM, Darshana Gunawardana 
>> wrote:
>>
>>> Congratulations Dilan..!!
>>>
>>> On Thu, Apr 16, 2015 at 2:21 PM, Inosh Perera  wrote:
>>>
>>>> Congrats Dilan!!
>>>>
>>>> On Thu, Apr 16, 2015 at 2:06 PM, Sandamal Weerasinghe <
>>>> sanda...@wso2.com> wrote:
>>>>
>>>>> Congratulations Dilan!
>>>>>
>>>>> Sandamal Weerasinghe | Software Engineer | WSO2 Lanka (Pvt) Ltd
>>>>>
>>>>> Mobile - +94-77-144-9640
>>>>>
>>>>> On Thu, Apr 16, 2015 at 2:05 PM, Shiva Balachandran 
>>>>> wrote:
>>>>>
>>>>>> Congrats Dilan :)
>>>>>>
>>>>>> On Fri, Apr 10, 2015 at 3:44 PM, Prabath Abeysekera <
>>>>>> praba...@wso2.com> wrote:
>>>>>>
>>>>>>> Hi Everyone,
>>>>>>>
>>>>>>> It's my pleasure to welcome Dilan Ariyaratne as a WSO2 Committer.
>>>>>>> Dilan has been part of some key development efforts of MDM as well as 
>>>>>>> EMM
>>>>>>> over the last couple of months. In recognition of all his contributions,
>>>>>>> he's been voted as a WSO2 comitter.
>>>>>>>
>>>>>>> Dilan, Welcome aboard and keep up the good 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
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> 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
>>>>>>
>>>>>>
>>>>>
>>>>> ___
>>>>> 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
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>>
>>>
>>> *Darshana Gunawardana*Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>>
>>> *E-mail: darsh...@wso2.com *
>>> *Mobile: +94718566859 <%2B94718566859>*Lean . Enterprise . Middleware
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Software Engineer
>> WSO2 Inc.; http://wso2.com
>> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
>> lean.enterprise.middleware
>>
>> mobile: *+94728671315 <%2B94728671315>*
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Inshaf Mahath
> Associate Software Engineer
> Mobile: +94775907181
> WSO2 Inc.
> Lean . Enterprise . Middleware
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review and merge PR for APPM-731

2015-04-08 Thread Sajith Abeywardhana
Hi Dinusha,

I have committed development as a feature. Please review and marge the
PR[1] and PR[2].

[1]. https://github.com/wso2/carbon-appmgt/pull/28
[2]. https://github.com/wso2/product-app-manager/pull/188

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

On Tue, Apr 7, 2015 at 11:45 PM, Dinusha Senanayaka 
wrote:

> Thanks Sajith .. Usually custom mediators should go into
> repository/droppings directory .. But since this is a part of AppM
> functionality, it's good to include as feature and bundle into pack. So
> create a feature for this and include into appm aggregate feature. You may
> need to keep modified main sequence inside your feature.
>
> Regards,
> Dinusha.
>
> On Tue, Apr 7, 2015 at 9:10 PM, Sajith Abeywardhana 
> wrote:
>
>> Hi,
>>
>> Please review and merge PR[1] for APPM-731[2]
>>
>> [1]. https://github.com/wso2/carbon-appmgt/pull/28
>> [2]. https://wso2.org/jira/browse/APPM-731
>>
>> *Sajith Abeywardhana* | Software Engineer
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka.
>> Mobile: +94772260485
>> Email: saji...@wso2.com  | Web: www.wso2.com
>>
>
>
>
> --
> Dinusha Dilrukshi
> Senior Software Engineer
> 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


[Dev] Please review and merge PR for APPM-731

2015-04-07 Thread Sajith Abeywardhana
Hi,

Please review and merge PR[1] for APPM-731[2]

[1]. https://github.com/wso2/carbon-appmgt/pull/28
[2]. https://wso2.org/jira/browse/APPM-731

*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com  | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [AppM]App Manager Gateway Test

2015-03-27 Thread Sajith Abeywardhana
Hi All,

I did a analysis to find out how the App Manager behave when its comes to
lengthy and complex content type. Please go through the analysis[1] and be
kind enough to provide feed backs on anything need to be done than addition
to this.

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

*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com  | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APPM]Fixed the Integration UI test cases. Please merge pull request.

2015-03-24 Thread Sajith Abeywardhana
Hi Dinusha,

Fixed dependency to the SNAPSHOT version.

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

On Tue, Mar 24, 2015 at 6:00 PM, Dinusha Senanayaka 
wrote:

> Hi Sajith,
>
> There is a small issue in the imported dependency. could you fix it too.
>
> Regards,
> Dinusha.
>
> On Tue, Mar 24, 2015 at 5:43 PM, Sajith Abeywardhana 
> wrote:
>
>> Hi,
>>
>> I closed the PR[1] due to it was created on my master branch. Please find
>> the new PR[2], review and marge it.
>>
>> [1]. https://github.com/wso2/product-app-manager/pull/160
>> [2]. https://github.com/wso2/product-app-manager/pull/171
>>
>> *Sajith Abeywardhana* | Software Engineer
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka.
>> Mobile: +94772260485
>> Email: saji...@wso2.com  | Web: www.wso2.com
>>
>> On Mon, Mar 16, 2015 at 9:59 AM, Sajith Abeywardhana 
>> wrote:
>>
>>> Hi,
>>>
>>> I'm fixing the App Manager Integration UI test cases. Those are not
>>> working before due to newly added policy groups. There are 15 test cases as
>>> below. *RuntimeStatisticsTestCase* and *GoogleAnalyticsTestCase *are
>>> for statistical testing. For those two test cases we need to have up and
>>> running BAM and googleapis account. Rather than those two test cases, now
>>> others are building successfully for the mvn clean install command.
>>>
>>> Jira - https://wso2.org/jira/browse/APPM-538
>>> Please review and merge the RP -
>>> https://github.com/wso2/product-app-manager/pull/160
>>>
>>> >> name="org.wso2.carbon.appmanager.integration.ui.TestCases.RuntimeStatisticsTestCase"/>
>>> >> name="org.wso2.carbon.appmanager.integration.ui.TestCases.SAMLtoBackendTestCase"/>
>>> >> name="org.wso2.carbon.appmanager.integration.ui.TestCases.JWTGenerationTestCase"/>
>>> >> name="org.wso2.carbon.appmanager.integration.ui.TestCases.ResourceAuthXCMLTestCase"/>
>>> >> name="org.wso2.carbon.appmanager.integration.ui.TestCases.ThrottlingTestCase"/>
>>> >> name="org.wso2.carbon.appmanager.integration.ui.TestCases.TagsTestCase"/>
>>> >> name="org.wso2.carbon.appmanager.integration.ui.TestCases.ResourceAuthRolesTestCase"/>
>>> >> name="org.wso2.carbon.appmanager.integration.ui.TestCases.LifeCycleTestCase"/>
>>> >> name="org.wso2.carbon.appmanager.integration.ui.TestCases.SSOTestCase"/>
>>> >> name="org.wso2.carbon.appmanager.integration.ui.TestCases.SSOutTestCase"/>
>>> >> name="org.wso2.carbon.appmanager.integration.ui.TestCases.AppDeleteTestCase"/>
>>> >> name="org.wso2.carbon.appmanager.integration.ui.TestCases.SelfSignUpTestCase"/>
>>> >> name="org.wso2.carbon.appmanager.integration.ui.TestCases.DocumentTestCase"/>
>>> >> name="org.wso2.carbon.appmanager.integration.ui.TestCases.GoogleAnalyticsTestCase"/>
>>> >> name="org.wso2.carbon.appmanager.integration.ui.TestCases.RatingTestCase"/>
>>>
>>> *Sajith Abeywardhana* | Software Engineer
>>> WSO2, Inc | lean. enterprise. middleware.
>>> #20, Palm Grove, Colombo 03, Sri Lanka.
>>> Mobile: +94772260485
>>> Email: saji...@wso2.com  | Web: www.wso2.com
>>>
>>
>>
>
>
> --
> Dinusha Dilrukshi
> Senior Software Engineer
> 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


Re: [Dev] [APPM]Fixed the Integration UI test cases. Please merge pull request.

2015-03-24 Thread Sajith Abeywardhana
Hi,

I closed the PR[1] due to it was created on my master branch. Please find
the new PR[2], review and marge it.

[1]. https://github.com/wso2/product-app-manager/pull/160
[2]. https://github.com/wso2/product-app-manager/pull/171

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

On Mon, Mar 16, 2015 at 9:59 AM, Sajith Abeywardhana 
wrote:

> Hi,
>
> I'm fixing the App Manager Integration UI test cases. Those are not
> working before due to newly added policy groups. There are 15 test cases as
> below. *RuntimeStatisticsTestCase* and *GoogleAnalyticsTestCase *are for
> statistical testing. For those two test cases we need to have up and
> running BAM and googleapis account. Rather than those two test cases, now
> others are building successfully for the mvn clean install command.
>
> Jira - https://wso2.org/jira/browse/APPM-538
> Please review and merge the RP -
> https://github.com/wso2/product-app-manager/pull/160
>
>  name="org.wso2.carbon.appmanager.integration.ui.TestCases.RuntimeStatisticsTestCase"/>
>  name="org.wso2.carbon.appmanager.integration.ui.TestCases.SAMLtoBackendTestCase"/>
>  name="org.wso2.carbon.appmanager.integration.ui.TestCases.JWTGenerationTestCase"/>
>  name="org.wso2.carbon.appmanager.integration.ui.TestCases.ResourceAuthXCMLTestCase"/>
>  name="org.wso2.carbon.appmanager.integration.ui.TestCases.ThrottlingTestCase"/>
>  name="org.wso2.carbon.appmanager.integration.ui.TestCases.TagsTestCase"/>
>  name="org.wso2.carbon.appmanager.integration.ui.TestCases.ResourceAuthRolesTestCase"/>
>  name="org.wso2.carbon.appmanager.integration.ui.TestCases.LifeCycleTestCase"/>
>  name="org.wso2.carbon.appmanager.integration.ui.TestCases.SSOTestCase"/>
>  name="org.wso2.carbon.appmanager.integration.ui.TestCases.SSOutTestCase"/>
>  name="org.wso2.carbon.appmanager.integration.ui.TestCases.AppDeleteTestCase"/>
>  name="org.wso2.carbon.appmanager.integration.ui.TestCases.SelfSignUpTestCase"/>
>  name="org.wso2.carbon.appmanager.integration.ui.TestCases.DocumentTestCase"/>
>  name="org.wso2.carbon.appmanager.integration.ui.TestCases.GoogleAnalyticsTestCase"/>
>  name="org.wso2.carbon.appmanager.integration.ui.TestCases.RatingTestCase"/>
>
> *Sajith Abeywardhana* | Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka.
> Mobile: +94772260485
> Email: saji...@wso2.com  | Web: www.wso2.com
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please review and merge PR for APPM-633

2015-03-24 Thread Sajith Abeywardhana
Hi,

I have completed the below new feature[1] for the AppM publisher. Please
find jira[1], backend development PR[2] and front end development PR[3].

Please review and marge those PR's

[1]. https://wso2.org/jira/browse/APPM-633
[2]. https://github.com/wso2/carbon-appmgt/pull/22
[3]. https://github.com/wso2/product-app-manager/pull/172

*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com  | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [APPM]Fixed the Integration UI test cases. Please merge pull request.

2015-03-15 Thread Sajith Abeywardhana
Hi,

I'm fixing the App Manager Integration UI test cases. Those are not working
before due to newly added policy groups. There are 15 test cases as below.
*RuntimeStatisticsTestCase* and *GoogleAnalyticsTestCase *are for
statistical testing. For those two test cases we need to have up and
running BAM and googleapis account. Rather than those two test cases, now
others are building successfully for the mvn clean install command.

Jira - https://wso2.org/jira/browse/APPM-538
Please review and merge the RP -
https://github.com/wso2/product-app-manager/pull/160

















*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com  | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Stratos] Apache-stratos-python-cartridge-agent-4.1.0 running error

2015-02-27 Thread Sajith Abeywardhana
Hi Udara,

This instance created by me to create a cartridge using *Ubuntu Cloud
14.04. *And then I installed the puppet agent. I'm following this
documentation. -
https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Single+Cartridge+on+OpenStack

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

On Fri, Feb 27, 2015 at 5:54 PM, Udara Liyanage  wrote:

> Hi,
>
> ‘/tmp/payload/launch-params'  is the file where Stratos stores the payload
> sent to the instance. Is this a instance created by Stratos?
>
> On Fri, Feb 27, 2015 at 5:50 PM, Sajith Abeywardhana 
> wrote:
>
>> Hi All,
>>
>> I'm getting this ERROR while executing *puppet agent --test* command. I
>> lunched an Ubuntu 14.04 cloud instance, which puppet agent installed, to
>> run this command. I checked the /tmp/payload/ folder and it dose not have
>> any thing.
>>
>> Info: Computing checksum on file
>> /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/artifacts-updated.sh
>> Info: FileBucket got a duplicate file
>> {md5}4efaa350c2db8d342e265535bf83175a
>> Info:
>> /Stage[main]/Python_agent/Python_agent::Push_templates[extensions/artifacts-updated.sh]/File[/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/artifacts-updated.sh]:
>> Filebucketed
>> /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/artifacts-updated.sh
>> to puppet with sum 4efaa350c2db8d342e265535bf83175a
>> Notice:
>> /Stage[main]/Python_agent/Python_agent::Push_templates[extensions/artifacts-updated.sh]/File[/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/artifacts-updated.sh]/content:
>> content changed '{md5}4efaa350c2db8d342e265535bf83175a' to
>> '{md5}9b2677c68a1f45738c64a242e01c66f4'
>> Notice: /Stage[main]/Python_agent/Exec[copy launch-params to
>> agent_home]/returns: cp: cannot stat ‘/tmp/payload/launch-params’: No such
>> file or directory
>> Error: mkdir -p
>> /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload; cp
>> /tmp/payload/launch-params
>> /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params
>> returned 1 instead of one of [0]
>> Error: /Stage[main]/Python_agent/Exec[copy launch-params to
>> agent_home]/returns: change from notrun to 0 failed: mkdir -p
>> /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload; cp
>> /tmp/payload/launch-params
>> /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params
>> returned 1 instead of one of [0]
>> Notice: /Stage[main]/Python_agent/Exec[copy launch-params to
>> agent_home]/returns: cp: cannot stat ‘/tmp/payload/launch-params’: No such
>> file or directory
>> Error: /Stage[main]/Python_agent/Exec[copy launch-params to agent_home]:
>> Failed to call refresh: mkdir -p
>> /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload; cp
>> /tmp/payload/launch-params
>> /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params
>> returned 1 instead of one of [0]
>> Error: /Stage[main]/Python_agent/Exec[copy launch-params to agent_home]:
>> mkdir -p /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload;
>> cp /tmp/payload/launch-params
>> /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params
>> returned 1 instead of one of [0]
>> Notice:
>> /Stage[main]/Python_agent/Python_agent::Push_templates[extensions/member-activated.sh]/File[/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/member-activated.sh]/content:
>> ---
>> /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/member-activated.sh
>>  2015-02-17
>> 21:11:06.0 +0530
>> +++ /tmp/puppet-file20150227-24953-1rz6o7h 2015-02-27 17:30:26.067505000
>> +0530
>> @@ -24,20 +24,278 @@
>>  # --
>>  #
>>
>>
>> *Sajith Abeywardhana* | Software Engineer
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka.
>> Mobile: +94772260485
>> Email: saji...@wso2.com  | Web: www.wso2.com
>>
>
>
>
> --
>
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Stratos] Apache-stratos-python-cartridge-agent-4.1.0 running error

2015-02-27 Thread Sajith Abeywardhana
Hi All,

I'm getting this ERROR while executing *puppet agent --test* command. I
lunched an Ubuntu 14.04 cloud instance, which puppet agent installed, to
run this command. I checked the /tmp/payload/ folder and it dose not have
any thing.

Info: Computing checksum on file
/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/artifacts-updated.sh
Info: FileBucket got a duplicate file {md5}4efaa350c2db8d342e265535bf83175a
Info:
/Stage[main]/Python_agent/Python_agent::Push_templates[extensions/artifacts-updated.sh]/File[/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/artifacts-updated.sh]:
Filebucketed
/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/artifacts-updated.sh
to puppet with sum 4efaa350c2db8d342e265535bf83175a
Notice:
/Stage[main]/Python_agent/Python_agent::Push_templates[extensions/artifacts-updated.sh]/File[/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/artifacts-updated.sh]/content:
content changed '{md5}4efaa350c2db8d342e265535bf83175a' to
'{md5}9b2677c68a1f45738c64a242e01c66f4'
Notice: /Stage[main]/Python_agent/Exec[copy launch-params to
agent_home]/returns: cp: cannot stat ‘/tmp/payload/launch-params’: No such
file or directory
Error: mkdir -p
/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload; cp
/tmp/payload/launch-params
/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params
returned 1 instead of one of [0]
Error: /Stage[main]/Python_agent/Exec[copy launch-params to
agent_home]/returns: change from notrun to 0 failed: mkdir -p
/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload; cp
/tmp/payload/launch-params
/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params
returned 1 instead of one of [0]
Notice: /Stage[main]/Python_agent/Exec[copy launch-params to
agent_home]/returns: cp: cannot stat ‘/tmp/payload/launch-params’: No such
file or directory
Error: /Stage[main]/Python_agent/Exec[copy launch-params to agent_home]:
Failed to call refresh: mkdir -p
/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload; cp
/tmp/payload/launch-params
/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params
returned 1 instead of one of [0]
Error: /Stage[main]/Python_agent/Exec[copy launch-params to agent_home]:
mkdir -p /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload;
cp /tmp/payload/launch-params
/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params
returned 1 instead of one of [0]
Notice:
/Stage[main]/Python_agent/Python_agent::Push_templates[extensions/member-activated.sh]/File[/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/member-activated.sh]/content:
---
/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/member-activated.sh
2015-02-17
21:11:06.0 +0530
+++ /tmp/puppet-file20150227-24953-1rz6o7h 2015-02-27 17:30:26.067505000
+0530
@@ -24,20 +24,278 @@
 # ------
 #


*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com  | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Stratos] CloudControllerServiceCartridgeNotFoundExceptionException when adding the application

2015-02-18 Thread Sajith Abeywardhana
Hi Udara,

Yes, Application refers to php cartilage, but stratos do have only tomcat
cartilage. I suggest your team to correct the document. In 4th number curl
command should execute the php.json file instead of tomcat.json as
you pointed out.


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

On Wed, Feb 18, 2015 at 2:12 PM, Udara Liyanage  wrote:

> Hi,
>
> It seems the cartridge you refereed in your application is not added. Can
> you share your artefacts.
>
> On Wed, Feb 18, 2015 at 1:59 PM, Sajith Abeywardhana 
> wrote:
>
>> Hi All,
>>
>> I'm trying to deploy an application in PaaS 4.1.0 as for this
>> documentation [1]. When I execute the 5th number curl command I got the
>> below exception.
>>
>> [1] -
>> https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Single+Cartridge+on+Mock+IaaS
>>
>>
>> [2015-02-18 13:40:15,296]  INFO
>> {org.apache.stratos.autoscaler.services.impl.AutoscalerServiceImpl} -
>>  Adding application: [application-id] single-cartridge-app
>> [2015-02-18 13:40:15,361]  INFO
>> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -
>>  'admin@carbon.super [-1234]' logged in at [2015-02-18 13:40:15,361+0530]
>> [2015-02-18 13:40:15,391]  INFO
>> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -
>>  'admin@carbon.super [-1234]' logged in at [2015-02-18 13:40:15,391+0530]
>> [2015-02-18 13:40:15,405]  INFO
>> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -
>>  'admin@carbon.super [-1234]' logged in at [2015-02-18 13:40:15,405+0530]
>> [2015-02-18 13:40:15,432]  INFO
>> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -
>>  'admin@carbon.super [-1234]' logged in at [2015-02-18 13:40:15,432+0530]
>> [2015-02-18 13:40:15,461]  INFO
>> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -
>>  'admin@carbon.super [-1234]' logged in at [2015-02-18 13:40:15,461+0530]
>> [2015-02-18 13:40:16,097] ERROR
>> {org.apache.stratos.autoscaler.client.CloudControllerClient} -
>>  CloudControllerServiceCartridgeNotFoundExceptionException
>> org.apache.stratos.cloud.controller.stub.CloudControllerServiceCartridgeNotFoundExceptionException:
>> CloudControllerServiceCartridgeNotFoundExceptionException
>> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>> at
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>> at java.lang.Class.newInstance0(Class.java:357)
>> at java.lang.Class.newInstance(Class.java:310)
>> at
>> org.apache.stratos.cloud.controller.stub.CloudControllerServiceStub.getCartridgeInfo(CloudControllerServiceStub.java:4171)
>> at
>> org.apache.stratos.autoscaler.client.CloudControllerClient.getCartrdgeInformation(CloudControllerClient.java:316)
>> at
>> org.apache.stratos.autoscaler.applications.parser.DefaultApplicationParser.getCartridge(DefaultApplicationParser.java:887)
>> at
>> org.apache.stratos.autoscaler.applications.parser.DefaultApplicationParser.createClusterDataMap(DefaultApplicationParser.java:461)
>> at
>> org.apache.stratos.autoscaler.applications.parser.DefaultApplicationParser.parseLeafLevelSubscriptions(DefaultApplicationParser.java:340)
>> at
>> org.apache.stratos.autoscaler.applications.parser.DefaultApplicationParser.buildCompositeAppStructure(DefaultApplicationParser.java:299)
>> at
>> org.apache.stratos.autoscaler.applications.parser.DefaultApplicationParser.parse(DefaultApplicationParser.java:104)
>> at
>> org.apache.stratos.autoscaler.services.impl.AutoscalerServiceImpl.addApplication(AutoscalerServiceImpl.java:202)
>> 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.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
>> at
>> org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver.invokeBusinessLogic(RPCInOnlyMessageReceiver.java:66)
>> at
>> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:1

[Dev] [Stratos] CloudControllerServiceCartridgeNotFoundExceptionException when adding the application

2015-02-18 Thread Sajith Abeywardhana
let.java:206)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
at
org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
at
org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
at
org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
at
org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at
org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:695)
Caused by: org.apache.axis2.AxisFault: unknown
at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
at
org.apache.axis2.description.RobustOutOnlyAxisOperation$RobustOutOnlyOperationClient.handleResponse(RobustOutOnlyAxisOperation.java:91)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:445)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at
org.apache.stratos.autoscaler.stub.AutoscalerServiceStub.addApplication(AutoscalerServiceStub.java:4643)
at
org.apache.stratos.common.client.AutoscalerServiceClient.addApplication(AutoscalerServiceClient.java:118)
at
org.apache.stratos.rest.endpoint.api.StratosApiV41Utils.addApplication(StratosApiV41Utils.java:945)
... 45 more


*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com  | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] apache-stratos-load-balancer-4.1.0 starting exception

2015-02-15 Thread Sajith Abeywardhana
nnection(AMQConnectionFactory.java:315)
... 7 more
Caused by: org.wso2.andes.transport.TransportException: Could not open
connection
at
org.wso2.andes.transport.network.mina.MinaNetworkTransport$IoConnectorCreator.connect(MinaNetworkTransport.java:201)
at
org.wso2.andes.transport.network.mina.MinaNetworkTransport.connect(MinaNetworkTransport.java:71)
at
org.wso2.andes.client.AMQConnectionDelegate_8_0.makeBrokerConnection(AMQConnectionDelegate_8_0.java:110)
at
org.wso2.andes.client.AMQConnection.makeBrokerConnection(AMQConnection.java:616)
at org.wso2.andes.client.AMQConnection.(AMQConnection.java:398)
... 8 more
[2015-02-16 12:26:54,498] ERROR - EventSubscriber Error while subscribing
to topic: application.signup.>
org.apache.stratos.messaging.domain.exception.MessagingException: Could not
connect to message broker
at
org.apache.stratos.messaging.broker.connect.amqp.AmqpTopicConnector.connect(AmqpTopicConnector.java:75)
at
org.apache.stratos.messaging.broker.subscribe.EventSubscriber.doSubscribe(EventSubscriber.java:58)
at
org.apache.stratos.messaging.broker.subscribe.EventSubscriber.run(EventSubscriber.java:73)
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: javax.jms.JMSException: Error creating connection: Could not
open connection
at
org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:325)
at
org.wso2.andes.client.AMQConnectionFactory.createTopicConnection(AMQConnectionFactory.java:429)
at
org.apache.stratos.messaging.broker.connect.amqp.AmqpTopicConnector.connect(AmqpTopicConnector.java:70)
... 5 more
Caused by: org.wso2.andes.AMQConnectionFailureException: Could not open
connection
at org.wso2.andes.client.AMQConnection.(AMQConnection.java:475)
at
org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:315)
... 7 more
Caused by: org.wso2.andes.transport.TransportException: Could not open
connection
at
org.wso2.andes.transport.network.mina.MinaNetworkTransport$IoConnectorCreator.connect(MinaNetworkTransport.java:201)
at
org.wso2.andes.transport.network.mina.MinaNetworkTransport.connect(MinaNetworkTransport.java:71)
at
org.wso2.andes.client.AMQConnectionDelegate_8_0.makeBrokerConnection(AMQConnectionDelegate_8_0.java:110)
at
org.wso2.andes.client.AMQConnection.makeBrokerConnection(AMQConnection.java:616)
at org.wso2.andes.client.AMQConnection.(AMQConnection.java:398)
... 8 more
[2015-02-16 12:26:54,500]  INFO - EventSubscriber Will try to subscribe
again in 30 sec
[2015-02-16 12:26:54,499]  INFO - EventSubscriber Will try to subscribe
again in 30 sec


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

On Fri, Feb 13, 2015 at 11:45 AM, Imesh Gunaratne  wrote:

> Hi Sajith,
>
> I think you are on the wrong direction. @Nirmal: Still SLB does not
> support hazelcast clustering.
>
> Consider SLB as a standard load balancer which does not know anything
> about Carbon clustering. We just need to do a static load balancer
> configuration and try to simulate how WSO2 products will behave in Stratos.
>
> Thanks
>
> On Fri, Feb 13, 2015 at 11:39 AM, Nirmal Fernando  wrote:
>
>>
>>
>> On Fri, Feb 13, 2015 at 11:36 AM, Nirmal Fernando 
>> wrote:
>>
>>> This is the static configuration, where you don't use dynamic member
>>> discovery. You need group_mgt_port for dynamic member discovery. Please use
>>> the ELB config,
>>>
>> I meant the attributes applicable for cluster sections.
>>
>>> it should work in SLB.
>>>
>>> On Fri, Feb 13, 2015 at 11:29 AM, Sajith Abeywardhana 
>>> wrote:
>>>
>>>> Yes. In the axis2.xml file, we do have configuration as
>>>>
>>>> *>>> class="org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent"*
>>>> *enable="true">*
>>>>
>>>> But in Stratos load balancer configuration file dose not have
>>>> group_mgt_port.
>>>>
>>>> # services {
>>>> # app-server {  # service name, a unique identifier to identify
>>>> a service
>>>> # multi-tenant: true; # Set to true if the service is
>>>> multi-tenant
>>>> # clusters {
>>>> # app-server-cluster1 {  # cluster id, a unique
>>>> identifier to identify a cluster
>>>> # hosts: cluster1.appserver.foo.org, cluster1.org;
>>>>  # comma separated hostname list
>>&g

Re: [Dev] apache-stratos-load-balancer-4.1.0 starting exception

2015-02-12 Thread Sajith Abeywardhana
Yes. In the axis2.xml file, we do have configuration as

**

But in Stratos load balancer configuration file dose not have
group_mgt_port.

# services {
# app-server {  # service name, a unique identifier to identify a
service
# multi-tenant: true; # Set to true if the service is
multi-tenant
# clusters {
# app-server-cluster1 {  # cluster id, a unique identifier
to identify a cluster
# hosts: cluster1.appserver.foo.org, cluster1.org;  #
comma separated hostname list
# tenant-range: 1-100; # Tenant range of the cluster
# algorithm: round-robin;  # algorithm name
# members {
# m1 {  # member id, a unique identifier to
identify a member
# ip: 10.0.0.10; # member ip address
# ports {
# http {
# value: 8080; # application port
# proxy: 80;   # proxy port exposed by
load balancer transport, set this value in axis2.xml
# }
# https {
# value: 8090;
# proxy: 443;
# }
# }
# }
# m2 {
# ip: 10.0.0.11;
# ports {
# http {
# value: 8080;
# proxy: 80;
# }
# https {
# value: 8090;
# proxy: 443;
# }
# }
# }
# }
# }
# }
# }
# }


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

On Fri, Feb 13, 2015 at 10:44 AM, Nirmal Fernando  wrote:

> SLB is using Hazelcast right? If so, group_mgt_port should be used in lb
> conf.
>
> On Fri, Feb 13, 2015 at 10:14 AM, Sajith Abeywardhana 
> wrote:
>
>> Hi Imesh,
>>
>> Thanks for the reply. I set the configuration as *topology-event-listener:
>> false; *
>> Then I got below exception while starting the load balancer.
>>
>> Hi Nirmal,
>>
>> In WOS2 ELB configuration file, there is a configuration as *group_mgt_port
>> 4500; *[1] How can I map this configuration in the Stratos load
>> balancer?
>>
>> [1].
>> https://docs.wso2.com/display/CLUSTER420/Configuring+the+Load+Balancer
>>
>>
>> [2015-02-13 09:57:41,504] FATAL - LoadBalancerServiceComponent Failed to
>> activate load balancer service component
>> org.apache.stratos.load.balancer.exception.InvalidConfigurationException:
>> Could not read load balancer configuration:
>> /Users/apple/D/pass/apache-stratos-load-balancer-4.1.0-SNAPSHOT/repository/conf/loadbalancer.conf
>> at
>> org.apache.stratos.load.balancer.conf.LoadBalancerConfiguration$LoadBalancerConfigurationReader.readFromFile(LoadBalancerConfiguration.java:286)
>> at
>> org.apache.stratos.load.balancer.conf.LoadBalancerConfiguration.getInstance(LoadBalancerConfiguration.java:87)
>> at
>> org.apache.stratos.load.balancer.internal.LoadBalancerServiceComponent.activate(LoadBalancerServiceComponent.java:118)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:606)
>> at
>> org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
>> at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
>> at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
>> at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
>> at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
>> at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
>> at
>> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
>> at
>> org.eclipse.osgi.in

Re: [Dev] apache-stratos-load-balancer-4.1.0 starting exception

2015-02-12 Thread Sajith Abeywardhana
Hi Imesh,

Thanks for the reply. I set the configuration as *topology-event-listener:
false; *
Then I got below exception while starting the load balancer.

Hi Nirmal,

In WOS2 ELB configuration file, there is a configuration as *group_mgt_port
4500; *[1] How can I map this configuration in the Stratos load balancer?

[1]. https://docs.wso2.com/display/CLUSTER420/Configuring+the+Load+Balancer


[2015-02-13 09:57:41,504] FATAL - LoadBalancerServiceComponent Failed to
activate load balancer service component
org.apache.stratos.load.balancer.exception.InvalidConfigurationException:
Could not read load balancer configuration:
/Users/apple/D/pass/apache-stratos-load-balancer-4.1.0-SNAPSHOT/repository/conf/loadbalancer.conf
at
org.apache.stratos.load.balancer.conf.LoadBalancerConfiguration$LoadBalancerConfigurationReader.readFromFile(LoadBalancerConfiguration.java:286)
at
org.apache.stratos.load.balancer.conf.LoadBalancerConfiguration.getInstance(LoadBalancerConfiguration.java:87)
at
org.apache.stratos.load.balancer.internal.LoadBalancerServiceComponent.activate(LoadBalancerServiceComponent.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:950)
at
org.apache.stratos.common.internal.StratosCommonServiceComponent.registerDistributedObjectProviderService(StratosCommonServiceComponent.java:121)
at
org.apache.stratos.common.internal.StratosCommonServiceComponent.access$100(StratosCommonServiceComponent.java:55)
at
org.apache.stratos.common.internal.StratosCommonServiceComponent$1.run(StratosCommonServiceComponent.java:89)
Caused by: java.lang.RuntimeException: services node was not found
at
org.apache.stratos.load.balancer.conf.LoadBalancerConfiguration$LoadBalancerConfigurationReader.validateRequiredNode(LoadBalancerConfiguration.java:539)
at
org.apache.stratos.load.balancer.conf.LoadBalancerConfiguration$LoadBalancerConfigurationReader.transform(LoadBalancerConfiguration.java:433)
at
org.apache.stratos.load.balancer.conf.LoadBalancerConfiguration$LoadBalancerConfigurationReader.readFromFile(LoadBalancerConfiguration.java:283)
... 27 more

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

On Thu, Feb 12, 2015 at 10:39 PM, Imesh Gunaratne  wrote:

> Hi Sajith,
>
> Stratos load balancer has a configuration file in repository/conf folder:
> loadbalancer.conf. If you open it in a text editor you will find inline
> comments describing each property:
>
> # Enable/disable topology event listener
> # If this property is set to true, load balancer will listen to topology
> events and build
> # the topology configuration accordingly. If not static configuration
> given in the services
> # section will be used.
> topology-event-listener: true;
>
> You may need to set the above property to false if you need to run the
> load balancer

[Dev] apache-stratos-load-balancer-4.1.0 starting exception

2015-02-12 Thread Sajith Abeywardhana
:42:34,110]  INFO - EventSubscriber Will try to subscribe
again in 30 sec


*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com  | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Fwd: Creating WSO2 Cartridges for Private PaaS 4.1.0

2015-01-27 Thread Sajith Abeywardhana
Hi Imesh,

As we (me and anurudhal) discussed with you, we are planing to create
cartridges for ESB and AS with clustering support for our fast track
training project. We will be in touch if we need any help from your team.

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

On Mon, Jan 26, 2015 at 9:30 AM, Imesh Gunaratne  wrote:

> [Copying Dev]
>
> -- Forwarded message --
> From: Tapas Jena 
> Date: Mon, Jan 26, 2015 at 6:50 AM
> Subject: Re: [Dev] Creating WSO2 Cartridges for Private PaaS 4.1.0
> To: Imesh Gunaratne 
>
> Thanks Imesh!
>
> I am new to Stratos but let me give it a try. I will be in touch if need
> any help.
>
> Regards,
> Tapas
>
> --
> *Imesh Gunaratne*
> Technical Lead
> WSO2 Inc: http://wso2.com
> T: +94 11 214 5345 M: +94 77 374 2057
> W: http://imesh.gunaratne.org
> Lean . Enterprise . Middleware
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] tcpdump in mac OS to capture loopback interfaces

2014-12-16 Thread Sajith Abeywardhana
Hi,

I need to capture loopback address in my Mac OS. When I used *-i lo* it
gives message like this.

tcpdump: Io: No such device exists


How should I capture loopback address in Mac OS?

*Command and output*

sh-3.2# tcpdump -vv -w /Users/apple/Desktop/temp01.pcap -s5000 -i Io

tcpdump: Io: No such device exists

(BIOCSETIF failed: Device not configured)

sh-3.2#


*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com  | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] SVN GUI Client or command line tool

2014-12-04 Thread Sajith Abeywardhana
Hi Gays,

Thanks for all suggestions. When I typed *svn* command in terminal, MacOS
automatically installed svn client for me. That's very cool :)

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

On Thu, Dec 4, 2014 at 12:24 PM, Jerad Rutnam  wrote:

> Hi Sajith,
>
> As Chamila mentioned above, xcode is the apple developer tool [1], still
> you can use it for svn. But I suggest if you can get use to the terminal.
> If you like to use a client with GUI,
> here is a list of svn clients you can use on mac, most are not free
>
>
>- svnx -
>http://www.lachoseinteractive.net/en/community/subversion/svnx/
>- versions - http://versionsapp.com/
>- cornerstone - http://www.zennaware.com/cornerstone/
>- scplugin - http://scplugin.tigris.org/
>- smartsvn - http://www.wandisco.com/smartsvn/home
>- syncrosvn - http://www.syncrosvnclient.com/index.html
>- isvn - http://www.einhugur.com/iSvn/index.html
>- rapidsvn - http://rapidsvn.tigris.org/
>- jsvn - http://jsvn.alternatecomputing.com/
>
>Also try out few alternatives, some are mentioned above [2].
>
> [1] https://developer.apple.com/xcode/
> [2] http://alternativeto.net/software/tortoisesvn/?platform=mac
>
> Thanks,
> Jerad
>
> On Thu, Dec 4, 2014 at 1:07 AM, Prabath Ariyarathna 
> wrote:
>
>> HI Sajith.
>>
>> You can refer this [1] article to get an idea how to install svn client
>> on your MacBook. In this article, Xcode command line tool is highly
>> recommended. You can use the installation window which is popup once you
>> enter the svn command on your terminal to install this client.
>>
>> [1] - http://www.macports.org/install.php
>>
>> Thanks.
>> Prabath Ariyarathna
>>
>> On Thu, Dec 4, 2014 at 12:09 AM, Chamila De Alwis 
>> wrote:
>>
>>> Hi Sajith,
>>>
>>> As far as I know, Xcode is an IDE for Apple related development in
>>> Objective C. For windows, TortoiseSVN is an excellent client, which
>>> integrates in to the Explorer really well. I'm not sure if an equivalent
>>> client is there for Mac. There's a list of tools here[1] too, but if you
>>> want to use a GUI client, the best approach would be to use the plugins
>>> available in the IDEs. For Intellij Idea and Eclipse there are good, well
>>> tested plugins.
>>>
>>> If you're using Eclipse, Subclipse[2] is a good plugin. Just match the
>>> subversion, version installed with the JavaHL[3] library and the plugin
>>> version, otherwise there can be irregularities in how the files are checked
>>> out.
>>>
>>> [1] - https://gigaom.com/2009/02/23/12-subversion-apps-for-os-x/
>>> [2] - http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA
>>> [3] - http://subclipse.tigris.org/wiki/JavaHL
>>>
>>>
>>>
>>> Regards,
>>> Chamila de Alwis
>>> Software Engineer | WSO2 | +94772207163
>>> Blog: code.chamiladealwis.com
>>>
>>>
>>>
>>> On Wed, Dec 3, 2014 at 10:12 PM, Mahesh Chinthaka 
>>> wrote:
>>>
>>>> Hi Sajith,
>>>> You can use Terminal for all svn related operations. I think its better
>>>> to get used to svn commands in terminal.
>>>> You can follow some common svn commands in [1] and [2] . And there's a
>>>> lot more in the internet :)
>>>>
>>>> [1] - http://wiki.greenstone.org/wiki/index.php/Useful_SVN_Commands
>>>> [2] - http://svnbook.red-bean.com/en/1.7/svn.ref.html
>>>>
>>>> On Wed, Dec 3, 2014 at 9:36 PM, Sajith Abeywardhana 
>>>> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> I am from new batch which was recruit on 1st of December. So I looking
>>>>> some help form you.
>>>>>
>>>>> Since I'm using MacBook I need some advice regarding SVN client for a
>>>>> Mac OS.
>>>>>
>>>>> I found this [1] tool called Xcode. Are you guys using this tool or a
>>>>> separate SVN client than this? Witch one should I use?
>>>>>
>>>>> [1] -
>>>>> http://stackoverflow.com/questions/9329243/xcode-4-4-and-later-install-command-line-tools
>>>>>
>>>>>
>>>>> Thanks & Regards,
>>>>> *Sajith Abeywardhana* | Software Engineer
>>>>

[Dev] SVN GUI Client or command line tool

2014-12-03 Thread Sajith Abeywardhana
Hi All,

I am from new batch which was recruit on 1st of December. So I looking some
help form you.

Since I'm using MacBook I need some advice regarding SVN client for a Mac
OS.

I found this [1] tool called Xcode. Are you guys using this tool or a
separate SVN client than this? Witch one should I use?

[1] -
http://stackoverflow.com/questions/9329243/xcode-4-4-and-later-install-command-line-tools


Thanks & Regards,
*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94 772 260 485
Email: saji...@wso2.com  | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev