Re: [Dev] [DEV][IS] New email template not showing in Email Templates page

2016-08-10 Thread Kasun Bandara
Hi,

This is actually a limitation in IS 5.0.0 & IS 5.1.0. This issue [1] has
been resolved from IS 5.3.0-M4 onwards, where you can Add/Edit/Delete new
email templates from the UI itself. Please find the latest released IS
5.3.0-M4 from [2].


Thanks,
Kasun.


[1] https://wso2.org/jira/browse/IDENTITY-4816


[2] https://github.com/wso2/product-is/releases/tag/v5.3.0-m4


On Thu, Aug 11, 2016 at 11:16 AM, Johann Nallathamby 
wrote:

> [adding  KasunB and Farasath]
>
> On Thu, Aug 11, 2016 at 11:04 AM, Lasantha Samarakoon 
> wrote:
>
>> Hi all,
>>
>> In IS 5.1.0, I have added a new email template by editing the
>> email-admin-config.xml. But when I check that on the MC -> Configure ->
>> Email templates page, the new templates is not getting listed. I have added
>> a new property with the new email template in 
>> /_system/config/identity/config/emailTemplate
>> as well, but still the problem not resolved.
>>
>> Anything else I need to do to make this work?
>>
>>
>> Thanks,
>>
>> *Lasantha Samarakoon* | Software Engineer
>> WSO2, Inc.
>> #20, Palm Grove, Colombo 03, Sri Lanka
>> Mobile: +94 (71) 214 1576
>> Email:  lasant...@wso2.com
>> Web:www.wso2.com
>>
>> lean . enterprise . middleware
>>
>
>
>
> --
> Thanks & Regards,
>
> *Johann Dilantha Nallathamby*
> Technical Lead & Product Lead of WSO2 Identity Server
> Governance Technologies Team
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - *+9476950*
> Blog - *http://nallaa.wordpress.com *
>



-- 
Kasun Bandara
*Software Engineer*
Mobile : +94 (0) 718 338 360
<%2B94%20%280%29%20773%20451194>
kas...@wso2.com 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][IS] New email template not showing in Email Templates page

2016-08-10 Thread Johann Nallathamby
[adding  KasunB and Farasath]

On Thu, Aug 11, 2016 at 11:04 AM, Lasantha Samarakoon 
wrote:

> Hi all,
>
> In IS 5.1.0, I have added a new email template by editing the
> email-admin-config.xml. But when I check that on the MC -> Configure ->
> Email templates page, the new templates is not getting listed. I have added
> a new property with the new email template in 
> /_system/config/identity/config/emailTemplate
> as well, but still the problem not resolved.
>
> Anything else I need to do to make this work?
>
>
> Thanks,
>
> *Lasantha Samarakoon* | Software Engineer
> WSO2, Inc.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 (71) 214 1576
> Email:  lasant...@wso2.com
> Web:www.wso2.com
>
> lean . enterprise . middleware
>



-- 
Thanks & Regards,

*Johann Dilantha Nallathamby*
Technical Lead & Product Lead of WSO2 Identity Server
Governance Technologies Team
WSO2, Inc.
lean.enterprise.middleware

Mobile - *+9476950*
Blog - *http://nallaa.wordpress.com *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] MSF4J Issues

2016-08-10 Thread Sagara Gunathunga
On Thu, Aug 11, 2016 at 11:08 AM, Afkham Azeez  wrote:

>
> On Thu, Aug 11, 2016 at 10:59 AM, Ama jayaweera 
> wrote:
>
>> Could you please help us for connect database and retrieve data(Multiple
>> tables), update data and delete data from database.
>
>
> Which example are you referring to? You have to use standard JDBC or JPA
> based Java code in the normal way to connect to databases. There is nothing
> specific to MSF4J.
>

Here[1] is a complete JPA sample, if you want to use JDBC just replace
this[2] class using JDBC code instead of JPA code.

[1] - https://github.com/wso2/msf4j/tree/master/samples/jpa
[2] -
https://github.com/wso2/msf4j/blob/master/samples/jpa/src/main/java/org/wso2/msf4j/example/dao/AbstractRepository.java

Thanks !


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


-- 
Sagara Gunathunga

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


[Dev] Integration tests to kubernetes membership scheme

2016-08-10 Thread Anuruddha Liyanarachchi
Hi Devs,

I have added integration tests to kubernetes membership scheme[1]. This is
implemented with the use of mock-server[2] to mock the kubernetes api.

The tests cover following scenarios at the moment and can be extended to
cover any other scenarios.

 1. Membership scheme initialization with endpoints having addresses only
 2. Membership scheme initialization with endpoints having
notReadyAddresses only
 3. Membership scheme initialization with endpoints having addresses and
notReadyAddresses.

[1]
https://github.com/wso2/kubernetes-artifacts/tree/9158beaa70d3ffcfdd9049fe2d3cbdd43af81b85/common/kubernetes-membership-scheme/src/test
[2] http://www.mock-server.com/

-- 
*Thanks and Regards,*
Anuruddha Lanka Liyanarachchi
Software Engineer - WSO2
Mobile : +94 (0) 712762611
Tel  : +94 112 145 345
a nurudd...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Identify Server Host(IP) for Analytics

2016-08-10 Thread Chanaka Fernando
Adding few more fellows.

On Thu, Aug 11, 2016 at 11:03 AM, Rajith Vitharana  wrote:

> Hi,
>
> This seems to be not ideal for the ESB use case, as user may use different
> approaches to reach the server(direct IP, host etc) in which case analytics
> will receive different hosts for the same node. So we need better approach
> to differentiate different ESB nodes.
>
> There is "HostName" property in carbon.xml,  according to clustering
> doc[1], it says to use same "HostName" for every node. So can we change
> that doc to specify different hostnames and use that parameter to
> differentiate nodes? Or is there any better approach?
>
> [1] - https://docs.wso2.com/display/CLUSTER44x/Clustering+ESB+4.9.0
>
> Thanks,
>
> On 5 August 2016 at 14:04, Rajith Vitharana  wrote:
>
>> Hi,
>>
>> In ESB analytics, ESB publishes data to analytic server including it's
>> host name. Host name is required to differentiate nodes in a clustered
>> environment(Which node received which request etc) in analytic side.
>>
>> So for that, currently what we do is take host value from HTTP Host
>> header. There was a discussion regarding this in [1] as well. According to
>> that, even when the server is behind a load balancer, it will receive
>> correct HTTP Host header which indicates the server IP address.
>>
>> If there are any better approach than this, please suggest.
>>
>> [1] - [Dev] [C5] How do we get IP address of the Carbon Server?
>>
>> Thanks,
>> --
>> Rajith Vitharana
>>
>> Senior Software Engineer,
>> WSO2 Inc. : wso2.com
>> Mobile : +94715883223
>> Blog : http://lankavitharana.blogspot.com/
>> 
>>
>
>
>
> --
> Rajith Vitharana
>
> Senior Software Engineer,
> WSO2 Inc. : wso2.com
> Mobile : +94715883223
> Blog : http://lankavitharana.blogspot.com/
> 
>



-- 
Thank you and Best Regards,
Chanaka Fernando
Senior Technical Lead
m: +94 773337238
https://wso2.com 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] MSF4J Issues

2016-08-10 Thread Afkham Azeez
On Thu, Aug 11, 2016 at 10:59 AM, Ama jayaweera 
wrote:

> Could you please help us for connect database and retrieve data(Multiple
> tables), update data and delete data from database.


Which example are you referring to? You have to use standard JDBC or JPA
based Java code in the normal way to connect to databases. There is nothing
specific to MSF4J.


-- 
*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 3320919blog:**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] Identify Server Host(IP) for Analytics

2016-08-10 Thread Rajith Vitharana
Hi,

This seems to be not ideal for the ESB use case, as user may use different
approaches to reach the server(direct IP, host etc) in which case analytics
will receive different hosts for the same node. So we need better approach
to differentiate different ESB nodes.

There is "HostName" property in carbon.xml,  according to clustering
doc[1], it says to use same "HostName" for every node. So can we change
that doc to specify different hostnames and use that parameter to
differentiate nodes? Or is there any better approach?

[1] - https://docs.wso2.com/display/CLUSTER44x/Clustering+ESB+4.9.0

Thanks,

On 5 August 2016 at 14:04, Rajith Vitharana  wrote:

> Hi,
>
> In ESB analytics, ESB publishes data to analytic server including it's
> host name. Host name is required to differentiate nodes in a clustered
> environment(Which node received which request etc) in analytic side.
>
> So for that, currently what we do is take host value from HTTP Host
> header. There was a discussion regarding this in [1] as well. According to
> that, even when the server is behind a load balancer, it will receive
> correct HTTP Host header which indicates the server IP address.
>
> If there are any better approach than this, please suggest.
>
> [1] - [Dev] [C5] How do we get IP address of the Carbon Server?
>
> Thanks,
> --
> Rajith Vitharana
>
> Senior Software Engineer,
> WSO2 Inc. : wso2.com
> Mobile : +94715883223
> Blog : http://lankavitharana.blogspot.com/
> 
>



-- 
Rajith Vitharana

Senior 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


[Dev] [DEV][IS] New email template not showing in Email Templates page

2016-08-10 Thread Lasantha Samarakoon
Hi all,

In IS 5.1.0, I have added a new email template by editing the
email-admin-config.xml. But when I check that on the MC -> Configure ->
Email templates page, the new templates is not getting listed. I have added
a new property with the new email template
in /_system/config/identity/config/emailTemplate as well, but still the
problem not resolved.

Anything else I need to do to make this work?


Thanks,

*Lasantha Samarakoon* | Software Engineer
WSO2, Inc.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 (71) 214 1576
Email:  lasant...@wso2.com
Web:www.wso2.com

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


[Dev] MSF4J Issues

2016-08-10 Thread Ama jayaweera
Hi,

We need help for the use MSF4J WSO2 Product. We try out our example given
in the website. But we are facing problem for connecting mysql database and
AngularJS.

Could you please help us for connect database and retrieve data(Multiple
tables), update data and delete data from database. We couldn't identify
the problem.

-- 

Best Regards!

*Captain D Ama N Jayaweera* (*MSc IT, B.Sc.(Hon’s) IT*)
Software Engineer,
Software Development & Engineering Wing,
Directorate of IT,
Army Cantonment,
Panagoda,
HOMAGAMA.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Writing an OSGI Component to Create a Tenant during ESB Startup

2016-08-10 Thread Maheeka Jayasuriya
+ Dmitry

Maheeka Jayasuriya
Senior Software Engineer
Mobile : +9450661

On Thu, Aug 11, 2016 at 7:56 AM, Maheeka Jayasuriya 
wrote:

> Hi Devs,
>
>
> We need to start an ESB in a docker container, with a capp deployed in
> tenant space. So in order to have the tenant space already created and to
> get the tenant initialized when the container is serving requests, we have
> tried out the following approach manually which works.
>
>
>1.
>
>Have the capp copied to [ESB_HOME]/repository/tenants/[tenantId]/ when
>building the docker image. This tenantId may not be incremental and could
>be any number
>2.
>
>Run the docker and wait for ESB to start
>3.
>
>Invoke the TenantMgtAdminService’s addTenant method specifying the
>‘tenantId’ and  other tenant details (username, password, etc)
>4.
>
>Invoke an API that is available in the copied capp (1) to initialize
>the tenant
>
>
> Basically, we need to have the tenant space created during ESB server
> startup. Tenant could be initialized later for the first request. Therefore
> we started writing an OSGI declarative component which waits for
> TenantMgtServiceComponent and calls the TenantMgtAdminService to create the
> tenant. The capps will be already copied to the tenant space when building
> the docker image. Following is what we have tried so far.
>
>
>1.
>
>When trying to write a new OSGI component, say
>TenantInitializerComponent, we wanted to add a TenantMgtServiceComponent
>registered OSGI service as dependency. But there were no OSGI services
>available in either of any tenant management components. Due to this we
>were not able to get the TenantInitializerComponent activated.
>2.
>
>Since there were no OSGI services of TenantMgtServiceComponent
>available, we tried by adding the dependencies of TenantMgtServiceComponent
>to TenantInitializerComponent as below.
>
> * @scr.reference name="org.wso2.carbon.tenant.mgt.listener.service"
>
> *interface="org.wso2.carbon.stratos.common.
> listeners.TenantMgtListener"
>
> *cardinality="1..n" policy="dynamic"
>
> *bind="setTenantMgtListenerService"
>
> *unbind="unsetTenantMgtListenerService"
>
> * @scr.reference name="default.tenant.billing.service"
>
> *interface="org.wso2.carbon.stratos.common.
> TenantBillingService"
>
> *cardinality="0..1" policy="dynamic"
>
> *bind="setTenantBillingService"
>
> *unbind="unsetTenantBillingService"
>
> TenantMgtListener is available in ESB and therefore set the cardinality to
> 1..n. TenantBillingService is not available in ESB and hence cardinality is
> 0..1.
>
> Following is the implementation in the TenantInitializerComponent’s
> activate method.
>
> TenantMgtAdminService tenantMgtAdminService = new TenantMgtAdminService();
>
> TenantInfoBean tenantInfoBean = new TenantInfoBean();
>
> tenantInfoBean.setActive(true);
>
> tenantInfoBean.setAdmin("admin");
>
> tenantInfoBean.setAdminPassword("admin123");
>
> tenantInfoBean.setFirstname("Maheeka");
>
> tenantInfoBean.setLastname("Maheeka");
>
> tenantInfoBean.setEmail("ad...@maheeka.com");
>
> tenantInfoBean.setTenantDomain("maheeka.com");
>
> tenantInfoBean.setSuccessKey("");
>
> tenantInfoBean.setTenantId(250);
>
> tenantInfoBean.setUsagePlan("Demo");
>
> try {
>
>   tenantMgtAdminService.addTenant(tenantInfoBean);
>
>   log.info("Tenant added successfully");
>
> } catch (Exception e) {
>
>   log.error(“Error adding tenant", e);
>
> }
>
>
> However, “tenantMgtAdminService.addTenant(tenantInfoBean)” will invoke 
> TenantMgtServiceComponent
> which is not activated by this time and thus throws a NPE.
>
>
>1.
>
>Next thing we tried was using the ServerStartupObserver as dependency
>to TenantInitializerComponent. However even this time
>TenantMgtServiceComponent is not activated by the time
>TenantInitializerComponent tries to activate. According to [1], seems like
>ServerStartupObserver only waits till the transports are started.
>2.
>
>If we write a BundleListener [3], we could wait for the
>TenantMgtServiceComponent to be active and perform addTenant. Since this
>captures all bundle statuses this might not be an effective approach.
>3.
>
>Finally, took a look at StartupFinalizerServiceComponent. This seems
>to register a service after all the components are initialized as
>org.apache.axis2.engine.ListenerManager. I was able to successfully
>create the tenant by adding a reference to this service as below.
>
> * @scr.reference name="listener.manager"
>
> *interface="org.apache.axis2.
> engine.ListenerManager"
>
> *cardinality="1..1" policy="dynamic"
>
> *bind="setListenerManager"
>
> *unbind="unsetListenerManager"
>
>
> Adding 

Re: [Dev] [GSOC 16] Initial Project Progress

2016-08-10 Thread Isuru Haththotuwa
Hi Osura,

Can you give an update on the latest status? I checked the github
repositories under your account, but still can find only the membership
scheme and a couple of templates. Did you add the scripts to
deploy/undeploy the products? As we saw, its just a matter of copy pasting
from the Azure management portal since the deployment script is auto
generated.

On Fri, Aug 5, 2016 at 10:56 AM, Imesh Gunaratne  wrote:

> On Fri, Aug 5, 2016 at 9:07 AM, Osura Rathnayake 
> wrote:
>
>> Hi Mentors,
>>
>> This is the progress so far.
>>
>> I have created a template, using which you can deploy 3 VMs, manager
>> node, worker node and a DB. This template can be used in any azure
>> subscription, you only have to do a template deployment using that
>> template. You have to pass the relevant VM images at the time of deployment
>> so for that I have created 5 VM images,
>>
>>1. WSO2 AS as manager
>>2. WSO2 AS as worker
>>3. WSO2 ESB as manager
>>4. WSO2 ESB as worker
>>5. DB
>>
>> ​Are you running a database server on a VM? On Azure it would be better
> to use their database service for creating databases otherwise managing
> databases on VMs would be difficult.
>
> These VM images are in my azure storage account so that prior to the
>> deployment, they have to be copied to the storage account of the customer.
>> Each VM image is approx 30 GB in size. Once you copied the images, you can
>> start the deployment using the template.
>> ​
>>
>
> ​Ideally we should have a configuration management system in place to
> manage this. It's an overhead to work with multiple VM images.
> ​
> ​
>
> Thanks
>
>
> --
> *Imesh Gunaratne*
> Software Architect
> WSO2 Inc: http://wso2.com
> T: +94 11 214 5345 M: +94 77 374 2057
> W: https://medium.com/@imesh TW: @imesh
> lean. enterprise. middleware
>
>
>


-- 
Thanks and Regards,

Isuru H.
+94 716 358 048* *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DAS] Using a filter in event receivers to validate incoming data stream

2016-08-10 Thread Niranda Perera
​Hi Dinesh,

Ye​s, I also agree with Sajith. We can do it in an execution plan and then
persist the resulting stream.

Best

On Thu, Aug 11, 2016 at 12:13 AM, Dinesh J Weerakkody 
wrote:

> Hi Sajith,
> Thanks for quick response. I'll try this.
>
> Thanks
>
> *Dinesh J. Weerakkody*
> Senior Software Engineer
> WSO2 Inc.
> lean | enterprise | middleware
> M : +94 727 868676 | E : dine...@wso2.com | W : www.wso2.com
>
> On Wed, Aug 10, 2016 at 2:19 PM, Sajith Ravindra  wrote:
>
>> Hi Dinesh,
>>
>> I'm afraid you can't do that in the event receiver itself. Event
>> receivers will pass all the events for processing without doing any
>> filtering.
>>
>> You can do this with a simple Execution plan. Please refer[1] on the
>> regex extension for siddhi.
>>
>> [1] - https://docs.wso2.com/display/CEP420/Siddhi+Extensions#Siddh
>> iExtensions-regexregex
>>
>> Thanks
>> *,Sajith Ravindra*
>> Senior Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: +94 77 2273550
>> blog: http://sajithr.blogspot.com/
>> 
>>
>> On Wed, Aug 10, 2016 at 11:30 PM, Dinesh J Weerakkody 
>> wrote:
>>
>>> Hi,
>>>
>>> Is it possible to validate the incoming data stream values in DAS? for
>>> example let's say I have a stream which has date as a attribute. I need to
>>> validate the date format with a regex and ignore the event if the format
>>> doesn't match. Can we do something like this in WSO2 DAS event receivers?
>>>
>>> Thanks
>>>
>>> *Dinesh J. Weerakkody*
>>> Senior Software Engineer
>>> WSO2 Inc.
>>> lean | enterprise | middleware
>>> M : +94 727 868676 | E : dine...@wso2.com | W : www.wso2.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
>
>


-- 
*Niranda Perera*
Software Engineer, WSO2 Inc.
Mobile: +94-71-554-8430
Twitter: @n1r44 
https://pythagoreanscript.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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

2016-08-10 Thread Upul Bandara
Sounds good

Can you please share us the performance numbers (and confusion matrix) you
got with the MINIST?
Also, how did you do:
load MNIST data into WSO2 ML Server?
split training/testing subsets?
Tune hyper-parameters?

What was the training time?

Thanks,
Upul


On Thu, Aug 11, 2016 at 6:59 AM, Lakini Senanayaka <
lakinisenanayak...@gmail.com> wrote:

> Hi.
>
> Thank you very much for sharing the code.
> I have solved many of the issues I had with the UI.
>
> I have tested the UI with MNIST dataset.It gave the correct results and
> the UI is working well with large datasets.
>
> The UI gets unresponsive for sometimes as the AJAX call takes nearly 5
> minutes to give the response.Currently, I am handling that issue and I have
> to call the dataset from the ML server.
>
> I will share my documentation as soon as possible.
>
> Thank you.
>
> On Tue, Aug 9, 2016 at 9:52 AM, Upul Bandara  wrote:
>
>> Following jag file ( please look at function loadDatasets(), function
>> updateDatasets(), function deleteDataset(datasetId) and etc) has everything
>> you need to know to get dataset from ML server to your UI. Please kindly
>> note that it is very difficult for us to give exact code snippet to meet
>> your requirement. As a student, you should be able to go through available
>> code which shows how to use APIs and uses those APIs in your applications.
>>
>> I think the API doc Supun shared with you and the following jag file will
>> help you to understand how to extract dataset and versions from the ML
>> Server and displaying those in your UI.
>>
>> BTW, did you manage to test your UI with large datasets such as MNIST.
>> MNIST is an image dataset but you can convert it to standard CSV format and
>> can be used to train NN using your UI.
>>
>> https://github.com/wso2/carbon-ml/blob/master/apps/ml/site/d
>> ata/datasets.jag
>>
>> On Mon, Aug 8, 2016 at 6:31 AM, Lakini Senanayaka <
>> lakinisenanayak...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> Thank you very much.
>>>
>>> But Upul told me about a code snippet which I can use inside the API
>>> implementation in the last meeting.
>>>
>>> However can I get the dataset file from calling *GET
>>> https://localhost:9443/api/datasets/{datasetId}
>>>  * inside the API
>>> implementation in the backend (inside carbon-ml\components\ml\org.ws
>>> o2.carbon.ml.rest.api\src\main\java\org\wso2\carbon\ml\rest\api ) and
>>> can I access the dataset through the response's *"sourcePath" ?*
>>>
>>> Thank you.
>>>
>>> On Sun, Aug 7, 2016 at 8:06 PM, Supun Sethunga  wrote:
>>>
 Hi Lakini,

 Please find all the APIs and their samples at [1]. Additionally, you
 can always refer the existing UI to get an idea. for eg: you can check the
 dataset page of the existing ML UI to see how the datasets are retrieved.

 [1] https://docs.wso2.com/display/ML110/REST+API+Guides

 Regards,
 Supun.

 On Sat, Aug 6, 2016 at 11:06 AM, Lakini Senanayaka <
 lakinisenanayak...@gmail.com> wrote:

> Hi Upul,
>
> Could you please explain me the way to get the dataset from the carbon
> ML to the API which I am implementing.
>
> Thank you.
>
> On Thu, Aug 4, 2016 at 4:37 PM, Lakini Senanayaka <
> lakinisenanayak...@gmail.com> wrote:
>
>> Hi,
>>
>> This is the meeting minute for today's GSoC project review meeting.
>>
>> Upul reviewed the current progress of the project, "(Deep) Neural
>> Network Builder for WSO2 Machine Learner".
>> Below mentioned are the decisions made and the new tasks allocated at
>> the meeting.
>>
>> Assigned action items:
>> -Making the UI more user-friendly.
>> Ex: Physical lines of connections between layers should
>> follow the movements of the layers.
>> -Train the feed forward network for MNIST dataset.
>> -Testing the accuracy of the neural network model for different
>> optimization and updater algorithms.
>> -Handling Exceptions.
>> -Trying to show graphs related to the model, along with the
>> accuracy of the model in the output.
>> -Start writing documentation.
>> -Showing a demo for the ML team.
>>
>> Decisions made:
>>
>>  -Higher priority should be given in implementing feed-forward
>> network than RNN.
>>  -Upul will provide me necessary instructions on the way to
>> access the dataset which is inserted through the WSO2 ML console as NN
>> builder UI needs to access that dataset and use as the training dataset.
>>
>> Thank you.
>>
>> On Wed, Aug 3, 2016 at 5:59 AM, Lakini Senanayaka <
>> lakinisenanayak...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> Thank you very much for your kindness.
>>>
>>> I can schedule a meeting on this Thursday(4th-August-2016).
>>>
>>> Thank you.
>>>
>>> On 

[Dev] Writing an OSGI Component to Create a Tenant during ESB Startup

2016-08-10 Thread Maheeka Jayasuriya
Hi Devs,


We need to start an ESB in a docker container, with a capp deployed in
tenant space. So in order to have the tenant space already created and to
get the tenant initialized when the container is serving requests, we have
tried out the following approach manually which works.


   1.

   Have the capp copied to [ESB_HOME]/repository/tenants/[tenantId]/ when
   building the docker image. This tenantId may not be incremental and could
   be any number
   2.

   Run the docker and wait for ESB to start
   3.

   Invoke the TenantMgtAdminService’s addTenant method specifying the
   ‘tenantId’ and  other tenant details (username, password, etc)
   4.

   Invoke an API that is available in the copied capp (1) to initialize the
   tenant


Basically, we need to have the tenant space created during ESB server
startup. Tenant could be initialized later for the first request. Therefore
we started writing an OSGI declarative component which waits for
TenantMgtServiceComponent and calls the TenantMgtAdminService to create the
tenant. The capps will be already copied to the tenant space when building
the docker image. Following is what we have tried so far.


   1.

   When trying to write a new OSGI component, say
   TenantInitializerComponent, we wanted to add a TenantMgtServiceComponent
   registered OSGI service as dependency. But there were no OSGI services
   available in either of any tenant management components. Due to this we
   were not able to get the TenantInitializerComponent activated.
   2.

   Since there were no OSGI services of TenantMgtServiceComponent
   available, we tried by adding the dependencies of TenantMgtServiceComponent
   to TenantInitializerComponent as below.

* @scr.reference name="org.wso2.carbon.tenant.mgt.listener.service"

*
   
interface="org.wso2.carbon.stratos.common.listeners.TenantMgtListener"

*cardinality="1..n" policy="dynamic"

*bind="setTenantMgtListenerService"

*unbind="unsetTenantMgtListenerService"

* @scr.reference name="default.tenant.billing.service"

*
   interface="org.wso2.carbon.stratos.common.TenantBillingService"

*cardinality="0..1" policy="dynamic"

*bind="setTenantBillingService"

*unbind="unsetTenantBillingService"

TenantMgtListener is available in ESB and therefore set the cardinality to
1..n. TenantBillingService is not available in ESB and hence cardinality is
0..1.

Following is the implementation in the TenantInitializerComponent’s
activate method.

TenantMgtAdminService tenantMgtAdminService = new TenantMgtAdminService();

TenantInfoBean tenantInfoBean = new TenantInfoBean();

tenantInfoBean.setActive(true);

tenantInfoBean.setAdmin("admin");

tenantInfoBean.setAdminPassword("admin123");

tenantInfoBean.setFirstname("Maheeka");

tenantInfoBean.setLastname("Maheeka");

tenantInfoBean.setEmail("ad...@maheeka.com");

tenantInfoBean.setTenantDomain("maheeka.com");

tenantInfoBean.setSuccessKey("");

tenantInfoBean.setTenantId(250);

tenantInfoBean.setUsagePlan("Demo");

try {

  tenantMgtAdminService.addTenant(tenantInfoBean);

  log.info("Tenant added successfully");

} catch (Exception e) {

  log.error(“Error adding tenant", e);

}


However, “tenantMgtAdminService.addTenant(tenantInfoBean)” will invoke
TenantMgtServiceComponent
which is not activated by this time and thus throws a NPE.


   1.

   Next thing we tried was using the ServerStartupObserver as dependency to
   TenantInitializerComponent. However even this time
   TenantMgtServiceComponent is not activated by the time
   TenantInitializerComponent tries to activate. According to [1], seems like
   ServerStartupObserver only waits till the transports are started.
   2.

   If we write a BundleListener [3], we could wait for the
   TenantMgtServiceComponent to be active and perform addTenant. Since this
   captures all bundle statuses this might not be an effective approach.
   3.

   Finally, took a look at StartupFinalizerServiceComponent. This seems to
   register a service after all the components are initialized as
   org.apache.axis2.engine.ListenerManager. I was able to successfully create
   the tenant by adding a reference to this service as below.

* @scr.reference name="listener.manager"

*
   interface="org.apache.axis2.engine.ListenerManager"

*cardinality="1..1" policy="dynamic"

*bind="setListenerManager"

*unbind="unsetListenerManager"


Adding reference to org.apache.axis2.engine.ListenerManager seems to solve
the problem. However, need to verify whether there are any other better
ways to solve this problem. Or shall we proceed with this approach?
Appreciate your feedback on this.


Thanks Kalpa and Jayanga for helping out on the details.

[1] https://docs.wso2.com/display/Carbon447/Server+Startup+Observer

[2]

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

2016-08-10 Thread Lakini Senanayaka
Hi.

Thank you very much for sharing the code.
I have solved many of the issues I had with the UI.

I have tested the UI with MNIST dataset.It gave the correct results and the
UI is working well with large datasets.

The UI gets unresponsive for sometimes as the AJAX call takes nearly 5
minutes to give the response.Currently, I am handling that issue and I have
to call the dataset from the ML server.

I will share my documentation as soon as possible.

Thank you.

On Tue, Aug 9, 2016 at 9:52 AM, Upul Bandara  wrote:

> Following jag file ( please look at function loadDatasets(), function
> updateDatasets(), function deleteDataset(datasetId) and etc) has everything
> you need to know to get dataset from ML server to your UI. Please kindly
> note that it is very difficult for us to give exact code snippet to meet
> your requirement. As a student, you should be able to go through available
> code which shows how to use APIs and uses those APIs in your applications.
>
> I think the API doc Supun shared with you and the following jag file will
> help you to understand how to extract dataset and versions from the ML
> Server and displaying those in your UI.
>
> BTW, did you manage to test your UI with large datasets such as MNIST.
> MNIST is an image dataset but you can convert it to standard CSV format and
> can be used to train NN using your UI.
>
> https://github.com/wso2/carbon-ml/blob/master/apps/ml/site/
> data/datasets.jag
>
> On Mon, Aug 8, 2016 at 6:31 AM, Lakini Senanayaka <
> lakinisenanayak...@gmail.com> wrote:
>
>> Hi,
>>
>> Thank you very much.
>>
>> But Upul told me about a code snippet which I can use inside the API
>> implementation in the last meeting.
>>
>> However can I get the dataset file from calling *GET
>> https://localhost:9443/api/datasets/{datasetId}
>>  * inside the API
>> implementation in the backend (inside carbon-ml\components\ml\org.ws
>> o2.carbon.ml.rest.api\src\main\java\org\wso2\carbon\ml\rest\api ) and
>> can I access the dataset through the response's *"sourcePath" ?*
>>
>> Thank you.
>>
>> On Sun, Aug 7, 2016 at 8:06 PM, Supun Sethunga  wrote:
>>
>>> Hi Lakini,
>>>
>>> Please find all the APIs and their samples at [1]. Additionally, you can
>>> always refer the existing UI to get an idea. for eg: you can check the
>>> dataset page of the existing ML UI to see how the datasets are retrieved.
>>>
>>> [1] https://docs.wso2.com/display/ML110/REST+API+Guides
>>>
>>> Regards,
>>> Supun.
>>>
>>> On Sat, Aug 6, 2016 at 11:06 AM, Lakini Senanayaka <
>>> lakinisenanayak...@gmail.com> wrote:
>>>
 Hi Upul,

 Could you please explain me the way to get the dataset from the carbon
 ML to the API which I am implementing.

 Thank you.

 On Thu, Aug 4, 2016 at 4:37 PM, Lakini Senanayaka <
 lakinisenanayak...@gmail.com> wrote:

> Hi,
>
> This is the meeting minute for today's GSoC project review meeting.
>
> Upul reviewed the current progress of the project, "(Deep) Neural
> Network Builder for WSO2 Machine Learner".
> Below mentioned are the decisions made and the new tasks allocated at
> the meeting.
>
> Assigned action items:
> -Making the UI more user-friendly.
> Ex: Physical lines of connections between layers should follow
> the movements of the layers.
> -Train the feed forward network for MNIST dataset.
> -Testing the accuracy of the neural network model for different
> optimization and updater algorithms.
> -Handling Exceptions.
> -Trying to show graphs related to the model, along with the
> accuracy of the model in the output.
> -Start writing documentation.
> -Showing a demo for the ML team.
>
> Decisions made:
>
>  -Higher priority should be given in implementing feed-forward
> network than RNN.
>  -Upul will provide me necessary instructions on the way to access
> the dataset which is inserted through the WSO2 ML console as NN builder UI
> needs to access that dataset and use as the training dataset.
>
> Thank you.
>
> On Wed, Aug 3, 2016 at 5:59 AM, Lakini Senanayaka <
> lakinisenanayak...@gmail.com> wrote:
>
>> Hi,
>>
>> Thank you very much for your kindness.
>>
>> I can schedule a meeting on this Thursday(4th-August-2016).
>>
>> Thank you.
>>
>> On Tue, Aug 2, 2016 at 10:39 AM, Upul Bandara  wrote:
>>
>>> Hi,
>>>
>>> As you know we have only two weeks to complete GSOC projects.
>>> Unfortunately, this project is a little bit lagging behind and it looks
>>> like you have to put some additional effort during the last two week. In
>>> order to support you, we though it is better to have a small F2F meeting
>>> with you and it will help you to sort out any issues currently you are
>>> 

Re: [Dev] [DAS] Using a filter in event receivers to validate incoming data stream

2016-08-10 Thread Dinesh J Weerakkody
Hi Sajith,
Thanks for quick response. I'll try this.

Thanks

*Dinesh J. Weerakkody*
Senior Software Engineer
WSO2 Inc.
lean | enterprise | middleware
M : +94 727 868676 | E : dine...@wso2.com | W : www.wso2.com

On Wed, Aug 10, 2016 at 2:19 PM, Sajith Ravindra  wrote:

> Hi Dinesh,
>
> I'm afraid you can't do that in the event receiver itself. Event receivers
> will pass all the events for processing without doing any filtering.
>
> You can do this with a simple Execution plan. Please refer[1] on the regex
> extension for siddhi.
>
> [1] - https://docs.wso2.com/display/CEP420/Siddhi+Extensions#
> SiddhiExtensions-regexregex
>
> Thanks
> *,Sajith Ravindra*
> Senior Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 77 2273550
> blog: http://sajithr.blogspot.com/
> 
>
> On Wed, Aug 10, 2016 at 11:30 PM, Dinesh J Weerakkody 
> wrote:
>
>> Hi,
>>
>> Is it possible to validate the incoming data stream values in DAS? for
>> example let's say I have a stream which has date as a attribute. I need to
>> validate the date format with a regex and ignore the event if the format
>> doesn't match. Can we do something like this in WSO2 DAS event receivers?
>>
>> Thanks
>>
>> *Dinesh J. Weerakkody*
>> Senior Software Engineer
>> WSO2 Inc.
>> lean | enterprise | middleware
>> M : +94 727 868676 | E : dine...@wso2.com | W : www.wso2.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] [DAS] Using a filter in event receivers to validate incoming data stream

2016-08-10 Thread Sajith Ravindra
Hi Dinesh,

I'm afraid you can't do that in the event receiver itself. Event receivers
will pass all the events for processing without doing any filtering.

You can do this with a simple Execution plan. Please refer[1] on the regex
extension for siddhi.

[1] -
https://docs.wso2.com/display/CEP420/Siddhi+Extensions#SiddhiExtensions-regexregex

Thanks
*,Sajith Ravindra*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 77 2273550
blog: http://sajithr.blogspot.com/


On Wed, Aug 10, 2016 at 11:30 PM, Dinesh J Weerakkody 
wrote:

> Hi,
>
> Is it possible to validate the incoming data stream values in DAS? for
> example let's say I have a stream which has date as a attribute. I need to
> validate the date format with a regex and ignore the event if the format
> doesn't match. Can we do something like this in WSO2 DAS event receivers?
>
> Thanks
>
> *Dinesh J. Weerakkody*
> Senior Software Engineer
> WSO2 Inc.
> lean | enterprise | middleware
> M : +94 727 868676 | E : dine...@wso2.com | W : www.wso2.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


[Dev] [DAS] Using a filter in event receivers to validate incoming data stream

2016-08-10 Thread Dinesh J Weerakkody
Hi,

Is it possible to validate the incoming data stream values in DAS? for
example let's say I have a stream which has date as a attribute. I need to
validate the date format with a regex and ignore the event if the format
doesn't match. Can we do something like this in WSO2 DAS event receivers?

Thanks

*Dinesh J. Weerakkody*
Senior Software Engineer
WSO2 Inc.
lean | enterprise | middleware
M : +94 727 868676 | E : dine...@wso2.com | W : www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Clarification on C5 permission model

2016-08-10 Thread Jayanga Kaushalya
Hi Prabushi,

Actually there will be no permissions that directly assigned to the user.
All permissions are assigned through roles. By calling the above method in
user will indirectly get all permissions through roles which are assigned
to that particular user. If you need to get permissions for specific role,
then you can use the same method in role.

Thanks!

*Jayanga Kaushalya*
Software Engineer
Mobile: +94777860160
WSO2 Inc. | http://wso2.com
lean.enterprise.middleware

On Wed, Aug 10, 2016 at 10:31 PM, Prabushi Samarakoon 
wrote:

> Hi,
>
> Thank you for the clarifications Darshana and Jayanga.
>
> On Wed, Aug 10, 2016 at 8:08 PM, Jayanga Kaushalya 
> wrote:
>
>> On Wed, Aug 10, 2016 at 5:56 PM, Prabushi Samarakoon 
>> wrote:
>>
>>>
>>> Hi All,
>>>
>>> 1. Is there an  API method to get all the resources permitted to a
>>> particular user or a role?
>>>
>>
>> Yes. You can use the method getPermissions(Action action) [1] in User to
>> retrieve all the permissions assigned to that particular user filtered by
>> the action. Permission is a resource + action. So permissions filtered by
>> the action is a list of permitted resources.
>>
>
>  Ah great, now I understood that part. Can we use the same way for a role
> also? But in that case we might get duplicates of the resources right?
>
>>
>>> 2. With this permission model, are we going to introduce the email based
>>> authentication for the products, or remain with the username model?
>>>
>>> 3. In our current management console, we have one view to create the
>>> user, and another view to create the user profile according to the given
>>> http://wso2.org/claims. Is there a particular reason to have the user
>>> profile in a separate view? Do we need to have two views for user creation
>>> and profile in C5 model also?
>>>
>>> Any clarification on above matters is appreciated.
>>>
>>> Thanks and Regards,
>>> Prabushi
>>>
>>> --
>>> *Prabushi Samarakoon*
>>> Software Engineer
>>> Mobile: +94715434580
>>> Email: prabus...@wso2.com
>>>
>>
>> [1] https://github.com/wso2/carbon-security/blob/master/comp
>> onents/org.wso2.carbon.security.caas/src/main/java/org/wso2/
>> carbon/security/caas/user/core/bean/User.java#L188
>>
>> Thanks!
>>
>
>
> Thanks and Regards.
> --
> *Prabushi Samarakoon*
> Software Engineer
> Mobile: +94715434580
> Email: prabus...@wso2.com
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Clarification on C5 permission model

2016-08-10 Thread Prabushi Samarakoon
Hi,

Thank you for the clarifications Darshana and Jayanga.

On Wed, Aug 10, 2016 at 8:08 PM, Jayanga Kaushalya 
wrote:

> On Wed, Aug 10, 2016 at 5:56 PM, Prabushi Samarakoon 
> wrote:
>
>>
>> Hi All,
>>
>> 1. Is there an  API method to get all the resources permitted to a
>> particular user or a role?
>>
>
> Yes. You can use the method getPermissions(Action action) [1] in User to
> retrieve all the permissions assigned to that particular user filtered by
> the action. Permission is a resource + action. So permissions filtered by
> the action is a list of permitted resources.
>

 Ah great, now I understood that part. Can we use the same way for a role
also? But in that case we might get duplicates of the resources right?

>
>> 2. With this permission model, are we going to introduce the email based
>> authentication for the products, or remain with the username model?
>>
>> 3. In our current management console, we have one view to create the
>> user, and another view to create the user profile according to the given
>> http://wso2.org/claims. Is there a particular reason to have the user
>> profile in a separate view? Do we need to have two views for user creation
>> and profile in C5 model also?
>>
>> Any clarification on above matters is appreciated.
>>
>> Thanks and Regards,
>> Prabushi
>>
>> --
>> *Prabushi Samarakoon*
>> Software Engineer
>> Mobile: +94715434580
>> Email: prabus...@wso2.com
>>
>
> [1] https://github.com/wso2/carbon-security/blob/master/
> components/org.wso2.carbon.security.caas/src/main/java/
> org/wso2/carbon/security/caas/user/core/bean/User.java#L188
>
> Thanks!
>


Thanks and Regards.
-- 
*Prabushi Samarakoon*
Software Engineer
Mobile: +94715434580
Email: prabus...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Retrieve wsdl urls from DSS

2016-08-10 Thread Rajith Vitharana
Hi Amalka,

Try using "ServiceAdmin" admin service to achieve your requirement, there
were operations like "getWSDL", "listServices" etc.

Thanks,

On 10 August 2016 at 20:00, Amalka Subasinghe  wrote:

> Hi,
>
> Is there a way to get the list of wsdl urls from DSS?
>
> In app cloud when we deploy a car file in DSS, I want to get the wsdl urls
> to display on app cloud app-home page. Please help
>
> Thanks
> Amalka
>
>
>


-- 
Rajith Vitharana

Senior 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] Clarification on C5 permission model

2016-08-10 Thread Jayanga Kaushalya
On Wed, Aug 10, 2016 at 5:56 PM, Prabushi Samarakoon 
wrote:

>
> Hi All,
>
> 1. Is there an  API method to get all the resources permitted to a
> particular user or a role?
>

Yes. You can use the method getPermissions(Action action) [1] in User to
retrieve all the permissions assigned to that particular user filtered by
the action. Permission is a resource + action. So permissions filtered by
the action is a list of permitted resources.

>
> 2. With this permission model, are we going to introduce the email based
> authentication for the products, or remain with the username model?
>
> 3. In our current management console, we have one view to create the user,
> and another view to create the user profile according to the given
> http://wso2.org/claims. Is there a particular reason to have the user
> profile in a separate view? Do we need to have two views for user creation
> and profile in C5 model also?
>
> Any clarification on above matters is appreciated.
>
> Thanks and Regards,
> Prabushi
>
> --
> *Prabushi Samarakoon*
> Software Engineer
> Mobile: +94715434580
> Email: prabus...@wso2.com
>

[1]
https://github.com/wso2/carbon-security/blob/master/components/org.wso2.carbon.security.caas/src/main/java/org/wso2/carbon/security/caas/user/core/bean/User.java#L188

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


[Dev] Retrieve wsdl urls from DSS

2016-08-10 Thread Amalka Subasinghe
Hi,

Is there a way to get the list of wsdl urls from DSS?

In app cloud when we deploy a car file in DSS, I want to get the wsdl urls
to display on app cloud app-home page. Please help

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


Re: [Dev] Clarification on C5 permission model

2016-08-10 Thread Darshana Gunawardana
On Wed, Aug 10, 2016 at 5:56 PM, Prabushi Samarakoon 
wrote:

>
> Hi All,
>
> 1. Is there an  API method to get all the resources permitted to a
> particular user or a role?
>
> 2. With this permission model, are we going to introduce the email based
> authentication for the products, or remain with the username model?
>

New model should not treat email type usernames specifically.. ie. it
should work for both types of usernames without turning on of specific
configuration\flag.

Can you please explain why this is a concern for you?

Thanks,

>
> 3. In our current management console, we have one view to create the user,
> and another view to create the user profile according to the given
> http://wso2.org/claims. Is there a particular reason to have the user
> profile in a separate view? Do we need to have two views for user creation
> and profile in C5 model also?
>
> Any clarification on above matters is appreciated.
>
> Thanks and Regards,
> Prabushi
>
> --
> *Prabushi Samarakoon*
> Software Engineer
> Mobile: +94715434580
> Email: prabus...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Regards,


*Darshana Gunawardana*Associate Technical Lead
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


Re: [Dev] [VOTE] Release WSO2 Enterprise Store 2.1.0 RC 2

2016-08-10 Thread Sameera Medagammaddegedara
Hi Devs,

Thanks for testing and verifying the WSO2 Enterprise Store 2.1.0 RC2. We
are closing this vote now. This vote has passed with 10 +1s and 0 -1s.
Therefore, we are going ahead with the WSO2 Enterprise Store 2.1.0 release.

10 +1s
0 -1s

Thank you and Regards,
ES/G-Reg Team

On Wed, Aug 10, 2016 at 7:30 PM, Thushara Ranawaka 
wrote:

> Hi all,
>
> I tested following scenarios,
>
> Running getting started guide in Windows environment.
>
> Publisher Lifecycle operations in IE11
> Store/Publisher Taxonomy operations in IE11
> Basic/SSO login(standalone) in IE11
>
> I didn't found any blocking issues.
>
> [X] Stable - Go ahead and release
>
> Thanks,
> Thushara.
>
> On Wed, Aug 10, 2016 at 7:27 PM, Denuwanthi De Silva 
> wrote:
>
>> Hi,
>>
>> Tested following scenarios on mounted PostgreSQL database
>>
>> Test Application
>> Completed
>> Status
>> Login to the Publisher Publisher
>> Completed
>> Passed
>> Logout of the Publisher Publisher
>> Completed
>> Passed
>> Create an asset Publisher
>> Completed
>> Passed
>> Update an asset Publisher
>> Completed
>> Passed
>> Create an asset with a tag Publisher
>> Completed
>> Passed
>> Create an asset with a taxonomy Publisher
>> Completed
>> Passed
>> Remove tag from an asset Publisher
>> Completed
>> Passed
>> Remove a taxonomy from an asset Publisher
>> Completed
>> Passed
>> Create a new version of an asset Publisher
>> Completed
>> Passed
>> Delete an asset Publisher
>> Completed
>> Passed
>> Perform a lifecycle operation on an asset Publisher
>> Completed
>> Passed
>> Perform a lifecycle operation with a comment on an asset Publisher
>> Completed
>> Passed
>> Login to the Store Store
>> Completed
>> Passed
>> Logout of the Store Store
>> Completed
>> Passed
>> Visit the top-assets page Store
>> Completed
>> Passed
>> Visit a listing page Store
>> Completed
>> Passed
>> Visit a details page Store
>> Completed
>> Passed
>> Add a user review Store
>> Completed
>> Passed
>> Downvote a review Store
>> Completed
>> Passed
>> Up vote a review Store
>> Completed
>> Passed
>> Delete your review Store
>> Completed
>> Passed
>> Check if the search history appears in the top-assets page Store
>> Completed
>> Passed
>> Check if the search history appears in the asset listing page Store
>> Completed
>> Passed
>> Click the sort by Date - ASC Store
>> Completed
>> Passed
>> Click the sort by Date - DESC Store
>> Completed
>> Passed
>> Click the sort by Name - ASC Store
>> Completed
>> Passed
>> Click the sort by Name - DESC Store
>> Completed
>> Passed
>> Select a tag in the listing page Store
>> Completed
>> Passed
>> Select a category in the listing page Store
>> Completed
>> Passed
>> Select a taxonomy in the listing page Store
>> Completed
>> Passed
>> Select a taxonomy + category Store
>> Completed
>> Passed
>> Select a taxonomy + tag Store
>> Completed
>> Passed
>> Select a category + tag Store
>> Completed
>> Passed
>> Remove a taxonomy from taxonomy + category Store
>> Completed
>> Passed
>> Remove category from taxonomy + category Store
>> Completed
>> Passed
>> Remove tag from taxonomy + tag Store
>> Completed
>> Passed
>> Remove taxonomy from taxonomy + tag Store
>> Completed
>> Passed
>> Remove category from category + tag Store
>> Completed
>> Passed
>> Remove tag from category + tag Store
>> Completed
>> Passed
>> Remove all from taxonomy + category Store
>> Completed
>> Passed
>> Remove all from taxonomy + tag Store
>> Completed
>> Passed
>> Remove all from category + tag Store
>> Completed
>> Passed
>>
>>
>> Thanks
>>
>> On Wed, Aug 10, 2016 at 7:23 PM, Ayesha Dissanayaka 
>> wrote:
>>
>>> Hi,
>>>
>>> Tested below scenarios.
>>>
>>>- Publisher REST API
>>>- Store extensions
>>>- Store/Publisher navigations
>>>- Store Bookmark
>>>
>>> [+] Stable - go ahead and release.
>>>
>>>
>>> Regards,
>>> -Ayesha
>>>
>>>
>>> On Wed, Aug 10, 2016 at 6:57 PM, Prasanna Dangalla 
>>> wrote:
>>>
 Hi All,

 Tested the following scenarios and found no issues.

- Promote lifecycle
- Version a gadget
- Filter listing page by categories
- Add, remove tags
- Upload images to gadgets
- Delete a gadget
- Sort gadget listing page
- Add Reviews to gadgets


 [+] Stable - go ahead and release.

 Regards,
 *Prasanna Dangalla*
 Senior Software Engineer, WSO2, Inc.; http://wso2.com/
 lean.enterprise.middleware


 *cell: +94 718 11 27 51*
 *twitter: @prasa77*

 On Wed, Aug 10, 2016 at 6:07 PM, Chandana Napagoda 
 wrote:

> Hi All,
>
> Tested following scenarios with mounted setup
>
> - Publisher Lifecycle Management
> - Publisher side taxonomy
> - Multiple Lifecycles
> - OR and AND search.
> - Store Taxonomy based filtering
>
> Stable pack for release
>
> [+] stable
>
> 

Re: [Dev] [VOTE] Release WSO2 Enterprise Store 2.1.0 RC 2

2016-08-10 Thread Ayesha Dissanayaka
Hi,

Tested below scenarios.

   - Publisher REST API
   - Store extensions
   - Store/Publisher navigations
   - Store Bookmark

[+] Stable - go ahead and release.


Regards,
-Ayesha


On Wed, Aug 10, 2016 at 6:57 PM, Prasanna Dangalla 
wrote:

> Hi All,
>
> Tested the following scenarios and found no issues.
>
>- Promote lifecycle
>- Version a gadget
>- Filter listing page by categories
>- Add, remove tags
>- Upload images to gadgets
>- Delete a gadget
>- Sort gadget listing page
>- Add Reviews to gadgets
>
>
> [+] Stable - go ahead and release.
>
> Regards,
> *Prasanna Dangalla*
> Senior Software Engineer, WSO2, Inc.; http://wso2.com/
> lean.enterprise.middleware
>
>
> *cell: +94 718 11 27 51*
> *twitter: @prasa77*
>
> On Wed, Aug 10, 2016 at 6:07 PM, Chandana Napagoda 
> wrote:
>
>> Hi All,
>>
>> Tested following scenarios with mounted setup
>>
>> - Publisher Lifecycle Management
>> - Publisher side taxonomy
>> - Multiple Lifecycles
>> - OR and AND search.
>> - Store Taxonomy based filtering
>>
>> Stable pack for release
>>
>> [+] stable
>>
>> Regards,
>> Chandana
>>
>> On Fri, Aug 5, 2016 at 8:40 PM, Sameera Medagammaddegedara <
>> samee...@wso2.com> wrote:
>>
>>> Hi Devs,
>>>
>>> WSO2 Enterprise Store 2.1.0 RC2 Release Vote
>>>
>>> This release fixes the following issues:
>>> https://wso2.org/jira/issues/?filter=13171
>>>
>>> Please download, test and vote. Please refer the release verification
>>> guide for detailed information on verifying this release.
>>>
>>> Source & binary distribution files:
>>>  https://svn.wso2.org/repos/wso2/scratch/ES/2.1.0/rc2/
>>>
>>> Maven staging repo:
>>> https://maven.wso2.org/nexus/content/repositories/orgwso2es-1006/
>>>
>>> The tag to be voted upon:
>>> https://github.com/wso2/product-es/tree/v2.1.0-rc2
>>>
>>>
>>> [+] Stable - go ahead and release
>>> [-]  Broken - do not release (please explain why)
>>>
>>> Thanks and Regards
>>> ES/G-Reg team
>>> --
>>> Sameera Medagammaddegedara
>>> Software Engineer
>>>
>>> Contact:
>>> Email: samee...@wso2.com
>>> Mobile: + 94 077 255 3005
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Chandana Napagoda*
>> Senior Software Engineer
>> WSO2 Inc. - http://wso2.org
>>
>> *Email  :  chand...@wso2.com **Mobile : +94718169299
>> <%2B94718169299>*
>>
>> *Blog  :http://cnapagoda.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
>
>


-- 
*Ayesha Dissanayaka*
Software Engineer,
WSO2, Inc : http://wso2.com

20, Palmgrove Avenue, Colombo 3
E-Mail: aye...@wso2.com 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 Enterprise Store 2.1.0 RC 2

2016-08-10 Thread Thushara Ranawaka
Hi all,

I tested following scenarios,

Running getting started guide in Windows environment.

Publisher Lifecycle operations in IE11
Store/Publisher Taxonomy operations in IE11
Basic/SSO login(standalone) in IE11

I didn't found any blocking issues.

[X] Stable - Go ahead and release

Thanks,
Thushara.

On Wed, Aug 10, 2016 at 7:27 PM, Denuwanthi De Silva 
wrote:

> Hi,
>
> Tested following scenarios on mounted PostgreSQL database
>
> Test Application
> Completed
> Status
> Login to the Publisher Publisher
> Completed
> Passed
> Logout of the Publisher Publisher
> Completed
> Passed
> Create an asset Publisher
> Completed
> Passed
> Update an asset Publisher
> Completed
> Passed
> Create an asset with a tag Publisher
> Completed
> Passed
> Create an asset with a taxonomy Publisher
> Completed
> Passed
> Remove tag from an asset Publisher
> Completed
> Passed
> Remove a taxonomy from an asset Publisher
> Completed
> Passed
> Create a new version of an asset Publisher
> Completed
> Passed
> Delete an asset Publisher
> Completed
> Passed
> Perform a lifecycle operation on an asset Publisher
> Completed
> Passed
> Perform a lifecycle operation with a comment on an asset Publisher
> Completed
> Passed
> Login to the Store Store
> Completed
> Passed
> Logout of the Store Store
> Completed
> Passed
> Visit the top-assets page Store
> Completed
> Passed
> Visit a listing page Store
> Completed
> Passed
> Visit a details page Store
> Completed
> Passed
> Add a user review Store
> Completed
> Passed
> Downvote a review Store
> Completed
> Passed
> Up vote a review Store
> Completed
> Passed
> Delete your review Store
> Completed
> Passed
> Check if the search history appears in the top-assets page Store
> Completed
> Passed
> Check if the search history appears in the asset listing page Store
> Completed
> Passed
> Click the sort by Date - ASC Store
> Completed
> Passed
> Click the sort by Date - DESC Store
> Completed
> Passed
> Click the sort by Name - ASC Store
> Completed
> Passed
> Click the sort by Name - DESC Store
> Completed
> Passed
> Select a tag in the listing page Store
> Completed
> Passed
> Select a category in the listing page Store
> Completed
> Passed
> Select a taxonomy in the listing page Store
> Completed
> Passed
> Select a taxonomy + category Store
> Completed
> Passed
> Select a taxonomy + tag Store
> Completed
> Passed
> Select a category + tag Store
> Completed
> Passed
> Remove a taxonomy from taxonomy + category Store
> Completed
> Passed
> Remove category from taxonomy + category Store
> Completed
> Passed
> Remove tag from taxonomy + tag Store
> Completed
> Passed
> Remove taxonomy from taxonomy + tag Store
> Completed
> Passed
> Remove category from category + tag Store
> Completed
> Passed
> Remove tag from category + tag Store
> Completed
> Passed
> Remove all from taxonomy + category Store
> Completed
> Passed
> Remove all from taxonomy + tag Store
> Completed
> Passed
> Remove all from category + tag Store
> Completed
> Passed
>
>
> Thanks
>
> On Wed, Aug 10, 2016 at 7:23 PM, Ayesha Dissanayaka 
> wrote:
>
>> Hi,
>>
>> Tested below scenarios.
>>
>>- Publisher REST API
>>- Store extensions
>>- Store/Publisher navigations
>>- Store Bookmark
>>
>> [+] Stable - go ahead and release.
>>
>>
>> Regards,
>> -Ayesha
>>
>>
>> On Wed, Aug 10, 2016 at 6:57 PM, Prasanna Dangalla 
>> wrote:
>>
>>> Hi All,
>>>
>>> Tested the following scenarios and found no issues.
>>>
>>>- Promote lifecycle
>>>- Version a gadget
>>>- Filter listing page by categories
>>>- Add, remove tags
>>>- Upload images to gadgets
>>>- Delete a gadget
>>>- Sort gadget listing page
>>>- Add Reviews to gadgets
>>>
>>>
>>> [+] Stable - go ahead and release.
>>>
>>> Regards,
>>> *Prasanna Dangalla*
>>> Senior Software Engineer, WSO2, Inc.; http://wso2.com/
>>> lean.enterprise.middleware
>>>
>>>
>>> *cell: +94 718 11 27 51*
>>> *twitter: @prasa77*
>>>
>>> On Wed, Aug 10, 2016 at 6:07 PM, Chandana Napagoda 
>>> wrote:
>>>
 Hi All,

 Tested following scenarios with mounted setup

 - Publisher Lifecycle Management
 - Publisher side taxonomy
 - Multiple Lifecycles
 - OR and AND search.
 - Store Taxonomy based filtering

 Stable pack for release

 [+] stable

 Regards,
 Chandana

 On Fri, Aug 5, 2016 at 8:40 PM, Sameera Medagammaddegedara <
 samee...@wso2.com> wrote:

> Hi Devs,
>
> WSO2 Enterprise Store 2.1.0 RC2 Release Vote
>
> This release fixes the following issues:
> https://wso2.org/jira/issues/?filter=13171
>
> Please download, test and vote. Please refer the release verification
> guide for detailed information on verifying this release.
>
> Source & binary distribution files:
>  https://svn.wso2.org/repos/wso2/scratch/ES/2.1.0/rc2/
>
> Maven staging repo:
> 

Re: [Dev] [VOTE] Release WSO2 Enterprise Store 2.1.0 RC 2

2016-08-10 Thread Denuwanthi De Silva
Hi,

Tested following scenarios on mounted PostgreSQL database

Test Application
Completed
Status
Login to the Publisher Publisher
Completed
Passed
Logout of the Publisher Publisher
Completed
Passed
Create an asset Publisher
Completed
Passed
Update an asset Publisher
Completed
Passed
Create an asset with a tag Publisher
Completed
Passed
Create an asset with a taxonomy Publisher
Completed
Passed
Remove tag from an asset Publisher
Completed
Passed
Remove a taxonomy from an asset Publisher
Completed
Passed
Create a new version of an asset Publisher
Completed
Passed
Delete an asset Publisher
Completed
Passed
Perform a lifecycle operation on an asset Publisher
Completed
Passed
Perform a lifecycle operation with a comment on an asset Publisher
Completed
Passed
Login to the Store Store
Completed
Passed
Logout of the Store Store
Completed
Passed
Visit the top-assets page Store
Completed
Passed
Visit a listing page Store
Completed
Passed
Visit a details page Store
Completed
Passed
Add a user review Store
Completed
Passed
Downvote a review Store
Completed
Passed
Up vote a review Store
Completed
Passed
Delete your review Store
Completed
Passed
Check if the search history appears in the top-assets page Store
Completed
Passed
Check if the search history appears in the asset listing page Store
Completed
Passed
Click the sort by Date - ASC Store
Completed
Passed
Click the sort by Date - DESC Store
Completed
Passed
Click the sort by Name - ASC Store
Completed
Passed
Click the sort by Name - DESC Store
Completed
Passed
Select a tag in the listing page Store
Completed
Passed
Select a category in the listing page Store
Completed
Passed
Select a taxonomy in the listing page Store
Completed
Passed
Select a taxonomy + category Store
Completed
Passed
Select a taxonomy + tag Store
Completed
Passed
Select a category + tag Store
Completed
Passed
Remove a taxonomy from taxonomy + category Store
Completed
Passed
Remove category from taxonomy + category Store
Completed
Passed
Remove tag from taxonomy + tag Store
Completed
Passed
Remove taxonomy from taxonomy + tag Store
Completed
Passed
Remove category from category + tag Store
Completed
Passed
Remove tag from category + tag Store
Completed
Passed
Remove all from taxonomy + category Store
Completed
Passed
Remove all from taxonomy + tag Store
Completed
Passed
Remove all from category + tag Store
Completed
Passed


Thanks

On Wed, Aug 10, 2016 at 7:23 PM, Ayesha Dissanayaka  wrote:

> Hi,
>
> Tested below scenarios.
>
>- Publisher REST API
>- Store extensions
>- Store/Publisher navigations
>- Store Bookmark
>
> [+] Stable - go ahead and release.
>
>
> Regards,
> -Ayesha
>
>
> On Wed, Aug 10, 2016 at 6:57 PM, Prasanna Dangalla 
> wrote:
>
>> Hi All,
>>
>> Tested the following scenarios and found no issues.
>>
>>- Promote lifecycle
>>- Version a gadget
>>- Filter listing page by categories
>>- Add, remove tags
>>- Upload images to gadgets
>>- Delete a gadget
>>- Sort gadget listing page
>>- Add Reviews to gadgets
>>
>>
>> [+] Stable - go ahead and release.
>>
>> Regards,
>> *Prasanna Dangalla*
>> Senior Software Engineer, WSO2, Inc.; http://wso2.com/
>> lean.enterprise.middleware
>>
>>
>> *cell: +94 718 11 27 51*
>> *twitter: @prasa77*
>>
>> On Wed, Aug 10, 2016 at 6:07 PM, Chandana Napagoda 
>> wrote:
>>
>>> Hi All,
>>>
>>> Tested following scenarios with mounted setup
>>>
>>> - Publisher Lifecycle Management
>>> - Publisher side taxonomy
>>> - Multiple Lifecycles
>>> - OR and AND search.
>>> - Store Taxonomy based filtering
>>>
>>> Stable pack for release
>>>
>>> [+] stable
>>>
>>> Regards,
>>> Chandana
>>>
>>> On Fri, Aug 5, 2016 at 8:40 PM, Sameera Medagammaddegedara <
>>> samee...@wso2.com> wrote:
>>>
 Hi Devs,

 WSO2 Enterprise Store 2.1.0 RC2 Release Vote

 This release fixes the following issues:
 https://wso2.org/jira/issues/?filter=13171

 Please download, test and vote. Please refer the release verification
 guide for detailed information on verifying this release.

 Source & binary distribution files:
  https://svn.wso2.org/repos/wso2/scratch/ES/2.1.0/rc2/

 Maven staging repo:
 https://maven.wso2.org/nexus/content/repositories/orgwso2es-1006/

 The tag to be voted upon:
 https://github.com/wso2/product-es/tree/v2.1.0-rc2


 [+] Stable - go ahead and release
 [-]  Broken - do not release (please explain why)

 Thanks and Regards
 ES/G-Reg team
 --
 Sameera Medagammaddegedara
 Software Engineer

 Contact:
 Email: samee...@wso2.com
 Mobile: + 94 077 255 3005

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


>>>
>>>
>>> --
>>> *Chandana Napagoda*
>>> Senior Software Engineer
>>> WSO2 Inc. - http://wso2.org
>>>
>>> *Email  :  chand...@wso2.com 

Re: [Dev] [VOTE] Release WSO2 Enterprise Store 2.1.0 RC 2

2016-08-10 Thread Danesh Kuruppu
Hi all,

Tested following scenarios in RC2 pack,

* Single sign-on and single sign-logout in store, publisher application.
* Tested publisher apis, add gadgets, view gadgets, update gadgets.
* Tested store apis, list gadgets, view gadgets, add user reviews
* Tested search history feature in Store.

[+] Stable - go ahead and release

Thanks
Danesh

On Wed, Aug 10, 2016 at 6:57 PM, Prasanna Dangalla 
wrote:

> Hi All,
>
> Tested the following scenarios and found no issues.
>
>- Promote lifecycle
>- Version a gadget
>- Filter listing page by categories
>- Add, remove tags
>- Upload images to gadgets
>- Delete a gadget
>- Sort gadget listing page
>- Add Reviews to gadgets
>
>
> [+] Stable - go ahead and release.
>
> Regards,
> *Prasanna Dangalla*
> Senior Software Engineer, WSO2, Inc.; http://wso2.com/
> lean.enterprise.middleware
>
>
> *cell: +94 718 11 27 51*
> *twitter: @prasa77*
>
> On Wed, Aug 10, 2016 at 6:07 PM, Chandana Napagoda 
> wrote:
>
>> Hi All,
>>
>> Tested following scenarios with mounted setup
>>
>> - Publisher Lifecycle Management
>> - Publisher side taxonomy
>> - Multiple Lifecycles
>> - OR and AND search.
>> - Store Taxonomy based filtering
>>
>> Stable pack for release
>>
>> [+] stable
>>
>> Regards,
>> Chandana
>>
>> On Fri, Aug 5, 2016 at 8:40 PM, Sameera Medagammaddegedara <
>> samee...@wso2.com> wrote:
>>
>>> Hi Devs,
>>>
>>> WSO2 Enterprise Store 2.1.0 RC2 Release Vote
>>>
>>> This release fixes the following issues:
>>> https://wso2.org/jira/issues/?filter=13171
>>>
>>> Please download, test and vote. Please refer the release verification
>>> guide for detailed information on verifying this release.
>>>
>>> Source & binary distribution files:
>>>  https://svn.wso2.org/repos/wso2/scratch/ES/2.1.0/rc2/
>>>
>>> Maven staging repo:
>>> https://maven.wso2.org/nexus/content/repositories/orgwso2es-1006/
>>>
>>> The tag to be voted upon:
>>> https://github.com/wso2/product-es/tree/v2.1.0-rc2
>>>
>>>
>>> [+] Stable - go ahead and release
>>> [-]  Broken - do not release (please explain why)
>>>
>>> Thanks and Regards
>>> ES/G-Reg team
>>> --
>>> Sameera Medagammaddegedara
>>> Software Engineer
>>>
>>> Contact:
>>> Email: samee...@wso2.com
>>> Mobile: + 94 077 255 3005
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Chandana Napagoda*
>> Senior Software Engineer
>> WSO2 Inc. - http://wso2.org
>>
>> *Email  :  chand...@wso2.com **Mobile : +94718169299
>> <%2B94718169299>*
>>
>> *Blog  :http://cnapagoda.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
>
>


-- 

*Danesh Kuruppu*
Senior Software Engineer | WSO2

Email: dan...@wso2.com
Mobile: +94 (77) 1690552
Web: WSO2 Inc 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release - WSO2 Enterprise Service Bus 5.0.0 RC3

2016-08-10 Thread Chanaka Fernando
We have encountered the following issue[1] while doing the testing and
calling off this vote. We will start RC4 vote soon.

[1] https://wso2.org/jira/browse/ESBJAVA-4838

On Wed, Aug 10, 2016 at 2:05 AM, Nadeeshaan Gunasinghe 
wrote:

> Hi all,
>
> This is the third release candidate of WSO2 Enterprise Service Bus 5.0.0.
>
> Please download, test the product and vote. Vote will be open for 72 hours
> or as needed.
>
> *Source and distribution*
>
>- Run time :   https://github.com/wso2/
>product-esb/releases/tag/v5.0.0-rc3
>
>- Tooling:   https://github.com/wso2/devstudio-tooling-esb/
>releases/tag/v5.0.0-rc3
>- Analytics :   https://github.com/wso2/
>analytics-esb/releases/tag/v5.0.0-rc3
>
>
> Please vote as following,
> [+] Stable - Go ahead and release
> [-]  Broken - Do not release (Explain why)
>
> Thanks,
> - WSO2 ESB Team -
>
> *Nadeeshaan Gunasinghe*
> Software Engineer, WSO2 Inc. http://wso2.com
> +94770596754 | nadeesh...@wso2.com | Skype: nadeeshaan.gunasinghe
> <#m_-6317137717416453560_>
> 
>   
> 
> Get a signature like this: Click here!
> 
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thank you and Best Regards,
Chanaka Fernando
Senior Technical Lead
m: +94 773337238
https://wso2.com 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] RC1 release WSO2CEP-4.2.0 : Error while creating gadget

2016-08-10 Thread Tanya Madurapperuma
Hi Aneela,

Could you please explain the steps that you tried before hitting this
error. Also did you observe any back-end erorrs?

Thanks,
Tanya

On Wed, Aug 10, 2016 at 7:00 PM, Tishan Dahanayakage 
wrote:

> +Tharik and Mohan
>
> On Wed, Aug 10, 2016 at 5:54 PM, Aneela Safdar 
> wrote:
>
>> I have donwloaded RC1 release of wso2-4.2.0 and during creating gadget, I
>> am encountered with following error:
>>
>> *Something went wrong while initiating Gadget generation wizard. Please
>> see the detailed error message below. *
>>
>>
>> Internal Server Error - Error 500 > content="width=device-width, initial-scale=1.0"> > content="">   h1,h3,h4{text-align:
>> center;font-weight: 200;} a{color: #2578ff} body{border-top:solid 20px
>> #444;padding:0;margin:0;}Error 500 Something went wrong and we're
>> trying to fix it. Please check back later > href="/portal/dashboards">Visit Portal  
>>
>> Any suggestions?
>>
>> Regards, Aneela Safdar
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Tishan Dahanayakage
> Senior Software Engineer
> WSO2, Inc.
> Mobile:+94 716481328
>
> Disclaimer: 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
>
>


-- 
Tanya Madurapperuma

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


Re: [Dev] RC1 release WSO2CEP-4.2.0 : Error while creating gadget

2016-08-10 Thread Tishan Dahanayakage
+Tharik and Mohan

On Wed, Aug 10, 2016 at 5:54 PM, Aneela Safdar  wrote:

> I have donwloaded RC1 release of wso2-4.2.0 and during creating gadget, I
> am encountered with following error:
>
> *Something went wrong while initiating Gadget generation wizard. Please
> see the detailed error message below. *
>
>
> Internal Server Error - Error 500  content="width=device-width, initial-scale=1.0">  content="">   h1,h3,h4{text-align:
> center;font-weight: 200;} a{color: #2578ff} body{border-top:solid 20px
> #444;padding:0;margin:0;}Error 500 Something went wrong and we're
> trying to fix it. Please check back later  href="/portal/dashboards">Visit Portal  
>
> Any suggestions?
>
> Regards, Aneela Safdar
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Tishan Dahanayakage
Senior Software Engineer
WSO2, Inc.
Mobile:+94 716481328

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


Re: [Dev] [VOTE] Release WSO2 Enterprise Store 2.1.0 RC 2

2016-08-10 Thread Prasanna Dangalla
Hi All,

Tested the following scenarios and found no issues.

   - Promote lifecycle
   - Version a gadget
   - Filter listing page by categories
   - Add, remove tags
   - Upload images to gadgets
   - Delete a gadget
   - Sort gadget listing page
   - Add Reviews to gadgets


[+] Stable - go ahead and release.

Regards,
*Prasanna Dangalla*
Senior Software Engineer, WSO2, Inc.; http://wso2.com/
lean.enterprise.middleware


*cell: +94 718 11 27 51*
*twitter: @prasa77*

On Wed, Aug 10, 2016 at 6:07 PM, Chandana Napagoda 
wrote:

> Hi All,
>
> Tested following scenarios with mounted setup
>
> - Publisher Lifecycle Management
> - Publisher side taxonomy
> - Multiple Lifecycles
> - OR and AND search.
> - Store Taxonomy based filtering
>
> Stable pack for release
>
> [+] stable
>
> Regards,
> Chandana
>
> On Fri, Aug 5, 2016 at 8:40 PM, Sameera Medagammaddegedara <
> samee...@wso2.com> wrote:
>
>> Hi Devs,
>>
>> WSO2 Enterprise Store 2.1.0 RC2 Release Vote
>>
>> This release fixes the following issues:
>> https://wso2.org/jira/issues/?filter=13171
>>
>> Please download, test and vote. Please refer the release verification
>> guide for detailed information on verifying this release.
>>
>> Source & binary distribution files:
>>  https://svn.wso2.org/repos/wso2/scratch/ES/2.1.0/rc2/
>>
>> Maven staging repo:
>> https://maven.wso2.org/nexus/content/repositories/orgwso2es-1006/
>>
>> The tag to be voted upon:
>> https://github.com/wso2/product-es/tree/v2.1.0-rc2
>>
>>
>> [+] Stable - go ahead and release
>> [-]  Broken - do not release (please explain why)
>>
>> Thanks and Regards
>> ES/G-Reg team
>> --
>> Sameera Medagammaddegedara
>> Software Engineer
>>
>> Contact:
>> Email: samee...@wso2.com
>> Mobile: + 94 077 255 3005
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Chandana Napagoda*
> Senior Software Engineer
> WSO2 Inc. - http://wso2.org
>
> *Email  :  chand...@wso2.com **Mobile : +94718169299
> <%2B94718169299>*
>
> *Blog  :http://cnapagoda.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] [VOTE] Release WSO2 Governance Registry 5.3.0 RC 2

2016-08-10 Thread Chandana Napagoda
Hi Devs,

Thanks for testing and verifying the WSO2 Governance Registry 5.3.0 RC2. We
are closing this vote now. This vote has passed with 11 +1s and 0 -1s.
Therefore, we are proceeding with the WSO2 Governance Registry 5.3.0
release.

11 +1s
0 -1s

Thank you and Regards,
ES/G-Reg Team

On Wed, Aug 10, 2016 at 6:49 PM, Danesh Kuruppu  wrote:

> Hi all,
>
> Tested the following scenarios in RC2 pack,
>
> * Single sign-on and single sign-logout in store, publisher application.
> * Tested OR search support in Store and Publisher
> * Tested search history feature in Store.
>
> [+] Stable - go ahead and release
>
> Thanks
> Danesh
>
> On Wed, Aug 10, 2016 at 3:44 PM, Chandana Napagoda 
> wrote:
>
>> Hi All,
>>
>> Tested following scenarios with mounted setup
>>
>> - Store and Publisher notification
>> - Publisher LifeCycle Management
>> - Multiple LifeCycles
>> - basic OR and AND search.
>> - Getting started sample populater
>> - Store Taxonomy based filtering
>>
>> Stable pack for release
>>
>> [+] stable
>>
>> Regards,
>> Chandana
>>
>>
>>
>> On Fri, Aug 5, 2016 at 8:38 PM, Rajith Roshan  wrote:
>>
>>> Hi Devs,
>>>
>>> WSO2 Governance Registry 5.3.0 RC2 Release Vote.
>>>
>>> This release fixes the following issues:
>>> https://wso2.org/jira/browse/REGISTRY-3854?filter=13166
>>>
>>> Please download, test and vote. Please refer the release verification
>>> guide for detailed information on verifying this release.
>>>
>>> Source & binary distribution files:
>>> https://svn.wso2.org/repos/wso2/scratch/G-Reg/5.3.0/rc2/
>>>
>>> Maven staging repo:
>>> https://maven.wso2.org/nexus/content/repositories/orgwso2greg-1008
>>>
>>> The tag to be voted upon:
>>> https://github.com/wso2/product-greg/tree/v5.3.0-rc2
>>>
>>> [+] Stable - go ahead and release
>>> [-]  Broken - do not release (please explain why)
>>>
>>> Thanks and Regards
>>> ES/G-Reg team
>>>
>>> --
>>> Rajith Roshan
>>> Software Engineer, WSO2 Inc.
>>> Mobile: +94-72-642-8350 <%2B94-71-554-8430>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Chandana Napagoda*
>> Senior Software Engineer
>> WSO2 Inc. - http://wso2.org
>>
>> *Email  :  chand...@wso2.com **Mobile : +94718169299
>> <%2B94718169299>*
>>
>> *Blog  :http://cnapagoda.blogspot.com *
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Danesh Kuruppu*
> Senior Software Engineer | WSO2
>
> Email: dan...@wso2.com
> Mobile: +94 (77) 1690552
> Web: WSO2 Inc 
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Chandana Napagoda*
Senior Software Engineer
WSO2 Inc. - http://wso2.org

*Email  :  chand...@wso2.com **Mobile : +94718169299*

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


Re: [Dev] [VOTE] Release WSO2 Governance Registry 5.3.0 RC 2

2016-08-10 Thread Danesh Kuruppu
Hi all,

Tested the following scenarios in RC2 pack,

* Single sign-on and single sign-logout in store, publisher application.
* Tested OR search support in Store and Publisher
* Tested search history feature in Store.

[+] Stable - go ahead and release

Thanks
Danesh

On Wed, Aug 10, 2016 at 3:44 PM, Chandana Napagoda 
wrote:

> Hi All,
>
> Tested following scenarios with mounted setup
>
> - Store and Publisher notification
> - Publisher LifeCycle Management
> - Multiple LifeCycles
> - basic OR and AND search.
> - Getting started sample populater
> - Store Taxonomy based filtering
>
> Stable pack for release
>
> [+] stable
>
> Regards,
> Chandana
>
>
>
> On Fri, Aug 5, 2016 at 8:38 PM, Rajith Roshan  wrote:
>
>> Hi Devs,
>>
>> WSO2 Governance Registry 5.3.0 RC2 Release Vote.
>>
>> This release fixes the following issues:
>> https://wso2.org/jira/browse/REGISTRY-3854?filter=13166
>>
>> Please download, test and vote. Please refer the release verification
>> guide for detailed information on verifying this release.
>>
>> Source & binary distribution files:
>> https://svn.wso2.org/repos/wso2/scratch/G-Reg/5.3.0/rc2/
>>
>> Maven staging repo:
>> https://maven.wso2.org/nexus/content/repositories/orgwso2greg-1008
>>
>> The tag to be voted upon:
>> https://github.com/wso2/product-greg/tree/v5.3.0-rc2
>>
>> [+] Stable - go ahead and release
>> [-]  Broken - do not release (please explain why)
>>
>> Thanks and Regards
>> ES/G-Reg team
>>
>> --
>> Rajith Roshan
>> Software Engineer, WSO2 Inc.
>> Mobile: +94-72-642-8350 <%2B94-71-554-8430>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Chandana Napagoda*
> Senior Software Engineer
> WSO2 Inc. - http://wso2.org
>
> *Email  :  chand...@wso2.com **Mobile : +94718169299
> <%2B94718169299>*
>
> *Blog  :http://cnapagoda.blogspot.com *
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Danesh Kuruppu*
Senior Software Engineer | WSO2

Email: dan...@wso2.com
Mobile: +94 (77) 1690552
Web: WSO2 Inc 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 Enterprise Store 2.1.0 RC 2

2016-08-10 Thread Madawa Soysa
Hi All,

Tested and verified following scenarios pointed to MySQL 5.7

   - Register new user and login
   - Comment and review assets
   - Bookmark assets
   - Adding Taxonomies and filtering with taxonomies and categorization
   - Sorting (with and without filter combinations)
   - Lifecycle operations

No blocking issues found. Hence voting,
[+] Stable - go ahead and release

Regards,
Madawa

On Wed, Aug 10, 2016 at 6:07 PM, Chandana Napagoda 
wrote:

> Hi All,
>
> Tested following scenarios with mounted setup
>
> - Publisher Lifecycle Management
> - Publisher side taxonomy
> - Multiple Lifecycles
> - OR and AND search.
> - Store Taxonomy based filtering
>
> Stable pack for release
>
> [+] stable
>
> Regards,
> Chandana
>
> On Fri, Aug 5, 2016 at 8:40 PM, Sameera Medagammaddegedara <
> samee...@wso2.com> wrote:
>
>> Hi Devs,
>>
>> WSO2 Enterprise Store 2.1.0 RC2 Release Vote
>>
>> This release fixes the following issues:
>> https://wso2.org/jira/issues/?filter=13171
>>
>> Please download, test and vote. Please refer the release verification
>> guide for detailed information on verifying this release.
>>
>> Source & binary distribution files:
>>  https://svn.wso2.org/repos/wso2/scratch/ES/2.1.0/rc2/
>>
>> Maven staging repo:
>> https://maven.wso2.org/nexus/content/repositories/orgwso2es-1006/
>>
>> The tag to be voted upon:
>> https://github.com/wso2/product-es/tree/v2.1.0-rc2
>>
>>
>> [+] Stable - go ahead and release
>> [-]  Broken - do not release (please explain why)
>>
>> Thanks and Regards
>> ES/G-Reg team
>> --
>> Sameera Medagammaddegedara
>> Software Engineer
>>
>> Contact:
>> Email: samee...@wso2.com
>> Mobile: + 94 077 255 3005
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Chandana Napagoda*
> Senior Software Engineer
> WSO2 Inc. - http://wso2.org
>
> *Email  :  chand...@wso2.com **Mobile : +94718169299
> <%2B94718169299>*
>
> *Blog  :http://cnapagoda.blogspot.com *
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Madawa Soysa / Software Engineer
mada...@wso2.com / +94714616050

*WSO2 Inc.*
lean.enterprise.middleware

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


Re: [Dev] [VOTE] Release WSO2 Enterprise Store 2.1.0 RC 2

2016-08-10 Thread Chandana Napagoda
Hi All,

Tested following scenarios with mounted setup

- Publisher Lifecycle Management
- Publisher side taxonomy
- Multiple Lifecycles
- OR and AND search.
- Store Taxonomy based filtering

Stable pack for release

[+] stable

Regards,
Chandana

On Fri, Aug 5, 2016 at 8:40 PM, Sameera Medagammaddegedara <
samee...@wso2.com> wrote:

> Hi Devs,
>
> WSO2 Enterprise Store 2.1.0 RC2 Release Vote
>
> This release fixes the following issues:
> https://wso2.org/jira/issues/?filter=13171
>
> Please download, test and vote. Please refer the release verification
> guide for detailed information on verifying this release.
>
> Source & binary distribution files:
>  https://svn.wso2.org/repos/wso2/scratch/ES/2.1.0/rc2/
>
> Maven staging repo:
> https://maven.wso2.org/nexus/content/repositories/orgwso2es-1006/
>
> The tag to be voted upon:
> https://github.com/wso2/product-es/tree/v2.1.0-rc2
>
>
> [+] Stable - go ahead and release
> [-]  Broken - do not release (please explain why)
>
> Thanks and Regards
> ES/G-Reg team
> --
> Sameera Medagammaddegedara
> Software Engineer
>
> Contact:
> Email: samee...@wso2.com
> Mobile: + 94 077 255 3005
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Chandana Napagoda*
Senior Software Engineer
WSO2 Inc. - http://wso2.org

*Email  :  chand...@wso2.com **Mobile : +94718169299*

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


[Dev] Clarification on C5 permission model

2016-08-10 Thread Prabushi Samarakoon
Hi All,

1. Is there an  API method to get all the resources permitted to a
particular user or a role?

2. With this permission model, are we going to introduce the email based
authentication for the products, or remain with the username model?

3. In our current management console, we have one view to create the user,
and another view to create the user profile according to the given
http://wso2.org/claims. Is there a particular reason to have the user
profile in a separate view? Do we need to have two views for user creation
and profile in C5 model also?

Any clarification on above matters is appreciated.

Thanks and Regards,
Prabushi

-- 
*Prabushi Samarakoon*
Software Engineer
Mobile: +94715434580
Email: prabus...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] RC1 release WSO2CEP-4.2.0 : Error while creating gadget

2016-08-10 Thread Aneela Safdar
I have donwloaded RC1 release of wso2-4.2.0 and during creating gadget, I am 
encountered with following error:

Something went wrong while initiating Gadget generation wizard. Please see the 
detailed error message below. 

   Internal 
Server Error - Error 500 h1,h3,h4{text-align: 
center;font-weight: 200;} a{color: #2578ff} body{border-top:solid 20px 
#444;padding:0;margin:0;}   Error 500 Something went wrong and we're trying 
to fix it. Please check back later Visit Portal  Any suggestions?

Regards, Aneela Safdar___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 Enterprise Store 2.1.0 RC 2

2016-08-10 Thread Sameera Medagammaddegedara
Hi All,

[+] Stable - go ahead and release

Please find the test cases below (refer to ES Sheet) :
https://docs.google.com/a/wso2.com/spreadsheets/d/1rSxlUqFE0a_-psBly55p4KSfl_pkgNYLQ0mlsrQ-KdA/edit?usp=sharing

Thanks,
Sameera


On Wed, Aug 10, 2016 at 2:37 PM, Rajith Roshan  wrote:

> Hi all,
>
> Tested following basic scenarios with Oracle 11 database
>
> Test Application Status
> Login to the Publisher Publisher Passed
> Logout of the Publisher Publisher Passed
> Create an asset with a thumbnail Publisher Passed
> Create an asset Publisher Passed
> Update an asset Publisher Passed
> Update an asset with a thumbnail Publisher Passed
> Create an asset with a tag Publisher Passed
> Create an asset with a taxonomy Publisher Passed
> Remove tag from an asset Publisher Passed
> Remove a taxonomy from an asset Publisher Passed
> Create a new version of an asset Publisher Passed
> Delete an asset Publisher Passed
> Perform a lifecycle operation on an asset Publisher Passed
> Login to the Store Store Passed
> Logout of the Store Store Passed
> Visit the top-assets page Store Passed
> Visit a listing page Store Passed
> Visit a details page Store Passed
> Add a user review Store Passed
> Delete your review Store Passed
> Check if the search history appears in the top-assets page Store Passed
> Check if the search history appears in the asset listing page Store Passed
> Click the sort by Date - ASC Store Passed
> Click the sort by Date - DESC Store Passed
> Click the sort by Name - ASC Store Passed
> Click the sort by Name - DESC Store Passed
> Select a tag in the listing page Store Passed
> Select a taxonomy in the listing page Store Passed
> Select a taxonomy + tag Store Passed
> Select a category + tag Store Passed
> Remove tag from taxonomy + tag Store Passed
> Remove taxonomy from taxonomy + tag Store Passed
> Remove all from taxonomy + tag Store Passed
> Did not found any blocking issues.
>
> [+] Stable - go ahead and release
>
> Thanks!
> Rajith
>
> On Tue, Aug 9, 2016 at 6:01 PM, Chanaka Jayasena  wrote:
>
>> Following senarios tested and found no issue. [+] Stable - go ahead and
>> release.
>>
>> Create new user
>> sign in from the new user
>> comment and rate other users assets
>> bookmark  and unbookmark assets
>>
>> Search assets
>> By Asset Name
>> By Asset Content
>> By Asset Tag
>> By Asset Version
>> By Lifecycle Name
>> By Lifecycle State
>>
>> Filter by tags
>> Remove tag filter
>>
>> Sort by date/time
>> Sort by name
>>
>> Create new asset type
>> Override default icon with a custom asset extension
>>
>> Create new asset
>> Update asset
>> Change lifecycle state
>> Copy an asset to a new version
>> Delete asset
>>
>> thanks,
>> Chanaka
>>
>> On Fri, Aug 5, 2016 at 8:40 PM, Sameera Medagammaddegedara <
>> samee...@wso2.com> wrote:
>>
>>> Hi Devs,
>>>
>>> WSO2 Enterprise Store 2.1.0 RC2 Release Vote
>>>
>>> This release fixes the following issues:
>>> https://wso2.org/jira/issues/?filter=13171
>>>
>>> Please download, test and vote. Please refer the release verification
>>> guide for detailed information on verifying this release.
>>>
>>> Source & binary distribution files:
>>>  https://svn.wso2.org/repos/wso2/scratch/ES/2.1.0/rc2/
>>>
>>> Maven staging repo:
>>> https://maven.wso2.org/nexus/content/repositories/orgwso2es-1006/
>>>
>>> The tag to be voted upon:
>>> https://github.com/wso2/product-es/tree/v2.1.0-rc2
>>>
>>>
>>> [+] Stable - go ahead and release
>>> [-]  Broken - do not release (please explain why)
>>>
>>> Thanks and Regards
>>> ES/G-Reg team
>>> --
>>> Sameera Medagammaddegedara
>>> Software Engineer
>>>
>>> Contact:
>>> Email: samee...@wso2.com
>>> Mobile: + 94 077 255 3005
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Chanaka Jayasena
>> Associate Tech Lead,
>> email: chan...@wso2.com; cell: +94 77 4464006
>> blog: http://chanaka3d.blogspot.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Rajith Roshan
> Software Engineer, WSO2 Inc.
> Mobile: +94-72-642-8350 <%2B94-71-554-8430>
>



-- 
Sameera Medagammaddegedara
Software Engineer

Contact:
Email: samee...@wso2.com
Mobile: + 94 077 255 3005
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 Governance Registry 5.3.0 RC 2

2016-08-10 Thread Chandana Napagoda
Hi All,

Tested following scenarios with mounted setup

- Store and Publisher notification
- Publisher LifeCycle Management
- Multiple LifeCycles
- basic OR and AND search.
- Getting started sample populater
- Store Taxonomy based filtering

Stable pack for release

[+] stable

Regards,
Chandana



On Fri, Aug 5, 2016 at 8:38 PM, Rajith Roshan  wrote:

> Hi Devs,
>
> WSO2 Governance Registry 5.3.0 RC2 Release Vote.
>
> This release fixes the following issues:
> https://wso2.org/jira/browse/REGISTRY-3854?filter=13166
>
> Please download, test and vote. Please refer the release verification
> guide for detailed information on verifying this release.
>
> Source & binary distribution files:
> https://svn.wso2.org/repos/wso2/scratch/G-Reg/5.3.0/rc2/
>
> Maven staging repo:
> https://maven.wso2.org/nexus/content/repositories/orgwso2greg-1008
>
> The tag to be voted upon:
> https://github.com/wso2/product-greg/tree/v5.3.0-rc2
>
> [+] Stable - go ahead and release
> [-]  Broken - do not release (please explain why)
>
> Thanks and Regards
> ES/G-Reg team
>
> --
> Rajith Roshan
> Software Engineer, WSO2 Inc.
> Mobile: +94-72-642-8350 <%2B94-71-554-8430>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Chandana Napagoda*
Senior Software Engineer
WSO2 Inc. - http://wso2.org

*Email  :  chand...@wso2.com **Mobile : +94718169299*

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


Re: [Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-08-10 Thread Supun Sethunga
Refer:
http://stackoverflow.com/questions/31011243/no-configuration-setting-found-for-key-akka-version

Regards,
Supun

On Wed, Aug 10, 2016 at 2:45 PM, Mahesh Dananjaya  wrote:

> Hi supun,
> Now most of the issues have been fixed. But still when i call spark and
> try to invoke spark Context this error appears.still this is in the line
>
> conf = new SparkConf().setMaster("local[*]").setAppName("Linear
> Regression Example").set("spark.driver.allowMultipleContexts", "true");
> sc = new JavaSparkContext(conf);
> you can find this in the file [1].
>
> com.typesafe.config.ConfigException$Missing: No configuration setting
> found for key 'akka.version' in execution plan "ExecutionPlan"
>
> ERROR {org.wso2.carbon.event.processor.admin.EventProcessorAdminService}
> -  Exception when validating execution plan
> org.wso2.carbon.event.processor.core.exception.
> ExecutionPlanConfigurationException: 
> com.typesafe.config.ConfigException$Missing:
> No configuration setting found for key 'akka.version' in execution plan
> "ExecutionPlan"
> at org.wso2.carbon.event.processor.core.internal.util.
> helper.EventProcessorHelper.validateExecutionPlan(
> EventProcessorHelper.java:193)
>
> at org.wso2.carbon.event.processor.core.internal.
> CarbonEventProcessorService.validateExecutionPlan(
> CarbonEventProcessorService.java:493)
> at org.wso2.carbon.event.processor.admin.EventProcessorAdminService.
> validateExecutionPlan(EventProcessorAdminService.java:329)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.
> java:212)
> at org.apache.axis2.rpc.receivers.RPCMessageReceiver.
> invokeBusinessLogic(RPCMessageReceiver.java:117)
> at org.apache.axis2.receivers.AbstractInOutMessageReceiver.
> invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
> at org.apache.axis2.receivers.AbstractMessageReceiver.receive(
> AbstractMessageReceiver.java:110)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
> at org.apache.axis2.transport.local.LocalTransportReceiver.
> processMessage(LocalTransportReceiver.java:169)
> at org.apache.axis2.transport.local.LocalTransportReceiver.
> processMessage(LocalTransportReceiver.java:82)
> at org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.
> finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
> at org.apache.axis2.transport.local.LocalTransportSender.
> invoke(LocalTransportSender.java:77)
> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
> at org.apache.axis2.description.OutInAxisOperationClient.send(
> OutInAxisOperation.java:430)
> at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
> OutInAxisOperation.java:225)
> at org.apache.axis2.client.OperationClient.execute(
> OperationClient.java:149)
> at org.wso2.carbon.event.processor.stub.EventProcessorAdminServiceStub
> .validateExecutionPlan(EventProcessorAdminServiceStub.java:2207)
> at org.apache.jsp.eventprocessor.validate_005fsiddhi_
> 005fqueries_005fajaxprocessor_jsp._jspService(validate_
> 005fsiddhi_005fqueries_005fajaxprocessor_jsp.java:73)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> at org.apache.jasper.servlet.JspServletWrapper.service(
> JspServletWrapper.java:432)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(
> JspServlet.java:395)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
> at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(
> ContextPathServletAdaptor.java:37)
> at org.eclipse.equinox.http.servlet.internal.
> ServletRegistration.service(ServletRegistration.java:61)
> at org.eclipse.equinox.http.servlet.internal.ProxyServlet.
> processAlias(ProxyServlet.java:128)
> at org.eclipse.equinox.http.servlet.internal.ProxyServlet.
> service(ProxyServlet.java:68)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.
> service(DelegationServlet.java:68)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:303)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:208)
> at 

Re: [Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-08-10 Thread Mahesh Dananjaya
Hi supun,
Now most of the issues have been fixed. But still when i call spark and try
to invoke spark Context this error appears.still this is in the line

conf = new SparkConf().setMaster("local[*]").setAppName("Linear Regression
Example").set("spark.driver.allowMultipleContexts", "true");
sc = new JavaSparkContext(conf);
you can find this in the file [1].

com.typesafe.config.ConfigException$Missing: No configuration setting found
for key 'akka.version' in execution plan "ExecutionPlan"

ERROR {org.wso2.carbon.event.processor.admin.EventProcessorAdminService} -
Exception when validating execution plan
org.wso2.carbon.event.processor.core.exception.ExecutionPlanConfigurationException:
com.typesafe.config.ConfigException$Missing: No configuration setting found
for key 'akka.version' in execution plan "ExecutionPlan"
at
org.wso2.carbon.event.processor.core.internal.util.helper.EventProcessorHelper.validateExecutionPlan(EventProcessorHelper.java:193)
at
org.wso2.carbon.event.processor.core.internal.CarbonEventProcessorService.validateExecutionPlan(CarbonEventProcessorService.java:493)
at
org.wso2.carbon.event.processor.admin.EventProcessorAdminService.validateExecutionPlan(EventProcessorAdminService.java:329)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at
org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
at
org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
at
org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at
org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
at
org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
at
org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
at
org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at
org.wso2.carbon.event.processor.stub.EventProcessorAdminServiceStub.validateExecutionPlan(EventProcessorAdminServiceStub.java:2207)
at
org.apache.jsp.eventprocessor.validate_005fsiddhi_005fqueries_005fajaxprocessor_jsp._jspService(validate_005fsiddhi_005fqueries_005fajaxprocessor_jsp.java:73)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at
org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at
org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.wso2.carbon.ui.filters.CSRFPreventionFilter.doFilter(CSRFPreventionFilter.java:88)
at

Re: [Dev] [VOTE] Release WSO2 Enterprise Store 2.1.0 RC 2

2016-08-10 Thread Rajith Roshan
Hi all,

Tested following basic scenarios with Oracle 11 database

Test Application Status
Login to the Publisher Publisher Passed
Logout of the Publisher Publisher Passed
Create an asset with a thumbnail Publisher Passed
Create an asset Publisher Passed
Update an asset Publisher Passed
Update an asset with a thumbnail Publisher Passed
Create an asset with a tag Publisher Passed
Create an asset with a taxonomy Publisher Passed
Remove tag from an asset Publisher Passed
Remove a taxonomy from an asset Publisher Passed
Create a new version of an asset Publisher Passed
Delete an asset Publisher Passed
Perform a lifecycle operation on an asset Publisher Passed
Login to the Store Store Passed
Logout of the Store Store Passed
Visit the top-assets page Store Passed
Visit a listing page Store Passed
Visit a details page Store Passed
Add a user review Store Passed
Delete your review Store Passed
Check if the search history appears in the top-assets page Store Passed
Check if the search history appears in the asset listing page Store Passed
Click the sort by Date - ASC Store Passed
Click the sort by Date - DESC Store Passed
Click the sort by Name - ASC Store Passed
Click the sort by Name - DESC Store Passed
Select a tag in the listing page Store Passed
Select a taxonomy in the listing page Store Passed
Select a taxonomy + tag Store Passed
Select a category + tag Store Passed
Remove tag from taxonomy + tag Store Passed
Remove taxonomy from taxonomy + tag Store Passed
Remove all from taxonomy + tag Store Passed
Did not found any blocking issues.

[+] Stable - go ahead and release

Thanks!
Rajith

On Tue, Aug 9, 2016 at 6:01 PM, Chanaka Jayasena  wrote:

> Following senarios tested and found no issue. [+] Stable - go ahead and
> release.
>
> Create new user
> sign in from the new user
> comment and rate other users assets
> bookmark  and unbookmark assets
>
> Search assets
> By Asset Name
> By Asset Content
> By Asset Tag
> By Asset Version
> By Lifecycle Name
> By Lifecycle State
>
> Filter by tags
> Remove tag filter
>
> Sort by date/time
> Sort by name
>
> Create new asset type
> Override default icon with a custom asset extension
>
> Create new asset
> Update asset
> Change lifecycle state
> Copy an asset to a new version
> Delete asset
>
> thanks,
> Chanaka
>
> On Fri, Aug 5, 2016 at 8:40 PM, Sameera Medagammaddegedara <
> samee...@wso2.com> wrote:
>
>> Hi Devs,
>>
>> WSO2 Enterprise Store 2.1.0 RC2 Release Vote
>>
>> This release fixes the following issues:
>> https://wso2.org/jira/issues/?filter=13171
>>
>> Please download, test and vote. Please refer the release verification
>> guide for detailed information on verifying this release.
>>
>> Source & binary distribution files:
>>  https://svn.wso2.org/repos/wso2/scratch/ES/2.1.0/rc2/
>>
>> Maven staging repo:
>> https://maven.wso2.org/nexus/content/repositories/orgwso2es-1006/
>>
>> The tag to be voted upon:
>> https://github.com/wso2/product-es/tree/v2.1.0-rc2
>>
>>
>> [+] Stable - go ahead and release
>> [-]  Broken - do not release (please explain why)
>>
>> Thanks and Regards
>> ES/G-Reg team
>> --
>> Sameera Medagammaddegedara
>> Software Engineer
>>
>> Contact:
>> Email: samee...@wso2.com
>> Mobile: + 94 077 255 3005
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Chanaka Jayasena
> Associate Tech Lead,
> email: chan...@wso2.com; cell: +94 77 4464006
> blog: http://chanaka3d.blogspot.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Rajith Roshan
Software Engineer, WSO2 Inc.
Mobile: +94-72-642-8350 <%2B94-71-554-8430>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Merge changes done for https://wso2.org/jira/browse/CPARENT-6

2016-08-10 Thread Isuru Perera
Hi,

On Wed, Aug 10, 2016 at 12:35 PM, KasunG Gajasinghe  wrote:

>
>
>
> On Wed, Aug 10, 2016 at 11:45 AM, Isuru Perera  wrote:
>
>> Hi,
>>
>> I also don't keep all sources locally. For a Maven Dependency, I expect
>> the sources jar in Maven Repository.
>>
>> Even in Carbon Kernel 4.x, I don't see source jars [1]. In Carbon 5.x, I
>> see the sources [2].
>>
>>
> That was because we have defined an older version of the
> maven-source-plugin in 4.4.7. If we didn't explicitly mention this, then
> there the version will be inherited from the already defined
> maven-source-plugin in wso2 parent pom. That's a separate issue we need to
> fix. @*Lakshman*, please remove the plugin definition from kernel parent
> for the next release.
>
>
>
>> My opinion is that we should have source jars always.
>>
>
> You already have the sources locally!
>
I mean other dependencies. I don't want to checkout those sources locally.

>
>
>>
>> It's same for Java Docs. We must make sure Java Docs is written properly
>> and there are no warnings. Having the java doc plugin helps us to fix any
>> issues with docs during the development time, rather than waiting to fix
>> such issues whenever there is a release.
>>
>
> If has issues, then checkstyle complains to some extent. If you want to
> verify javadocs, then, you can run maven-source-plugin:jar-no-fork goal
> and generate the javadocs. There is no need to run it everytime.
>
If you and others don't think that there is no need to have those plugins,
please remove it from the parent pom. :)

Please merge other changes.

> Even for the compiler plugin, we have a incremental build plugin which
> skips building already built modules.
>


>
> Thanks,
> KasunG
>
>
>> Anyway, please merge other changes and make sure all plugins are up to
>> date in Carbon Parent. As I mentioned, I didn't update all.
>>
>> Thanks!
>>
>> Best Regards,
>>
>> [1] https://maven.wso2.org/nexus/content/repositories/releases/o
>> rg/wso2/carbon/org.wso2.carbon.core/4.4.7/
>> [2] https://maven.wso2.org/nexus/content/repositories/releases/o
>> rg/wso2/carbon/org.wso2.carbon.core/5.1.0/
>>
>> On Wed, Aug 10, 2016 at 11:28 AM, Isuru Perera  wrote:
>>
>>> Hi Kasun,
>>>
>>> On Wed, Aug 10, 2016 at 9:54 AM, KasunG Gajasinghe 
>>> wrote:
>>>
 Hi Isuru,

 Javadoc and source generation happens when you use the maven release
 plugin. We are already doing it. [1]

>>> I don't see the source jar in the location you mentioned.
>>>
 That is the only place we need these two plugins as I understand. When
 doing a build locally, you don't really need sources/javadoc jars because
 you already have the source code.

 [1] https://maven.wso2.org/nexus/content/repositories/releas
 es/org/wso2/carbon/org.wso2.carbon.ndatasource.core/4.4.7/

 Thanks,
 KasunG

 On Tue, Aug 9, 2016 at 7:24 PM, Isuru Perera  wrote:

> Hi,
>
> On Tue, Aug 9, 2016 at 3:10 PM, Jayanga Dissanayake 
> wrote:
>
>> Hi Isuru,
>>
>> It seems to be the culprit. I removed the jacoco plugin from
>> carbon-kernel/parent/pom.xml and it builds.
>>
>> One other concern is, in this PR, you have moved the doc and source
>> plugins into plugin section, which cause it to run always. But we usually
>>  don't want src and docs to be generated at each build. Could you please
>> explain why those plugins were moved into plugin section.
>>
> I added java doc and source plugins to parent pom as we need to have
> sources jars and java docs every time we build the source.
>
> If you look at our previous releases based on Carbon 4.x, there are no
> source jars for most of the components. Without having sources jars, it is
> very difficult to debug as well.
>
> Even though, we expected our developers to release the sources jars
> during release time, we can see that it's not happening most of the time.
>
> Java Doc generation is also very important and Java Doc Plugin shows
> warnings if there are any issues with our Java Docs. It's easy to fix such
> warnings before the release.
>
> If the build time is the main concern for local builds, we can disable
> Java doc plugin as it takes some time. The source plugin doesn't take much
> time.
>
> For local builds, we can skip java docs using the parameter:
> "-Dmaven.javadoc.skip=true".
>
> I think having these plugins in parent pom is very important.
>
>>
>> Thanks,
>> Jayanga.
>>
>> Thanks,
>> Jayanga.
>>
>> *Jayanga Dissanayake*
>> Associate Technical Lead
>> WSO2 Inc. - http://wso2.com/
>> lean . enterprise . middleware
>> email: jaya...@wso2.com
>> mobile: +94772207259
>> 
>>
>> On Tue, Aug 9, 2016 at 2:34 PM, Isuru Perera 

Re: [Dev] Merge changes done for https://wso2.org/jira/browse/CPARENT-6

2016-08-10 Thread KasunG Gajasinghe
On Wed, Aug 10, 2016 at 11:45 AM, Isuru Perera  wrote:

> Hi,
>
> I also don't keep all sources locally. For a Maven Dependency, I expect
> the sources jar in Maven Repository.
>
> Even in Carbon Kernel 4.x, I don't see source jars [1]. In Carbon 5.x, I
> see the sources [2].
>
>
That was because we have defined an older version of the
maven-source-plugin in 4.4.7. If we didn't explicitly mention this, then
there the version will be inherited from the already defined
maven-source-plugin in wso2 parent pom. That's a separate issue we need to
fix. @*Lakshman*, please remove the plugin definition from kernel parent
for the next release.



> My opinion is that we should have source jars always.
>

You already have the sources locally!


>
> It's same for Java Docs. We must make sure Java Docs is written properly
> and there are no warnings. Having the java doc plugin helps us to fix any
> issues with docs during the development time, rather than waiting to fix
> such issues whenever there is a release.
>

If has issues, then checkstyle complains to some extent. If you want to
verify javadocs, then, you can run maven-source-plugin:jar-no-fork goal and
generate the javadocs. There is no need to run it everytime.
Even for the compiler plugin, we have a incremental build plugin which
skips building already built modules.

Thanks,
KasunG


> Anyway, please merge other changes and make sure all plugins are up to
> date in Carbon Parent. As I mentioned, I didn't update all.
>
> Thanks!
>
> Best Regards,
>
> [1] https://maven.wso2.org/nexus/content/repositories/releases/
> org/wso2/carbon/org.wso2.carbon.core/4.4.7/
> [2] https://maven.wso2.org/nexus/content/repositories/releases/
> org/wso2/carbon/org.wso2.carbon.core/5.1.0/
>
> On Wed, Aug 10, 2016 at 11:28 AM, Isuru Perera  wrote:
>
>> Hi Kasun,
>>
>> On Wed, Aug 10, 2016 at 9:54 AM, KasunG Gajasinghe 
>> wrote:
>>
>>> Hi Isuru,
>>>
>>> Javadoc and source generation happens when you use the maven release
>>> plugin. We are already doing it. [1]
>>>
>> I don't see the source jar in the location you mentioned.
>>
>>> That is the only place we need these two plugins as I understand. When
>>> doing a build locally, you don't really need sources/javadoc jars because
>>> you already have the source code.
>>>
>>> [1] https://maven.wso2.org/nexus/content/repositories/releas
>>> es/org/wso2/carbon/org.wso2.carbon.ndatasource.core/4.4.7/
>>>
>>> Thanks,
>>> KasunG
>>>
>>> On Tue, Aug 9, 2016 at 7:24 PM, Isuru Perera  wrote:
>>>
 Hi,

 On Tue, Aug 9, 2016 at 3:10 PM, Jayanga Dissanayake 
 wrote:

> Hi Isuru,
>
> It seems to be the culprit. I removed the jacoco plugin from
> carbon-kernel/parent/pom.xml and it builds.
>
> One other concern is, in this PR, you have moved the doc and source
> plugins into plugin section, which cause it to run always. But we usually
>  don't want src and docs to be generated at each build. Could you please
> explain why those plugins were moved into plugin section.
>
 I added java doc and source plugins to parent pom as we need to have
 sources jars and java docs every time we build the source.

 If you look at our previous releases based on Carbon 4.x, there are no
 source jars for most of the components. Without having sources jars, it is
 very difficult to debug as well.

 Even though, we expected our developers to release the sources jars
 during release time, we can see that it's not happening most of the time.

 Java Doc generation is also very important and Java Doc Plugin shows
 warnings if there are any issues with our Java Docs. It's easy to fix such
 warnings before the release.

 If the build time is the main concern for local builds, we can disable
 Java doc plugin as it takes some time. The source plugin doesn't take much
 time.

 For local builds, we can skip java docs using the parameter:
 "-Dmaven.javadoc.skip=true".

 I think having these plugins in parent pom is very important.

>
> Thanks,
> Jayanga.
>
> Thanks,
> Jayanga.
>
> *Jayanga Dissanayake*
> Associate Technical Lead
> WSO2 Inc. - http://wso2.com/
> lean . enterprise . middleware
> email: jaya...@wso2.com
> mobile: +94772207259
> 
>
> On Tue, Aug 9, 2016 at 2:34 PM, Isuru Perera  wrote:
>
>> Did you remove existing Jacoco plugin in Carbon Kernel?
>>
>> Isuru Perera
>>
>> On 9 Aug 2016 2:29 p.m., "Jayanga Dissanayake" 
>> wrote:
>>
>>> Hi Isuru,
>>>
>>> When I try to build the carbon kernel with new parent pom with your
>>> updates, the following error happens.
>>> It seems to be an issue in jacoco plugin, any idea?
>>>
>>> [ERROR] Failed to execute 

Re: [Dev] Merge changes done for https://wso2.org/jira/browse/CPARENT-6

2016-08-10 Thread Isuru Perera
Hi,

I also don't keep all sources locally. For a Maven Dependency, I expect the
sources jar in Maven Repository.

Even in Carbon Kernel 4.x, I don't see source jars [1]. In Carbon 5.x, I
see the sources [2].

My opinion is that we should have source jars always.

It's same for Java Docs. We must make sure Java Docs is written properly
and there are no warnings. Having the java doc plugin helps us to fix any
issues with docs during the development time, rather than waiting to fix
such issues whenever there is a release.

Anyway, please merge other changes and make sure all plugins are up to date
in Carbon Parent. As I mentioned, I didn't update all.

Thanks!

Best Regards,

[1]
https://maven.wso2.org/nexus/content/repositories/releases/org/wso2/carbon/org.wso2.carbon.core/4.4.7/
[2]
https://maven.wso2.org/nexus/content/repositories/releases/org/wso2/carbon/org.wso2.carbon.core/5.1.0/

On Wed, Aug 10, 2016 at 11:28 AM, Isuru Perera  wrote:

> Hi Kasun,
>
> On Wed, Aug 10, 2016 at 9:54 AM, KasunG Gajasinghe 
> wrote:
>
>> Hi Isuru,
>>
>> Javadoc and source generation happens when you use the maven release
>> plugin. We are already doing it. [1]
>>
> I don't see the source jar in the location you mentioned.
>
>> That is the only place we need these two plugins as I understand. When
>> doing a build locally, you don't really need sources/javadoc jars because
>> you already have the source code.
>>
>> [1] https://maven.wso2.org/nexus/content/repositories/releas
>> es/org/wso2/carbon/org.wso2.carbon.ndatasource.core/4.4.7/
>>
>> Thanks,
>> KasunG
>>
>> On Tue, Aug 9, 2016 at 7:24 PM, Isuru Perera  wrote:
>>
>>> Hi,
>>>
>>> On Tue, Aug 9, 2016 at 3:10 PM, Jayanga Dissanayake 
>>> wrote:
>>>
 Hi Isuru,

 It seems to be the culprit. I removed the jacoco plugin from
 carbon-kernel/parent/pom.xml and it builds.

 One other concern is, in this PR, you have moved the doc and source
 plugins into plugin section, which cause it to run always. But we usually
  don't want src and docs to be generated at each build. Could you please
 explain why those plugins were moved into plugin section.

>>> I added java doc and source plugins to parent pom as we need to have
>>> sources jars and java docs every time we build the source.
>>>
>>> If you look at our previous releases based on Carbon 4.x, there are no
>>> source jars for most of the components. Without having sources jars, it is
>>> very difficult to debug as well.
>>>
>>> Even though, we expected our developers to release the sources jars
>>> during release time, we can see that it's not happening most of the time.
>>>
>>> Java Doc generation is also very important and Java Doc Plugin shows
>>> warnings if there are any issues with our Java Docs. It's easy to fix such
>>> warnings before the release.
>>>
>>> If the build time is the main concern for local builds, we can disable
>>> Java doc plugin as it takes some time. The source plugin doesn't take much
>>> time.
>>>
>>> For local builds, we can skip java docs using the parameter:
>>> "-Dmaven.javadoc.skip=true".
>>>
>>> I think having these plugins in parent pom is very important.
>>>

 Thanks,
 Jayanga.

 Thanks,
 Jayanga.

 *Jayanga Dissanayake*
 Associate Technical Lead
 WSO2 Inc. - http://wso2.com/
 lean . enterprise . middleware
 email: jaya...@wso2.com
 mobile: +94772207259
 

 On Tue, Aug 9, 2016 at 2:34 PM, Isuru Perera  wrote:

> Did you remove existing Jacoco plugin in Carbon Kernel?
>
> Isuru Perera
>
> On 9 Aug 2016 2:29 p.m., "Jayanga Dissanayake" 
> wrote:
>
>> Hi Isuru,
>>
>> When I try to build the carbon kernel with new parent pom with your
>> updates, the following error happens.
>> It seems to be an issue in jacoco plugin, any idea?
>>
>> [ERROR] Failed to execute goal 
>> org.jacoco:jacoco-maven-plugin:0.7.5.201505241946:report
>> (post-unit-test) on project org.wso2.carbon.launcher: An error has 
>> occurred
>> in JaCoCo Test report generation. Error while creating report: Error 
>> while
>> analyzing class /tmp/1/carbon-kernel/launcher/
>> target/classes/org/wso2/carbon/launcher/CarbonServer.class. Class
>> org/wso2/carbon/launcher/CarbonServer is already instrumented. ->
>> [Help 1]
>>
>> Thanks,
>> Jayanga.
>>
>> *Jayanga Dissanayake*
>> Associate Technical Lead
>> WSO2 Inc. - http://wso2.com/
>> lean . enterprise . middleware
>> email: jaya...@wso2.com
>> mobile: +94772207259
>> 
>>
>> On Tue, Aug 9, 2016 at 12:24 PM, Isuru Perera 
>> wrote:
>>
>>> Hi Jayanga,
>>>
>>> I didn't update maven bundle plugin. Could you please check on that
>>> too?
>>>

[Dev] [GSoC Dockerfiles] Weekly status meeting minutes

2016-08-10 Thread Abhishek Tiwari
Hi All,

I just had a meeting with Vishanth for our weekly status update. Following
are the meeting minutes:

1. Had a quick demo of current status of test framework and focused on
smoke tests.

2. Did a code walkthrough of the smoke tests, Vishanth recommended to find
admin endpoints to access and manipulate ESB resources.

3. Vishanth also recommended to add overall test result at the end of test
run (along with logs) to specify which products we tested and what was the
end result (sort of what mvn test does).

4. Few naming changes on test config.

5. Agreed on doing a demo to a larger audience on this Friday afternoon
(3pm IST).

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


Re: [Dev] [GSoC Dockerfiles] Added ability to run smoke tests from test framework

2016-08-10 Thread Abhishek Tiwari
HI Vishanth,

Friday afternoon works fine with me.

Thanks
Abhishek

On Wed, Aug 10, 2016 at 10:52 AM, Vishanth Balasubramaniam <
vishan...@wso2.com> wrote:

> Hi,
>
> Shall we have the demo on Friday Afternoon (IST)?
>
> Regards,
> Vishanth
>
> On Tue, Aug 9, 2016 at 4:28 PM, Abhishek Tiwari <
> abhishek.tiwari0...@gmail.com> wrote:
>
>> Hi Mentors,
>>
>> Dockerfiles test framework is now able to run smoke tests, with smoke
>> tests for ESB added at this point. Developers can extend the framework to
>> add product specific smoke tests.
>>
>> Smoke test for ESB are implemented as follows:
>> 1. Once a new docker image is deployed and the container is up, the
>> script does a login to WSO2 carbon server and maintains cookies so that it
>> can use logged in state in subsequent requests.
>>
>> 2. Creates a new pass-through proxy service. [1]
>>
>> 3. Validates the newly created proxy service is accessible (validates
>> Http response code for the proxy testing url [2])
>>
>> 4. Removes the newly created proxy service. [3]
>>
>> I would like to demo the current state of the project, please provide
>> your preferred date and time.
>>
>> Thanks
>> Abhishek
>>
>> [1]. Http post using /carbon/proxyservices/template_pass-through.jsp
>> [2]. Http get  using /carbon/services/?tryit
>> [3]. Http get using /carbon/service-mgt/delete_service_groups.jsp
>>
>
>
>
> --
> *Vishanth Balasubramaniam*
> Committer & PMC Member, Apache Stratos,
> Software Engineer, WSO2 Inc.; http://wso2.com
>
> mobile: *+94 77 17 377 18*
> about me: *http://about.me/vishanth *
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev