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 Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729


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 validation functions for
 those elements. For each value in the drop down, we have a separate file
 which contains the remaining part of the form and validation function based
 on the selected drop down value.
 Is it possible to dynamically load elements and functions as above
 scenario? If is it possible what the best way to do it?

 Thanks

 --
 Best Regards

 Samith Dassanayake
 Software Engineer, WSO2 Inc.


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[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
   tdAmount/td
   td*htd:getInput(ClaimApprovalRequest)/amount*/td

 /tr

 tr
   tdCountry/td
   td*$country_code$*/td

 /tr

/table

]]/wso2:html

 /htd:rendering


Problems when evaluating above rendering element are,

   - Different xpath functions have different syntax. eg: concat ends with
   ) while getInput() ends with a node name. Finding start and end of a
   xpath expression is not easy.
   - It is hard to figure out use of multiple xpath functions like concat,
   except, union, avg, etc.
   - Performance ?.

 One solution is wrap xpath with $ symbol, similar to presentation
params.

Eg:

$*htd:getInput(ClaimApprovalRequest)/amount$*

WDYT ?


[1] -
http://docs.oasis-open.org/bpel4people/ws-humantask-1.1-spec-cs-01.html#_Toc151798575

( htd - http://docs.oasis-open.org/ns/bpel4people/ws-humantask/200803; )

Thanks,
Hasitha.

-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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 Handakumbura*
 Software Engineer - QA
 WSO2 Inc; http://www.wso2.com/.
 Mobile;
 *+9406740 %2B9406740 *




-- 
*Dumidu Handakumbura*
Software Engineer - QA
WSO2 Inc; http://www.wso2.com/.
Mobile;
*+9406740 *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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 Malaka,

 Done , Committed revision 206456. In order to resolve this issue you need
 to send a pull request to relevant git repo.

 ~Shameera.


 On Mon, Aug 11, 2014 at 3:29 PM, Malaka Silva mal...@wso2.com wrote:

 Hi Carbon Team,

 Please commit the diff attached with [1]

 [1] https://wso2.org/jira/browse/CARBON-14910

 Thank you.

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print
 this email only if it is absolutely necessary.




 --
 *Software Engineer - WSO2 Inc.*
 *email: shameera AT wso2.com shame...@wso2.com , shameera AT apache.org
 shame...@apache.org*
 *phone:  +9471 922 1454 %2B9471%20922%201454*

 *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
 *Twitter : *https://twitter.com/Shameera_R




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print this
 email only if it is absolutely necessary.




-- 

Best Regards,

Malaka Silva
Senior Tech Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
http://www.wso2.com/
http://www.wso2.com/about/team/malaka-silva/
http://wso2.com/about/team/malaka-silva/

Save a tree -Conserve nature  Save the world for your future. Print this
email only if it is absolutely necessary.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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] - https://docs.wso2.com/display/DSS321/Defining+Nested+Queries

Thanks,


On Mon, Aug 11, 2014 at 6:43 PM, Akila Nimantha [IT/EKO/LOITS] 
aki...@lolctech.com wrote:

  Hi all,



 I am trying to make a single data service server service by using two
 different excel workbooks. In both excel files common ‘ID’ column. I want
 to extract data from both excel files by joining those files.

 How can I do that with dss …???



 Regards,

 Akila

  This message (including any attachments) is intended only for the use of
 the individual or entity to which it is addressed and may contain
 information that is non-public, proprietary, privileged, confidential, and
 exempt from disclosure under applicable law or may constitute as attorney
 work product. If you are not the intended recipient, you are hereby
 notified that any use, dissemination, distribution, or copying of this
 communication is strictly prohibited. If you have received this
 communication in error, notify us immediately by telephone and (i) destroy
 this message if a facsimile or (ii) delete this message immediately if this
 is an electronic communication. Thank you.

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Rajith Vitharana

Software Engineer,
WSO2 Inc. : wso2.com
Mobile : +94715883223
Blog : http://lankavitharana.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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
jsonObject xmlns=?xml-multiple?
tags

jsonElementTestTag/jsonElement
/tags
nameJanaka/name
/jsonObject

/format
args /
/payloadFactory


 
property name=messageType value=application/json 
scope=axis2
type=STRING /
log level=full/

log
property name=Janaka expression=json-eval($.) /
/log

And the output:

[2014-08-12 12:17:41,485]  INFO - LogMediator To:
/services/ClevertimCRM_createOpportunity, MessageID: urn:uuid:73a98f19
-1a7e-4fbe-ba68-2ef530419845, Direction: request, Envelope: ?xml
version=1.0 encoding=utf-8?soapenv:Envelope xmln
s:soapenv=http://schemas.xmlsoap.org/soap/envelope/;soapenv:BodyjsonObject?xml-multiple
 
?tagsjsonElementTes
tTag/jsonElement/tagsnameJanaka/namescriptArrayjsonElementTestTag/jsonElement/scriptArray/jsonObject/
soapenv:Body/soapenv:Envelope

[2014-08-12 12:17:41,486]  INFO - LogMediator To:
/services/ClevertimCRM_createOpportunity, MessageID: urn:uuid:73a98f19
-1a7e-4fbe-ba68-2ef530419845, Direction: request, Janaka =
{tags:[TestTag],name:Janaka,scriptArray:TestTag}

I need to send scriptArray also as an array.

Regards,
Janaka



