[Dev] G-Reg 5.0.0 new feature : Adding lifecycle state aware dashboards for services

2014-07-31 Thread Denuwanthi De Silva
Hi Senaka et. al, I'm working on $subject. The corresponding Redmine link is at [1] *Current Implementation* As for now, G-reg only support, moving from several lifecycle states (Development, Testing. Production) for services. It supports validation of each state via checklists. *New Feature* No

[Dev] AXIS2 Merge to wso2 required

2014-07-31 Thread Malaka Silva
Hi Sameera, Pull request [1] is already merged with wso2-dev. Please merge same with wso2. Related jira [2] [1] https://github.com/wso2-dev/wso2-axis2/pull/10 [2] https://wso2.org/jira/browse/CARBON-14879 Thank you. Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214

Re: [Dev] ESB build failure

2014-07-31 Thread Afkham Azeez
The next question is, the build was in a broken state for sometime. Why didn't anybody in the ESB team raise the alarm? On Fri, Aug 1, 2014 at 11:17 AM, Malaka Silva wrote: > Hi Azeez, > > This is due to integration test fails. We are currently checking the test > cases. > > Adding - Jeewantha.

[Dev] [G-Reg 5.0.0] Improved Notifications Support

2014-07-31 Thread Heshani Gamage
Hi Senaka et. al, I'm implementing $Subject corresponding to the RM[1] .I would like to verify requirements of this feature on following use cases. a. Provide notification support for the Consumer side and Provider Side b. Support for notifications explicitly initiated from the provider to a speci

Re: [Dev] ESB build failure

2014-07-31 Thread Malaka Silva
Hi Azeez, This is due to integration test fails. We are currently checking the test cases. Adding - Jeewantha. Best Regards, Malaka On Fri, Aug 1, 2014 at 11:11 AM, Afkham Azeez wrote: > https://wso2.org/jenkins/job/product-esb/124/ > > What's the reason? > > -- > *Afkham Azeez* > Director o

Re: [Dev] SAML Performances Test Automation

2014-07-31 Thread Dulanja Liyanage
Hi Daya, As we discussed offline, we can do this via the SP admin service. I'll provide you a sample that we have used. Thanks Dulanja On Fri, Aug 1, 2014 at 10:04 AM, Daya Attapattu wrote: > Is there a way to register services on IS server without going through > admin console? > > Regards,

[Dev] ESB build failure

2014-07-31 Thread Afkham Azeez
https://wso2.org/jenkins/job/product-esb/124/ What's the reason? -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * * *email: **az...@wso2.com* * cell: +94 77 3320919 blog: **http://blog.af

[Dev] Carbon merge required

2014-07-31 Thread Malaka Silva
Hi Carbon Team, Please review and merge [1]. Related jira [2] [1] https://github.com/wso2-dev/carbon-deployment/pull/15 [2] https://wso2.org/jira/browse/ESBJAVA-3058 Thank you -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : m

Re: [Dev] Best approach to optimize imports in Java

2014-07-31 Thread Firzhan Naqash
Hi Aruna, Importing packages using wild card may introduce outright naming conflicts if multiple packages having the same class name. For an example class Date can be found in java.util package and java.sql package. Therefore as Chamil mentioned it increases the readability and helps you to troubl

Re: [Dev] Best approach to optimize imports in Java

2014-07-31 Thread Uvindra Dias Jayasinha
Thought I'd throw these in as well, http://stackoverflow.com/questions/7735671/order-of-import-statements-in-java http://stackoverflow.com/questions/3500256/does-import-statements-sequence-have-any-effect confirms what has been said already. On 1 August 2014 09:42, Aruna Karunarathna wrote:

[Dev] SAML Performances Test Automation

2014-07-31 Thread Daya Attapattu
Is there a way to register services on IS server without going through admin console? Regards, Daya -- Daya Atapattu WSO2 Inc. Phone: +94 77 047 4730, +1 203 484 7099 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] Best approach to optimize imports in Java

2014-07-31 Thread Aruna Karunarathna
Hi Chamil, Udara, Thanks for the explanation. Further digging In here [1] I've found that order of the imports matter. As far as I understood. It's also a readability concern. [1]. http://mail.wso2.org/mailarchive/carbon-dev/2010-November/044877.html -- * Aruna Sujith Karunarathna* | Software

Re: [Dev] [ES-Rest API] Unifying API response messages

2014-07-31 Thread Dakshika Jayathilaka
Hi, IMO we need to have "message" pram either its an error or success. because if you take status *202 Accepted* doesn't have mechanism to shows exact accept scenario in detail. Then we can't go with generic notification model on frontend and need to write custom implementations on front end sid

Re: [Dev] [ES-Rest API] Unifying API response messages

2014-07-31 Thread Ayesha Dissanayaka
Hi Udara, Thanks a lot for your suggestions. As I have mentioned earlier, 'code' is a standard HTTP Status Code. > "...idea is to derive the response from 'code' property. 'code' will > consist standard HTTP Status Codes." > Yes, we can drop "message" property from success response. > Client

Re: [Dev] Cannot Install ES feature when building with greg-changes-master branch in ES

2014-07-31 Thread Subash Chaturanga
Hi Ruchira et al, Do you have a rough ETA for this to finish ? This is a blocker for us, cause once installed ES feature we can't login to the store/pub. Hence currently we are working on ES product itself. We have to start working on G-Reg itself. On Thu, Jul 31, 2014 at 11:37 PM, Sameera Medaga

[Dev] Release Tomcat 7.0.52.wso2v4 orbit

2014-07-31 Thread Kasun Gajasinghe
Hi Maheshika, Can you please do $subject on [1]? [1] https://github.com/wso2/orbit/tree/master/tomcat/7.0.52.wso2v4 Thanks, KasunG -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.o

[Dev] [BPS][NDATASOURCE] Issues on Using NDataSource

2014-07-31 Thread Firzhan Naqash
Hi, When we tried to use the Ndata source in BPS we encountered with following error[2]. Already there has been an issue also logged in Jira sometime ago [1]. This error occurs when the user tried to upload a bpel package ( or Human Task ) for the first time. When I investigated the issue I made

Re: [Dev] [Private PaaS] Why we don't have un-deploy option for Multi-tenant services in SM web console

2014-07-31 Thread Udara Liyanage
Hi, I don't find any reason not to have it in web UI. It is available in Stratos CLI too. Touched, not typed. Erroneous words are a feature, not a typo. On Jul 31, 2014 11:17 PM, "Harsha Thirimanna" wrote: > Hi, > > $subject, currently we have to execute curl command,, it is better if we > ca

Re: [Dev] Cannot Install ES feature when building with greg-changes-master branch in ES

2014-07-31 Thread Sameera Medagammaddegedara
Hi Shazni, We have created the following JIRA to track the issue: https://wso2.org/jira/browse/STORE-481 Thank You, Sameera On Wed, Jul 23, 2014 at 12:03 PM, Shazni Nazeer wrote: > It was unable to access the login page nor sign into the store within the > GREG 5.0.0 pack that we built with E

[Dev] [Private PaaS] Why we don't have un-deploy option for Multi-tenant services in SM web console

2014-07-31 Thread Harsha Thirimanna
Hi, $subject, currently we have to execute curl command,, it is better if we can have that option as i guess. WDYT ? thanks *Harsha Thirimanna* Senior Software Engineer; WSO2, Inc.; http://wso2.com * * * email: **hars...@wso2.com* * cell: +94 71 5186770 , +94 * *77461778

Re: [Dev] [ES-Rest API] Unifying API response messages

2014-07-31 Thread Udara Liyanage
Hi, How about sending http response code. Then if it is a 200, 201, 204 etc then it can be considered as the success. Then there is no need of sending a message like "something happens successfully" because we can determine it by response code. For instance, when a resource with id abc is added s

[Dev] Registering an Axis2 deployer

2014-07-31 Thread Danushka Fernando
Hi all I am currently working on writing an deployer for application types in App factory. By looking at several places we have implemented deployers, I saw three ways of registering an deployer 1. Through some java code. The way DBDeployer (dbs) handled this was, implement an Axis2ConfigurationCo

Re: [Dev] Best approach to optimize imports in Java

2014-07-31 Thread Udara Liyanage
Hi, Good explanation Chamil. As a side note modern IDEs provide features to see which package a class is coming from. So there is not a big issue having stars. However it is more readable without starts. Touched, not typed. Erroneous words are a feature, not a typo. __

Re: [Dev] [ES-Rest API] Unifying API response messages

2014-07-31 Thread Ayesha Dissanayaka
Hi Ruchira, Yes, idea is to derive the response from 'code' property. 'code' will consist standard HTTP Status Codes. [01] Hence, the response on success will always be '2xx'. [01] http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html On Thu, Jul 31, 2014 at 9:04 PM, Ruchira Wageesha wrote:

Re: [Dev] [ES-Rest API] Unifying API response messages

2014-07-31 Thread Ruchira Wageesha
Hi Ayesha, I think, we will have to introduce an "error": true property when it is an error. Otherwise there is no way to check whether it is a success or not. Or do you mean it to be derived from the code property? On Thu, Jul 31, 2014 at 5:47 PM, Ayesha Dissanayaka wrote: > Hi, > > While imp

Re: [Dev] Request to merge pull requests for Balana and Carbon-Identity

2014-07-31 Thread Chamath Gunawardana
Hi Maheshika, Thanks for the update. It seems that the pr-builder does not have the product-is listed and it seems it still has product-identity. Can you please update the configuration? Thanks. On Thu, Jul 31, 2014 at 6:15 PM, Maheshika Goonetilleke wrote: > Hi Chamath > > AFAIK it has not

Re: [Dev] Registering an Axis2 deployer

2014-07-31 Thread Danushka Fernando
HI Sameera Got it working. Thx for the quick response. Thanks & Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Jul 31, 2014 at 7:13 PM, Sameera Jayasoma wrote: > Use the component.xml to declare your Aixs2Deployer class. This way your > art

[Dev] [ES-Rest API] Unifying API response messages

2014-07-31 Thread Ayesha Dissanayaka
Hi, While implementing ES - REST API, since there are several response messages (both Error and Success) we thought of unifying response messages using a response-builder. Then the response message will be a JSON object with following body. *Error Response* > { > code: <>, > message: "<

Re: [Dev] Registering an Axis2 deployer

2014-07-31 Thread Sameera Jayasoma
Use the component.xml to declare your Aixs2Deployer class. This way your artifacts will be deployed during the initialization of Axis2. You also need declare your deployer in the following manner in your pom.xml, under bundle plugin configuration[1]. BPELDeployer Thanks, Sameera. [1] http://s

Re: [Dev] Approval needed to fork Apache Woden M9

2014-07-31 Thread Sagara Gunathunga
This issue has been fixed in Apache Woden trunk but Woden trunk use XMLSchema2 not XMLSchema1 hence we need to do a release from old branch that is not up to date so can't commit for any specific timeline. Since above changed is already accepted by Woden community IMO it's ok to fork Woden into SVN

Re: [Dev] Request to merge pull requests for Balana and Carbon-Identity

2014-07-31 Thread Maheshika Goonetilleke
Hi Chamath AFAIK it has not been disabled. However, the product-is build was disabled till date. I have enabled it and triggered builds as per the given order. Please check once complete. On Thu, Jul 31, 2014 at 11:41 AM, Chamath Gunawardana wrote: > Hi Pulasthi, > > The two pull requests ha

Re: [Dev] Staus update: API manager 1.7.1 Migration testing 1.6.0 to 1.7.0.

2014-07-31 Thread Chathurika De Silva
Hi All I conducted a test on windows environment to verify APIMANAGER-2559 This is issue is fixed for super tenant but not for other tenants due to APIMANAGER-2529. Both of the above issues are reopened since it's blocking tenant related data migration. Thanks and best regards On Wed, Jul 30

Re: [Dev] Merge the Pull Request (TA-874)

2014-07-31 Thread Malintha Adikari
Hi Nuwan, Resolved the issue. Regards, Malintha Adikari On Mon, Jul 28, 2014 at 6:01 PM, Nuwan Wimalasekara wrote: > Hi Malintha, > Please resolve the JIRA since the issue is fixed now. > > Thanks, > Nuwanw > > > On Mon, Jul 28, 2014 at 6:00 PM, Nuwan Wimalasekara > wrote: > >> Merged at >>

Re: [Dev] [G-Reg]Adding Password field support for RXTs

2014-07-31 Thread Sameera Kannangara
Hi all, In an off-line discussion with Subash regarding the UI aspect of the password field, we decided to use above option #1. As "TextField" and "PasswordField" are peers in the UI context, and as "TextField" has several other attribute that are not required by "PasswordField", option #1 was sel

Re: [Dev] Best approach to optimize imports in Java

2014-07-31 Thread Chamil Jeewantha
Hi Aruna, AFAIK, The compiler will replace all the class names with the fully qualified name at all the places whether or not we use package.*. So after compilation, there is no impact from this practice. This is all about readability for me. Lets say I have 10 packages imported a.b.c.*, a.b.d.*

Re: [Dev] canot invoke bps service using jaggery app

2014-07-31 Thread Akila Nimantha [IT/EKO/LOITS]
Hi Danushka, Yu.. :) I think you solved the problem. Now correctly invoke services from bps. Thank you very very much for your instant replies Danushka. Regards, Akila From: Danushka Fernando [mailto:danush...@wso2.com] Sent: Thursday, July 31, 2014 4:58 PM To: Akila Nimantha [I

Re: [Dev] canot invoke bps service using jaggery app

2014-07-31 Thread Danushka Fernando
Hi Akila Sorry for the confusion. Use following as the payload. Here we should only send the content of soap body as the payload. http://docs.oasis-open.org/ns/bpel4people/ws-humantask/api/200803"; xmlns:ns1=" http://docs.oasis-open.org/ns/bpel4people/ws-humantask/types/200803 ">'+'ALL_TASKS'+' T

Re: [Dev] Fixes on MQTT-MB integration for v3.0.0

2014-07-31 Thread Pamod Sylvester
HI Hasitha, The wild card characters were not working due to the messages with wild card characters not being interpreted when read from cassandra. This fix should be done for the Andes Kernal. AFAIR HasithaH had a fix for this which he had done for the 2.1.1 version. Thanks, Pamod On Wed, Jul

[Dev] Request to merge pull requests for carbon-Identity and product-is

2014-07-31 Thread Pulasthi Mahawithana
Hi, Please review and merge the pull requests [1] and [2] that contains fixes for IS startup errors after git migration. [1] https://github.com/wso2-dev/product-is/pull/1 [2] https://github.com/wso2-dev/carbon-identity/pull/6 -- *Pulasthi Mahawithana* Software Engineer WSO2 Inc., http://wso2.co

[Dev] Best approach to optimize imports in Java

2014-07-31 Thread Aruna Karunarathna
Hi all, For e.g I have a java file with following imports. Scenario 1 import java.io.*; import java.util.*; import java.util.zip.*; Scenario 2 import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException;

Re: [Dev] canot invoke bps service using jaggery app

2014-07-31 Thread Danushka Fernando
And also Try changing version.open(options," https://192.168.255.150:9443/services/AuthenticationAdmin.AuthenticationAdminHttpsSoap12Endpoint/ ",*false*); to version.open(options," https://192.168.255.150:9443/services/AuthenticationAdmin

Re: [Dev] canot invoke bps service using jaggery app

2014-07-31 Thread Danushka Fernando
Hi Akila Can you add the current BPS side error logs. Thanks & Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Jul 31, 2014 at 1:55 PM, Akila Nimantha [IT/EKO/LOITS] < aki...@lolctech.com> wrote: > Hi Danushka, > > Now cockie pass well but “

Re: [Dev] canot invoke bps service using jaggery app

2014-07-31 Thread Akila Nimantha [IT/EKO/LOITS]
Hi Danushka, Now cockie pass well but “error in invoking the service” still there, (org.mozilla.javascript.WrappedException: Wrapped org.jaggeryjs.scriptengine.exceptions.ScriptException: Error occured while invoking the service (/slogin//pageOne.jag#91) at org.mozilla.javascript.Context.throwAs

Re: [Dev] canot invoke bps service using jaggery app

2014-07-31 Thread Danushka Fernando
The request is an object of WSRequest object. Sorry for incomplete answer previously. Make it as *var *cookieString = version.getResponseHeader( "Set-Cookie"); *var *cookie = cookieString.split(";")[0]; Thanks & Regards Danushka Fernando Soft

Re: [Dev] canot invoke bps service using jaggery app

2014-07-31 Thread Akila Nimantha [IT/EKO/LOITS]
Hi Danushka, I put the code u sent me in my application code. But still there is error. Now it says error about “canot find getResponseHeader” . please check below for AS error part. TypeError: Cannot find function getResponseHeader in object [object Request].org.mozilla.javascript.WrappedExce