Re: [Dev] [IS] Identity Server - Customize SAMLSSOAuthenticator

2015-10-21 Thread Pushpalanka Jayawardhana
Hi John, Yes we do support customization of SAMLSSOAuthenticator. Ideally your first approach should have catered for the requirement. I have replied in stackoverflow. Thanks, Pushpalanka. -- Pushpalanka Jayawardhana, B.Sc.Eng.(Hons). Senior Software Engineer, WSO2 Lanka (pvt) Ltd; wso2.com/

Re: [Dev] [DEV] Manage central location for REST API utility classes across platform

2015-10-21 Thread Sanjeewa Malalgoda
Thanks sagara, Yes those will be able to use in generic CXF applications but run time should be carbon as it access configuration contexts etc. I think what you pointed was also specifically for carbon runtime. So we may move these classes there. Thanks, sanjeewa. On Wed, Oct 21, 2015 at 7:24

[Dev] How to simulate a multipart/form-data submission using a post request in jaggery

2015-10-21 Thread Nipuna Chandradasa
Hi Team, I am currently writing test cases for the jaggery. There is a scenario which i have to simulate a multipart/form-data submission using a post request in jaggery. That means i have to send some other data with a file upload. There where few suggestions: 1. One is to capture the

Re: [Dev] [DEV] Manage central location for REST API utility classes across platform

2015-10-21 Thread Supun Sethunga
+1 for the idea. In ML, we too have a couple of handlers [1] which are reusable (might need to rectify some names to remove the 'ml' prefixes). [1] https://github.com/wso2/carbon-ml/tree/master/components/ml/org.wso2.carbon.ml.rest.api/src/main/java/org/wso2/carbon/ml/rest/api/handler Thanks,

Re: [Dev] [DEV] Manage central location for REST API utility classes across platform

2015-10-21 Thread Sagara Gunathunga
On Wed, Oct 21, 2015 at 8:15 PM, Sanjeewa Malalgoda wrote: > Thanks sagara, Yes those will be able to use in generic CXF applications > but run time should be carbon as it access configuration contexts etc. > I think what you pointed was also specifically for carbon runtime.

[Dev] [DEV] Manage central location for REST API utility classes across platform

2015-10-21 Thread Sanjeewa Malalgoda
Hi All, As a part of implementing complete REST API for services available with product, we implemented some of the common classes which we can use across platform. So I think we need place all of them in single location and use them by all products. As i know GREG, ML, APP Store already started

Re: [Dev] Clarifications on command in DAS analytic migration tool

2015-10-21 Thread Nayomi Dayarathne
Thanks for the information. Nayomi Dayarathne *Software Engineer-QA* Mobile : +94 (0) 775246619 <+94+(0)+775246619> *nay...@wso2.com * On Wed, Oct 14, 2015 at 12:37 PM, Inosh Goonewardena wrote: > Hi Nayomi, > > > On Wed, Oct 14, 2015 at 11:07 AM, Nayomi

Re: [Dev] [DEV] Manage central location for REST API utility classes across platform

2015-10-21 Thread Sagara Gunathunga
On Wed, Oct 21, 2015 at 7:11 PM, Sanjeewa Malalgoda wrote: > Hi All, > As a part of implementing complete REST API for services available with > product, we implemented some of the common classes which we can use across > platform. > So I think we need place all of them in

Re: [Dev] Releasing Carbon Commons 4.5.x Patch Version

2015-10-21 Thread Kishanthan Thangarajah
We will do a patch release of carbon-commons (4.4.8) because there are other issues too, if you move commons 4.5.0 version. On Wed, Oct 21, 2015 at 5:18 PM, Rajith Vitharana wrote: > > > On Wed, Oct 21, 2015 at 4:49 PM, Rajith Vitharana > wrote: > >> Hi

Re: [Dev] Where is org.wso2.carbon.databridge.agent.thrift ?

2015-10-21 Thread Kalpa Welivitigoda
Thanks for the info Gokul, it seems we have to revamp our data data publisher as well. On Wed, Oct 21, 2015 at 12:34 PM, Gokul Balakrishnan wrote: > Hi Kalpa, > > It's no longer being maintained in carbon-commons. Databridge components > have been revamped with a different

Re: [Dev] How to pass java InputStream object to jaggery.

2015-10-21 Thread Denuwanthi De Silva
Hi Lakshman, Did you try the following? var inputStream = Packages.java.io.InputStream; inputStream = file.getStream().getStream(); (You need to call getStream() method twice) Thanks, On Wed, Oct 21, 2015 at 3:39 PM, Lakshman Udayakantha wrote: > Hi ES team, > >

[Dev] Behaviour of analytic scripts for inactive tenants

2015-10-21 Thread Shavantha Weerasinghe
Hi All The scenario we have a concern is with regard to tenant inactivation. We noticed that the analytic scripts which are scheduled to run by tenant user, keep running even after relavant tenant has been inactivated. Is this the expected behaviour Below are part of the relevant log from

Re: [Dev] [DEV][Automation] - How to automate the Drag-Drop Action in Test-case Using selenium

2015-10-21 Thread Rajeenthini Satkunam
Hi All, I have resolved the previous issue mentioned above through lasantha's solution which he was mentioned. @lasantha Thank you for your prompt reply. Even though I could not do this drag and drop Action successfully to selenium UI test case Java.I would like to share what kind of try I have

[Dev] Can't build carbon-governance 5.1.0-SNAPSHOT in OSX

2015-10-21 Thread Lakshman Udayakantha
Hi, When carbon-governance build in OSX, I got an compilation error, because in [1] folder there are two files with same name but case is different. When we clone the repo it will save only one file from those two files because name is same. by default mac osx will not keep two files with same in

Re: [Dev] Releasing Carbon Commons 4.5.x Patch Version

2015-10-21 Thread Gokul Balakrishnan
Hi Supun, You're mistaken, DAS is still using carbon-commons 4.4.7 [1], we've never used 4.5, nor have we verified it at staging. [1] https://github.com/wso2/product-das/blob/master/pom.xml#L436 Thanks, On Wednesday, 21 October 2015, Supun Malinga wrote: > And DAS Alpha /

Re: [Dev] Releasing Carbon Commons 4.5.x Patch Version

2015-10-21 Thread Rajith Vitharana
Hi Supun, On Wed, Oct 21, 2015 at 9:43 PM, Supun Malinga wrote: > > > On Wed, Oct 21, 2015 at 2:38 AM, Rajith Vitharana > wrote: > >> Hi, >> >> I guess we have to go with commons 4.4.x rather than 4.5.1, because I >> have tried to build with commons 4.5.0 and

Re: [Dev] Can't build carbon-governance 5.1.0-SNAPSHOT in OSX

2015-10-21 Thread Lakshman Udayakantha
note that two files are *LifeCycleStateBean.java* and *LifecycleStateBean.java*. They are with same name but case is different. We can create two files with same name and different case in a folder in linux. But we can't create two files with same name and different case in a folder in mac osx.

Re: [Dev] Releasing Carbon Commons 4.5.x Patch Version

2015-10-21 Thread Supun Malinga
And DAS Alpha / Beta went with commons 4.5.0 (Alpha/ Beta) AFAIR. On Wed, Oct 21, 2015 at 12:13 PM, Supun Malinga wrote: > > > On Wed, Oct 21, 2015 at 2:38 AM, Rajith Vitharana > wrote: > >> Hi, >> >> I guess we have to go with commons 4.4.x rather than

Re: [Dev] Releasing Carbon Commons 4.5.x Patch Version

2015-10-21 Thread Supun Malinga
On Wed, Oct 21, 2015 at 2:38 AM, Rajith Vitharana wrote: > Hi, > > I guess we have to go with commons 4.4.x rather than 4.5.1, because I have > tried to build with commons 4.5.0 and it wasn't successful, throw below > error > > Why do we see the build errors now ?. We released

Re: [Dev] [CEP-1415] Siddhi Event Table - Insert if not requirement

2015-10-21 Thread Sriskandarajah Suhothayan
+1 need to create "update or insert" for this usecase. We'll work on this this for the next release. Suho On Wed, Oct 21, 2015 at 10:37 AM, Mohanadarshan Vivekanandalingam < mo...@wso2.com> wrote: > > > On Wed, Oct 21, 2015 at 2:55 PM, Tishan Dahanayakage > wrote: > >> Hi, >>

