[Dev] Fixing msf4j feature to work in an OSGi environment

2016-04-27 Thread Hasitha Aravinda
Hi Sameera and Azeez, Shall we merge PR [1], since it is blocker for C5 based BPS development. I have locally verified the fix. [1] - https://github.com/wso2/msf4j/pull/167 ​Thanks, Hasitha. ​ -- -- Hasitha Aravinda, Senior Software Engineer, WSO2 Inc. Email: hasi...@wso2.com Mobile : +94 718

Re: [Dev] [AppM] Response field filter for REST API

2016-04-27 Thread Jenananthan Yogendran
Why don't you use *field_filter=MANDATORY * instead of using *field_filter=TOUCH , * Where *MANDATORY * should return the attributes which are mandatory while creating an app ? On Thu, Apr 28, 2016 at 11:18 AM, Lahiru Cooray wrote: > Hi Rushmin, > It's just a term which gives

Re: [Dev] [AppM] Response field filter for REST API

2016-04-27 Thread Lahiru Cooray
Hi Rushmin, It's just a term which gives a similar meaning for our requirement. Please share if there are any better/standard terms. On Thu, Apr 28, 2016 at 11:06 AM, Rushmin Fernando wrote: > @Dilshan : Lahiru is talking about the amount of the information in one > object

[Dev] WSO2 Committers += Nipuna Chandradasa

2016-04-27 Thread Sinthuja Ragendran
Hi all, It's my pleasure to welcome Nipuna Chandradasa as WSO2 committer. Nipuna is a key member of dashboard server team, and has contributed a lot to the DS 2.0.0 release including doing the performance test. Hence in recognition of his contributions, ownership shown towards the tasks and

Re: [Dev] [AppM] Response field filter for REST API

2016-04-27 Thread Lahiru Cooray
Hi Dilshan, Yes we have followed the offset/limit approach to limit the response length (eg: no of apps returned) But here our requirement is to limit the data/field in response (eg: attributes of an app) On Thu, Apr 28, 2016 at 11:03 AM, Dilshan Edirisuriya wrote: > As

Re: [Dev] [AppM] Response field filter for REST API

2016-04-27 Thread Rushmin Fernando
@Dilshan : Lahiru is talking about the amount of the information in one object (e.g. whether we return all the fields of a mobile app or few fields) @Lahiru : From where does the term "TOUCH" come from ? On Thu, Apr 28, 2016 at 11:03 AM, Dilshan Edirisuriya wrote: > As in

Re: [Dev] [AppM] Response field filter for REST API

2016-04-27 Thread Dilshan Edirisuriya
As in other products[1] why don't you follow the limit offset approach? It has to be consistent among the platform? [1] - https://github.com/wso2/product-emm/blob/master/modules/apps/jax-rs/mdm-admin/src/main/java/org/wso2/carbon/mdm/api/Operation.java Regards, Dilshan On 28 April 2016 at

[Dev] [AppM] Response field filter for REST API

2016-04-27 Thread Lahiru Cooray
Hi, We are currently implementing REST API for AppM and we need to introduce a response field filter to limit the response(fields). So I propose to use the a query param, *?field_filter=TOUCH* (returns basic data which is default) and *?field_filter=ALL* (returns complete dataset). Please share

Re: [Dev] Handling non-OSGi JARs within dropins capability

2016-04-27 Thread Chiranga Alwis
Hi Manuranga, in addition to the above checks in relation with filtering out non-OSGi bundles, in order to access the JAR file Manifest to retrieve the required Manifest headers, I am using java.util.jar.JarFile class. The

Re: [Dev] Handle Exceptions during OSGI service registration

2016-04-27 Thread Fathima Dilhasha
Hi Thusitha, So, our purpose is to catch any exception, error raising from active method of the bundle and thus ensuring the normal flow of the OSGI framework and the server. That makes sense. Thanks. Dilhasha On Wed, Apr 27, 2016 at 11:17 PM, Thusitha Thilina Dayaratne < thusit...@wso2.com>