--
View this message in context: 
http://wso2-oxygen-tank.10903.n7.nabble.com/ESB-Problems-sending-numeric-keys-in-JSON-Payloads-tp99789p101240.html
Sent from the WSO2 Development mailing list archive at Nabble.com.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[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: Failure to find
org.apache.ws.security:wss4j:jar:1.5.11-wso2v6 in
http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the
local repository, resolution will not be reattempted until the update
interval of wso2-nexus has elapsed or updates are forced - [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]


Help? Should i build those modules separately?


-- 
Shiva Balachandran
Software Engineer

Phone - +94 774445788
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[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 there is no API called /devices/pendingOperations and it has
only notifications/pendingOperations/1.0.0


This might not going through APIM, seems android directly calls the API


-- 
Regards,

Chatura Dilan Perera
*(Senior Software Engineer** - WSO2 Inc.* * [Mobile])*
www.dilan.me
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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 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: Failure to find
 org.apache.ws.security:wss4j:jar:1.5.11-wso2v6 in
 http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the
 local repository, resolution will not be reattempted until the update
 interval of wso2-nexus has elapsed or updates are forced - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
 [ERROR]


 Help? Should i build those modules separately?


 --
 Shiva Balachandran
 Software Engineer

 Phone - +94 774445788

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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 at 1:57 PM, Chathura Dilan chathu...@wso2.com wrote:

 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 there is no API called /devices/pendingOperations and it has
 only notifications/pendingOperations/1.0.0


 This might not going through APIM, seems android directly calls the API


 --
 Regards,

 Chatura Dilan Perera
 *(Senior Software Engineer** - WSO2 Inc.* * [Mobile])*
 www.dilan.me




-- 

*Niranjan Karunanandham*
Senior Software Engineer - WSO2 Inc.
WSO2 Inc.: http://www.wso2.com
M: +94 777 749 661 http:///
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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/
 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 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: Failure to find
 org.apache.ws.security:wss4j:jar:1.5.11-wso2v6 in
 http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in
 the local repository, resolution will not be reattempted until the update
 interval of wso2-nexus has elapsed or updates are forced - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
 [ERROR]


 Help? Should i build those modules separately?


 --
 Shiva Balachandran
 Software Engineer

 Phone - +94 774445788

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev





-- 
Shiva Balachandran
Software Engineer

Phone - +94 774445788
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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 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/
 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 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: Failure to find
 org.apache.ws.security:wss4j:jar:1.5.11-wso2v6 in
 http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in
 the local repository, resolution will not be reattempted until the update
 interval of wso2-nexus has elapsed or updates are forced - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
 [ERROR]


 Help? Should i build those modules separately?


 --
 Shiva Balachandran
 Software Engineer

 Phone - +94 774445788

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev





 --
 Shiva Balachandran
 Software Engineer

 Phone - +94 774445788

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 

*Aruna Sujith Karunarathna* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 9040362 | Work: +94 112145345
Email: ar...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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 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 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/
 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 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: Failure to find
 org.apache.ws.security:wss4j:jar:1.5.11-wso2v6 in
 http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in
 the local repository, resolution will not be reattempted until the update
 interval of wso2-nexus has elapsed or updates are forced - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with
 the -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
 [ERROR]


 Help? Should i build those modules separately?


 --
 Shiva Balachandran
 Software Engineer

 Phone - +94 774445788

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev





 --
 Shiva Balachandran
 Software Engineer

 Phone - +94 774445788

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --

 * Aruna Sujith Karunarathna* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 9040362 | Work: +94 112145345
 Email: ar...@wso2.com | Web: www.wso2.com


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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 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 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/
 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 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: Failure to find
 org.apache.ws.security:wss4j:jar:1.5.11-wso2v6 in
 http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in
 the local repository, resolution will not be reattempted until the update
 interval of wso2-nexus has elapsed or updates are forced - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with
 the -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
 [ERROR]


 Help? Should i build those modules separately?


 --
 Shiva Balachandran
 Software Engineer

 Phone - +94 774445788

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev





 --
 Shiva Balachandran
 Software Engineer

 Phone - +94 774445788

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --

 * Aruna Sujith Karunarathna* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 9040362 | Work: +94 112145345
 Email: ar...@wso2.com | Web: www.wso2.com





-- 
Shiva Balachandran
Software Engineer

Phone - +94 774445788
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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
groupIdorg.apache.ws.security.wso2/groupId
because jar is reside in
http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/ws/security/wso2/wss4j/.
This may not be the correct approach.

[1]-http://mail.wso2.org/mailarchive/dev/2014-February/027463.html


On Tue, Aug 12, 2014 at 2:20 PM, Shiva Balachandran sh...@wso2.com wrote:

 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 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 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/
 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 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: Failure to find
 org.apache.ws.security:wss4j:jar:1.5.11-wso2v6 in
 http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in
 the local repository, resolution will not be reattempted until the update
 interval of wso2-nexus has elapsed or updates are forced - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with
 the -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
 [ERROR]


 Help? Should i build those modules separately?


 --
 Shiva Balachandran
 Software Engineer

 Phone - +94 774445788

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev





 --
 Shiva Balachandran
 Software Engineer

 Phone - +94 774445788

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --

 * Aruna Sujith Karunarathna* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 9040362 | Work: +94 112145345
 Email: ar...@wso2.com | Web: www.wso2.com





 --
 Shiva Balachandran
 Software Engineer

 Phone - +94 774445788

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Harsha Kumara
Software Engineer, WSO2 Inc.
Mobile: +94775505618
Blog:harshcreationz.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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
 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 at 1:57 PM, Chathura Dilan chathu...@wso2.com
 wrote:

 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 there is no API called /devices/pendingOperations and it has
 only notifications/pendingOperations/1.0.0


 This might not going through APIM, seems android directly calls the API


 --
 Regards,

 Chatura Dilan Perera
 *(Senior Software Engineer** - WSO2 Inc.* * [Mobile])*
 www.dilan.me




 --

 *Niranjan Karunanandham*
 Senior Software Engineer - WSO2 Inc.
 WSO2 Inc.: http://www.wso2.com
 M: +94 777 749 661 http:///




-- 
Regards,

Chatura Dilan Perera
*(Senior Software Engineer** - WSO2 Inc.* * [Mobile])*
www.dilan.me
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[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 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] 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 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 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




-- 
*Lasantha Fernando*
Software Engineer - Data Technologies Team
WSO2 Inc. http://wso2.com

email: lasan...@wso2.com
mobile: (+94) 71 5247551
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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?
 in script mediator it will ignore. Following is my complete config:

 payloadFactory media-type=xml
 format
 jsonObject xmlns=?xml-multiple?
 tags

 jsonElementTestTag/jsonElement
 /tags
 nameJanaka/name
 /jsonObject

 /format
 args /
 /payloadFactory



 property name=messageType value=application/json
 scope=axis2
 type=STRING /
 log level=full/

 log
 property name=Janaka expression=json-eval($.)
 /
 /log

 And the output:

 [2014-08-12 12:17:41,485]  INFO - LogMediator To:
 /services/ClevertimCRM_createOpportunity, MessageID: urn:uuid:73a98f19
 -1a7e-4fbe-ba68-2ef530419845, Direction: request, Envelope: ?xml
 version=1.0 encoding=utf-8?soapenv:Envelope xmln
 s:soapenv=http://schemas.xmlsoap.org/soap/envelope/
 soapenv:BodyjsonObject?xml-multiple
 ?tagsjsonElementTes

 tTag/jsonElement/tagsnameJanaka/namescriptArrayjsonElementTestTag/jsonElement/scriptArray/jsonObject/
 soapenv:Body/soapenv:Envelope

 [2014-08-12 12:17:41,486]  INFO - LogMediator To:
 /services/ClevertimCRM_createOpportunity, MessageID: urn:uuid:73a98f19
 -1a7e-4fbe-ba68-2ef530419845, Direction: request, Janaka =
 {tags:[TestTag],name:Janaka,scriptArray:TestTag}

 I need to send scriptArray also as an array.

 Regards,
 Janaka



 --
 View this message in context:
 http://wso2-oxygen-tank.10903.n7.nabble.com/ESB-Problems-sending-numeric-keys-in-JSON-Payloads-tp99789p101240.html
 Sent from the WSO2 Development mailing list archive at Nabble.com.
 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 

Best Regards,

Malaka Silva
Senior Tech Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
http://www.wso2.com/
http://www.wso2.com/about/team/malaka-silva/
http://wso2.com/about/team/malaka-silva/

Save a tree -Conserve nature  Save the world for your future. Print this
email only if it is absolutely necessary.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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 raji...@wso2.com wrote:

 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] - https://docs.wso2.com/display/DSS321/Defining+Nested+Queries

 Thanks,


 On Mon, Aug 11, 2014 at 6:43 PM, Akila Nimantha [IT/EKO/LOITS] 
 aki...@lolctech.com wrote:

  Hi all,



 I am trying to make a single data service server service by using two
 different excel workbooks. In both excel files common ‘ID’ column. I want
 to extract data from both excel files by joining those files.

 How can I do that with dss …???



 Regards,

 Akila

  This message (including any attachments) is intended only for the use
 of the individual or entity to which it is addressed and may contain
 information that is non-public, proprietary, privileged, confidential, and
 exempt from disclosure under applicable law or may constitute as attorney
 work product. If you are not the intended recipient, you are hereby
 notified that any use, dissemination, distribution, or copying of this
 communication is strictly prohibited. If you have received this
 communication in error, notify us immediately by telephone and (i) destroy
 this message if a facsimile or (ii) delete this message immediately if this
 is an electronic communication. Thank you.

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Rajith Vitharana

 Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94715883223
 Blog : http://lankavitharana.blogspot.com/




-- 
Rajith Vitharana

Software Engineer,
WSO2 Inc. : wso2.com
Mobile : +94715883223
Blog : http://lankavitharana.blogspot.com/


excel1.dbs
Description: Binary data


sheetV1.xls
Description: MS-Excel spreadsheet


sheetV2.xls
Description: MS-Excel spreadsheet
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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
jsonElementTestTag/jsonElement
/tags
nameJanaka/name
/jsonObject

/format
args /
/payloadFactory

**
 
property name=messageType value=application/json 
scope=axis2
type=STRING /
log level=full/

log
property name=Janaka expression=json-eval($.) /
/log
call
endpoint
http method=post uri-template={uri.var.apiUrl}/opportunity 
/
/endpoint
/call

/sequence
/template







--
View this message in context: 
http://wso2-oxygen-tank.10903.n7.nabble.com/ESB-Problems-sending-numeric-keys-in-JSON-Payloads-tp99789p101262.html
Sent from the WSO2 Development mailing list archive at Nabble.com.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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; action=urn:mediate[\r][\n]
[2014-08-12 16:08:12,391] DEBUG - wire  Cookie:
region3_registry_menu=visible; menuPanel=visible; menuPanelType=main;
region1_configure_menu=none; region4_monitor_menu=none;
region5_tools_menu=none;
requestedURI=../../carbon/service-mgt/index.jsp?region=region1item=services_list_menu;
JSESSIONID=A652FAE3D43E1ACEF72AB6060609AA68;
current-breadcrumb=manage_menu%2Cservices_menu%2Cservices_list_menu%23;
MSG14078183094500.4606495099950271=true;
MSG14078183198250.2019032806534964=true;
MSG14078183337640.8369394687123034=true;
MSG14078185781460.4222625543797929=true;
MSG14078186327360.3619132076277993=true;
MSG14078186445170.8474369217867975=true;
MSG14078189363290.09887523460529613=true;
MSG14078202820720.3139562562501682=true;
MSG14078213631700.20356205159007335=true;
MSG14078380807410.0045559539948989425=true[\r][\n]
[2014-08-12 16:08:12,391] DEBUG - wire  User-Agent: Axis2[\r][\n]
[2014-08-12 16:08:12,391] DEBUG - wire  Host: 10.100.0.29:8280[\r][\n]
[2014-08-12 16:08:12,391] DEBUG - wire  Transfer-Encoding:
chunked[\r][\n]
[2014-08-12 16:08:12,391] DEBUG - wire  [\r][\n]
[2014-08-12 16:08:12,391] DEBUG - wire  a0[\r][\n]
[2014-08-12 16:08:12,392] DEBUG - wire  ?xml version=1.0
encoding=UTF-8?soapenv:Envelope xmlns:soapenv=
http://www.w3.org/2003/05/soap-envelope
soapenv:Body/soapenv:Body/soapenv:Envelope[\r][\n]
[2014-08-12 16:08:12,392] DEBUG - wire  0[\r][\n]
[2014-08-12 16:08:12,392] DEBUG - wire  [\r][\n]
[2014-08-12 16:08:12,396]  INFO - LogMediator To:
/services/pass1.pass1HttpSoap12Endpoint, WSAction: urn:mediate, SOAPAction:
urn:mediate, MessageID: urn:uuid:52c1fe22-4f6f-4539-a39f-4eedd9d13ae3,
Direction: request, Envelope: ?xml version=1.0
encoding=utf-8?soapenv:Envelope xmlns:soapenv=
http://www.w3.org/2003/05/soap-envelope;soapenv:BodyjsonObject?xml-multiple
 
?tagsjsonElementTestTag/jsonElement/tagsnameJanaka/name/jsonObject/soapenv:Body/soapenv:Envelope
[2014-08-12 16:08:12,399]  INFO - LogMediator To:
/services/pass1.pass1HttpSoap12Endpoint, WSAction: urn:mediate, SOAPAction:
urn:mediate, MessageID: urn:uuid:52c1fe22-4f6f-4539-a39f-4eedd9d13ae3,
Direction: request, Janaka = {tags:[TestTag],name:Janaka}
[2014-08-12 16:08:12,403] DEBUG - wire  POST /service/echo
HTTP/1.1[\r][\n]
[2014-08-12 16:08:12,404] DEBUG - wire  Content-Type: application/json;
charset=UTF-8[\r][\n]
[2014-08-12 16:08:12,404] DEBUG - wire  Cookie:
region3_registry_menu=visible; menuPanel=visible; menuPanelType=main;
region1_configure_menu=none; region4_monitor_menu=none;
region5_tools_menu=none;
requestedURI=../../carbon/service-mgt/index.jsp?region=region1item=services_list_menu;
JSESSIONID=A652FAE3D43E1ACEF72AB6060609AA68;
current-breadcrumb=manage_menu%2Cservices_menu%2Cservices_list_menu%23;
MSG14078183094500.4606495099950271=true;
MSG14078183198250.2019032806534964=true;
MSG14078183337640.8369394687123034=true;
MSG14078185781460.4222625543797929=true;
MSG14078186327360.3619132076277993=true;
MSG14078186445170.8474369217867975=true;
MSG14078189363290.09887523460529613=true;
MSG14078202820720.3139562562501682=true;
MSG14078213631700.20356205159007335=true;
MSG14078380807410.0045559539948989425=true[\r][\n]
[2014-08-12 16:08:12,405] DEBUG - wire  Transfer-Encoding:
chunked[\r][\n]
[2014-08-12 16:08:12,405] DEBUG - wire  Host: localhost:9000[\r][\n]
[2014-08-12 16:08:12,405] DEBUG - wire  Connection: Keep-Alive[\r][\n]
[2014-08-12 16:08:12,405] DEBUG - wire  User-Agent:
Synapse-HttpComponents-NIO[\r][\n]
[2014-08-12 16:08:12,405] DEBUG - wire  [\r][\n]
[2014-08-12 16:08:12,407] DEBUG - wire  24[\r][\n]
[2014-08-12 16:08:12,407] DEBUG - wire 
{tags:[TestTag],name:Janaka}[\r][\n]
[2014-08-12 16:08:12,407] DEBUG - wire  0[\r][\n]
[2014-08-12 16:08:12,408] DEBUG - wire  [\r][\n]
[2014-08-12 16:08:12,408] DEBUG - wire  HTTP/1.1 200 OK[\r][\n]
[2014-08-12 16:08:12,408] DEBUG - wire  Server:
Apache-Coyote/1.1[\r][\n]
[2014-08-12 16:08:12,408] DEBUG - wire  port: 9000[\r][\n]
[2014-08-12 16:08:12,409] DEBUG - wire  Content-Type:
application/json;charset=UTF-8[\r][\n]
[2014-08-12 16:08:12,409] DEBUG - wire  Content-Length: 36[\r][\n]
[2014-08-12 16:08:12,409] DEBUG - wire  Date: Tue, 12 Aug 2014 10:38:12
GMT[\r][\n]
[2014-08-12 16:08:12,409] DEBUG - wire  [\r][\n]
[2014-08-12 16:08:12,410] DEBUG - wire 
{tags:[TestTag],name:Janaka}
[2014-08-12 16:08:12,414] DEBUG - wire  HTTP/1.1 200 OK[\r][\n]
[2014-08-12 16:08:12,416] DEBUG - wire  Content-Type: application/json;
charset=UTF-8[\r][\n]
[2014-08-12 16:08:12,416] DEBUG - wire  port: 9000[\r][\n]
[2014-08-12 16:08:12,416] DEBUG - wire  Server:
Apache-Coyote/1.1[\r][\n]
[2014-08-12 16:08:12,417] DEBUG - wire  Date: Tue, 12 Aug 2014 10:38:12
GMT[\r][\n]
[2014-08-12 

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 space is needed?

 Thanks,
 Lasantha


 On 12 August 2014 14:43, Daya Attapattu d...@wso2.com wrote:

 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 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




 --
 *Lasantha Fernando*
 Software Engineer - Data Technologies Team
 WSO2 Inc. http://wso2.com

 email: lasan...@wso2.com
 mobile: (+94) 71 5247551




-- 
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] 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 specific timeline. Since
 above changed is already accepted by Woden community IMO it's ok to fork
 Woden into SVN temporarily and release immediately.

 [1] - https://issues.apache.org/jira/browse/WODEN-236

 Thanks !


 On Wed, Jul 30, 2014 at 6:36 PM, Ruwan Yatawara ruw...@wso2.com wrote:


 On Wed, Jul 30, 2014 at 6:24 PM, Afkham Azeez az...@wso2.com wrote:

 have


 Hi Azeez,

 This was included as per a bug reported by a client for AM 1.6. We
 thought of adding same to 1.7.1 to avoid future issues.

 Thanks and Regards,

 Ruwan Yatawara

 Senior Software Engineer,
 WSO2 Inc.

 email : ruw...@wso2.com
 mobile : +94 77 9110413
 blog : http://thoughts.ruwan-ace.com/
 www: :http://wso2.com




 --
 Sagara Gunathunga

 Senior Technical Lead; WSO2, Inc.;  http://wso2.com
 V.P Apache Web Services;http://ws.apache.org/
 Linkedin; http://www.linkedin.com/in/ssagara
 Blog ;  http://ssagara.blogspot.com




-- 
Regards,
Uvindra

Mobile: 33962
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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
 [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 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print this
 email only if it is absolutely necessary.




-- 

Best Regards,

Malaka Silva
Senior Tech Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
http://www.wso2.com/
http://www.wso2.com/about/team/malaka-silva/
http://wso2.com/about/team/malaka-silva/

Save a tree -Conserve nature  Save the world for your future. Print this
email only if it is absolutely necessary.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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 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 specific timeline. Since
 above changed is already accepted by Woden community IMO it's ok to fork
 Woden into SVN temporarily and release immediately.

 [1] - https://issues.apache.org/jira/browse/WODEN-236

 Thanks !


 On Wed, Jul 30, 2014 at 6:36 PM, Ruwan Yatawara ruw...@wso2.com wrote:


 On Wed, Jul 30, 2014 at 6:24 PM, Afkham Azeez az...@wso2.com wrote:

 have


 Hi Azeez,

 This was included as per a bug reported by a client for AM 1.6. We
 thought of adding same to 1.7.1 to avoid future issues.

 Thanks and Regards,

 Ruwan Yatawara

 Senior Software Engineer,
 WSO2 Inc.

 email : ruw...@wso2.com
 mobile : +94 77 9110413
 blog : http://thoughts.ruwan-ace.com/
 www: :http://wso2.com




 --
 Sagara Gunathunga

 Senior Technical Lead; WSO2, Inc.;  http://wso2.com
 V.P Apache Web Services;http://ws.apache.org/
 Linkedin; http://www.linkedin.com/in/ssagara
 Blog ;  http://ssagara.blogspot.com




 --
 Regards,
 Uvindra

 Mobile: 33962




-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* http://www.apache.org/*
*email: **az...@wso2.com* az...@wso2.com
* cell: +94 77 3320919 blog: **http://blog.afkham.org*
http://blog.afkham.org
*twitter: **http://twitter.com/afkham_azeez*
http://twitter.com/afkham_azeez
* linked-in: **http://lk.linkedin.com/in/afkhamazeez
http://lk.linkedin.com/in/afkhamazeez*

*Lean . Enterprise . Middleware*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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
/format
args/
 /payloadFactory
 script language=jspayloadXML = mc.getPayloadXML();
 payloadXML.jsonObject +=
lt;?xml-multiple?gt;lt;tagsgt;lt;jsonElementgt;TestTaglt;/jsonElementgt;lt;/tagsamp;gt;
 print(payloadXML);
 mc.setPayloadXML(payloadXML);/script

Moreover this can also be done using given samples in [1]

[1] https://docs.wso2.com/display/ESB481/JSON+Support

Best Regards,
Malaka


On Tue, Aug 12, 2014 at 4:11 PM, Malaka Silva mal...@wso2.com wrote:

 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; action=urn:mediate[\r][\n]
 [2014-08-12 16:08:12,391] DEBUG - wire  Cookie:
 region3_registry_menu=visible; menuPanel=visible; menuPanelType=main;
 region1_configure_menu=none; region4_monitor_menu=none;
 region5_tools_menu=none;
 requestedURI=../../carbon/service-mgt/index.jsp?region=region1item=services_list_menu;
 JSESSIONID=A652FAE3D43E1ACEF72AB6060609AA68;
 current-breadcrumb=manage_menu%2Cservices_menu%2Cservices_list_menu%23;
 MSG14078183094500.4606495099950271=true;
 MSG14078183198250.2019032806534964=true;
 MSG14078183337640.8369394687123034=true;
 MSG14078185781460.4222625543797929=true;
 MSG14078186327360.3619132076277993=true;
 MSG14078186445170.8474369217867975=true;
 MSG14078189363290.09887523460529613=true;
 MSG14078202820720.3139562562501682=true;
 MSG14078213631700.20356205159007335=true;
 MSG14078380807410.0045559539948989425=true[\r][\n]
 [2014-08-12 16:08:12,391] DEBUG - wire  User-Agent: Axis2[\r][\n]
 [2014-08-12 16:08:12,391] DEBUG - wire  Host: 10.100.0.29:8280[\r][\n]
 [2014-08-12 16:08:12,391] DEBUG - wire  Transfer-Encoding:
 chunked[\r][\n]
 [2014-08-12 16:08:12,391] DEBUG - wire  [\r][\n]
 [2014-08-12 16:08:12,391] DEBUG - wire  a0[\r][\n]
 [2014-08-12 16:08:12,392] DEBUG - wire  ?xml version=1.0
 encoding=UTF-8?soapenv:Envelope xmlns:soapenv=
 http://www.w3.org/2003/05/soap-envelope
 soapenv:Body/soapenv:Body/soapenv:Envelope[\r][\n]
 [2014-08-12 16:08:12,392] DEBUG - wire  0[\r][\n]
 [2014-08-12 16:08:12,392] DEBUG - wire  [\r][\n]
 [2014-08-12 16:08:12,396]  INFO - LogMediator To:
 /services/pass1.pass1HttpSoap12Endpoint, WSAction: urn:mediate, SOAPAction:
 urn:mediate, MessageID: urn:uuid:52c1fe22-4f6f-4539-a39f-4eedd9d13ae3,
 Direction: request, Envelope: ?xml version=1.0
 encoding=utf-8?soapenv:Envelope xmlns:soapenv=
 http://www.w3.org/2003/05/soap-envelope;soapenv:BodyjsonObject?xml-multiple
  
 ?tagsjsonElementTestTag/jsonElement/tagsnameJanaka/name/jsonObject/soapenv:Body/soapenv:Envelope
 [2014-08-12 16:08:12,399]  INFO - LogMediator To:
 /services/pass1.pass1HttpSoap12Endpoint, WSAction: urn:mediate, SOAPAction:
 urn:mediate, MessageID: urn:uuid:52c1fe22-4f6f-4539-a39f-4eedd9d13ae3,
 Direction: request, Janaka = {tags:[TestTag],name:Janaka}
 [2014-08-12 16:08:12,403] DEBUG - wire  POST /service/echo
 HTTP/1.1[\r][\n]
 [2014-08-12 16:08:12,404] DEBUG - wire  Content-Type: application/json;
 charset=UTF-8[\r][\n]
 [2014-08-12 16:08:12,404] DEBUG - wire  Cookie:
 region3_registry_menu=visible; menuPanel=visible; menuPanelType=main;
 region1_configure_menu=none; region4_monitor_menu=none;
 region5_tools_menu=none;
 requestedURI=../../carbon/service-mgt/index.jsp?region=region1item=services_list_menu;
 JSESSIONID=A652FAE3D43E1ACEF72AB6060609AA68;
 current-breadcrumb=manage_menu%2Cservices_menu%2Cservices_list_menu%23;
 MSG14078183094500.4606495099950271=true;
 MSG14078183198250.2019032806534964=true;
 MSG14078183337640.8369394687123034=true;
 MSG14078185781460.4222625543797929=true;
 MSG14078186327360.3619132076277993=true;
 MSG14078186445170.8474369217867975=true;
 MSG14078189363290.09887523460529613=true;
 MSG14078202820720.3139562562501682=true;
 MSG14078213631700.20356205159007335=true;
 MSG14078380807410.0045559539948989425=true[\r][\n]
 [2014-08-12 16:08:12,405] DEBUG - wire  Transfer-Encoding:
 chunked[\r][\n]
 [2014-08-12 16:08:12,405] DEBUG - wire  Host: localhost:9000[\r][\n]
 [2014-08-12 16:08:12,405] DEBUG - wire  Connection: Keep-Alive[\r][\n]
 [2014-08-12 16:08:12,405] DEBUG - wire  User-Agent:
 Synapse-HttpComponents-NIO[\r][\n]
 [2014-08-12 16:08:12,405] DEBUG - wire  [\r][\n]
 [2014-08-12 16:08:12,407] DEBUG - wire  24[\r][\n]
 [2014-08-12 16:08:12,407] DEBUG - wire 
 {tags:[TestTag],name:Janaka}[\r][\n]
 [2014-08-12 16:08:12,407] DEBUG - wire  0[\r][\n]
 [2014-08-12 16:08:12,408] DEBUG - wire  [\r][\n]
 [2014-08-12 16:08:12,408] DEBUG - wire  HTTP/1.1 200 OK[\r][\n]
 [2014-08-12 

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 replace the jar
of org.wso2.carbon.governance.generic component, before using the JApp.

@Subash: Actually I was talking about the Edit RXT UI, not the Add Metadata
UI(in ES).

Thanks.


On Mon, Aug 11, 2014 at 10:10 PM, Shelan Perera she...@wso2.com wrote:

 Hi Iresha,

 Is there anything to be done at the server side or can we just save the
 artifact in the UI? I got your new changes and deployed the app. But when i
 try to save the
 artifact i got the following error. Any idea on this ?. Have you committed
 all your changes to the Git?


 [2014-08-11 21:58:54,677]  INFO
 {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -
  'admin@carbon.super [-1234]' logged in at [2014-08-11 21:58:54,677+0530]
 [2014-08-11 22:01:01,385]  INFO
 {org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} -  Deployed
 webapp:
 StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ArtifactBuilder-1].File[/home/shelan/wso2/gsoc-mentoring/wso2greg-4.6.0/repository/deployment/server/jaggeryapps/ArtifactBuilder-1]
 [2014-08-11 22:02:36,008] ERROR
 {org.jaggeryjs.hostobjects.ws.WSRequestHostObject} -  Error occured while
 invoking the service
 org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation
 not found is https://localhost:9443/services/ManageGenericArtifactService
 and the WSA Action = urn:addJSONRXTResource. If this EPR was previously
 reachable, please contact the server administrator.
  at
 org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
 at
 org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:367)
  at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:413)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:224)
  at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
 at
 org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:554)
  at
 org.jaggeryjs.hostobjects.ws.WSRequestHostObject.jsFunction_send(WSRequestHostObject.java:362)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
 at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
  at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:386)
 at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
  at
 org.jaggeryjs.rhino.ArtifactBuilder__1.c1._c_script_0(/ArtifactBuilder-1//ws-rxt.jag:16)
 at
 org.jaggeryjs.rhino.ArtifactBuilder__1.c1.call(/ArtifactBuilder-1//ws-rxt.jag)
  at
 org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
 at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
  at
 org.jaggeryjs.rhino.ArtifactBuilder__1.c1.call(/ArtifactBuilder-1//ws-rxt.jag)
 at
 org.jaggeryjs.rhino.ArtifactBuilder__1.c1.exec(/ArtifactBuilder-1//ws-rxt.jag)
  at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:570)
 at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
  at
 org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:432)
 at org.jaggeryjs.jaggery.core.JaggeryServlet.doPost(JaggeryServlet.java:29)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
  at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at
 org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
 at
 org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
  at
 org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
 at
 org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
  at
 org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
  at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
  at
 

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) sheets in same excel document…???
Thank you very much for your time.

Regards,
Akila

From: Rajith Vitharana [mailto:raji...@wso2.com]
Sent: Tuesday, August 12, 2014 3:39 PM
To: Akila Nimantha [IT/EKO/LOITS]
Cc: dev@wso2.org
Subject: Re: [Dev] create single dss service by join two different excel 
workbooks

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 
raji...@wso2.commailto:raji...@wso2.com wrote:
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] - https://docs.wso2.com/display/DSS321/Defining+Nested+Queries

Thanks,

On Mon, Aug 11, 2014 at 6:43 PM, Akila Nimantha [IT/EKO/LOITS] 
aki...@lolctech.commailto:aki...@lolctech.com wrote:
Hi all,

I am trying to make a single data service server service by using two different 
excel workbooks. In both excel files common ‘ID’ column. I want to extract data 
from both excel files by joining those files.
How can I do that with dss …???

Regards,
Akila

This message (including any attachments) is intended only for the use of the 
individual or entity to which it is addressed and may contain information that 
is non-public, proprietary, privileged, confidential, and exempt from 
disclosure under applicable law or may constitute as attorney work product. If 
you are not the intended recipient, you are hereby notified that any use, 
dissemination, distribution, or copying of this communication is strictly 
prohibited. If you have received this communication in error, notify us 
immediately by telephone and (i) destroy this message if a facsimile or (ii) 
delete this message immediately if this is an electronic communication. Thank 
you.

___
Dev mailing list
Dev@wso2.orgmailto:Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev



--
Rajith Vitharana

Software Engineer,
WSO2 Inc. : wso2.comhttp://wso2.com/
Mobile : +94715883223
Blog : http://lankavitharana.blogspot.com/



--
Rajith Vitharana

Software Engineer,
WSO2 Inc. : wso2.comhttp://wso2.com/
Mobile : +94715883223
Blog : http://lankavitharana.blogspot.com/

