[Dev] [BPS][IS] BPEL faile to pass headers from tenant mode

2015-10-02 Thread Harsha Thirimanna
Hi , We have deployed bpel to BPS in tenant mode and it will call back to IS. That call back endpoint is admin service in IS. It is fail and says unauthorized from BPS side and IS side we can't see the Authorization headers. This is working fine in supper tenant mode. I checked with BPS 3.2.0

[Dev] Starting server in debug mode when running tests

2015-10-02 Thread Gothami Abayawickrama
Hi all, I need to start the server in debug mode when running tests. Can somebody help me with this. Thanks, Gothami -- *Gothami Abayawickrama* Software Engineer Intern, WSO2, Inc Mobile : +(94)717537697 goth...@wso2.com ___ Dev mailing list

[Dev] [Human Tasks] Listing Human Tasks Completed by a User

2015-10-02 Thread Chamila Wijayarathna
Hi all, In IS dashboard gadget for approving/disapproving human tasks, currently we are only showing tasks which are in the types "ASSIGNED_TO_ME" and "CLAIMABLE". In the below jira (IDENTITY-3680), it is requested the tasks completed by a particular user need to be shown in dashboard as well. Is

Re: [Dev] [BPS][IS] BPEL faile to pass headers from tenant mode

2015-10-02 Thread Harsha Thirimanna
I have created a Jira for this[1] [1] https://wso2.org/jira/browse/BPS-888 because we are blocked. *Harsha Thirimanna* Senior Software Engineer; WSO2, Inc.; http://wso2.com * * *email: **hars...@wso2.com* * cell: +94 71 5186770 * *twitter:

Re: [Dev] Starting server in debug mode when running tests

2015-10-02 Thread Madusanka Premaratne
​Hi Gothami,​ ​If y​ ou ​need to ​ debug test cases,​ enable maven surefire debug by using ​ the command​ -Dmaven.surefire.debug Thanks, Madusanka On Fri, Oct 2, 2015 at 11:41 AM, Gothami Abayawickrama wrote: > Hi all, > I need to start the server in debug mode when

Re: [Dev] Starting server in debug mode when running tests

2015-10-02 Thread Aruna Karunarathna
On Fri, Oct 2, 2015 at 11:41 AM, Gothami Abayawickrama wrote: > Hi all, > I need to start the server in debug mode when running tests. Can somebody > help me with this. > you can run the test case in debug mode. [1] [1].

Re: [Dev] [VOTE] Release WSO2 BPS 3.5.0 RC2

2015-10-02 Thread Chathura Ekanayake
[+] Stable - go ahead and release Thanks, Chathura On Fri, Oct 2, 2015 at 11:35 AM, Milinda Perera wrote: > Hi, > > I did smoke test in clustered setup + depsync with mysql database for BPS, > UM and registry (config registry and governance) > > 1. deploying /

Re: [Dev] [UX] [Carbon-jira] [jira] (IDENTITY-3528) Error while adding datepicker for selecting date range with jquery 1.6.0

2015-10-02 Thread Johann Nallathamby
Hi Dakshika, Any update on this ? This is kind of a blocker for our Beta release. Thanks. On Fri, Sep 25, 2015 at 9:04 AM, Chamila Wijayarathna wrote: > Hi Dakshika,' > > The issue can be reproduced in IS-5.1.0-alpha pack which can be downloaded > from [1]. > The jsp page

Re: [Dev] Starting server in debug mode when running tests

2015-10-02 Thread Krishantha Samaraweera
Hi Gothami, On Fri, Oct 2, 2015 at 11:41 AM, Gothami Abayawickrama wrote: > Hi all, > I need to start the server in debug mode when running tests. Can somebody > help me with this. > Are you trying to debug integration tests ? if yes, you can use -Dsurefire.debug option to

Re: [Dev] [APIM] ScriptEngine Error after updating jaggery to 0.10.0

2015-10-02 Thread Madusanka Premaratne
Hi All, The issue is due to incorrectly designed orbit bundles and solved by excluding those from bin.xml Thanks, Madusanka On Wed, Sep 16, 2015 at 9:45 AM, Madusanka Premaratne wrote: > Hi UES team, > I am getting following error intermittently. Which pops out from >

Re: [Dev] Building docker images with PPaaS build scripts

2015-10-02 Thread Pubudu Gunatilaka
Hi Danushka, I cannot think of any other solution for this. There are know issues in docker[1] for this. [1] - https://github.com/docker/docker/issues/10021 Thank you! On Fri, Oct 2, 2015 at 11:05 AM, Danushka Fernando wrote: > Your command freed up around 20G+ thanks.

Re: [Dev] Building docker images with PPaaS build scripts

2015-10-02 Thread Danushka Fernando
After exporting I deleted the image so it released 12GB. But it,s just 1G image. And if we import it its only taking 1G Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Fri, Oct 2, 2015 at 12:08 PM, Pubudu Gunatilaka

Re: [Dev] [Human Tasks] Listing Human Tasks Completed by a User

2015-10-02 Thread Vinod Kavinda
Hi Chamila, You can use SimpleQuery operatin in HumanTaskClientAPIAdmin service. Invoke this operation in the same way you used to claimable status with "COMPLETED" as the status. You can find a sample code in [1] line no 64. [1] -

Re: [Dev] [BPS][IS] BPEL faile to pass headers from tenant mode

2015-10-02 Thread Vinod Kavinda
Hi Harsha, I observed the requests using tcpMon(Used http). Seem to be it contains the basic author headers in both tenant and super tenant mode. Please see the attached logs. Regards, Vinod On Fri, Oct 2, 2015 at 11:47 AM, Harsha Thirimanna wrote: > I have created a Jira for

[Dev] Creating topics and queues with spaces

2015-10-02 Thread Thilanka Bowala
Hi All, Current MB allows to create topics and queues with blank spaces in the middle of their names. Shouldn't this be restricted? Any comments would be highly appreciated. Thank you. -- Thilanka Bowala Software Engineer Intern Mobile : +94 (0) 710 403098 thila...@wso2.com

Re: [Dev] [BPS][IS] BPEL faile to pass headers from tenant mode

2015-10-02 Thread Harsha Thirimanna
Did you see my wire logs ? It doesn't have any, what that mean. That is same bpel package we are using that you gave *Harsha Thirimanna* Senior Software Engineer; WSO2, Inc.; http://wso2.com * * *email: **hars...@wso2.com* * cell: +94 71 5186770 *

Re: [Dev] [UES][Dashboard Server] Dashboard anonymous view landing page

2015-10-02 Thread Udara Rathnayake
Thanks for the feedback lasantha and nipuna. I'm +1 to make the landing page anon if there are any anon views defined in other pages. Let's stick to that. On Fri, Oct 2, 2015 at 9:15 AM, Nipuna Chandradasa wrote: > Hi Udara, > > As Lasantha said that making the landing page an

Re: [Dev] [APIM] Issue when automating API subscription workflow

2015-10-02 Thread Irham Iqbal
Adding Sanjeewa and Lalaji On Fri, Oct 2, 2015 at 12:35 PM, Irham Iqbal wrote: > Hi, > > I am automating the API subscription workflow [1] under the topic > "Engaging WS Workflow Executor in the API Manager" 3rd point when I > subscribe to an API and invoke it before approve the

Re: [Dev] [Human Tasks] Listing Human Tasks Completed by a User

2015-10-02 Thread Hasitha Aravinda
You can have multiple elements in request. eg: COMPLETED RESERVED IN-PROGRESS Thanks, Hasitha. On Fri, Oct 2, 2015 at 2:09 PM, Chamila Wijayarathna wrote: > Hi Hasitha/Vinod, > > Thanks, by using > > http://schemas.xmlsoap.org/soap/envelope/; > xmlns:ns=" >

[Dev] [DEV][MB][MQTT] How to handle permission denied to subscribe a topic due to tenancy

2015-10-02 Thread Pumudu Ruhunage
Hi All, If a tenant don't have permission to subscribe to a given topic (tenant ' a.com' try to subscribe to tenant 'b.com') currently it will keep connected even though it's not subscribed, because user authentication was successful. This is misleading to subscriber as no return code sent and

Re: [Dev] [APIM] Issue when automating API subscription workflow

2015-10-02 Thread Dinithi De Silva
Hi Irham, Did you disable caching? If not try disabling the caching. Refer to the document [1]. [1] - https://docs.wso2.com/display/AM191/Configuring+Caching#ConfiguringCaching-Responsecache Thanks. On Fri, Oct 2, 2015 at 12:35 PM, Irham Iqbal wrote: > Hi, > > I am automating

Re: [Dev] [IS] - Unable to decrypt the SAML Assertion When Authenticating to Travelocity app

2015-10-02 Thread Ishara Karunarathna
Hi Nadeesha, On Fri, Oct 2, 2015 at 3:04 PM, Darshana Gunawardana wrote: > Hi Nadeesha, > > Have you checked whether the assertion is encrypted in the response IS > send back to travelocity app? > > And please provide the SSO Trace (save as a text file and attach in the >

Re: [Dev] [IS] - Unable to decrypt the SAML Assertion When Authenticating to Travelocity app

2015-10-02 Thread Nadeesha Meegoda
Hi Darshana, Yes the response is encrypted. Sending the SAML sso trace attached with the mail. @Ishara I used wso2carbon as the certificate alias since I'm using the default key stores and also I'm testing this in super tenant mode. Do I need to import the public certificate of the private key

Re: [Dev] [UX] [Carbon-jira] [jira] (IDENTITY-3528) Error while adding datepicker for selecting date range with jquery 1.6.0

2015-10-02 Thread Dakshika Jayathilaka
Hi, please use below format on this. $("input.DateFrom").datepicker({ minDate: 13 }); *minDate* can be data, number or string Regards, *Dakshika Jayathilaka* PMC Member & Committer of Apache Stratos Senior Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Fri, Oct 2,

Re: [Dev] [IS] - Unable to decrypt the SAML Assertion When Authenticating to Travelocity app

2015-10-02 Thread Darshana Gunawardana
Hi Nadeesha, Have you checked whether the assertion is encrypted in the response IS send back to travelocity app? And please provide the SSO Trace (save as a text file and attach in the mail) for the whole flow. Thanks, Darshana On Fri, Oct 2, 2015 at 2:53 PM, Nadeesha Meegoda

Re: [Dev] Building docker images with PPaaS build scripts

2015-10-02 Thread Imesh Gunaratne
+1 for what Pubudu has proposed. This is a common problem that happens when working with Docker. It takes considerable amount of disk space when large docker images are imported in to the local docker registry, when there are dangling images [1] and when there are stopped docker containers.

Re: [Dev] [Vote] Release WSO2 Carbon Kernel 4.4.2 RC1

2015-10-02 Thread Indika Sampath
Hi Johann, I have avoid creating role for each tmp queue when subscription adding to non durable topic. Now we only create one internal role by topic name and assign subscribe, publish and changePermission. Please find the PR [1]. We have build a MB 3.0.0-SNAPSHOT pack with all latest changes

Re: [Dev] [PPaaS] private-paas-cartridges repository structure

2015-10-02 Thread Thanuja Uruththirakodeeswaran
Hi All, We have folder for base-image and inside that we have a folder called 'docker' for docker base image. In the VM scenario, we are using init-scripts to create the vm base image. So what if we move the init-scripts folder inside /common/base-image/vm/ path? ├── common │ ├── base-image │

Re: [Dev] [Vote] Release WSO2 Carbon Kernel 4.4.2 RC1

2015-10-02 Thread Johann Nallathamby
Hi All, We had a discussion involving MB team members and IS team members. Summary of the discussion: Possibility of deadlocks occurring have drastically reduced in MySQL and Oracle with the patches given so far and tested with high levels of concurrency. Only MSSQL gives deadlocks and that too

Re: [Dev] Should mysql database scripts work with old mysql versions.

2015-10-02 Thread Ishara Karunarathna
Hi Ruwan, On Fri, Oct 2, 2015 at 1:09 PM, Ruwan Abeykoon wrote: > Hi Ishara, > >>In Identity server we started to persist session date with its updated > timestamp. And retrieve the latest data object related to > given session. > >>If it's only supported for seconds we get

Re: [Dev] Should mysql database scripts work with old mysql versions.

2015-10-02 Thread Ruwan Abeykoon
Hi Ishara, Agreed, if we can be sure that things will behave well in high load. Cheers, Ruwan On Fri, Oct 2, 2015 at 2:24 PM, Ishara Karunarathna wrote: > Hi Ruwan, > > On Fri, Oct 2, 2015 at 1:09 PM, Ruwan Abeykoon wrote: > >> Hi Ishara, >> >>In Identity

Re: [Dev] [Human Tasks] Listing Human Tasks Completed by a User

2015-10-02 Thread Chamila Wijayarathna
Hi Hasitha/Vinod, Thanks, by using http://schemas.xmlsoap.org/soap/envelope/; xmlns:ns="http://docs.oasis-open.org/ns/bpel4people/ws-humantask/api/200803; xmlns:ns1=" http://docs.oasis-open.org/ns/bpel4people/ws-humantask/types/200803;> COMPLETED

[Dev] [IS] - Unable to decrypt the SAML Assertion When Authenticating to Travelocity app

2015-10-02 Thread Nadeesha Meegoda
Hi. I have configured the setup to Login to the Identity Server Using Another Identity Server as per the details in [1] in Super tenant mode. With the happy scenario according to the documentation this works fine. But I have enabled some additional properties in IDP and SP used for IDP as

Re: [Dev] [C5] Tomcat Plugging POC JSP error

2015-10-02 Thread Afkham Azeez
Is this for AS? If so we would be using Vanilla Tomcat. On Fri, Oct 2, 2015 at 10:56 AM, Aruna Karunarathna wrote: > Hi all, > > When running Tomcat with C5 executing a jsp is causing the following > error. [1] Complaining that unable to find the org.xml.sax.Attributes class. >

Re: [Dev] [UX] [Carbon-jira] [jira] (IDENTITY-3528) Error while adding datepicker for selecting date range with jquery 1.6.0

2015-10-02 Thread Johann Nallathamby
Thanks for looking into this Dakshika. On Fri, Oct 2, 2015 at 1:43 PM, Dakshika Jayathilaka wrote: > Hi, > > please use below format on this. > > $("input.DateFrom").datepicker({ > minDate: 13 > }); > > *minDate* can be data, number or string > > Regards, > > *Dakshika

Re: [Dev] [Vote] Release WSO2 Carbon Kernel 4.4.2 RC1

2015-10-02 Thread Rajith Vitharana
Hi, This issue is blocking DSS 3.5.0 release as well, We need kernel 4.4.2 for the DSS 3.5.0 as we can't use kernel 4.4.1(which has a bug in axis2json) for now we are using kernel 4.4.0 but we can't use that for the final release due to version incompatibilities, for example we can't install DSS

Re: [Dev] [IS] - Unable to decrypt the SAML Assertion When Authenticating to Travelocity app

2015-10-02 Thread Nadeesha Meegoda
Hi Tharindu, When I tested this with single IS for SAML SSO (not the federated scenario) everything worked fine for super tenant. I doubt this is related to the federated scenario. Please have a look and let me know. Thanks! On Fri, Oct 2, 2015 at 8:52 PM, Tharindu Edirisinghe

Re: [Dev] [IS] - Unable to decrypt the SAML Assertion When Authenticating to Travelocity app

2015-10-02 Thread Tharindu Edirisinghe
Hi Nadeesha, For super tenant, sso.agent should be able to decrypt the encrypted saml assertion. However there was an issue [1] where for a tenant, when the tenant encrypts the SAML assertion from the public certificate of the client (i.e travelocity app), then sso.agent could not decrypt the

Re: [Dev] Creating topics and queues with spaces

2015-10-02 Thread Yasassri Ratnayake
Hi, When it comes to MQTT we can have spaces in-between topic names, following is extracted from MQTT specification. *Topic semantic and usage* 1442 The following rules apply to Topic Names and Topic Filters: 1443 All Topic Names and Topic Filters MUST be at least one character long

Re: [Dev] Pull request has not merged into the current development branch of APIM

2015-10-02 Thread Prabath Abeysekera
Hi Nuwan, Can we get this merged into the 1.10.x branch soon? Cheers, Prabath On Wed, Sep 30, 2015 at 7:30 PM, Nuwan Dias wrote: > Hi Harshan, > > I think this is due to the fact that the 1.10.x branch was branched out > from the 1.9.x branches and not from master. The master

Re: [Dev] [DEV][MB][MQTT] How to handle permission denied to subscribe a topic due to tenancy

2015-10-02 Thread Yasassri Ratnayake
Hi Pumudu, MQTT spec doesn't talk about a permission model, So IMO the closest error we can propagate to the client is "0x05 Connection Refused, not authorized". With Regards, On Fri, Oct 2, 2015 at 6:17 PM, Pumudu Ruhunage wrote: > Hi All, > > If a tenant don't have

[Dev] [APIM] Issue when automating API subscription workflow

2015-10-02 Thread Irham Iqbal
Hi, I am automating the API subscription workflow [1] under the topic "Engaging WS Workflow Executor in the API Manager" 3rd point when I subscribe to an API and invoke it before approve the subscription task APIM returns[2] which is expected because subscription task is not approved yet. But

Re: [Dev] [Human Tasks] Listing Human Tasks Completed by a User

2015-10-02 Thread Vinod Kavinda
Hi Chamila, Sorry I made a mistake, You can't do this in the same way as Claimable. Use the SimpleQuery in HumanTaskClientAPIAdmin. Use the sample given. Thank You Vinod On Fri, Oct 2, 2015 at 12:22 PM, Vinod Kavinda wrote: > Hi Chamila, > You can use SimpleQuery operatin in

Re: [Dev] Should mysql database scripts work with old mysql versions.

2015-10-02 Thread Ruwan Abeykoon
Hi Ishara, >>In Identity server we started to persist session date with its updated timestamp. And retrieve the latest data object related to given session. >>If it's only supported for seconds we get duplicate entries. In that case we have to go for fractional seconds in timestamp or will have to

Re: [Dev] [Human Tasks] Listing Human Tasks Completed by a User

2015-10-02 Thread Hasitha Aravinda
Correct category is ASSIGNED_TO_ME and use status filter COMPLETED in SimpleQuery. Thanks, Hasitha. On Fri, Oct 2, 2015 at 12:41 PM, Vinod Kavinda wrote: > Hi Chamila, > Sorry I made a mistake, You can't do this in the same way as Claimable. > Use the SimpleQuery in

Re: [Dev] WSO2 Committers += Vijitha Ekanayake

2015-10-02 Thread Isuru Ranawaka
Congrats vijitha !!! On Sat, Oct 3, 2015 at 8:43 AM, Kasun Indrasiri wrote: > Hi devs, > > Its my pleasure to welcome Vijitha Ekanayake as a WSO2 Committer. > Vijitha, welcome aboard and keep up the good work! > > Thanks. > > -- > Kasun Indrasiri > Software Architect > WSO2,

[Dev] [VOTE] Release WSO2 Governance Registry 5.0.1 RC 2

2015-10-02 Thread Sameera Kannangara
Hi Devs, WSO2 Governance Registry 5.0.1 RC2 Release Vote. This release fixes the following issues: https://wso2.org/jira/issues/?filter=12422 Please download, test and vote. Please refer the release verification guide for detailed information on verifying this release. Source & binary

Re: [Dev] [DEV][MB][MQTT] How to handle permission denied to subscribe a topic due to tenancy

2015-10-02 Thread Pamod Sylvester
The CONNECT and SUBSCRIBE are two different command messages. The subscription phase comes after the connection. Also the other fact is a single connection could involve multiple topic subscriptions. So lets say if a given tenant sends a list of topic subscriptions there could be subscriptions

Re: [Dev] Creating topics and queues with spaces

2015-10-02 Thread Jason De Silva
Hi Thilanka, While going through the AMQP spec [1] I too could not find much details about it but found out the following under the topic " 3.1.3.3 The Topic Exchange Type" it says, "The routing key used for a topic exchange MUST consist of zero or more words delimited by dots. Each word may

Re: [Dev] [DEV][MB][MQTT] How to handle permission denied to subscribe a topic due to tenancy

2015-10-02 Thread Hasitha Hiranya
Hi, Yes, Connection Refused, not authorized is the best we can do. @Pamod, any batter alternative? Thanks! On Fri, Oct 2, 2015 at 10:55 PM, Yasassri Ratnayake wrote: > Hi Pumudu, > > MQTT spec doesn't talk about a permission model, So IMO the closest error > we can

Re: [Dev] Pull request has not merged into the current development branch of APIM

2015-10-02 Thread Prabath Abeysekera
Please use [1] in Harshan's initial mail merged into the previously available master, which you guys seem to have missed replicating in the current version of it. Cheers, Prabath Cheers, Prabath On Saturday, October 3, 2015, Nuwan Dias wrote: > > > On Friday, 2 October 2015,

[Dev] WSO2 Committers += Vijitha Ekanayake

2015-10-02 Thread Kasun Indrasiri
Hi devs, Its my pleasure to welcome Vijitha Ekanayake as a WSO2 Committer. Vijitha, welcome aboard and keep up the good work! Thanks. -- Kasun Indrasiri Software Architect WSO2, Inc.; http://wso2.com lean.enterprise.middleware cell: +94 77 556 5206 Blog : http://kasunpanorama.blogspot.com/

Re: [Dev] Pull request has not merged into the current development branch of APIM

2015-10-02 Thread Nuwan Dias
On Friday, 2 October 2015, Prabath Abeysekera wrote: > Hi Nuwan, > > Can we get this merged into the 1.10.x branch soon? > If there's a PR I can merge it > > Cheers, > Prabath > > On Wed, Sep 30, 2015 at 7:30 PM, Nuwan Dias