Re: [Dev] Fwd: [IS] Missing requirement in building product-is from source

2016-04-27 Thread Manujith Pallewatte
Hi Chamila, I tried with maven 3.3 also with maven 3.0.5 as mentioned in the requirements I build product-is only before in a windows environment, with no issues, but it didn't work in the current (ubuntu 16.04) environment >From the link above[1] i have all prerequisites other than svn, since I

[Dev] WSO2 API Manager 2.0.0-ALPHA Released!

2016-04-27 Thread Bhathiya Jayasekara
*WSO2 API Manager 2.0.0-ALPHA Released!* WSO2 API Manager team is pleased to announce WSO2 API Manager 2.0.0-ALPHA release. Download distribution here . This release comes with following new features, bug fixes and

Re: [Dev] [DEV] [ESB] [LDAP Connector] SSL connection (port 636)

2016-04-27 Thread Malaka Silva
Hi Willian, Please report the issue in [1]. Our team will follow it. [1] https://wso2.org/jira/browse/ESBCONNECT On Thu, Apr 28, 2016 at 12:44 AM, Willian Antunes < willian.lima.antu...@gmail.com> wrote: > Hello community, > > I can connect smoothly using port 389 through LDAP Connector. There

[Dev] Fwd: Deployment fails when deploying s3 connector from store

2016-04-27 Thread Malaka Silva
Hi Keerthika, Did you experience this while testing the s3 connector? Can we upload a stable version to the store after verification is done. -- Forwarded message -- From: Rajjaz Mohammed Date: Wed, Apr 27, 2016 at 11:06 PM Subject: Deployment fails when

[Dev] [DEV] [ESB] [LDAP Connector] SSL connection (port 636)

2016-04-27 Thread Willian Antunes
Hello community, I can connect smoothly using port 389 through LDAP Connector. There is no restrictions in a scenario where my route engine uses a non-secure port, but as far as I can see the component does not support SSL connection (as informed in the links below). Is it true? - Component

Re: [Dev] Handle Exceptions during OSGI service registration

2016-04-27 Thread Thusitha Thilina Dayaratne
Hi Fathima, AFAIK that is because, when an exception get thrown inside the active method of a particular component( and if we don;t catch it), it will raise to the system level and cause the OSGi framework stops the startup process. Thanks Thusitha On Wed, Apr 27, 2016 at 4:53 AM, Fathima

Re: [Dev] Strange error that I encounter

2016-04-27 Thread Manuranga Perera
That will work ,but since it's a "busy loop", better to use a sleep instead. eg: java.lang.Thread.sleep(1000); This works because you can write java inside Jaggery. On Wed, Apr 27, 2016 at 12:19 PM, Nalin Sugathapala wrote: > Hi Manu, > > I actually want it to run

Re: [Dev] [appcloud] Unable to connect to Docker Client from local set up

2016-04-27 Thread Kasun De Silva
Hi Sabra, No all the appcloud kubernetes nodes are not exposed through vpn. We had this concern before as well. Anyway we should get it exposed. On Wed, Apr 27, 2016 at 10:40 AM, Sabra Ossen wrote: > Hi Kasun, > > I got the necessary values from the team for the app cloud

Re: [Dev] [appcloud] Unable to connect to Docker Client from local set up

2016-04-27 Thread Kasun De Silva
I meat internal appcloud kubernetes nodes. On Wed, Apr 27, 2016 at 10:48 AM, Kasun De Silva wrote: > Hi Sabra, > > No all the appcloud kubernetes nodes are not exposed through vpn. We had > this concern before as well. Anyway we should get it exposed. > > On Wed, Apr 27, 2016

Re: [Dev] [appcloud] Unable to connect to Docker Client from local set up

2016-04-27 Thread Sabra Ossen
Hi Kasun, I got the necessary values from the team for the app cloud internal docker registry and docker client. But I think the issue occurred because I was trying to access the docker registry and kubernetes cluster outside of the wso2 network. I connected through the vpn but still there was no

[Dev] Fwd: [IS] Missing requirement in building product-is from source