This message (including any attachments) is intended only for
the use of the individual or entity to which it is addressed and
may contain information that is non-public, proprietary,
privileged, confidential, and exempt from disclosure under
applicable law or may constitute as attorney work product.
If you are not the intended recipient, you are hereby notified
that any use, dissemination, distribution, or copying of this
communication is strictly prohibited. If you have received this
communication in error, notify us immediately by telephone and
(i) destroy this message if a facsimile or (ii) delete this message
immediately if this is an electronic communication.

Thank you.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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  :  aji...@wso2.com
 Mobile : +94772217350




-- 
Ajith Vitharana.
WSO2 Inc. - http://wso2.org
Email  :  aji...@wso2.com
Mobile : +94772217350
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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 outside the
 conf folder? Such as tenant user store xmls, data services dbs files etc.

 Regards,

 --
 *Dumidu Handakumbura*
 Software Engineer - QA
 WSO2 Inc; http://www.wso2.com/.
 Mobile;
 *+9406740 %2B9406740 *

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
*Anjana Fernando*
Senior Technical Lead
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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/
 

 --
 [INFO]
 [INFO]
 
 [INFO] Building WSO2 Carbon - Registry - Web Service 4.3.0-SNAPSHOT
 [INFO]
 
 Downloading:
 http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/rampart/rampart-core/1.7.0-SNAPSHOT/maven-metadata.xml
 Downloading:
 http://maven.wso2.org/nexus/content/repositories/releases/org/apache/rampart/rampart-core/1.7.0-SNAPSHOT/maven-metadata.xml
 Downloading:
 http://maven.wso2.org/nexus/content/repositories/snapshots/org/apache/rampart/rampart-core/1.7.0-SNAPSHOT/maven-metadata.xml
 Downloaded:
 http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/rampart/rampart-core/1.7.0-SNAPSHOT/maven-metadata.xml
 (2 KB at 0.3 KB/sec)
 Downloading:
 http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/rampart/rampart-project/1.7.0-SNAPSHOT/maven-metadata.xml
 Downloading:
 http://maven.wso2.org/nexus/content/repositories/releases/org/apache/rampart/rampart-project/1.7.0-SNAPSHOT/maven-metadata.xml
 Downloading:
 http://maven.wso2.org/nexus/content/repositories/snapshots/org/apache/rampart/rampart-project/1.7.0-SNAPSHOT/maven-metadata.xml
 Downloaded:
 http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/rampart/rampart-project/1.7.0-SNAPSHOT/maven-metadata.xml
 (830 B at 0.1 KB/sec)
 Downloading:
 http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/axis2/axis2-kernel/1.7.0-SNAPSHOT/maven-metadata.xml
 Downloading:
 http://maven.wso2.org/nexus/content/repositories/releases/org/apache/axis2/axis2-kernel/1.7.0-SNAPSHOT/maven-metadata.xml
 Downloading:
 http://repository.apache.org/snapshots/org/apache/axis2/axis2-kernel/1.7.0-SNAPSHOT/maven-metadata.xml
 Downloading:
 http://maven.wso2.org/nexus/content/repositories/snapshots/org/apache/axis2/axis2-kernel/1.7.0-SNAPSHOT/maven-metadata.xml
 Downloaded:
 http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/axis2/axis2-kernel/1.7.0-SNAPSHOT/maven-metadata.xml
 (2 KB at 1.5 KB/sec)
 Downloaded:
 http://repository.apache.org/snapshots/org/apache/axis2/axis2-kernel/1.7.0-SNAPSHOT/maven-metadata.xml
 (2 KB at 0.8 KB/sec)
 Downloading:
 http://maven.wso2.org/nexus/content/repositories/snapshots/org/apache/axis2/axis2-parent/1.7.0-SNAPSHOT/maven-metadata.xml
 Downloading:
 http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/axis2/axis2-parent/1.7.0-SNAPSHOT/maven-metadata.xml
 Downloading:
 http://maven.wso2.org/nexus/content/repositories/releases/org/apache/axis2/axis2-parent/1.7.0-SNAPSHOT/maven-metadata.xml
 Downloading:
 http://repository.apache.org/snapshots/org/apache/axis2/axis2-parent/1.7.0-SNAPSHOT/maven-metadata.xml
 Downloaded:
 http://repository.apache.org/snapshots/org/apache/axis2/axis2-parent/1.7.0-SNAPSHOT/maven-metadata.xml
 (611 B at 0.8 KB/sec)
 Downloaded:
 http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/axis2/axis2-parent/1.7.0-SNAPSHOT/maven-metadata.xml
 (611 B at 0.5 KB/sec)
 Downloading:
 http://maven.wso2.org/nexus/content/repositories/snapshots/org/apache/ws/xmlschema/xmlschema-core/2.1.1-SNAPSHOT/maven-metadata.xml
 Downloading:
 http://maven.wso2.org/nexus/content/repositories/releases/org/apache/ws/xmlschema/xmlschema-core/2.1.1-SNAPSHOT/maven-metadata.xml
 Downloading:
 http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/ws/xmlschema/xmlschema-core/2.1.1-SNAPSHOT/maven-metadata.xml
 Downloading:
 http://repository.apache.org/snapshots/org/apache/ws/xmlschema/xmlschema-core/2.1.1-SNAPSHOT/maven-metadata.xml
 Downloaded:
 http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/ws/xmlschema/xmlschema-core/2.1.1-SNAPSHOT/maven-metadata.xml
 (2 KB at 1.5 KB/sec)
 Downloaded:
 http://repository.apache.org/snapshots/org/apache/ws/xmlschema/xmlschema-core/2.1.1-SNAPSHOT/maven-metadata.xml
 (2 KB at 1.4 KB/sec)
 Downloading:
 http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/ws/xmlschema/xmlschema/2.1.1-SNAPSHOT/maven-metadata.xml
 Downloading:
 http://maven.wso2.org/nexus/content/repositories/releases/org/apache/ws/xmlschema/xmlschema/2.1.1-SNAPSHOT/maven-metadata.xml
 Downloading:
 http://maven.wso2.org/nexus/content/repositories/snapshots/org/apache/ws/xmlschema/xmlschema/2.1.1-SNAPSHOT/maven-metadata.xml
 Downloading:
 http://repository.apache.org/snapshots/org/apache/ws/xmlschema/xmlschema/2.1.1-SNAPSHOT/maven-metadata.xml
 Downloaded:
 http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/ws/xmlschema/xmlschema/2.1.1-SNAPSHOT/maven-metadata.xml
 (2 KB at 1.0 KB/sec)
 Downloaded:
 

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 Vitharana aji...@wso2.com wrote:

 [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  :  aji...@wso2.com
 Mobile : +94772217350




 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94772217350




-- 
*Software Engineer - WSO2 Inc.*
*email: shameera AT wso2.com shame...@wso2.com , shameera AT apache.org
shame...@apache.org*
*phone:  +9471 922 1454*

*Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
*Twitter : *https://twitter.com/Shameera_R
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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 validation functions for
 those elements.


Why do you need to keep separate files? Since these are just form elements
you can dynamically generate these fields and render. Are these validation
functions specific to this scenario?
If there are common stuff you should keep those away from front-end HTML so
you can re-use.


 For each value in the drop down, we have a separate file which contains
 the remaining part of the form and validation function based on the
 selected drop down value.
 Is it possible to dynamically load elements and functions as above
 scenario? If is it possible what the best way to do it?

 Thanks

 --
 Best Regards

 Samith Dassanayake
 Software Engineer, WSO2 Inc.


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
*Udara Rathnayake*
Software Engineer
WSO2 Inc. : http://wso2.com

Mobile : +94 772207239
Twitter : http://twitter.com/udarakr
Blog: http://udarakr.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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 about
accessing two sheets in same excel document, Yes you can do that. For that
treat worksheet as a table and use sheet name as the table name. You'll see
this has been done in the attached excel1.dbs file in previous mail. (FYI
- This dbs file is just a xml document, so you can open it in any text
editor, there you'll see the sql queries I have used to extract data.)

Thanks,


On Tue, Aug 12, 2014 at 7:24 PM, Akila Nimantha [IT/EKO/LOITS] 
aki...@lolctech.com wrote:

  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) sheets in same excel document…???

 Thank you very much for your time.



 Regards,

 Akila



 *From:* Rajith Vitharana [mailto:raji...@wso2.com]
 *Sent:* Tuesday, August 12, 2014 3:39 PM
 *To:* Akila Nimantha [IT/EKO/LOITS]
 *Cc:* dev@wso2.org
 *Subject:* Re: [Dev] create single dss service by join two different
 excel workbooks



 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 raji...@wso2.com
 wrote:

  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] - https://docs.wso2.com/display/DSS321/Defining+Nested+Queries



 Thanks,



 On Mon, Aug 11, 2014 at 6:43 PM, Akila Nimantha [IT/EKO/LOITS] 
 aki...@lolctech.com wrote:

   Hi all,



 I am trying to make a single data service server service by using two
 different excel workbooks. In both excel files common ‘ID’ column. I want
 to extract data from both excel files by joining those files.

 How can I do that with dss …???



 Regards,

 Akila

 This message (including any attachments) is intended only for the use of
 the individual or entity to which it is addressed and may contain
 information that is non-public, proprietary, privileged, confidential, and
 exempt from disclosure under applicable law or may constitute as attorney
 work product. If you are not the intended recipient, you are hereby
 notified that any use, dissemination, distribution, or copying of this
 communication is strictly prohibited. If you have received this
 communication in error, notify us immediately by telephone and (i) destroy
 this message if a facsimile or (ii) delete this message immediately if this
 is an electronic communication. Thank you.



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev





 --

 Rajith Vitharana

 Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94715883223
 Blog : http://lankavitharana.blogspot.com/





 --

 Rajith Vitharana

 Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94715883223
 Blog : http://lankavitharana.blogspot.com/

 This message (including any attachments) is intended only for the use of
 the individual or entity to which it is addressed and may contain
 information that is non-public, proprietary, privileged, confidential, and
 exempt from disclosure under applicable law or may constitute as attorney
 work product. If you are not the intended recipient, you are hereby
 notified that any use, dissemination, distribution, or copying of this
 communication is strictly prohibited. If you have received this
 communication in error, notify us immediately by telephone and (i) destroy
 this message if a facsimile or (ii) delete this message immediately if this
 is an electronic communication. Thank you.




-- 
Rajith Vitharana

Software Engineer,
WSO2 Inc. : wso2.com
Mobile : +94715883223
Blog : http://lankavitharana.blogspot.com/


creatingDataSource
Description: Binary data
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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 replies Rajith.

Regards,
Akila

From: Rajith Vitharana [mailto:raji...@wso2.com]
Sent: Wednesday, August 13, 2014 8:21 AM
To: Akila Nimantha [IT/EKO/LOITS]
Cc: dev@wso2.org
Subject: Re: [Dev] create single dss service by join two different excel 
workbooks

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 about accessing two 
sheets in same excel document, Yes you can do that. For that treat worksheet as 
a table and use sheet name as the table name. You'll see this has been done in 
the attached excel1.dbs file in previous mail. (FYI - This dbs file is just a 
xml document, so you can open it in any text editor, there you'll see the sql 
queries I have used to extract data.)

Thanks,

On Tue, Aug 12, 2014 at 7:24 PM, Akila Nimantha [IT/EKO/LOITS] 
aki...@lolctech.commailto:aki...@lolctech.com wrote:
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) sheets in same excel document…???
Thank you very much for your time.

Regards,
Akila

From: Rajith Vitharana [mailto:raji...@wso2.commailto:raji...@wso2.com]
Sent: Tuesday, August 12, 2014 3:39 PM
To: Akila Nimantha [IT/EKO/LOITS]
Cc: dev@wso2.orgmailto:dev@wso2.org
Subject: Re: [Dev] create single dss service by join two different excel 
workbooks

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 
raji...@wso2.commailto:raji...@wso2.com wrote:
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] - https://docs.wso2.com/display/DSS321/Defining+Nested+Queries

Thanks,

On Mon, Aug 11, 2014 at 6:43 PM, Akila Nimantha [IT/EKO/LOITS] 
aki...@lolctech.commailto:aki...@lolctech.com wrote:
Hi all,

I am trying to make a single data service server service by using two different 
excel workbooks. In both excel files common ‘ID’ column. I want to extract data 
from both excel files by joining those files.
How can I do that with dss …???

Regards,
Akila

This message (including any attachments) is intended only for the use of the 
individual or entity to which it is addressed and may contain information that 
is non-public, proprietary, privileged, confidential, and exempt from 
disclosure under applicable law or may constitute as attorney work product. If 
you are not the intended recipient, you are hereby notified that any use, 
dissemination, distribution, or copying of this communication is strictly 
prohibited. If you have received this communication in error, notify us 
immediately by telephone and (i) destroy this message if a facsimile or (ii) 
delete this message immediately if this is an electronic communication. Thank 
you.

___
Dev mailing list
Dev@wso2.orgmailto:Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev



--
Rajith Vitharana

Software Engineer,
WSO2 Inc. : wso2.comhttp://wso2.com/
Mobile : +94715883223tel:%2B94715883223
Blog : http://lankavitharana.blogspot.com/



--
Rajith Vitharana

Software Engineer,
WSO2 Inc. : wso2.comhttp://wso2.com/
Mobile : +94715883223tel:%2B94715883223
Blog : http://lankavitharana.blogspot.com/

This message (including any attachments) is intended only for the use of the 
individual or entity to which it is addressed and may contain information that 
is non-public, proprietary, privileged, confidential, and exempt from 
disclosure under applicable law or may constitute as attorney work product. If 
you are not the intended recipient, you are hereby notified that any use, 
dissemination, distribution, or copying of this communication is strictly 
prohibited. If you have received this communication in error, notify us 
immediately by telephone and (i) destroy this message if a facsimile or (ii) 
delete this message immediately if this is an electronic communication. Thank 
you.



--
Rajith Vitharana

Software Engineer,
WSO2 Inc. : wso2.comhttp://wso2.com/
Mobile 

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 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 J ) and dbs file also.

 Thank you very much for your instant replies Rajith.



 Regards,

 Akila



 *From:* Rajith Vitharana [mailto:raji...@wso2.com]
 *Sent:* Wednesday, August 13, 2014 8:21 AM

 *To:* Akila Nimantha [IT/EKO/LOITS]
 *Cc:* dev@wso2.org
 *Subject:* Re: [Dev] create single dss service by join two different
 excel workbooks



 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 about
 accessing two sheets in same excel document, Yes you can do that. For that
 treat worksheet as a table and use sheet name as the table name. You'll see
 this has been done in the attached excel1.dbs file in previous mail. (FYI
 - This dbs file is just a xml document, so you can open it in any text
 editor, there you'll see the sql queries I have used to extract data.)



 Thanks,



 On Tue, Aug 12, 2014 at 7:24 PM, Akila Nimantha [IT/EKO/LOITS] 
 aki...@lolctech.com wrote:

  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) sheets in same excel document…???

 Thank you very much for your time.



 Regards,

 Akila



 *From:* Rajith Vitharana [mailto:raji...@wso2.com]
 *Sent:* Tuesday, August 12, 2014 3:39 PM
 *To:* Akila Nimantha [IT/EKO/LOITS]
 *Cc:* dev@wso2.org
 *Subject:* Re: [Dev] create single dss service by join two different
 excel workbooks



 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 raji...@wso2.com
 wrote:

  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] - https://docs.wso2.com/display/DSS321/Defining+Nested+Queries



 Thanks,



 On Mon, Aug 11, 2014 at 6:43 PM, Akila Nimantha [IT/EKO/LOITS] 
 aki...@lolctech.com wrote:

   Hi all,



 I am trying to make a single data service server service by using two
 different excel workbooks. In both excel files common ‘ID’ column. I want
 to extract data from both excel files by joining those files.

 How can I do that with dss …???



 Regards,

 Akila

 This message (including any attachments) is intended only for the use of
 the individual or entity to which it is addressed and may contain
 information that is non-public, proprietary, privileged, confidential, and
 exempt from disclosure under applicable law or may constitute as attorney
 work product. If you are not the intended recipient, you are hereby
 notified that any use, dissemination, distribution, or copying of this
 communication is strictly prohibited. If you have received this
 communication in error, notify us immediately by telephone and (i) destroy
 this message if a facsimile or (ii) delete this message immediately if this
 is an electronic communication. Thank you.



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev





 --

 Rajith Vitharana

 Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94715883223
 Blog : http://lankavitharana.blogspot.com/





 --

 Rajith Vitharana

 Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94715883223
 Blog : http://lankavitharana.blogspot.com/

 This message (including any attachments) is intended only for the use of
 the individual or entity to which it is addressed and may contain
 information that is non-public, proprietary, privileged, confidential, and
 exempt from disclosure under applicable law or may constitute as attorney
 work product. If you are not the intended recipient, you are hereby
 notified that any use, dissemination, distribution, or copying of this
 communication is strictly prohibited. If you have received this
 communication in error, notify us immediately by telephone and (i) destroy
 this message if a facsimile or (ii) delete this message immediately if 

[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]
/opt/checkout_chunk13/platform/branches/turing/components/ntask/org.wso2.carbon.ntask.core/4.2.4/src/main/java/org/wso2/carbon/ntask/core/impl/clustered/ClusterGroupCommunicator.java:[45,7]
org.wso2.carbon.ntask.core.impl.clustered.ClusterGroupCommunicator is not
abstract and does not override abstract method
memberAttributeChanged(com.hazelcast.core.MemberAttributeEvent) in
com.hazelcast.core.MembershipListener

Regards,
Dinusha.

-- 
Dinusha Dilrukshi
Senior Software Engineer
WSO2 Inc.: http://wso2.com/
Mobile: +94725255071
Blog: http://dinushasblog.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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] https://wso2.org/jira/browse/CARBON-14912


Thanks Shameera, I'll do.

-Ajith.




 Thanks,
 Shameera.


 On Tue, Aug 12, 2014 at 9:35 PM, Ajith Vitharana aji...@wso2.com wrote:

 [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  :  aji...@wso2.com
 Mobile : +94772217350




 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94772217350




 --
 *Software Engineer - WSO2 Inc.*
 *email: shameera AT wso2.com shame...@wso2.com , shameera AT apache.org
 shame...@apache.org*
 *phone:  +9471 922 1454 %2B9471%20922%201454*

 *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
 *Twitter : *https://twitter.com/Shameera_R




-- 
Ajith Vitharana.
WSO2 Inc. - http://wso2.org
Email  :  aji...@wso2.com
Mobile : +94772217350
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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 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 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 specific timeline. Since
 above changed is already accepted by Woden community IMO it's ok to fork
 Woden into SVN temporarily and release immediately.

 [1] - https://issues.apache.org/jira/browse/WODEN-236

 Thanks !


 On Wed, Jul 30, 2014 at 6:36 PM, Ruwan Yatawara ruw...@wso2.com wrote:


 On Wed, Jul 30, 2014 at 6:24 PM, Afkham Azeez az...@wso2.com wrote:

 have


 Hi Azeez,

 This was included as per a bug reported by a client for AM 1.6. We
 thought of adding same to 1.7.1 to avoid future issues.

 Thanks and Regards,

 Ruwan Yatawara

 Senior Software Engineer,
 WSO2 Inc.

 email : ruw...@wso2.com
 mobile : +94 77 9110413
 blog : http://thoughts.ruwan-ace.com/
 www: :http://wso2.com




 --
 Sagara Gunathunga

 Senior Technical Lead; WSO2, Inc.;  http://wso2.com
 V.P Apache Web Services;http://ws.apache.org/
 Linkedin; http://www.linkedin.com/in/ssagara
 Blog ;  http://ssagara.blogspot.com




 --
 Regards,
 Uvindra

 Mobile: 33962




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 blog: *
 *http://blog.afkham.org* http://blog.afkham.org
 *twitter: **http://twitter.com/afkham_azeez*
 http://twitter.com/afkham_azeez
 * linked-in: **http://lk.linkedin.com/in/afkhamazeez
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*




-- 
Regards,
Uvindra

Mobile: 33962
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[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
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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 wrote:

 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 validation functions for
 those elements.


 Why do you need to keep separate files? Since these are just form elements
 you can dynamically generate these fields and render. Are these validation
 functions specific to this scenario?
 If there are common stuff you should keep those away from front-end HTML
 so you can re-use.


  For each value in the drop down, we have a separate file which contains
 the remaining part of the form and validation function based on the
 selected drop down value.
 Is it possible to dynamically load elements and functions as above
 scenario? If is it possible what the best way to do it?

 Thanks

 --
 Best Regards

 Samith Dassanayake
 Software Engineer, WSO2 Inc.


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Udara Rathnayake*
 Software Engineer
 WSO2 Inc. : http://wso2.com

 Mobile : +94 772207239
 Twitter : http://twitter.com/udarakr
 Blog: http://udarakr.blogspot.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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 load them using eval() by
passing external script content as an argument with a representation object.

[1] http://api.jquery.com/jQuery.getScript/


On Wed, Aug 13, 2014 at 8:11 AM, Udara Rathnayake uda...@wso2.com wrote:

 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 validation functions for
 those elements.


 Why do you need to keep separate files? Since these are just form elements
 you can dynamically generate these fields and render. Are these validation
 functions specific to this scenario?
 If there are common stuff you should keep those away from front-end HTML
 so you can re-use.


  For each value in the drop down, we have a separate file which contains
 the remaining part of the form and validation function based on the
 selected drop down value.
 Is it possible to dynamically load elements and functions as above
 scenario? If is it possible what the best way to do it?

 Thanks

 --
 Best Regards

 Samith Dassanayake
 Software Engineer, WSO2 Inc.


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Udara Rathnayake*
 Software Engineer
 WSO2 Inc. : http://wso2.com

 Mobile : +94 772207239
 Twitter : http://twitter.com/udarakr
 Blog: http://udarakr.blogspot.com




-- 
Best Regards

Samith Dassanayake
Software Engineer, WSO2 Inc.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[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
-- [R]org.wso2.carbon.apimgt.store.feature.group 4.3.0.SNAPSHOT,
action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CopyAction).
 I/O Error while copying
/home/eranda/greg-repo/myrepos/product-greg/modules/p2-profile-gen/target/wso2carbon-core-4.3.0-SNAPSHOT/repository/components/default/../features/org.wso2.carbon.apimgt.store_4.3.0.SNAPSHOT/admin-dashboard
- see details.
Caused by:  java.io.IOException: Source:
/home/eranda/greg-repo/myrepos/product-greg/modules/p2-profile-gen/target/wso2carbon-core-4.3.0-SNAPSHOT/repository/components/default/../features/org.wso2.carbon.apimgt.store_4.3.0.SNAPSHOT/admin-dashboarddoes
not exists

thanks
Eranda

-- 

*Eranda Sooriyabandara*Senior Software Engineer;
Integration Technologies Team;
WSO2 Inc.; http://wso2.com
Lean . Enterprise . Middleware

E-mail: eranda AT wso2.com
Mobile: +94 716 472 816
Linked-In: http://www.linkedin.com/in/erandasooriyabandara
Blog: http://emsooriyabandara.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[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 mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/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
 org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
 (default-compile) on project org.wso2.carbon.ntask.core: Compilation failure
 [ERROR]
 /opt/checkout_chunk13/platform/branches/turing/components/ntask/org.wso2.carbon.ntask.core/4.2.4/src/main/java/org/wso2/carbon/ntask/core/impl/clustered/ClusterGroupCommunicator.java:[45,7]
 org.wso2.carbon.ntask.core.impl.clustered.ClusterGroupCommunicator is not
 abstract and does not override abstract method
 memberAttributeChanged(com.hazelcast.core.MemberAttributeEvent) in
 com.hazelcast.core.MembershipListener

 Regards,
 Dinusha.

 --
 Dinusha Dilrukshi
 Senior Software Engineer
 WSO2 Inc.: http://wso2.com/
 Mobile: +94725255071
 Blog: http://dinushasblog.blogspot.com/




-- 
*Software Engineer - WSO2 Inc.*
*email: shameera AT wso2.com shame...@wso2.com , shameera AT apache.org
shame...@apache.org*
*phone:  +9471 922 1454*

*Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
*Twitter : *https://twitter.com/Shameera_R
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[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, (current implementation reads only ou value: Property
name=OrganizationalSubContextAttributeou/Property )

  Property
name=OrganizationalSubContextAttributeou=users/Property

Implementation should updated as below,

   1. CommonHybridLDAPTenantManager.java[3] (line 177),
   CommonLDAPRealmConfigBuilder.java[2] (line 120) and
   FileSystemRealmConfigBuilder.java[4] (line 123) should updated accordingly.
   Is this a proper solution? Is there a limited set of values that can be set
   to OrganizationalSubContextAttribute?
   2. It seems line 161 of [3] should read the value
   PROPERTY_ORGANIZATIONAL_ATTRIBUTE instead of 
   PROPERTY_ORG_SUB_CONTEXT_ATTRIBUTE. This works fine as the default
   configuration set values of both properties to ou

 eg: current tenant-mgt.xml contains properties below;

   Property name=OrganizationalAttributeou/Property
   Property
name=OrganizationalSubContextObjectClassorganizationalUnit/Property
   Property name=OrganizationalSubContextAttributeou/Property

Thus the correction should be to change,

String organizationNameAttribute = tenantMgtConfig.getTenantStoreProperties
().get( UserCoreConstants.TenantMgtConfig.PROPERTY_ORG_SUB_CONTEXT_ATTRIBUTE
);

to

String organizationNameAttribute = tenantMgtConfig.getTenantStoreProperties
().get( UserCoreConstants.TenantMgtConfig.PROPERTY_ORGANIZATIONAL_ATTRIBUTE
);

[1] https://wso2.org/jira/browse/CARBON-14863
[2]
https://github.com/wso2-dev/carbon4-kernel/blob/master/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/config/multitenancy/CommonLDAPRealmConfigBuilder.java
[3]
https://github.com/wso2-dev/carbon4-kernel/blob/master/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/tenant/CommonHybridLDAPTenantManager.java
[4]
https://github.com/wso2-dev/carbon4-kernel/blob/master/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/config/multitenancy/FileSystemRealmConfigBuilder.java

Thanks,
Nipuni
-- 
Nipuni Perera
Software Engineer; WSO2 Inc.; http://wso2.com
Email: nip...@wso2.com
Git hub profile: https://github.com/nipuni
Mobile: +94 (71) 5626680
http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev