[Dev] git carbon-utils build fails on java 1.7

2014-02-24 Thread Chamil Jeewantha
The carbon-utils project builds successfully on jdk1.6.0_45.

However the similar build fails on jdk1.7.0_51 with following 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]
/home/chamil/products/carbon-utils/components/ntask/org.wso2.carbon.ntask.core/src/main/java/org/wso2/carbon/ntask/core/internal/TasksDSComponent.java:[197,24]
error: type ServiceReference does not take parameters

ServiceReference is a Generic Type but the compiler complaints it does not
take parameters.

Is there any prerequisite for java 6?

repo location : https://github.com/wso2/carbon-utils



-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] JAXB for XML parsing in C5.

2014-02-24 Thread Sameera Jayasoma
Hi Devs,

Now that we are defining schemas for our XML based configuration files, we
planning to use JAXB for XML parsing.

Thanks,
Sameera.
-- 
Sameera Jayasoma,
Architect,

WSO2, Inc. (http://wso2.com)
email: same...@wso2.com
blog: http://sameera.adahas.org
twitter: https://twitter.com/sameerajayasoma
flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
Mobile: 0094776364456

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


Re: [Dev] JAXB for XML parsing in C5.

2014-02-24 Thread Afkham Azeez
Good move

Azeez


On Mon, Feb 24, 2014 at 1:51 PM, Sameera Jayasoma  wrote:

> Hi Devs,
>
> Now that we are defining schemas for our XML based configuration files, we
> planning to use JAXB for XML parsing.
>
> Thanks,
> Sameera.
> --
> Sameera Jayasoma,
> Architect,
>
> WSO2, Inc. (http://wso2.com)
> email: same...@wso2.com
> blog: http://sameera.adahas.org
> twitter: https://twitter.com/sameerajayasoma
> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
> Mobile: 0094776364456
>
> Lean . Enterprise . Middleware
>



-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* *
*email: **az...@wso2.com* 
* cell: +94 77 3320919 blog: **http://blog.afkham.org*
*twitter: **http://twitter.com/afkham_azeez*
* linked-in: **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: Issue with setting timeout values dynamically

2014-02-24 Thread Chinthaka Senanayaka
The requirement is:
connector is a deployable zip file, inside that there are some endpoint
request calls. Therefore it's not easy to edit timeout functionality of
those endpoint request calls time to time, better if we can extract it from
user request and set it dynamically.


On Mon, Feb 24, 2014 at 9:08 AM, Chanaka Fernando  wrote:

> Hi Malaka/Chinthaka,
>
> Can you elaborate more on the requirement? If you could give us an example
> scenario, we could think about a possible solution. As Isuru mentioned
> above, setting template parameters from an xpath expression (dynamically)
> is not supported at the moment. You can use the progression factor with
> initial and max duration values to achieve dynamic timeout duration. What I
> am not clear is why do we need to extract the timeout from the request?
>
>
> Thanks,
> Chanaka
>
>
> On Sat, Feb 22, 2014 at 8:16 PM, Malaka Silva  wrote:
>
>> This is a requirement for connector implementations.
>>
>>
>> On Fri, Feb 21, 2014 at 2:36 PM, Isuru Udana  wrote:
>>
>>> Hi,
>>>
>>> Setting the endpoint timeout values dynamically is not supported.
>>> What is the actual requirement to make it dynamic ? In typical
>>> integration scenarios, endpoint timeout value is a pre-configured static
>>> value.
>>>
>>> Thanks.
>>>
>>>
>>> On Fri, Feb 21, 2014 at 2:13 PM, Krishantha Dinesh >> > wrote:
>>>
 try this

 http://ws.apache.org/ns/synapse";>
> 
> 
> 
> 
>
> 
> 
> 
> $timout_duration
> fault
> 
> 
>
> $initial_duration
>
> $progressafactor
>
> $maximumDuration
> 
> 
> 
> 
>
> Call the endpoint:
> 
>  template="[timeout template path]">
>  value="6000" />
>  value="2000" />
>  value="2.0" />
>  value="3000" />
> 
> 
>
> Questions:
>
> 1. . How to set
> "timout_duration" parameter value dynamically? ex: taken from SOAP
> request
> and set value through expression="get-property('timeoutDuration')"
>
> 2. Anyway I tried, without timeout template, inside my synapse template
> with:  />
> call:
> 
> 
> 
> 
> $timeoutDuration
> fault
> 
> 
> 2000
>
> 1.5
> 3000
> 
> 
> 
> 
>
> when template deployed:
> "Caused by: org.apache.synapse.SynapseException: Endpoint timeout
> duration
> expected as a number but was not a number", comes.
> if this way is poible, how to make $timeoutDuration as number?
>
>
>
> --
> View this message in context:
> http://wso2-oxygen-tank.10903.n7.nabble.com/ESB-Issue-with-setting-timeout-values-dynamically-tp92461.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 mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>>
>>> --
>>> *Isuru Udana*
>>>  Senior
>>> * Software Engineer*
>>> WSO2 Inc.; http://wso2.com
>>> email: isu...@wso2.com cell: +94 77 3791887
>>> blog: http://mytecheye.blogspot.com/
>>> twitter: http://twitter.com/isudana
>>>
>>> ___
>>> 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/
>>
>> 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] git carbon-utils build fails on java 1.7

2014-02-24 Thread Manoj Kumara
Hi Chamil,

Carbon 4.x branch in not compatible with jdk 1.7.x to build. I think you
need to build it using 1.6.

Thanks,
Manoj


*Manoj Kumara*
Software Engineer
WSO2 Inc. http://wso2.com/
*lean.enterprise.middleware*
Mobile: +94713448188


On Mon, Feb 24, 2014 at 1:50 PM, Chamil Jeewantha  wrote:

> The carbon-utils project builds successfully on jdk1.6.0_45.
>
> However the similar build fails on jdk1.7.0_51 with following 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]
> /home/chamil/products/carbon-utils/components/ntask/org.wso2.carbon.ntask.core/src/main/java/org/wso2/carbon/ntask/core/internal/TasksDSComponent.java:[197,24]
> error: type ServiceReference does not take parameters
>
> ServiceReference is a Generic Type but the compiler complaints it does not
> take parameters.
>
> Is there any prerequisite for java 6?
>
> repo location : https://github.com/wso2/carbon-utils
>
>
>
> --
> K.D. Chamil Jeewantha
> Associate Technical Lead
> WSO2, Inc.;  http://wso2.com
> Mobile: +94716813892
>
>
> ___
> 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] API-Manager - Clarification on OAuth new application feature

2014-02-24 Thread Chamara Ariyarathne
You have to follow this documentation written on the OAuth feature in
Identity Server product.
That way you'll be able to derive more scenarios.

http://docs.wso2.org/display/IS460/OAuth+2.0+Playground+with+WSO2+Identity+Server




On Mon, Feb 24, 2014 at 1:57 PM, Asanthi Kulasinghe wrote:

> Hi,
>
> Can I know the scenarios supported by 'Main -> Manage -> OAuth -> Register
> new application' feature (screen shot attached) of API-Manager?
> What is the difference between these applications and the applications
> created using the store?
>
> Regards
> Asanthi
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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


Re: [Dev] [Appfactory] Integrating social framework with App Factory

2014-02-24 Thread Dimuthu Leelarathne
Hi Shamika and all,

Giving some context, we are integrating this feature not to do add "social
features" to AF, but rather to propagate errors to users in our Async
environment.

thanks,
dimuthu


On Mon, Feb 24, 2014 at 12:49 PM, Shamika Ariyawansa wrote:

> Hi all,
>
> I am working on the $subject and we are going to ingrate
> the social framework which is already used in Enterprise Store.
>
> Is this  can be installed as a single feature? or else do we have to
> install several features related to BAM and install the Jaggery app related
> to social framework separately?  If latter is the case how hard for making
> an aggregate feature for this?
>
> WDYT?
>
> Regards,
>
> --
> Shamika Ariyawansa
> Senior Software Engineer
> WSO2, Inc.; http://wso2.com
>
> LK -  +94 7639629 Ext 5999
> US - +1 408 754 7388 Ext 51732
> Mob:+ 94 772929486
>
> *twitter: 
> **https://twitter.com/Amila_Shamika*
> * linked-in: *http://www.linkedin.com/pub/dir/Shamika/Ariyawansa
>
> *Lean . Enterprise . Middleware*
>



-- 
Dimuthu Leelarathne
Architect & Product Lead of App Factory

WSO2, Inc. (http://wso2.com)
email: dimut...@wso2.com
Mobile : 0773661935

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


[Dev] [IS] Cannot build the SSO agent Sample

2014-02-24 Thread Ushani Balasooriya
Hi,

$Subject please. Followed the steps given in [1]. Couldn't build the app.

[1] http://docs.wso2.org/display/IS460/Configuring+SAML2+SSO

[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.wso2.identity:org.wso2.sample.is.sso.agent:1.2.0
(/home/ushani/Downloads/Products/IS/Release_4.7.0/M1_5-2/wso2is-4.7.0/samples/sso/SSOAgentSample/pom.xml)
has 1 error
[ERROR] Non-resolvable parent POM for
org.wso2.identity:wso2is-identity-samples-sso:4.7.0: Failure to find
org.wso2.identity:wso2is-identity-samples:pom:4.7.0 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 and
'parent.relativePath' points at wrong local POM @
org.wso2.identity:wso2is-identity-samples-sso:4.7.0,
/home/ushani/Downloads/Products/IS/Release_4.7.0/M1_5-2/wso2is-4.7.0/samples/sso/pom.xml,
line 22, column 13 -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException


Regards,
-- 
*Ushani Balasooriya*
Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; +94772636796
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] API-Manager - Clarification on OAuth new application feature

2014-02-24 Thread Asanthi Kulasinghe
Hi,

Thanks Chamara.

If I rephrase my question , what I want to figure out is the significance
of this feature to API Manager.
Is it possible to use applications created using this feature in the store?

Right now they do not appear in the store.
Are there any additional configurations to be done, to make them appear
under applications of the store?

Regards
Asanthi



On Mon, Feb 24, 2014 at 3:00 PM, Chamara Ariyarathne wrote:

> You have to follow this documentation written on the OAuth feature in
> Identity Server product.
> That way you'll be able to derive more scenarios.
>
>
> http://docs.wso2.org/display/IS460/OAuth+2.0+Playground+with+WSO2+Identity+Server
>
>
>
>
> On Mon, Feb 24, 2014 at 1:57 PM, Asanthi Kulasinghe wrote:
>
>> Hi,
>>
>> Can I know the scenarios supported by 'Main -> Manage -> OAuth ->
>> Register new application' feature (screen shot attached) of API-Manager?
>> What is the difference between these applications and the applications
>> created using the store?
>>
>> Regards
>> Asanthi
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Chamara Ariyarathne*
> Senior Software Engineer - QA;
> WSO2 Inc; http://www.wso2.com/.
> Mobile; *+94772786766 <%2B94772786766>*
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Committers += Malintha Adikari

2014-02-24 Thread Krishantha Samaraweera
Hi all,

It's my distinct pleasure to welcome to Malintha Adikari as a WSO2
Committer. He has made some great contributions to test automation
framework and to our platform. In acknowledgement of his contributions,
he's been voted as a WSO2 Committer. Welcome aboard and keep up the good
work!

Thanks,
Krishantha.


-- 
Krishantha Samaraweera
Senior Technical Lead - Test Automation
Mobile: +94 77 7759918
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Github - org.apache.synapse.wso2.feature

2014-02-24 Thread Geeth Munasinghe
Hi Vanji,

Have you added the $subject to github?

if not, can you please add that to github?

Thanks
Geeth


*G. K. S. Munasinghe*
*Software Engineer,*
*WSO2, Inc. http://wso2.com  *
*lean.enterprise.middleware.*

email: ge...@wso2.com
phone:(+94) 777911226
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] API-Manager - Clarification on OAuth new application feature

2014-02-24 Thread Nuwan Dias
Hi Asanthi,

Creating an OAuth app on the Management console will not make it appear on
the Store.

Being able to view these apps on the Management console will allow
administrators to manage these applications. For example, defining the
allowable grant types for this application.

Thanks,
NuwanD.


On Mon, Feb 24, 2014 at 5:32 PM, Asanthi Kulasinghe wrote:

>
> Hi,
>
> Thanks Chamara.
>
> If I rephrase my question , what I want to figure out is the significance
> of this feature to API Manager.
> Is it possible to use applications created using this feature in the
> store?
>
> Right now they do not appear in the store.
> Are there any additional configurations to be done, to make them appear
> under applications of the store?
>
> Regards
> Asanthi
>
>
>
>
> On Mon, Feb 24, 2014 at 3:00 PM, Chamara Ariyarathne wrote:
>
>> You have to follow this documentation written on the OAuth feature in
>> Identity Server product.
>> That way you'll be able to derive more scenarios.
>>
>>
>> http://docs.wso2.org/display/IS460/OAuth+2.0+Playground+with+WSO2+Identity+Server
>>
>>
>>
>>
>> On Mon, Feb 24, 2014 at 1:57 PM, Asanthi Kulasinghe wrote:
>>
>>> Hi,
>>>
>>> Can I know the scenarios supported by 'Main -> Manage -> OAuth ->
>>> Register new application' feature (screen shot attached) of API-Manager?
>>> What is the difference between these applications and the applications
>>> created using the store?
>>>
>>> Regards
>>> Asanthi
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Chamara Ariyarathne*
>> Senior Software Engineer - QA;
>> WSO2 Inc; http://www.wso2.com/.
>> Mobile; *+94772786766 <%2B94772786766>*
>>
>
>


-- 
Nuwan Dias

Senior Software Engineer - WSO2, Inc. http://wso2.com
email : nuw...@wso2.com
Phone : +94 777 775 729
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Malintha Adikari

2014-02-24 Thread Dimuthu De Lanerolle
Congratulations Malintha ... !!!

Regards,


On Mon, Feb 24, 2014 at 5:43 PM, Krishantha Samaraweera  wrote:

> Hi all,
>
> It's my distinct pleasure to welcome to Malintha Adikari as a WSO2
> Committer. He has made some great contributions to test automation
> framework and to our platform. In acknowledgement of his contributions,
> he's been voted as a WSO2 Committer. Welcome aboard and keep up the good
> work!
>
> Thanks,
> Krishantha.
>
>
> --
> Krishantha Samaraweera
> Senior Technical Lead - Test Automation
> Mobile: +94 77 7759918
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middlewear.
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Dimuthu De Lanerolle
Software Engineer
WSO2 Inc.
lean . enterprise . middlewear.
http://wso2.com/
Tel. : +94 11 2145345  Fax : +94 11 2145300  email : dimut...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Github - org.apache.synapse.wso2.feature

2014-02-24 Thread Vanjikumaran Sivajothy
I have added today please checked in this morning.
Please check in  [1]

[1]
https://github.com/wso2/carbon-mediation/tree/master/features/synapse-features


On Mon, Feb 24, 2014 at 5:56 PM, Geeth Munasinghe  wrote:

> Hi Vanji,
>
> Have you added the $subject to github?
>
> if not, can you please add that to github?
>
> Thanks
> Geeth
>
>
> *G. K. S. Munasinghe*
> *Software Engineer,*
> *WSO2, Inc. http://wso2.com  *
> *lean.enterprise.middleware.*
>
> email: ge...@wso2.com
> phone:(+94) 777911226
>



-- 
Sivajothy Vanjikumaran
*Senior Software Engineer*
*Integration Technologies Team*
*WSO2 Inc. http://wso2.com *
*Mobile:(+94)777219209*
*Mobile USA:**(+1)918 813 2403*
[image: Facebook]  [image:
Twitter] [image:
LinkedIn] 
[image:
Blogger]  [image:
SlideShare]

This communication may contain privileged or other confidential information
and is intended exclusively for the addressee/s. If you are not the
intended recipient/s, or believe that you may have received this
communication in error, please reply to the sender indicating that fact and
delete the copy you received and in addition, you should not print,
copy, re-transmit, disseminate, or otherwise use the information contained
in this communication. Internet communications cannot be guaranteed to be
timely, secure, error or virus-free. The sender does not accept liability
for any errors or omissions
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Compilation failure in chunk-08 components Data Services Core 4.2.2

2014-02-24 Thread Chamara Ariyarathne
[INFO]

[INFO] Building WSO2 Carbon - Data Services Core 4.2.2
[INFO]

[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.http.servlet:jar:1.0.200.v20090520-1800
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for commons-email:commons-email:jar:1.2 is missing, no
dependency information available
[WARNING] The POM for net.sf.saxon:saxon-xpath:jar:8.9 is missing, no
dependency information available
[WARNING] The POM for org.htmlcleaner:htmlcleaner:jar:2.1 is missing, no
dependency information available
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @
org.wso2.carbon.dataservices.core ---
[INFO] Deleting
/home/chamara/carbon/platform/branches/turing/components/data-services/org.wso2.carbon.dataservices.core/4.2.2/target
[INFO]
[INFO] --- incremental-build-plugin:1.3:incremental-build (default) @
org.wso2.carbon.dataservices.core ---
[INFO] Verifying module descriptor ...
[INFO] Pom descriptor modification detected.
[INFO] Deleting
/home/chamara/carbon/platform/branches/turing/components/data-services/org.wso2.carbon.dataservices.core/4.2.2/target
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
org.wso2.carbon.dataservices.core ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
org.wso2.carbon.dataservices.core ---
[INFO] Compiling 130 source files to
/home/chamara/carbon/platform/branches/turing/components/data-services/org.wso2.carbon.dataservices.core/4.2.2/target/classes
[INFO] -
[ERROR] COMPILATION ERROR :
[INFO] -
[ERROR]
/home/chamara/carbon/platform/branches/turing/components/data-services/org.wso2.carbon.dataservices.core/4.2.2/src/main/java/org/wso2/carbon/dataservices/core/description/query/QueryFactory.java:[588,46]
cannot find symbol
symbol  : variable RESULT_TYPE_JSON
location: class org.wso2.carbon.dataservices.common.DBConstants.DBSFields
[ERROR]
/home/chamara/carbon/platform/branches/turing/components/data-services/org.wso2.carbon.dataservices.core/4.2.2/src/main/java/org/wso2/carbon/dataservices/core/description/query/QueryFactory.java:[589,48]
cannot find symbol
symbol  : variable JSON
location: class org.wso2.carbon.dataservices.common.DBConstants.ResultTypes
[ERROR]
/home/chamara/carbon/platform/branches/turing/components/data-services/org.wso2.carbon.dataservices.core/4.2.2/src/main/java/org/wso2/carbon/dataservices/core/description/query/QueryFactory.java:[612,56]
cannot find symbol
symbol  : variable JSON
location: class org.wso2.carbon.dataservices.common.DBConstants.ResultTypes
[ERROR]
/home/chamara/carbon/platform/branches/turing/components/data-services/org.wso2.carbon.dataservices.core/4.2.2/src/main/java/org/wso2/carbon/dataservices/core/DBDeployer.java:[588,46]
cannot find symbol
symbol  : method
getConstantFromHTTPLocationForResource(java.lang.String,java.lang.String)
location: class org.apache.axis2.wsdl.WSDLUtil
[ERROR]
/home/chamara/carbon/platform/branches/turing/components/data-services/org.wso2.carbon.dataservices.core/4.2.2/src/main/java/org/wso2/carbon/dataservices/core/DBDeployer.java:[972,48]
cannot find symbol
symbol  : variable HTTP_LOCATION_TABLE_FOR_RESOURCE
location: interface org.apache.axis2.description.WSDL2Constants
[ERROR]
/home/chamara/carbon/platform/branches/turing/components/data-services/org.wso2.carbon.dataservices.core/4.2.2/src/main/java/org/wso2/carbon/dataservices/core/DBDeployer.java:[985,46]
cannot find symbol
symbol  : variable HTTP_LOCATION_TABLE_FOR_RESOURCE
location: interface org.apache.axis2.description.WSDL2Constants
[ERROR]
/home/chamara/carbon/platform/branches/turing/components/data-services/org.wso2.carbon.dataservices.core/4.2.2/src/main/java/org/wso2/carbon/dataservices/core/DBDeployer.java:[1002,48]
cannot find symbol
symbol  : variable HTTP_LOCATION_TABLE_FOR_RESOURCE
location: interface org.apache.axis2.description.WSDL2Constants
[ERROR]
/home/chamara/carbon/platform/branches/turing/components/data-services/org.wso2.carbon.dataservices.core/4.2.2/src/main/java/org/wso2/carbon/dataservices/core/DBDeployer.java:[1043,53]
cannot find symbol
symbol  : variable HTTP_LOCATION_TABLE_FOR_RESOURCE
location: interface org.apache.axis2.description.WSDL2Constants
[ERROR]
/home/chamara/carbon/platform/branches/turing/components/data-services/org.wso2.carbon.dataservices.core/4.2.2/src/main/java/org/wso2/carbon/dataservices/core/DBDeployer.java:[1058,53]
cannot find symbol
symbol  : variable HTTP_LOCATION_TABLE_FOR_RESOURCE
location: interface org.apache.axis2.description.WSDL2Constants
[ERROR]
/home/chamara/carbon

Re: [Dev] Compilation failure in chunk-08 components Data Services Core 4.2.2

2014-02-24 Thread Anjana Fernando
Hi Chamara,

The "JSON" related build errors, I committed those changes a few hours ago,
where earlier I forgotten to commit some changes in a dependent module. As
for the axis2 errors, I guess you've to build the kernel patches to make it
work, where those changes went in as a kernel patch in axis2.

Cheers,
Anjana.


On Mon, Feb 24, 2014 at 6:21 PM, Chamara Ariyarathne wrote:

> [INFO]
> 
> [INFO] Building WSO2 Carbon - Data Services Core 4.2.2
> [INFO]
> 
> [WARNING] The POM for
> org.eclipse.equinox:org.eclipse.equinox.http.servlet:jar:1.0.200.v20090520-1800
> is invalid, transitive dependencies (if any) will not be available, enable
> debug logging for more details
> [WARNING] The POM for commons-email:commons-email:jar:1.2 is missing, no
> dependency information available
> [WARNING] The POM for net.sf.saxon:saxon-xpath:jar:8.9 is missing, no
> dependency information available
> [WARNING] The POM for org.htmlcleaner:htmlcleaner:jar:2.1 is missing, no
> dependency information available
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @
> org.wso2.carbon.dataservices.core ---
> [INFO] Deleting
> /home/chamara/carbon/platform/branches/turing/components/data-services/org.wso2.carbon.dataservices.core/4.2.2/target
> [INFO]
> [INFO] --- incremental-build-plugin:1.3:incremental-build (default) @
> org.wso2.carbon.dataservices.core ---
> [INFO] Verifying module descriptor ...
> [INFO] Pom descriptor modification detected.
> [INFO] Deleting
> /home/chamara/carbon/platform/branches/turing/components/data-services/org.wso2.carbon.dataservices.core/4.2.2/target
> [INFO]
> [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
> org.wso2.carbon.dataservices.core ---
> [debug] execute contextualize
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
> org.wso2.carbon.dataservices.core ---
> [INFO] Compiling 130 source files to
> /home/chamara/carbon/platform/branches/turing/components/data-services/org.wso2.carbon.dataservices.core/4.2.2/target/classes
> [INFO] -
> [ERROR] COMPILATION ERROR :
> [INFO] -
> [ERROR]
> /home/chamara/carbon/platform/branches/turing/components/data-services/org.wso2.carbon.dataservices.core/4.2.2/src/main/java/org/wso2/carbon/dataservices/core/description/query/QueryFactory.java:[588,46]
> cannot find symbol
> symbol  : variable RESULT_TYPE_JSON
> location: class org.wso2.carbon.dataservices.common.DBConstants.DBSFields
> [ERROR]
> /home/chamara/carbon/platform/branches/turing/components/data-services/org.wso2.carbon.dataservices.core/4.2.2/src/main/java/org/wso2/carbon/dataservices/core/description/query/QueryFactory.java:[589,48]
> cannot find symbol
> symbol  : variable JSON
> location: class org.wso2.carbon.dataservices.common.DBConstants.ResultTypes
> [ERROR]
> /home/chamara/carbon/platform/branches/turing/components/data-services/org.wso2.carbon.dataservices.core/4.2.2/src/main/java/org/wso2/carbon/dataservices/core/description/query/QueryFactory.java:[612,56]
> cannot find symbol
> symbol  : variable JSON
> location: class org.wso2.carbon.dataservices.common.DBConstants.ResultTypes
> [ERROR]
> /home/chamara/carbon/platform/branches/turing/components/data-services/org.wso2.carbon.dataservices.core/4.2.2/src/main/java/org/wso2/carbon/dataservices/core/DBDeployer.java:[588,46]
> cannot find symbol
> symbol  : method
> getConstantFromHTTPLocationForResource(java.lang.String,java.lang.String)
> location: class org.apache.axis2.wsdl.WSDLUtil
> [ERROR]
> /home/chamara/carbon/platform/branches/turing/components/data-services/org.wso2.carbon.dataservices.core/4.2.2/src/main/java/org/wso2/carbon/dataservices/core/DBDeployer.java:[972,48]
> cannot find symbol
> symbol  : variable HTTP_LOCATION_TABLE_FOR_RESOURCE
> location: interface org.apache.axis2.description.WSDL2Constants
> [ERROR]
> /home/chamara/carbon/platform/branches/turing/components/data-services/org.wso2.carbon.dataservices.core/4.2.2/src/main/java/org/wso2/carbon/dataservices/core/DBDeployer.java:[985,46]
> cannot find symbol
> symbol  : variable HTTP_LOCATION_TABLE_FOR_RESOURCE
> location: interface org.apache.axis2.description.WSDL2Constants
> [ERROR]
> /home/chamara/carbon/platform/branches/turing/components/data-services/org.wso2.carbon.dataservices.core/4.2.2/src/main/java/org/wso2/carbon/dataservices/core/DBDeployer.java:[1002,48]
> cannot find symbol
> symbol  : variable HTTP_LOCATION_TABLE_FOR_RESOURCE
> location: interface org.apache.axis2.description.WSDL2Constants
> [ERROR]
> /home/chamara/carbon/platform/branches/turing/components/data-services/org.wso2.carbon.dataservices.core/4.2.2/src/main/java/org/wso2/ca

[Dev] Please correct osgi imports and exports versions in Github projects

2014-02-24 Thread Geeth Munasinghe
Hi
When you add the projects to github, please make sure that osgi imports and
exports are referring correct versions. I found that there are lots of
places in many github projects where wrong versions are referred. If not we
might get a lot of problems when building the products.

Thanks
Geeth



*G. K. S. Munasinghe*
*Software Engineer,*
*WSO2, Inc. http://wso2.com  *
*lean.enterprise.middleware.*

email: ge...@wso2.com
phone:(+94) 777911226
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Request to apply patch IDENTITY-2044 to kernel patch0006

2014-02-24 Thread Darshana Gunawardana
Hi,

Please do $Subject for the patch attached at
https://wso2.org/jira/browse/IDENTITY-2044

Thanks,
-- 
Regards,


*Darshana Gunawardana*Software Engineer
WSO2 Inc.; http://wso2.com

*E-mail: darsh...@wso2.com  *
*Mobile: +94718566859*Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Running Multiple instances of a test class with different user Modes

2014-02-24 Thread Krishantha Samaraweera
As we have observed, many critical issues were reported at testing phase
when verifying certain features using tenants. With new test framework
4.3.0 release, you can easily execute the same test class with different
users modes, using @Factory and @DataProvider annotations. The test
framework define different users levels and provide TestUserMode enum class
to refer user modes easily. And interestingly, this approach will increase
code coverage numbers by executing untouched code blocks.


   -

   Super Tenant (Super Admin)
   -

   Super Tenant User
   -

   Tenant Admin
   -

   Tenant User


Executing the same tests with different user modes are highly recommended.
You can run the same test class using @Factory TestNG annotation. TestNG
factory is used to create instances of test classes dynamically. This is
useful if you want to run the test class any number of times. For example,
if you have a test to deploy web-service you want to run this test multiple
times with different user modes, then it's easy to use TestNG factory where
you create multiple instances of test class and run the tests. Whereas,
dataprovider is used to provide parameters to a test. If you provide
dataprovider to a test, the test will be run taking different sets of value
each time.

Sample test case with above mentioned annotations as follows -


public class FactorySampleTest { private Integer number;
@Factory(dataProvider = "dataProvider") public FactorySampleTest(int n) {
this.number = n; } @BeforeClass public void initialize() {
System.out.println("Init "); } @DataProvider static public Object[][]
dataProvider() { return new Object[][]{ new Object[]{41}, new Object[]{42},
}; } @Test public void test() { System.out.println(this.number); } }


You can refer complete example code at
https://gist.github.com/krishanthasamaraweera/9193651


Thanks, Krishantha.

-- 
Krishantha Samaraweera
Senior Technical Lead - Test Automation
Mobile: +94 77 7759918
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] [BAM241] Cassandra indexing on Message Console

2014-02-24 Thread Inosh Goonewardena
Hi Anjana,

As Maninda explained, index is only initialize with the define stream
process happens at the toolbox deployment. In this particular case stream
defining process was done by HL7 data publisher. But according the
conclusion of [1], we are planning to remove the define stream capabilities
from data agents and define all WSO2 inbuilt event definitions in
corresponding toolboxes. If that's the case, we are not going to need this
improvement. In addition, adding already received events to the index could
be a complex process depending on how much data is already exists in
corresponding CFs.

[1] - [Architecture] Should we have one place to define event streams?


On Mon, Feb 24, 2014 at 7:24 AM, Pandula Kariyawasam wrote:

> Hi Maninda/Inosh,
>
> As per the discussion had with Anjana, improvement added to address this
> matter, under BAM-1449 [1]
>
> [1] https://wso2.org/jira/browse/BAM-1449
>
> Thanks,
> Pandula
>
>
>
> On Sun, Feb 23, 2014 at 4:57 PM, Maninda Edirisooriya wrote:
>
>> Hi Pandula,
>>
>> AFAIK this is correct. Message search needs all the messages to be
>> indexed for all the filter conditions. As index is only initialized by the
>> toolbox and because the index is updated only at the message receive time,
>> all the messages received before the toolbox is created will not get
>> indexed.
>>
>> But Activity ID index is enabled by default AFAIK. So all the messages
>> with an Activity ID will get indexed in the Activity ID, custom index,
>> irrespective from the toolbox. That is the reason of appearing all the
>> messages in the Activity ID search.
>>
>> Inosh, please correct me if there are any corrections.
>>
>> Thank you.
>>
>>
>> * Maninda Edirisooriya*
>> Software Engineer
>>
>> *WSO2, Inc.*lean.enterprise.middleware.
>>
>> *Blog* : http://maninda.blogspot.com/
>> *Phone* : +94 777603226
>>
>>
>> On Sun, Feb 23, 2014 at 3:45 PM, Pandula Kariyawasam wrote:
>>
>>> Hi All,
>>>
>>> I'm testing Message Console feature on BAM 2.4.1, which use Cassandra
>>> indexing for searching.
>>>
>>> I created some messages (HL7) in Cassandra before adding the indexing
>>> with HL7 toolbox. Then I created another set of messages after adding the
>>> toolbox.
>>>
>>> Now, when I search for messages, it will list only the messages which
>>> created after adding the toolbox.
>>> But When I load/search Activities, it will load all the messages,
>>> including messages created before toolbox adding.
>>>
>>> Is this the expected behavior?
>>>
>>> Thanks,
>>> Pandula
>>>
>>> --
>>>
>>> *Pandula Kariyawasam K.B.*
>>> *Senior Software Engineer - QA*
>>> Mobile: +94772314510
>>>
>>> 
>>>
>>
>>
>
>
> --
>
> *Pandula Kariyawasam K.B.*
> *Senior Software Engineer - QA*
> Mobile: +94772314510
>
> 
>



-- 
Regards,

Inosh Goonewardena
Associate Technical Lead- WSO2 Inc.
Mobile: +94779966317
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] JAXB for XML parsing in C5.

2014-02-24 Thread Jackie Wheeler
+1


On Mon, Feb 24, 2014 at 12:30 AM, Afkham Azeez  wrote:

> Good move
>
> Azeez
>
>
> On Mon, Feb 24, 2014 at 1:51 PM, Sameera Jayasoma wrote:
>
>> Hi Devs,
>>
>> Now that we are defining schemas for our XML based configuration files,
>> we planning to use JAXB for XML parsing.
>>
>> Thanks,
>> Sameera.
>> --
>> Sameera Jayasoma,
>> Architect,
>>
>> WSO2, Inc. (http://wso2.com)
>> email: same...@wso2.com
>> blog: http://sameera.adahas.org
>> twitter: https://twitter.com/sameerajayasoma
>> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
>> Mobile: 0094776364456
>>
>> Lean . Enterprise . Middleware
>>
>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * *
> *email: **az...@wso2.com* 
> * cell: +94 77 3320919 <%2B94%2077%203320919> blog: *
> *http://blog.afkham.org* 
> *twitter: **http://twitter.com/afkham_azeez*
> * linked-in: **http://lk.linkedin.com/in/afkhamazeez
> *
>
>
> *Lean . Enterprise . Middleware*
>



-- 
*Jackie Wheeler*
VP, Technical Content
WSO2, Inc.
Mobile: +1 510 725-2876
http://wso2.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] JAXB for XML parsing in C5.

2014-02-24 Thread Shameera Rathnayaka
+1

Thanks,
Shameera.


On Mon, Feb 24, 2014 at 1:51 PM, Sameera Jayasoma  wrote:

> Hi Devs,
>
> Now that we are defining schemas for our XML based configuration files, we
> planning to use JAXB for XML parsing.
>
> Thanks,
> Sameera.
>  --
> Sameera Jayasoma,
> Architect,
>
> WSO2, Inc. (http://wso2.com)
> email: same...@wso2.com
> blog: http://sameera.adahas.org
> twitter: https://twitter.com/sameerajayasoma
> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
> Mobile: 0094776364456
>
> Lean . Enterprise . Middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Software Engineer - WSO2 Inc.*
*email: shameera AT wso2.com  , shameera AT 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] [DEV] [BAM241] Cassandra indexing on Message Console

2014-02-24 Thread Anjana Fernando
Hi Inosh,

Yeah, that's true, so the point is, in the future, a publisher will not be
able to anyway send events to the server without the toolbox being
deployed, so that means, a toolbox being deployed will make sure, the index
would have created for sure. So yeah, can you please put the explanation
and resolve that issue as won't fix.

Cheers,
Anjana.


On Tue, Feb 25, 2014 at 2:15 AM, Inosh Goonewardena  wrote:

> Hi Anjana,
>
> As Maninda explained, index is only initialize with the define stream
> process happens at the toolbox deployment. In this particular case stream
> defining process was done by HL7 data publisher. But according the
> conclusion of [1], we are planning to remove the define stream capabilities
> from data agents and define all WSO2 inbuilt event definitions in
> corresponding toolboxes. If that's the case, we are not going to need this
> improvement. In addition, adding already received events to the index could
> be a complex process depending on how much data is already exists in
> corresponding CFs.
>
> [1] - [Architecture] Should we have one place to define event streams?
>
>
> On Mon, Feb 24, 2014 at 7:24 AM, Pandula Kariyawasam wrote:
>
>> Hi Maninda/Inosh,
>>
>> As per the discussion had with Anjana, improvement added to address this
>> matter, under BAM-1449 [1]
>>
>> [1] https://wso2.org/jira/browse/BAM-1449
>>
>> Thanks,
>> Pandula
>>
>>
>>
>> On Sun, Feb 23, 2014 at 4:57 PM, Maninda Edirisooriya 
>> wrote:
>>
>>> Hi Pandula,
>>>
>>> AFAIK this is correct. Message search needs all the messages to be
>>> indexed for all the filter conditions. As index is only initialized by the
>>> toolbox and because the index is updated only at the message receive time,
>>> all the messages received before the toolbox is created will not get
>>> indexed.
>>>
>>> But Activity ID index is enabled by default AFAIK. So all the messages
>>> with an Activity ID will get indexed in the Activity ID, custom index,
>>> irrespective from the toolbox. That is the reason of appearing all the
>>> messages in the Activity ID search.
>>>
>>> Inosh, please correct me if there are any corrections.
>>>
>>> Thank you.
>>>
>>>
>>> * Maninda Edirisooriya*
>>> Software Engineer
>>>
>>> *WSO2, Inc.*lean.enterprise.middleware.
>>>
>>> *Blog* : http://maninda.blogspot.com/
>>> *Phone* : +94 777603226
>>>
>>>
>>> On Sun, Feb 23, 2014 at 3:45 PM, Pandula Kariyawasam 
>>> wrote:
>>>
 Hi All,

 I'm testing Message Console feature on BAM 2.4.1, which use Cassandra
 indexing for searching.

 I created some messages (HL7) in Cassandra before adding the indexing
 with HL7 toolbox. Then I created another set of messages after adding the
 toolbox.

 Now, when I search for messages, it will list only the messages which
 created after adding the toolbox.
 But When I load/search Activities, it will load all the messages,
 including messages created before toolbox adding.

 Is this the expected behavior?

 Thanks,
 Pandula

 --

 *Pandula Kariyawasam K.B.*
 *Senior Software Engineer - QA*
 Mobile: +94772314510

 

>>>
>>>
>>
>>
>> --
>>
>> *Pandula Kariyawasam K.B.*
>> *Senior Software Engineer - QA*
>> Mobile: +94772314510
>>
>> 
>>
>
>
>
> --
> Regards,
>
> Inosh Goonewardena
> Associate Technical Lead- WSO2 Inc.
> Mobile: +94779966317
>



-- 
*Anjana Fernando*
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] WSO2 Committers += Malintha Adikari

2014-02-24 Thread Dharshana Warusavitharana
Congratulations Malintha :)


On Mon, Feb 24, 2014 at 6:05 PM, Dimuthu De Lanerolle wrote:

> Congratulations Malintha ... !!!
>
> Regards,
>
>
> On Mon, Feb 24, 2014 at 5:43 PM, Krishantha Samaraweera <
> krishan...@wso2.com> wrote:
>
>> Hi all,
>>
>> It's my distinct pleasure to welcome to Malintha Adikari as a WSO2
>> Committer. He has made some great contributions to test automation
>> framework and to our platform. In acknowledgement of his contributions,
>> he's been voted as a WSO2 Committer. Welcome aboard and keep up the good
>> work!
>>
>> Thanks,
>> Krishantha.
>>
>>
>> --
>> Krishantha Samaraweera
>> Senior Technical Lead - Test Automation
>> Mobile: +94 77 7759918
>> WSO2, Inc.; http://wso2.com/
>> lean . enterprise . middlewear.
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Dimuthu De Lanerolle
> Software Engineer
> WSO2 Inc.
> lean . enterprise . middlewear.
> http://wso2.com/
> Tel. : +94 11 2145345  Fax : +94 11 2145300  email : dimut...@wso2.com
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Dharshana Warusavitharana
Senior Software Engineer , Test Automation
WSO2 Inc. http://wso2.com
email : dharsha...@wso2.com 
Tel  : +94 11 214 5345
Fax :+94 11 2145300
cell : +94772202595
blog : http://dharshanaw.blogspot.com

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


Re: [Dev] WSO2 Committers += Malintha Adikari

2014-02-24 Thread Nuwan Silva
Congrats Malintha :)


On Tue, Feb 25, 2014 at 9:13 AM, Dharshana Warusavitharana <
dharsha...@wso2.com> wrote:

> Congratulations Malintha :)
>
>
> On Mon, Feb 24, 2014 at 6:05 PM, Dimuthu De Lanerolle 
> wrote:
>
>> Congratulations Malintha ... !!!
>>
>> Regards,
>>
>>
>> On Mon, Feb 24, 2014 at 5:43 PM, Krishantha Samaraweera <
>> krishan...@wso2.com> wrote:
>>
>>> Hi all,
>>>
>>> It's my distinct pleasure to welcome to Malintha Adikari as a WSO2
>>> Committer. He has made some great contributions to test automation
>>> framework and to our platform. In acknowledgement of his contributions,
>>> he's been voted as a WSO2 Committer. Welcome aboard and keep up the good
>>> work!
>>>
>>> Thanks,
>>> Krishantha.
>>>
>>>
>>> --
>>> Krishantha Samaraweera
>>> Senior Technical Lead - Test Automation
>>> Mobile: +94 77 7759918
>>> WSO2, Inc.; http://wso2.com/
>>> lean . enterprise . middlewear.
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Dimuthu De Lanerolle
>> Software Engineer
>> WSO2 Inc.
>> lean . enterprise . middlewear.
>> http://wso2.com/
>> Tel. : +94 11 2145345  Fax : +94 11 2145300  email : dimut...@wso2.com
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> Dharshana Warusavitharana
> Senior Software Engineer , Test Automation
> WSO2 Inc. http://wso2.com
> email : dharsha...@wso2.com 
> Tel  : +94 11 214 5345
> Fax :+94 11 2145300
> cell : +94772202595
> blog : http://dharshanaw.blogspot.com
>
> lean . enterprise . middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 


*Nuwan Silva*
*Senior Software Engineer - QA*
Mobile: +94779804543

WSO2 Inc.
lean . enterprise . middlewear.
http://www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Malintha Adikari

2014-02-24 Thread Manoj Kumara
Congratulations Malintha ...


*Manoj Kumara*
Software Engineer
WSO2 Inc. http://wso2.com/
*lean.enterprise.middleware*
Mobile: +94713448188


On Mon, Feb 24, 2014 at 5:43 PM, Krishantha Samaraweera  wrote:

> Hi all,
>
> It's my distinct pleasure to welcome to Malintha Adikari as a WSO2
> Committer. He has made some great contributions to test automation
> framework and to our platform. In acknowledgement of his contributions,
> he's been voted as a WSO2 Committer. Welcome aboard and keep up the good
> work!
>
> Thanks,
> Krishantha.
>
>
> --
> Krishantha Samaraweera
> Senior Technical Lead - Test Automation
> Mobile: +94 77 7759918
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middlewear.
>
> ___
> 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] WSO2 Committers += Malintha Adikari

2014-02-24 Thread Waruna Jayaweera
Congratzz Malintha .


On Tue, Feb 25, 2014 at 9:45 AM, Manoj Kumara  wrote:

> Congratulations Malintha ...
>
>
> *Manoj Kumara*
> Software Engineer
> WSO2 Inc. http://wso2.com/
> *lean.enterprise.middleware*
> Mobile: +94713448188
>
>
> On Mon, Feb 24, 2014 at 5:43 PM, Krishantha Samaraweera <
> krishan...@wso2.com> wrote:
>
>> Hi all,
>>
>> It's my distinct pleasure to welcome to Malintha Adikari as a WSO2
>> Committer. He has made some great contributions to test automation
>> framework and to our platform. In acknowledgement of his contributions,
>> he's been voted as a WSO2 Committer. Welcome aboard and keep up the good
>> work!
>>
>> Thanks,
>> Krishantha.
>>
>>
>> --
>> Krishantha Samaraweera
>> Senior Technical Lead - Test Automation
>> Mobile: +94 77 7759918
>> WSO2, Inc.; http://wso2.com/
>> lean . enterprise . middlewear.
>>
>> ___
>> 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
>
>


-- 
Regards,

Waruna Lakshitha Jayaweera
Software Engineer
WSO2 Inc; http://wso2.com
phone: +94713255198
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Malintha Adikari

2014-02-24 Thread Nuwan Wimalasekara
Congratulations!!!...


Thanks,
Nuwanw


On Mon, Feb 24, 2014 at 5:43 PM, Krishantha Samaraweera  wrote:

> Hi all,
>
> It's my distinct pleasure to welcome to Malintha Adikari as a WSO2
> Committer. He has made some great contributions to test automation
> framework and to our platform. In acknowledgement of his contributions,
> he's been voted as a WSO2 Committer. Welcome aboard and keep up the good
> work!
>
> Thanks,
> Krishantha.
>
>
> --
> Krishantha Samaraweera
> Senior Technical Lead - Test Automation
> Mobile: +94 77 7759918
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middlewear.
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Nuwan Wimalasekara
Senior Software Engineer - Test Automation
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

phone: +94 71 668 4620
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Connect WSO2 ES and WSO2 UES via SSO

2014-02-24 Thread Madhuka Udantha
Hi,

Here is steps you can follow.
Register New Service Provider (with Issuer UES dashboard App)
In UES dashboard app update 'ssoConfiguration' in config.json file for ES
if is it acting as IDP.
You can try this in UES 1.0.1[1] since UES 1.0.0 was using sso hostobject
and UES 1.0.1 and ES 1.0.0 is using SSO module. (few app level code changes
can be required).

Here I am sharing few links that can help you on $subject

[1] http://dist.wso2.org/maven2/org/wso2/ues/wso2ues/1.0.1/
[2]
http://madhukaudantha.blogspot.com/2013/04/enabling-sso-in-wso2-user-engagement.html
[3]
http://madhukaudantha.blogspot.com/2014/01/sso-with-claims-in-wso2-is.html2
.


On Thu, Feb 20, 2014 at 11:46 AM, Pubudud Dissanayake wrote:

> Hi All,
>
> We are working on a scenario where we want to put a link to a UES
> Dashboard inside an user Interface on Enterprise Store. Through this link
> we are passing several query string parameters which are needed by the
> dashboard to render the gadgets. We need to enable SSO between these two
> apps where a logged in user of ES will be automatically logged in and
> redirected to the dashboard with parameters upon clicking on the link.
>
> As a start we just tried to get this scenario working without SSO. We
> simply put the link to Dashboard page (on separate UES instance) and tried
> accessing it via ES user interface. But it redirects the request to
> sso/samlsso.jag of ES instance and nothing will happen afterwards.
>
> can anyone suggest a solution for this particular scenario?
>
> Suggestions and comments are welcome,
>
> Thanks.
>
> --
> *Pubudu Dissanayake*
>  Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
> Mobile: 0775503304
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Madhuka* Udantha
Senior Software Engineer
Development Technologies
WSO2 Inc. : http://wso2.com

*Mobile*: +94774066336
*Blog*: http://madhukaudantha.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM] Status update on improving automated tests for API manager

2014-02-24 Thread Sanjeewa Malalgoda
Hi All,
We were able to cover following test cases with newly introduced test
cases. These test cases were committed to 2.0.0 product source. Now you can
run product build with test enabled before you add new features or changes.

*Publisher & Store*
Login with username
Add API / Edit API
Create new version of API
API Documentation
Publish API
Tags
Delete API
Search/
search Paginated APIs, search API by Type
Search by Tags / API Grouping
Resource Level Auth
User permissions per tiers
Self Sign up
Store - non tenant mode and tenant mode
Add Applications / Edit Applications
Delete Applications
Create Subscriptions - production/sandbox
Remove subscriptions  - production/sandbox
Domain Restrictions  - production/sandbox
Key Generation  - production/sandbox
Token Expiration
API Comments
Rating APIs (with multiple users)
Download Documentation
Application Level Throttling
Subscription Level Throttling
Resource Level Throttling
Add / Edit tiers (tiers.xml)
Ability to define additional tier attributes
IP Based throttling test mechanism
checking permissions of users

*Gateway*
API Invocation - app token and user token
Invalid app token and invalid user token
Expired app token and expired user token
Uri-template based APIs

*KeyMgt*
Thrift Client and WS Client
Gateway caching enabled
API Manager gateway and key manager caching enable.
Enable JWT Token
Token API - /token
Support for grant types of Token API-password,client credentials
Refresh Token
EnableAssertions
Access Token Partitioning
Keymanager caching enabled
Token types (Bearer and HMAC)
Encrypt access tokens & refresh tokens - Rajeev
Revoke Tokens

*Samples*
Youtube sample

Thanks,
Sanjeewa.


On Mon, Feb 17, 2014 at 11:24 PM, Madhuka Udantha  wrote:

> Hi,
>
> In AM we have considerable js and jaggery coding and all above test can
> cover HostObject (java) and jaggery REST api only. So I think having js or
> jaggery code test (unit level test and integration level) will improve
> $subject.
>
>
>
> On Mon, Feb 17, 2014 at 5:42 PM, Sanjeewa Malalgoda wrote:
>
>> Hi All,
>> Here is the latest update on test automation of API manager integration
>> tests. Last week i was mainly focused on  API store and publisher
>> operations(operations exposed to out side by hostobject classes). For that
>> we need to add sample jaggery application and invoke all possible
>> operations for API store and publisher host objects. Then we can get single
>> response for all operations available and fetch the results according to
>> method order. After that we need to validate response against method. With
>> these tests line coverage reached* 55%* and method and class coverage
>> reached to *70%* and *73%*. I will add some more tests to cover other
>> remaining edge cases.  Still there are some issues and we need to address
>> them as well.
>>
>> 01. Integrating with BAM and BPS to cover stats and workflow scenarios(we
>> have considerable amount of code to cover usage metering related stuff).
>> 02. Need to add some more negative test cases to cover exception classes
>> and exception code blocks.
>> 03. Need to add test case to cover external API store scenario.
>>
>> WDYT?
>>
>> Thanks,
>> sanjeewa.
>>
>>
>> On Mon, Jan 27, 2014 at 8:48 PM, Sanjeewa Malalgoda wrote:
>>
>>> Hi All,
>>> After adding tests to cover comment, rating, token generation and host
>>> object functionalities i was able to reach 37% line coverage and 52% method
>>> coverage. At this point we have covered most of the common API management
>>> related use cases. Now we need to pay attention to workflow integration,
>>> usage publishing,  token partition and some other edge cases. Also we might
>>> need to add test cases to cover negative test cases to cover exception
>>> classes as well. I found that auto generated thrift code is having large
>>> number of lines and some of them never get executed. Shall we filter out
>>> them? Any suggestions or ideas?
>>>
>>> OVERALL COVERAGE SUMMARY name line, %block, % method, % class, %
>>> all classes 37%  (5976.3/16191) 35%  (24800/70841)52%  (969/1847)
>>> 67%  (130/194)OVERALL STATS SUMMARY total packages: 33
>>> total executable files: 154 total classes:194 total methods:1847total 
>>> executable lines:
>>> 16191
>>>
>>>
>>> Thanks,
>>> Sanjeewa.
>>>
>>>
>>> On Tue, Jan 21, 2014 at 4:53 PM, Sanjeewa Malalgoda 
>>> wrote:
>>>
 Hi All,
 Here is a brief update about API Manager integration test improvement.
 Before adding test cases code coverage was about 2% (default test set).
 Once we added nuwanW implemented you tube sample it was about 12%. After
 that we added  4 existing JMeter scripts it was about 24% (and i need to
 fix some remaining issues in other 2 scripts). So at this moment code
 coverage is about 24%. As we do not have usage related tests i removed
 usage packages from instrumentation file. We might need to add tests to
 cover API Manager and BAM integration to cover usage related code. Here are
 some of the area

Re: [Dev] WSO2 Committers += Malintha Adikari

2014-02-24 Thread Manula Chathurika Thantriwatte
Congratulations !!!


On Tue, Feb 25, 2014 at 10:32 AM, Nuwan Wimalasekara wrote:

> Congratulations!!!...
>
>
> Thanks,
> Nuwanw
>
>
> On Mon, Feb 24, 2014 at 5:43 PM, Krishantha Samaraweera <
> krishan...@wso2.com> wrote:
>
>> Hi all,
>>
>> It's my distinct pleasure to welcome to Malintha Adikari as a WSO2
>> Committer. He has made some great contributions to test automation
>> framework and to our platform. In acknowledgement of his contributions,
>> he's been voted as a WSO2 Committer. Welcome aboard and keep up the good
>> work!
>>
>> Thanks,
>> Krishantha.
>>
>>
>> --
>> Krishantha Samaraweera
>> Senior Technical Lead - Test Automation
>> Mobile: +94 77 7759918
>> WSO2, Inc.; http://wso2.com/
>> lean . enterprise . middlewear.
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Nuwan Wimalasekara
> Senior Software Engineer - Test Automation
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> phone: +94 71 668 4620
>
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Regards,
Manula Chathurika Thantriwatte
Software Engineer
WSO2 Inc. : http://wso2.com
lean . enterprise . middleware

email : manu...@wso2.com / man...@apache.org
phone : +94 772492511
blog : http://manulachathurika.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Jaggery][WebSocket] Update on Missing WebSocket APIs

2014-02-24 Thread Madhuka Udantha
Hi,

Jaggery webSocket[4] is missing basic and important apis according to
webSocket defined by RFC 6455[1] and Java WebSocket 1.0 API defined by
JSR-356[3].There for jaggery WebSocket API will be fixed upon[2] on the
$subject

Thanks

[1] http://tools.ietf.org/html/rfc6455
[2] http://tomcat.apache.org/tomcat-7.0-doc/web-socket-howto.html
[3] http://www.oracle.com/technetwork/articles/java/jsr356-1937161.html
[4] http://jaggeryjs.org/apidocs/websocket.jag
-- 
*Madhuka* Udantha
Senior Software Engineer
Development Technologies
WSO2 Inc. : http://wso2.com

*Mobile*: +94774066336
*Blog*: http://madhukaudantha.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Request to apply patch IDENTITY-2044 to kernel patch0006

2014-02-24 Thread Manoj Kumara
Hi Darshana,

Committed to patch0006 with 197291. Please check.

Thanks,
Manoj


*Manoj Kumara*
Software Engineer
WSO2 Inc. http://wso2.com/
*lean.enterprise.middleware*
Mobile: +94713448188


On Mon, Feb 24, 2014 at 9:08 PM, Darshana Gunawardana wrote:

> Hi,
>
> Please do $Subject for the patch attached at
> https://wso2.org/jira/browse/IDENTITY-2044
>
> Thanks,
> --
> Regards,
>
>
> *Darshana Gunawardana*Software Engineer
> WSO2 Inc.; http://wso2.com
>
> *E-mail: darsh...@wso2.com  *
> *Mobile: +94718566859 <%2B94718566859>*Lean . Enterprise . Middleware
>
> ___
> 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] Connect WSO2 ES and WSO2 UES via SSO

2014-02-24 Thread Pubudud Dissanayake
Thank you for the feedback, I'll look in to it and get back to you



On Tue, Feb 25, 2014 at 10:32 AM, Madhuka Udantha  wrote:

> Hi,
>
> Here is steps you can follow.
> Register New Service Provider (with Issuer UES dashboard App)
> In UES dashboard app update 'ssoConfiguration' in config.json file for ES
> if is it acting as IDP.
> You can try this in UES 1.0.1[1] since UES 1.0.0 was using sso hostobject
> and UES 1.0.1 and ES 1.0.0 is using SSO module. (few app level code changes
> can be required).
>
> Here I am sharing few links that can help you on $subject
>
> [1] http://dist.wso2.org/maven2/org/wso2/ues/wso2ues/1.0.1/
> [2]
> http://madhukaudantha.blogspot.com/2013/04/enabling-sso-in-wso2-user-engagement.html
> [3]
> http://madhukaudantha.blogspot.com/2014/01/sso-with-claims-in-wso2-is.html2
> .
>
>
> On Thu, Feb 20, 2014 at 11:46 AM, Pubudud Dissanayake wrote:
>
>> Hi All,
>>
>> We are working on a scenario where we want to put a link to a UES
>> Dashboard inside an user Interface on Enterprise Store. Through this link
>> we are passing several query string parameters which are needed by the
>> dashboard to render the gadgets. We need to enable SSO between these two
>> apps where a logged in user of ES will be automatically logged in and
>> redirected to the dashboard with parameters upon clicking on the link.
>>
>> As a start we just tried to get this scenario working without SSO. We
>> simply put the link to Dashboard page (on separate UES instance) and tried
>> accessing it via ES user interface. But it redirects the request to
>> sso/samlsso.jag of ES instance and nothing will happen afterwards.
>>
>> can anyone suggest a solution for this particular scenario?
>>
>> Suggestions and comments are welcome,
>>
>> Thanks.
>>
>> --
>> *Pubudu Dissanayake*
>>  Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>> Mobile: 0775503304
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Madhuka* Udantha
> Senior Software Engineer
> Development Technologies
> WSO2 Inc. : http://wso2.com
>
> *Mobile*: +94774066336
> *Blog*: http://madhukaudantha.blogspot.com/
>



-- 
*Pubudu Dissanayake*
 Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
Mobile: 0775503304
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Build failure on Carbon-data on github

2014-02-24 Thread Geeth Munasinghe
Hi Chanika

I am getting following compilation error when I try to run carbon-data on
my local machine.
It does build on jenkins machine. Do you have any idea what would have
caused this issue?

My java version is  1.6.0_38
Jenkins machine java version javac 1.7.0_50

INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 50.335s
[INFO] Finished at: Tue Feb 25 11:43:08 IST 2014
[INFO] Final Memory: 63M/277M
[INFO]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile
(default-compile) on project org.wso2.carbon.dataservices.core: Compilation
failure: Compilation failure:
[ERROR]
/home/geeth/workspace/git/data/carbon-data/components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/engine/ResultSetWrapper.java:[258,34]
cannot find symbol
[ERROR] symbol  : method getObject(java.lang.String,java.lang.Class)
[ERROR] location: interface java.sql.ResultSet
[ERROR]
[ERROR]
/home/geeth/workspace/git/data/carbon-data/components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/engine/ResultSetWrapper.java:[262,34]
cannot find symbol
[ERROR] symbol  : method getObject(int,java.lang.Class)
[ERROR] location: interface java.sql.ResultSet
[ERROR] -> [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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn  -rf :org.wso2.carbon.dataservices.core




*G. K. S. Munasinghe*
*Software Engineer,*
*WSO2, Inc. http://wso2.com  *
*lean.enterprise.middleware.*

email: ge...@wso2.com
phone:(+94) 777911226
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Build failure on Carbon-data on github

2014-02-24 Thread Anjana Fernando
Hi,

This must be because of JDBC 4.1 features that are in JDK7. @Chanika, maybe
we accidentally put an @Overrides annotation for a JDK7 specific method in
ResetSetWrapper, where it will fail in JDK6.

Cheers,
Anjana.


On Tue, Feb 25, 2014 at 11:52 AM, Geeth Munasinghe  wrote:

> Hi Chanika
>
> I am getting following compilation error when I try to run carbon-data on
> my local machine.
> It does build on jenkins machine. Do you have any idea what would have
> caused this issue?
>
> My java version is  1.6.0_38
> Jenkins machine java version javac 1.7.0_50
>
> INFO] BUILD FAILURE
> [INFO]
> 
> [INFO] Total time: 50.335s
> [INFO] Finished at: Tue Feb 25 11:43:08 IST 2014
> [INFO] Final Memory: 63M/277M
> [INFO]
> 
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile
> (default-compile) on project org.wso2.carbon.dataservices.core: Compilation
> failure: Compilation failure:
> [ERROR]
> /home/geeth/workspace/git/data/carbon-data/components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/engine/ResultSetWrapper.java:[258,34]
> cannot find symbol
> [ERROR] symbol  : method getObject(java.lang.String,java.lang.Class)
> [ERROR] location: interface java.sql.ResultSet
> [ERROR]
> [ERROR]
> /home/geeth/workspace/git/data/carbon-data/components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/engine/ResultSetWrapper.java:[262,34]
> cannot find symbol
> [ERROR] symbol  : method getObject(int,java.lang.Class)
> [ERROR] location: interface java.sql.ResultSet
> [ERROR] -> [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/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn  -rf :org.wso2.carbon.dataservices.core
>
>
>
>
> *G. K. S. Munasinghe*
> *Software Engineer,*
> *WSO2, Inc. http://wso2.com  *
> *lean.enterprise.middleware.*
>
> email: ge...@wso2.com
> phone:(+94) 777911226
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Anjana Fernando*
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 failure on Carbon-data on github

2014-02-24 Thread Chanika Geeganage
Yes, this is because of the new methods that are in JDK7. I will correct
them and commit.

Thanks


On Tue, Feb 25, 2014 at 12:02 PM, Anjana Fernando  wrote:

> Hi,
>
> This must be because of JDBC 4.1 features that are in JDK7. @Chanika,
> maybe we accidentally put an @Overrides annotation for a JDK7 specific
> method in ResetSetWrapper, where it will fail in JDK6.
>
> Cheers,
> Anjana.
>
>
> On Tue, Feb 25, 2014 at 11:52 AM, Geeth Munasinghe  wrote:
>
>> Hi Chanika
>>
>> I am getting following compilation error when I try to run carbon-data on
>> my local machine.
>> It does build on jenkins machine. Do you have any idea what would have
>> caused this issue?
>>
>> My java version is  1.6.0_38
>> Jenkins machine java version javac 1.7.0_50
>>
>> INFO] BUILD FAILURE
>> [INFO]
>> 
>> [INFO] Total time: 50.335s
>> [INFO] Finished at: Tue Feb 25 11:43:08 IST 2014
>> [INFO] Final Memory: 63M/277M
>> [INFO]
>> 
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile
>> (default-compile) on project org.wso2.carbon.dataservices.core: Compilation
>> failure: Compilation failure:
>> [ERROR]
>> /home/geeth/workspace/git/data/carbon-data/components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/engine/ResultSetWrapper.java:[258,34]
>> cannot find symbol
>> [ERROR] symbol  : method getObject(java.lang.String,java.lang.Class)
>> [ERROR] location: interface java.sql.ResultSet
>> [ERROR]
>> [ERROR]
>> /home/geeth/workspace/git/data/carbon-data/components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/engine/ResultSetWrapper.java:[262,34]
>> cannot find symbol
>> [ERROR] symbol  : method getObject(int,java.lang.Class)
>> [ERROR] location: interface java.sql.ResultSet
>> [ERROR] -> [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/MojoFailureException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>> [ERROR]   mvn  -rf :org.wso2.carbon.dataservices.core
>>
>>
>>
>>
>> *G. K. S. Munasinghe*
>> *Software Engineer,*
>> *WSO2, Inc. http://wso2.com  *
>> *lean.enterprise.middleware.*
>>
>> email: ge...@wso2.com
>> phone:(+94) 777911226
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Anjana Fernando*
> Technical Lead
> WSO2 Inc. | http://wso2.com
> lean . enterprise . middleware
>



-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Dropping Registry-based DepSync support from Carbon 4.3.0

2014-02-24 Thread Kasun Gajasinghe
Hi,

This is to update the lists that we have decided to drop the Registry-based
DepSync support from Carbon 4.3.0 release onward. We are thinking to keep
SVN-based DepSync for now but it'll be deprecated once the GIT based
DepSync is further stabilized.

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


Re: [Dev] Build failure on Carbon-data on github

2014-02-24 Thread Chanika Geeganage
Done


On Tue, Feb 25, 2014 at 12:07 PM, Chanika Geeganage wrote:

> Yes, this is because of the new methods that are in JDK7. I will correct
> them and commit.
>
> Thanks
>
>
> On Tue, Feb 25, 2014 at 12:02 PM, Anjana Fernando  wrote:
>
>> Hi,
>>
>> This must be because of JDBC 4.1 features that are in JDK7. @Chanika,
>> maybe we accidentally put an @Overrides annotation for a JDK7 specific
>> method in ResetSetWrapper, where it will fail in JDK6.
>>
>> Cheers,
>> Anjana.
>>
>>
>> On Tue, Feb 25, 2014 at 11:52 AM, Geeth Munasinghe wrote:
>>
>>> Hi Chanika
>>>
>>> I am getting following compilation error when I try to run carbon-data
>>> on my local machine.
>>> It does build on jenkins machine. Do you have any idea what would have
>>> caused this issue?
>>>
>>> My java version is  1.6.0_38
>>> Jenkins machine java version javac 1.7.0_50
>>>
>>> INFO] BUILD FAILURE
>>> [INFO]
>>> 
>>> [INFO] Total time: 50.335s
>>> [INFO] Finished at: Tue Feb 25 11:43:08 IST 2014
>>> [INFO] Final Memory: 63M/277M
>>> [INFO]
>>> 
>>> [ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile
>>> (default-compile) on project org.wso2.carbon.dataservices.core: Compilation
>>> failure: Compilation failure:
>>> [ERROR]
>>> /home/geeth/workspace/git/data/carbon-data/components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/engine/ResultSetWrapper.java:[258,34]
>>> cannot find symbol
>>> [ERROR] symbol  : method getObject(java.lang.String,java.lang.Class)
>>> [ERROR] location: interface java.sql.ResultSet
>>> [ERROR]
>>> [ERROR]
>>> /home/geeth/workspace/git/data/carbon-data/components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/engine/ResultSetWrapper.java:[262,34]
>>> cannot find symbol
>>> [ERROR] symbol  : method getObject(int,java.lang.Class)
>>> [ERROR] location: interface java.sql.ResultSet
>>> [ERROR] -> [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/MojoFailureException
>>> [ERROR]
>>> [ERROR] After correcting the problems, you can resume the build with the
>>> command
>>> [ERROR]   mvn  -rf :org.wso2.carbon.dataservices.core
>>>
>>>
>>>
>>>
>>> *G. K. S. Munasinghe*
>>> *Software Engineer,*
>>> *WSO2, Inc. http://wso2.com  *
>>> *lean.enterprise.middleware.*
>>>
>>> email: ge...@wso2.com
>>> phone:(+94) 777911226
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Anjana Fernando*
>> Technical Lead
>> WSO2 Inc. | http://wso2.com
>> lean . enterprise . middleware
>>
>
>
>
> --
> Best Regards..
>
> Chanika Geeganage
> Software Engineer
> WSO2, Inc.; http://wso2.com
>
>


-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Dropping Registry-based DepSync support from Carbon 4.3.0

2014-02-24 Thread Sagara Gunathunga
On Tue, Feb 25, 2014 at 12:09 PM, Kasun Gajasinghe  wrote:

> Hi,
>
> This is to update the lists that we have decided to drop the
> Registry-based DepSync support from Carbon 4.3.0 release onward. We are
> thinking to keep SVN-based DepSync for now but it'll be deprecated once the
> GIT based DepSync is further stabilized.
>

Since both GIT and SVN are in mainstream In my POV we should support for
SVN based DepSync for sometime, some people may keep want to use SVN.

Thanks !


>
> Thanks,
> KasunG
>
>
>


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