2016-04-27 Thread Chamila Wijayarathna
[adding dev] identity-framework should build without any issues, what is the maven version you are using? Can you check if you have all the requirement mentioned at [1] for building the identity server from source code. Was this building successfully previously? [1].

Re: [Dev] Handling non-OSGi JARs within dropins capability

2016-04-27 Thread Manuranga Perera
> > no *other *file(s) will be written to the bundles.info file of the > particular profile, thus will not be picked up by the Carbon server. > Any reason why not only faulty bundle is ignored ? -- With regards, *Manu*ranga Perera. phone : 071 7 70 20 50 mail : m...@wso2.com

Re: [Dev] carbon-registry 4.5.5-alpha released to staging

2016-04-27 Thread Maheshika Goonetilleke
Hi Thushara Staged https://maven.wso2.org/nexus/content/repositories/orgwso2carbonregistry-1003/ On Wed, Apr 27, 2016 at 6:29 PM, Thushara Ranawaka wrote: > Hi Build team, > > Please close this and provide the repo URL > > -- > Thanks, > Thushara Kasun Ranawaka > Software

[Dev] carbon-registry 4.5.5-alpha released to staging

2016-04-27 Thread Thushara Ranawaka
Hi Build team, Please close this and provide the repo URL -- Thanks, Thushara Kasun Ranawaka Software Engineer WSO2 Inc.; lean.enterprise.middleware Mobile : *+94 (0) 773438949* *thusha...@wso2.com * ___ Dev

Re: [Dev] carbon-dashboard 1.0.16 released to staging

2016-04-27 Thread Lasantha Samarakoon
Hi Jayanga, Verified the repo. Please go ahead and release. Regards, *Lasantha Samarakoon* | Software Engineer WSO2, Inc. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 (71) 214 1576 Email: lasant...@wso2.com Web:www.wso2.com lean . enterprise . middleware On Wed, Apr 27, 2016 at

[Dev] Handle Exceptions during OSGI service registration

2016-04-27 Thread Fathima Dilhasha
Hi, I am developing a tool which requires an OSGI service to be registered. I am trying to handle any exceptions occurring at the registration of service. (Refer the following code snippet) .. try { ... bundleContext.registerService(RoleMgtConfiguration.class.getName(), configuration,

[Dev] WSO2 Carbon JNDI 1.0.0-Alpha Released

2016-04-27 Thread Nipuni Perera
WSO2 Carbon JNDI 1.0.0-Alpha Released ​ The Carbon team is pleased to announce the release of Carbon JNDI 1.0.0-Alpha. Listed below are the features introduced with this release. New Features - - OSGi URL scheme support that allows JNDI based applications to access services in the

Re: [Dev] [IS] Missing requirement in building product-is from source

2016-04-27 Thread Chamila Wijayarathna
Hi Manujith, It seems like your identity-framework or product-is is not upto date. Can you check what are the latest commits in both repos using git log and check if commits merged within last few days are there in your local repo? Thank You! On Wed, Apr 27, 2016 at 3:56 PM, Manujith

Re: [Dev] [DEV] [ESB] Change payload response (LDAP Connector)

2016-04-27 Thread Willian Antunes
I got it. As I was used to work with Apache Camel, I could you use something like below to change the data format: *from("file:wso2").marshal().xmljson().to("file:edglobo");* Thank you again! On Wed, Apr 27, 2016 at 7:54 AM, Malaka Silva wrote: > Hi Willian, > > ​ > No in

Re: [Dev] [APPM] Having configurable Mobile Application Categories

2016-04-27 Thread Dilshan Edirisuriya
You deal with generic app types like iOS, Android, Windows etc. I am not sure how its categories related to tenant unless that particular tenant comeup with their own app type. Regards, Dilshan On 27 April 2016 at 15:38, Ruwan Abeykoon wrote: > Hi Thilini, > >>But different

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-04-27 Thread Maheshakya Wijewardena
The error you see usually doesn't relate to a Java heap limit issue, but the OS actually running out of memory. Can you try closing every other process while building these products and make sure the memory usage is low or add more swap space[1]. Are you using open-jdk? If so, can you switch to

[Dev] Cannot build mediators created from the archetype on java 8

2016-04-27 Thread Omindu Rathnaweera
Hi, I'm getting errors when building the mediators created from the archetype [1] when there are java 8 specific syntaxes involved. Had to configure the maven-compiler-plugin manually in the pom to get the build working with java 8. I believe this should be fixed ? [1] -

[Dev] [IS] Missing requirement in building product-is from source

2016-04-27 Thread Manujith Pallewatte
Hi all, I'm trying to setup the development environment to start working for GSOC on the identity server, and I already downloaded and build the carbon-identity-framework repo along with the extensions as mentioned in [1] Now I'm trying to build product-is from source as well, to make sure I

Re: [Dev] [IS] NoClassDefFoundError: org/apache/rahas/TrustException when deploying PassiveSTSSampleApp

2016-04-27 Thread Malithi Edirisinghe
Hi Dilini, This is already being fixed [1]. Can you get the sample built from the master branch. [1] https://github.com/wso2/product-is/pull/473 Thanks, Malithi. On Wed, Apr 27, 2016 at 3:34 PM, Chamath Gunawardana wrote: > Hi Dilini, > > Can you please share the location

Re: [Dev] [IS] NoClassDefFoundError: org/apache/rahas/TrustException when deploying PassiveSTSSampleApp

2016-04-27 Thread Dilini Gunatilake
Downloaded the source code from [1] [1] https://github.com/wso2/product-is/releases/tag/v5.2.0-beta Regards, Dilini On Wed, Apr 27, 2016 at 3:34 PM, Chamath Gunawardana wrote: > Hi Dilini, > > Can you please share the location you go the sample war? This issue was > seen

Re: [Dev] [APPM] Having configurable Mobile Application Categories

2016-04-27 Thread Ruwan Abeykoon
Hi Thilini, >>But different app types have different categories. I do not see a reason to have different categories on different types in the store user perspective. Cheers, Ruwan On Wed, Apr 27, 2016 at 3:35 PM, Ruwan Abeykoon wrote: > Hi Dilshan, > >>Each mobile platform

Re: [Dev] Handling non-OSGi JARs within dropins capability

2016-04-27 Thread Chiranga Alwis
Hi, based on an off-line discussion, we decided to simply throw warnings within the getNewBundlesInfo method loop if any of the above mentioned issue(s) associated with a non-OSGi JAR is/are encountered. This effectively means unless a particular file added to the dropins folder is an OSGi JAR,

Re: [Dev] [APPM] Having configurable Mobile Application Categories

2016-04-27 Thread Ruwan Abeykoon
Hi Dilshan, >>Each mobile platform has different kind of application categories and application developers are familiar with those categories usually. I do not think tying up with platform categories is a good move. I feel that the categorisation is upto the customer(tenant) +1 for having

Re: [Dev] [IS] NoClassDefFoundError: org/apache/rahas/TrustException when deploying PassiveSTSSampleApp

2016-04-27 Thread Chamath Gunawardana
Hi Dilini, Can you please share the location you go the sample war? This issue was seen and was fixed. Thanks, Chamath On Wed, Apr 27, 2016 at 3:16 PM, Dilini Gunatilake wrote: > Hi IS team, > > I tried to deploy the PassiveSTSSampleApp which was built from >

Re: [Dev] [APPM] Having configurable Mobile Application Categories

2016-04-27 Thread Thilini Shanika
Hi Ruwan, Can we add this categorisation across all app types ? e.g. If someone searches for apps of "Finance" category all Web and Mobile apps related will show up. But different app types have different categories. So how can we maintain them as a common category set? If we are going to add

Re: [Dev] [APPM] Having configurable Mobile Application Categories

2016-04-27 Thread Ruwan Abeykoon
Hi All, +1 having in registry, if it allows runtime updates. Can we add this categorisation across all app types ? e.g. If someone searches for apps of "Finance" category all Web and Mobile apps related will show up. @Dinusha, I think Categories and Tags are orthogonal. i.e. Categories are a

Re: [Dev] [APPM] Having configurable Mobile Application Categories

2016-04-27 Thread Dilshan Edirisuriya
Hi Thilini, Each mobile platform has different kind of application categories and application developers are familiar with those categories usually. You could look at that from Android and iOS point of view from [1] and [2]. Even in iOS you can a secondary category as well. So if you are to

Re: [Dev] [APPM] Having configurable Mobile Application Categories

2016-04-27 Thread Rushmin Fernando
+1 for the registry approach since it supports multi tenancy. On Wed, Apr 27, 2016 at 3:16 PM, Jenananthan Yogendran wrote: > > > On Wed, Apr 27, 2016 at 3:06 PM, Thilini Shanika > wrote: > >> Hi all, >> >> In App Manager, we have mobile application

Re: [Dev] [APPM] Having configurable Mobile Application Categories

2016-04-27 Thread Dinusha Senanayaka
Do we need this further since we having tags for mobile apps now ? On Wed, Apr 27, 2016 at 3:16 PM, Jenananthan Yogendran wrote: > > > On Wed, Apr 27, 2016 at 3:06 PM, Thilini Shanika > wrote: > >> Hi all, >> >> In App Manager, we have mobile

[Dev] [IS] NoClassDefFoundError: org/apache/rahas/TrustException when deploying PassiveSTSSampleApp

2016-04-27 Thread Dilini Gunatilake
Hi IS team, I tried to deploy the PassiveSTSSampleApp which was built from product-is-5.2.0-beta repo and got the following exception. Seems like a dependency issue. SEVERE: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component

Re: [Dev] [APPM] Having configurable Mobile Application Categories

2016-04-27 Thread Jenananthan Yogendran
On Wed, Apr 27, 2016 at 3:06 PM, Thilini Shanika wrote: > Hi all, > > In App Manager, we have mobile application categorization based on below > four criteria. > >- Business >- Communication >- Finance >- Productivity > > But these categories are not available

[Dev] [APPM] Having configurable Mobile Application Categories

2016-04-27 Thread Thilini Shanika
Hi all, In App Manager, we have mobile application categorization based on below four criteria. - Business - Communication - Finance - Productivity But these categories are not available as a configurable option and currently we are having them as fixed values. But there is a

Re: [Dev] Retrieving an OSGi service from CarbonContext in C5

2016-04-27 Thread Rasika Perera
Hi All, It worked like a charm. We used the Non-OSGi approach to access the JNDI context. This is the way I did, added "org.wso2.carbon.jndi.feature" and you can get service instance with; Context context = new InitialContext(); Object serviceInstance =

Re: [Dev] [AppManager] Fully qualified name issue in SAML response

2016-04-27 Thread Dinusha Senanayaka
Hi Darshana, On Wed, Apr 27, 2016 at 12:28 PM, Darshana Gunawardana wrote: > > > On Tue, Apr 26, 2016 at 5:16 PM, Dinusha Senanayaka > wrote: > >> IS Team, >> >> Can you look into this issue please. This has broke the store/publisher >> tenant login (We are

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-04-27 Thread Mahesh Dananjaya
Hi suho, Thanl you for the information. In the initial build i used mvn "mvn clean install -Dmaven.test.skip=true", thats why i did not get errors.But this time i built with mvn clean build and i got some errors in test stage.i have already set up MAVEN_OPTS as MAVEN_OPTS="-Xms768m -Xms3072m

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-04-27 Thread Maheshakya Wijewardena
Hi Mahesh, As Suho mentioned, if you have successfully built with tests, then there shouldn't be an issue. However, in the error you've stated, it seems there's problem with carbon home: > CARBON_HOME environment variable is set to > /home/mahesh/GSOC/WSO2/product-cep/modules/distribution > Can

Re: [Dev] [DEV] [ESB] Change payload response (LDAP Connector)

2016-04-27 Thread Malaka Silva
Hi Willian, ​ No in this case​ since response from service (connector) is soap. Only when the m ​e​ ssage format is application/json throughout the flow json will be used internally. On Tue, Apr 26, 2016 at 7:57 PM, Willian Antunes < willian.lima.antu...@gmail.com> wrote: > Guys, > > Internally

[Dev] Getting java.lang.NoClassDefFoundError: org/wso2/carbon/governance/lcm/util/CommonUtil

2016-04-27 Thread Harsha Kumara
Hi All, We have installed MB features within APIM and getting this exception when APIM import/export tool has used. The reason for this issue was conflicting exports of commons-scxml_0.9.0.wso2v1 and commons-digester_1.8.1.wso2v1. The commons-scxml dependency is coming from the govenrance

Re: [Dev] carbon-dashboard 1.0.16 released to staging

2016-04-27 Thread Jayanga Dissanayake
Hi Udara, Previous repo is dropped as requested, and you can access the new repo via [1]. Please verify. [1] http://maven.wso2.org/nexus/content/repositories/orgwso2carbondashboards-1003/ Thanks, Jayanga. *Jayanga Dissanayake* Senior Software Engineer WSO2 Inc. - http://wso2.com/ lean .

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-04-27 Thread Sriskandarajah Suhothayan
If your build has passed, then it should not be an issue. When building the the tests should have ran. Is that so? please verify. During that server should have started and stopped. I think there is some issue in the way you have started the CEP. You should be able to build the products as you

Re: [Dev] [AppManager] Fully qualified name issue in SAML response

2016-04-27 Thread Omindu Rathnaweera
On Tue, Apr 26, 2016 at 5:16 PM, Dinusha Senanayaka wrote: > IS Team, > > Can you look into this issue please. This has broke the store/publisher > tenant login (We are using identity-5.0.9-SNAPSHOT versions). > > - How to set fully qualified name when registering SP from

Re: [Dev] [Kubernetes] Using MySQL as the Default DB for WSO2 K8s Artifacts

2016-04-27 Thread Vishanth Balasubramaniam
+1 To brief out the changes that is required. Changes on Puppet-Modules - modify the hieradata (datasources to use mysql driver and correct url) - enabling -dSetup in wso2server.sh.erb Changes on Kubernetes-Artifacts - adding replication controller and service for product related

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-04-27 Thread Mahesh Dananjaya
Hi Maheshakya, I am trying to build the CEP by sourceas [1].it was built without errors.But when i run the ./wso2server.sh i got his error JAVA_HOME environment variable is set to /usr/local/java/jdk1.8.0_51 CARBON_HOME environment variable is set to

Re: [Dev] [AppManager] Fully qualified name issue in SAML response

2016-04-27 Thread Darshana Gunawardana
On Tue, Apr 26, 2016 at 5:16 PM, Dinusha Senanayaka wrote: > IS Team, > > Can you look into this issue please. This has broke the store/publisher > tenant login (We are using identity-5.0.9-SNAPSHOT versions). > > - How to set fully qualified name when registering SP from

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-04-27 Thread Sriskandarajah Suhothayan
I believe we will also end up writing some Siddhi extensions, hence please get the source of Siddhi[1] and build that as well. Siddhi is the Processing Engine used within CEP. Regards Suho [1]https://github.com/wso2/siddhi On Wed, Apr 27, 2016 at 12:17 PM, Maheshakya Wijewardena <

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-04-27 Thread Maheshakya Wijewardena
You don't need to build the kernel. You can build either current master of product-cep[1] or you can download the latest release from [2]. Best regards. [1] https://github.com/wso2/product-cep [2] http://wso2.com/products/complex-event-processor/ On Wed, Apr 27, 2016 at 12:09 PM, Mahesh

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-04-27 Thread Mahesh Dananjaya
Hi maheshakya, Do we need to build carbon kernal by source before we build CEP by source ( https://github.com/wso2/carbon-kernel ) .Or is it inside those sources.i am trying to build all three sources after forked them.thank you. regards, Mahesh On Mon, Apr 25, 2016 at 5:49 PM, Maheshakya