[Dev] Please merge pull request #14 for carbon-governance

2014-08-29 Thread Denuwanthi De Silva
Hi,

please review  merge pull req [1], which is a fix for issue [2].


[1]https://github.com/wso2-dev/carbon-governance/pull/14
[2]https://wso2.org/jira/browse/REGISTRY-2266

Thanks,
-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Greg] Error when starting the server in wso2greg-5.0.0-SNAPSHOT

2014-09-17 Thread Denuwanthi De Silva
(BundleContextImpl.java:451)
 at
 org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent.registerServices(DataSourceServiceComponent.java:125)
 at
 org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent.initSuperTenantUserDataSources(DataSourceServiceComponent.java:220)
 at
 org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent.checkInitTenantUserDataSources(DataSourceServiceComponent.java:205)
 at
 org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent.setRegistryService(DataSourceServiceComponent.java:156)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.eclipse.equinox.internal.ds.model.ComponentReference.bind(ComponentReference.java:376)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bindReference(ServiceComponentProp.java:432)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.dynamicBind(InstanceProcess.java:416)
 at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:334)
 at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
 org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)




 Thanks

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

 cell: +94 777 55 80 30 | +94 718 11 27 51
 twitter: @prasa77

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




-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Sewwandhi Perera

2014-09-17 Thread Denuwanthi De Silva

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




-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please merge pull request #19 for carbon-governance

2014-09-19 Thread Denuwanthi De Silva
Hi,

please review  merge pull req[1], which is a fix for issue [2].

[1]https://github.com/wso2-dev/carbon-governance/pull/19
[2]https://wso2.org/jira/browse/REGISTRY-2296

Thanks,
-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please merge pull request #25 for carbon-registry

2014-10-09 Thread Denuwanthi De Silva
Hi,

please review  merge pull req[1], which is a fix for issue [2].

[1]https://github.com/wso2-dev/carbon-registry/pull/25
[2]https://wso2.org/jira/browse/REGISTRY-2310

Thanks,
-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Sachini Jayasekara

2014-10-16 Thread Denuwanthi De Silva
Congratulations Sachini!!

On Fri, Oct 17, 2014 at 11:03 AM, Anuruddha Premalal anurud...@wso2.com
wrote:

 Congratulation Sachini!!

 On Fri, Oct 17, 2014 at 10:59 AM, Harsha Kumara hars...@wso2.com wrote:

 Congratulations Sachini!

 On Fri, Oct 17, 2014 at 10:57 AM, Thilini Shanika thili...@wso2.com
 wrote:

 Congratulations Sachini :)

 On Fri, Oct 17, 2014 at 10:54 AM, Sithumini Senevirathne 
 sithumi...@wso2.com wrote:

 Congratulations Sachini!!!

 On Fri, Oct 17, 2014 at 10:52 AM, Kasun De Silva kas...@wso2.com
 wrote:

 Congratulations Sachini !!

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

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


 On Fri, Oct 17, 2014 at 10:51 AM, Vijitha Ekanayake vijit...@wso2.com
  wrote:

 Congratulations Sachini !!!

 On Fri, Oct 17, 2014 at 10:43 AM, Kalpa Welivitigoda kal...@wso2.com
  wrote:

 Congratulations Sachini !

 On Fri, Oct 17, 2014 at 10:41 AM, Sriskandarajah Suhothayan 
 s...@wso2.com wrote:

 Hi all,

 It's our pleasure to welcome Sachini Jayasekara as a WSO2
 Committer. Sachini has contributed immensely to WSO2 Complex Event
 Processor especially on Siddhi and shown great commitment.
 In recognition of her contribution, she has been voted as a WSO2
 Commiter.

 Welcome aboard and keep up the good work !

 Regards
 Suho

 --

 *S. Suhothayan*
 Technical Lead  Team Lead of WSO2 Complex Event Processor
  *WSO2 Inc. *http://wso2.com
 * http://wso2.com/*
 lean . enterprise . middleware


 *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757 | blog:
 http://suhothayan.blogspot.com/ 
 http://suhothayan.blogspot.com/twitter:
 http://twitter.com/suhothayan http://twitter.com/suhothayan | 
 linked-in:
 http://lk.linkedin.com/in/suhothayan 
 http://lk.linkedin.com/in/suhothayan*

 ___
 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




 --
 Vijitha Ekanayake
 Software Engineer*, *WSO2, Inc.; http://wso2.com/
 Mobile : +94 777 24 73 39 | +94 718 74 44 08
 lean.enterprise.middleware

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



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




 --
 --
 Sithumini Senevirathne
 Software Engineer
 WSO2 Inc. - lean . enterprise . middleware |  wso2.com

 email: sithumi...@wso2.com,   mobile: +94 756977999

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




 --
 Thilini Shanika
 Software Engineer
 WSO2, Inc.; http://wso2.com
 20, Palmgrove Avenue, Colombo 3

 E-mail: tgtshan...@gmail.com


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




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

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




 --
 *Anuruddha Premalal*
 Software Eng. | WSO2 Inc.
 Mobile : +94710461070
 Web site : www.regilandvalley.com


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




-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Tishan Dahanayakage

2014-10-16 Thread Denuwanthi De Silva
Congratulations Tishan!!

On Fri, Oct 17, 2014 at 11:08 AM, Niranda Perera nira...@wso2.com wrote:

 Congrats Tishan!

 On Fri, Oct 17, 2014 at 11:04 AM, Ashan Dhananjaya ash...@wso2.com
 wrote:

 happy for you Tishan  :)

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




 --
 *Niranda Perera*
 Software Engineer, WSO2 Inc.
 Mobile: +94-71-554-8430
 Twitter: @n1r44 https://twitter.com/N1R44

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




-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Gayashan Amarasinghe

2014-10-20 Thread Denuwanthi De Silva
Congratulations Gayashan!!

On Mon, Oct 20, 2014 at 1:44 PM, Danesh Kuruppu dan...@wso2.com wrote:

 Congrats Gayashan!!!

 On Mon, Oct 20, 2014 at 1:40 PM, Dakshika Jayathilaka daksh...@wso2.com
 wrote:

 Congratulations...!

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

 On Mon, Oct 20, 2014 at 1:37 PM, Buddhima Wijeweera buddh...@wso2.com
 wrote:

 Congratulations Gayashan!

 On Mon, Oct 20, 2014 at 1:33 PM, Omindu Rathnaweera omi...@wso2.com
 wrote:

 Congrats Gayashan!

 On Mon, Oct 20, 2014 at 1:32 PM, Isuru Ranawaka isu...@wso2.com
 wrote:

 Congratulations

 On Mon, Oct 20, 2014 at 1:31 PM, Rajkumar Rajaratnam 
 rajkum...@wso2.com wrote:

 Congratulations Gayashan!

 On Mon, Oct 20, 2014 at 1:17 PM, Nipuni Perera nip...@wso2.com
 wrote:

 Congratulations Gayashan!



 On Mon, Oct 20, 2014 at 12:36 PM, Harsha Kumara hars...@wso2.com
 wrote:

 Congratulations Gayashan!

 On Mon, Oct 20, 2014 at 12:24 PM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 Congrats Gayashan..

 On Mon, Oct 20, 2014 at 12:23 PM, Vijitha Ekanayake 
 vijit...@wso2.com wrote:

 Congratulations Gayashan ...!!!

 On Mon, Oct 20, 2014 at 11:50 AM, Sameera Jayasoma 
 same...@wso2.com wrote:

 Hi Gayashan,

 It's my pleasure to welcome you to WSO2 Committers club. You've
 been contributing to WSO2 in various forms, hence you deserve this. 
 Please
 keep up with good work you've been doing so far.

 Congratulations!!!

 Thanks,
 Sameera.

 --
 Sameera Jayasoma,
 Software Architect,

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

 Lean . Enterprise . Middleware


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




 --
 Vijitha Ekanayake
 Software Engineer*, *WSO2, Inc.; http://wso2.com/
 Mobile : +94 777 24 73 39 | +94 718 74 44 08
 lean.enterprise.middleware

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




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




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

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




 --
 Nipuni Perera
 Software Engineer; WSO2 Inc.; http://wso2.com
 Email: nip...@wso2.com
 Git hub profile: https://github.com/nipuni
 Mobile: +94 (71) 5626680
 http://wso2.com


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




 --
 Rajkumar Rajaratnam
 Software Engineer | WSO2, Inc.
 Mobile +94777568639 | +94783498120

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




 --
 Best Regards
 Isuru Ranawaka
 M: +94714629880
 Blog : http://isurur.blogspot.com/

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




 --
 Omindu Rathnaweera
 Software Engineer, WSO2 Inc.
 Mobile: +94 771 197 211

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




 --
 Buddhima Wijeweera
 Software Engineer; WSO2 Inc.; http://wso2.com ,

 Email: buddh...@wso2.com
 Blog:   https://buddhimawijeweera.wordpress.com
 GitHub Profile: https://github.com/Buddhima

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



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




 --

 Danesh Kuruppu
 Software Engineer
 WSO2 Inc,
 Mobile: +94 (77) 1690552

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




-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Rajkumar Rajaratnam

2014-10-20 Thread Denuwanthi De Silva
Congratulations Rajkumar!!

On Tue, Oct 21, 2014 at 9:38 AM, Roshan Wijesena ros...@wso2.com wrote:

 Congratulation!!

 On Tue, Oct 21, 2014 at 9:33 AM, Prasanna Dangalla prasa...@wso2.com
 wrote:

 Congratulations Rajkumar...

 On Tue, Oct 21, 2014 at 9:28 AM, Thilini Shanika thili...@wso2.com
 wrote:

 Congratulations Rajkumar !!!

 On Tue, Oct 21, 2014 at 9:27 AM, Dakshika Jayathilaka daksh...@wso2.com
  wrote:

 Congratulations Raj !

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

 On Tue, Oct 21, 2014 at 9:26 AM, Sameera Jayaratna samee...@wso2.com
 wrote:

 Congratz Rajkumar!!!

 On Tue, Oct 21, 2014 at 9:23 AM, Suhan Dharmasuriya suh...@wso2.com
 wrote:

 Congrats Rajkumar!!!

 On Tue, Oct 21, 2014 at 9:22 AM, Shiroshica Kulatilake 
 sh...@wso2.com wrote:

 Congrats !!

 On Tue, Oct 21, 2014 at 9:19 AM, Kasun De Silva kas...@wso2.com
 wrote:

 Congrats Rajkumar !!!

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

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


 On Tue, Oct 21, 2014 at 9:07 AM, Lakmal Warusawithana 
 lak...@wso2.com wrote:

 Hi all,

 It's my pleasure to announce Raj as a WSO2 Committer. Raj has done
 great contributions to Apache Stratos and WSO2 Private PaaS products. 
 And
 in recognition of his contribution he has been voted as a WSO2 
 commiter.

 Raj, welcome aboard and keep up the good work!.

 --
 Lakmal Warusawithana
 Vice President, Apache Stratos
 Director - Cloud Architecture; WSO2 Inc.
 Mobile : +94714289692
 Blog : http://lakmalsview.blogspot.com/


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



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




 --
 Shiroshica Kulatilake

 Architect,
 WSO2, Inc. http://wso2.com/
 Phone: +94 776523867

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




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

 lean . enterprise . middleware
 Tel: +94 112 145345
 Mob: +94 779 869138
 Blog: http://suhan-opensource.blogspot.com/

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




 --



 *Thanks  Regards,Sameera Jayaratna Software Engineer; **WSO2 Inc. *

 *lean . enterprise . middleware |  http://wso2.com http://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




 --
 Thilini Shanika
 Software Engineer
 WSO2, Inc.; http://wso2.com
 20, Palmgrove Avenue, Colombo 3

 E-mail: tgtshan...@gmail.com


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




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

 cell: +94 777 55 80 30 | +94 718 11 27 51
 twitter: @prasa77

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




 --
 Roshan Wijesena.
 Senior Software Engineer-WSO2 Inc.
 Mobile: *+94752126789*
 Email: ros...@wso2.com
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.

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




-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Lasindu Charith

2014-10-20 Thread Denuwanthi De Silva
Congratulations Lasindu!!

On Tue, Oct 21, 2014 at 9:37 AM, Roshan Wijesena ros...@wso2.com wrote:

 Congratulation!!

 On Tue, Oct 21, 2014 at 9:33 AM, Milinda Perera milin...@wso2.com wrote:

 Congratulations Lasindu !!

 On Tue, Oct 21, 2014 at 9:31 AM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 Congrats Lasindu

 On Tue, Oct 21, 2014 at 9:28 AM, Thilini Shanika thili...@wso2.com
 wrote:

 Congratulations Lasindu !!!

 On Tue, Oct 21, 2014 at 9:26 AM, Dakshika Jayathilaka 
 daksh...@wso2.com wrote:

 Congratulations Lasindu !

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

 On Tue, Oct 21, 2014 at 9:24 AM, Tharindu Edirisinghe 
 tharin...@wso2.com wrote:

 Congratulations Lasindu !!

 On Tue, Oct 21, 2014 at 9:23 AM, Suhan Dharmasuriya suh...@wso2.com
 wrote:

 Congrats Lasindu!!!

 On Tue, Oct 21, 2014 at 9:18 AM, Kasun De Silva kas...@wso2.com
 wrote:

 Congrats Lasindu !!!

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

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


 On Tue, Oct 21, 2014 at 9:09 AM, Lakmal Warusawithana 
 lak...@wso2.com wrote:

 Hi all,

 It's my pleasure to announce Lasindu as a WSO2 Committer. Lasindu
 has done great contributions to Apache Stratos and WSO2 Private PaaS
 products. And in recognition of his contribution he has been voted as 
 a
 WSO2 commiter.

 Lasindu, welcome aboard and keep up the good work!.

 --
 Lakmal Warusawithana
 Vice President, Apache Stratos
 Director - Cloud Architecture; WSO2 Inc.
 Mobile : +94714289692
 Blog : http://lakmalsview.blogspot.com/


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



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




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

 lean . enterprise . middleware
 Tel: +94 112 145345
 Mob: +94 779 869138
 Blog: http://suhan-opensource.blogspot.com/

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




 --

 Tharindu Edirisinghe
 Software Engineer | WSO2 Inc
 Identity Server Team
 mobile : +94 775 181586

 ___
 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




 --
 Thilini Shanika
 Software Engineer
 WSO2, Inc.; http://wso2.com
 20, Palmgrove Avenue, Colombo 3

 E-mail: tgtshan...@gmail.com


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




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




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




 --
 Roshan Wijesena.
 Senior Software Engineer-WSO2 Inc.
 Mobile: *+94752126789*
 Email: ros...@wso2.com
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.

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




-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-29 Thread Denuwanthi De Silva
://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Best Regards,
 V.Rajeevan
 Software Engineer,
 WSO2 Inc. :http://wso2.com

 Mobile : +94 773090875
 Email : rajeev...@wso2.com

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




 --
 *Mahesh Chinthaka Vidanagama* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 63 63 083 | Work: +94 112 145 345
 Email: mahe...@wso2.com | Web: www.wso2.com

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




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

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




 --
 Buddhima Wijeweera
 Software Engineer; WSO2 Inc.; http://wso2.com ,

 Email: buddh...@wso2.com
 Blog:   https://buddhimawijeweera.wordpress.com
 GitHub Profile: https://github.com/Buddhima

 ___
 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




 --

 Tharindu Edirisinghe
 Software Engineer | WSO2 Inc
 Identity Server Team
 mobile : +94 775 181586

 ___
 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




 --
 Shiva Balachandran
 Software Engineer
 WSO2 Inc.

 Mobile - +94 774445788

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




-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [G-reg] [Redmine Issue Review] Meeting Notes

2014-11-04 Thread Denuwanthi De Silva
Hi,

Following were discussed during the G-reg Redmine Issue review.

Notes on G-reg store (ES store integration to G-reg):
1.Adding RXTs

As of now, adding a new RXT, does not make them appear in store, for that
we need to add an entry about the rxt in a configuration file.

In the meeting it was discussed to support, displaying any rxt added in
store without configuring a file, and only need to configure a file if
disabling that rxt.


2.In future support an admin app(for store) to enable/disable rxts instead
of configuring file.



3.Discussed to change the UI of ES store integrated to G-reg, to show rxts
(services, wsdls etc) as categories instead of tabs.

4.Discussed to maintain this categorization like another extension in
Enterprise store. (app extension)



5.When Unified Governance is implemented, RXT will be replaced by it.(both
can co-exist for sometime). This was discussed in the meeting too.

Eventually ES store also should support the same.

https://www.google.com/url?q=https%3A%2F%2Fredmine.wso2.com%2Fissues%2F3073ust=1415091968039000usg=AFQjCNHvffTvoV_9NFQnZepsaCDnJS8jHw
https://www.google.com/url?q=https%3A%2F%2Fredmine.wso2.com%2Fissues%2F3073ust=1415091968039000usg=AFQjCNHvffTvoV_9NFQnZepsaCDnJS8jHw
Thanks,
Denuwanthi.


-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Asanka Abeyweera

2014-11-05 Thread Denuwanthi De Silva
Congratulations Asanka!!

On Thu, Nov 6, 2014 at 10:14 AM, Prasanna Dangalla prasa...@wso2.com
wrote:

 Congratulations Asanka.!!!

 On Thu, Nov 6, 2014 at 10:11 AM, Buddhima Wijeweera buddh...@wso2.com
 wrote:

 Congratulations Asanka !!!

 On Thu, Nov 6, 2014 at 10:03 AM, Dakshika Jayathilaka daksh...@wso2.com
 wrote:

 Congratulations Asanka,.!!!

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

 On Thu, Nov 6, 2014 at 9:22 AM, Sajini De Silva saj...@wso2.com wrote:

 Congratulations Asanka!!!

 On Thu, Nov 6, 2014 at 8:49 AM, Sachini Jayasekara sachi...@wso2.com
 wrote:

 Congratulations Asanka!!!

 On Thu, Nov 6, 2014 at 8:36 AM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Asanka :)

 Gayashan Amarasinghe
 (sent from mobile)
 On 6 Nov 2014 06:11, Dilan Udara Ariyaratne dil...@wso2.com
 wrote:

 Congratulations, Asanka...!!!


 *Dilan U. Ariyaratne*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 Mobile: +94775149066
 lean . enterprise . middleware

 On Wed, Nov 5, 2014 at 11:55 PM, Hasitha Hiranya hasit...@wso2.com
 wrote:

 Congratulations, Asanka...!!!

 On Wed, Nov 5, 2014 at 11:29 PM, Harsha Kumara hars...@wso2.com
 wrote:

 Congratulations Asanka!

 On Wed, Nov 5, 2014 at 11:27 PM, Rajith Vitharana 
 raji...@wso2.com wrote:

 Congratulations Asanka ... !!

 On Wed, Nov 5, 2014 at 8:37 AM, Ramith Jayasinghe 
 ram...@wso2.com wrote:

 Hi Asanka,
  Congratulations!
 It is with great pleasure that we welcome you as a WSO2
 committer. Keep up the good work!
 thanks and best regards,

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

 E: ram...@wso2.com


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




 --
 Rajith Vitharana

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

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




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

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




 --
 *Hasitha Abeykoon*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 *cell:* *+94 719363063*
 *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com


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



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


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




 --



 *Thanks  Regards,Sachini JayasekaraSoftware Engineer; **WSO2 Inc. *

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

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




 --
 Sajini De SIlva
 Software Engineer; WSO2 Inc.; http://wso2.com ,
 Email: saj...@wso2.com
 Blog: http://sajinid.blogspot.com/
 Git hub profile: https://github.com/sajinidesilva

 Phone: +94 712797729


 ___
 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




 --
 Buddhima Wijeweera
 Software Engineer; WSO2 Inc.; http://wso2.com ,

 Email: buddh...@wso2.com
 Blog:   https://buddhimawijeweera.wordpress.com
 GitHub Profile: https://github.com/Buddhima

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




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

 cell: +94 777 55 80 30 | +94 718 11 27 51
 twitter: @prasa77

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




-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Harsha Kumara

2014-11-06 Thread Denuwanthi De Silva
.org/cgi-bin/mailman/listinfo/dev




-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Sajini De Silva

2014-11-18 Thread Denuwanthi De Silva
Congratulations Sajini!!!

On Tue, Nov 18, 2014 at 1:51 PM, Nipuni Perera nip...@wso2.com wrote:

 Congratz sajini!!!


 On Tue, Nov 18, 2014 at 1:43 PM, Ashan Dhananjaya ash...@wso2.com wrote:

 congratzz sajini. all da very best!! happy for u.

 On Tue, Nov 18, 2014 at 1:26 PM, Ramith Jayasinghe ram...@wso2.com
 wrote:

 Hi Sajini,
 Congratulations!
 It is with great pleasure that we welcome you as a WSO2 committer. Keep
 up the good work!

 thanks and best regards

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

 E: ram...@wso2.com

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




 --
 Ashan Dhananjaya Kumara
 Trainee Software Engineer, WSO2 Inc.
 Inc: *WSO2 Inc. *
 Phone : +94715547461
 Blog : http://ashandhananjaya.blogspot.com/
 Twitter  : https://twitter.com/Dhananjaya92
 Say ello :https://ello.co/ashandk





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




 --
 Nipuni Perera
 Software Engineer; WSO2 Inc.; http://wso2.com
 Email: nip...@wso2.com
 Git hub profile: https://github.com/nipuni
 Mobile: +94 (71) 5626680
 http://wso2.com


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




-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Publish-Subscribe Channel EIP - Axis2 Client throws an error

2014-04-16 Thread Denuwanthi De Silva
Hi Samith,

I'm using ESB 4.8.1. This is the log I get:

INFO - LogMediator To: /, WSAction: urn:placeOrder, SOAPAction:
urn:placeOrder, ReplyTo: http://www.w3.org/2005/08/addressing/none,
MessageID: urn:uuid:22b40329-d5ed-4093-897d-1c041b2eb381, Direction: request

I don't get any error message on the ESB debug log as in [1].

Sample 460[2] works fine for me. The bug is fixed in 4.8.1.
I get an error log in Axis2Client as I have mentioned.




[1] https://wso2.org/jira/browse/ESBJAVA-2857
[2]
https://docs.wso2.org/display/ESB481/Sample+460%3A+Introduction+to+Eventing+and+Event+Mediator


Thanks,


On Wed, Apr 16, 2014 at 6:55 PM, Samith Dassanayake sam...@wso2.com wrote:

 Hi Denuwanthi,

 This is caused by a bug in ESB 4.8.0. If you are using the ESB version
 4.8.0 this is a known issue[1]. If you check the debug log of the ESB you
 will see a similar error message as [1], which occurs when executing the
 sample 460[2]

 [1] https://wso2.org/jira/browse/ESBJAVA-2857
 [2]
 https://docs.wso2.org/display/ESB481/Sample+460%3A+Introduction+to+Eventing+and+Event+Mediator


 On Wed, Apr 16, 2014 at 4:57 PM, Denuwanthi De Silva 
 denuwan...@wso2.comwrote:


 Hi,

 I tried the sample in [1].
 When I send a request using Axis2 Client with ant stockquote -Dtrpurl=
 http://localhost:8280 -Dsymbol=foo command, it gives an AxisFault, as
 follows:

  [java] 14/04/16 14:49:00 ERROR sandesha2.SandeshaModule: Could not load
 module policies. Using default values.
  [java] 14/04/16 14:49:00 INFO mail.MailTransportSender: MAILTO
 Sender started
  [java] 14/04/16 14:49:00 INFO jms.JMSSender: JMS Sender started
  [java] 14/04/16 14:49:00 INFO jms.JMSSender: JMS Transport Sender
 initialized...
  *[java] org.apache.axis2.AxisFault: The input stream for an
 incoming message is null.*
  [java] at
 org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:93)
  [java] at
 org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:68)
  [java] at
 org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:348)
  [java] at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:445)
  [java] at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
  [java] at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
  [java] at
 org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:554)
  [java] at
 org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:530)
  [java] at
 samples.userguide.StockQuoteClient.executeClient(Unknown Source)
  [java] at samples.userguide.StockQuoteClient.main(Unknown Source)

 BUILD SUCCESSFUL

 Can somebody point out what the issue is?

 [1]
 https://docs.wso2.org/display/IntegrationPatterns/Publish-Subscribe+Channel
 --
 Denuwanthi De Silva
 Software Engineer;
 WSO2 Inc.; http://wso2.com,
 Email: denuwan...@wso2.com



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




 --
 Best Regards

 Samith Dassanayake
 Software Engineer, WSO2 Inc.
 Mobile: +94776207351




-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] AS- error while running wso2as-5.3.0-SNAPSHOT

2014-05-28 Thread Denuwanthi De Silva
Hi,

When I run AS server using, 'wso2as-5.3.0-SNAPSHOT', get the following
error in the console:

INFO {org.wso2.carbon.databridge.agent.thrift.internal.AgentDS} -
Successfully deployed Agent Client
[2014-05-28 21:00:35,775]* ERROR
{org.apache.catalina.mbeans.GlobalResourcesLifecycleListener} -  No global
naming context defined for server*
[2014-05-28 21:00:36,382]  INFO
{org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} -  Configured
Registry in 49ms

The server starts, yet the LifecycleListener is needed for the work i'm
currently doing.
What could be the issue here?

Thanks  Regards,

-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] FYI - version attribute in web.xml for ServletContainerInitializers

2014-05-29 Thread Denuwanthi De Silva
Hi,

When I removed the annotation  it still gets the
'ProtoBufServletContextInitializer'.

Thanks


On Thu, May 29, 2014 at 8:17 PM, Sagara Gunathunga sag...@wso2.com wrote:


 [Adding dev@wso2]

 what happen if you comment out @HandlesType(...).  annotation ?

 Thanks !


 On Thu, May 29, 2014 at 7:52 PM, Denuwanthi De Silva 
 denuwan...@wso2.comwrote:

 Yes I added the @Protobuf to my webapp service class. In tomcat the
 onstartup method identifies that class properly.

 But here now the initializer instance is created, but, #onStartup method
 is not triggered.




 On Thu, May 29, 2014 at 7:45 PM, Kasun Gajasinghe kas...@wso2.comwrote:


 Great..

 You do not have to manually call #onStartup method. It will get
 automatically called when it finds a class that has the annotation class
 mentioned in @HandlesType(...).

 So, just add your @ProtoBuff.. service class to your webapp, and see
 whether the SCI gets invoked.


 On Thu, May 29, 2014 at 7:40 PM, Denuwanthi De Silva 
 denuwan...@wso2.com wrote:

 Hi,

 Yes, I changed it to 3.0 earlier due to that reason.
 I was mistaken earlier, it does go into our probuf.war too.
 Now the initializer class can be accessed. Only problem is to call
 onStartup(java.util.Setjava.lang.Class? c, 
 ServletContexthttp://docs.oracle.com/javaee/6/api/javax/servlet/ServletContext.html
  ctx).
 Now i'm working on it

 Thanks.


 On Thu, May 29, 2014 at 7:31 PM, Kasun Gajasinghe kas...@wso2.comwrote:

 Hi,

 Just found out that ServletContainerInitializer s are only processed
 if the version attribute in web.xml is set to 3.0 or latter. The reason is
 this feature was introduced in Servlet 3.0 spec. So, make sure your 
 webapps
 have the proper version.

 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






 --
 Denuwanthi De Silva
 Software Engineer;
 WSO2 Inc.; http://wso2.com,
 Email: denuwan...@wso2.com





 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






 --
 Denuwanthi De Silva
 Software Engineer;
 WSO2 Inc.; http://wso2.com,
 Email: denuwan...@wso2.com





 --
 Sagara Gunathunga

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




-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] FYI - version attribute in web.xml for ServletContainerInitializers

2014-05-29 Thread Denuwanthi De Silva
Hi,

The ProtoBufServletContextInitializer  #onStartup method, now get triggered.
The issue was due to an 'Unmodifiable List' returend by the tomcat
'WebappServiceLoader'.

Thanks,



On Thu, May 29, 2014 at 8:41 PM, Denuwanthi De Silva denuwan...@wso2.comwrote:

 Hi,

 When I removed the annotation  it still gets the
 'ProtoBufServletContextInitializer'.

 Thanks


 On Thu, May 29, 2014 at 8:17 PM, Sagara Gunathunga sag...@wso2.comwrote:


 [Adding dev@wso2]

 what happen if you comment out @HandlesType(...).  annotation ?

 Thanks !


 On Thu, May 29, 2014 at 7:52 PM, Denuwanthi De Silva denuwan...@wso2.com
  wrote:

 Yes I added the @Protobuf to my webapp service class. In tomcat the
 onstartup method identifies that class properly.

 But here now the initializer instance is created, but, #onStartup method
 is not triggered.




 On Thu, May 29, 2014 at 7:45 PM, Kasun Gajasinghe kas...@wso2.comwrote:


 Great..

 You do not have to manually call #onStartup method. It will get
 automatically called when it finds a class that has the annotation class
 mentioned in @HandlesType(...).

 So, just add your @ProtoBuff.. service class to your webapp, and see
 whether the SCI gets invoked.


 On Thu, May 29, 2014 at 7:40 PM, Denuwanthi De Silva 
 denuwan...@wso2.com wrote:

 Hi,

 Yes, I changed it to 3.0 earlier due to that reason.
 I was mistaken earlier, it does go into our probuf.war too.
 Now the initializer class can be accessed. Only problem is to call
 onStartup(java.util.Setjava.lang.Class? c, 
 ServletContexthttp://docs.oracle.com/javaee/6/api/javax/servlet/ServletContext.html
  ctx).
 Now i'm working on it

 Thanks.


 On Thu, May 29, 2014 at 7:31 PM, Kasun Gajasinghe kas...@wso2.comwrote:

 Hi,

 Just found out that ServletContainerInitializer s are only processed
 if the version attribute in web.xml is set to 3.0 or latter. The reason 
 is
 this feature was introduced in Servlet 3.0 spec. So, make sure your 
 webapps
 have the proper version.

 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






 --
 Denuwanthi De Silva
 Software Engineer;
 WSO2 Inc.; http://wso2.com,
 Email: denuwan...@wso2.com





 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






 --
 Denuwanthi De Silva
 Software Engineer;
 WSO2 Inc.; http://wso2.com,
 Email: denuwan...@wso2.com





 --
 Sagara Gunathunga

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




 --
 Denuwanthi De Silva
 Software Engineer;
 WSO2 Inc.; http://wso2.com,
 Email: denuwan...@wso2.com





-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] AS- Error when building product-as

2014-06-23 Thread Denuwanthi De Silva
Hi,

When I build 'product-as' 'WSO2 AppServer - Distribution' fails and give
the following error:


*[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-assembly-plugin:2.4:attached (4-dist) on
project wso2as: Failed to create assembly: Error adding file to archive:
/home/denuwanthi/WSO2-training/Project/product-as/modules/distribution/../p2-profile-gen/target/wso2carbon-core-4.3.0-SNAPSHOT/repository/conf/security/idp-config.xml
isn't a file. -*


What could be the issue?


Thanks,

-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] AS- Error when building product-as

2014-06-24 Thread Denuwanthi De Silva
I did an online build on the latest source,   got the same error.



Thanks,


On Tue, Jun 24, 2014 at 1:36 PM, Kasun Gajasinghe kas...@wso2.com wrote:

 Do you have the latest source of product-as? Try to do an online build and
 see.


 On Tue, Jun 24, 2014 at 11:07 AM, Denuwanthi De Silva denuwan...@wso2.com
  wrote:

 Hi,

 When I build 'product-as' 'WSO2 AppServer - Distribution' fails and give
 the following error:


 *[ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-assembly-plugin:2.4:attached (4-dist) on
 project wso2as: Failed to create assembly: Error adding file to archive:
 /home/denuwanthi/WSO2-training/Project/product-as/modules/distribution/../p2-profile-gen/target/wso2carbon-core-4.3.0-SNAPSHOT/repository/conf/security/idp-config.xml
 isn't a file. - *


 What could be the issue?


 Thanks,

 --
 Denuwanthi De Silva
 Software Engineer;
 WSO2 Inc.; http://wso2.com,
 Email: denuwan...@wso2.com



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




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] LogViewerStub returns null Logevent element in G-reg 5.0.0

2014-07-07 Thread Denuwanthi De Silva
Hi,

G-reg 5.0.0 SNAPSHOT display 'null' in management console, when try to view
'System logs', with the following message:
*The log must be configured to use the
org.wso2.carbon.logging.core.util.MemoryAppender to view entries through
the admin console*

The corresponding test case, shows that it is due to 'LogViewerStub'
returning a null 'Logevent', when trying to access system logs.

The JIRA issue can be found in [1]

[1].https://wso2.org/jira/browse/REGISTRY-2219



Thanks,
-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] LogViewerStub returns null Logevent element in G-reg 5.0.0

2014-07-07 Thread Denuwanthi De Silva
Hi Amani,

Thanks for the clarification. It's working fine now.
Yes, as you mentioned the CARBON_MEMORY appender was not properly
configured in GREG due to an ES log4j.properties file overriding.

Thanks,


On Tue, Jul 8, 2014 at 7:02 AM, Amani Soysa am...@wso2.com wrote:

 Hi

 Looks like CARBON_MEMORY appender is not properly configured in GREG.
 Please make sure following properties are there in log4j.properties file

 # The memory appender for logging
 log4j.appender.CARBON_MEMORY=
 *org.wso2.carbon.logging.appender.CarbonMemoryAppender*
 log4j.appender.CARBON_MEMORY.bufferSize=2000

 log4j.appender.CARBON_MEMORY.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
 # ConversionPattern will be overridden by the configuration setting in the
 DB
 log4j.appender.CARBON_MEMORY.layout.ConversionPattern=TID: [%T] [%S] [%d]
 %P%5p {%c} - %x %m {%c}%n
 log4j.appender.CARBON_MEMORY.layout.TenantPattern=%U%@%D [%T] [%S]

 log4j.appender.CARBON_MEMORY.columnList=%T,%S,%A,%d,%c,%p,%m,%H,%I,%Stacktrace
 log4j.appender.CARBON_MEMORY.threshold=DEBUG

 and also* CARBON_MEMORY* is added to the root logger.


 On Mon, Jul 7, 2014 at 5:24 PM, Denuwanthi De Silva denuwan...@wso2.com
 wrote:

 Hi,

 G-reg 5.0.0 SNAPSHOT display 'null' in management console, when try to
 view 'System logs', with the following message:
 *The log must be configured to use the
 org.wso2.carbon.logging.core.util.MemoryAppender to view entries through
 the admin console*

 The corresponding test case, shows that it is due to 'LogViewerStub'
 returning a null 'Logevent', when trying to access system logs.

 The JIRA issue can be found in [1]

 [1].https://wso2.org/jira/browse/REGISTRY-2219



 Thanks,
 --
 Denuwanthi De Silva
 Software Engineer;
 WSO2 Inc.; http://wso2.com,
 Email: denuwan...@wso2.com



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




 --
 Amani Soysa
 Associate Technical Lead
 Mobile: +94772325528
 WSO2, Inc. | http://wso2.com/
 Lean . Enterprise . Middleware




-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Server Startup Error

2014-07-11 Thread Denuwanthi De Silva
Hi,

When running G-reg 5.0.0-SNAPSHOT, the following error log is visible:

*ERROR {org.apache.cassandra.cql3.QueryProcessor} -  Unable to initialize
MemoryMeter (jamm not specified as javaagent).  This means Cassandra will
be unable to measure object sizes accurately and may consequently OOM.*

The same error is visible in ES pack as well.

Increasing permsize didn't help.

Thanks,
-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Server Startup Error

2014-07-12 Thread Denuwanthi De Silva
Hi,

I tried with adding the javaagent command to the startup script as you
mentioned.
It still shows the same error log.


Thanks,


On Fri, Jul 11, 2014 at 11:47 PM, Mohanadarshan Vivekanandalingam 
mo...@wso2.com wrote:

 Hi,

 Have you tried by adding below command in wso2server.sh start up script.

 -javaagent:$CARBON_HOME/repository/components/plugins/jamm_0.2.5.wso2v2.jar
 \

 Refer attached wso2server.sh ...

 Thanks,
 Mohan


 On Fri, Jul 11, 2014 at 2:39 PM, Denuwanthi De Silva denuwan...@wso2.com
 wrote:

 Hi,

 When running G-reg 5.0.0-SNAPSHOT, the following error log is visible:

 *ERROR {org.apache.cassandra.cql3.QueryProcessor} -  Unable to initialize
 MemoryMeter (jamm not specified as javaagent).  This means Cassandra will
 be unable to measure object sizes accurately and may consequently OOM.*

 The same error is visible in ES pack as well.

 Increasing permsize didn't help.

 Thanks,
 --
 Denuwanthi De Silva
 Software Engineer;
 WSO2 Inc.; http://wso2.com,
 Email: denuwan...@wso2.com



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




 --
 *V. Mohanadarshan*
 *Software Engineer,*
 *Data Technologies Team,*
 *WSO2, Inc. http://wso2.com http://wso2.com *
 *lean.enterprise.middleware.*

 email: mo...@wso2.com
 phone:(+94) 771117673




-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Server Startup Error

2014-07-13 Thread Denuwanthi De Silva
Thanks.Doing changes as described in the JIRA [1], solved the issue.


[1]https://wso2.org/jira/browse/MB-483

Thanks,


On Sun, Jul 13, 2014 at 12:34 PM, Deependra Ariyadewa d...@wso2.com wrote:

 Fix is described in this JIRA.

 https://wso2.org/jira/browse/MB-483


 On Fri, Jul 11, 2014 at 2:39 PM, Denuwanthi De Silva denuwan...@wso2.com
 wrote:

 Hi,

 When running G-reg 5.0.0-SNAPSHOT, the following error log is visible:

 *ERROR {org.apache.cassandra.cql3.QueryProcessor} -  Unable to initialize
 MemoryMeter (jamm not specified as javaagent).  This means Cassandra will
 be unable to measure object sizes accurately and may consequently OOM.*

 The same error is visible in ES pack as well.

 Increasing permsize didn't help.

 Thanks,
 --
 Denuwanthi De Silva
 Software Engineer;
 WSO2 Inc.; http://wso2.com,
 Email: denuwan...@wso2.com



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




 --
 Deependra Ariyadewa
 WSO2, Inc. http://wso2.com/ http://wso2.org

 email d...@wso2.com; cell +94 71 403 5996 ;
 Blog http://risenfall.wordpress.com/
 PGP info: KeyID: 'DC627E6F'

 *WSO2 - Lean . Enterprise . Middleware*




-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Server Startup Error

2014-07-13 Thread Denuwanthi De Silva
JIRAs created at [1]  [2].

[1]https://wso2.org/jira/browse/REGISTRY-2224
[2]https://wso2.org/jira/browse/STORE-468

Thanks,


On Sun, Jul 13, 2014 at 9:20 PM, Bhathiya Jayasekara bhath...@wso2.com
wrote:

 Please open JIRAs for the products in which you faced this error.

 Thanks,


 On Sun, Jul 13, 2014 at 7:20 PM, Denuwanthi De Silva denuwan...@wso2.com
 wrote:


 Thanks.Doing changes as described in the JIRA [1], solved the issue.


 [1]https://wso2.org/jira/browse/MB-483

 Thanks,


 On Sun, Jul 13, 2014 at 12:34 PM, Deependra Ariyadewa d...@wso2.com
 wrote:

 Fix is described in this JIRA.

 https://wso2.org/jira/browse/MB-483


 On Fri, Jul 11, 2014 at 2:39 PM, Denuwanthi De Silva 
 denuwan...@wso2.com wrote:

  Hi,

 When running G-reg 5.0.0-SNAPSHOT, the following error log is visible:

 *ERROR {org.apache.cassandra.cql3.QueryProcessor} -  Unable to
 initialize MemoryMeter (jamm not specified as javaagent).  This means
 Cassandra will be unable to measure object sizes accurately and may
 consequently OOM.*

 The same error is visible in ES pack as well.

 Increasing permsize didn't help.

 Thanks,
 --
 Denuwanthi De Silva
 Software Engineer;
 WSO2 Inc.; http://wso2.com,
 Email: denuwan...@wso2.com



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




 --
 Deependra Ariyadewa
 WSO2, Inc. http://wso2.com/ http://wso2.org

 email d...@wso2.com; cell +94 71 403 5996 ;
 Blog http://risenfall.wordpress.com/
 PGP info: KeyID: 'DC627E6F'

 *WSO2 - Lean . Enterprise . Middleware*




 --
 Denuwanthi De Silva
 Software Engineer;
 WSO2 Inc.; http://wso2.com,
 Email: denuwan...@wso2.com



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




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

 *Phone: +94715478185 %2B94715478185*
 *LinkedIn: http://www.linkedin.com/in/bhathiyaj
 http://www.linkedin.com/in/bhathiyaj*
 *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax*
 *Blog: http://movingaheadblog.blogspot.com
 http://movingaheadblog.blogspot.com/*




-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] LoginListener not catching login events

2014-07-15 Thread Denuwanthi De Silva
Hi,

The LoginListener (RXTLoader.java) does not seems to catch the login events
invoked inside 'AuthenticationAdmin' backend service login method. (but
works fine with the UI loggings)

What could be the cause?


Thanks,
-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] LoginListener not catching login events

2014-07-16 Thread Denuwanthi De Silva
Hi,

I'm testing a scenario[1] where a .rxt file (service.rxt) is saved by
adding content.
Then the saved content is accessed using
'governanceServiceClient.getConfiguration(service)'.
But, it returns 'null'. If I login to the server manually, and invoke the
above method,it returns the content properly.
So, I added
'new LoginLogoutClient(automationContext).login();' before the method, to
achieve it.
But, the issue remains the same.

I now tried with invoking 'GovernanceUtils.loadGovernanceArtifacts()' as
you mentioned.But, the content returned is still null.


[1]
https://github.com/wso2-dev/product-greg/blob/master/modules/integration/tests-integration/tests-governance-api/src/test/java/org/wso2/carbon/registry/governance/api/ui/test/ConfigureServiceUITestCase.java

Thanks,


On Wed, Jul 16, 2014 at 11:10 AM, Ajith Vitharana aji...@wso2.com wrote:




 On Wed, Jul 16, 2014 at 10:54 AM, Denuwanthi De Silva denuwan...@wso2.com
  wrote:

 Hi,

 The LoginListener (RXTLoader.java) does not seems to catch the login
 events invoked inside 'AuthenticationAdmin' backend service login
 method. (but works fine with the UI loggings)

 What could be the cause?


 What is your requirement ?  If you are going to do some governance
 artifact access from a client/API,  first should invoke GovernanceUtils.
 loadGovernanceArtifacts().

 Thanks
 Ajith.




 Thanks,
  --
 Denuwanthi De Silva
 Software Engineer;
 WSO2 Inc.; http://wso2.com,
 Email: denuwan...@wso2.com



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




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




-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] G-Reg 5.0.0 new feature : Adding lifecycle state aware dashboards for services

2014-08-01 Thread Denuwanthi De Silva
Hi Senaka et. al,

I'm working on $subject. The corresponding Redmine link is at [1]

*Current Implementation*
As for now, G-reg only support, moving from several lifecycle states
(Development, Testing. Production) for services. It supports validation of
each state via checklists.

*New Feature*
Now, we plan to support a lifecycle state aware dashboards/view for
services.
That is, for each lifecycle state of a service, we plan to provide a
customized view corresponding to that state.
Ex: Details

   - Development state - The dashboard can show contributers, source
   repository URLs, no of commits, highest committer, stats related to its
   source control system etc


   - Testing state - The dashboard can show jenkins builder test results,
   etc.


   - Production state - (have to decide on what stats to show) showing run
   time request/response stats for the service is one option.


*Challenges*
But, if we are going to provide this in service level, for each service we
will have to provide these details.

   -  So, where should we keep all those details (described above) ?


   - Is it ideal to provide this state aware dashboards/views per service
   or should we go to an approach like  using the concept of  'project'
   (discussed in Unified Governance Model) which will contain several services
handle the lifecycle state aware details (described above), on 'project'
   level?


Is there anything need to be added or removed from above?


[1] https://redmine.wso2.com/issues/3073


Thanks,
-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Can not deploy a rule service on rule server using the source type 'registry'

2012-10-23 Thread Denuwanthi De Silva
Hi,
When try to deploy  a rule service created using registry source type the
following error is produced.

[2012-10-24 10:27:52,414] ERROR - RuleServiceDeployer Can not create the
rule engine
org.wso2.carbon.rule.common.exception.RuleConfigurationException: In valide
registry with registry key /_system/custom/orderApprovalRules.drl
at
org.wso2.carbon.rule.kernel.engine.RuleEngine.getUpdateTopicName(RuleEngine.java:87)
at
org.wso2.carbon.rule.kernel.engine.RuleEngine.init(RuleEngine.java:66)
at
org.wso2.carbon.rule.ws.deploy.RuleServiceDeployer.createService(RuleServiceDeployer.java:217)
at
org.wso2.carbon.rule.ws.deploy.RuleServiceDeployer.deploy(RuleServiceDeployer.java:114)
at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810)
at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
at
org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
at
org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
at
org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
at
org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:59)
at
org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:70)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
[2012-10-24 10:27:52,427]  INFO - DeploymentEngine
org.apache.axis2.deployment.DeploymentException: Can not create the rule
engine

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


Re: [Dev] WSO2 Committers += Asitha Nanayakkara

2014-11-23 Thread Denuwanthi De Silva
/mailman/listinfo/dev



 ___
 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




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

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




 --
 Buddhima Wijeweera
 Software Engineer; WSO2 Inc.; http://wso2.com ,

 Mobile: +94 71 427 9966
 Email: buddh...@wso2.com
 Blog:   https://buddhimawijeweera.wordpress.com
 GitHub Profile: https://github.com/Buddhima

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




-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ES Extension] Helpers js to return custom css

2014-12-09 Thread Denuwanthi De Silva
Hi,

You can create a 'helper' folder inside your extension, and create a
'navigation.js' helper there.
Inside that helper, you can specify the parent navigation.js as mentioned
below. Then, use, 'o.css.push('navigation.css'), to put your customized css.


var name;
var hps = require('/themes/store/helpers/navigation.js');

var fn = that.resources;
var resources = function(page, meta) {
var o = fn(page, meta);
if (!o.css) {
o.css = [];
}
o.css.push('navigation.css');

return o;
};

You can refer [1] for complete code  example

[1]
https://github.com/splinter/es-apim-feature/blob/master/extensions/publisher/assets/api/themes/default/helpers/list-assets.js

Thanks,

On Wed, Dec 10, 2014 at 11:58 AM, Senduran Balasubramaniyam 
sendu...@wso2.com wrote:

 Hi all,

 I am currently using the Enterprise store’s extension model to customize a
 particular rxt type in the store. Here I have a scenario to override a
 default css (/themes/store/css/navigation.css) within my extensions. I
 found that the navigation.css is return as a resource from the
 navigation.js (/themes/store/helpers/navigation.js) so I override the
 both navigation.css and navigation.js as I wanted. In the navigation.js I
 returned something like

 var resources = function(page, meta) {
 return {
 js : ['asset-helpers.js', 'navigation.js', 'jquery.validate.js', 
 'search.js'],
 css : ['/extensions/assets/my-rxt/themes/store/css/navigation.css']
 };
 };

 but when I check the page via the chrome’s Developer tool, the browser is
 looking for
 host:port/store/themes/css//extensions/assets/my-rxt/themes/store/css/navigation.css
 from the above path what I could understand is the css :['abc.css'] in
 the helpers js is always being resolved to the default css location.(i.e
 /themes/store/css/abc.css)
 Is there a way that I could return a custom css via the helpers function
 As a workaround I have added my modified css as a link stylesheet to the
 partial which uses the styles.

 Thanks
 Senduran
 ​
 --
 *Senduran *
 Software Engineer,
 WSO2, Inc.;  http://wso2.com/ http://wso2.com/
 Mobile: +94 77 952 6548

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




-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ES] input type 'file' not retrieved

2014-12-16 Thread Denuwanthi De Silva
Hi,

In the custom asset extension I'm working on, I have a requirement to
support file upload.

Thus, in my overridden partial (create_form.hbs) I use
input type='*file*' name='*wsdl_zip*' id='*wsdl_zip*' /
to get the html view of the file uploader.

Then, in my extension's asset.js inside 'create' method, I try to access
the value taken by that html element by using,

*options.wsdl_zip*

But, when I actually browse file and log the above value, it prints 'null'
and the 'options' json object does not even contain 'wsdl_zip' attribute.

If I use a text field instead of using type 'file',

input type='text' name=wsdl_zip' id='wsdl_zip' /


options.wsdl_zip returns the value I entered in the text field.

So, what could be the reason for not retrieving 'file' type inputs ?
Any other configurations need to be done?

Thanks,
-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Gimantha Bandara

2014-12-22 Thread Denuwanthi De Silva
Congrats Gimantha!!

On Tue, Dec 23, 2014 at 9:16 AM, Pirinthapan Mahendran pirintha...@wso2.com
 wrote:

 Congrats Gimantha..!!



 Mahendran Pirinthapan
 Software Engineer | WSO2 Inc.
 Mobile +94772378732.

 On Tue, Dec 23, 2014 at 8:21 AM, Harsha Kumara hars...@wso2.com wrote:

 Congratulations Gimantha!

 On Tue, Dec 23, 2014 at 7:31 AM, Kasun De Silva kas...@wso2.com wrote:

 Congratz Gimantha !!!

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

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


 On Tue, Dec 23, 2014 at 7:24 AM, Niranda Perera nira...@wso2.com
 wrote:

 Congrats Gimantha! :-)

 On Tue, Dec 23, 2014 at 2:56 AM, Anjana Fernando anj...@wso2.com
 wrote:

 Hi,

 It is with great pleasure that I welcome Gimantha as a WSO2 committer,
 Congratulations and keep up with the good work! ..

 Cheers,
 Anjana.
 --
 *Anjana Fernando*
 Senior Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware

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




 --
 *Niranda Perera*
 Software Engineer, WSO2 Inc.
 Mobile: +94-71-554-8430
 Twitter: @n1r44 https://twitter.com/N1R44

 ___
 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




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

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



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




-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Amalka Subasinghe

2015-01-26 Thread Denuwanthi De Silva
Congratulations Amalka!!

On Tue, Jan 27, 2015 at 12:15 PM, Dinithi De Silva dinit...@wso2.com
wrote:

 Congratulations Amalka

 On Tue, Jan 27, 2015 at 11:57 AM, Manula Chathurika Thantriwatte 
 manu...@wso2.com wrote:

 Congratulations !!!

 On Tue, Jan 27, 2015 at 11:54 AM, Sithumini Senevirathne 
 sithumi...@wso2.com wrote:

 Congratulations Amalka!!

 On Tue, Jan 27, 2015 at 11:53 AM, Sajith Kariyawasam saj...@wso2.com
 wrote:

 Congratulations Amalka!


 On Tue, Jan 27, 2015 at 11:49 AM, Harsha Kumara hars...@wso2.com
 wrote:

 Congratulations Amalka!

 On Tue, Jan 27, 2015 at 11:22 AM, Roshan Deniyage rosh...@wso2.com
 wrote:

 Congrats Amalka

 Roshan Deniyage
 Associate Technical Lead
 WSO2, Inc: http://wso2.com

 Mobile:  +94 777636406
 Twitter:  *https://twitter.com/roshku
 https://twitter.com/roshku*
 LinkedIn :  https://www.linkedin.com/in/roshandeniyage


 On Tue, Jan 27, 2015 at 11:04 AM, Lasindu Charith lasi...@wso2.com
 wrote:

 Congratulations Amalka ...!!!

 On Mon, Jan 26, 2015 at 9:11 PM, Supun Sethunga sup...@wso2.com
 wrote:

 Congratz! :)

 On Tue, Jan 27, 2015 at 10:39 AM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Amalka!!!

 On Tue, Jan 27, 2015 at 10:24 AM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

 Hi all,

 It is with great pleasure that WSO2 welcomes Amalka Subasinghe as
 a committer!

 Congratulations!

 thanks,
 Dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

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

 Lean . Enterprise . Middleware

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




 --
 *Gayashan Amarasinghe*
 Software Engineer | Platform TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94718314517
 Blog : gayashan-a.blogspot.com

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




 --
 *Supun Sethunga*
 Software Engineer
 WSO2, Inc.
 lean | enterprise | middleware
 Mobile : +94 716546324

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




 --
 *Lasindu Charith*
 Software Engineer, WSO2 Inc.
 Mobile: +94714427192
 Web: blog.lasindu.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




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

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




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




 --
 --
 Sithumini Senevirathne
 Software Engineer
 WSO2 Inc. - lean . enterprise . middleware |  wso2.com

 email: sithumi...@wso2.com,   mobile: +94 756977999

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




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

 email : manu...@wso2.com / man...@apache.org
 phone : +94 772492511
 blog : http://manulachathurika.blogspot.com/




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




 --
 *Dinithi De Silva*
 Associate Software Engineer, WSO2 Inc.
 m:+94716667655 | e:dinit...@wso2.com | w: www.wso2.com
 | a: #20, Palm Grove, Colombo 03

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




-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Danesh Kuruppu

2015-01-26 Thread Denuwanthi De Silva
Congratulations Danesh!!

On Tue, Jan 27, 2015 at 12:17 PM, Sewwandi Perera sewwa...@wso2.com wrote:

 Congratulations Danesh...!!!

 On Tue, Jan 27, 2015 at 12:15 PM, Isuruwan Herath isuru...@wso2.com
 wrote:

 Congratulations Danesh!!!

 On Tue, Jan 27, 2015 at 10:01 AM, Kasun De Silva kas...@wso2.com wrote:

 Congratz Danesh!!

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

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


 On Tue, Jan 27, 2015 at 9:55 AM, Roshan Deniyage rosh...@wso2.com
 wrote:

 congrats Danesh!!!

 Roshan Deniyage
 Associate Technical Lead
 WSO2, Inc: http://wso2.com

 Mobile:  +94 777636406
 Twitter:  *https://twitter.com/roshku https://twitter.com/roshku*
 LinkedIn :  https://www.linkedin.com/in/roshandeniyage


 On Tue, Jan 27, 2015 at 9:36 AM, Manoj Kumara ma...@wso2.com wrote:

 Congratulations Danesh !!


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

 On Tue, Jan 27, 2015 at 9:31 AM, Srisunmugaraja Paraparan 
 parapa...@wso2.com wrote:

 Congratulations Danesh .

 On Tue, Jan 27, 2015 at 9:26 AM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Danesh !

 On Tue, Jan 27, 2015 at 9:25 AM, Prasanna Dangalla 
 prasa...@wso2.com wrote:

 Congratulations Danesh

 On Tue, Jan 27, 2015 at 9:10 AM, Sithumini Senevirathne 
 sithumi...@wso2.com wrote:

 Congratulations Danesh !!



 On Tue, Jan 27, 2015 at 8:47 AM, Sagara Gunathunga 
 sag...@wso2.com wrote:


 Its my pleasure to welcome Danesh Kuruppu as a WSO2 committer.
 Danesh, welcome aboard and keep up the good work.


 Thanks !
 --
 Sagara Gunathunga

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


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




 --
 --
 Sithumini Senevirathne
 Software Engineer
 WSO2 Inc. - lean . enterprise . middleware |  wso2.com

 email: sithumi...@wso2.com,   mobile: +94 756977999

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




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

 cell: +94 777 55 80 30 | +94 718 11 27 51
 twitter: @prasa77

 ___
 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




 --
 Thanks  Regards
 --
 Srisunmugaraja Paraparan
 Software Engineer,
 WSO2 Inc. - lean . enterprise . middleware |  wso2.com

 email : parapa...@wso2.com, mobile : +94 77 0362151

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



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



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




 --
 Isuruwan Herath
 Technical Lead

 Contact: +94 776 273 296

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




 --
 Sewwandi Perera
 Software Engineer

 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware
 mobile: +94-713765098

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




-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Commiters += Manoj Gunawardena

2015-01-28 Thread Denuwanthi De Silva




 --
 Inosh Perera
 Software Engineer, WSO2 Inc.
 Tel: 0785293686

 ___
 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




 --
 Isuruwan Herath
 Technical Lead

 Contact: +94 776 273 296

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




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

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




-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] carbon-apimgt build fails with a compilation error

2015-01-23 Thread Denuwanthi De Silva
Hi,

wso2-dev/carbon-apimgt fails with the following compilation error.

---
[ERROR] COMPILATION ERROR :
[INFO] -
[ERROR]
/home/denuwanthi/G-reg/git-repos/tempapim/carbon-apimgt/components/apimgt/org.wso2.carbon.apimgt.keymgt/src/main/java/org/wso2/carbon/apimgt/keymgt/handlers/ExtendedAuthorizationCodeGrantHandler.java:[34,27]
unreported exception
org.wso2.carbon.identity.oauth2.InvalidRefreshTokenException; must be
caught or declared to be thrown
[INFO] 1 error




Thanks,
-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Awanthika Senarath

2015-01-05 Thread Denuwanthi De Silva
Congratulations Awanthika !! :)

On Mon, Jan 5, 2015 at 1:16 PM, Sithumini Senevirathne sithumi...@wso2.com
wrote:

 Congratulations Awanthika

 On Mon, Jan 5, 2015 at 1:10 PM, Supun Sethunga sup...@wso2.com wrote:

 Congratz Awanthika!!

 On Mon, Jan 5, 2015 at 1:08 PM, Harsha Kumara hars...@wso2.com wrote:

 Congratulations Awanthika!

 On Mon, Jan 5, 2015 at 1:07 PM, Vijitha Ekanayake vijit...@wso2.com
 wrote:

 Congratulations Awanthika ... !!!

 On Mon, Jan 5, 2015 at 1:04 PM, Buddhima Wijeweera buddh...@wso2.com
 wrote:

 Congratulations Awanthika!!!

 On Mon, Jan 5, 2015 at 12:59 PM, Thilini Anoratna thili...@wso2.com
 wrote:

 Congratz !! :)

 On Mon, Jan 5, 2015 at 12:55 PM, Rajeevan Vimalanathan 
 rajeev...@wso2.com wrote:

 Congratz Awanthika...!!!

 On Mon, Jan 5, 2015 at 12:48 PM, Jasintha Dasanayake 
 jasin...@wso2.com wrote:

 Hi All,

 It's my distinct pleasure to welcome Awanthika Senarath as a WSO2
 Committer.

 Awanthika  has  been a valuable contributor for WSO2 Developer
 Studio since she joined WSO2. In recognition of her contributions to 
 WSO2,
 She has been voted as a WSO2 Committer.

 Awanthika, Congratulations and Keep up the good work!

 Thanks and Regards,
 /Jasintha

 --

 *Jasintha Dasanayake*

 *Senior Software EngineerWSO2 Inc. | http://wso2.com
 http://wso2.com/lean . enterprise . middleware*


 *mobile :- 0711368118 0711368118*

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




 --
 Best Regards,
 V.Rajeevan
 Software Engineer,
 WSO2 Inc. :http://wso2.com

 Mobile : +94 773090875
 Email : rajeev...@wso2.com

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




 --
 Thilini Anoratna
 Software Engineering Intern
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile : +94 (0) 778955654
 Email: thili...@wso2.com

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




 --
 Buddhima Wijeweera
 Software Engineer; WSO2 Inc.; http://wso2.com ,

 Mobile: +94 71 427 9966
 Email: buddh...@wso2.com
 Blog:   https://buddhimawijeweera.wordpress.com
 GitHub Profile: https://github.com/Buddhima

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




 --
 Vijitha Ekanayake
 Software Engineer*, *WSO2, Inc.; http://wso2.com/
 Mobile : +94 777 24 73 39 | +94 718 74 44 08
 lean.enterprise.middleware

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




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

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




 --
 *Supun Sethunga*
 Software Engineer
 WSO2, Inc.
 lean | enterprise | middleware
 Mobile : +94 716546324

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




 --
 --
 Sithumini Senevirathne
 Software Engineer
 WSO2 Inc. - lean . enterprise . middleware |  wso2.com

 email: sithumi...@wso2.com,   mobile: +94 756977999

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




-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Commiters += Sameera Jayaratna

2015-01-05 Thread Denuwanthi De Silva
Congratulations Sameera!! :)

On Mon, Jan 5, 2015 at 1:32 PM, Harsha Kumara hars...@wso2.com wrote:

 Congratulations Sameera!

 On Mon, Jan 5, 2015 at 1:21 PM, Malintha Adikari malin...@wso2.com
 wrote:

 Congratulations..

 On Mon, Jan 5, 2015 at 7:48 AM, Sajini De Silva saj...@wso2.com wrote:

 Congratulations Sameera !!!

 On Mon, Jan 5, 2015 at 1:17 PM, Manoj Gunawardena man...@wso2.com
 wrote:

 Congratulations Sameera !

 On Mon, Jan 5, 2015 at 1:14 PM, Ruchira Wageesha ruch...@wso2.com
 wrote:

 Hi All,

 It's my pleasure to welcome Sameera Jayaratna as a WSO2 Committer.
 Sameera is a member of WSO2 UES/ES team and has done a great contribution
 to WSO2 ES product showing a great enthusiasm in her work. In recognition
 of her contribution, she has been voted as a WSO2 Committer.

 Sameera, welcome aboard and keep up the good work..

 /Ruchira

 --

 *Ruchira Wageesha**Associate Technical Lead*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com
 http://wso2.com*

 *email: ruch...@wso2.com ruch...@wso2.com,   blog:
 ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com,
 mobile: +94 77 5493444 %2B94%2077%205493444*

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




 --
 Manoj Gunawardena
 Tech Lead
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 Mobile : +94 77 2291643

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




 --
 Sajini De SIlva
 Software Engineer; WSO2 Inc.; http://wso2.com ,
 Email: saj...@wso2.com
 Blog: http://sajinid.blogspot.com/
 Git hub profile: https://github.com/sajinidesilva

 Phone: +94 712797729


 ___
 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




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

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




-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Commiters += Ayesha Dissanayaka

2015-01-05 Thread Denuwanthi De Silva
Congratulations Ayesha!! :)

On Mon, Jan 5, 2015 at 1:34 PM, Dakshika Jayathilaka daksh...@wso2.com
wrote:

 Congratulations Ayesha!

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

 On Mon, Jan 5, 2015 at 1:32 PM, Harsha Kumara hars...@wso2.com wrote:

 Congratulations Ayesha!

 On Mon, Jan 5, 2015 at 1:29 PM, Prasanna Dangalla prasa...@wso2.com
 wrote:

 Congratulations

 On Mon, Jan 5, 2015 at 1:28 PM, Shiroshica Kulatilake sh...@wso2.com
 wrote:

 Congrats Ayesha !!

 On Mon, Jan 5, 2015 at 1:25 PM, Damith Wickramasinghe dami...@wso2.com
  wrote:

 Congratzzz

 On Mon, Jan 5, 2015 at 1:21 PM, Supun Sethunga sup...@wso2.com
 wrote:

 Congratz Ayesha !

 On Mon, Jan 5, 2015 at 1:18 PM, Sajini De Silva saj...@wso2.com
 wrote:

 Congratulations Ayesha!!!

 On Mon, Jan 5, 2015 at 1:16 PM, Malintha Adikari malin...@wso2.com
 wrote:

 Congratulations Ayesha!!!


 On Mon, Jan 5, 2015 at 7:43 AM, Ruchira Wageesha ruch...@wso2.com
 wrote:

 Hi All,

 It's my pleasure to welcome Ayesha Dissanayaka as a WSO2
 Committer. Ayesha is a member of WSO2 UES/ES team and has done a great
 contribution to WSO2 ES product showing a great enthusiasm in her 
 work. In
 recognition of her contribution, she has been voted as a WSO2 
 Committer.

 Ayesha, welcome aboard and keep up the good work..

 /Ruchira

 --

 *Ruchira Wageesha**Associate Technical Lead*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com
 http://wso2.com*

 *email: ruch...@wso2.com ruch...@wso2.com,   blog:
 ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com,
 mobile: +94 77 5493444 %2B94%2077%205493444*

 ___
 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




 --
 Sajini De SIlva
 Software Engineer; WSO2 Inc.; http://wso2.com ,
 Email: saj...@wso2.com
 Blog: http://sajinid.blogspot.com/
 Git hub profile: https://github.com/sajinidesilva

 Phone: +94 712797729


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




 --
 *Supun Sethunga*
 Software Engineer
 WSO2, Inc.
 lean | enterprise | middleware
 Mobile : +94 716546324

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




 --
 Software Engineer
 WSO2 Inc.; http://wso2.com
 http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg
 lean.enterprise.middleware

 mobile: *+94728671315 %2B94728671315*


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




 --
 Shiroshica Kulatilake

 Architect,
 WSO2, Inc. http://wso2.com/
 Phone: +94 776523867

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




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

 cell: +94 777 55 80 30 | +94 718 11 27 51
 twitter: @prasa77

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




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

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



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




-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Prasanna Dangalla

2015-04-09 Thread Denuwanthi De Silva
-bin/mailman/listinfo/dev




 --
 Thanks and Regards
 *,Shani Ranasinghe*
 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 77 2273555
 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab

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




 --
 *Sam Sivayogam*

 Software Engineer
 Mobile  : +94 772 906 439
 Office   : +94 112 145 345
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.

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




 --
 Regards,

 Waruna Lakshitha Jayaweera
 Software Engineer
 WSO2 Inc; http://wso2.com
 phone: +94713255198

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



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




 --
 Chamin Dias
 *Software Engineer*
 Mobile : +94 (0) 716 097455 %2B94%20%280%29%20773%20451194
 cham...@wso2.com

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



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



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




-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [G-Reg][ES] Integrating ES2 to G-reg/Publisher Issues

2015-04-02 Thread Denuwanthi De Silva
Hi,

While migrating G-Reg 5.0.0-SNAPSHOT UI to ES 2.0.1-SNAPSHOT, I faced the
following issues:

1. When we add a new custom RXT to G-Reg, the integrated Publisher should
also show it (without creating any ES asset extension).
While testing this scenario for M4 (to be released) pack, the new
RXT(application.rxt) is shown in the list down menu. Yet when I click the
'Add' button to add a new entry, following error occured

HTTP Status 500 - org.mozilla.javascript.WrappedException: Wrapped
org.jaggeryjs.scriptengine.exceptions.ScriptException:
org.mozilla.javascript.EcmaError: TypeError: Cannot set property value of
undefined to org.mozilla.javascript.NativeJavaObject@4d817183 (eval
code#1(eval)#266) (/publisher/controllers/assets-router.jag#75)
What could be the issue for this? We should be able to support this without
creating any custom asset extension.
In the G-Reg 5.0.0 M3 pack, we did not occur any such error, and we could
deploy a new RXT and add entries without problem.


2. RXT hot deployment is not happening in Publisher.
When we add a new RXT, from G-Reg admin console, and go to Publisher , it
is not added in Publisher front.
We need to restart the server inorder to view it. This might be a problem
in production environments if we have to restart the server.



Thanks,

-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [G-Reg][ES] Integrating ES2 to G-reg/Publisher Issues

2015-04-02 Thread Denuwanthi De Silva
Hi,

On Thu, Apr 2, 2015 at 9:40 PM, Sagara Gunathunga sag...@wso2.com wrote:



 On Thu, Apr 2, 2015 at 7:53 PM, Sameera Medagammaddegedara 
 samee...@wso2.com wrote:

 Hi,

 1. When we add a new custom RXT to G-Reg, the integrated Publisher should
 also show it (without creating any ES asset extension).
 While testing this scenario for M4 (to be released) pack, the new
 RXT(application.rxt) is shown in the list down menu. Yet when I click the
 'Add' button to add a new entry, following error occured

 This is occurring due to the Publisher attempting to auto populate
 provider names.Since the endpoint.rxt does not have a provider this is
 causing the above issue when rendering the Create, Update and Details pages.

 This issue will be fixed prior to the next GREG milestone [1]


 They are users waiting to evaluate GC from M3 release onwards and this is
 a very core use case for G-Reg, hence this issue is a blocker and we can't
 release G-Reg M4 with this issue, specially we can't break such important
 feature worked properly in previous releases.


 BTW this indicate we don't have enough test cases in both ES/G-Reg,
 @Denuwanthi, in the meantime can we add a test case to G-Reg to verify this
 issue ?

Sure. Will work on it.




 2. RXT hot deployment is not happening in Publisher.
 When we add a new RXT, from G-Reg admin console, and go to Publisher ,
 it is not added in Publisher front.
 We need to restart the server in order to view it. This might be a
 problem in production environments if we have to restart the server.

  Noted. This is a feature which we are planning to support in the future.


 +1 we can wait for this feature.

 Thanks !


 *Reference*
 [1] https://wso2.org/jira/browse/STORE-663

 Thank You,
 Sameera

 On Thu, Apr 2, 2015 at 7:29 PM, Denuwanthi De Silva denuwan...@wso2.com
 wrote:

 Hi,

 While migrating G-Reg 5.0.0-SNAPSHOT UI to ES 2.0.1-SNAPSHOT, I faced
 the following issues:

 1. When we add a new custom RXT to G-Reg, the integrated Publisher
 should also show it (without creating any ES asset extension).
 While testing this scenario for M4 (to be released) pack, the new
 RXT(application.rxt) is shown in the list down menu. Yet when I click the
 'Add' button to add a new entry, following error occured

 HTTP Status 500 - org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.mozilla.javascript.EcmaError: TypeError: Cannot set property value of
 undefined to org.mozilla.javascript.NativeJavaObject@4d817183 (eval
 code#1(eval)#266) (/publisher/controllers/assets-router.jag#75)
 What could be the issue for this? We should be able to support this
 without creating any custom asset extension.
 In the G-Reg 5.0.0 M3 pack, we did not occur any such error, and we
 could deploy a new RXT and add entries without problem.


 2. RXT hot deployment is not happening in Publisher.
 When we add a new RXT, from G-Reg admin console, and go to Publisher ,
 it is not added in Publisher front.
 We need to restart the server inorder to view it. This might be a
 problem in production environments if we have to restart the server.



 Thanks,

 --
 Denuwanthi De Silva
 Software Engineer;
 WSO2 Inc.; http://wso2.com,
 Email: denuwan...@wso2.com
 Blog: https://denuwanthi.wordpress.com/




 --
 Sameera Medagammaddegedara
 Software Engineer

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




 --
 Sagara Gunathunga

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



Thanks,
-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to pass java InputStream object to jaggery.

2015-10-21 Thread Denuwanthi De Silva
Hi Lakshman,

Did you try the following?

var inputStream = Packages.java.io.InputStream;

inputStream = file.getStream().getStream();

(You need to call getStream() method twice)


Thanks,






On Wed, Oct 21, 2015 at 3:39 PM, Lakshman Udayakantha <lakshm...@wso2.com>
wrote:

> Hi ES team,
>
> There is a method to get document from registry in API Manager Impl layer.
> We can get any file saved in registry with that method. But when I pass the
> returned file object to jaggery method, jaggery layer gets an empty object.
>
> public static Map<String, Object> getDocument(String userName, String
> resourceUrl,
>   String tenantDomain)
>  {
> Map<String, Object> documentMap = new HashMap<String, Object>();
>
> InputStream inStream = null;
>
> Resource apiDocResource;
>
> inStream = apiDocResource.getContentStream();
> documentMap.put("Data", inStream);
> documentMap.put("contentType", apiDocResource.getMediaType());
> String[] content = apiDocResource.getPath().split("/");
> documentMap.put("name", content[content.length - 1]);
>
> return documentMap;
> }
> above is the getDocument method. It gets the document from registry and
> put into a hash map. Below is the jaggery method to get the file where I
> can get the hash map values successfully but the file content.
>
>  StoreAPIProxy.prototype.getDocument = function (username, resourcepath,
> tenantDomain) {
> var document = {};
>
> var content = APIUtil.getDocument(username, resourcepath,
> tenantDomain);
> document.data = content.get("Data");
> document.contentType = content.get("contentType");
> document.name = content.get("name");
>
> return {
> error:false,
> document:document
> };
> }
> };
>
> How do I get the InputStream object returns by java method to jaggery
> method?
>
> Thanks
> --
> Lakshman Udayakantha
> WSO2 Inc. www.wso2.com
> lean.enterprise.middleware
> Mobile: *0711241005*
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 Governance Registry 5.1.0 RC 1

2015-10-31 Thread Denuwanthi De Silva
Hi,


I have tested the pack with following scenarios:

1 - Notification/Subscription support in Publisher and Store.
2 - Notification/Subscription support in management console
3 - E-mail notification/subscription support in publisher and management
console
4 - Notification/Subscription support for a tenant user.
5 - Notification/Subscription support on a mounted setup.
6 - Notification/Subscription support on collections.
7 - Tested one time email verification for Publisher and management console.

[+] Stable - go ahead and release.

Thanks,

On Sat, Oct 31, 2015 at 3:51 PM, Rajith Roshan <raji...@wso2.com> wrote:

> Hi All,
>
> I tested following scenarios.
>
>
>- Add new RXT types and RXT hot deployment.
>- Check rxt elements.
>- Check permissions for asset types in publisher for users,  and
>tenants.
>- Check categorization and tags.
>- Check regex validation.
>- Sample data populator.
>
> [+] Stable - go ahead and release
>
> Thanks!
> Rajith
>
> On Fri, Oct 30, 2015 at 11:40 PM, Danesh Kuruppu <dan...@wso2.com> wrote:
>
>> Hi Devs,
>>
>> WSO2 Governance Registry 5.1.0 RC1 Release Vote.
>>
>> This release fixes the following issues:
>> https://wso2.org/jira/issues/?filter=12499
>> <https://wso2.org/jira/issues/?filter=12422>
>> Please download, test and vote. Please refer the release verification
>> guide for detailed information on verifying this release.
>>
>> Source & binary distribution files:
>> https://svn.wso2.org/repos/wso2/scratch/G-Reg/5.1.0/RC1/
>>
>> Maven staging repo:
>> http://maven.wso2.org/nexus/content/repositories/orgwso2greg-096/
>> <http://www.google.com/url?q=http%3A%2F%2Fmaven.wso2.org%2Fnexus%2Fcontent%2Frepositories%2Forgwso2greg-096%2F=D=1=AFQjCNHn187zs7NcAgrhAiIk2xQJX2WUKQ>
>>
>> The tag to be voted upon:
>> https://github.com/wso2/product-greg/tree/v5.1.0-RC1
>>
>>
>> [+] Stable - go ahead and release
>> [-]  Broken - do not release (explain why)
>>
>> Thanks and Regards
>> G-Reg team
>>
>> --
>>
>> Danesh Kuruppu
>> Software Engineer
>> WSO2 Inc,
>> Mobile: +94 (77) 1690552
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Rajith Roshan
> Software Engineer, WSO2 Inc.
> Mobile: +94-72-642-8350 <%2B94-71-554-8430>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to make mySQL DB case sensitive

2015-10-15 Thread Denuwanthi De Silva
Hi Hasitha,

For MySql DB the case sensitivity of the underlying OS also impacts[1].
For example in Linux mysql db are case sensitive, in OSX and windows not
case sensitive.

You might be able to configure 'lower_case_table_names' property as
mentioned in [1] and apply case sensitivity/insensitivity from OS level to
your mysqlDB.
Giving lower_case_table_names=2 might work in your scenario.

(Ex: I have used lower_case_table_names=1 to make mysql case insensitive
for Linux)

link[2] describes ow to configure that property.




[1]https://dev.mysql.com/doc/refman/5.0/en/identifier-case-sensitivity.html
[2]
http://stackoverflow.com/questions/11165944/how-to-change-mysql-table-names-in-linux-server-to-be-case-insensitive

Thanks,

On Thu, Oct 15, 2015 at 5:59 PM, Mahesh Chinthaka <mahe...@wso2.com> wrote:

> Hi Hasitha,
> Did you try with collation 'utf8_bin' ?
>
> CREATE DATABASE test_database CHARACTER SET utf8 COLLATE utf8_bin;
>
>
> On Thu, Oct 15, 2015 at 5:53 PM, Hasitha Hiranya <hasit...@wso2.com>
> wrote:
>
>> Hi Mahesh,
>>
>> Already tried it.
>> Gives me following error
>>
>>
>> [image: Inline image 1]
>>
>> I am using mysql  Ver 14.14 Distrib 5.6.23, for osx10.8 (x86_64)
>>
>> Thanks
>>
>> On Thu, Oct 15, 2015 at 5:48 PM, Mahesh Chinthaka <mahe...@wso2.com>
>> wrote:
>>
>>> Hi Hasitha,
>>>
>>> AFAIK you can set collation at both the database creation and table
>>> creation level.
>>> And you can set individual tables treated as case sensitive if you want.
>>>
>>> Please refer[1]
>>>
>>> [1] -
>>> http://stackoverflow.com/questions/4879846/how-to-configure-mysql-to-be-case-sensitive
>>>
>>> On Thu, Oct 15, 2015 at 5:43 PM, Hasitha Hiranya <hasit...@wso2.com>
>>> wrote:
>>>
>>>> Hi Devs,
>>>>
>>>> How can we do the subject? Are we doing this in registry/user store
>>>> DBs?
>>>>
>>>> Thanks
>>>>
>>>> --
>>>> *Hasitha Abeykoon*
>>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>>>> *cell:* *+94 719363063*
>>>> *blog: **abeykoon.blogspot.com* <http://abeykoon.blogspot.com>
>>>>
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Mahesh Chinthaka Vidanagama* | Software Engineer
>>> WSO2, Inc | lean. enterprise. middleware.
>>> #20, Palm Grove, Colombo 03, Sri Lanka
>>> Mobile: +94 71 63 63 083 | Work: +94 112 145 345
>>> Email: mahe...@wso2.com | Web: www.wso2.com
>>>
>>
>>
>>
>> --
>> *Hasitha Abeykoon*
>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>> *cell:* *+94 719363063*
>> *blog: **abeykoon.blogspot.com* <http://abeykoon.blogspot.com>
>>
>>
>
>
> --
> *Mahesh Chinthaka Vidanagama* | Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 63 63 083 | Work: +94 112 145 345
> Email: mahe...@wso2.com | Web: www.wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Is there any method which can checks the resource exists or not in registry

2015-10-07 Thread Denuwanthi De Silva
>>>>> webElement = getDriver().findElement(By.id(dashboardTitle));
>>>>> webElement.findElement(By.cssSelector("i.fw-delete")).click();
>>>>> getDriver().findElement(By.cssSelector("span.ladda-label")).click();
>>>>> assertFalse(getDriver().isElementPresent(By.id(dashboardTitle)), 
>>>>> "Error occurred while deleting dashboard" + dashboardTitle);
>>>>> ResourceData[] resourceData = 
>>>>> resourceAdminServiceClient.getResourceData(resourcePath);
>>>>> assertTrue(resourceData.length == 0,"Registry resource could not be 
>>>>> deleted due to some errors");
>>>>> }
>>>>>
>>>>> Now it's giving me exception when there is no such registry resource
>>>>> after dashboard was deleted by UI testcase.
>>>>>
>>>>> org.apache.axis2.AxisFault: Resource does not exist at path 
>>>>> /_system/config/ues/dashboards/sampledashboard1
>>>>>
>>>>> So can anyone give some suggestions on $subject? Thanks in advance.
>>>>> --
>>>>>
>>>>> *Thank You.*
>>>>>
>>>>> *Rajeenthini Satkunam*
>>>>>
>>>>> *Associate Software Engineer | WSO2*
>>>>>
>>>>>
>>>>> *E:rajeenth...@wso2.com <rajeenth...@wso2.com>*
>>>>>
>>>>> *M :+94770832823 <%2B94770832823>   *
>>>>>
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Kasun Bandara
>>>> *Software Engineer*
>>>> Mobile : +94 (0) 718 338 360
>>>> <%2B94%20%280%29%20773%20451194>
>>>> kas...@wso2.com <thili...@wso2.com>
>>>>
>>>
>>>
>>>
>>> --
>>> Kasun Bandara
>>> *Software Engineer*
>>> Mobile : +94 (0) 718 338 360
>>> <%2B94%20%280%29%20773%20451194>
>>> kas...@wso2.com <thili...@wso2.com>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Rajith Roshan
>> Software Engineer, WSO2 Inc.
>> Mobile: +94-72-642-8350 <%2B94-71-554-8430>
>>
>
>
>
> --
>
> *Thank You.*
>
> *Rajeenthini Satkunam*
>
> *Associate Software Engineer | WSO2*
>
>
> *E:rajeenth...@wso2.com <rajeenth...@wso2.com>*
>
> *M :+94770832823 <%2B94770832823>   *
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 GREG Promote services are not displayed in wso2 gerg-5.0.1

2015-10-13 Thread Denuwanthi De Silva
Hi Akila,

In wso2 greg-5.0.1 promoted 'service' artifacts are displayed in
*“_system/governance/branches/testing”
*path without issue.

You might be experiencing this with 'soapservice' artifact types.
In order to put 'soapservice' artifact in the
*“_system/governance/branches/testing”
*path you can  edit the ServiceLifeCycle.xml and give the relevant media
type.











or else you can write your own customized class for Promote event similar
to ServiceVersionExecutor class.

Thanks,

On Mon, Oct 12, 2015 at 11:46 AM, Akila Nimantha [IT/EKO/LOITS] <
aki...@lolctech.com> wrote:

> Hi All,
>
>
>
> Previously I used wso2 greg-4.6.0 version and now evaluating the latest
> greg version ( 5.0.1 ).
>
> In *wso2 greg-4.6.0*, promote services are displayed in
> *“_system/governance/branches/testing”* path successfully.
>
> But in *wso2 greg-5.0.1*, promote services are not displayed in above
> path. And there is no error mentioned in log files.
>
>
>
> Is this an issue in *greg-5.0.1* or is there any workarounds for follow
> to promote the service in greg-5.0.1.
>
>
>
>
>
>
>
> Best Regards,
>
>
>
> *Akila Rathnayake*
>
> Software Engineer
>
>
>
>
>
> This message (including any attachments) is intended only for the use of
> the individual or entity to which it is addressed and may contain
> information that is non-public, proprietary, privileged, confidential, and
> exempt from disclosure under applicable law or may constitute as attorney
> work product. If you are not the intended recipient, you are hereby
> notified that any use, dissemination, distribution, or copying of this
> communication is strictly prohibited. If you have received this
> communication in error, notify us immediately by telephone and (i) destroy
> this message if a facsimile or (ii) delete this message immediately if this
> is an electronic communication. Thank you.
>
> _______
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 Governance Registry 5.0.0 RC3

2015-09-07 Thread Denuwanthi De Silva
Hi all,

I tested store/publisher.


   - SOAP Service, Rest Service, WSDL, Policy, Schema CRUD operations .
   - Impact Analysis for those artifacts
   - Multiple LC support

Stable pack to release,

[+] stable


On Mon, Sep 7, 2015 at 4:45 PM, Sameera Kannangara <samee...@wso2.com>
wrote:

> Hi all,
>
> I tested the following,
>
>- Dependency graph creation.
>- Artifact filtering
>   - Depth restricting
>- Clustering
>- DIstributed notifications
>- Permission application for a user to access a specific RXT type.
>
> Stable pack to release,
>
> [+] stable
>
> Regards,
> SameeraK.
>
>
> On Mon, Sep 7, 2015 at 2:01 PM, Shazni Nazeer <sha...@wso2.com> wrote:
>
>> Hi all,
>>
>> I tested the following,
>>
>>- Attaching multiple life-cycle
>>- Deleting life-cycle
>>- Basic searching in publisher and management console
>>- Deleting artifacts in the publisher
>>- Editing artifacts in the publisher
>>- sso and basic login in publisher and store
>>- Added a new rxt and checked by writing a custom extension in
>>publisher
>>- Created a new role and user and checked login and relevant
>>permissions in the console and publisher
>>
>> Stable pack for release
>>
>> [+] stable
>>
>>
>> Shazni Nazeer
>> Mob : +94 37331
>> LinkedIn : http://lk.linkedin.com/in/shazninazeer
>> Blog : http://shazninazeer.blogspot.com
>>
>> On Mon, Sep 7, 2015 at 8:57 AM, Prasanna Dangalla <prasa...@wso2.com>
>> wrote:
>>
>>> Hi
>>>
>>> I tested,
>>>
>>>- Tags in publisher end
>>>- Notes in publisher end
>>>- Soap service creation in publisher end
>>>- WSDL upload from URL and through a file in publisher end
>>>- Diff view in publisher end
>>>- Dependency graph in publisher end
>>>- Asset listing in publisher, store end
>>>- Asset rating in store end
>>>- Lifecycle promote demote in publisher end
>>>- Lifecycle addition from management console
>>>- RXT addition from management console
>>>
>>>
>>> Stable pack for release
>>>
>>> [+] stable
>>>
>>>
>>>
>>> On Fri, Sep 4, 2015 at 4:58 PM, Chandana Napagoda <chand...@wso2.com>
>>> wrote:
>>>
>>>> Hi Devs,
>>>>
>>>> *This is the RC3 release candidate of WSO2 Governance Registry 5.0.0 *
>>>>
>>>> This release fixes the following issues:
>>>>
>>>> https://wso2.org/jira/browse/REGISTRY-2927?filter=12388
>>>>
>>>> Please download, test and vote. Please refer the release verification
>>>> guide for detailed information on verifying this release.
>>>>
>>>> *Source & binary distribution files:*
>>>>
>>>> http://maven.wso2.org/nexus/content/repositories/orgwso2greg-042/org/wso2/greg/wso2greg/5.0.0/
>>>>
>>>> *Maven staging repo:*
>>>> http://maven.wso2.org/nexus/content/repositories/orgwso2greg-042/
>>>>
>>>> *The tag to be voted upon:*
>>>> https://github.com/wso2/product-greg/releases/tag/v5.0.0-rc3
>>>>
>>>>
>>>> [+] Stable - go ahead and release
>>>> [-]  Broken - do not release (explain why)
>>>>
>>>> Thanks and Regards
>>>> G-Reg team
>>>>
>>>> --
>>>> *Chandana Napagoda*
>>>> Senior Software Engineer
>>>> WSO2 Inc. - http://wso2.org
>>>>
>>>> *Email  :  chand...@wso2.com <chand...@wso2.com>**Mobile :
>>>> +94718169299 <%2B94718169299>*
>>>>
>>>> *Blog  :http://cnapagoda.blogspot.com
>>>> <http://cnapagoda.blogspot.com>*
>>>>
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Prasanna Dangalla
>>> Software Engineer, WSO2, Inc.; http://wso2.com/
>>> lean.enterprise.middleware
>>>
>>> cell: +94 777 55 80 30 | +94 718 11 27 51
>>> twitter: @prasa77
>>>
>>> ___
>>> 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
>>
>>
>
>
> --
> *Sameera Kannangara*
> Software Engineer
> Platform TG; WSO2 Inc. http://wso2.com
> Contact:
> phone: +94719541577
> Lean . Enterprise . Middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] What is "startingDelayInSeconds" in registry indexing?

2016-06-05 Thread Denuwanthi De Silva
Hi Bhathiya,

startingDelayInSeconds is there to configure the time of delay to start
indexing when the server is starting.
So if you put '60', indexing service will start after 60s when server is
starting.
I think putting '0' will not be a good idea, since it will mean start
indexing at the very moment the server is going to start. Because some time
will be needed for the server to load the necessary services and resources
or mount properly before indexing should start.

Thanks


On Sat, Jun 4, 2016 at 8:18 PM, Bhathiya Jayasekara <bhath...@wso2.com>
wrote:

> Found this in [2].
>
> 60
> When the server is starting (at the time registry indexing service
> register in OSGI ) indexing task is scheduling with 60s delay.
>
> Can someone please explain the importance if this? If I set this value to
> 0, what can go wrong?
>
> [2]
> http://www.vitharana.org/2015/02/registry-resource-indexing-in-wso2.html
>
> Thanks,
> Bhathiya
>
> On Sat, Jun 4, 2016 at 8:06 PM, Bhathiya Jayasekara <bhath...@wso2.com>
> wrote:
>
>> Hi all,
>>
>> Can someone please explain "startingDelayInSeconds" here[1]?
>>
>> [1]
>> https://docs.wso2.com/display/Governance520/Configuration+for+Indexing
>>
>> Thanks,
>> --
>> *Bhathiya Jayasekara*
>> *Senior Software Engineer,*
>> *WSO2 inc., http://wso2.com <http://wso2.com>*
>>
>> *Phone: +94715478185 <%2B94715478185>*
>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>> <http://www.linkedin.com/in/bhathiyaj>*
>> *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>*
>> *Blog: http://movingaheadblog.blogspot.com
>> <http://movingaheadblog.blogspot.com/>*
>>
>
>
>
> --
> *Bhathiya Jayasekara*
> *Senior Software Engineer,*
> *WSO2 inc., http://wso2.com <http://wso2.com>*
>
> *Phone: +94715478185 <%2B94715478185>*
> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
> <http://www.linkedin.com/in/bhathiyaj>*
> *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>*
> *Blog: http://movingaheadblog.blogspot.com
> <http://movingaheadblog.blogspot.com/>*
>



-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Remove the heading-label of collapsible Metadata menu specific UI features on Carbon Mgt Console

2016-06-13 Thread Denuwanthi De Silva
Hi Samitha,

Can you mention the error log you get when the build fails (when removing
org.wso2.carbon.registry.extensions.ui.feature)?

Thanks

On Mon, Jun 13, 2016 at 11:25 AM, Samitha Chathuranga <sami...@wso2.com>
wrote:

> Hi,
>
> I wanted to remove Main - > Metadata section on the mgt console (In WSO2
> PC). So I removed,
>
> org.wso2.carbon.governance.metadata.ui.feature
> ( by removing, org.wso2.carbon.governance.metadata.feature and adding 
> org.wso2.carbon.governance.metadata.server.feature.)
>
> But this was half a success as it removed all the sub links / buttons under 
> "Metadata" section, but the specific collapsible menu (only with the heading 
> label) is still left. So I want to remove that empty collapsible Metadata
> menu heading too. How to do that?
>
> P.S. I tried removing org.wso2.carbon.registry.extensions.ui.feature but then 
> the build failed as another feature required that removed feature as a 
> dependency.
>
> Thanks.
>
>
>
> --
> Samitha Chathuranga
> Software Engineer, WSO2 Inc.
> lean.enterprise.middleware
> Mobile: +94715123761
>
> _______
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Remove the heading-label of collapsible Metadata menu specific UI features on Carbon Mgt Console

2016-06-13 Thread Denuwanthi De Silva
Hi Samitha,

Since you don't need meta data ui, there is no point of having a lifecycle
ui as well(as there are no metadata view to do lifecycle operations). Then
you can go on and remove the lifecycle UI feature and just use the
lifecycle server feature.

Anyway, the kind of requirement you need, can be achieved via permission
management.
That is, you restrict the permissions to WSO2 PC users/roles according to
the operations you want to be restricted to each role. So some roles will
not be able to modify metadata etc.


Thanks.

On Mon, Jun 13, 2016 at 11:50 AM, Samitha Chathuranga <sami...@wso2.com>
wrote:

> Hi Denuwanthi,
>
> This is the error log.
>
> Cannot complete the install because one or more required items could not
> be found.
>  Software being installed: WSO2 Carbon - Governance Lifecycle Management
> Feature 4.6.4.SNAPSHOT
> (org.wso2.carbon.governance.lifecycle.management.feature.group
> 4.6.4.SNAPSHOT)
>  Missing requirement: WSO2 Carbon - Governance Lifecycle Management UI
> Feature 4.6.4.SNAPSHOT
> (org.wso2.carbon.governance.lifecycle.management.ui.feature.group
> 4.6.4.SNAPSHOT) requires
> 'org.wso2.carbon.registry.extensions.ui.feature.group
> [4.6.4.SNAPSHOT,4.7.0)' but it could not be found
>  Cannot satisfy dependency:
>   From: WSO2 Carbon - Governance Lifecycle Management Feature
> 4.6.4.SNAPSHOT
> (org.wso2.carbon.governance.lifecycle.management.feature.group
> 4.6.4.SNAPSHOT)
>   To: org.wso2.carbon.governance.lifecycle.management.ui.feature.group
> [4.6.4.SNAPSHOT]
> Application failed, log file location:
> /home/samithac/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1465798066460.log
> .
>
> Anyway I am not sure that the solution for my task is removing
> org.wso2.carbon.registry.extensions.ui.feature. Because it seems that other
> features need it and so we cannot remove it.
>
> Thanks.
>
>
> On Mon, Jun 13, 2016 at 11:34 AM, Denuwanthi De Silva <denuwan...@wso2.com
> > wrote:
>
>> Hi Samitha,
>>
>> Can you mention the error log you get when the build fails (when removing
>> org.wso2.carbon.registry.extensions.ui.feature)?
>>
>> Thanks
>>
>> On Mon, Jun 13, 2016 at 11:25 AM, Samitha Chathuranga <sami...@wso2.com>
>> wrote:
>>
>>> Hi,
>>>
>>> I wanted to remove Main - > Metadata section on the mgt console (In WSO2
>>> PC). So I removed,
>>>
>>> org.wso2.carbon.governance.metadata.ui.feature
>>> ( by removing, org.wso2.carbon.governance.metadata.feature and adding 
>>> org.wso2.carbon.governance.metadata.server.feature.)
>>>
>>> But this was half a success as it removed all the sub links / buttons under 
>>> "Metadata" section, but the specific collapsible menu (only with the 
>>> heading label) is still left. So I want to remove that empty collapsible 
>>> Metadata
>>> menu heading too. How to do that?
>>>
>>> P.S. I tried removing org.wso2.carbon.registry.extensions.ui.feature but 
>>> then the build failed as another feature required that removed feature as a 
>>> dependency.
>>>
>>> Thanks.
>>>
>>>
>>>
>>> --
>>> Samitha Chathuranga
>>> Software Engineer, WSO2 Inc.
>>> lean.enterprise.middleware
>>> Mobile: +94715123761
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Denuwanthi De Silva
>> Software Engineer;
>> WSO2 Inc.; http://wso2.com,
>> Email: denuwan...@wso2.com
>> Blog: https://denuwanthi.wordpress.com/
>>
>
>
>
> --
> Samitha Chathuranga
> Software Engineer, WSO2 Inc.
> lean.enterprise.middleware
> Mobile: +94715123761
>



-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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

2016-04-22 Thread Denuwanthi De Silva
Hi all,

I tested the below aspects for G-reg 5.2.0 RC2 pack:

-Tested the migration from 5.1.0 to 5.2.0 using the new migration client.
-Tested both database and data migrations
-Tested migration in both in ubuntu and windows environments using mysql as
the database.
-Mounting of registry db, identity db in both ubuntu and windows.

[+] stable

Thanks,

On Fri, Apr 22, 2016 at 4:38 PM, Lahiru J Ekanayake <lahi...@wso2.com>
wrote:

> Hi All,
>
> I tested following scenarios with G-Reg 5.2.0  RC2 pack
>
> Search History - Store .
> When having multiple lifecycles in asset, publisher will auto select last
> upadted lifecycle .
> Custom RXT lifecycle promote and demote , lifecycle history .
> Login page client side validation.
> Register new user with having @ mark in username - store user registration
> page.
> Consistent alert messages.
> Lifecycle promote demote notifications .
>
> [+] stable
>
> Thanks!
>
> On Tue, Apr 19, 2016 at 10:14 PM, Thushara Ranawaka <thusha...@wso2.com>
> wrote:
>
>> Hi Devs,
>>
>> WSO2 Governance Registry 5.2.0 RC2 Release Vote.
>>
>> This release fixes the following issues:
>> https://wso2.org/jira/browse/REGISTRY-3561?filter=13023
>> Please download, test and vote. Please refer the release verification
>> guide for detailed information on verifying this release.
>>
>> Source & binary distribution files:
>> https://svn.wso2.org/repos/wso2/scratch/G-Reg/5.2.0/rc2/
>>
>> Maven staging repo:
>> *https://maven.wso2.org/nexus/content/repositories/orgwso2greg-1002/
>> <https://maven.wso2.org/nexus/content/repositories/orgwso2greg-1002/>*
>>
>> The tag to be voted upon:
>> https://github.com/wso2/product-greg/tree/v5.2.0-rc2
>>
>> [+] Stable - go ahead and release
>> [-]  Broken - do not release (please explain why)
>>
>> Thanks and Regards
>> G-Reg team
>>
>> --
>> Thanks,
>> Thushara Kasun Ranawaka
>> Software Engineer
>> WSO2 Inc.; <http://www.wso2.com>
>> lean.enterprise.middleware
>> Mobile : *+94 (0) 773438949 <%2B94%20%280%29%20773438949>*
>> *thusha...@wso2.com <thusha...@wso2.com>*
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
>
>
> *Lahiru J Ekanayake**Software Engineer*
> Mobile : +94 (0) 77 8812629 / +94(0) 778509547
> Email : lahi...@wso2.com
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middleware.
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [G-Reg] Added resource file not showing at the management console

2016-05-15 Thread Denuwanthi De Silva
Hi Nalaka,

Before creating the registry, could you please try loading the tenant
registry using 'loadTenantRegistry(tenantId)' method of
'TenantRegistryLoader' class.


Thanks,



On Fri, May 13, 2016 at 6:45 PM, Nalaka Perera <nal...@wso2.com> wrote:

> Hi all,
>
> I am adding Log analyzer alert configuration file (JSON file) to the
> registry using TenantRegistryLoader. My code snippets as follows.
>
> public void saveAlertConfiguration (ScheduleAlertBean scheduleAlertBean, int 
> tenantId) throws RegistryException {
> try {
> UserRegistry userRegistry = 
> LAAlertServiceValueHolder.getInstance().getTenantConfigRegistry(tenantId);
> createConfigurationCollection(userRegistry);
> String configurationLocation = 
> getConfigurationLocation(scheduleAlertBean.getAlertName());
> if (!userRegistry.resourceExists(configurationLocation)) {
>Resource resource = getResource(userRegistry, 
> scheduleAlertBean);
> if(!resource.equals(null)){
> userRegistry.put(configurationLocation, resource);
> userRegistry.commitTransaction();
> }
> }
> } catch (RegistryException e) {
> log.error("Unable to save Alert configurations " + 
> e.getMessage(), e);
> throw new RegistryException("Unable to save Alert Configuration " 
> + e.getMessage(), e);
> }
> }
>
> private void createConfigurationCollection(UserRegistry userRegistry) {
> try {
> if 
> (!userRegistry.resourceExists(LAAlertConstant.ALERT_CONFIGURATION_LOCATION)) {
> Collection collection = userRegistry.newCollection();
> userRegistry.put(LAAlertConstant.ALERT_CONFIGURATION_LOCATION, 
> collection);
> }
> } catch (RegistryException e) {
> log.error("Unable to create Configuration Collection in Registry " + 
> e.getMessage(), e);
> }
> }
>
> When I am adding a file and load it's content to Log Analyzer UI(jaggery 
> app), file content  are correctly showing at the LA UI. But file is not 
> showing  at the management console, after restart the server file is showing 
> at the  management console.
>
> I am also updating the content of that file and save, but changes of the 
> content are not showing at the LA UI and management console. Then after 
> restarting the server changes are showing correctly.
>
> Could anyone suggest a solution for this?
>
> Thanks
> Nalaka
>
> --
> *Nalaka Perera*
>
> *Intern - Software Engineering*
> *WSO2*
>
> *Mobile: * *+94 71 9165748 <%2B94%2071%209165748>*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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

2016-08-10 Thread Denuwanthi De Silva
>> https://github.com/wso2/product-es/tree/v2.1.0-rc2
>>>>
>>>>
>>>> [+] Stable - go ahead and release
>>>> [-]  Broken - do not release (please explain why)
>>>>
>>>> Thanks and Regards
>>>> ES/G-Reg team
>>>> --
>>>> Sameera Medagammaddegedara
>>>> Software Engineer
>>>>
>>>> Contact:
>>>> Email: samee...@wso2.com
>>>> Mobile: + 94 077 255 3005
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Chandana Napagoda*
>>> Senior Software Engineer
>>> WSO2 Inc. - http://wso2.org
>>>
>>> *Email  :  chand...@wso2.com <chand...@wso2.com>**Mobile : +94718169299
>>> <%2B94718169299>*
>>>
>>> *Blog  :http://cnapagoda.blogspot.com
>>> <http://cnapagoda.blogspot.com>*
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Ayesha Dissanayaka*
> Software Engineer,
> WSO2, Inc : http://wso2.com
> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com=D=1=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
> 20, Palmgrove Avenue, Colombo 3
> E-Mail: aye...@wso2.com <ayshsa...@gmail.com>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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

2016-08-09 Thread Denuwanthi De Silva
Tested the following scenarios:

Admin Console reporting(H2 and Postgres databases)
Admin Console LifeCycle operations(H2 and Postgres databases)
WSDL Visualizer Store/Publisher
Store/Publisher operations with mounted to Postgres SQL database [1]

Hence voting +1 and stable​
 PostgreSQL - G-Reg 5.3.0 testing scenarios
<https://docs.google.com/a/wso2.com/spreadsheets/d/1GQOxnweKoRe9aASEQFkx01334RFMyAam8m7IbKhobuI/edit?usp=drive_web>
​

[1]
https://docs.google.com/a/wso2.com/spreadsheets/d/1GQOxnweKoRe9aASEQFkx01334RFMyAam8m7IbKhobuI/edit?usp=sharing

On Tue, Aug 9, 2016 at 4:56 PM, Malintha Fernando <malinth...@wso2.com>
wrote:

> Tested the following scenarios and verified.
>
> Registry operations on store, publisher and admin console.
> Publisher RXT field validations against different regular expressions
> UI operations on Microsoft Edge and IE 11
> Registry operations on a clustered setup with 2 nodes with shared registry
> and user databases (MySQL)
> Pointing user, registry and social databases to MsSQL databases
> Social reviews with PostgreSQL database.
> Moving between store and publisher pages on different browsers after
> caramel load cache disabling. (Firefox, Chrome, IE11, Edge)
>
> Hence voting +1 and stable.
>
>
> On Fri, Aug 5, 2016 at 8:38 PM, Rajith Roshan <raji...@wso2.com> wrote:
>
>> Hi Devs,
>>
>> WSO2 Governance Registry 5.3.0 RC2 Release Vote.
>>
>> This release fixes the following issues:
>> https://wso2.org/jira/browse/REGISTRY-3854?filter=13166
>>
>> Please download, test and vote. Please refer the release verification
>> guide for detailed information on verifying this release.
>>
>> Source & binary distribution files:
>> https://svn.wso2.org/repos/wso2/scratch/G-Reg/5.3.0/rc2/
>>
>> Maven staging repo:
>> https://maven.wso2.org/nexus/content/repositories/orgwso2greg-1008
>>
>> The tag to be voted upon:
>> https://github.com/wso2/product-greg/tree/v5.3.0-rc2
>>
>> [+] Stable - go ahead and release
>> [-]  Broken - do not release (please explain why)
>>
>> Thanks and Regards
>> ES/G-Reg team
>>
>> --
>> Rajith Roshan
>> Software Engineer, WSO2 Inc.
>> Mobile: +94-72-642-8350 <%2B94-71-554-8430>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Malintha Fernando
> Software Engineer
> WSO2 Inc. | http://wso2.com
> Mobile : +94 718874922
> Blog : http://blog.malintha.org
>
> Lean . Enterprise . Middleware
>
>
>
>
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Issue when running UUFMicroservice on top of IBM JDK 8

2017-02-21 Thread Denuwanthi De Silva
Hi,

When starting the IS 6.0.0 pack on top of IBM JDK 8 latest version we get
the error reported at [1].
The other microservices in the pack are added without an issue. I also
tested a micro service sample and it works fine on ibm jdk.
But when come to org.wso2.carbon.uuf.httpconnector.msf4j.UUFMicroservice it
throws the reported error.
After that cannot visit the User portal app as well.

Are we supporting IBM jsk 8 for uuf? Any insight on this will be helpful.



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


Thanks,
-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Invoking a Microservice REST api in UUF

2017-01-18 Thread Denuwanthi De Silva
Hi,

I added a UI specific Microservice REST API following [1]and[2].
But, When I invoke the url, it redirects to "page not found' inside our uuf
app.

I have added the REST service as an import in the uuf app pom as well.
Is this all we need to do to register a UI specific microservice in UUF?
Have I missed any registration step?

Any input on this will be helpful


[1]
https://github.com/wso2/carbon-uuf/blob/master/samples/osgi-services/org.wso2.carbon.uuf.sample.api/src/main/java/org/wso2/carbon/uuf/sample/api/HelloService.java
[2]
https://github.com/wso2/carbon-uuf/blob/master/samples/apps/org.wso2.carbon.uuf.sample.pets-store.app/src/main/component.yaml

Thanks

-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Invoking a Microservice REST api in UUF

2017-01-18 Thread Denuwanthi De Silva
Thank you Nisala.
It solved the issue :)



On Wed, Jan 18, 2017 at 3:03 PM, Nisala Nanayakkara <nis...@wso2.com> wrote:

> Hi Denuwanthi,
>
> Based on the off-line discussion we had, Please import the package
> javax.ws.rs.* in  UI specific microservice pom file. It will solve the
> issue of redirecting to "page not found' inside your uuf app.
>
> Thanks,
> Nisala
>
> On Wed, Jan 18, 2017 at 2:26 PM, Denuwanthi De Silva <denuwan...@wso2.com>
> wrote:
>
>> Hi,
>>
>> I added a UI specific Microservice REST API following [1]and[2].
>> But, When I invoke the url, it redirects to "page not found' inside our
>> uuf app.
>>
>> I have added the REST service as an import in the uuf app pom as well.
>> Is this all we need to do to register a UI specific microservice in UUF?
>> Have I missed any registration step?
>>
>> Any input on this will be helpful
>>
>>
>> [1]https://github.com/wso2/carbon-uuf/blob/master/samples/
>> osgi-services/org.wso2.carbon.uuf.sample.api/src/main/java/
>> org/wso2/carbon/uuf/sample/api/HelloService.java
>> [2]https://github.com/wso2/carbon-uuf/blob/master/samples/
>> apps/org.wso2.carbon.uuf.sample.pets-store.app/src/main/component.yaml
>>
>> Thanks
>>
>> --
>> Denuwanthi De Silva
>> Senior Software Engineer;
>> WSO2 Inc.; http://wso2.com,
>> Email: denuwan...@wso2.com
>> Blog: https://denuwanthi.wordpress.com/
>>
>
>
>
> --
> *Nisala Niroshana Nanayakkara,*
> Software Engineer
> Mobile:(+94)717600022
> WSO2 Inc., http://wso2.com/
>



-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [UUF] User Portal's Localization properties are not working in Safari browser

2017-01-19 Thread Denuwanthi De Silva
Hi,

The values we have set from en_US.properties file in 'lang' folder, does
not get properly populated when go through the safari browser.
Instead of showing the value it shows the key as shown in the atatched image

Is this a known issue in UUF or do we have a way to prevent this from
happening?

Thanks,

-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [UUF] User Portal's Localization properties are not working in Safari browser

2017-01-19 Thread Denuwanthi De Silva
Hi Shan,

Created a git issue  [1].

[1]https://github.com/wso2/carbon-uuf/issues/154

Thanks

On Thu, Jan 19, 2017 at 8:07 PM, Shan Mahanama <sh...@wso2.com> wrote:

> Hi Denuwanthi,
>
> Value of this headers are different in the two browsers. This might be the
> cause. We will look into this. Can you create a git issue for this at [1]?
>
> [1] https://github.com/wso2/carbon-uuf
>
> Thanks,
> Shan.
>
> On Thu, Jan 19, 2017 at 7:44 PM, Denuwanthi De Silva <denuwan...@wso2.com>
> wrote:
>
>> Hi Shan,
>>
>> When check the Accept-Language in safari it shows "en-us" as in the
>> attached safari.png file.
>>
>> When check with firefox it shows "en-US,en;q=0.5" as in the attached
>> firefox.png file.
>>
>>
>>
>> Thanks,
>>
>> On Thu, Jan 19, 2017 at 7:17 PM, Shan Mahanama <sh...@wso2.com> wrote:
>>
>>> Hi Denuwanthi,
>>>
>>> We check the *Accept-Language* header value in the request to identify
>>> the locale. Can you check on Safari whether this header is added correctly
>>> and it's value is correct? It is possible that in Safari browser, this
>>> header is set to some other locale which does not have a properties file.
>>>
>>> Thanks,
>>> Shan.
>>>
>>> On Thu, Jan 19, 2017 at 5:09 PM, Denuwanthi De Silva <
>>> denuwan...@wso2.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> The values we have set from en_US.properties file in 'lang' folder,
>>>> does not get properly populated when go through the safari browser.
>>>> Instead of showing the value it shows the key as shown in the atatched
>>>> image
>>>>
>>>> Is this a known issue in UUF or do we have a way to prevent this from
>>>> happening?
>>>>
>>>> Thanks,
>>>>
>>>> --
>>>> Denuwanthi De Silva
>>>> Senior Software Engineer;
>>>> WSO2 Inc.; http://wso2.com,
>>>> Email: denuwan...@wso2.com
>>>> Blog: https://denuwanthi.wordpress.com/
>>>>
>>>
>>>
>>>
>>> --
>>> Shan Mahanama
>>>
>>> Software Engineer, WSO2 Inc. http://wso2.com
>>> <http://l.facebook.com/l.php?u=http%3A%2F%2Fwso2.com=gAQEswASa>
>>> Email: sh...@wso2.com
>>> Mobile: +94 71 2000 498
>>>
>>>
>>>
>>
>>
>> --
>> Denuwanthi De Silva
>> Senior Software Engineer;
>> WSO2 Inc.; http://wso2.com,
>> Email: denuwan...@wso2.com
>> Blog: https://denuwanthi.wordpress.com/
>>
>
>
>
> --
> Shan Mahanama
>
> Software Engineer, WSO2 Inc. http://wso2.com
> <http://l.facebook.com/l.php?u=http%3A%2F%2Fwso2.com=gAQEswASa>
> Email: sh...@wso2.com
> Mobile: +94 71 2000 498
>
>
>


-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Fwd: Security questions are encoded

2017-02-27 Thread Denuwanthi De Silva
Issue is created in [1]

[1]https://github.com/wso2/carbon-uuf/issues/193

Thanks

On Tue, Feb 28, 2017 at 11:53 AM, Nuwandi Wickramasinghe <nuwan...@wso2.com>
wrote:

> Does this encoding work properly when sent in javascript attributes as
> well? I recently noticed that following type of calls do not work as
> expected if the value  *question *contains a single quote.
>
> 
>
>
> On Tue, Jan 31, 2017 at 11:04 PM, Manuranga Perera <m...@wso2.com> wrote:
>
>> UUF automatically escaping sensitive characters [1]. Please don't use
>> 'encoding' for 'escaping'.
>>
>> [1] https://github.com/jknack/handlebars.java/blob/1f6c48e606dc1
>> 303d1e92a0a0eaa94120eba64fd/handlebars/src/main/java/com/git
>> hub/jknack/handlebars/EscapingStrategy.java#L82
>>
>> On Tue, Jan 31, 2017 at 5:23 PM, Jayanga Kaushalya <jayan...@wso2.com>
>> wrote:
>>
>>> Hi Manuranga,
>>>
>>> This is not because of a security reason. The security question set id
>>> may contains html special characters. So the set id is sent to the UI after
>>> encoding to Base64.
>>>
>>> Thanks!
>>>
>>> *Jayanga Kaushalya*
>>> Software Engineer
>>> Mobile: +94777860160 <+94%2077%20786%200160>
>>> WSO2 Inc. | http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> On Tue, Jan 31, 2017 at 10:42 PM, Manuranga Perera <m...@wso2.com>
>>> wrote:
>>>
>>>>
>>>> -- Forwarded message --
>>>> From: Manuranga Perera <m...@wso2.com>
>>>> Date: Tue, Jan 31, 2017 at 5:11 PM
>>>> Subject: Security questions are encoded
>>>> To: Johann Nallathamby <joh...@wso2.com>, Jayanga Kaushalya <
>>>> jayan...@wso2.com>, Isura Karunaratne <is...@wso2.com>
>>>>
>>>>
>>>> Security questions are base64 encoded [1]. If they are encrypted (eg:
>>>> RSA) or hashed (eg SHA) I can understand that it's for security reasons.
>>>> All this does is obfuscation, poorly even at that, since base64 can be
>>>> easily decoded.
>>>>
>>>> Or is it done for non-security reasons, like escaping special
>>>> characters?
>>>>
>>>> [1] https://github.com/wso2/product-is/blob/6.0.x-C5_m3/portal/o
>>>> sgi-services/org.wso2.is.portal.user.client.api/src/main/jav
>>>> a/org/wso2/is/portal/user/client/api/ChallengeQuestionManage
>>>> rClientServiceImpl.java#L113
>>>>
>>>> --
>>>> With regards,
>>>> *Manu*ranga Perera.
>>>>
>>>> phone : 071 7 70 20 50
>>>> mail : m...@wso2.com
>>>>
>>>>
>>>>
>>>> --
>>>> With regards,
>>>> *Manu*ranga Perera.
>>>>
>>>> phone : 071 7 70 20 50
>>>> mail : m...@wso2.com
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>
>>
>> --
>> With regards,
>> *Manu*ranga Perera.
>>
>> phone : 071 7 70 20 50
>> mail : m...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> 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
>
>


-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Invoking a Jaggery api via HttpURLConnection

2016-09-23 Thread Denuwanthi De Silva
Hi,

I have .jsp file, in which I want to invoke a jaggery api.

The content inside .jsp file is as below:

URL url = new URL(baseURL + *"/user-login/user/authenticate/add*?scope=" +
URLEncoder.encode(scope, "UTF-8") + "=" + redirectUri +
"=" + clientId + "=" + arc + "=" +
responseType + "=" + operator + "=" +
msisdn+"="+nonce+"="+state+"="+baseURL);
HttpURLConnection conn = (HttpURLConnection)
url.openConnection();
conn.setRequestMethod("GET");
conn.setRequestProperty("Accept",
"application/json");
if (conn.getResponseCode() != 200) {
throw new RuntimeException("Failed : HTTP
error code : " + conn.getResponseCode());
}

The jaggery.conf file contains the url mapping as follows:
{
"urlMappings": [
{
"url": *"/user/authenticate/add*",
"path": "/sendAuthentication.jag"
}
]
}

The sendAuthentication.jag content is as follows:
Inside the jaggery api file I call a JAX-RS webapp in the path
*'user-registration/webresources/endpoint/user/authenticate/add'*


<%
var METHOD = request.getMethod();
var log = new Log();
switch (METHOD) {
case 'GET':
var baseUrl = request.getParameter('baseUrl');
var scope = request.getParameter('scope');
var redirectUri = request.getParameter('redirecturi');
var clientId = request.getParameter('clientid');
var arc = request.getParameter('acrvalue');
var responseType = request.getParameter('responsetype');
var operator = request.getParameter('operator');
var msisdn = request.getParameter('msisdn');
var nonce = request.getParameter('nonce');
var state = request.getParameter('state');
var url  =
baseUrl+"/user-registration/webresources/endpoint/user/authenticate/add?scope="
+ scope + "=" + redirectUri + "=" + clientId +
"=" + arc + "=" + responseType + "=" +
operator + "=" + msisdn+"="+nonce+"="+state;
var response = get(url,{},"json");
log.info(response);
//log.info(response.data.);

}
%>


The above approach did not work. When invoke the .jsp file it fails with
HTTP error code : 500 at conn.getResponseCode() != 200 condition check.

Can anyone point me to a proper way to acheive calling to JAX-RS endpoint
through jaggery api, which in turn is called inside JSP file?

Thanks,

-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Invoking a Jaggery api via HttpURLConnection

2016-09-23 Thread Denuwanthi De Silva
Hi Sameera,

Please find the stacktrace

Stacktrace:
at
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:568)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)


Caused by: java.lang.RuntimeException: Failed : HTTP error code : 500
at org.apache.jsp.login_jsp._jspService(login_jsp.java:353)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
... 55 more


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


Re: [Dev] Invoking a Jaggery api via HttpURLConnection

2016-09-23 Thread Denuwanthi De Silva
Hi Sameera,

I could get it working with following approach[1]:

var headers ={"Accept" : "application/json"};
var response = get(url,null,headers,'text');



[1]
http://stackoverflow.com/questions/34505509/jaggeryjs-ajax-call-get-method

Thanks

On Fri, Sep 23, 2016 at 5:21 PM, Denuwanthi De Silva <denuwan...@wso2.com>
wrote:

> Hi Sameera,
>
> Please find the stacktrace
>
> Stacktrace:
> at org.apache.jasper.servlet.JspServletWrapper.handleJspException(
> JspServletWrapper.java:568)
> at org.apache.jasper.servlet.JspServletWrapper.service(
> JspServletWrapper.java:470)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(
> JspServlet.java:395)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:303)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:208)
> at org.apache.tomcat.websocket.server.WsFilter.doFilter(
> WsFilter.java:52)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:241)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:208)
> at org.apache.catalina.core.ApplicationDispatcher.invoke(
> ApplicationDispatcher.java:748)
> at org.apache.catalina.core.ApplicationDispatcher.processRequest(
> ApplicationDispatcher.java:486)
> at org.apache.catalina.core.ApplicationDispatcher.doForward(
> ApplicationDispatcher.java:411)
> at org.apache.catalina.core.ApplicationDispatcher.forward(
> ApplicationDispatcher.java:338)
>
>
> Caused by: java.lang.RuntimeException: Failed : HTTP error code : 500
> at org.apache.jsp.login_jsp._jspService(login_jsp.java:353)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>     at org.apache.jasper.servlet.JspServletWrapper.service(
> JspServletWrapper.java:432)
> ... 55 more
>
>
> Thanks
>



-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Invoking UserRegistrationAdminServiceClient inside a jsp

2016-10-02 Thread Denuwanthi De Silva
Hi Gayan,

Thank you . Yes it is working with SOAPUI when using the value provided by
you.
With the help of Gayan I could get it working after removing a depndency
for user registration stub  in the pom file of the webapp.

Thanks,


On Sun, Oct 2, 2016 at 11:18 AM, Gayan Gunawardana <ga...@wso2.com> wrote:

>
>
> On Sat, Oct 1, 2016 at 3:42 PM, Denuwanthi De Silva <denuwan...@wso2.com>
> wrote:
>
>> Hi,
>>
>> I have added a custom jsp class inside the authenticationendpoint webapp.
>> Inside that jsp class I'm trying to call the
>> 'readUserFieldsForUserRegistration()' method in
>> 'UserRegistrationAdminServiceClient' class.
>>
>> I have importyed the class using
>> <%@page import="org.wso2.carbon.identity.application.authentication.
>> endpoint.util.UserRegistrationAdminServiceClient"%>
>>
>> and then call
>> UserRegistrationAdminServiceClient registrationClient = new
>> UserRegistrationAdminServiceClient();
>>
>> But, this does not get executed properly.
>> When debugged I could see a NPE is happening inside the constructor.
>>
>> Does anyone know how to get this invoked properly?
>> Do I need to call some other method?
>>
>
> It simply works without any exception if you just pass '
> http://wso2.org/claims' as dialect.
>
> http://schemas.xmlsoap.org/soap/envelope/;
> xmlns:xsd="http://org.apache.axis2/xsd;>
>
>
>   
>  
>  http://wso2.org/claims
>   
>
> 
>
>>
>> I could see create_account.jsp has followed a similar approach[1].
>>
>>
>> [1]https://github.com/wso2/carbon-identity/blob/master/compo
>> nents/authentication-framework/org.wso2.carbon.identity.
>> application.authentication.endpoint/src/main/webapp/
>> create-account.jsp#L32
>>
>> Thanks
>>
>>
>>
>> --
>> Denuwanthi De Silva
>> Senior Software Engineer;
>> WSO2 Inc.; http://wso2.com,
>> Email: denuwan...@wso2.com
>> Blog: https://denuwanthi.wordpress.com/
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Gayan Gunawardana
> Software Engineer; WSO2 Inc.; http://wso2.com/
> Email: ga...@wso2.com
> Mobile: +94 (71) 8020933
>



-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Invoking UserRegistrationAdminServiceClient inside a jsp

2016-10-02 Thread Denuwanthi De Silva
Hi Rajith,

Yes I tried TenantDataManager.init(). The NPE went away, but the call for
backend service did not happen.
When checkd for the admin service in the server startup i couldn't find
it.I'm checking why the admin service is missing

Thanks,

On Sun, Oct 2, 2016 at 11:18 AM, Gayan Gunawardana <ga...@wso2.com> wrote:

>
>
> On Sat, Oct 1, 2016 at 3:42 PM, Denuwanthi De Silva <denuwan...@wso2.com>
> wrote:
>
>> Hi,
>>
>> I have added a custom jsp class inside the authenticationendpoint webapp.
>> Inside that jsp class I'm trying to call the
>> 'readUserFieldsForUserRegistration()' method in
>> 'UserRegistrationAdminServiceClient' class.
>>
>> I have importyed the class using
>> <%@page import="org.wso2.carbon.identity.application.authentication.
>> endpoint.util.UserRegistrationAdminServiceClient"%>
>>
>> and then call
>> UserRegistrationAdminServiceClient registrationClient = new
>> UserRegistrationAdminServiceClient();
>>
>> But, this does not get executed properly.
>> When debugged I could see a NPE is happening inside the constructor.
>>
>> Does anyone know how to get this invoked properly?
>> Do I need to call some other method?
>>
>
> It simply works without any exception if you just pass '
> http://wso2.org/claims' as dialect.
>
> http://schemas.xmlsoap.org/soap/envelope/;
> xmlns:xsd="http://org.apache.axis2/xsd;>
>
>
>   
>  
>  http://wso2.org/claims
>   
>
> 
>
>>
>> I could see create_account.jsp has followed a similar approach[1].
>>
>>
>> [1]https://github.com/wso2/carbon-identity/blob/master/compo
>> nents/authentication-framework/org.wso2.carbon.identity.
>> application.authentication.endpoint/src/main/webapp/
>> create-account.jsp#L32
>>
>> Thanks
>>
>>
>>
>> --
>> Denuwanthi De Silva
>> Senior Software Engineer;
>> WSO2 Inc.; http://wso2.com,
>> Email: denuwan...@wso2.com
>> Blog: https://denuwanthi.wordpress.com/
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Gayan Gunawardana
> Software Engineer; WSO2 Inc.; http://wso2.com/
> Email: ga...@wso2.com
> Mobile: +94 (71) 8020933
>



-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Invoking a Jaggery api via HttpURLConnection

2016-09-26 Thread Denuwanthi De Silva
Hi ,

The above get() method returned the response as null.
After several attempts finally got it working with following approach with
the help of Nipuna.
Thanks a lot Nipuna for helping to sort this out.

 var xhr = new XMLHttpRequest();
 xhr.open("GET", url);
 xhr.setRequestHeader("Accept" , "application/json");
 xhr.setRequestHeader("Content-Type" , "application/json");
 xhr.send();
print(xhr.responseText);

Thanks,

On Fri, Sep 23, 2016 at 6:32 PM, Denuwanthi De Silva <denuwan...@wso2.com>
wrote:

> Hi Sameera,
>
> I could get it working with following approach[1]:
>
> var headers ={"Accept" : "application/json"};
> var response = get(url,null,headers,'text');
>
>
>
> [1]http://stackoverflow.com/questions/34505509/jaggeryjs-
> ajax-call-get-method
>
> Thanks
>
> On Fri, Sep 23, 2016 at 5:21 PM, Denuwanthi De Silva <denuwan...@wso2.com>
> wrote:
>
>> Hi Sameera,
>>
>> Please find the stacktrace
>>
>> Stacktrace:
>> at org.apache.jasper.servlet.JspServletWrapper.handleJspExcepti
>> on(JspServletWrapper.java:568)
>> at org.apache.jasper.servlet.JspServletWrapper.service(JspServl
>> etWrapper.java:470)
>> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl
>> et.java:395)
>> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:303)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>> licationFilterChain.java:208)
>> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilte
>> r.java:52)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:241)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>> licationFilterChain.java:208)
>> at org.apache.catalina.core.ApplicationDispatcher.invoke(Applic
>> ationDispatcher.java:748)
>> at org.apache.catalina.core.ApplicationDispatcher.processReques
>> t(ApplicationDispatcher.java:486)
>> at org.apache.catalina.core.ApplicationDispatcher.doForward(App
>> licationDispatcher.java:411)
>> at org.apache.catalina.core.ApplicationDispatcher.forward(Appli
>> cationDispatcher.java:338)
>>
>>
>> Caused by: java.lang.RuntimeException: Failed : HTTP error code : 500
>> at org.apache.jsp.login_jsp._jspService(login_jsp.java:353)
>> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>> at org.apache.jasper.servlet.JspServletWrapper.service(JspServl
>> etWrapper.java:432)
>> ... 55 more
>>
>>
>> Thanks
>>
>
>
>
> --
> Denuwanthi De Silva
> Senior Software Engineer;
> WSO2 Inc.; http://wso2.com,
> Email: denuwan...@wso2.com
> Blog: https://denuwanthi.wordpress.com/
>



-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Invoking UserRegistrationAdminServiceClient inside a jsp

2016-10-01 Thread Denuwanthi De Silva
Hi,

I have added a custom jsp class inside the authenticationendpoint webapp.
Inside that jsp class I'm trying to call the
'readUserFieldsForUserRegistration()' method in
'UserRegistrationAdminServiceClient' class.

I have importyed the class using
<%@page
import="org.wso2.carbon.identity.application.authentication.endpoint.util.UserRegistrationAdminServiceClient"%>

and then call
UserRegistrationAdminServiceClient registrationClient = new
UserRegistrationAdminServiceClient();

But, this does not get executed properly.
When debugged I could see a NPE is happening inside the constructor.

Does anyone know how to get this invoked properly?
Do I need to call some other method?

I could see create_account.jsp has followed a similar approach[1].


[1]
https://github.com/wso2/carbon-identity/blob/master/components/authentication-framework/org.wso2.carbon.identity.application.authentication.endpoint/src/main/webapp/create-account.jsp#L32

Thanks



-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Use char array as micro service parameter

2017-03-23 Thread Denuwanthi De Silva
Hi,

I have  a micro service which calls a password validation back end.
For that, it passes the password as microservice parameter.

Due to security concerns we need to pass password as a char array instead
of a String[1].

The password value is retrieved using jquery input field call and passed as
a char array.
Then it is passed to the microservice via an ajax call. But the
micorservice method Params does not support char[] type[1].

Is there a way we can handle this without involving String type in the
intermediate level?



[1]https://nvisium.com/blog/2016/03/31/secure-password-strings/
[2]https://jersey.java.net/apidocs/2.7/jersey/javax/ws/rs/QueryParam.html


Thanks,
-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Use char array as micro service parameter

2017-03-24 Thread Denuwanthi De Silva
Hi,

As discussed offline I used the msf4j Reuest object in my microservice

@POST
@Path("/validatePassword")
public Response isValidPassword(@Context Request password) {

Then I tried retreving a char[] out of it as following

ByteBuffer fullContent = BufferUtil.merge(password.getFullMessageBody());
char[] passwordText = Charset.defaultCharset().decode(fullContent).array()


But the returned contains different values for special characters.

For example, the actual password I gave was ABCabc01*$*
Then the value retreved in the microservice is ABCabc01

*%24*
Is there a way we can handle this?The password is sent from frontendside to
backedn via an ajax call

var password = $("#newPassword").val();
$.ajax({
type: "POST",
url: "/admin-portal/root/apis/passwordUtil-micro-service/validatePassword",
data: {newPassword: password},





Thanks

On Thu, Mar 23, 2017 at 9:54 PM, Ayoma Wijethunga <ay...@wso2.com> wrote:

> Hi Jude,
>
> I think you got me wrong. StringBuilder internally uses char[] to store
> values (mutable sequence of characters [1] [2]). Therefore, we will not be
> creating (and leaving behind) immutable String objects as long as we use
> the StringBuilder properly.
>
> However, if you accidentally call a method such as
> stringBuilder.toString() or stringBuilder.append(String str) you will end
> up creating a immutable String in the memory. This is what I was trying to
> imply with my sentence.
>
> We should not really depend on garbage collection for any data structure
> storing passwords. If we are going to depend on GC for Arrays, there is no
> point of *not* using String. Instead, since "char" is a mutable
> primitive, it's possible to change the value to as desired (where as
> Strings are immutable). Therefore, after storing password in a char[] or a
> StringBuilder (which internally uses a char[]) you should clear the data,
> before leaving the reference for GC to pickup, to make sure memory is
> clean.
>
> However there is one issue associated with using StringBuilder for
> password storage. StringBuilder has a mechanism used to grow the char[]
> used internal, when such expansion is required 
> (AbstractStringBuilder.expandCapacity).
> This can leave behind arrays that are not properly cleared in memory. This
> too can be addressed by setting proper initialCapacity when creating
> StringBuilder.
>
> Anyhow, during offline discussion we identified that why Thusitha
> suggested StringBuilder here was because, MSF4J by default
> supports StringBuilder as a parameter type. However, with further checking
> we identified that this StringBuilder is creating using Strings in MSF4J
> level. Therefore, instead of going through the StringBuilder approach, we
> will be directly using Byte stream of the request to ready passwords out
> into char[] which is much clearer and does not introduce any immutable
> Strings.
>
> [1] https://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html
> [2] http://developer.classpath.org/doc/java/lang/StringBuilder-source.html
>
> Best Regards,
> Ayoma.
>
>
> On Thu, Mar 23, 2017 at 9:19 PM, Jude Niroshan <jude.nirosha...@gmail.com>
> wrote:
>
>> We just need to avoid using any method that accepts or returns a String
>>> in StringBuilder, to avoid intermediate level Strings.
>>
>>
>> ​I believe you are well aware about why the Strings and other sort of
>> objects being discouraged to be used for passwords and other valuable
>> information. It simply not to retain any information anywhere in heap or
>> other intermediate volatile memory. Arrays can be quickly garbage collected
>> and that valuable information can not be extracted again. ​
>>
>> http://stackoverflow.com/q/8881291/4506140
>>
>> Hope it helps :)
>>
>> Regards,
>> Jude
>>
>>
>> On Thu, Mar 23, 2017 at 3:42 PM, Ayoma Wijethunga <ay...@wso2.com> wrote:
>>
>>> Yes. That seems to address the requirement.
>>>
>>> We can accept InputStream as a parameter and then use the input stream
>>> to read characters into a StringBuilder. I hope this was what you were
>>> suggesting and this is supported with MSF4J.
>>>
>>> We just need to avoid using any method that accepts or returns a String
>>> in StringBuilder, to avoid intermediate level Strings.
>>>
>>> Best Regards,
>>> Ayoma.
>>>
>>> On Thu, Mar 23, 2017 at 3:17 PM, Thusitha Thilina Dayaratne <
>>> thusit...@wso2.com> wrote:
>>>
>>>> Hi All,
>>>>
>>>> AFAIU char[] is not compliant with neither QueryParam nor FormParam
>>>> 

Re: [Dev] Use char array as micro service parameter

2017-03-24 Thread Denuwanthi De Silva
When I do a POST request via, postman the special characters are rendered
fine.
Seems like this is happening with the ajax call

On Fri, Mar 24, 2017 at 5:02 PM, Denuwanthi De Silva <denuwan...@wso2.com>
wrote:

> Hi,
>
> As discussed offline I used the msf4j Reuest object in my microservice
>
> @POST
> @Path("/validatePassword")
> public Response isValidPassword(@Context Request password) {
>
> Then I tried retreving a char[] out of it as following
>
> ByteBuffer fullContent = BufferUtil.merge(password.getFullMessageBody());
> char[] passwordText = Charset.defaultCharset().decode(fullContent).array()
>
>
> But the returned contains different values for special characters.
>
> For example, the actual password I gave was ABCabc01*$*
> Then the value retreved in the microservice is ABCabc01
>
> *%24*
> Is there a way we can handle this?The password is sent from frontendside
> to backedn via an ajax call
>
> var password = $("#newPassword").val();
> $.ajax({
> type: "POST",
> url: 
> "/admin-portal/root/apis/passwordUtil-micro-service/validatePassword",
> data: {newPassword: password},
>
>
>
>
>
> Thanks
>
> On Thu, Mar 23, 2017 at 9:54 PM, Ayoma Wijethunga <ay...@wso2.com> wrote:
>
>> Hi Jude,
>>
>> I think you got me wrong. StringBuilder internally uses char[] to store
>> values (mutable sequence of characters [1] [2]). Therefore, we will not be
>> creating (and leaving behind) immutable String objects as long as we use
>> the StringBuilder properly.
>>
>> However, if you accidentally call a method such as
>> stringBuilder.toString() or stringBuilder.append(String str) you will end
>> up creating a immutable String in the memory. This is what I was trying to
>> imply with my sentence.
>>
>> We should not really depend on garbage collection for any data structure
>> storing passwords. If we are going to depend on GC for Arrays, there is no
>> point of *not* using String. Instead, since "char" is a mutable
>> primitive, it's possible to change the value to as desired (where as
>> Strings are immutable). Therefore, after storing password in a char[] or a
>> StringBuilder (which internally uses a char[]) you should clear the data,
>> before leaving the reference for GC to pickup, to make sure memory is
>> clean.
>>
>> However there is one issue associated with using StringBuilder for
>> password storage. StringBuilder has a mechanism used to grow the char[]
>> used internal, when such expansion is required
>> (AbstractStringBuilder.expandCapacity). This can leave behind arrays
>> that are not properly cleared in memory. This too can be addressed by
>> setting proper initialCapacity when creating StringBuilder.
>>
>> Anyhow, during offline discussion we identified that why Thusitha
>> suggested StringBuilder here was because, MSF4J by default
>> supports StringBuilder as a parameter type. However, with further checking
>> we identified that this StringBuilder is creating using Strings in MSF4J
>> level. Therefore, instead of going through the StringBuilder approach, we
>> will be directly using Byte stream of the request to ready passwords out
>> into char[] which is much clearer and does not introduce any immutable
>> Strings.
>>
>> [1] https://docs.oracle.com/javase/7/docs/api/java/lang/Stri
>> ngBuilder.html
>> [2] http://developer.classpath.org/doc/java/lang/StringBuild
>> er-source.html
>>
>> Best Regards,
>> Ayoma.
>>
>>
>> On Thu, Mar 23, 2017 at 9:19 PM, Jude Niroshan <jude.nirosha...@gmail.com
>> > wrote:
>>
>>> We just need to avoid using any method that accepts or returns a String
>>>> in StringBuilder, to avoid intermediate level Strings.
>>>
>>>
>>> ​I believe you are well aware about why the Strings and other sort of
>>> objects being discouraged to be used for passwords and other valuable
>>> information. It simply not to retain any information anywhere in heap or
>>> other intermediate volatile memory. Arrays can be quickly garbage collected
>>> and that valuable information can not be extracted again. ​
>>>
>>> http://stackoverflow.com/q/8881291/4506140
>>>
>>> Hope it helps :)
>>>
>>> Regards,
>>> Jude
>>>
>>>
>>> On Thu, Mar 23, 2017 at 3:42 PM, Ayoma Wijethunga <ay...@wso2.com>
>>> wrote:
>>>
>>>> Yes. That seems to address the requirement.
>>>>
>>>> We can accept InputStream as a 

[Dev] How to write test cases for microservices registered via uuf app

2017-03-28 Thread Denuwanthi De Silva
Hi,

1. I have a micro service registered in a uuf app via component.yaml

apis:
  - className: 
"org.wso2.is.portal.user.client.api.micro.PasswordUtilityMicroService"
uri: "/passwordUtil-micro-service/"

Now, the url for the micorservice is in the form of

/admin-portal/root/apis/passwordUtil-micro-service/validatePassword

2. Inside the microservice I call an OSGI service.

BundleContext bundleContext =
FrameworkUtil.getBundle(PasswordValidationService.class).getBundleContext();


3.When writing a test case with 'MicroServicesRunner' since it is a
non-osgi environment, my OSGI service is not fetched.

4.Then we tried to write as an osgi test. Then it says it cannot find
'admin-portal' app


Is there a way we can deploy the uuf app when running the tests?(We are on
kernel 5.1.0)


Thanks
-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [UUF]Handling events of fragments

2017-03-18 Thread Denuwanthi De Silva
Hi,

As Rajith mentioned when using the short hand form of document ready
function [1] it works as expected.
When using [2] only it does not execute the public js of the fragment.




[1]$(function(){});
[2]

$(document).ready(function () {});

Thanks,


On Sat, Mar 18, 2017 at 4:06 PM, Rajith Roshan <raji...@wso2.com> wrote:

> Hi,
>
> I have used button register event on document ready[1] of the front end js
> which is inside the fragment(public/js) folder. This works fine for me. I
> haven't used success call back for event register.
>
>
> [1] - $(function () {
>
> $('#addThrottleBtn').on('click', addPolicyToBackend);
> });
>
> I think this should work for all fragments. If it's not working then its a
> bug right?
>
> Thanks!
> Rajith
>
> On Sat, Mar 18, 2017 at 3:48 PM, Manuranga Perera <m...@wso2.com> wrote:
>
>> Why does someone has to use a seccuess event? Can't they just put it in
>> public/js and get the same result ?
>>
>> On 18 Mar 2017 10:06, "Chandana Napagoda" <chand...@wso2.com> wrote:
>>
>> Hi Manu,
>>
>> This is not a bug in uuf client. Once js is dynamically loaded, they can
>> bind events from that javascript. You can verify it by modifying the sample
>> I have mentioned in my previous mail.
>>
>> BTW, could you please elaborate more on what you meant by "special"
>> fragments?
>>
>> Regards,
>> Chandana
>>
>> On Thu, Mar 16, 2017 at 5:12 PM, Manuranga Perera <m...@wso2.com> wrote:
>>
>>> Hi Denuwanthi, Rajith,
>>>
>>>> onCLick()
>>>
>>> Please don't do this, What I meant is to put in public/js dir inside the
>>> fragment, not in fragment hbs. No JS in HBS please, don't mix logic and
>>> pretension.
>>>
>>> Hi Napa, Sajith,
>>>
>>>> you should bind/initialize javascript events using the success event of
>>>> the renderFragment method.
>>>
>>> I don't think this is a good constraint, that means people have to write
>>> "spacial" fragments if they want to work with client side. UUF client
>>> should attach the script after it attaches the HBS, if not it's bug in UUF
>>> client.
>>>
>>> On Thu, Mar 16, 2017 at 4:22 AM, Denuwanthi De Silva <
>>> denuwan...@wso2.com> wrote:
>>>
>>>> Hi Chandana,
>>>>
>>>> Thank you, it works .
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> On Thu, Mar 16, 2017 at 9:46 AM, Chandana Napagoda <chand...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Denuwathi,
>>>>>
>>>>> As I explained offline, you should bind/initialize javascript events
>>>>> using the success event of the renderFragment method. As mentioned, please
>>>>> refer client-side fragment sample in the uuf-common sample app.
>>>>>
>>>>>
>>>>> Regards,
>>>>> Chandana
>>>>>
>>>>> On Thu, Mar 16, 2017 at 8:41 AM, Denuwanthi De Silva <
>>>>> denuwan...@wso2.com> wrote:
>>>>>
>>>>>> Thanks all for valuable suggestions.
>>>>>>
>>>>>> When rendering fragment via UUFClient, what we noticed is the
>>>>>> corresponding front-end js did not pickup.
>>>>>>
>>>>>> Therefore, as Rajith mentioned used the onCLick() in the button html
>>>>>> tag.
>>>>>> But it would be more easier if we can do the front-end js logic of
>>>>>> the fragment inside the fragment public js itself when using
>>>>>> UUFclient.renderFragment() method to load the fragment
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>>
>>>>>> On Tue, Mar 14, 2017 at 10:31 PM, Manuranga Perera <m...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Fragment is a self contained re usable component. I think its better
>>>>>>>> to  have the all the front end logic related to the fragment inside 
>>>>>>>> that
>>>>>>>> fragment.
>>>>>>>>
>>>>>>> +1
>>>>>>>
>>>>>>> On Tue, Mar 14, 2017 at 4:36 PM, Rajith Roshan <raji...@wso2.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi
>>>>>>>>
>>>

Re: [Dev] [UUF]Handling events of fragments

2017-03-19 Thread Denuwanthi De Silva
Hi Chandana,

Thank you for the clarification. That can be the issue.
AFAIK  $(function(){}); is normally referred as the short form of
document.ready, how come $(function(){}); is working and not document.ready?

Thanks

On Mon, Mar 20, 2017 at 10:45 AM, Chandana Napagoda <chand...@wso2.com>
wrote:

> HI Denuwanthi,
>
> AFAIK, "document ready" runs only once per page. Since your page is
> already loaded, it will not fire document ready event again.
>
> Regards,
> Chandana
>
> On Sat, Mar 18, 2017 at 6:50 PM, Denuwanthi De Silva <denuwan...@wso2.com>
> wrote:
>
>> Hi,
>>
>> As Rajith mentioned when using the short hand form of document ready
>> function [1] it works as expected.
>> When using [2] only it does not execute the public js of the fragment.
>>
>>
>>
>>
>> [1]$(function(){});
>> [2]
>>
>> $(document).ready(function () {});
>>
>> Thanks,
>>
>>
>> On Sat, Mar 18, 2017 at 4:06 PM, Rajith Roshan <raji...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> I have used button register event on document ready[1] of the front end
>>> js which is inside the fragment(public/js) folder. This works fine for me.
>>> I haven't used success call back for event register.
>>>
>>>
>>> [1] - $(function () {
>>>
>>> $('#addThrottleBtn').on('click', addPolicyToBackend);
>>> });
>>>
>>> I think this should work for all fragments. If it's not working then its
>>> a bug right?
>>>
>>> Thanks!
>>> Rajith
>>>
>>> On Sat, Mar 18, 2017 at 3:48 PM, Manuranga Perera <m...@wso2.com> wrote:
>>>
>>>> Why does someone has to use a seccuess event? Can't they just put it in
>>>> public/js and get the same result ?
>>>>
>>>> On 18 Mar 2017 10:06, "Chandana Napagoda" <chand...@wso2.com> wrote:
>>>>
>>>> Hi Manu,
>>>>
>>>> This is not a bug in uuf client. Once js is dynamically loaded, they
>>>> can bind events from that javascript. You can verify it by modifying the
>>>> sample I have mentioned in my previous mail.
>>>>
>>>> BTW, could you please elaborate more on what you meant by "special"
>>>> fragments?
>>>>
>>>> Regards,
>>>> Chandana
>>>>
>>>> On Thu, Mar 16, 2017 at 5:12 PM, Manuranga Perera <m...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Denuwanthi, Rajith,
>>>>>
>>>>>> onCLick()
>>>>>
>>>>> Please don't do this, What I meant is to put in public/js dir inside
>>>>> the fragment, not in fragment hbs. No JS in HBS please, don't mix logic 
>>>>> and
>>>>> pretension.
>>>>>
>>>>> Hi Napa, Sajith,
>>>>>
>>>>>> you should bind/initialize javascript events using the success event
>>>>>> of the renderFragment method.
>>>>>
>>>>> I don't think this is a good constraint, that means people have to
>>>>> write "spacial" fragments if they want to work with client side. UUF 
>>>>> client
>>>>> should attach the script after it attaches the HBS, if not it's bug in UUF
>>>>> client.
>>>>>
>>>>> On Thu, Mar 16, 2017 at 4:22 AM, Denuwanthi De Silva <
>>>>> denuwan...@wso2.com> wrote:
>>>>>
>>>>>> Hi Chandana,
>>>>>>
>>>>>> Thank you, it works .
>>>>>>
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> On Thu, Mar 16, 2017 at 9:46 AM, Chandana Napagoda <chand...@wso2.com
>>>>>> > wrote:
>>>>>>
>>>>>>> Hi Denuwathi,
>>>>>>>
>>>>>>> As I explained offline, you should bind/initialize javascript events
>>>>>>> using the success event of the renderFragment method. As mentioned, 
>>>>>>> please
>>>>>>> refer client-side fragment sample in the uuf-common sample app.
>>>>>>>
>>>>>>>
>>>>>>> Regards,
>>>>>>> Chandana
>>>>>>>
>>>>>>> On Thu, Mar 16, 2017 at 8:41 AM, Denuwanthi De Silva <
>>>>>>> denuwan...@wso2.com> wrote:
>>>

Re: [Dev] [UUF]Handling events of fragments

2017-03-15 Thread Denuwanthi De Silva
Thanks all for valuable suggestions.

When rendering fragment via UUFClient, what we noticed is the corresponding
front-end js did not pickup.

Therefore, as Rajith mentioned used the onCLick() in the button html tag.
But it would be more easier if we can do the front-end js logic of the
fragment inside the fragment public js itself when using
UUFclient.renderFragment() method to load the fragment

Thanks


On Tue, Mar 14, 2017 at 10:31 PM, Manuranga Perera <m...@wso2.com> wrote:

> Fragment is a self contained re usable component. I think its better to
>>  have the all the front end logic related to the fragment inside that
>> fragment.
>>
> +1
>
> On Tue, Mar 14, 2017 at 4:36 PM, Rajith Roshan <raji...@wso2.com> wrote:
>
>> Hi
>>
>> On Tue, Mar 14, 2017 at 7:32 PM, Denuwanthi De Silva <denuwan...@wso2.com
>> > wrote:
>>
>>> Hi,
>>>
>>> I'm currently rendering a fragment inside a page using
>>> 'UUFClient.renderFragment' method.
>>> Then I display it in the page using "{{#defineZone}} helper.
>>>
>>> This fragment contains a button.
>>> When I click that button I need to do an ajax call to a micro service.
>>>
>>> I make the ajax call inside the front-end js of the current page.
>>> This seems not to be working, as the button is in the fragment.
>>>
>> This is may be due to, by the time you are registering the on click event
>> for button the dom does not actually have the button element, since
>> uufrender client works asynchronously.
>> If you use onclick attribute on the button element itself and write your
>> logic in the current page then this should work. No need to move it to the
>> fragment.
>>
>>>
>>> So, is it ok to define a front-end js in the fragment and do the ajax
>>> call from it, instead of the front-end js of the current page .?
>>>
>>
>> Fragment is a self contained re usable component. I think its better to
>>  have the all the front end logic related to the fragment inside that
>> fragment.
>>
>>>
>>>
>>> Thanks
>>>
>>> --
>>> Denuwanthi De Silva
>>> Senior Software Engineer;
>>> WSO2 Inc.; http://wso2.com,
>>> Email: denuwan...@wso2.com
>>> Blog: https://denuwanthi.wordpress.com/
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Rajith Roshan
>> Software Engineer, WSO2 Inc.
>> Mobile: +94-72-642-8350 <%2B94-71-554-8430>
>>
>
>
>
> --
> With regards,
> *Manu*ranga Perera.
>
> phone : 071 7 70 20 50
> mail : m...@wso2.com
>



-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [UUF]Handling events of fragments

2017-03-15 Thread Denuwanthi De Silva
Hi Chandana,

Thank you, it works .


Thanks,

On Thu, Mar 16, 2017 at 9:46 AM, Chandana Napagoda <chand...@wso2.com>
wrote:

> Hi Denuwathi,
>
> As I explained offline, you should bind/initialize javascript events using
> the success event of the renderFragment method. As mentioned, please refer
> client-side fragment sample in the uuf-common sample app.
>
>
> Regards,
> Chandana
>
> On Thu, Mar 16, 2017 at 8:41 AM, Denuwanthi De Silva <denuwan...@wso2.com>
> wrote:
>
>> Thanks all for valuable suggestions.
>>
>> When rendering fragment via UUFClient, what we noticed is the
>> corresponding front-end js did not pickup.
>>
>> Therefore, as Rajith mentioned used the onCLick() in the button html tag.
>> But it would be more easier if we can do the front-end js logic of the
>> fragment inside the fragment public js itself when using
>> UUFclient.renderFragment() method to load the fragment
>>
>> Thanks
>>
>>
>> On Tue, Mar 14, 2017 at 10:31 PM, Manuranga Perera <m...@wso2.com> wrote:
>>
>>> Fragment is a self contained re usable component. I think its better to
>>>>  have the all the front end logic related to the fragment inside that
>>>> fragment.
>>>>
>>> +1
>>>
>>> On Tue, Mar 14, 2017 at 4:36 PM, Rajith Roshan <raji...@wso2.com> wrote:
>>>
>>>> Hi
>>>>
>>>> On Tue, Mar 14, 2017 at 7:32 PM, Denuwanthi De Silva <
>>>> denuwan...@wso2.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I'm currently rendering a fragment inside a page using
>>>>> 'UUFClient.renderFragment' method.
>>>>> Then I display it in the page using "{{#defineZone}} helper.
>>>>>
>>>>> This fragment contains a button.
>>>>> When I click that button I need to do an ajax call to a micro service.
>>>>>
>>>>> I make the ajax call inside the front-end js of the current page.
>>>>> This seems not to be working, as the button is in the fragment.
>>>>>
>>>> This is may be due to, by the time you are registering the on click
>>>> event for button the dom does not actually have the button element, since
>>>> uufrender client works asynchronously.
>>>> If you use onclick attribute on the button element itself and write
>>>> your logic in the current page then this should work. No need to move it to
>>>> the fragment.
>>>>
>>>>>
>>>>> So, is it ok to define a front-end js in the fragment and do the ajax
>>>>> call from it, instead of the front-end js of the current page .?
>>>>>
>>>>
>>>> Fragment is a self contained re usable component. I think its better to
>>>>  have the all the front end logic related to the fragment inside that
>>>> fragment.
>>>>
>>>>>
>>>>>
>>>>> Thanks
>>>>>
>>>>> --
>>>>> Denuwanthi De Silva
>>>>> Senior Software Engineer;
>>>>> WSO2 Inc.; http://wso2.com,
>>>>> Email: denuwan...@wso2.com
>>>>> Blog: https://denuwanthi.wordpress.com/
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Rajith Roshan
>>>> Software Engineer, WSO2 Inc.
>>>> Mobile: +94-72-642-8350 <%2B94-71-554-8430>
>>>>
>>>
>>>
>>>
>>> --
>>> With regards,
>>> *Manu*ranga Perera.
>>>
>>> phone : 071 7 70 20 50
>>> mail : m...@wso2.com
>>>
>>
>>
>>
>> --
>> Denuwanthi De Silva
>> Senior Software Engineer;
>> WSO2 Inc.; http://wso2.com,
>> Email: denuwan...@wso2.com
>> Blog: https://denuwanthi.wordpress.com/
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Chandana Napagoda*
> Associate Technical Lead
> WSO2 Inc. - http://wso2.org
>
> *Email  :  chand...@wso2.com <chand...@wso2.com>**Mobile : +94718169299
> <+94%2071%20816%209299>*
>
> *Blog  :http://cnapagoda.blogspot.com <http://cnapagoda.blogspot.com>
> | http://chandana.napagoda.com <http://chandana.napagoda.com>*
>
> *Linkedin : http://www.linkedin.com/in/chandananapagoda
> <http://www.linkedin.com/in/chandananapagoda>*
>
>


-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [UUF]Handling events of fragments

2017-03-14 Thread Denuwanthi De Silva
Hi,

I'm currently rendering a fragment inside a page using
'UUFClient.renderFragment' method.
Then I display it in the page using "{{#defineZone}} helper.

This fragment contains a button.
When I click that button I need to do an ajax call to a micro service.

I make the ajax call inside the front-end js of the current page.
This seems not to be working, as the button is in the fragment.

So, is it ok to define a front-end js in the fragment and do the ajax call
from it, instead of the front-end js of the current page .?


Thanks

-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [UUF] How to handle multiple form submits within one page

2017-03-10 Thread Denuwanthi De Silva
Hi,

I have a requirement where I have two form submit buttons in my page.
Please refer to "Generate Password" and "Add User" buttons in  the
wireframe [1].







-When click the "Generate Password" button, a call to onPost() method will
happen.
 Inside that we need to do necessary backend callings to generate the
password.

-Once the password is generated, and all other text boxes are filled, we
need to click the "Add User" button.
This will also call the same onPost() method.
This time the logic inside onPost will need to do a different set of logic
and calls.

*So, the same onPost() method will get called twice.*

1.What is the way to identify these two buttons seprately in the backend js
onPost() method?

2. As an alternative approach, can we use a fragment to hold the  "Generate
Password" button and its text box.
   Then we can handle button submits related to that button inside the
backend js of that fragment.


Do we have any other alternative approach to handle this kind of scenarios?



[1]https://raw.githubusercontent.com/wso2-dev-ux/product-is/master/
Wireframes/admin-portal/v2/3.1%20Add%20users%20-%20manually.png

Thanks,
-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [UUF] How to handle multiple form submits within one page

2017-03-10 Thread Denuwanthi De Silva
Hi all,

Thank you for the valuable suggestions.
I too think calling a micro service via ajax would be a better solution.

Thanks


On Fri, Mar 10, 2017 at 10:00 PM, Danushka Fernando <danush...@wso2.com>
wrote:

> +1 to use ajax when generate password. When generating a complex pass via
> some tool it will be annoying if browser redirection occurs. I am not too
> sure about security issues that can raise if we do it in front end. But
> ajax is the better option IMHO.
>
> Thanks & Regards
> Danushka Fernando
> Senior Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729 <+94%2071%20633%202729>
>
> On Fri, Mar 10, 2017 at 9:02 PM, Manuranga Perera <m...@wso2.com> wrote:
>
>> 1) Technically it can be done [1] , but i don't think it's very good
>> idea. Generating a password is not really a submit, is it?
>>
> Yes agree.

> I would prefer if you generate password in frontend eg [2] OR write a
>> password generation service and call it using ajax
>>
>> 2) Fragment is just way to organize code, browser has no idea of it.
>> Fragments will help you with code reusability, nothing else.
>>
>> [1] http://stackoverflow.com/questions/547821/two-submit-buttons
>> -in-one-form
>> [2] https://github.com/bermi/password-generator
>>
>> On Fri, Mar 10, 2017 at 2:46 PM, Denuwanthi De Silva <denuwan...@wso2.com
>> > wrote:
>>
>>> Hi,
>>>
>>> I have a requirement where I have two form submit buttons in my page.
>>> Please refer to "Generate Password" and "Add User" buttons in  the
>>> wireframe [1].
>>>
>>> >> name="generatePassword"
>>>id="generatePassword" value="Generate Password"/>
>>>
>>> >> name="addUser" value="Add User"/>
>>>
>>>
>>>
>>> -When click the "Generate Password" button, a call to onPost() method
>>> will happen.
>>>  Inside that we need to do necessary backend callings to generate the
>>> password.
>>>
>>> -Once the password is generated, and all other text boxes are filled, we
>>> need to click the "Add User" button.
>>> This will also call the same onPost() method.
>>> This time the logic inside onPost will need to do a different set of
>>> logic and calls.
>>>
>>> *So, the same onPost() method will get called twice.*
>>>
>>> 1.What is the way to identify these two buttons seprately in the backend
>>> js onPost() method?
>>>
>>> 2. As an alternative approach, can we use a fragment to hold the
>>> "Generate Password" button and its text box.
>>>Then we can handle button submits related to that button inside the
>>> backend js of that fragment.
>>>
>>>
>>> Do we have any other alternative approach to handle this kind of
>>> scenarios?
>>>
>>>
>>>
>>> [1]https://raw.githubusercontent.com/wso2-dev-ux/product-is/
>>> master/Wireframes/admin-portal/v2/3.1%20Add%20users%20-%20manually.png
>>>
>>> Thanks,
>>> --
>>> Denuwanthi De Silva
>>> Senior Software Engineer;
>>> WSO2 Inc.; http://wso2.com,
>>> Email: denuwan...@wso2.com
>>> Blog: https://denuwanthi.wordpress.com/
>>>
>>
>>
>>
>> --
>> With regards,
>> *Manu*ranga Perera.
>>
>> phone : 071 7 70 20 50
>> mail : m...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [UUF] Handling Tab view

2017-03-06 Thread Denuwanthi De Silva
Hi,

We need to provide a tab like view as in [1].
When moving between each tab  we plan to load a page.

Is there a notation where we can insert a page inside the tab similar to
fragment notation?
or any other approach to achieve this behavior?



Overview












[1]
https://raw.githubusercontent.com/wso2-dev-ux/product-is/master/Wireframes/admin-portal/v2/2.1%20Landing%20page%20-%20with%20no%20existing%20users.png

-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [UUF] Handling Tab view

2017-03-06 Thread Denuwanthi De Silva
Thank you for the detailed description Sajith.

On Mon, Mar 6, 2017 at 6:47 PM, SajithAR Ariyarathna <sajit...@wso2.com>
wrote:

> I think you have misunderstood the page concept. In UUF, Page is the whole
> thing (markup) that covers the browser window. So you *cannot* insert a
> page into another page.
>
> With that in mind, let's brak down the UI in [1].
>
> - Left pane has 4 links, seems that those are app level menus. So, IMO
> each link should have a separate page.
>
> - Top bar (logo, product name, and usermenu), breadcrumbs, and right-side
> menu will be the same for all pages. Then we can put the markup for those
> into a layout and use that layout in pages (e.g. overview page, users page).
>
> - You can configure the menu in the app.yaml (see pets-store, features-app
> samples). And using the {{#menu }} helper, you can populate the menu (see
> sample apps)
>
> Thanks.
>
>
> On Mon, Mar 6, 2017 at 6:15 PM, Denuwanthi De Silva <denuwan...@wso2.com>
> wrote:
>
>> Hi,
>>
>> We need to provide a tab like view as in [1].
>> When moving between each tab  we plan to load a page.
>>
>> Is there a notation where we can insert a page inside the tab similar to
>> fragment notation?
>> or any other approach to achieve this behavior?
>>
>>
>> 
>> Overview
>>
>> 
>> 
>>
>> 
>>
>> 
>> 
>>
>>
>>
>>
>> [1]https://raw.githubusercontent.com/wso2-dev-ux/product-is/
>> master/Wireframes/admin-portal/v2/2.1%20Landing%20page%20-%20with%20no%
>> 20existing%20users.png
>>
>> --
>> Denuwanthi De Silva
>> Senior Software Engineer;
>> WSO2 Inc.; http://wso2.com,
>> Email: denuwan...@wso2.com
>> Blog: https://denuwanthi.wordpress.com/
>>
>
>
>
> --
> Sajith Janaprasad Ariyarathna
> Software Engineer; WSO2, Inc.;  http://wso2.com/
> <https://wso2.com/signature>
>



-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] uuf maven plugin version of carbon-uuf and uuf-commons

2017-03-06 Thread Denuwanthi De Silva
Hi KasunG,

On Mon, Mar 6, 2017 at 11:12 AM, SajithAR Ariyarathna <sajit...@wso2.com>
wrote:

> [+Chandana]
>
> On Mon, Mar 6, 2017 at 11:06 AM, KasunG Gajasinghe <kas...@wso2.com>
> wrote:
>
>> Hi Denuwanthi,
>>
>> Will this affect the IS admin portal development? If so, on what degree?
>>
> I built with those versions, and did not come across on any issues yet.

>
>> Thanks.
>>
>> On Mon, Mar 6, 2017 at 10:42 AM, Denuwanthi De Silva <denuwan...@wso2.com
>> > wrote:
>>
>>> Hi,
>>>
>>> IS 6.0.0 M5 development will be moving from carbon-uuf version m12 to
>>> m13.
>>> In compliance with that we will move the carbon-uuf-common version to
>>> 1.0.0-m5.
>>>
>>> In carbon-uuf, the cabon-uuf-maven-plugin version is set to 1.0.0-m11
>>> [1],
>>> while carbon-uuf-common has cabon-uuf-maven-plugin version set to
>>> 1.0.0-m10 [2].
>>>
>>> Do we need to update the cabon-uuf-maven-plugin version on
>>> carbon-uuf-common? or is it ok to proceed with carbon-uuf m13 and
>>> uuf-commons m5?
>>>
>>>
>>>
>>> [1]https://github.com/wso2/carbon-uuf/blob/v1.0.0-m13/pom.xml#L614
>>> [2]https://github.com/wso2/carbon-uuf-common/blob/v1.0.0-m5/pom.xml#L129
>>>
>>>
>>> Thanks
>>> --
>>> Denuwanthi De Silva
>>> Senior Software Engineer;
>>> WSO2 Inc.; http://wso2.com,
>>> Email: denuwan...@wso2.com
>>> Blog: https://denuwanthi.wordpress.com/
>>>
>>
>>
>>
>> --
>>
>> *Kasun Gajasinghe*Associate Technical Lead, WSO2 Inc.
>> email: kasung AT spamfree wso2.com
>> linked-in: http://lk.linkedin.com/in/gajasinghe
>> blog: http://kasunbg.org
>> phone: +1 650-745-4499 <(650)%20745-4499>, 77 678 0813
>>
>>
>
>
>
> --
> Sajith Janaprasad Ariyarathna
> Software Engineer; WSO2, Inc.;  http://wso2.com/
> <https://wso2.com/signature>
>



-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] uuf maven plugin version of carbon-uuf and uuf-commons

2017-03-06 Thread Denuwanthi De Silva
Hi,

IS 6.0.0 M5 development will be moving from carbon-uuf version m12 to m13.
In compliance with that we will move the carbon-uuf-common version to
1.0.0-m5.

In carbon-uuf, the cabon-uuf-maven-plugin version is set to 1.0.0-m11 [1],
while carbon-uuf-common has cabon-uuf-maven-plugin version set to 1.0.0-m10
[2].

Do we need to update the cabon-uuf-maven-plugin version on
carbon-uuf-common? or is it ok to proceed with carbon-uuf m13 and
uuf-commons m5?



[1]https://github.com/wso2/carbon-uuf/blob/v1.0.0-m13/pom.xml#L614
[2]https://github.com/wso2/carbon-uuf-common/blob/v1.0.0-m5/pom.xml#L129


Thanks
-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [UUF] Handling Tab view

2017-03-06 Thread Denuwanthi De Silva
On Mon, Mar 6, 2017 at 6:51 PM, Denuwanthi De Silva <denuwan...@wso2.com>
wrote:

> Thank you for the detailed description Sajith.
>
>
> On Mon, Mar 6, 2017 at 6:47 PM, SajithAR Ariyarathna <sajit...@wso2.com>
> wrote:
>
>> I think you have misunderstood the page concept. In UUF, Page is the
>> whole thing (markup) that covers the browser window. So you *cannot*
>> insert a page into another page.
>>
>> With that in mind, let's brak down the UI in [1].
>>
>> - Left pane has 4 links, seems that those are app level menus. So, IMO
>> each link should have a separate page.
>>
>> +1 to have separate page for each app menu.
But that would make the left side 4 menus to disappear each time we go
inside each menu due to directing to a new page.
As you can see in [2] & [3], the left side menu remains even if we navigate
from "User" to "Group" menu.

So, does that mean we have to go to a fragment approach inorder to keep the
left menu while navigating (since we cannot load a page inside another
page) ?



[2]
https://raw.githubusercontent.com/wso2-dev-ux/product-is/master/Wireframes/admin-portal/v2/3.3%20Add%20users%20-%20options.png
[3]
https://raw.githubusercontent.com/wso2-dev-ux/product-is/master/Wireframes/admin-portal/v2/4.3%20Group%20Listing.png

- Top bar (logo, product name, and usermenu), breadcrumbs, and right-side
>> menu will be the same for all pages. Then we can put the markup for those
>> into a layout and use that layout in pages (e.g. overview page, users page).
>>
>> - You can configure the menu in the app.yaml (see pets-store,
>> features-app samples). And using the {{#menu }} helper, you can populate
>> the menu (see sample apps)
>>
>> Thanks.
>>
>>
>> On Mon, Mar 6, 2017 at 6:15 PM, Denuwanthi De Silva <denuwan...@wso2.com>
>> wrote:
>>
>>> Hi,
>>>
>>> We need to provide a tab like view as in [1].
>>> When moving between each tab  we plan to load a page.
>>>
>>> Is there a notation where we can insert a page inside the tab similar to
>>> fragment notation?
>>> or any other approach to achieve this behavior?
>>>
>>>
>>> 
>>> Overview
>>>
>>> 
>>> 
>>>
>>> 
>>>
>>> 
>>> 
>>>
>>>
>>>
>>>
>>> [1]https://raw.githubusercontent.com/wso2-dev-ux/product-is/
>>> master/Wireframes/admin-portal/v2/2.1%20Landing%20page%20-%
>>> 20with%20no%20existing%20users.png
>>>
>>> --
>>> Denuwanthi De Silva
>>> Senior Software Engineer;
>>> WSO2 Inc.; http://wso2.com,
>>> Email: denuwan...@wso2.com
>>> Blog: https://denuwanthi.wordpress.com/
>>>
>>
>>
>>
>> --
>> Sajith Janaprasad Ariyarathna
>> Software Engineer; WSO2, Inc.;  http://wso2.com/
>> <https://wso2.com/signature>
>>
>
>
>
> --
> Denuwanthi De Silva
> Senior Software Engineer;
> WSO2 Inc.; http://wso2.com,
> Email: denuwan...@wso2.com
> Blog: https://denuwanthi.wordpress.com/
>



-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [UUF] Handling Tab view

2017-03-06 Thread Denuwanthi De Silva
Hi Manuranga,

Yes I'm planning to use menu helper, since that seems to be the  way to
render the menus with each page loading.
If there is any other approach, we can try that too.

Thanks

On Mon, Mar 6, 2017 at 10:18 PM, Manuranga Perera <m...@wso2.com> wrote:

> Hi Denuwanthi,
> Are you planing to use menu helper ?
>
> On Mon, Mar 6, 2017 at 4:14 PM, SajithAR Ariyarathna <sajit...@wso2.com>
> wrote:
>
>> Hi Manu,
>>
>> On Mon, Mar 6, 2017 at 9:11 PM, Manuranga Perera <m...@wso2.com> wrote:
>>
>>> @Sajith
>>> * Can we use the menu helper ?
>>>
>> We have used the menu helper in the sample apps.
>>
>>> * AFAIK menu helper doesn't support a @selected attribute, to highlight
>>> current tab, don't we need to implement it?
>>>
>> Correct, ATM we don't support '@selected'. I think we can support it
>> easily.
>>
>>
>>>
>>> On Mon, Mar 6, 2017 at 2:52 PM, SajithAR Ariyarathna <sajit...@wso2.com>
>>> wrote:
>>>
>>>>
>>>>
>>>> On Mon, Mar 6, 2017 at 8:17 PM, Denuwanthi De Silva <
>>>> denuwan...@wso2.com> wrote:
>>>>
>>>>>
>>>>>
>>>>> On Mon, Mar 6, 2017 at 6:51 PM, Denuwanthi De Silva <
>>>>> denuwan...@wso2.com> wrote:
>>>>>
>>>>>> Thank you for the detailed description Sajith.
>>>>>>
>>>>>>
>>>>>> On Mon, Mar 6, 2017 at 6:47 PM, SajithAR Ariyarathna <
>>>>>> sajit...@wso2.com> wrote:
>>>>>>
>>>>>>> I think you have misunderstood the page concept. In UUF, Page is the
>>>>>>> whole thing (markup) that covers the browser window. So you *cannot*
>>>>>>> insert a page into another page.
>>>>>>>
>>>>>>> With that in mind, let's brak down the UI in [1].
>>>>>>>
>>>>>>> - Left pane has 4 links, seems that those are app level menus. So,
>>>>>>> IMO each link should have a separate page.
>>>>>>>
>>>>>>> +1 to have separate page for each app menu.
>>>>> But that would make the left side 4 menus to disappear each time we go
>>>>> inside each menu due to directing to a new page.
>>>>> As you can see in [2] & [3], the left side menu remains even if we
>>>>> navigate from "User" to "Group" menu.
>>>>>
>>>>> So, does that mean we have to go to a fragment approach inorder to
>>>>> keep the left menu while navigating (since we cannot load a page inside
>>>>> another page) ?
>>>>>
>>>>> No need for a fragment based approach. Please look at my second point,
>>>> the answer is there :)
>>>>
>>>>> - Top bar (logo, product name, and usermenu), breadcrumbs, and *right-side
>>>>> menu will be the same for all pages*. Then we can put the markup for
>>>>> those into a layout and use that layout in pages (e.g. overview page, 
>>>>> users
>>>>> page).
>>>>
>>>>  So, having the menu in the layout will make it appear on all 4 pages.
>>>>
>>>> Thanks.
>>>>
>>>>>
>>>>>
>>>>> [2]https://raw.githubusercontent.com/wso2-dev-ux/product-is/
>>>>> master/Wireframes/admin-portal/v2/3.3%20Add%20users%20-%20options.png
>>>>> [3]https://raw.githubusercontent.com/wso2-dev-ux/product-is/
>>>>> master/Wireframes/admin-portal/v2/4.3%20Group%20Listing.png
>>>>>
>>>>> - Top bar (logo, product name, and usermenu), breadcrumbs, and
>>>>>>> right-side menu will be the same for all pages. Then we can put the 
>>>>>>> markup
>>>>>>> for those into a layout and use that layout in pages (e.g. overview 
>>>>>>> page,
>>>>>>> users page).
>>>>>>>
>>>>>>> - You can configure the menu in the app.yaml (see pets-store,
>>>>>>> features-app samples). And using the {{#menu }} helper, you can populate
>>>>>>> the menu (see sample apps)
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Mar 6, 2017 at 6:15 PM, Denuwanthi De Silva <
>>>>>>> denuwan...@wso2.

Re: [Dev] [UUF] Handling Tab view

2017-03-07 Thread Denuwanthi De Silva
Hi,

I used the menu helper for the leftside menu generation in our layout
currently.
Will we get the '@selected' support with the coming uuf release?

Thanks,



On Tue, Mar 7, 2017 at 8:44 AM, Denuwanthi De Silva <denuwan...@wso2.com>
wrote:

> Hi Manuranga,
>
> Yes I'm planning to use menu helper, since that seems to be the  way to
> render the menus with each page loading.
> If there is any other approach, we can try that too.
>
> Thanks
>
> On Mon, Mar 6, 2017 at 10:18 PM, Manuranga Perera <m...@wso2.com> wrote:
>
>> Hi Denuwanthi,
>> Are you planing to use menu helper ?
>>
>> On Mon, Mar 6, 2017 at 4:14 PM, SajithAR Ariyarathna <sajit...@wso2.com>
>> wrote:
>>
>>> Hi Manu,
>>>
>>> On Mon, Mar 6, 2017 at 9:11 PM, Manuranga Perera <m...@wso2.com> wrote:
>>>
>>>> @Sajith
>>>> * Can we use the menu helper ?
>>>>
>>> We have used the menu helper in the sample apps.
>>>
>>>> * AFAIK menu helper doesn't support a @selected attribute, to highlight
>>>> current tab, don't we need to implement it?
>>>>
>>> Correct, ATM we don't support '@selected'. I think we can support it
>>> easily.
>>>
>>>
>>>>
>>>> On Mon, Mar 6, 2017 at 2:52 PM, SajithAR Ariyarathna <sajit...@wso2.com
>>>> > wrote:
>>>>
>>>>>
>>>>>
>>>>> On Mon, Mar 6, 2017 at 8:17 PM, Denuwanthi De Silva <
>>>>> denuwan...@wso2.com> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, Mar 6, 2017 at 6:51 PM, Denuwanthi De Silva <
>>>>>> denuwan...@wso2.com> wrote:
>>>>>>
>>>>>>> Thank you for the detailed description Sajith.
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Mar 6, 2017 at 6:47 PM, SajithAR Ariyarathna <
>>>>>>> sajit...@wso2.com> wrote:
>>>>>>>
>>>>>>>> I think you have misunderstood the page concept. In UUF, Page is
>>>>>>>> the whole thing (markup) that covers the browser window. So you
>>>>>>>> *cannot* insert a page into another page.
>>>>>>>>
>>>>>>>> With that in mind, let's brak down the UI in [1].
>>>>>>>>
>>>>>>>> - Left pane has 4 links, seems that those are app level menus. So,
>>>>>>>> IMO each link should have a separate page.
>>>>>>>>
>>>>>>>> +1 to have separate page for each app menu.
>>>>>> But that would make the left side 4 menus to disappear each time we
>>>>>> go inside each menu due to directing to a new page.
>>>>>> As you can see in [2] & [3], the left side menu remains even if we
>>>>>> navigate from "User" to "Group" menu.
>>>>>>
>>>>>> So, does that mean we have to go to a fragment approach inorder to
>>>>>> keep the left menu while navigating (since we cannot load a page inside
>>>>>> another page) ?
>>>>>>
>>>>>> No need for a fragment based approach. Please look at my second
>>>>> point, the answer is there :)
>>>>>
>>>>>> - Top bar (logo, product name, and usermenu), breadcrumbs, and 
>>>>>> *right-side
>>>>>> menu will be the same for all pages*. Then we can put the markup for
>>>>>> those into a layout and use that layout in pages (e.g. overview page, 
>>>>>> users
>>>>>> page).
>>>>>
>>>>>  So, having the menu in the layout will make it appear on all 4 pages.
>>>>>
>>>>> Thanks.
>>>>>
>>>>>>
>>>>>>
>>>>>> [2]https://raw.githubusercontent.com/wso2-dev-ux/product-is/
>>>>>> master/Wireframes/admin-portal/v2/3.3%20Add%20users%20-%20options.png
>>>>>> [3]https://raw.githubusercontent.com/wso2-dev-ux/product-is/
>>>>>> master/Wireframes/admin-portal/v2/4.3%20Group%20Listing.png
>>>>>>
>>>>>> - Top bar (logo, product name, and usermenu), breadcrumbs, and
>>>>>>>> right-side menu will be the same for all pages. Then we can put the 
>>>>>>>> markup
>>>>>>>> for those into 

[Dev] [APIM]Source code of entitlement jar file

2017-07-12 Thread Denuwanthi De Silva
Hi,

When referring document[1] to enable RBAC using XACML in APIM, it mentions
to add ' entitlement-1.0-SNAPSHOT JAR' file. In the doc the link for the
JAR is provided.
But where can I get the source repository of this jar?

I checked in carbon-apimgt & product-apim. Couldn't find.
Appreciate if some one can point me to the source of it?


[1]
https://docs.wso2.com/display/AM210/Enabling+Role-Based+Access+Control+Using+XACML


Thanks
-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Handling required claims in ID Token

2017-07-04 Thread Denuwanthi De Silva
Hi,

In OIDC spec,following claims are mentioned as mandatory.
-iss
-sub
-aud
-exp
-iat

Currently as mentioned in jira [1], it is possible to write custom OAuth2
grant type which returns IDToken without "sub" claim.

When we handle this scenario, there is a small concern
 that need to be clarified.

-When analyze the spec we could  not find any instance where it mentioned
the error message to display in such a scenario.
In that case, shall we come up with *new error message*?
{"error_description":"custom description.","error":"custom_error"}

- or throw a server exception and send the standard *server error* message ?
ex:
{"error_description":"Internal Server Error.","error":"server_error"}


Appreciate any input on how to proceed with this.

[1]https://wso2.org/jira/browse/IDENTITY-6088
[2]http://openid.net/specs/openid-connect-core-1_0.html#IDToken

Thanks,
-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Handling required claims in ID Token

2017-07-04 Thread Denuwanthi De Silva
Thank you Sagara for the response.
Yes, as you mentioned it means logical to use the server error response.
will proceed with that.


Thanks,

On Tue, Jul 4, 2017 at 7:08 PM, Sagara Gunathunga <sag...@wso2.com> wrote:

>
>
> On Tue, Jul 4, 2017 at 6:54 PM, Denuwanthi De Silva <denuwan...@wso2.com>
> wrote:
>
>> Hi,
>>
>> In OIDC spec,following claims are mentioned as mandatory.
>> -iss
>> -sub
>> -aud
>> -exp
>> -iat
>>
>> Currently as mentioned in jira [1], it is possible to write custom OAuth2
>> grant type which returns IDToken without "sub" claim.
>>
>> When we handle this scenario, there is a small concern
>>  that need to be clarified.
>>
>> -When analyze the spec we could  not find any instance where it mentioned
>> the error message to display in such a scenario.
>> In that case, shall we come up with *new error message*?
>> {"error_description":"custom description.","error":"custom_error"}
>>
>> - or throw a server exception and send the standard *server error*
>> message ?
>> ex:
>> {"error_description":"Internal Server Error.","error":"server_error"}
>>
>
> IMO what happen here is, server can not generate valid IDToken.  "Internal
> Server Error " can properly describe this behavior  so better to use that
> code, returning custom code may cause  interoperability  issues as well.
>
> Thanks !
>
>>
>>
>> Appreciate any input on how to proceed with this.
>>
>> [1]https://wso2.org/jira/browse/IDENTITY-6088
>> [2]http://openid.net/specs/openid-connect-core-1_0.html#IDToken
>>
>> Thanks,
>> --
>> Denuwanthi De Silva
>> Senior Software Engineer;
>> WSO2 Inc.; http://wso2.com,
>> Email: denuwan...@wso2.com
>> Blog: https://denuwanthi.wordpress.com/
>>
>
>
>
> --
> Sagara Gunathunga
>
> Associate Director / Architect; WSO2, Inc.;  http://wso2.com
> V.P Apache Web Services;http://ws.apache.org/
> Linkedin; http://www.linkedin.com/in/ssagara
> Blog ;  http://ssagara.blogspot.com
>
>


-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Warning log in server startup regarding the secondary userstore

2017-10-23 Thread Denuwanthi De Silva
Hi Isura,

I don't have the specific file with me now as this was reported around
month ago.
But I directly used the UI as shown the screen shot to add the userstore.
And the userstore is a JDBC userstore on ORACLE.
Thanks,

On Mon, Oct 23, 2017 at 11:07 PM, Isura Karunaratne <is...@wso2.com> wrote:

> Hi Denuwanthi,
>
> I tried to reproduce the issue [1], but I couldn't. Please upload the
> user-store config file used to create the secondary user store for further
> analysis?
>
>
> [1] https://wso2.org/jira/browse/IDENTITY-6449
>
> --
>
> *Isura Dilhara Karunaratne*
> Associate Technical Lead | WSO2
> Email: is...@wso2.com
> Mob : +94 772 254 810 <+94%2077%20225%204810>
> Blog : http://isurad.blogspot.com/
>
>
>
>


-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to Write a XACML policy to restrict user admin operations on user stores

2017-12-05 Thread Denuwanthi De Silva
Hi,

You can define userstore in XACML in follwoing format





http://wso2.org/identity/user/user-store-domain
<http://wso2.org/identity/user/user-store-domain>*" Category="
http://wso2.org/identity/user; DataType="
http://www.w3.org/2001/XMLSchema#string; MustBePresent="true">


*http://www.w3.org/2001/XMLSchema#string
<http://www.w3.org/2001/XMLSchema#string>">SECONDARY-USERSTORE*





You can get more information on XACML in blog[1].

[1]
https://medium.com/@Pushpalanka/application-wise-authorization-wso2-identity-server-user-store-per-service-provider-dfea5f9ad758

On Tue, Dec 5, 2017 at 9:51 PM, Shanika Wickramasinghe <shani...@wso2.com>
wrote:

> Hi All,
> I am implementing scenario 30 in [1]
>
> by default user store admins can perform operation on users of other user
> stores. i want to write a xacml policy to restrict user admins to perform
> operation only on his user store and they should not be able to perform
> operations on other user stores. As a example consider the following
> scenario
>
> Eg:-  There are 2 JDBC secondary user stores as foo and bar. foo user
> store has a role with admin permissions as foo admin and bar userstore has
> a role with admin permissions as bar admin. foo admin should be able to
> delete a user in foo user store and bar admin should not be able to delete
> that user. Appreciate your guidance on following questions
>
> 1. How to specify action delete user in a xacml policy
> 2. How to give the user store on which that action should happen
> 3. How to call PDP from the user store operation listener
>
>
> [1]. https://medium.facilelogin.com/thirty-solution-patterns-with-the-
> wso2-identity-server-16f9fd0c0389
>
> Thank you,
> Shanika.
> --
> *Shanika Wickramasinghe*
> Software Engineer - QA Team
>
> Email: shani...@wso2.com
> Mobile  : +94713503563 <+94%2071%20350%203563>
> Web : http://wso2.com
>
> <http://wso2.com/signature>
>



-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to Write a XACML policy to restrict user admin operations on user stores

2017-12-06 Thread Denuwanthi De Silva
You can create a custom listener by extending '
AbstractIdentityUserOperationEventListener'.

Our default provisioning listener is written in that way[1].
You can refer that and create your custom listener and overide the method
you would like to invoke the XACML PDP.

You can invoke the PDP using our 'EntitlementService' api.[2]



[1]
https://github.com/wso2/carbon-identity-framework/blob/master/components/provisioning/org.wso2.carbon.identity.provisioning/src/main/java/org/wso2/carbon/identity/provisioning/listener/DefaultInboundUserProvisioningListener.java#L51
[2]https://docs.wso2.com/display/IS530/Entitlement+with+APIs

Thanks,

On Wed, Dec 6, 2017 at 12:41 PM, Shanika Wickramasinghe <shani...@wso2.com>
wrote:

> Hi,
>
> Thank you for the clarification. This is the procedure that I followed.
>
> 1. Created a JDBC user store as JDBC1 and created a user and assigned a
> role as admin1 by giving admin permissions from the permission tree
> 2. Created another JDBC user store as JDBC2 and created a user and
> assigned a role as admin2 by giving admin permissions from the permission
> tree
> 3. Created a XACML policy as follows to allow write actions on JDBC1 for
> admin1 and restricted others
>
>
> * PolicyId="abc"
> RuleCombiningAlgId="urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:deny-unless-permit"
> Version="1.0">*
> *   This is a policy to restrict admins operations on user
> stores*
> *   *
> *  *
> * *
> * MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal">*
> *DataType="http://www.w3.org/2001/XMLSchema#string
> <http://www.w3.org/2001/XMLSchema#string>">write*
> *AttributeId="http://wso2.org/identity/identity-action/action-name
> <http://wso2.org/identity/identity-action/action-name>"
> Category="http://wso2.org/identity/identity-action
> <http://wso2.org/identity/identity-action>"
> DataType="http://www.w3.org/2001/XMLSchema#string
> <http://www.w3.org/2001/XMLSchema#string>"
> MustBePresent="false">*
> **
> * MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal">*
> *DataType="http://www.w3.org/2001/XMLSchema#string
> <http://www.w3.org/2001/XMLSchema#string>">JDBC1*
> *AttributeId="http://wso2.org/identity/user/user-store-domain
> <http://wso2.org/identity/user/user-store-domain>"
> Category="http://wso2.org/identity/user <http://wso2.org/identity/user>"
> DataType="http://www.w3.org/2001/XMLSchema#string
> <http://www.w3.org/2001/XMLSchema#string>"
> MustBePresent="true">*
> **
> * *
> *  *
> *   *
> *   *
> *  *
> * *
> * FunctionId="urn:oasis:names:tc:xacml:1.0:function:string-equal">*
> *FunctionId="urn:oasis:names:tc:xacml:1.0:function:string-one-and-only">*
> *   AttributeId="http://wso2.org/claims/role <http://wso2.org/claims/role>"
> Category="urn:oasis:names:tc:xacml:1.0:subject-category:access-subject"
> DataType="http://www.w3.org/2001/XMLSchema#string
> <http://www.w3.org/2001/XMLSchema#string>"
> MustBePresent="true">*
> *   *
> *DataType="http://www.w3.org/2001/XMLSchema#string
> <http://www.w3.org/2001/XMLSchema#string>">admin1*
> **
> * *
> *  *
> *   *
> *   *
> **
>
> Is the process that followed correct according to scenario 30 in [2].
> Correct me if I am wrong
>
>
> Also as my scenario 30 [2] is asking to create a user store operation
> listener to talk to XACML PDP I am not clear on how to do this using [1].
> Appreciate any guidance on this.
>
>
> [1]. https://docs.wso2.com/display/IS540/User+Store+Listeners
> [2]. https://medium.facilelogin.com/thirty-solution-patterns-with-the-
> wso2-identity-server-16f9fd0c0389
> [3]. actions.png
>
> Thankyou,
> Shanika.
>
>
> On Wed, Dec 6, 2017 at 9:42 AM, Denuwanthi De Silva <denuwan...@wso2.com>
> wrote:
>
>> Hi,
>>
>> You can define userstore in XACML in follwoing format
>>
>> 
>> 
>> 
>> 
>> > AttributeId="*http://wso2.org/identity/user/user-store-domain
>> <http://wso2.org/identity/user/user-store-domain>*" Category="
>> http://wso2.org/identity/user; DataType="http://www.w3.org/20
>> 01/XMLSchema#string" MustBePresent="true"

[Dev] WSO2 Identity Server 5.4.0 Update5 Released !!!

2018-01-18 Thread Denuwanthi De Silva
The WSO2 Identity and Access Management team is pleased to announce the
release of WSO2 Identity Server 5.4.0 Update5.
You can build the distribution from the source tag,

Runtime: https://github.com/wso2/product-is/releases/tag/v5.4.0-update5


follow the steps given below.

*Building from the source*

   1. Install Java8 or above
   2. Install Apache Maven 3.x.x(https://maven.apache.org/download.cgi#)
   3. Get the source,
  - For the Runtime: Get a clone from https://github.com/wso2/p
  roduct-is.git and checkout to v5.4.0-update5 tag or you can directly
  download the source for the tag from https://github.com/wso2/p
  roduct-is/releases/tag/v5.4.0-update5
  
   4. Run the one of the below maven commands from product-is directory,
  - *mvn** clean install* (To build the binary and source distributions
  with the tests)
  - *mvn** clean install -Dmaven.test.skip=true* (To build the binary
  and source distributions, without running any of the
unit/integration tests)
   5. You can find the,
  - wso2is-5.4.0-update5.zip binary distribution in
  product-is/modules/distribution/target directory.

What's new in WSO2 Identity Server 5.4.0 Update5

New Features & Bug Fixes: A list of new features and bug fixes shipped with
this release can be found here


Download

You can download WSO2 Identity Server 5.4.0 Update5 here

.
Contribute to WSO2 Identity ServerMailing Lists

Join our mailing lists and correspond with the developers directly. We also
encourage you to take part in discussions related to the product in the
architecture mailing list. If you have any questions regarding the product
you can use our StackOverflow forum to raise them as well.

   -

   Developer List: dev@wso2.org
   -

   Architecture List: architect...@wso2.org
   -

   User Forum: StackOverflow
   

Reporting Issues

We encourage you to report issues, improvements, and feature requests
regarding WSO2 Identity Server through our public WSO2 Identity Server GIT
Issues .


~ The WSO2 Identity and Access Management Team ~
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] OSGI bundle stopping mechanisms

2018-02-05 Thread Denuwanthi De Silva
Hi,

We have a requirement where we need to interfere/stop the server start up,
if a certain condition is not fulfilled during the bundle startup.

For that. is it ok to use following approach inside the bundle service
component if the particular condition is not met?
bundleContext.getBundle(0).stop();

Or is there any other proper  approach we can use?

Thanks,

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


Re: [Dev] [Architecture] Support for encrypted ID tokens in OIDC

2018-03-06 Thread Denuwanthi De Silva
;>> Once the option to encrypt assertion is enabled SAML assertions will always
>>>> be encrypted for the particular service provider (ie. There is no
>>>> requirement to switch between signed or encrypted assertions)
>>>>
>>>> IMO we can follow the same approach. WDYT?
>>>>
>>>>
>>>>>>> On a separate note, any specific reason why we are discussing this
>>>>>>> in strategy and not in Dev and architecture mailing lists?
>>>>>>>
>>>>>>> I feel that we need to discuss this feature in architecture mailing
>>>>>>> list to get the input from community.
>>>>>>>
>>>>>>
>>>>>> No such specific reason at all. On the previous project I did, the
>>>>>> mail was asked to sent to engineering and strategy. So I followed the 
>>>>>> same
>>>>>> protocol. I'll change that now.
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Vihanga.
>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>> Vihanga Liyanage
>>>>>>>>
>>>>>>>> Software Engineer | WS*O₂* Inc.
>>>>>>>>
>>>>>>>> M : +*94710124103* | http://wso2.com
>>>>>>>>
>>>>>>>> [image: http://wso2.com/signature] <http://wso2.com/signature>
>>>>>>>>
>>>>>>>>
>>>>>>>> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail_term=icon>
>>>>>>>>  Virus-free.
>>>>>>>> www.avast.com
>>>>>>>> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail_term=link>
>>>>>>>> <#m_2937290581037942005_m_4770696490581545647_m_-2123188955827273075_m_6964541531375253954_m_-4836321406318245336_m_-5520087002137875506_m_-4545884336410447238_m_682166417964237_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>>>>>>
>>>>>>>> --
>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>> Groups "WSO2 Engineering Group" group.
>>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>>>> send an email to engineering-group+unsubscr...@wso2.com.
>>>>>>>> For more options, visit https://groups.google.com/a/ws
>>>>>>>> o2.com/d/optout.
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Farasath Ahamed
>>>>>>> Senior Software Engineer, WSO2 Inc.; http://wso2.com
>>>>>>> Mobile: +94777603866
>>>>>>> Blog: blog.farazath.com
>>>>>>> Twitter: @farazath619 <https://twitter.com/farazath619>
>>>>>>> <http://wso2.com/signature>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> Vihanga Liyanage
>>>>>>
>>>>>> Software Engineer | WS*O₂* Inc.
>>>>>>
>>>>>> M : +*94710124103* | http://wso2.com
>>>>>>
>>>>>> [image: http://wso2.com/signature] <http://wso2.com/signature>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Vihanga Liyanage
>>>>>
>>>>> Software Engineer | WS*O₂* Inc.
>>>>>
>>>>> M : +*94710124103* | http://wso2.com
>>>>>
>>>>> [image: http://wso2.com/signature] <http://wso2.com/signature>
>>>>>
>>>>
>>>>
>>>> --
>>>> Farasath Ahamed
>>>> Senior Software Engineer, WSO2 Inc.; http://wso2.com
>>>> Mobile: +94777603866
>>>> Blog: blog.farazath.com
>>>> Twitter: @farazath619 <https://twitter.com/farazath619>
>>>> <http://wso2.com/signature>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Vihanga Liyanage
>>>
>>> Software Engineer | WS*O₂* Inc.
>>>
>>> M : +*94710124103* | http://wso2.com
>>>
>>> [image: http://wso2.com/signature] <http://wso2.com/signature>
>>>
>>
>>
>>
>> --
>>
>> Vihanga Liyanage
>>
>> Software Engineer | WS*O₂* Inc.
>>
>> M : +*94710124103* | http://wso2.com
>>
>> [image: http://wso2.com/signature] <http://wso2.com/signature>
>>
>
>
>
> --
>
> Vihanga Liyanage
>
> Software Engineer | WS*O₂* Inc.
>
> M : +*94710124103* | http://wso2.com
>
> [image: http://wso2.com/signature] <http://wso2.com/signature>
>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] [VOTE] Release WSO2 Identity Server 5.5.0 RC2

2018-03-14 Thread Denuwanthi De Silva
t;>>>- 5.5.0-M2 fixes
>>>>>
>>>>> <https://github.com/wso2/product-is/issues?q=is%3Aclosed+milestone%3A5.5.0-M2>
>>>>>- 5.5.0-M1 fixes
>>>>>
>>>>> <https://github.com/wso2/product-is/issues?q=is%3Aclosed+milestone%3A5.5.0-M1>
>>>>>
>>>>>
>>>>> Source and distribution
>>>>>
>>>>> Runtime - https://github.com/wso2/product-is/releases/v5.5.0-rc2
>>>>> Analytics - https://github.com/wso2/anal
>>>>> ytics-is/releases/v5.5.0-rc2
>>>>>
>>>>>
>>>>> Please download, test the product and vote.
>>>>>
>>>>> [+] Stable - go ahead and release
>>>>> [-] Broken - do not release (explain why)
>>>>>
>>>>>
>>>>> Thanks,
>>>>> - WSO2 Identity and Access Management Team -
>>>>>
>>>>> --
>>>>> Regards,
>>>>>
>>>>>
>>>>> *Darshana Gunawardana*Technical Lead
>>>>> WSO2 Inc.; http://wso2.com
>>>>>
>>>>> *E-mail: darsh...@wso2.com <darsh...@wso2.com>*
>>>>> *Mobile: +94718566859 <+94%2071%20856%206859>*Lean . Enterprise .
>>>>> Middleware
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Best Regards,
>>>>
>>>> Nuwandi Wickramasinghe
>>>>
>>>> Senior Software Engineer
>>>>
>>>> WSO2 Inc.
>>>>
>>>> Web : http://wso2.com
>>>>
>>>> Mobile : 0719214873 <071%20921%204873>
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>>
>>>
>>> *Kind Regards,Nipuni Bhagya*
>>>
>>> *Software Engineering Intern*
>>> *WSO2*
>>>
>>>
>>>
>>> *Mobile : +94 0779028904 <+94%2077%20767%201807>*
>>>
>>> ___
>>> Architecture mailing list
>>> architect...@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>
>>>
>>
>>
>> --
>> *Dinali Rosemin Dabarera*
>> Software Engineer
>> WSO2 Lanka (pvt) Ltd.
>> Web: http://wso2.com/
>> Email : gdrdabar...@gmail.com
>> LinkedIn <https://lk.linkedin.com/in/dinalidabarera>
>> Mobile: +94770198933 <077%20019%208933>
>>
>>
>>
>>
>> <https://lk.linkedin.com/in/dinalidabarera>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> Thanks,
> --
> Pushpalanka.
> --
> Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
> Senior Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
> Mobile: +94779716248
> Blog: pushpalankajaya.blogspot.com/ | LinkedIn: lk.linkedin.com/in/
> pushpalanka/ | Twitter: @pushpalanka
>
>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] Support for encrypted ID tokens in OIDC

2018-03-07 Thread Denuwanthi De Silva
On Wed, Mar 7, 2018 at 12:56 PM, Vihanga Liyanage <viha...@wso2.com> wrote:

> Even with signed id tokens, we didn't persist them in the database. Hense
> I didn't either. Do you see any value in doing so?
>
Then there is no problem.

>
> On Wed, Mar 7, 2018 at 12:46 PM, Denuwanthi De Silva <denuwan...@wso2.com>
> wrote:
>
>>
>>
>> On Wed, Mar 7, 2018 at 11:26 AM, Vihanga Liyanage <viha...@wso2.com>
>> wrote:
>>
>>> Hi all,
>>>
>>> [Update]
>>> I have completed the second phase of the project, providing service
>>> provider level configurations in admin dashboard to configure encryption
>>> algorithm and encryption method. With this update, once you enable
>>> encrypting id tokens for an SP in the admin dashboard, two select boxes
>>> will appear with supported encryption algorithms and supported encryption
>>> methods. These supported algorithms are pulled from the identity.xml file.
>>>
>>
>> Do we persist the encrypted ID Token to database at any point? If so, is
>> there any comparison of encrypted ID token with the value in the database?
>> I'm asking this because you seem to be using encryption algorithm with
>> dynamic padding.
>>
>>>
>>>
>>>
>>> Respective git issue and pull requests are as follows.
>>>
>>>- https://github.com/wso2/product-is/issues/2387
>>>- https://github.com/wso2/carbon-identity-framework/pull/1416
>>>- https://github.com/wso2-extensions/identity-inbound-auth-oau
>>>th/pull/832
>>>
>>> I have also updated the docs as well.
>>>
>>> Thanks,
>>> Vihanga.
>>>
>>> On Tue, Feb 20, 2018 at 2:45 PM, Vihanga Liyanage <viha...@wso2.com>
>>> wrote:
>>>
>>>> Hi all,
>>>>
>>>> [Update]
>>>> I was able to complete the initial development of the proposed project,
>>>> encrypted id token support in OIDC flow. Following are the links related to
>>>> the development.
>>>>
>>>>- An issue was created in product-is repository to track the
>>>>development.
>>>>   - https://github.com/wso2/product-is/issues/2336
>>>>- Pull request is made to identity-inbound-auth-oauth repository
>>>>with required updates.
>>>>- https://github.com/wso2-extensions/identity-inbound-auth-oau
>>>>   th/pull/798
>>>>- Pull request is made to product-is repository with updated
>>>>playground application to test the feature
>>>>- https://github.com/wso2/product-is/pull/2313
>>>>- Code review was held to review the code written in both PRs.
>>>>
>>>> All PRs are merged by now.
>>>> Currently, I'm working on integration test to test the newly added
>>>> feature.
>>>>
>>>> Thanks,
>>>> Vihanga
>>>>
>>>> On Fri, Feb 9, 2018 at 5:07 PM, Vihanga Liyanage <viha...@wso2.com>
>>>> wrote:
>>>>
>>>>> Yes, Farasath. As for the offline discussions with Drashana, I came to
>>>>> the same conclusion and exploring the SAML sample app right now.
>>>>>
>>>>> Although I'm not sure about signing JWE. I couldn't find anything
>>>>> specific about that in the RFC. Also, the API in Nimbus only expects the
>>>>> claims set and the public key of the client to create and encrypt a JWE.
>>>>> Please do let me know if you find something else.
>>>>>
>>>>> On Fri, Feb 9, 2018 at 4:34 PM, Farasath Ahamed <farasa...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Friday, February 9, 2018, Vihanga Liyanage <viha...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> [- Engineering, Strategy]
>>>>>>> [+ Architecture, Dev]
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Vihanga
>>>>>>>
>>>>>>> On Fri, Feb 9, 2018 at 8:56 AM, Vihanga Liyanage <viha...@wso2.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi Farasath,
>>>>>>>>
>>>>>>>> For the above two points IMO it would be better to provide an
>>>>>>>>> option at Service Provider OAuth/OIDC configuration. This will be 
>>

  1   2   >