Re: [Dev] POST message payload from Swagger UI [API M]

2015-10-21 Thread Nadeesha Gamage
Thanks Malintha & Madusanka this works, but if we try to create a default URL pattern with all HTTP verbs, the POST doesnt show a request body. Thank you, Nadeesha On Tue, Oct 20, 2015 at 12:59 AM, Malintha Amarasinghe wrote: > Hi Nadeesha, > > I rechecked with APIM 1.9.1.

Re: [Dev] Need help in customizing a script

2015-10-21 Thread Imesh Gunaratne
Hi Mari, Opening a new tab or a new browser window is not recommended. Most of the browsers block this by default due to security reasons. May be we need to think of a different approach. Thanks On Thu, Oct 22, 2015 at 6:38 AM, Mariangela Hills wrote: > Hi, > > When

Re: [Dev] Need help in customizing a script

2015-10-21 Thread Dakshika Jayathilaka
Hi All, IMO open a webpage in new tab or page is recommended depending on your use case. AFAIK giving a pop up link will block by browser due to security reason. So what you can do is, append simple class to "a"(anchor) to prevent all links opening in new page. Use below code snippet for Pages

Re: [Dev] Need help in customizing a script

2015-10-21 Thread Dakshika Jayathilaka
Hi Mari, I have notice that you are using target="_blank" for internal page links as wel. remove that attribute from links to navigate within page. Step 2 - Setup the WSO2 Complex Event Processor (CEP) *Dakshika Jayathilaka* PMC Member & Committer of Apache Stratos Senior Software Engineer

[Dev] Need help in customizing a script

2015-10-21 Thread Mariangela Hills
Hi, When working with the Wiki (Confluence) docs, there are times when we have to point off to sub-pages within a main set of instructions, so that the main page does not get too bulky. This means that when a user clicks these links, they will be redirected to those new pages within the same tab.

[Dev] [IS] Identity Server - Customize SAMLSSOAuthenticator

2015-10-21 Thread John Lee
I've posted details of my problem on stack overflow: http://stackoverflow.com/questions/33256571/wso2-identity-server-customize-samlssoauthenticator Asking the same question on this forum, as suspect it may be more responsive. Is customization of SAMLSSOAuthenticator supported? Thanks, //John.

Re: [Dev] [ES] social component is not working properly.

2015-10-21 Thread Lakshman Udayakantha
Hi Udara, Thanks for the quick response. I have checked all the tables in WSO2SOCIAL_DB in social-datasources.xml including the SOCIAL_RATING_CACHE table also by issuing select * query. But there is no row in that table. anyway social iframe is showing comment and rating data after server

Re: [Dev] Need help in customizing a script

2015-10-21 Thread Nisrin Sheriff
Hi Mari, Wouldn't this result in too many tabs opening up as there will be a new tab opening whenever a users clicks on a link. With how it is now, if a user wants to view the linked section in a new tab, they can always right click and then click *Open Link in New Tab*/*Open Link in New Window*

Re: [Dev] How to simulate a multipart/form-data submission using a post request in jaggery

2015-10-21 Thread Nipuna Chandradasa
It is not a UI test manu This test is for jaggery framework to test its multipart parsing function... It's just a Java test case On 22 Oct 2015 6:14 a.m., "Manuranga Perera" wrote: > If this is an ui test, selenium will allow you to upload a file. It'll > automatically be

Re: [Dev] POST message payload from Swagger UI [API M]

2015-10-21 Thread Malintha Amarasinghe
Hi Nadeesha, I still could not reproduce the issue :( . What I tried was adding a "/*" with all GET, POST, PUT, DELETE and HEAD. Have I missed anything here? Thank you. On Thu, Oct 22, 2015 at 3:33 AM, Nadeesha Gamage wrote: > Thanks Malintha & Madusanka this works, but if

Re: [Dev] [IS] Table "IDP_METADATA" not found

2015-10-21 Thread Chamila Wijayarathna
Hi Charitha, This missing table was introduced to carbon-identity in a commit merged within last week. So my guess on your issue is, you may trying to start a newly build server while pointing it to a DB early. So can you drop existing DB, create a new DB and start your server with -Dsetup, and

[Dev] Where is org.wso2.carbon.databridge.agent.thrift ?

2015-10-21 Thread Kalpa Welivitigoda
Hi all, $subject please, I updated carbon-commons version in carbon-dependency to 4.5.0 and it seems org.wso2.carbon.databridge.agent.thrift is removed from carbon-commons from 4.5.0. -- Best Regards, Kalpa Welivitigoda Software Engineer, WSO2 Inc. http://wso2.com Email: kal...@wso2.com

Re: [Dev] Releasing Carbon Commons 4.5.x Patch Version

2015-10-21 Thread Rajith Vitharana
Hi, I guess we have to go with commons 4.4.x rather than 4.5.1, because I have tried to build with commons 4.5.0 and it wasn't successful, throw below error Cannot complete the install because one or more required items could not be found. Software being installed: WSO2 Tenant Common Composite

Re: [Dev] [IS] Table "IDP_METADATA" not found

2015-10-21 Thread Charitha Goonetilleke
Hi Ayyoob & Chamila, Thanks for details. @NuwanD Seems, carbon-apimgt release-1.10.x db creating script doesn't have that table in their db creation script[1]. Since IoT-Server use apimgt db creating script, we need to have that change in carbon-apimgt db creation scripts[2]. [1]

Re: [Dev] Where is org.wso2.carbon.databridge.agent.thrift ?

2015-10-21 Thread Gokul Balakrishnan
Hi Kalpa, It's no longer being maintained in carbon-commons. Databridge components have been revamped with a different package structure, which you can find at [1]. [1] https://github.com/wso2/carbon-analytics-common/tree/master/components/data-bridge Thanks, On 21 October 2015 at 12:07, Kalpa

[Dev] Do we consider Private PaaS as a cartridge?

2015-10-21 Thread Imesh Gunaratne
Hi Devs, IMO Private PaaS cannot be a cartridge because is needs a Private PaaS environment to run: https://github.com/wso2/private-paas-cartridges/tree/master/wso2ppaas/ Shall we remove this from the cartridges repo? We already have the Private PaaS template module in Private PaaS product to be

Re: [Dev] Do we consider Private PaaS as a cartridge?

2015-10-21 Thread Pubudu Gunatilaka
Hi Imesh, Yes it cannot be there. I will remove Private Paas cartridge from the repo. Thank you! On Wed, Oct 21, 2015 at 12:38 PM, Imesh Gunaratne wrote: > Hi Devs, > > IMO Private PaaS cannot be a cartridge because is needs a Private PaaS > environment to run: >

Re: [Dev] Do we consider Private PaaS as a cartridge?

2015-10-21 Thread Imesh Gunaratne
Thanks Pubudu! On Wed, Oct 21, 2015 at 12:41 PM, Pubudu Gunatilaka wrote: > Hi Imesh, > > Yes it cannot be there. I will remove Private Paas cartridge from the repo. > > Thank you! > > On Wed, Oct 21, 2015 at 12:38 PM, Imesh Gunaratne wrote: > >> Hi Devs, >>

Re: [Dev] [CEP-1415] Siddhi Event Table - Insert if not requirement

2015-10-21 Thread Mohanadarshan Vivekanandalingam
On Wed, Oct 21, 2015 at 2:55 PM, Tishan Dahanayakage wrote: > Hi, > > As explained in this JIRA[1] a query where we check whether certain item > exists and then insert(more like initializing table) fails if query > receives burst events. Reason is multiple events will evaluate

[Dev] Can't find jira project for carbon-transports

2015-10-21 Thread Dinusha Boteju
Hi Kasun, I'm in the process of integrating carbon-feature-plugin into carbon-transports project to create a feature from carbon-transports bundle. However, I couldn't find a jira project to create a ticket for this task. Thus I would like to know under which jira project should I create a ticket

[Dev] [CEP-1415] Siddhi Event Table - Insert if not requirement

2015-10-21 Thread Tishan Dahanayakage
Hi, As explained in this JIRA[1] a query where we check whether certain item exists and then insert(more like initializing table) fails if query receives burst events. Reason is multiple events will evaluate condition 'not((itemNo==avgQty.itemNo) in avgQty)' to be true before the first insert is

[Dev] How to pass java InputStream object to jaggery.

2015-10-21 Thread Lakshman Udayakantha
Hi ES team, There is a method to get document from registry in API Manager Impl layer. We can get any file saved in registry with that method. But when I pass the returned file object to jaggery method, jaggery layer gets an empty object. public static Map getDocument(String

Re: [Dev] Releasing Carbon Commons 4.5.x Patch Version

2015-10-21 Thread Rajith Vitharana
On Wed, Oct 21, 2015 at 4:49 PM, Rajith Vitharana wrote: > Hi Kernel Team, > > There are other issues if we move to carbon-commons 4.5.0, one being DSS > feature installation in ESB 4.9.0 will fail, because they are using commons > 4.4.7 (with import range [4.4.0,4.5.0)) and

Re: [Dev] [ES] social component is not working properly.

2015-10-21 Thread Udara Rathnayake
rating should be stored within SOCIAL_RATING table and average rating inside SOCIAL_RATING_CACHE On Wed, Oct 21, 2015 at 5:42 PM, Lakshman Udayakantha wrote: > Hi ES team, > > I have checked out store 2.3.9-SNAPSHOT and governance registry > 5.1.0-SNAPSHOT and built packs

Re: [Dev] Releasing Carbon Commons 4.5.x Patch Version

2015-10-21 Thread Rajith Vitharana
Hi Kernel Team, There are other issues if we move to carbon-commons 4.5.0, one being DSS feature installation in ESB 4.9.0 will fail, because they are using commons 4.4.7 (with import range [4.4.0,4.5.0)) and our import range will be [4.5.0,5.0.0). Other issue would be, we have tested(DSS, DAS)

[Dev] [ES] social component is not working properly.

2015-10-21 Thread Lakshman Udayakantha
Hi ES team, I have checked out store 2.3.9-SNAPSHOT and governance registry 5.1.0-SNAPSHOT and built packs from those branches and created the setup according to [1]. After adding several reviews in social components, I can see rating and comment is updating in social iframe component. but after

[Dev] [IS] Table "IDP_METADATA" not found

2015-10-21 Thread Charitha Goonetilleke
Hi All, I'm using carbon-identity 4.6.0-SNAPSHOT for IoT-Server. In my application-authentication.xml and identity.xml, I used WSO2AM_DB as data source. But when H2 console doesn't showing any table named IDP_METADATA under WSO2AM_DB. I'm getting following error on server startup and when try to

Re: [Dev] [APIM] [OSGI] Removal of dynamic imports causes CNF on extention points

2015-10-21 Thread Shani Ranasinghe
Thanks KasunG & Kishanthan for the inputs. On Mon, Oct 19, 2015 at 10:49 AM, Kishanthan Thangarajah < kishant...@wso2.com> wrote: > > > On Fri, Oct 16, 2015 at 4:31 PM, Shani Ranasinghe wrote: > >> >> Hi, >> >> In APIM current code (1.10), we have removed the > >* from all

Re: [Dev] [IS] Table "IDP_METADATA" not found

2015-10-21 Thread Ayyoob Hamza
Hi Charitha, You have to update APIMGT Schema with the latest IS schema changes. [1] https://github.com/wso2/carbon-apimgt/tree/release-1.10.x/features/apimgt/org.wso2.carbon.apimgt.core.feature/src/main/resources/sql [2]

Re: [Dev] Releasing Carbon Commons 4.5.x Patch Version

2015-10-21 Thread Anjana Fernando
+1, yeah, let's go with a 4.4.x release. Cheers, Anjana. On Wed, Oct 21, 2015 at 12:08 PM, Rajith Vitharana wrote: > Hi, > > I guess we have to go with commons 4.4.x rather than 4.5.1, because I have > tried to build with commons 4.5.0 and it wasn't successful, throw below >

[Dev] Clarification of Feature for DAS

2015-10-21 Thread Shavantha Weerasinghe
Hi Anjana The document[1] mentions that the below features should be installed for ML to be used as a CEP extension. However, we also had to install WSO2 Carbon - Metrics Group Feature for on DAS in order to use the ML feature. Should DAS to have the Metrics Group Feature installed similar to