Re: [Dev] [APIM] The default tier of the api-level tier list sets as the default tier of the resource-level

2016-06-02 Thread Harsha Kumara
Yes, it's look like a bug. But you have have simple subtheme fix to get rid of the issue. [1] - http://sanjeewamalalgoda.blogspot.com/2015/01/how-to-add-sub-theme-to-api-manager.html On Fri, Jun 3, 2016 at 10:58 AM, Amalka Subasinghe wrote: > No I removed it before create the

Re: [Dev] [APIM] The default tier of the api-level tier list sets as the default tier of the resource-level

2016-06-02 Thread Amalka Subasinghe
No I removed it before create the api After removing the Unlimited tier, created a tenant and then created the API On Fri, Jun 3, 2016 at 10:09 AM, Rukshan Premathunga wrote: > Hi Amalka, > > did you remove unlimited tier after the API creation. Since when unlimited > tier

Re: [Dev] [GSoC 2016]Proposal 03: [ML]Visual(Deep) Neural Network Builder -Project Progress

2016-06-02 Thread CD Athuraliya
Hi Lakini, You can gain some insight for your NN builder from TensorFlow Playground [1]. It is also open source under Apache 2.0 licence [2]. [1] http://playground.tensorflow.org [2] https://github.com/tensorflow/playground Regards, CD On Thu, Jun 2, 2016 at 8:00 AM, Upul Bandara

Re: [Dev] [APIM] The default tier of the api-level tier list sets as the default tier of the resource-level

2016-06-02 Thread Rukshan Premathunga
Hi Amalka, did you remove unlimited tier after the API creation. Since when unlimited tier is available this cannot be observed. I think this is a bug. Thanks. On Fri, Jun 3, 2016 at 7:52 AM, Amalka Subasinghe wrote: > Hi, > > In my APIM 1.10.0 node, I have removed Unlimited

Re: [Dev] Is streaming input & output support working in MSF4J?

2016-06-02 Thread Afkham Azeez
On Fri, Jun 3, 2016 at 9:38 AM, Isuru Ranawaka wrote: > while (true) { > if (carbonMessage.isEmpty() && > carbonMessage.isEndOfMsgAdded()) { > break; > } else { > ByteBuffer byteBuffer =

Re: [Dev] Is streaming input & output support working in MSF4J?

2016-06-02 Thread Isuru Ranawaka
Hi Azeez, Please find the below sample code. public class Test { public static void main(String[] args) { Thread t = new Thread(new Test.ContentFiller()); t.start(); } static class ContentFiller implements Runnable { @Override public void run() {

Re: [Dev] [Docker] CentOS 7 Kernel Issue

2016-06-02 Thread Imesh Gunaratne
I was able to tackle this using a symlink: server_name=${WSO2_SERVER}-${WSO2_SERVER_VERSION} echo "Moving carbon server from /mnt/${server_name} to ${server_path}..." ln -s "/mnt/${server_name}" "${server_path}/${server_name}" On Fri, Jun 3, 2016 at 7:40 AM, Imesh Gunaratne

Re: [Dev] [Siddhi] Group behavior in Timewindow

2016-06-02 Thread Yashothara Shanmugarajah
Hi Liangfei.Su, In this case you are using Time Window. The behavior of the Time Window is giving out put for each event. Because it is moving window. If you want to get only 15 events as results you have to use TimeBatch Window. Even you are grouping the event using EventName, the output event

Re: [Dev] [wso2/siddhi] Has problems with Siddhi group by with a time window (#154)

2016-06-02 Thread Charini Nanayakkara
Hi Liangfei.Su, This is the expected behavior of external time window. Since it's a moving time window, you get an output for each incoming event. Due to the presence of the group by keyword, it would give an aggregate output by considering the events with the same uuid and similarityId, which

Re: [Dev] [Docker] CentOS 7 Kernel Issue

2016-06-02 Thread Imesh Gunaratne
FYI: https://github.com/docker/docker/issues/9572 On Fri, Jun 3, 2016 at 7:32 AM, Imesh Gunaratne wrote: > Hi Devs, > > I see the below error in CentOS 7: > > [vagrant@a1 images]$ docker run -it wso2esb-manager:4.9.0 > Creating directory /mnt/172.17.0.2... > Moving carbon server

[Dev] [Docker] CentOS 7 Kernel Issue

2016-06-02 Thread Imesh Gunaratne
Hi Devs, I see the below error in CentOS 7: [vagrant@a1 images]$ docker run -it wso2esb-manager:4.9.0 Creating directory /mnt/172.17.0.2... Moving carbon server from /mnt/wso2esb-4.9.0 to /mnt/172.17.0.2... mv: cannot remove '/mnt/wso2esb-4.9.0/INSTALL.txt': No such file or directory mv: cannot

Re: [Dev] [wso2/siddhi] Has problems with Siddhi group by with a time window (#154)

2016-06-02 Thread Liangfei.Su
+WSO2 @DL Could someone eligible to explain? https://github.com/wso2/siddhi/issues/154 Thanks, Ralph On Fri, Jun 3, 2016 at 8:21 AM, Garrett wrote: > Has problems with Siddhi group by with a time window, I am able to get the > correct result aggregations for the

[Dev] [Siddhi] Group behavior in Timewindow

2016-06-02 Thread Liangfei.Su
Hi, I found an issue https://github.com/wso2/siddhi/issues/91 reporting the group behavior of time window in siddhi doesnt work as expected. I see the same issue, this github issue has been there for months, anybody could help explain? The reporter using siddhi 3.0.3 while i use siddhi 3.0.5.

Re: [Dev] Issues in loading shared dashboard with registry cache enabled

2016-06-02 Thread Sinthuja Ragendran
Hi Chandana, Sorry for the delay, I was bit busy with some other stuff and couldn't check it immediately. I added the tenant flow, and it worked! As it was working when we disable the cache, I have thought it's something related to cache, and didn't try to add the tenant flow. Anyhow now it

Re: [Dev] Is streaming input & output support working in MSF4J?

2016-06-02 Thread Afkham Azeez
This CarbonMessage API is not intuitive. Please share code samples that demonstrate streaming input handling with CarbonMessage (request). On Thu, Jun 2, 2016 at 9:52 PM, Samiyuru Senarathne wrote: > I assume isEndOfMsgAdded only tell that all the chunks are loaded to the >

Re: [Dev] Is streaming input & output support working in MSF4J?

2016-06-02 Thread Afkham Azeez
while(!carbonMsg.isEndOfMsgAdded) { ByteBuffer chunk = carbonMsg.getMessageBody(); } In the above segment, carbonMsg is the request CarbonMessage and the above code segment doesn't work. Code inside the while loop never executes. On Thu, Jun 2, 2016 at 9:47 PM, Isuru Ranawaka

Re: [Dev] Is streaming input & output support working in MSF4J?

2016-06-02 Thread Samiyuru Senarathne
That means from isEndOfMsgAdded what we can do is only stop further waiting on the blocking queue. But still we have to read all remaining content from the queue. On Thu, Jun 2, 2016 at 9:52 PM, Samiyuru Senarathne wrote: > I assume isEndOfMsgAdded only tell that all the

Re: [Dev] Is streaming input & output support working in MSF4J?

2016-06-02 Thread Samiyuru Senarathne
I assume isEndOfMsgAdded only tell that all the chunks are loaded to the blocking queue. So still we have to complete the total blocking queue. On Thu, Jun 2, 2016 at 9:50 PM, Afkham Azeez wrote: > while(!carbonMsg.isEndOfMsgAdded) { > ByteBuffer chunk =

Re: [Dev] Is streaming input & output support working in MSF4J?

2016-06-02 Thread Isuru Ranawaka
Hi Azeez, yes that should work. Anyhow content needs to be added to carbonMsg from one thread and read to be from another thread. thanks On Thu, Jun 2, 2016 at 9:23 PM, Afkham Azeez wrote: > Is the following code segment the way to read all the chunks; > >

Re: [Dev] Is streaming input & output support working in MSF4J?

2016-06-02 Thread Afkham Azeez
Is the following code segment the way to read all the chunks; while(!carbonMsg.isEndOfMsgAdded) { ByteBuffer chunk = carbonMsg.getMessageBody(); } On Thu, Jun 2, 2016 at 9:21 PM, Afkham Azeez wrote: > Looks like we require changes for input streaming as well. > > Does

Re: [Dev] Need AS 6.0.0 Pack

2016-06-02 Thread Nisala Nanayakkara
Hi Megala, Thanks for the quick response. I will check it. Thanks, Nisala On Thu, Jun 2, 2016 at 9:11 PM, Megala Uthayakumar wrote: > Hi Nisala, > > Can you check the mail with the subject "[Dev][AS] Help to build > product-as". Product-as 6.0.0 requires jdk 1.8. > > Thanks.

Re: [Dev] Is streaming input & output support working in MSF4J?

2016-06-02 Thread Afkham Azeez
Looks like we require changes for input streaming as well. Does CarbonMessage.getMessageBody() block until the next chunk is received? On Thu, Jun 2, 2016 at 9:18 PM, Afkham Azeez wrote: > Samiyuru/Isuru, > Does this mean that the input streaming in MSF4J is currently working >

Re: [Dev] Is streaming input & output support working in MSF4J?

2016-06-02 Thread Afkham Azeez
Samiyuru/Isuru, Does this mean that the input streaming in MSF4J is currently working without any issue and only output streaming requires some work? On Tue, May 3, 2016 at 2:29 PM, Isuru Ranawaka wrote: > Hi All, > > Following are the details on streaming support of carbon

Re: [Dev] Need AS 6.0.0 Pack

2016-06-02 Thread Megala Uthayakumar
Hi Nisala, Can you check the mail with the subject "[Dev][AS] Help to build product-as". Product-as 6.0.0 requires jdk 1.8. Thanks. Regards, Megala On Thu, Jun 2, 2016 at 9:05 PM, Nisala Nanayakkara wrote: > Hi all, > > I am trying to build the product-as in order to get the

[Dev] Need AS 6.0.0 Pack

2016-06-02 Thread Nisala Nanayakkara
Hi all, I am trying to build the product-as in order to get the AS-6.0.0 pack. But it gives the following error. *[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project appserver-utils: Fatal error compiling: invalid target

Re: [Dev] [wso2 IS] How to disable Shindig fetching google analytics

2016-06-02 Thread Kasun Bandara
Hi Bhathiya, Thanks for pointing out the corresponding version update. Created [1] to ensure that this doesn't miss in the next release. Regards, Kasun. [1] https://wso2.org/jira/browse/IDENTITY-4650 On Thu, Jun 2, 2016 at 7:41 PM, Bhathiya Jayasekara wrote: > Hi Udara, >

Re: [Dev] Best way to access an osgi service from an AdminService

2016-06-02 Thread Fathima Dilhasha
Hi Geesara, Thanks for the explanation. I will try this way. Regards, Dilhasha On 1 Jun 2016 21:42, "Geesara Prathap" wrote: > > getOSGiService(Class clazz) method has been deprecated. You can verify > it by looking its implementation class: >

Re: [Dev] [wso2 IS] How to disable Shindig fetching google analytics

2016-06-02 Thread Bhathiya Jayasekara
Hi Udara, This is fixed by carbon-dashboards 1.0.18. See [1]. IS has to upgrade its dependency. [1] [Dev] Shindig error on DS portal startup, due to connectivity errors to google Thanks, Bhathiya On Thu, Jun 2, 2016 at 7:01 PM, Udara Liyanage wrote: > Hi, > > IS 510 tries to

Re: [Dev] Pass dynamic values to class mediator

2016-06-02 Thread Isuru Udana
Hi Godwin, For now we only have the option I suggested above and yes supporting expressions as class mediator parameters is a good improvement we can do in a future release. Thanks. On Thu, Jun 2, 2016 at 7:31 PM, Godwin Shrimal wrote: > Hi Kathees/Isuru, > > I think we can

Re: [Dev] Pass dynamic values to class mediator

2016-06-02 Thread Godwin Shrimal
Hi Kathees/Isuru, I think we can solve the issue using property straightforward. But still there are good use cases which need to pass dynamic values to class mediator may be we can improve in future release. Passing parameter to a class mediator is more readable for developers/users from API

Re: [Dev] Unexpected error occured when generating SAML2 bearer token using API manager- IS integrated setup.

2016-06-02 Thread Bhathiya Jayasekara
Hi Sewmini, Could you please confirm your observations after using tenantDomain only with samlsso URL (for tenants)? Thanks, Bhathiya On Thu, Jun 2, 2016 at 10:16 AM, Nuwan Dias wrote: > Ok thanks, if there is no API change we don't have to worry. > > Thanks, > NuwanD. > > On

[Dev] [wso2 IS] How to disable Shindig fetching google analytics

2016-06-02 Thread Udara Liyanage
Hi, IS 510 tries to reach google analytic at startup. When an server is started in a docker container where no internet access is available it throws errors and server startup delays. Is there configuration to stop this? TID: [-1234] [] [2016-06-02 12:58:43,036] INFO

Re: [Dev] Error while login the database using sqlplus

2016-06-02 Thread Malaka Silva
Check the following comment. *finally, I switch the system user from root to oracle. And I login success* . [1] http://stackoverflow.com/questions/16043193/ora-12547-tns-lost-contact-when-running-dbca-on-oracle-11g-installation-on-ubun On Thu, Jun 2, 2016 at 5:20 PM, Kanapriya Kuleswararajan

Re: [Dev] [Carbon Caching] Caching won't work for objects from different bundles without dynamic imports

2016-06-02 Thread Afkham Azeez
When you are creating the Cache configuration (javax.cache.configuration.MutableConfiguration) you need to setStoreByValue(false). The JCache API 1.0 by default sets storeByValue to true. On Tue, May 31, 2016 at 12:28 PM, Jayanga Kaushalya wrote: > Hi Azeez, > > I have

Re: [Dev] Error while login the database using sqlplus

2016-06-02 Thread Kanapriya Kuleswararajan
HI Malaka ! I already tried with above discussion, and now also double check with that , but I get the same error. Thanks Kanapriya Kuleswararajan Associate Software Engineer Mobile : - 0774894438 Mail : - kanapr...@wso2.com On Thu, Jun 2, 2016 at 5:02 PM, Malaka Silva wrote:

Re: [Dev] Error while login the database using sqlplus

2016-06-02 Thread Malaka Silva
Did you already checked the following discussion? http://www.dadbm.com/how-to-fix-ora-12547-tns-lost-contact-when-try-to-connect-to-oracle/ On Thu, Jun 2, 2016 at 4:22 PM, Kanapriya Kuleswararajan wrote: > Hi all, > > I'm following [1] to install and configure oracle

[Dev] [Test Automation] How can we attach a file with post request in a test case

2016-06-02 Thread Mahesh Chinthaka
Hi, I want to attach a file for a post request along with some other parameters and values. What is the usual practice we follow in wso2 test automation framework ? -- *Mahesh Chinthaka Vidanagama* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri

[Dev] Error while login the database using sqlplus

2016-06-02 Thread Kanapriya Kuleswararajan
Hi all, I'm following [1] to install and configure oracle Oracle Identity and Access Management. Before install the identity and access management , need to install oracle database and follow the installation guide [2] for install the database. I successfully install the oracle software and

Re: [Dev] Issues in loading shared dashboard with registry cache enabled

2016-06-02 Thread Chandana Napagoda
Hi Sinthuja, Since you haven't initiated the correct tenant flow in the first place, resource has been cached in the wrong tenant space. Therefore you must access other tenant user's registry correctly by starting correct tenant flow. Regards, Chandana On Jun 2, 2016 1:15 PM, "Sinthuja

Re: [Dev] Issues in loading shared dashboard with registry cache enabled

2016-06-02 Thread Sinthuja Ragendran
Hi Chandana, I also had a doubt about starting the tenant flow, but it was working when we disable the cache, hence I thought the issue is not related to tenant flow. And if it's related to tenant flow, it shouldn't have worked even if we disable the cache. Anyhow let me add the tenant flow part

Re: [Dev] Fwd: Testing with ESB 5.0.0-BETA

2016-06-02 Thread Kesavan Yogarajah
Noted Malaka. I have created the jiras [1] & [2]. [1] - https://wso2.org/jira/browse/ESBJAVA-4646 [2] - https://wso2.org/jira/browse/ESBJAVA-4647 Thanks Kesavan Yogarajah Software Engineer Mobile :+94 (0) 779 758021 kesav...@wso2.com WSO2, Inc. lean . enterprise . middleware On Thu, Jun 2,

Re: [Dev] Issues in loading shared dashboard with registry cache enabled

2016-06-02 Thread Chandana Napagoda
Hi Sinthuja, Everytime when you are accessing the registry of another tenant, you must start the tenant flow using particular tenant user beforehand and close it after performing the registry operation. I don't see any code used here to start a super tenant flow before accessing the super tenant

Re: [Dev] WSO2 Carbon-Cashing 1.0.0 Released

2016-06-02 Thread Nipuni Perera
Hi all, Please apologize for the typo error in the title of the email. The title should be corrected as "WSO2 Carbon-Caching 1.0.0 Released" Thanks, Nipuni On Thu, Jun 2, 2016 at 12:21 PM, Nipuni Perera wrote: > WSO2 Carbon-Caching 1.0.0 Released > > The Carbon team is

[Dev] carbon-datasources: Supporting Database Properties

2016-06-02 Thread Isuru Perera
Hi, This is regarding [1]. Supporting database properties is required for Carbon Metrics. It will be a blocker when someone wants to use Carbon Metrics with Oracle database. Can we get it fixed soon? Thanks! Best Regards, [1] https://wso2.org/jira/browse/CDATASOURC-2 -- Isuru Perera

[Dev] WSO2 Carbon-Cashing 1.0.0 Released

2016-06-02 Thread Nipuni Perera
WSO2 Carbon-Caching 1.0.0 Released The Carbon team is pleased to announce the release of Carbon-Caching 1.0.0. Carbon-Caching 1.0.0 implements the JSR 107 (JCache) 1.0 specification. Installing as a Feature You may install carbon-caching feature to your product with: org.wso2.carbon.caching

Re: [Dev] How to create a signed auth request using sso module within jaggery-extensions

2016-06-02 Thread Udara Rathnayake
On Thu, Jun 2, 2016 at 12:12 PM, Malithi Edirisinghe wrote: > > Hi, > > On Wed, Jun 1, 2016 at 9:25 PM, Udara Rathnayake wrote: > >> Hi All, >> >> We have buildAuthenticationRequest[1] wrapped within our sso client js >> module. Noticed following error after

[Dev] Fwd: Testing with ESB 5.0.0-BETA

2016-06-02 Thread Malaka Silva
+1 Please create a jira and attach the fix. Better to fix it for all cases. -- Forwarded message -- From: Kesavan Yogarajah Date: Thu, Jun 2, 2016 at 11:53 AM Subject: Testing with ESB 5.0.0-BETA To: Malaka Silva Hi Malaka, I have checked

Re: [Dev] Issues in loading shared dashboard with registry cache enabled

2016-06-02 Thread Chandana Napagoda
Hi Sinthuja, I would like to review this implementation. Can you please point me the code block, which is used to access the super tenant registry when tenant user has logged in? Have you started super tenant flow before accessing the super tenant's registry? Regards, Chandana On Jun 2, 2016

Re: [Dev] How to create a signed auth request using sso module within jaggery-extensions

2016-06-02 Thread Malithi Edirisinghe
Hi, On Wed, Jun 1, 2016 at 9:25 PM, Udara Rathnayake wrote: > Hi All, > > We have buildAuthenticationRequest[1] wrapped within our sso client js > module. Noticed following error after enabling sso with signature > validation, > > WARN >