Re: [Dev] carbon4-kernel tests migration - to be compatible with TAF 4.3.1

2015-02-17 Thread Kishanthan Thangarajah
DimuthuD, I still see submodule dependencies having version defined even
though they are defined in the parent pom Eg:
distribution/integration/test-common/integration-test-utils/pom.xml.

Also when adding new dependencies to dependencyManagement section, check
whether they are already added. If yes, we will end up having duplicated
dependencies.



On Fri, Feb 13, 2015 at 4:26 PM, Dimuthu De Lanerolle 
wrote:

> Hi Krishantha / Kishanthan,
>
> The pull request is updated accordingly.
>
> Regards
>
> On Fri, Feb 13, 2015 at 11:08 AM, Krishantha Samaraweera <
> krishan...@wso2.com> wrote:
>
>> Hi Dimuthu,
>>
>> Can you fix all the problems and send a pull again.
>>
>> Thanks,
>> Krishantha.
>>
>> On Tue, Feb 10, 2015 at 10:18 PM, Kishanthan Thangarajah <
>> kishant...@wso2.com> wrote:
>>
>>> Hi DimuthuD,
>>>
>>> While trying to merge this, I found some pom level issues with the
>>> integration module that should be fixed.
>>>
>>> 1. We need to remove the dependencyManagement section in
>>> distribution/integration/pom.xml and move all those dependencies to the
>>> root pom at carbon4-kernel/parent/pom.xml
>>> 2. Submodule pom's should not have versions defined/hard-coded for any
>>> dependencies, instead they should be defined at root parent pom. The same
>>> applied for maven build plugins sections as-well.
>>>
>>> So shall we also fix the above with this effort?
>>>
>>> On Fri, Jan 23, 2015 at 7:39 PM, Dimuthu De Lanerolle >> > wrote:
>>>
 Hi Kishanthan,

 Yes,  we have the updated PR [1] which is compatible with the master
 branch to-date. Pls merge.

 [1] https://github.com/wso2/carbon4-kernel/pull/132

 Regards

 On Thu, Jan 22, 2015 at 11:09 PM, Kishanthan Thangarajah <
 kishant...@wso2.com> wrote:

> Great. Thanks Dimuthu and Krishantha. So we just have to remove the
> old framework from code base right? Also can we get the updated PR on this
> migration sent to master branch, if not already done?
>
> On Wed, Jan 21, 2015 at 11:57 PM, Krishantha Samaraweera <
> krishan...@wso2.com> wrote:
>
>> Hi Dimuthu,
>>
>> Thanks for attending to this.
>>
>> We need to remove the old test framework in kernel and test suite.
>>
>> Thanks,
>> Krishantha.
>>
>> On Wed, Jan 21, 2015 at 8:24 PM, Dimuthu De Lanerolle <
>> dimut...@wso2.com> wrote:
>>
>>> This is completed.  Please find the test result for carbon-kernel4
>>> tests-integration module.
>>>
>>> Test results
>>> SuitePassedFailedSkippedtestng.xml*Total**24**0**0*
>>> carbon-server-startup 2400
>>> Link 
>>>
>>>
>>> Regards
>>>
>>>
>>> On Tue, Jan 20, 2015 at 3:07 PM, Dimuthu De Lanerolle <
>>> dimut...@wso2.com> wrote:
>>>
 I have started migrating carbon4-kernel tests inside [1] "tests"
 module to "tests-integration" module which is going to be compatible 
 with
 new TAF 4.3.1 framework. Will update progress soon.

 [1]
 https://github.com/buddhics/carbon4-kernel/tree/master/distribution/integration


 Regards

 --
 Dimuthu De Lanerolle
 Software Engineer
 WSO2 Inc.
 lean . enterprise . middlewear.
 http://wso2.com/
 Tel. : +94 11 2145345  Fax : +94 11 2145300  email :
 dimut...@wso2.com


>>>
>>>
>>> --
>>> Dimuthu De Lanerolle
>>> Software Engineer
>>> WSO2 Inc.
>>> lean . enterprise . middlewear.
>>> http://wso2.com/
>>> Tel. : +94 11 2145345  Fax : +94 11 2145300  email :
>>> dimut...@wso2.com
>>>
>>>
>>
>>
>> --
>> Krishantha Samaraweera
>> Senior Technical Lead - Test Automation
>> Mobile: +94 77 7759918
>> WSO2, Inc.; http://wso2.com/
>> lean . enterprise . middlewear.
>>
>
>
>
> --
> *Kishanthan Thangarajah*
> Senior Software Engineer,
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com
> *
> Twitter - *http://twitter.com/kishanthan
> *
>



 --
 Dimuthu De Lanerolle
 Software Engineer
 WSO2 Inc.
 lean . enterprise . middlewear.
 http://wso2.com/
 Tel. : +94 11 2145345  Fax : +94 11 2145300  email : dimut...@wso2.com


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

Re: [Dev] Overriding getDataSource(String dsName) method in ApplicationAwareDataSourceRepository

2015-02-17 Thread Manjula Rathnayake
Hi all,

Above changes are committed as we could not identify any regression issues
so far.

thank you.

On Mon, Feb 16, 2015 at 5:47 PM, Manjula Rathnayake 
wrote:

> Hi all,
>
> I noticed that $Subject is not done while investigating issue[1]. Any
> reason, known issues for not overriding the above method?
>
> *Suggested fix:*
> @Override
> public CarbonDataSource getDataSource(String dsName) {
> String appId = Util.getCurrentArtifactName();
> if (!StringUtils.isEmpty(appId)) {
> return getDataSource(dsName, appId);
> }
> return super.getDataSource(dsName);
> }
>
> *Usage:*
> CarbonDataSource carbonDataSource =
> dataSourceManager.getInstance().getDataSourceRepository().getDataSource(dataSourceName);
> DataSource dataSource = (DataSource) carbonDataSource.getDSObject();
>
> [1]. https://wso2.org/jira/browse/APPFAC-2901
>
> thank you.
>
> --
> Manjula Rathnayaka
> Software Engineer
> WSO2, Inc.
> Mobile:+94 77 743 1987
>



-- 
Manjula Rathnayaka
Software Engineer
WSO2, Inc.
Mobile:+94 77 743 1987
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Deleting tenant related data from the DB level

2015-02-17 Thread Kishanthan Thangarajah
For scenarios like above (delete tenant admin user) which we cannot use the
APIs, use the hard delete approach.

On Tue, Feb 17, 2015 at 10:06 AM, Shashika Karunatilaka 
wrote:

> HI Kishanthan,
>
> Yes, calling delete user API will internally delete all(roles,
> permissions) data associated with that user. But there is a scenario where
> we cannot delete the tenant admin user.
> And my question here was, let say if this deleting process breaks at some
> point, then it will remain those tenant related(none deleted) data in the
> system. shouldn't this deletion process be atomic?
>
> Thank you
>
> On Mon, Feb 16, 2015 at 7:35 PM, Kishanthan Thangarajah <
> kishant...@wso2.com> wrote:
>
>> Shouldn't calling delete user API will internally delete all (roles,
>> permissions) data associated with that user?
>>
>> On Fri, Feb 13, 2015 at 11:01 AM, Shashika Karunatilaka <
>> shashi...@wso2.com> wrote:
>>
>>> HI all,
>>>
>>> When adding tenant it creates some of DB level operations sequentially
>>> as an *example*,
>>> In tenant creation it creates a user, creates user roles, add
>>> permissions to the roles and so on
>>> when deleting there are few options
>>>
>>>1. Delete the role permissions for the user role, delete user roles
>>>for the user finally delete the user
>>>2. Delete  all the users, roles, role permissions data associated to
>>>that tenant
>>>
>>> what would be the best approach?
>>>
>>> Thank you
>>>
>>> --
>>> Shashika Prabath Karunatilaka,
>>> Software Engineer,
>>> WSO2, Inc: http://wso2.com/
>>> mobile : +94 77 7487792
>>>
>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Senior Software Engineer,
>> Platform Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635
>> Blog - *http://kishanthan.wordpress.com
>> *
>> Twitter - *http://twitter.com/kishanthan *
>>
>
>
>
> --
> Shashika Prabath Karunatilaka,
> Software Engineer,
> WSO2, Inc: http://wso2.com/
> mobile : +94 77 7487792
>



-- 
*Kishanthan Thangarajah*
Senior Software Engineer,
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] Please commit to Kernel

2015-02-17 Thread Harsha Thirimanna
Yes , will do it. Thanks


*Harsha Thirimanna*
Senior Software Engineer; WSO2, Inc.; http://wso2.com
* *
*email: **hars...@wso2.com* * cell: +94 71 5186770  , +94 *
*774617784twitter: **http://twitter.com/ *
*harshathirimannlinked-in: **http:
**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
*

*Lean . Enterprise . Middleware*


On Wed, Feb 18, 2015 at 11:35 AM, Supun Malinga  wrote:

> Hi,
>
> Seems this is to the 4.2.0 branch. So you should send the PR to the git
> repo as well.
>
> thanks,
>
> On Wed, Feb 18, 2015 at 11:32 AM, Supun Malinga  wrote:
>
>> Hi Harsha,
>>
>> You should send a PR for this..
>>
>> thanks,
>>
>> On Wed, Feb 18, 2015 at 11:28 AM, Harsha Thirimanna 
>> wrote:
>>
>>> $subject please for [1]
>>>
>>> [1] https://wso2.org/jira/browse/CARBON-15171
>>>
>>> *Harsha Thirimanna*
>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>>> * *
>>> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
>>> +94 *
>>> *774617784twitter: **http://twitter.com/
>>> *
>>> *harshathirimannlinked-in: **http:
>>> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
>>> *
>>>
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Supun Malinga,
>>
>> Senior Software Engineer,
>> WSO2 Inc.
>> http://wso2.com
>> email: sup...@wso2.com 
>> mobile: +94 (0)71 56 91 321
>>
>
>
>
> --
> Supun Malinga,
>
> Senior Software Engineer,
> WSO2 Inc.
> http://wso2.com
> email: sup...@wso2.com 
> mobile: +94 (0)71 56 91 321
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please commit to Kernel

2015-02-17 Thread Supun Malinga
Hi,

Seems this is to the 4.2.0 branch. So you should send the PR to the git
repo as well.

thanks,

On Wed, Feb 18, 2015 at 11:32 AM, Supun Malinga  wrote:

> Hi Harsha,
>
> You should send a PR for this..
>
> thanks,
>
> On Wed, Feb 18, 2015 at 11:28 AM, Harsha Thirimanna 
> wrote:
>
>> $subject please for [1]
>>
>> [1] https://wso2.org/jira/browse/CARBON-15171
>>
>> *Harsha Thirimanna*
>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>> * *
>> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
>> +94 *
>> *774617784twitter: **http://twitter.com/
>> *
>> *harshathirimannlinked-in: **http:
>> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
>> *
>>
>> *Lean . Enterprise . Middleware*
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Supun Malinga,
>
> Senior Software Engineer,
> WSO2 Inc.
> http://wso2.com
> email: sup...@wso2.com 
> mobile: +94 (0)71 56 91 321
>



-- 
Supun Malinga,

Senior Software Engineer,
WSO2 Inc.
http://wso2.com
email: sup...@wso2.com 
mobile: +94 (0)71 56 91 321
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please commit to Kernel

2015-02-17 Thread Supun Malinga
Hi Harsha,

You should send a PR for this..

thanks,

On Wed, Feb 18, 2015 at 11:28 AM, Harsha Thirimanna 
wrote:

> $subject please for [1]
>
> [1] https://wso2.org/jira/browse/CARBON-15171
>
> *Harsha Thirimanna*
> Senior Software Engineer; WSO2, Inc.; http://wso2.com
> * *
> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
> +94 *
> *774617784twitter: **http://twitter.com/
> *
> *harshathirimannlinked-in: **http:
> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
> *
>
> *Lean . Enterprise . Middleware*
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Supun Malinga,

Senior Software Engineer,
WSO2 Inc.
http://wso2.com
email: sup...@wso2.com 
mobile: +94 (0)71 56 91 321
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please commit to Kernel

2015-02-17 Thread Harsha Thirimanna
$subject please for [1]

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

*Harsha Thirimanna*
Senior Software Engineer; WSO2, Inc.; http://wso2.com
* *
*email: **hars...@wso2.com* * cell: +94 71 5186770  , +94 *
*774617784twitter: **http://twitter.com/ *
*harshathirimannlinked-in: **http:
**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
*

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


Re: [Dev] [Jaggery] TypeError: org.mozilla.javascript.Undefined@50464b2a is not a function, it is undefined.

2015-02-17 Thread Mahesh Chinthaka
Thanks Ruchira,
The mistake I had done was keeping variable name and calling function name
same.
i.e :var deleteButtonVisible = deleteButtonVisible(currentStage);

This leads to a confusion, therefore we need to keep variable name and the
function name different
I got it fixed doing like this.

 var isDeleteButtonVisible = deleteButtonVisible(currentStage);



On Wed, Feb 18, 2015 at 10:55 AM, Ruchira Wageesha  wrote:

>
>
> On Wed, Feb 18, 2015 at 10:51 AM, Mahesh Chinthaka 
> wrote:
>
>> Hi,
>>
>> After adding new method in a block.jag file im getting following error.
>> Need helps please.
>>
>> TID: [0] [AF] [2015-02-18 10:49:56,109] ERROR
>> {org.jaggeryjs.jaggery.core.manager.WebAppManager} -
>> org.mozilla.javascript.EcmaError: TypeError:
>> org.mozilla.javascript.Undefined@50464b2a is not a function, it is
>> undefined. (/appmgt/site/blocks/resources/externalapi/add/block.jag#36)
>> {org.jaggeryjs.jaggery.core.manager.WebAppManager}
>>
>> org.jaggeryjs.scriptengine.exceptions.ScriptException:
>> org.mozilla.javascript.EcmaError: TypeError:
>> org.mozilla.javascript.Undefined@50464b2a is not a function, it is
>> undefined. (/appmgt/site/blocks/resources/externalapi/add/block.jag#36)
>>
> This explains the error, i.e. You expect a variable to be a function and
> try to call it. But, it hasn't actually got assigned a value.
>
>>  at
>> org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:571)
>>
>> at
>> org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
>>
>> at
>> org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:541)
>>
>> at org.jaggeryjs.jaggery.core.JaggeryServlet.doGet(JaggeryServlet.java:24)
>>
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
>>
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>
>> at
>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
>>
>> at
>> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
>>
>> at
>> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
>>
>> at
>> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
>>
>> at
>> org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21)
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>
>> at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>>
>> at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>>
>> at
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
>>
>> at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>>
>> at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
>>
>> at
>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
>>
>> at
>> org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
>>
>> at
>> org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
>>
>> at
>> org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
>>
>> at
>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
>>
>> at
>> org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
>>
>> at
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
>>
>> at
>> org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
>>
>> at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>>
>> at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
>>
>> at
>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
>>
>> at
>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
>>
>> at
>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
>>
>> at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>
>> at java.lang.Thread.run(Thread.java:744)
>>
>> Caused by: org.mozilla.javascript.EcmaError: TypeError:
>> org.mozilla.javascript.Undefined@50464b2a is not a function, it is
>> undefined. (/appmgt/site/blocks/resources/externalapi/add/block.jag#36)
>>
>> at
>> 

Re: [Dev] [DEV] Need clarification regarding "Allow Anonymous Access" option

2015-02-17 Thread Yasassri Ratnayake
Hi Dinusha,

Thanks for clearing this out, I have created JIRA [1] based on this.

[1] - https://wso2.org/jira/browse/APPM-401

With Regards,

On Tue, Feb 17, 2015 at 8:29 PM, Dinusha Senanayaka 
wrote:

> Hi Yasassri,
>
> This is an usability improvement. Yes, it doesn't make sense setting
> visibility when the app is allowed for anonymous access.
>
> Regards,
> Dinusha.
>
> On Tue, Feb 17, 2015 at 5:10 PM, Yasassri Ratnayake 
> wrote:
>
>> Hi Lahiru/Dinusha,
>>
>> Thanks for the explanation, I have reported following JIRA related to
>> Anonymous accessibility [1].
>>
>> If the anonymous option makes app accessible without authentication, Is
>> there an use case where a user needs to set the App "Visibility:" while
>> checking the "Allow Anonymous Access:" option. In the current
>> implementation user can set the app visibility while checking the "Allow
>> Anonymous Access" option. What is the rationale behind this?
>>
>> [1] - https://wso2.org/jira/browse/APPM-400
>>
>> On Tue, Feb 17, 2015 at 4:35 PM, Dinusha Senanayaka 
>> wrote:
>>
>>> Hi Yasassri,
>>>
>>> This feature is introduced to support non-secured applications. Since
>>> AppM is using SSO, even when we publish a unsecured application through
>>> AppManager, it need user authentication to access this application though
>>> GW. But there can be some use cases Application publisher need this app to
>>> have anonymous access but need to apply other QoS policies.
>>> Also this can be configured in two levels as Lahiru explained already.
>>>
>>> Regards,
>>> Dinusha.
>>>
>>> On Tue, Feb 17, 2015 at 2:39 PM, Yasassri Ratnayake 
>>> wrote:
>>>
 Hi AppM Team,

 I would like to get some clarification regarding the "Allow Anonymous
 Access:" option which can be selected when creating a webapp. What is
 the intended behavior of an Anonymous App?

 With Regards,
 --
 Yasassri Ratnayake
 Software Engineer - QA
 WSO2 Inc ; http://wso2.com
 lean.enterprise.middleware
 *Mobile : +94715933168 <%2B94715933168>*
 *Blog : http://yasassriratnayake.blogspot.com/
 *

>>>
>>>
>>>
>>> --
>>> Dinusha Dilrukshi
>>> Senior Software Engineer
>>> WSO2 Inc.: http://wso2.com/
>>> Mobile: +94725255071
>>> Blog: http://dinushasblog.blogspot.com/
>>>
>>
>>
>>
>> --
>> Yasassri Ratnayake
>> Software Engineer - QA
>> WSO2 Inc ; http://wso2.com
>> lean.enterprise.middleware
>> *Mobile : +94715933168 <%2B94715933168>*
>> *Blog : http://yasassriratnayake.blogspot.com/
>> *
>>
>
>
>
> --
> Dinusha Dilrukshi
> Senior Software Engineer
> WSO2 Inc.: http://wso2.com/
> Mobile: +94725255071
> Blog: http://dinushasblog.blogspot.com/
>



-- 
Yasassri Ratnayake
Software Engineer - QA
WSO2 Inc ; http://wso2.com
lean.enterprise.middleware
*Mobile : +94715933168*
*Blog : http://yasassriratnayake.blogspot.com/
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please merge PR for IDENTITY-3048 and IDENTITY-2761

2015-02-17 Thread Kishanthan Thangarajah
Done.

On Tue, Feb 17, 2015 at 4:51 PM, Chanuka Dissanayake 
wrote:

> Hi,
>
> $subject. Contains fixes for [1] and [2]. PR is in [3].
>
> [1] https://wso2.org/jira/browse/IDENTITY-3048
> [2] https://wso2.org/jira/browse/IDENTITY-2761
> [3] https://github.com/wso2/carbon4-kernel/pull/138
>
> Thanks,
> Chanuka
>
> --
> Chanuka Dissanayake
> *Software Engineer | **WSO2 Inc.*; http://wso2.com
>
> Mobile: +94 71 33 63 596
> Email: chan...@wso2.com
>



-- 
*Kishanthan Thangarajah*
Senior Software Engineer,
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] WSO2 Committers += Pulasthi Mahawithana

2015-02-17 Thread Rajith Vitharana
Congrats Pulasthi  !! :)

On Wed, Feb 18, 2015 at 10:54 AM, Harsha Kumara  wrote:

> Congratulations Pulasthi!
>
> On Wed, Feb 18, 2015 at 10:38 AM, Lasitha Wattaladeniya  > wrote:
>
>> Congratulations pulasthi !!
>>
>> On Wed, Feb 18, 2015 at 10:13 AM, Anuja Herath  wrote:
>>
>>> Congratulations Pulasthi...!!!
>>>
>>> On Fri, Feb 13, 2015 at 10:58 PM, Gayan Gunawardana 
>>> wrote:
>>>
 Congratulations Pulasthi ..!

 On Fri, Feb 13, 2015 at 4:16 PM, Vijitha Ekanayake 
 wrote:

> Congratulations Pulasthi !!!
>
> On Fri, Feb 13, 2015 at 3:36 PM, Thanuja Jayasinghe 
> wrote:
>
>> Congratz pulasthi
>>
>> On Fri, Feb 13, 2015 at 3:13 PM, Dakshika Jayathilaka <
>> daksh...@wso2.com> wrote:
>>
>>> Congratulations Pulasthi!
>>>
>>> *Dakshika Jayathilaka*
>>> Software Engineer
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>> 0771100911
>>>
>>> On Fri, Feb 13, 2015 at 3:03 PM, Prasanna Dangalla <
>>> prasa...@wso2.com> wrote:
>>>
 Congratulations Pulasthi!


 On Fri, Feb 13, 2015 at 2:03 PM, Kasun De Silva 
 wrote:

> Congratz Pulasthi!!!
>
> *Kasun de Silva*
> Software Engineer | *WSO2 Inc.*; http://wso2.com
> lean.enterprise.middleware
>
> email   : kas...@wso2.com
> mobile : +94 77 794 4260
>
>
> On Fri, Feb 13, 2015 at 1:54 PM, Supun Sethunga 
> wrote:
>
>> Congratz Pulasthi !
>>
>> On Fri, Feb 13, 2015 at 1:09 PM, Darshana Gunawardana <
>> darsh...@wso2.com> wrote:
>>
>>> Congratulations Pulasthi..!!
>>>
>>> On Fri, Feb 13, 2015 at 12:37 PM, Buddhima Wijeweera <
>>> buddh...@wso2.com> wrote:
>>>
 Congratulations Pulasthi !!!

 On Fri, Feb 13, 2015 at 12:30 PM, Kalpa Welivitigoda <
 kal...@wso2.com> wrote:

> Congratulations Pulasthi !
>
> On Fri, Feb 13, 2015 at 12:29 PM, Milinda Perera <
> milin...@wso2.com> wrote:
>
>> Congratulations Pulasthi ... :)
>>
>> On Fri, Feb 13, 2015 at 12:27 PM, Firzhan Naqash <
>> firz...@wso2.com> wrote:
>>
>>> Congratulations Pulasthi
>>>
>>> Regards,
>>> Firzhan
>>>
>>> On Fri, Feb 13, 2015 at 12:23 PM, Jerad Rutnam <
>>> je...@wso2.com> wrote:
>>>
 Congratulations Pulasthi! :)

 On Fri, Feb 13, 2015 at 12:19 PM, Johann Nallathamby <
 joh...@wso2.com> wrote:

> Hi All,
>
> It's my pleasure to announce Pulasthi Mahawithana as a
> WSO2 Committer. Pulasthi has been a valuable contributor
> for WSO2 Identity Server product, and in recognition of his 
> contribution to
> WSO2, he has been voted as a WSO2 Committer.
>
> Pulasthi, congratulations and keep up the good work!
>
> Thanks & Regards.
>
> --
> Thanks & Regards,
>
> *Johann Dilantha Nallathamby*
> Associate Technical Lead & Product Lead of WSO2 Identity
> Server
> Integration Technologies Team
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - *+9476950*
> Blog - *http://nallaa.wordpress.com
> *
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 *Jerad Rutnam*
 *Software Engineer*

 WSO2 Inc.
 lean | enterprise | middleware
 M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com

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


>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Milinda Perera
>> Software Engineer

Re: [Dev] [Jaggery] TypeError: org.mozilla.javascript.Undefined@50464b2a is not a function, it is undefined.

2015-02-17 Thread Ruchira Wageesha
On Wed, Feb 18, 2015 at 10:51 AM, Mahesh Chinthaka  wrote:

> Hi,
>
> After adding new method in a block.jag file im getting following error.
> Need helps please.
>
> TID: [0] [AF] [2015-02-18 10:49:56,109] ERROR
> {org.jaggeryjs.jaggery.core.manager.WebAppManager} -
> org.mozilla.javascript.EcmaError: TypeError:
> org.mozilla.javascript.Undefined@50464b2a is not a function, it is
> undefined. (/appmgt/site/blocks/resources/externalapi/add/block.jag#36)
> {org.jaggeryjs.jaggery.core.manager.WebAppManager}
>
> org.jaggeryjs.scriptengine.exceptions.ScriptException:
> org.mozilla.javascript.EcmaError: TypeError:
> org.mozilla.javascript.Undefined@50464b2a is not a function, it is
> undefined. (/appmgt/site/blocks/resources/externalapi/add/block.jag#36)
>
This explains the error, i.e. You expect a variable to be a function and
try to call it. But, it hasn't actually got assigned a value.

>  at
> org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:571)
>
> at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
>
> at
> org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:541)
>
> at org.jaggeryjs.jaggery.core.JaggeryServlet.doGet(JaggeryServlet.java:24)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
>
> at org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
>
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
>
> at
> org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
>
> at
> org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
>
> at
> org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
>
> at
> org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
>
> at
> org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
>
> at
> org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
>
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
>
> at
> org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
>
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
>
> at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
>
> at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
>
> at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
>
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>
> at java.lang.Thread.run(Thread.java:744)
>
> Caused by: org.mozilla.javascript.EcmaError: TypeError:
> org.mozilla.javascript.Undefined@50464b2a is not a function, it is
> undefined. (/appmgt/site/blocks/resources/externalapi/add/block.jag#36)
>
> at
> org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3687)
>
> at
> org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3665)
>
> at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3693)
>
> at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3712)
>
> at
> org.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3767)
>
> at
> org.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3755)
>
> at
> org.mozilla.javascript.ScriptRuntime.getValueFunctionAndThis(Scri

Re: [Dev] WSO2 Committers += Pulasthi Mahawithana

2015-02-17 Thread Harsha Kumara
Congratulations Pulasthi!

On Wed, Feb 18, 2015 at 10:38 AM, Lasitha Wattaladeniya 
wrote:

> Congratulations pulasthi !!
>
> On Wed, Feb 18, 2015 at 10:13 AM, Anuja Herath  wrote:
>
>> Congratulations Pulasthi...!!!
>>
>> On Fri, Feb 13, 2015 at 10:58 PM, Gayan Gunawardana 
>> wrote:
>>
>>> Congratulations Pulasthi ..!
>>>
>>> On Fri, Feb 13, 2015 at 4:16 PM, Vijitha Ekanayake 
>>> wrote:
>>>
 Congratulations Pulasthi !!!

 On Fri, Feb 13, 2015 at 3:36 PM, Thanuja Jayasinghe 
 wrote:

> Congratz pulasthi
>
> On Fri, Feb 13, 2015 at 3:13 PM, Dakshika Jayathilaka <
> daksh...@wso2.com> wrote:
>
>> Congratulations Pulasthi!
>>
>> *Dakshika Jayathilaka*
>> Software Engineer
>> WSO2, Inc.
>> lean.enterprise.middleware
>> 0771100911
>>
>> On Fri, Feb 13, 2015 at 3:03 PM, Prasanna Dangalla > > wrote:
>>
>>> Congratulations Pulasthi!
>>>
>>>
>>> On Fri, Feb 13, 2015 at 2:03 PM, Kasun De Silva 
>>> wrote:
>>>
 Congratz Pulasthi!!!

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


 On Fri, Feb 13, 2015 at 1:54 PM, Supun Sethunga 
 wrote:

> Congratz Pulasthi !
>
> On Fri, Feb 13, 2015 at 1:09 PM, Darshana Gunawardana <
> darsh...@wso2.com> wrote:
>
>> Congratulations Pulasthi..!!
>>
>> On Fri, Feb 13, 2015 at 12:37 PM, Buddhima Wijeweera <
>> buddh...@wso2.com> wrote:
>>
>>> Congratulations Pulasthi !!!
>>>
>>> On Fri, Feb 13, 2015 at 12:30 PM, Kalpa Welivitigoda <
>>> kal...@wso2.com> wrote:
>>>
 Congratulations Pulasthi !

 On Fri, Feb 13, 2015 at 12:29 PM, Milinda Perera <
 milin...@wso2.com> wrote:

> Congratulations Pulasthi ... :)
>
> On Fri, Feb 13, 2015 at 12:27 PM, Firzhan Naqash <
> firz...@wso2.com> wrote:
>
>> Congratulations Pulasthi
>>
>> Regards,
>> Firzhan
>>
>> On Fri, Feb 13, 2015 at 12:23 PM, Jerad Rutnam <
>> je...@wso2.com> wrote:
>>
>>> Congratulations Pulasthi! :)
>>>
>>> On Fri, Feb 13, 2015 at 12:19 PM, Johann Nallathamby <
>>> joh...@wso2.com> wrote:
>>>
 Hi All,

 It's my pleasure to announce Pulasthi Mahawithana as a WSO2
 Committer. Pulasthi has been a valuable contributor for
 WSO2 Identity Server product, and in recognition of his 
 contribution to
 WSO2, he has been voted as a WSO2 Committer.

 Pulasthi, congratulations and keep up the good work!

 Thanks & Regards.

 --
 Thanks & Regards,

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

 Mobile - *+9476950*
 Blog - *http://nallaa.wordpress.com
 *

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


>>>
>>>
>>> --
>>> *Jerad Rutnam*
>>> *Software Engineer*
>>>
>>> WSO2 Inc.
>>> lean | enterprise | middleware
>>> M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Milinda Perera
> Software Engineer;
> WSO2 Inc. http://wso2.com ,
> Mobile: (+94) 714 115 032
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-b

[Dev] [Jaggery] TypeError: org.mozilla.javascript.Undefined@50464b2a is not a function, it is undefined.

2015-02-17 Thread Mahesh Chinthaka
Hi,

After adding new method in a block.jag file im getting following error.
Need helps please.

TID: [0] [AF] [2015-02-18 10:49:56,109] ERROR
{org.jaggeryjs.jaggery.core.manager.WebAppManager} -
org.mozilla.javascript.EcmaError: TypeError:
org.mozilla.javascript.Undefined@50464b2a is not a function, it is
undefined. (/appmgt/site/blocks/resources/externalapi/add/block.jag#36)
{org.jaggeryjs.jaggery.core.manager.WebAppManager}

org.jaggeryjs.scriptengine.exceptions.ScriptException:
org.mozilla.javascript.EcmaError: TypeError:
org.mozilla.javascript.Undefined@50464b2a is not a function, it is
undefined. (/appmgt/site/blocks/resources/externalapi/add/block.jag#36)

at
org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:571)

at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)

at
org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:541)

at org.jaggeryjs.jaggery.core.JaggeryServlet.doGet(JaggeryServlet.java:24)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)

at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)

at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)

at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)

at org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)

at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)

at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)

at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)

at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)

at
org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)

at
org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)

at
org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)

at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)

at
org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)

at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)

at
org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)

at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)

at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)

at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)

at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)

at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at java.lang.Thread.run(Thread.java:744)

Caused by: org.mozilla.javascript.EcmaError: TypeError:
org.mozilla.javascript.Undefined@50464b2a is not a function, it is
undefined. (/appmgt/site/blocks/resources/externalapi/add/block.jag#36)

at
org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3687)

at
org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3665)

at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3693)

at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3712)

at
org.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3767)

at
org.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3755)

at
org.mozilla.javascript.ScriptRuntime.getValueFunctionAndThis(ScriptRuntime.java:2286)

at
org.jaggeryjs.rhino.appmgt.site.blocks.resources.externalapi.add.c0._c_anonymous_3(/appmgt/site/blocks/resources/externalapi/add/block.jag:36)

at
org.jaggeryjs.rhino.appmgt.site.blocks.resources.externalapi.add.c0.call(/appmgt/site/blocks/resources/externalapi/add/block.jag)

at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)

at
org.jaggeryjs.rhino.appmgt.jagg.c0._c_anonymous_26(/

Re: [Dev] WSO2 Committers += Pulasthi Mahawithana

2015-02-17 Thread Lasitha Wattaladeniya
Congratulations pulasthi !!

On Wed, Feb 18, 2015 at 10:13 AM, Anuja Herath  wrote:

> Congratulations Pulasthi...!!!
>
> On Fri, Feb 13, 2015 at 10:58 PM, Gayan Gunawardana 
> wrote:
>
>> Congratulations Pulasthi ..!
>>
>> On Fri, Feb 13, 2015 at 4:16 PM, Vijitha Ekanayake 
>> wrote:
>>
>>> Congratulations Pulasthi !!!
>>>
>>> On Fri, Feb 13, 2015 at 3:36 PM, Thanuja Jayasinghe 
>>> wrote:
>>>
 Congratz pulasthi

 On Fri, Feb 13, 2015 at 3:13 PM, Dakshika Jayathilaka <
 daksh...@wso2.com> wrote:

> Congratulations Pulasthi!
>
> *Dakshika Jayathilaka*
> Software Engineer
> WSO2, Inc.
> lean.enterprise.middleware
> 0771100911
>
> On Fri, Feb 13, 2015 at 3:03 PM, Prasanna Dangalla 
> wrote:
>
>> Congratulations Pulasthi!
>>
>>
>> On Fri, Feb 13, 2015 at 2:03 PM, Kasun De Silva 
>> wrote:
>>
>>> Congratz Pulasthi!!!
>>>
>>> *Kasun de Silva*
>>> Software Engineer | *WSO2 Inc.*; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> email   : kas...@wso2.com
>>> mobile : +94 77 794 4260
>>>
>>>
>>> On Fri, Feb 13, 2015 at 1:54 PM, Supun Sethunga 
>>> wrote:
>>>
 Congratz Pulasthi !

 On Fri, Feb 13, 2015 at 1:09 PM, Darshana Gunawardana <
 darsh...@wso2.com> wrote:

> Congratulations Pulasthi..!!
>
> On Fri, Feb 13, 2015 at 12:37 PM, Buddhima Wijeweera <
> buddh...@wso2.com> wrote:
>
>> Congratulations Pulasthi !!!
>>
>> On Fri, Feb 13, 2015 at 12:30 PM, Kalpa Welivitigoda <
>> kal...@wso2.com> wrote:
>>
>>> Congratulations Pulasthi !
>>>
>>> On Fri, Feb 13, 2015 at 12:29 PM, Milinda Perera <
>>> milin...@wso2.com> wrote:
>>>
 Congratulations Pulasthi ... :)

 On Fri, Feb 13, 2015 at 12:27 PM, Firzhan Naqash <
 firz...@wso2.com> wrote:

> Congratulations Pulasthi
>
> Regards,
> Firzhan
>
> On Fri, Feb 13, 2015 at 12:23 PM, Jerad Rutnam  > wrote:
>
>> Congratulations Pulasthi! :)
>>
>> On Fri, Feb 13, 2015 at 12:19 PM, Johann Nallathamby <
>> joh...@wso2.com> wrote:
>>
>>> Hi All,
>>>
>>> It's my pleasure to announce Pulasthi Mahawithana as a WSO2
>>> Committer. Pulasthi has been a valuable contributor for
>>> WSO2 Identity Server product, and in recognition of his 
>>> contribution to
>>> WSO2, he has been voted as a WSO2 Committer.
>>>
>>> Pulasthi, congratulations and keep up the good work!
>>>
>>> Thanks & Regards.
>>>
>>> --
>>> Thanks & Regards,
>>>
>>> *Johann Dilantha Nallathamby*
>>> Associate Technical Lead & Product Lead of WSO2 Identity
>>> Server
>>> Integration Technologies Team
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>>
>>> Mobile - *+9476950*
>>> Blog - *http://nallaa.wordpress.com
>>> *
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Jerad Rutnam*
>> *Software Engineer*
>>
>> WSO2 Inc.
>> lean | enterprise | middleware
>> M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 Milinda Perera
 Software Engineer;
 WSO2 Inc. http://wso2.com ,
 Mobile: (+94) 714 115 032


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


>>>
>>>
>>> --
>>> Best Regards,
>>>
>>> Kalpa Welivitigoda
>>> Software Engineer, WSO2 Inc. http://wso2.com
>>> Email: kal...@wso2.com
>>> Mobile: +

Re: [Dev] Tenant loading with coordination="false" inbound endpoints

2015-02-17 Thread Malaka Silva
How are we going to register with observer. Artifact will not be deployed
after tenant is loaded?

On Wed, Feb 18, 2015 at 10:32 AM, Ravindra Ranwala 
wrote:

> Hi Malaka,
>
> How about using an Observer, which will then be notified when the tenant
> needs to be loaded.
>
>
>
> Thanks & Regards,
>
> On Tue, Feb 17, 2015 at 10:00 PM, Malaka Silva  wrote:
>
>> Hi,
>>
>> In polling inbound with coordination="true" tenant is loaded when the
>> ntask is executed. (at adapter level)
>>
>> However when coordination="false" we will not be using ntask. It'll run
>> as a background thread.
>>
>> So we need some way to load the tenant in this case.
>>
>> One way is to have a dummy task and schedule it with different
>> dispatchers. Same is done for MSMP with coordination. This task is just to
>> load tenants.
>> @Ravindra & Priyadarshini Can you give some info onthis how this was done?
>>
>> Any other way to address this issue?
>>
>> Best Regards,
>>
>> Malaka Silva
>> Senior Tech Lead
>> M: +94 777 219 791
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300
>> Skype : malaka.sampath.silva
>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>> Blog : http://mrmalakasilva.blogspot.com/
>>
>> WSO2, Inc.
>> lean . enterprise . middleware
>> http://www.wso2.com/
>> http://www.wso2.com/about/team/malaka-silva/
>> 
>>
>> Save a tree -Conserve nature & Save the world for your future. Print this
>> email only if it is absolutely necessary.
>>
>
>
>
> --
> Ravindra Ranwala
> Software Engineer
> WSO2, Inc: http://wso2.com
> 
> Mobile: +94714198770
>
>


-- 

Best Regards,

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

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


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


Re: [Dev] Tenant loading with coordination="false" inbound endpoints

2015-02-17 Thread Ravindra Ranwala
Hi Malaka,

How about using an Observer, which will then be notified when the tenant
needs to be loaded.



Thanks & Regards,

On Tue, Feb 17, 2015 at 10:00 PM, Malaka Silva  wrote:

> Hi,
>
> In polling inbound with coordination="true" tenant is loaded when the
> ntask is executed. (at adapter level)
>
> However when coordination="false" we will not be using ntask. It'll run as
> a background thread.
>
> So we need some way to load the tenant in this case.
>
> One way is to have a dummy task and schedule it with different
> dispatchers. Same is done for MSMP with coordination. This task is just to
> load tenants.
> @Ravindra & Priyadarshini Can you give some info onthis how this was done?
>
> Any other way to address this issue?
>
> Best Regards,
>
> Malaka Silva
> Senior Tech Lead
> M: +94 777 219 791
> Tel : 94 11 214 5345
> Fax :94 11 2145300
> Skype : malaka.sampath.silva
> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
> Blog : http://mrmalakasilva.blogspot.com/
>
> WSO2, Inc.
> lean . enterprise . middleware
> http://www.wso2.com/
> http://www.wso2.com/about/team/malaka-silva/
> 
>
> Save a tree -Conserve nature & Save the world for your future. Print this
> email only if it is absolutely necessary.
>



-- 
Ravindra Ranwala
Software Engineer
WSO2, Inc: http://wso2.com

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


[Dev] [Carbon 4.3.0] [P2] All features should have licence information

2015-02-17 Thread Kishanthan Thangarajah
Please note $subject. From kernel 4.3.0 onwards, you can't install features
that does not have licence information via feature management UI. If you
have already released those features, then you have to do another release
again.

To test this, you can do the the following.

1. Create p2 repo containing the features that comes from your repositories.
2. Try installing them on a vanilla kernel 4.3.0 via feature management UI.

-- 
*Kishanthan Thangarajah*
Senior Software Engineer,
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] Internal user roles are added/shown twice for users

2015-02-17 Thread Lakmali Baminiwatta
Hi Pushpalanka,


Find the latest App Manager pack [1]. By following the steps given in [2],
this issue can be reproduced.

[1] http://builder1.us1.wso2.org/~appm/17-02-2015/
[2] https://wso2.org/jira/browse/APPM-333

Thanks,
Lakmali

On 18 February 2015 at 09:47, Pushpalanka Jayawardhana 
wrote:

> Hi Nuwan,
>
> I couldn't reproduce the error with IS 5.0.0 default pack. Is this after
> the SP-01 applied or do you have any specific steps?
>
> Thanks,
> Pushpalanka.
> --
> Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
> Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
> Mobile: +94779716248
> Blog: pushpalankajaya.blogspot.com/ | LinkedIn:
> lk.linkedin.com/in/pushpalanka/ | Twitter: @pushpalanka
>
>
> On Wed, Feb 18, 2015 at 3:46 AM, Nuwan Wimalasekara 
> wrote:
>
>> Hi
>> I am getting this issue in Identity Server 5.0.0 as well. Is there any
>> workaround to get rid of this issue
>>
>> Thanks,
>> Nuwanw
>>
>> On Tue, Feb 17, 2015 at 5:18 AM, Lakmali Baminiwatta 
>> wrote:
>>
>>> Hi IS team,
>>>
>>> In the latest APPM and APIM packs, if we create a user by assigning an
>>> Internal role, it lists the same role twice when viewing the roles of that
>>> user. This is reported in [1].
>>>
>>> Can you please have a look?
>>>
>>> [1] https://wso2.org/jira/browse/APPM-333
>>>
>>> Thanks,
>>> Lakmali
>>> 
>>>
>>> --
>>> Lakmali Baminiwatta
>>>  Senior Software Engineer
>>> WSO2, Inc.: http://wso2.com
>>> lean.enterprise.middleware
>>> mobile:  +94 71 2335936
>>> blog : lakmali.com
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Nuwan Wimalasekara
>> Senior Software Engineer - Test Automation
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> phone: +94 71 668 4620
>>
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 
Lakmali Baminiwatta
 Senior Software Engineer
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware
mobile:  +94 71 2335936
blog : lakmali.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Internal user roles are added/shown twice for users

2015-02-17 Thread Nuwan Wimalasekara
Hi
Yes. I have applied SP01.

Thanks,
Nuwanw

On Tue, Feb 17, 2015 at 8:17 PM, Pushpalanka Jayawardhana 
wrote:

> Hi Nuwan,
>
> I couldn't reproduce the error with IS 5.0.0 default pack. Is this after
> the SP-01 applied or do you have any specific steps?
>
> Thanks,
> Pushpalanka.
> --
> Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
> Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
> Mobile: +94779716248
> Blog: pushpalankajaya.blogspot.com/ | LinkedIn:
> lk.linkedin.com/in/pushpalanka/ | Twitter: @pushpalanka
>
>
> On Wed, Feb 18, 2015 at 3:46 AM, Nuwan Wimalasekara 
> wrote:
>
>> Hi
>> I am getting this issue in Identity Server 5.0.0 as well. Is there any
>> workaround to get rid of this issue
>>
>> Thanks,
>> Nuwanw
>>
>> On Tue, Feb 17, 2015 at 5:18 AM, Lakmali Baminiwatta 
>> wrote:
>>
>>> Hi IS team,
>>>
>>> In the latest APPM and APIM packs, if we create a user by assigning an
>>> Internal role, it lists the same role twice when viewing the roles of that
>>> user. This is reported in [1].
>>>
>>> Can you please have a look?
>>>
>>> [1] https://wso2.org/jira/browse/APPM-333
>>>
>>> Thanks,
>>> Lakmali
>>> 
>>>
>>> --
>>> Lakmali Baminiwatta
>>>  Senior Software Engineer
>>> WSO2, Inc.: http://wso2.com
>>> lean.enterprise.middleware
>>> mobile:  +94 71 2335936
>>> blog : lakmali.com
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Nuwan Wimalasekara
>> Senior Software Engineer - Test Automation
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> phone: +94 71 668 4620
>>
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


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

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


Re: [Dev] WSO2 Committers += Pulasthi Mahawithana

2015-02-17 Thread Anuja Herath
Congratulations Pulasthi...!!!

On Fri, Feb 13, 2015 at 10:58 PM, Gayan Gunawardana  wrote:

> Congratulations Pulasthi ..!
>
> On Fri, Feb 13, 2015 at 4:16 PM, Vijitha Ekanayake 
> wrote:
>
>> Congratulations Pulasthi !!!
>>
>> On Fri, Feb 13, 2015 at 3:36 PM, Thanuja Jayasinghe 
>> wrote:
>>
>>> Congratz pulasthi
>>>
>>> On Fri, Feb 13, 2015 at 3:13 PM, Dakshika Jayathilaka >> > wrote:
>>>
 Congratulations Pulasthi!

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911

 On Fri, Feb 13, 2015 at 3:03 PM, Prasanna Dangalla 
 wrote:

> Congratulations Pulasthi!
>
>
> On Fri, Feb 13, 2015 at 2:03 PM, Kasun De Silva 
> wrote:
>
>> Congratz Pulasthi!!!
>>
>> *Kasun de Silva*
>> Software Engineer | *WSO2 Inc.*; http://wso2.com
>> lean.enterprise.middleware
>>
>> email   : kas...@wso2.com
>> mobile : +94 77 794 4260
>>
>>
>> On Fri, Feb 13, 2015 at 1:54 PM, Supun Sethunga 
>> wrote:
>>
>>> Congratz Pulasthi !
>>>
>>> On Fri, Feb 13, 2015 at 1:09 PM, Darshana Gunawardana <
>>> darsh...@wso2.com> wrote:
>>>
 Congratulations Pulasthi..!!

 On Fri, Feb 13, 2015 at 12:37 PM, Buddhima Wijeweera <
 buddh...@wso2.com> wrote:

> Congratulations Pulasthi !!!
>
> On Fri, Feb 13, 2015 at 12:30 PM, Kalpa Welivitigoda <
> kal...@wso2.com> wrote:
>
>> Congratulations Pulasthi !
>>
>> On Fri, Feb 13, 2015 at 12:29 PM, Milinda Perera <
>> milin...@wso2.com> wrote:
>>
>>> Congratulations Pulasthi ... :)
>>>
>>> On Fri, Feb 13, 2015 at 12:27 PM, Firzhan Naqash <
>>> firz...@wso2.com> wrote:
>>>
 Congratulations Pulasthi

 Regards,
 Firzhan

 On Fri, Feb 13, 2015 at 12:23 PM, Jerad Rutnam 
 wrote:

> Congratulations Pulasthi! :)
>
> On Fri, Feb 13, 2015 at 12:19 PM, Johann Nallathamby <
> joh...@wso2.com> wrote:
>
>> Hi All,
>>
>> It's my pleasure to announce Pulasthi Mahawithana as a WSO2
>> Committer. Pulasthi has been a valuable contributor for WSO2
>> Identity Server product, and in recognition of his contribution 
>> to WSO2,
>> he has been voted as a WSO2 Committer.
>>
>> Pulasthi, congratulations and keep up the good work!
>>
>> Thanks & Regards.
>>
>> --
>> Thanks & Regards,
>>
>> *Johann Dilantha Nallathamby*
>> Associate Technical Lead & Product Lead of WSO2 Identity
>> Server
>> Integration Technologies Team
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - *+9476950*
>> Blog - *http://nallaa.wordpress.com
>> *
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Jerad Rutnam*
> *Software Engineer*
>
> WSO2 Inc.
> lean | enterprise | middleware
> M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>

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


>>>
>>>
>>> --
>>> Milinda Perera
>>> Software Engineer;
>>> WSO2 Inc. http://wso2.com ,
>>> Mobile: (+94) 714 115 032
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Best Regards,
>>
>> Kalpa Welivitigoda
>> 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
>>
>>
>
>
> --
> Buddhima Wijeweera
>

Re: [Dev] Please merge pull request

2015-02-17 Thread Kishanthan Thangarajah
Also have you done a final test on these orbits (after all the changes)
with the product?

On Wed, Feb 18, 2015 at 9:38 AM, Pulasthi Mahawithana 
wrote:

> Hi Kishanthan,
>
> I had missed that one, Corrected now.
>
> On Wed, Feb 18, 2015 at 9:33 AM, Kishanthan Thangarajah <
> kishant...@wso2.com> wrote:
>
>> So DynamicImport-Package * is needed for bcpkix-jdk15on?
>>
>> On Wed, Feb 18, 2015 at 12:00 AM, Pulasthi Mahawithana <
>> pulast...@wso2.com> wrote:
>>
>>> Hi Kishanthan,
>>>
>>> Resolved the new comments and removed the dynamic imports. The previous
>>> comments had been resolved, but some are still visible since they had no
>>> new changes to the commented line.
>>>
>>> On Tue, Feb 17, 2015 at 7:53 PM, Kishanthan Thangarajah <
>>> kishant...@wso2.com> wrote:
>>>
 I still see dynamic imports in these orbits. If it is not needed you
 need to remove them. Also some comments that were added are not resolved
 yet.

 On Tue, Feb 17, 2015 at 6:12 PM, Dilshan Edirisuriya 
 wrote:

> Hi Kishanthan/Maheshika,
>
> Can you please look into this since we have a dependencies to these
> orbit bundles as well for our next milestone which is due this week.
>
> Regards,
>
> Dilshan
>
> On Tue, Feb 17, 2015 at 12:21 PM, Dilshan Edirisuriya <
> dils...@wso2.com> wrote:
>
>> As far as I can remember this does not need it. So we can remove it.
>>
>> Regards,
>>
>> Dilshan
>>
>> On Tue, Feb 17, 2015 at 12:16 PM, Pulasthi Mahawithana <
>> pulast...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> On Mon, Feb 16, 2015 at 7:50 PM, Kishanthan Thangarajah <
>>> kishant...@wso2.com> wrote:
>>>
 I added some comments/concerns. Can you look into them?

>>>
>>> Corrected them. Thanks for pointing out.
>>>
>>> @ Dilshan,
>>> Removed dynamic imports from the initial versions of jscep and
>>> bcpkix, since I could not find any need for that in their sources. 
>>> Please
>>> comment if that is still needed.
>>>

 On Mon, Feb 16, 2015 at 12:27 PM, Pulasthi Mahawithana <
 pulast...@wso2.com> wrote:

> Hi Sameera,
>
> Please review and merge [1]. It has updates to following
>
> 1. Commons-IO - 2.4.0.wso2v1 - Required by JSCEP
> 2. JSCEP - 2.0.2.wso2v2 - Updated with commons-io 2.4
> 3. BCPKIX - 1.49.0.wso2v2 - Fix for signature validation issue
> (similar to what was done to bcprov)
>
>
> [1] https://github.com/wso2/orbit/pull/63
>
> --
> *Pulasthi Mahawithana*
> Software Engineer
> WSO2 Inc., http://wso2.com/
> Mobile: +94-71-5179022
> Blog: http://blog.pulasthi.org
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 *Kishanthan Thangarajah*
 Senior Software Engineer,
 Platform Technologies Team,
 WSO2, Inc.
 lean.enterprise.middleware

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

>>>
>>>
>>>
>>> --
>>> *Pulasthi Mahawithana*
>>> Software Engineer
>>> WSO2 Inc., http://wso2.com/
>>> Mobile: +94-71-5179022
>>> Blog: http://blog.pulasthi.org
>>>
>>
>>
>>
>> --
>> Dilshan Edirisuriya
>> Senior Software Engineer - WSO2
>> Mob: + 94 777878905
>> http://wso2.com/
>> https://www.linkedin.com/profile/view?id=50486426
>>
>
>
>
> --
> Dilshan Edirisuriya
> Senior Software Engineer - WSO2
> Mob: + 94 777878905
> http://wso2.com/
> https://www.linkedin.com/profile/view?id=50486426
>



 --
 *Kishanthan Thangarajah*
 Senior Software Engineer,
 Platform Technologies Team,
 WSO2, Inc.
 lean.enterprise.middleware

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

>>>
>>>
>>>
>>> --
>>> *Pulasthi Mahawithana*
>>> Software Engineer
>>> WSO2 Inc., http://wso2.com/
>>> Mobile: +94-71-5179022
>>> Blog: http://blog.pulasthi.org
>>>
>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Senior Software Engineer,
>> Platform Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635
>> Blog - *http://kishanthan.wordpress.com
>> *
>> Twitter - *http://twitter.com/kishanthan *
>>
>
>
>
> --
> *Pulasthi Mahawithana*
> Software Engineer
> WS

Re: [Dev] Internal user roles are added/shown twice for users

2015-02-17 Thread Pushpalanka Jayawardhana
Hi Nuwan,

I couldn't reproduce the error with IS 5.0.0 default pack. Is this after
the SP-01 applied or do you have any specific steps?

Thanks,
Pushpalanka.
-- 
Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
Mobile: +94779716248
Blog: pushpalankajaya.blogspot.com/ | LinkedIn:
lk.linkedin.com/in/pushpalanka/ | Twitter: @pushpalanka


On Wed, Feb 18, 2015 at 3:46 AM, Nuwan Wimalasekara  wrote:

> Hi
> I am getting this issue in Identity Server 5.0.0 as well. Is there any
> workaround to get rid of this issue
>
> Thanks,
> Nuwanw
>
> On Tue, Feb 17, 2015 at 5:18 AM, Lakmali Baminiwatta 
> wrote:
>
>> Hi IS team,
>>
>> In the latest APPM and APIM packs, if we create a user by assigning an
>> Internal role, it lists the same role twice when viewing the roles of that
>> user. This is reported in [1].
>>
>> Can you please have a look?
>>
>> [1] https://wso2.org/jira/browse/APPM-333
>>
>> Thanks,
>> Lakmali
>> 
>>
>> --
>> Lakmali Baminiwatta
>>  Senior Software Engineer
>> WSO2, Inc.: http://wso2.com
>> lean.enterprise.middleware
>> mobile:  +94 71 2335936
>> blog : lakmali.com
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Nuwan Wimalasekara
> Senior Software Engineer - Test Automation
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> phone: +94 71 668 4620
>
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please merge pull request

2015-02-17 Thread Pulasthi Mahawithana
Hi Kishanthan,

I had missed that one, Corrected now.

On Wed, Feb 18, 2015 at 9:33 AM, Kishanthan Thangarajah  wrote:

> So DynamicImport-Package * is needed for bcpkix-jdk15on?
>
> On Wed, Feb 18, 2015 at 12:00 AM, Pulasthi Mahawithana  > wrote:
>
>> Hi Kishanthan,
>>
>> Resolved the new comments and removed the dynamic imports. The previous
>> comments had been resolved, but some are still visible since they had no
>> new changes to the commented line.
>>
>> On Tue, Feb 17, 2015 at 7:53 PM, Kishanthan Thangarajah <
>> kishant...@wso2.com> wrote:
>>
>>> I still see dynamic imports in these orbits. If it is not needed you
>>> need to remove them. Also some comments that were added are not resolved
>>> yet.
>>>
>>> On Tue, Feb 17, 2015 at 6:12 PM, Dilshan Edirisuriya 
>>> wrote:
>>>
 Hi Kishanthan/Maheshika,

 Can you please look into this since we have a dependencies to these
 orbit bundles as well for our next milestone which is due this week.

 Regards,

 Dilshan

 On Tue, Feb 17, 2015 at 12:21 PM, Dilshan Edirisuriya >>> > wrote:

> As far as I can remember this does not need it. So we can remove it.
>
> Regards,
>
> Dilshan
>
> On Tue, Feb 17, 2015 at 12:16 PM, Pulasthi Mahawithana <
> pulast...@wso2.com> wrote:
>
>> Hi,
>>
>> On Mon, Feb 16, 2015 at 7:50 PM, Kishanthan Thangarajah <
>> kishant...@wso2.com> wrote:
>>
>>> I added some comments/concerns. Can you look into them?
>>>
>>
>> Corrected them. Thanks for pointing out.
>>
>> @ Dilshan,
>> Removed dynamic imports from the initial versions of jscep and
>> bcpkix, since I could not find any need for that in their sources. Please
>> comment if that is still needed.
>>
>>>
>>> On Mon, Feb 16, 2015 at 12:27 PM, Pulasthi Mahawithana <
>>> pulast...@wso2.com> wrote:
>>>
 Hi Sameera,

 Please review and merge [1]. It has updates to following

 1. Commons-IO - 2.4.0.wso2v1 - Required by JSCEP
 2. JSCEP - 2.0.2.wso2v2 - Updated with commons-io 2.4
 3. BCPKIX - 1.49.0.wso2v2 - Fix for signature validation issue
 (similar to what was done to bcprov)


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

 --
 *Pulasthi Mahawithana*
 Software Engineer
 WSO2 Inc., http://wso2.com/
 Mobile: +94-71-5179022
 Blog: http://blog.pulasthi.org

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


>>>
>>>
>>> --
>>> *Kishanthan Thangarajah*
>>> Senior Software Engineer,
>>> Platform Technologies Team,
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>>
>>> Mobile - +94773426635
>>> Blog - *http://kishanthan.wordpress.com
>>> *
>>> Twitter - *http://twitter.com/kishanthan
>>> *
>>>
>>
>>
>>
>> --
>> *Pulasthi Mahawithana*
>> Software Engineer
>> WSO2 Inc., http://wso2.com/
>> Mobile: +94-71-5179022
>> Blog: http://blog.pulasthi.org
>>
>
>
>
> --
> Dilshan Edirisuriya
> Senior Software Engineer - WSO2
> Mob: + 94 777878905
> http://wso2.com/
> https://www.linkedin.com/profile/view?id=50486426
>



 --
 Dilshan Edirisuriya
 Senior Software Engineer - WSO2
 Mob: + 94 777878905
 http://wso2.com/
 https://www.linkedin.com/profile/view?id=50486426

>>>
>>>
>>>
>>> --
>>> *Kishanthan Thangarajah*
>>> Senior Software Engineer,
>>> Platform Technologies Team,
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>>
>>> Mobile - +94773426635
>>> Blog - *http://kishanthan.wordpress.com
>>> *
>>> Twitter - *http://twitter.com/kishanthan
>>> *
>>>
>>
>>
>>
>> --
>> *Pulasthi Mahawithana*
>> Software Engineer
>> WSO2 Inc., http://wso2.com/
>> Mobile: +94-71-5179022
>> Blog: http://blog.pulasthi.org
>>
>
>
>
> --
> *Kishanthan Thangarajah*
> Senior Software Engineer,
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com *
> Twitter - *http://twitter.com/kishanthan *
>



-- 
*Pulasthi Mahawithana*
Software Engineer
WSO2 Inc., http://wso2.com/
Mobile: +94-71-5179022
Blog: http://blog.pulasthi.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please merge pull request

2015-02-17 Thread Kishanthan Thangarajah
So DynamicImport-Package * is needed for bcpkix-jdk15on?

On Wed, Feb 18, 2015 at 12:00 AM, Pulasthi Mahawithana 
wrote:

> Hi Kishanthan,
>
> Resolved the new comments and removed the dynamic imports. The previous
> comments had been resolved, but some are still visible since they had no
> new changes to the commented line.
>
> On Tue, Feb 17, 2015 at 7:53 PM, Kishanthan Thangarajah <
> kishant...@wso2.com> wrote:
>
>> I still see dynamic imports in these orbits. If it is not needed you need
>> to remove them. Also some comments that were added are not resolved yet.
>>
>> On Tue, Feb 17, 2015 at 6:12 PM, Dilshan Edirisuriya 
>> wrote:
>>
>>> Hi Kishanthan/Maheshika,
>>>
>>> Can you please look into this since we have a dependencies to these
>>> orbit bundles as well for our next milestone which is due this week.
>>>
>>> Regards,
>>>
>>> Dilshan
>>>
>>> On Tue, Feb 17, 2015 at 12:21 PM, Dilshan Edirisuriya 
>>> wrote:
>>>
 As far as I can remember this does not need it. So we can remove it.

 Regards,

 Dilshan

 On Tue, Feb 17, 2015 at 12:16 PM, Pulasthi Mahawithana <
 pulast...@wso2.com> wrote:

> Hi,
>
> On Mon, Feb 16, 2015 at 7:50 PM, Kishanthan Thangarajah <
> kishant...@wso2.com> wrote:
>
>> I added some comments/concerns. Can you look into them?
>>
>
> Corrected them. Thanks for pointing out.
>
> @ Dilshan,
> Removed dynamic imports from the initial versions of jscep and bcpkix,
> since I could not find any need for that in their sources. Please comment
> if that is still needed.
>
>>
>> On Mon, Feb 16, 2015 at 12:27 PM, Pulasthi Mahawithana <
>> pulast...@wso2.com> wrote:
>>
>>> Hi Sameera,
>>>
>>> Please review and merge [1]. It has updates to following
>>>
>>> 1. Commons-IO - 2.4.0.wso2v1 - Required by JSCEP
>>> 2. JSCEP - 2.0.2.wso2v2 - Updated with commons-io 2.4
>>> 3. BCPKIX - 1.49.0.wso2v2 - Fix for signature validation issue
>>> (similar to what was done to bcprov)
>>>
>>>
>>> [1] https://github.com/wso2/orbit/pull/63
>>>
>>> --
>>> *Pulasthi Mahawithana*
>>> Software Engineer
>>> WSO2 Inc., http://wso2.com/
>>> Mobile: +94-71-5179022
>>> Blog: http://blog.pulasthi.org
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Senior Software Engineer,
>> Platform Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635
>> Blog - *http://kishanthan.wordpress.com
>> *
>> Twitter - *http://twitter.com/kishanthan
>> *
>>
>
>
>
> --
> *Pulasthi Mahawithana*
> Software Engineer
> WSO2 Inc., http://wso2.com/
> Mobile: +94-71-5179022
> Blog: http://blog.pulasthi.org
>



 --
 Dilshan Edirisuriya
 Senior Software Engineer - WSO2
 Mob: + 94 777878905
 http://wso2.com/
 https://www.linkedin.com/profile/view?id=50486426

>>>
>>>
>>>
>>> --
>>> Dilshan Edirisuriya
>>> Senior Software Engineer - WSO2
>>> Mob: + 94 777878905
>>> http://wso2.com/
>>> https://www.linkedin.com/profile/view?id=50486426
>>>
>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Senior Software Engineer,
>> Platform Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635
>> Blog - *http://kishanthan.wordpress.com
>> *
>> Twitter - *http://twitter.com/kishanthan *
>>
>
>
>
> --
> *Pulasthi Mahawithana*
> Software Engineer
> WSO2 Inc., http://wso2.com/
> Mobile: +94-71-5179022
> Blog: http://blog.pulasthi.org
>



-- 
*Kishanthan Thangarajah*
Senior Software Engineer,
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] [ES] Tenant couldn't login to publisher when SSO is enabled with IS

2015-02-17 Thread Senduran Balasubramaniyam
FYI
This issue can be tracked here https://wso2.org/jira/browse/STORE-607

@Ruchira, Thanks for the workaround at the moment

On Fri, Jan 23, 2015 at 9:47 PM, Senduran Balasubramaniyam <
sendu...@wso2.com> wrote:

> Sure Ruchira,
>
> Thanks
> Senduran
>
> On Fri, Jan 23, 2015 at 7:23 PM, Ruchira Wageesha 
> wrote:
>
>>
>> On Fri, Jan 23, 2015 at 4:21 PM, Senduran Balasubramaniyam <
>> sendu...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> Even when I add the "UseAuthenticatedUserDomainCrypto" to true in IS, I
>>> am still getting the same exception.
>>> Is this because IS couldn't identify whether it is tenant or admin who
>>> has logged in ? as Malithi mentioned in "[IS] [ES] Signature Validation
>>> fails when tenant logs into SSO enabled Publisher"
>>>
>> Hm..I doubt how something like this could happen. If there is a logged in
>> session, that means there is an associated user who's tenant domain can be
>> determined. Relying on a passed tenant domain is never secure for
>> authenticated users.
>>
>> Anyway, can you talk to me on Monday, so that we can have a look with the
>> property suggested by pushpalanka.
>>
>> /Ruchira
>>
>> --
>>
>> *Ruchira Wageesha**Associate Technical Lead*
>> *WSO2 Inc. - lean . enterprise . middleware |  wso2.com *
>>
>> *email: ruch...@wso2.com ,   blog:
>> ruchirawageesha.blogspot.com ,
>> mobile: +94 77 5493444 <%2B94%2077%205493444>*
>>
>
>
>
> --
> *Senduran *
> Software Engineer,
> WSO2, Inc.;  http://wso2.com/ 
> Mobile: +94 77 952 6548
>



-- 
*Senduran *
Software Engineer,
WSO2, Inc.;  http://wso2.com/ 
Mobile: +94 77 952 6548
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Internal user roles are added/shown twice for users

2015-02-17 Thread Nuwan Wimalasekara
Hi
I am getting this issue in Identity Server 5.0.0 as well. Is there any
workaround to get rid of this issue

Thanks,
Nuwanw

On Tue, Feb 17, 2015 at 5:18 AM, Lakmali Baminiwatta 
wrote:

> Hi IS team,
>
> In the latest APPM and APIM packs, if we create a user by assigning an
> Internal role, it lists the same role twice when viewing the roles of that
> user. This is reported in [1].
>
> Can you please have a look?
>
> [1] https://wso2.org/jira/browse/APPM-333
>
> Thanks,
> Lakmali
> 
>
> --
> Lakmali Baminiwatta
>  Senior Software Engineer
> WSO2, Inc.: http://wso2.com
> lean.enterprise.middleware
> mobile:  +94 71 2335936
> blog : lakmali.com
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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

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


Re: [Dev] [IS] getAllowedUIResourcesForUser

2015-02-17 Thread Chanuka Dissanayake
Hi Shiva,

FYI, document [1] provide API Functions of the Web Service,
including getAllowedUIResourcesForUser with an example.

[1]
https://wso2.org/jira/secure/attachment/35450/RemoteAuthorizationManager_API.pdf

Regards,
Chanuka.


On Wed, Feb 18, 2015 at 12:59 AM, Shiva Balachandran  wrote:

> Hi All,
>
> I am currently on the process of creating a patch for the above given
> admin service. the above state admin service does not produce the necessary
> result. I created a SOAP project in SOAPUI and sent in request as shown
> below,
>
> http://www.w3.org/2003/05/soap-envelope
> "
> xmlns:ser="http://service.ws.um.carbon.wso2.org
> 
> ">
>   
>   
>  
> 
> admin
> 
> /permission/admin/
>  
>   
> 
>
> But the only response i get is "Invalid permission root path", can someone
> please tell me is my configuration correct?
>
> I would like to know the usages of the above given admin service. Is there
> another method which we can use to acquire the required data which can be
> used as a workaround?
>
> Thank you.
>
> Regards,
> --
> Shiva Balachandran
> Software Engineer
> WSO2 Inc.
>
> Mobile - +94 774445788
> Blog - https://shivabalachandran.wordpress.com/
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IS] getAllowedUIResourcesForUser

2015-02-17 Thread Shiva Balachandran
Hi All,

I am currently on the process of creating a patch for the above given admin
service. the above state admin service does not produce the necessary
result. I created a SOAP project in SOAPUI and sent in request as shown
below,

http://www.w3.org/2003/05/soap-envelope
"
xmlns:ser="http://service.ws.um.carbon.wso2.org

">
  
  
 

admin

/permission/admin/
 
  


But the only response i get is "Invalid permission root path", can someone
please tell me is my configuration correct?

I would like to know the usages of the above given admin service. Is there
another method which we can use to acquire the required data which can be
used as a workaround?

Thank you.

Regards,
-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please Review and Merge Pull Request

2015-02-17 Thread Shiva Balachandran
Hi Aiya,

Proposed reviews have been reflected and amended. Please check the pull
request for the new commit.

Thank you.

Regards
Shiva Balachandran

On Tue, Feb 10, 2015 at 4:03 PM, Shiva Balachandran  wrote:

> Hi,
>
> Please review and merge the pull request [1] for the issue in [2]
>
> [1] - https://github.com/wso2/product-bps/pull/16
> [2] - https://wso2.org/jira/browse/BPS-612
>
> Thank you.
>
> Regards,
> --
> Shiva Balachandran
> Software Engineer
> WSO2 Inc.
>
> Mobile - +94 774445788
> Blog - https://shivabalachandran.wordpress.com/
>



-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please merge pull request

2015-02-17 Thread Pulasthi Mahawithana
Hi Kishanthan,

Resolved the new comments and removed the dynamic imports. The previous
comments had been resolved, but some are still visible since they had no
new changes to the commented line.

On Tue, Feb 17, 2015 at 7:53 PM, Kishanthan Thangarajah  wrote:

> I still see dynamic imports in these orbits. If it is not needed you need
> to remove them. Also some comments that were added are not resolved yet.
>
> On Tue, Feb 17, 2015 at 6:12 PM, Dilshan Edirisuriya 
> wrote:
>
>> Hi Kishanthan/Maheshika,
>>
>> Can you please look into this since we have a dependencies to these orbit
>> bundles as well for our next milestone which is due this week.
>>
>> Regards,
>>
>> Dilshan
>>
>> On Tue, Feb 17, 2015 at 12:21 PM, Dilshan Edirisuriya 
>> wrote:
>>
>>> As far as I can remember this does not need it. So we can remove it.
>>>
>>> Regards,
>>>
>>> Dilshan
>>>
>>> On Tue, Feb 17, 2015 at 12:16 PM, Pulasthi Mahawithana <
>>> pulast...@wso2.com> wrote:
>>>
 Hi,

 On Mon, Feb 16, 2015 at 7:50 PM, Kishanthan Thangarajah <
 kishant...@wso2.com> wrote:

> I added some comments/concerns. Can you look into them?
>

 Corrected them. Thanks for pointing out.

 @ Dilshan,
 Removed dynamic imports from the initial versions of jscep and bcpkix,
 since I could not find any need for that in their sources. Please comment
 if that is still needed.

>
> On Mon, Feb 16, 2015 at 12:27 PM, Pulasthi Mahawithana <
> pulast...@wso2.com> wrote:
>
>> Hi Sameera,
>>
>> Please review and merge [1]. It has updates to following
>>
>> 1. Commons-IO - 2.4.0.wso2v1 - Required by JSCEP
>> 2. JSCEP - 2.0.2.wso2v2 - Updated with commons-io 2.4
>> 3. BCPKIX - 1.49.0.wso2v2 - Fix for signature validation issue
>> (similar to what was done to bcprov)
>>
>>
>> [1] https://github.com/wso2/orbit/pull/63
>>
>> --
>> *Pulasthi Mahawithana*
>> Software Engineer
>> WSO2 Inc., http://wso2.com/
>> Mobile: +94-71-5179022
>> Blog: http://blog.pulasthi.org
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Kishanthan Thangarajah*
> Senior Software Engineer,
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com
> *
> Twitter - *http://twitter.com/kishanthan
> *
>



 --
 *Pulasthi Mahawithana*
 Software Engineer
 WSO2 Inc., http://wso2.com/
 Mobile: +94-71-5179022
 Blog: http://blog.pulasthi.org

>>>
>>>
>>>
>>> --
>>> Dilshan Edirisuriya
>>> Senior Software Engineer - WSO2
>>> Mob: + 94 777878905
>>> http://wso2.com/
>>> https://www.linkedin.com/profile/view?id=50486426
>>>
>>
>>
>>
>> --
>> Dilshan Edirisuriya
>> Senior Software Engineer - WSO2
>> Mob: + 94 777878905
>> http://wso2.com/
>> https://www.linkedin.com/profile/view?id=50486426
>>
>
>
>
> --
> *Kishanthan Thangarajah*
> Senior Software Engineer,
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com *
> Twitter - *http://twitter.com/kishanthan *
>



-- 
*Pulasthi Mahawithana*
Software Engineer
WSO2 Inc., http://wso2.com/
Mobile: +94-71-5179022
Blog: http://blog.pulasthi.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Status update] Platform automation test - Cross products Single Sign-on with SAML 2.0 Auto test

2015-02-17 Thread Krishantha Samaraweera
[adding dev]

Thanks,
Krishantha.

On Tue, Feb 17, 2015 at 11:11 PM, Dimuthu De Lanerolle 
wrote:

> Hi Krishantha,
>
> test scenario for [1]
>
> APIM wso2is-5.0.0
> IS wso2am-1.9.0
>
> [1] https://docs.wso2.com/display/AM180/Configuring+Single+Sign-on
>
>
> Basic cross products test scenario contains the following steps.
>
> 1. Invoke a http client call to publisher login.
> 2. Verify http response status codes and whether the SAML based SSO
> authentication was successful / unsuccessful ( Verify Login page / API &
> Index page details.)
> 3. Verify avoidance of repeat authentication for APIM /store.
>
> Following steps  were automated to-date.
>
> 1. HTTP call for /publisher
> 2. Invocation calls for samlsso endpoint
> 3. calls on commonauth endpoints
> 4. jaggery_acs jag related re-directions
> 5. /publisher login & index page verifications
>
> I am currently working on automating the APIM .. /store related steps.
>
>
> Regards
>
> --
> Dimuthu De Lanerolle
> Software Engineer
> WSO2 Inc.
> lean . enterprise . middlewear.
> http://wso2.com/
> Tel. : +94 11 2145345  Fax : +94 11 2145300  email : dimut...@wso2.com
>
>


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


[Dev] Tenant loading with coordination="false" inbound endpoints

2015-02-17 Thread Malaka Silva
Hi,

In polling inbound with coordination="true" tenant is loaded when the ntask
is executed. (at adapter level)

However when coordination="false" we will not be using ntask. It'll run as
a background thread.

So we need some way to load the tenant in this case.

One way is to have a dummy task and schedule it with different dispatchers.
Same is done for MSMP with coordination. This task is just to load tenants.
@Ravindra & Priyadarshini Can you give some info onthis how this was done?

Any other way to address this issue?

Best Regards,

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

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


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


Re: [Dev] [IS] Rollback within doUpdateUserListOfRole in ReadWriteLDAPUserStoreManager

2015-02-17 Thread Dulanja Liyanage
+1 for the input validation before sending to the DB.

On Tue, Feb 17, 2015 at 7:06 PM, Harsha Thirimanna  wrote:

> Hi IS Team,
>
> I found an issue in doUpdateUserListOfRole
> of ReadWriteLDAPUserStoreManager class. This Nullpointer occurred when we
> try to add users to role that not in user store or try to delete users from
> not exist with given role. There were throwing exception that breaking loop
> and it is not rollback the added users prior to the exception. Same thing
> happen when we delete the users as well.
>
> I believe, there should be some mechanism to roll back those operation
> with catching the fault.
> But we can do input validation prior to all. We can check the user
> availability within user store and within the role prior to the actual
> operation. If there are any issues, then we can throw an exception saying
> that. This is not additional checking of the user store, because this check
> always happen before the operation.
>
> I have attache the diff here,
>
> *Harsha Thirimanna*
> Senior Software Engineer; WSO2, Inc.; http://wso2.com
> * *
> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
> +94 *
> *774617784twitter: **http://twitter.com/
> *
> *harshathirimannlinked-in: **http:
> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
> *
>
> *Lean . Enterprise . Middleware*
>
>


-- 
Dulanja Liyanage
WSO2 Inc.
M: +94776764717
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] App Manager latest build pack - 29-01-2015

2015-02-17 Thread Dinusha Senanayaka
Hi Yasassri,

Please find the today's build pack in [1].

[1] http://builder1.us1.wso2.org/~appm/17-02-2015/

Regards,
Dinusha

On Tue, Feb 17, 2015 at 2:16 PM, Yasassri Ratnayake 
wrote:

> Hi Dinusha,
>
> Since there are many bug fixes recently, can we have a new pack?
>
> With regards,
>
> On Mon, Feb 9, 2015 at 4:11 PM, Dinusha Senanayaka 
> wrote:
>
>> Hi Sandapa,
>>
>> We ll provide a pack today.
>>
>> Regards,
>> Dinusha.
>>
>> On Mon, Feb 9, 2015 at 3:46 PM, Sandapa Handakumbura 
>> wrote:
>>
>>> Hi Dinusha,
>>>
>>> We're still testing this 29th Jan pack. When are we getting a new pack?
>>>
>>> Thanks,
>>> Sandapa
>>>
>>>
>>> On Thu, Jan 29, 2015 at 1:20 PM, Dinusha Senanayaka 
>>> wrote:
>>>
 Hi,

 Please find the $subject in [1].

 [1]. http://builder1.us1.wso2.org/~appm/29-01-2015/

 Regards,
 Dinusha.

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

>>>
>>>
>>>
>>> --
>>> Sandapa Handakumbura
>>> Associate Technical Lead
>>> WSO2.Inc. ; http://wso2.com/
>>> M : +94777115866
>>>
>>
>>
>>
>> --
>> Dinusha Dilrukshi
>> Senior Software Engineer
>> WSO2 Inc.: http://wso2.com/
>> Mobile: +94725255071
>> Blog: http://dinushasblog.blogspot.com/
>>
>
>
>
> --
> Yasassri Ratnayake
> Software Engineer - QA
> WSO2 Inc ; http://wso2.com
> lean.enterprise.middleware
> *Mobile : +94715933168 <%2B94715933168>*
> *Blog : http://yasassriratnayake.blogspot.com/
> *
>



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


Re: [Dev] [ESB] [Cluster] Deploying File Inbound-Endpoints in Tenant Mode to Worker Nodes

2015-02-17 Thread Malaka Silva
Hi Kasun,

This is done at Task Adapter level.

Task manager will invoke the task weather the tenant is loaded or not.
However we require the tenant to be loaded to get the configs. Tenant
loading is done inside task adapter [1].

However the case Maheeka mentioned, since the artifacts are not
getting deployed it'll not register the task.

[1]
https://github.com/wso2/carbon-mediation/blob/master/components/mediation-ntask/src/main/java/org/wso2/carbon/mediation/ntask/NTaskAdapter.java

On Tue, Feb 17, 2015 at 10:52 AM, Kasun Indrasiri  wrote:

> @Malaka AFAIR, we have address this requirement during the initial
> implementation. So the main concerns are :
>
> - How did we initially verify the functionality in a W/M setup for a
> tenant? (When we initially create a tenant and then deploy an inbound.. did
> that work?)
> - How does we keep tenant loaded all the time if we have polling inbound
> (based on ntasks) running.
>
>
> On Tue, Feb 17, 2015 at 10:46 AM, Maheeka Jayasuriya 
> wrote:
>
>> Hi Malaka,
>>
>> In a cluster setup, if a tenant is created, the artifacts related to
>> tenant does not get deployed to worker nodes, unless the tenant is loaded
>> manually in each of them.
>>
>> Is this scenario applicable for inbound-endpoints? Or is there a
>> different mechanism to make sure that tenants are loaded in worker nodes in
>> a case of inbound-endpoints?
>>
>> Thanks,
>>
>> Maheeka Jayasuriya
>> Software Engineer
>> Mobile : +9450661
>>
>
>
>
> --
> Kasun Indrasiri
> Software Architect
> WSO2, Inc.; http://wso2.com
> lean.enterprise.middleware
>
> cell: +94 77 556 5206
> Blog : http://kasunpanorama.blogspot.com/
>



-- 

Best Regards,

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

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


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


Re: [Dev] [DEV] Need clarification regarding "Allow Anonymous Access" option

2015-02-17 Thread Dinusha Senanayaka
Hi Yasassri,

This is an usability improvement. Yes, it doesn't make sense setting
visibility when the app is allowed for anonymous access.

Regards,
Dinusha.

On Tue, Feb 17, 2015 at 5:10 PM, Yasassri Ratnayake 
wrote:

> Hi Lahiru/Dinusha,
>
> Thanks for the explanation, I have reported following JIRA related to
> Anonymous accessibility [1].
>
> If the anonymous option makes app accessible without authentication, Is
> there an use case where a user needs to set the App "Visibility:" while
> checking the "Allow Anonymous Access:" option. In the current
> implementation user can set the app visibility while checking the "Allow
> Anonymous Access" option. What is the rationale behind this?
>
> [1] - https://wso2.org/jira/browse/APPM-400
>
> On Tue, Feb 17, 2015 at 4:35 PM, Dinusha Senanayaka 
> wrote:
>
>> Hi Yasassri,
>>
>> This feature is introduced to support non-secured applications. Since
>> AppM is using SSO, even when we publish a unsecured application through
>> AppManager, it need user authentication to access this application though
>> GW. But there can be some use cases Application publisher need this app to
>> have anonymous access but need to apply other QoS policies.
>> Also this can be configured in two levels as Lahiru explained already.
>>
>> Regards,
>> Dinusha.
>>
>> On Tue, Feb 17, 2015 at 2:39 PM, Yasassri Ratnayake 
>> wrote:
>>
>>> Hi AppM Team,
>>>
>>> I would like to get some clarification regarding the "Allow Anonymous
>>> Access:" option which can be selected when creating a webapp. What is
>>> the intended behavior of an Anonymous App?
>>>
>>> With Regards,
>>> --
>>> Yasassri Ratnayake
>>> Software Engineer - QA
>>> WSO2 Inc ; http://wso2.com
>>> lean.enterprise.middleware
>>> *Mobile : +94715933168 <%2B94715933168>*
>>> *Blog : http://yasassriratnayake.blogspot.com/
>>> *
>>>
>>
>>
>>
>> --
>> Dinusha Dilrukshi
>> Senior Software Engineer
>> WSO2 Inc.: http://wso2.com/
>> Mobile: +94725255071
>> Blog: http://dinushasblog.blogspot.com/
>>
>
>
>
> --
> Yasassri Ratnayake
> Software Engineer - QA
> WSO2 Inc ; http://wso2.com
> lean.enterprise.middleware
> *Mobile : +94715933168 <%2B94715933168>*
> *Blog : http://yasassriratnayake.blogspot.com/
> *
>



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


Re: [Dev] Please merge pull request

2015-02-17 Thread Kishanthan Thangarajah
I still see dynamic imports in these orbits. If it is not needed you need
to remove them. Also some comments that were added are not resolved yet.

On Tue, Feb 17, 2015 at 6:12 PM, Dilshan Edirisuriya 
wrote:

> Hi Kishanthan/Maheshika,
>
> Can you please look into this since we have a dependencies to these orbit
> bundles as well for our next milestone which is due this week.
>
> Regards,
>
> Dilshan
>
> On Tue, Feb 17, 2015 at 12:21 PM, Dilshan Edirisuriya 
> wrote:
>
>> As far as I can remember this does not need it. So we can remove it.
>>
>> Regards,
>>
>> Dilshan
>>
>> On Tue, Feb 17, 2015 at 12:16 PM, Pulasthi Mahawithana <
>> pulast...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> On Mon, Feb 16, 2015 at 7:50 PM, Kishanthan Thangarajah <
>>> kishant...@wso2.com> wrote:
>>>
 I added some comments/concerns. Can you look into them?

>>>
>>> Corrected them. Thanks for pointing out.
>>>
>>> @ Dilshan,
>>> Removed dynamic imports from the initial versions of jscep and bcpkix,
>>> since I could not find any need for that in their sources. Please comment
>>> if that is still needed.
>>>

 On Mon, Feb 16, 2015 at 12:27 PM, Pulasthi Mahawithana <
 pulast...@wso2.com> wrote:

> Hi Sameera,
>
> Please review and merge [1]. It has updates to following
>
> 1. Commons-IO - 2.4.0.wso2v1 - Required by JSCEP
> 2. JSCEP - 2.0.2.wso2v2 - Updated with commons-io 2.4
> 3. BCPKIX - 1.49.0.wso2v2 - Fix for signature validation issue
> (similar to what was done to bcprov)
>
>
> [1] https://github.com/wso2/orbit/pull/63
>
> --
> *Pulasthi Mahawithana*
> Software Engineer
> WSO2 Inc., http://wso2.com/
> Mobile: +94-71-5179022
> Blog: http://blog.pulasthi.org
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 *Kishanthan Thangarajah*
 Senior Software Engineer,
 Platform Technologies Team,
 WSO2, Inc.
 lean.enterprise.middleware

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

>>>
>>>
>>>
>>> --
>>> *Pulasthi Mahawithana*
>>> Software Engineer
>>> WSO2 Inc., http://wso2.com/
>>> Mobile: +94-71-5179022
>>> Blog: http://blog.pulasthi.org
>>>
>>
>>
>>
>> --
>> Dilshan Edirisuriya
>> Senior Software Engineer - WSO2
>> Mob: + 94 777878905
>> http://wso2.com/
>> https://www.linkedin.com/profile/view?id=50486426
>>
>
>
>
> --
> Dilshan Edirisuriya
> Senior Software Engineer - WSO2
> Mob: + 94 777878905
> http://wso2.com/
> https://www.linkedin.com/profile/view?id=50486426
>



-- 
*Kishanthan Thangarajah*
Senior Software Engineer,
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] [IS] Rollback within doUpdateUserListOfRole in ReadWriteLDAPUserStoreManager

2015-02-17 Thread Harsha Thirimanna
Hi IS Team,

I found an issue in doUpdateUserListOfRole of ReadWriteLDAPUserStoreManager
class. This Nullpointer occurred when we try to add users to role that not
in user store or try to delete users from not exist with given role. There
were throwing exception that breaking loop and it is not rollback the added
users prior to the exception. Same thing happen when we delete the users as
well.

I believe, there should be some mechanism to roll back those operation with
catching the fault.
But we can do input validation prior to all. We can check the user
availability within user store and within the role prior to the actual
operation. If there are any issues, then we can throw an exception saying
that. This is not additional checking of the user store, because this check
always happen before the operation.

I have attache the diff here,

*Harsha Thirimanna*
Senior Software Engineer; WSO2, Inc.; http://wso2.com
* *
*email: **hars...@wso2.com* * cell: +94 71 5186770  , +94 *
*774617784twitter: **http://twitter.com/ *
*harshathirimannlinked-in: **http:
**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
*

*Lean . Enterprise . Middleware*
Index: 
main/java/org/wso2/carbon/user/core/ldap/ReadWriteLDAPUserStoreManager.java
===
--- main/java/org/wso2/carbon/user/core/ldap/ReadWriteLDAPUserStoreManager.java 
(revision 211227)
+++ main/java/org/wso2/carbon/user/core/ldap/ReadWriteLDAPUserStoreManager.java 
(working copy)
@@ -1475,33 +1475,69 @@
throw new 
UserStoreException(errorMessage);
 
} else {
-   if (newUsers!=null && newUsers.length 
!= 0) {
-   for (String newUser : newUsers) 
{
-   String userNameDN = 
getNameInSpaceForUserName(newUser);
-   if 
(!isUserInRole(userNameDN, resultedGroup)) {
-   
modifyUserInRole(userNameDN, groupName, DirContext.ADD_ATTRIBUTE,
-   
 searchBase);
-   } else {
-   errorMessage =
-  
"User: " + newUser + " already belongs to role: " +
-   
   roleName;
-   throw new 
UserStoreException(errorMessage);
-   }
-   }
-   }
 
+List newUserList = new ArrayList();
+List deleteUserList = new ArrayList();
+
+if (newUsers != null && newUsers.length != 0) {
+String invalidUserList = "";
+String existingUserList = "";
+
+for (String newUser : newUsers) {
+if(newUser==null || newUser.trim().length() == 0){
+continue;
+}
+String userNameDN = 
getNameInSpaceForUserName(newUser);
+if (userNameDN == null) {
+invalidUserList += newUser + " "  ;
+} else if (isUserInRole(userNameDN, 
resultedGroup)) {
+existingUserList += userNameDN + ",";
+} else {
+newUserList.add(userNameDN);
+}
+}
+if (!invalidUserList.equals("") || 
!existingUserList.equals("")) {
+errorMessage = (invalidUserList.equals("") ? "" : 
"'" + invalidUserList + "' not in " +
+"the user store. ") + 
(existingUserList.equals("") ? "" : "'" + existingUserList + "' " +
+" already belong to the role :" + 
roleName) ;
+throw new UserStoreException(errorMessage);
+}
+
+}
+
if (deletedUsers != null && 
deletedUsers.length != 0) {
+String invalidUserList = "";
for (String deletedUser : 
deletedUsers) {
 if(deletedUser == null || 
deletedUser.trim().length() == 0){
   

[Dev] Internal user roles are added/shown twice for users

2015-02-17 Thread Lakmali Baminiwatta
Hi IS team,

In the latest APPM and APIM packs, if we create a user by assigning an
Internal role, it lists the same role twice when viewing the roles of that
user. This is reported in [1].

Can you please have a look?

[1] https://wso2.org/jira/browse/APPM-333

Thanks,
Lakmali


-- 
Lakmali Baminiwatta
 Senior Software Engineer
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware
mobile:  +94 71 2335936
blog : lakmali.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please merge pull request

2015-02-17 Thread Dilshan Edirisuriya
Hi Kishanthan/Maheshika,

Can you please look into this since we have a dependencies to these orbit
bundles as well for our next milestone which is due this week.

Regards,

Dilshan

On Tue, Feb 17, 2015 at 12:21 PM, Dilshan Edirisuriya 
wrote:

> As far as I can remember this does not need it. So we can remove it.
>
> Regards,
>
> Dilshan
>
> On Tue, Feb 17, 2015 at 12:16 PM, Pulasthi Mahawithana  > wrote:
>
>> Hi,
>>
>> On Mon, Feb 16, 2015 at 7:50 PM, Kishanthan Thangarajah <
>> kishant...@wso2.com> wrote:
>>
>>> I added some comments/concerns. Can you look into them?
>>>
>>
>> Corrected them. Thanks for pointing out.
>>
>> @ Dilshan,
>> Removed dynamic imports from the initial versions of jscep and bcpkix,
>> since I could not find any need for that in their sources. Please comment
>> if that is still needed.
>>
>>>
>>> On Mon, Feb 16, 2015 at 12:27 PM, Pulasthi Mahawithana <
>>> pulast...@wso2.com> wrote:
>>>
 Hi Sameera,

 Please review and merge [1]. It has updates to following

 1. Commons-IO - 2.4.0.wso2v1 - Required by JSCEP
 2. JSCEP - 2.0.2.wso2v2 - Updated with commons-io 2.4
 3. BCPKIX - 1.49.0.wso2v2 - Fix for signature validation issue (similar
 to what was done to bcprov)


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

 --
 *Pulasthi Mahawithana*
 Software Engineer
 WSO2 Inc., http://wso2.com/
 Mobile: +94-71-5179022
 Blog: http://blog.pulasthi.org

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


>>>
>>>
>>> --
>>> *Kishanthan Thangarajah*
>>> Senior Software Engineer,
>>> Platform Technologies Team,
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>>
>>> Mobile - +94773426635
>>> Blog - *http://kishanthan.wordpress.com
>>> *
>>> Twitter - *http://twitter.com/kishanthan
>>> *
>>>
>>
>>
>>
>> --
>> *Pulasthi Mahawithana*
>> Software Engineer
>> WSO2 Inc., http://wso2.com/
>> Mobile: +94-71-5179022
>> Blog: http://blog.pulasthi.org
>>
>
>
>
> --
> Dilshan Edirisuriya
> Senior Software Engineer - WSO2
> Mob: + 94 777878905
> http://wso2.com/
> https://www.linkedin.com/profile/view?id=50486426
>



-- 
Dilshan Edirisuriya
Senior Software Engineer - WSO2
Mob: + 94 777878905
http://wso2.com/
https://www.linkedin.com/profile/view?id=50486426
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][APIM] Integration test build Failure

2015-02-17 Thread Tishan Dahanayakage
Hi Tharindu/Krishantha,

I also encountered same issue with CEP. After digging around found that
file permission is set to 000 at the time of zip creation. Rectified the
issue by switching to 2.4 version of maven-assembly-plugin. However this
issue is platform dependent. Only myself from our team got this behavior.
Anyway it is rectified now and updated the thread if anyone ran into the
same issue again.

Thanks,
Tishan

On Tue, Feb 17, 2015 at 2:24 PM, Tharindu Dharmarathna 
wrote:

> Hi Krishantha,
> I have set 777 permission to the zip file in m2 and it works.
>
> Thanks.
>
> On Tue, Feb 17, 2015 at 2:13 PM, Krishantha Samaraweera <
> krishan...@wso2.com> wrote:
>
>> Hi Tharindu,
>>
>> Can you check the file permission of APIM pack at your local m2 repo.
>>
>> Hope you are using maven 3.0.x version ?
>>
>> Thanks,
>> Krishantha.
>>
>>
>>
>> On Tue, Feb 17, 2015 at 2:05 PM, Tharindu Dharmarathna <
>> tharin...@wso2.com> wrote:
>>
>>> Hi all,
>>>
>>> I have try to build integration test module in product -apim, I got
>>> build failure as follows. Is there any workaround I can try ? I try this by
>>> giving all permissions but it didn't work.
>>>
>>> Error
>>>
>>> [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-dependency-plugin:2.9:unpack
 (unpack-mar-jks) on project org.wso2.carbon.am.integration.test: Execution
 unpack-mar-jks of goal
 org.apache.maven.plugins:maven-dependency-plugin:2.9:unpack failed:  file
 mode must be 3 or 4 characters -> [Help 1]
>>>
>>>
>>>
>>>
>>> --
>>>
>>> *Tharindu Dharmarathna*Associate Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: *+94779109091 <%2B94779109091>*
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Krishantha Samaraweera
>> Senior Technical Lead - Test Automation
>> Mobile: +94 77 7759918
>> WSO2, Inc.; http://wso2.com/
>> lean . enterprise . middlewear.
>>
>
>
>
> --
>
> *Tharindu Dharmarathna*Associate Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94779109091 <%2B94779109091>*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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

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


Re: [Dev] [DSS] IOException: Server returned HTTP response code: 500 when running FileService Sample in DSS

2015-02-17 Thread Malith Munasinghe
Hi,

I added these configurations [1] as Kavinda had said in his reply and the
client runs fine. Thanks for the heads up Kavinda.

[1]

   
  
 
  
   
   
  
 
 
  
   
   
  
 
  
   
   
  
 
  
   
   
  
 
  
   
   
  
 
 
  
   
   
  
 
  
   


Thanks,


On Tue, Feb 17, 2015 at 12:20 PM, Kavinda  wrote:

> Hi,
> I also got the same issue.
> I could resolve it by  adding the operations for the required queries via
> dashboard,
> 1.Using XML edit,
> Go to
>Home > Manage > Services > List > Data Service XML Editor of
> File service and add following operation.
> 
>   
>  
>   
>  
> 2. Using wizard,
> Go to
>   Home > Manage > Services > List > Service Dashboard > Queries
>  > Operations
>  and add new operation for the 'checkFileExistsQuery' query using name '
> checkFileExists'.
>
> May be this is the expected behaviour of the sample, if so, it is better
> if these info can be added to the DSS documentation.
>
> Regards,
> Kavinda
>
> On Tue, Feb 10, 2015 at 12:19 AM, Chathura Priyankara 
> wrote:
>
>> Hi,
>>
>> Here the client is trying to access HTTPEndpoint (See
>> samples/clients/src/org/wso2/carbon/dataservices/samples/FileServiceApp.java
>> in line 288),  but it seems like HttpEndpoint for this, is not working.
>>
>> If you try to access HttpEndpoint from Tryit you will get following
>> message :
>>
>> http://www.w3.org/2003/05/soap-envelope";>
>>The endpoint reference (EPR) for the
>> Operation not found is
>> /services/samples/FileService.HTTPEndpoint/checkFileExists?fileName=myfile
>> and the WSA Action = null. If this EPR was previously reachable, please
>> contact the server administrator.
>> 
>>
>> The service is working for both SOAPEndpoints.
>> So I think that is the issue here and this can be fixed in
>> FileServiceApp.java (may be to access SOAP12Endpoint) and need to recompile
>> it.
>>
>> Thanks!
>> Best Regards,
>>
>>
>> On Mon, Feb 9, 2015 at 2:43 PM, Thusitha Thilina Dayaratne <
>> thusit...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> I'm trying to run the FileService[1] sample in the WSO2 DSS. When I try
>>> to upload an image through the provided client I'm getting following an
>>> IOException [2]
>>>
>>>
>>> ​
>>> [1] - https://docs.wso2.com/display/DSS322/File+App+Service+Sample
>>>
>>> [2] - Stack trace
>>>
  [java] java.io.IOException: Server returned HTTP response code: 500
 for URL:
 http://localhost:9763/services/samples/FileService.HTTPEndpoint/checkFileExists?fileName=abc.jpg
  [java] at
 sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1615)
  [java] at
 org.wso2.carbon.dataservices.samples.FileServiceApp.contactURL(FileServiceApp.java:251)
  [java] at
 org.wso2.carbon.dataservices.samples.FileServiceApp.checkFileExists(FileServiceApp.java:320)
  [java] at
 org.wso2.carbon.dataservices.samples.FileServiceApp.actionPerformed(FileServiceApp.java:399)
  [java] at
 javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
  [java] at
 javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
  [java] at
 javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
  [java] at
 javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
  [java] at
 javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
  [java] at
 java.awt.Component.processMouseEvent(Component.java:6505)
  [java] at
 javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
  [java] at java.awt.Component.processEvent(Component.java:6270)
  [java] at java.awt.Container.processEvent(Container.java:2229)
  [java] at
 java.awt.Component.dispatchEventImpl(Component.java:4861)
  [java] at
 java.awt.Container.dispatchEventImpl(Container.java:2287)
  [java] at java.awt.Component.dispatchEvent(Component.java:4687)
  [java] at
 java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
  [java] at
 java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
  [java] at
 java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
  [java] at
 java.awt.Container.dispatchEventImpl(Container.java:2273)
  [java] at java.awt.Component.dispatchEvent(Component.java:4687)
  [java] at
 java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723)
  [java] at java.awt.EventQueue.access$200(EventQueue.java:103)
  [java] at java.awt.EventQueue$3.run(EventQueue.java:682)
  [java] at java.awt.EventQueue$3.run(EventQueue.java:680)
  [java] at java.security.AccessController.doPrivileged(Native
 Method)
  [java] at
>>

[Dev] Format of the data type 'timestamptz'

2015-02-17 Thread Sohani Weerasinghe
Hi All,

Since we need to use data type 'timestamptz' in PostgreSQL to handle
timestamp with time zone, can someone state the correct format of the input.

I have used DBReport mediator to insert timestamp with the following
parameter



 but it gives the exception

ERROR - NativeWorkerPool Uncaught exception
java.lang.IllegalArgumentException: Timestamp format must be -mm-dd
hh:mm:ss[.f] at java.sql.Timestamp.valueOf(Timestamp.java:202)

When I edit the format from '2015-02-16T21:41:00.000-0800' to 2015-02-16
21:41:00.000' everything worked fine.

AFAIK timestamptz is used include timezone, therefore can someone provide
an input on this

Thanks,
Sohani
Sohani Weerasinghe
Software Engineer
WSO2, Inc: http://wso2.com

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


Re: [Dev] [DEV] Need clarification regarding "Allow Anonymous Access" option

2015-02-17 Thread Yasassri Ratnayake
Hi Lahiru/Dinusha,

Thanks for the explanation, I have reported following JIRA related to
Anonymous accessibility [1].

If the anonymous option makes app accessible without authentication, Is
there an use case where a user needs to set the App "Visibility:" while
checking the "Allow Anonymous Access:" option. In the current
implementation user can set the app visibility while checking the "Allow
Anonymous Access" option. What is the rationale behind this?

[1] - https://wso2.org/jira/browse/APPM-400

On Tue, Feb 17, 2015 at 4:35 PM, Dinusha Senanayaka 
wrote:

> Hi Yasassri,
>
> This feature is introduced to support non-secured applications. Since AppM
> is using SSO, even when we publish a unsecured application through
> AppManager, it need user authentication to access this application though
> GW. But there can be some use cases Application publisher need this app to
> have anonymous access but need to apply other QoS policies.
> Also this can be configured in two levels as Lahiru explained already.
>
> Regards,
> Dinusha.
>
> On Tue, Feb 17, 2015 at 2:39 PM, Yasassri Ratnayake 
> wrote:
>
>> Hi AppM Team,
>>
>> I would like to get some clarification regarding the "Allow Anonymous
>> Access:" option which can be selected when creating a webapp. What is
>> the intended behavior of an Anonymous App?
>>
>> With Regards,
>> --
>> Yasassri Ratnayake
>> Software Engineer - QA
>> WSO2 Inc ; http://wso2.com
>> lean.enterprise.middleware
>> *Mobile : +94715933168 <%2B94715933168>*
>> *Blog : http://yasassriratnayake.blogspot.com/
>> *
>>
>
>
>
> --
> Dinusha Dilrukshi
> Senior Software Engineer
> WSO2 Inc.: http://wso2.com/
> Mobile: +94725255071
> Blog: http://dinushasblog.blogspot.com/
>



-- 
Yasassri Ratnayake
Software Engineer - QA
WSO2 Inc ; http://wso2.com
lean.enterprise.middleware
*Mobile : +94715933168*
*Blog : http://yasassriratnayake.blogspot.com/
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please merge PR for IDENTITY-3048 and IDENTITY-2761

2015-02-17 Thread Chanuka Dissanayake
Hi,

$subject. Contains fixes for [1] and [2]. PR is in [3].

[1] https://wso2.org/jira/browse/IDENTITY-3048
[2] https://wso2.org/jira/browse/IDENTITY-2761
[3] https://github.com/wso2/carbon4-kernel/pull/138

Thanks,
Chanuka

-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] Need clarification regarding "Allow Anonymous Access" option

2015-02-17 Thread Dinusha Senanayaka
Hi Yasassri,

This feature is introduced to support non-secured applications. Since AppM
is using SSO, even when we publish a unsecured application through
AppManager, it need user authentication to access this application though
GW. But there can be some use cases Application publisher need this app to
have anonymous access but need to apply other QoS policies.
Also this can be configured in two levels as Lahiru explained already.

Regards,
Dinusha.

On Tue, Feb 17, 2015 at 2:39 PM, Yasassri Ratnayake 
wrote:

> Hi AppM Team,
>
> I would like to get some clarification regarding the "Allow Anonymous
> Access:" option which can be selected when creating a webapp. What is the
> intended behavior of an Anonymous App?
>
> With Regards,
> --
> Yasassri Ratnayake
> Software Engineer - QA
> WSO2 Inc ; http://wso2.com
> lean.enterprise.middleware
> *Mobile : +94715933168 <%2B94715933168>*
> *Blog : http://yasassriratnayake.blogspot.com/
> *
>



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


Re: [Dev] [DEV] Need clarification regarding "Allow Anonymous Access" option

2015-02-17 Thread Lahiru Cooray
Hi,

There are two main scenarios:

*Allow anonymous access to whole app:*
When an user check the "allow anonymous" option, he can access that
particular app even without log in to the AppManager.. Any un-authenticated
user can access the gateway endpoint URL of the app even without
subscribing to the app.

*Allow anonymous access to selected url patterns:*
Under policy groups there's another section to select "allow anonymous"
 option. This is basically to allow anonymous access only to the
corresponding url pattern/ http verb






On Tue, Feb 17, 2015 at 2:39 PM, Yasassri Ratnayake 
wrote:

> Hi AppM Team,
>
> I would like to get some clarification regarding the "Allow Anonymous
> Access:" option which can be selected when creating a webapp. What is the
> intended behavior of an Anonymous App?
>
> With Regards,
> --
> Yasassri Ratnayake
> Software Engineer - QA
> WSO2 Inc ; http://wso2.com
> lean.enterprise.middleware
> *Mobile : +94715933168 <%2B94715933168>*
> *Blog : http://yasassriratnayake.blogspot.com/
> *
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Lahiru Cooray*
Software Engineer
WSO2, Inc.;http://wso2.com/
lean.enterprise.middleware

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


[Dev] [DSS] Google spreadsheet sample documentation - wrong operation name

2015-02-17 Thread Malith Munasinghe
In the Google spreadsheet sample documentation [1] under running the sample

[2]
operation name to execute is mentioned as "getProducts". Actually the
operation name should be corrected as getCustomers.

[1] https://docs.wso2.com/display/DSS322/Google+Spreadsheet+Sample

[2]
[image: Inline image 1]

Thank you,

-- 
Malith Munasinghe | Software Engineer
M: +94 (071) 9401122
E: mali...@wso2.com
W: http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to delete All Claims of Dialect

2015-02-17 Thread Shashika Karunatilaka
Hi all,

Found that this was due to referential integrity constraints

On Tue, Feb 17, 2015 at 2:42 PM, Shashika Karunatilaka 
wrote:

> Hi
>
> Im in the process of deleting a tenant so to do that i need to delete all
> the Dialects associated to that tenant but it doesnt allow to delete all
> the claims associated that Dialect, is there any reason for not allowing
> this. found that it was because of below line[1]
>
> [1]
> https://github.com/wso2/carbon4-kernel/blob/72fd99ad7fa602d838e1ec6984bb56712d64a8e4/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/claim/dao/ClaimDAO.java#L383
> --
> Shashika Prabath Karunatilaka,
> Software Engineer,
> WSO2, Inc: http://wso2.com/
> mobile : +94 77 7487792
>



-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] G-Reg internal API store and publisher are not working

2015-02-17 Thread Abimaran Kugathasan
Hi Kasun.

Noted. Thanks!

On Tue, Feb 17, 2015 at 2:56 PM, KasunG Gajasinghe  wrote:

> Hi Abimaran,
>
> This repo is now released. Please make sure to send a separate mail to get
> a repo released next time.
>
> Further, always update your dependent repo version to the latest unless
> there's some specific reason. Your repo is using the older carbon-registry
> version 4.3.0 even though the latest is 4.3.1. You can follow [1] get the
> latest release versions.
>
> [1]
> https://docs.google.com/a/wso2.com/spreadsheets/d/1NN6UVdQxiwjpnqsEXmTK8KG8z4LhZt8obnSH2fU4G14/edit#gid=1496098348
>
> Thanks.
>
> On Tue, Feb 17, 2015 at 1:52 PM, Abimaran Kugathasan 
> wrote:
>
>> Is this moved to nexus? I couldn't see there[1]
>>
>> [1] :
>> http://maven.wso2.org/nexus/content/repositories/releases/org/wso2/carbon/apimgt/org.wso2.carbon.apimgt.api/
>>
>> On Mon, Feb 16, 2015 at 4:51 PM, Abimaran Kugathasan 
>> wrote:
>>
>>> Hi,
>>>
>>> We have released APIM components version 1.3.3 with the following fixes
>>>
>>> 1. Fixed adding JARs to VCS, copied them using dependency plugins
>>> 2. Removed hardcoded SHANSHOT version in bundle export
>>> 3. Fixed API Store/publisher features aren't updated to latest revision
>>> issue
>>>
>>> Can you please move them to nexus?
>>>
>>> On Mon, Feb 16, 2015 at 12:01 PM, Dulitha Wijewantha 
>>> wrote:
>>>
 Hi guys,
 We are facing the same problem when including APIM store and publisher
 to MDM product. When will you guys be doing this release? It's a blocker
 for our release this weekend.

 Cheers~

 On Thu, Feb 12, 2015 at 5:12 PM, Supun Malinga  wrote:

> Hi,
>
> Today Lalaji and myself looked into this further and found out that
> issue was caused by a corrupted encoder jar. Apparently it gets corrupted
> at build level. Thanks Lakmali for the tip. This issue will get resolved
> once we are copying the encoder jar via the apimgt feature.
>
> thanks,
>
> On Thu, Feb 12, 2015 at 11:45 AM, Supun Malinga 
> wrote:
>
>> Hi,
>>
>> I got the same issue in AS and couldn't find any reason for the
>> issue. Publisher app gives a blank page and there aren't any error 
>> anywhere
>> (log or js console). Also some tabs in store is not working 
>> (un-clickable).
>> Today I looked into this with Lalaji but we still couldn't isolate the
>> issue.
>> We tried to copy a working publisher app from AM to AS and still got
>> the same issue. Since same issue is there is in Greg it seems there is 
>> some
>> issue in a common place.
>>
>> thanks,
>>
>> On Mon, Feb 9, 2015 at 4:58 PM, Chandana Napagoda 
>> wrote:
>>
>>> HI Joe,
>>>
>>> I manually copied encode module as well as encode lib to the
>>> product, and now I am getting the attached exception.
>>>
>>> However shall we add these modules to carbon-apimgt repo as well?
>>>
>>> Regards,
>>> Chandana
>>>
>>> On Mon, Feb 9, 2015 at 4:12 PM, Joseph Fonseka 
>>> wrote:
>>>
 Hi Chandana

 Please try including jaggery encode module which you can find in [1]



 [1]
 https://github.com/wso2/product-apim/tree/master/modules/jaggery/encode

 On Mon, Feb 9, 2015 at 3:29 PM, Chandana Napagoda <
 chand...@wso2.com> wrote:

> Hi Nuwan,
>
> In G-Reg, internal API Store and Publisher applications are not
> functioning at all at the moment. If we access the 
> "productapipublisher"
> app, attached exception is logged. According to the logs, some jaggery
> modules are missing. These modules are currently not available in the
> carbon-apimgt repo. However they are in the product-apim repo. So 
> shall we
> make these modules available in carbon-apimgt repo as well?
>
> Also, even after copying relevant modules still
> "productapipublisher" and "productapistore" applications are not 
> working
> and no exceptions are logged. Can you guys please have a look?
>
> Regards,
> Chandana
>
> --
> *Chandana Napagoda*
> Senior Software Engineer
> WSO2 Inc. - http://wso2.org
>
> *Email  :  chand...@wso2.com **Mobile :
> +94718169299 <%2B94718169299>*
>
> *Blog  :http://cnapagoda.blogspot.com
> *
>
>


 --

 --
 *Joseph Fonseka*
  WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 772 512 430
 skype: jpfonseka

 * *


>>>
>>>
>>> --
>>> *Chandana Napagoda*
>>> Senior Software Engineer
>>> WSO2 Inc. - 

Re: [Dev] G-Reg internal API store and publisher are not working

2015-02-17 Thread KasunG Gajasinghe
Hi Abimaran,

This repo is now released. Please make sure to send a separate mail to get
a repo released next time.

Further, always update your dependent repo version to the latest unless
there's some specific reason. Your repo is using the older carbon-registry
version 4.3.0 even though the latest is 4.3.1. You can follow [1] get the
latest release versions.

[1]
https://docs.google.com/a/wso2.com/spreadsheets/d/1NN6UVdQxiwjpnqsEXmTK8KG8z4LhZt8obnSH2fU4G14/edit#gid=1496098348

Thanks.

On Tue, Feb 17, 2015 at 1:52 PM, Abimaran Kugathasan 
wrote:

> Is this moved to nexus? I couldn't see there[1]
>
> [1] :
> http://maven.wso2.org/nexus/content/repositories/releases/org/wso2/carbon/apimgt/org.wso2.carbon.apimgt.api/
>
> On Mon, Feb 16, 2015 at 4:51 PM, Abimaran Kugathasan 
> wrote:
>
>> Hi,
>>
>> We have released APIM components version 1.3.3 with the following fixes
>>
>> 1. Fixed adding JARs to VCS, copied them using dependency plugins
>> 2. Removed hardcoded SHANSHOT version in bundle export
>> 3. Fixed API Store/publisher features aren't updated to latest revision
>> issue
>>
>> Can you please move them to nexus?
>>
>> On Mon, Feb 16, 2015 at 12:01 PM, Dulitha Wijewantha 
>> wrote:
>>
>>> Hi guys,
>>> We are facing the same problem when including APIM store and publisher
>>> to MDM product. When will you guys be doing this release? It's a blocker
>>> for our release this weekend.
>>>
>>> Cheers~
>>>
>>> On Thu, Feb 12, 2015 at 5:12 PM, Supun Malinga  wrote:
>>>
 Hi,

 Today Lalaji and myself looked into this further and found out that
 issue was caused by a corrupted encoder jar. Apparently it gets corrupted
 at build level. Thanks Lakmali for the tip. This issue will get resolved
 once we are copying the encoder jar via the apimgt feature.

 thanks,

 On Thu, Feb 12, 2015 at 11:45 AM, Supun Malinga 
 wrote:

> Hi,
>
> I got the same issue in AS and couldn't find any reason for the issue.
> Publisher app gives a blank page and there aren't any error anywhere (log
> or js console). Also some tabs in store is not working (un-clickable).
> Today I looked into this with Lalaji but we still couldn't isolate the
> issue.
> We tried to copy a working publisher app from AM to AS and still got
> the same issue. Since same issue is there is in Greg it seems there is 
> some
> issue in a common place.
>
> thanks,
>
> On Mon, Feb 9, 2015 at 4:58 PM, Chandana Napagoda 
> wrote:
>
>> HI Joe,
>>
>> I manually copied encode module as well as encode lib to the product,
>> and now I am getting the attached exception.
>>
>> However shall we add these modules to carbon-apimgt repo as well?
>>
>> Regards,
>> Chandana
>>
>> On Mon, Feb 9, 2015 at 4:12 PM, Joseph Fonseka 
>> wrote:
>>
>>> Hi Chandana
>>>
>>> Please try including jaggery encode module which you can find in [1]
>>>
>>>
>>>
>>> [1]
>>> https://github.com/wso2/product-apim/tree/master/modules/jaggery/encode
>>>
>>> On Mon, Feb 9, 2015 at 3:29 PM, Chandana Napagoda >> > wrote:
>>>
 Hi Nuwan,

 In G-Reg, internal API Store and Publisher applications are not
 functioning at all at the moment. If we access the 
 "productapipublisher"
 app, attached exception is logged. According to the logs, some jaggery
 modules are missing. These modules are currently not available in the
 carbon-apimgt repo. However they are in the product-apim repo. So 
 shall we
 make these modules available in carbon-apimgt repo as well?

 Also, even after copying relevant modules still
 "productapipublisher" and "productapistore" applications are not 
 working
 and no exceptions are logged. Can you guys please have a look?

 Regards,
 Chandana

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

 *Email  :  chand...@wso2.com **Mobile :
 +94718169299 <%2B94718169299>*

 *Blog  :http://cnapagoda.blogspot.com
 *


>>>
>>>
>>> --
>>>
>>> --
>>> *Joseph Fonseka*
>>>  WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: +94 772 512 430
>>> skype: jpfonseka
>>>
>>> * *
>>>
>>>
>>
>>
>> --
>> *Chandana Napagoda*
>> Senior Software Engineer
>> WSO2 Inc. - http://wso2.org
>>
>> *Email  :  chand...@wso2.com **Mobile :
>> +94718169299 <%2B94718169299>*
>>
>> *Blog  :http://cnapagoda.blogspot.com
>> *
>>
>>
>> ___
>> Dev mailin

Re: [Dev] [IS] Please review and merge PR for IDENTITY-3032

2015-02-17 Thread Hasintha Indrajee
Hi,

Pull request is merged with
https://github.com/wso2/carbon-identity/commit/c56b74a350288d545a3cef7439d3cf6db008f786

On Tue, Feb 17, 2015 at 9:30 AM, Nuwandi Wickramasinghe 
wrote:

> Hi,
>
> updated PR can be found in [1]
>
> [1] https://github.com/wso2/carbon-identity/pull/83
>
> On Mon, Feb 16, 2015 at 4:30 PM, Nuwandi Wickramasinghe  > wrote:
>
>> Thanks Johann. Will check and change accordingly.
>>
>> On Mon, Feb 16, 2015 at 3:47 PM, Johann Nallathamby 
>> wrote:
>>
>>> Please find comments in the PR.
>>>
>>> On Mon, Feb 16, 2015 at 3:36 PM, Nuwandi Wickramasinghe <
>>> nuwan...@wso2.com> wrote:
>>>
 Hi,

 Please find the fix for [1] in [2]

 [1] https://wso2.org/jira/browse/IDENTITY-3032
 [2] https://github.com/wso2/carbon-identity/pull/83

 --

 Best Regards,

 Nuwandi Wickramasinghe

 Software Engineer

 WSO2 Inc.

 Web : http://wso2.com

 Mobile : 0719214873

>>>
>>>
>>>
>>> --
>>> Thanks & Regards,
>>>
>>> *Johann Dilantha Nallathamby*
>>> Associate Technical Lead & Product Lead of WSO2 Identity Server
>>> Integration Technologies Team
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>>
>>> Mobile - *+9476950*
>>> Blog - *http://nallaa.wordpress.com *
>>>
>>
>>
>>
>> --
>>
>> Best Regards,
>>
>> Nuwandi Wickramasinghe
>>
>> Software Engineer
>>
>> WSO2 Inc.
>>
>> Web : http://wso2.com
>>
>> Mobile : 0719214873
>>
>
>
>
> --
>
> 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


[Dev] How to delete All Claims of Dialect

2015-02-17 Thread Shashika Karunatilaka
Hi

Im in the process of deleting a tenant so to do that i need to delete all
the Dialects associated to that tenant but it doesnt allow to delete all
the claims associated that Dialect, is there any reason for not allowing
this. found that it was because of below line[1]

[1]
https://github.com/wso2/carbon4-kernel/blob/72fd99ad7fa602d838e1ec6984bb56712d64a8e4/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/claim/dao/ClaimDAO.java#L383
-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2015-02-17 Thread Malintha Adikari
Hi Pubudu,

AFAIK above procedure is  correct. Please fine answers inline


On Tue, Feb 17, 2015 at 8:44 AM, Pubudu Dodangoda  wrote:

>
> I am trying to authenticate a valid user (say admin/admin) via a
> webservice which is hosted inside the BAM
> The procedure I followed is as follows
>
> Create an AuthenticationAdminStub
> login using admin/ admin
>
> I have 3 issues
> 1) Will this procedure work?
>

Yes


> 2)What should be the service URL which should be given as a parameter to
> the AuthenticationAdminStub?
>

"https://"; + hostName + ":" + httpsPort + "/" + webContextRoot + "/" + "
services/" + "AuthenticationAdmin";

As an example "https://localhost:9443/services/AuthenticationAdmin";


3)What should be the remote address which should be given to the
> login(userName,password,remoteAddress) method?
>

It should be the hostname of the remote host (String). If you have resolved
it in /etc/hosts your can put that here. I think in your case it should be
"localhost"

Please look at this blog post for sample code [1]

[1]
http://nuwanwimalasekara.blogspot.com/2013/02/invoking-wso2-carbon-admin-services.html

Regards,
Malintha Adikari

> --
> Pubudu Dodangoda
> BSc Engineering(Hon's) Undergraduate
> Department of Computer Science Engineering
> University of Moratuwa
> 0716053681 / 0775192994
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Malintha Adikari*
 Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2015-02-17 Thread Pubudu Dodangoda
Sending null as the remote address param solved the problem!

On Tue, Feb 17, 2015 at 2:14 PM, Pubudu Dodangoda  wrote:

>
> I am trying to authenticate a valid user (say admin/admin) via a
> webservice which is hosted inside the BAM
> The procedure I followed is as follows
>
> Create an AuthenticationAdminStub
> login using admin/ admin
>
> I have 3 issues
> 1) Will this procedure work?
> 2)What should be the service URL which should be given as a parameter to
> the AuthenticationAdminStub?
> 3)What should be the remote address which should be given to the
> login(userName,password,remoteAddress) method?
> --
> Pubudu Dodangoda
> BSc Engineering(Hon's) Undergraduate
> Department of Computer Science Engineering
> University of Moratuwa
> 0716053681 / 0775192994
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Pubudu Dodangoda
BSc Engineering(Hon's) Undergraduate
Department of Computer Science Engineering
University of Moratuwa
0716053681 / 0775192994
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DEV] Need clarification regarding "Allow Anonymous Access" option

2015-02-17 Thread Yasassri Ratnayake
Hi AppM Team,

I would like to get some clarification regarding the "Allow Anonymous
Access:" option which can be selected when creating a webapp. What is the
intended behavior of an Anonymous App?

With Regards,
-- 
Yasassri Ratnayake
Software Engineer - QA
WSO2 Inc ; http://wso2.com
lean.enterprise.middleware
*Mobile : +94715933168*
*Blog : http://yasassriratnayake.blogspot.com/
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please merge PR for IDENTITY-3048

2015-02-17 Thread Chanuka Dissanayake
Hi,

$subject. JIRA [1] and fix in [2].

[1] https://wso2.org/jira/browse/IDENTITY-3048
[2] https://github.com/wso2/carbon-identity/pull/86

Thanks,
Chanuka.
-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][APIM] Integration test build Failure

2015-02-17 Thread Tharindu Dharmarathna
Hi Krishantha,
I have set 777 permission to the zip file in m2 and it works.

Thanks.

On Tue, Feb 17, 2015 at 2:13 PM, Krishantha Samaraweera  wrote:

> Hi Tharindu,
>
> Can you check the file permission of APIM pack at your local m2 repo.
>
> Hope you are using maven 3.0.x version ?
>
> Thanks,
> Krishantha.
>
>
>
> On Tue, Feb 17, 2015 at 2:05 PM, Tharindu Dharmarathna  > wrote:
>
>> Hi all,
>>
>> I have try to build integration test module in product -apim, I got build
>> failure as follows. Is there any workaround I can try ? I try this by
>> giving all permissions but it didn't work.
>>
>> Error
>>
>> [ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-dependency-plugin:2.9:unpack
>>> (unpack-mar-jks) on project org.wso2.carbon.am.integration.test: Execution
>>> unpack-mar-jks of goal
>>> org.apache.maven.plugins:maven-dependency-plugin:2.9:unpack failed:  file
>>> mode must be 3 or 4 characters -> [Help 1]
>>
>>
>>
>>
>> --
>>
>> *Tharindu Dharmarathna*Associate Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94779109091 <%2B94779109091>*
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Krishantha Samaraweera
> Senior Technical Lead - Test Automation
> Mobile: +94 77 7759918
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middlewear.
>



-- 

*Tharindu Dharmarathna*Associate Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

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


Re: [Dev] App Manager latest build pack - 29-01-2015

2015-02-17 Thread Yasassri Ratnayake
Hi Dinusha,

Since there are many bug fixes recently, can we have a new pack?

With regards,

On Mon, Feb 9, 2015 at 4:11 PM, Dinusha Senanayaka  wrote:

> Hi Sandapa,
>
> We ll provide a pack today.
>
> Regards,
> Dinusha.
>
> On Mon, Feb 9, 2015 at 3:46 PM, Sandapa Handakumbura 
> wrote:
>
>> Hi Dinusha,
>>
>> We're still testing this 29th Jan pack. When are we getting a new pack?
>>
>> Thanks,
>> Sandapa
>>
>>
>> On Thu, Jan 29, 2015 at 1:20 PM, Dinusha Senanayaka 
>> wrote:
>>
>>> Hi,
>>>
>>> Please find the $subject in [1].
>>>
>>> [1]. http://builder1.us1.wso2.org/~appm/29-01-2015/
>>>
>>> Regards,
>>> Dinusha.
>>>
>>> --
>>> Dinusha Dilrukshi
>>> Senior Software Engineer
>>> WSO2 Inc.: http://wso2.com/
>>> Mobile: +94725255071
>>> Blog: http://dinushasblog.blogspot.com/
>>>
>>
>>
>>
>> --
>> Sandapa Handakumbura
>> Associate Technical Lead
>> WSO2.Inc. ; http://wso2.com/
>> M : +94777115866
>>
>
>
>
> --
> Dinusha Dilrukshi
> Senior Software Engineer
> WSO2 Inc.: http://wso2.com/
> Mobile: +94725255071
> Blog: http://dinushasblog.blogspot.com/
>



-- 
Yasassri Ratnayake
Software Engineer - QA
WSO2 Inc ; http://wso2.com
lean.enterprise.middleware
*Mobile : +94715933168*
*Blog : http://yasassriratnayake.blogspot.com/
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][APIM] Integration test build Failure

2015-02-17 Thread Krishantha Samaraweera
Hi Tharindu,

Can you check the file permission of APIM pack at your local m2 repo.

Hope you are using maven 3.0.x version ?

Thanks,
Krishantha.



On Tue, Feb 17, 2015 at 2:05 PM, Tharindu Dharmarathna 
wrote:

> Hi all,
>
> I have try to build integration test module in product -apim, I got build
> failure as follows. Is there any workaround I can try ? I try this by
> giving all permissions but it didn't work.
>
> Error
>
> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-dependency-plugin:2.9:unpack
>> (unpack-mar-jks) on project org.wso2.carbon.am.integration.test: Execution
>> unpack-mar-jks of goal
>> org.apache.maven.plugins:maven-dependency-plugin:2.9:unpack failed:  file
>> mode must be 3 or 4 characters -> [Help 1]
>
>
>
>
> --
>
> *Tharindu Dharmarathna*Associate Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94779109091 <%2B94779109091>*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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


[Dev] (no subject)

2015-02-17 Thread Pubudu Dodangoda
I am trying to authenticate a valid user (say admin/admin) via a webservice
which is hosted inside the BAM
The procedure I followed is as follows

Create an AuthenticationAdminStub
login using admin/ admin

I have 3 issues
1) Will this procedure work?
2)What should be the service URL which should be given as a parameter to
the AuthenticationAdminStub?
3)What should be the remote address which should be given to the
login(userName,password,remoteAddress) method?
-- 
Pubudu Dodangoda
BSc Engineering(Hon's) Undergraduate
Department of Computer Science Engineering
University of Moratuwa
0716053681 / 0775192994
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DEV][APIM] Integration test build Failure

2015-02-17 Thread Tharindu Dharmarathna
Hi all,

I have try to build integration test module in product -apim, I got build
failure as follows. Is there any workaround I can try ? I try this by
giving all permissions but it didn't work.

Error

[ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-dependency-plugin:2.9:unpack
> (unpack-mar-jks) on project org.wso2.carbon.am.integration.test: Execution
> unpack-mar-jks of goal
> org.apache.maven.plugins:maven-dependency-plugin:2.9:unpack failed:  file
> mode must be 3 or 4 characters -> [Help 1]




-- 

*Tharindu Dharmarathna*Associate Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94779109091 <%2B94779109091>*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] SS 1.5.0 pack for QA

2015-02-17 Thread Bhathiya Jayasekara
Hi all,

RC pack is available here[1].

[1]
https://svn.wso2.org/repos/wso2/scratch/ss-dev/ss-150/RC/wso2ss-1.5.0.zip

Thanks,
Bhathiya

On Thu, Feb 12, 2015 at 5:38 PM, Bhathiya Jayasekara 
wrote:

> Hi all,
>
> Please find pack of 12th here[1].
>
> [1]
> https://svn.wso2.org/repos/wso2/scratch/ss-dev/ss-150/12_02_2015/wso2ss-1.5.1-SNAPSHOT.zip
>
> Thanks,
> Bhathiya
>
> On Tue, Feb 10, 2015 at 11:22 AM, Bhathiya Jayasekara 
> wrote:
>
>> Hi all,
>>
>> Please find the new pack here[1].
>>
>> [1]
>> https://svn.wso2.org/repos/wso2/scratch/ss-dev/ss-150/10_02_2014/wso2ss-1.5.1-SNAPSHOT.zip
>>
>> Thanks,
>> Bhathiya
>>
>>
>> On Mon, Feb 9, 2015 at 12:15 PM, Harsha Kumara  wrote:
>>
>>> Hi All,
>>>
>>> I have updated the pack with enabling multitenancy upgrade and enabled
>>> tests during the build.
>>>
>>> Please find upgraded pack in same location.
>>>
>>> Thanks,
>>> Harsha
>>>
>>> On Mon, Feb 9, 2015 at 11:39 AM, Harsha Kumara  wrote:
>>>
 Hi all,

 Here is 09th Feb pack.


 https://svn.wso2.org/repos/wso2/scratch/ss-dev/ss-150/09_02_2015/wso2ss-1.5.1-SNAPSHOT.zip

 Thanks,
 Harsha

 On Wed, Jan 28, 2015 at 10:57 AM, Bhathiya Jayasekara <
 bhath...@wso2.com> wrote:

> Hi all,
>
> Here is 28th' pack.
>
>
> https://svn.wso2.org/repos/wso2/scratch/ss-dev/ss-150/28_01_2014/wso2ss-1.5.0-SNAPSHOT.zip
>
> Thanks,
> Bhathiya
>
> On Fri, Jan 23, 2015 at 12:36 PM, Bhathiya Jayasekara <
> bhath...@wso2.com> wrote:
>
>> Hi all,
>>
>> New pack is here.
>>
>>
>> https://svn.wso2.org/repos/wso2/scratch/ss-dev/ss-150/23_01_2014/wso2ss-1.5.0-SNAPSHOT.zip
>>
>> Thanks,
>> Bhathiya
>>
>> On Wed, Jan 21, 2015 at 3:26 PM, Bhathiya Jayasekara <
>> bhath...@wso2.com> wrote:
>>
>>> Hi all,
>>>
>>> Here is the latest pack.
>>>
>>>
>>> https://svn.wso2.org/repos/wso2/scratch/ss-dev/ss-150/21_01_2014/wso2ss-1.5.0-SNAPSHOT.zip
>>>
>>> Thanks,
>>> Bhathiya
>>>
>>> On Mon, Jan 19, 2015 at 11:17 AM, Bhathiya Jayasekara <
>>> bhath...@wso2.com> wrote:
>>>
 Hi all,

 Here is today's pack for QA.


 https://svn.wso2.org/repos/wso2/scratch/ss-dev/ss-150/19_01_2014/wso2ss-1.5.0-SNAPSHOT.zip

 Thanks,
 Bhathiya

 On Fri, Jan 16, 2015 at 6:03 PM, Prabath Abeysekera <
 praba...@wso2.com> wrote:

> Hi Asanka, Nuwan,
>
> Please report L1s for any usability/UI/doc issues.
>
> Cheers,
> Prabath
>
> On Fri, Jan 16, 2015 at 4:32 PM, Bhathiya Jayasekara <
> bhath...@wso2.com> wrote:
>
>> HI all,
>>
>> Here is the new pack.
>>
>>
>> https://svn.wso2.org/repos/wso2/scratch/ss-dev/ss-150/16_01_2014/wso2ss-1.5.0-SNAPSHOT.zip
>>
>> Thanks,
>> Bhathiya
>>
>> On Tue, Jan 13, 2015 at 4:51 PM, Bhathiya Jayasekara <
>> bhath...@wso2.com> wrote:
>>
>>> Hi all,
>>>
>>> Here is the latest pack.
>>>
>>>
>>> https://svn.wso2.org/repos/wso2/scratch/ss-dev/ss-150/wso2ss-1.5.0-SNAPSHOT.zip
>>>
>>> @Prabath: I built this from wso2-dev, as wso2-dev and wso2 repos
>>> are not synced yet. Can you please sync them?
>>>
>>> Thanks,
>>> --
>>> *Bhathiya Jayasekara*
>>> *Software Engineer,*
>>> *WSO2 inc., http://wso2.com *
>>>
>>> *Phone: +94715478185 <%2B94715478185>*
>>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>>> *
>>> *Twitter: https://twitter.com/bhathiyax
>>> *
>>> *Blog: http://movingaheadblog.blogspot.com
>>> *
>>>
>>
>>
>>
>> --
>> *Bhathiya Jayasekara*
>> *Software Engineer,*
>> *WSO2 inc., http://wso2.com *
>>
>> *Phone: +94715478185 <%2B94715478185>*
>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>> *
>> *Twitter: https://twitter.com/bhathiyax
>> *
>> *Blog: http://movingaheadblog.blogspot.com
>> *
>>
>
>
>
> --
> Prabath Abeysekara
> Associate Technical Lead, Data TG.
> WSO2 Inc.
> Email: praba...@wso2.com
> Mobile: +94774171471
>



 --
 *Bhathiya Jayasekara*
 *Software Engineer,*
 *WSO2 inc., http://wso2.com *

 *Phone: +94715478185 <%2B94

[Dev] [Announce] WSO2 Storage Server 1.5.0-RC Released.

2015-02-17 Thread Bhathiya Jayasekara
Hi All,

WSO2 Storage Server team is pleased to announce the release of WSO2 Storage
Server 1.5.0 - RC. The distribution is available to download at [1].

This release includes the following Improvements and Bug Fixes.
Bug

   - [SS-84 ] - Breadcrumb issue in
   Cassandra Explorer
   - [SS-136 ] - JDBC URL of databases
   created in storage server is malformed.
   - [SS-171 ] - Wrong JDBC driver
   name and jdbc URL is populated when connecting to Database Console
   - [SS-238 ] - Database Console Save
   & Remove button either be disabled or should work
   - [SS-283 ] - Notify the user
   properly when the database server not available
   - [SS-284 ] - User WARN popup
   content need to be changed on "Attach database user" page
   - [SS-306 ] - Getting WARN
   {org.wso2.carbon.hdfs.mgt.HDFSAdminComponentManager} - Kinit Failed at new
   tenant login
   - [SS-311 ] - Error:
   java.sql.SQLException: PooledConnection has already been closed
   - [SS-323 ] - attachUser operation
   soap request should not generate with edit user privileges entries
   - [SS-324 ] - [HDFS] When user
   paginate to a particular page number it's not highlighted
   - [SS-327 ] - Thrift Error: when
   cassandra cluster monitoring is enabled
   - [SS-355 ] - Getting a
   NoClassDefinition exception
   - [SS-368 ] - Cannot login to the
   management console
   - [SS-369 ] - for a secondary user
   store user to gain access to the Cassandra explorer, the user has to enter
   the domain name
   - [SS-384 ] - Navigate to Cassandra
   Keyspace throwing exception and a dead page
   - [SS-398 ] - Cassandra-Thrift
   should be exposed as an independant OSGi bundle
   - [SS-403 ] - If the BAM tenants
   credentials are given within the output adaptor of CEP an error is thrown
   - [SS-416 ] - Error when trying to
   access cassandra explorer
   - [SS-418 ] - Navigate to Cassandra
   Keyspaces List throwing exception when primary datasource point to open LDAP
   - [SS-419 ] - Give a way to find
   out whether an user is attached to more than one database
   - [SS-423 ] - Tenants with hyphens
   in their domain name, cannot create a DB using RSS
   - [SS-424 ] - SS : Remove
   Application Logs Monitoring in Storage server
   - [SS-432 ] - DB Explorer feature
   is much needed for Storage server
   - [SS-433 ] - Cassandra
   authentication is not working with Email as username
   - [SS-448 ] - Data publishing using
   wrong Cassandra data source credential result in nested NPE
   - [SS-449 ] - Remove any jpa
   related configurations from the product and the carbon storage management
   repo
   - [SS-450 ] - Jasper exception
   occurrred during adding users or roles
   - [SS-451 ] - Cassandra related
   property logs are not displayed during server startup
   - [SS-455 ] - Breadcrump growing
   when create instances on UI
   - [SS-456 ] - Add database
   operation fails with ERROR
   {org.wso2.carbon.rssmanager.core.manager.AbstractRSSManager} - Error while
   creating the database
   - [SS-457 ] - Observed ERROR
   {org.wso2.carbon.rssmanager.core.manager.impl.h2.H2SystemRSSManager} while
   trying to create database snapshot
   - [SS-458 ] - Display an
   understandable error message to users when try to create a user with
   already existing user name
   - [SS-459 ] - RSSInstance's defined
   on the rss-config.xml allows to Edit and Delete on the management console UI
   - [SS-460 ] - RSS Instance Name*
   property display as null in EditDatabase User page for a user who created
   under the USER_DEFINED instance type
   - [SS-462 ] - null popuout shown
   when adding a new RSS Instance.
   - [SS-463 ] -
   addDatabasePrivilegeTemplate

Re: [Dev] [MB] osgi bundle issue in carbon-business-messaging - 'org.wso2.carbon.andes'

2015-02-17 Thread Pumudu Ruhunage
Hi,

As per offline chat with supun malinga best way to expose classes to
internals package is to make the utils package private. Since '
org.wso2.carbon.andes.utils' won't be used by any other class it's better
not to export this package as well.

Regards,

On Tue, Feb 17, 2015 at 10:20 AM, Pumudu Ruhunage  wrote:

> Hi,
>
> I'm getting class not found error when instantiate classes
> inside 'org.wso2.carbon.andes' in ''org.wso2.carbon.andes.internals''
> package.
>
> I have created a package named 'utils' inside 'org.wso2.carbon.andes' and
> added some utility classes which needs to be call
> from ''org.wso2.carbon.andes.internals'' startAndesBroker method. these
> 'utils' are not used in any other bundle except for
> 'org.wso2.carbon.andes'. Therefore these 'utils' classes should exposed to
> classes inside 'org.wso2.carbon.andes' without exporting in pom since it's
> in the same bundle. But instead i'm getting class not found error when
> trying to instantiate a utils class in internals package.
>
> As a work around, if i export utils package in pom these classes will be
> exposed to ''org.wso2.carbon.andes.internals'' package. what can be the
> cause for this issue ?
> Any help/advice will be much appreciated.
>
> --
> Pumudu Ruhunage
> Associate Software Engineer | WSO2 Inc
> M: +94 779 664493  | http://wso2.com
>



-- 
Pumudu Ruhunage
Associate Software Engineer | WSO2 Inc
M: +94 779 664493  | http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Improving the Dashboard of UES

2015-02-17 Thread Vidura Mudalige
Hi Gayan,

Yes it is correct that current pub/sub implementation is quite flexible for
developers. But our main focus is to improve dashboard designer for
non-developers.

Using timestamp is okay for this example. But there can be various
scenarios that we have to use different kind of data such as an email,
longitude-latitude, country code and etc.

After the planning stage I can give more detailed description.

Thanks for your feedback.

On Tue, Feb 17, 2015 at 12:26 PM, Gayan Dhanushka  wrote:

> Hi Vidura,
>
> +1 for flexible UI layouts. Most of the times I have walked away from the
> gridster layout when developing dashboards since it is not that much
> flexible. However I am ok with the current pub/sub implementation. It is
> quite flexible.
>
>
>
> On Tue, Feb 17, 2015 at 11:52 AM, Vidura Mudalige 
> wrote:
>
>> Hi Tanya,
>>
>> If we are to directly use gadgets pub/sub support as it is, then we
>> should know publisher's channels, data format etc. in advance. Hence, we
>> will identify widely used formats and adhere to them, which will be
>> pluggable.
>>
>> As an example, let's say we need to have a widget/gadget to select a date
>> range in a dashboard. Then it could be either a simple text input field, a
>> select box or a jQuery data picker like rich UI. But at the end, each
>> notifies a date range.
>>
>
> This kind of a thing can already be done by using the timestamps
> everywhere. Anyway it is up to the developer to decide. So what would be
> the attributes that you are going to unify?
>
>
>>
>> Evolving along that path, we will identify commonly used types(again
>> these will be pluggable) which needs to be followed by gadget developers.
>> i.e. If a gadget has followed those types, then it will work in a loosely
>> coupled manner allowing those to be linked with desired data publisher
>> through the dashboard designer.
>>
>> At the moment, I am working on a PoC and will share more informations
>> later. Further, this will be integrated with the layout designer which
>> Nadeesha started.
>>
>
> Some more description on this is appreciated.
>
>
>>
>> Thanks for your feedback.
>>
>> On Tue, Feb 17, 2015 at 10:09 AM, Tanya Madurapperuma 
>> wrote:
>>
>>> Hi,
>>>
>>> On Tue, Feb 17, 2015 at 10:05 AM, Vidura Mudalige 
>>> wrote:
>>>
 HI all,

 We are planning to improve the dashboard of UES to support bootstrap
 and pub/sub.

>>> What are the improvements that you are planning for pub/sub? Because UES
>>> already have pub/sub support.
>>>
>>>
 Current dashboards were build using gridster and it is not flexible.
 Using bootstrap we can build responsive and easily themable dashboards.

>>>
>>> AFAIR NadeeshaC also did some work related to this. Will be great if you
>>> can start from there onwards and continue.
>>>

 Current dashboards have a fixed layout. Therefore we are planning to
 add a selectable layout to the dashboard to make the dashboard more
 friendly to the user. We are planning to add multitenency to the
 dashboard as well.

 Suggestions and feedbacks are appreciated.

 Thanks,

 Thanks,
>>> Tanya
>>>


 --

 *Vidura Mudalige*
 Software Engineering Intern
 WSO2 Inc.; http://wso2.com

 Mobile: *+94 77 2323175*
 Email : vidu...@wso2.com

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


>>>
>>>
>>> --
>>> Tanya Madurapperuma
>>>
>>> Software Engineer,
>>> WSO2 Inc. : wso2.com
>>> Mobile : +94718184439
>>> Blog : http://tanyamadurapperuma.blogspot.com
>>>
>>
>>
>>
>> --
>>
>> *Vidura Mudalige*
>> Software Engineering Intern
>> WSO2 Inc.; http://wso2.com
>>
>> Mobile: *+94 77 2323175*
>> Email : vidu...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
> Thanks
> Gayan
>
> --
> Gayan Dhanuska
> Software Engineer
> http://wso2.com/
> Lean Enterprise Middleware
>
> Mobile
> 071 666 2327
>
> Office
> Tel   : 94 11 214 5345
> Fax  : 94 11 214 5300
>
> Twitter : https://twitter.com/gayanlggd
>



-- 

*Vidura Mudalige*
Software Engineering Intern
WSO2 Inc.; http://wso2.com

Mobile: *+94 77 2323175*
Email : vidu...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] G-Reg internal API store and publisher are not working

2015-02-17 Thread Abimaran Kugathasan
Is this moved to nexus? I couldn't see there[1]

[1] :
http://maven.wso2.org/nexus/content/repositories/releases/org/wso2/carbon/apimgt/org.wso2.carbon.apimgt.api/

On Mon, Feb 16, 2015 at 4:51 PM, Abimaran Kugathasan 
wrote:

> Hi,
>
> We have released APIM components version 1.3.3 with the following fixes
>
> 1. Fixed adding JARs to VCS, copied them using dependency plugins
> 2. Removed hardcoded SHANSHOT version in bundle export
> 3. Fixed API Store/publisher features aren't updated to latest revision
> issue
>
> Can you please move them to nexus?
>
> On Mon, Feb 16, 2015 at 12:01 PM, Dulitha Wijewantha 
> wrote:
>
>> Hi guys,
>> We are facing the same problem when including APIM store and publisher to
>> MDM product. When will you guys be doing this release? It's a blocker for
>> our release this weekend.
>>
>> Cheers~
>>
>> On Thu, Feb 12, 2015 at 5:12 PM, Supun Malinga  wrote:
>>
>>> Hi,
>>>
>>> Today Lalaji and myself looked into this further and found out that
>>> issue was caused by a corrupted encoder jar. Apparently it gets corrupted
>>> at build level. Thanks Lakmali for the tip. This issue will get resolved
>>> once we are copying the encoder jar via the apimgt feature.
>>>
>>> thanks,
>>>
>>> On Thu, Feb 12, 2015 at 11:45 AM, Supun Malinga  wrote:
>>>
 Hi,

 I got the same issue in AS and couldn't find any reason for the issue.
 Publisher app gives a blank page and there aren't any error anywhere (log
 or js console). Also some tabs in store is not working (un-clickable).
 Today I looked into this with Lalaji but we still couldn't isolate the
 issue.
 We tried to copy a working publisher app from AM to AS and still got
 the same issue. Since same issue is there is in Greg it seems there is some
 issue in a common place.

 thanks,

 On Mon, Feb 9, 2015 at 4:58 PM, Chandana Napagoda 
 wrote:

> HI Joe,
>
> I manually copied encode module as well as encode lib to the product,
> and now I am getting the attached exception.
>
> However shall we add these modules to carbon-apimgt repo as well?
>
> Regards,
> Chandana
>
> On Mon, Feb 9, 2015 at 4:12 PM, Joseph Fonseka 
> wrote:
>
>> Hi Chandana
>>
>> Please try including jaggery encode module which you can find in [1]
>>
>>
>>
>> [1]
>> https://github.com/wso2/product-apim/tree/master/modules/jaggery/encode
>>
>> On Mon, Feb 9, 2015 at 3:29 PM, Chandana Napagoda 
>> wrote:
>>
>>> Hi Nuwan,
>>>
>>> In G-Reg, internal API Store and Publisher applications are not
>>> functioning at all at the moment. If we access the "productapipublisher"
>>> app, attached exception is logged. According to the logs, some jaggery
>>> modules are missing. These modules are currently not available in the
>>> carbon-apimgt repo. However they are in the product-apim repo. So shall 
>>> we
>>> make these modules available in carbon-apimgt repo as well?
>>>
>>> Also, even after copying relevant modules still
>>> "productapipublisher" and "productapistore" applications are not working
>>> and no exceptions are logged. Can you guys please have a look?
>>>
>>> Regards,
>>> Chandana
>>>
>>> --
>>> *Chandana Napagoda*
>>> Senior Software Engineer
>>> WSO2 Inc. - http://wso2.org
>>>
>>> *Email  :  chand...@wso2.com **Mobile :
>>> +94718169299 <%2B94718169299>*
>>>
>>> *Blog  :http://cnapagoda.blogspot.com
>>> *
>>>
>>>
>>
>>
>> --
>>
>> --
>> *Joseph Fonseka*
>>  WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: +94 772 512 430
>> skype: jpfonseka
>>
>> * *
>>
>>
>
>
> --
> *Chandana Napagoda*
> Senior Software Engineer
> WSO2 Inc. - http://wso2.org
>
> *Email  :  chand...@wso2.com **Mobile :
> +94718169299 <%2B94718169299>*
>
> *Blog  :http://cnapagoda.blogspot.com
> *
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com 
 mobile: +94 (0)71 56 91 321

>>>
>>>
>>>
>>> --
>>> Supun Malinga,
>>>
>>> Senior Software Engineer,
>>> WSO2 Inc.
>>> http://wso2.com
>>> email: sup...@wso2.com 
>>> mobile: +94 (0)71 56 91 321
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Dulitha Wijewantha (Chan)
>> Software Engineer - Mobile Development
>> WSO2 Inc
>> Lean.Enterprise.Middleware
>>  * ~Email   duli...@

Re: [Dev] Orbit update for new RabbitMQ-Amqp-Client Library

2015-02-17 Thread Eranda Rajapakshe
Thanks for the comments. I added the optional tag. And I couldn't find any
requirement for the dynamic import, I added in the previous pull because I
found it in the rabbitmq-client-3.3.4 orbit version [1].

Anyway I removed it now, and the pull request is updated.

[1].
https://github.com/wso2/orbit/blob/master/rabbit-mq/3.3.4.wso2v1/pom.xml


Thank you!

On Mon, Feb 16, 2015 at 8:17 PM, Kishanthan Thangarajah  wrote:

> I have added some comments on this PR. Please look into them.
>
> On Fri, Feb 13, 2015 at 11:49 AM, Eranda Rajapakshe 
> wrote:
>
>> Hi,
>>
>> Please review the pull request [1].
>>
>> [1]. https://github.com/wso2/orbit/pull/61
>>
>> Thank you!
>>
>>
>> --
>> *Eranda Rajapakshe*
>> Software Engineering intern
>> WSO2 Inc. www.wso2.com
>> Tel : +94784822608
>> Email : eran...@wso2.com
>>
>
>
>
> --
> *Kishanthan Thangarajah*
> Senior Software Engineer,
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com *
> Twitter - *http://twitter.com/kishanthan *
>



-- 
*Eranda Rajapakshe*
Software Engineering intern
WSO2 Inc. www.wso2.com
Tel : +94784822608
Email : eran...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev