Re: [Dev] ES login issue with network assigned IP

2014-10-22 Thread Sameera Medagammaddegedara
Hi Dharshana, I did not get a chance to check it with SAML Tracer.I will update the thread after doing so. Thank You, Sameera On Wed, Oct 22, 2014 at 11:15 PM, Rajeeva Uthayasangar wrote: > Hi Dharshana, > In my case also, authentication request validation is passed and the > authentication r

Re: [Dev] Siddhi Transforemer init() method is get invoked two times

2014-10-22 Thread Rajeevan Vimalanathan
Hi Mohan, Yes, It's blocking with our Timer implementation. We are using a Timer to schedule resetting stream-lib library when given time elapsed and Timer scheduling event is now inside init method. So two timers get started and two scheduling happens. As we talked with you, we will be using a co

Re: [Dev] Siddhi Transforemer init() method is get invoked two times

2014-10-22 Thread Mohanadarshan Vivekanandalingam
On Thu, Oct 23, 2014 at 11:36 AM, Rajeevan Vimalanathan wrote: > Hi, > > We have written a custom Siddhi transformer for Top-K implementation. When > I deploy it with CEP, I could notice that init() method is get called two > times. Why is that? > Rajeevan, It is a known issue in the current sid

[Dev] Siddhi Transforemer init() method is get invoked two times

2014-10-22 Thread Rajeevan Vimalanathan
Hi, We have written a custom Siddhi transformer for Top-K implementation. When I deploy it with CEP, I could notice that init() method is get called two times. Why is that? -- Best Regards, V.Rajeevan Software Engineer, WSO2 Inc. :http://wso2.com Mobile : +94 773090875 Email : rajeev...@wso2.co

Re: [Dev] Permission issue when changing the life cycle state in ES publisher

2014-10-22 Thread Sameera Medagammaddegedara
Hi Dilan, As per our offline discussion this seems to be caused by the reviewer attempting change the state to a state in which he/she has no get rights to the resource. One way of tackle this problem would be to do lifecycle transitions as an admin user after checking the permissions of the logge

Re: [Dev] Use of javax.net.ssl.keyStore and javax.net.ssl.trustStore

2014-10-22 Thread Johann Nallathamby
Hi Tharindu, Are you using HttpClient library or javax.net library ? I think its better you use javax.net library like Waruna has used, then there will be less dependencies to pack into the webapp. The authenticationendpoint webapp should be lightweight as possible. Thanks, Johann. On Thu, Oct 2

Re: [Dev] [APIM][BAM] issue with integrating APIM 1.8.0 with BAM 2.5.0

2014-10-22 Thread Dunith Dhanushka
Hi, When a port offset is applied to BAM 2.5.0, it'll automatically increment the ports of all Cassandra data sources if they have been pointed to embedded Cassandra instance. So there's no need to manually edit /repository/conf/bam-datasources.xml file anymore. For more information on BAM 2.5.0

Re: [Dev] [Carbon] - How to revert the changes made by 'sh ciphertool.sh -Dconfigure' command?

2014-10-22 Thread Roshan Deniyage
Thanks Isuru for the information. I was looking for an one time change rather than manual changes. Anyway, if there is no such way, I'll follow the manual way. Thanks again. Roshan Deniyage Associate Technical Lead WSO2, Inc: http://wso2.com Mobile: +94 777636406 Twitter: *https://twitt

Re: [Dev] Reduce the execution speed of Web Driver

2014-10-22 Thread Krishantha Samaraweera
On Thu, Oct 23, 2014 at 10:03 AM, Ayesha Dissanayaka wrote: > Hi Krishantha, > > In order to avoid thread sleeps inside ui-test cases, I have written an > extension[01] for the automation framework which waits test execution until > assets are populated properly after completing indexing and all.

Re: [Dev] Session maintain in HttpClient

2014-10-22 Thread Godwin Amila Shrimal
Hi Roshan, Correct. Server session is managed by Servlet container and Client session handled by Cookie, We need to get the cookie from first response and pass it to server via second request. BTW I tried it and not working properly. On Thu, Oct 23, 2014 at 10:05 AM, Roshan Deniyage wrote: > H

Re: [Dev] Session maintain in HttpClient

2014-10-22 Thread Godwin Amila Shrimal
Hi Lakshman, Session in the server is maintaining properly, But server should recognize same client session accessing the resources, When we send an request to the server, server create an session, when we send an another request sever create another session. We need to send a cookie and access th

Re: [Dev] Session maintain in HttpClient

2014-10-22 Thread Roshan Deniyage
Hi, AFAIK, client session management should be handled by both client side and server side. If you use Servlet container like tomat, it automatically manage session and send the relevant session cookie to client side. If you want to use that session, in subsequent requests you have to send the same

Re: [Dev] Reduce the execution speed of Web Driver

2014-10-22 Thread Ayesha Dissanayaka
Hi Krishantha, In order to avoid thread sleeps inside ui-test cases, I have written an extension[01] for the automation framework which waits test execution until assets are populated properly after completing indexing and all. This applies for some other tests(ex: REST APIs) other than ui-test ca

[Dev] Merged Carbon-utils to Carbon-Commons

2014-10-22 Thread Himan Gamage
Hi, The pull request for $subject is attached herewith[1]. [1] https://github.com/wso2/carbon-commons/pull/18 thanks -- Best Regards, Himan Gamage Software Engineer Intern Mobile: *+94714636720* Email: hi...@wso2.com Blog : http://www.himangamage.info/ *WSO2, Inc. :** wso2.com

Re: [Dev] Use of javax.net.ssl.keyStore and javax.net.ssl.trustStore

2014-10-22 Thread Waruna Perera
HI Tharindu, Here is code example of using custom SSL context. [1] [1] https://github.com/wso2-dev/carbon-platform-integration/blob/master/test-automation-framework/org.wso2.carbon.automation.test.utils/src/main/java/org/wso2/carbon/automation/test/utils/generic/MutualSSLClient.java On Thu, Oct

Re: [Dev] Use of javax.net.ssl.keyStore and javax.net.ssl.trustStore

2014-10-22 Thread Johann Nallathamby
You should be able to use SSLSocketFactory API to create a custom SSL context. However you need to think about where you are going to store the key store and trust store. For your requirement, it should default to the carbon key store and trust store in IS by default. Only if someone wants to they

Re: [Dev] Limitations with Cache Mediator

2014-10-22 Thread Lakmali Baminiwatta
Hi Lalaji, In REQUESTHASHGenerator, we excluded Date and User-Agent headers when generating the request hash. If there are any other or custom headers which need to be excluded, we can write a new Hash Generator implementation by extending REQUESTHASHGenerator and override 'getDigest()' method. Th

Re: [Dev] Permission issue when changing the life cycle state in ES publisher

2014-10-22 Thread Chathura Dilan
Hi Sameera, It is In-Review to Approved On Wed, Oct 22, 2014 at 5:36 PM, Sameera Medagammaddegedara < samee...@wso2.com> wrote: > Hi DIlan, > > Could you provide the states involved in the transition? > > Thank You, > Sameera > > On Wed, Oct 22, 2014 at 4:27 PM, Chathura Dilan > wrote: > >> Hi,

Re: [Dev] Problem with registry mounting with multiple mounts

2014-10-22 Thread Danushka Fernando
Hi Senaka For an app in AF users can add Resources like datasources, databases, registry properties and apis. We save registry properties and apis in cloud registry. So we read/write them from network calls. In cloud these network calls cause lot of issues like slowness, timeouts and so on. As a so

Re: [Dev] Reduce the execution speed of Web Driver

2014-10-22 Thread Krishantha Samaraweera
Hi, On Mon, Oct 20, 2014 at 10:25 AM, Ayesha Dissanayaka wrote: > Hi, > > I'm also having this concern while executing UI test cases in WSO2 ES. > > In my case ES Publisher App take ablout 15sec in order to populate > properly after completing indexing and all. Hence, I have to thread sleep > al

Re: [Dev] Problem with registry mounting with multiple mounts

2014-10-22 Thread Senaka Fernando
Hi Danushka, So, in this case, why not keep things simple and have one registry per environment, like in your picture and mount /_system/governance of G-Reg to /_system/governance of AS? Why won't this work? Thanks, Senaka. On Wed, Oct 22, 2014 at 9:37 PM, Danushka Fernando wrote: > Hi Senaka

Re: [Dev] Problem with registry mounting with multiple mounts

2014-10-22 Thread Danushka Fernando
Hi Senaka I just added appserver inside the cloud because that what we have right now. ;) By network calls I meant #1. Thanks & Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Oct 23, 2014 at 1:56 AM, Senaka Fernando wrote: > Guys, > > So be

Re: [Dev] Problem with registry mounting with multiple mounts

2014-10-22 Thread Senaka Fernando
Guys, So before digging directly into the solution, we should take a step back and see whether we are doing the right thing in the first place. So, firstly Danushka, thanks for sharing the use-case. Having said this, AppFactory, long-term is not going to just have AppServer only. When you say ne

Re: [Dev] Oauth2 Access Token expiry time VS openid connect IDToken expiry time

2014-10-22 Thread Prabath Siriwardena
There are no hard & fast rules.. In that case it would be better to keep two configurations... Will reply in detail later Thanks & regards, -Prabath On Wed, Oct 22, 2014 at 8:56 PM, Johann Nallathamby wrote: > Making the expiry time of IDToken equal to access token in general looks > OK to

Re: [Dev] Limitations with Cache Mediator

2014-10-22 Thread Lalaji Sureshika
Hi, On Fri, Dec 6, 2013 at 2:49 AM, Lakmali Baminiwatta wrote: > Hi Sanjeewa, > > > On 6 December 2013 07:48, Sanjeewa Malalgoda wrote: > >> >> >> >> On Mon, Dec 2, 2013 at 6:23 PM, Lakmali Baminiwatta >> wrote: >> >>> Hi, >>> >>> >>> On 2 December 2013 18:02, Sumedha Rubasinghe wrote: >>> >

Re: [Dev] [Carbon] - How to revert the changes made by 'sh ciphertool.sh -Dconfigure' command?

2014-10-22 Thread Isuru Perera
Hi Roshan, There is no way to revert all changes at once, but you can just remove the secret alias with secure vault name space (svns:secretAlias) and use a plain text password. For example: You can change following password to wso2carbon I hope this helps! Thanks! Best Regards, On Wed, Oc

Re: [Dev] Session maintain in HttpClient

2014-10-22 Thread Lakshman Udayakantha
Hi Amila, As I understood session should maintain in server not client right? and is these two Jsp pages reside in same web application? if they are in same web app, one thing to notice is your session may be time out. make sure it is not. you can try adding below code in your jsp2 <%@ page langu

Re: [Dev] [AppFactory] LoadBalancingDataPublisher seems to handle failover but not load balancing

2014-10-22 Thread Gayan Dhanushka
Hi Sinthuja, Thanks a lot. It is working as expected now. Regards GayanD On Wed, Oct 22, 2014 at 9:29 PM, Sinthuja Ragendran wrote: > Hi, > > > > On Wed, Oct 22, 2014 at 11:52 AM, Manoj Gunawardena > wrote: > >> Hi Gayan, >> >> I think the bamServerURL format you are passing is not correct.

Re: [Dev] ES login issue with network assigned IP

2014-10-22 Thread Darshana Gunawardana
On Wed, Oct 22, 2014 at 10:08 PM, Rajeeva Uthayasangar wrote: > Hi Sameera, > Issue comes in the redirection URL after the authentication. It's > redirecting with the IP but the domain we registered in SP is localhost. > Redirection domain should be same as what we gave in SP registering AFAIK. >

Re: [Dev] ES login issue with network assigned IP

2014-10-22 Thread Rajeeva Uthayasangar
Hi Sameera, Issue comes in the redirection URL after the authentication. It's redirecting with the IP but the domain we registered in SP is localhost. Redirection domain should be same as what we gave in SP registering AFAIK. @Chandana The solution which i mentioned, solved the issue in App Manage

Re: [Dev] [AppFactory] LoadBalancingDataPublisher seems to handle failover but not load balancing

2014-10-22 Thread Sinthuja Ragendran
Hi, On Wed, Oct 22, 2014 at 11:52 AM, Manoj Gunawardena wrote: > Hi Gayan, > > I think the bamServerURL format you are passing is not correct. It should > be pass to the DataPublisherUtil.getReceiverGroups method with following > format. > * {*tcp://192.168.16.2:7614},{tcp://192.168.16.2:7624

Re: [Dev] [AppFactory] LoadBalancingDataPublisher seems to handle failover but not load balancing

2014-10-22 Thread Manoj Gunawardena
Hi Gayan, I think the bamServerURL format you are passing is not correct. It should be pass to the DataPublisherUtil.getReceiverGroups method with following format. * {*tcp://192.168.16.2:7614},{tcp://192.168.16.2:7624}*.* Each host should enclose with curly brackets. Pls refer http://mohanadars

Re: [Dev] [BAM][API-Manager] issue in updating API Manager statistics dashboard with BAM

2014-10-22 Thread Lakshman Udayakantha
Hi Manoj, I tested this with single BAM instance. As Gihan mentioned ,Still need to check there is a problem in APIM side. I will update this thread if problem is in APIM Thanks On Wed, Oct 22, 2014 at 7:49 PM, Manoj Gunawardena wrote: > Hi Lakshman, > > This is very useful results, Thanks for

Re: [Dev] Oauth2 Access Token expiry time VS openid connect IDToken expiry time

2014-10-22 Thread Johann Nallathamby
Making the expiry time of IDToken equal to access token in general looks OK to me and inline with our access token implementation which is to always issue the same token if one already exists and only reduce the remaining lifetime. There could some cases we need to think about. 1. Need to think ab

Re: [Dev] ES login issue with network assigned IP

2014-10-22 Thread Sameera Medagammaddegedara
Hi Rajeeva, During the offline discussion with Chandana it was noted that the response was hitting the correct acs endpoint. Thank You, Sameera On Wed, Oct 22, 2014 at 8:24 PM, Rajeeva Uthayasangar wrote: > Hi Chandana/Sameera, > > AFAIK, Store and publisher are in SSO and they are registered

Re: [Dev] [AppFactory] LoadBalancingDataPublisher seems to handle failover but not load balancing

2014-10-22 Thread Gayan Dhanushka
Hi Sinthuja, I tested with two BAM servers pointing to its own cassandra (not clustered). I was not able to see the load balancing scenario where nearly equal amount of events are published into respective BAM nodes. Following is the code that I have used. Please correct me if I have done somethi

Re: [Dev] ES login issue with network assigned IP

2014-10-22 Thread Rajeeva Uthayasangar
Hi Chandana/Sameera, AFAIK, Store and publisher are in SSO and they are registered as service providers with localhost in sso-idp-config.xml (ES_HOME/repositort/conf). You have to register the service provider with IP in sso-idp-config.xml as below in order to access via IP. store

Re: [Dev] Problems running build with auto tests on Mac

2014-10-22 Thread Thushara Ranawaka
Hi, FYI I include this line of code to my .bash_profile profile and did some integration testing in greg. There was an unusual behaviour after I add this code line in mac osx. Better not to use: export JAVA_TOOL_OPTIONS='-Djava.awt.headless=true' I couldn't identify the root cause but I assume some

Re: [Dev] ES login issue with network assigned IP

2014-10-22 Thread Chandana Napagoda
Great... Thanks Sameera, I have created a JIRA[1] for this issue. [1]. https://wso2.org/jira/browse/STORE-542 Regards, Chandana On Wed, Oct 22, 2014 at 7:22 PM, Sameera Medagammaddegedara < samee...@wso2.com> wrote: > Hi Chandana, > > I was able to reproduce the problem on my local setup. > >

Re: [Dev] [BAM][API-Manager] issue in updating API Manager statistics dashboard with BAM

2014-10-22 Thread Manoj Gunawardena
Hi Lakshman, This is very useful results, Thanks for sharing. We will do the same test for ES as well. Is this test run for single BAM instance, or multiple? (load balanced environment) Thanks On Wed, Oct 22, 2014 at 6:37 PM, Lakshman Udayakantha wrote: > Hi Gihan, > > I sent 1 requests wi

Re: [Dev] [AppFactory] LoadBalancingDataPublisher seems to handle failover but not load balancing

2014-10-22 Thread Sinthuja Ragendran
Hi gayan, In order to verify the loadbalancing of events in a round robin manner, you can have two BAM nodes pointing to its own cassandra instance (not clustered), and send the events to those BAM nodes. If your client is configured correctly for load balancing scenario, then you will see each ba

Re: [Dev] Session maintain in HttpClient

2014-10-22 Thread Manoj Gunawardena
Hi Amila, Use same httpContext object to create httpclient connections to test1 and test2 jsps. Thanks On Wed, Oct 22, 2014 at 5:45 PM, Godwin Amila Shrimal wrote: > Hi, > > I am using org.apache.http.client.HttpClient to send http request, here I > want to maintain the session. > > Ex. I hav

[Dev] Improvement to Jaggery Log HostObject

2014-10-22 Thread Ruchira Wageesha
Hi all, Jaggery Log hostobject has been improved[1] in Jaggery master to support both a message and the exception object as in log4j API. i.e. You can log use it as below for all log levels. log.error(e) //print the stacktrace log.error('my error messge') //print the message log.error('my error m

Re: [Dev] [BAM][API-Manager] issue in updating API Manager statistics dashboard with BAM

2014-10-22 Thread Lakshman Udayakantha
Hi Gihan, I will try that way. thank you so much for the support you have given so far Thanks On Wed, Oct 22, 2014 at 6:49 PM, Gihan Anuruddha wrote: > Hi Lakshman, > > That's is a good observation. So I believe this event should be either > first one or the last one. Can you please do a anoth

Re: [Dev] ES login issue with network assigned IP

2014-10-22 Thread Sameera Medagammaddegedara
Hi Chandana, I was able to reproduce the problem on my local setup. I will provide an update on this as soon as possible, could you please create a JIRA to track the issue? Thank You, Sameera On Wed, Oct 22, 2014 at 7:09 PM, Chandana Napagoda wrote: > Hi Sameera/Ruchira, > > We have noticed f

Re: [Dev] WSO2 Committers += Tishan Dahanayakage

2014-10-22 Thread Chanuka Dissanayake
Congratulations Tishan..! On Wed, Oct 22, 2014 at 4:12 PM, Chamila De Alwis wrote: > Congrats Tishan! > > > Regards, > Chamila de Alwis > Software Engineer | WSO2 | +94772207163 > Blog: code.chamiladealwis.com > > > > On Fri, Oct 17, 2014 at 10:41 AM, Sriskandarajah Suhothayan > wrote: > >> Hi

[Dev] ES login issue with network assigned IP

2014-10-22 Thread Chandana Napagoda
Hi Sameera/Ruchira, We have noticed following behavior in latest ES based store application. If the user tries to access store application using a network assigned IP address, they won't be able to login into store app. Instead he will be redirected to the same page again and again. However login

Re: [Dev] [BAM][API-Manager] issue in updating API Manager statistics dashboard with BAM

2014-10-22 Thread Gihan Anuruddha
Hi Lakshman, That's is a good observation. So I believe this event should be either first one or the last one. Can you please do a another small test? Shutdown the BAM server. Delete the Cassandra data folder completely (You can find that in repository/databases/cassandra) Truncate the APIM relate

Re: [Dev] [BAM][API-Manager] issue in updating API Manager statistics dashboard with BAM

2014-10-22 Thread Lakshman Udayakantha
Hi Gihan, I sent 1 requests with the preconditions you have mentioned. only one record is missed in cassendra database for every time I sent 1 requests via APIM. Thanks On Wed, Oct 22, 2014 at 9:28 AM, Lakshman Udayakantha wrote: > Hi Gihan, > > I will do that test and get back to you.

[Dev] Oauth2 Access Token expiry time VS openid connect IDToken expiry time

2014-10-22 Thread Gayan Gunawardana
Hi, Oauth2 access token and openid connect IDToken both contains expiry time, confusion is are any relationship between those values or access token expiry time equal to IDToken expiry time. Openid connect specification mentioned that [1] *Expiration time on or after which the ID Token MUST NOT

[Dev] How to run tests sequentially using @Factory and @DataProvider

2014-10-22 Thread Malithi Edirisinghe
Hi, I am creating tests dynamically with @Factory annotation for various set of parameters with the use of a data provider. I want these tests to be executed exactly in the order of the array of objects returned by the data provider method. Ex: @Factory(dataProvider = "dp") public FactoryDataProv

Re: [Dev] Permission issue when changing the life cycle state in ES publisher

2014-10-22 Thread Sameera Medagammaddegedara
Hi DIlan, Could you provide the states involved in the transition? Thank You, Sameera On Wed, Oct 22, 2014 at 4:27 PM, Chathura Dilan wrote: > Hi, > > I'm getting the following exception when changing the life-cycle state ( > to Approve or Reject) in mobile publisher with reviewer role. > > J

[Dev] [Carbon] - How to revert the changes made by 'sh ciphertool.sh -Dconfigure' command?

2014-10-22 Thread Roshan Deniyage
Hi Devs, I'm working with secure vault feature in wso2 products. After we encrypting the sensitive data in configuration files using the command "sh ciphertool.sh -Dconfigure", is there a way to revert the changes made? I mean if someone wants to use plain text password later on, is there a way

[Dev] Session maintain in HttpClient

2014-10-22 Thread Godwin Amila Shrimal
Hi, I am using org.apache.http.client.HttpClient to send http request, here I want to maintain the session. Ex. I have a web application hosted in tomcat. web app has a *test1.jsp* which set session attribute *code. *there is a another JSP called *test2.jsp* which get the session attribute *code

Re: [Dev] Missing delete user operation in RemoteUserStoreManagerServiceClient and add user with claims in UserManagementClient of TAF 4.2.8

2014-10-22 Thread Malithi Edirisinghe
Hi, So I will be adding below method to the org.wso2.carbon.automation.api.clients.identity.usermgt.remote.RemoteUserStoreManagerServiceClient which would be used in my test cases to create and delete users accordingly. public void deleteUser(String username) throws RemoteUserStoreManagerService

Re: [Dev] Create HttpServletRequest programatically.

2014-10-22 Thread Godwin Amila Shrimal
Hi Manoj/Rajeevan, I could sort out my issue without using HttpServletRequest, AFAIK there is no mock object creation framework used in the carbon framework. On Tue, Oct 21, 2014 at 12:36 PM, Manoj Gunawardena wrote: > Hi, > Yes, Spring and Struts both has Servlet mock object creation. But if

Re: [Dev] Carbon Kernel COMPILATION ERROR : Feature Manager Core

2014-10-22 Thread Irham Iqbal
Hi Sameera, It works after using JDK6 to build Thanks, Iqbal On Wed, Oct 22, 2014 at 4:46 PM, Sameera Jayasoma wrote: > Use JDK6 to build > > Thanks, > Sameera. > > On Wed, Oct 22, 2014 at 4:44 PM, Irham Iqbal wrote: > >> Hi, >> >> When building the Carbon kernel 4.3.0 i am getting the follow

Re: [Dev] Carbon Kernel COMPILATION ERROR : Feature Manager Core

2014-10-22 Thread Sameera Jayasoma
Use JDK6 to build Thanks, Sameera. On Wed, Oct 22, 2014 at 4:44 PM, Irham Iqbal wrote: > Hi, > > When building the Carbon kernel 4.3.0 i am getting the following > compilation error. > Please advice me how to proceed from here. > > The Git repository is > https://github.com/wso2/carbon4-kernel/

Re: [Dev] WSO2 Committers += Tishan Dahanayakage

2014-10-22 Thread Chamila De Alwis
Congrats Tishan! Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Fri, Oct 17, 2014 at 10:41 AM, Sriskandarajah Suhothayan wrote: > Hi all, > > It's our pleasure to welcome Tishan Dahanayakage as a WSO2 > Committer. Tishan has contributed imm

[Dev] Carbon Kernel COMPILATION ERROR : Feature Manager Core

2014-10-22 Thread Irham Iqbal
Hi, When building the Carbon kernel 4.3.0 i am getting the following compilation error. Please advice me how to proceed from here. The Git repository is https://github.com/wso2/carbon4-kernel/tree/release-4.3.0 [INFO] - [ERROR] COMPILA

[Dev] Permission issue when changing the life cycle state in ES publisher

2014-10-22 Thread Chathura Dilan
Hi, I'm getting the following exception when changing the life-cycle state ( to Approve or Reject) in mobile publisher with reviewer role. JaggeryTravellingPermissionLifeCycle org.wso2.carbon.registry.core.secure.AuthorizationFailedException: Resource update failed. User rev is not authorized to

Re: [Dev] [APIM][BAM] issue with integrating APIM 1.8.0 with BAM 2.5.0

2014-10-22 Thread Lakshman Udayakantha
Hi All, As per the offline discussion with Maninda, after changing the port offset to another value rather than zero, it shouldn't change the port for WSO2BAM_CASSANDRA_DATASOURCE in bam-datasource.xml in BAM 2.5.0. with that change setup is working properly Thanks On Wed, Oct 22, 2014 at 1:55 P

Re: [Dev] [BAM][API-Manager] issue in updating API Manager statistics dashboard with BAM

2014-10-22 Thread Maninda Edirisooriya
Hi Lakshman, First you should make sure all the required statistics are published to BAM with the data publisher. In order to do it you can, 1. Add a debug log to the data publisher publishing method to log all the messages passed through it. 2. Then you can use Cassandra Explorer or another tool

Re: [Dev] Problem with registry mounting with multiple mounts

2014-10-22 Thread Shazni Nazeer
Hi Pulasthi, Have you done this configuration in GREG or AS? If you want to mount /_system/governance path in AS to /_system/as/governance in GREG, you have to put the following in AS asgov /_system/as/governance and asgov /_system/as/governance

Re: [Dev] API Manager 1.8.0 pack 20-10-2014

2014-10-22 Thread Yasassri Ratnayake
Thanks, We will be using the provided scripts for time being. On Wed, Oct 22, 2014 at 2:52 PM, Uvindra Dias Jayasinha wrote: > Ticket has been resolved and the updated scripts can be obtained from here > till a new pack is issued, > > > https://svn.wso2.org/repos/wso2/carbon/platform/branches/tu

Re: [Dev] API Manager 1.8.0 pack 20-10-2014

2014-10-22 Thread Uvindra Dias Jayasinha
Ticket has been resolved and the updated scripts can be obtained from here till a new pack is issued, https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/apimgt/1.8.0/modules/distribution/resources/sql/ You can use these scripts instead of the ones in the 20 October pack to

Re: [Dev] Problem with registry mounting with multiple mounts

2014-10-22 Thread Pulasthi Supun
Hi Shazni, Nope, the configs are correct asgov /_system/governance this config means to mount the /_system/governance path in AS, into the "/_system/as/governance". Regards, Pulasthi On Wed, Oct 22, 2014 at 2:45 PM, Shazni Nazeer wrote: > Pulasthi, > > As I understand

Re: [Dev] BAM 2.5.0 Release testing

2014-10-22 Thread Anjana Fernando
Hi Aparna, First, use the versions by default mentioned in the puppet setup. Then after that, you can move into Apache Cassandra 2.0.x and DSE Cassandra 2.0 based one. Hadoop use the same mentioned in the puppet setup, that is the stable v1 version. Cheers, Anjana. On Wed, Oct 22, 2014 at 11:40

Re: [Dev] Problem with registry mounting with multiple mounts

2014-10-22 Thread Shazni Nazeer
Pulasthi, As I understand you have to change the AS mount as below. asgov /_system/as/governance i.e. As Senaka has mentioned you aren't trying to mount /_system/governance of AS, but rather /_system/as/governance to /_system/governance of GREG. Shazni Nazeer Senior Sof

Re: [Dev] WSO2 GREG - Asset Models with more ESB

2014-10-22 Thread Prasanna Dangalla
Hi Aliosha, In this set up ESB nodes asset will sync to Governance Registry. It means when we have ESB1 and ESB 2 , once ESB 1 will sync with Governance Registry and on the other time ESB 2 will sync with Governance Registry. Hence ESB1 and ESB2 will not sync among them. So when you need to sync

[Dev] [AppFactory] LoadBalancingDataPublisher seems to handle failover but not load balancing

2014-10-22 Thread Gayan Dhanushka
Hi all, I have been trying to move the AsyncDataPublisher used in App Factory to LoadBalancingDataPublisher to cater load balancing and failover. Even though [1] describes that it sends data to available receiver nodes in a round robin manner, I was only able to observe the failover scenario. Can

Re: [Dev] Missing delete user operation in RemoteUserStoreManagerServiceClient and add user with claims in UserManagementClient of TAF 4.2.8

2014-10-22 Thread Krishantha Samaraweera
Yes please ahead and add the missing method. Thanks, Krishantha. On Wed, Oct 22, 2014 at 1:27 PM, Malithi Edirisinghe wrote: > Copying Krishantha. > > On Wed, Oct 22, 2014 at 11:47 AM, Malithi Edirisinghe > wrote: > >> Hi, >> >> I'm working on writing integration tests for openid. In order to

[Dev] [APIM][BAM] issue with integrating APIM 1.8.0 with BAM 2.5.0

2014-10-22 Thread Lakshman Udayakantha
Hi All, I am trying to integrate BAM 2.5.0 with APIM 1.8.0. I followed https://docs.wso2.com/display/AM170/Publishing+API+Runtime+Statistics to do this. After I configured BAM and started it, got the following exception and can’t publish the data. anyone has any idea about this error? [2014-10-2

Re: [Dev] Reduce the execution speed of Web Driver

2014-10-22 Thread Dharshana Warusavitharana
Hi Sohani, As I see the issue you are facing is web driver expects a element even before it loads in the page. One of the cleanest ways to do this is add a wait based on a condition. WebDriverWait wait = new WebDriverWait(webDriver, timeoutInSeconds); wait.until(ExpectedConditions.visibilityOfE

Re: [Dev] Missing delete user operation in RemoteUserStoreManagerServiceClient and add user with claims in UserManagementClient of TAF 4.2.8

2014-10-22 Thread Malithi Edirisinghe
Copying Krishantha. On Wed, Oct 22, 2014 at 11:47 AM, Malithi Edirisinghe wrote: > Hi, > > I'm working on writing integration tests for openid. In order to test the > open id flow I have implemented a parameterized test case that run for > different parameters. > Here as per the received paramet

[Dev] Use of javax.net.ssl.keyStore and javax.net.ssl.trustStore

2014-10-22 Thread Tharindu Edirisinghe
Hi, I have a webapp that calls an admin service of IS through mutual ssl authentication. The call is done using the HttpClient. For that I am setting the keystore and truststore details of the client at runtime like below. System.setProperty("javax.net.ssl.keyStore", CLIENT_KEY_STORE_

Re: [Dev] Seeing some warnings while building data-services component

2014-10-22 Thread Prabath Abeysekera
Great. Thanks! On Wed, Oct 22, 2014 at 9:15 AM, Chanika Geeganage wrote: > Hi Prabath, > > All the warnings are fixed now except the following warning. > > [WARNING] > [WARNING] Some problems were encountered while building the effective > model for > org.wso2.carbon:org.wso2.carbon.dataservic

Re: [Dev] Problem with registry mounting with multiple mounts

2014-10-22 Thread Danushka Fernando
​​Hi Senaka Here is Our use case. Our deployment is like below. We have three separate governance registries for three clouds. So when we want to do a operation to registry of those clouds we have to do a network call which gives an overhead. So if we can mount those governance registries to AF to

[Dev] [Suggestion] List of ports used by WSO2 products

2014-10-22 Thread Niranda Perera
Hi, Is there a list of products used by WSO2 products by default? IMO it would be better if we could have one, because it would be easier to setup Security Group Rules while spawning support cloud instances. Would like to know your opinion about this! Cheers -- *Niranda Perera* Software Engin

Re: [Dev] BAM 2.5.0 Release testing

2014-10-22 Thread Aparna Karunarathna
Hi Anjana, As we discussed(Anjana, Evanthika & myself), due to the limited time frame we have to prioritize the testing scope. BAM Cluster should be configured using puppet scripts. Therefore can you please specify the exact Cassandra & hadoop versions to test. Regards, Aparna. On Wed, Oct 22, 2

[Dev] Missing delete user operation in RemoteUserStoreManagerServiceClient and add user with claims in UserManagementClient of TAF 4.2.8

2014-10-22 Thread Malithi Edirisinghe
Hi, I'm working on writing integration tests for openid. In order to test the open id flow I have implemented a parameterized test case that run for different parameters. Here as per the received parameters I'm creating a user before the test method and delete at the end. I also create claim value

Re: [Dev] [Appfactory] Use GJit plugin for repository management

2014-10-22 Thread Mahesh Chinthaka
Hi Dimuthu, I will try that way out and let you know. Thanks. On Wed, Oct 22, 2014 at 11:08 AM, Dimuthu Leelarathne wrote: > Hi Mahesh, > > As per our offline discussion we can use org.wso2.carbon.appfactory. > repository.mgt.client.AppfacotryRepositoryClient inside deployers as > well. So we'l

Re: [Dev] Cache apphome data to improve performance in AF

2014-10-22 Thread Dimuthu Leelarathne
Hi, Lets remove the branch count from user home page. Because it doesn't give any useful information to the users involed in the app. The users who are involved in the app knows how active and apps are. thanks, dimuthu On Mon, Oct 20, 2014 at 1:41 PM, Samith Dassanayake wrote: > Hi all, > Sin

Re: [Dev] WSO2 Committers += Tishan Dahanayakage

2014-10-22 Thread Roshan Deniyage
Congratulations Tishan! Roshan Deniyage Associate Technical Lead WSO2, Inc: http://wso2.com Mobile: +94 777636406 Twitter: *https://twitter.com/roshku * LinkedIn : https://www.linkedin.com/in/roshandeniyage On Wed, Oct 22, 2014 at 7:53 AM, Aiyadurai Rajeev

Re: [Dev] [Appfactory] Use GJit plugin for repository management

2014-10-22 Thread Dimuthu Leelarathne
Hi Mahesh, As per our offline discussion we can use org.wso2.carbon.appfactory. repository.mgt.client.AppfacotryRepositoryClient inside deployers as well. So we'll have one AppFactoryRepositoryClient everywhere. If we copy the RepositoryMgt into the AppServer it should function without an issue be

Re: [Dev] Problem with registry mounting with multiple mounts

2014-10-22 Thread Senaka Fernando
Pulasthi, You have mounted AS on G-Reg but not G-Reg on AS right? This is not the normal way of setting this up. Any reason for doing this? Thanks, Senaka. On Tuesday, October 21, 2014, Pulasthi Supun wrote: > Hi Senaka/All, > > Consider the following mounting scenario > > A greg has its gover

[Dev] BPS send same human task to multiple users by using expressions

2014-10-22 Thread Akila Nimantha [IT/EKO/LOITS]
Hi all, I'm doing some tests for deploying human task on WSO2 BPS.I want to send same human task to multiple users by using expressions without using literals.I put two potentialowners.but it only goes to first user.Is there any working sample code ? htd:getInput("ClaimApproval

Re: [Dev] BAM 2.5.0 Release testing

2014-10-22 Thread Asanthi Kulasinghe
Hi, Can we please have a p2 repo to be used for this? Regards Asanthi On Tue, Oct 21, 2014 at 8:39 PM, Shavantha Weerasinghe wrote: > Hi Aparna > > I have started work on the test scenarios for feature ID#3186 related to > Multiple Transport/Data Format Support in BAM > > regards, > > Shavanth

Re: [Dev] Problem with registry mounting with multiple mounts

2014-10-22 Thread Dimuthu Leelarathne
Hi all, Here is the OT JIRA I have reported about a week ago. https://wso2.org/jira/browse/REGISTRY-2320 thanks, dimuthu On Wed, Oct 22, 2014 at 9:58 AM, Pulasthi Supun wrote: > Hi Senka, > > This came from a use case of app factory, Danushka should be able to > provide some more detail of n

[Dev] How to identify thread ID's for messages in ESB?

2014-10-22 Thread Dimuthu De Lanerolle
Hi, We are in the process of writing test cases for following ESB properties. ClientApiNonBlocking - By default, Axis2 will spawn a new thread to handle each outgoing message. To change this behavior, remove this property from the message. Removal of this property could be vital when queuing tran

Re: [Dev] Problem with registry mounting with multiple mounts

2014-10-22 Thread Pulasthi Supun
Hi Senka, This came from a use case of app factory, Danushka should be able to provide some more detail of needed. They have AF instance that has its governance spaced mounted. and they want to mount all the governance spaces of other products that are running into AF so all the governance spaces

Re: [Dev] API Manager 1.8.0 pack 20-10-2014

2014-10-22 Thread Yasassri Ratnayake
Hi Uvindra, I'm using *mysql 5.5.40*. Till you fix this issue is it OK if we use the scripts from the 6th October pack since this issue is blocking us. With regards, On Wed, Oct 22, 2014 at 9:50 AM, Uvindra Dias Jayasinha wrote: > The change to the script was introduced via the resolution of t

Re: [Dev] Handling Concurrency with Jaggery Scripts

2014-10-22 Thread Harshan Liyanage
Ultimately Jaggery is compiled into a java byte-code by the Rhino Engine. So the same principals will apply as Dinesh as mentioned. :) Best Regards, Lakshitha Harshan Software Engineer Mobile: *+94724423048* Email: hars...@wso2.com Blog : http://harshanliyanage.blogspot.com/ *WSO2, Inc. :** wso2.

Re: [Dev] API Manager 1.8.0 pack 20-10-2014

2014-10-22 Thread Uvindra Dias Jayasinha
Yes you can use the scripts from the previous pack to continue but refrain from testing any *work flow* related functionality until we resolve this for the moment. We will change this so that it is backward compatible. On 22 October 2014 09:59, Yasassri Ratnayake wrote: > Hi Uvindra, > > I'm us

Re: [Dev] API Manager 1.8.0 pack 20-10-2014

2014-10-22 Thread Uvindra Dias Jayasinha
The change to the script was introduced via the resolution of this ticket, https://wso2.org/jira/browse/APIMANAGER-2536 This issue is MySQL version dependent and does not occur on version 5.6.5 and above. Most probably this was tested on a newer version of MySQL during development and therefore d

Re: [Dev] AM Store and Publisher too slow in cluster setup

2014-10-22 Thread Akila Nimantha [IT/EKO/LOITS]
Hi Lakshman, Awesome. Its working. ☺ . What I did was changed true to false created oracle datasources in conf/datasources/mster-datasource.xml. Can you guys mention(change) this thing on api manager performance tuning document(https://docs.wso2.com/display/AM170/Tuning+Performance)(it says to

Re: [Dev] Handling Concurrency with Jaggery Scripts

2014-10-22 Thread Milinda Perera
HI Dilan, When comes to "session" variable AFAIK it represents the http session between the HTTP client and the HTTP server. For example, if we consider https connection, all key information (such as cookies etc.) related to https session are wrapped in the session variable. If you need you can pu

Re: [Dev] API Manager 1.8.0 pack 20-10-2014

2014-10-22 Thread Chamara Ariyarathne
So are we recommending the users to use mysql only above 5.6.5 ? On Wed, Oct 22, 2014 at 9:50 AM, Uvindra Dias Jayasinha wrote: > The change to the script was introduced via the resolution of this ticket, > > https://wso2.org/jira/browse/APIMANAGER-2536 > > This issue is MySQL version dependent

Re: [Dev] API Manager 1.8.0 pack 20-10-2014

2014-10-22 Thread Uvindra Dias Jayasinha
I am looking into this, the script has been changed recently On 22 October 2014 07:53, Yasassri Ratnayake wrote: > Hi All, > > There seems to be an Syntax error in the mysql DB scripts(apim scripts), > and due to this some of the tables do not get created. I have reported this > at [1]. Since th

Re: [Dev] Front-end framework to use

2014-10-22 Thread CD Athuraliya
Hi all, Thanks a lot for offering help and for suggestions guys! :) Best regards. On Wed, Oct 22, 2014 at 8:37 AM, Dhanuka De Silva wrote: > Hi CD > > If you need help defining the user experience workflow for your project, > pls feel free to talk. > > Cheers > Dhanuka > > On Tue, Oct 21, 2014

  1   2   >