[Dev] WSO2 Committers+= Sachini Siriwardene

2020-03-17 Thread Lalaji Sureshika
Hi All,

It's my pleasure to announce Sachini Siriwardene as a WSO2 committer. She
has been a committed and very valuable contributor to WSO2 Open Banking
team.

In recognition of her contribution, dedication, and commitment she has been
voted as a WSO2 committer.

Congratulations Sachini and keep up the good work..!!!

-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 77 303 3163
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IS]REST APIs for oauth2 client update/get operations

2016-11-30 Thread Lalaji Sureshika
Hi,

I'm working on refactoring default key manager implementation of APIM to
call IS side REST APIs with C5 work.I have started working with IS 5.3.0
alpha and noticed the current DCR implementation[1] only supports create
and delete oauth2 applications.
Could I know what's the plan for support update and read operations for
oauth2 apps as per DCR management specification [2] in IS 5.3.0.Or else,is
there any other REST API which supports $subject?

[1]
https://github.com/wso2-extensions/identity-inbound-auth-oauth/blob/master/components/org.wso2.carbon.identity.oauth.dcr/src/main/java/org/wso2/carbon/identity/oauth/dcr/service/DCRManagementService.java
[2] https://tools.ietf.org/html/rfc7592

Thanks;

-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] [VOTE] Release WSO2 API Manager 2.0.0 RC4

2016-07-22 Thread Lalaji Sureshika
gt; ___
>>>>>>> Architecture mailing list
>>>>>>> architect...@wso2.org
>>>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Best Regards,
>>>>>>
>>>>>> *Thilini Cooray*
>>>>>> Software Engineer
>>>>>> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
>>>>>> E-mail : thili...@wso2.com
>>>>>>
>>>>>> WSO2 Inc. www.wso2.com
>>>>>> lean.enterprise.middleware
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Rukshan Chathuranga.
>>>>> Software Engineer.
>>>>> WSO2, Inc.
>>>>>
>>>>> ___
>>>>> Architecture mailing list
>>>>> architect...@wso2.org
>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Roshan Wijesena.
>>>> Senior Software Engineer-WSO2 Inc.
>>>> Mobile: *+94719154640 <%2B94719154640>*
>>>> Email: ros...@wso2.com
>>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>>>> lean.enterprise.middleware.
>>>>
>>>> ___
>>>> Architecture mailing list
>>>> architect...@wso2.org
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Uvindra
>>>
>>> Mobile: 33962
>>>
>>> ___
>>> 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>
>> Email : cham...@wso2.com
>> Blog : https://chamindias.wordpress.com/
>>
>> ___
>> Architecture mailing list
>> architect...@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
>
> --
>
> *Tharindu Dharmarathna*Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94779109091 <%2B94779109091>*
>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ESB][INBOUND]I A way to dentify an inbound https request comes through mutual auth flow

2016-05-31 Thread Lalaji Sureshika
Hi,

Is there a transport level property available to identify whether an
inbound https request hits WSO2 ESB after successfully passed mutual
authentication layer..?
With transport receiver level mutual authentication flow,it could use the
axis2 property 'ssl.client.auth.cert.X509' to check if the request has come
through successful mutual ssl flow.

Thanks;

-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com;
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM][BPS] Configure API-Subscription Workflow for APIM packed with IoTS

2016-04-10 Thread Lalaji Sureshika
Hi Shabir,

The admin-dashboard workflow view will useful only if the workflow is a BPS
based business process and if it contains human tasks.The admin dashboard
workflow view will be used for approving/disproving human tasks associated
in BPS side triggered process by the workflow.Once the user
approve/disaprove the task from this UI,the next steps of BPS process will
triger and then it'll call the callback url of APIM.From the callback url
of APIM ,it'll call 'complete' method of WorkflowExecutor. Thing to note is
admin-dashboard,workflow related UIs are BPS human task related UIs and
those UIs are not  triggering WorkFlowExecutor 'complete' method.

Thanks;

On Sun, Apr 10, 2016 at 5:25 PM, Shabir Mohamed <sha...@wso2.com> wrote:

> Hi All,
>
> I am trying to do $subject for the IoTServer as explained in [1]
> <https://docs.wso2.com/display/AM1100/Adding+an+API+Subscription+Workflow>
> .
>
> However, since the jaggeryapp *"admin-dashboard"* is not copied from the
> *bin.xml* whilst the distribution is packed I have copied it manually to
> the jaggeryapp folder in the IoTS pack.
>
> In addition given that the jaggeryapp *"store"* and the corresponding
> jaggery-modules are renamed as *"apimstore"* in the IoTS pack I have
> changed all places in the admin-dashboard jaggeryapp which says
> *"require('apistore')"* to *'require(apimstore)'.*
>
> I have also configured BPS accordingly as explained in [1]. I have written
> my custom extension for APISubscription workflow and engaged it in
> *"wokflow-extensions.xml"*.
>
> When I create an API the *"execute()"* method of the WorkflowExecutor gets
> triggered and my custom logic is executed. However, when I approve a
> subscription task in the admin-dashboard jaggeryapp the *"complete()"*
> method of the WorkflowExecutor is not triggered as expected.
>
> This behaviour is only evident when I try the custom extension in the IoTS
> Pack. Works fine for the APIM 1.10.0 pack.
>
> *IoTServer users the carbon-apimgt component version: 5.0.3*
>
> Any guidance & insight with regards to this will be a huge help :).
>
>
> [1]
> https://docs.wso2.com/display/AM1100/Adding+an+API+Subscription+Workflow
> -
> *Shabir Mohamed*
> *Software Engineer*
> WSO2 Inc.; http://wso2.com
> Email: sha...@wso2.com <ayy...@wso2.com>
> Mobile: +94 77 3516019 | +94 71 6583393
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release G-Reg 5.0.0 RC 2

2015-09-04 Thread Lalaji Sureshika
e.
>>>>>>>>>>>>
>>>>>>>>>>>> *Source & binary distribution files:*
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> http://maven.wso2.org/nexus/content/repositories/orgwso2greg-026/org/wso2/greg/wso2greg/5.0.0/
>>>>>>>>>>>>
>>>>>>>>>>>> *Maven staging repo:*
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> http://maven.wso2.org/nexus/content/repositories/orgwso2greg-026/
>>>>>>>>>>>>
>>>>>>>>>>>> *The tag to be voted upon:*
>>>>>>>>>>>>
>>>>>>>>>>>> https://github.com/wso2/product-greg/tree/v5.0.0-rc2
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> [*+*] Stable - go ahead and release
>>>>>>>>>>>>
>>>>>>>>>>>> [*-*]  Broken - do not release (explain why)
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks and Regards
>>>>>>>>>>>> G-Reg team
>>>>>>>>>>>>
>>>>>>>>>>>> Prasanna Dangalla
>>>>>>>>>>>> Software Engineer, WSO2, Inc.; http://wso2.com/
>>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>>
>>>>>>>>>>>> cell: +94 718 11 27 51
>>>>>>>>>>>> twitter: @prasa77
>>>>>>>>>>>>
>>>>>>>>>>>> ___
>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Ajith Vitharana.
>>>>>>>>>>>
>>>>>>>>>>> WSO2 Inc. - http://wso2.com
>>>>>>>>>>> Email  : aji...@wso2.com
>>>>>>>>>>> Blog: http://vitharana.org
>>>>>>>>>>> Mobile : +1-812-360-5335
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Ajith Vitharana.
>>>>>>>>>
>>>>>>>>> WSO2 Inc. - http://wso2.com
>>>>>>>>> Email  : aji...@wso2.com
>>>>>>>>> Blog: http://vitharana.org
>>>>>>>>> Mobile : +1-812-360-5335
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Nirdesha Munasinghe,
>>>>>>> WSO2 Inc.
>>>>>>> Web:http://wso2.com
>>>>>>>
>>>>>>> Mobile: +94 776321920
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *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>*
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *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>*
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Thayalan Sivapaleswararajah
>>> Associate Technical Lead - QA
>>> Mob: +94(0)777872485
>>> Tel : +94(0)(11)2145345
>>> Fax : +94(0)(11)2145300
>>> Email: thaya...@wso2.com
>>>
>>>
>>> *Disclaimer*: *This communication may contain privileged or other
>>> confidential information and is intended exclusively for the addressee/s.
>>> If you are not the intended recipient/s, or believe that you may have
>>> received this communication in error, please reply to the sender indicating
>>> that fact and delete the copy you received and in addition, you should not
>>> print, copy, retransmit, disseminate, or otherwise use the information
>>> contained in this communication. Internet communications cannot be
>>> guaranteed to be timely, secure, error or virus-free. The sender does not
>>> accept liability for any errors or omissions.*
>>>
>>>
>>
>>
>> --
>> 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
>>
>
>
>
> --
> Regards,
> Thayalan Sivapaleswararajah
> Associate Technical Lead - QA
> Mob: +94(0)777872485
> Tel : +94(0)(11)2145345
> Fax : +94(0)(11)2145300
> Email: thaya...@wso2.com
>
>
> *Disclaimer*: *This communication may contain privileged or other
> confidential information and is intended exclusively for the addressee/s.
> If you are not the intended recipient/s, or believe that you may have
> received this communication in error, please reply to the sender indicating
> that fact and delete the copy you received and in addition, you should not
> print, copy, retransmit, disseminate, or otherwise use the information
> contained in this communication. Internet communications cannot be
> guaranteed to be timely, secure, error or virus-free. The sender does not
> accept liability for any errors or omissions.*
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ES]ES tag cloud support

2015-08-26 Thread Lalaji Sureshika
Hi,

Is the $subject available from ES 2.0.0 features or is it disable by
default..? This is regarding [1] and problem in [1] is not tags saving
problem rather there's no UI option in Enterprise Store to view tags cloud..

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

Thanks;

-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] how to register an event in user signup for ES extension

2015-07-21 Thread Lalaji Sureshika
Hi Udara,

On Mon, Jul 20, 2015 at 11:01 PM, Udara Rathnayake uda...@wso2.com wrote:

 Hi All,

 Self sign-up handles within SSO app on our side not through the store or
 publisher. Above approach will work if we are to use the OOTB provided
 setup(store/publishred SSOed with sso app). But will break once configured
 with an external IDP.


 I think keeping self signup component in SSO app is not correct.It has to
be part of Store/Publisher/common..For example,consider how current APIM
Store and Publisher works in both SSO enabled/disabled scenarios with
having self signup feature.IMO,same behaviour has to be support from ES
store and publisher as well.

Our requirement is to set an asset specific permission
['API'-'Subscribe'],when a user signup to store either SSO
enabled/disabled.So from ES side there has to be a signup component which
works in both SSO enabled/disabled mode and which is able to set asset
specific permissions in to the signup user.

Thanks;



 Regards,
 UdaraR

 On Tue, Jul 21, 2015 at 6:49 AM, Lalaji Sureshika lal...@wso2.com wrote:

 Hi Sameera,

 On Jul 20, 2015 9:32 PM, Sameera Medagammaddegedara samee...@wso2.com
 wrote:
 
  Hi Lakshman,
 
 
  Could we not do this in the onUserLoggedIn callback itself after
 checking if the logged in user already has the subscriber role or not?

 We can't use this approach,because then for any user tries to login to
 store,we are setting the subscriber role,which is incorrect..

 Shouldn't all store sign-up users have the subscriber role? Can there be
 store logged-in users without having the subscriber role?


 
 
  Thank You,
  Sameera
 
  On Mon, Jul 20, 2015 at 6:10 AM, Lakshman Udayakantha 
 lakshm...@wso2.com wrote:
 
  Couldn't add onLogin function is used in extension in previous mail.
 sorry for that. find it below.
 
  onUserLoggedIn : function(){
  var userName=ctx.username;
  var apistore =
 require('apistore').apistore.instance(userName);
  var subscriber=apistore.getSubscriber(userName);
  if(!subscriber){
  apistore.addSubscriber(userName,ctx.tenantId);
  }
  },
 
  additionally, found below function
 
   event.on('userRegister', function (tenantId, user) {
  log.info(user
 registering...);
  configs(tenantId).userRoles.forEach(function (role) {
  if (user.hasRoles([role])) {
  return;
  }
  user.addRoles([role]);
  });
  });
 
  It should be call on user signup. But it calls on first login for the
 users who signed up. Any way I can't change that function to add subscriber
 role to users because this function found in store/module/store.js file
 which is not in extension directory. simply this function reside in ES code
 and adding subscriber role to users should happen in extension because that
 functionality is specific to API store.
 
  Thanks
 
  On Mon, Jul 20, 2015 at 3:05 PM, Lakshman Udayakantha 
 lakshm...@wso2.com wrote:
 
  Hi Sameera/ES Team,
 
  I am working on [1]. I want to add to users who sign up in store, the
 subscriber role.
  Below function is used to add users as subscribers in their first
 login to subscriber tables in asset.js function in store extension. similar
 requirement needs for signup as well. how do I achieve this?
 
  [1] https://wso2.org/jira/browse/REGISTRY-2683
 
  Thanks
  --
  Lakshman Udayakantha
  WSO2 Inc. www.wso2.com
  lean.enterprise.middleware
  Mobile: 0711241005
 
 
 
 
  --
  Lakshman Udayakantha
  WSO2 Inc. www.wso2.com
  lean.enterprise.middleware
  Mobile: 0711241005
 
 
 
 
  --
  Sameera Medagammaddegedara
  Software Engineer
 
  Contact:
  Email: samee...@wso2.com
  Mobile: + 94 077 255 3005





-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Can't login as tenant in publisher

2015-07-20 Thread Lalaji Sureshika
Hi Manu,

I checked APIM identity.xml and the value of  UseAuthenticatedUserDomainCryp
to is set to true as below.

UseAuthenticatedUserDomainCryptotrue/UseAuthenticatedUserDomainCrypto

And additionally in publisher.json, *useTenantKey* attribute exists with
the value 'false'.

Thanks;


On Mon, Jul 20, 2015 at 2:23 AM, Manuranga Perera m...@wso2.com wrote:

 Hi Sazni/Lalaji,
 Please look at your identity.xml and see if it's the the same as latest
 IS, specially the value of UseAuthenticatedUserDomainCrypto might be
 different.


 On Sun, Jul 19, 2015 at 5:14 PM, Lalaji Sureshika lal...@wso2.com wrote:

 Hi Udara,

 We didn't test the tenant scenarios yet as those are decided to move with
 APIM 2.0.0. However I checked tenant login in publisher   store and
 getting the same issue as Shazni mentioned.

 Thanks;

 On Sat, Jul 18, 2015 at 1:42 AM, Udara Rathnayake uda...@wso2.com
 wrote:

 Hi Lalaji/Dhanuka/Harsha,

 Have you guys tried out tenant scenarios with the new extension model?
 Asking this to narrow down possible issues since we haven't encounted this
 issue within ES pack.

 Regards,
 UdaraR

 On Sat, Jul 18, 2015 at 5:33 AM, Shazni Nazeer sha...@wso2.com wrote:

 Hi Sameera,

 Thanks for the response. The problem in concern is to have the ability
 to login into tenants in the default pack. Setting useTenantKey true
 manually also solves the problem of inability to login to tenants (But
 not the issue of inability to login to publisher after an unsuccessful
 attempt, needing a restart) Therefore, appreciate if this could be
 incorporated into es-feature by default, so that either the above 
 mentioned useTenantKey attribute set
 to true or with your above mentioned work around.

 Shazni Nazeer
 Mob : +94 37331
 LinkedIn : http://lk.linkedin.com/in/shazninazeer
 Blog : http://shazninazeer.blogspot.com

 On Fri, Jul 17, 2015 at 9:12 PM, Sameera Medagammaddegedara 
 samee...@wso2.com wrote:

 Hi Shazni,

 As a temporary work around please set the active authentication method
 to basic in order to continue with development and QA. You can do this by:

 1. Edit the publisher.json and change activeMethod to basic [1]
 2. Edit the store.json and change activeMethod to basic [2]

 *Reference*
 [1]
 https://github.com/wso2/carbon-store/blob/master/apps/publisher/config/publisher.json#L50
 [2]
 https://github.com/wso2/carbon-store/blob/master/apps/store/config/store.json#L27

 On Fri, Jul 17, 2015 at 10:34 AM, Shazni Nazeer sha...@wso2.com
 wrote:

 Hi ES-team,

 In G-Reg publisher default pack, we are unable to login as a tenant.
 We get the exception shown in [3] in the console. And subsequently it's 
 not
 possible to login to publisher by any means unless restarting the server.
 This turned out be due to useTenantKey attribute in
 repository/deployment/server/jaggeryapps/publisher/config/publisher.json
 and repository/deployment/server/jaggeryapps/store/config/store.json in
 publisher and store respectively being false. Unable to login into
 publisher and store as tenants in default pack is an issue for us. 
 Further,
 after a failed attempt to login as a tenant, needing a restart is also an
 issue [1]

 Appreciate we could get this resolved so that a tenant can login in
 the default pack?

 [1] https://wso2.org/jira/browse/STORE-922

 [2] https://wso2.org/jira/browse/REGISTRY-2687

 [3]

 org.opensaml.xml.validation.ValidationException: Signature did not
 validate against the credential's key
 at
 org.opensaml.xml.signature.SignatureValidator.validate(SignatureValidator.java:78)
 at
 org.jaggeryjs.modules.sso.common.util.Util.validateSignature(Util.java:290)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
 at
 org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225)
 at
 org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
 at
 org.jaggeryjs.rhino.sso.scripts.c0._c_anonymous_3(sso/scripts/sso.client.js:55)
 at
 org.jaggeryjs.rhino.sso.scripts.c0.call(sso/scripts/sso.client.js)
 at
 org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
 at
 org.jaggeryjs.rhino.publisher.controllers.c2._c_anonymous_1(/publisher/controllers/acs.jag:68)
 at
 org.jaggeryjs.rhino.publisher.controllers.c2.call(/publisher/controllers/acs.jag)
 at
 org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:23)
 at
 org.jaggeryjs.rhino.publisher.controllers.c2._c_script_0(/publisher/controllers/acs.jag:20)
 at
 org.jaggeryjs.rhino.publisher.controllers.c2.call(/publisher/controllers/acs.jag)
 at
 org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
 at
 org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091

Re: [Dev] how to register an event in user signup for ES extension

2015-07-20 Thread Lalaji Sureshika
Hi Sameera,

On Jul 20, 2015 9:32 PM, Sameera Medagammaddegedara samee...@wso2.com
wrote:

 Hi Lakshman,


 Could we not do this in the onUserLoggedIn callback itself after checking
if the logged in user already has the subscriber role or not?

We can't use this approach,because then for any user tries to login to
store,we are setting the subscriber role,which is incorrect..
What we want is setting the subscriber role for store sign-up users.Isn't
there a sign-up hook available as for login..?

Thanks:


 Thank You,
 Sameera

 On Mon, Jul 20, 2015 at 6:10 AM, Lakshman Udayakantha lakshm...@wso2.com
wrote:

 Couldn't add onLogin function is used in extension in previous mail.
sorry for that. find it below.

 onUserLoggedIn : function(){
 var userName=ctx.username;
 var apistore =
require('apistore').apistore.instance(userName);
 var subscriber=apistore.getSubscriber(userName);
 if(!subscriber){
 apistore.addSubscriber(userName,ctx.tenantId);
 }
 },

 additionally, found below function

  event.on('userRegister', function (tenantId, user) {
 log.info(user registering...);
 configs(tenantId).userRoles.forEach(function (role) {
 if (user.hasRoles([role])) {
 return;
 }
 user.addRoles([role]);
 });
 });

 It should be call on user signup. But it calls on first login for the
users who signed up. Any way I can't change that function to add subscriber
role to users because this function found in store/module/store.js file
which is not in extension directory. simply this function reside in ES code
and adding subscriber role to users should happen in extension because that
functionality is specific to API store.

 Thanks

 On Mon, Jul 20, 2015 at 3:05 PM, Lakshman Udayakantha lakshm...@wso2.com
wrote:

 Hi Sameera/ES Team,

 I am working on [1]. I want to add to users who sign up in store, the
subscriber role.
 Below function is used to add users as subscribers in their first login
to subscriber tables in asset.js function in store extension. similar
requirement needs for signup as well. how do I achieve this?

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

 Thanks
 --
 Lakshman Udayakantha
 WSO2 Inc. www.wso2.com
 lean.enterprise.middleware
 Mobile: 0711241005




 --
 Lakshman Udayakantha
 WSO2 Inc. www.wso2.com
 lean.enterprise.middleware
 Mobile: 0711241005




 --
 Sameera Medagammaddegedara
 Software Engineer

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


Re: [Dev] Can't login as tenant in publisher

2015-07-19 Thread Lalaji Sureshika
)
 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.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:378)
 at
 org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
 at
 org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
 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.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
 at
 org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:57)
 at
 org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
 at
 org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
 at
 org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
 at
 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1739)
 at
 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1698)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at
 org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
 at java.lang.Thread.run(Thread.java:724)

 Shazni Nazeer
 Mob : +94 37331
 LinkedIn : http://lk.linkedin.com/in/shazninazeer
 Blog : http://shazninazeer.blogspot.com




 --
 Sameera Medagammaddegedara
 Software Engineer

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






-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please Merge the pull request

2015-07-13 Thread Lalaji Sureshika
Hi Udara,

For the moment,we are copying jaggery apps from es.feature.Yes,we can use
store feature to copy those apps,instead es.feature as we have included
both of them to our p2-profile pom. As per your reply,does that mean,we can
fully get rid of es.feature and use store.feature only in our pom
references?

Thanks

On Mon, Jul 13, 2015 at 2:54 AM, Udara Rathnayake uda...@wso2.com wrote:

 Hi Lakshman,

 Is there any possibility to use the store feature instead of es one? We
 initially created this es feature for AM team to facilitate keeping both ES
 store/publisher apps and API manager store/publisher apps. Eg:- es-store
 coming form es feature and store is coming from am store feature

 Seems es feature is bit outdated and might get dropped in future. Let us
 know the possibility of moving from es feature to store.

 Regards,
 UdaraR

 On Mon, Jul 13, 2015 at 12:10 PM, Lakshman Udayakantha lakshm...@wso2.com
  wrote:

 jira for this is [2]

 [2] https://wso2.org/jira/browse/STORE-894

 On Mon, Jul 13, 2015 at 1:03 AM, Lakshman Udayakantha lakshm...@wso2.com
  wrote:

 Hi ES Team,

 $subject please for [1]

 [1] https://github.com/wso2/carbon-store/pull/94

 Thanks

 --
 Lakshman Udayakantha
 WSO2 Inc. www.wso2.com
 lean.enterprise.middleware
 Mobile: *0711241005*




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




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] HT error when browsing Greg 5.0.0 M4 publisher with APIM features installed

2015-05-12 Thread Lalaji Sureshika
Hi Waruna,

We checked with a BPS snapshot build [on c4.4.0] also and your reply
mentioned tomcat not importing intermittent issue is exists in BPS snapshot
pack as well..

Thanks;


On Mon, May 11, 2015 at 4:52 AM, Waruna Jayaweera waru...@wso2.com wrote:

 Hi Lalaji,
 This seems to be intermittent issue. I checked the issue with osgiconsole.
 Issue can not be reproduced when
 package org.wso2.carbon.humantask.core.dao.jpa.openjpa.model is imported by
 tomcat.

 osgi p  org.wso2.carbon.humantask.core.dao.jpa.openjpa.model
 org.wso2.carbon.humantask.core.dao.jpa.openjpa.model;
 version=4.4.0org.wso2.carbon.humantask_4.4.0 [262]
   org.apache.openjpa_2.2.0.wso2v1 [100] imports
   serp_1.13.1.wso2v1 [518] imports
 *  tomcat_7.0.59.wso2v1 [536] imports*

 But when tomcat doesn't import we can observe the openjpa issue with The
 name org.wso2.carbon.humantask.core.dao.jpa.openjpa.model.Task is not a
 recognized entity

 osgi p  org.wso2.carbon.humantask.core.dao.jpa.openjpa.model
 org.wso2.carbon.humantask.core.dao.jpa.openjpa.model;
 version=4.4.0org.wso2.carbon.humantask_4.4.0 [262]
   org.apache.openjpa_2.2.0.wso2v1 [100] imports
   serp_1.13.1.wso2v1 [518] imports

 So seems like issue with conflicting packages.

 Thanks,
 Waruna




 On Mon, May 11, 2015 at 11:01 AM, Lalaji Sureshika lal...@wso2.com
 wrote:

 Hi Waruna,

 When we tried installing AM features on top of GReg 5.0.0 M4 [compatible
 with c4.4.0],we are observing the below error[1],when browsing assets from
 GReg publisher.Any clue on this error..?

 Thanks;

 [1]
 TID: [-1234] [] [2015-05-11 00:30:19,684] ERROR
 {org.wso2.carbon.humantask.core.TaskOperationServiceImpl} -
  openjpa-2.2.0-wso2v1-r128166:129108 nonfatal user error
 org.apache.openjpa.persistence.ArgumentException: An error occurred while
 parsing the query filter SELECT COUNT(DISTINCT t) FROM
 org.wso2.carbon.humantask.core.dao.jpa.openjpa.model.Task t  JOIN
 t.humanRoles hr JOIN hr.orgEntities oe WHERE   oe.name = :name  AND
  hr.type = :roleType  AND  t.tenantId = :tenantId  AND  t.type = :taskType
  AND  t.status IN :taskStatuses. Error message: The name
 org.wso2.carbon.humantask.core.dao.jpa.openjpa.model.Task is not a
 recognized entity or identifier. Perhaps you meant PresentationDescription,
 which is a close match. Known entity names: [PresentationParameter,
 Attachment, Message, Event, Comment, Deadline, PresentationName,
 OrganizationalEntity, DeploymentUnit, GenericHumanRole,
 PresentationSubject, Task, TaskVersion, PresentationDescription,
 PresentationElement, HumanTaskJob]
 {org.wso2.carbon.humantask.core.TaskOperationServiceImpl}
 TID: [-1234] [] [2015-05-11 00:30:19,687] ERROR
 {org.jaggeryjs.jaggery.core.manager.WebAppManager} -
  org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.mozilla.javascript.WrappedException: Wrapped
 org.wso2.carbon.humantask.client.api.IllegalArgumentFault:
 openjpa-2.2.0-wso2v1-r128166:129108 nonfatal user error
 org.apache.openjpa.persistence.ArgumentException: An error occurred while
 parsing the query filter SELECT COUNT(DISTINCT t) FROM
 org.wso2.carbon.humantask.core.dao.jpa.openjpa.model.Task t  JOIN
 t.humanRoles hr JOIN hr.orgEntities oe WHERE   oe.name = :name  AND
  hr.type = :roleType  AND  t.tenantId = :tenantId  AND  t.type = :taskType
  AND  t.status IN :taskStatuses. Error message: The name
 org.wso2.carbon.humantask.core.dao.jpa.openjpa.model.Task is not a
 recognized entity or identifier. Perhaps you meant PresentationDescription,
 which is a close match. Known entity names: [PresentationParameter,
 Attachment, Message, Event, Comment, Deadline, PresentationName,
 OrganizationalEntity, DeploymentUnit, GenericHumanRole,
 PresentationSubject, Task, TaskVersion, PresentationDescription,
 PresentationElement, HumanTaskJob] (eval code#1(eval)#56)
 (/publisher/controllers/assets-router.jag#75)
 {org.jaggeryjs.jaggery.core.manager.WebAppManager}
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.mozilla.javascript.WrappedException: Wrapped
 org.wso2.carbon.humantask.client.api.IllegalArgumentFault:
 openjpa-2.2.0-wso2v1-r128166:129108 nonfatal user error
 org.apache.openjpa.persistence.ArgumentException: An error occurred while
 parsing the query filter SELECT COUNT(DISTINCT t) FROM
 org.wso2.carbon.humantask.core.dao.jpa.openjpa.model.Task t  JOIN
 t.humanRoles hr JOIN hr.orgEntities oe WHERE   oe.name = :name  AND
  hr.type = :roleType  AND  t.tenantId = :tenantId  AND  t.type = :taskType
  AND  t.status IN :taskStatuses. Error message: The name
 org.wso2.carbon.humantask.core.dao.jpa.openjpa.model.Task is not a
 recognized entity or identifier. Perhaps you meant PresentationDescription,
 which is a close match. Known entity names: [PresentationParameter,
 Attachment, Message, Event, Comment, Deadline, PresentationName,
 OrganizationalEntity

[Dev] HT error when browsing Greg 5.0.0 M4 publisher with APIM features installed

2015-05-10 Thread Lalaji Sureshika
(HumanTaskJPQLQueryBuilder.java:485)
at
org.wso2.carbon.humantask.core.dao.sql.HumanTaskJPQLQueryBuilder.buildCount(HumanTaskJPQLQueryBuilder.java:109)
at
org.wso2.carbon.humantask.core.dao.jpa.openjpa.HumanTaskDAOConnectionImpl.getTasksCount(HumanTaskDAOConnectionImpl.java:188)
at
org.wso2.carbon.humantask.core.TaskOperationServiceImpl$1.call(TaskOperationServiceImpl.java:103)
at
org.wso2.carbon.humantask.core.TaskOperationServiceImpl$1.call(TaskOperationServiceImpl.java:65)
at
org.wso2.carbon.humantask.core.scheduler.SimpleScheduler.execTransaction(SimpleScheduler.java:881)
at
org.wso2.carbon.humantask.core.scheduler.SimpleScheduler.execTransaction(SimpleScheduler.java:830)
at
org.wso2.carbon.humantask.core.TaskOperationServiceImpl.simpleQuery(TaskOperationServiceImpl.java:64)

Thanks;

-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com





-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 API Manager 1.9.0 Milestone 2 Released!

2015-03-22 Thread Lalaji Sureshika
WSO2 API Manager 1.9.0 Milestone 2 Released!

WSO2 API Manager team is pleased to announce the 2nd Milestone of WSO2 API
Manager 1.9.0.The distribution is available at [1] and the documentation
can be found in [2].
This release includes following features,improvements and bug fixes.

Bug

   - [APIMANAGER-1313 https://wso2.org/jira/browse/APIMANAGER-1313] -
   Creating API fails if WSDL can't be reached..
   - [APIMANAGER-1730 https://wso2.org/jira/browse/APIMANAGER-1730] -
   Error when login as a tenant after installing APIM features on an ESB
   - [APIMANAGER-1902 https://wso2.org/jira/browse/APIMANAGER-1902] -
   Display name not shown in API resources wise tier throtling
   - [APIMANAGER-1958 https://wso2.org/jira/browse/APIMANAGER-1958] -
   ResourceNotFoundException observed in key manager nodes
   - [APIMANAGER-2013 https://wso2.org/jira/browse/APIMANAGER-2013] -
   Issues in CORS headers management
   - [APIMANAGER-2014 https://wso2.org/jira/browse/APIMANAGER-2014] -
   Tryit now feature sends null key, later causes insert error in BAM
   - [APIMANAGER-2032 https://wso2.org/jira/browse/APIMANAGER-2032] - API
   Manager 1.6.0 error on BAM with not autenticated users
   - [APIMANAGER-2046 https://wso2.org/jira/browse/APIMANAGER-2046] - Not
   able to view subscriptions in the Store of the WSO2 API Manager after
   registry curruption
   - [APIMANAGER-2054 https://wso2.org/jira/browse/APIMANAGER-2054] -
   Tenant user sign up through store is not restricted when sign up work flow
   is enabled
   - [APIMANAGER-2106 https://wso2.org/jira/browse/APIMANAGER-2106] - API
   Manager doesn't work when /_system/governance is mounted to different path
   - [APIMANAGER-2132 https://wso2.org/jira/browse/APIMANAGER-2132] -
   Tenant wise theme uploading gets failed
   - [APIMANAGER-2145 https://wso2.org/jira/browse/APIMANAGER-2145] -
   Main logo is not getting changed when upload a customized theme pack
   - [APIMANAGER-2146 https://wso2.org/jira/browse/APIMANAGER-2146] -
   Some images are not getting changed when upload a customized theme pack
   - [APIMANAGER-2210 https://wso2.org/jira/browse/APIMANAGER-2210] -
   Can't display statistics with Stats DB in MSSQL
   - [APIMANAGER-2274 https://wso2.org/jira/browse/APIMANAGER-2274] -
   Error message printed when statistics datasource is not properly configured
   - [APIMANAGER-2279 https://wso2.org/jira/browse/APIMANAGER-2279] -
   Generic error message on publisher UI for several scenarios
   - [APIMANAGER-2349 https://wso2.org/jira/browse/APIMANAGER-2349] -
   Need more descriptive error messages for API Store
   - [APIMANAGER-2382 https://wso2.org/jira/browse/APIMANAGER-2382] -
   Sandbox Application-user token scope is stored as PRODUCTION in
   IDN_OAUTH2_ACCESS_TOKEN
   - [APIMANAGER-2385 https://wso2.org/jira/browse/APIMANAGER-2385] -
   Throttling setting is not reset
   - [APIMANAGER-2443 https://wso2.org/jira/browse/APIMANAGER-2443] -
   When visibility is set to Visible to Domain, it does not make sense to
   have Available to all the tenants subscription level
   - [APIMANAGER-2497 https://wso2.org/jira/browse/APIMANAGER-2497] -
   Adding a document to API does not work if application name is changed
   - [APIMANAGER-2523 https://wso2.org/jira/browse/APIMANAGER-2523] -
   Google Analytics activation block
   - [APIMANAGER-2539 https://wso2.org/jira/browse/APIMANAGER-2539] -
   Statistics on Store - Number of API calls should be right aligned
   - [APIMANAGER-2563 https://wso2.org/jira/browse/APIMANAGER-2563] -
   Entries are fetched from the GatewayResourceCache only when GatewayKeyCache
   is enabled
   - [APIMANAGER-2569 https://wso2.org/jira/browse/APIMANAGER-2569] -
   Composite primary keys mismatch in mysql tables and hive tables in stats
   script
   - [APIMANAGER-2572 https://wso2.org/jira/browse/APIMANAGER-2572] -
   Resource path can't exceed 100 chars
   - [APIMANAGER-2697 https://wso2.org/jira/browse/APIMANAGER-2697] -
   Cannot publish APIs when the external store is referred to by the host name
   - [APIMANAGER-2722 https://wso2.org/jira/browse/APIMANAGER-2722] -
   getting registry exception during document upload in some browsers
   - [APIMANAGER-2725 https://wso2.org/jira/browse/APIMANAGER-2725] -
   OAuth2TokenValidationService can't process valid request
   - [APIMANAGER-2756 https://wso2.org/jira/browse/APIMANAGER-2756] -
   Type a tag and Enter label is missing
   - [APIMANAGER-2867 https://wso2.org/jira/browse/APIMANAGER-2867] -
   COALESCE missing for consumerKey in am_stats_analyzer
   - [APIMANAGER-2892 https://wso2.org/jira/browse/APIMANAGER-2892] -
   Page Headers disappeared when navigated to next page on My Applications
   - [APIMANAGER-2960 https://wso2.org/jira/browse/APIMANAGER-2960] - API
   default version does not work with unauthenticated APIs
   - [APIMANAGER-3040 https://wso2.org/jira/browse/APIMANAGER-3040] -
   Duplicate configuration entry in Identity.xml
   - [APIMANAGER-3053 

Re: [Dev] [APIM] Subscription page shows applications with no subscription

2015-03-13 Thread Lalaji Sureshika
Hi,

I think we should fix this,as it's wrong showing the applications without
having subscriptions in 'My Subscriptions' page..Before loading the
applications list to UI,shall we add a filtering logic to show  only
applications with subscriptions in My subscriptions page..?

Thanks;

On Fri, Mar 13, 2015 at 1:56 AM, Shani Ranasinghe sh...@wso2.com wrote:

 Hi,

 I guess the wording used above was wrong, After having a discussion with
 Dinesh, it was clear that the subscriptions loaded are for application that
 is selected. But however, we still have no way of filtering out the
 applications that do have subscriptions. This was  done as per Dinesh,  as
 a performance improvement, in order to avoid obtaining subscriptions for
 every application in oppose to obtaining subscriptions for the selected
 application.

 However, the subscriptions page is supposed to show applications with
 subscriptions. But is it a must? After all, we can create a token for an
 application even though there are no API's subscribed to it.  A user can
 create an application generate the token and subscribe API's later on.  If
 we decide to show only applications with subscriptions, as Dinesh mentioned
 off line, probably we would have to query it in the DB level to bring in
 the applications that have subscriptions.



 On Fri, Mar 13, 2015 at 10:46 AM, Shani Ranasinghe sh...@wso2.com wrote:

 Hi,

 In the current APIStoreHostObject getAllSubscriptions method, it
 retrieves the Applications list and then  for each application it retrieves
 the subscriptions as well. In that case I don't see any change in the logic
 yet, except that the applications are not getting filtered. Is  it still
 under development?

 On Fri, Mar 13, 2015 at 8:15 AM, Dinesh J Weerakkody dine...@wso2.com
 wrote:

 Hi Nuwan,

 When we do the performance improvement for mysubscription page, we
 decided to load all the applications including the applications which
 doesn't have subscriptions.

 As I can remember, initial logic in hostobject was, load all the
 applications from the backend and filter applications which doesn't have
 subscription details. So we had to load all the subscription details to do
 this filtering. It is not efficient and then we decided to load all the
 applications to UI without doing the filtering.

 Thanks

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

 On Thu, Mar 12, 2015 at 5:11 PM, Nuwan Dias nuw...@wso2.com wrote:

 I guess we don't have to show Applications that do not have
 subscriptions on the 'My Subscriptions' page.

 On Thu, Mar 12, 2015 at 5:06 PM, Shani Ranasinghe sh...@wso2.com
 wrote:

 Hi,

 Currently in the subscription page, it lists down applications that do
 not have a subscription as well. The token generation for this application
 is also enabled. Is this as designed?


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




 --
 Nuwan Dias

 Associate Tech Lead - WSO2, Inc. http://wso2.com
 email : nuw...@wso2.com
 Phone : +94 777 775 729





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




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




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] API Manager 1.9.0 Milestone 1 Released

2015-02-23 Thread Lalaji Sureshika
Hi Samisa,

Please find the document link from  [1]. We are updating [1] in each
milestone..

And IS integration as KM fully testing is depend on completing the feature
[2] which is targeted to milestone 2..

[1] https://docs.wso2.com/display/AM190/WSO2+API+Manager+Documentation
[2] [Architecture] API Manager Authorization Server Decoupling

Thanks;

On Sat, Feb 21, 2015 at 1:54 AM, Samisa Abeysinghe sam...@wso2.com wrote:

 Where can I find the docs for this release?

 Also, what is the IS version for KM that should be used against this
 version of API-M?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Delivery

 WSO2 Inc.
 http://wso2.com


 On Fri, Feb 20, 2015 at 8:08 PM, Lalaji Sureshika lal...@wso2.com wrote:

 *API Manager 1.9.0 Milestone 1 Released!*

 WSO2 API Manager team is pleased to announce the 1st Milestone release of
 WSO2 API Manager 1.9.0.
 The distribution is available to download at [1].
 This release includes following features,improvements and bug fixes.
 Bug

- [APIMANAGER-932 https://wso2.org/jira/browse/APIMANAGER-932] -
Integration tests for TokenParser should add to api configuration by
default.
- [APIMANAGER-966 https://wso2.org/jira/browse/APIMANAGER-966] -
RESTClient 'Response Headers' section doesn't show additional Header 
 fields
(Eg: 'Allow:' Header field that is returned for OPTIONS).
- [APIMANAGER-1336 https://wso2.org/jira/browse/APIMANAGER-1336] -
Billing Sample data is not accurate and java.lang.ClassCastException 
 thrown
when refreshing the page or when no data is available
- [APIMANAGER-1387 https://wso2.org/jira/browse/APIMANAGER-1387] -
Issues with billing sample
- [APIMANAGER-1787 https://wso2.org/jira/browse/APIMANAGER-1787] -
[GREG-APIM] StringIndexOutOfBoundsException occurs when launch Endpoint 
 URL
of resource in API list
- [APIMANAGER-2015 https://wso2.org/jira/browse/APIMANAGER-2015] -
Statistics in API Manager gives an error when EnableBillingAndUsage is set
to true
- [APIMANAGER-2019 https://wso2.org/jira/browse/APIMANAGER-2019] -
Input after double quote in the description of an application gets lost
- [APIMANAGER-2037 https://wso2.org/jira/browse/APIMANAGER-2037] -
When adding an API, and when the API name contains special characters, the
API addition fails, but the appeared UI message is not descriptive enough
for the user to identify what went wrong.
- [APIMANAGER-2087 https://wso2.org/jira/browse/APIMANAGER-2087] -
'Test Endpoint button' says valid for some invalid endpoints
- [APIMANAGER-2233 https://wso2.org/jira/browse/APIMANAGER-2233] -
Tenant user name format in publisher statistics pages
- [APIMANAGER-2704 https://wso2.org/jira/browse/APIMANAGER-2704] -
Blocked subscriptions can be unblocked by re-subscribing to an API
- [APIMANAGER-2780 https://wso2.org/jira/browse/APIMANAGER-2780] -
APIM Test URI functionality in the API implementation section and the
Google Analytics Publishing are not proxy aware
- [APIMANAGER-2821 https://wso2.org/jira/browse/APIMANAGER-2821] -
WorkFlows: Eventhough the subscription pending for approval is deleted 
 from
store, it still exists in workflow admin.
- [APIMANAGER-2965 https://wso2.org/jira/browse/APIMANAGER-2965] -
Application Name showed as null in all store statistics pages when token
encryption enabled
- [APIMANAGER-3010 https://wso2.org/jira/browse/APIMANAGER-3010] -
Issue in displaying the number of APIs displayed in the API Store
- [APIMANAGER-3161 https://wso2.org/jira/browse/APIMANAGER-3161] -
Endpoints are not shown on the UI when an API is created by invoking the
REST API
- [APIMANAGER-3204 https://wso2.org/jira/browse/APIMANAGER-3204] -
AM1.7-BAM2.4.1 Metering  Billing page always shows the rate 0.00 as cost
- [APIMANAGER-3206 https://wso2.org/jira/browse/APIMANAGER-3206] -
Issue in the Document Summary field
- [APIMANAGER-3218 https://wso2.org/jira/browse/APIMANAGER-3218] -
fixing stats showing in borwser even when APIUsageTracking is disabled
- [APIMANAGER-3219 https://wso2.org/jira/browse/APIMANAGER-3219] -
Issue in the API creation Design page Context field
- [APIMANAGER-3220 https://wso2.org/jira/browse/APIMANAGER-3220] -
In APIM Publisher faulty invocation graph Y-axis do not start with 0
- [APIMANAGER-3225 https://wso2.org/jira/browse/APIMANAGER-3225] -
The Popup error message doesn't showing up in the second time when
uploading a file name exceeds a certain length
- [APIMANAGER-3228 https://wso2.org/jira/browse/APIMANAGER-3228] -
First request in tenant erroneously sent to HTTP proxy
- [APIMANAGER-3243 https://wso2.org/jira/browse/APIMANAGER-3243] -
Workflows: admin-dashboard does not display the Approval Tasks sometimes
even without login out
- [APIMANAGER-3250 https://wso2.org/jira/browse/APIMANAGER-3250] -
My subscriptions

[Dev] API Manager 1.9.0 Milestone 1 Released

2015-02-20 Thread Lalaji Sureshika
*API Manager 1.9.0 Milestone 1 Released!*

WSO2 API Manager team is pleased to announce the 1st Milestone release of
WSO2 API Manager 1.9.0.
The distribution is available to download at [1].
This release includes following features,improvements and bug fixes.
Bug

   - [APIMANAGER-932 https://wso2.org/jira/browse/APIMANAGER-932] -
   Integration tests for TokenParser should add to api configuration by
   default.
   - [APIMANAGER-966 https://wso2.org/jira/browse/APIMANAGER-966] -
   RESTClient 'Response Headers' section doesn't show additional Header fields
   (Eg: 'Allow:' Header field that is returned for OPTIONS).
   - [APIMANAGER-1336 https://wso2.org/jira/browse/APIMANAGER-1336] -
   Billing Sample data is not accurate and java.lang.ClassCastException thrown
   when refreshing the page or when no data is available
   - [APIMANAGER-1387 https://wso2.org/jira/browse/APIMANAGER-1387] -
   Issues with billing sample
   - [APIMANAGER-1787 https://wso2.org/jira/browse/APIMANAGER-1787] -
   [GREG-APIM] StringIndexOutOfBoundsException occurs when launch Endpoint URL
   of resource in API list
   - [APIMANAGER-2015 https://wso2.org/jira/browse/APIMANAGER-2015] -
   Statistics in API Manager gives an error when EnableBillingAndUsage is set
   to true
   - [APIMANAGER-2019 https://wso2.org/jira/browse/APIMANAGER-2019] -
   Input after double quote in the description of an application gets lost
   - [APIMANAGER-2037 https://wso2.org/jira/browse/APIMANAGER-2037] -
   When adding an API, and when the API name contains special characters, the
   API addition fails, but the appeared UI message is not descriptive enough
   for the user to identify what went wrong.
   - [APIMANAGER-2087 https://wso2.org/jira/browse/APIMANAGER-2087] -
   'Test Endpoint button' says valid for some invalid endpoints
   - [APIMANAGER-2233 https://wso2.org/jira/browse/APIMANAGER-2233] -
   Tenant user name format in publisher statistics pages
   - [APIMANAGER-2704 https://wso2.org/jira/browse/APIMANAGER-2704] -
   Blocked subscriptions can be unblocked by re-subscribing to an API
   - [APIMANAGER-2780 https://wso2.org/jira/browse/APIMANAGER-2780] -
   APIM Test URI functionality in the API implementation section and the
   Google Analytics Publishing are not proxy aware
   - [APIMANAGER-2821 https://wso2.org/jira/browse/APIMANAGER-2821] -
   WorkFlows: Eventhough the subscription pending for approval is deleted from
   store, it still exists in workflow admin.
   - [APIMANAGER-2965 https://wso2.org/jira/browse/APIMANAGER-2965] -
   Application Name showed as null in all store statistics pages when token
   encryption enabled
   - [APIMANAGER-3010 https://wso2.org/jira/browse/APIMANAGER-3010] -
   Issue in displaying the number of APIs displayed in the API Store
   - [APIMANAGER-3161 https://wso2.org/jira/browse/APIMANAGER-3161] -
   Endpoints are not shown on the UI when an API is created by invoking the
   REST API
   - [APIMANAGER-3204 https://wso2.org/jira/browse/APIMANAGER-3204] -
   AM1.7-BAM2.4.1 Metering  Billing page always shows the rate 0.00 as cost
   - [APIMANAGER-3206 https://wso2.org/jira/browse/APIMANAGER-3206] -
   Issue in the Document Summary field
   - [APIMANAGER-3218 https://wso2.org/jira/browse/APIMANAGER-3218] -
   fixing stats showing in borwser even when APIUsageTracking is disabled
   - [APIMANAGER-3219 https://wso2.org/jira/browse/APIMANAGER-3219] -
   Issue in the API creation Design page Context field
   - [APIMANAGER-3220 https://wso2.org/jira/browse/APIMANAGER-3220] - In
   APIM Publisher faulty invocation graph Y-axis do not start with 0
   - [APIMANAGER-3225 https://wso2.org/jira/browse/APIMANAGER-3225] - The
   Popup error message doesn't showing up in the second time when uploading a
   file name exceeds a certain length
   - [APIMANAGER-3228 https://wso2.org/jira/browse/APIMANAGER-3228] -
   First request in tenant erroneously sent to HTTP proxy
   - [APIMANAGER-3243 https://wso2.org/jira/browse/APIMANAGER-3243] -
   Workflows: admin-dashboard does not display the Approval Tasks sometimes
   even without login out
   - [APIMANAGER-3250 https://wso2.org/jira/browse/APIMANAGER-3250] - My
   subscriptions load issue when there are cross tenant subscriptions
   - [APIMANAGER-3253 https://wso2.org/jira/browse/APIMANAGER-3253] -
   Cannot browse APIs
   - [APIMANAGER-3254 https://wso2.org/jira/browse/APIMANAGER-3254] -
   Cannot create APIs
   - [APIMANAGER-3257 https://wso2.org/jira/browse/APIMANAGER-3257] - In
   APIM Store get all subscription API do not show subscribed APIs properly.
   - [APIMANAGER-3258 https://wso2.org/jira/browse/APIMANAGER-3258] -
   Tenant admin cannot authenticate to oauth2/token endpoint
   - [APIMANAGER-3263 https://wso2.org/jira/browse/APIMANAGER-3263] -
   Startup Publisher fails to create API configured to be published at startup
   - [APIMANAGER-3265 https://wso2.org/jira/browse/APIMANAGER-3265] -
   Typo at label Environment
   - [APIMANAGER-3273 

Re: [Dev] Limitations with Cache Mediator

2014-10-23 Thread Lalaji Sureshika
Hi Lakmali,

On Wed, Oct 22, 2014 at 11:15 PM, Lakmali Baminiwatta lakm...@wso2.com
wrote:

 Hi Lalaji,

 In REQUESTHASHGenerator, we excluded Date and User-Agent headers when
 generating the request hash. If there are any other or custom headers which
 need to be excluded, we can write a new Hash Generator implementation by
 extending REQUESTHASHGenerator and override 'getDigest()' method. Then we
 can use that in the cache mediator.


   Thanks for the info..I guess,we should include this information in to
wiki,regarding this feature..


 Thanks,
 Lakmali

 On 22 October 2014 22:59, Lalaji Sureshika lal...@wso2.com wrote:

 Hi,


 On Fri, Dec 6, 2013 at 2:49 AM, Lakmali Baminiwatta lakm...@wso2.com
 wrote:

 Hi Sanjeewa,


 On 6 December 2013 07:48, Sanjeewa Malalgoda sanje...@wso2.com wrote:




 On Mon, Dec 2, 2013 at 6:23 PM, Lakmali Baminiwatta lakm...@wso2.com
 wrote:

 Hi,


 On 2 December 2013 18:02, Sumedha Rubasinghe sume...@wso2.com wrote:




 On Mon, Dec 2, 2013 at 5:24 PM, Lakmali Baminiwatta lakm...@wso2.com
  wrote:

 Hi Sanjeewa,


 On 2 December 2013 17:00, Sanjeewa Malalgoda sanje...@wso2.com
 wrote:




 On Sun, Dec 1, 2013 at 11:01 PM, Lakmali Baminiwatta 
 lakm...@wso2.com wrote:

 Hi all,

 When processing the response, if the request is REST then soap
 format, transport headers and message type are also stored. Similarly 
 when
 retrieving the cached response, if the request is REST then stored 
 values
 are used to compose the response message. With these modifications 
 cache
 mediator returns the response correctly for non SOAP requests.

 But we have another issue here. Currently the request Hash value
 is derived from the SOAP message body. So for REST calls it gets the 
 same
 hash value for all requests which sent without a payload.

 ex: Both below requests are recognized as the same request
 according to the hash value derived from DOMHASHGenerator.

 curl -v -H Authorization: Bearer 1EV6Qqa_DboaBzNj2JfiyXoO1Ysa
 http://localhost:8280/test/1.0.0?regNo=001
  curl -v -H Authorization: Bearer 1EV6Qqa_DboaBzNj2JfiyXoO1Ysa
 http://localhost:8280/test/1.0.0?regNo=002
 http://localhost:8280/test/1.0.0?regNo=001

 So right now we need to figure out a mechanism to generate hash
 value for REST calls.

 How if we consider full request path(including query params and
 etc) + headers. For above example something like follows (full request 
 path
 and , separated transport headers list). We can compute hash value of
 that string and store it.

 *http://localhost:8280/test/1.0.0?regNo=002,Authorization
 http://localhost:8280/test/1.0.0?regNo=002,Authorization: Bearer
 1EV6Qqa_DboaBzNj2JfiyXoO1Ysa*

  Here we cannot only consider full request path as we take some
 decisions at backend based on headers. WDYT?


 Yeah, need to consider request path + headers. But I think we don't
 need hash Authorization headers, as request hits the cache mediator 
 after
 going through the handlers. So in default case, at the time of hashing 
 we
 don't have the authorization header. So AFAIU, the only concern which 
 comes
 up here is, same request invoked using different keys may get the 
 response
 from the cache. I believe that is ok. WDYT?



 We simply store response values against a given request pattern. But
 Authorisation header should not be part of it. Otherwise it will become a
 token based cache. But are whole lot of other header parameter like
 content-type, accept header, accept language (
 http://en.wikipedia.org/wiki/List_of_HTTP_header_fields).

 Let's ignore Authorisation header for time being.

 +1. So for now let's generate the hash based on request path, Accept
  Content-Type headers and payload (if available).

 +1. IMO we should use all other headers except authentication headers
 (Ex. sometimes response may depend on client type or sometimes it may
 depend on any other custom header).


 We can use all the headers [1]. But there are some headers which seems
 not correct to use for hashing the request.

 ex:
 Date - This is unique for each request. If this is used for generting
 the hash, cache will be never used.
 User-Agent - This is specific to the user client/browser who sent the
 request. So different caches for different users.

 So I think we need to figure out which headers to skip or which headers
 to use for hash generation.


  Did we consider ,  above unique request headers to include in
 hashing the request or are we generating the cache digest based on all
 transport headers..?



 [1]http://en.wikipedia.org/wiki/List_of_HTTP_header_fields

 Thanks,
 Lakmali


 Thanks,
 sanjeewa.


 Thanks,
 Lakmali


 I am writing a new Digest Generator implementation by extending
 DOMHASHGenerator. This basically does what DOMHASHGenerator had been 
 doing
 and additionally it digests request path and available transport headers 
 as
 well.

 Thanks,
 Lakmali


 Thanks,
 sanjeewa.


 Thanks,
 Lakmali


 On 29 November 2013 00:18, Lakmali Baminiwatta lakm...@wso2.com
 wrote

Re: [Dev] Limitations with Cache Mediator

2014-10-22 Thread Lalaji Sureshika
 Baminiwatta
  Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 mobile:  +94 71 2335936
 blog : lakmali.com


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




 --

 *Sanjeewa Malalgoda*
 Senior Software Engineer
 WSO2 Inc.
 Mobile : +94713068779

  http://sanjeewamalalgoda.blogspot.com/blog
 :http://sanjeewamalalgoda.blogspot.com/
 http://sanjeewamalalgoda.blogspot.com/





 --
 Lakmali Baminiwatta
  Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 mobile:  +94 71 2335936
 blog : lakmali.com


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




 --
 /sumedha
 b :  bit.ly/sumedha




 --
 Lakmali Baminiwatta
  Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 mobile:  +94 71 2335936
 blog : lakmali.com




 --

 *Sanjeewa Malalgoda*
 Senior Software Engineer
 WSO2 Inc.
 Mobile : +94713068779

  http://sanjeewamalalgoda.blogspot.com/blog
 :http://sanjeewamalalgoda.blogspot.com/
 http://sanjeewamalalgoda.blogspot.com/





 --
 Lakmali Baminiwatta
  Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 mobile:  +94 71 2335936
 blog : lakmali.com


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




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][APIM] Please commit the patch

2014-10-15 Thread Lalaji Sureshika
Committed with r208364.

On Wed, Oct 15, 2014 at 6:27 AM, Abimaran Kugathasan abima...@wso2.com
wrote:

 Hi Nuwan,


 Please commit the attached patch for JIRA [1]

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

 --
 Thanks
 Abimaran Kugathasan

 Software Engineer | WSO2 Inc
 Data  APIs Technologies Team
 Mobile : +94 77 1708229

 http://stackoverflow.com/users/515034
 http://lk.linkedin.com/in/abimaran
 http://www.lkabimaran.blogspot.com/  https://github.com/abimaran
 https://twitter.com/abimaran




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please Commit the patch

2014-09-25 Thread Lalaji Sureshika
Committed..

On Thu, Sep 25, 2014 at 5:45 AM, Abimaran Kugathasan abima...@wso2.com
wrote:

 Hi Nuwan,

 Please commit the attached patch for JIRA [1]


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

 --
 Thanks
 Abimaran Kugathasan

 Software Engineer | WSO2 Inc
 Data  APIs Technologies Team
 Mobile : +94 77 1708229

 http://stackoverflow.com/users/515034
 http://lk.linkedin.com/in/abimaran
 http://www.lkabimaran.blogspot.com/  https://github.com/abimaran
 https://twitter.com/abimaran




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] AM 1.8.0 nightly build pack-23-09-2014

2014-09-23 Thread Lalaji Sureshika
Hi,

Please find $subject from [1].

[1] https://svn.wso2.org/repos/wso2/scratch/chunk13-release/23-09-2014/

-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com;
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Unable to regenerate access token in APIM

2014-09-11 Thread Lalaji Sureshika
Hi Waruna,

The [1] mentioned original issue is a bug it has fixed with AM 1.7.0 before
the release.The same error code [302] can appear if AM 1.7.0 run with a
port offset and if you haven't do additional config changes.I have added
the additional two config changes need to done as a comment to [1].Please
try with those changes.

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

On Fri, Sep 12, 2014 at 1:01 AM, Waruna Perera waru...@wso2.com wrote:

 HI,

 I came across $subject in APIM 1.7.0 pack. There is a public JIRA [1] for
 this and it states that the issue has been fixed. It still seems like issue
 still exist as some more comments have added complaining of it. Can I know
 the status of it? Should we reopen the issue?

 [1] https://wso2.org/jira/browse/APIMANAGER-2290
 --
 Waruna Perera
 Senior Software Engineer - Test Automation
 Mobile: +94 77 3867037
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GIT]G-Reg (wso2greg-5.0.0-SNAPSHOT) start up error.

2014-04-29 Thread Lalaji Sureshika
.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:398)
 at
 org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
  at
 org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:77)
 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.ServiceComponent.activate(ServiceComponent.java:260)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
  at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
  at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
 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)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
 at
 org.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81)
  at
 org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60)
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40)
  at
 org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38)
 at
 org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1279)
  at
 org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1192)
 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
  at
 org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5210)
 at
 org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5493)
  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
 at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
  at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
  at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 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)


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


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




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com;
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Queries regarding solr based indexing in registry

2014-04-24 Thread Lalaji Sureshika
Hi Ajith,

Appreciate your feedback on below queries.

1. Can we add a custom indexer to trigger indexing only in a particular
registry path based on particular media types.
[For eg: we only need to index registry resources in
_system/governance/apimgt/applicationdata/api-docs with media types
application/json, application/pdf,application/msword and application/text]

2.  We want to do search based on above indexed registry resources,if so
how we can write a custom search client to achieve this only to filter the
above indexed type resources.Appreciate any code reference on how to do
this..

Thanks;

-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 API Manager 1.7.0 Nightly Build- 20-04-2014

2014-04-20 Thread Lalaji Sureshika
Hi,

Please find the $subject at [1].

[1] http://builder1.us1.wso2.org/~apim/20-04-2014/wso2am-1.7.0.zip

-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; c
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 API Manager 1.7.0 Nightly Build- 03-04-2014

2014-04-03 Thread Lalaji Sureshika
Hi,

Please find the $subject at [1]. P2-repo can be found from [2].

[1] http://builder1.us1.wso2.org/~apim/03-04-2014/wso2am-1.7.0.zip
[2] http://builder1.us1.wso2.org/~apim/03-04-2014/p2-repo/

Thanks;
http://builder1.us1.wso2.org/~apim/29-03-2014/wso2am-1.7.0.zip--
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com;
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Missing chunk 07 [ESB/BPS features] in nexus repo

2014-03-27 Thread Lalaji Sureshika
 the command:
[ERROR] mvn install:install-file -DgroupId=org.wso2.bps
-DartifactId=org.wso2.bps.bps-manager.nested.category.feature
-Dversion=3.2.0 -Dpackaging=zip -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the
file there:
[ERROR] mvn deploy:deploy-file -DgroupId=org.wso2.bps
-DartifactId=org.wso2.bps.bps-manager.nested.category.feature
-Dversion=3.2.0 -Dpackaging=zip -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
[ERROR]
[ERROR]
[ERROR]
org.wso2.bps:org.wso2.bps.bps-manager.nested.category.feature:zip:3.2.0
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/,
releases=true, snapshots=true),
[ERROR] central (http://repo.maven.apache.org/maven2, releases=true,
snapshots=false)
[ERROR] - [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.

Thanks;

-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com;
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Missing chunk 07 [ESB/BPS features] in nexus repo

2014-03-27 Thread Lalaji Sureshika
On Thu, Mar 27, 2014 at 7:28 PM, Malaka Silva mal...@wso2.com wrote:

 Do we need to add nested.category features to nexus repo?


  Yes,nested category features has to be added..[You can browse nexus repo
and see previous chunk based released products already done this.]

Thanks;



 On Thu, Mar 27, 2014 at 6:50 PM, Lalaji Sureshika lal...@wso2.com wrote:

 Hi,

 When trying to create chunk -08 p2-repo ,I'm getting errors from chunk-07
 features,due to below features are not uploaded to nexus repo.

 1) org.wso2.bps:org.wso2.bps.bps-manager.nested.category.feature:zip:3.2.0
 2) org.wso2.esb:org.wso2.esb.esb-manager.nested.category.feature:zip:4.8.1
 3) org.wso2.bps:org.wso2.stratos.bps.styles.feature:zip:3.2.0
 4) org.wso2.stratos.bps.dashboard.ui.feature:3.2.0
 5) org.wso2.bps:org.wso2.bps.samples.utils.feature:zip:3.2.0

 Can chunk 07 release manager verify building p2-repo in a clean repo and
 upload the above features to nexus repo?

 -
 Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
 Failure to find
 org.wso2.bps:org.wso2.bps.bps-manager.nested.category.feature:zip:3.2.0 in
 http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in
 the local repository, resolution will not be reattempted until the update
 interval of wso2-nexus has elapsed or updates are forced

 Try downloading the file manually from the project website.

 Then, install it using the command:
 mvn install:install-file -DgroupId=org.wso2.bps
 -DartifactId=org.wso2.bps.bps-manager.nested.category.feature
 -Dversion=3.2.0 -Dpackaging=zip -Dfile=/path/to/file

 Alternatively, if you host your own repository you can deploy the file
 there:
 mvn deploy:deploy-file -DgroupId=org.wso2.bps
 -DartifactId=org.wso2.bps.bps-manager.nested.category.feature
 -Dversion=3.2.0 -Dpackaging=zip -Dfile=/path/to/file -Durl=[url]
 -DrepositoryId=[id]


   org.wso2.bps:org.wso2.bps.bps-manager.nested.category.feature:zip:3.2.0

 from the specified remote repositories:
   wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/,
 releases=true, snapshots=true),
   central (http://repo.maven.apache.org/maven2, releases=true,
 snapshots=false)

 at
 org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:219)
  at
 org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:157)
 at
 org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:525)
  at
 org.wso2.maven.p2.generate.utils.MavenUtils.getResolvedArtifact(MavenUtils.java:39)
 ... 24 more
 Caused by: org.sonatype.aether.resolution.ArtifactResolutionException:
 Failure to find
 org.wso2.bps:org.wso2.bps.bps-manager.nested.category.feature:zip:3.2.0 in
 http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in
 the local repository, resolution will not be reattempted until the update
 interval of wso2-nexus has elapsed or updates are forced
  at
 org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
 at
 org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
  at
 org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193)
 at
 org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:286)
  at
 org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:213)
 ... 27 more
 Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException:
 Failure to find
 org.wso2.bps:org.wso2.bps.bps-manager.nested.category.feature:zip:3.2.0 in
 http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in
 the local repository, resolution will not be reattempted until the update
 interval of wso2-nexus has elapsed or updates are forced
  at
 org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:230)
 at
 org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:204)
  at
 org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:427)
 ... 31 more
 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 2.118s
 [INFO] Finished at: Thu Mar 27 08:54:14 EDT 2014
 [INFO] Final Memory: 9M/208M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.wso2.maven:carbon-p2-plugin:1.5.3:p2-repo-gen (2-p2-repo-generation) on
 project wso2carbon-feature-repository: Error occured when processing the
 Feature Artifact:
 org.wso2.bps:org.wso2.bps.bps

Re: [Dev] Can we have a P2 repo for the upcoming release

2014-03-26 Thread Lalaji Sureshika
Hi Nirodha,

We need to create the p2-repo pom for chunk 08 and update relevant nested
feature categories in chunk 08 with releasing products.As I see,none of
release product team has update this yet.. I'll first create the p2-repo
pom and update the relevant APIM related features and provide a p2-repo
soon.

@IS team/BAM team -Please note to update your features..

Thanks;


On Thu, Mar 27, 2014 at 1:10 AM, Nirodha Pramod niro...@wso2.com wrote:

 Hi,

 Can we please have the $subject. This is much needed for API-M testing.

 regards,
 Nirodha

 --

 *Nirodha Gallage*
 Senior Software Engineer, QA.
 WSO2 Inc.: http://wso2.com/
 Mobile: +94716429078




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com;
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] API Manager- 1.7.0 Nightly Build Pack 25-03-2014

2014-03-25 Thread Lalaji Sureshika
Hi,

Please find $subject in [1].

[1] http://builder1.us1.wso2.org/~apim/25-03-2014/wso2am-1.7.0.zip

Above contains the new feature[2] and fix for /token API invocation failure
[3,4].

[2] https://wso2.org/jira/browse/APIMANAGER-2093
[3] https://wso2.org/jira/browse/APIMANAGER-2094
[3] https://wso2.org/jira/browse/APIMANAGER-2088

Thanks;

-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com;
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Using Jquery autocomplete and Solr within API Manager 1.6.0 Store search

2014-03-19 Thread Lalaji Sureshika
Hi Cameron,

In AM 1.6.0,we have added embedded Solr functionality only for listing
paginated APIs,but not with the Store search functionality due to release
time constraints.We'll be adding embedded solr functionality to Store API
search with upcoming release in which you can try with.
Adding to that APIManager Store/Publisher inbuilt functionalities are
exposed via a set of jaggery based APIs [1].Once we provided above
support,you can use the relevant jaggery based REST API,to use API search
functionality with your client side jquery auto-complete plugin integration.

[1] https://docs.wso2.org/display/AM160/Store+APIs

Thanks;


On Thu, Mar 20, 2014 at 1:18 AM, Cameron, Antonio 
antonio.came...@bankofamerica.com wrote:

  Is it possible to expose the embedded Solr functionality to be used in
 API Manager Store API search?  I would like to integrate it with the jquery
 autocomplete plugin bound to a textbox.  Is this functionality exposed via
 an Axis2 webservice?  Can anyone provide any examples of how to accomplish
 this tasks?



 Thanks,



 Antonio
  --
 This message, and any attachments, is for the intended recipient(s) only,
 may contain information that is privileged, confidential and/or proprietary
 and subject to important terms and conditions available at
 http://www.bankofamerica.com/emaildisclaimer. If you are not the intended
 recipient, please delete this message.

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




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Chunk 6 Latest Packs-20/12/2013

2013-12-20 Thread Lalaji Sureshika
Hi,

Please find the chunk6 packs (APIM,SS,IS) and p2-repo from [1]. Built
revision no 193869.

[1] http://ec2-107-22-190-5.compute-1.amazonaws.com/chunk-06/RC3/

Thanks;

-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Security mgt feature dependency in identity core server feature

2013-12-19 Thread Lalaji Sureshika
Committed with r193812,193813


On Fri, Dec 20, 2013 at 12:45 PM, Sanjeewa Malalgoda sanje...@wso2.comwrote:

 @Lalaji Please apply this patch.

 Thanks,
 sanjeewa.


 On Fri, Dec 20, 2013 at 12:32 PM, Asela Pathberiya as...@wso2.com wrote:




 On Fri, Dec 20, 2013 at 12:17 PM, Sanjeewa Malalgoda 
 sanje...@wso2.comwrote:

 Hi All,
 I can see we have added org.wso2.carbon.identity.core.server.feature -
 4.2.2 to chunck 06 pom. But that feature was
 referring org.wso2.carbon.security.mgt.server - 4.2.0 version and that is
 not the latest version for org.wso2.carbon.security.mgt.server feature(we
 have few versions of this 4.2.0  4.2.1  4.2.2  4.2.3  4.2.4). There are
 some fixes added to 4.2.4 related to POX security handler engagement. So
 shall we update it with 4.2.4 version?


 Yes..  i guess we need to do... However security-mgt feature is shipped
 as different one. Actually we need to verify why security-mgt is needed for
 identity core

  Thanks,
 Asela.




 Thanks,
 sanjeewa.

 --

 *Sanjeewa Malalgoda*
 Senior Software Engineer
 WSO2 Inc.
 Mobile : +94713068779

  http://sanjeewamalalgoda.blogspot.com/blog
 :http://sanjeewamalalgoda.blogspot.com/http://sanjeewamalalgoda.blogspot.com/





 --
 Thanks  Regards,
 Asela

 ATL
 Mobile : +94 777 625 933




 --

 *Sanjeewa Malalgoda*
 Senior Software Engineer
 WSO2 Inc.
 Mobile : +94713068779

  http://sanjeewamalalgoda.blogspot.com/blog
 :http://sanjeewamalalgoda.blogspot.com/http://sanjeewamalalgoda.blogspot.com/





-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Adding httpmime to orbit

2013-10-13 Thread Lalaji Sureshika
Hi,

There's a bug in current publishing APIs to external APIStores feature as
not copying API images to external APIStores via exposed API as mentioned
in 1].
To fix that we  need to do a HTTP multi-part POST request using
http-mime dependency[2]
of  with using apache http client mime jar with using the class
org.apache.http.entity.mime.MultipartEntity[3]
support.
To use that jar from our code,there's no osgi bundle available currently..I
have seen same jar has been used from automation framework as a third party
jar. Better approach would be create an osgi bundle wrapping the apache
httpmime jar,without referring it as a third-party jar.

Thought of adding this to orbit,as this will be useful commonly,when doing
http multipart requests with attachments.I locally added it and did try
building AM and did a smoke test.

Please raised any concerns if you have regarding the above change...

[1] https://wso2.org/jira/browse/APIMANAGER-1742
[2]  dependency
 groupIdorg.apache.httpcomponents/groupId
  artifactIdhttpmime/artifactId
  version4.2.5/version

/dependency
[3]
http://hc.apache.org/httpcomponents-client-ga/httpmime/apidocs/org/apache/http/entity/mime/MultipartEntity.html

Thanks;

-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Chunk 02 Build Failure

2013-09-26 Thread Lalaji Sureshika
Hi Isuru,

This fix was added by Ajith as part of the fix an issue on registry
pagination with APIM integration.AFAIK,by this change a new getter/setter
has added to PaginationContext class. Refer the jira [1]

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


Thanks;


On Thu, Sep 26, 2013 at 11:03 PM, Isuru Udana isu...@wso2.com wrote:

 I am getting the following build failure.

 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
 (default-compile) on project org.wso2.carbon.registry.indexing: Compilation
 failure
 [ERROR]
 /media/isuru/WSO2/svn/public/4.2.0/platform/4.2.0/components/registry/org.wso2.carbon.registry.indexing/4.2.1/src/main/java/org/wso2/carbon/registry/indexing/service/ContentBasedSearchService.java:[140,33]
 cannot find symbol
 [ERROR] symbol  : method setLength(int)
 [ERROR] location: class
 org.wso2.carbon.registry.core.pagination.PaginationContext
 [ERROR] - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the
 command
 [ERROR]   mvn goals -rf :org.wso2.carbon.registry.indexing

 This got resolved after building kernel patch0001.
 Are we allow API changes in kernel patches now ?


 --
 *Isuru Udana*
 *
 *
 Senior *
 Software Engineer
 *
 WSO2 Inc.; http://wso2.com
 email: isu...@wso2.com cell: +94 77 3791887
 blog: http://mytecheye.blogspot.com/
 twitter: http://twitter.com/isudana

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




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Chunk 02 Build Failure

2013-09-26 Thread Lalaji Sureshika
Hi,

From this fix, only a new method has added and no existing API method
changes happened .Thus will this be cause any problem..?
From APIM side,we need this fix,to integrate registry pagination in APIM
[which has increased the performance of APIs loading in APIStore ] and this
is a bug fix,which hasn't identified before chunk1 release out..

Thanks;



On Thu, Sep 26, 2013 at 11:19 PM, Isuru Udana isu...@wso2.com wrote:

 Hi Lalaji,

 AFAIK api changes are not allowed for Kernel patches. We had a similar
 case for 4.1.3 and had to revert that at the last moment.



 On Thu, Sep 26, 2013 at 11:14 PM, Lalaji Sureshika lal...@wso2.comwrote:

 Hi Isuru,

 This fix was added by Ajith as part of the fix an issue on registry
 pagination with APIM integration.AFAIK,by this change a new getter/setter
 has added to PaginationContext class. Refer the jira [1]


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


 Thanks;


 On Thu, Sep 26, 2013 at 11:03 PM, Isuru Udana isu...@wso2.com wrote:

  I am getting the following build failure.

 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
 (default-compile) on project org.wso2.carbon.registry.indexing: Compilation
 failure
 [ERROR]
 /media/isuru/WSO2/svn/public/4.2.0/platform/4.2.0/components/registry/org.wso2.carbon.registry.indexing/4.2.1/src/main/java/org/wso2/carbon/registry/indexing/service/ContentBasedSearchService.java:[140,33]
 cannot find symbol
 [ERROR] symbol  : method setLength(int)
 [ERROR] location: class
 org.wso2.carbon.registry.core.pagination.PaginationContext
 [ERROR] - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the
 command
 [ERROR]   mvn goals -rf :org.wso2.carbon.registry.indexing

 This got resolved after building kernel patch0001.
 Are we allow API changes in kernel patches now ?


 --
 *Isuru Udana*
 *
 *
 Senior *
 Software Engineer
 *
 WSO2 Inc.; http://wso2.com
 email: isu...@wso2.com cell: +94 77 3791887
 blog: http://mytecheye.blogspot.com/
 twitter: http://twitter.com/isudana

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




 --
 Lalaji Sureshika
  WSO2, Inc.;  http://wso2.com/
 email: lal...@wso2.com; cell: +94 71 608 6811
 blog: http://lalajisureshika.blogspot.com





 --
 *Isuru Udana*
 *
  *
 Senior *
 Software Engineer
 *
 WSO2 Inc.; http://wso2.com
 email: isu...@wso2.com cell: +94 77 3791887
 blog: http://mytecheye.blogspot.com/
 twitter: http://twitter.com/isudana




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Blocker] APIM tenant stores not showing APIs, due to registry pagination doesn't working as expected

2013-09-25 Thread Lalaji Sureshika
Hi,

QA team has reported the issue[1] appeared in their testing distributed
setup in which user-store is ldap.To avoid the jira[1] mentioned
exception,we have add the fix r186370 done by Senaka as a patch in our
setup.

Still,we cannot see APIs from APIStore and when debugging below code block
is returning an empty response.
GenericArtifact[] genericArtifacts =
artifactManager.findGenericArtifacts(listMap);

I have attached registry.xmls of publisher and store nodes.
@greg team :Please have a look on this..


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

-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
?xml version=1.0 encoding=utf-8?
wso2registry

!-- These are used to define the DB configuration and the basic parameters to be used for the registry --

currentDBConfigwso2registry/currentDBConfig
readOnlyfalse/readOnly
enableCachetrue/enableCache
registryRoot//registryRoot

!-- This defines the default database and its configuration of the registry --

dbConfig name=wso2registry
dataSourcejdbc/WSO2CarbonDB/dataSource
/dbConfig

dbConfig name=mountregistry
dataSourcejdbc/WSO2MountRegistryDB/dataSource
/dbConfig

   remoteInstance url=https://localhost:9443/registry;
idmountInstance/id
dbConfigmountregistry/dbConfig
	cacheIdAM150REG@jdbc:oracle:thin:@192.168.18.8:1521:daniddb/cacheId
readOnlyfalse/readOnly
enableCachetrue/enableCache
registryRoot//registryRoot
/remoteInstance

mount path=/_system/config overwrite=true
instanceIdmountInstance/instanceId
targetPath/_system/config/targetPath
/mount

mount path=/_system/governance overwrite=true
instanceIdmountInstance/instanceId
targetPath/_system/governance/targetPath
   /mount


!-- This handler provides the feature to add a simlink to a given resource --

handler class=org.wso2.carbon.registry.extensions.handlers.ExtensionsSymLinkHandler
filter class=org.wso2.carbon.registry.core.jdbc.handlers.filters.URLMatcher
property name=pattern.*/property
/filter
/handler

!-- This handler provides resource retention locking for the resources --

handler class=org.wso2.carbon.registry.extensions.handlers.RetentionHandler 
methods=PUT,DELETE,MOVE,RENAME,IMPORT,COPY,ADD_ASSOCIATION,REMOVE_ASSOCIATION,RESTORE,RESTORE_VERSION
filter class=org.wso2.carbon.registry.core.jdbc.handlers.filters.URLMatcher
property name=pattern.*/property
/filter
/handler

!-- This handler process the uploaded  WSDL files --

handler class=org.wso2.carbon.registry.extensions.handlers.WSDLMediaTypeHandler
!--property name=createServicefalse/property
property name=disableWSDLValidationtrue/property--
property name=disableSymlinkCreationtrue/property
property name=schemaLocationConfiguration type=xml
location/trunk/schemas//location
	/property
property name=wsdlLocationConfiguration type=xml
location/trunk/wsdls//location
	/property
property name=policyLocationConfiguration type=xml
location/trunk/policies//location
	/property

filter class=org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher
property name=mediaTypeapplication/wsdl+xml/property
/filter
/handler

!-- This handler processes .zip  .gar files being added to the registry --

handler class=org.wso2.carbon.registry.extensions.handlers.ZipWSDLMediaTypeHandler
property name=wsdlMediaTypeapplication/wsdl+xml/property
property name=schemaMediaTypeapplication/xsd+xml/property
property name=threadPoolSize50/property
property name=disableSymlinkCreationtrue/property
!--property name=createServicefalse/property
	property name=useOriginalSchematrue/property
property name=disableWSDLValidationtrue/property
property name=disableSchemaValidationtrue/property
property name=wsdlExtension.wsdl/property
property name=schemaExtension.xsd/property
property name=archiveExtension.gar/property
property name=tempFilePrefixwsdl/property--
property name=numberOfRetry3/property
property name=schemaLocationConfiguration type=xml
location/trunk/schemas//location
/property
property name=wsdlLocationConfiguration type=xml
location/trunk/wsdls//location
/property
	filter class=org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher
property name=mediaTypeapplication/vnd.wso2.governance-archive/property
/filter
/handler

!-- This handler processes the services being added to the registry --

handler class=org.wso2

Re: [Dev] [DEV] [GREG][Blocker] IndexOutOfBoundsException thrown for tenants

2013-09-25 Thread Lalaji Sureshika
Hi,

Similar error observed in APIM 24th nightly build pack as well.

Thanks;


On Wed, Sep 25, 2013 at 11:13 PM, Nuwan Silva nuw...@wso2.com wrote:

 IndexOutOfBoundsException thrown for tenants.

 JIRA: https://wso2.org/jira/browse/REGISTRY-2015

 TID: [0] [Greg] [2013-09-25 18:54:06,662] INFO
 {org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils} - Starting to
 clean tenant : 
 nu1silva.com{org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils}
 TID: [0] [Greg] [2013-09-25 18:54:06,725] ERROR
 {org.wso2.carbon.core.multitenancy.MultitenantServerManager} - Error
 occurred while executing tenant cleanup
 {org.wso2.carbon.core.multitenancy.MultitenantServerManager}
 java.lang.IndexOutOfBoundsException: Index: 10, Size: 1
 at java.util.LinkedList.checkElementIndex(LinkedList.java:553)
 at java.util.LinkedList.remove(LinkedList.java:523)
 at
 org.wso2.carbon.registry.indexing.internal.IndexingServiceComponent$2.terminatingConfigurationContext(IndexingServiceComponent.java:97)

 at
 org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.doPreConfigContextTermination(TenantAxisUtils.java:525)

 at
 org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.terminateTenantConfigContext(TenantAxisUtils.java:487)

 at
 org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.cleanupTenants(TenantAxisUtils.java:436)

 at
 org.wso2.carbon.core.multitenancy.MultitenantServerManager$TenantCleanupTask.run(MultitenantServerManager.java:73)

 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)

 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)

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

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

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


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

 WSO2 Inc.
 lean . enterprise . middlewear.
 http://www.wso2.com

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




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Invoking Token API to generate user tokens

2013-09-07 Thread Lalaji Sureshika
)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
  at java.lang.Thread.run(Thread.java:722)

 Regards,

 --
 Suneth Ranasinghe
 Senior Software Engineer - QA
 Mobile: +94717387198
 *
 *
 wso2.com
 Lean Enterprise Middleware




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] APIM 1.5.0 distribution size has increased [200 MB]

2013-09-02 Thread Lalaji Sureshika
Hi,

APIM distribution size has increased by ~40MB in AM 1.5.0. When looking
$subject,observed below significant size changes in AM 1.5.0..

   AM 1.5.0
  AM 1.4.0
In {AM}/repository/features*36MB [Out from this,*9MB
*  19MB for as.cxf
features] *
In {AM}/lib/runtimes   *19MB*
 10MB

In {AM}/repository/*163MB *[This could be due to
 147MB
components/added new features supported
plugins bundle jars] *
  *


When comparing apim two jaggery apps,size has increased only by ~3 MB
Addition to above,there were slight size improvements related to multiple
profile support.

Thanks;
-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com;
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] APIM 1.5.0 Milestone4 Review Notes-30/08/13

2013-09-01 Thread Lalaji Sureshika
-- Forwarded message --
From: Lalaji Sureshika lal...@wso2.com
Date: Fri, Aug 30, 2013 at 5:08 AM
Subject: UI issues identified during meeting-30/08/13
To: Sumedha Rubasinghe sume...@wso2.com, Dinusha Senanayaka 
dinu...@wso2.com, Lakmali Baminiwatta lakm...@wso2.com, Sanjeewa
Malalgoda sanje...@wso2.com, Nuwan Dias nuw...@wso2.com, Amila De Silva
ami...@wso2.com, Ruwan Yatawara ruw...@wso2.com, Chanaka Jayasena 
chan...@wso2.com, Vijayaratha Vijayasingam rat...@wso2.com


Below are the discussed points during the meeting happened on 30-08-13.

*Publisher*
1) Fix apps login redirection issue [localhost-ip] [For both apps]
2) Fix ip:port/ - ip:port/publisher instead  ip:port/ -
ip:port/carbon redirection issue
3) Redesign the API resources UI section-As it currently messy with
multiple fields.

*Store*
4) Remove comment size limitation
5) Change documentation tab showing label when no docs available
6) Don't limit application description size.
7) Correct the error message in application creation process fails
8) Correct the tier description showing in throttling information page -Add
per min/second part
9) Add tier attributes to show in throttling info section.
10) Add 'application created date' to applications db table.First cut add
db system time stamp.And when getting back apps,change the query to get
apps based on created date order.This way we can sort the applications
order in Store UI based on created date.
11) Remove 'Search' from 'My Subscriptions page'
12)Improvements to 'My Subscriptions' UI
- -Change the button 'Update Domains'
-- Reduce the size for each subscriptions block -Either keeping tab based
UI for environments .

13) In apistore,on top header there's unwanted line sections between logo
and 'APIs' menu.

*Samples*
14) In pizza-shack sample-Don't execute download task for every Maven goal
15) Add new sample instead twitter
16) Add jmeter test scripts to sample folder

Please add,if I missed anything..

Thanks;



-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com;
blog: http://lalajisureshika.blogspot.com





-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] {Blocker/CarbonCore/AM} NPE @ core/caching implimentaion

2013-08-28 Thread Lalaji Sureshika
\1
 [2013-08-27 16:55:50,240]  INFO - SynapseControllerFactory Using
 synapse.xml location :
 C:\Users\TOSH\Desktop\WSO2AM~1.0\bin\..\repository\tenants\1\s
 ynapse-configs\default
 [2013-08-27 16:55:50,241]  INFO - SynapseControllerFactory Using
 server name : synapse.test.com
 [2013-08-27 16:55:50,244]  INFO - SynapseControllerFactory The timeout
 handler will run every : 15s
 [2013-08-27 16:55:50,247]  INFO - Axis2SynapseController Initializing
 Synapse at : Tue Aug 27 16:55:50 IST 2013
 [2013-08-27 16:55:50,255]  INFO - CarbonSynapseController Loading the
 mediation configuration from the file system
 [2013-08-27 16:55:50,257]  INFO - MultiXMLConfigurationBuilder
 Building synapse configuration from the synapse artifact repository at :
 C:\Users\TOSH\
 Desktop\WSO2AM~1.0\bin\..\repository\tenants\1\synapse-configs\default
 [2013-08-27 16:55:50,283]  INFO - SynapseConfigurationBuilder Loaded
 Synapse configuration from the artifact repository at :
 C:\Users\TOSH\Desktop\WSO
 2AM~1.0\bin\..\repository\tenants\1\synapse-configs\default
 [2013-08-27 16:55:50,284]  INFO - Axis2SynapseController Loading
 mediator extensions...
 [2013-08-27 16:55:50,290]  INFO - Axis2SynapseController Deploying the
 Synapse service...
 [2013-08-27 16:55:50,291]  INFO - Axis2SynapseController Deploying
 Proxy services...
 [2013-08-27 16:55:50,292]  INFO - Axis2SynapseController Deploying
 EventSources...
 [2013-08-27 16:55:50,295]  INFO - ServerManager Server ready for
 processing...
 [2013-08-27 16:55:50,343]  WARN - MediationStatisticsServiceComponent
 Couldn't find the mediation statistics store for tenant id: 1
 [2013-08-27 16:55:50,382]  INFO - PermissionUpdater Permission cache
 updated for tenant 1
 [2013-08-27 16:55:50,384] ERROR - TenantAxisUtils Error occurred while
 running deployment for tenant test.com
 java.lang.NullPointerException: Tenant domain has not been set in
 CarbonContext
 at
 org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:79)
 at
 org.wso2.carbon.registry.core.utils.RegistryUtils.getCacheManager(RegistryUtils.java:288)
 at
 org.wso2.carbon.registry.core.utils.RegistryUtils.getResourceCache(RegistryUtils.java:271)
 at
 org.wso2.carbon.registry.core.caching.CacheBackedRegistry.getCache(CacheBackedRegistry.java:62)
 at
 org.wso2.carbon.registry.core.caching.CacheBackedRegistry.resourceExists(CacheBackedRegistry.java:246)
 at
 org.wso2.carbon.registry.core.session.UserRegistry.resourceExists(UserRegistry.java:629)
 at
 org.wso2.carbon.datasource.DataSourceInformationManager.populateDataSourceInformation(DataSourceInformationManager.java:62)
 at
 org.wso2.carbon.datasource.multitenancy.DataSourceInitializer.createdConfigurationContext(DataSourceInitializer.java:73)
 at
 org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.createTenantConfigurationContext(TenantAxisUtils.java:342)
 at
 org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getTenantConfigurationContext(TenantAxisUtils.java:135)
 at
 org.wso2.carbon.rest.api.service.RestApiAdmin.getConfigContext(RestApiAdmin.java:750)
 at
 org.wso2.carbon.rest.api.service.RestApiAdmin.getAxisConfig(RestApiAdmin.java:731)
 at
 org.wso2.carbon.rest.api.service.RestApiAdmin.getLock(RestApiAdmin.java:713)
 at org.wso2.carbo

 --
 -Ratha
 mobile: (+94)755906608




 --
 -Ratha
 mobile: (+94)755906608




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




 --
 * http://us13.wso2con.com/
 *
 *
 *
 *Senaka Fernando*
 Senior Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware




 --
 Best Regards..

 Chanika Geeganage
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Mobile: +94773522586

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




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Blocker]APIM server startup issue due to POI orbit[3.9.0.wso2v1] exporting commons-codec package

2013-08-28 Thread Lalaji Sureshika
Hi,

When digging to the $subject,we found that there was a version change
happened in poi orbit bundle [from 3.5.0.wso2v1 - 3.9.0.wso2v1] yesterday.
In newly added poi orbit bundle[3.9.0.wso2v1],it's exporting the
commons-codec package,which is exporting same
by commons-codec_1.4.0.wso2v1.jar bundle. With earlier existed poi orbit
bundle[3.5.0.wso2v1] ,this commons-codec package wasn't exported.

Once we removed exporting the commons-codec package from poi orbit
bundle,we could get rid of the server startup issue.

@DSS team-I have attached the patch with this mail.Can you let us know,if
there are any other issues by removing exporting this common-codec package
from poi bundle?Else we'll continue commiting the fix as this is a blocker
for us.

Thanks;



-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com


poi.diff
Description: Binary data


poi-scratch.diff
Description: Binary data


poi-ooxml.diff
Description: Binary data
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Blocker]APIM server startup issue due to POI orbit[3.9.0.wso2v1] exporting commons-codec package

2013-08-28 Thread Lalaji Sureshika
Hi,

Yes,As I got to know from ESB team,this issue was  there with their  latest
branch built pack as well..

Thanks;


On Wed, Aug 28, 2013 at 12:46 PM, Sumedha Rubasinghe sume...@wso2.comwrote:

 If I understand correct, this server start up issue should be there for
 ESB (or anyone using ntasks).


 On Wed, Aug 28, 2013 at 10:58 PM, Lalaji Sureshika lal...@wso2.comwrote:

 Hi,

 When digging to the $subject,we found that there was a version change
 happened in poi orbit bundle [from 3.5.0.wso2v1 - 3.9.0.wso2v1] yesterday.
 In newly added poi orbit bundle[3.9.0.wso2v1],it's exporting the
 commons-codec package,which is exporting same
 by commons-codec_1.4.0.wso2v1.jar bundle. With earlier existed poi orbit
 bundle[3.5.0.wso2v1] ,this commons-codec package wasn't exported.

 Once we removed exporting the commons-codec package from poi orbit
 bundle,we could get rid of the server startup issue.

 @DSS team-I have attached the patch with this mail.Can you let us know,if
 there are any other issues by removing exporting this common-codec package
 from poi bundle?Else we'll continue commiting the fix as this is a blocker
 for us.

 Thanks;



 --
 Lalaji Sureshika
 WSO2, Inc.;  http://wso2.com/
 email: lal...@wso2.com; cell: +94 71 608 6811
 blog: http://lalajisureshika.blogspot.com



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




 --
 /sumedha
 b :  bit.ly/sumedha




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Need a latest p2repo with KeyManagement feature

2013-08-22 Thread Lalaji Sureshika
Hi Nirodha,

Pradeep provided the latest p2-repo url in [1].Hope you can use its
contained p2-repo.


[1] http://ec2-54-224-94-128.compute-1.amazonaws.com/rc1/

Thanks;


On Thu, Aug 22, 2013 at 1:27 AM, Prabath Siriwardena prab...@wso2.comwrote:

 We should be having this in the builder machine. Please talk to Sameera or
 Pradeep...

 Thanks  regards,
 -Prabath


 On Thu, Aug 22, 2013 at 1:56 PM, Nirodha Pramod niro...@wso2.com wrote:

 Hi,

 The latest p2repo at [1]  does not include KeyManagement features. When
 testing API-M integration with IS need to install key management feature in
 IS. Hence AM IS integration scenario testing is blocked due to this.

 regards,
 Nirodha



 --
 *
 *
 *Nirodha Gallage*
 Senior Software Engineer, QA.
 WSO2 Inc.: http://wso2.com/
 Mobile: +94716429078




 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Need a latest p2repo with KeyManagement feature

2013-08-22 Thread Lalaji Sureshika
Hi Nirodha,

We are checking this.

Thanks;


On Thu, Aug 22, 2013 at 1:58 AM, Nirodha Pramod niro...@wso2.com wrote:

 Hi,

 Even though AM features are there, only APP server and Governance Registry
 features are listed in feature management wizard when this repo is given.

 /Nirodha


 On Thu, Aug 22, 2013 at 2:11 PM, Lalaji Sureshika lal...@wso2.com wrote:

 Hi Nirodha,

 Pradeep provided the latest p2-repo url in [1].Hope you can use its
 contained p2-repo.


 [1] http://ec2-54-224-94-128.compute-1.amazonaws.com/rc1/

 Thanks;


 On Thu, Aug 22, 2013 at 1:27 AM, Prabath Siriwardena prab...@wso2.comwrote:

 We should be having this in the builder machine. Please talk to Sameera
 or Pradeep...

 Thanks  regards,
 -Prabath


 On Thu, Aug 22, 2013 at 1:56 PM, Nirodha Pramod niro...@wso2.comwrote:

 Hi,

 The latest p2repo at [1]  does not include KeyManagement features. When
 testing API-M integration with IS need to install key management feature in
 IS. Hence AM IS integration scenario testing is blocked due to this.

 regards,
 Nirodha



 --
 *
 *
 *Nirodha Gallage*
 Senior Software Engineer, QA.
 WSO2 Inc.: http://wso2.com/
 Mobile: +94716429078




 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com




 --
 Lalaji Sureshika
  WSO2, Inc.;  http://wso2.com/
 email: lal...@wso2.com; cell: +94 71 608 6811
 blog: http://lalajisureshika.blogspot.com





 --
 *
 *
 *Nirodha Gallage*
 Senior Software Engineer, QA.
 WSO2 Inc.: http://wso2.com/
 Mobile: +94716429078




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Need a latest p2repo with KeyManagement feature

2013-08-22 Thread Lalaji Sureshika
Hi Nirodha,

Please use below [1] p2-repo built in builder machine to continue
testing.This p2-repo consist only the APIManager feature categories.

[1] http://builder3.us1.wso2.org/builds/APIM-1.5.0/22_08_13/p2-repo/

Thanks;


On Thu, Aug 22, 2013 at 2:03 AM, Lalaji Sureshika lal...@wso2.com wrote:

 Hi Nirodha,

 We are checking this.

 Thanks;


 On Thu, Aug 22, 2013 at 1:58 AM, Nirodha Pramod niro...@wso2.com wrote:

 Hi,

 Even though AM features are there, only APP server and Governance
 Registry features are listed in feature management wizard when this repo is
 given.

 /Nirodha


 On Thu, Aug 22, 2013 at 2:11 PM, Lalaji Sureshika lal...@wso2.comwrote:

 Hi Nirodha,

 Pradeep provided the latest p2-repo url in [1].Hope you can use its
 contained p2-repo.


 [1] http://ec2-54-224-94-128.compute-1.amazonaws.com/rc1/

 Thanks;


 On Thu, Aug 22, 2013 at 1:27 AM, Prabath Siriwardena 
 prab...@wso2.comwrote:

 We should be having this in the builder machine. Please talk to Sameera
 or Pradeep...

 Thanks  regards,
 -Prabath


 On Thu, Aug 22, 2013 at 1:56 PM, Nirodha Pramod niro...@wso2.comwrote:

 Hi,

 The latest p2repo at [1]  does not include KeyManagement features.
 When testing API-M integration with IS need to install key management
 feature in IS. Hence AM IS integration scenario testing is blocked due to
 this.

 regards,
 Nirodha



 --
 *
 *
 *Nirodha Gallage*
 Senior Software Engineer, QA.
 WSO2 Inc.: http://wso2.com/
 Mobile: +94716429078




 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com




 --
 Lalaji Sureshika
  WSO2, Inc.;  http://wso2.com/
 email: lal...@wso2.com; cell: +94 71 608 6811
 blog: http://lalajisureshika.blogspot.com





 --
 *
 *
 *Nirodha Gallage*
 Senior Software Engineer, QA.
 WSO2 Inc.: http://wso2.com/
 Mobile: +94716429078




 --
 Lalaji Sureshika
 WSO2, Inc.;  http://wso2.com/
 email: lal...@wso2.com; cell: +94 71 608 6811
 blog: http://lalajisureshika.blogspot.com





-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Again packs broken due to AM changes.

2013-08-20 Thread Lalaji Sureshika
)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
 at
 org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:517)
 at
 org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:290)
 at
 org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
 Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: An
 exception occurred while executing handler chain.
 org/apache/synapse/mediators/base/SequenceMediator
 at
 org.wso2.carbon.registry.core.jdbc.handlers.HandlerManager.put(HandlerManager.java:2525)
 at
 org.wso2.carbon.registry.core.jdbc.handlers.HandlerLifecycleManager.put(HandlerLifecycleManager.java:993)
 at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.put(EmbeddedRegistry.java:697)
 at
 org.wso2.carbon.registry.core.caching.CacheBackedRegistry.put(CacheBackedRegistry.java:465)
 at
 org.wso2.carbon.registry.core.session.UserRegistry.put(UserRegistry.java:657)
 at
 org.wso2.carbon.apimgt.impl.utils.APIUtil.loadloadTenantAPIRXT(APIUtil.java:1343)
 ... 50 more
 Caused by: java.lang.NoClassDefFoundError:
 org/apache/synapse/mediators/base/SequenceMediator
 at java.lang.Class.getDeclaredMethods0(Native Method)
 at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
 at java.lang.Class.privateGetPublicMethods(Class.java:2547)
 at java.lang.Class.getMethods(Class.java:1410)
 at
 org.wso2.carbon.registry.core.pagination.PaginationUtils.isPaginationAnnotationFound(PaginationUtils.java:120)
 at
 org.wso2.carbon.governance.api.util.GovernanceUtils.getResultPaths(GovernanceUtils.java:219)
 at
 org.wso2.carbon.governance.api.util.GovernanceUtils.findGovernanceArtifacts(GovernanceUtils.java:132)
 at
 org.wso2.carbon.governance.api.util.GovernanceUtils.findGovernanceArtifactConfigurations(GovernanceUtils.java:490)
 at
 org.wso2.carbon.governance.list.util.CommonUtil.configureGovernanceArtifacts(CommonUtil.java:332)
 at
 org.wso2.carbon.governance.list.internal.GovernanceMgtUIListMetadataServiceComponent$1.put(GovernanceMgtUIListMetadataServiceComponent.java:135)
 at
 org.wso2.carbon.registry.core.jdbc.handlers.HandlerManager.put(HandlerManager.java:2503)
 ... 55 more
 Caused by: java.lang.ClassNotFoundException:
 org.apache.synapse.mediators.base.SequenceMediator
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
 at
 org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
 ... 66 more
 [2013-08-20 12:33:08,312] ERROR
 {org.wso2.carbon.apimgt.startup.publisher.APIManagerStartupPublisher} -
 org.wso2.carbon.apimgt.api.APIManagementException: Error while initializing
 API Prov

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




 --
 /sumedha
 b :  bit.ly/sumedha




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committer += Ruwan Yatawara

2013-08-19 Thread Lalaji Sureshika
Congratz Ruwan!


On Sun, Aug 18, 2013 at 11:34 PM, Dunith Dhanushka dun...@wso2.com wrote:

 Congrats Ruwan!


 On Mon, Aug 19, 2013 at 11:48 AM, Susinda Perera susi...@wso2.com wrote:

 Congratz Ruwan


 On Mon, Aug 19, 2013 at 11:19 AM, Chanaka Fernando chana...@wso2.comwrote:

 Congrats Ruwan !!!


 On Mon, Aug 19, 2013 at 11:08 AM, Dinusha Senanayaka 
 dinu...@wso2.comwrote:

 Congratzz Ruwan..!!!


  On Mon, Aug 19, 2013 at 10:49 AM, Sumedha Rubasinghe sume...@wso2.com
  wrote:

 It's my pleasure to welcome Ruwan Yatawara as a WSO2 Committer
 considering all the valuable contributions he has done during past few
 months.

 Ruwan,
 Welcome aboard  keep up the good work.

 --
 /sumedha
 b :  bit.ly/sumedha

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




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

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




 --
 --
 Chanaka Fernando
 Technical Lead
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 773337238
 Blog : http:// http://goog_1228282810soatutorials.blogspot.com
 LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0
 Twitter:https://twitter.com/chanakaudaya
 Wordpress:http://chanakaudaya.wordpress.com




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




 --
 *Susinda Perera*
 Software Engineer
 Mobile:(+94)716049075

 WSO2 Inc. http://wso2.com/

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




 --
 Regards,

 Dunith Dhanushka,
 Senior Software Engineer - BAM,
 WSO2 Inc,

 Mobile - +94 71 8615744
 Blog - dunithd.wordpress.com http://blog.dunith.com
 Twitter - @dunithd http://twitter.com/dunithd

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




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error while shutting down APIM server built from 4.2.0 branch

2013-08-19 Thread Lalaji Sureshika
Hi,

Any update on above.Still we are getting same issue from branch built pack
after taking svn up.

Thanks;


On Sun, Aug 18, 2013 at 10:57 AM, Lalaji Sureshika lal...@wso2.com wrote:

 Hi,

 I'm getting below error[1],while shutting down APIM instance..Pack built
 rev no. is 181876.

 Thanks;

 [1] [2013-08-18 10:47:53,989] ERROR -
 GovernanceMgtUIListMetadataServiceComponent Error while stopping the tasks
 org.wso2.carbon.ntask.common.TaskException: Error in getting all tasks
 from repository
 at
 org.wso2.carbon.ntask.core.impl.RegistryBasedTaskRepository.getAllTasks(RegistryBasedTaskRepository.java:128)
  at
 org.wso2.carbon.ntask.core.impl.standalone.StandaloneTaskManager.getAllTasks(StandaloneTaskManager.java:74)
 at
 org.wso2.carbon.governance.list.internal.GovernanceMgtUIListMetadataServiceComponent.deactivate(GovernanceMgtUIListMetadataServiceComponent.java:269)
  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.ServiceComponent.deactivate(ServiceComponent.java:387)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.deactivate(ServiceComponentProp.java:161)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:389)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:102)
  at
 org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:344)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:306)
  at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:368)
 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.unregister(ServiceRegistrationImpl.java:225)
 at
 org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent.deactivate(RegistryCoreServiceComponent.java:199)
  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.ServiceComponent.deactivate(ServiceComponent.java:387)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.deactivate(ServiceComponentProp.java:161)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:389)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:102)
  at
 org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:344)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:306)
  at
 org.eclipse.equinox.internal.ds.Resolver.disposeComponentConfigs(Resolver.java:717)
 at
 org.eclipse.equinox.internal.ds.Resolver.disableComponents(Resolver.java:693)
  at
 org.eclipse.equinox.internal.ds.SCRManager.stoppingBundle(SCRManager.java:554)
 at
 org.eclipse.equinox.internal.ds.SCRManager.bundleChanged(SCRManager.java:233)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
 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.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1568)
  at
 org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1504)
 at
 org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1499)
  at
 org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:506)
 at
 org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:566)
  at
 org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1206

Re: [Dev] Test Failures in 4.2.0 branch

2013-08-18 Thread Lalaji Sureshika
://twitter.com/Shameera_R




 --
 *Software Engineer - WSO2 Inc.*
 *email: shameera AT wso2.com shame...@wso2.com , shameera AT 
 apache.orgshame...@apache.org
 *
 *phone:  +9471 922 1454*
 *
 *
 *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
 *Twitter : *https://twitter.com/Shameera_R




 --
 *Software Engineer - WSO2 Inc.*
 *email: shameera AT wso2.com shame...@wso2.com , shameera AT 
 apache.orgshame...@apache.org
 *
 *phone:  +9471 922 1454*
 *
 *
 *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
 *Twitter : *https://twitter.com/Shameera_R

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




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Test Failures in 4.2.0 branch

2013-08-18 Thread Lalaji Sureshika
Hi,

On Sun, Aug 18, 2013 at 5:03 AM, Lalaji Sureshika lal...@wso2.com wrote:

 Hi Shameera,

 I'll look in to APIM P2-Profile build failure issue..

This was fixed..Please take a svn up of apimgt product.

Thanks;


 Thanks;


 On Sun, Aug 18, 2013 at 4:41 AM, Shameera Rathnayaka shame...@wso2.comwrote:

 HI Sanjeewa,

 There is a failure in apimgt p2-profile -gen Please have a look. This is
 a blocker to provide apimgt pack.

 Installation failed.
 Cannot complete the install because one or more required items could not
 be found.
  Software being installed: WSO2 Carbon - Api management Feature 4.2.0
 (org.wso2.carbon.apimgt.feature.group 4.2.0)
  Missing requirement: Identity OAuth Server Feature 4.2.0
 (org.wso2.carbon.identity.oauth.server.feature.group 4.2.0) requires
 'org.wso2.carbon.idp.mgt.feature.group [4.2.0,4.3.0)' but it could not be
 found
  Cannot satisfy dependency:
   From: WSO2 Carbon - Api management Core Feature 4.2.0
 (org.wso2.carbon.apimgt.core.feature.group 4.2.0)
   To: org.wso2.carbon.identity.oauth.feature.group [4.2.0,4.3.0)
  Cannot satisfy dependency:
   From: WSO2 Carbon - Api management Feature 4.2.0
 (org.wso2.carbon.apimgt.feature.group 4.2.0)
   To: org.wso2.carbon.apimgt.core.feature.group [4.2.0]
  Cannot satisfy dependency:
   From: Identity OAuth Feature 4.2.0
 (org.wso2.carbon.identity.oauth.feature.group 4.2.0)
   To: org.wso2.carbon.identity.oauth.server.feature.group [4.2.0]
 Application failed, log file location:
 /build/software/4.2.0_clean_repo_/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1376825728674.log

 [INFO]
 
 [INFO] Reactor Summary:
 [INFO]
 [INFO] WSO2 API Manager - Styles . SUCCESS
 [2.357s]
 [INFO] WSO2 Stratos  API Manager - UI styles . SUCCESS
 [1.725s]
 [INFO] WSO2 API Manager - Styles Parent .. SUCCESS
 [0.073s]
 [INFO] WSO2 Stratos  API Manager - Dashboard UI .. SUCCESS
 [0.630s]
 [INFO] WSO2 AM - Login User Interface  SUCCESS
 [0.713s]
 [INFO] WSO2 API Manager - Styles Features  SUCCESS
 [0.430s]
 [INFO] WSO2 API Manager - Features Aggregator Module . SUCCESS
 [0.008s]
 [INFO] WSO2 Stratos  API Manager - Style Features  SUCCESS
 [0.107s]
 [INFO] WSO2 Stratos  API Manager - Utils Features  SUCCESS
 [0.892s]
 [INFO] WSO2 Stratos  API Manager - Dashboard UI Features . SUCCESS
 [0.325s]
 [INFO] WSO2 Stratos  API Manager - Deployment Features ... SUCCESS
 [0.156s]
 [INFO] WSO2 Stratos  API Manager - Features Aggregator Module  SUCCESS
 [0.011s]
 [INFO] WSO2 API Manager - Features Parent  SUCCESS
 [0.010s]
 [INFO] WSO2 API Manager - P2 Profile Generation .. FAILURE
 [54.578s]
 [INFO] WSO2 API Manager - P2 Profile Generation Parent ... SKIPPED
 [INFO] WSO2 API Manager - BAM Toolbox  SKIPPED
 [INFO] WSO2 API Manager - Distribution ... SKIPPED
 [INFO] WSO2 API Manager - Distribution Parent  SKIPPED
 [INFO] WSO2 API Manager - Integration Test Module  SKIPPED
 [INFO] WSO2 API Manager - Integration UI Test Module . SKIPPED
 [INFO] WSO2 API Manager - Integration Tests .. SKIPPED
 [INFO] WSO2 API Manager - Aggregator Module .. SKIPPED

 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 1:03.302s
 [INFO] Finished at: Sun Aug 18 11:35:33 UTC 2013
 [INFO] Final Memory: 39M/641M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.wso2.maven:carbon-p2-plugin:1.5.3:p2-profile-gen
 (3-p2-profile-generation) on project am-p2-profile: P2 publisher return
 code was 13 - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the
 command
 [ERROR]   mvn goals -rf :am-p2-profile


 Thanks,
 Shameera.



 On Sun, Aug 18, 2013 at 3:22 PM, Shameera Rathnayaka 
 shame...@wso2.comwrote:

 Hi APIM team,

 There are compilation failures in org.wso2.carbon.apimgt.impl tests.
 Please fix it.


 [INFO] -
 [ERROR] COMPILATION ERROR :
 [INFO] -
 [ERROR]
 /build/branches/platform/components/apimgt/org.wso2.carbon.apimgt.impl/4.2.0/src/test/java/org/wso2/carbon/apimgt/impl/dao/test/APIMgtDAOTest.java:[364,11

[Dev] [Features-Jaggery]Build Failure in trunk

2013-08-15 Thread Lalaji Sureshika
Hi,

We are getting below error[1] when building trunk/features. Note there was
an error on referring trunk carbon version as 4.2.0[not
4.2.0-SNAPSHOT]  from jaggery server feature.And even we fix that issue ,we
are getting below error.

[1] [ERROR] Failed to execute goal on project org.jaggeryjs.server.feature:
Could not resolve dependencies for project org.jaggeryjs:org.jaggeryjs.se
rver.feature:pom:0.9.0-07262013: The following artifacts could not be
resolved: org.wso2.carbon:org.wso2.carbon.registry.ws.client:jar:4.2.0,
org.wso2.carbon:org.wso2.carbon.context:jar:4.2.0-SNAPSHOT, org.wso2.carbon
:org.wso2.carbon.ndatasource.core:jar:4.2.0: Failure to find org.wso2.carbon
:org.wso2.carbon.registry.ws.client:jar:4.2.0
inhttp://dist.wso2.org/maven2/ was
cached in the local repository, resolution will not be reattempted until
the update interval of wso2-maven2-repository has elapsed or updates are
forced - [Help 1]

Thanks;
-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Features-Jaggery]Build Failure in trunk

2013-08-15 Thread Lalaji Sureshika
Hi Nuwan,

Yes,we have started working on 4.2.0 branch. But isn't that we need to
commit to both trunk and branch here onwards.. ? And additionally there
were some fixes done in trunk and which were not commit during frozen
time.Problem we are facing is,we cannot build and verify the fixes done
 from a trunk build pack..

Thanks;


On Thu, Aug 15, 2013 at 7:01 AM, Nuwan Bandara nu...@wso2.com wrote:

 Hi lalaji,

 You should be working on the branch now, last night the the versions were
 changed in the jaggery 4.2.0 branch to be compatible with carbon release
 branch.

 Regards,
 /Nuwan


 On Thu, Aug 15, 2013 at 5:51 PM, Lalaji Sureshika lal...@wso2.com wrote:

 Hi,

 We are getting below error[1] when building trunk/features. Note there
 was an error on referring trunk carbon version as 4.2.0[not
 4.2.0-SNAPSHOT]  from jaggery server feature.And even we fix that issue ,we
 are getting below error.

 [1] [ERROR] Failed to execute goal on project org.jaggeryjs.server.feature:
 Could not resolve dependencies for project org.jaggeryjs:org.jaggeryjs.se
 rver.feature:pom:0.9.0-07262013: The following artifacts could not be
 resolved: org.wso2.carbon:org.wso2.carbon.registry.ws.client:jar:4.2.0,
 org.wso2.carbon:org.wso2.carbon.context:jar:4.2.0-SNAPSHOT,
 org.wso2.carbon:org.wso2.carbon.ndatasource.core:jar:4.2.0: Failure to
 find org.wso2.carbon:org.wso2.carbon.registry.ws.client:jar:4.2.0 in
 http://dist.wso2.org/maven2/ was cached in the local repository,
 resolution will not be reattempted until the update interval of
 wso2-maven2-repository has elapsed or updates are forced - [Help 1]

 Thanks;
 --
 Lalaji Sureshika
 WSO2, Inc.;  http://wso2.com/
 email: lal...@wso2.com; cell: +94 71 608 6811
 blog: http://lalajisureshika.blogspot.com



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




 --
 *Thanks  Regards,

 Nuwan Bandara
 Technical Lead; **WSO2 Inc. *
 *lean . enterprise . middleware |  http://wso2.com *
 *blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763
 9629
 *
 http://www.nuwanbando.com/




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Features-Jaggery]Build Failure in trunk

2013-08-15 Thread Lalaji Sureshika
Hi Nuwan,


On Thu, Aug 15, 2013 at 8:29 AM, Nuwan Bandara nu...@wso2.com wrote:

 Hi Lalaji


 On Thu, Aug 15, 2013 at 8:48 PM, Lalaji Sureshika lal...@wso2.com wrote:

 Hi Nuwan,

 Yes,we have started working on 4.2.0 branch. But isn't that we need to
 commit to both trunk and branch here onwards.. ? And additionally there
 were some fixes done in trunk and which were not commit during frozen
 time.Problem we are facing is,we cannot build and verify the fixes done
  from a trunk build pack..


 That is correct, we will create a new jaggery trunk so that it can be
 linked in carbon trunk, meantime please please work on the branch.

Thanks..When trying with 4.2.0 branch,there are different issues related to
jaggery which are already discuss in other dev thread..Hope those will be
sort out soon.Else at the moment APIM cannot built with both branch/trunk..

Thanks;


 @Madhuka,

 Can you create a new jaggery branch to link with carbon trunk. later we
 will merge with jaggery master

 Regards,
 /Nuwan



 Thanks;



 On Thu, Aug 15, 2013 at 7:01 AM, Nuwan Bandara nu...@wso2.com wrote:

 Hi lalaji,

 You should be working on the branch now, last night the the versions
 were changed in the jaggery 4.2.0 branch to be compatible with carbon
 release branch.

 Regards,
 /Nuwan


 On Thu, Aug 15, 2013 at 5:51 PM, Lalaji Sureshika lal...@wso2.comwrote:

 Hi,

 We are getting below error[1] when building trunk/features. Note there
 was an error on referring trunk carbon version as 4.2.0[not
 4.2.0-SNAPSHOT]  from jaggery server feature.And even we fix that issue ,we
 are getting below error.

 [1] [ERROR] Failed to execute goal on project org.jaggeryjs.server.feature:
 Could not resolve dependencies for project org.jaggeryjs:o
 rg.jaggeryjs.server.feature:pom:0.9.0-07262013: The following
 artifacts could not be resolved: org.wso2.carbon:org.wso2.carbo
 n.registry.ws.client:jar:4.2.0, org.wso2.carbon:org.wso2.carbo
 n.context:jar:4.2.0-SNAPSHOT, org.wso2.carbon:org.wso2.carbo
 n.ndatasource.core:jar:4.2.0: Failure to find org.wso2.carbon
 :org.wso2.carbon.registry.ws.client:jar:4.2.0 in
 http://dist.wso2.org/maven2/ was cached in the local repository,
 resolution will not be reattempted until the update interval of
 wso2-maven2-repository has elapsed or updates are forced - [Help 1]

 Thanks;
 --
 Lalaji Sureshika
 WSO2, Inc.;  http://wso2.com/
 email: lal...@wso2.com; cell: +94 71 608 6811
 blog: http://lalajisureshika.blogspot.com



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




 --
 *Thanks  Regards,

 Nuwan Bandara
 Technical Lead; **WSO2 Inc. *
 *lean . enterprise . middleware |  http://wso2.com *
 *blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763
 9629
 *
 http://www.nuwanbando.com/




 --
 Lalaji Sureshika
 WSO2, Inc.;  http://wso2.com/
 email: lal...@wso2.com; cell: +94 71 608 6811
 blog: http://lalajisureshika.blogspot.com





 --
 *Thanks  Regards,

 Nuwan Bandara
 Technical Lead; **WSO2 Inc. *
 *lean . enterprise . middleware |  http://wso2.com *
 *blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763
 9629
 *
 http://www.nuwanbando.com/




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] APIM integration - Registry's publisher/store not accessible

2013-08-14 Thread Lalaji Sureshika
 be
 found with the specified name : i18n (/publisher/site/pages/index.jag#6)
  at
 org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1754)
 at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148)
  at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:386)
 at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63)
  at
 org.jaggeryjs.rhino.publisher.site.pages.c0._c_script_0(/publisher/site/pages/index.jag:6)
 at
 org.jaggeryjs.rhino.publisher.site.pages.c0.call(/publisher/site/pages/index.jag)
  at
 org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
 at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
  at
 org.jaggeryjs.rhino.publisher.site.pages.c0.call(/publisher/site/pages/index.jag)
 at
 org.jaggeryjs.rhino.publisher.site.pages.c0.exec(/publisher/site/pages/index.jag)
  at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:577)
 ... 36 more
 Caused by: org.jaggeryjs.scriptengine.exceptions.ScriptException: A module
 cannot be found with the specified name : i18n
  at
 org.jaggeryjs.jaggery.core.manager.CommonManager.require(CommonManager.java:235)
 at
 org.jaggeryjs.jaggery.core.manager.WebAppManager.require(WebAppManager.java:306)
  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.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
 ... 45 more











 --
 Vijitha Kumara
 Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
 email: viji...@wso2.com


 Lean . Enterprise . Middleware

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




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] APIM integration - Registry's publisher/store not accessible

2013-08-14 Thread Lalaji Sureshika
Hi Vijitha,

Sorry,I was referring to a different i18n related error from my previous
reply. Your getting error is due to i18n module is not available with
pack.Can you check whether a folder called i18n exists in location
 {GREG_Home}/modules.
There was an issue on that jaggery related modules not copying to above
mentioned location in pack and AFAIK lakmali fixed it on yesterday evening..

Thanks;


On Wed, Aug 14, 2013 at 10:45 AM, Lalaji Sureshika lal...@wso2.com wrote:

 Hi Vijitha,

 This is due to  the changes done for APIM with i18n module is not sync
 with latest jaggery git repo i18n module.We encountered this issue and I
 have already committed the changes to jaggery git repo and hope this fix
 will be available with next pack building cycle..



 Thanks;




 On Wed, Aug 14, 2013 at 10:28 AM, Vijitha Kumara viji...@wso2.com wrote:

 This was a build with yesterday's updates.

 Get an empty page for the store and the below for the publisher 
 (http://host:9763/publisher).
 Is this tested with recent jaggery changes etc...?



 [2013-08-14 16:30:27,656] ERROR
 {org.jaggeryjs.jaggery.core.manager.CommonManager} -  A module cannot be
 found with the specified name : i18n
 [2013-08-14 16:30:27,658] ERROR
 {org.jaggeryjs.scriptengine.engine.RhinoEngine} -
  org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException: A module cannot be
 found with the specified name : i18n (/publisher/site/pages/index.jag#6)
 [2013-08-14 16:30:27,658] ERROR
 {org.jaggeryjs.jaggery.core.manager.WebAppManager} -
  org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException: A module cannot be
 found with the specified name : i18n (/publisher/site/pages/index.jag#6)
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException: A module cannot be
 found with the specified name : i18n (/publisher/site/pages/index.jag#6)
  at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:582)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:280)
  at
 org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:432)
 at org.jaggeryjs.jaggery.core.JaggeryServlet.doGet(JaggeryServlet.java:24)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
  at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at
 org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
 at
 org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
  at
 org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
 at
 org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
  at
 org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
  at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
  at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
  at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
  at
 org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
 at
 org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:116)
  at
 org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
  at
 org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
  at
 org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
  at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
 at
 org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
  at
 org.apache.coyote.AbstractProtocol

Re: [Dev] [clean repo build] Need to upgrade Jaggery version

2013-08-09 Thread Lalaji Sureshika
Hi Shelan,

Yes we are working on this change..But there were separate issues on APIM
jaggery apps showing ,once update the feature version.Once we sorted out
them with jaggery team,will commit the change.

Thanks;


On Fri, Aug 9, 2013 at 1:09 AM, Shelan Perera she...@wso2.com wrote:

 Installing
 org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.group
 4.2.0.SNAPSHOT.
 Installing org.wso2.carbon.webapp.mgt.feature.group 4.2.0.SNAPSHOT.
 Installing org.wso2.carbon.jaxws.webapp.mgt.feature.group 4.2.0.SNAPSHOT.
 Installation failed.
 Cannot complete the install because one or more required items could not
 be found.
  Software being installed: Jaggery aggregate Feature 0.9.0.ALPHA2-wso2v4
 (org.jaggeryjs.feature.group 0.9.0.ALPHA2-wso2v4)
  Missing requirement: Jaggery aggregate Feature 0.9.0.ALPHA2-wso2v4
 (org.jaggeryjs.feature.group 0.9.0.ALPHA2-wso2v4) requires
 'org.wso2.carbon.core.feature.group [4.1.0,4.2.0)' but it could not be found
 Application failed, log file location:
 /home/wso2/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1376035666919.log


 --
 *Shelan Perera*

 Senior Software Engineer
 **
 Integration Technology Group
 *WSO2, Inc. : wso2.com*
 lean.enterprise.middleware.

 *Blog* :   blog.shelan.org
 *Linked-i*n  :   http://www.linkedin.com/pub/shelan-perera/a/194/465
 *Twitter* :https://twitter.com/#!/shelan

 *Mobile*  : +94 772 604 402




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [G-Reg]Server startup errors

2013-08-08 Thread Lalaji Sureshika
(LifecycleBase.java:150)
  at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
 at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
  at java.lang.Thread.run(Thread.java:662)
 *Caused by: java.lang.NullPointerException*
 * at org.wso2.carbon.apimgt.impl.dao.ApiMgtDAO.init(ApiMgtDAO.java:78)*
 * at
 org.wso2.carbon.apimgt.impl.AbstractAPIManager.init(AbstractAPIManager.java:68)
 *
 * at
 org.wso2.carbon.apimgt.impl.APIConsumerImpl.init(APIConsumerImpl.java:75)
 *
 * at
 org.wso2.carbon.apimgt.impl.UserAwareAPIConsumer.init(UserAwareAPIConsumer.java:43)
 *
 * at
 org.wso2.carbon.apimgt.impl.APIManagerFactory.newConsumer(APIManagerFactory.java:56)
 *
 * at
 org.wso2.carbon.apimgt.impl.APIManagerFactory.getAPIConsumer(APIManagerFactory.java:89)
 *
 * at
 org.wso2.carbon.apimgt.impl.APIManagerFactory.getAPIConsumer(APIManagerFactory.java:77)
 *
 * at
 org.wso2.carbon.apimgt.hostobjects.APIStoreHostObject.init(APIStoreHostObject.java:97)
 *
 * ... 80 more*
 [2013-08-09 07:34:43,696]  INFO
 {org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} -  Deployed
 webapp:
 StandardEngine[Catalina].StandardHost[localhost].StandardContext[/asset-store].File[/home/ajith/wso2/build/4.2.0/platform/trunk/products/greg/modules/distribution/target/wso2greg-4.6.0-SNAPSHOT/repository/deployment/server/jaggeryapps/asset-store]
 [2013-08-09 07:34:43,747] ERROR
 {org.jaggeryjs.scriptengine.engine.RhinoEngine} -
 java.lang.reflect.InvocationTargetException


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




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Fwd: Feature Categorization for APIM

2013-08-05 Thread Lalaji Sureshika
Hi Amila,


On Mon, Aug 5, 2013 at 12:34 AM, Kasun Gajasinghe kas...@wso2.com wrote:


 I believe you can also create some high-level categories like store and
 publisher? That would be really useful.


I also agree with Kasun's point. From APIManager perspective,I think we
need high-level categories as

1) store
2) publisher
3) keymgt
4) gateway

Isn't the features category set defined by Dinusha as per thread [Dev] New
feature structure for API Manager ,would fit with this task..?

Thanks;


 Thanks,
 KasunG


 On Mon, Aug 5, 2013 at 12:58 PM, Amila De Silva ami...@wso2.com wrote:


 Hi,
 Please find the initial feature categories for APIM at
 https://docs.google.com/a/wso2.com/spreadsheet/ccc?key=0AhlcfaVDH9iFdDhVV2VpMS1DQW8wNHJDb0hnQWktTEE#gid=0

 Similar categories created for AS and DSS can be found at
 https://docs.google.com/a/wso2.com/spreadsheet/ccc?key=0ApWioeKgeCchdGg1bWpVb010SkJGMUpZMkNVTDA4NUEpli=1#gid=0

 Those marked in bold are the features newly added for APIM under existing
 feature categories. Five new categories were created for Mediation,
 Governance, API Management, Identity and Transport.

 Please go through the list and provide some feedback.
 --
 *Amila De Silva*
 *
 *
 WSO2 Inc.*
 *
 mobile :(+94) 775119302

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




 --
 *Kasun Gajasinghe*
 Software Engineer;
 Development Technologies Team, WSO2 Inc.; http://wso2.com


  ,
 *email: **kasung AT spamfree wso2.com


 ** cell: **+94 (77) 678-0813*
 *linked-in: *http://lk.linkedin.com/in/gajasinghe


 *
 *
 *blog: **http://kasunbg.org* http://kasunbg.org


 *
 twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg


 *
 *

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




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Error while authorizing system anonymous role against registry resources after setting permissions correctly

2013-08-01 Thread Lalaji Sureshika
Hi,

Due to $subject ,APIStore anonymous view is broken and no APIs shown..
To fix this,after talk to Asela, I did the change as r179591,but still
APIStore is having the same problem.

When debugging the code,found in the method of updatePermissionTreeFromDB()
in PermissionTree class,its referring the role names with domains as below.

String roleWithDomain = UserCoreUtil.addDomainToName(roleName, domain);
roleWithDomain = roleWithDomain.toLowerCase();
if (allow == UserCoreConstants.ALLOW) {
   * tree.authorizeRoleInTree(roleWithDomain,
rs.getString(2), rs.getString(4), false);*
} else {
   * tree.denyRoleInTree(roleWithDomain, rs.getString(2),
rs.getString(4), false);*
}

And the wso2 anonymous role ,has referred as *system/wso2.anonymous.role*
from above code block, when setting authorization per anonymous role in
permission tree.

When we implicitly try to authorize existing anonymous role name['*
wso2.anonymous.role*'] from our code block ,it failed..

As the solution if we changed the anonymous.role value defined in
CarbonConstants class [the constant referring from our code blocks] as
below diff,the above will fixed.

-public static final String REGISTRY_ANONNYMOUS_ROLE_NAME = *
wso2.anonymous.role*;
+public static final String REGISTRY_ANONNYMOUS_ROLE_NAME = *
system/wso2.anonymous.role*;

Shall I proceed with this change?

Thanks;



-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Blocker] Massive Increase in Distribution Size after including CXF war files and AM Jaggery Apps

2013-07-31 Thread Lalaji Sureshika
Hi Senaka,

We are checking  on this.Your mentioned duplicate js files has introduced
after adding dojo library related files with API Statistics page
improvements which was discussed on [API Manager 1.4.0 pack for testing].
We'll check any possibility of removing them and reducing the size more.

Thanks;


On Wed, Jul 31, 2013 at 12:02 AM, Senaka Fernando sen...@wso2.com wrote:

 Hi Sagara, Kasun,

 Thanks for the heads-up we'll fix the CXF apps. AM team, any updates?

 Thanks,
 Senaka.


 On Wed, Jul 31, 2013 at 12:23 PM, Kasun Gajasinghe kas...@wso2.comwrote:

 For CXF, the increase in war files happens mainly due to inclusions of
 libraries in WEB-INF/lib. It seems that in greg, these wars pack most of
 the cxf, and other related libraries that is already included in
 lib/runtimes/cxf. You can simply remove these libraries from war. cxf-*
 jars are bundled in to cxf-bundle jar.

 As I saw, the juddiv3.war can be reduced in size from 15MB to 6MB etc.

 Thanks,
 KasunG


 On Wed, Jul 31, 2013 at 11:26 AM, Senaka Fernando sen...@wso2.comwrote:

  Hi all,

 There is a massive increase in distribution size (~60MB) with the
 inclusion of some AM-related Jaggery Apps. Most of this is due to unwanted
 duplicates. For instance the ZIP file has 72 copies of gregorian.js.

 Thanks,
 Senaka.

 --
 * http://us13.wso2con.com/
 *
 *
 *
 *Senaka Fernando*
 Senior Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware

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




 --
 *Kasun Gajasinghe*
 Software Engineer;
 Development Technologies Team, WSO2 Inc.; http://wso2.com


  ,
 *email: **kasung AT spamfree wso2.com


 ** cell: **+94 (77) 678-0813*
 *linked-in: *http://lk.linkedin.com/in/gajasinghe


 *
 *
 *blog: **http://kasunbg.org* http://kasunbg.org


 *
 twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg


 *
 *




 --
 * http://us13.wso2con.com/
 *
 *
 *
 *Senaka Fernando*
 Senior Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware

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




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Use CXF runtime feature in products

2013-07-30 Thread Lalaji Sureshika
 WSO2 Inc. www.wso2.com




 --
 *Kasun Gajasinghe*
 Software Engineer;
 Development Technologies Team, WSO2 Inc.; http://wso2.com


  ,
 *email: **kasung AT spamfree wso2.com


 ** cell: **+94 (77) 678-0813*
 *linked-in: *http://lk.linkedin.com/in/gajasinghe


 *
 *
 *blog: **http://kasunbg.org* http://kasunbg.org


 *
 twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg


 *
 *

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




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM] Error while invoking thrift key validation service

2013-07-29 Thread Lalaji Sureshika
.carbon.identity.thrift.authentication.AuthenticatorService$Processor$authenticate.getResult(AuthenticatorService.java:154)
  at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:32)
 at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:34)
  at org.apache.thrift.server.TServlet.doPost(TServlet.java:83)
 at
 org.wso2.carbon.identity.thrift.authentication.AuthenticatorServlet.doPost(AuthenticatorServlet.java:50)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
  at
 org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
  at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
  at
 org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
  at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
 org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
  at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
  at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
  at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:172)
  at
 org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
  at
 org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
  at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
 at
 org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
  at
 org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
 at
 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
  at java.lang.Thread.run(Thread.java:619)
 [2013-07-01 18:34:19,554] ERROR - ThriftAuthenticatorServiceImpl Error
 occured while authenticating the user: admin
 org.wso2.carbon.identity.base.IdentityException: Error when reading thrift
 session information from the persistence store.


 --
 *
 *
 *Sanjeewa Malalgoda*
 WSO2 Inc.
 Mobile : +94713068779

  http://sanjeewamalalgoda.blogspot.com/blog
 :http://sanjeewamalalgoda.blogspot.com/http://sanjeewamalalgoda.blogspot.com/



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




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Packs for Testing

2013-07-26 Thread Lalaji Sureshika
Hi,

Is there any particular reason to not included APIM trunk built pack to
daily builds...? Can we add APIM also to daily built pack list..Sorry if I
missed any related thread discussion..

Thanks;


On Fri, Jul 26, 2013 at 3:50 AM, Shameera Rathnayaka shame...@wso2.comwrote:

 Hi all,

 Please find latest packs here
 http://ec2-54-224-94-128.compute-1.amazonaws.com/26-07-2013/   I am
 downloading this packs to atuwa for easy download
 http://atuwa.private.wso2.com/Products/releases/26-07-2013/  as it takes
 time to download, it will take time to download all packs.

 Please let me know urgent packs then i can give priority to that packs.

 Thanks,
 Shameera.

 --
 *Software Engineer - WSO2 Inc.*
 *email: shameera AT wso2.com shame...@wso2.com , shameera AT 
 apache.orgshame...@apache.org
 *
 *phone:  +9471 922 1454*
 *
 *
 *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
 *Twitter : *https://twitter.com/Shameera_R

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




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Compilation Failure

2013-07-16 Thread Lalaji Sureshika
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.0:compile
(default-compile) on project
org.wso2.carbon.mediation.library.connectors.twitter: Compilation failure:
Compilation failure:
[ERROR]
/home/lalaji/trunk/platform/components/mediation/mediation-library/connectors/org.wso2.carbon.mediation.library.connectors.twitter/src/main/java/org/wso2/carbon/mediation/library/connectors/twitter/TwitterSearch.java:[85,41]
incompatible types
[ERROR] found   : java.util.Listtwitter4j.Tweet
[ERROR] required: java.util.Listtwitter4j.Status

What am I missing..? I updated orbit,kernel and platform..

Thanks;

-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Compilation Failure

2013-07-16 Thread Lalaji Sureshika
Hi,

This is sorted out..It's due to a old twitter jar placed in my m2
repo.Thanks Dushan..

Thanks;


On Tue, Jul 16, 2013 at 3:53 AM, Dushan Abeyruwan dus...@wso2.com wrote:

 Hi
Please take update in twitter connector and try to build it again.
 Cheers
 Dushan


 On Tue, Jul 16, 2013 at 4:05 PM, Lalaji Sureshika lal...@wso2.com wrote:

 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.0:compile
 (default-compile) on project
 org.wso2.carbon.mediation.library.connectors.twitter: Compilation failure:
 Compilation failure:
 [ERROR]
 /home/lalaji/trunk/platform/components/mediation/mediation-library/connectors/org.wso2.carbon.mediation.library.connectors.twitter/src/main/java/org/wso2/carbon/mediation/library/connectors/twitter/TwitterSearch.java:[85,41]
 incompatible types
 [ERROR] found   : java.util.Listtwitter4j.Tweet
 [ERROR] required: java.util.Listtwitter4j.Status

 What am I missing..? I updated orbit,kernel and platform..

 Thanks;

 --
 Lalaji Sureshika
 WSO2, Inc.;  http://wso2.com/
 email: lal...@wso2.com; cell: +94 71 608 6811
 blog: http://lalajisureshika.blogspot.com





 --
 Dushan Abeyruwan
 Associate Tech Lead
 *Integration Technologies Team*
 *WSO2 Inc. http://wso2.com/*
 *Mobile:(+94)714408632*




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM] Why Do I see null labels everywhere in AM store?

2013-07-15 Thread Lalaji Sureshika
Hi,


On Mon, Jul 15, 2013 at 4:48 AM, Sumedha Rubasinghe sume...@wso2.comwrote:

 Lalaji,
 There is still a flaw in this case. In i18n, if there aren't localized
 content for specified language, we should start rendering from the default
 language content.


   Yes,this was the reason for the issue which Bhathiya facing..We have
fixed this in trunk already..

Thanks;



 On Mon, Jul 15, 2013 at 5:07 PM, Lalaji Sureshika lal...@wso2.com wrote:

 Hi Bhathiya,

 Seems you have faced similar problem as in [1].Try with the work-around
 suggested in that SO entry..We have identified the issue and fixed the
 issue[2] with next AM release..

 Thanks;

 [1]
 http://stackoverflow.com/questions/16961129/wso2-api-manager-1-4-publisher-store-ui-not-working
 [2] https://wso2.org/jira/browse/APIMANAGER-1355


 On Mon, Jul 15, 2013 at 3:50 AM, Bhathiya Jayasekara 
 bhath...@wso2.comwrote:

 Hi,

 I was trying to run an sample provided in APIM 1.4.0. When I open the
 store, the UI has a lot of null labels. Why is that? (screenshot attached)

 Thanks.

 --
 *Bhathiya Jayasekara*
 *Software Engineer,*
 *WSO2 inc., http://wso2.com*
 *
 *
 *Phone: +94715478185*
 *LinkedIn: http://www.linkedin.com/in/bhathiyaj*
 *Twitter: https://twitter.com/bhathiyax*

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




 --
 Lalaji Sureshika
  WSO2, Inc.;  http://wso2.com/
 email: lal...@wso2.com; cell: +94 71 608 6811
 blog: http://lalajisureshika.blogspot.com



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




 --
 /sumedha
 b :  bit.ly/sumedha




-- 
Lalaji Sureshika
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GovernanceUtils.findGovernanceArtifactConfiguration does not return results until a tenant logs in

2013-04-19 Thread Lalaji Sureshika
Hi Nuwan,


On Fri, Apr 19, 2013 at 11:29 AM, Nuwan Dias nuw...@wso2.com wrote:

 Hi,

 We are having an API Publisher and Store mounted to a remote governance
 registry. A tenant logs into the API Publisher to publish an API. When
 loading the APIs on the API Store, the tenant registry is queried to load
 his APIs. Following is the code block that gets executed.

 GovernanceUtils.loadGovernanceArtifacts((UserRegistry) registry);

 if(GovernanceUtils.findGovernanceArtifactConfiguration(key,
 registry)!=null){
 artifactManager = new GenericArtifactManager(registry, key);
 }

 The registry that is used in here is the tenant's registry. However, the
 findGovernanceArtifactConfiguration method returns null until the tenant
 logs into the system at least once.

 What could be the reason for the above behavior? Any way to get around
 this issue?


In APIStore,before a user [either tenant user or normal user] login to
it ,the rxts need to be loaded in anonymous mode to show APIs in anonymous
mode.Such that the above registry instance initiate as an anonymous
registry instance ,before a user logs in,right..? If so,I think,this issue
is due to the registry location contains RXTs doesn't have permissions to
access those rxts by anonymous user..

Thanks;


 --
 Nuwan Dias

 Software Engineer - WSO2, Inc. http://wso2.com
 email : nuw...@wso2.com
 Phone : +94 777 775 729

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




-- 
Lalaji Sureshika
Software Engineer
WSO2, Inc.;  http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] API-M: Documentation on configuring connecting to BAM?

2013-04-01 Thread Lalaji Sureshika
Hi,

You can find the related wiki documentation from [1] for AM 1.3.1.
Agree,current showing text [when no stats available] will not much help
from users-perspective.Currently Chamath is working on improving Stats
pages of the publisher app.Will take your point,to improve that text while
his effort on improving stats page..

@Chamath -Please note..

Thanks;

[1] http://docs.wso2.org/wiki/display/AM131/Monitoring+and+Statistics


On Mon, Apr 1, 2013 at 11:17 PM, Afkham Azeez az...@wso2.com wrote:

 Folks,
 Where can I find these docs? What needs to be done to enable API stats.
 When you go to stats, there is some text which says that BAM is not
 properly setup. It would be more useful if that text also points to the
 docs which show how to setup  configure BAM for API Manager.

 Azeez

 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*

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




-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] API-M: Make sure all samples are covered by integration tests

2013-03-29 Thread Lalaji Sureshika
Hi,

Noted. Created APIMANAGER-1046https://wso2.org/jira/browse/APIMANAGER-1046 to
track this.

Thanks;


On Fri, Mar 29, 2013 at 10:46 AM, Afkham Azeez az...@wso2.com wrote:

 In late 2011  early 2012, we put in a lot of effort to develop an
 integration test framework which will allow you to, among other things,
 fully automate sample deployment  testing. Now it is a pre-requisite for
 all WSO2 products. Please make sure this is done for API-M.

 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*

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




-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] API-M : Usability Improvement: Append http:// if not specified

2013-03-28 Thread Lalaji Sureshika
Hi,

Created the jira APIMANAGER-1041https://wso2.org/jira/browse/APIMANAGER-1041.
Will include this improvement for our next release.

Thanks;

On Thu, Mar 28, 2013 at 9:58 AM, Afkham Azeez az...@wso2.com wrote:

 While specifying URLs, it is now accepted that http:// will be appended
 if the user does not specify it. So, API-M should have this.

 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*

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




-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] API-M : Usability Improvement: Append http:// if not specified

2013-03-28 Thread Lalaji Sureshika
Hi,

On Thu, Mar 28, 2013 at 10:42 AM, Afkham Azeez az...@wso2.com wrote:



 On Thu, Mar 28, 2013 at 11:37 AM, Lalaji Sureshika lal...@wso2.comwrote:

 Hi,

 Created the jira 
 APIMANAGER-1041https://wso2.org/jira/browse/APIMANAGER-1041.
 Will include this improvement for our next release.


 1.5.0?

  No,will fix this with 1.4.0..

Thanks;




 Thanks;

 On Thu, Mar 28, 2013 at 9:58 AM, Afkham Azeez az...@wso2.com wrote:

  While specifying URLs, it is now accepted that http:// will be
 appended if the user does not specify it. So, API-M should have this.

 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*

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




 --
 Lalaji Sureshika
 Software Engineer; Development Technologies Team;WSO2, Inc.;
 http://wso2.com/
 email: lal...@wso2.com; cell: +94 71 608 6811
 blog: http://lalajisureshika.blogspot.com





 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Usability improvement for API-M subscription

2013-03-28 Thread Lalaji Sureshika
Hi,

On Thu, Mar 28, 2013 at 10:59 AM, Afkham Azeez az...@wso2.com wrote:



 On Wed, Mar 27, 2013 at 3:33 PM, Afkham Azeez az...@wso2.com wrote:



 On Wed, Mar 27, 2013 at 3:02 PM, Lalaji Sureshika lal...@wso2.comwrote:

 Hi,

 On Wed, Mar 27, 2013 at 1:40 PM, Afkham Azeez az...@wso2.com wrote:



 On Wed, Mar 27, 2013 at 2:39 PM, Nuwan Dias nuw...@wso2.com wrote:

 On Wed, Mar 27, 2013 at 2:35 PM, Afkham Azeez az...@wso2.com wrote:



 On Wed, Mar 27, 2013 at 2:33 PM, Sumedha Rubasinghe sume...@wso2.com
  wrote:

 On Wed, Mar 27, 2013 at 2:24 PM, Afkham Azeez az...@wso2.comwrote:

 Right now you have to navigate to an API, and then associate it
 with an Application. Edit Application only allows you to change the 
 name 
 tier. IMO, it is more natural to create an application, and then add 
 APIs
 to that application, rather than navigating to the API  then adding 
 it to
 the app.


 Azeez,
 Your suggesting a UI enhancement. right?
 This means with in application view, we should provide some means of
 searching for APIs, then select version.



 Yes, UI enhancement.


 I'm guessing it would be something like this.

 List My Applications - Choose an Application and click Add APIs -
 Search for APIs and select the ones to be added to the App - Commit.


 Yes, that is correct. My concern is, once you create an Application,
 you are lost because the flow is broken. You have to start a new flow by
 going to APIs, and then associate an app with the APIs.


I guess,if there's a link available in Applications page pointing to
 APIs page with some indication similar to to 'select APIs from browse APIs
 page' will be sufficient..As APIs page already providing
  browse/search/subscribe to APIs..


 No it is not sufficient. Once you add an application, it appears on the
 list at the bottom part of the page. Add application should be a wizard.

 Step 1: Define application name
 Step 2: Select tier - this page needs to contain briefly what each tier
 provides, features/limitations etc.
 Step 3: Add APIs to Application
 Step 4: Generate keys

 The user experience should be smooth  unbroken. This is not just a
 problem with API-M UIs, but may of our other UIs as well. We need to make
 an effort to improve these aspects, and such small improvements will go a
 long way.


 Should this be added as a work item for a future release/current release?

With the above your suggested way,for Step 3 and Step4,are you suggesting
to redirect to existing browse API and subscriptions pages or introducing
new popup UIs.
Please pardon,but still I believe,once an application created,if there's
a link available in the created application row to redirect into APIs
page,it'll support your flow from the step 3 and continue.But with that
way,the current limitation is,you cannot subscribe to multiple APIs at one
time.

Anyhow,if we are going to implement above,I believe it has to be done in a
future release[ Not the next release 1.4.0],as we have to come up with a
proper UI design.

Thanks;






 Thanks;

 Thanks;




 Thanks,
 NuwanD.







 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: 
 **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




 --
 /sumedha
 m: +94 773017743
 b :  bit.ly/sumedha




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: 
 **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*

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




 --
 Nuwan Dias

 Member, Management Committee - Solutions Technology Group
 Software Engineer - WSO2, Inc. http://wso2.com
 email : nuw...@wso2.com
 Phone : +94 777 775 729




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: 
 **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*

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




 --
 Lalaji Sureshika
  Software Engineer; Development

Re: [Dev] API Manager Load Testing (Store Feature)

2013-03-28 Thread Lalaji Sureshika
Hi Ruwan,

On Thu, Mar 28, 2013 at 8:33 PM, Sanjeewa Malalgoda sanje...@wso2.comwrote:



 On Thu, Mar 28, 2013 at 8:49 PM, Ruwan Yatawara ruw...@wso2.com wrote:


 Hi All,

 We executed a load test on the latest multi-tenancy enabled API Manager
 pack with with the Use of Jmeter Scripts.

 Following features of the API Store, were tested.

1. Get All APIs
2. Get All Tags
3. Get All recently added APIs

 Please find below, results of the tests.

   *Test : Get All APIs*
  *
 *
  *
 *
  *10 Tenants 100 APIs each (1000 APIs)*
  User Count Average Time (ms)  Single User 3169  10 Users 43230

  *100 Tenants 10 Apis each (1000 APIs)*
  User Count Average Time (ms)  Single User 6119  10 Users 63402  100
 Users 185196



  *100 Tenants 20 APIs each (2000 APIs)*
  User Count Average Time (ms)  Single User 14974  10 Users 172514  100
 Users 182466  300 Users * 328453

  * With 10.37% of the requests getting timed out


  *100 Tenants 100 APIs each (1 APIs)*
  User Count Average Time (ms)  Single User Fails after 210200





  *Test : Get Recently Published APIs*
  *
 *


  *100 Tenants 20 APIs each (2000 APIs)*
  User Count Average Time (ms)  Single User 487  10 Users 3051  100 Users
 37852  1000 Users * 328291

  * With 6% of the requests getting timed out


   *Test : Get Tags*
  *
 *


  *100 Tenants 20 APIs each (2000 APIs)*
  User Count Average Time (ms)  Single User 682  10 Users 5617  100 Users
 85346  1000 Users * 359779

  * With 16.7% of the requests getting timed out



 Please note that, these tests were carried out on my local machine.

 Good work ruwan, These results should be much better than this if we ran
 in developer environment. Lets try same thing on developer environment by
 using today pack. Also API invocation/subscription and login should take
 into account next cycles of tests.


   Thanks  Ruwan for carrying the above and sharing stats. Main focus on
above load tests is to check,how efficient the API retrieving methods of
APIStore after did multi-tenant related improvements [eg: iterating through
each tenant registry space to retrieve APIs to show in global Store mode..]
.It would be great,if you can share the carbon log file also to get idea on
failing points.. Meantime I will profile and check the code again,with
using your improved jmeter script..

Thanks;



 Thanks.
 Sanjeewa.



 Thanks and Regards,
 Ruwan Yatawara


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




 --
 *Sanjeewa Malalgoda*
 WSO2 Inc.
 Mobile : +14084122175 | +94713068779

  http://sanjeewamalalgoda.blogspot.com/blog
 :http://sanjeewamalalgoda.blogspot.com/http://sanjeewamalalgoda.blogspot.com/

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




-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Usability improvement for API-M subscription

2013-03-27 Thread Lalaji Sureshika
Hi,

On Wed, Mar 27, 2013 at 1:40 PM, Afkham Azeez az...@wso2.com wrote:



 On Wed, Mar 27, 2013 at 2:39 PM, Nuwan Dias nuw...@wso2.com wrote:

 On Wed, Mar 27, 2013 at 2:35 PM, Afkham Azeez az...@wso2.com wrote:



 On Wed, Mar 27, 2013 at 2:33 PM, Sumedha Rubasinghe sume...@wso2.comwrote:

 On Wed, Mar 27, 2013 at 2:24 PM, Afkham Azeez az...@wso2.com wrote:

 Right now you have to navigate to an API, and then associate it with
 an Application. Edit Application only allows you to change the name  
 tier.
 IMO, it is more natural to create an application, and then add APIs to 
 that
 application, rather than navigating to the API  then adding it to the 
 app.


 Azeez,
 Your suggesting a UI enhancement. right?
 This means with in application view, we should provide some means of
 searching for APIs, then select version.



 Yes, UI enhancement.


 I'm guessing it would be something like this.

 List My Applications - Choose an Application and click Add APIs -
 Search for APIs and select the ones to be added to the App - Commit.


 Yes, that is correct. My concern is, once you create an Application, you
 are lost because the flow is broken. You have to start a new flow by going
 to APIs, and then associate an app with the APIs.


   I guess,if there's a link available in Applications page pointing to
APIs page with some indication similar to to 'select APIs from browse APIs
page' will be sufficient..As APIs page already providing
 browse/search/subscribe to APIs..

Thanks;

Thanks;




 Thanks,
 NuwanD.







 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: 
 **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




 --
 /sumedha
 m: +94 773017743
 b :  bit.ly/sumedha




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*

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




 --
 Nuwan Dias

 Member, Management Committee - Solutions Technology Group
 Software Engineer - WSO2, Inc. http://wso2.com
 email : nuw...@wso2.com
 Phone : +94 777 775 729




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*

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




-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] org.wso2.carbon.rest.api.feature:4.1.0 is not in nexus repo

2013-03-21 Thread Lalaji Sureshika
Hi Supun,

On Thu, Mar 21, 2013 at 9:32 PM, Supun Malinga sup...@wso2.com wrote:




 On Thu, Mar 21, 2013 at 10:27 PM, Supun Malinga sup...@wso2.com wrote:

 Hi Sumedha,

 On Thu, Mar 21, 2013 at 7:00 PM, Sumedha Rubasinghe sume...@wso2.comwrote:

 [ERROR] Failed to execute goal
 org.wso2.maven:carbon-p2-plugin:1.5.2:p2-repo-gen (2-p2-repo-generation) on
 project am-p2-profile: Error occured when processing the Feature Artifact:
 org.wso2.carbon:org.wso2.carbon.rest.api.feature:4.1.0: ERROR: Could not
 find artifact org.wso2.carbon:org.wso2.carbon.rest.api.feature:zip:4.1.0 in
 wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)


 4.1.0 branch has this feature commented out. I heard we are deploying
 similar features manually to nexus (which is a wrong thing to do,

 You mean we are deploying components/features commented out in 4.1.0
 build to nexus?. If so that's totally wrong!. We mainly commented out stuff
 that had issues + not required for AS release. Deploying those manually
 into will be problematic.


 given 4.1.0 has been released with these commented out).

 If its commented out from the build, its not released :)

Just a question. 4.1.0 means a main branch.. So  isn't the all the
components/features added there should include in to the pom.xml..Else if
some components are not released with that branch,what's the use of keeping
those components/features under 4.1.0 version..Just asked because we are
facing some version mismatches with created APIM related components  and
features in 4.1.0 tag..[For eg: apimgt related bundles directory version is
4.1.0 in 4.1.0 branch,but it should be 1.1.0..]

Thanks;


Thanks;




 But if other missing features have gone under 4.1.0 repo like this, can
 we add this one also to nexus please?


 No.. you need to add those in to 4.1.1 build (with 4.1.1 versions) and
 release with 4.1.1.

 thanks,



 --
 /sumedha
 b :  bit.ly/sumedha




 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321

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




-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] org.wso2.carbon.rest.api.feature:4.1.0 is not in nexus repo

2013-03-21 Thread Lalaji Sureshika
Hi Pradeep,

On Thu, Mar 21, 2013 at 10:13 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi lalaji,

 Remove any unused/unreleased components which has 4.1.0 versions create
 4.1.1 s. Create 4.1.1 aggregate poms if necessary. Eventually those should
 point to a released 4.1.0 pom file.
 Think of it as you branching your components from the trunk to 4.1.0
 branch now...

   Thanks for the quick response.That's what I exactly want to
confirm...We'll remove the unreleased apimgt component/features 4.1.0
versioned modules from the branch,as we have already added correct APIM
versioned modules  to 4.1.0 branch...

Thanks;

 Hope I'm clear enough...

 --Pradeep
 sent from my phone
 On Mar 21, 2013 11:05 PM, Lalaji Sureshika lal...@wso2.com wrote:

 Hi Supun,

 On Thu, Mar 21, 2013 at 9:32 PM, Supun Malinga sup...@wso2.com wrote:




 On Thu, Mar 21, 2013 at 10:27 PM, Supun Malinga sup...@wso2.com wrote:

 Hi Sumedha,

 On Thu, Mar 21, 2013 at 7:00 PM, Sumedha Rubasinghe 
 sume...@wso2.comwrote:

 [ERROR] Failed to execute goal
 org.wso2.maven:carbon-p2-plugin:1.5.2:p2-repo-gen (2-p2-repo-generation) 
 on
 project am-p2-profile: Error occured when processing the Feature Artifact:
 org.wso2.carbon:org.wso2.carbon.rest.api.feature:4.1.0: ERROR: Could not
 find artifact org.wso2.carbon:org.wso2.carbon.rest.api.feature:zip:4.1.0 
 in
 wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)


 4.1.0 branch has this feature commented out. I heard we are deploying
 similar features manually to nexus (which is a wrong thing to do,

 You mean we are deploying components/features commented out in 4.1.0
 build to nexus?. If so that's totally wrong!. We mainly commented out stuff
 that had issues + not required for AS release. Deploying those manually
 into will be problematic.


 given 4.1.0 has been released with these commented out).

 If its commented out from the build, its not released :)

Just a question. 4.1.0 means a main branch.. So  isn't the all the
 components/features added there should include in to the pom.xml..Else if
 some components are not released with that branch,what's the use of keeping
 those components/features under 4.1.0 version..Just asked because we are
 facing some version mismatches with created APIM related components  and
 features in 4.1.0 tag..[For eg: apimgt related bundles directory version is
 4.1.0 in 4.1.0 branch,but it should be 1.1.0..]

 Thanks;


 Thanks;




 But if other missing features have gone under 4.1.0 repo like this,
 can we add this one also to nexus please?


 No.. you need to add those in to 4.1.1 build (with 4.1.1 versions) and
 release with 4.1.1.

 thanks,



 --
 /sumedha
 b :  bit.ly/sumedha




 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321

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




 --
 Lalaji Sureshika
 Software Engineer; Development Technologies Team;WSO2, Inc.;
 http://wso2.com/
 email: lal...@wso2.com; cell: +94 71 608 6811
 blog: http://lalajisureshika.blogspot.com



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




-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Unable to login as a Tenant in GREG 4.6.0 Console. [Latest Pack]

2013-03-19 Thread Lalaji Sureshika
Hi Sriragu,

Does above issue appear in 4.1.0 branch? We are getting  the same
issue,when trying to login to admin console/jaggery apps with created
tenants in AM latest build packs.[Tenants can added successfully,but login
failed with registered tenants].No stack trace shown,rather following WARN
showing in the console.[kernel revision no. of built pack -168089]

[2013-03-19 14:15:03,549]  WARN - CarbonAuthenticationUtil Failed
Administrator login attempt 'lal...@lala.com[-1234]' at [2013-03-19
14:15:03,548+0430]

Thanks;

On Fri, Mar 15, 2013 at 3:51 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Can you forward any stacktrace related to this?

 On Fri, Mar 15, 2013 at 12:39 PM, Sriragu Arudsothy srir...@wso2.comwrote:

 Hai ALL,

I have got the recent check outs and build the GREG 4.6.0 pack
 today. I was able to register a  Tenant via console. when I try to login
 using that tenant username, pwd as what I registered I did not work. I
 failed, poped up a Carbon UI error message.

 But I tested this on the Greg 4.6.0 pack built 3 weeks ago, it worked
 fine.

 Thanks!
 Ragu

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




 --
 *Amila Maharachchi*
 Technical Lead
 Member, Management Committee - Cloud  Platform TG
 WSO2, Inc.; http://wso2.com

 Blog: http://maharachchi.blogspot.com
 Mobile: +94719371446


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




-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Unable to login as a Tenant in GREG 4.6.0 Console. [Latest Pack]

2013-03-19 Thread Lalaji Sureshika
On Tue, Mar 19, 2013 at 2:37 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Seems like your tenant has got ST id assigned. Did you try to debug and
 see?

Yes,there seems to be an issue with for each tenants registered,those are
getting ST id assigned. I didn't tried with debugging yet,will try
debugging and see..

Thanks;




 On Tue, Mar 19, 2013 at 3:17 PM, Lalaji Sureshika lal...@wso2.com wrote:

 Hi Sriragu,

 Does above issue appear in 4.1.0 branch? We are getting  the same
 issue,when trying to login to admin console/jaggery apps with created
 tenants in AM latest build packs.[Tenants can added successfully,but login
 failed with registered tenants].No stack trace shown,rather following WARN
 showing in the console.[kernel revision no. of built pack -168089]

 [2013-03-19 14:15:03,549]  WARN - CarbonAuthenticationUtil Failed
 Administrator login attempt 'lal...@lala.com[-1234]' at [2013-03-19
 14:15:03,548+0430]

 Thanks;


 On Fri, Mar 15, 2013 at 3:51 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Can you forward any stacktrace related to this?

 On Fri, Mar 15, 2013 at 12:39 PM, Sriragu Arudsothy srir...@wso2.comwrote:

 Hai ALL,

I have got the recent check outs and build the GREG 4.6.0
 pack today. I was able to register a  Tenant via console. when I try to
 login using that tenant username, pwd as what I registered I did not work.
 I failed, poped up a Carbon UI error message.

 But I tested this on the Greg 4.6.0 pack built 3 weeks ago, it worked
 fine.

 Thanks!
 Ragu

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




 --
 *Amila Maharachchi*
 Technical Lead
 Member, Management Committee - Cloud  Platform TG
 WSO2, Inc.; http://wso2.com

 Blog: http://maharachchi.blogspot.com
 Mobile: +94719371446


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




 --
 Lalaji Sureshika
  Software Engineer; Development Technologies Team;WSO2, Inc.;
 http://wso2.com/
 email: lal...@wso2.com; cell: +94 71 608 6811
 blog: http://lalajisureshika.blogspot.com





 --
 *Amila Maharachchi*
 Technical Lead
 Member, Management Committee - Cloud  Platform TG
 WSO2, Inc.; http://wso2.com

 Blog: http://maharachchi.blogspot.com
 Mobile: +94719371446




-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Unable to login as a Tenant in GREG 4.6.0 Console. [Latest Pack]

2013-03-19 Thread Lalaji Sureshika
Hi Amila,

Able to sort out the issues with debugging.[Thanks Sanjeewa for the help].
Tenant login has failed to below two issues .

1. The config EnableEmailUserName had been added to carbon.xml of AM pack
mistakenly.[Removed that config from carbon.xml]
2. Added cloudService entry for 'WSO2 API Manager' in
cloud-services-desc.xml.

Once did above two options,tenants can login successfully.However to do 2)
,I believe we should not change common cloud-services-desc.xml which is
used by Stratos component.Shall we keep a separate cloud-services-desc.xml
inside AM pack to add the above entry..

Thanks;


On Tue, Mar 19, 2013 at 3:00 PM, Lalaji Sureshika lal...@wso2.com wrote:



 On Tue, Mar 19, 2013 at 2:37 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Seems like your tenant has got ST id assigned. Did you try to debug and
 see?

 Yes,there seems to be an issue with for each tenants registered,those are
 getting ST id assigned. I didn't tried with debugging yet,will try
 debugging and see..

 Thanks;




 On Tue, Mar 19, 2013 at 3:17 PM, Lalaji Sureshika lal...@wso2.comwrote:

 Hi Sriragu,

 Does above issue appear in 4.1.0 branch? We are getting  the same
 issue,when trying to login to admin console/jaggery apps with created
 tenants in AM latest build packs.[Tenants can added successfully,but login
 failed with registered tenants].No stack trace shown,rather following WARN
 showing in the console.[kernel revision no. of built pack -168089]

 [2013-03-19 14:15:03,549]  WARN - CarbonAuthenticationUtil Failed
 Administrator login attempt 'lal...@lala.com[-1234]' at [2013-03-19
 14:15:03,548+0430]

 Thanks;


 On Fri, Mar 15, 2013 at 3:51 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Can you forward any stacktrace related to this?

 On Fri, Mar 15, 2013 at 12:39 PM, Sriragu Arudsothy 
 srir...@wso2.comwrote:

 Hai ALL,

I have got the recent check outs and build the GREG 4.6.0
 pack today. I was able to register a  Tenant via console. when I try to
 login using that tenant username, pwd as what I registered I did not work.
 I failed, poped up a Carbon UI error message.

 But I tested this on the Greg 4.6.0 pack built 3 weeks ago, it worked
 fine.

 Thanks!
 Ragu

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




 --
 *Amila Maharachchi*
 Technical Lead
 Member, Management Committee - Cloud  Platform TG
 WSO2, Inc.; http://wso2.com

 Blog: http://maharachchi.blogspot.com
 Mobile: +94719371446


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




 --
 Lalaji Sureshika
  Software Engineer; Development Technologies Team;WSO2, Inc.;
 http://wso2.com/
 email: lal...@wso2.com; cell: +94 71 608 6811
 blog: http://lalajisureshika.blogspot.com





 --
 *Amila Maharachchi*
 Technical Lead
 Member, Management Committee - Cloud  Platform TG
 WSO2, Inc.; http://wso2.com

 Blog: http://maharachchi.blogspot.com
 Mobile: +94719371446




 --
 Lalaji Sureshika
 Software Engineer; Development Technologies Team;WSO2, Inc.;
 http://wso2.com/
 email: lal...@wso2.com; cell: +94 71 608 6811
 blog: http://lalajisureshika.blogspot.com





-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Difference between 'Add New Role' vs 'Add New Internal Role' when adding a User Role from Management Console UI

2013-03-12 Thread Lalaji Sureshika
Hi,

When I try creating a new Role from 'Users and Roles' page in management
console [built pack on top of c4.0.8].I could see the above two options.May
I know the difference between the above two options..

Thanks;



-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Integrating Jmeter test script execution with test automation framework 4.0.8

2013-03-07 Thread Lalaji Sureshika
Hi,

This will be really value added feature to evolve product integration
tests.Specially in APIManager,we have used several jmeter test scripts time
to time,to test product functionality with help of QA team..

One question,how the results of executed jmeter scripts with integration
tests output..?Will it generate reports per each jmeter test case?


Thanks;

On Thu, Mar 7, 2013 at 6:42 PM, Nuwan Wimalasekara nuw...@wso2.com wrote:

 Hi all,
 We have enable the test automation framework to run Jmeter script alone
 with integration test while building products. There are lot of Jmeter
 script for product functional testing and those are manually triggered from
 Jmeter tool after building the product to test product functionality. with
 this feature you can execute the Jmeter test which ensure a functionality
 of a product with proper assertions with the product integration test and
 see the test reports.

 if you have any Jmeter script(.jmx) file, Please integrate those test with
 the integration test.  Please send the feedback if you face any limitation
 or issue while integrating.

 Please find the source code from[1]

 Note : This is not recommended for load testing with high value.

 You need to have bellow dependency
 dependency
 groupIdorg.wso2.carbon.automation/groupId

 artifactIdorg.wso2.carbon.automation.tools.jmeter/artifactId
 version4.0.8/version
 /dependency

 Then you can write a test method in your integration test to run Jmeter
 script.

 @Test()
 public void serviceListTest() throws Exception {
 JMeterTestManager test = new JMeterTestManager();
 JMeterTest file = new JMeterTest(new
 File($PATH/ESB-list-service.jmx));
 test.runTest(file);
 }

 [1]
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/platform-integration/clarity-framework/4.0.8/org.wso2.carbon.automation.tools.jmeter/

 Thanks
 Nuwanw


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

 phone: +94 71 668 4620




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




-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ESB 4.7.0 latest pack failed to start

2013-03-06 Thread Lalaji Sureshika
/HttpParams;)Z
  at
 
 org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.convert(AbstractMultiworkerIOReactor.java:203)
  at
 
 org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.init(DefaultConnectingIOReactor.java:117)
  at
 
 org.apache.synapse.transport.passthru.PassThroughHttpSender.init(PassThroughHttpSender.java:126)
  at
 
 org.apache.axis2.context.ConfigurationContextFactory.initTransportSenders(ConfigurationContextFactory.java:300)
  at
 
 org.apache.axis2.context.ConfigurationContextFactory.init(ConfigurationContextFactory.java:231)
  at
 
 org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:93)
  at
 
 org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
  at
 
 org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:398)
  at
 
 org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:290)
  at
 
 org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)
  at
 
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
  at
 
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
  at
 
 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
 
  Thanks,
  Nuwanw
 
 
  --
  Nuwan Wimalasekara
  Software Engineer - Test Automation
  WSO2, Inc.: http://wso2.com
  lean. enterprise. middleware
 
  phone: +94 71 668 4620
 
 
 
 
  ___
  Dev mailing list
  Dev@wso2.org
  http://wso2.org/cgi-bin/mailman/listinfo/dev
 
 
 
 
  --
  Kasun Indrasiri
  Associate Technical Lead
  WSO2, Inc.; http://wso2.com
  lean.enterprise.middleware
 
  cell: +94 71 536 4128
  Blog : http://kasunpanorama.blogspot.com/



 --
 Kasun Indrasiri
 Associate Technical Lead
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 71 536 4128
 Blog : http://kasunpanorama.blogspot.com/




 --
 Kasun Indrasiri
 Associate Technical Lead
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 71 536 4128
 Blog : http://kasunpanorama.blogspot.com/




 --
 Jeewantha Dharmaparakrama
 Software Engineer; WSO2, Inc.; http://wso2.com/
 Phone : (+94) 774726790
 Skype : prasad.jeewantha
 LinkedIn : http://www.linkedin.com/in/jeewanthad
 Twitter: https://twitter.com/jeewamp
 Blog: http://jeewanthad.blogspot.com/




 --
 *Isuru Udana*
 *
  *
 *
 Software Engineer
 *
 Integration Technologies Team, WSO2 Inc.; http://wso2.com
 email: isu...@wso2.com cell: +94 77 3791887
 blog: http://mytecheye.blogspot.com/
 twitter: http://twitter.com/isudana




 --
 Jeewantha Dharmaparakrama
 Software Engineer; WSO2, Inc.; http://wso2.com/
 Phone : (+94) 774726790
 Skype : prasad.jeewantha
 LinkedIn : http://www.linkedin.com/in/jeewanthad
 Twitter: https://twitter.com/jeewamp
 Blog: http://jeewanthad.blogspot.com/




 --
 Jeewantha Dharmaparakrama
 Software Engineer; WSO2, Inc.; http://wso2.com/
 Phone : (+94) 774726790
 Skype : prasad.jeewantha
 LinkedIn : http://www.linkedin.com/in/jeewanthad
 Twitter: https://twitter.com/jeewamp
 Blog: http://jeewanthad.blogspot.com/

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




-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ESB 4.7.0 latest pack failed to start

2013-03-05 Thread Lalaji Sureshika
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ESB 4.7.0 latest pack failed to start

2013-03-04 Thread Lalaji Sureshika
Hi,

We also getting the same issue when starting latest AM 1.4.0 pack built
from 4.0.8 branch..

Thanks;

On Mon, Mar 4, 2013 at 4:18 PM, Nuwan Wimalasekara nuw...@wso2.com wrote:

 HI,
 I build the ESB 4.7.0 distribution and Bellow Error occurred when starting
 ESB server and server stopped. Please check

 2013-03-04 17:13:51,076] FATAL - CarbonServerManager WSO2 Carbon
 initialization Failed

 Full log:
 nuwanw@nuwanw-ThinkPad-T520:~/svn/carbon/platform/branches/4.0.0/products/esb/4.7.0/modules/distribution/target/wso2esb-4.7.0/bin$
 ./wso2server.sh
 JAVA_HOME environment variable is set to
 /home/nuwanw/software/java/jdk1.6.0_22
 CARBON_HOME environment variable is set to
 /home/nuwanw/svn/carbon/platform/branches/4.0.0/products/esb/4.7.0/modules/distribution/target/wso2esb-4.7.0
 [2013-03-04 17:09:46,177]  INFO - CarbonCoreActivator Starting WSO2
 Carbon...
 [2013-03-04 17:09:46,180]  INFO - CarbonCoreActivator Operating System :
 Linux 3.2.0-38-generic, amd64
 [2013-03-04 17:09:46,180]  INFO - CarbonCoreActivator Java Home:
 /home/nuwanw/software/java/jdk1.6.0_22/jre
 [2013-03-04 17:09:46,180]  INFO - CarbonCoreActivator Java Version :
 1.6.0_22
 [2013-03-04 17:09:46,180]  INFO - CarbonCoreActivator Java VM  :
 Java HotSpot(TM) 64-Bit Server VM 17.1-b03,Sun Microsystems Inc.
 [2013-03-04 17:09:46,180]  INFO - CarbonCoreActivator Carbon Home  :
 /home/nuwanw/svn/carbon/platform/branches/4.0.0/products/esb/4.7.0/modules/distribution/target/wso2esb-4.7.0
 [2013-03-04 17:09:46,180]  INFO - CarbonCoreActivator Java Temp Dir:
 /home/nuwanw/svn/carbon/platform/branches/4.0.0/products/esb/4.7.0/modules/distribution/target/wso2esb-4.7.0/tmp
 [2013-03-04 17:09:46,180]  INFO - CarbonCoreActivator User :
 nuwanw, en-US, Asia/Colombo
 [2013-03-04 17:09:46,213]  INFO - AgentHolder Agent created !
 [2013-03-04 17:09:46,238]  INFO - AgentDS Successfully deployed Agent
 Client
 [2013-03-04 17:09:48,964]  INFO - EmbeddedRegistryService Configured
 Registry in 80ms
 [2013-03-04 17:09:49,210]  INFO - RegistryCoreServiceComponent Registry
 Mode: READ-WRITE
 [2013-03-04 17:09:50,604]  INFO - ClusterBuilder Clustering has been
 disabled
 [2013-03-04 17:09:51,078]  INFO - LandingPageWebappDeployer Deployed
 product landing page webapp:
 StandardEngine[Catalina].StandardHost[localhost].StandardContext[/home]
 [2013-03-04 17:09:51,124]  INFO - PassThroughHttpSSLSender Initializing
 Pass-through HTTP/S Sender...
 [2013-03-04 17:09:51,143]  INFO - PassThroughHttpSSLSender Loading
 Identity Keystore from : repository/resources/security/wso2carbon.jks
 [2013-03-04 17:09:51,191]  INFO - PassThroughHttpSSLSender Loading Trust
 Keystore from : repository/resources/security/client-truststore.jks
 [2013-03-04 17:09:51,217] FATAL - CarbonServerManager WSO2 Carbon
 initialization Failed
 java.lang.NoSuchMethodError:
 org.apache.http.params.HttpConnectionParams.getSoKeepalive(Lorg/apache/http/params/HttpParams;)Z
  at
 org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.convert(AbstractMultiworkerIOReactor.java:203)
 at
 org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.init(DefaultConnectingIOReactor.java:117)
  at
 org.apache.synapse.transport.passthru.PassThroughHttpSender.init(PassThroughHttpSender.java:126)
 at
 org.apache.axis2.context.ConfigurationContextFactory.initTransportSenders(ConfigurationContextFactory.java:300)
  at
 org.apache.axis2.context.ConfigurationContextFactory.init(ConfigurationContextFactory.java:231)
 at
 org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:93)
  at
 org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
 at
 org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:398)
  at
 org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:290)
 at
 org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
  at
 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

 Thanks,
 Nuwanw


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

 phone: +94 71 668 4620




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




-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Build failure in fast XSLT mediator

2013-02-25 Thread Lalaji Sureshika
Hi,

With the below fix,once a user tried to build directly patch-releases/4.0.5
in a clean repo ,it will fail with below error[1]..As from
patch-release/4.0.5,there's a reference to
components/mediators/fastXSLT..And relevant 4.0.5 based synapse version
is 2.1.1-wso2v1..

Shall we add this synapse version update into
components/mediators/fastXSLT/org.wso2.carbon.mediator.fastXSLT/4.0.6
itself,instead changing
components/mediators/fastXSLT/org.wso2.carbon.mediator.fastXSLT?And
since synapse 2.1.1-wso2v3 has not released yet and the 2.1.1-wso2v2 has
released with platform 4.0.6 release,I guess the synapse version should
update to 2.1.1-wso2v2..Please correct if I'm wrong..

[1] [ERROR] Failed to execute goal on project
org.wso2.carbon.mediator.fastXSLT: Could not resolve dependencies for
project org.wso2.carbon:org.wso2.carbon.mediator.fastXSLT:bundle:4.0.5:
Could not find artifact org.apache.synapse:synapse-core:jar:2.1.1-wso2v3 in
wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/) -
[Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.

Thanks;

On Tue, Jan 29, 2013 at 3:37 PM, Tharindu Mathew thari...@wso2.com wrote:

 Fixed with r154282.

 svn diff is as follows:

 Index: pom.xml
 ===
 --- pom.xml(revision 154281)
 +++ pom.xml(working copy)
 @@ -42,7 +42,7 @@
  dependency
  groupIdorg.apache.synapse/groupId
  artifactIdsynapse-core/artifactId
 -version2.1.1-wso2v1/version
 +version2.1.1-wso2v3/version
  /dependency
  /dependencies
  /dependencyManagement


 On Tue, Jan 29, 2013 at 4:23 PM, Tharindu Mathew thari...@wso2.comwrote:

 Hi,

 $subject

 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 10.888s
 [INFO] Finished at: Tue Jan 29 16:21:13 IST 2013
 [INFO] Final Memory: 33M/81M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
 (default-compile) on project org.wso2.carbon.mediator.fastXSLT: Compilation
 failure: Compilation failure:
 [ERROR]
 /Users/mackie/source-checkouts/carbon/platform/branches/4.0.0/components/mediators/fastXSLT/org.wso2.carbon.mediator.fastXSLT/4.0.6/src/main/java/org/wso2/carbon/mediator/fastXSLT/FastXSLTMediator.java:[202,50]
 cannot find symbol
 [ERROR] symbol  : variable BUFFERED_INPUT_STREAM
 [ERROR] location: class
 org.apache.synapse.transport.passthru.PassThroughConstants
 [ERROR]
 /Users/mackie/source-checkouts/carbon/platform/branches/4.0.0/components/mediators/fastXSLT/org.wso2.carbon.mediator.fastXSLT/4.0.6/src/main/java/org/wso2/carbon/mediator/fastXSLT/FastXSLTMediator.java:[304,158]
 cannot find symbol
 [ERROR] symbol  : variable BUFFERED_INPUT_STREAM
 [ERROR] location: class
 org.apache.synapse.transport.passthru.PassThroughConstants
 [ERROR]
 /Users/mackie/source-checkouts/carbon/platform/branches/4.0.0/components/mediators/fastXSLT/org.wso2.carbon.mediator.fastXSLT/4.0.6/src/main/java/org/wso2/carbon/mediator/fastXSLT/FastXSLTMediator.java:[305,116]
 cannot find symbol
 [ERROR] symbol  : variable BUFFERED_INPUT_STREAM
 [ERROR] location: class
 org.apache.synapse.transport.passthru.PassThroughConstants
 [ERROR] - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

 --
 Regards,

 Tharindu Mathew

 Associate Technical Lead, WSO2 BAM
 Member - Data Mgmt. Committee

 blog: http://tharindumathew.com/
 M: +9459908




 --
 Regards,

 Tharindu Mathew

 Associate Technical Lead, WSO2 BAM
 Member - Data Mgmt. Committee

 blog: http://tharindumathew.com/
 M: +9459908

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




-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Regarding SAML2 response returning from WSO2 IS-[when SSO enabled]

2013-02-05 Thread Lalaji Sureshika
Hi Suresh,

This is regarding SAML SSO support providing with  WSO2 IS next planned
release [4.1.0].. With earlier release of IS [4.0.0],when a user sends a
login request,the returning SAML response from IS is not encoded...But from
the next release [4.1.0-I checked with alpha pack],the SAML SSO
implementation has changed in-order to return an encoded SAML response from
IS side.

We are now working on embedding SSO feature for API-Manager [1] through
 SSO host-object implementation and that host-object implementation has
changed to work with IS 4.1.0.. With this updated hostobject
implementation,we cannot try SSO on APIManager with earlier released IS
[4.0.0]..

Hence I think we need to keep support for both types[encoded or not] of
 SAML response coming from IS side,in the host-object side. Is there a
better approach to support SSO  in API-Manager with both IS 4.0.0 and 4.1.0.

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

Thanks;

/Lalaji


-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Build Failure [components/bam2/org.wso2.carbon.bam.cassandra.data.archive.ui/4.0.7]

2013-02-04 Thread Lalaji Sureshika
Hi,

I'm getting below compilation failure when building from patch
release[4.0.7] pom after taking a svn up of platform. Note
the org.wso2.carbon.bam.cassandra.data.archive.stub/4.0.7 was built
successfully.

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
(default-compile) on project org.wso2.carbon.bam.cassandra.data.archive.ui:
Compilation failure: Compilation failure:
[ERROR]
/home/wso2/sanjeewa/plarform/4.0.0/components/bam2/org.wso2.carbon.bam.cassandra.data.archive.ui/4.0.7/src/main/java/org/wso2/carbon/bam/cassandra/data/archive/ui/CassandraDataArchiveAdminClient.java:[10,54]
package org.wso2.carbon.bam.cassandra.data.archive.stub does not exist
[ERROR]
/home/wso2/sanjeewa/plarform/4.0.0/components/bam2/org.wso2.carbon.bam.cassandra.data.archive.ui/4.0.7/src/main/java/org/wso2/carbon/bam/cassandra/data/archive/ui/CassandraDataArchiveAdminClient.java:[11,54]
package org.wso2.carbon.bam.cassandra.data.archive.stub does not exist
[ERROR]
/home/wso2/sanjeewa/plarform/4.0.0/components/bam2/org.wso2.carbon.bam.cassandra.data.archive.ui/4.0.7/src/main/java/org/wso2/carbon/bam/cassandra/data/archive/ui/CassandraDataArchiveAdminClient.java:[12,59]
package org.wso2.carbon.bam.cassandra.data.archive.stub.util does not exist
[ERROR]
/home/wso2/sanjeewa/plarform/4.0.0/components/bam2/org.wso2.carbon.bam.cassandra.data.archive.ui/4.0.7/src/main/java/org/wso2/carbon/bam/cassandra/data/archive/ui/CassandraDataArchiveAdminClient.java:[22,12]
cannot find symbol
[ERROR] symbol  : class CassandraArchivalServiceStub
[ERROR] location: class
org.wso2.carbon.bam.cassandra.data.archive.ui.CassandraDataArchiveAdminClient
[ERROR]
/home/wso2/sanjeewa/plarform/4.0.0/components/bam2/org.wso2.carbon.bam.cassandra.data.archive.ui/4.0.7/src/main/java/org/wso2/carbon/bam/cassandra/data/archive/ui/CassandraDataArchiveAdminClient.java:[37,37]
cannot find symbol
[ERROR] symbol  : class ArchiveConfiguration
[ERROR] location: class
org.wso2.carbon.bam.cassandra.data.archive.ui.CassandraDataArchiveAdminClient
[ERROR]
/home/wso2/sanjeewa/plarform/4.0.0/components/bam2/org.wso2.carbon.bam.cassandra.data.archive.ui/4.0.7/src/main/java/org/wso2/carbon/bam/cassandra/data/archive/ui/CassandraDataArchiveAdminClient.java:[37,97]
cannot find symbol
[ERROR] symbol  : class CassandraArchivalServiceException
[ERROR] location: class
org.wso2.carbon.bam.cassandra.data.archive.ui.CassandraDataArchiveAdminClient
[ERROR]
/home/wso2/sanjeewa/plarform/4.0.0/components/bam2/org.wso2.carbon.bam.cassandra.data.archive.ui/4.0.7/src/main/java/org/wso2/carbon/bam/cassandra/data/archive/ui/CassandraDataArchiveAdminClient.java:[30,19]
cannot find symbol
[ERROR] symbol  : class CassandraArchivalServiceStub
[ERROR] location: class
org.wso2.carbon.bam.cassandra.data.archive.ui.CassandraDataArchiveAdminClient
[ERROR] - [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn goals -rf :org.wso2.carbon.bam.cassandra.data.archive.ui

Thanks;



-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Build Failure [components/bam2/org.wso2.carbon.bam.cassandra.data.archive.ui/4.0.7]

2013-02-04 Thread Lalaji Sureshika
Hi Kasun,

I tried building org.wso2.carbon.bam.cassandra.data.archive.stub/4.0.7
manually and then ui component again.This time it built successfully. Not
sure what went wrong with earlier built time from patch release,as I tried
with mvn clean install and related patch version is already there in the
patch-release poms..

Thanks;

On Mon, Feb 4, 2013 at 3:44 PM, Lalaji Sureshika lal...@wso2.com wrote:

 Hi,

 I'm getting below compilation failure when building from patch
 release[4.0.7] pom after taking a svn up of platform. Note
 the org.wso2.carbon.bam.cassandra.data.archive.stub/4.0.7 was built
 successfully.

 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
 (default-compile) on project org.wso2.carbon.bam.cassandra.data.archive.ui:
 Compilation failure: Compilation failure:
 [ERROR]
 /home/wso2/sanjeewa/plarform/4.0.0/components/bam2/org.wso2.carbon.bam.cassandra.data.archive.ui/4.0.7/src/main/java/org/wso2/carbon/bam/cassandra/data/archive/ui/CassandraDataArchiveAdminClient.java:[10,54]
 package org.wso2.carbon.bam.cassandra.data.archive.stub does not exist
 [ERROR]
 /home/wso2/sanjeewa/plarform/4.0.0/components/bam2/org.wso2.carbon.bam.cassandra.data.archive.ui/4.0.7/src/main/java/org/wso2/carbon/bam/cassandra/data/archive/ui/CassandraDataArchiveAdminClient.java:[11,54]
 package org.wso2.carbon.bam.cassandra.data.archive.stub does not exist
 [ERROR]
 /home/wso2/sanjeewa/plarform/4.0.0/components/bam2/org.wso2.carbon.bam.cassandra.data.archive.ui/4.0.7/src/main/java/org/wso2/carbon/bam/cassandra/data/archive/ui/CassandraDataArchiveAdminClient.java:[12,59]
 package org.wso2.carbon.bam.cassandra.data.archive.stub.util does not exist
 [ERROR]
 /home/wso2/sanjeewa/plarform/4.0.0/components/bam2/org.wso2.carbon.bam.cassandra.data.archive.ui/4.0.7/src/main/java/org/wso2/carbon/bam/cassandra/data/archive/ui/CassandraDataArchiveAdminClient.java:[22,12]
 cannot find symbol
 [ERROR] symbol  : class CassandraArchivalServiceStub
 [ERROR] location: class
 org.wso2.carbon.bam.cassandra.data.archive.ui.CassandraDataArchiveAdminClient
 [ERROR]
 /home/wso2/sanjeewa/plarform/4.0.0/components/bam2/org.wso2.carbon.bam.cassandra.data.archive.ui/4.0.7/src/main/java/org/wso2/carbon/bam/cassandra/data/archive/ui/CassandraDataArchiveAdminClient.java:[37,37]
 cannot find symbol
 [ERROR] symbol  : class ArchiveConfiguration
 [ERROR] location: class
 org.wso2.carbon.bam.cassandra.data.archive.ui.CassandraDataArchiveAdminClient
 [ERROR]
 /home/wso2/sanjeewa/plarform/4.0.0/components/bam2/org.wso2.carbon.bam.cassandra.data.archive.ui/4.0.7/src/main/java/org/wso2/carbon/bam/cassandra/data/archive/ui/CassandraDataArchiveAdminClient.java:[37,97]
 cannot find symbol
 [ERROR] symbol  : class CassandraArchivalServiceException
 [ERROR] location: class
 org.wso2.carbon.bam.cassandra.data.archive.ui.CassandraDataArchiveAdminClient
 [ERROR]
 /home/wso2/sanjeewa/plarform/4.0.0/components/bam2/org.wso2.carbon.bam.cassandra.data.archive.ui/4.0.7/src/main/java/org/wso2/carbon/bam/cassandra/data/archive/ui/CassandraDataArchiveAdminClient.java:[30,19]
 cannot find symbol
 [ERROR] symbol  : class CassandraArchivalServiceStub
 [ERROR] location: class
 org.wso2.carbon.bam.cassandra.data.archive.ui.CassandraDataArchiveAdminClient
 [ERROR] - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the
 command
 [ERROR]   mvn goals -rf :org.wso2.carbon.bam.cassandra.data.archive.ui

 Thanks;



 --
 Lalaji Sureshika
 Software Engineer; Development Technologies Team;WSO2, Inc.;
 http://wso2.com/
 email: lal...@wso2.com; cell: +94 71 608 6811
 blog: http://lalajisureshika.blogspot.com





-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 APIManager-1.4.0 - RC3

2013-02-04 Thread Lalaji Sureshika
Hi,

Please find the $subject at [1].

[1] http://builder3.us1.wso2.org/builds/AM-1.4.0/RC3/

Thanks;

-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Why does new jaggery apps added to release API manager products

2013-01-28 Thread Lalaji Sureshika
Hi Janaka,

In apimgt 1.0.0 product version,the svn extern for jaggery-apps has set as
below.

api-store-web
https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/components/apimgt/api-store-web
api-publisher-web
https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/components/apimgt/api-publisher-web

Because of that all the branched app versions inside the folders of  both
apps are getting included when taking a svn up of apimgt 1.0.0. However
this is fixed with later AM product released versions..

Thanks;


On Mon, Jan 28, 2013 at 10:39 PM, Janaka Ranabahu jan...@wso2.com wrote:

 Hi Api Manager team,

 I see the following kind of logs when doing a svn update. Please correct
 these kinds of svn externals.

 Aproducts/apimgt/1.0.0/modules/jaggery-apps/api-publisher-web/1.0.5
 /src/modules/user
 A
  
 products/apimgt/1.0.0/modules/jaggery-apps/api-publisher-web/1.0.5/src/modules/user/module.jag
 A
  
 products/apimgt/1.0.0/modules/jaggery-apps/api-publisher-web/1.0.5/src/modules/user/login.jag
 A
  products/apimgt/1.0.0/modules/jaggery-apps/api-publisher-web/1.0.5/src/apis
 A
  
 products/apimgt/1.0.0/modules/jaggery-apps/api-publisher-web/1.0.5/src/jaggery.conf
 Aproducts/apimgt/1.0.0/modules/jaggery-apps/api-publisher-web/1.0.7
 Aproducts/apimgt/1.0.0/modules/jaggery-apps/api-publisher-web/1.0.7/src
 A
  products/apimgt/1.0.0/modules/jaggery-apps/api-publisher-web/1.0.7/src/tests
 A
  
 products/apimgt/1.0.0/modules/jaggery-apps/api-publisher-web/1.0.7/src/tests/run.jag
 A
  
 products/apimgt/1.0.0/modules/jaggery-apps/api-publisher-web/1.0.7/src/tests/core
 A
  
 products/apimgt/1.0.0/modules/jaggery-apps/api-publisher-web/1.0.7/src/tests/core/users
 A
  
 products/apimgt/1.0.0/modules/jaggery-apps/api-publisher-web/1.0.7/src/tests/core/users/login.js
 A
  
 products/apimgt/1.0.0/modules/jaggery-apps/api-publisher-web/1.0.7/src/tests/core/users/users.js
 A
  
 products/apimgt/1.0.0/modules/jaggery-apps/api-publisher-web/1.0.7/src/tests/core/subscriptions
 A
  
 products/apimgt/1.0.0/modules/jaggery-apps/api-publisher-web/1.0.7/src/tests/core/subscriptions/subscriptions.js
 A
  
 products/apimgt/1.0.0/modules/jaggery-apps/api-publisher-web/1.0.7/src/tests/core/docs
 A
  
 products/apimgt/1.0.0/modules/jaggery-apps/api-publisher-web/1.0.7/src/tests/core/docs/add.js
 A
  
 products/apimgt/1.0.0/modules/jaggery-apps/api-publisher-web/1.0.7/src/tests/core/docs/list.js
 A
  
 products/apimgt/1.0.0/modules/jaggery-apps/api-publisher-web/1.0.7/src/tests/core/docs/remove.js
 A
  
 products/apimgt/1.0.0/modules/jaggery-apps/api-publisher-web/1.0.7/src/tests/core/apis
 A
  
 products/apimgt/1.0.0/modules/jaggery-apps/api-publisher-web/1.0.7/src/tests/core/apis/add.js
 A
  
 products/apimgt/1.0.0/modules/jaggery-apps/api-publisher-web/1.0.7/src/tests/core/apis/copy.js
 A
  
 products/apimgt/1.0.0/modules/jaggery-apps/api-publisher-web/1.0.7/src/tests/core/apis/list.js
  A
  
 products/apimgt/1.0.0/modules/jaggery-apps/api-publisher-web/1.0.7/src/tests/core/apis/update.js
 A
  
 products/apimgt/1.0.0/modules/jaggery-apps/api-publisher-web/1.0.7/src/tests/tests.json
 A
  
 products/apimgt/1.0.0/modules/jaggery-apps/api-publisher-web/1.0.7/src/tests/utils.js
 A
  products/apimgt/1.0.0/modules/jaggery-apps/api-publisher-web/1.0.7/src/site

 Thanks,
 Janaka

 --
 Janaka Ranabahu
 Senior Software Engineer
 WSO2 Inc.

 Mobile +94 718370861
 Email : jan...@wso2.com
 Blog : janakaranabahu.blogspot.com




-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Add SSO[Single Sign On] Hostobject as a jaggery module

2013-01-21 Thread Lalaji Sureshika
Hi,

Currently the implementation for the SSO HostObject resides on [1],as
keeping it as a hostobject specific to Carbon. But when went through its
code,there's no code block found in it which is specific to Carbon.
And this  would be an useful feature to jaggery apps as it provides SSO
capability to jaggery-apps with help of an Identity Service Provider
[either WSO2 IS or other external provider]..
According to the Jaggery team,this host-object implementation has not yet
reviewed and that's why,it has not integrated to jaggery yet.Shall we have
a review on this and add this to Jaggery..? WDYT?

[1]
https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/components/hostobjects/org.wso2.carbon.hostobjects.sso

Thanks;

-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] An exception when publishing API manager events to BAM

2013-01-21 Thread Lalaji Sureshika
Hi,

On Mon, Jan 21, 2013 at 9:13 PM, Amila Suriarachchi am...@wso2.com wrote:

 Perhaps I may have done a wrong configuration.



 For this invocations I set the security as non and I did not subscribe to
 API manager since it is an unsecured service. Can that be the problem?


This will not be the problem for the issue as  'APIMgtUsageHandler' [The
handler used to publish data to BAM] extract data from the incoming request
to the gateway,without depending on the security scheme attached to the
particular API resource verb..
I tried same scenario with keeping the security level as none for a
particular API resource and without subscribe it to any app.I could able to
view stats from publisher side.[AM 1.3.0 and BAM 2.0.1]
This has to be a separate issue,may be BAM people can provide more insight
on this..

Thanks;



 [2013-01-21 22:00:37,849] ERROR
 {org.wso2.carbon.databridge.core.internal.queue.QueueWorker} -  Wrongly
 formatted event sent for carbon.super
 org.wso2.carbon.databridge.core.exception.EventConversionException: Error
 when converting
 org.wso2.apimgt.statistics.request-1.0.0-4e55f564-3f54-4983-85d4-72125485d39f
 of event bundle with events 1
 at
 org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.createEventList(ThriftEventConverter.java:117)
 at
 org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.toEventList(ThriftEventConverter.java:87)
 at
 org.wso2.carbon.databridge.core.internal.queue.QueueWorker.run(QueueWorker.java:58)
 at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 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)
 Caused by: java.lang.NullPointerException
 at
 org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.createEventList(ThriftEventConverter.java:110)

 thanks,
 Amila.

 --
 *Amila Suriarachchi*

 Software Architect
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 71 3082805

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




-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [API Manager] Removing OAuth authorization header from the message when authentication type is none

2013-01-19 Thread Lalaji Sureshika
Hi,

On Sat, Jan 19, 2013 at 12:48 PM, Amila Suriarachchi am...@wso2.com wrote:



 On Fri, Jan 18, 2013 at 12:44 AM, Lalaji Sureshika lal...@wso2.comwrote:

 Hi Sanjeewa,

 On Thu, Jan 17, 2013 at 10:29 PM, Sanjeewa Malalgoda 
 sanje...@wso2.comwrote:

 Hi All.
 At the moment we are removing authorization headers from API request
 when it passes to actual back end (at gateway authorization handler). But
 for some use cases we need to just pass through gateway and allow
 actual back end to do authorization. In that case we can define that
 resource token type as none (no application or application user). Then
 gateway will skip authorization process but still it removes authorization
 headers if available. But ideally it shouldn't remove them as there is no
 actual authorization happens. Shall we go ahead and avoid removing security
 headers? WDYT?


 With above your suggested way,it'll handle  1) invoking a secured OAuth
 back-end endpoint when no auth scheme required at API level.But it'll not
 handle 2)invoking a secured OAuth back-end endpoint when an auth scheme
 required at API level...


 Is this a practical case? First question is who has issued this OAuth
 token. If API Manager has issued it then authorisation should happen at the
 API Manager level. If back end service has issued it it should be at the
 back end. Since this token is dependant of the issuer I feel practically we
 won't come to this situation.


  I meant from the above 2nd use case is say a user trying to create an API
from WSO2 APIM for a back-end endpoint for eg: facebook/twitter endpoints
[1]  while keeping OAuth tokens required to authenticate in both APIM
gateway level and backend server level...

[1]
http://stackoverflow.com/questions/12485734/adding-a-api-to-wso2-api-manager-that-has-oauth-credentials

Thanks;




 My question is if we are going to implement the above usecase,don't we
 need to consider 2nd my mentioned option as well and find a common solution
 for both flows..

 And additionally,if we avoid removing security headers for an API request
 with no auth scheme required at gateway level,even the back-end endpoint
 secured or not,it'll pass the authorization header to backend..Is it ok to
 do so?


 I think so. In this case Client sends an OAuth token. So either at API
 Manager or Back end some authorisation should happen.

 For me, if API manager does the authorisation, it can drop the header
 since the token is intendant for  API Manager. If not it has to forward
 that since back end requires that. If we put an attribute to configure it
 may either drop or forward and hence may not be able to properly handle the
 situation where people use both secured and non secured APIs at API Manager.

 thanks,
 Amila.



 Thanks;



 Thanks.
 --
 *Sanjeewa Malalgoda*
 WSO2 Inc.
 Mobile : +14084122175 | +94713068779

  http://sanjeewamalalgoda.blogspot.com/blog
 :http://sanjeewamalalgoda.blogspot.com/http://sanjeewamalalgoda.blogspot.com/




 --
 Lalaji Sureshika
 Software Engineer; Development Technologies Team;WSO2, Inc.;
 http://wso2.com/
 email: lal...@wso2.com; cell: +94 71 608 6811
 blog: http://lalajisureshika.blogspot.com



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




 --
 *Amila Suriarachchi*

 Software Architect
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 71 3082805




-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [API Manager] Removing OAuth authorization header from the message when authentication type is none

2013-01-17 Thread Lalaji Sureshika
Hi Sanjeewa,

On Thu, Jan 17, 2013 at 10:29 PM, Sanjeewa Malalgoda sanje...@wso2.comwrote:

 Hi All.
 At the moment we are removing authorization headers from API request when
 it passes to actual back end (at gateway authorization handler). But for
 some use cases we need to just pass through gateway and allow actual back
 end to do authorization. In that case we can define that resource token
 type as none (no application or application user). Then gateway will skip
 authorization process but still it removes authorization headers if
 available. But ideally it shouldn't remove them as there is no
 actual authorization happens. Shall we go ahead and avoid removing security
 headers? WDYT?


With above your suggested way,it'll handle  1) invoking a secured OAuth
back-end endpoint when no auth scheme required at API level.But it'll not
handle 2)invoking a secured OAuth back-end endpoint when an auth scheme
required at API level...My question is if we are going to implement the
above usecase,don't we need to consider 2nd my mentioned option as well and
find a common solution for both flows..

And additionally,if we avoid removing security headers for an API request
with no auth scheme required at gateway level,even the back-end endpoint
secured or not,it'll pass the authorization header to backend..Is it ok to
do so?

Thanks;



 Thanks.
 --
 *Sanjeewa Malalgoda*
 WSO2 Inc.
 Mobile : +14084122175 | +94713068779

  http://sanjeewamalalgoda.blogspot.com/blog
 :http://sanjeewamalalgoda.blogspot.com/http://sanjeewamalalgoda.blogspot.com/




-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 API Manager 1.3.0 Released

2012-12-18 Thread Lalaji Sureshika
WSO2 API Manager 1.3.0 Released!

WSO2 API Manager team is pleased to announce the release of version 1.3.0
of the Open Source API Manager.

WSO2 API Manager is a platform for creating, managing, consuming and
monitoring APIs. It employs proven SOA best practices to solve a wide range
of API management challenges such as API provisioning, API governance, API
security and API monitoring. It combines some of the most powerful and
mature components of the WSO2's state-of-the-art Carbon platform to deliver
a smooth and end-to-end API management experience while catering to both
API publisher and API consumer requirements.

WSO2 API Manager is comprised of several modules.

   - *API Provider:* Define new APIs and manage them
   - *API Store:* Browse published APIs and subscribe to them
   - *API Gateway:* The underlying API runtime based on WSO2 ESB
   - *Key Manager* : Key Management services on top of WSO2 IS

 It is developed on top of the revolutionary WSO2 Carbon
platformhttp://wso2.org/projects/carbon(Middleware a' la carte), an
OSGi based framework that provides seamless
modularity to your SOA via componentization. This release also contains
many new features and a range of optional components (add-ons) that can be
installed to customize the behavior of the API Manager. Further, any
existing features of the product which are not required in your environment
can be easily removed using the underlying provisioning framework of
Carbon. In brief, WSO2 API Manager can be fully customized and tailored to
meet your exact API management needs.

For more information on WSO2 API Manager please visit
http://wso2.com/products/api-manager. Online
documentationhttp://docs.wso2.org/wiki/display/AM130/WSO2+API+Manager+Documentationis
also available.
How to Run

   1. Extract the downloaded zip
   2. Go to the bin directory in the extracted folder
   3. Run the wso2server.sh or wso2server.bat as appropriate
   4. Launch a web browser and navigate to
https://localhost:9443/publisherto access the API provider webapp
   5. Navigate to https://localhost:9443/store to access the API store
   6. Use admin, admin as the username and password to login as an
   admin (For demo only. Please refer user guide on how to create proper user
   accounts)

New Features of WSO2 API Manager 1.3.0

This release of API Manager comes with a horde of new features and bug
fixes.
 New Features

   - [APIMANAGER-774 https://wso2.org/jira/browse/APIMANAGER-774] -
   PostgreSQL as a back end
   - [APIMANAGER-814 https://wso2.org/jira/browse/APIMANAGER-814] - i18n
   Support
   - [APIMANAGER-839 https://wso2.org/jira/browse/APIMANAGER-839] -
   Implement specifying Authentication Scheme at resources level
   - [APIMANAGER-845 https://wso2.org/jira/browse/APIMANAGER-845] -
   Integration with Google Analytics as alternative to BAM for API Gateway
   - [APIMANAGER-849 https://wso2.org/jira/browse/APIMANAGER-849] - More
   graphs/widgets on error statistics
   - [APIMANAGER-851 https://wso2.org/jira/browse/APIMANAGER-851] -
   Built-in REST client in API Store
   - [APIMANAGER-852 https://wso2.org/jira/browse/APIMANAGER-852] -
   Access token revoke functionality
   - [APIMANAGER-853 https://wso2.org/jira/browse/APIMANAGER-853] -
   Improved Self registration Process
   - [APIMANAGER-862 https://wso2.org/jira/browse/APIMANAGER-862] -
   Support for connecting to secured back end services
   - [APIMANAGER-868 https://wso2.org/jira/browse/APIMANAGER-868] -
   Application Level throttling
   - [APIMANAGER-871 https://wso2.org/jira/browse/APIMANAGER-871] -
   Public / Private APIs
   - [APIMANAGER-911 https://wso2.org/jira/browse/APIMANAGER-911] -
   Access token storage partitioning with multiple user stores
   - [APIMANAGER-913 https://wso2.org/jira/browse/APIMANAGER-913] -
   Workflow extension support for API Store self sign up process
   - [APIMANAGER-914 https://wso2.org/jira/browse/APIMANAGER-914] -
   Sample Billing data generation
   - [APIMANAGER-915 https://wso2.org/jira/browse/APIMANAGER-915] -
   Improved search options for API search and Access Token search
   - [APIMANAGER-925 https://wso2.org/jira/browse/APIMANAGER-925] - New
   theme for API Store

 Improvements

   - [APIMANAGER-491 https://wso2.org/jira/browse/APIMANAGER-491] - Need
   an advanced search to locate a particular API, when there are loads of
   them, from store UI
   - [APIMANAGER-676 https://wso2.org/jira/browse/APIMANAGER-676] -
   Provide a UI to configure Tiers
   - [APIMANAGER-724 https://wso2.org/jira/browse/APIMANAGER-724] -
   Refresh token should not re-generate new tokens for tokens marked in-active
   - [APIMANAGER-744 https://wso2.org/jira/browse/APIMANAGER-744] - API
   search is case sensitive  support only exact searches
   - [APIMANAGER-747 https://wso2.org/jira/browse/APIMANAGER-747] -
   Include POST_TO_URI property by default to the API synapse configuration
   - [APIMANAGER-860 https://wso2.org/jira/browse/APIMANAGER-860] -
   Throttling Improvements
  

Re: [Dev] [API Manager] registry database table locking issue when creating an API

2012-12-13 Thread Lalaji Sureshika
Hi,

Able to fix this issue by replacing a service stub call happened during
createAPI method with a direct method call.. Thanks Janaka for the help..

Thanks;

On Thu, Dec 13, 2012 at 9:57 AM, Sanjeewa Malalgoda sanje...@wso2.comwrote:

 +1. I'm also getting same error with latest packs.

 Thanks.

 On Thu, Dec 13, 2012 at 10:46 AM, Lalaji Sureshika lal...@wso2.comwrote:

 Hi,

 Below registry table locking error thrown at each time of API creation
 from API Publisher app on latest pack. Note that this is happened with
 default h2.For mysql it's working..I enabled below entries in log
 file.Attached the carbon.log file as well.

 Appreciate any help on this.

 [2012-12-13 09:28:47,399] ERROR - JDBCResourceDAO Failed to get the
 resource at path
 /_system/governance/apimgt/applicationdata/provider/admin/api1/1.2.3/api.
 Timeout trying to lock table REG_RESOURCE; SQL statement:
 SELECT REG_MEDIA_TYPE, REG_CREATOR, REG_CREATED_TIME, REG_LAST_UPDATOR,
 REG_LAST_UPDATED_TIME, REG_VERSION, REG_DESCRIPTION, REG_CONTENT_ID,
 REG_UUID FROM REG_RESOURCE WHERE REG_PATH_ID=? AND REG_NAME = ? AND
 REG_TENANT_ID=? [50200-140]
 org.h2.jdbc.JdbcSQLException: Timeout trying to lock table
 REG_RESOURCE; SQL statement:
 SELECT REG_MEDIA_TYPE, REG_CREATOR, REG_CREATED_TIME, REG_LAST_UPDATOR,
 REG_LAST_UPDATED_TIME, REG_VERSION, REG_DESCRIPTION, REG_CONTENT_ID,
 REG_UUID FROM REG_RESOURCE WHERE REG_PATH_ID=? AND REG_NAME = ? AND
 REG_TENANT_ID=? [50200-140]
  at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
 at org.h2.message.DbException.get(DbException.java:167)
  at org.h2.message.DbException.get(DbException.java:144)
 at org.h2.table.RegularTable.doLock(RegularTable.java:466)
  at org.h2.table.RegularTable.lock(RegularTable.java:404)
 at org.h2.table.TableFilter.lock(TableFilter.java:139)
  at org.h2.command.dml.Select.queryWithoutCache(Select.java:554)
 at org.h2.command.dml.Query.query(Query.java:241)
  at org.h2.command.CommandContainer.query(CommandContainer.java:80)
 at org.h2.command.Command.executeQuery(Command.java:132)
  at
 org.h2.jdbc.JdbcPreparedStatement.executeQuery(JdbcPreparedStatement.java:96)
 at
 org.wso2.carbon.registry.core.jdbc.dataaccess.JDBCDatabaseTransaction$MonitoredPreparedStatement.executeQuery(JDBCDatabaseTransaction.java:485)
  at
 org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getResourceMetaData(JDBCResourceDAO.java:1145)
 at
 org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getResourceMetaData(JDBCResourceDAO.java:1098)
  at
 org.wso2.carbon.registry.core.jdbc.Repository.get(Repository.java:209)
 at
 org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher.handleGet(MediaTypeMatcher.java:130)
  at
 org.wso2.carbon.registry.core.jdbc.handlers.HandlerManager.get(HandlerManager.java:2439)
 at
 org.wso2.carbon.registry.core.jdbc.handlers.HandlerLifecycleManager.get(HandlerLifecycleManager.java:955)
  at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.get(EmbeddedRegistry.java:512)
 at
 org.wso2.carbon.registry.core.caching.CacheBackedRegistry.get(CacheBackedRegistry.java:166)
  at
 org.wso2.carbon.registry.core.session.UserRegistry.get(UserRegistry.java:525)
 at
 org.wso2.carbon.registry.resource.services.utils.AddRolePermissionUtil.addRolePermission(AddRolePermissionUtil.java:109)
  at
 org.wso2.carbon.registry.resource.services.ResourceService.addRolePermission(ResourceService.java:187)
 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.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
  at
 org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
 at
 org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
  at
 org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
  at
 org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
 at
 org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
  at
 org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:231)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 at
 org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
  at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 at
 org.wso2

  1   2   3   >