Re: [Dev] [AppFac] Error occurred while loading user application list

2015-07-01 Thread danushkaf
This could be due to corrupted appinfo rxt.






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





From: Fathima Dilhasha
Sent: ‎Thursday‎, ‎July‎ ‎2‎, ‎2015 ‎5‎:‎32‎ ‎AM
To: Punnadi Gunarathna
Cc: WSO2 Developers' List





Hi Punnadi,



I started getting this error since last night. I didn't do any activity except 
for few REST API commands. For example login, app details, triggering a build, 
etc. 




Thanks.

Regards,

Dilhasha














Fathima Dilhasha Nazeer (M.N.F.Dilhasha)
Undergraduate | Department of Computer Science and Engineering
University of Moratuwa
Sri Lanka



On Thu, Jul 2, 2015 at 5:18 AM, Punnadi Gunarathna punn...@wso2.com wrote:





Hi Fathima,


In that case we will have to dig down what the exact reason of causing this 
failure.
When did you start getting this error? What was the last activity you did prior 
getting this behavior?

We can ask someone from cloud team to check the AF logs.





On Thu, Jul 2, 2015 at 5:16 AM, Fathima Dilhasha dilhasha@gmail.com wrote:


Hi Dimuthu,



It seems the problem is with that particular account. I created another account 
and it works well without any errors.




Thanks.

Regards,

Dilhasha






Fathima Dilhasha Nazeer (M.N.F.Dilhasha)
Undergraduate | Department of Computer Science and Engineering
University of Moratuwa
Sri Lanka





On Thu, Jul 2, 2015 at 5:10 AM, Fathima Dilhasha dilhasha@gmail.com wrote:




Hi Dimuthu,




No it is not. I'm still getting that error.




Thanks.

Regards,

Dilhasha






Fathima Dilhasha Nazeer (M.N.F.Dilhasha)
Undergraduate | Department of Computer Science and Engineering
University of Moratuwa
Sri Lanka





On Wed, Jul 1, 2015 at 10:46 PM, Dimuthu Leelarathne dimut...@wso2.com wrote:


Hi Dilhasha,



Is this a one time occurring or repeated?




thanks,

dimuthu








On Wed, Jul 1, 2015 at 9:14 PM, Fathima Dilhasha dilhasha@gmail.com wrote:


Hi,



I'm getting an error Error occurred while loading user application list in 
the Application Manager page of App cloud. I have attached a screen shot of the 
error I'm getting. Please let me know the reason for this and any way to 
correct it.




Thanks.

Regards,

Dilhasha






Fathima Dilhasha Nazeer (M.N.F.Dilhasha)
Undergraduate | Department of Computer Science and Engineering
University of Moratuwa
Sri Lanka






-- 





Dimuthu Leelarathne 

Director  Product Lead of App Factory

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

Lean . Enterprise . Middleware





-- 





Thanks and Regards,

Punnadi Gunarathna

Senior Software Engineer, 
WSO2, Inc.; http://wso2.com
Blog: http://hi-my-world.blogspot.com/

Tel : 94 11 214 5345

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


Re: [Dev] WSO2 App Factory start-up error

2015-06-13 Thread danushkaf
Hi

Can you share your $APPFAC_HOME/repository/conf/user-mgt.xml to check this 
issue. 

But seems the issue is with the username you use. Did you use puppet modules to 
set up appfactory or did you try to start up the appfactory pack as it is. You 
might be able to start the pack by resolving these issues. But to make it work 
you will need to use puppet modules provided.


You can refer to [1].


[1] 
http://wso2.com/library/tutorials/2015/02/tutorial-step-by-step-guide-on-installing-and-configuring-wso2-app-factory-puppet-master-using-virtu/






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





From: Damian Perera
Sent: ‎Saturday‎, ‎June‎ ‎13‎, ‎2015 ‎9‎:‎42‎ ‎PM
To: WSO2 Developers' List





Hi all,

When starting wso2appfactory-2.0.0 I received an exception similar to the
one given in the following thread:
http://mail.wso2.org/mailarchive/dev/2014-July/032852.html
http://mail.wso2.org/mailarchive/dev/2014-July/032852.html  


Changing the contents of user-mgt.xml in APPFAC_HOME/repository/conf
   Property name=UsernameJavaScriptRegEx[\\S]{3,30}/Property
to
   Property name=UsernameJavaScriptRegEx^[\S]{5,30}$/Property
according to that thread did not resolve the issue.


I installed wso2appfactory-2.0.0 in Windows, Linux and Mac OSX,
also tried with Java 1.7 and 1.8 JDK Versions,
still it gives the following exception:

C:\Users\Asela Damian Perera\Desktopset JAVA_HOME=C:\Program
Files\Java\jdk1.7.
0_17\

C:\Users\Asela Damian Perera\Desktopcd C:\Users\Asela Damian
Perera\Desktop\ws
o2appfactory-2.0.0\bin\

C:\Users\Asela Damian Perera\Desktop\wso2appfactory-2.0.0\binwso2server.bat
sta
rt
JAVA_HOME environment variable is set to C:\Program Files\Java\jdk1.7.0_17\
CARBON_HOME environment variable is set to
C:\Users\ASELAD~1\Desktop\WSO2AP~1.0\
bin\..
[2015-06-13 21:21:43,454]  INFO
{org.wso2.carbon.cassandra.dataaccess.internal.D
ataAccessServiceDSComponent} -  Cannot locate
'C:\Users\ASELAD~1\Desktop\WSO2AP~
1.0\bin\..\repository\conf\etc\hector-config.xml'. Using the default
configurati
on
[2015-06-13 21:21:43,477]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivat
or} -  Starting WSO2 Carbon...
[2015-06-13 21:21:43,477]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivat
or} -  Operating System : Windows 8 6.2, amd64
[2015-06-13 21:21:43,478]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivat
or} -  Java Home: C:\Program Files\Java\jdk1.7.0_17\jre
[2015-06-13 21:21:43,478]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivat
or} -  Java Version : 1.7.0_17
[2015-06-13 21:21:43,479]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivat
or} -  Java VM  : Java HotSpot(TM) 64-Bit Server VM 23.7-b01,Oracle
Corp
oration
[2015-06-13 21:21:43,479]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivat
or} -  Carbon Home  : C:\Users\ASELAD~1\Desktop\WSO2AP~1.0\bin\..
[2015-06-13 21:21:43,480]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivat
or} -  Java Temp Dir: C:\Users\ASELAD~1\Desktop\WSO2AP~1.0\bin\..\tmp
[2015-06-13 21:21:43,480]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivat
or} -  User : Asela Damian Perera, en-US, Asia/Colombo
[2015-06-13 21:21:43,562]  WARN
{org.wso2.carbon.core.bootup.validator.util.Vali
dationResultPrinter} -  The running OS : Windows 8 is not a tested Operating
Sys
tem for running WSO2 Carbon
[2015-06-13 21:21:43,563]  WARN
{org.wso2.carbon.core.bootup.validator.util.Vali
dationResultPrinter} -  The default keystore (wso2carbon.jks) is currently
being
 used. To maximize security when deploying to a production environment,
configur
e a new keystore with a unique password in the production server profile.
[2015-06-13 21:21:43,639]  INFO
{org.wso2.carbon.databridge.agent.thrift.AgentHo
lder} -  Agent created !
[2015-06-13 21:21:43,658]  INFO
{org.wso2.carbon.databridge.agent.thrift.interna
l.AgentDS} -  Successfully deployed Agent Client
[2015-06-13 21:21:43,807]  INFO
{org.wso2.carbon.ldap.server.configuration.LDAPC
onfigurationBuilder} -  KDC server is disabled.
[2015-06-13 21:21:44,046]  INFO
{org.wso2.carbon.ldap.server.DirectoryActivator}
 -  Initializing Directory Server with working directory
C:\Users\ASELAD~1\Deskt
op\WSO2AP~1.0\bin\..\repository\data\org.wso2.carbon.directory and port
10389
[2015-06-13 21:21:47,304]  INFO
{org.wso2.carbon.social.core.internal.SocialComp
onent} -  Social Activity bundle is activated
[2015-06-13 21:21:50,575] ERROR
{org.wso2.carbon.user.core.common.DefaultRealm}
-  Cannot create
org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:45)
at 

Re: [Dev] [AF][Jaggery] Error while calling java method from jaggery

2015-06-12 Thread danushkaf
Hi Mahesh

When we register an osgi service to a bundle, Any component can retrieve it. 
Usually we do it in Service Component where we write the scr references. And we 
keep reference to an object of the service and we use only inside the given 
component. If we need it in another component we retrieve same from there too. 
That's how its done in java components. But when it comes to a web application 
(or jiggery application) since they are not running in osgi framework they 
cannot refer to the osgi services in the same manner. So we retrieve it from 
carbon context.

We have done this call every where in our application.


CarbonContext.getThreadlocalCarbonContext().getOSGIService(“service name”)


You have to retrieve the service in the above manner in your code.


Hope the explanation is clear to you.






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





From: Mahesh Chinthaka
Sent: ‎Friday‎, ‎June‎ ‎12‎, ‎2015 ‎10‎:‎36‎ ‎AM
To: WSO2 Developers' List





Hi ,



Im trying to call a java method from a jaggery module.

We have called same method from java side like follows

AppFactoryS4ListenersUtil.getTenantRegistryLoader().loadTenantRegistry(tenantId);





my jaggery code is like follows




var tenantId=getTenantId();



var s4util = 
Packages.org.wso2.carbon.appfactory.stratos.util.AppFactoryS4ListenersUtil;

s4util.getTenantRegistryLoader().loadTenantRegistry(tenantId);





And Im getting following error








TID: [0] [AF] [2015-06-12 10:22:05,387] ERROR 
{org.jaggeryjs.jaggery.core.manager.WebAppManager} -  
org.mozilla.javascript.EcmaError: TypeError: Cannot call property 
getTenantRegistryLoader in object [JavaPackage 
org.wso2.carbon.appfactory.stratos.util.AppFactoryS4ListenersUtil]. It is not a 
function, it is object. (/appmgt/modules/manager/manager.jag#331) 
{org.jaggeryjs.jaggery.core.manager.WebAppManager}

org.jaggeryjs.scriptengine.exceptions.ScriptException: 
org.mozilla.javascript.EcmaError: TypeError: Cannot call property 
getTenantRegistryLoader in object [JavaPackage 
org.wso2.carbon.appfactory.stratos.util.AppFactoryS4ListenersUtil]. It is not a 
function, it is object. (/appmgt/modules/manager/manager.jag#331)

at 
org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:571)

at 
org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)

at 
org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:541)

at 
org.jaggeryjs.jaggery.core.JaggeryServlet.doPost(JaggeryServlet.java:29)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)

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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)

at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)

at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)

at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)

at 
org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21)

at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)

at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)

at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)

at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)

at 
org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)

at 
org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)

at 
org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)

at 
org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)

at 
org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)

at 
org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)

at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)

at 
org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)

   

Re: [Dev] [AF] Using setTimeout in a jiggery page

2015-06-12 Thread danushkaf
Hi Ruchira, 

Thanks for the detailed explanation. Few explanations about our implementation.

We use java caches and this caching is about caching stuff related to the user 
in the session. So it has to be in the jaggery level. 

Then it’s ok that this runs later and that what we want to happen too.

Since this is one time thing and not an really heavy operation keeping the 
scope is ok I guess. (Only when login)

@Dimuthu, Manjula any thoughts?








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





From: Ruchira Wageesha
Sent: ‎Friday‎, ‎June‎ ‎12‎, ‎2015 ‎12‎:‎53‎ ‎PM
To: Danushka Fernando
Cc: WSO2 Developers' List, Dimuthu Leelarathne, Manjula Rathnayake___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [AF] Using setTimeout in a jiggery page

2015-06-11 Thread danushkaf
Hi

Currently in AF jaggery application we are using the block model. In the index 
page we were loading the permissions to cache. So I moved the caching to a 
separate thread using setTimeout fuction. Seems there is an performance 
improvement after that. My question is whether that's the correct thing to do. 
Is it ok to use setTimeout function there?






Thanks  Regards
Danushka Fernando
Senior Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [App Factory] How to handle generating Application Key in Application Creation page - UI/UX

2015-06-10 Thread danushkaf
Hi

We need to keep in mind that application key is used in the urls. So I don’t 
like the idea of making it a timestamp kind of thing. It should be in readable 
IMO.






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





From: Punnadi Gunarathna
Sent: ‎Wednesday‎, ‎June‎ ‎10‎, ‎2015 ‎6‎:‎59‎ ‎PM
To: Hasitha Weerasinghe
Cc: WSO2 Developers' List









On Wed, Jun 10, 2015 at 5:57 PM, Hasitha Weerasinghe hasit...@wso2.com wrote:




Hi All,



In the current UI when we are creating a new application , it will validate the 
application name and application key to be unique. In the new UI given by UX 
team, there is no application key input field. 
As they have suggested, application key can be generated with timestamps in any 
appropriate place but the application name should not be unique.


Hence,





1) Is good to hide the application key from the UI. If so, In which place we 
should generate application key ? 

If we are going to hide the application key, then we have to make sure that the 
key is unique, or else it has to be validated for it's uniqueness underline. 
IMO we can generate the appkey just before submitting the application creation.








2) Do we need to validate the application name ?


If we don't validate application name, same user can create multiple 
applications with simillar name (ideally we expect users won't do that), which 
will make it hard to differentiate the application from first sight in User 
Home.









Thanks,


HasithaT







-- 






Hasitha Weerasinghe

Software Engineer Intern - WSO2 
Mobile : +94 776 33 6626
Email  :  hasit...@wso2.com









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




-- 





Thanks and Regards,

Punnadi Gunarathna

Senior Software Engineer, 
WSO2, Inc.; http://wso2.com
Blog: http://hi-my-world.blogspot.com/

Tel : 94 11 214 5345

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


Re: [Dev] [App Factory] How to retrieve SAML Response (SAML_TOKEN) for Integration tests

2015-05-05 Thread danushkaf
AFAIK there is no SAML protocol. We are always using SSL protocol. And the 
exception you mentioned is caused because client don’t trust the server.

In SSL there is one way SSL and two way SSL or mutual SSL. This is about one 
way SSL where client needs to trust the server. Since in default packs we have 
self signed certs we can get rid of the exception by using the java system 
property.






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





From: Punnadi Gunarathna
Sent: ‎Tuesday‎, ‎May‎ ‎5‎, ‎2015 ‎1‎:‎17‎ ‎PM
To: Danushka Fernando
Cc: WSO2 Developers' List






Hi Danushka,


I think the problem is occurred while executing the SAML protocol, not with SSL 
protocol. So the solution would be to create a new cert and key pairs with the 
custom domain and import them to keystore/trust store in both server side (AF 
setup) and client side (Integration tests).



On Mon, May 4, 2015 at 3:14 PM, danush...@wso2.com wrote:




For the ssl exception can’t you add system properties for truststore and 
truststore password in client side (automation test) ?






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





From: Punnadi Gunarathna
Sent: ‎Monday‎, ‎May‎ ‎4‎, ‎2015 ‎12‎:‎34‎ ‎PM
To: WSO2 Developers' List















Hi All,


In order to write integration tests related to API Manger calls, It requires to 
get the SAML_TOKEN as we have used SAML_TOKEN for login to API Manager in 
APIManagerIntegrationService.
I had a offline chat with Dinusha and Lakmali and they provided me a code 
sample which does that with the code [1].


Simply what happens in the code is that:

1. First talk to sso app's login page and retrieve the  sessionDataKey
2. Then do a call to commonauth endpoint with sessionDataKey, tenant username 
and password. This results the SAML Response. 

An easy way to try this scenario with App Factory from the browser is as 
follows:


Prerequisites:


Up and running App Factory setup with a working tenant (say ad...@abc.com/admin)





1. Simply visit the AF login page and copy paste the full url to a notepad as 
follows:
https://apps.appfactory.private.wso2.com:9443/carbon/appfactory/login_ajaxprocessor.jsp?SAMLRequest=PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHNhbWwycDpBdXRoblJlcXVlc3QgSUQ9ImNvbG5iYW9jbGxla21jbWJhYWNtZ2xkampjbWZubmRjY21jZ2RoamIiIElzc3VlSW5zdGFudD0iMjAxNS0wNS0wNFQwNjo1NDo1Ny42ODFaIiBWZXJzaW9uPSIyLjAiIHhtbG5zOnNhbWwycD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOnByb3RvY29sIj48c2FtbDI6SXNzdWVyIHhtbG5zOnNhbWwyPSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6YXNzZXJ0aW9uIj5BUFBGQUNUT1JZPC9zYW1sMjpJc3N1ZXI+PHNhbWwycDpOYW1lSURQb2xpY3kgQWxsb3dDcmVhdGU9InRydWUiIEZvcm1hdD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOm5hbWVpZC1mb3JtYXQ6ZW50aXR5Ii8+PC9zYW1sMnA6QXV0aG5SZXF1ZXN0Pg==issuer=APPFACTORYsessionDataKey=2bf27df8-44c7-4bfd-984a-96b59ad4dad6type=samlssocommonAuthCallerPath=..%2F..%2FsamlssoforceAuthenticate=true



2. Just extract the sessionDataKey with value from 1 and create the below URL.
https://apps.appfactory.private.wso2.com:9443/commonauth?sessionDataKey=2bf27df8-44c7-4bfd-984a-96b59ad4dad6username=ad...@abc.compassword=admin



3. Now just paste it in the browser and hit enter, This will log you in. From 
FireBug you can see thatSAMLResponse has received as the response.



When I try to use the same code, I came across few issues:

For me, just passing the login page didn't result sessionDataKey value. When I 
passed the login url, I was able to retrieve SAML Request,RelayState and 
SSOAuthSessionID.

Then I did a second call and got the sessionDataKey value.

Moreover the integration tests were run from my machine and AF setup is in 
another machine. So I got the below issue.
javax.net.ssl.SSLException: hostname in certificate didn't match: 
apps.appfactory.private.wso2.com != localhost

I was able to fix it by creating and adding a certificate for 
apps.appfactory.private.wso2.com domain name in both client side and server 
side.


But now I am getting some errors while I try to create tenants with new 
certificate. I will look into it further.





[1] 
https://github.com/wso2/carbon-appmgt/blob/master/components/appmgt/org.wso2.carbon.appmgt.sample.deployer/src/main/java/org/wso2/carbon/appmgt/sample/deployer/appcontroller/WebpageAccessor.java














-- 





Thanks and Regards,

Punnadi Gunarathna

Senior Software Engineer, 
WSO2, Inc.; http://wso2.com
Blog: http://hi-my-world.blogspot.com/

Tel : 94 11 214 5345

Fax :94 11 2145300 









-- 





Thanks and Regards,

Punnadi Gunarathna

Senior Software Engineer, 
WSO2, Inc.; http://wso2.com
Blog: http://hi-my-world.blogspot.com/

Tel : 94 11 214 5345

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


Re: [Dev] [App Factory] How to retrieve SAML Response (SAML_TOKEN) for Integration tests

2015-05-04 Thread danushkaf
For the ssl exception can’t you add system properties for truststore and 
truststore password in client side (automation test) ?






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





From: Punnadi Gunarathna
Sent: ‎Monday‎, ‎May‎ ‎4‎, ‎2015 ‎12‎:‎34‎ ‎PM
To: WSO2 Developers' List













Hi All,


In order to write integration tests related to API Manger calls, It requires to 
get the SAML_TOKEN as we have used SAML_TOKEN for login to API Manager in 
APIManagerIntegrationService.
I had a offline chat with Dinusha and Lakmali and they provided me a code 
sample which does that with the code [1].


Simply what happens in the code is that:

1. First talk to sso app's login page and retrieve the  sessionDataKey
2. Then do a call to commonauth endpoint with sessionDataKey, tenant username 
and password. This results the SAML Response. 

An easy way to try this scenario with App Factory from the browser is as 
follows:


Prerequisites:


Up and running App Factory setup with a working tenant (say ad...@abc.com/admin)





1. Simply visit the AF login page and copy paste the full url to a notepad as 
follows:
https://apps.appfactory.private.wso2.com:9443/carbon/appfactory/login_ajaxprocessor.jsp?SAMLRequest=PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHNhbWwycDpBdXRoblJlcXVlc3QgSUQ9ImNvbG5iYW9jbGxla21jbWJhYWNtZ2xkampjbWZubmRjY21jZ2RoamIiIElzc3VlSW5zdGFudD0iMjAxNS0wNS0wNFQwNjo1NDo1Ny42ODFaIiBWZXJzaW9uPSIyLjAiIHhtbG5zOnNhbWwycD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOnByb3RvY29sIj48c2FtbDI6SXNzdWVyIHhtbG5zOnNhbWwyPSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6YXNzZXJ0aW9uIj5BUFBGQUNUT1JZPC9zYW1sMjpJc3N1ZXI+PHNhbWwycDpOYW1lSURQb2xpY3kgQWxsb3dDcmVhdGU9InRydWUiIEZvcm1hdD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOm5hbWVpZC1mb3JtYXQ6ZW50aXR5Ii8+PC9zYW1sMnA6QXV0aG5SZXF1ZXN0Pg==issuer=APPFACTORYsessionDataKey=2bf27df8-44c7-4bfd-984a-96b59ad4dad6type=samlssocommonAuthCallerPath=..%2F..%2FsamlssoforceAuthenticate=true



2. Just extract the sessionDataKey with value from 1 and create the below URL.
https://apps.appfactory.private.wso2.com:9443/commonauth?sessionDataKey=2bf27df8-44c7-4bfd-984a-96b59ad4dad6username=ad...@abc.compassword=admin



3. Now just paste it in the browser and hit enter, This will log you in. From 
FireBug you can see thatSAMLResponse has received as the response.



When I try to use the same code, I came across few issues:

For me, just passing the login page didn't result sessionDataKey value. When I 
passed the login url, I was able to retrieve SAML Request,RelayState and 
SSOAuthSessionID.

Then I did a second call and got the sessionDataKey value.

Moreover the integration tests were run from my machine and AF setup is in 
another machine. So I got the below issue.
javax.net.ssl.SSLException: hostname in certificate didn't match: 
apps.appfactory.private.wso2.com != localhost

I was able to fix it by creating and adding a certificate for 
apps.appfactory.private.wso2.com domain name in both client side and server 
side.


But now I am getting some errors while I try to create tenants with new 
certificate. I will look into it further.





[1] 
https://github.com/wso2/carbon-appmgt/blob/master/components/appmgt/org.wso2.carbon.appmgt.sample.deployer/src/main/java/org/wso2/carbon/appmgt/sample/deployer/appcontroller/WebpageAccessor.java














-- 





Thanks and Regards,

Punnadi Gunarathna

Senior Software Engineer, 
WSO2, Inc.; http://wso2.com
Blog: http://hi-my-world.blogspot.com/

Tel : 94 11 214 5345

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


Re: [Dev] [AppFac] Access AppFactory REST API

2015-05-01 Thread danushkaf
Hi Punnadi

It returned false. Which means login is not successful.

And further use the -c cookies in login command and use -b cookies in others 
and you don’t have to worry about session details in that way.






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





From: Punnadi Gunarathna
Sent: ‎Friday‎, ‎May‎ ‎1‎, ‎2015 ‎9‎:‎24‎ ‎PM
To: Fathima Dilhasha
Cc: WSO2 Developers' List





Hi Fathima,

I think your login is successful. Use the jsessionid to see invoke rest of the 
curl commands.

On May 1, 2015 8:48 PM, Fathima Dilhasha dilhasha@gmail.com wrote:








Hi,


I cannot seem to access the public cloud using the curl command for login.

The curl command I'm using is as follows.

curl -v  -X POST -k 
https://apps.cloud.wso2.com/appmgt/site/blocks/user/login/ajax/login.jag -d 
'action=loginuserName=dilha...@wso2.compassword=***'


Following is the result of that command.

* Hostname was NOT found in DNS cache
*   Trying 54.209.187.16...
* Connected to apps.cloud.wso2.com (54.209.187.16) port 443 (#0)
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server key exchange (12):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, Client key exchange (16):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSL connection using ECDHE-RSA-AES256-GCM-SHA384
* Server certificate:
*  subject: C=US; ST=California; L=Palo Alto; O=WSO2, Inc.; 
CN=*.cloud.wso2.com
*  start date: 2014-05-23 00:00:00 GMT
*  expire date: 2015-05-27 12:00:00 GMT
*  issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert High 
Assurance CA-3
*  SSL certificate verify ok.
 POST /appmgt/site/blocks/user/login/ajax/login.jag HTTP/1.1
 User-Agent: curl/7.35.0
 Host: apps.cloud.wso2.com
 Accept: */*
 Content-Length: 65
 Content-Type: application/x-www-form-urlencoded
 
* upload completely sent off: 65 out of 65 bytes
 HTTP/1.1 200 OK
* Server nginx/1.4.6 (Ubuntu) is not blacklisted
 Server: nginx/1.4.6 (Ubuntu)
 Date: Fri, 01 May 2015 15:15:51 GMT
 Content-Type: text/html
 Content-Length: 6
 Connection: keep-alive
 Set-Cookie: JSESSIONID=D0339EB190F95BF7145678E3CBB0B4DB; Path=/appmgt/; 
Secure; HttpOnly
 
false
* Connection #0 to host apps.cloud.wso2.com left intact


What have I got wrong?

Thanks.
Regards,
Dilhasha






Fathima Dilhasha Nazeer (M.N.F.Dilhasha)
Undergraduate | Department of Computer Science and Engineering
University of Moratuwa
Sri Lanka



On Fri, May 1, 2015 at 8:19 PM, Fathima Dilhasha dilha...@wso2.com wrote:





Hi,


Thank you Mahesh and Samith.

Regards,
Dilhasha









M.N.F. Dilhasha


 Software Engineering Intern | WSO2 Inc.



email   : dilha...@wso2.com
mobile : +94 77 8449321




On Fri, May 1, 2015 at 8:17 PM, Samith Dassanayake sam...@wso2.com wrote:


Hi Dilhasha,



You can find the REST API and sample curl commands in [1].




[1] https://docs.wso2.com/display/AF210/REST+APIs




Regards,

Samith



On Fri, May 1, 2015 at 8:11 PM, Fathima Dilhasha dilhasha@gmail.com wrote:






Hi,


I am trying to do $subject. Can someone share curl commands that I can use to 
access the REST API for App Factory?


Thanks.


Regards,


Dilhasha













Fathima Dilhasha Nazeer (M.N.F.Dilhasha)
Undergraduate | Department of Computer Science and Engineering
University of Moratuwa
Sri Lanka


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






-- 






Best Regards




Samith Dassanayake

Software Engineer | Cloud TG 

WSO2, Inc. | http://wso2.com 

lean. enterprise. middleware 




Mobile : +947 76207351




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


Re: [Dev] [AppFac] Access AppFactory REST API

2015-05-01 Thread danushkaf
Hi

Can you login to the cloud with same username and password?






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





From: Fathima Dilhasha
Sent: ‎Friday‎, ‎May‎ ‎1‎, ‎2015 ‎8‎:‎48‎ ‎PM
To: Fathima Dilhasha
Cc: WSO2 Developers' List











Hi,


I cannot seem to access the public cloud using the curl command for login.

The curl command I'm using is as follows.

curl -v  -X POST -k 
https://apps.cloud.wso2.com/appmgt/site/blocks/user/login/ajax/login.jag -d 
'action=loginuserName=dilha...@wso2.compassword=***'


Following is the result of that command.

* Hostname was NOT found in DNS cache
*   Trying 54.209.187.16...
* Connected to apps.cloud.wso2.com (54.209.187.16) port 443 (#0)
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server key exchange (12):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, Client key exchange (16):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSL connection using ECDHE-RSA-AES256-GCM-SHA384
* Server certificate:
*  subject: C=US; ST=California; L=Palo Alto; O=WSO2, Inc.; 
CN=*.cloud.wso2.com
*  start date: 2014-05-23 00:00:00 GMT
*  expire date: 2015-05-27 12:00:00 GMT
*  issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert High 
Assurance CA-3
*  SSL certificate verify ok.
 POST /appmgt/site/blocks/user/login/ajax/login.jag HTTP/1.1
 User-Agent: curl/7.35.0
 Host: apps.cloud.wso2.com
 Accept: */*
 Content-Length: 65
 Content-Type: application/x-www-form-urlencoded
 
* upload completely sent off: 65 out of 65 bytes
 HTTP/1.1 200 OK
* Server nginx/1.4.6 (Ubuntu) is not blacklisted
 Server: nginx/1.4.6 (Ubuntu)
 Date: Fri, 01 May 2015 15:15:51 GMT
 Content-Type: text/html
 Content-Length: 6
 Connection: keep-alive
 Set-Cookie: JSESSIONID=D0339EB190F95BF7145678E3CBB0B4DB; Path=/appmgt/; 
Secure; HttpOnly
 
false
* Connection #0 to host apps.cloud.wso2.com left intact


What have I got wrong?

Thanks.
Regards,
Dilhasha






Fathima Dilhasha Nazeer (M.N.F.Dilhasha)
Undergraduate | Department of Computer Science and Engineering
University of Moratuwa
Sri Lanka



On Fri, May 1, 2015 at 8:19 PM, Fathima Dilhasha dilha...@wso2.com wrote:





Hi,


Thank you Mahesh and Samith.

Regards,
Dilhasha









M.N.F. Dilhasha


 Software Engineering Intern | WSO2 Inc.



email   : dilha...@wso2.com
mobile : +94 77 8449321




On Fri, May 1, 2015 at 8:17 PM, Samith Dassanayake sam...@wso2.com wrote:


Hi Dilhasha,



You can find the REST API and sample curl commands in [1].




[1] https://docs.wso2.com/display/AF210/REST+APIs




Regards,

Samith



On Fri, May 1, 2015 at 8:11 PM, Fathima Dilhasha dilhasha@gmail.com wrote:






Hi,


I am trying to do $subject. Can someone share curl commands that I can use to 
access the REST API for App Factory?


Thanks.


Regards,


Dilhasha













Fathima Dilhasha Nazeer (M.N.F.Dilhasha)
Undergraduate | Department of Computer Science and Engineering
University of Moratuwa
Sri Lanka


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






-- 






Best Regards




Samith Dassanayake

Software Engineer | Cloud TG 

WSO2, Inc. | http://wso2.com 

lean. enterprise. middleware 




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


Re: [Dev] [AF] Remove the OSGIness of ApplicationManagementService

2015-03-29 Thread danushkaf
Guys

No one is stopping changing the BPELs. I don't like the idea of keeping it 
because bpels are using it. Who said you cannot change the bpels. If  you are 
saying this is a soap api for users +1. But -1 for the idea that it’s used by 
the bpels reasoning.






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





From: Mahesh Chinthaka
Sent: ‎Sunday‎, ‎March‎ ‎29‎, ‎2015 ‎11‎:‎09‎ ‎AM
To: Punnadi Gunarathna
Cc: WSO2 Developers' List





Hi Asanka, 
we cannot just deprecate that service at the moment since BPELs are using it. 
If we do, we have to change BPELs and other stuff where its going to be a huge 
refactoring :)



On Sat, Mar 28, 2015 at 11:28 PM, Punnadi Gunarathna punn...@wso2.com wrote:


Hi,

And of course the BPELs will invoke the methods in ApplicationManagementService.




Hi Asanka,



Think of a scenario where jenkins plugin or other service which is hosted 
outside AF runtime wanted to perform Application operations; then exposing them 
as a web service is the way. I think that's the rationale behind making 
ApplicationManagementService  a SOAP one.




Regards,

Anuruddha.



On Sat, Mar 28, 2015 at 10:37 AM, Asanka Dissanayake asan...@wso2.com wrote:




Yes ,Punnadi. I get the point that all the methods are moved to 
ApplicationInfoService.Given that all the methods are moved to 
ApplicationInfoService and whoever wants to consume those methods can use 
ApplicationInfoService.

But why ApplicationManagementService is going to be a SOAP service, if all the 
methods were in this class moved to another class why can't it cannot just 
deprecated ? What is the goal trying to achieve by making it only a SOAP 
service.










On Sat, Mar 28, 2015 at 1:27 PM, Punnadi Gunarathna punn...@wso2.com wrote:


Hi Asanka,

Yes, ApplicationManagementService will become a simple axis2 device and it's 
osginess will be removed. Why we needed this refactoring is, currently it 
contains large number of the methods despite their actual place. We have a 
separate class called ApplicationInfoService, which should contain all the 
application specific methods and  ApplicationUserMgtService which should 
contain the user specific methods. Those classes are OSGi services.



On Mar 28, 2015 9:25 PM, Mahesh Chinthaka mahe...@wso2.com wrote:


Hi Asanka,



This is not reverting back what was done early. These methods will be called 
via OSGI calls in future too.

Only change will be these methods will be moved from 
ApplicationManagementService to ApplicationInfoService.

So no osgi methods will be available in ApplicationManagementService. Instead 
all application related osgi methods will be in ApplicationInfoService.




Did I clear your doubt ?



On Sat, Mar 28, 2015 at 9:13 PM, Asanka Dissanayake asan...@wso2.com wrote:



Hi Mahesh,

Please find my comments inline.



On Wed, Mar 18, 2015 at 10:58 AM, Mahesh Chinthaka mahe...@wso2.com wrote:


Hi all,
Im working on [a]




At the moment we have 

1. ApplicationManagementService

2. ApplicationInfoService

3. ApplicationUserMgtService




All the tasks/methods that UI needs to do related with users will be in 
ApplicationUserMgtService (IMO ideally this service should be renamed as 
UserManagementService).

All the tasks/methods that UI needs to related with applications will be in 
ApplicationInfoService.

+1 for refactoring the names







At the moment ApplicationManagementService has both user related tasks as well 
as application related tasks.

What I'm going to do is identify those methods and move accordingly to either 
ApplicationUserMgtService or ApplicationInfoService. In that way 
ApplicationManagementService will no longer be a osgi service and it will only 
be a soap service.

Could you please explain the rationale behind the decision of removing the 
OSGInes ? AFAIK, these services are called by Jaggery App and some other 
components too.
 AFAIR, we did a refactoring once in Jaggery App , removing all the web service 
calls and made them OSGI service calls .Reason behind that was, when there is a 
web service call it consumes a 1 thread in the connection pool just to call to 
a service in the same server. So we did that to save some connections and call 
something that is available during the runtime.



What is the reason to revert that back ? Is that something related to 
clustering?








Here are the methods that I have identified,





[1] - getApplication(applicationKey)

[2] - deleteApplication(applicationKey)

[3] - getApplicationUrl(applicationKey, version, stage, tenantDomain);

[4] - getApplicationStatus(applicationKey, version, stage, tenantDomain);

[5] - 
getAllVersionsOfApplicationPerUser(modManager.getTenantDomain(),applicationKey, 
userName);

[6] - getAllVersionsOfApplication(tenantDomain, applicationKey);

[7] - getBuildandDelpoyedStatus(applicationKey,tenantDomain,version);

[8] - updateRxtWithPromoteState(appKey,nextStage,version,Promote,state);

[9] - 

Re: [Dev] [AppFactory] Error-SAML response signature verification failed

2015-03-24 Thread danushkaf
Did you tried creating another tenant. Could be an issue with the  tenant.






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





From: Fathima Dilhasha
Sent: ‎Tuesday‎, ‎March‎ ‎24‎, ‎2015 ‎4‎:‎23‎ ‎PM
To: WSO2 Developers' List





Hi,



I am redirected to error.jag page after I log into any tenant on the AppFactory 
deployment on 192.168.57.4. 




The server logs state a SAML related error as follows. 





TID: [0] [AF] [2015-03-24 10:32:33,753] ERROR {JAGGERY.jagg.jaggery_acs:jag} -  
SAML response signature is verification failed. {JAGGERY.jagg.jaggery_acs:jag}




I tried removing the patches I added and also restarted the whole set up. But 
the error seems to be there still.




What can be the issue?




Thanks,

Regards,

Dilhasha








M.N.F. Dilhasha


 Software Engineering Intern | WSO2 Lanka



email   : dilha...@wso2.com
mobile : +94 77 8449321___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Thread.sleep() equivalent in Jaggery

2015-03-24 Thread danushkaf
Hi Senduran

Can you share the code segment you tried?


[1] http://www.w3schools.com/js/js_timing.asp






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





From: Senduran Balasubramaniyam
Sent: ‎Tuesday‎, ‎March‎ ‎24‎, ‎2015 ‎11‎:‎15‎ ‎PM
To: Mahesh Chinthaka
Cc: WSO2 Developers' List





Thanks Mahesh, 



When I gave a function and the time delay to setTimeout() it didn't work for 
me. The function didn't wait for the time delay I passed, instead it executed 
immediately.  




I totally forgot we can simply use java methods in Jaggery. It works fine.





Thanks again



On Tue, Mar 24, 2015 at 10:44 PM, Mahesh Chinthaka mahe...@wso2.com wrote:


Hi Senduran,
What are the difficulties u faced with using setTimeOut()  ?




AFAIK this should work since we have the Rhino support in jaggery,





java.lang.Thread.sleep(timeInMilliseconds);







Thanks





On Tue, Mar 24, 2015 at 10:27 PM, Senduran Balasubramaniyam sendu...@wso2.com 
wrote:





Hi 



What is a best option for $subject ? 

I tried the setTimeout() but doesn't seem much helpful




Thanks

Senduran 



-- 




Senduran 

Software Engineer,

WSO2, Inc.;  http://wso2.com/

Mobile: +94 77 952 6548

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






-- 


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






-- 




Senduran 

Software Engineer,

WSO2, Inc.;  http://wso2.com/

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


Re: [Dev] Is there an easier way to find the feature of a particular jar coming from?

2015-03-20 Thread danushkaf
Sorry for being less descriptive. If you go to 
$CARBON_HOME/repository/components/features and run grep -lr bundle name it 
will return the feature that includes the bundle. That's easier than an osgi 
command isn’t it.  For an osgi command you need to start the server. 






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





From: Punnadi Gunarathna
Sent: ‎Saturday‎, ‎March‎ ‎21‎, ‎2015 ‎4‎:‎39‎ ‎AM
To: Danushka Fernando
Cc: WSO2 Developers' List





and of course pom files+  features.xml




On Sat, Mar 21, 2015 at 4:38 AM, Punnadi Gunarathna punn...@wso2.com wrote:


Hi Danushka,

I meant by going through pom files is grep. Sorry for confusion. I asked for a 
quicker command such as in osgiConsole.






On Fri, Mar 20, 2015 at 7:54 PM, danush...@wso2.com wrote:




You can grep in product features.






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





From: Punnadi Gunarathna
Sent: ‎Friday‎, ‎March‎ ‎20‎, ‎2015 ‎3‎:‎33‎ ‎PM
To: WSO2 Developers' List












Hi All,

Rather than going through pom files, is there a better and quick way to do 
$subject. 
If so please let me know.





-- 





Thanks and Regards,

Punnadi Gunarathna

Senior Software Engineer, 
WSO2, Inc.; http://wso2.com
Blog: http://hi-my-world.blogspot.com/

Tel : 94 11 214 5345

Fax :94 11 2145300 









-- 





Thanks and Regards,

Punnadi Gunarathna

Senior Software Engineer, 
WSO2, Inc.; http://wso2.com
Blog: http://hi-my-world.blogspot.com/

Tel : 94 11 214 5345

Fax :94 11 2145300 









-- 





Thanks and Regards,

Punnadi Gunarathna

Senior Software Engineer, 
WSO2, Inc.; http://wso2.com
Blog: http://hi-my-world.blogspot.com/

Tel : 94 11 214 5345

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


Re: [Dev] Is there an easier way to find the feature of a particular jar coming from?

2015-03-20 Thread danushkaf
You can grep in product features.






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





From: Punnadi Gunarathna
Sent: ‎Friday‎, ‎March‎ ‎20‎, ‎2015 ‎3‎:‎33‎ ‎PM
To: WSO2 Developers' List










Hi All,

Rather than going through pom files, is there a better and quick way to do 
$subject. 
If so please let me know.





-- 





Thanks and Regards,

Punnadi Gunarathna

Senior Software Engineer, 
WSO2, Inc.; http://wso2.com
Blog: http://hi-my-world.blogspot.com/

Tel : 94 11 214 5345

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