Re: [Dev] How to add HTML elements and JS functions dynamically

2014-08-12 Thread Danushka Fernando
Hi Samith As we discussed offline you can set the value of select item to the file name and at the onselect event you can load that particular js and call some function in it. But there needs to be a function with same name in each file to make it work. Thanks Regards Danushka Fernando Software

[Dev] [BPS][HumanTask] Problem of identifying multiple xpath functions in Rendering elements

2014-08-12 Thread Hasitha Aravinda
Rendering elements can have, multiple xpath functions [1]. For Eg: htd:rendering type=input wso2:html![CDATA[ table tr tdCustomer Name/td td*htd:concat(getInput(ClaimApprovalRequest)/cust/firstname, , * *getInput(ClaimApprovalRequest)/cust/lastname)*/td /tr tr

Re: [Dev] Secure Vault for XML Files Outside Conf Folder

2014-08-12 Thread Dumidu Handakumbura
Hi, Any input on this? Regards, On Wed, Aug 6, 2014 at 11:10 AM, Dumidu Handakumbura dum...@wso2.com wrote: Hi, Can I use secure vault to secure element values of xml files outside the conf folder? Such as tenant user store xmls, data services dbs files etc. Regards, -- *Dumidu

Re: [Dev] Carbon Commit Required.

2014-08-12 Thread Malaka Silva
Hi Shameera, Pull request added to jira [1]. Please merge. [1] https://wso2.org/jira/browse/CARBON-14910 Best Regards, Malaka On Mon, Aug 11, 2014 at 4:20 PM, Malaka Silva mal...@wso2.com wrote: thx On Mon, Aug 11, 2014 at 4:06 PM, Shameera Rathnayaka shame...@wso2.com wrote: Hi

Re: [Dev] create single dss service by join two different excel workbooks

2014-08-12 Thread Rajith Vitharana
Hi Akila, You can use Nested queries in DSS to achieve the requirement you have mentioned. This is explained in [1]. You have to define two data sources for your two excel files. Then you can use them in the nested queries as explained in [1]. [1] -

Re: [Dev] [ESB] Problems sending numeric keys in JSON Payloads

2014-08-12 Thread Jay
Hi Malaka, I have already tried this solution and this will work only if we declared ?xml-multiple? in payloadFactory mediator. But if i set ?xml-multiple? in script mediator it will ignore. Following is my complete config: payloadFactory media-type=xml format

[Dev] WSO2 ESB Product Build Fail

2014-08-12 Thread Shiva Balachandran
Hi, I was trying to build the ESB product and i encounter this error when it comes to the WSO2 ESB Integration Test Core. [ERROR] Failed to execute goal on project org.wso2.esb.integration.core: Could not resolve dependencies for project org.wso2.esb:org.wso2.esb.integration.core:jar:4.8.1:

[Dev] [EMM] Devices Pending Operations APIs are different in APIM and Android

2014-08-12 Thread Chathura Dilan
Hi, I have found that the pending operation APIs are different in APIM and Android Agent in EMM EMM creates and subscribes to a API called GET /api/emm/devices/pendingOperations but in Android agent it calls an API called POST /api/emm/notifications/pendingOperations/1.0.0 But in EMM

Re: [Dev] WSO2 ESB Product Build Fail

2014-08-12 Thread Dilan Udara Ariyaratne
Hi Shiva: What are the JDK Maven versions, you are using? Thanks. *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. http://wso2.com/ Mobile: +94775149066 lean . enterprise . middleware On Tue, Aug 12, 2014 at 1:30 PM, Shiva Balachandran sh...@wso2.com wrote: Hi, I was trying to build

Re: [Dev] [EMM] Devices Pending Operations APIs are different in APIM and Android

2014-08-12 Thread Niranjan Karunanandham
Hi Dilan, You are correct. We do not have an api as devices/pendingOperations in the Server. The valid one is notifications/pendingOperations. I believe the issue is at the startup.js which auto creates the apis and publishes it. Please create a public JIRA. Regards, Nira On Tue, Aug 12, 2014

Re: [Dev] WSO2 ESB Product Build Fail

2014-08-12 Thread Shiva Balachandran
Hi Dilan, Its Apache Maven 3.0.5 and java version 1.7.0_07 Thank you. On Tue, Aug 12, 2014 at 2:02 PM, Dilan Udara Ariyaratne dil...@wso2.com wrote: Hi Shiva: What are the JDK Maven versions, you are using? Thanks. *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. http://wso2.com/

Re: [Dev] WSO2 ESB Product Build Fail

2014-08-12 Thread Aruna Karunarathna
Hi Shiva, Java 1.7 is still not supported. Please use java 1.6 and try to rebuild. Regards, Aruna On Tue, Aug 12, 2014 at 2:12 PM, Shiva Balachandran sh...@wso2.com wrote: Hi Dilan, Its Apache Maven 3.0.5 and java version 1.7.0_07 Thank you. On Tue, Aug 12, 2014 at 2:02 PM, Dilan

Re: [Dev] WSO2 ESB Product Build Fail

2014-08-12 Thread Dilan Udara Ariyaratne
Yes, I too agree with Aruna... *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. http://wso2.com/ Mobile: +94775149066 lean . enterprise . middleware On Tue, Aug 12, 2014 at 2:14 PM, Aruna Karunarathna ar...@wso2.com wrote: Hi Shiva, Java 1.7 is still not supported. Please use java 1.6 and

Re: [Dev] WSO2 ESB Product Build Fail

2014-08-12 Thread Shiva Balachandran
Hi Aruna, Will rebuild using java 1.6. Thank you! On Tue, Aug 12, 2014 at 2:14 PM, Aruna Karunarathna ar...@wso2.com wrote: Hi Shiva, Java 1.7 is still not supported. Please use java 1.6 and try to rebuild. Regards, Aruna On Tue, Aug 12, 2014 at 2:12 PM, Shiva Balachandran

Re: [Dev] WSO2 ESB Product Build Fail

2014-08-12 Thread Harsha Kumara
I think this is because 1.5.11-wso2v6 is not available at http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/ws/security/wss4j/. Also there was a mail thread in [1]. I think the group id of integration core pom needs to changed for wso2 version as

Re: [Dev] [EMM] Devices Pending Operations APIs are different in APIM and Android

2014-08-12 Thread Chathura Dilan
Added a JIRA https://wso2.org/jira/browse/EMM-719 On Tue, Aug 12, 2014 at 2:06 PM, Niranjan Karunanandham niran...@wso2.com wrote: Hi Dilan, You are correct. We do not have an api as devices/pendingOperations in the Server. The valid one is notifications/pendingOperations. I believe the

[Dev] Performance machine sr10 - Disk full

2014-08-12 Thread Daya Attapattu
The disk is full on perf machine sr10. Here is what du says: root@sr10:/home# du -sh * 16K ais 562G amtest 228G cep 1.1G isuser 16K lost+found 835G mbtest 16K stratos 40K wso2 2.5G wso2test Can someone delete, or let me know if I can delete, some these files? Regards, Daya -- Daya

Re: [Dev] Performance machine sr10 - Disk full

2014-08-12 Thread Lasantha Fernando
Hi Daya, Cleaned up about ~180G of redundant data files from 'cep' account. Can you ask from MB team and AM team if it is possible to clean some space from their accounts as well if more space is needed? Thanks, Lasantha On 12 August 2014 14:43, Daya Attapattu d...@wso2.com wrote: The disk

Re: [Dev] [ESB] Problems sending numeric keys in JSON Payloads

2014-08-12 Thread Malaka Silva
Please share your configuration with the script mediator. On Tue, Aug 12, 2014 at 12:23 PM, Jay janaka.n.ranathu...@gmail.com wrote: Hi Malaka, I have already tried this solution and this will work only if we declared ?xml-multiple? in payloadFactory mediator. But if i set ?xml-multiple?

Re: [Dev] create single dss service by join two different excel workbooks

2014-08-12 Thread Rajith Vitharana
Hi Akila, I have tried out your scenario. Attached here with are the sample Excel files I have used and the dataservice I have created. You'll need to change the excel file paths in dataservice file, and then deploy it in DSS. Thanks, On Tue, Aug 12, 2014 at 12:04 PM, Rajith Vitharana

Re: [Dev] [ESB] Problems sending numeric keys in JSON Payloads

2014-08-12 Thread Jay
Hi Malaka, Following is my configuration with inline script mediator: template name=createOpportunity xmlns=http://ws.apache.org/ns/synapse; sequence payloadFactory media-type=xml format jsonObject xmlns=?xml-multiple? tags

Re: [Dev] [ESB] Problems sending numeric keys in JSON Payloads

2014-08-12 Thread Malaka Silva
Hi, There is not script mediator used in the configuration you sent. Following is the output for that. [2014-08-12 16:08:12,390] DEBUG - wire POST /services/pass1.pass1HttpSoap12Endpoint HTTP/1.1[\r][\n] [2014-08-12 16:08:12,390] DEBUG - wire Content-Type: application/soap+xml; charset=UTF-8;

Re: [Dev] Performance machine sr10 - Disk full

2014-08-12 Thread Daya Attapattu
Thanks, Lasantha. -Daya On Tue, Aug 12, 2014 at 3:29 PM, Lasantha Fernando lasan...@wso2.com wrote: Hi Daya, Cleaned up about ~180G of redundant data files from 'cep' account. Can you ask from MB team and AM team if it is possible to clean some space from their accounts as well if more

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

2014-08-12 Thread Uvindra Dias Jayasinha
Hi Azeez, What is the verdict on this? On 31 July 2014 17:14, Sagara Gunathunga sag...@wso2.com wrote: 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

Re: [Dev] AXIS2 Merge to wso2 required

2014-08-12 Thread Malaka Silva
Hi Carbon Team, Any update on this? Best Regards, Malaka On Fri, Aug 1, 2014 at 12:13 PM, Malaka Silva mal...@wso2.com wrote: 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

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

2014-08-12 Thread Afkham Azeez
I prefer not forking, but we can treat this as an exception, but create a Jira item so that we remember to switch to the main code in Apache in the future. On Tue, Aug 12, 2014 at 4:32 PM, Uvindra Dias Jayasinha uvin...@wso2.com wrote: Hi Azeez, What is the verdict on this? On 31 July

Re: [Dev] [ESB] Problems sending numeric keys in JSON Payloads

2014-08-12 Thread Malaka Silva
Hi, My understanding is your requirement is to achieve {tags:[TestTag]} you can easily done this with following. Combining payload mediator and script mediator. payloadFactory media-type=xml format jsonObject xmlns=?xml-multiple?/jsonObject

Re: [Dev] GSoC 2014 : Implement Registry Extension (RXT) 2.0 + Associated UI support

2014-08-12 Thread Iresha Udayangani
Hi Shelan, Yes, there are few changes in the server side as well. I have committed the changes to https://github.com/ireshapm0/carbon-governance/commits/dev-rxt-json I have added a new Admin Service method (addJSONRXTResource) to ManageGenericArtifactService. So you will have to build and

Re: [Dev] create single dss service by join two different excel workbooks

2014-08-12 Thread Akila Nimantha [IT/EKO/LOITS]
Hi Rajith, Thank you very much for the amazing reply and its working fine. When you reply second mail I was trying the same in two different sheets but in one excel document(only one source created). But it gives some error like ‘canot find ‘FROM’ in the statement’. Can we access two(or more)

Re: [Dev] Patch for kernel 4.2.0

2014-08-12 Thread Ajith Vitharana
[Adding dev group.] On Tue, Aug 12, 2014 at 9:32 PM, Ajith Vitharana aji...@wso2.com wrote: Hi Shameera, Please commit the patch [1] to registry.core. [1]https://wso2.org/jira/browse/REGISTRY-2262 Thanks Ajith. -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email :

Re: [Dev] Secure Vault for XML Files Outside Conf Folder

2014-08-12 Thread Anjana Fernando
Hi Dumindu, Data Services has secure vault integration, where .dbs file fields such as database user passwords, can be secured. Cheers, Anjana. On Wed, Aug 6, 2014 at 11:10 AM, Dumidu Handakumbura dum...@wso2.com wrote: Hi, Can I use secure vault to secure element values of xml files

Re: [Dev] Build failed in Jenkins: carbon-registry » WSO2 Carbon - Registry - Web Service #206

2014-08-12 Thread Ajith Vitharana
Hi SameeraK/Eranda, Can you please check this build failure ? Thanks Ajith On Wed, Aug 13, 2014 at 2:45 AM, cbuil...@wso2.org wrote: See https://wso2.org/jenkins-pr-builder/job/carbon-registry/org.wso2.carbon$org.wso2.carbon.registry.ws.api/206/

Re: [Dev] Patch for kernel 4.2.0

2014-08-12 Thread Shameera Rathnayaka
Hi Ajith, Applied patch to kernel patch0009 , BTW i moved above JIRA to WSO2 CARBON[1] as it solve carbon kernel component. Please send a pull request to carbon kernel 4.3.0 git repo. [1] https://wso2.org/jira/browse/CARBON-14912 Thanks, Shameera. On Tue, Aug 12, 2014 at 9:35 PM, Ajith

Re: [Dev] How to add HTML elements and JS functions dynamically

2014-08-12 Thread Udara Rathnayake
Hi Samitha, On Tue, Aug 12, 2014 at 10:27 AM, Samith Dassanayake sam...@wso2.com wrote: Hi, I have a form with a drop down element. Based on the selected value of the drop down I want to dynamically add form elements from a another file, which contains the remaining form elements and

Re: [Dev] create single dss service by join two different excel workbooks

2014-08-12 Thread Rajith Vitharana
Hi Akila, I assume you have enabled the Use Query Mode( as you can see in the attached screenshot) option when you created the data sources using excel sheets(I assume you have done this, otherwise wizard window won't show a sql query editor in the Add new query step). To answer the question

Re: [Dev] create single dss service by join two different excel workbooks

2014-08-12 Thread Akila Nimantha [IT/EKO/LOITS]
Hi Rajith, Done it. Now its working and extract data from sheets in same excel file. I think I forgot to add namespace in to the result element. FYI I attached new modified excel( with two Sheets)(I put your two excel files as one ☺ ) and dbs file also. Thank you very much for your instant

Re: [Dev] create single dss service by join two different excel workbooks

2014-08-12 Thread Rajith Vitharana
Hi Akila, Great to hear that it works fine and being able to assist you in the process :). Thanks, On Wed, Aug 13, 2014 at 9:37 AM, Akila Nimantha [IT/EKO/LOITS] aki...@lolctech.com wrote: Hi Rajith, Done it. Now its working and extract data from sheets in same excel file. I think I

[Dev] Build failure in chunk-13 ntask component

2014-08-12 Thread Dinusha Senanayaka
Hi, Getting following build failure. Should be relate with patch0009 updates ? [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project org.wso2.carbon.ntask.core: Compilation failure [ERROR]

Re: [Dev] Patch for kernel 4.2.0

2014-08-12 Thread Ajith Vitharana
On Wed, Aug 13, 2014 at 7:44 AM, Shameera Rathnayaka shame...@wso2.com wrote: Hi Ajith, Applied patch to kernel patch0009 , BTW i moved above JIRA to WSO2 CARBON[1] as it solve carbon kernel component. Please send a pull request to carbon kernel 4.3.0 git repo. [1]

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

2014-08-12 Thread Uvindra Dias Jayasinha
JIRA created as requested, https://wso2.org/jira/browse/APIMANAGER-2730 Sagara will assign it back to AM team once Woden M9 has been released so that we can do the switch in the future. On 12 August 2014 17:09, Afkham Azeez az...@wso2.com wrote: I prefer not forking, but we can treat this

[Dev] wso2-synapse 2.1.2-wso2v2 SynapseCommodityServiceTest test case failure

2014-08-12 Thread Sandamal Weerasinghe
Hi, I'm getting a FileNotFoundException in the above test case. Has this been encountered before? java.io.FileNotFoundException: ./../../repository/conf/axis2_pt_server.xml (No such file or directory) Thanks. Sandamal Weerasinghe | Software Engineer | WSO2 Lanka (Pvt) Ltd

Re: [Dev] How to add HTML elements and JS functions dynamically

2014-08-12 Thread Dakshika Jayathilaka
Hi, if your using jquery, you can use $.getScript() [1] for this type of dynamic js loading. [1] http://api.jquery.com/jQuery.getScript/ *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Wed, Aug 13, 2014 at 2:41 AM, Udara Rathnayake uda...@wso2.com

Re: [Dev] How to add HTML elements and JS functions dynamically

2014-08-12 Thread Samith Dassanayake
Hi Udara, We are keeping them in separate files because drop down values can be added dynamically. Based on the selected value remaining part of the form need to be changed and the validations of the those elements should be loaded dynamically. As a solution we can use JQuery.getscript()[1] or

[Dev] Installing org.wso2.carbon.apimgt.store feature failed

2014-08-12 Thread Eranda Sooriyabandara
Hi Nuwan, I am getting the following error when I tried to build G-Reg p2. What can be the reason for this? An error occurred while configuring the installed items session context was:(profile=default, phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null --

[Dev] App Manager latest build pack - 13-08-2014

2014-08-12 Thread Dinusha Senanayaka
Please find the $subject in [1]. [1]. http://builder1.us1.wso2.org/~appm/13-08-2014/ Regards, Dinusha. -- Dinusha Dilrukshi Senior Software Engineer WSO2 Inc.: http://wso2.com/ Mobile: +94725255071 Blog: http://dinushasblog.blogspot.com/ ___ Dev

Re: [Dev] Build failure in chunk-13 ntask component

2014-08-12 Thread Shameera Rathnayaka
Hi Kasun, Please fix this, This is downstream build error with hazelcast upgrade. Cheers, Shameera. On Wed, Aug 13, 2014 at 9:53 AM, Dinusha Senanayaka dinu...@wso2.com wrote: Hi, Getting following build failure. Should be relate with patch0009 updates ? [ERROR] Failed to execute goal

[Dev] No config in tenant-mgt.xml to read the value of OrganizationalSubContextAttribute

2014-08-12 Thread Nipuni Perera
Hi, I am working on issue[1]. According to the existing implementation the constant LDAPConstants.USER_CONTEXT_NAME has been used in several places to build OrganizationalSubContextAttribute. If the tenant-mgt.xml is updated to read value of property OrganizationalSubContextAttribute as follows,