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

2016-06-29 Thread Akila Ravihansa Perera
Hi Osura,

Good progress :)

Netflix Feign [1] is a highly customizable and easy to use REST API client
framework. The GitHub page itself contains many samples. We have written
Mesos membership scheme [2] using that which you can use as a reference
guideline. Please refactor your code to use this client. Let me know if you
run into any issues.

I noticed few more issues in the code;
 - No need to define a variable and assign a const [3]. You can directly
use the const.
 - Why do you need to append tenantId to authorization endpoint? Just
asking to clarify why tenantId is needed here.

- You can move common operations to common method. In [4], instead of
checking for empty values and in [5] reading from System.env. Move all that
to getParameterValue method. This will reduce the amount of code you have
to write.

 - You don't have to log and throw [6]. This will only clutter the log file.

 - You don't need a for loop here [7]. Simply use a for-each iterator.

 - Don't put ":" in front of the placeholder [8]

 - Don't put spaces around square brackets [9]

 - You need to separate variables by commas [10]

 - Use proper case for log msg labels [11]. Should be "VM-IP" or simply "IP
Address" is enough. This should contain both IP and local port. Read below
for more info on local port.

* This is very important *
 - Use localMemberHostPort defined in axis2.xml when adding the member IPs
in [12]. This is the port that all WSO2 server instances are listening on
for Hazelcast connections. By default it is 4000 that's why it works now.
But for some reason if someone changes it, then this code will break.

[1] https://github.com/Netflix/feign
[2]
https://github.com/wso2/mesos-artifacts/tree/master/common/mesos-membership-scheme
[3]
https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L101
[4]
https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L113
[5]
https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L110
[6]
https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L182
[7]
https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L200
[8]
https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L263
[9]
https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L282
[10]
https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L171
[11]
https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L177
[12]
https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L176

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


Re: [Dev] Deleting events from DAS

2016-06-29 Thread Nirmal Fernando
You can schedule data purging
https://docs.wso2.com/display/DAS301/Purging+Data

On Thu, Jun 30, 2016 at 11:18 AM, Chathura Ekanayake 
wrote:

> Can we delete events from DAS event store?
>
> - Chathura
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Thanks & regards,
Nirmal

Team Lead - WSO2 Machine Learner
Associate Technical Lead - Data Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] What is the compatible Firefox version, which works with selenium framework?

2016-06-29 Thread Krishantha Samaraweera
Firefox 24, 31 and 32 are officially supported - refer
https://github.com/SeleniumHQ/selenium/blob/master/java/CHANGELOG

Note that you can use webdriver.firefox.bin  to run tests with different
firefox version without actually downgrading firefox on your machine -
refer
 
http://stackoverflow.com/questions/17398896/how-to-use-different-version-of-firefox-using-webdriver


Thanks,
Krishantha.

On Thu, Jun 30, 2016 at 11:13 AM, Thilini Cooray  wrote:

> Hi,
>
> You will be able to run our automated Selenium tests on Firefox 23.0
> AFAIR newer versions of Firefox is not compatible.
>
> Thanks.
>
> On Thu, Jun 30, 2016 at 11:07 AM, Amalka Subasinghe 
> wrote:
>
>> Hi,
>>
>> I'm executing product-mb selenium tests, getting following error. I have
>> firefox. 46.0.1 installed in my local machine
>>
>>
>> JavaScript warning:
>> https://normandy.cdn.mozilla.net/static/js/bundles/selfrepair-7575f6d27445b45bcffb.js,
>> line 9825: mutating the [[Prototype]] of an object will cause your code to
>> run very slowly; instead create the object with the correct initial
>> [[Prototype]] value using Object.create
>> Build info: version: '2.43.0', revision:
>> 'accb3003b9fb8f7cae30f9669b4c594a065396a6', time: '2014-09-09 22:22:51'
>> System info: host: 'amalka-pc', ip: '127.0.0.1', os.name: 'Linux',
>> os.arch: 'amd64', os.version: '3.13.0-55-generic', java.version: '1.7.0_79'
>> Driver info: driver.version: FirefoxDriver
>> at
>> org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:130)
>> at
>> org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:246)
>> at
>> org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:114)
>> at
>> org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:191)
>> at
>> org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:186)
>> at
>> org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:182)
>> at
>> org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:95)
>> at
>> org.wso2.carbon.automation.extensions.selenium.BrowserManager.getDriver(BrowserManager.java:86)
>> at
>> org.wso2.carbon.automation.extensions.selenium.BrowserManager.getWebDriver(BrowserManager.java:62)
>> at
>> org.wso2.mb.integration.common.utils.backend.MBIntegrationUiBaseTest.init(MBIntegrationUiBaseTest.java:67)
>> at
>> org.wso2.carbon.mb.ui.test.login.LoginTestCase.init(LoginTestCase.java:47)
>> Caused by: org.openqa.selenium.firefox.NotConnectedException: Unable to
>> connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console
>> output:
>> la.org
>> ":{"d":"/usr/lib/firefox/browser/extensions/langpack-en...@firefox.mozilla.org.xpi
>> ","e":true,"v":"46.0.1","st":1463011425000},"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"/usr/lib/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi","e":true,"v":"46.0.1","st":1463010896000},"
>> langpack-en...@firefox.mozilla.org
>> ":{"d":"/usr/lib/firefox/browser/extensions/langpack-en...@firefox.mozilla.org.xpi
>> ","e":true,"v":"46.0.1","st":1463011425000}},"app-system-share":{"
>> ubu...@ubuntu.com
>> ":{"d":"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/ubu...@ubuntu.com.xpi
>> ","e":false,"v":"3.2","st":1442597111000}}}
>>
>> Thanks
>> Amalka
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Best Regards,
>
> *Thilini Cooray*
> Software Engineer
> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
> E-mail : thili...@wso2.com
>
> WSO2 Inc. www.wso2.com
> lean.enterprise.middleware
>



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


[Dev] Deleting events from DAS

2016-06-29 Thread Chathura Ekanayake
Can we delete events from DAS event store?

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


Re: [Dev] What is the compatible Firefox version, which works with selenium framework?

2016-06-29 Thread Thilini Cooray
Hi,

You will be able to run our automated Selenium tests on Firefox 23.0
AFAIR newer versions of Firefox is not compatible.

Thanks.

On Thu, Jun 30, 2016 at 11:07 AM, Amalka Subasinghe  wrote:

> Hi,
>
> I'm executing product-mb selenium tests, getting following error. I have
> firefox. 46.0.1 installed in my local machine
>
>
> JavaScript warning:
> https://normandy.cdn.mozilla.net/static/js/bundles/selfrepair-7575f6d27445b45bcffb.js,
> line 9825: mutating the [[Prototype]] of an object will cause your code to
> run very slowly; instead create the object with the correct initial
> [[Prototype]] value using Object.create
> Build info: version: '2.43.0', revision:
> 'accb3003b9fb8f7cae30f9669b4c594a065396a6', time: '2014-09-09 22:22:51'
> System info: host: 'amalka-pc', ip: '127.0.0.1', os.name: 'Linux',
> os.arch: 'amd64', os.version: '3.13.0-55-generic', java.version: '1.7.0_79'
> Driver info: driver.version: FirefoxDriver
> at
> org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:130)
> at
> org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:246)
> at
> org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:114)
> at
> org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:191)
> at
> org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:186)
> at
> org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:182)
> at
> org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:95)
> at
> org.wso2.carbon.automation.extensions.selenium.BrowserManager.getDriver(BrowserManager.java:86)
> at
> org.wso2.carbon.automation.extensions.selenium.BrowserManager.getWebDriver(BrowserManager.java:62)
> at
> org.wso2.mb.integration.common.utils.backend.MBIntegrationUiBaseTest.init(MBIntegrationUiBaseTest.java:67)
> at
> org.wso2.carbon.mb.ui.test.login.LoginTestCase.init(LoginTestCase.java:47)
> Caused by: org.openqa.selenium.firefox.NotConnectedException: Unable to
> connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console
> output:
> la.org
> ":{"d":"/usr/lib/firefox/browser/extensions/langpack-en...@firefox.mozilla.org.xpi
> ","e":true,"v":"46.0.1","st":1463011425000},"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"/usr/lib/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi","e":true,"v":"46.0.1","st":1463010896000},"
> langpack-en...@firefox.mozilla.org
> ":{"d":"/usr/lib/firefox/browser/extensions/langpack-en...@firefox.mozilla.org.xpi
> ","e":true,"v":"46.0.1","st":1463011425000}},"app-system-share":{"
> ubu...@ubuntu.com
> ":{"d":"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/ubu...@ubuntu.com.xpi
> ","e":false,"v":"3.2","st":1442597111000}}}
>
> Thanks
> Amalka
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Best Regards,

*Thilini Cooray*
Software Engineer
Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
E-mail : thili...@wso2.com

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


[Dev] What is the compatible Firefox version, which works with selenium framework?

2016-06-29 Thread Amalka Subasinghe
Hi,

I'm executing product-mb selenium tests, getting following error. I have
firefox. 46.0.1 installed in my local machine


JavaScript warning:
https://normandy.cdn.mozilla.net/static/js/bundles/selfrepair-7575f6d27445b45bcffb.js,
line 9825: mutating the [[Prototype]] of an object will cause your code to
run very slowly; instead create the object with the correct initial
[[Prototype]] value using Object.create
Build info: version: '2.43.0', revision:
'accb3003b9fb8f7cae30f9669b4c594a065396a6', time: '2014-09-09 22:22:51'
System info: host: 'amalka-pc', ip: '127.0.0.1', os.name: 'Linux', os.arch:
'amd64', os.version: '3.13.0-55-generic', java.version: '1.7.0_79'
Driver info: driver.version: FirefoxDriver
at
org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:130)
at
org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:246)
at
org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:114)
at
org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:191)
at
org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:186)
at
org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:182)
at
org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:95)
at
org.wso2.carbon.automation.extensions.selenium.BrowserManager.getDriver(BrowserManager.java:86)
at
org.wso2.carbon.automation.extensions.selenium.BrowserManager.getWebDriver(BrowserManager.java:62)
at
org.wso2.mb.integration.common.utils.backend.MBIntegrationUiBaseTest.init(MBIntegrationUiBaseTest.java:67)
at
org.wso2.carbon.mb.ui.test.login.LoginTestCase.init(LoginTestCase.java:47)
Caused by: org.openqa.selenium.firefox.NotConnectedException: Unable to
connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console
output:
la.org
":{"d":"/usr/lib/firefox/browser/extensions/langpack-en...@firefox.mozilla.org.xpi
","e":true,"v":"46.0.1","st":1463011425000},"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"/usr/lib/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi","e":true,"v":"46.0.1","st":1463010896000},"
langpack-en...@firefox.mozilla.org
":{"d":"/usr/lib/firefox/browser/extensions/langpack-en...@firefox.mozilla.org.xpi
","e":true,"v":"46.0.1","st":1463011425000}},"app-system-share":{"
ubu...@ubuntu.com
":{"d":"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/ubu...@ubuntu.com.xpi
","e":false,"v":"3.2","st":1442597111000}}}

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


Re: [Dev] Configure SSO for WSO2 products using WSO2 puppet modules

2016-06-29 Thread Sanjaya Ratnaweera
Hi Pubudu,

On Thu, Jun 30, 2016 at 12:04 AM, Pubudu Gunatilaka 
wrote:

> Hi,
>
> @Imesh: As we discussed will use sso_service_providers instead of
> sso_product_list. That is more meaningful.
>
> @Sanjaya: These hiera data will be mapped to the placeholders in
> authenticators.xml [1]. If you check the puppet template we have a property
> called disabled as follows.
>
> 
>

True. What you have done is correct. Improvement needs to be done in
configuration file :-)

Regards

   ~sanjaya




>
>
> So here, we cannot use as @sso_authentication['enabled'], because it will
> mark the disabled property as the opposite way.
>
> [1] -
> https://github.com/wso2/puppet-modules/blob/master/modules/wso2esb/templates/4.9.0/repository/conf/security/authenticators.xml.erb#L31
>
> Thank you!
>
> On Wed, Jun 29, 2016 at 7:08 PM, Sanjaya Ratnaweera 
> wrote:
>
>> Hi Pubudu,
>> Looks great. I have a small suggestion if it make sense. Any specific
>> reason of having "disabled: *false" *instead of "enabled: *true" *for
>> enabling this feature :-)
>>
>> Regards
>>
>>  ~sanjaya
>>
>> On Wed, Jun 29, 2016 at 5:28 PM, Pubudu Gunatilaka 
>> wrote:
>>
>>> Hi,
>>>
>>> I have completed setting up sso for WSO2 products using WSO2 puppet
>>> modules. This is really helpful when you need to automate the entire
>>> process of setting up sso for WSO2 products. Basically you need to do the
>>> sso changes in the product as well as in the WSO2 Identity Server or any
>>> other Identity providers. Following are the changes that needs to be done
>>> in hiera yaml files.
>>>
>>> *Any WSO2 product configuration:*
>>>
>>> Following hiera values [1] should be set in the product hiera file to
>>> enable sso. Configurations include enable sso, login page url, service
>>> provider id, sso serverice url and consumer service url.
>>>
>>>  wso2::sso_authentication:
>>> disabled: *false*
>>> login_page: */carbon/admin/login.jsp*
>>> service_provider_id: *wso2esb*
>>> sso_service_url: *https://wso2is-default:10113/samlsso
>>> *
>>> consumer_service_url: *https://wso2esb-default:10095/acs
>>> *
>>>
>>> *WSO2 IS configuration:*
>>>
>>> You can create service providers in WSO2 IS based on the details you
>>> have given to each and every product. Other fully automated option is to
>>> provide the list of products that needs to be created service providers in
>>> WSO2 IS hiera data file as below.
>>>
>>> wso2::sso_product_list:
>>> wso2esb:
>>>   assertion_consumer_service_url: *https://wso2esb-default:9443/acs
>>> *
>>>   default_assertion_consumer_service_url: 
>>> *https://wso2esb-default:9443/acs
>>> *
>>> wso2as:
>>>   assertion_consumer_service_url: *https://wso2as-default:9443/acs
>>> *
>>>   default_assertion_consumer_service_url: 
>>> *https://wso2as-default:9443/acs
>>> *
>>>
>>> This will do the following changes in WSO2 IS side.
>>> 1. Add a new service_provider block in sso-idp-config.xml.
>>> 2. Create a new file under
>>> /repository/conf/identity/service-providers/ directory with the
>>> same name of the service provider.
>>>
>>> The advantage of this is we can use this with docker containers. I have
>>> tested this in Mesos. Please share your thoughts.
>>>
>>> [1] -
>>> https://github.com/wso2/puppet-modules/blob/master/hieradata/dev/wso2/common.yaml#L169
>>> [2] -
>>> https://github.com/wso2/puppet-modules/blob/master/hieradata/dev/wso2/wso2is/5.1.0/default/default.yaml#L35
>>>
>>> Thank you!
>>> --
>>> *Pubudu Gunatilaka*
>>> Committer and PMC Member - Apache Stratos
>>> Software Engineer
>>> WSO2, Inc.: http://wso2.com
>>> mobile : +94774078049 <%2B94772207163>
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Sanjaya Ratnaweera
>> Associate Technical Lead; WSO2 Inc; http://www.wso2.com/.
>>
>> blog: http://www.samudura.org
>> homepage: http://www.samudura.net
>> twitter: http://twitter.com/sanjayar
>> Phone: +94 773037349
>>
>> Lean . Enterprise . Middleware
>>
>
>
>
> --
> *Pubudu Gunatilaka*
> Committer and PMC Member - Apache Stratos
> Software Engineer
> WSO2, Inc.: http://wso2.com
> mobile : +94774078049 <%2B94772207163>
>
>


-- 
Sanjaya Ratnaweera
Associate Technical Lead; WSO2 Inc; http://www.wso2.com/.

blog: http://www.samudura.org
homepage: http://www.samudura.net
twitter: http://twitter.com/sanjayar
Phone: +94 773037349

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


Re: [Dev] [APIM 2.0.0] Shouldn't Update application go through workflow approval process?

2016-06-29 Thread Sewmini Jayaweera
Hi Nuwan,

My mistake that I misunderstood the type of use cases we support with
application creation workflow we provide out of the box.

By going through your explanation a possible use case I could think of is a
scenario where the organisation allows a specific developer group (EX:
developers in their different departments) to create applications. In other
words allowing application creation to a restricted audience, not to all
users who have login permission to the API store. (Please correct me if I'm
wrong)

The reason why I thought that administrator validates application details
and grant permission, is that; when an application creator adds an
application, until administrator approves the particular application, edit
option is being removed from the 'Actions' column on API store >
applications page. I thought reason why we don't allow inactive
applications to be edited is that application details would be considered
in approval human task.

[1]
Is there any specific reason why we have removed edit option from the
inactive application's 'Actions' column?

[2]Also I noticed that the rejected applications are given a view option
and once user clicks on the view link an edit option is also available for
the user. (When user edits a rejected application changes will not get
saved) Since we are not providing a functionality to resubmit application
creation request after changing the content why don't we just have delete
link so it is more straight forward to the user that request cannot be
resubmitted?

Regards,
Sewmini

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Wed, Jun 29, 2016 at 5:05 PM, Nuwan Dias  wrote:

> Yes, it is ideal to have a feature which allows you to have workflows for
> Updates as well. And you are free to contribute the feature too :).
>
> Anyhow, this is not a bug but rather a request for a new feature
> (Application Update Workflow). I think you see this as a bug is because the
> sample workflow is for a "Approval" process. Workflows have many other use
> cases and even in the case of approvals, they operate in many contexts.
> Most see this on the angle of the permission to create an App and not
> really validate the App details. After all, these details effect the
> developers own App. Its unlikely someone would put details that harm his
> own Application.
>
> On Wed, Jun 29, 2016 at 4:46 PM, Sewmini Jayaweera 
> wrote:
>
>> Hi All,
>>
>> Your answers will be highly appreciated.
>>
>> I have also logged a Jira [1] in order to track this issue.
>>
>> [1]. https://wso2.org/jira/browse/APIMANAGER-5148
>>
>> Kind regards,
>> Sewmini
>>
>> Sewmini Jayaweera
>> *Software Engineer - QA Team*
>> Mobile: +94 (0) 773 381 250
>> sewm...@wso2.com
>>
>> On Tue, Jun 28, 2016 at 8:05 PM, Sewmini Jayaweera 
>> wrote:
>>
>>> Hi All,
>>>
>>> When I tested application creation workflow I observed below.
>>>
>>> - When application creation request is submitted, until admin user
>>> approves, the request editoption is not enabled for the inactive
>>> application.
>>>
>>> - Once Application creation request is approved user can edit the
>>> application and change  'Application name', 'Per token quota', callback
>>> URL and description as desired andupdate application doesn't  go
>>> through any approval process.
>>>
>>>
>>> [1]. If user wants to change application name or 'per token quota'
>>> shouldn't it go through an workflow approval process?
>>>
>>> Thank You.
>>> Kind regards,
>>> Sewmini
>>>
>>> Sewmini Jayaweera
>>> *Software Engineer - QA Team*
>>> Mobile: +94 (0) 773 381 250
>>> sewm...@wso2.com
>>>
>>
>>
>
>
> --
> Nuwan Dias
>
> Technical Lead - WSO2, Inc. http://wso2.com
> email : nuw...@wso2.com
> Phone : +94 777 775 729
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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

2016-06-29 Thread Isuru Haththotuwa
Hi Osura,

If it supports syslog as an input source, you can use the syslog appender
[1].

[1].
http://wso2.com/library/knowledge-base/2012/04/setup-syslog-wso2-carbon-products/

On Thu, Jun 30, 2016 at 10:22 AM, Osura Rathnayake 
wrote:

> Hi Isuru,
>
> thank you for the link. yes we can use Log Analytics to collect and
> analyse data. following are the types of data that can be collected from a
> linux machine.
>
>- Performance metrics
>- Syslog events
>- Alerts from Nagios and Zabbix
>- Docker container performance metrics, inventory and logs
>
> I'm looking into how we can collect wso2 Application server logs
> thanks,
>
>
>
> On Wed, Jun 29, 2016 at 8:08 PM, Isuru Haththotuwa 
> wrote:
>
>> Hi Osura,
>>
>> On Wed, Jun 29, 2016 at 7:47 PM, Osura Rathnayake 
>> wrote:
>>
>>> Hi Mentors,
>>>
>>> I'm trying to implement the log4j appender to facilitate centralized
>>> logging. In that case where should be the central location to collect logs?
>>>
>> Since the aim is to run WSO2 products on Azure, the ideal case is to use
>> a log aggregation/management solution provided by Azure, if any. Can you do
>> a quick research on this and check? Found [1] from a simple google search.
>>
>> [1].
>> https://azure.microsoft.com/en-us/documentation/articles/log-analytics-overview/
>>
>>>
>>> thanks
>>>
>>> On Tue, Jun 28, 2016 at 11:19 AM, Osura Rathnayake 
>>> wrote:
>>>
 Hi Akila,

 Thank you for the feedback and please accept my apologies for the
 delayed response.
 I updated the code according to the guidelines you have provided on
 coding standards and pushed it to the repository [1].
 tenantId is used here [2].
 I'm not familiar with Netflix Feign standard on HTTP requests. Can you
 please explain it briefly or mention a link to a tutorial?

 [1] https://github.com/osuran/azure-membership-scheme
 [2]
 https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L168

 Thanks,

 On Fri, Jun 24, 2016 at 10:49 PM, Imesh Gunaratne 
 wrote:

>
>
> On Fri, Jun 24, 2016 at 10:43 PM, Akila Ravihansa Perera <
> raviha...@wso2.com> wrote:
>
>> Hi Osura,
>>
>> I still see some issues in the code.
>>
>> 1. Make sure to use consts when appropriate [1]
>> 2. Where do you use tenantId [2] ?
>> 3. Use the actual parameter key in the error message [3] instead of
>> hard coding it
>> 4. You need to adhere to max line len of 120 chars. I see this
>> standard being violated in couple of places [4]. Use IDE formatting tool 
>> to
>> fix this
>> 5. Do not keep empty spaces [5]. This is bad code styling
>>
>> @Imesh: Osura has used Apache HTTP client to send HTTP requests [6].
>> Shall we make Netflix Feign the standard for this?
>>
>
> ​+1 Yes, definitely.
>
> Thanks​
>
>
>>
>> [1]
>> https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L117
>> [2]
>> https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L107
>> [3]
>> https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L148
>> [4]
>> https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L181
>> [5]
>> https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L94
>> [6]
>> https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L234
>>
>> Thanks.
>>
>> On Fri, Jun 24, 2016 at 11:05 AM, Imesh Gunaratne 
>> wrote:
>>
>>>
>>>
>>> On Fri, Jun 24, 2016 at 11:00 AM,  wrote:
>>>
 Hi Imesh,

 Yes I completed the evaluation.

>>> ​Great! Thanks!​
>>>
 Thanks,

 Get Outlook for Android 



 On Fri, Jun 24, 2016 at 10:08 AM +0530, "Imesh Gunaratne" <
 im...@wso2.com> wrote:

 Hi Osura,
>
> Were you able to submit the midterm evaluation? Might be better to
> do it soon.
>
> Thanks
> ​Imesh​
>
>
>>>
>>>
>>> --
>>> *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 . 

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

2016-06-29 Thread Osura Rathnayake
Hi Isuru,

thank you for the link. yes we can use Log Analytics to collect and analyse
data. following are the types of data that can be collected from a linux
machine.

   - Performance metrics
   - Syslog events
   - Alerts from Nagios and Zabbix
   - Docker container performance metrics, inventory and logs

I'm looking into how we can collect wso2 Application server logs
thanks,



On Wed, Jun 29, 2016 at 8:08 PM, Isuru Haththotuwa  wrote:

> Hi Osura,
>
> On Wed, Jun 29, 2016 at 7:47 PM, Osura Rathnayake 
> wrote:
>
>> Hi Mentors,
>>
>> I'm trying to implement the log4j appender to facilitate centralized
>> logging. In that case where should be the central location to collect logs?
>>
> Since the aim is to run WSO2 products on Azure, the ideal case is to use a
> log aggregation/management solution provided by Azure, if any. Can you do a
> quick research on this and check? Found [1] from a simple google search.
>
> [1].
> https://azure.microsoft.com/en-us/documentation/articles/log-analytics-overview/
>
>>
>> thanks
>>
>> On Tue, Jun 28, 2016 at 11:19 AM, Osura Rathnayake 
>> wrote:
>>
>>> Hi Akila,
>>>
>>> Thank you for the feedback and please accept my apologies for the
>>> delayed response.
>>> I updated the code according to the guidelines you have provided on
>>> coding standards and pushed it to the repository [1].
>>> tenantId is used here [2].
>>> I'm not familiar with Netflix Feign standard on HTTP requests. Can you
>>> please explain it briefly or mention a link to a tutorial?
>>>
>>> [1] https://github.com/osuran/azure-membership-scheme
>>> [2]
>>> https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L168
>>>
>>> Thanks,
>>>
>>> On Fri, Jun 24, 2016 at 10:49 PM, Imesh Gunaratne 
>>> wrote:
>>>


 On Fri, Jun 24, 2016 at 10:43 PM, Akila Ravihansa Perera <
 raviha...@wso2.com> wrote:

> Hi Osura,
>
> I still see some issues in the code.
>
> 1. Make sure to use consts when appropriate [1]
> 2. Where do you use tenantId [2] ?
> 3. Use the actual parameter key in the error message [3] instead of
> hard coding it
> 4. You need to adhere to max line len of 120 chars. I see this
> standard being violated in couple of places [4]. Use IDE formatting tool 
> to
> fix this
> 5. Do not keep empty spaces [5]. This is bad code styling
>
> @Imesh: Osura has used Apache HTTP client to send HTTP requests [6].
> Shall we make Netflix Feign the standard for this?
>

 ​+1 Yes, definitely.

 Thanks​


>
> [1]
> https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L117
> [2]
> https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L107
> [3]
> https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L148
> [4]
> https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L181
> [5]
> https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L94
> [6]
> https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L234
>
> Thanks.
>
> On Fri, Jun 24, 2016 at 11:05 AM, Imesh Gunaratne 
> wrote:
>
>>
>>
>> On Fri, Jun 24, 2016 at 11:00 AM,  wrote:
>>
>>> Hi Imesh,
>>>
>>> Yes I completed the evaluation.
>>>
>> ​Great! Thanks!​
>>
>>> Thanks,
>>>
>>> Get Outlook for Android 
>>>
>>>
>>>
>>> On Fri, Jun 24, 2016 at 10:08 AM +0530, "Imesh Gunaratne" <
>>> im...@wso2.com> wrote:
>>>
>>> Hi Osura,

 Were you able to submit the midterm evaluation? Might be better to
 do it soon.

 Thanks
 ​Imesh​


>>
>>
>> --
>> *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
>>
>>
>
>
> --
> Akila Ravihansa Perera
> WSO2 Inc.;  http://wso2.com/
>
> Blog: http://ravihansa3000.blogspot.com
>



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


>>>
>>>

Re: [Dev] SnakeYAML is already an OSGi bundle. Why do we have SnakeYAML in orbit?

2016-06-29 Thread Shan Mahanama
Hi Kishanthan,

I will check it and update you as soon as possible.

Thanks,
Shan.

On Wed, Jun 29, 2016 at 6:20 PM, Kishanthan Thangarajah  wrote:

> Thanks Isuru.
>
> @Shan, let's check on this and try to fix it.
>
> On Wed, Jun 29, 2016 at 6:12 PM, Isuru Perera  wrote:
>
>> Hi Kishanthan,
>>
>> I created a JIRA: https://wso2.org/jira/browse/CARBON-15972
>>
>> I just saw that stackoverflow question when searching for some other
>> issue.
>>
>> Thanks!
>>
>> Best Regards,
>> It would also be great if you can create a jira for this with the
>> information so that we could add this for next kernel release.
>>
>> On Wed, Jun 29, 2016 at 4:51 PM, Kishanthan Thangarajah <
>> kishant...@wso2.com> wrote:
>>
>>> Thanks Isuru. We can try and add this option, which would remove the
>>> need for Dynamic-Import.
>>>
>>> On Wed, Jun 29, 2016 at 3:42 PM, Isuru Perera  wrote:
>>>
 I just saw that SnakeYaml provides a "CustomClassLoaderConstructor".
 Could you please check on that.

 See:
 http://stackoverflow.com/questions/4940379/using-snakeyaml-under-osgi/4944346#4944346


 On Thu, May 19, 2016 at 1:31 PM, Isuru Perera  wrote:

> Thanks for info.
>
> Shall we ask the snakeyaml developers to add the Dynamic-Import
> header. May be we can create an issue [1]. Otherwise, that library is not
> useful in an OSGi container, right?
>
> [1]
> https://bitbucket.org/asomov/snakeyaml/issues?status=new=open
>
> On Thu, May 5, 2016 at 7:25 AM, Kishanthan Thangarajah <
> kishant...@wso2.com> wrote:
>
>> This is because we had to add Dynamic-Import header to this bundle,
>> which is missing in the original bundle, as snakeyaml was loading classes
>> dynamically when trying to build and construct the bean object for the
>> configuration.
>>
>> On Wed, May 4, 2016 at 12:16 PM, Isuru Perera 
>> wrote:
>>
>>> Hi,
>>>
>>> $subject [1]. See manifest entries in latest JARs [2]
>>>
>>> [1]
>>> https://github.com/wso2/orbit/tree/master/snakeyaml/1.16.0.wso2v1
>>> [2]
>>> http://search.maven.org/#search|gav|1|g%3A%22org.yaml%22%20AND%20a%3A%22snakeyaml%22
>>> 
>>>
>>> --
>>> Isuru Perera
>>> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
>>> Lean . Enterprise . Middleware
>>>
>>> about.me/chrishantha
>>> Contact: +IsuruPereraWSO2
>>> 
>>>
>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Associate Technical Lead,
>> Platform Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635
>> Blog - *http://kishanthan.wordpress.com
>> *
>> Twitter - *http://twitter.com/kishanthan
>> *
>>
>
>
>
> --
> Isuru Perera
> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> about.me/chrishantha
> Contact: +IsuruPereraWSO2
> 
>



 --
 Isuru Perera
 Associate Technical Lead | WSO2, Inc. | http://wso2.com/
 Lean . Enterprise . Middleware

 about.me/chrishantha
 Contact: +IsuruPereraWSO2
 

>>>
>>>
>>>
>>> --
>>> *Kishanthan Thangarajah*
>>> Technical Lead,
>>> Platform Technologies Team,
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>>
>>> Mobile - +94773426635
>>> Blog - *http://kishanthan.wordpress.com
>>> *
>>> Twitter - *http://twitter.com/kishanthan
>>> *
>>>
>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Technical Lead,
>> Platform Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635
>> Blog - *http://kishanthan.wordpress.com
>> *
>> Twitter - *http://twitter.com/kishanthan *
>>
>
>
>
> --
> *Kishanthan Thangarajah*
> Technical Lead,
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com *
> Twitter - *http://twitter.com/kishanthan *
>



-- 
Shan Mahanama
Software Engineer, WSO2 Inc. http://wso2.com

Email: sh...@wso2.com
Mobile: +94712000498
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Carbon] Carbon Products Started on My Windows 10 for JAVA_HOME 1.8

2016-06-29 Thread Nifras Ismail
Hi Abimaran,

I'm sorry for the sudden struct on my laptop to send the mail.

I fixed this issue by install Java 1.7 and then remove the Java 1.8 and Set
the JAVA_HOME to 1.7. Now it is worked fine.

Thank you

Nifras

On Thu, Jun 30, 2016 at 9:22 AM, Nifras Ismail  wrote:

> Hi Abimaran,
>
>
> On Wed, Jun 29, 2016 at 9:07 PM, Abimaran Kugathasan 
> wrote:
>
>> Hi Nifras,
>>
>> You have two problems, one is with Java 1.8 other one with after
>> uninstalling java 1.8, it doesn't work.
>>
>
>
>
>>
>> For the first issue, it's better to troubleshoot and see using guide [1].
>>
>> For your second case, what's value for JAVA_HOME after uninstalled java
>> 1.8?
>>
>> [1] : http://www.oracle.com/technetwork/java/javase/hangloop-140257.html
>>
>> On Tue, Jun 28, 2016 at 12:04 PM, Nifras Ismail  wrote:
>>
>>> Hi Carbon Team,
>>>
>>> While during 3 days, I got struct on starting the carbon products on my
>>> Windows 10 x64 Desktop.
>>>
>>> While I run the wso2server.bat,  It is freezed from the below step.
>>>
>>> [image: Inline image 1]
>>>
>>> How can i fixed this issue.
>>>
>>> I have tested on
>>> java version 1.8.0_65
>>> carbon version 4.4.6
>>> set the JAVA_HOME path to 1.8.0_65
>>> It is failed to start
>>>
>>> java version 1.8.0_65
>>> carbon version 4.4.6
>>> set the JAVA_HOME path to 1.7.0.79
>>> It is worked fine to start
>>>
>>> when i uninstall the java version 1.8.0_65 and leave 1.7.0_95 as it is.
>>> then it is failed
>>>
>>> why this mash happened.
>>>
>>> All test are did on Windows 10 x64
>>>
>>> Thank you
>>> Nifras
>>>
>>>
>>>
>>>
>>> Thank you
>>> Nifras
>>>
>>> --
>>> Nifras Ismail
>>> Associate Software Engineer
>>> WSO2
>>> Email : nif...@wso2.com
>>> Mobile : 0094 77 89 90 300
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thanks
>> Abimaran Kugathasan
>> Senior Software Engineer
>>
>> Email : abima...@wso2.com
>> Mobile : +94 773922820
>>
>> 
>> 
>>   
>> 
>>
>>
>
>
> --
> Nifras Ismail
> Associate Software Engineer
> WSO2
> Email : nif...@wso2.com
> Mobile : 0094 77 89 90 300
>



-- 
Nifras Ismail
Associate Software Engineer
WSO2
Email : nif...@wso2.com
Mobile : 0094 77 89 90 300
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Carbon] Carbon Products Started on My Windows 10 for JAVA_HOME 1.8

2016-06-29 Thread Nifras Ismail
Hi Abimaran,

On Wed, Jun 29, 2016 at 9:07 PM, Abimaran Kugathasan 
wrote:

> Hi Nifras,
>
> You have two problems, one is with Java 1.8 other one with after
> uninstalling java 1.8, it doesn't work.
>



>
> For the first issue, it's better to troubleshoot and see using guide [1].
>
> For your second case, what's value for JAVA_HOME after uninstalled java
> 1.8?
>
> [1] : http://www.oracle.com/technetwork/java/javase/hangloop-140257.html
>
> On Tue, Jun 28, 2016 at 12:04 PM, Nifras Ismail  wrote:
>
>> Hi Carbon Team,
>>
>> While during 3 days, I got struct on starting the carbon products on my
>> Windows 10 x64 Desktop.
>>
>> While I run the wso2server.bat,  It is freezed from the below step.
>>
>> [image: Inline image 1]
>>
>> How can i fixed this issue.
>>
>> I have tested on
>> java version 1.8.0_65
>> carbon version 4.4.6
>> set the JAVA_HOME path to 1.8.0_65
>> It is failed to start
>>
>> java version 1.8.0_65
>> carbon version 4.4.6
>> set the JAVA_HOME path to 1.7.0.79
>> It is worked fine to start
>>
>> when i uninstall the java version 1.8.0_65 and leave 1.7.0_95 as it is.
>> then it is failed
>>
>> why this mash happened.
>>
>> All test are did on Windows 10 x64
>>
>> Thank you
>> Nifras
>>
>>
>>
>>
>> Thank you
>> Nifras
>>
>> --
>> Nifras Ismail
>> Associate Software Engineer
>> WSO2
>> Email : nif...@wso2.com
>> Mobile : 0094 77 89 90 300
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thanks
> Abimaran Kugathasan
> Senior Software Engineer
>
> Email : abima...@wso2.com
> Mobile : +94 773922820
>
> 
> 
>   
> 
>
>


-- 
Nifras Ismail
Associate Software Engineer
WSO2
Email : nif...@wso2.com
Mobile : 0094 77 89 90 300
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DEV] Changing the name of publisher in ES

2016-06-29 Thread Megala Uthayakumar
Hi All,

Is it possible to change the default name of publisher in ES to a
customized one(i.e publisher -> wso2-publisher)? If so how to achieve it ?

Thanks.

Regards,
Megala

-- 
Megala Uthayakumar

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


Re: [Dev] Update - Provide runtime environment for jaggery apps in AS6

2016-06-29 Thread Nisala Nanayakkara
Hi all,

Please find the branch here.

[1] - https://github.com/wso2/jaggery/tree/tomcat-8.0.x-jaggery

Thanks,
Nisala

On Thu, Jun 30, 2016 at 7:12 AM, Nisala Nanayakkara  wrote:

> Hi all,
>
> We have created a seperate branch[1] with the changes required for
> providing runtime environment for jaggery apps in AS6. Currently there is
> no jenkins builder setup for this, Please get the 1.0.0-SNAPSHOT version by
> building the branch in local repo. Please inform me if there are any issues.
>
> Thanks,
> Nisala
>
> --
> *Nisala Niroshana Nanayakkara,*
> Software Engineer
> Mobile:(+94)717600022
> WSO2 Inc., http://wso2.com/
>



-- 
*Nisala Niroshana Nanayakkara,*
Software Engineer
Mobile:(+94)717600022
WSO2 Inc., http://wso2.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Update - Provide runtime environment for jaggery apps in AS6

2016-06-29 Thread Nisala Nanayakkara
Hi all,

We have created a seperate branch[1] with the changes required for
providing runtime environment for jaggery apps in AS6. Currently there is
no jenkins builder setup for this, Please get the 1.0.0-SNAPSHOT version by
building the branch in local repo. Please inform me if there are any issues.

Thanks,
Nisala

-- 
*Nisala Niroshana Nanayakkara,*
Software Engineer
Mobile:(+94)717600022
WSO2 Inc., http://wso2.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ESB 5 - Beta - Issue with the docs on installing tooling plugins

2016-06-29 Thread Jasintha Dasanayake
HI Kasun

For a stand users we expect to do following steps

- User will  goes to relevant product page  for ex: ESB page
- There s/he will download  ESB tool which is RCP version (Eclipse+product
tool)
- S/He just start the Developer Studio for ESB
-If s/he wants to install more product plugins on top of this Developer
Studio - then just got to Developer Studio menu-->install wso2 product
then all the available product will be list down in a simple window there
users only see the available products , there user can select and install
products that s/he wants .

Also in the product documentations/in the webpage, should be mentioned only
about the fine grain p2 repo[1] for a relevant product, not the based p2
url[2]. for an example  , for ESB, it should be this[1]

If user gives based url[2] of the p2 repo s/he will see all available stuff
including kernel ,platform and all products, Actually this step for only
advance users and all plugin developers.However  user only have to select
what s/he wants , for an example, if you want to install ESB tools , then
s/he have to select the ESB only doesn't need to worry on any dependancies,
all the relevant stuff will be installed automatically.

Thanks and Regards
/Jasintha

[1] -
http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/esb-tooling/releases/
[2] -
http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/releases/

On Thu, Jun 30, 2016 at 3:55 AM, Kasun Indrasiri  wrote:

> Can we only show the product list and automatically install the required
> kernel. DevStudio kernel make no sense to an end user.
>
> On Tue, Jun 28, 2016 at 9:32 PM, Awanthika Senarath 
> wrote:
>
>> Hi Nisrin,
>>
>>
>>
>> For the offline installation, user should download the pack from [1].
>>
>> If it is online installation user should point the eclipse install new
>> software to [2], select only ESB and install.
>>
>> This should be the process for alpha, beta or GA release. Steps should
>> not differ according to the release category.
>>
>>
>> [1]
>> http://builder1.us1.wso2.org/~developerstudio/devstudio-tooling-esb/5.0.0/Beta/composite/
>>
>> [2]
>> http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/releases/
>>
>> Regards
>> Awanthika
>>
>> Awanthika Senarath
>> Senior Software Engineer, WSO2 Inc.
>> Mobile: +94717681791
>>
>>
>>
>> On Wed, Jun 29, 2016 at 9:49 AM, Nisrin Sheriff  wrote:
>>
>>> Hi,
>>>
>>> Can someone please provide the correct set of steps to follow to install
>>> the ESB tooling plug-in so that I can update the docs accordingly. Also if
>>> the steps to follow when it comes to beta is going to be a lot different to
>>> the steps that need to be followed after GA, I guess we might have to
>>> create a PDF for beta users and share it.
>>>
>>> Regarding the info in the blog [1], is the information provided there
>>> correct with regard to beta?
>>>
>>> [1]
>>> https://nuwanpallewela.wordpress.com/2016/04/10/how-to-install-developer-studio-esb-tool/
>>>
>>> Thank you.
>>>
>>> Best Regards,
>>> Nisrin
>>>
>>> 
>>> 
>>> 
>>>
>>> Nisrin Sheriff
>>> Senior Technical Writer
>>>
>>> *WSO2, Inc.*lean.enterprise.middleware.
>>> mobile: +94 776 24 84 56
>>> http://wso2.com
>>>
>>> On Wed, Jun 29, 2016 at 9:26 AM, Awanthika Senarath 
>>> wrote:
>>>
 Hi Nuwan,


 This should not be the case,

 You have to publish only the main repo in the builder machine ESB
 location and then from the topmost URL should should tick ESB and install.
 It should automatically resolve the dependencies via the P2 features and
 install.

 It is never intended for the user to manually install Kernel or
 Platform.

 Regards
 Awanthika

 Awanthika Senarath
 Software Engineer, WSO2 Inc.
 Mobile: +94717681791



 On Tue, Jun 28, 2016 at 1:50 PM, Nuwan Pallewela 
 wrote:

> Hi All,
>
> Yes. The given link contains the main P2, not the composite. So the
> image should be changed according to that.
> And the steps are also needed to be changed as before installing main
> p2 user should install the developer studio kernel[1] and platform
> bundle[2].
>
> RC release will have both composite and main p2.
>
> [1]
> http://product-dist.wso2.com/p2/developer-studio-kernel/4.1.0/kernel/releases/
> [2]
> http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/platform-bundles/releases/4.1.0-201606031446/
>
> Thanks,
> Nuwan
>
> On Tue, Jun 28, 2016 at 12:18 PM, Kasun Indrasiri 

Re: [Dev] ESB 5 - Beta - Issue with the docs on installing tooling plugins

2016-06-29 Thread Kasun Indrasiri
Can we only show the product list and automatically install the required
kernel. DevStudio kernel make no sense to an end user.

On Tue, Jun 28, 2016 at 9:32 PM, Awanthika Senarath 
wrote:

> Hi Nisrin,
>
>
>
> For the offline installation, user should download the pack from [1].
>
> If it is online installation user should point the eclipse install new
> software to [2], select only ESB and install.
>
> This should be the process for alpha, beta or GA release. Steps should not
> differ according to the release category.
>
>
> [1]
> http://builder1.us1.wso2.org/~developerstudio/devstudio-tooling-esb/5.0.0/Beta/composite/
>
> [2]
> http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/releases/
>
> Regards
> Awanthika
>
> Awanthika Senarath
> Senior Software Engineer, WSO2 Inc.
> Mobile: +94717681791
>
>
>
> On Wed, Jun 29, 2016 at 9:49 AM, Nisrin Sheriff  wrote:
>
>> Hi,
>>
>> Can someone please provide the correct set of steps to follow to install
>> the ESB tooling plug-in so that I can update the docs accordingly. Also if
>> the steps to follow when it comes to beta is going to be a lot different to
>> the steps that need to be followed after GA, I guess we might have to
>> create a PDF for beta users and share it.
>>
>> Regarding the info in the blog [1], is the information provided there
>> correct with regard to beta?
>>
>> [1]
>> https://nuwanpallewela.wordpress.com/2016/04/10/how-to-install-developer-studio-esb-tool/
>>
>> Thank you.
>>
>> Best Regards,
>> Nisrin
>>
>> 
>> 
>> 
>>
>> Nisrin Sheriff
>> Senior Technical Writer
>>
>> *WSO2, Inc.*lean.enterprise.middleware.
>> mobile: +94 776 24 84 56
>> http://wso2.com
>>
>> On Wed, Jun 29, 2016 at 9:26 AM, Awanthika Senarath 
>> wrote:
>>
>>> Hi Nuwan,
>>>
>>>
>>> This should not be the case,
>>>
>>> You have to publish only the main repo in the builder machine ESB
>>> location and then from the topmost URL should should tick ESB and install.
>>> It should automatically resolve the dependencies via the P2 features and
>>> install.
>>>
>>> It is never intended for the user to manually install Kernel or Platform.
>>>
>>> Regards
>>> Awanthika
>>>
>>> Awanthika Senarath
>>> Software Engineer, WSO2 Inc.
>>> Mobile: +94717681791
>>>
>>>
>>>
>>> On Tue, Jun 28, 2016 at 1:50 PM, Nuwan Pallewela 
>>> wrote:
>>>
 Hi All,

 Yes. The given link contains the main P2, not the composite. So the
 image should be changed according to that.
 And the steps are also needed to be changed as before installing main
 p2 user should install the developer studio kernel[1] and platform
 bundle[2].

 RC release will have both composite and main p2.

 [1]
 http://product-dist.wso2.com/p2/developer-studio-kernel/4.1.0/kernel/releases/
 [2]
 http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/platform-bundles/releases/4.1.0-201606031446/

 Thanks,
 Nuwan

 On Tue, Jun 28, 2016 at 12:18 PM, Kasun Indrasiri 
 wrote:

> Can't install ESB tool on Eclipse Mars2 with [1]. Seems [1] is not
> updated with the composite tooling plugings (it only contains ESB
> features).
>
> [1]
> https://docs.wso2.com/display/ESB500/Installing+the+ESB+Tooling+Plug-in
>
>
>
> --
> Kasun Indrasiri
> Software Architect
> WSO2, Inc.; http://wso2.com
> lean.enterprise.middleware
>
> cell: +94 77 556 5206
> Blog : http://kasunpanorama.blogspot.com/
>



 --
 --

 *Nuwan Chamara Pallewela*


 *Software Engineer*

 *WSO2, Inc. *http://wso2.com
 *lean . enterprise . middleware*

 Email   *nuw...@wso2.com *
 Mobile  *+94719079739 <%2B94719079739>@*



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


>>>
>>
>


-- 
Kasun Indrasiri
Software Architect
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

cell: +94 77 556 5206
Blog : http://kasunpanorama.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] [ESB] Deprecated features in ESB 4.10

2016-06-29 Thread Kasun Indrasiri
Shall we finalize the things that are going to deprecate in ESB 5?
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-06-29 Thread Asantha Thilina
Hi Tharindu,

I have finished and added delete functions also to users ,roles and user
claim deletions to my repo[1]

[1] https://github.com/asanthamax/mongodbuserstore

Thanks,
Asantha

On Mon, Jun 27, 2016 at 4:18 AM, Asantha Thilina 
wrote:

> Hi aiya,
>
> i have small problem in my research, i will be developing convolution
> neural network using deeplearning4j to detect frauds i have discovered some
> fraud patterns which can use to train my network but the problem i having
> is,are there any possibility to add condition driven capability to dataset
> to train model
>
> Thanks,
> Asantha
>
> On Wed, Jun 22, 2016 at 9:35 PM, Tharindu Edirisinghe 
> wrote:
>
>> Good work Asantha... Meanwhile let's look at getting your research work
>> published as well. I will provide feedback for the work so far in couple of
>> days time. I have also completed the Mid Review based on your current work
>> where you are already ahead of schedule.
>>
>> Regards,
>> TharinduE
>>
>> On Wed, Jun 22, 2016 at 9:41 PM, Asantha Thilina <
>> asanthathil...@gmail.com> wrote:
>>
>>> Hi Tharindu,
>>>
>>> following is the summary of operations i have implemented up to now and
>>> yet to implement
>>>
>>> 1. Add new MongoDB User Store - done both case sensitive and
>>> intensensitive
>>> 2. Add new users to MongoDB user store - done both case sensitive and
>>> intensensitive
>>> 3. Add new roles to MongoDB user store - done both case sensitive and
>>> intensensitive
>>> 4. Search users and roles - done both case sensitive and intensensitive
>>> 5. Assign roles to mongodb user store users - done both case sensitive
>>> and intensensitive
>>> 6. Assign users to mongodb user store roles - done both case sensitive
>>> and intensensitive
>>> 7. Edit claim values of user profiles  - done both case sensitive and
>>> intensensitive
>>> for those implemented user operations i have added selenium scripts also
>>> to my repo[1] and also i have prepared user guide[2] and administrator
>>> guide[3] also and also i have updated my blog[4] with all my tasks what i
>>> have done and following are the tasks yet to complete
>>>
>>> 1. implement delete operations
>>> 2. implement new profiles adding
>>> 3. check for injections possibilities and improve the security of all
>>> the functions
>>> 4. prepare full test scripts for all the functions
>>> 5. prepare developer guide and database architecture diagrams
>>>
>>> expect your feedback
>>>
>>> [1]  https://github.com/asanthamax/mongodbuserstore
>>> [2]
>>> https://docs.google.com/document/d/1mdnmYruzQz5QSxAYwM1XVeJntJMFdxUsV5gord7LuPA/edit?usp=sharing
>>> [3]
>>> https://docs.google.com/document/d/1fCLfZYsPOBkHMzRCGM3aexoBSplX3bKIRmONmFsgkBc/edit?usp=sharing
>>> [4]  http://asanthamax.blogspot.com
>>>
>>> Thanks,
>>> Asantha
>>>
>>> On Wed, Jun 22, 2016 at 12:29 AM, Asantha Thilina <
>>> asanthathil...@gmail.com> wrote:
>>>
 Hi Tharindu,

 I have finished the case insensitive user operations as well and i
 added selenium test scripts for those implemented functions to my repo[1]
 except delete function all the other functions with test script added to my
 repo[1]

 [1] https://github.com/asanthamax/mongodbuserstore

 Thanks,
 Asantha

 On Fri, Jun 17, 2016 at 2:28 AM, Asantha Thilina <
 asanthathil...@gmail.com> wrote:

> Hi Tharindu,
>
> sure i'll be look forward for the hangout
>
> Thanks,
> Asantha
>
> On Fri, Jun 17, 2016 at 2:22 AM, Tharindu Edirisinghe <
> tharin...@wso2.com> wrote:
>
>> Hi Asantha,
>>
>> I will go through the docs and provide feedback soon. Let's have a
>> hangout session to discuss the pending issues.
>>
>> I'm available today 9.00 P.M IST for a google hangout.
>>
>> Thanks,
>> TharinduE
>>
>> On Fri, Jun 17, 2016 at 11:30 AM, Asantha Thilina <
>> asanthathil...@gmail.com> wrote:
>>
>>> Hi Tharindu,
>>>
>>> I have prepared the user guide[1] and administrator guide[2] in
>>> google doc since all tasks are not finished yet i have only added the 
>>> tasks
>>> i have already done and there is still the developer guide has to be
>>> prepare i will prepare it as sooner as well
>>>
>>> [1]
>>> https://docs.google.com/document/d/1fCLfZYsPOBkHMzRCGM3aexoBSplX3bKIRmONmFsgkBc/edit?usp=sharing
>>> [2]
>>> https://docs.google.com/document/d/1mdnmYruzQz5QSxAYwM1XVeJntJMFdxUsV5gord7LuPA/edit?usp=sharing
>>>
>>> Thanks,
>>> Asantha
>>>
>>> On Tue, Jun 14, 2016 at 1:55 AM, Asantha Thilina <
>>> asanthathil...@gmail.com> wrote:
>>>
 Hi Tharindu,

 sure i will prepare those documents sooner

 Thanks,
 Asantha

 On Mon, Jun 13, 2016 at 9:38 PM, Tharindu Edirisinghe <
 tharin...@wso2.com> wrote:

> Excellent work Asantha !
>

Re: [Dev] Configure SSO for WSO2 products using WSO2 puppet modules

2016-06-29 Thread Pubudu Gunatilaka
Hi,

@Imesh: As we discussed will use sso_service_providers instead of
sso_product_list. That is more meaningful.

@Sanjaya: These hiera data will be mapped to the placeholders in
authenticators.xml [1]. If you check the puppet template we have a property
called disabled as follows.



So here, we cannot use as @sso_authentication['enabled'], because it will
mark the disabled property as the opposite way.

[1] -
https://github.com/wso2/puppet-modules/blob/master/modules/wso2esb/templates/4.9.0/repository/conf/security/authenticators.xml.erb#L31

Thank you!

On Wed, Jun 29, 2016 at 7:08 PM, Sanjaya Ratnaweera 
wrote:

> Hi Pubudu,
> Looks great. I have a small suggestion if it make sense. Any specific
> reason of having "disabled: *false" *instead of "enabled: *true" *for
> enabling this feature :-)
>
> Regards
>
>  ~sanjaya
>
> On Wed, Jun 29, 2016 at 5:28 PM, Pubudu Gunatilaka 
> wrote:
>
>> Hi,
>>
>> I have completed setting up sso for WSO2 products using WSO2 puppet
>> modules. This is really helpful when you need to automate the entire
>> process of setting up sso for WSO2 products. Basically you need to do the
>> sso changes in the product as well as in the WSO2 Identity Server or any
>> other Identity providers. Following are the changes that needs to be done
>> in hiera yaml files.
>>
>> *Any WSO2 product configuration:*
>>
>> Following hiera values [1] should be set in the product hiera file to
>> enable sso. Configurations include enable sso, login page url, service
>> provider id, sso serverice url and consumer service url.
>>
>>  wso2::sso_authentication:
>> disabled: *false*
>> login_page: */carbon/admin/login.jsp*
>> service_provider_id: *wso2esb*
>> sso_service_url: *https://wso2is-default:10113/samlsso
>> *
>> consumer_service_url: *https://wso2esb-default:10095/acs
>> *
>>
>> *WSO2 IS configuration:*
>>
>> You can create service providers in WSO2 IS based on the details you have
>> given to each and every product. Other fully automated option is to provide
>> the list of products that needs to be created service providers in WSO2 IS
>> hiera data file as below.
>>
>> wso2::sso_product_list:
>> wso2esb:
>>   assertion_consumer_service_url: *https://wso2esb-default:9443/acs
>> *
>>   default_assertion_consumer_service_url: 
>> *https://wso2esb-default:9443/acs
>> *
>> wso2as:
>>   assertion_consumer_service_url: *https://wso2as-default:9443/acs
>> *
>>   default_assertion_consumer_service_url: 
>> *https://wso2as-default:9443/acs
>> *
>>
>> This will do the following changes in WSO2 IS side.
>> 1. Add a new service_provider block in sso-idp-config.xml.
>> 2. Create a new file under
>> /repository/conf/identity/service-providers/ directory with the
>> same name of the service provider.
>>
>> The advantage of this is we can use this with docker containers. I have
>> tested this in Mesos. Please share your thoughts.
>>
>> [1] -
>> https://github.com/wso2/puppet-modules/blob/master/hieradata/dev/wso2/common.yaml#L169
>> [2] -
>> https://github.com/wso2/puppet-modules/blob/master/hieradata/dev/wso2/wso2is/5.1.0/default/default.yaml#L35
>>
>> Thank you!
>> --
>> *Pubudu Gunatilaka*
>> Committer and PMC Member - Apache Stratos
>> Software Engineer
>> WSO2, Inc.: http://wso2.com
>> mobile : +94774078049 <%2B94772207163>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Sanjaya Ratnaweera
> Associate Technical Lead; WSO2 Inc; http://www.wso2.com/.
>
> blog: http://www.samudura.org
> homepage: http://www.samudura.net
> twitter: http://twitter.com/sanjayar
> Phone: +94 773037349
>
> Lean . Enterprise . Middleware
>



-- 
*Pubudu Gunatilaka*
Committer and PMC Member - Apache Stratos
Software Engineer
WSO2, Inc.: http://wso2.com
mobile : +94774078049 <%2B94772207163>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] DSS Struct Type sample with ESB

2016-06-29 Thread Godwin Shrimal
Hi All,

Do we have $Subject ?


Thanks
Godwin

-- 
*Godwin Amila Shrimal*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *http://lnkd.in/KUum6D *
twitter: https://twitter.com/godwinamila
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Carbon] Carbon Products Started on My Windows 10 for JAVA_HOME 1.8

2016-06-29 Thread Abimaran Kugathasan
Hi Nifras,

You have two problems, one is with Java 1.8 other one with after
uninstalling java 1.8, it doesn't work.

For the first issue, it's better to troubleshoot and see using guide [1].

For your second case, what's value for JAVA_HOME after uninstalled java 1.8?

[1] : http://www.oracle.com/technetwork/java/javase/hangloop-140257.html

On Tue, Jun 28, 2016 at 12:04 PM, Nifras Ismail  wrote:

> Hi Carbon Team,
>
> While during 3 days, I got struct on starting the carbon products on my
> Windows 10 x64 Desktop.
>
> While I run the wso2server.bat,  It is freezed from the below step.
>
> [image: Inline image 1]
>
> How can i fixed this issue.
>
> I have tested on
> java version 1.8.0_65
> carbon version 4.4.6
> set the JAVA_HOME path to 1.8.0_65
> It is failed to start
>
> java version 1.8.0_65
> carbon version 4.4.6
> set the JAVA_HOME path to 1.7.0.79
> It is worked fine to start
>
> when i uninstall the java version 1.8.0_65 and leave 1.7.0_95 as it is.
> then it is failed
>
> why this mash happened.
>
> All test are did on Windows 10 x64
>
> Thank you
> Nifras
>
>
>
>
> Thank you
> Nifras
>
> --
> Nifras Ismail
> Associate Software Engineer
> WSO2
> Email : nif...@wso2.com
> Mobile : 0094 77 89 90 300
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thanks
Abimaran Kugathasan
Senior Software Engineer

Email : abima...@wso2.com
Mobile : +94 773922820


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


[Dev] [AppCloud] Getting wrong error msg in the log page for applications which were stopped due to inactivity.

2016-06-29 Thread Kasun De Silva
This is working as expected for applications which are stopped manually.
But for applications which are stopped due to inactivity the status is
different than "stopped" for these applications.

Any reason for this ?

In the log page error msg is generated by checking the application status.
But for applications which stopped by the script (cron job) this status is
different than "stopped" hence the wrong error msg is being displayed.
Created the [1] to track this.

[1] ​https://wso2.org/jira/browse/APPCLOUD-193​

​Thanks,
Kasun​

-- 
*Kasun de Silva*
Senior Software Engineer

WSO2 Inc *. *|* E*mail : kas...@wso2.com | Mobile: +94 77
794 4260
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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

2016-06-29 Thread Isuru Haththotuwa
Hi Osura,

On Wed, Jun 29, 2016 at 7:47 PM, Osura Rathnayake 
wrote:

> Hi Mentors,
>
> I'm trying to implement the log4j appender to facilitate centralized
> logging. In that case where should be the central location to collect logs?
>
Since the aim is to run WSO2 products on Azure, the ideal case is to use a
log aggregation/management solution provided by Azure, if any. Can you do a
quick research on this and check? Found [1] from a simple google search.

[1].
https://azure.microsoft.com/en-us/documentation/articles/log-analytics-overview/

>
> thanks
>
> On Tue, Jun 28, 2016 at 11:19 AM, Osura Rathnayake 
> wrote:
>
>> Hi Akila,
>>
>> Thank you for the feedback and please accept my apologies for the delayed
>> response.
>> I updated the code according to the guidelines you have provided on
>> coding standards and pushed it to the repository [1].
>> tenantId is used here [2].
>> I'm not familiar with Netflix Feign standard on HTTP requests. Can you
>> please explain it briefly or mention a link to a tutorial?
>>
>> [1] https://github.com/osuran/azure-membership-scheme
>> [2]
>> https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L168
>>
>> Thanks,
>>
>> On Fri, Jun 24, 2016 at 10:49 PM, Imesh Gunaratne  wrote:
>>
>>>
>>>
>>> On Fri, Jun 24, 2016 at 10:43 PM, Akila Ravihansa Perera <
>>> raviha...@wso2.com> wrote:
>>>
 Hi Osura,

 I still see some issues in the code.

 1. Make sure to use consts when appropriate [1]
 2. Where do you use tenantId [2] ?
 3. Use the actual parameter key in the error message [3] instead of
 hard coding it
 4. You need to adhere to max line len of 120 chars. I see this standard
 being violated in couple of places [4]. Use IDE formatting tool to fix this
 5. Do not keep empty spaces [5]. This is bad code styling

 @Imesh: Osura has used Apache HTTP client to send HTTP requests [6].
 Shall we make Netflix Feign the standard for this?

>>>
>>> ​+1 Yes, definitely.
>>>
>>> Thanks​
>>>
>>>

 [1]
 https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L117
 [2]
 https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L107
 [3]
 https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L148
 [4]
 https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L181
 [5]
 https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L94
 [6]
 https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L234

 Thanks.

 On Fri, Jun 24, 2016 at 11:05 AM, Imesh Gunaratne 
 wrote:

>
>
> On Fri, Jun 24, 2016 at 11:00 AM,  wrote:
>
>> Hi Imesh,
>>
>> Yes I completed the evaluation.
>>
> ​Great! Thanks!​
>
>> Thanks,
>>
>> Get Outlook for Android 
>>
>>
>>
>> On Fri, Jun 24, 2016 at 10:08 AM +0530, "Imesh Gunaratne" <
>> im...@wso2.com> wrote:
>>
>> Hi Osura,
>>>
>>> Were you able to submit the midterm evaluation? Might be better to
>>> do it soon.
>>>
>>> Thanks
>>> ​Imesh​
>>>
>>>
>
>
> --
> *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
>
>


 --
 Akila Ravihansa Perera
 WSO2 Inc.;  http://wso2.com/

 Blog: http://ravihansa3000.blogspot.com

>>>
>>>
>>>
>>> --
>>> *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
>>>
>>>
>>
>>
>> --
>> Regards,
>> Osura Rathnayake
>>
>
>
>
> --
> Regards,
> Osura Rathnayake
>



-- 
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] [GSOC 16] Initial Project Progress

2016-06-29 Thread Osura Rathnayake
Hi Mentors,

I'm trying to implement the log4j appender to facilitate centralized
logging. In that case where should be the central location to collect logs?

thanks

On Tue, Jun 28, 2016 at 11:19 AM, Osura Rathnayake 
wrote:

> Hi Akila,
>
> Thank you for the feedback and please accept my apologies for the delayed
> response.
> I updated the code according to the guidelines you have provided on coding
> standards and pushed it to the repository [1].
> tenantId is used here [2].
> I'm not familiar with Netflix Feign standard on HTTP requests. Can you
> please explain it briefly or mention a link to a tutorial?
>
> [1] https://github.com/osuran/azure-membership-scheme
> [2]
> https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L168
>
> Thanks,
>
> On Fri, Jun 24, 2016 at 10:49 PM, Imesh Gunaratne  wrote:
>
>>
>>
>> On Fri, Jun 24, 2016 at 10:43 PM, Akila Ravihansa Perera <
>> raviha...@wso2.com> wrote:
>>
>>> Hi Osura,
>>>
>>> I still see some issues in the code.
>>>
>>> 1. Make sure to use consts when appropriate [1]
>>> 2. Where do you use tenantId [2] ?
>>> 3. Use the actual parameter key in the error message [3] instead of hard
>>> coding it
>>> 4. You need to adhere to max line len of 120 chars. I see this standard
>>> being violated in couple of places [4]. Use IDE formatting tool to fix this
>>> 5. Do not keep empty spaces [5]. This is bad code styling
>>>
>>> @Imesh: Osura has used Apache HTTP client to send HTTP requests [6].
>>> Shall we make Netflix Feign the standard for this?
>>>
>>
>> ​+1 Yes, definitely.
>>
>> Thanks​
>>
>>
>>>
>>> [1]
>>> https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L117
>>> [2]
>>> https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L107
>>> [3]
>>> https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L148
>>> [4]
>>> https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L181
>>> [5]
>>> https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L94
>>> [6]
>>> https://github.com/osuran/azure-membership-scheme/blob/master/src/main/java/org/wso2/carbon/clustering/azure/AzureMembershipScheme.java#L234
>>>
>>> Thanks.
>>>
>>> On Fri, Jun 24, 2016 at 11:05 AM, Imesh Gunaratne 
>>> wrote:
>>>


 On Fri, Jun 24, 2016 at 11:00 AM,  wrote:

> Hi Imesh,
>
> Yes I completed the evaluation.
>
 ​Great! Thanks!​

> Thanks,
>
> Get Outlook for Android 
>
>
>
> On Fri, Jun 24, 2016 at 10:08 AM +0530, "Imesh Gunaratne" <
> im...@wso2.com> wrote:
>
> Hi Osura,
>>
>> Were you able to submit the midterm evaluation? Might be better to do
>> it soon.
>>
>> Thanks
>> ​Imesh​
>>
>>


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


>>>
>>>
>>> --
>>> Akila Ravihansa Perera
>>> WSO2 Inc.;  http://wso2.com/
>>>
>>> Blog: http://ravihansa3000.blogspot.com
>>>
>>
>>
>>
>> --
>> *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
>>
>>
>
>
> --
> Regards,
> Osura Rathnayake
>



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


Re: [Dev] Configure SSO for WSO2 products using WSO2 puppet modules

2016-06-29 Thread Sanjaya Ratnaweera
Hi Pubudu,
Looks great. I have a small suggestion if it make sense. Any specific
reason of having "disabled: *false" *instead of "enabled: *true" *for
enabling this feature :-)

Regards

 ~sanjaya

On Wed, Jun 29, 2016 at 5:28 PM, Pubudu Gunatilaka  wrote:

> Hi,
>
> I have completed setting up sso for WSO2 products using WSO2 puppet
> modules. This is really helpful when you need to automate the entire
> process of setting up sso for WSO2 products. Basically you need to do the
> sso changes in the product as well as in the WSO2 Identity Server or any
> other Identity providers. Following are the changes that needs to be done
> in hiera yaml files.
>
> *Any WSO2 product configuration:*
>
> Following hiera values [1] should be set in the product hiera file to
> enable sso. Configurations include enable sso, login page url, service
> provider id, sso serverice url and consumer service url.
>
>  wso2::sso_authentication:
> disabled: *false*
> login_page: */carbon/admin/login.jsp*
> service_provider_id: *wso2esb*
> sso_service_url: *https://wso2is-default:10113/samlsso
> *
> consumer_service_url: *https://wso2esb-default:10095/acs
> *
>
> *WSO2 IS configuration:*
>
> You can create service providers in WSO2 IS based on the details you have
> given to each and every product. Other fully automated option is to provide
> the list of products that needs to be created service providers in WSO2 IS
> hiera data file as below.
>
> wso2::sso_product_list:
> wso2esb:
>   assertion_consumer_service_url: *https://wso2esb-default:9443/acs
> *
>   default_assertion_consumer_service_url: 
> *https://wso2esb-default:9443/acs
> *
> wso2as:
>   assertion_consumer_service_url: *https://wso2as-default:9443/acs
> *
>   default_assertion_consumer_service_url: *https://wso2as-default:9443/acs
> *
>
> This will do the following changes in WSO2 IS side.
> 1. Add a new service_provider block in sso-idp-config.xml.
> 2. Create a new file under
> /repository/conf/identity/service-providers/ directory with the
> same name of the service provider.
>
> The advantage of this is we can use this with docker containers. I have
> tested this in Mesos. Please share your thoughts.
>
> [1] -
> https://github.com/wso2/puppet-modules/blob/master/hieradata/dev/wso2/common.yaml#L169
> [2] -
> https://github.com/wso2/puppet-modules/blob/master/hieradata/dev/wso2/wso2is/5.1.0/default/default.yaml#L35
>
> Thank you!
> --
> *Pubudu Gunatilaka*
> Committer and PMC Member - Apache Stratos
> Software Engineer
> WSO2, Inc.: http://wso2.com
> mobile : +94774078049 <%2B94772207163>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Sanjaya Ratnaweera
Associate Technical Lead; WSO2 Inc; http://www.wso2.com/.

blog: http://www.samudura.org
homepage: http://www.samudura.net
twitter: http://twitter.com/sanjayar
Phone: +94 773037349

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


Re: [Dev] Configure SSO for WSO2 products using WSO2 puppet modules

2016-06-29 Thread Imesh Gunaratne
[+ Johann]

This looks great Pubudu!
Wouldn't it be more meaningful if we use "sso_service_providers" instead of
"sso_product_list"?

Thanks

On Wed, Jun 29, 2016 at 5:28 PM, Pubudu Gunatilaka  wrote:

> Hi,
>
> I have completed setting up sso for WSO2 products using WSO2 puppet
> modules. This is really helpful when you need to automate the entire
> process of setting up sso for WSO2 products. Basically you need to do the
> sso changes in the product as well as in the WSO2 Identity Server or any
> other Identity providers. Following are the changes that needs to be done
> in hiera yaml files.
>
> *Any WSO2 product configuration:*
>
> Following hiera values [1] should be set in the product hiera file to
> enable sso. Configurations include enable sso, login page url, service
> provider id, sso serverice url and consumer service url.
>
>  wso2::sso_authentication:
> disabled: *false*
> login_page: */carbon/admin/login.jsp*
> service_provider_id: *wso2esb*
> sso_service_url: *https://wso2is-default:10113/samlsso
> *
> consumer_service_url: *https://wso2esb-default:10095/acs
> *
>
> *WSO2 IS configuration:*
>
> You can create service providers in WSO2 IS based on the details you have
> given to each and every product. Other fully automated option is to provide
> the list of products that needs to be created service providers in WSO2 IS
> hiera data file as below.
>
> wso2::sso_product_list:
> wso2esb:
>   assertion_consumer_service_url: *https://wso2esb-default:9443/acs
> *
>   default_assertion_consumer_service_url: 
> *https://wso2esb-default:9443/acs
> *
> wso2as:
>   assertion_consumer_service_url: *https://wso2as-default:9443/acs
> *
>   default_assertion_consumer_service_url: *https://wso2as-default:9443/acs
> *
>
> This will do the following changes in WSO2 IS side.
> 1. Add a new service_provider block in sso-idp-config.xml.
> 2. Create a new file under
> /repository/conf/identity/service-providers/ directory with the
> same name of the service provider.
>
> The advantage of this is we can use this with docker containers. I have
> tested this in Mesos. Please share your thoughts.
>
> [1] -
> https://github.com/wso2/puppet-modules/blob/master/hieradata/dev/wso2/common.yaml#L169
> [2] -
> https://github.com/wso2/puppet-modules/blob/master/hieradata/dev/wso2/wso2is/5.1.0/default/default.yaml#L35
>
> Thank you!
> --
> *Pubudu Gunatilaka*
> Committer and PMC Member - Apache Stratos
> Software Engineer
> WSO2, Inc.: http://wso2.com
> mobile : +94774078049 <%2B94772207163>
>
>


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


Re: [Dev] Improvement to Puppet modules installation instructions document

2016-06-29 Thread Sanjaya Ratnaweera
I just edited the document saying installation instructions are specific to
Ubuntu 14.04.

Regards

  ~sanjaya

On Wed, Jun 29, 2016 at 5:57 PM, Sanjaya Ratnaweera 
wrote:

> Hi Pubudu,
>
>
> On Wed, Jun 29, 2016 at 5:48 PM, Pubudu Gunatilaka 
> wrote:
>
>> Hi,
>>
>> Thank you for pointing out. I have now updated with tested OSs. Please do
>> add any missing OSs in the list.
>>
>
> Thank you for looking in to this. Isn't the installation instructions
> specific to Ubuntu? In "installing puppet -> puppet master" section
> commands and repositories are specific to Ubuntu 14.04. We may have to say
> installing in Ubuntu 14.04 or this document is created setting up for
> Ubuntu. These commands wont work on Redhat.
>
> Regards
>
>  ~sanjaya
> Puppet Master
>
>
>
>>
>> [1] -
>> https://github.com/wso2/puppet-modules/wiki/Use-WSO2-Puppet-Modules-in-puppet-master-agent-Environment
>>
>> Thank you!
>>
>> On Wed, Jun 29, 2016 at 3:04 PM, Sanjaya Ratnaweera 
>> wrote:
>>
>>> Hi all,
>>> Looking at the installation instructions in this document[1] it's
>>> written for Ubuntu 14.04. I think it's better to mention the tested
>>> operating system version somewhere in that document. Now the Ubuntu 16.04
>>> is resealed and if we don't specifically mention the tested version people
>>> may try in Ubuntu 16.04 with this repository.
>>>
>>> Regards
>>>
>>>  ~sanjaya
>>>
>>>
>>> [1]
>>> https://github.com/wso2/puppet-modules/wiki/Use-WSO2-Puppet-Modules-in-puppet-master-agent-Environment
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Pubudu Gunatilaka*
>> Committer and PMC Member - Apache Stratos
>> Software Engineer
>> WSO2, Inc.: http://wso2.com
>> mobile : +94774078049 <%2B94772207163>
>>
>>
>
>
> --
> Sanjaya Ratnaweera
> Associate Technical Lead; WSO2 Inc; http://www.wso2.com/.
>
> blog: http://www.samudura.org
> homepage: http://www.samudura.net
> twitter: http://twitter.com/sanjayar
> Phone: +94 773037349
>
> Lean . Enterprise . Middleware
>



-- 
Sanjaya Ratnaweera
Associate Technical Lead; WSO2 Inc; http://www.wso2.com/.

blog: http://www.samudura.org
homepage: http://www.samudura.net
twitter: http://twitter.com/sanjayar
Phone: +94 773037349

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


Re: [Dev] carbon-datasources: Supporting Database Properties

2016-06-29 Thread Kishanthan Thangarajah
Great.

@Isuru, hope you can verify this now.

On Tue, Jun 28, 2016 at 6:04 PM, Chanaka Cooray  wrote:

> Hi,
>
> The issue is resolved now [1].
>
> [1] https://github.com/wso2/carbon-datasources/pull/17
>
> Thanks,
> Chanaka.
>
> On Fri, Jun 24, 2016 at 12:00 PM, Chanaka Cooray 
> wrote:
>
>> Hi all,
>>
>> I will look into the issue.
>>
>> Thanks,
>> Chanaka.
>>
>> On Fri, Jun 24, 2016 at 11:01 AM, Kishanthan Thangarajah <
>> kishant...@wso2.com> wrote:
>>
>>> We will add this for the next minor release.
>>>
>>> @Isuru, you can go ahead with the version range as you mentioned for
>>> package imports.
>>>
>>> On Thu, Jun 23, 2016 at 1:21 PM, Afkham Azeez  wrote:
>>>
 Can we get a quick turnaround on this please?

 On Thu, Jun 23, 2016 at 12:10 PM, Isuru Perera  wrote:

> Hi,
>
> This regarding CDATASRCS-2 .
> I guess that won't be fixed soon. But as I mentioned, this issue is a
> blocker for Metrics release. Since we need to release Metrics soon (by 
> next
> week), I'll release the Metrics with datasources import range "[1.0.0,
> 2.0.0)"
>
> I hope this issue will be fixed in a Minor release. I also hope the
> datasource properties will be supported using the same configuration
> elements used in C4. See:
> https://github.com/wso2/carbon-metrics/blob/v1.2.1/features/carbon-metrics/org.wso2.carbon.metrics.server.feature/src/main/resources/conf/metrics-datasources.xml#L144-L146
>
> Please let me know the plan to support datasource properties in C5.
>
> Thanks!
>
> Best Regards,
>
> On Thu, Jun 2, 2016 at 12:25 PM, Isuru Perera  wrote:
>
>> Hi,
>>
>> This is regarding [1]. Supporting database properties is required for
>> Carbon Metrics.
>>
>> It will be a blocker when someone wants to use Carbon Metrics with
>> Oracle database.
>>
>> Can we get it fixed soon?
>>
>> Thanks!
>>
>> Best Regards,
>>
>> [1] https://wso2.org/jira/browse/CDATASOURC-2
>>
>> --
>> Isuru Perera
>> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
>> Lean . Enterprise . Middleware
>>
>> about.me/chrishantha
>> Contact: +IsuruPereraWSO2
>> 
>>
>
>
>
> --
> Isuru Perera
> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> about.me/chrishantha
> Contact: +IsuruPereraWSO2
> 
>



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

>>>
>>>
>>>
>>> --
>>> *Kishanthan Thangarajah*
>>> Technical Lead,
>>> Platform Technologies Team,
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>>
>>> Mobile - +94773426635
>>> Blog - *http://kishanthan.wordpress.com
>>> *
>>> Twitter - *http://twitter.com/kishanthan
>>> *
>>>
>>
>>
>>
>> --
>> Chanaka Cooray
>> Software Engineer, WSO2 Inc. http://wso2.com
>> Email: chana...@wso2.com
>> Mobile: +94713149860
>>
>>
>
>
> --
> Chanaka Cooray
> Software Engineer, WSO2 Inc. http://wso2.com
> Email: chana...@wso2.com
> Mobile: +94713149860
>
>


-- 
*Kishanthan Thangarajah*
Technical Lead,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com *
Twitter - *http://twitter.com/kishanthan *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Orbit bundle for shaded HBase client

2016-06-29 Thread Gokul Balakrishnan
Hi Kernel team,

I have sent a pull request for $subject at [1].

This orbit bundle exposes packages from the shaded HBase client, which is
required by DAS 3.1.0 and product analytics packs.

The reason for going with the shaded client over the standard HBase client
bundle is because even the latest released HBase client (1.2.1) is not
compatible with Guava versions 17 upwards due to an issue [2]. The shaded
client overcomes this limitation through encompassing such dependencies
within itself.

Could you review please?

Thanks,

[1] https://github.com/wso2/orbit/pull/211

[2] https://issues.apache.org/jira/browse/HBASE-14963

-- 
Gokul Balakrishnan
Senior Software Engineer,
WSO2, Inc. http://wso2.com
M +94 77 5935 789 | +44 7563 570502
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] SnakeYAML is already an OSGi bundle. Why do we have SnakeYAML in orbit?

2016-06-29 Thread Kishanthan Thangarajah
Thanks Isuru.

@Shan, let's check on this and try to fix it.

On Wed, Jun 29, 2016 at 6:12 PM, Isuru Perera  wrote:

> Hi Kishanthan,
>
> I created a JIRA: https://wso2.org/jira/browse/CARBON-15972
>
> I just saw that stackoverflow question when searching for some other issue.
>
> Thanks!
>
> Best Regards,
> It would also be great if you can create a jira for this with the
> information so that we could add this for next kernel release.
>
> On Wed, Jun 29, 2016 at 4:51 PM, Kishanthan Thangarajah <
> kishant...@wso2.com> wrote:
>
>> Thanks Isuru. We can try and add this option, which would remove the need
>> for Dynamic-Import.
>>
>> On Wed, Jun 29, 2016 at 3:42 PM, Isuru Perera  wrote:
>>
>>> I just saw that SnakeYaml provides a "CustomClassLoaderConstructor".
>>> Could you please check on that.
>>>
>>> See:
>>> http://stackoverflow.com/questions/4940379/using-snakeyaml-under-osgi/4944346#4944346
>>>
>>>
>>> On Thu, May 19, 2016 at 1:31 PM, Isuru Perera  wrote:
>>>
 Thanks for info.

 Shall we ask the snakeyaml developers to add the Dynamic-Import header.
 May be we can create an issue [1]. Otherwise, that library is not useful in
 an OSGi container, right?

 [1]
 https://bitbucket.org/asomov/snakeyaml/issues?status=new=open

 On Thu, May 5, 2016 at 7:25 AM, Kishanthan Thangarajah <
 kishant...@wso2.com> wrote:

> This is because we had to add Dynamic-Import header to this bundle,
> which is missing in the original bundle, as snakeyaml was loading classes
> dynamically when trying to build and construct the bean object for the
> configuration.
>
> On Wed, May 4, 2016 at 12:16 PM, Isuru Perera  wrote:
>
>> Hi,
>>
>> $subject [1]. See manifest entries in latest JARs [2]
>>
>> [1] https://github.com/wso2/orbit/tree/master/snakeyaml/1.16.0.wso2v1
>> [2]
>> http://search.maven.org/#search|gav|1|g%3A%22org.yaml%22%20AND%20a%3A%22snakeyaml%22
>> 
>>
>> --
>> Isuru Perera
>> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
>> Lean . Enterprise . Middleware
>>
>> about.me/chrishantha
>> Contact: +IsuruPereraWSO2
>> 
>>
>
>
>
> --
> *Kishanthan Thangarajah*
> Associate Technical Lead,
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com
> *
> Twitter - *http://twitter.com/kishanthan
> *
>



 --
 Isuru Perera
 Associate Technical Lead | WSO2, Inc. | http://wso2.com/
 Lean . Enterprise . Middleware

 about.me/chrishantha
 Contact: +IsuruPereraWSO2
 

>>>
>>>
>>>
>>> --
>>> Isuru Perera
>>> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
>>> Lean . Enterprise . Middleware
>>>
>>> about.me/chrishantha
>>> Contact: +IsuruPereraWSO2
>>> 
>>>
>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Technical Lead,
>> Platform Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635
>> Blog - *http://kishanthan.wordpress.com
>> *
>> Twitter - *http://twitter.com/kishanthan *
>>
>
>
>
> --
> *Kishanthan Thangarajah*
> Technical Lead,
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com *
> Twitter - *http://twitter.com/kishanthan *
>



-- 
*Kishanthan Thangarajah*
Technical Lead,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com *
Twitter - *http://twitter.com/kishanthan *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Improvement to Puppet modules installation instructions document

2016-06-29 Thread Pubudu Gunatilaka
Thank you very much. Now it is clear.

On Wed, Jun 29, 2016 at 6:18 PM, Sanjaya Ratnaweera 
wrote:

> I just edited the document saying installation instructions are specific
> to Ubuntu 14.04.
>
> Regards
>
>   ~sanjaya
>
> On Wed, Jun 29, 2016 at 5:57 PM, Sanjaya Ratnaweera 
> wrote:
>
>> Hi Pubudu,
>>
>>
>> On Wed, Jun 29, 2016 at 5:48 PM, Pubudu Gunatilaka 
>> wrote:
>>
>>> Hi,
>>>
>>> Thank you for pointing out. I have now updated with tested OSs. Please
>>> do add any missing OSs in the list.
>>>
>>
>> Thank you for looking in to this. Isn't the installation instructions
>> specific to Ubuntu? In "installing puppet -> puppet master" section
>> commands and repositories are specific to Ubuntu 14.04. We may have to say
>> installing in Ubuntu 14.04 or this document is created setting up for
>> Ubuntu. These commands wont work on Redhat.
>>
>> Regards
>>
>>  ~sanjaya
>> Puppet Master
>>
>>
>>
>>>
>>> [1] -
>>> https://github.com/wso2/puppet-modules/wiki/Use-WSO2-Puppet-Modules-in-puppet-master-agent-Environment
>>>
>>> Thank you!
>>>
>>> On Wed, Jun 29, 2016 at 3:04 PM, Sanjaya Ratnaweera 
>>> wrote:
>>>
 Hi all,
 Looking at the installation instructions in this document[1] it's
 written for Ubuntu 14.04. I think it's better to mention the tested
 operating system version somewhere in that document. Now the Ubuntu 16.04
 is resealed and if we don't specifically mention the tested version people
 may try in Ubuntu 16.04 with this repository.

 Regards

  ~sanjaya


 [1]
 https://github.com/wso2/puppet-modules/wiki/Use-WSO2-Puppet-Modules-in-puppet-master-agent-Environment

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


>>>
>>>
>>> --
>>> *Pubudu Gunatilaka*
>>> Committer and PMC Member - Apache Stratos
>>> Software Engineer
>>> WSO2, Inc.: http://wso2.com
>>> mobile : +94774078049 <%2B94772207163>
>>>
>>>
>>
>>
>> --
>> Sanjaya Ratnaweera
>> Associate Technical Lead; WSO2 Inc; http://www.wso2.com/.
>>
>> blog: http://www.samudura.org
>> homepage: http://www.samudura.net
>> twitter: http://twitter.com/sanjayar
>> Phone: +94 773037349
>>
>> Lean . Enterprise . Middleware
>>
>
>
>
> --
> Sanjaya Ratnaweera
> Associate Technical Lead; WSO2 Inc; http://www.wso2.com/.
>
> blog: http://www.samudura.org
> homepage: http://www.samudura.net
> twitter: http://twitter.com/sanjayar
> Phone: +94 773037349
>
> Lean . Enterprise . Middleware
>



-- 
*Pubudu Gunatilaka*
Committer and PMC Member - Apache Stratos
Software Engineer
WSO2, Inc.: http://wso2.com
mobile : +94774078049 <%2B94772207163>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] SnakeYAML is already an OSGi bundle. Why do we have SnakeYAML in orbit?

2016-06-29 Thread Isuru Perera
Hi Kishanthan,

I created a JIRA: https://wso2.org/jira/browse/CARBON-15972

I just saw that stackoverflow question when searching for some other issue.

Thanks!

Best Regards,
It would also be great if you can create a jira for this with the
information so that we could add this for next kernel release.

On Wed, Jun 29, 2016 at 4:51 PM, Kishanthan Thangarajah  wrote:

> Thanks Isuru. We can try and add this option, which would remove the need
> for Dynamic-Import.
>
> On Wed, Jun 29, 2016 at 3:42 PM, Isuru Perera  wrote:
>
>> I just saw that SnakeYaml provides a "CustomClassLoaderConstructor".
>> Could you please check on that.
>>
>> See:
>> http://stackoverflow.com/questions/4940379/using-snakeyaml-under-osgi/4944346#4944346
>>
>>
>> On Thu, May 19, 2016 at 1:31 PM, Isuru Perera  wrote:
>>
>>> Thanks for info.
>>>
>>> Shall we ask the snakeyaml developers to add the Dynamic-Import header.
>>> May be we can create an issue [1]. Otherwise, that library is not useful in
>>> an OSGi container, right?
>>>
>>> [1] https://bitbucket.org/asomov/snakeyaml/issues?status=new=open
>>>
>>> On Thu, May 5, 2016 at 7:25 AM, Kishanthan Thangarajah <
>>> kishant...@wso2.com> wrote:
>>>
 This is because we had to add Dynamic-Import header to this bundle,
 which is missing in the original bundle, as snakeyaml was loading classes
 dynamically when trying to build and construct the bean object for the
 configuration.

 On Wed, May 4, 2016 at 12:16 PM, Isuru Perera  wrote:

> Hi,
>
> $subject [1]. See manifest entries in latest JARs [2]
>
> [1] https://github.com/wso2/orbit/tree/master/snakeyaml/1.16.0.wso2v1
> [2]
> http://search.maven.org/#search|gav|1|g%3A%22org.yaml%22%20AND%20a%3A%22snakeyaml%22
> 
>
> --
> Isuru Perera
> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> about.me/chrishantha
> Contact: +IsuruPereraWSO2
> 
>



 --
 *Kishanthan Thangarajah*
 Associate Technical Lead,
 Platform Technologies Team,
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - +94773426635
 Blog - *http://kishanthan.wordpress.com
 *
 Twitter - *http://twitter.com/kishanthan
 *

>>>
>>>
>>>
>>> --
>>> Isuru Perera
>>> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
>>> Lean . Enterprise . Middleware
>>>
>>> about.me/chrishantha
>>> Contact: +IsuruPereraWSO2
>>> 
>>>
>>
>>
>>
>> --
>> Isuru Perera
>> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
>> Lean . Enterprise . Middleware
>>
>> about.me/chrishantha
>> Contact: +IsuruPereraWSO2 
>>
>
>
>
> --
> *Kishanthan Thangarajah*
> Technical Lead,
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com *
> Twitter - *http://twitter.com/kishanthan *
>



-- 
*Kishanthan Thangarajah*
Technical Lead,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com *
Twitter - *http://twitter.com/kishanthan *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Improvement to Puppet modules installation instructions document

2016-06-29 Thread Sanjaya Ratnaweera
Hi Pubudu,


On Wed, Jun 29, 2016 at 5:48 PM, Pubudu Gunatilaka  wrote:

> Hi,
>
> Thank you for pointing out. I have now updated with tested OSs. Please do
> add any missing OSs in the list.
>

Thank you for looking in to this. Isn't the installation instructions
specific to Ubuntu? In "installing puppet -> puppet master" section
commands and repositories are specific to Ubuntu 14.04. We may have to say
installing in Ubuntu 14.04 or this document is created setting up for
Ubuntu. These commands wont work on Redhat.

Regards

 ~sanjaya
Puppet Master



>
> [1] -
> https://github.com/wso2/puppet-modules/wiki/Use-WSO2-Puppet-Modules-in-puppet-master-agent-Environment
>
> Thank you!
>
> On Wed, Jun 29, 2016 at 3:04 PM, Sanjaya Ratnaweera 
> wrote:
>
>> Hi all,
>> Looking at the installation instructions in this document[1] it's
>> written for Ubuntu 14.04. I think it's better to mention the tested
>> operating system version somewhere in that document. Now the Ubuntu 16.04
>> is resealed and if we don't specifically mention the tested version people
>> may try in Ubuntu 16.04 with this repository.
>>
>> Regards
>>
>>  ~sanjaya
>>
>>
>> [1]
>> https://github.com/wso2/puppet-modules/wiki/Use-WSO2-Puppet-Modules-in-puppet-master-agent-Environment
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Pubudu Gunatilaka*
> Committer and PMC Member - Apache Stratos
> Software Engineer
> WSO2, Inc.: http://wso2.com
> mobile : +94774078049 <%2B94772207163>
>
>


-- 
Sanjaya Ratnaweera
Associate Technical Lead; WSO2 Inc; http://www.wso2.com/.

blog: http://www.samudura.org
homepage: http://www.samudura.net
twitter: http://twitter.com/sanjayar
Phone: +94 773037349

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


Re: [Dev] Improvement to Puppet modules installation instructions document

2016-06-29 Thread Pubudu Gunatilaka
Hi,

Thank you for pointing out. I have now updated with tested OSs. Please do
add any missing OSs in the list.

[1] -
https://github.com/wso2/puppet-modules/wiki/Use-WSO2-Puppet-Modules-in-puppet-master-agent-Environment

Thank you!

On Wed, Jun 29, 2016 at 3:04 PM, Sanjaya Ratnaweera 
wrote:

> Hi all,
> Looking at the installation instructions in this document[1] it's
> written for Ubuntu 14.04. I think it's better to mention the tested
> operating system version somewhere in that document. Now the Ubuntu 16.04
> is resealed and if we don't specifically mention the tested version people
> may try in Ubuntu 16.04 with this repository.
>
> Regards
>
>  ~sanjaya
>
>
> [1]
> https://github.com/wso2/puppet-modules/wiki/Use-WSO2-Puppet-Modules-in-puppet-master-agent-Environment
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Pubudu Gunatilaka*
Committer and PMC Member - Apache Stratos
Software Engineer
WSO2, Inc.: http://wso2.com
mobile : +94774078049 <%2B94772207163>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Failed to stop the deployment of Jaggery app using lifecycle listener in AS6

2016-06-29 Thread KasunG Gajasinghe
How did you verify whether the deployment has failed or not? Can you check
this webapp's state via the manager app?

On Wed, Jun 29, 2016 at 9:58 AM, Nisala Nanayakkara  wrote:

> Hi,
>
> As suggested in the code review, when there were issues in processing
> jaggery.conf file, I tried to fail the deployment of the jaggery app by
> throwing a runtime exception. But it did not fail the deployment of the
> jaggery app. Are there any other methods to fail the jaggery app using its
> lifecycle listener ?
>
> Thanks,
> Nisala
>
> --
> *Nisala Niroshana Nanayakkara,*
> Software Engineer
> Mobile:(+94)717600022
> WSO2 Inc., http://wso2.com/
>



-- 

*Kasun Gajasinghe*Associate Technical Lead, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Configure SSO for WSO2 products using WSO2 puppet modules

2016-06-29 Thread Pubudu Gunatilaka
Hi,

I have completed setting up sso for WSO2 products using WSO2 puppet
modules. This is really helpful when you need to automate the entire
process of setting up sso for WSO2 products. Basically you need to do the
sso changes in the product as well as in the WSO2 Identity Server or any
other Identity providers. Following are the changes that needs to be done
in hiera yaml files.

*Any WSO2 product configuration:*

Following hiera values [1] should be set in the product hiera file to
enable sso. Configurations include enable sso, login page url, service
provider id, sso serverice url and consumer service url.

 wso2::sso_authentication:
disabled: *false*
login_page: */carbon/admin/login.jsp*
service_provider_id: *wso2esb*
sso_service_url: *https://wso2is-default:10113/samlsso
*
consumer_service_url: *https://wso2esb-default:10095/acs
*

*WSO2 IS configuration:*

You can create service providers in WSO2 IS based on the details you have
given to each and every product. Other fully automated option is to provide
the list of products that needs to be created service providers in WSO2 IS
hiera data file as below.

wso2::sso_product_list:
wso2esb:
  assertion_consumer_service_url: *https://wso2esb-default:9443/acs
*
  default_assertion_consumer_service_url: *https://wso2esb-default:9443/acs
*
wso2as:
  assertion_consumer_service_url: *https://wso2as-default:9443/acs
*
  default_assertion_consumer_service_url: *https://wso2as-default:9443/acs
*

This will do the following changes in WSO2 IS side.
1. Add a new service_provider block in sso-idp-config.xml.
2. Create a new file under
/repository/conf/identity/service-providers/ directory with the
same name of the service provider.

The advantage of this is we can use this with docker containers. I have
tested this in Mesos. Please share your thoughts.

[1] -
https://github.com/wso2/puppet-modules/blob/master/hieradata/dev/wso2/common.yaml#L169
[2] -
https://github.com/wso2/puppet-modules/blob/master/hieradata/dev/wso2/wso2is/5.1.0/default/default.yaml#L35

Thank you!
-- 
*Pubudu Gunatilaka*
Committer and PMC Member - Apache Stratos
Software Engineer
WSO2, Inc.: http://wso2.com
mobile : +94774078049 <%2B94772207163>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] carbon-commons 4.5.4 released

2016-06-29 Thread Kalpa Welivitigoda
Hi all,

Please note $subject,

org.wso2.carbon.commons
carbon-commons
4.5.4

-- 
Best Regards,

Kalpa Welivitigoda
Senior Software Engineer, WSO2 Inc. http://wso2.com
Email: kal...@wso2.com
Mobile: +94776509215
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM 2.0.0] Shouldn't Update application go through workflow approval process?

2016-06-29 Thread Nuwan Dias
Yes, it is ideal to have a feature which allows you to have workflows for
Updates as well. And you are free to contribute the feature too :).

Anyhow, this is not a bug but rather a request for a new feature
(Application Update Workflow). I think you see this as a bug is because the
sample workflow is for a "Approval" process. Workflows have many other use
cases and even in the case of approvals, they operate in many contexts.
Most see this on the angle of the permission to create an App and not
really validate the App details. After all, these details effect the
developers own App. Its unlikely someone would put details that harm his
own Application.

On Wed, Jun 29, 2016 at 4:46 PM, Sewmini Jayaweera  wrote:

> Hi All,
>
> Your answers will be highly appreciated.
>
> I have also logged a Jira [1] in order to track this issue.
>
> [1]. https://wso2.org/jira/browse/APIMANAGER-5148
>
> Kind regards,
> Sewmini
>
> Sewmini Jayaweera
> *Software Engineer - QA Team*
> Mobile: +94 (0) 773 381 250
> sewm...@wso2.com
>
> On Tue, Jun 28, 2016 at 8:05 PM, Sewmini Jayaweera 
> wrote:
>
>> Hi All,
>>
>> When I tested application creation workflow I observed below.
>>
>> - When application creation request is submitted, until admin user
>> approves, the request editoption is not enabled for the inactive
>> application.
>>
>> - Once Application creation request is approved user can edit the
>> application and change  'Application name', 'Per token quota', callback
>> URL and description as desired andupdate application doesn't  go
>> through any approval process.
>>
>>
>> [1]. If user wants to change application name or 'per token quota'
>> shouldn't it go through an workflow approval process?
>>
>> Thank You.
>> Kind regards,
>> Sewmini
>>
>> Sewmini Jayaweera
>> *Software Engineer - QA Team*
>> Mobile: +94 (0) 773 381 250
>> sewm...@wso2.com
>>
>
>


-- 
Nuwan Dias

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


Re: [Dev] SnakeYAML is already an OSGi bundle. Why do we have SnakeYAML in orbit?

2016-06-29 Thread Kishanthan Thangarajah
It would also be great if you can create a jira for this with the
information so that we could add this for next kernel release.

On Wed, Jun 29, 2016 at 4:51 PM, Kishanthan Thangarajah  wrote:

> Thanks Isuru. We can try and add this option, which would remove the need
> for Dynamic-Import.
>
> On Wed, Jun 29, 2016 at 3:42 PM, Isuru Perera  wrote:
>
>> I just saw that SnakeYaml provides a "CustomClassLoaderConstructor".
>> Could you please check on that.
>>
>> See:
>> http://stackoverflow.com/questions/4940379/using-snakeyaml-under-osgi/4944346#4944346
>>
>>
>> On Thu, May 19, 2016 at 1:31 PM, Isuru Perera  wrote:
>>
>>> Thanks for info.
>>>
>>> Shall we ask the snakeyaml developers to add the Dynamic-Import header.
>>> May be we can create an issue [1]. Otherwise, that library is not useful in
>>> an OSGi container, right?
>>>
>>> [1] https://bitbucket.org/asomov/snakeyaml/issues?status=new=open
>>>
>>> On Thu, May 5, 2016 at 7:25 AM, Kishanthan Thangarajah <
>>> kishant...@wso2.com> wrote:
>>>
 This is because we had to add Dynamic-Import header to this bundle,
 which is missing in the original bundle, as snakeyaml was loading classes
 dynamically when trying to build and construct the bean object for the
 configuration.

 On Wed, May 4, 2016 at 12:16 PM, Isuru Perera  wrote:

> Hi,
>
> $subject [1]. See manifest entries in latest JARs [2]
>
> [1] https://github.com/wso2/orbit/tree/master/snakeyaml/1.16.0.wso2v1
> [2]
> http://search.maven.org/#search|gav|1|g%3A%22org.yaml%22%20AND%20a%3A%22snakeyaml%22
> 
>
> --
> Isuru Perera
> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> about.me/chrishantha
> Contact: +IsuruPereraWSO2
> 
>



 --
 *Kishanthan Thangarajah*
 Associate Technical Lead,
 Platform Technologies Team,
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - +94773426635
 Blog - *http://kishanthan.wordpress.com
 *
 Twitter - *http://twitter.com/kishanthan
 *

>>>
>>>
>>>
>>> --
>>> Isuru Perera
>>> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
>>> Lean . Enterprise . Middleware
>>>
>>> about.me/chrishantha
>>> Contact: +IsuruPereraWSO2
>>> 
>>>
>>
>>
>>
>> --
>> Isuru Perera
>> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
>> Lean . Enterprise . Middleware
>>
>> about.me/chrishantha
>> Contact: +IsuruPereraWSO2 
>>
>
>
>
> --
> *Kishanthan Thangarajah*
> Technical Lead,
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com *
> Twitter - *http://twitter.com/kishanthan *
>



-- 
*Kishanthan Thangarajah*
Technical Lead,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com *
Twitter - *http://twitter.com/kishanthan *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] SnakeYAML is already an OSGi bundle. Why do we have SnakeYAML in orbit?

2016-06-29 Thread Kishanthan Thangarajah
Thanks Isuru. We can try and add this option, which would remove the need
for Dynamic-Import.

On Wed, Jun 29, 2016 at 3:42 PM, Isuru Perera  wrote:

> I just saw that SnakeYaml provides a "CustomClassLoaderConstructor". Could
> you please check on that.
>
> See:
> http://stackoverflow.com/questions/4940379/using-snakeyaml-under-osgi/4944346#4944346
>
>
> On Thu, May 19, 2016 at 1:31 PM, Isuru Perera  wrote:
>
>> Thanks for info.
>>
>> Shall we ask the snakeyaml developers to add the Dynamic-Import header.
>> May be we can create an issue [1]. Otherwise, that library is not useful in
>> an OSGi container, right?
>>
>> [1] https://bitbucket.org/asomov/snakeyaml/issues?status=new=open
>>
>> On Thu, May 5, 2016 at 7:25 AM, Kishanthan Thangarajah <
>> kishant...@wso2.com> wrote:
>>
>>> This is because we had to add Dynamic-Import header to this bundle,
>>> which is missing in the original bundle, as snakeyaml was loading classes
>>> dynamically when trying to build and construct the bean object for the
>>> configuration.
>>>
>>> On Wed, May 4, 2016 at 12:16 PM, Isuru Perera  wrote:
>>>
 Hi,

 $subject [1]. See manifest entries in latest JARs [2]

 [1] https://github.com/wso2/orbit/tree/master/snakeyaml/1.16.0.wso2v1
 [2]
 http://search.maven.org/#search|gav|1|g%3A%22org.yaml%22%20AND%20a%3A%22snakeyaml%22
 

 --
 Isuru Perera
 Associate Technical Lead | WSO2, Inc. | http://wso2.com/
 Lean . Enterprise . Middleware

 about.me/chrishantha
 Contact: +IsuruPereraWSO2
 

>>>
>>>
>>>
>>> --
>>> *Kishanthan Thangarajah*
>>> Associate Technical Lead,
>>> Platform Technologies Team,
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>>
>>> Mobile - +94773426635
>>> Blog - *http://kishanthan.wordpress.com
>>> *
>>> Twitter - *http://twitter.com/kishanthan
>>> *
>>>
>>
>>
>>
>> --
>> Isuru Perera
>> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
>> Lean . Enterprise . Middleware
>>
>> about.me/chrishantha
>> Contact: +IsuruPereraWSO2 
>>
>
>
>
> --
> Isuru Perera
> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> about.me/chrishantha
> Contact: +IsuruPereraWSO2 
>



-- 
*Kishanthan Thangarajah*
Technical Lead,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com *
Twitter - *http://twitter.com/kishanthan *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM 2.0.0] Shouldn't Update application go through workflow approval process?

2016-06-29 Thread Sewmini Jayaweera
Hi All,

Your answers will be highly appreciated.

I have also logged a Jira [1] in order to track this issue.

[1]. https://wso2.org/jira/browse/APIMANAGER-5148

Kind regards,
Sewmini

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Tue, Jun 28, 2016 at 8:05 PM, Sewmini Jayaweera  wrote:

> Hi All,
>
> When I tested application creation workflow I observed below.
>
> - When application creation request is submitted, until admin user
> approves, the request editoption is not enabled for the inactive
> application.
>
> - Once Application creation request is approved user can edit the
> application and change  'Application name', 'Per token quota', callback
> URL and description as desired andupdate application doesn't  go
> through any approval process.
>
>
> [1]. If user wants to change application name or 'per token quota'
> shouldn't it go through an workflow approval process?
>
> Thank You.
> Kind regards,
> Sewmini
>
> Sewmini Jayaweera
> *Software Engineer - QA Team*
> Mobile: +94 (0) 773 381 250
> sewm...@wso2.com
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] SnakeYAML is already an OSGi bundle. Why do we have SnakeYAML in orbit?

2016-06-29 Thread Isuru Perera
I just saw that SnakeYaml provides a "CustomClassLoaderConstructor". Could
you please check on that.

See:
http://stackoverflow.com/questions/4940379/using-snakeyaml-under-osgi/4944346#4944346


On Thu, May 19, 2016 at 1:31 PM, Isuru Perera  wrote:

> Thanks for info.
>
> Shall we ask the snakeyaml developers to add the Dynamic-Import header.
> May be we can create an issue [1]. Otherwise, that library is not useful in
> an OSGi container, right?
>
> [1] https://bitbucket.org/asomov/snakeyaml/issues?status=new=open
>
> On Thu, May 5, 2016 at 7:25 AM, Kishanthan Thangarajah <
> kishant...@wso2.com> wrote:
>
>> This is because we had to add Dynamic-Import header to this bundle, which
>> is missing in the original bundle, as snakeyaml was loading classes
>> dynamically when trying to build and construct the bean object for the
>> configuration.
>>
>> On Wed, May 4, 2016 at 12:16 PM, Isuru Perera  wrote:
>>
>>> Hi,
>>>
>>> $subject [1]. See manifest entries in latest JARs [2]
>>>
>>> [1] https://github.com/wso2/orbit/tree/master/snakeyaml/1.16.0.wso2v1
>>> [2]
>>> http://search.maven.org/#search|gav|1|g%3A%22org.yaml%22%20AND%20a%3A%22snakeyaml%22
>>> 
>>>
>>> --
>>> Isuru Perera
>>> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
>>> Lean . Enterprise . Middleware
>>>
>>> about.me/chrishantha
>>> Contact: +IsuruPereraWSO2
>>> 
>>>
>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Associate Technical Lead,
>> Platform Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635
>> Blog - *http://kishanthan.wordpress.com
>> *
>> Twitter - *http://twitter.com/kishanthan *
>>
>
>
>
> --
> Isuru Perera
> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> about.me/chrishantha
> Contact: +IsuruPereraWSO2 
>



-- 
Isuru Perera
Associate Technical Lead | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

about.me/chrishantha
Contact: +IsuruPereraWSO2 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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

2016-06-29 Thread Mahesh Dananjaya
Hi Nirmal,
These are the options we can use instead of spark for streaming.I am going
through Samoa also. all the options are listed in JAVA section in this line
[1].thank you.
regards,
Mahesh.
[1] https://github.com/dananjayamahesh/awesome-machine-learning

On Wed, Jun 29, 2016 at 3:32 PM, Nirmal Fernando  wrote:

> Thanks Mahesh, could you post the same to dev@ and loop Srinath too.
> srin...@wso2.com
>
> On Wed, Jun 29, 2016 at 3:23 PM, Mahesh Dananjaya <
> dananjayamah...@gmail.com> wrote:
>
>> Hi NIrmal,
>> These are the options we can use instead of spark for streaming.I am
>> going through Samoa also. all the options are listed in JAVA section in
>> this line [1].thank you.
>> regards,
>> Mahesh.
>> [1] https://github.com/dananjayamahesh/awesome-machine-learning
>>
>> On Wed, Jun 29, 2016 at 11:14 AM, Nirmal Fernando 
>> wrote:
>>
>>> *Notes from Srinath.*
>>>
>>> https://en.wikipedia.org/wiki/Online_machine_learning
>>> 
>>> Challenges
>>> 1. Concept Drift
>>> 2. Too Much data (scale to many nodes)
>>> 3. Cost of learning is too high
>>> 4. Handling Imprecise and incomplete data
>>>
>>> http://www.scribd.com/doc/218572800/Big-Data-Beer-Apr2014
>>> 
>>>  -
>>> Stream Drill, doing ML via sketches and counters
>>>
>>> Clustering
>>> Goals
>>> 1. Compactness of representation,
>>> 2. Fast, incremental processing of new data points
>>> 3. Clear and fast identification of “outliers”.
>>> (e.g. D-Stream Clustering [2] - have a offline process that adjust the
>>> clusters)
>>>
>>> http://datasciencecmu.wordpress.com/2014/04/11/data-stream-mining-techniques-and-challenges/
>>> 
>>>
>>> Classification
>>> Goals (Processing an example at a time, and inspect it only once (at
>>> most), using a limited amount of memory, work in a limited amount of time
>>> and being ready to predict at any point. )
>>> Hoeffding Trees [2] - build the tree, and nodes are split when needed
>>>
>>> http://datasciencecmu.wordpress.com/2014/04/11/data-stream-mining-techniques-and-challenges/
>>> 
>>>
>>>
>>> Grouping Methods for Pattern Matching in Probabilistic Data Streams <
>>> http://scholar.google.com/scholar_url?url=http://link.springer.com/chapter/10.1007/978-3-319-18120-2_6hl=ensa=Xscisig=AAGBfm1G-VxvT5Xt-4x3XiG01p0sI_xxdwnossl=1oi=scholaralrt
>>> >
>>> K Sugiura, Y Ishikawa, Y Sasaki - Database Systems for Advanced
>>> Applications, 2015
>>> ... Abstract. In recent years, complex event processing has attracted
>>> con- siderable interest in
>>> research and industry.Pattern matching is used to find complex events in
>>> data streams. ...
>>>
>>> A Platform for Detecting Height-Level Contexts from Complex Event
>>> Streams in Pervasive Environment <
>>> http://scholar.google.com/scholar_url?url=http://ieeexplore.ieee.org/xpls/abs_all.jsp%3Farnumber%3D7079615hl=ensa=Xscisig=AAGBfm1lE9JDeTyoeeG5O5vNsSDScidlkAnossl=1oi=scholaralrt
>>> >
>>> CF Liao, K Chen, CT Cheng, TY Weng, WC Lu - Platform Technology and
>>> Service
>>>
>>>
>>>
>>>
>>> Charu Aggarwal’s work
>>>
>>> Book: "Data streams: models and algorithms” ,
>>> http://charuaggarwal.net/streambook.pdf
>>> 
>>>
>>>
>>> 1. On Clustering Massive Data Streams
>>>
>>> 2. A Survey of Classification Methods in Data Streams
>>>
>>> 3. Frequent Pattern Mining in Data Streams
>>>
>>> 4. A Survey of Change Diagnosis
>>>
>>> 5. Multi-Dimensional Analysis of Data
>>>
>>> 6. Streams Using Stream Cubes
>>>
>>> 7. The Sliding-Window Computation Model and Results
>>>
>>> 8. A Survey of Synopsis Construction in Data Streams
>>>
>>> 9. Indexing and Querying Data Streams
>>>
>>> 10. Dimensionality Reduction and Forecasting on Streams
>>>
>>>
>>>
>>> http://www.mathcs.emory.edu/~cheung/papers/StreamDB/Mining/Jin-mining-data-streams.pdf
>>> 
>>>
>>>
>>> Tools
>>>
>>> MOA -tool kit
>>>
>>>
>>> Research on data stream clustering algorithms <
>>> http://link.springer.com/article/10.1007/s10462-013-9398-7
>>> 
>>> >
>>> S Ding, F Wu, 

Re: [Dev] Adding drill down capabilities to the Area Chart in IS Analytics Server Dashboard

2016-06-29 Thread Nuwandi Wickramasinghe
Please find the public jira in [1]

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

On Wed, Jun 29, 2016 at 2:51 PM, Hasintha Indrajee 
wrote:

> Hi all,
>
> Had an offline discussion with Nuwandi and following are some points.
>
> - We can filter region from IP and provide ability to drill down, but if
> we follow this approach, region is not shown in the tables. This leads to a
> different user experience.
>
> Since we don't have any other possible solutions as suggested by Mohan,
> let's go with the first approach. Please create a jira for this and state
> required changes to the stream definitions.
>
> On Wed, Jun 29, 2016 at 12:38 PM, Mohanadarshan Vivekanandalingam <
> mo...@wso2.com> wrote:
>
>> HI Johann & Hasintha,
>>
>> Appreciate any feedback on above, then we can implement accordingly and
>> do some perf tests.. If drill capability is required for Map then we need
>> to follow above option.. Here, we can
>>
>> 1) Change the stream in Identity level and publish
>> 2) Change at DAS level by adding another attributes in Siddhi scope..
>>
>> But, I like to avoid option [2] to avoid unnecessary event conversions
>> (which impact the TPS).. Then, option [1] is the only solution in this
>> case..
>>
>> Thanks,
>> Mohan
>>
>>
>> On Tue, Jun 28, 2016 at 4:16 PM, Nuwandi Wickramasinghe <
>> nuwan...@wso2.com> wrote:
>>
>>> Hi all,
>>>
>>> IS Analytics dashboard contains a map in which we have marked the
>>> regions of users who have authenticated through Identity Server. Our
>>> concern is whether we should allow to drill down from this map.
>>>
>>> Normally when drilling down from a gadget, in the dashboard we only show
>>> the data related to that selected field. And there's a data table below
>>> which shows the raw data corresponding to the selected field. This data
>>> table is populated using the raw stream which is published from Identity
>>> Server side.
>>>
>>> When implementing drill down capabilities from the area chart (map), we
>>> are facing an issue in populating the data table since the raw data stream
>>> published from IS contains only the remoteIp (which is used to determine
>>> the region) but not the region field itself.
>>>
>>> Regions and IP addresses have one to many relationship. Which means a
>>> large range of IPs corresponds to one region. Therefore we can get the
>>> region from IP but not vise versa. This leaves the issue that we cannot
>>> search in the raw stream using the region selected from the map.
>>>
>>> Suggested solution is to change the raw data stream to contain an
>>> additional 'region' attribute which could be used to search for the data
>>> related to a particular region. The value of region for the raw data will
>>> be sent as 'NOT_AVAILABLE'. We are planning to update this value to the
>>> correct region according to the remoteIp value using a spark query. We
>>> considered updating the records from the execution plan but that could
>>> delay the real time process.
>>>
>>> If we are going to implement this, Hasintha will have to introduce the
>>> new region attribute to the stream with a default value. Also this might
>>> introduce some performance degrade in the db level.
>>>
>>> We are still considering the need of drilling down from the region map.
>>> Appreciate other opinions regarding the subject.
>>>
>>> Thanks
>>> Nuwandi
>>>
>>> --
>>>
>>> Best Regards,
>>>
>>> Nuwandi Wickramasinghe
>>>
>>> Software Engineer
>>>
>>> WSO2 Inc.
>>>
>>> Web : http://wso2.com
>>>
>>> Mobile : 0719214873
>>>
>>
>>
>>
>> --
>> *V. Mohanadarshan*
>> *Associate Tech Lead,*
>> *Data Technologies Team,*
>> *WSO2, Inc. http://wso2.com  *
>> *lean.enterprise.middleware.*
>>
>> email: mo...@wso2.com
>> phone:(+94) 771117673
>>
>
>
>
> --
> Hasintha Indrajee
> WSO2, Inc.
> Mobile:+94 771892453
>
>


-- 

Best Regards,

Nuwandi Wickramasinghe

Software Engineer

WSO2 Inc.

Web : http://wso2.com

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


Re: [Dev] Smooks editor features are not available in a WSO2 P2 repository

2016-06-29 Thread Jasintha Dasanayake
Hi Viraj

Since Jboss no more sending update for smooks feature there is no value to
keep these two features separately. Lets marge these two and create a
single feature for smooks by adding all 6 plugins .All these plugins are
added into the stage p2 repo[1] so please build feature using that and  I
later will move into WSO2 public p2

Thanks and Regards
/Jasintha

[1]-
http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/dependencies/other/p2/plugins/

On Wed, Jun 29, 2016 at 11:30 AM, Viraj Rajaguru  wrote:

> Hi Jasintha,
>
> We need following Smooks editor features for ESB Tooling. Can we have them
> in a WSO2 public P2 repository ?
>
> org.smooks.edi.editor-feature.feature.group:1.0.1.201105031731
> org.jboss.tools.smooks.feature.feature.group:1.1.0.v20110215-1231-H25-GA
>
> BTW, We can see org.smooks.edi.editor_1.0.1.201105031731.jar
> and org.smooks.edi.editor.model_1.0.1.201105031731.jar plugins are
> available at [1]. We can create
> "org.smooks.edi.editor-feature.feature.group" feature with those. But still
> we need org.jboss.tools.smooks.feature.feature.group feature.
>
> Can we have these features in a public WSO2 P2 repository ?
>
> Thanks,
> Viraj.
>
> [1] -
> http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/dependencies/other/p2/plugins/
>
> --
> Viraj Rajaguru
> Associate Technical Lead
> WSO2 Inc. : http://wso2.com
>
> Mobile: +94 77 3683068
>
>
>
>


-- 

*Jasintha Dasanayake**Associate Technical Lead*

*WSO2 Inc. | http://wso2.com lean . enterprise .
middleware*


*mobile :- 0711-368-118*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Improvement to Puppet modules installation instructions document

2016-06-29 Thread Sanjaya Ratnaweera
Hi all,
Looking at the installation instructions in this document[1] it's
written for Ubuntu 14.04. I think it's better to mention the tested
operating system version somewhere in that document. Now the Ubuntu 16.04
is resealed and if we don't specifically mention the tested version people
may try in Ubuntu 16.04 with this repository.

Regards

 ~sanjaya


[1]
https://github.com/wso2/puppet-modules/wiki/Use-WSO2-Puppet-Modules-in-puppet-master-agent-Environment
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Adding drill down capabilities to the Area Chart in IS Analytics Server Dashboard

2016-06-29 Thread Hasintha Indrajee
Hi all,

Had an offline discussion with Nuwandi and following are some points.

- We can filter region from IP and provide ability to drill down, but if we
follow this approach, region is not shown in the tables. This leads to a
different user experience.

Since we don't have any other possible solutions as suggested by Mohan,
let's go with the first approach. Please create a jira for this and state
required changes to the stream definitions.

On Wed, Jun 29, 2016 at 12:38 PM, Mohanadarshan Vivekanandalingam <
mo...@wso2.com> wrote:

> HI Johann & Hasintha,
>
> Appreciate any feedback on above, then we can implement accordingly and do
> some perf tests.. If drill capability is required for Map then we need to
> follow above option.. Here, we can
>
> 1) Change the stream in Identity level and publish
> 2) Change at DAS level by adding another attributes in Siddhi scope..
>
> But, I like to avoid option [2] to avoid unnecessary event conversions
> (which impact the TPS).. Then, option [1] is the only solution in this
> case..
>
> Thanks,
> Mohan
>
>
> On Tue, Jun 28, 2016 at 4:16 PM, Nuwandi Wickramasinghe  > wrote:
>
>> Hi all,
>>
>> IS Analytics dashboard contains a map in which we have marked the regions
>> of users who have authenticated through Identity Server. Our concern is
>> whether we should allow to drill down from this map.
>>
>> Normally when drilling down from a gadget, in the dashboard we only show
>> the data related to that selected field. And there's a data table below
>> which shows the raw data corresponding to the selected field. This data
>> table is populated using the raw stream which is published from Identity
>> Server side.
>>
>> When implementing drill down capabilities from the area chart (map), we
>> are facing an issue in populating the data table since the raw data stream
>> published from IS contains only the remoteIp (which is used to determine
>> the region) but not the region field itself.
>>
>> Regions and IP addresses have one to many relationship. Which means a
>> large range of IPs corresponds to one region. Therefore we can get the
>> region from IP but not vise versa. This leaves the issue that we cannot
>> search in the raw stream using the region selected from the map.
>>
>> Suggested solution is to change the raw data stream to contain an
>> additional 'region' attribute which could be used to search for the data
>> related to a particular region. The value of region for the raw data will
>> be sent as 'NOT_AVAILABLE'. We are planning to update this value to the
>> correct region according to the remoteIp value using a spark query. We
>> considered updating the records from the execution plan but that could
>> delay the real time process.
>>
>> If we are going to implement this, Hasintha will have to introduce the
>> new region attribute to the stream with a default value. Also this might
>> introduce some performance degrade in the db level.
>>
>> We are still considering the need of drilling down from the region map.
>> Appreciate other opinions regarding the subject.
>>
>> Thanks
>> Nuwandi
>>
>> --
>>
>> Best Regards,
>>
>> Nuwandi Wickramasinghe
>>
>> Software Engineer
>>
>> WSO2 Inc.
>>
>> Web : http://wso2.com
>>
>> Mobile : 0719214873
>>
>
>
>
> --
> *V. Mohanadarshan*
> *Associate Tech Lead,*
> *Data Technologies Team,*
> *WSO2, Inc. http://wso2.com  *
> *lean.enterprise.middleware.*
>
> email: mo...@wso2.com
> phone:(+94) 771117673
>



-- 
Hasintha Indrajee
WSO2, Inc.
Mobile:+94 771892453
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Natasha Wijesekara

2016-06-29 Thread Mushthaq Rumy
Congratz Natasha...!

Thanks & Regards,
Mushthaq

On Wed, Jun 29, 2016 at 11:44 AM, Fazlan Nazeem  wrote:

> congrats Natasha!
>
> On Wed, Jun 29, 2016 at 10:23 AM, Nandika Jayawardana 
> wrote:
>
>> Hi All,
>>
>> It's my pleasure to announce Natasha Wijesekara as a WSO2 Committer.
>> Natasha has been a great contributor to BPS and PC products and in
>> recognition of her contributions, she's been voted as a WSO2 Committer.
>>
>> Congratulations Natasha and keep up the good work!
>>
>> Regards
>> Nandika
>>
>> --
>> Nandika Jayawardana
>> WSO2 Inc ; http://wso2.com
>> lean.enterprise.middleware
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thanks & Regards,
>
> Fazlan Nazeem
>
> *Software Engineer*
>
> *WSO2 Inc*
> Mobile : +94772338839
> <%2B94%20%280%29%20773%20451194>
> fazl...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Mushthaq Rumy
*Software Engineer*
Mobile : +94 (0) 779 492140 <%2B94%20%280%29%20773%20451194>
Email : musht...@wso2.com
WSO2, Inc.; http://wso2.com/
lean . enterprise . middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Adding drill down capabilities to the Area Chart in IS Analytics Server Dashboard

2016-06-29 Thread Mohanadarshan Vivekanandalingam
HI Johann & Hasintha,

Appreciate any feedback on above, then we can implement accordingly and do
some perf tests.. If drill capability is required for Map then we need to
follow above option.. Here, we can

1) Change the stream in Identity level and publish
2) Change at DAS level by adding another attributes in Siddhi scope..

But, I like to avoid option [2] to avoid unnecessary event conversions
(which impact the TPS).. Then, option [1] is the only solution in this
case..

Thanks,
Mohan


On Tue, Jun 28, 2016 at 4:16 PM, Nuwandi Wickramasinghe 
wrote:

> Hi all,
>
> IS Analytics dashboard contains a map in which we have marked the regions
> of users who have authenticated through Identity Server. Our concern is
> whether we should allow to drill down from this map.
>
> Normally when drilling down from a gadget, in the dashboard we only show
> the data related to that selected field. And there's a data table below
> which shows the raw data corresponding to the selected field. This data
> table is populated using the raw stream which is published from Identity
> Server side.
>
> When implementing drill down capabilities from the area chart (map), we
> are facing an issue in populating the data table since the raw data stream
> published from IS contains only the remoteIp (which is used to determine
> the region) but not the region field itself.
>
> Regions and IP addresses have one to many relationship. Which means a
> large range of IPs corresponds to one region. Therefore we can get the
> region from IP but not vise versa. This leaves the issue that we cannot
> search in the raw stream using the region selected from the map.
>
> Suggested solution is to change the raw data stream to contain an
> additional 'region' attribute which could be used to search for the data
> related to a particular region. The value of region for the raw data will
> be sent as 'NOT_AVAILABLE'. We are planning to update this value to the
> correct region according to the remoteIp value using a spark query. We
> considered updating the records from the execution plan but that could
> delay the real time process.
>
> If we are going to implement this, Hasintha will have to introduce the new
> region attribute to the stream with a default value. Also this might
> introduce some performance degrade in the db level.
>
> We are still considering the need of drilling down from the region map.
> Appreciate other opinions regarding the subject.
>
> Thanks
> Nuwandi
>
> --
>
> Best Regards,
>
> Nuwandi Wickramasinghe
>
> Software Engineer
>
> WSO2 Inc.
>
> Web : http://wso2.com
>
> Mobile : 0719214873
>



-- 
*V. Mohanadarshan*
*Associate Tech Lead,*
*Data Technologies Team,*
*WSO2, Inc. http://wso2.com  *
*lean.enterprise.middleware.*

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


Re: [Dev] [DEV] [GSoC] Meeting minutes from Dockerfiles test framework demo

2016-06-29 Thread Vishanth Balasubramaniam
Great work Abhishek. We need to prioritize the work and discuss the final
deliverables. We can probably do that in our next meeting. It would be
great if you could do an effort estimation in your milestone plan sheet,
where you can identify how many days it would take to finish off these
tasks.

Regards,
Vishanth

On Wed, Jun 29, 2016 at 11:55 AM, Abhishek Tiwari <
abhishek.tiwari0...@gmail.com> wrote:

> Hi All,
>
> Thanks so much for attending the demo and providing great feedback.
> Following are the meeting minutes:
>
> 1. Demo of testing WSO2ESB 4.9.0 with default profile, discussed output
> log and few implementation details.
>
> 2. Feedback:
> a) Test framework should add the ability to check docker logs as well.
> b) Checking for exposed ports should happen periodically with a timeout,
> instead of a static sleep.
> c) Look into feasibility of classifying errors (in build or run) in terms
> of specific module (e.g. build failed due to an issue with hieradata).
> d) Check status code returned from build and run scripts.
> e) Look into integrating the test results into Jenkins, to allow nightly
> runs.
> f) Support of Kubernetes platform as well as product profiles (worker,
> manager nodes)
>
> Please add if I missed something.
>
> Thanks
> Abhishek
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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


[Dev] [DEV] [GSoC] Meeting minutes from Dockerfiles test framework demo

2016-06-29 Thread Abhishek Tiwari
Hi All,

Thanks so much for attending the demo and providing great feedback.
Following are the meeting minutes:

1. Demo of testing WSO2ESB 4.9.0 with default profile, discussed output log
and few implementation details.

2. Feedback:
a) Test framework should add the ability to check docker logs as well.
b) Checking for exposed ports should happen periodically with a timeout,
instead of a static sleep.
c) Look into feasibility of classifying errors (in build or run) in terms
of specific module (e.g. build failed due to an issue with hieradata).
d) Check status code returned from build and run scripts.
e) Look into integrating the test results into Jenkins, to allow nightly
runs.
f) Support of Kubernetes platform as well as product profiles (worker,
manager nodes)

Please add if I missed something.

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


Re: [Dev] WSO2 Committers += Natasha Wijesekara

2016-06-29 Thread Fazlan Nazeem
congrats Natasha!

On Wed, Jun 29, 2016 at 10:23 AM, Nandika Jayawardana 
wrote:

> Hi All,
>
> It's my pleasure to announce Natasha Wijesekara as a WSO2 Committer.
> Natasha has been a great contributor to BPS and PC products and in
> recognition of her contributions, she's been voted as a WSO2 Committer.
>
> Congratulations Natasha and keep up the good work!
>
> Regards
> Nandika
>
> --
> Nandika Jayawardana
> WSO2 Inc ; http://wso2.com
> lean.enterprise.middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thanks & Regards,

Fazlan Nazeem

*Software Engineer*

*WSO2 Inc*
Mobile : +94772338839
<%2B94%20%280%29%20773%20451194>
fazl...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSOC2016]Proposal 4: [ML] Ensemble Methods Support for WSO2 Machine Learner

2016-06-29 Thread Supun Sethunga
Hi,

I will check and let you know

Regards,
Supun

On Tue, Jun 28, 2016 at 5:33 AM, Misgana Negassi <
negas...@tf.uni-freiburg.de> wrote:

> Hi Supun,
>
> These are the links for the code I changed.
>
>
> https://github.com/zemoel/carbon-ml/blob/master/components/ml/org.wso2.carbon.ml.database/src/main/java/org/wso2/carbon/ml/database/DatabaseService.java#L422
>
> https://github.com/zemoel/carbon-ml/blob/master/components/ml/org.wso2.carbon.ml.database/src/main/java/org/wso2/carbon/ml/database/internal/MLDatabaseService.java#L2173
>
> https://github.com/zemoel/carbon-ml/blob/master/components/ml/org.wso2.carbon.ml.database/src/main/java/org/wso2/carbon/ml/database/internal/MLDatabaseService.java#L2506
>
> https://github.com/zemoel/carbon-ml/blob/master/components/ml/org.wso2.carbon.ml.commons/src/main/java/org/wso2/carbon/ml/commons/domain/Workflow.java#L267
>
> https://github.com/zemoel/carbon-ml/blob/master/components/ml/org.wso2.carbon.ml.commons/src/main/java/org/wso2/carbon/ml/commons/domain/Workflow.java#L280
>
> Best,
> Misgana
>
>
> On 27.06.2016 08:53, Supun Sethunga wrote:
>
> Hi Misgana,
>
> Can you commit all the changes to your fork of carbon-ml, and share us the
> link. So that I can check whats happening.
>
> Also, do I need to manually edit the machinelearner.xml file(s) to include
>> Stacking?
>
> Yes. No need to add hyper-parameters, since we can't predefine them.
>
> Thanks,
> Supun
>
> On Mon, Jun 27, 2016 at 4:33 AM, Misgana Negassi <
> negas...@tf.uni-freiburg.de> wrote:
>
>> Hello Supun,
>> sorry to bother you again with the same problem but I am not making any
>> progress right now :(
>> I can't get the sample script running.
>>
>> I tried two approaches:
>> A) Using the server provided and applying patches.
>> Problem: I can not apply my patch. I suspect the problem is that my patch
>> is of a newer version. The server's carbon ml is 1.1.1. and mine is 1.1.2.
>> Can I somewhere change the version number when I build my project?
>>
>> B) Building carbon and then product-ml and then unpacking
>> modules/distribution/target/wso2ml-2.0.0-SNAPSHOT.zip
>> I can start the server with the right components except for one exception:
>>
>> log4j:ERROR Could not instantiate appender named "CARBON_MEMORY".
>> log4j:ERROR Could not instantiate class
>> [org.wso2.carbon.logging.service.appender.CarbonMemoryAppender].
>> java.lang.ClassNotFoundException:
>> org.wso2.carbon.logging.service.appender.CarbonMemoryAppender cannot be
>> found by org.wso2.carbon.logging_4.4.3
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
>>
>>
>> However, when I try to run my example script there seems to be nothing
>> happening on the server side. No exceptions but also the debugger does not
>> stop when I expect it would. It seems something is crashing but the
>> exceptions are swallowed. Is there a way to increase the debug output?
>>
>> Also, do I need to manually edit the machinelearner.xml file(s) to
>> include Stacking?
>>
>>
>> On 21.06.2016 05:41, Supun Sethunga wrote:
>>
>> Hi Misgana,
>>
>> I have two issues:
>> 1. Issue:
>>
>> Exception in thread "pool-17-thread-7" java.lang.IllegalArgumentException:
>>> No enum constant org.wso2.carbon.ml.commons.con
>>> stants.MLConstants.SUPERVISED_ALGORITHM.STACKING
>>> at java.lang.Enum.valueOf(Enum.java:238)
>>> at org.wso2.carbon.ml.commons.constants.MLConstants$SUPERVISED_
>>> ALGORITHM.valueOf(MLConstants.java:225)
>>> at org.wso2.carbon.ml.core.spark.algorithms.SupervisedSparkMode
>>> lBuilder.build(SupervisedSparkModelBuilder.java:158)
>>
>> Which approach did you try? putting the jar as a patch (patch)? or
>> build the carbon-ml and product ml respectively? If it was patching method,
>> did you build org.wso2.carbon.ml.commons as well?
>>
>> Caused by: org.wso2.carbon.ml.database.exceptions.DatabaseHandlerException:
>>> An error occurred while inserting hyper parameter  to the database: Value
>>> too long for column "VALUE VARCHAR(50)": "'rO0ABXNyABNqYXZhLnV0aWwuQXJy
>>> YXlMaXN0eIHSHZnHYZ0DAAFJAARzaXpleHACdwQCc3IAEWphdmEu
>>> dXRpbC5IYXNoTWFwBQfawcMWYNEDAAJGAApsb2F... (372)"; SQL statement:
>>> INSERT INTO ML_HYPER_PARAMETER(ANALYSIS_ID, ALGORITHM_NAME, NAME,
>>> VALUE, LAST_MODIFIED_TIME) VALUES(?,?,?,?, CURRENT_TIMESTAMP()) [90005-140]
>>> The Logic is: The hyperparameters of base-algorithms are serialized and
>>> passed in the product-ml hyperparamters script file.This is a serialized
>>> string of List of Maps, where each map contains hyperparameters of each
>>> base-algorithm and will be deserialized in buildStackingModel() in
>>> SupervisedSparkModelBuilder and fed to Stacking train().
>>> Current idea to solve it is:
>>>  1. Increase column capacity more than VALUE VARCHAR(50)
>>>  2. Change serialization logic
>>> What do you think?
>>
>>
>> I believe we don't need to pass a serialized a map and put the string in
>> DB. Can we store the hyperparamerets as follows, in the 

Re: [Dev] WSO2 Committers += Natasha Wijesekara

2016-06-29 Thread Nethaji Chandrasiri
Congratulations Natasha!! :)

On Wed, Jun 29, 2016 at 11:31 AM, Ramith Jayasinghe  wrote:

> Congrats !!!
>
> On Wed, Jun 29, 2016 at 11:20 AM, Chiranga Alwis 
> wrote:
>
>> Congratulations Natasha!
>>
>> On Wed, Jun 29, 2016 at 11:06 AM, Dileesha Rajapakse 
>> wrote:
>>
>>> Congratulations Natasha!
>>>
>>> On Wed, Jun 29, 2016 at 10:59 AM, Sajith Perera 
>>> wrote:
>>>
 Congratulations Natasha..!!! :)

 On Wed, Jun 29, 2016 at 10:49 AM, Natasha Wijesekara 
 wrote:

> Thank you all !!!
>
> On Wed, Jun 29, 2016 at 10:45 AM, Natasha Wijesekara  > wrote:
>
>> Thank you akki ! :)
>>
>> On Wed, Jun 29, 2016 at 10:32 AM, Himasha Guruge 
>> wrote:
>>
>>> Congrats Natasha! :)
>>>
>>> On Wed, Jun 29, 2016 at 10:23 AM, Nandika Jayawardana <
>>> nand...@wso2.com> wrote:
>>>
 Hi All,

 It's my pleasure to announce Natasha Wijesekara as a WSO2
 Committer. Natasha has been a great contributor to BPS and PC products 
 and
 in recognition of her contributions, she's been voted as a WSO2 
 Committer.

 Congratulations Natasha and keep up the good work!

 Regards
 Nandika

 --
 Nandika Jayawardana
 WSO2 Inc ; http://wso2.com
 lean.enterprise.middleware

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


>>>
>>>
>>> --
>>> Himasha Guruge
>>> *Software Engineer*
>>> WS*O2* *Inc.*
>>> Mobile: +94 777459299
>>> himas...@wso2.com
>>>
>>
>>
>>
>> --
>> *Natasha Wijesekare*
>>
>> *Software Engineering Intern, WSO2  Inc:  http://wso2.com
>> *
>> *email  : nata...@wso2.com *
>> *mobile: +94 771358651 <%2B94%20771358651>*
>>
>
>
>
> --
> *Natasha Wijesekare*
>
> *Software Engineering Intern, WSO2  Inc:  http://wso2.com
> *
> *email  : nata...@wso2.com *
> *mobile: +94 771358651 <%2B94%20771358651>*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 Sajith Dimal
 Software Engineer
 Mobile : +94783101496
 WSO2 Inc. | http://wso2.com
 lean.enterprise.middleware

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


>>>
>>>
>>> --
>>> Dileesha Rajapakse
>>> *Intern - Engineering*
>>> Mobile : +94 (0) 772 555 933
>>> Tel  : +94 112 741 505
>>> dilee...@wso2.com
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Chiranga Alwis,
>> Software Engineering Intern,
>> +94 77 5930497
>> +94 77 6368208
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Ramith Jayasinghe
> Technical Lead
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> E: ram...@wso2.com
> P: +94 772534930
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Nethaji Chandrasiri*
*Software Engineering* *Intern; WSO2, Inc.; http://wso2.com
*
Mobile : +94 (0) 779171059 <%2B94%20%280%29%20778%20800570>
Email  : neth...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Natasha Wijesekara

2016-06-29 Thread Ramith Jayasinghe
Congrats !!!

On Wed, Jun 29, 2016 at 11:20 AM, Chiranga Alwis  wrote:

> Congratulations Natasha!
>
> On Wed, Jun 29, 2016 at 11:06 AM, Dileesha Rajapakse 
> wrote:
>
>> Congratulations Natasha!
>>
>> On Wed, Jun 29, 2016 at 10:59 AM, Sajith Perera  wrote:
>>
>>> Congratulations Natasha..!!! :)
>>>
>>> On Wed, Jun 29, 2016 at 10:49 AM, Natasha Wijesekara 
>>> wrote:
>>>
 Thank you all !!!

 On Wed, Jun 29, 2016 at 10:45 AM, Natasha Wijesekara 
 wrote:

> Thank you akki ! :)
>
> On Wed, Jun 29, 2016 at 10:32 AM, Himasha Guruge 
> wrote:
>
>> Congrats Natasha! :)
>>
>> On Wed, Jun 29, 2016 at 10:23 AM, Nandika Jayawardana <
>> nand...@wso2.com> wrote:
>>
>>> Hi All,
>>>
>>> It's my pleasure to announce Natasha Wijesekara as a WSO2 Committer.
>>> Natasha has been a great contributor to BPS and PC products and in
>>> recognition of her contributions, she's been voted as a WSO2 Committer.
>>>
>>> Congratulations Natasha and keep up the good work!
>>>
>>> Regards
>>> Nandika
>>>
>>> --
>>> Nandika Jayawardana
>>> WSO2 Inc ; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Himasha Guruge
>> *Software Engineer*
>> WS*O2* *Inc.*
>> Mobile: +94 777459299
>> himas...@wso2.com
>>
>
>
>
> --
> *Natasha Wijesekare*
>
> *Software Engineering Intern, WSO2  Inc:  http://wso2.com
> *
> *email  : nata...@wso2.com *
> *mobile: +94 771358651 <%2B94%20771358651>*
>



 --
 *Natasha Wijesekare*

 *Software Engineering Intern, WSO2  Inc:  http://wso2.com
 *
 *email  : nata...@wso2.com *
 *mobile: +94 771358651 <%2B94%20771358651>*

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


>>>
>>>
>>> --
>>> Sajith Dimal
>>> Software Engineer
>>> Mobile : +94783101496
>>> WSO2 Inc. | http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Dileesha Rajapakse
>> *Intern - Engineering*
>> Mobile : +94 (0) 772 555 933
>> Tel  : +94 112 741 505
>> dilee...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Chiranga Alwis,
> Software Engineering Intern,
> +94 77 5930497
> +94 77 6368208
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Ramith Jayasinghe
Technical Lead
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

E: ram...@wso2.com
P: +94 772534930
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Smooks editor features are not available in a WSO2 P2 repository

2016-06-29 Thread Viraj Rajaguru
Hi Jasintha,

We need following Smooks editor features for ESB Tooling. Can we have them
in a WSO2 public P2 repository ?

org.smooks.edi.editor-feature.feature.group:1.0.1.201105031731
org.jboss.tools.smooks.feature.feature.group:1.1.0.v20110215-1231-H25-GA

BTW, We can see org.smooks.edi.editor_1.0.1.201105031731.jar
and org.smooks.edi.editor.model_1.0.1.201105031731.jar plugins are
available at [1]. We can create
"org.smooks.edi.editor-feature.feature.group" feature with those. But still
we need org.jboss.tools.smooks.feature.feature.group feature.

Can we have these features in a public WSO2 P2 repository ?

Thanks,
Viraj.

[1] -
http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/dependencies/other/p2/plugins/

-- 
Viraj Rajaguru
Associate Technical Lead
WSO2 Inc. : http://wso2.com

Mobile: +94 77 3683068
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev