Re: [Dev] [Architecture] [DEV] [VOTE] Release WSO2 API Manager Tooling v3.1.0 RC4

2020-04-05 Thread Shani Ranasinghe
Tested the following:
- Add/ list environment
- create API
- Publish API to WSO2 API Manager.

No blockers found.
*[+] Stable - Go ahead and release*

On Mon, Apr 6, 2020 at 9:01 AM Rajith Roshan  wrote:

> Hi all,
> Tested the basic scenarios with microgateway.
>
> No blockers found
>
> *[+] Stable - Go ahead and release*
>
> On Sun, Apr 5, 2020 at 5:02 PM Chashika Weerathunga 
> wrote:
>
>> Hi all,
>>
>> Tested the following scenarios.
>>
>>- Followed the getting started guide.
>>- Tested apictl for the integration of Microgateway and APIM
>>   - Create Microgateway swaggers(with different versions) and
>>   import it to APIM using apictl and invoke it using JWT and Opaque 
>> tokens.
>>
>> No blockers found
>>
>> *[+] Stable - Go ahead and release*
>>
>> On Fri, Apr 3, 2020 at 2:16 PM Naduni Pamudika  wrote:
>>
>>> Hi All,
>>>
>>> WSO2 Api Manager team is pleased to announce the fourth release
>>> candidate of WSO2 API Manager Tooling 3.1.0 version.
>>>
>>> The WSO2 API Manager tooling provides the capability to import and
>>> export APIs and Applications across multiple environments seamlessly. Hence
>>> it provides greater flexibility to create CI/CD pipelines for APIs and
>>> applications.
>>>
>>> Apart from migrating APIs and applications, it supports Kubernetes API
>>> operator to deploy and manage APIs in the Kubernetes cluster by reducing
>>> additional overheads for the DevOps.
>>>
>>> Please find the improvements and fixes related to this release in Fixed
>>> Issues
>>> <https://github.com/wso2/product-apim-tooling/issues?q=is%3Aissue+is%3Aclosed+label%3A3.1.0>
>>> .
>>>
>>> Download the API Manager Tooling Distribution from here
>>> <https://github.com/wso2/product-apim-tooling/releases/tag/v3.1.0-rc4>.
>>>
>>> The tag to be voted upon is
>>> https://github.com/wso2/product-apim-tooling/releases/tag/v3.1.0-rc4
>>>
>>> Documentation:
>>> https://apim.docs.wso2.com/en/next/learn/api-controller/getting-started-with-wso2-api-controller/
>>>
>>> Please download, test the tool and vote.
>>>
>>>
>>> *[+] Stable - Go ahead and release*
>>>
>>> *[-] Broken - Do not release *(explain why)
>>>
>>>
>>>
>>> Best Regards,
>>> WSO2 API Manager Team
>>>
>>> --
>>> *Naduni Pamudika* | Senior Software Engineer | WSO2 Inc.
>>> (m) +94 (71) 9143658 | (w) +94 (11) 2145345 | (e) nad...@wso2.com
>>> [image: http://wso2.com/signature] <http://wso2.com/signature>
>>>
>>>
>>
>> --
>> *Chashika Weerathunga* | Software Engineer | WSO2 Inc.
>> (m) +94713731206 | Email: chash...@wso2.com
>> [image: http://wso2.com]
>> <http://wso2.com>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>
>
> --
> *Rajith Roshan* | Associate Technical Lead | WSO2 Inc.
> (m) +94-717-064-214 |  (e) raji...@wso2.com 
> blog: http://www.rajithr.com
>
> <https://wso2.com/signature>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>


-- 
Thanks and Regards
*,**Shani Ranasinghe* | Lead Technical Writer | WSO2 Inc <https://wso2.com/>
(M) +94 772 273 555 | (E) sh...@wso2.com

<http://wso2.com/signature>

<https://mail.google.com/http://wso2.com/signature>
:
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM] API Categories

2019-11-13 Thread Shani Ranasinghe
;>>>>>>> [  {*"in"*: *"body"*,*"name"*: *"body"*,
>>>>>>>> *"description"*: *"Category object that should to be added**\n**"*,
>>>>>>>> *"required"*: *true*,*"schema"*: {  *"$ref"*: 
>>>>>>>> *"#/definitions/Category"*}  }],*"tags"*: [  
>>>>>>>> *"Category"*],*"responses"*: {  *"201"*: {
>>>>>>>> *"description"*: *"Created.**\n**Successful response with the newly 
>>>>>>>> created object as entity in the body.**\n**"*,*"schema"*: {
>>>>>>>>   *"$ref"*: *"#/definitions/Category"*}  },  
>>>>>>>> *"400"*: {*"description"*: *"Bad Request.**\n**Invalid request 
>>>>>>>> or validation error**\n**"*,*"schema"*: {  *"$ref"*: 
>>>>>>>> *"#/definitions/Error"*}  }}  }}
>>>>>>>>
>>>>>>>> And category and categoryList would be defined as below.
>>>>>>>>
>>>>>>>> *"Category"*: {*"title"*: *"Category"*,*"required"*: [  
>>>>>>>> *"name"*],*"properties"*: {  *"id"*: {*"type"*: 
>>>>>>>> *"string"*,*"example"*: 
>>>>>>>> *"01234567-0123-0123-0123-012345678901"*  },  *"name"*: {  
>>>>>>>>   *"type"*: *"string"*,*"example"*: *"Finance"*  },  
>>>>>>>> *"description"*: {*"type"*: *"string"*,    *"example"*: 
>>>>>>>> *"Finance related APIs"*  }}  },  *"CategoryList"*: {
>>>>>>>> *"title"*: *"Category List"*,*"properties"*: {  *"count"*: {   
>>>>>>>>  *"type"*: *"integer"*,*"description"*: *"Number of 
>>>>>>>> categories returned.**\n**"*,*"example"*: 1  },  
>>>>>>>> *"list"*: {*"type"*: *"array"*,*"items"*: {  
>>>>>>>> *"$ref"*: *"#/definitions/Category"*}  }}  }}
>>>>>>>>
>>>>>>>> 2. Define a new AM_CATEGORIES table to hold category related
>>>>>>>> details.
>>>>>>>>
>>>>>>>> *CREATE TABLE *IF *NOT EXISTS *AM_CATEGORIES (  CATEGORY_ID 
>>>>>>>> *VARCHAR*(50),  NAME *VARCHAR*(255),  DESCRIPTION *VARCHAR*(1024),  
>>>>>>>> TENANT_DOMAIN *VARCHAR*(255),  *UNIQUE *(NAME,TENANT_DOMAIN),  
>>>>>>>> *PRIMARY KEY *(CATEGORY_ID));
>>>>>>>>
>>>>>>>> 3. Publisher UI overview tab(or a suitable place as it fits) will
>>>>>>>> have a new UI element to select categories for the API. And selecting
>>>>>>>> categories for an API would be optional.
>>>>>>>>
>>>>>>>> 4. API to category mapping will be stored in registry API artifact
>>>>>>>> and for that following table field would have to be added to api.rxt. 
>>>>>>>> (I
>>>>>>>> assume we are going to support associating a single API with multiple
>>>>>>>> categories)
>>>>>>>> 
>>>>>>>> 
>>>>>>>> Category Name
>>>>>>>> 
>>>>>>>> 
>>>>>>>> categoryName
>>>>>>>> 
>>>>>>>>  
>>>>>>>>
>>>>>>>> 5. And from store viewing POV, I assume API categories are a
>>>>>>>> substitution for existing tag-wise grouping feature and that both 
>>>>>>>> tag-wise
>>>>>>>> groups and categories won’t co-exist in the store. Please do correct 
>>>>>>>> if my
>>>>>>>> understanding is wrong.
>>>>>>>> Once a developer visits the store, he will be presented with the
>>>>>>>> list of API categories and upon selecting a category out of those,
>>>>>>>> associated APIs will be listed.
>>>>>>>> APIs that are not associated with any category will be listed under
>>>>>>>> other APIs or a similar heading.
>>>>>>>>
>>>>>>>> Please feel free to add your suggestions.
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Sachini
>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>> *Sachini De Silva*
>>>>>>>> Senior Software Engineer - WSO2
>>>>>>>>
>>>>>>>> Email : sachi...@wso2.com
>>>>>>>> Mobile : +94714765495
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Bhathiya Jayasekara* | Technical Lead | WSO2 Inc.
>>>>>>> (m) +94 71 547 8185  | (e) bhathiya-@t-wso2-d0t-com
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> *Sachini De Silva*
>>>>>> Senior Software Engineer - WSO2
>>>>>>
>>>>>> Email : sachi...@wso2.com
>>>>>> Mobile : +94714765495
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> *Nuwan Dias* | Director | WSO2 Inc.
>>>>> (m) +94 777 775 729 | (e) nuw...@wso2.com
>>>>> [image: Signature.jpg]
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *Sachini De Silva*
>>>> Senior Software Engineer - WSO2
>>>>
>>>> Email : sachi...@wso2.com
>>>> Mobile : +94714765495
>>>>
>>>>
>>>
>>> --
>>> *Sanjeewa Malalgoda*
>>> Software Architect | Associate Director, Engineering - WSO2 Inc.
>>> (m) +94 712933253 | (e) sanje...@wso2.com | (b) Blogger
>>> <http://sanjeewamalalgoda.blogspot.com>, Medium
>>> <https://medium.com/@sanjeewa190>
>>>
>>> GET INTEGRATION AGILE <https://wso2.com/signature>
>>> Integration Agility for Digitally Driven Business
>>>
>>
>>
>> --
>> *Bhathiya Jayasekara* | Technical Lead | WSO2 Inc.
>> (m) +94 71 547 8185  | (e) bhathiya-@t-wso2-d0t-com
>>
>>
>>
>
> --
> Malintha Amarasinghe
> *WSO2, Inc. - lean | enterprise | middleware*
> http://wso2.com/
>
> Mobile : +94 712383306
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 
Thanks and Regards
*,**Shani Ranasinghe* | Associate Lead - Technical Writer | WSO2 Inc
<https://wso2.com/>
(M) +94 772 273 555 | (E) sh...@wso2.com

<http://wso2.com/signature>

<https://mail.google.com/http://wso2.com/signature>
:
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM][C5] Splitting "Generate Keys" operation in Store REST API

2017-06-20 Thread Shani Ranasinghe
+1 would be easier to handle error scenarios, such as when step 1 succeeds
but step 2 fails etc.

On Tue, Jun 20, 2017 at 2:57 PM, Chamin Dias <cham...@wso2.com> wrote:

> Suggested method looks good. +1.
>
> On Tue, Jun 20, 2017 at 2:50 PM, Uvindra Dias Jayasinha <uvin...@wso2.com>
> wrote:
>
>> +1
>>
>> On 20 June 2017 at 14:47, Bhathiya Jayasekara <bhath...@wso2.com> wrote:
>>
>>> Hi all,
>>>
>>> In the current implementation of store REST API, we have a single
>>> operation (aka. Generate Keys) to create OAuth application and generate
>>> access tokens, which requires 2 calls to key manager. IMO, if we split this
>>> operation into 2, the code becomes cleaner. On the other hand, the current
>>> implementation makes the code of out of band client registation[1] a bit
>>> complex as we don't have a way to only generate access tokens after
>>> providing keys explicitly.
>>>
>>> so, to make the code cleaner, I'm suggesting to split this "Generate
>>> Keys" operation into 2 as,
>>>
>>> 1) Create OAuth application (i.e. generate consumer key/secret)
>>> 2) Generate access tokens.
>>>
>>> If we do this, in the case of out-of-band client provisioning we can
>>> simply replace step 1 with "Provide Keys" call.
>>>
>>> In UI, there will be 2 buttons as "Generate Keys/Provide Keys" which
>>> generates or allows to add consumer key/secret, and "Generate Access Token"
>>> which generates application access token.
>>>
>>> Please let me know if you have any concerns about this.
>>>
>>> [1] https://docs.wso2.com/display/AM210/Provisioning+Out-of-Band
>>> +OAuth+Clients
>>>
>>> Thanks,
>>> --
>>> *Bhathiya Jayasekara*
>>> *Associate Technical Lead,*
>>> *WSO2 inc., http://wso2.com <http://wso2.com>*
>>>
>>> *Phone: +94715478185 <+94%2071%20547%208185>*
>>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>>> <http://www.linkedin.com/in/bhathiyaj>*
>>> *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>*
>>> *Blog: http://movingaheadblog.blogspot.com
>>> <http://movingaheadblog.blogspot.com/>*
>>>
>>
>>
>>
>> --
>> Regards,
>> Uvindra
>>
>> Mobile: 33962
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Chamin Dias
> Mobile : 0716097455
> Email : cham...@wso2.com
> LinkedIn : https://www.linkedin.com/in/chamindias
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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

mobile: +94 77 2273555
Blog: http://waysandmeans.blogspot.com/
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Preventing API Developers from updating an API once its Published

2017-03-31 Thread Shani Ranasinghe
ch will make the API disappear temporarily and
>> bring it back to "PUBLISHED" once the changes are saved.
>>
>> Thanks,
>> NuwanD.
>>
>> --
>> Nuwan Dias
>>
>> Software Architect - WSO2, Inc. http://wso2.com
>> email : nuw...@wso2.com
>> Phone : +94 777 775 729 <+94%2077%20777%205729>
>>
>>
>>
>>
>> --
>> Rukshan Chathuranga.
>> Software Engineer.
>> WSO2, Inc.
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>>
>>
>> --
>> *Pubudu Gunatilaka*
>> Committer and PMC Member - Apache Stratos
>> Software Engineer
>> WSO2, Inc.: http://wso2.com
>> mobile : +94774078049 <%2B94772207163>
>>
>>
>>
>>
>> --
>> Nuwan Dias
>>
>> Software Architect - WSO2, Inc. http://wso2.com
>> email : nuw...@wso2.com
>> Phone : +94 777 775 729 <+94%2077%20777%205729>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>>
>>
>> --
>> Malintha Amarasinghe
>> Software Engineer
>> *WSO2, Inc. - lean | enterprise | middleware*
>> http://wso2.com/
>>
>> Mobile : +94 712383306 <+94%2071%20238%203306>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>>
>>
>> --
>> Nuwan Dias
>>
>> Software Architect - WSO2, Inc. http://wso2.com
>> email : nuw...@wso2.com
>> Phone : +94 777 775 729 <+94%2077%20777%205729>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>> --
>> Rajkumar Rajaratnam
>> Committer & PMC Member, Apache Stratos
>> Senior Software Engineer, WSO2
>>
>> LinkedIn: https://lk.linkedin.com/in/rajuu
>> Mobile: +1 408 791 7640 <(408)%20791-7640>
>> Blogs: http://wso2tech.blogspot.com/ | https://medium.com/@wso2tech
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>>
>>
>> --
>> Thanks & Regards,
>>
>> *Chamalee De Silva*
>> Software Engineer
>> *WS**O2* Inc. :http://wso2.com/
>>
>> Office   :- *+94 11 2145345 <%2B94%2011%202145345>*
>> mobile  :- *+94 7 <%2B94%2077%202782039>1 4315942*
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
> --
> *Prasanna Dangalla*
> Senior 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
>
>


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

mobile: +94 77 2273555
Blog: http://waysandmeans.blogspot.com/
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][APIM][C5] - Caching requirement for OAuth2 protected microservices

2017-03-13 Thread Shani Ranasinghe
s token sent in the authorization header of the
>>>>>>> request. In order to validate the token we need to do a introspection 
>>>>>>> call
>>>>>>> to the key manager.  We can not do this introspection call to the key
>>>>>>> manager for each and every request. We need a caching layer at the
>>>>>>> interceptor level in order to cache the access tokens.
>>>>>>>
>>>>>>> We are going to use local cache with small cache timeout periods for
>>>>>>> this. What are the best caching systems we can use for this.
>>>>>>> We can use either JCache (javax.cache), google guava cache[1] which
>>>>>>> are specially used as local caches. "Memcached" [2] is also another 
>>>>>>> option
>>>>>>> but mostly used in distributed systems.
>>>>>>>
>>>>>>> [1] - https://github.com/google/guava/wiki/CachesExplained
>>>>>>> [2] - https://memcached.org/
>>>>>>> --
>>>>>>> Rajith Roshan
>>>>>>> Software Engineer, WSO2 Inc.
>>>>>>> Mobile: +94-72-642-8350 <%2B94-71-554-8430>
>>>>>>>
>>>>>>> ___
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Maduranga Siriwardena
>>>>>> Software Engineer
>>>>>> WSO2 Inc; http://wso2.com/
>>>>>>
>>>>>> Email: madura...@wso2.com
>>>>>> Mobile: +94718990591 <+94%2071%20899%200591>
>>>>>> Blog: http://madurangasblogs.blogspot.com/
>>>>>> <http://wso2.com/signature>
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Uvindra
>>>>>
>>>>> Mobile: 33962
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Sagara Gunathunga
>>>>
>>>> Associate Director / Architect; WSO2, Inc.;  http://wso2.com
>>>> V.P Apache Web Services;http://ws.apache.org/
>>>> Linkedin; http://www.linkedin.com/in/ssagara
>>>> Blog ;  http://ssagara.blogspot.com
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Uvindra
>>>
>>> Mobile: 33962
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Rajith Roshan
> Software Engineer, WSO2 Inc.
> Mobile: +94-72-642-8350 <%2B94-71-554-8430>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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

mobile: +94 77 2273555
Blog: http://waysandmeans.blogspot.com/
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] How to get a query parameter in a REst request?

2017-02-16 Thread Shani Ranasinghe
Hi Ishara,

I was able to get it  working as follows.


http://ws.apache.org/ns/synapse; name="admin--WB:v1--In">
   
  
 
   


On Thu, Feb 16, 2017 at 5:42 PM, Abimaran Kugathasan <abima...@wso2.com>
wrote:

> Hi Ishara,
>
> Have you tried using get-property('query.param.clientId')?
>
> You need to define Endpoint like
>
> https://localhost:9444//wb/1/countries/us?clientId={query.param.clientId}
>
> On Thu, Feb 16, 2017 at 5:19 PM, Ishara Cooray <isha...@wso2.com> wrote:
>
>> In APIM 2.1.0 i am trying to read a request query parameter .
>>
>> i have this request "GET /wb/1/countries/us?clientId=isharac
>>
>> in an In sequence i read query parameter as below.
>> 
>>
>> But when i log it 'cid' is null
>> am i doing anything wrong here?
>> how can i read the query param in a seq?
>>
>> This is the sequence i used.
>>
>> 
>> http://ws.apache.org/ns/synapse;
>> name="admin--WB:v1--In">
>>
>>   
>>  
>>
>> 
>>
>>
>> I also tried, get-property('$uri:clientId') and get-property('$url') and
>> they are also null.
>>
>> When i debug, i couldn't find these properties in message context.
>>
>> Alternatively,
>> following property is there in the message context. So what is the best
>> way to get clientId from this property? If so is it a good approach?
>>
>> REST_FULL_REQUEST_PATH=/ta/1/menu?clientId=isharaccc
>>
>>
>> Thanks & Regards,
>> Ishara Cooray
>> Senior Software Engineer
>> Mobile : +9477 262 9512 <+94%2077%20262%209512>
>> WSO2, Inc. | http://wso2.com/
>> Lean . Enterprise . Middleware
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thanks
> Abimaran Kugathasan
> Senior Software Engineer - API Technologies
>
> Email : abima...@wso2.com
> Mobile : +94 773922820 <+94%2077%20392%202820>
>
> <http://stackoverflow.com/users/515034>
> <http://lk.linkedin.com/in/abimaran>
> <http://www.lkabimaran.blogspot.com/>  <https://github.com/abimarank>
> <https://twitter.com/abimaran>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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

mobile: +94 77 2273555
Blog: http://waysandmeans.blogspot.com/
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 API Manager 2.1.0 RC5

2017-02-03 Thread Shani Ranasinghe
Tested the following
 - Throttling
- Workflows
- Oauth scopes

[+] Stable - go ahead and release

On Fri, Feb 3, 2017 at 4:31 PM, Anuruddha Liyanarachchi <anurudd...@wso2.com
> wrote:

> Hi,
>
> Tested following:
>
> 1. Websocket API create, publish and invocation.
> 2. SOAP endpoint API create, publish and invocation.
>
> [+] Stable - go ahead and release
>
> --
> *Thanks and Regards,*
> Anuruddha Lanka Liyanarachchi
> Software Engineer - WSO2
> Mobile : +94 (0) 712762611
> Tel  : +94 112 145 345
> a <thili...@wso2.com>nurudd...@wso2.com
>
> On Thu, Feb 2, 2017 at 11:32 PM, Malintha Amarasinghe <malint...@wso2.com>
> wrote:
>
>> Hi All,
>>
>> This is the 5th Release Candidate of WSO2 API Manager 2.1.0
>>
>> Please download, test the product and vote. The vote will be open for 72
>> hours or as needed.
>>
>> Source and distribution
>>
>> Run-time : https://github.com/wso2/product-apim/releases/download/v2.
>> 1.0-rc5/wso2am-2.1.0-RC5.zip
>> Analytics : https://github.com/wso2/anal
>> ytics-apim/releases/download/v2.1.0-rc3/wso2am-analytics-2.1.0-RC3.zip
>> Tooling : https://github.com/wso2/devstudio-tooling-apim/releases/ta
>> g/v2.1.0-rc2
>>
>>
>> This release fixes the following issues:
>> Runtime : https://wso2.org/jira/issues/?filter=13623
>> Analytics : https://wso2.org/jira/issues/?filter=13624
>> Tooling : https://wso2.org/jira/browse/DEVTOOLAPI-1
>>
>>
>> Please vote as follows.
>> [+] Stable - go ahead and release
>> [-] Broken - do not release (explain why)
>>
>> Thanks,
>> - WSO2 API Manager Team -
>>
>> --
>> Malintha Amarasinghe
>> Software Engineer
>> *WSO2, Inc. - lean | enterprise | middleware*
>> http://wso2.com/
>>
>> Mobile : +94 712383306 <+94%2071%20238%203306>
>>
>
>
>
> --
> *Thanks and Regards,*
> Anuruddha Lanka Liyanarachchi
> Software Engineer - WSO2
> Mobile : +94 (0) 712762611
> Tel  : +94 112 145 345
> a <thili...@wso2.com>nurudd...@wso2.com
>
> _______
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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

mobile: +94 77 2273555
Blog: http://waysandmeans.blogspot.com/
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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

2017-01-31 Thread Shani Ranasinghe
On Tue, Jan 31, 2017 at 3:40 PM, Shani Ranasinghe <sh...@wso2.com> wrote:

> Tested Following for tenant and super tenant
>
> - Throttling
> - Workflows
>

Also Tested
 - Secured Endpoints

>
> [+] Stable - Go ahead and release
>
> On Tue, Jan 31, 2017 at 3:37 PM, Malintha Amarasinghe <malint...@wso2.com>
> wrote:
>
>> Tested Following.
>>
>> 1. SSO:
>>
>>- IDP Init SSO (Store/Publisher/Admin)
>>- Assertion Encryption (Store/Publisher/Admin)
>>- SAML Request Signing (Store/Publisher)
>>
>> 2. Reverse Proxy
>> 3. CXF REST APIs (Store/Publisher/Admin)
>> 4. Store REST API ETag Feature
>> 5. Store Custom URL Feature
>>
>> [+] Stable - Go ahead and release.
>>
>> Thanks!
>> Malintha
>>
>>
>> On Tue, Jan 31, 2017 at 2:22 PM, Roshan Wijesena <ros...@wso2.com> wrote:
>>
>>> Tested following,
>>>
>>> 1. SSO with IS 5.3.0
>>> 2. Assertion encryption enabled SP with API store, publisher, admin.
>>> 3. API invocation.
>>> 4. API docs save in local storage while editing.
>>>
>>> [+] Stable - Go ahead and release.
>>>
>>> Thanks.
>>>
>>>
>>> On Tue, Jan 31, 2017 at 2:09 PM, Samitha Chathuranga <sami...@wso2.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I tested following in a fully distributed deployment, with shared
>>>> registry configurations.
>>>>
>>>> 1. Starting & working with profiles
>>>> 2. Basic API life cycle
>>>> 3. Throttling
>>>> 4. Basic analytics functions
>>>>
>>>> [+] Stable - go ahead and release
>>>>
>>>> Regards,
>>>> Samitha
>>>>
>>>> On Tue, Jan 31, 2017 at 12:51 PM, Chamila Adhikarinayake <
>>>> chami...@wso2.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Tested Workflows for API state change feature.
>>>>>
>>>>> [+] Stable - go ahead and release
>>>>>
>>>>> Chamila
>>>>>
>>>>> On Tue, Jan 31, 2017 at 12:31 PM, Rajith Roshan <raji...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Tested API manager with third party key manager.
>>>>>>
>>>>>> [+] Stable - go ahead and release
>>>>>>
>>>>>>
>>>>>> Thanks!
>>>>>> Rajith
>>>>>>
>>>>>> On Tue, Jan 31, 2017 at 12:23 PM, Anuruddha Liyanarachchi <
>>>>>> anurudd...@wso2.com> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> Tested following:
>>>>>>>
>>>>>>> 1. Websocket API create, publish and invocation.
>>>>>>> 2. SOAP endpoint API create, publish and invocation.
>>>>>>>
>>>>>>> [+] Stable - go ahead and release
>>>>>>>
>>>>>>> On Mon, Jan 30, 2017 at 10:28 PM, Malintha Amarasinghe <
>>>>>>> malint...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi All,
>>>>>>>>
>>>>>>>> This is the 4th Release Candidate of WSO2 API Manager 2.1.0
>>>>>>>>
>>>>>>>> Please download, test the product and vote. The vote will be open
>>>>>>>> for 72 hours or as needed.
>>>>>>>>
>>>>>>>> Source and distribution
>>>>>>>>
>>>>>>>> Run-time : https://github.com/wso2/prod
>>>>>>>> uct-apim/releases/download/v2.1.0-rc4/wso2am-2.1.0-RC4.zip
>>>>>>>> Analytics : https://github.com/wso2/anal
>>>>>>>> ytics-apim/releases/download/v2.1.0-rc3/wso2am-analytics-2.1
>>>>>>>> .0-RC3.zip
>>>>>>>> Tooling : https://github.com/wso2/devs
>>>>>>>> tudio-tooling-apim/releases/tag/v2.1.0-rc2
>>>>>>>>
>>>>>>>>
>>>>>>>> This release fixes the following issues:
>>>>>>>> Runtime : https://wso2.org/jira/issues/?filter=13623
>>>>>>>> Analytics : https://wso2.org/jira/issues/?filter=13624
>>>>&

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

2017-01-31 Thread Shani Ranasinghe
>>>>>>> *WSO2, Inc. - lean | enterprise | middleware*
>>>>>>> http://wso2.com/
>>>>>>>
>>>>>>> Mobile : +94 712383306 <+94%2071%20238%203306>
>>>>>>>
>>>>>>> ___
>>>>>>> Architecture mailing list
>>>>>>> architect...@wso2.org
>>>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Thanks and Regards,*
>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>> Software Engineer - WSO2
>>>>>> Mobile : +94 (0) 712762611
>>>>>> Tel  : +94 112 145 345
>>>>>> a <thili...@wso2.com>nurudd...@wso2.com
>>>>>>
>>>>>> ___
>>>>>> Architecture mailing list
>>>>>> architect...@wso2.org
>>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Rajith Roshan
>>>>> Software Engineer, WSO2 Inc.
>>>>> Mobile: +94-72-642-8350 <%2B94-71-554-8430>
>>>>>
>>>>> ___
>>>>> Architecture mailing list
>>>>> architect...@wso2.org
>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> Chamila Adhikarinayake
>>>> Senior Software Engineer
>>>> WSO2, Inc.
>>>> Mobile - +94712346437 <+94%2071%20234%206437>
>>>> Email  - chami...@wso2.com
>>>> Blog  -  http://helpfromadhi.blogspot.com/
>>>>
>>>> ___
>>>> Architecture mailing list
>>>> architect...@wso2.org
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>
>>>>
>>>
>>>
>>> --
>>> Samitha Chathuranga
>>> Software Engineer, WSO2 Inc.
>>> lean.enterprise.middleware
>>> Mobile: +94715123761
>>>
>>> [image: http://wso2.com/signature] <http://wso2.com/signature>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Roshan Wijesena.
>> Senior Software Engineer-WSO2 Inc.
>> Mobile: *+94719154640 <+94%2071%20915%204640>*
>> Email: ros...@wso2.com
>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>> lean.enterprise.middleware.
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Malintha Amarasinghe
> Software Engineer
> *WSO2, Inc. - lean | enterprise | middleware*
> http://wso2.com/
>
> Mobile : +94 712383306 <+94%2071%20238%203306>
>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


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

mobile: +94 77 2273555
Blog: http://waysandmeans.blogspot.com/
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] Username Recovery Feature in IS 6.0.0

2017-01-23 Thread Shani Ranasinghe
gt;>>
>>>>>
>>>>>
>>>>>
>>>>> ___
>>>>> Architecture mailing list
>>>>> architect...@wso2.org
>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>>
>>>>>
>>>>
>>>> ___
>>>> Architecture mailing list
>>>> architect...@wso2.org
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>
>>>>
>>>
>>> Thanks,
>>> --
>>> Pushpalanka.
>>> --
>>> Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
>>> Senior Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
>>> Mobile: +94779716248
>>> Blog: pushpalankajaya.blogspot.com/ | LinkedIn: lk.linkedin.com/in/p
>>> ushpalanka/ | Twitter: @pushpalanka
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Pubudu Gunatilaka*
>> Committer and PMC Member - Apache Stratos
>> Software Engineer
>> WSO2, Inc.: http://wso2.com
>> mobile : +94774078049 <%2B94772207163>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Thanks and Best Regards,*
> Imesh Ashandimal Chandrasiri
> *Software Engineer*
> WSO2, Inc.
> lean . enterprise . middleware
> *E:* ime...@wso2.com | *P:* 0716519187
>
>
> 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
>
>


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

mobile: +94 77 2273555
Blog: http://waysandmeans.blogspot.com/
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS][Docs] Facebook connector in connector store

2016-03-10 Thread Shani Ranasinghe
Hi All,

I spoke to IS team offline, and came to know that in future we do have
plans to add the IS authenticator to the WSO2 store.

On Thu, Mar 10, 2016 at 8:53 PM, Shani Ranasinghe <sh...@wso2.com> wrote:

> Hi Rajjaz,
>
> Yes it is available in github, but how would one know  if it is released?
> don't we have plans in hosting the released version in a location so users
> can download?
>
> On Thu, Mar 10, 2016 at 7:12 PM, Rajjaz Mohammed <raj...@wso2.com> wrote:
>
>> Hi Shani,
>> It's already available with IS or you can get the code from[1] and
>> details[2].
>>
>> [1]
>> https://svn.wso2.org/repos/wso2/people/isura/org.wso2.carbon.identity.application.authenticator.social/
>> [2]
>> https://docs.wso2.com/display/IS510/Writing+a+Custom+Federated+Authenticator
>>
>> On Thu, Mar 10, 2016 at 6:39 PM, Shani Ranasinghe <sh...@wso2.com> wrote:
>>
>>> Sorry I messed up the wording. What I actually meant was the facebook
>>> authentication extension. Would we add these to the connector store as
>>> well? If not from where can we download the latest released version of it?
>>>
>>> On Thu, Mar 10, 2016 at 6:31 PM, Shani Ranasinghe <sh...@wso2.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> Would we be adding the facebook connector to the connector store? [1].
>>>>
>>>> [1] https://store.wso2.com/store/assets/isconnector
>>>>
>>>> --
>>>> Thanks and Regards
>>>> *,Shani Ranasinghe*
>>>> Senior Software Engineer
>>>> WSO2 Inc.; http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> mobile: +94 77 2273555
>>>> Blog: http://waysandmeans.blogspot.com/
>>>> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
>>>>
>>>
>>>
>>>
>>> --
>>> Thanks and Regards
>>> *,Shani Ranasinghe*
>>> Senior Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: +94 77 2273555
>>> Blog: http://waysandmeans.blogspot.com/
>>> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
>>>
>>> _______
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thank you
>> Best Regards
>>
>> *Rajjaz HM*
>> Associate Software Engineer
>> Platform Extension Team
>> WSO2 Inc. <http://wso2.com/>
>> lean | enterprise | middleware
>> Mobile | +94752833834|+94777226874
>> Email   | raj...@wso2.com
>> LinkedIn | Blogger | WSO2 Profile
>> <http://wso2.com/about/team/mohammer_rajjaz/>
>>
>
>
>
> --
> Thanks and Regards
> *,Shani Ranasinghe*
> Senior Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 77 2273555
> Blog: http://waysandmeans.blogspot.com/
> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
>



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

mobile: +94 77 2273555
Blog: http://waysandmeans.blogspot.com/
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS][Docs] Facebook connector in connector store

2016-03-10 Thread Shani Ranasinghe
Hi Rajjaz,

Yes it is available in github, but how would one know  if it is released?
don't we have plans in hosting the released version in a location so users
can download?

On Thu, Mar 10, 2016 at 7:12 PM, Rajjaz Mohammed <raj...@wso2.com> wrote:

> Hi Shani,
> It's already available with IS or you can get the code from[1] and
> details[2].
>
> [1]
> https://svn.wso2.org/repos/wso2/people/isura/org.wso2.carbon.identity.application.authenticator.social/
> [2]
> https://docs.wso2.com/display/IS510/Writing+a+Custom+Federated+Authenticator
>
> On Thu, Mar 10, 2016 at 6:39 PM, Shani Ranasinghe <sh...@wso2.com> wrote:
>
>> Sorry I messed up the wording. What I actually meant was the facebook
>> authentication extension. Would we add these to the connector store as
>> well? If not from where can we download the latest released version of it?
>>
>> On Thu, Mar 10, 2016 at 6:31 PM, Shani Ranasinghe <sh...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> Would we be adding the facebook connector to the connector store? [1].
>>>
>>> [1] https://store.wso2.com/store/assets/isconnector
>>>
>>> --
>>> Thanks and Regards
>>> *,Shani Ranasinghe*
>>> Senior Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: +94 77 2273555
>>> Blog: http://waysandmeans.blogspot.com/
>>> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
>>>
>>
>>
>>
>> --
>> Thanks and Regards
>> *,Shani Ranasinghe*
>> Senior Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: +94 77 2273555
>> Blog: http://waysandmeans.blogspot.com/
>> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thank you
> Best Regards
>
> *Rajjaz HM*
> Associate Software Engineer
> Platform Extension Team
> WSO2 Inc. <http://wso2.com/>
> lean | enterprise | middleware
> Mobile | +94752833834|+94777226874
> Email   | raj...@wso2.com
> LinkedIn | Blogger | WSO2 Profile
> <http://wso2.com/about/team/mohammer_rajjaz/>
>



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

mobile: +94 77 2273555
Blog: http://waysandmeans.blogspot.com/
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS][Docs] Facebook connector in connector store

2016-03-10 Thread Shani Ranasinghe
Sorry I messed up the wording. What I actually meant was the facebook
authentication extension. Would we add these to the connector store as
well? If not from where can we download the latest released version of it?

On Thu, Mar 10, 2016 at 6:31 PM, Shani Ranasinghe <sh...@wso2.com> wrote:

> Hi,
>
> Would we be adding the facebook connector to the connector store? [1].
>
> [1] https://store.wso2.com/store/assets/isconnector
>
> --
> Thanks and Regards
> *,Shani Ranasinghe*
> Senior Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 77 2273555
> Blog: http://waysandmeans.blogspot.com/
> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
>



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

mobile: +94 77 2273555
Blog: http://waysandmeans.blogspot.com/
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IS][Docs] Facebook connector in connector store

2016-03-10 Thread Shani Ranasinghe
Hi,

Would we be adding the facebook connector to the connector store? [1].

[1] https://store.wso2.com/store/assets/isconnector

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

mobile: +94 77 2273555
Blog: http://waysandmeans.blogspot.com/
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 API Manager 1.10.0 RC4

2016-01-06 Thread Shani Ranasinghe
Tested HTTP redirect in super tenant & tenant mode. No issues found,
Tested sample API. No issues found.

[x]  Stable - go ahead and release

On Wed, Jan 6, 2016 at 9:50 PM, Harsha Kumara <hars...@wso2.com> wrote:

> Tested the prototype APIs in Tenant and Super Tenant. No issue found.
>
> [x]  Stable - go ahead and release
>
> Thanks
> Harsha
>
> On Wed, Jan 6, 2016 at 9:28 PM, Tharindu Dharmarathna <tharin...@wso2.com>
> wrote:
>
>> Tested the IS as a Keymanager and SSO . No issue found.
>>
>> [x]  Stable - go ahead and release
>>
>> Thanks
>> Tharindu
>>
>>
>> On Wed, Jan 6, 2016 at 9:22 PM, Bhathiya Jayasekara <bhath...@wso2.com>
>> wrote:
>>
>>> Smoke tested. No issues found.
>>>
>>> [x]  Stable - go ahead and release
>>>
>>> Thanks,
>>> Bhathiya
>>>
>>> On Wed, Jan 6, 2016 at 6:28 PM, Chamila Adhikarinayake <
>>> chami...@wso2.com> wrote:
>>>
>>>> Hi Devs,
>>>>
>>>> This is the fourth release candidate of WSO2 API Manager 1.10.0.
>>>>
>>>> This release fixes the following issues:
>>>> https://wso2.org/jira/issues/?filter=12597
>>>>
>>>> Please download, test and vote.
>>>>
>>>> Binary distribution files:
>>>> http://svn.wso2.org/repos/wso2/people/chamilaa/apim-1.10.0-rc4/
>>>>
>>>> The tag to be voted upon:
>>>> https://github.com/wso2/product-apim/tree/v1.10.0-rc4
>>>>
>>>>
>>>> [ ]  Stable - go ahead and release
>>>> [ ]  Broken - do not release (explain why)
>>>>
>>>> Thanks and Regards,
>>>> WSO2 API Manager Team
>>>>
>>>> --
>>>> Regards,
>>>> Chamila Adhikarinayake
>>>> Software Engineer
>>>> WSO2, Inc.
>>>> Mobile - +94712346437
>>>> Email  - chami...@wso2.com
>>>> Blog  -  http://helpfromadhi.blogspot.com/
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Bhathiya Jayasekara*
>>> *Senior Software Engineer,*
>>> *WSO2 inc., http://wso2.com <http://wso2.com>*
>>>
>>> *Phone: +94715478185 <%2B94715478185>*
>>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>>> <http://www.linkedin.com/in/bhathiyaj>*
>>> *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>*
>>> *Blog: http://movingaheadblog.blogspot.com
>>> <http://movingaheadblog.blogspot.com/>*
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> *Tharindu Dharmarathna*Associate Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94779109091 <%2B94779109091>*
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Harsha Kumara
> Software Engineer, WSO2 Inc.
> Mobile: +94775505618
> Blog:harshcreationz.blogspot.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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

mobile: +94 77 2273555
Blog: http://waysandmeans.blogspot.com/
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 API Manager 1.10.0 RC3

2016-01-05 Thread Shani Ranasinghe
Tested HTTP redirection workflow in super tenant and tenant mode & sample
API.

[X] Stable - go ahead and release.

On Tue, Jan 5, 2016 at 6:53 PM, Lakmali Baminiwatta <lakm...@wso2.com>
wrote:

> Tested followings
>
>- SSO in Super Tenant and Tenant mode
>- Documentation Indexing and Search
>- API Tags with API visibility
>
> [X] Stable - go ahead and release.
>
> Thanks,
> Lakmali
>
> On 5 January 2016 at 17:46, Tharindu Dharmarathna <tharin...@wso2.com>
> wrote:
>
>> Hi,
>>
>> IS As A key manager Tested in Tenant and super tenant mode success.
>>
>> [x]  Stable - go ahead and release
>>
>> Thanks
>> Tharindu
>>
>>
>>
>> On Tue, Jan 5, 2016 at 8:32 AM, Nuwan Dias <nuw...@wso2.com> wrote:
>>
>>> These scripts are no longer maintained within the release pack. The
>>> migration scripts, clients, etc are hosted on the documentation page which
>>> explains the steps for migration as well.
>>>
>>> Thanks,
>>> NuwanD.
>>>
>>> On Tue, Jan 5, 2016 at 3:51 AM, Vanjikumaran Sivajothy <va...@wso2.com>
>>> wrote:
>>>
>>>> I do not see the migration scripts for 1.9.X -> 1.10;
>>>> Does it mean that there is no schema change?
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Nuwan Dias
>>>
>>> Technical Lead - WSO2, Inc. http://wso2.com
>>> email : nuw...@wso2.com
>>> Phone : +94 777 775 729
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> *Tharindu Dharmarathna*Associate Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94779109091 <%2B94779109091>*
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Lakmali Baminiwatta
> Senior Software Engineer
> WSO2, Inc.: http://wso2.com
> lean.enterprise.middleware
> mobile:  +94 71 2335936
> blog : lakmali.com
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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

mobile: +94 77 2273555
Blog: http://waysandmeans.blogspot.com/
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] createApplication does not add values in to the DB for non-mandatory fields

2015-12-06 Thread Shani Ranasinghe
Hi Thanuja,

If that is the case, the I should be getting the application Id in the
service provider once the application is created right?  Even though the
DAOImpl method returns the ID, from the ApplicationManagementServiceImpl's
createApplication method, it doesn't seem to update the field nor return
the application Id. Hence when calling the updateApplication method it
results in a failure. Are we doing something wrong here?



On Mon, Dec 7, 2015 at 4:30 AM, Thanuja Jayasinghe <than...@wso2.com> wrote:

> Hi Shani,
>
> Yes. First you need to call createApplication to register the service
> provider with a unique name. After that, call updateApplication method with
> required service provider configurations(like IS_SAAS_APP). We follow the
> same way in the management console also.
>
> Thanks,
> Thanuja
>
> On Sun, Dec 6, 2015 at 12:45 PM, Shani Ranasinghe <sh...@wso2.com> wrote:
>
>>
>> Hi IS Team,
>>
>> In the createApplication method in the
>> org.wso2.carbon.identity.application.mgt.dao.impl.ApplicationDAOImpl , does
>> not seem to add values to the non-mandatory fields in the DB.for e.g. the
>> IS_SAAS_APP field.
>>
>> Is this supposed to be this way? I noticed that we could call the
>> updateApplication method which would update the rest of the fields. But did
>> not see it being done at creation time.
>>
>> --
>> Thanks and Regards
>> *,Shani Ranasinghe*
>> Senior Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: +94 77 2273555
>> Blog: http://waysandmeans.blogspot.com/
>> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Thanuja Lakmal*
> Senior Software Engineer
> WSO2 Inc. http://wso2.com/
> *lean.enterprise.middleware*
> Mobile: +94715979891 +94758009992
>



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

mobile: +94 77 2273555
Blog: http://waysandmeans.blogspot.com/
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IS] createApplication does not add values in to the DB for non-mandatory fields

2015-12-06 Thread Shani Ranasinghe
Hi IS Team,

In the createApplication method in the
org.wso2.carbon.identity.application.mgt.dao.impl.ApplicationDAOImpl , does
not seem to add values to the non-mandatory fields in the DB.for e.g. the
IS_SAAS_APP field.

Is this supposed to be this way? I noticed that we could call the
updateApplication method which would update the rest of the fields. But did
not see it being done at creation time.

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

mobile: +94 77 2273555
Blog: http://waysandmeans.blogspot.com/
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ESB][Wso2-synapse] Can we please merge the PR 379 on wso2-synapse

2015-11-16 Thread Shani Ranasinghe
Hi,

Can we merge the PR [1]. This was a patch fix done for [2]

[1] https://github.com/wso2/wso2-synapse/pull/379
[2] https://support.wso2.com/jira/browse/BYUDEV-34
<https://www.google.com/url?q=https%3A%2F%2Fsupport.wso2.com%2Fjira%2Fbrowse%2FBYUDEV-34=D=1=AFQjCNEP2g-EJ5Gi5QRrQ6zYerkq8-ixPw>

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

mobile: +94 77 2273555
Blog: http://waysandmeans.blogspot.com/
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM] [OSGI] Removal of dynamic imports causes CNF on extention points

2015-10-21 Thread Shani Ranasinghe
Thanks KasunG & Kishanthan for the inputs.

On Mon, Oct 19, 2015 at 10:49 AM, Kishanthan Thangarajah <
kishant...@wso2.com> wrote:

>
>
> On Fri, Oct 16, 2015 at 4:31 PM, Shani Ranasinghe <sh...@wso2.com> wrote:
>
>>
>> Hi,
>>
>> In APIM current code (1.10), we have removed the > >* from all packages at the moment.
>>
>> We faced an issue now, where an extension point would not work with this
>> change. i.e. if we put a external jar into the
>> /repository/components/lib folder, that class will not be picked
>> up by the component OSGI bundle because of the aforementioned reason.
>>
>> Discussing with KasunG, I learned that we cannot remove the 
>> DynamicImport-Package
>> statement, if the components use Class.forName() or 
>> .class.getClassLoader().loadClass();
>> because the OSGI bundle would not be able to identify the external class.
>>
>> As a possible solution, what we thought of is, to move the Class.forName()
>> to a central location, possibily to the org.wso2.carbon.apimgt.impl
>> package, and have the
>> * to that package. Then
>> all other packages that used to have the Class.forName() can be referred to
>> the method introduced in the org.wso2.carbon.apimgt.impl package.
>>
>> @KasunG, Kishanthan, is this the correct approach?
>>
>
> This will not work. DynamicImport-Package :   (or
> org.wso2.carbon.apimgt.impl) means, you do not know that this package will
> be available at runtime in advance so that bundle resolution process will
> not take this package into account when resolving the bundle import
> statements. It will only try to resolve this package when it is requested
> to be loaded.
>
> For packages (mostly if its extensions) we will not know the package name
> in advance too, and for situations like this we will have to use the "*"
> with dynamic import. We do not have any other ways to solve this when
> loading classes using Class.forName and we do not know the package names in
> advance.
>
>
>> Are there any other approaches that we could look into?
>> --
>> Thanks and Regards
>> *,Shani Ranasinghe*
>> Senior Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: +94 77 2273555
>> Blog: http://waysandmeans.blogspot.com/
>> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
>>
>
>
>
> --
> *Kishanthan Thangarajah*
> Associate Technical Lead,
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com <http://kishanthan.wordpress.com>*
> Twitter - *http://twitter.com/kishanthan <http://twitter.com/kishanthan>*
>



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

mobile: +94 77 2273555
Blog: http://waysandmeans.blogspot.com/
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM] [OSGI] Removal of dynamic imports causes CNF on extention points

2015-10-18 Thread Shani Ranasinghe
Hi,


On Sun, Oct 18, 2015 at 2:25 PM, KasunG Gajasinghe <kas...@wso2.com> wrote:

>
>
> On Fri, Oct 16, 2015 at 4:31 PM, Shani Ranasinghe <sh...@wso2.com> wrote:
>
>>
>> Hi,
>>
>> In APIM current code (1.10), we have removed the > >* from all packages at the moment.
>>
>> We faced an issue now, where an extension point would not work with this
>> change. i.e. if we put a external jar into the
>> /repository/components/lib folder, that class will not be picked
>> up by the component OSGI bundle because of the aforementioned reason.
>>
>> Discussing with KasunG, I learned that we cannot remove the 
>> DynamicImport-Package
>> statement, if the components use Class.forName() or 
>> .class.getClassLoader().loadClass();
>> because the OSGI bundle would not be able to identify the external class.
>>
>> As a possible solution, what we thought of is, to move the Class.forName()
>> to a central location, possibily to the org.wso2.carbon.apimgt.impl
>> package, and have the
>> * to that package. Then
>> all other packages that used to have the Class.forName() can be referred to
>> the method introduced in the org.wso2.carbon.apimgt.impl package.
>>
>
> Did you mean the org.wso2.carbon.apimgt.impl component?
>

Yes, that is what I meant. All other components  that use a Class.forName()
refer to this component.

>
>
>> @KasunG, Kishanthan, is this the correct approach?
>>
>> Are there any other approaches that we could look into?
>> --
>> Thanks and Regards
>> *,Shani Ranasinghe*
>> Senior Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: +94 77 2273555
>> Blog: http://waysandmeans.blogspot.com/
>> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
>>
>
>
>
> --
>
> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
> email: kasung AT spamfree wso2.com
> linked-in: http://lk.linkedin.com/in/gajasinghe
> blog: http://kasunbg.org
>
>
>



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

mobile: +94 77 2273555
Blog: http://waysandmeans.blogspot.com/
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [JS] how tosend headers with redirect in Javascript

2015-10-16 Thread Shani Ranasinghe
Hi Lasantha,

Thank you for the information.

Actually this is in the JS, not in a Jag. I am using location.href
currently to do the redirection.

On Fri, Oct 16, 2015 at 12:08 PM, Lasantha Samarakoon <lasant...@wso2.com>
wrote:

> Hi Shani,
>
> in Jaggey, the response.sendRedirect() method invokes the
> HttpServletResponse.sendRedirect() method which sends "302 Found" response
> to the browser. Then the browser initiates a new request to the URL which
> is passed via the "Location" HTTP header.
>
> ex:
> HTTP/1.1 302 Found
> Location: http://www.example.com/
>
> Therefore, you won't be able to pass a custom HTTP header along with the
> response.sendRedirect() method.
>
> [1]
> http://stackoverflow.com/questions/17227511/pass-header-parameters-with-sendredirect-url
>
>
> Regards,
>
> *Lasantha Samarakoon* | Software Engineer
> WSO2, Inc.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 (71) 214 1576
> Email:  lasant...@wso2.com
> Web:    www.wso2.com
>
> lean . enterprise . middleware
>
> On Fri, Oct 16, 2015 at 10:32 AM, Shani Ranasinghe <sh...@wso2.com> wrote:
>
>> [+ WSO2 Dev]
>>
>> On Fri, Oct 16, 2015 at 10:12 AM, Shani Ranasinghe <sh...@wso2.com>
>> wrote:
>>
>>>
>>> Hi,
>>>
>>> I have a requirement where I need to do a redirect from a Javascript,
>>> and I need to send some headers along with it too.
>>>
>>> The scenario is as follows.
>>>
>>> From my jaggery layer, I use a JS.At the JS, I receive a callbackURL  &
>>> a workflow reference Id, I need to pass this to the external party to which
>>> I would redirect so that they could use those information to communicate
>>> back to the APIM.  It is better if we can send this via headers from the JS
>>> (because in HTTPS headers will be secured).
>>>
>>> Cookies, is not a good choice, as browsers can disable them, Forms put
>>> in an additional popup & notifies that the data is transmitted insecurely,
>>> hence forms are not a good option as well.
>>>
>>> Could we use XMLHttpRequest for this? however, we are not expecting a
>>> response.
>>>
>>> Are there any other alternatives?
>>>
>>> Any help is appreciated.
>>>
>>> --
>>> Thanks and Regards
>>> *,Shani Ranasinghe*
>>> Senior Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: +94 77 2273555
>>> Blog: http://waysandmeans.blogspot.com/
>>> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
>>>
>>
>>
>>
>> --
>> Thanks and Regards
>> *,Shani Ranasinghe*
>> Senior Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: +94 77 2273555
>> Blog: http://waysandmeans.blogspot.com/
>> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
>>
>
>


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

mobile: +94 77 2273555
Blog: http://waysandmeans.blogspot.com/
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [APIM] [OSGI] Removal of dynamic imports causes CNF on extention points

2015-10-16 Thread Shani Ranasinghe
Hi,

In APIM current code (1.10), we have removed the * from all packages at the moment.

We faced an issue now, where an extension point would not work with this
change. i.e. if we put a external jar into the
/repository/components/lib folder, that class will not be picked
up by the component OSGI bundle because of the aforementioned reason.

Discussing with KasunG, I learned that we cannot remove the
DynamicImport-Package
statement, if the components use Class.forName() or
.class.getClassLoader().loadClass();
because the OSGI bundle would not be able to identify the external class.

As a possible solution, what we thought of is, to move the Class.forName()
to a central location, possibily to the org.wso2.carbon.apimgt.impl
package, and have the
* to that package. Then all
other packages that used to have the Class.forName() can be referred to the
method introduced in the org.wso2.carbon.apimgt.impl package.

@KasunG, Kishanthan, is this the correct approach?

Are there any other approaches that we could look into?
-- 
Thanks and Regards
*,Shani Ranasinghe*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 77 2273555
Blog: http://waysandmeans.blogspot.com/
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [JS] how tosend headers with redirect in Javascript

2015-10-15 Thread Shani Ranasinghe
[+ WSO2 Dev]

On Fri, Oct 16, 2015 at 10:12 AM, Shani Ranasinghe <sh...@wso2.com> wrote:

>
> Hi,
>
> I have a requirement where I need to do a redirect from a Javascript, and
> I need to send some headers along with it too.
>
> The scenario is as follows.
>
> From my jaggery layer, I use a JS.At the JS, I receive a callbackURL  & a
> workflow reference Id, I need to pass this to the external party to which I
> would redirect so that they could use those information to communicate back
> to the APIM.  It is better if we can send this via headers from the JS
> (because in HTTPS headers will be secured).
>
> Cookies, is not a good choice, as browsers can disable them, Forms put in
> an additional popup & notifies that the data is transmitted insecurely,
> hence forms are not a good option as well.
>
> Could we use XMLHttpRequest for this? however, we are not expecting a
> response.
>
> Are there any other alternatives?
>
> Any help is appreciated.
>
> --
> Thanks and Regards
> *,Shani Ranasinghe*
> Senior Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 77 2273555
> Blog: http://waysandmeans.blogspot.com/
> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
>



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

mobile: +94 77 2273555
Blog: http://waysandmeans.blogspot.com/
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM][1.6] Authorization scheme not checked for access token generation

2015-06-11 Thread Shani Ranasinghe
Hi Uvindra,

Yes agree. An error message back would help.  Would we consider doing this
change in the future?

On Thu, Jun 11, 2015 at 4:28 PM, Uvindra Dias Jayasinha uvin...@wso2.com
wrote:

 Currently we are not taking any action using the auth scheme hence we dont
 process it at all. Since this is a specialized endpoint we are not we only
 dealing with auth Headers.

 We could check the auth scheme for the sake of simply sending an error
 message back if it is invalid but other than that the scheme itself is of
 no value to us in this case, all that is required is the base64 encoded
 hash. There is no functional issue with the way things work currently, this
 is only a matter of correctness when it comes to honouring the spec
 perfectly.

 On 11 June 2015 at 14:34, Shani Ranasinghe sh...@wso2.com wrote:

 Hi,

 I have tested APIM 1.6 with grant type is password, and used
 Authorization header as both Bearer [1], and Basic [2], and passed the
 value base64encode(consumer key:consumer secret), as follows. Both of them
 return the same access token.

 After talking offline with Uvindra, I came to know that the is this
 authorization scheme is not being checked from the code, but only the value
 is used, and hence the observation.

 Even though functionally it is alright, according to specification it is
 not the correct way to pass the values.

 Is it as designed? Should we not check the authorization scheme?

 [1] curl -k -d
 grant_type=passwordusername=usernamepassword=passwordscope=PRODUCTION
 -H Authorization: Basic base64encode(consumer key : consumer secret) ,
 Content-Type: application/x-www-form-urlencoded
 https://localhost:8243/token


 [2] curl -k -d
 grant_type=passwordusername=usernamepassword=passwordscope=PRODUCTION
 -H Authorization: Bearer base64encode(consumer key : consumer secret) ,
 Content-Type: application/x-www-form-urlencoded
 https://localhost:8243/token

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

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




 --
 Regards,
 Uvindra

 Mobile: 33962




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

mobile: +94 77 2273555
Blog: http://waysandmeans.blogspot.com/
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [APIM][1.6] Authorization scheme not checked for access token generation

2015-06-11 Thread Shani Ranasinghe
Hi,

I have tested APIM 1.6 with grant type is password, and used Authorization
header as both Bearer [1], and Basic [2], and passed the value
base64encode(consumer key:consumer secret), as follows. Both of them return
the same access token.

After talking offline with Uvindra, I came to know that the is this
authorization scheme is not being checked from the code, but only the value
is used, and hence the observation.

Even though functionally it is alright, according to specification it is
not the correct way to pass the values.

Is it as designed? Should we not check the authorization scheme?

[1] curl -k -d
grant_type=passwordusername=usernamepassword=passwordscope=PRODUCTION
-H Authorization: Basic base64encode(consumer key : consumer secret) ,
Content-Type: application/x-www-form-urlencoded
https://localhost:8243/token


[2] curl -k -d
grant_type=passwordusername=usernamepassword=passwordscope=PRODUCTION
-H Authorization: Bearer base64encode(consumer key : consumer secret) ,
Content-Type: application/x-www-form-urlencoded
https://localhost:8243/token

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

mobile: +94 77 2273555
Blog: http://waysandmeans.blogspot.com/
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Carbon][AppM] Calling OSGi service in Jaggery gives a NullPointerException

2015-05-07 Thread Shani Ranasinghe
 Ariyarathna
 Software Engineer; WSO2, Inc.;  http://wso2.com/
 mobile: +94 77 6602284, +94 71 3951048

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




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Methods to migrate database from MySQL to MSSQL

2015-05-06 Thread Shani Ranasinghe
Hi Madusanka/ Dhanuka,

Thanks for your responses.

@Madusanka, The SSMA tool you mentioned seems to work fine. It seems to
convert the schema properly. Will do some more testing and verify,  thanks
a lot for the info.

On Mon, Apr 27, 2015 at 6:38 PM, Madusanka Premaratne madusan...@wso2.com
wrote:

 Hi Shani,
 I used a tool called SQL Server Migration Client. But I did this a few
 years back and I think it only works with windows.
 Have a look at [1]

 [1] - http://blogs.msdn.com/b/ssma/p/mysql.aspx

 Thanks,
 Madusanka

 On Mon, Apr 27, 2015 at 4:44 PM, Dhanuka Ranasinghe dhan...@wso2.com
 wrote:

 I haven't done such thing before but you can try out something like this.

 Write some sql scripts which has some select insert statements (select
 form mysql insert into mssql). Hope this is not much complex since column
 names and table names are equal. You may need to write simple Java program
 to select queries and map them to insert statements which use both jdbc
 drivers. If you can use JPA this can be done easily.

 Cheers,
 Dhanuka

 *Dhanuka Ranasinghe*

 Senior Software Engineer
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 715381915

 On Mon, Apr 27, 2015 at 4:08 PM, Shani Ranasinghe sh...@wso2.com wrote:


 Hi,

 I have come across a situation  where I need to migrate my MySQL db to
 MSSQL in wso2 api manager. I have so far tried the following.

 1) Using the ODBC connector and creating linked databases in MSSQL
 In this approach, when importing the database, the schema seems to
 change, for e.g. for tables that have Auto increment  has been disappeared
 when converting to a MSSQL schema, also the not null, null definitions have
 been swapped at certain instances.

 2) Used ODBC connector to import data to an existing database
 I kept getting the error : The Source - am_api_comments was unable
 to retrieve column information for the SQL command. The following error
 occurred: ERROR [42000] [MySQL][ODBC 5.3(a)
 Driver][mysqld-5.1.73-community]You have an error in your SQL syntax; check
 the manual that corresponds to your MySQL server version for the right
 syntax to use near 'am_api_comments' at line 1 for every table.

 3) Tried some online tools
This too brought the errors in not converting the schema's properly
 as step 1.

 4) Exporting MySQL table by table as csv and importing them to MSSQL
 This is the only way I could get it working. It is a very tedious
 way of getting it done :(
 i.e. 1) Export the data in MySQL data as csv file. When importing
 must have a IFNULL check done for every varchar and not null column so that
 the csv value is at the end correct so that the SQL can import it. An
 example for this is that, when the MySQL column's have null values, when
 exporting to csv, in the csv file it is needed to have a blank value, for
 this we need to do the check. Once the csv's are ready from table to table,
 we can import them to the MSSQL database, where we have already created the
 schema.


 I am not sure if I did step 1  2 correct or if there was any issue in
 it. I followed some online article and blog but could not succeed. If
 anyone has any experience on this or knows of any other ways I could try
 please do let me know.

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

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



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




 --
 *Madusanka Premaratne* | Associate Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 835 70 73| Work: +94 112 145 345
 Email: madusan...@wso2.com | Web: www.wso2.com

 [image: Facebook] https://www.facebook.com/maduzanka [image: Twitter]
 https://twitter.com/rmmpremaratne [image: Google Plus]
 https://plus.google.com/u/0/+MadusankaPremaratnemaduz/about/p/pub [image:
 Linkedin] http://lk.linkedin.com/in/madusanka/ [image: Instagram]
 http://instagram.com/madusankapremaratne [image: Skype]
 http://@rmmpremaratne




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Methods to migrate database from MySQL to MSSQL

2015-04-27 Thread Shani Ranasinghe
Hi,

I have come across a situation  where I need to migrate my MySQL db to
MSSQL in wso2 api manager. I have so far tried the following.

1) Using the ODBC connector and creating linked databases in MSSQL
In this approach, when importing the database, the schema seems to
change, for e.g. for tables that have Auto increment  has been disappeared
when converting to a MSSQL schema, also the not null, null definitions have
been swapped at certain instances.

2) Used ODBC connector to import data to an existing database
I kept getting the error : The Source - am_api_comments was unable to
retrieve column information for the SQL command. The following error
occurred: ERROR [42000] [MySQL][ODBC 5.3(a)
Driver][mysqld-5.1.73-community]You have an error in your SQL syntax; check
the manual that corresponds to your MySQL server version for the right
syntax to use near 'am_api_comments' at line 1 for every table.

3) Tried some online tools
   This too brought the errors in not converting the schema's properly as
step 1.

4) Exporting MySQL table by table as csv and importing them to MSSQL
This is the only way I could get it working. It is a very tedious way
of getting it done :(
i.e. 1) Export the data in MySQL data as csv file. When importing must
have a IFNULL check done for every varchar and not null column so that the
csv value is at the end correct so that the SQL can import it. An example
for this is that, when the MySQL column's have null values, when exporting
to csv, in the csv file it is needed to have a blank value, for this we
need to do the check. Once the csv's are ready from table to table, we can
import them to the MSSQL database, where we have already created the schema.


I am not sure if I did step 1  2 correct or if there was any issue in it.
I followed some online article and blog but could not succeed. If anyone
has any experience on this or knows of any other ways I could try please do
let me know.

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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Prasanna Dangalla

2015-04-09 Thread Shani Ranasinghe
Congratulations..

On Thu, Apr 9, 2015 at 1:23 PM, Pulasthi Supun pulas...@wso2.com wrote:

 Congrats  !!!

 Best Regards,
 Pulasthi

 On Thu, Apr 9, 2015 at 11:51 AM, Lasitha Wattaladeniya lasit...@wso2.com
 wrote:

 Congratulations Prasanna :)

 On Thu, Apr 9, 2015 at 11:40 AM, CD Athuraliya chathur...@wso2.com
 wrote:

 Congratulations! :)

 On Thu, Apr 9, 2015 at 11:13 AM, Harsha Kumara hars...@wso2.com wrote:

 Congratulations Prasanna!

 On Thu, Apr 9, 2015 at 11:08 AM, Rajith Siriwardena raj...@wso2.com
 wrote:

 Congratulations Prasanna!!

 On Wed, Apr 8, 2015 at 7:37 PM, Dinesh J Weerakkody dine...@wso2.com
 wrote:

 Congratulations Prasanna...

 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, Apr 9, 2015 at 8:06 AM, Sagara Gunathunga sag...@wso2.com
 wrote:

 It's my pleasure to welcome Prasanna Dangalla as a WSO2 committer.
 Prasanna, welcome aboard and keep up the good work.


 Thanks !
 --
 Sagara Gunathunga

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


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



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




 --
 *Rajith Siriwardana*
 Software Engineer | WSO2 Cloud
 WSO2 Inc. | http://wso2.com
 *lean. enterprise. middleware*

 ---
 *http://people.apache.org/~siriwardana
 http://people.apache.org/~siriwardana*



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

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




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

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




 --
 *CD Athuraliya*
 Software Engineer
 WSO2, Inc.
 lean . enterprise . middleware
 Mobile: +94 716288847 94716288847
 LinkedIn http://lk.linkedin.com/in/cdathuraliya | Twitter
 https://twitter.com/cdathuraliya | Blog
 http://cdathuraliya.tumblr.com/

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




 --
 Lasitha Wattaladeniya
 Software Engineer
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94719397528
 Blog : techreadme.blogspot.com

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




 --
 --
 Pulasthi Supun
 Software Engineer; WSO2 Inc.; http://wso2.com,
 Email: pulas...@wso2.com
 Mobile: +94 (71) 9258281
 Blog : http://pulasthisupun.blogspot.com/
 Git hub profile: https://github.com/pulasthi

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




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] LZ4 Orbit bundle to be added for casandra data reader.

2015-04-02 Thread Shani Ranasinghe
Hi Niranda,

It was not added. The PR was put on hold.

On Fri, Apr 3, 2015 at 9:01 AM, Niranda Perera nira...@wso2.com wrote:

 Hi Shani,

 may I know the status of this bundle? have you decided to include this in
 the orbit?

 rgds

 On Fri, Feb 13, 2015 at 3:46 PM, Shani Ranasinghe sh...@wso2.com wrote:

 Hi,

 Please hold the pull request. Sory for the inconvenience. As this is an
 optional feature required, it is not yet decided if to include this into
 the product in a rush.



 On Fri, Feb 13, 2015 at 9:43 AM, Shani Ranasinghe sh...@wso2.com wrote:

 Hi,

 Review comments Incorporated. Please let me know if anything needs to be
 changed.

 On Thu, Feb 12, 2015 at 7:33 PM, Bhathiya Jayasekara bhath...@wso2.com
 wrote:

 Hi Shani,

 Please make following changes.

 1) Make license year 2015.
 2) Add export-package version.
 3) Inside import-package, remove **;* and add *!net.jpountz.lz4.*;*

 Thanks,
 Bhathiya

 On Thu, Feb 12, 2015 at 7:07 PM, Shani Ranasinghe sh...@wso2.com
 wrote:

 Hi,

 Please review and commit the pull request in order to add the LZ4
 orbit bundle for the cassandra data reader.
 https://github.com/wso2/orbit/pull/60

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

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

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




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

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




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

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




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




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Malithi Edirisinghe

2015-03-24 Thread Shani Ranasinghe
; WSO2 Inc.; http://wso2.com/
 Email: ga...@wso2.com
 Mobile: +94 (71) 8020933

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



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




 --
 Hasintha Indrajee
 Software Engineer
 WSO2, Inc.
 Mobile:+94 771892453


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




 --
 Isura Dilhara Karunaratne
 Software Engineer

 Mob +94 772 254 810


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




 --
 With Regards,

 *Rasika Perera*
 Software Engineer
 M: +94 71 680 9060 E: rasi...@wso2.com
 LinkedIn: http://lk.linkedin.com/in/rasika90

 WSO2 Inc. www.wso2.com
 lean.enterprise.middleware

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




 --
 Milan Harindu Perera
 Software Engineer
 *WSO2, Inc*
 (+94) 77 309 7088
 lean . enterprise . middleware
 http://lk.linkedin.com/in/milanharinduperera

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




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


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




 --
 Jagath Ariyarathne
 Technical Lead
 WSO2 Inc.  http://wso2.com/
 Email: jaga...@wso2.com
 Mob  : +94 77 386 7048




 --

 *Malithi Edirisinghe*
 Senior Software Engineer
 WSO2 Inc.

 Mobile : +94 (0) 718176807
 malit...@wso2.com

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




 --
 Sajith Ariyarathna
 Software Engineer; WSO2, Inc.;  http://wso2.com/
 mobile: +94 77 6602284, +94 71 3951048

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



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




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] NumberFormatException when genarating Key in API manager 1.9.0 SNAPSHOT.

2015-03-23 Thread Shani Ranasinghe
Hi,

I checked using the latest built pack on jenkins, and the functionality did
work fine.

[1]
https://wso2.org/jenkins/view/product-builds/job/product-apim/168/org.wso2.am$wso2am/


On Mon, Mar 23, 2015 at 1:04 PM, Shani Ranasinghe sh...@wso2.com wrote:

 Hi Saneth,

 I will look into this.

 On Mon, Mar 23, 2015 at 12:27 PM, Saneth Dharmakeerthi sane...@wso2.com
 wrote:

 Hi,

 When click Generate button on to generate a key for subscribed API, It
 gives  error message[1] and server side it gives a
 NumberFormatException[3].
 But when I  run the integration test, access key generation part is
 working correctly.
 I noticed that new parameter selectedAppID was added to  that
 application key generation request  creation logic in intregration
 tests[2].
 When I do this via UI it not sending the selectedAppID, and giving the
 NumberFormatExceptionin server side. Is there any reason why this is not
 working in UI?

 Note: pack was cloned and build on 23:3:2015

 [1]​
  Screen Shot 2015-03-23 at 12.13.00 PM.png
 https://docs.google.com/a/wso2.com/file/d/0B2mfjA37km5UR25SMlRtM1p1alE/edit?usp=drive_web
 ​
 [2]
 https://github.com/wso2/product-apim/blob/master/modules/integration/tests-common/integration-test-utils/src/main/java/org/wso2/am/integration/test/utils/clients/APIStoreRestClient.java

 [3]java.lang.NumberFormatException: null
 at java.lang.Integer.parseInt(Integer.java:417)
 at java.lang.Integer.parseInt(Integer.java:499)
 at
 org.wso2.carbon.apimgt.hostobjects.APIStoreHostObject.jsFunction_getApplicationKey(APIStoreHostObject.java:719)
 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)
 at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:386)
 at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
 at
 org.jaggeryjs.rhino.store.modules.subscription.c4._c_anonymous_2(/store/modules/subscription/key.jag:34)
 at
 org.jaggeryjs.rhino.store.modules.subscription.c4.call(/store/modules/subscription/key.jag)
 at
 org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2430)
 at org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:269)
 at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:97)
 at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
 at
 org.jaggeryjs.rhino.store.modules.subscription.c0._c_anonymous_8(/store/modules/subscription/module.jag:29)
 at
 org.jaggeryjs.rhino.store.modules.subscription.c0.call(/store/modules/subscription/module.jag)
 at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
 at
 org.jaggeryjs.rhino.store.site.blocks.subscription.subscription_add.ajax.c0._c_anonymous_1(/store/site/blocks/subscription/subscription-add/ajax/subscription-add.jag:157)
 at
 org.jaggeryjs.rhino.store.site.blocks.subscription.subscription_add.ajax.c0.call(/store/site/blocks/subscription/subscription-add/ajax/subscription-add.jag)
 at org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:23)
 at
 org.jaggeryjs.rhino.store.site.blocks.subscription.subscription_add.ajax.c0._c_script_0(/store/site/blocks/subscription/subscription-add/ajax/subscription-add.jag:3)
 at
 org.jaggeryjs.rhino.store.site.blocks.subscription.subscription_add.ajax.c0.call(/store/site/blocks/subscription/subscription-add/ajax/subscription-add.jag)
 at
 org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
 at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
 at
 org.jaggeryjs.rhino.store.site.blocks.subscription.subscription_add.ajax.c0.call(/store/site/blocks/subscription/subscription-add/ajax/subscription-add.jag)
 at
 org.jaggeryjs.rhino.store.site.blocks.subscription.subscription_add.ajax.c0.exec(/store/site/blocks/subscription/subscription-add/ajax/subscription-add.jag)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:570)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
 at
 org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:432)
 at
 org.jaggeryjs.jaggery.core.JaggeryServlet.doPost(JaggeryServlet.java:29)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
 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

Re: [Dev] NumberFormatException when genarating Key in API manager 1.9.0 SNAPSHOT.

2015-03-23 Thread Shani Ranasinghe
)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
 at
 org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
 at
 org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
 at
 org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
 at
 org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
 at
 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
 at java.lang.Thread.run(Thread.java:695)

 java.lang.NumberFormatException
 Thanks and Best Regards,

 Saneth Dharmakeerthi
 Senior Software Engineer
 WSO2, Inc.
 Mobile: +94772325511




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [APIM][Integration-test]Integration test for Application Subscription Sharing

2015-03-16 Thread Shani Ranasinghe
Hi,


I need to write a test case for Application  subscription sharing feature.

For this, I require a user who has claims. I could not find how to add
claims for user. Please let me know if there are any references that I
could refer to in order to write this.

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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM][Integration-test]Integration test for Application Subscription Sharing

2015-03-16 Thread Shani Ranasinghe
Hi,

Thanks for the info. Will follow this.

On Tue, Mar 17, 2015 at 10:23 AM, Waruna Perera waru...@wso2.com wrote:

 Hi Shani,

 Remember that due to cache storage, you  need to restart the server in the
 test case after the user claims are updated.

 Thanks,

 On Tue, Mar 17, 2015 at 9:43 AM, Saneth Dharmakeerthi sane...@wso2.com
 wrote:

 Hi Shani,

 RemoteUserStoreManagerServiceClient [1]  has  setUserClaimValue() method.
 You can find the usage in [2]

 [1]
 https://github.com/wso2/product-apim/blob/master/modules/integration/tests-common/admin-clients/src/main/java/org/wso2/am/admin/clients/user/RemoteUserStoreManagerServiceClient.java

 [2]
 https://github.com/wso2/product-apim/blob/master/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/sample/JWTTestCase.java

 Thanks and Best Regards,

 Saneth Dharmakeerthi
 Senior Software Engineer
 WSO2, Inc.
 Mobile: +94772325511

 On Tue, Mar 17, 2015 at 8:38 AM, Shani Ranasinghe sh...@wso2.com wrote:

 Hi,


 I need to write a test case for Application  subscription sharing
 feature.

 For this, I require a user who has claims. I could not find how to add
 claims for user. Please let me know if there are any references that I
 could refer to in order to write this.

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

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

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



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




 --
 Waruna Perera
 Senior Software Engineer - Test Automation
 Mobile: +94 77 3867037
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] LZ4 Orbit bundle to be added for casandra data reader.

2015-02-13 Thread Shani Ranasinghe
Hi,

Please hold the pull request. Sory for the inconvenience. As this is an
optional feature required, it is not yet decided if to include this into
the product in a rush.



On Fri, Feb 13, 2015 at 9:43 AM, Shani Ranasinghe sh...@wso2.com wrote:

 Hi,

 Review comments Incorporated. Please let me know if anything needs to be
 changed.

 On Thu, Feb 12, 2015 at 7:33 PM, Bhathiya Jayasekara bhath...@wso2.com
 wrote:

 Hi Shani,

 Please make following changes.

 1) Make license year 2015.
 2) Add export-package version.
 3) Inside import-package, remove **;* and add *!net.jpountz.lz4.*;*

 Thanks,
 Bhathiya

 On Thu, Feb 12, 2015 at 7:07 PM, Shani Ranasinghe sh...@wso2.com wrote:

 Hi,

 Please review and commit the pull request in order to add the LZ4 orbit
 bundle for the cassandra data reader.
 https://github.com/wso2/orbit/pull/60

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

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

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




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

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




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


Re: [Dev] LZ4 Orbit bundle to be added for casandra data reader.

2015-02-12 Thread Shani Ranasinghe
Hi,

Review comments Incorporated. Please let me know if anything needs to be
changed.

On Thu, Feb 12, 2015 at 7:33 PM, Bhathiya Jayasekara bhath...@wso2.com
wrote:

 Hi Shani,

 Please make following changes.

 1) Make license year 2015.
 2) Add export-package version.
 3) Inside import-package, remove **;* and add *!net.jpountz.lz4.*;*

 Thanks,
 Bhathiya

 On Thu, Feb 12, 2015 at 7:07 PM, Shani Ranasinghe sh...@wso2.com wrote:

 Hi,

 Please review and commit the pull request in order to add the LZ4 orbit
 bundle for the cassandra data reader.
 https://github.com/wso2/orbit/pull/60

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

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

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




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

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




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] LZ4 Orbit bundle to be added for casandra data reader.

2015-02-12 Thread Shani Ranasinghe
Hi,

Please review and commit the pull request in order to add the LZ4 orbit
bundle for the cassandra data reader.
https://github.com/wso2/orbit/pull/60

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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Issue when running two AS instances on Windows command prompt.

2015-01-28 Thread Shani Ranasinghe
Hi,

This could be because the embedded H2 cannot create two instance at the
same time. Please make sure that there are no two instances running which
bind to the same WSO2CARBON_DB.


On Thu, Jan 29, 2015 at 10:11 AM, Irham Iqbal iq...@wso2.com wrote:

 Hi,

 When i am trying to run two AS instance using one command prompt i am
 getting some exceptions.

 I have started the first instance(pack wso2as-1) using START /B CMD /C
 CALL wso2server.bat command to run this as background process then after
 when the server has started up ,i went to a different AS pack wso2as-2 from
 the same command prompt and run wso2server.bat -DportOffset=8 then only i
 am getting the exceptions. In the exception it's seems like it still using
 the older pack's path as carbon home.
 I have attached the error log.

 Thanks,
 Iqbal

 --
 Irham Iqbal
 Software Engineer - Test Automation
  WSO2, Inc.: http://wso2.com
 lean. enterprise. middleware
 phone: +94 777888452

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




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [SS] Update Hadoop version to 2.6.0?

2015-01-27 Thread Shani Ranasinghe
Hi Prabath,

Should we go ahead and update to 2.6.0 ? In the 2.5.2 release they have
mentioned that the 2.5.2 release fixes some critical issues in the 2.5.1
release. I am not sure what they are though. Do you think it is safer and
it makes sense to straight away move into 2.6.0?


@Deep, would this affect your work?

p.s we are currently working on 2.5.1, which we are planning to release
with SS 1.5.0.
-- 
Thanks and Regards
*,Shani Ranasinghe*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Hadoop Version for BAM 3

2015-01-26 Thread Shani Ranasinghe
Hi Anjana/Gokul/BAM team,

I was actually wondering if there's a possibility we could move to 2.6.0 as
well, so that there will be not be two different versions  and two
different bundles, in the platform.  I guess, I misunderstood your
requirement. The main reason why we need to fork the code is that we did
not find any pluggable way to introduce a different authentication
mechanism , other than kerberos to HDFS, It is tightly coupled. And for our
multi tenancy implementations, we are thinking of introducing it, which
would in turn  introduce/modify code in  hadoop hdfs code base. Hence we
needed to fork it.

The HDFS client also seems to have code that makes it tightly coupled to
Kerberos  Simple autentication  and we might have to work on it as well.
However, we would only introduce a new authentication but not change the
existing. We do not have any plans in modifying the HDFS Client otherwise.
Would it still be necessary for BAM to have a separate orbit bundle? Even
with Cassandra we are using a single code base right?  IMO  we could do the
same with HDFS also?


On Mon, Jan 26, 2015 at 1:54 PM, Anjana Fernando anj...@wso2.com wrote:

 Hi Shani,

 I guess the main question is, can we skip the Carbonized HDFS client, and
 just create an Orbit bundle from the vanilla client, without any
 modifications, for us to use.

 Cheers,
 Anjana.

 On Mon, Jan 26, 2015 at 12:08 PM, Shani Ranasinghe sh...@wso2.com wrote:

 Hi Prabath/Gokul,

 According to hadoop documentation there doesn't seem to be any major
 difference between the two releases [1]  [2].  However, 2.5.2 seems to
 have fixed some critical issues of 2.5.1 [3] (which are not directly
 mentioned), which is obviously carried out to 2.6.0. Since the datanode
 carbonization is done on 2.5.1 code, I am not sure how feasible it is to
 change it to 2.6.0, there seems to be improvements done on datanode code in
 this release. Since we have a release in 2 weeks time, and me and Deep are
 both working on tasks for this release, we could get someone from the team
 to check the feasibility of moving to 2.6.0. WDYT?

 [1] http://hadoop.apache.org/docs/r2.5.1/
 [2] http://hadoop.apache.org/docs/stable/
 [3] http://hadoop.apache.org/docs/r2.5.2/

 On Mon, Jan 26, 2015 at 11:50 AM, Gokul Balakrishnan go...@wso2.com
 wrote:

 Hi SS team,

 For BAM 3.0 Data Layer implementation, we're considering the use of the
 Hadoop 2.x Java API, to communicate with an external HDFS environment.
 However, the version currently being used in SS 2.0 work seems to be Hadoop
 2.5.1 [1]. Since we won't be needing any multitenancy-related improvements
 done as part of SS dev work, should we use your version or proceed with the
 latest 2.6.0 jars for the Java API (as an orbit bundle), since it would be
 best if we're not tied to SS releases for version upgrades merely for the
 Java API. What do you suggest?

 [1] https://github.com/wso2-dev/wso2-hadoop

 Thanks,

 --
 *Balakrishnan Gokulakrishnan*
 Software Engineer,
 WSO2, Inc. http://wso2.com
 Mob: +94 77 593 5789 | +1 650 272 9927




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




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




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Hadoop Version for BAM 3

2015-01-25 Thread Shani Ranasinghe
Hi Prabath/Gokul,

According to hadoop documentation there doesn't seem to be any major
difference between the two releases [1]  [2].  However, 2.5.2 seems to
have fixed some critical issues of 2.5.1 [3] (which are not directly
mentioned), which is obviously carried out to 2.6.0. Since the datanode
carbonization is done on 2.5.1 code, I am not sure how feasible it is to
change it to 2.6.0, there seems to be improvements done on datanode code in
this release. Since we have a release in 2 weeks time, and me and Deep are
both working on tasks for this release, we could get someone from the team
to check the feasibility of moving to 2.6.0. WDYT?

[1] http://hadoop.apache.org/docs/r2.5.1/
[2] http://hadoop.apache.org/docs/stable/
[3] http://hadoop.apache.org/docs/r2.5.2/

On Mon, Jan 26, 2015 at 11:50 AM, Gokul Balakrishnan go...@wso2.com wrote:

 Hi SS team,

 For BAM 3.0 Data Layer implementation, we're considering the use of the
 Hadoop 2.x Java API, to communicate with an external HDFS environment.
 However, the version currently being used in SS 2.0 work seems to be Hadoop
 2.5.1 [1]. Since we won't be needing any multitenancy-related improvements
 done as part of SS dev work, should we use your version or proceed with the
 latest 2.6.0 jars for the Java API (as an orbit bundle), since it would be
 best if we're not tied to SS releases for version upgrades merely for the
 Java API. What do you suggest?

 [1] https://github.com/wso2-dev/wso2-hadoop

 Thanks,

 --
 *Balakrishnan Gokulakrishnan*
 Software Engineer,
 WSO2, Inc. http://wso2.com
 Mob: +94 77 593 5789 | +1 650 272 9927




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [SS] No LoginModules configured error when login is called using JAAS

2015-01-22 Thread Shani Ranasinghe
Hi,

Any help?

On Wed, Jan 21, 2015 at 3:30 PM, Shani Ranasinghe sh...@wso2.com wrote:


 Hi,

 I am working on generating kerberos tickets automatically for a user when
 using the Storage Server. Currently this is done by running  kinit from the
 code. I am working on changing this to use JAAS and authenticate and
 generate a kerberos ticket.

 I created a LoginContext object and passed a name, and with that entry I
 created a .conf file. I set the system property
 java.security.auth.login.config in the code, with relative/absolute paths
 to the conf file.  When the code is executed, I get the following error.

 javax.security.auth.login.LoginException: No LoginModules configured for
 Sample.

 any clue why  the config is not getting picked up? Am I missing something?

 Any help is appreciated.


 *Code for the above*

 System.setProperty(java.security.auth.login.config,sampleConfig.conf);
 loginContext = new LoginContext(Sample, new CustomCallbackHandler());
 loginContext.login();


 *sampleConfig.conf*
 Sample {
 com.sun.security.auth.module.Krb5LoginModule required;
 };


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


[Dev] [SS] No LoginModules configured error when login is called using JAAS

2015-01-21 Thread Shani Ranasinghe
Hi,

I am working on generating kerberos tickets automatically for a user when
using the Storage Server. Currently this is done by running  kinit from the
code. I am working on changing this to use JAAS and authenticate and
generate a kerberos ticket.

I created a LoginContext object and passed a name, and with that entry I
created a .conf file. I set the system property
java.security.auth.login.config in the code, with relative/absolute paths
to the conf file.  When the code is executed, I get the following error.

javax.security.auth.login.LoginException: No LoginModules configured for
Sample.

any clue why  the config is not getting picked up? Am I missing something?

Any help is appreciated.


*Code for the above*

System.setProperty(java.security.auth.login.config,sampleConfig.conf);
loginContext = new LoginContext(Sample, new CustomCallbackHandler());
loginContext.login();


*sampleConfig.conf*
Sample {
com.sun.security.auth.module.Krb5LoginModule required;
};


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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] deploy an undeployed proxy service at the ESB server startup

2015-01-07 Thread Shani Ranasinghe
Hi Akila,

Adding to what Bhathiya had mentioned, via the UI, you could navigate to
the Proxy's service dashboard (by clicking on the proxy name), and under
the *Specific Configuration*  section you will find a *redeploy* option.
This will redeploy your proxy.

On Wed, Jan 7, 2015 at 1:02 PM, Bhathiya Jayasekara bhath...@wso2.com
wrote:

 [Resending to dev@ as it was blocked due to some reason.]

 On Tue, Dec 30, 2014 at 8:02 AM, Bhathiya Jayasekara bhath...@wso2.com
 wrote:

 Hi Akila,

 I don't think we have a way to do this in UI. But as a workaround you can
 redeploy it by touching the particular proxy configuration.

 eg. touch
 repository/deployment/server/synapse-configs/default/proxy-services/yourwsdlproxy.xml

 Hope this helps.

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

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




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

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

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




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] WSO2 IS Audit Dashboard

2014-12-29 Thread Shani Ranasinghe
Hi Chamin,

Is this the same as the discussion that is carried out on the mail thread
[Architecture] IS statistics dashboard ? If not what's the difference?
And also, since you have mentioned this is for IS 5.0, IS 5.0 is already
released. So how will this be available for any interested parties?

Do we have any target date for the deliverable?

On Mon, Dec 22, 2014 at 12:22 AM, Chamin Nalinda cha...@wso2.com wrote:

 Hi Dulitha,

 In the case of publishing data to BAM do you recommend using creating
 custom data publisher to BAM as in [1] since Message Tracer is not for
 internal massage monitoring.

 [1]
 http://wso2.com/library/articles/2012/07/creating-custom-agents-publish-events-bamcep/

 On Mon, Dec 22, 2014 at 9:54 AM, Chamin Nalinda cha...@wso2.com wrote:

 Hi Dulitha,

 Thanks for your suggestions and opinions.

 Regards !!!

 On Mon, Dec 22, 2014 at 4:18 AM, Dulitha Wijewantha duli...@wso2.com
 wrote:

 Hi Chamin,
 A potential problem we saw was in use cases where admin services were
 consumed with APIM fronted. The correlation id has to pass through APIM -
 IS as well. @Nuwan did a small fix on this to get it to work. The other
 important matter is to actually visualize useful reports.

 The example you gave is actually something that should be fed to CEP
 cause most of the time - realtime action has to be taken on authentication
 failed attempts. Below are some good use cases -

- All the actions performed by a user for time period
- All the actions performed by a user breaking down on sessions
- Authentication requests log segmented to time slices (how many
failed requests were sent in a minute)
- Client IP/hostnames that were used to perform authentication


 Cheers~

 On Thu, Dec 18, 2014 at 10:54 PM, Chamin Nalinda cha...@wso2.com
 wrote:

 Hi all,

 I'm in the process of developing a dash board for WSO2 IS 5.0.0 .

 In the first iteration, need to capture relevant information regard to
 Authentication use cases. Below are some use cases.

 Success/Fail login attempts  during last hour ?
 Success/Fail login attempts  during last hour by user Peter ? etc...

 The approach that is suggest, to co-relate requests and responses then
 feed data to BAM. Then periodically retrieve data from BAM and display in
 IS Audit Dashboard. BAM Message Tracer is one  suggestion. And rather than
 using Axis2 Handler to match requests and response using a separate class
 is another suggestion.

 I would like to have some ideas prior to begin ( the best approach,
 using existing classes already there etc...)

 Thanks in advance.




 --
 *Chamin Nalinda*

 Intern - Engineering
 WSO2 Inc. http://www.wso2.com
 lean.enterprise.middleware

 Mobile: (+94) 77 241 66 04
 Linkedin: https://www.linkedin.com/in/chaminnalinda
 Web: http://www.ckreativity.com
 Blog: http://techspiro.blogspot.com/


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




 --
 Dulitha Wijewantha (Chan)
 Software Engineer - Mobile Development
 WSO2 Inc
 Lean.Enterprise.Mobileware
  * ~Email   duli...@wso2.com duli...@wso2mobile.com*
 *  ~Mobile +94712112165 %2B94712112165*
 *  ~Website   dulitha.me http://dulitha.me*
 *  ~Twitter @dulitharw https://twitter.com/dulitharw*
   *~Github @dulichan https://github.com/dulichan*
   *~SO @chan http://stackoverflow.com/users/813471/chan*




 --
 *Chamin Nalinda*

 Intern - Engineering
 WSO2 Inc. http://www.wso2.com
 lean.enterprise.middleware

 Mobile: (+94) 77 241 66 04
 Linkedin: https://www.linkedin.com/in/chaminnalinda
 Web: http://www.ckreativity.com
 Blog: http://techspiro.blogspot.com/




 --
 *Chamin Nalinda*

 Intern - Engineering
 WSO2 Inc. http://www.wso2.com
 lean.enterprise.middleware

 Mobile: (+94) 77 241 66 04
 Linkedin: https://www.linkedin.com/in/chaminnalinda
 Web: http://www.ckreativity.com
 Blog: http://techspiro.blogspot.com/


 ___
 Architecture mailing list
 architect...@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] WSO2 IS Audit Dashboard

2014-12-29 Thread Shani Ranasinghe
Hi Chamin,

Thanks for the info.

On Tue, Dec 30, 2014 at 12:52 AM, Chamin Nalinda cha...@wso2.com wrote:

 Hi Shani,

 It is the same. No such deliverable date. I'm assigned to continue this
 after previous intern left.

 On Mon, Dec 29, 2014 at 3:03 PM, Shani Ranasinghe sh...@wso2.com wrote:

 Hi Chamin,

 Is this the same as the discussion that is carried out on the mail thread
 [Architecture] IS statistics dashboard ? If not what's the difference?
 And also, since you have mentioned this is for IS 5.0, IS 5.0 is already
 released. So how will this be available for any interested parties?

 Do we have any target date for the deliverable?

 On Mon, Dec 22, 2014 at 12:22 AM, Chamin Nalinda cha...@wso2.com wrote:

 Hi Dulitha,

 In the case of publishing data to BAM do you recommend using creating
 custom data publisher to BAM as in [1] since Message Tracer is not for
 internal massage monitoring.

 [1]
 http://wso2.com/library/articles/2012/07/creating-custom-agents-publish-events-bamcep/

 On Mon, Dec 22, 2014 at 9:54 AM, Chamin Nalinda cha...@wso2.com wrote:

 Hi Dulitha,

 Thanks for your suggestions and opinions.

 Regards !!!

 On Mon, Dec 22, 2014 at 4:18 AM, Dulitha Wijewantha duli...@wso2.com
 wrote:

 Hi Chamin,
 A potential problem we saw was in use cases where admin services were
 consumed with APIM fronted. The correlation id has to pass through APIM -
 IS as well. @Nuwan did a small fix on this to get it to work. The other
 important matter is to actually visualize useful reports.

 The example you gave is actually something that should be fed to CEP
 cause most of the time - realtime action has to be taken on authentication
 failed attempts. Below are some good use cases -

- All the actions performed by a user for time period
- All the actions performed by a user breaking down on sessions
- Authentication requests log segmented to time slices (how many
failed requests were sent in a minute)
- Client IP/hostnames that were used to perform authentication


 Cheers~

 On Thu, Dec 18, 2014 at 10:54 PM, Chamin Nalinda cha...@wso2.com
 wrote:

 Hi all,

 I'm in the process of developing a dash board for WSO2 IS 5.0.0 .

 In the first iteration, need to capture relevant information regard
 to Authentication use cases. Below are some use cases.

 Success/Fail login attempts  during last hour ?
 Success/Fail login attempts  during last hour by user Peter ? etc...

 The approach that is suggest, to co-relate requests and responses
 then feed data to BAM. Then periodically retrieve data from BAM and 
 display
 in IS Audit Dashboard. BAM Message Tracer is one  suggestion. And rather
 than using Axis2 Handler to match requests and response using a separate
 class is another suggestion.

 I would like to have some ideas prior to begin ( the best approach,
 using existing classes already there etc...)

 Thanks in advance.




 --
 *Chamin Nalinda*

 Intern - Engineering
 WSO2 Inc. http://www.wso2.com
 lean.enterprise.middleware

 Mobile: (+94) 77 241 66 04
 Linkedin: https://www.linkedin.com/in/chaminnalinda
 Web: http://www.ckreativity.com
 Blog: http://techspiro.blogspot.com/


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




 --
 Dulitha Wijewantha (Chan)
 Software Engineer - Mobile Development
 WSO2 Inc
 Lean.Enterprise.Mobileware
  * ~Email   duli...@wso2.com duli...@wso2mobile.com*
 *  ~Mobile +94712112165 %2B94712112165*
 *  ~Website   dulitha.me http://dulitha.me*
 *  ~Twitter @dulitharw https://twitter.com/dulitharw*
   *~Github @dulichan https://github.com/dulichan*
   *~SO @chan http://stackoverflow.com/users/813471/chan*




 --
 *Chamin Nalinda*

 Intern - Engineering
 WSO2 Inc. http://www.wso2.com
 lean.enterprise.middleware

 Mobile: (+94) 77 241 66 04
 Linkedin: https://www.linkedin.com/in/chaminnalinda
 Web: http://www.ckreativity.com
 Blog: http://techspiro.blogspot.com/




 --
 *Chamin Nalinda*

 Intern - Engineering
 WSO2 Inc. http://www.wso2.com
 lean.enterprise.middleware

 Mobile: (+94) 77 241 66 04
 Linkedin: https://www.linkedin.com/in/chaminnalinda
 Web: http://www.ckreativity.com
 Blog: http://techspiro.blogspot.com/


 ___
 Architecture mailing list
 architect...@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture




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

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

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




 --
 *Chamin Nalinda*

 Intern - Engineering
 WSO2 Inc. http://www.wso2.com
 lean.enterprise.middleware

 Mobile: (+94) 77 241 66 04
 Linkedin: https://www.linkedin.com/in/chaminnalinda
 Web: http://www.ckreativity.com
 Blog: http

[Dev] Where do we place the third party dependencies required for CLI and Bootstrap?

2014-11-14 Thread Shani Ranasinghe
Hi Azeez/Carbon team/et al.,

If we require any third party dependencies (common-cli/common-deamon) to be
included in the product, for e.g. CLI tools which are not .sh files
(python), dependencies requires for boot strap etc, where is the best place
to place them in the product folder structure?

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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Harsha Kumara

2014-11-06 Thread Shani Ranasinghe
Congrats Harsha!

On Fri, Nov 7, 2014 at 11:05 AM, Thilini Anoratna thili...@wso2.com wrote:

 Congratz Harsha!!  :)

 On Fri, Nov 7, 2014 at 10:53 AM, Buddhima Wijeweera buddh...@wso2.com
 wrote:

 Congratulations Harsha !!!

 On Fri, Nov 7, 2014 at 10:47 AM, Roshan Wijesena ros...@wso2.com wrote:

 Congratulations..!!

 On Fri, Nov 7, 2014 at 10:41 AM, Rajeevan Vimalanathan 
 rajeev...@wso2.com wrote:

 Congratz Harsha...!!!

 On Fri, Nov 7, 2014 at 10:33 AM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Harsha !

 On Fri, Nov 7, 2014 at 10:26 AM, Mahesh Chinthaka mahe...@wso2.com
 wrote:

 Congratulations Harsha

 On Fri, Nov 7, 2014 at 10:17 AM, Prabath Abeysekera 
 praba...@wso2.com wrote:

 Hi Everyone,

 It's my pleasure to welcome Harsha Kumara as a WSO2 Committer.
 Harsha has always been a key member of the Storage Server team 
 contributing
 immensely to SS related developments ever since he joined us a few 
 months
 back. In recognition of his contributions, ownership shown towards the
 tasks/responsibilities assigned to him, and commitment, he's been voted 
 as
 a WSO2 committer.

 Harsha, Welcome aboard and keep up the awesome work!


 Cheers,
 Prabath
 --
 Prabath Abeysekara
 Associate Technical Lead, Data TG.
 WSO2 Inc.
 Email: praba...@wso2.com
 Mobile: +94774171471

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




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

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




 --
 Best Regards,

 Kalpa Welivitigoda
 Software Engineer, WSO2 Inc. http://wso2.com
 Email: kal...@wso2.com
 Mobile: +94776509215

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




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

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

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




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

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




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

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

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




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

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

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




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] integrating IS 5.0 with Active Directory

2014-11-02 Thread Shani Ranasinghe
Hi Akila,


Great. Regarding the time taken to login, you can use DNPatterns to
optimize your search. If you have users in multiple ou's you can use the
# and spearate DNPatterns. for e.g.  a DN pattern can be as follows.
uid={0},ou=marketing,ou=users,dc=wso2,dc=org*#*
uid={0},ou=admin,ou=users,dc=wso2,dc=org*#*uid={0},ou=Users,dc=wso2,dc=org.
This will first search if the user is in the marketing ou then the admin ou
and then the full tree.

By using DNPatterns efficiently you can reduce the time for the user to be
searched through the tree.



On Mon, Nov 3, 2014 at 10:25 AM, Akila Nimantha [IT/EKO/LOITS] 
aki...@lolctech.com wrote:

  Hi Shani  Godwin,



 It works now .. J . problem was in different user attributes as shani
 said. Changed them and now its working good(but still get some more time to
 login..).

 Thank you shani and godwin for your instant support.



 Regards,

 Akila





 *From:* Shani Ranasinghe [mailto:sh...@wso2.com]
 *Sent:* 31 October 2014 6:13 PM
 *To:* Akila Nimantha [IT/EKO/LOITS]
 *Cc:* Dinesh J Weerakkody; Godwin Amila Shrimal; dev@wso2.org

 *Subject:* Re: [Dev] integrating IS 5.0 with Active Directory



 Hi Akila,

 While going through your configuration, I just noticed that the two
 properties UserNameAttribute  and UserNameSearchFilter are refering to
 two different user attributes. Is it done intentionally? Ideally they
 should refer to the same attribute, for e.g. cn or uid or any attribute
 that is uniquely identifiable.

 It is also mentioned in the
 https://docs.wso2.com/display/IS500/Configuring+an+Active+Directory+User+Store
 documentation, point  number 3.

 You can also refer to this
 http://venurakahawala.blogspot.com/2013/10/usernameattribute-and.html
 blog for more information.





 On Fri, Oct 31, 2014 at 4:57 PM, Akila Nimantha [IT/EKO/LOITS] 
 aki...@lolctech.com wrote:

  Hi Dinesh,



 I have Tried in the local machine where connection can be established to
 LOLC.COM . now it says about invalid username password(because of null
 username)..

 Please check the log file attached.



 Regards,

 Akila





 *From:* Dinesh J Weerakkody [mailto:dine...@wso2.com]
 *Sent:* 31 October 2014 12:55 PM


 *To:* Akila Nimantha [IT/EKO/LOITS]
 *Cc:* dev@wso2.org
 *Subject:* Re: [Dev] integrating IS 5.0 with Active Directory



 Hi Akila,

 There is connection issue to your LDAP server (LOLC.COM:389). Just check
 whether the connection can be established from the IS server to LDAP using
 another way (ping or tracert). What I guess is that server cannot find the
 path to LOLC.COM. If you can ping, just give a try using server IP
 instead of server name.

 Thanks,



 On Fri, Oct 31, 2014 at 11:02 AM, Akila Nimantha [IT/EKO/LOITS] 
 aki...@lolctech.com wrote:

  Hi Godwin,



 Enabled the debug mode and still same here. Please check the attachment
 for the new log file.



 Regards,

 Akila







 *From:* Godwin Amila Shrimal [mailto:god...@wso2.com]
 *Sent:* 29 October 2014 5:59 PM


 *To:* Akila Nimantha [IT/EKO/LOITS]
 *Cc:* dev@wso2.org
 *Subject:* Re: [Dev] integrating IS 5.0 with Active Directory



 Hi Akila,



 Can you enable debug mode in Identity Server and recreate the issue and
 send back the log file. Please see below link for enabling debug.




 http://soasecurity.org/2014/02/26/how-to-wso2is-troubleshooting-wso2-identity-server-1/





 On Wed, Oct 29, 2014 at 5:44 PM, Akila Nimantha [IT/EKO/LOITS] 
 aki...@lolctech.com wrote:

  Hi Godwin,



 Please check for the attached log file.



 Regards,

 Akila



 *From:* Godwin Amila Shrimal [mailto:god...@wso2.com]
 *Sent:* 29 October 2014 5:26 PM
 *To:* Akila Nimantha [IT/EKO/LOITS]
 *Cc:* dev@wso2.org
 *Subject:* Re: [Dev] integrating IS 5.0 with Active Directory



 Hi Akila,



 What is there error you are getting when trying to login ? can you send
 the identity server log ?





 Thanks

 Godwin





 On Wed, Oct 29, 2014 at 5:04 PM, Akila Nimantha [IT/EKO/LOITS] 
 aki...@lolctech.com wrote:

  Hi all,



 I have a question regarding integrating IS 5.0 with Active Directory.I've
 setup where i can see all of the AD users and group in IS but I cant login
 to IS with any of the AD credentials.

 Also i've registered the travelocity.com webapp but unable to login
 through the app



 WSO2 IS configuration



Configuration

 AddAdminfalse/AddAdmin

 AdminRoleadmin/AdminRole

 AdminUser


 UserNameFusionUsr/UserName


 PasswordFu$@1234/Password

 /AdminUser

 EveryOneRoleNameeveryone/EveryOneRoleName !-- By default
 users in this role sees the registry root --

 Property name=dataSourcejdbc/WSO2CarbonDB/Property

 /Configuration



 UserStoreManager
 class=org.wso2.carbon.user.core.ldap.ActiveDirectoryUserStoreManager

 Property
 name=TenantManagerorg.wso2.carbon.user.core.tenant.CommonHybridLDAPTenantManager/Property

 Property name=defaultRealmNameLOLC.com/Property

 Property
 name

Re: [Dev] integrating IS 5.0 with Active Directory

2014-10-31 Thread Shani Ranasinghe
 name=GroupSearchBaseDC=LOLC,DC=com/Property

 Property name=GroupEntryObjectClassgroup/Property

 Property name=GroupNameAttributecn/Property

 Property name=SharedGroupNameAttributecn/Property

 Property
 name=SharedGroupSearchBaseou=SharedGroups,dc=wso2,dc=org/Property

 Property name=SharedGroupEntryObjectClassgroups/Property

 Property
 name=SharedTenantNameListFilter(object=organizationalUnit)/Property

 Property name=SharedTenantNameAttributeou/Property

 Property name=SharedTenantObjectClassorganizationalUnit/Property

 Property name=MembershipAttributemember/Property

 Property name=GroupNameListFilter(objectcategory=group)/Property

 Property
 name=GroupNameSearchFilter(amp;(objectClass=group)(cn=?))/Property

 Property name=UserRolesCacheEnabledtrue/Property

 Property name=Referralfollow/Property

 Property name=BackLinksEnabledtrue/Property

 Property name=MaxRoleNameListLength100/Property

 Property name=MaxUserNameListLength100/Property

 Property name=SCIMEnabledfalse/Property

 /UserStoreManager



 Regards,

 Akila

 This message (including any attachments) is intended only for the use of
 the individual or entity to which it is addressed and may contain
 information that is non-public, proprietary, privileged, confidential, and
 exempt from disclosure under applicable law or may constitute as attorney
 work product. If you are not the intended recipient, you are hereby
 notified that any use, dissemination, distribution, or copying of this
 communication is strictly prohibited. If you have received this
 communication in error, notify us immediately by telephone and (i) destroy
 this message if a facsimile or (ii) delete this message immediately if this
 is an electronic communication. Thank you.


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





 --

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

 mobile: *+94772264165 %2B94772264165*

 linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D*

 twitter: https://twitter.com/godwinamila

 This message (including any attachments) is intended only for the use of
 the individual or entity to which it is addressed and may contain
 information that is non-public, proprietary, privileged, confidential, and
 exempt from disclosure under applicable law or may constitute as attorney
 work product. If you are not the intended recipient, you are hereby
 notified that any use, dissemination, distribution, or copying of this
 communication is strictly prohibited. If you have received this
 communication in error, notify us immediately by telephone and (i) destroy
 this message if a facsimile or (ii) delete this message immediately if this
 is an electronic communication. Thank you.





 --

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

 mobile: *+94772264165 %2B94772264165*

 linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D*

 twitter: https://twitter.com/godwinamila

 This message (including any attachments) is intended only for the use of
 the individual or entity to which it is addressed and may contain
 information that is non-public, proprietary, privileged, confidential, and
 exempt from disclosure under applicable law or may constitute as attorney
 work product. If you are not the intended recipient, you are hereby
 notified that any use, dissemination, distribution, or copying of this
 communication is strictly prohibited. If you have received this
 communication in error, notify us immediately by telephone and (i) destroy
 this message if a facsimile or (ii) delete this message immediately if this
 is an electronic communication. Thank you.


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




 --


 *Dinesh J. Weerakkody*

 Software Engineer

 WSO2 Inc.
 lean | enterprise | middleware
 M : +94 727 361788 | E : dine...@wso2.com | W : www.wso2.com

 This message (including any attachments) is intended only for the use of
 the individual or entity to which it is addressed and may contain
 information that is non-public, proprietary, privileged, confidential, and
 exempt from disclosure under applicable law or may constitute as attorney
 work product. If you are not the intended recipient, you are hereby
 notified that any use, dissemination, distribution, or copying of this
 communication is strictly prohibited. If you have received this
 communication in error, notify us immediately by telephone and (i) destroy
 this message if a facsimile or (ii) delete this message immediately if this
 is an electronic communication. Thank you.

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




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

Re: [Dev] Cassandra User Store Manager - Code review

2014-10-15 Thread Shani Ranasinghe
[adding dev@]

Just to add some context, the user store supports limited functionality.
They are

In super tenant mode
  - add/edit/delete user
  - add/edit/delete role
  - attach user to role
  - attach role to user
  - view users
  - view roles


On Wed, Oct 15, 2014 at 12:22 PM, Shani Ranasinghe sh...@wso2.com wrote:


 Hi,

 Attached herewith is the CassandraUserStoreManager.java which I have
 implemented for Carbon 4.2.0.

 Would appreciate if I could get someone from the IS team and a cassandra
 expert to review the code.


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


Re: [Dev] Cassandra User Store Manager - Code review

2014-10-15 Thread Shani Ranasinghe
Hi Prabath,

Actually this is quite urgent as this needs to be shared to two customers.
Hence shared the code in this manner. I just scheduled the code review for
today.

On Wed, Oct 15, 2014 at 12:26 PM, Shani Ranasinghe sh...@wso2.com wrote:

 [adding dev@]

 Just to add some context, the user store supports limited functionality.
 They are

 In super tenant mode
   - add/edit/delete user
   - add/edit/delete role
   - attach user to role
   - attach role to user
   - view users
   - view roles


 On Wed, Oct 15, 2014 at 12:22 PM, Shani Ranasinghe sh...@wso2.com wrote:


 Hi,

 Attached herewith is the CassandraUserStoreManager.java which I have
 implemented for Carbon 4.2.0.

 Would appreciate if I could get someone from the IS team and a cassandra
 expert to review the code.


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




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Cassandra User Store Manager - Code review

2014-10-15 Thread Shani Ranasinghe
Hi Prabath,
Sure will reschedule the formal code review for tomorrow then.

On Wed, Oct 15, 2014 at 12:37 PM, Prabath Abeysekera praba...@wso2.com
wrote:

 If that's the case please get Deep/Bhathiya to do a quick review on the
 Cassandra related aspects of this. We can probably go for a much organized
 code review later.

 Cheers,
 Prabath

 On Wed, Oct 15, 2014 at 12:32 PM, Shani Ranasinghe sh...@wso2.com wrote:

 Hi Prabath,

 Actually this is quite urgent as this needs to be shared to two
 customers. Hence shared the code in this manner. I just scheduled the code
 review for today.

 On Wed, Oct 15, 2014 at 12:26 PM, Shani Ranasinghe sh...@wso2.com
 wrote:

 [adding dev@]

 Just to add some context, the user store supports limited functionality.
 They are

 In super tenant mode
   - add/edit/delete user
   - add/edit/delete role
   - attach user to role
   - attach role to user
   - view users
   - view roles


 On Wed, Oct 15, 2014 at 12:22 PM, Shani Ranasinghe sh...@wso2.com
 wrote:


 Hi,

 Attached herewith is the CassandraUserStoreManager.java which I have
 implemented for Carbon 4.2.0.

 Would appreciate if I could get someone from the IS team and a
 cassandra expert to review the code.


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




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




 --
 Prabath Abeysekara
 Associate Technical Lead, Data TG.
 WSO2 Inc.
 Email: praba...@wso2.com
 Mobile: +94774171471




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Cassandra User Store Manager - Code review

2014-10-15 Thread Shani Ranasinghe
Please find the keyspace schema for the user store.

CREATE TABLE UM_USER (
  KEY blob PRIMARY KEY
) WITH
  comment='' AND
  comparator=blob AND
  read_repair_chance=0.00 AND
  gc_grace_seconds=0 AND
  default_validation=blob AND
  min_compaction_threshold=4 AND
  max_compaction_threshold=32 AND
  replicate_on_write='false' AND
  compaction_strategy_class='SizeTieredCompactionStrategy' AND
  compression_parameters:sstable_compression='SnappyCompressor';

CREATE TABLE UM_USER_ROLE (
  KEY blob PRIMARY KEY
) WITH
  comment='' AND
  comparator=blob AND
  read_repair_chance=0.00 AND
  gc_grace_seconds=0 AND
  default_validation=blob AND
  min_compaction_threshold=4 AND
  max_compaction_threshold=32 AND
  replicate_on_write='false' AND
  compaction_strategy_class='SizeTieredCompactionStrategy' AND
  compression_parameters:sstable_compression='SnappyCompressor';

CREATE TABLE UM_ROLE_USER_INDEX (
  KEY blob PRIMARY KEY
) WITH
  comment='' AND
  comparator=blob AND
  read_repair_chance=0.00 AND
  gc_grace_seconds=0 AND
  default_validation=blob AND
  min_compaction_threshold=4 AND
  max_compaction_threshold=32 AND
  replicate_on_write='false' AND
  compaction_strategy_class='SizeTieredCompactionStrategy' AND
  compression_parameters:sstable_compression='SnappyCompressor';

CREATE TABLE UM_ROLE (
  KEY blob PRIMARY KEY
) WITH
  comment='' AND
  comparator=blob AND
  read_repair_chance=0.00 AND
  gc_grace_seconds=0 AND
  default_validation=blob AND
  min_compaction_threshold=4 AND
  max_compaction_threshold=32 AND
  replicate_on_write='false' AND
  compaction_strategy_class='SizeTieredCompactionStrategy' AND
  compression_parameters:sstable_compression='SnappyCompressor';

CREATE TABLE UM_USER_ATTRIBUTE (
  KEY blob PRIMARY KEY
) WITH
  comment='' AND
  comparator=blob AND
  read_repair_chance=0.00 AND
  gc_grace_seconds=0 AND
  default_validation=blob AND
  min_compaction_threshold=4 AND
  max_compaction_threshold=32 AND
  replicate_on_write='false' AND
  compaction_strategy_class='SizeTieredCompactionStrategy' AND
  compression_parameters:sstable_compression='SnappyCompressor';


On Wed, Oct 15, 2014 at 2:15 PM, Deependra Ariyadewa d...@wso2.com wrote:

 @Shani Please share the user mgt schema.

 On Wed, Oct 15, 2014 at 12:37 PM, Prabath Abeysekera praba...@wso2.com
 wrote:

 If that's the case please get Deep/Bhathiya to do a quick review on the
 Cassandra related aspects of this. We can probably go for a much organized
 code review later.

 Cheers,
 Prabath

 On Wed, Oct 15, 2014 at 12:32 PM, Shani Ranasinghe sh...@wso2.com
 wrote:

 Hi Prabath,

 Actually this is quite urgent as this needs to be shared to two
 customers. Hence shared the code in this manner. I just scheduled the code
 review for today.

 On Wed, Oct 15, 2014 at 12:26 PM, Shani Ranasinghe sh...@wso2.com
 wrote:

 [adding dev@]

 Just to add some context, the user store supports limited
 functionality. They are

 In super tenant mode
   - add/edit/delete user
   - add/edit/delete role
   - attach user to role
   - attach role to user
   - view users
   - view roles


 On Wed, Oct 15, 2014 at 12:22 PM, Shani Ranasinghe sh...@wso2.com
 wrote:


 Hi,

 Attached herewith is the CassandraUserStoreManager.java which I have
 implemented for Carbon 4.2.0.

 Would appreciate if I could get someone from the IS team and a
 cassandra expert to review the code.


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




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




 --
 Prabath Abeysekara
 Associate Technical Lead, Data TG.
 WSO2 Inc.
 Email: praba...@wso2.com
 Mobile: +94774171471




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

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

 *WSO2 - Lean . Enterprise . Middleware*




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Cassandra User Store Manager - Code review

2014-10-15 Thread Shani Ranasinghe
Hi,

I have also attached the full source of the jar.

On Wed, Oct 15, 2014 at 2:17 PM, Shani Ranasinghe sh...@wso2.com wrote:

 Please find the keyspace schema for the user store.

 CREATE TABLE UM_USER (
   KEY blob PRIMARY KEY
 ) WITH
   comment='' AND
   comparator=blob AND
   read_repair_chance=0.00 AND
   gc_grace_seconds=0 AND
   default_validation=blob AND
   min_compaction_threshold=4 AND
   max_compaction_threshold=32 AND
   replicate_on_write='false' AND
   compaction_strategy_class='SizeTieredCompactionStrategy' AND
   compression_parameters:sstable_compression='SnappyCompressor';

 CREATE TABLE UM_USER_ROLE (
   KEY blob PRIMARY KEY
 ) WITH
   comment='' AND
   comparator=blob AND
   read_repair_chance=0.00 AND
   gc_grace_seconds=0 AND
   default_validation=blob AND
   min_compaction_threshold=4 AND
   max_compaction_threshold=32 AND
   replicate_on_write='false' AND
   compaction_strategy_class='SizeTieredCompactionStrategy' AND
   compression_parameters:sstable_compression='SnappyCompressor';

 CREATE TABLE UM_ROLE_USER_INDEX (
   KEY blob PRIMARY KEY
 ) WITH
   comment='' AND
   comparator=blob AND
   read_repair_chance=0.00 AND
   gc_grace_seconds=0 AND
   default_validation=blob AND
   min_compaction_threshold=4 AND
   max_compaction_threshold=32 AND
   replicate_on_write='false' AND
   compaction_strategy_class='SizeTieredCompactionStrategy' AND
   compression_parameters:sstable_compression='SnappyCompressor';

 CREATE TABLE UM_ROLE (
   KEY blob PRIMARY KEY
 ) WITH
   comment='' AND
   comparator=blob AND
   read_repair_chance=0.00 AND
   gc_grace_seconds=0 AND
   default_validation=blob AND
   min_compaction_threshold=4 AND
   max_compaction_threshold=32 AND
   replicate_on_write='false' AND
   compaction_strategy_class='SizeTieredCompactionStrategy' AND
   compression_parameters:sstable_compression='SnappyCompressor';

 CREATE TABLE UM_USER_ATTRIBUTE (
   KEY blob PRIMARY KEY
 ) WITH
   comment='' AND
   comparator=blob AND
   read_repair_chance=0.00 AND
   gc_grace_seconds=0 AND
   default_validation=blob AND
   min_compaction_threshold=4 AND
   max_compaction_threshold=32 AND
   replicate_on_write='false' AND
   compaction_strategy_class='SizeTieredCompactionStrategy' AND
   compression_parameters:sstable_compression='SnappyCompressor';


 On Wed, Oct 15, 2014 at 2:15 PM, Deependra Ariyadewa d...@wso2.com
 wrote:

 @Shani Please share the user mgt schema.

 On Wed, Oct 15, 2014 at 12:37 PM, Prabath Abeysekera praba...@wso2.com
 wrote:

 If that's the case please get Deep/Bhathiya to do a quick review on the
 Cassandra related aspects of this. We can probably go for a much organized
 code review later.

 Cheers,
 Prabath

 On Wed, Oct 15, 2014 at 12:32 PM, Shani Ranasinghe sh...@wso2.com
 wrote:

 Hi Prabath,

 Actually this is quite urgent as this needs to be shared to two
 customers. Hence shared the code in this manner. I just scheduled the code
 review for today.

 On Wed, Oct 15, 2014 at 12:26 PM, Shani Ranasinghe sh...@wso2.com
 wrote:

 [adding dev@]

 Just to add some context, the user store supports limited
 functionality. They are

 In super tenant mode
   - add/edit/delete user
   - add/edit/delete role
   - attach user to role
   - attach role to user
   - view users
   - view roles


 On Wed, Oct 15, 2014 at 12:22 PM, Shani Ranasinghe sh...@wso2.com
 wrote:


 Hi,

 Attached herewith is the CassandraUserStoreManager.java which I have
 implemented for Carbon 4.2.0.

 Would appreciate if I could get someone from the IS team and a
 cassandra expert to review the code.


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




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




 --
 Prabath Abeysekara
 Associate Technical Lead, Data TG.
 WSO2 Inc.
 Email: praba...@wso2.com
 Mobile: +94774171471




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

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

 *WSO2 - Lean . Enterprise . Middleware*




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


cassandra-userstore.tar.gz

Re: [Dev] Cassandra User Store Manager - Code review

2014-10-15 Thread Shani Ranasinghe
Hi All,
I have made some improvements to the cassandra queries in the class.
Attached is the modified version. Basically I got rid of RangeSliceQueries
and used other types of queries in instances when I could.

On Wed, Oct 15, 2014 at 2:20 PM, Shani Ranasinghe sh...@wso2.com wrote:

 Hi,

 I have also attached the full source of the jar.

 On Wed, Oct 15, 2014 at 2:17 PM, Shani Ranasinghe sh...@wso2.com wrote:

 Please find the keyspace schema for the user store.

 CREATE TABLE UM_USER (
   KEY blob PRIMARY KEY
 ) WITH
   comment='' AND
   comparator=blob AND
   read_repair_chance=0.00 AND
   gc_grace_seconds=0 AND
   default_validation=blob AND
   min_compaction_threshold=4 AND
   max_compaction_threshold=32 AND
   replicate_on_write='false' AND
   compaction_strategy_class='SizeTieredCompactionStrategy' AND
   compression_parameters:sstable_compression='SnappyCompressor';

 CREATE TABLE UM_USER_ROLE (
   KEY blob PRIMARY KEY
 ) WITH
   comment='' AND
   comparator=blob AND
   read_repair_chance=0.00 AND
   gc_grace_seconds=0 AND
   default_validation=blob AND
   min_compaction_threshold=4 AND
   max_compaction_threshold=32 AND
   replicate_on_write='false' AND
   compaction_strategy_class='SizeTieredCompactionStrategy' AND
   compression_parameters:sstable_compression='SnappyCompressor';

 CREATE TABLE UM_ROLE_USER_INDEX (
   KEY blob PRIMARY KEY
 ) WITH
   comment='' AND
   comparator=blob AND
   read_repair_chance=0.00 AND
   gc_grace_seconds=0 AND
   default_validation=blob AND
   min_compaction_threshold=4 AND
   max_compaction_threshold=32 AND
   replicate_on_write='false' AND
   compaction_strategy_class='SizeTieredCompactionStrategy' AND
   compression_parameters:sstable_compression='SnappyCompressor';

 CREATE TABLE UM_ROLE (
   KEY blob PRIMARY KEY
 ) WITH
   comment='' AND
   comparator=blob AND
   read_repair_chance=0.00 AND
   gc_grace_seconds=0 AND
   default_validation=blob AND
   min_compaction_threshold=4 AND
   max_compaction_threshold=32 AND
   replicate_on_write='false' AND
   compaction_strategy_class='SizeTieredCompactionStrategy' AND
   compression_parameters:sstable_compression='SnappyCompressor';

 CREATE TABLE UM_USER_ATTRIBUTE (
   KEY blob PRIMARY KEY
 ) WITH
   comment='' AND
   comparator=blob AND
   read_repair_chance=0.00 AND
   gc_grace_seconds=0 AND
   default_validation=blob AND
   min_compaction_threshold=4 AND
   max_compaction_threshold=32 AND
   replicate_on_write='false' AND
   compaction_strategy_class='SizeTieredCompactionStrategy' AND
   compression_parameters:sstable_compression='SnappyCompressor';


 On Wed, Oct 15, 2014 at 2:15 PM, Deependra Ariyadewa d...@wso2.com
 wrote:

 @Shani Please share the user mgt schema.

 On Wed, Oct 15, 2014 at 12:37 PM, Prabath Abeysekera praba...@wso2.com
 wrote:

 If that's the case please get Deep/Bhathiya to do a quick review on the
 Cassandra related aspects of this. We can probably go for a much organized
 code review later.

 Cheers,
 Prabath

 On Wed, Oct 15, 2014 at 12:32 PM, Shani Ranasinghe sh...@wso2.com
 wrote:

 Hi Prabath,

 Actually this is quite urgent as this needs to be shared to two
 customers. Hence shared the code in this manner. I just scheduled the code
 review for today.

 On Wed, Oct 15, 2014 at 12:26 PM, Shani Ranasinghe sh...@wso2.com
 wrote:

 [adding dev@]

 Just to add some context, the user store supports limited
 functionality. They are

 In super tenant mode
   - add/edit/delete user
   - add/edit/delete role
   - attach user to role
   - attach role to user
   - view users
   - view roles


 On Wed, Oct 15, 2014 at 12:22 PM, Shani Ranasinghe sh...@wso2.com
 wrote:


 Hi,

 Attached herewith is the CassandraUserStoreManager.java which I have
 implemented for Carbon 4.2.0.

 Would appreciate if I could get someone from the IS team and a
 cassandra expert to review the code.


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




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




 --
 Prabath Abeysekara
 Associate Technical Lead, Data TG.
 WSO2 Inc.
 Email: praba...@wso2.com
 Mobile: +94774171471




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

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

 *WSO2 - Lean . Enterprise . Middleware*




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

 mobile: +94 77 2273555

Re: [Dev] Cassandra User Store Manager - Code review

2014-10-15 Thread Shani Ranasinghe
Hi,

The Schema Structure is as follows. UM_USER_ATTRIBUTE is not used (claim
handling is not supported in this version of the user store), but the
column family is created.



CF Name

Description

Composite key

columns

example

UM_USER

Stores users

userName,tenantID


e.g(�user5��-1234�)

KEY,SaltValue,UM_REQUIRE_CHANGE
BOOLEAN,UM_TENANT_ID,UM_USER_ID,UM_USER_NAME,secret

KEY,00057573657235052d3132333400 | SaltValue,uMDOiQI9wvFUzcczLXwvHQ== |
UM_REQUIRE_CHANGE BOOLEAN,false | UM_TENANT_ID,-1234 |
UM_USER_ID,a3b054e8-4823-4257-9f9d-36d3b1a09b9b | UM_USER_NAME,user5 |
secret,9u2+C9/BZv/0F5dVUo956NvwwNZV9Yi2RlFosOtWrZg=

UM_ROLE

Stores roles

roleName, tenantId


e.g.(�role8787��-1234�)

KEY,UM_ROLE_NAME,UM_TENANT_ID,

KEY,0008726f6c6538373837052d3132333400| UM_ROLE_NAME,role8787 |
UM_TENANT_ID,-1234

UM_USER_ROLE

mapps the user to the role list

userName,tenantId


e.g.�testUser1��-1234�

KEY,rolename

KEY,0009746573745573657231052d3132333400(�testUser1��-1234�) |
role88,role88 | testRole1,testRole1 | testRole3,testRole3 |
testrole2,testrole2

UM_ROLE_USER_INDEX

keeps the user list mapped to a role

roleName,tenantId


e.g.�testRole1��-1234�

KEY,userName

KEY,000974657374526f6c6531052d3132333400(�testRole1��-1234�) |
testUser1,testUser1 | tuser1,tuser1 | user1,user1 | user8,user8 |
user87,user87






On Wed, Oct 15, 2014 at 5:38 PM, Shani Ranasinghe sh...@wso2.com wrote:

 Hi All,
 I have made some improvements to the cassandra queries in the class.
 Attached is the modified version. Basically I got rid of RangeSliceQueries
 and used other types of queries in instances when I could.

 On Wed, Oct 15, 2014 at 2:20 PM, Shani Ranasinghe sh...@wso2.com wrote:

 Hi,

 I have also attached the full source of the jar.

 On Wed, Oct 15, 2014 at 2:17 PM, Shani Ranasinghe sh...@wso2.com wrote:

 Please find the keyspace schema for the user store.

 CREATE TABLE UM_USER (
   KEY blob PRIMARY KEY
 ) WITH
   comment='' AND
   comparator=blob AND
   read_repair_chance=0.00 AND
   gc_grace_seconds=0 AND
   default_validation=blob AND
   min_compaction_threshold=4 AND
   max_compaction_threshold=32 AND
   replicate_on_write='false' AND
   compaction_strategy_class='SizeTieredCompactionStrategy' AND
   compression_parameters:sstable_compression='SnappyCompressor';

 CREATE TABLE UM_USER_ROLE (
   KEY blob PRIMARY KEY
 ) WITH
   comment='' AND
   comparator=blob AND
   read_repair_chance=0.00 AND
   gc_grace_seconds=0 AND
   default_validation=blob AND
   min_compaction_threshold=4 AND
   max_compaction_threshold=32 AND
   replicate_on_write='false' AND
   compaction_strategy_class='SizeTieredCompactionStrategy' AND
   compression_parameters:sstable_compression='SnappyCompressor';

 CREATE TABLE UM_ROLE_USER_INDEX (
   KEY blob PRIMARY KEY
 ) WITH
   comment='' AND
   comparator=blob AND
   read_repair_chance=0.00 AND
   gc_grace_seconds=0 AND
   default_validation=blob AND
   min_compaction_threshold=4 AND
   max_compaction_threshold=32 AND
   replicate_on_write='false' AND
   compaction_strategy_class='SizeTieredCompactionStrategy' AND
   compression_parameters:sstable_compression='SnappyCompressor';

 CREATE TABLE UM_ROLE (
   KEY blob PRIMARY KEY
 ) WITH
   comment='' AND
   comparator=blob AND
   read_repair_chance=0.00 AND
   gc_grace_seconds=0 AND
   default_validation=blob AND
   min_compaction_threshold=4 AND
   max_compaction_threshold=32 AND
   replicate_on_write='false' AND
   compaction_strategy_class='SizeTieredCompactionStrategy' AND
   compression_parameters:sstable_compression='SnappyCompressor';

 CREATE TABLE UM_USER_ATTRIBUTE (
   KEY blob PRIMARY KEY
 ) WITH
   comment='' AND
   comparator=blob AND
   read_repair_chance=0.00 AND
   gc_grace_seconds=0 AND
   default_validation=blob AND
   min_compaction_threshold=4 AND
   max_compaction_threshold=32 AND
   replicate_on_write='false' AND
   compaction_strategy_class='SizeTieredCompactionStrategy' AND
   compression_parameters:sstable_compression='SnappyCompressor';


 On Wed, Oct 15, 2014 at 2:15 PM, Deependra Ariyadewa d...@wso2.com
 wrote:

 @Shani Please share the user mgt schema.

 On Wed, Oct 15, 2014 at 12:37 PM, Prabath Abeysekera praba...@wso2.com
  wrote:

 If that's the case please get Deep/Bhathiya to do a quick review on
 the Cassandra related aspects of this. We can probably go for a much
 organized code review later.

 Cheers,
 Prabath

 On Wed, Oct 15, 2014 at 12:32 PM, Shani Ranasinghe sh...@wso2.com
 wrote:

 Hi Prabath,

 Actually this is quite urgent as this needs to be shared to two
 customers. Hence shared the code in this manner. I just scheduled the 
 code
 review for today.

 On Wed, Oct 15, 2014 at 12:26 PM, Shani Ranasinghe sh...@wso2.com
 wrote:

 [adding dev@]

 Just to add some context, the user store supports limited
 functionality. They are

 In super tenant mode
   - add/edit/delete user
   - add/edit/delete role
   - attach user to role
   - attach role to user

Re: [Dev] WSO2 DSS logs out before session timeout

2014-09-26 Thread Shani Ranasinghe
Hi Chamin,

These type of queries should be sent to the dev@ mailing list. Hence adding.

Regarding your query, you are probably using the try it tool on DSS 3.1.1
is it? If so, it is a known issue.

There are issues reported against this.  [1]

[1]
https://wso2.org/jira/browse/WSAS-1549?jql=text%20~%20%22ERROR%20org.wso2.carbon.statistics.ui.StatisticsAdminClient%20Cannot%20get%20service%20stats%22
https://wso2.org/jira/browse/WSAS-1549?jql=text%20%7E%20%22ERROR%20org.wso2.carbon.statistics.ui.StatisticsAdminClient%20Cannot%20get%20service%20stats%22

You can refer the mailing thread [Dev] DSS:The input stream for an
incoming message is null, where the same issue has been discussed.




On Fri, Sep 26, 2014 at 11:33 AM, Chamin Nalinda cha...@wso2.com wrote:

 What is the reason behind WSO2 DSS to sign out automatically before the
 session timeout (i.e. 15 minutes)

 When ever I try to navigate to a new sample after completing one, DSS has
 logged out automatically.

 Can someone explain this ? ( I reckon this is not an error or something :)
 )

 --
 *Chamin Nalinda*

 Intern - Engineering
 WSO2 Inc. http://www.wso2.com
 lean.enterprise.middleware

 Mobile: (+94) 77 241 66 04
 Linkedin: https://www.linkedin.com/in/chaminnalinda
 Web: http://www.ckreativity.com




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Help understand ESB sample 1

2014-09-23 Thread Shani Ranasinghe
Hi Lahiru,

in your log you would have noticed the  text  INFO - LogMediator To:
/services/StockQuote,, this is what it gets filtered by the filter
mediator. It's an Axis2 option to set WS-Addressing To endpoint. These
options are not included in the Soap message in this case. For the sample
execution what is mentioned in the docs is to use -Dtrpurl which is
specifying the transport URL. If you specify the addurl (-Daddurl together
with -Dtrpurl) which is the address Url this property will be included
because of the different ways they are handled.

You can read more on this from the followings.
[1]
http://axis.apache.org/axis2/java/core/api/org/apache/axis2/client/Options.html
[2] https://docs.wso2.com/display/ESB481/Synapse+XPath+Variables
[3] http://synapse.apache.org/1_0/samples_setup.html - This is an old
documentation. I could not find any reference to WSO2 documentation
regarding the smart client mode, dumb client mode and Proxy client mode.
[4] https://docs.wso2.com/display/ESB481/Filter+Mediator
[5] http://wso2.com/library/2561/





On Tue, Sep 23, 2014 at 5:43 PM, Lahiru Chandima lahi...@wso2.com wrote:

 Hi All,

 I am running examples provided with WSO2 ESB to get familiar with it.

 Sample 1 [1
 https://docs.wso2.com/display/ESB481/Sample+1%3A+Simple+Content-Based+Routing+%28CBR%29+of+Messages],
 explains how to use a filter mediator. The filter used is as follows

 filter source=get-property('To') regex=.*/StockQuote.*

 As per the documentation, this filters the To EPR of the message, that
 means, the To property of the soap header of the message as I understood.

 But, when I checked the input soap message (I used a log mediator to log
 the incoming message), the soap header does not have a To property. The
 soap header of the message is given bellow. But, the message somehow gets
 routed to the Axis2 service.

 soapenv:Header xmlns:wsa=http://www.w3.org/2005/08/addressing;
 
 wsa:MessageIDurn:uuid:7479f6f7-d302-41f1-a7de-4b35f64ad366/wsa:MessageID
 wsa:Actionurn:getQuote/wsa:Action/soapenv:Header



 Can somebody please explain how this happens?

 Thanks.

 [1]
 https://docs.wso2.com/display/ESB481/Sample+1%3A+Simple+Content-Based+Routing+%28CBR%29+of+Messages
 --
 Lahiru Chandima
 *Senior Software Engineer*
 Mobile : +94 (0) 772 253283
 lahi...@wso2.com

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




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Announce] WSO2 Committers += Jayanga Dissanayake

2014-08-05 Thread Shani Ranasinghe
Congratulations Jayanga.. :)


On Wed, Aug 6, 2014 at 9:47 AM, Kavith Lokuhewage kav...@wso2.com wrote:

 congradz Jayanga!!!


 On Wed, Aug 6, 2014 at 9:41 AM, Nipuni Perera nip...@wso2.com wrote:

 Congratz Jayanga




 On Wed, Aug 6, 2014 at 1:36 AM, Isuruwan Herath isuru...@wso2.com
 wrote:

 Congrats Jayanga!!!


 On Tue, Aug 5, 2014 at 7:36 AM, Dakshika Jayathilaka daksh...@wso2.com
 wrote:

 Congratulations Jayanga!!

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


 On Tue, Aug 5, 2014 at 10:59 AM, Sajith Ravindra saji...@wso2.com
 wrote:

 Congrads jayanga


 Thanks
 *, Sajith Ravindra*
 Senior Software Engineer

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

 mobile: +94 77 2273550
 blog: http://sajithr.blogspot.com/
 http://lk.linkedin.com/pub/shani-ranasinghe/34/111/ab


 On Tue, Aug 5, 2014 at 11:10 AM, Sameera Jayasoma same...@wso2.com
 wrote:

  Hello Folks,

 In recognition of his contributions to WSO2 Carbon as well as to WSO2
 in various forms, we are pleased to announce the WSO2 committership of
 Jayanga Dissanayake.

 Jayanga has contributed in many areas, including Development
 Governance Project for C5, Operation Center. We look forward to his
 valuable involvement as a WSO2 committer.

 Jayanga, welcome to WSO2 Committer's club. Please join us in
 congratulating him.

 Thanks,
 Sameera.

 --
 Sameera Jayasoma,
 Software Architect,

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

 Lean . Enterprise . Middleware


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



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



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




 --
 Isuruwan Herath
 Technical Lead

 Contact: +94 776 273 296

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




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


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




 --
 *Kavith Lokuhewage*
 Software Engineer
 WSO2 Inc. - http://wso2.com
 lean . enterprise . middleware
 Mobile - +9477-9-145-123 | +9471-455-6-401
 Linkedin http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419
 Twitter https://twitter.com/KavithThiranga

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




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Kavith Lokuhewage

2014-08-04 Thread Shani Ranasinghe
Congratulations Kavith.


On Mon, Aug 4, 2014 at 11:41 AM, Jasintha Dasanayake jasin...@wso2.com
wrote:

 Hi All,

 It's my distinct pleasure to welcome kavith Lokuhewage as a WSO2 Committer.

 Kavith has  been a valuable contributor for WSO2 Developer Studio since he
 joined WSO2. In recognition of his contributions to WSO2, he has been voted
 as a WSO2 Committer.

 Kavith, Congratulations and Keep up the good work!

 Thanks and Regards,
 /Jasintha

 --

 *Jasintha Dasanayake *

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


 *mobile :- 0711368118*

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




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Sajith Ravindra

2014-07-23 Thread Shani Ranasinghe
Congrats..


On Wed, Jul 23, 2014 at 4:26 PM, Dunith Dhanushka dun...@wso2.com wrote:

 Congrats Sajith!

 -Duntih


 On Wed, Jul 23, 2014 at 4:20 PM, Dilini Muthumala dil...@wso2.com wrote:

 Congrats Sajith!! :)


 On Wed, Jul 23, 2014 at 4:18 PM, Malintha Adikari malin...@wso2.com
 wrote:

 Congratulations Sajith..


 Regards,
 Malintha Adikari


 On Wed, Jul 23, 2014 at 3:42 PM, Sriskandarajah Suhothayan 
 s...@wso2.com wrote:


 Hi All,

 It's my pleasure to announce Sajith Ravindra as a WSO2 Committer.
 SajithR has been a valuable contributor for WSO2 CEP product and in
 recognition of his contributions to WSO2, he has been voted as a
 WSO2Committer.

 Sajith, Congratulations and Keep up the good work!

 Thanks and Regards,
 Suho

 --

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


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

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




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

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

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




 --
 *Dilini Muthumala*
 Software Engineer,
 WSO2 Inc.

  *E-mail :* dil...@wso2.com
 *Mobile: *+94713 400 029

 ___
 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




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Isura Karunaratne

2014-07-23 Thread Shani Ranasinghe
Congrats ...


On Wed, Jul 23, 2014 at 7:04 PM, Dulanja Liyanage dula...@wso2.com wrote:

 Congratulations Isura!


 On Wed, Jul 23, 2014 at 4:30 PM, Johann Nallathamby joh...@wso2.com
 wrote:

 Hi All,

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

 Isura, Congratulations and Keep up the good work!

 Thanks  Regards,
 Johann.

 --
 Thanks  Regards,

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

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

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




 --
 Dulanja Liyanage
 WSO2 Inc.
 M: +94776764717

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




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Prasad Tissera

2014-07-23 Thread Shani Ranasinghe
Congrats ...


On Wed, Jul 23, 2014 at 7:05 PM, Dulanja Liyanage dula...@wso2.com wrote:

 Congratulations Prasad!


 On Wed, Jul 23, 2014 at 4:28 PM, Johann Nallathamby joh...@wso2.com
 wrote:

 Hi All,

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

 Prasad, Congratulations and Keep up the good work!

 Thanks  Regards,
 Johann.

 --
 Thanks  Regards,

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

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

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




 --
 Dulanja Liyanage
 WSO2 Inc.
 M: +94776764717

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




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Thanuja Jayasinghe

2014-07-23 Thread Shani Ranasinghe
Congrats ...


On Wed, Jul 23, 2014 at 7:06 PM, Dulanja Liyanage dula...@wso2.com wrote:

 Congratulations Thanuja!


 On Wed, Jul 23, 2014 at 4:27 PM, Johann Nallathamby joh...@wso2.com
 wrote:

 Hi All,

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

 Thanuja, Congratulations and Keep up the good work!

 Thanks  Regards,
 Johann.

 --
 Thanks  Regards,

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

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

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




 --
 Dulanja Liyanage
 WSO2 Inc.
 M: +94776764717

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




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Which Hadoop version should we support in SS 1.5.0 ?

2014-07-14 Thread Shani Ranasinghe
Hi,

The latest release is 2.4.1. Which is a bug fix release for the 2.4.x line,
released on the 30th of June 2014. This release has a fix for a security
bug and they recommend users to move to this version immediately.

Or we could also use the 2.2.0 which is the GA release of 2.x, released in
October 2013.

Should we go ahead with 2.4.1?


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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Which Hadoop version should we support in SS 1.5.0 ?

2014-07-14 Thread Shani Ranasinghe
Hi,



On Mon, Jul 14, 2014 at 2:16 PM, Prabath Abeysekera praba...@wso2.com
wrote:

 Did we check with the community as to how stable v241 is?

I have asked the community. Will update when I get a reply.


 I don't quite see any issue in adapting the aforesaid version as a
 starting point, if it is considered stable and has adequate support for all
 the expected functionalities. If we come across any limitation while we're
 into further developments with the adapted version, then it's always
 possible for us to go for any future (stable) version too, as the situation
 demands.

+1.


 BTW, please also talk to BAM team and see if we could align their plans of
 going for a newer version of Hadoop, with ours so that both parties can
 benefit out of this effort.

Spoke to Anjana,  the product might have a major release  and the plans are
not concrete, Anjana could provide more insight into this. However, they
are fine with the upgrade in SS, and if by that time they too do a release
and include Hadoop in the pack, they will most probably upgrade to the
latest version.


 Cheers,
 Prabath


 On Mon, Jul 14, 2014 at 12:15 PM, Shani Ranasinghe sh...@wso2.com wrote:


 Hi,

 The latest release is 2.4.1. Which is a bug fix release for the 2.4.x
 line, released on the 30th of June 2014. This release has a fix for a
 security bug and they recommend users to move to this version immediately.

 Or we could also use the 2.2.0 which is the GA release of 2.x, released
 in October 2013.

 Should we go ahead with 2.4.1?


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




 --
 Prabath Abeysekara
 Associate Technical Lead, Data TG.
 WSO2 Inc.
 Email: praba...@wso2.com
 Mobile: +94774171471




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Shazni Nazir

2014-06-04 Thread Shani Ranasinghe
Congrats


On Wed, Jun 4, 2014 at 6:26 AM, Isuruwan Herath isuru...@wso2.com wrote:

 Congratz Shazni !!!


 On Wed, Jun 4, 2014 at 3:28 AM, Amal Gunatilake am...@wso2.com wrote:

 Congratz Shazni ! :)

 Thank you   Best regards,

 *Amal Gunatilake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware


 On Wed, Jun 4, 2014 at 11:13 AM, Gayan Yalpathwala gay...@wso2.com
 wrote:

 Congratulations Shazni!!


 On Wed, Jun 4, 2014 at 11:06 AM, Tishan Dahanayakage tis...@wso2.com
 wrote:

 Congratz Shazni!


 On Wed, Jun 4, 2014 at 11:04 AM, Nufail Mohamed nuf...@wso2.com
 wrote:

 Congrats Shazni


 On Wed, Jun 4, 2014 at 10:56 AM, Lali Devamanthri l...@wso2.com
 wrote:

 Congrats Shazni


 On Tue, Jun 3, 2014 at 7:51 PM, Pulasthi Supun pulas...@wso2.com
 wrote:

 Congrats Shazni!!




 On Tue, Jun 3, 2014 at 7:49 PM, Subash Chaturanga sub...@wso2.com
 wrote:

 Hi all,
 It's my pleasure to announce Shazni as a WSO2 Committer. Shazni has
 done great contributions to G-Reg product and showed very good 
 enthusiasm
 in his work. And in recognition of his contribution he has been voted 
 as a
 wso2 commiter.

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

 --
 Thanks
 /subash

 *Subash Chaturanga*
 Senior Software Engineer :Platform TG; WSO2 Inc. http://wso2.com

 email: sub...@wso2.com
 blog:  http://subashsdm.blogspot.com/
 twitter: @subash89
 phone: +9477 2225922
 Lean . Enterprise . Middleware

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




 --
 --
 Pulasthi Supun
 Software Engineer; WSO2 Inc.; http://wso2.com,
 Email: pulas...@wso2.com
 Mobile: +94 (71) 9258281
 Blog : http://pulasthisupun.blogspot.com/
 Git hub profile: https://github.com/pulasthi

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




 --
 *Lali Sudaththa Devamanthri*
 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 71 895 4922
  http://www.wso2.com

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



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




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

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

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




 --
 *Gayan Kaushalya Yalpathwala*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 71 8682704 http://asia14.wso2con.com/

  http://asia14.wso2con.com/

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



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




 --
 Isuruwan Herath
 Technical Lead

 Contact: +94 776 273 296

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




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Sohani Weerasinghe

2014-05-30 Thread Shani Ranasinghe
Congrats Sohani


On Thu, May 29, 2014 at 11:05 PM, Srisunmugaraja Paraparan 
parapa...@wso2.com wrote:

 Congratulations!!!


 On Fri, May 30, 2014 at 11:35 AM, Dunith Dhanushka dun...@wso2.com
 wrote:

 Congratulations!

 Regards,
 Dunith


 On Fri, May 30, 2014 at 11:23 AM, Shazni Nazeer sha...@wso2.com wrote:

 Congratulations!!!

 Shazni Nazeer

 Senior Software Engineer

 Mob : +94 715 440 607
 LinkedIn : http://lk.linkedin.com/in/shazninazeer
 Blog : http://shazninazeer.blogspot.com


 On Fri, May 30, 2014 at 11:19 AM, Melan Nimesh me...@wso2.com wrote:

 Congratulations!


 On Fri, May 30, 2014 at 11:17 AM, Aruna Karunarathna ar...@wso2.com
 wrote:

 Congratulations...!!!


 On Fri, May 30, 2014 at 11:14 AM, Susankha Nirmala susan...@wso2.com
 wrote:

 Congratulations!!!


  On Fri, May 30, 2014 at 11:06 AM, Jasintha Dasanayake 
 jasin...@wso2.com wrote:

 Hi All,

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

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

 Sohani, Congratulations and Keep up the good work!

 Thanks and Regards,
 /Jasintha


 --

 *Jasintha Dasanayake *

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


 *mobile :- 0711368118*

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




 --
 Susankha Nirmala
 Software Engineer
  WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 Mobile : +94 77 593 2146

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




 --

 * Aruna Sujith Karunarathna* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 9040362 | Work: +94 112145345
 Email: ar...@wso2.com | Web: www.wso2.com


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




 --
 *Melan Nimesh*
 Software Engineer;
 WSO2 Inc.;  http://wso2.org
 E-mail: melan AT wso2.com;
 Mobile: +94 77 631 6759


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



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




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




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

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

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




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Lali Devamanthri

2014-05-30 Thread Shani Ranasinghe
Congratulations...


On Thu, May 29, 2014 at 11:05 PM, Srisunmugaraja Paraparan 
parapa...@wso2.com wrote:

 Congratulations!!!


 On Fri, May 30, 2014 at 11:33 AM, Dunith Dhanushka dun...@wso2.com
 wrote:

 Congratulations!

 Regards,
 Dunith


 On Fri, May 30, 2014 at 11:22 AM, Shazni Nazeer sha...@wso2.com wrote:

 Congratulations!!!

 Shazni Nazeer

 Senior Software Engineer

 Mob : +94 715 440 607
 LinkedIn : http://lk.linkedin.com/in/shazninazeer
 Blog : http://shazninazeer.blogspot.com


 On Fri, May 30, 2014 at 11:19 AM, Manula Chathurika Thantriwatte 
 manu...@wso2.com wrote:

 Congratulations !!!


 On Fri, May 30, 2014 at 11:18 AM, Pubudu Dissanayake pubu...@wso2.com
 wrote:

 Congratulations !


 On Fri, May 30, 2014 at 11:16 AM, Aruna Karunarathna ar...@wso2.com
 wrote:

 Congratulations..!!!


 On Fri, May 30, 2014 at 11:10 AM, Sohani Weerasinghe soh...@wso2.com
  wrote:

 Congratulations 

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

 Mobile  : +94 716439774
 Blog :http://christinetechtips.blogspot.com/
 Twitter  : https://twitter.com/sohanichristine


 On Fri, May 30, 2014 at 11:08 AM, Jasintha Dasanayake 
 jasin...@wso2.com wrote:

 Hi All,

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

 Lali has  been a valuable contributor for WSO2 Developer Studio
 since he joined WSO2. In recognition of his contributions to WSO2, he 
 has
 been voted as a WSO2 Committer.

 Lali, Congratulations and Keep up the good work!

 Thanks and Regards,
 /Jasintha

 --

 *Jasintha Dasanayake *

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


 *mobile :- 0711368118 0711368118 *

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



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




 --

 * Aruna Sujith Karunarathna* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 9040362 | Work: +94 112145345
 Email: ar...@wso2.com | Web: www.wso2.com


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




 --
 *Pubudu Dissanayake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware
 Mobile: 0775503304

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




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

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




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



 ___
 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




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

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

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




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [APIM] Build failure

2014-05-13 Thread Shani Ranasinghe
Hi,

I am getting the following build failure.

[INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @
org.wso2.carbon.apimgt.impl ---
[INFO] Compiling 102 source files to
/home/shani/sranasinghe/carbon/platform/branches/turing/components/apimgt/org.wso2.carbon.apimgt.impl/1.2.2/target/classes
[INFO] -
[ERROR] COMPILATION ERROR :
[INFO] -
[ERROR]
/home/shani/sranasinghe/carbon/platform/branches/turing/components/apimgt/org.wso2.carbon.apimgt.impl/1.2.2/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java:[362,59]
cannot find symbol
symbol  : method getLength()
location: class org.wso2.carbon.registry.core.pagination.PaginationContext

[ERROR]
/home/shani/sranasinghe/carbon/platform/branches/turing/components/apimgt/org.wso2.carbon.apimgt.impl/1.2.2/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java:[476,61]
cannot find symbol
symbol  : method getLength()
location: class org.wso2.carbon.registry.core.pagination.PaginationContext

[ERROR]
/home/shani/sranasinghe/carbon/platform/branches/turing/components/apimgt/org.wso2.carbon.apimgt.impl/1.2.2/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java:[532,76]
cannot find symbol
symbol  : method getLength()
location: class org.wso2.carbon.registry.core.pagination.PaginationContext

[ERROR]
/home/shani/sranasinghe/carbon/platform/branches/turing/components/apimgt/org.wso2.carbon.apimgt.impl/1.2.2/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java:[532,31]
operator + cannot be applied to
int,org.wso2.carbon.registry.core.pagination.PaginationContext.getLength

[ERROR]
/home/shani/sranasinghe/carbon/platform/branches/turing/components/apimgt/org.wso2.carbon.apimgt.impl/1.2.2/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java:[532,43]
incompatible types
found   : nulltype
required: int

[ERROR]
/home/shani/sranasinghe/carbon/platform/branches/turing/components/apimgt/org.wso2.carbon.apimgt.impl/1.2.2/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java:[1181,61]
cannot find symbol
symbol  : method getLength()
location: class org.wso2.carbon.registry.core.pagination.PaginationContext

[INFO] 6 errors
[INFO] -
[INFO]

[INFO] BUILD FAILURE



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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM] Build failure

2014-05-13 Thread Shani Ranasinghe
Hi,

yes, I am building a development branch. the latest version for the
component.

Java version 1.7


On Tue, May 13, 2014 at 3:23 PM, Isuru Perera isu...@wso2.com wrote:

 What is your Java version?

 Try using Oracle JDK 6?


 On Tue, May 13, 2014 at 3:21 PM, Shani Ranasinghe sh...@wso2.com wrote:

 Hi,

 I am getting the following build failure.

 [INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @
 org.wso2.carbon.apimgt.impl ---
 [INFO] Compiling 102 source files to
 /home/shani/sranasinghe/carbon/platform/branches/turing/components/apimgt/org.wso2.carbon.apimgt.impl/1.2.2/target/classes
 [INFO] -
 [ERROR] COMPILATION ERROR :
 [INFO] -
 [ERROR]
 /home/shani/sranasinghe/carbon/platform/branches/turing/components/apimgt/org.wso2.carbon.apimgt.impl/1.2.2/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java:[362,59]
 cannot find symbol
 symbol  : method getLength()
 location: class org.wso2.carbon.registry.core.pagination.PaginationContext

 [ERROR]
 /home/shani/sranasinghe/carbon/platform/branches/turing/components/apimgt/org.wso2.carbon.apimgt.impl/1.2.2/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java:[476,61]
 cannot find symbol
 symbol  : method getLength()
 location: class org.wso2.carbon.registry.core.pagination.PaginationContext

 [ERROR]
 /home/shani/sranasinghe/carbon/platform/branches/turing/components/apimgt/org.wso2.carbon.apimgt.impl/1.2.2/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java:[532,76]
 cannot find symbol
 symbol  : method getLength()
 location: class org.wso2.carbon.registry.core.pagination.PaginationContext

 [ERROR]
 /home/shani/sranasinghe/carbon/platform/branches/turing/components/apimgt/org.wso2.carbon.apimgt.impl/1.2.2/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java:[532,31]
 operator + cannot be applied to
 int,org.wso2.carbon.registry.core.pagination.PaginationContext.getLength

 [ERROR]
 /home/shani/sranasinghe/carbon/platform/branches/turing/components/apimgt/org.wso2.carbon.apimgt.impl/1.2.2/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java:[532,43]
 incompatible types
 found   : nulltype
 required: int

 [ERROR]
 /home/shani/sranasinghe/carbon/platform/branches/turing/components/apimgt/org.wso2.carbon.apimgt.impl/1.2.2/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java:[1181,61]
 cannot find symbol
 symbol  : method getLength()
 location: class org.wso2.carbon.registry.core.pagination.PaginationContext

 [INFO] 6 errors
 [INFO] -
 [INFO]
 
 [INFO] BUILD FAILURE



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

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

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




 --
 Isuru Perera
 Senior Software Engineer | WSO2, Inc. | http://wso2.com/
 Lean . Enterprise . Middleware

 about.me/chrishantha




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM] Build failure

2014-05-13 Thread Shani Ranasinghe
Hi Bhathiya,

Yes as mentioned in the mail it was the kernel patch, which was not
correctly built. Thanks for pointing this out.


On Tue, May 13, 2014 at 3:31 PM, Shani Ranasinghe sh...@wso2.com wrote:

 Thanks Bhathiya. Will check.


 On Tue, May 13, 2014 at 3:28 PM, Bhathiya Jayasekara bhath...@wso2.comwrote:

 Same error is mentioned here in *API Manager build failure in 4.2.0
 support branch* which should be solved by building the kernel patch.

 Thanks,
 Bhathiya


 On Tue, May 13, 2014 at 3:25 PM, Shani Ranasinghe sh...@wso2.com wrote:

 Hi,

 yes, I am building a development branch. the latest version for the
 component.

 Java version 1.7


 On Tue, May 13, 2014 at 3:23 PM, Isuru Perera isu...@wso2.com wrote:

 What is your Java version?

 Try using Oracle JDK 6?


 On Tue, May 13, 2014 at 3:21 PM, Shani Ranasinghe sh...@wso2.comwrote:

 Hi,

 I am getting the following build failure.

 [INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @
 org.wso2.carbon.apimgt.impl ---
 [INFO] Compiling 102 source files to
 /home/shani/sranasinghe/carbon/platform/branches/turing/components/apimgt/org.wso2.carbon.apimgt.impl/1.2.2/target/classes
 [INFO] -
 [ERROR] COMPILATION ERROR :
 [INFO] -
 [ERROR]
 /home/shani/sranasinghe/carbon/platform/branches/turing/components/apimgt/org.wso2.carbon.apimgt.impl/1.2.2/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java:[362,59]
 cannot find symbol
 symbol  : method getLength()
 location: class
 org.wso2.carbon.registry.core.pagination.PaginationContext

 [ERROR]
 /home/shani/sranasinghe/carbon/platform/branches/turing/components/apimgt/org.wso2.carbon.apimgt.impl/1.2.2/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java:[476,61]
 cannot find symbol
 symbol  : method getLength()
 location: class
 org.wso2.carbon.registry.core.pagination.PaginationContext

 [ERROR]
 /home/shani/sranasinghe/carbon/platform/branches/turing/components/apimgt/org.wso2.carbon.apimgt.impl/1.2.2/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java:[532,76]
 cannot find symbol
 symbol  : method getLength()
 location: class
 org.wso2.carbon.registry.core.pagination.PaginationContext

 [ERROR]
 /home/shani/sranasinghe/carbon/platform/branches/turing/components/apimgt/org.wso2.carbon.apimgt.impl/1.2.2/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java:[532,31]
 operator + cannot be applied to
 int,org.wso2.carbon.registry.core.pagination.PaginationContext.getLength

 [ERROR]
 /home/shani/sranasinghe/carbon/platform/branches/turing/components/apimgt/org.wso2.carbon.apimgt.impl/1.2.2/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java:[532,43]
 incompatible types
 found   : nulltype
 required: int

 [ERROR]
 /home/shani/sranasinghe/carbon/platform/branches/turing/components/apimgt/org.wso2.carbon.apimgt.impl/1.2.2/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java:[1181,61]
 cannot find symbol
 symbol  : method getLength()
 location: class
 org.wso2.carbon.registry.core.pagination.PaginationContext

 [INFO] 6 errors
 [INFO] -
 [INFO]
 
 [INFO] BUILD FAILURE



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

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

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




 --
 Isuru Perera
 Senior Software Engineer | WSO2, Inc. | http://wso2.com/
 Lean . Enterprise . Middleware

 about.me/chrishantha




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

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

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




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

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




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

Re: [Dev] WSO2 Identity Server 5.0.0 Beta Released!

2014-05-08 Thread Shani Ranasinghe
/?filter=11808
 .


  Your feedback is mostly welcome. Please report issues at [1] and
 specify the affected version as 5.0.0 Beta.


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



  Thanks and Regards,

 ~WSO2 Identity Server Team~


 --
 Regards,


 * Darshana Gunawardana *Software Engineer
 WSO2 Inc.; http://wso2.com

 * E-mail: darsh...@wso2.com darsh...@wso2.com*
 *Mobile: +94718566859 %2B94718566859 *Lean . Enterprise . Middleware

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




 --
 *Asanthi Kulasinghe*
 WSO2 Inc; http://www.wso2.com/.
 Mobile: +94777355522





 --
 Regards,


 * Darshana Gunawardana *Software Engineer
 WSO2 Inc.; http://wso2.com

 * E-mail: darsh...@wso2.com darsh...@wso2.com*
 *Mobile: +94718566859 %2B94718566859 *Lean . Enterprise . Middleware

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





 --

 *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




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IS] IS 4.6.0 travelocity Sample not building

2014-05-02 Thread Shani Ranasinghe
Hi,

I am getting the following error when trying to build 4.6.0 travelocity SSO
sample.

[INFO] Scanning for projects...
[ERROR] The build could not read 1 project - [Help 1]
[ERROR]
[ERROR]   The project org.wso2.identity:org.wso2.sample.is.sso.agent:1.1.0
(/home/shani/sranasinghe/DevServices/StateOFAZ/customCode/sso/SSOAgentSample/pom.xml)
has 1 error
[ERROR] Non-resolvable parent POM for
org.wso2.identity:wso2is-identity-samples-sso:4.6.0: Failure to find
org.wso2.identity:wso2is-identity-samples:pom:4.6.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 and
'parent.relativePath' points at wrong local POM @
org.wso2.identity:wso2is-identity-samples-sso:4.6.0,
/home/shani/sranasinghe/DevServices/StateOFAZ/customCode/sso/pom.xml, line
22, column 13 - [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException


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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IS] IS 4.6.0 SSO sample not building

2014-05-02 Thread Shani Ranasinghe
Hi,
I am getting the following error when trying to build 4.6.0 travelocity SSO
sample.

[INFO] Scanning for projects...
[ERROR] The build could not read 1 project - [Help 1]
[ERROR]
[ERROR]   The project org.wso2.identity:org.wso2.sample.is.sso.agent:1.1.0
(/customCode/sso/SSOAgentSample/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for
org.wso2.identity:wso2is-identity-samples-sso:4.6.0: Failure to find
org.wso2.identity:wso2is-identity-samples:pom:4.6.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 and
'parent.relativePath' points at wrong local POM @
org.wso2.identity:wso2is-identity-samples-sso:4.6.0,
/customCode/sso/pom.xml, line 22, column 13 - [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] IS 4.6.0 SSO sample not building

2014-05-02 Thread Shani Ranasinghe
[Response from Johann]

Please find the built samples from [1].

If you want to build from source you might have to build the
org.wso2.carbon.identity.sso.agent jar manually and then build the sample.
The agent jar 1.1.0 is not hosted in the repo.

[1] https://svn.wso2.org/repos/wso2/people/johann/SSOAgentSampleBinaries/


On Fri, May 2, 2014 at 12:23 AM, Pulasthi Mahawithana pulast...@wso2.comwrote:

 Hi,

 It's because of missing parent pom. It's available at the parent directory
 from there (in svn repo), but it also depends on the its parent, and so on.

 As a workaround to get the sample build, I removed the parent entry from
 the pom.xml, and added the groupID and version separately. So the Final pom
 will be,

 project xmlns=http://maven.apache.org/POM/4.0.0;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/maven-v4_0_0.xsd;



 groupIdorg.wso2.identity/groupId
 version4.6.0/version
 modelVersion4.0.0/modelVersion
 artifactIdwso2is-identity-samples-sso/artifactId
 packagingpom/packaging
 nameIdentity Server : SSO Samples/name

 modules
 moduleSSOAgentSample/module
 /modules

 /project




 On Fri, May 2, 2014 at 12:27 PM, Shani Ranasinghe sh...@wso2.com wrote:

  Hi,
 I am getting the following error when trying to build 4.6.0 travelocity
 SSO sample.

 [INFO] Scanning for projects...
 [ERROR] The build could not read 1 project - [Help 1]
 [ERROR]
 [ERROR]   The project
 org.wso2.identity:org.wso2.sample.is.sso.agent:1.1.0
 (/customCode/sso/SSOAgentSample/pom.xml) has 1 error
 [ERROR] Non-resolvable parent POM for
 org.wso2.identity:wso2is-identity-samples-sso:4.6.0: Failure to find
 org.wso2.identity:wso2is-identity-samples:pom:4.6.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 and
 'parent.relativePath' points at wrong local POM @
 org.wso2.identity:wso2is-identity-samples-sso:4.6.0,
 /customCode/sso/pom.xml, line 22, column 13 - [Help 2]
 [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/ProjectBuildingException
 [ERROR] [Help 2]
 http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

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

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

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




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




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] IS 4.6.0 SSO sample not building

2014-05-02 Thread Shani Ranasinghe
Hi Johann/Pulasthi,

Thanks a lot for the information. I think I got it wrong when Ishara gave
me the information offline. Thank you for the help.

@Pulasthi, thanks for the quick workaround suggested.


On Fri, May 2, 2014 at 12:44 AM, Shani Ranasinghe sh...@wso2.com wrote:

 [Response from Johann]

 Please find the built samples from [1].

 If you want to build from source you might have to build the
 org.wso2.carbon.identity.sso.agent jar manually and then build the sample.
 The agent jar 1.1.0 is not hosted in the repo.

 [1] https://svn.wso2.org/repos/wso2/people/johann/SSOAgentSampleBinaries/


 On Fri, May 2, 2014 at 12:23 AM, Pulasthi Mahawithana 
 pulast...@wso2.comwrote:

 Hi,

 It's because of missing parent pom. It's available at the parent
 directory from there (in svn repo), but it also depends on the its parent,
 and so on.

 As a workaround to get the sample build, I removed the parent entry from
 the pom.xml, and added the groupID and version separately. So the Final pom
 will be,

 project xmlns=http://maven.apache.org/POM/4.0.0;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/maven-v4_0_0.xsd;



 groupIdorg.wso2.identity/groupId
 version4.6.0/version
 modelVersion4.0.0/modelVersion
 artifactIdwso2is-identity-samples-sso/artifactId
 packagingpom/packaging
 nameIdentity Server : SSO Samples/name

 modules
 moduleSSOAgentSample/module
 /modules

 /project




 On Fri, May 2, 2014 at 12:27 PM, Shani Ranasinghe sh...@wso2.com wrote:

  Hi,
 I am getting the following error when trying to build 4.6.0 travelocity
 SSO sample.

 [INFO] Scanning for projects...
 [ERROR] The build could not read 1 project - [Help 1]
 [ERROR]
 [ERROR]   The project
 org.wso2.identity:org.wso2.sample.is.sso.agent:1.1.0
 (/customCode/sso/SSOAgentSample/pom.xml) has 1 error
 [ERROR] Non-resolvable parent POM for
 org.wso2.identity:wso2is-identity-samples-sso:4.6.0: Failure to find
 org.wso2.identity:wso2is-identity-samples:pom:4.6.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 and
 'parent.relativePath' points at wrong local POM @
 org.wso2.identity:wso2is-identity-samples-sso:4.6.0,
 /customCode/sso/pom.xml, line 22, column 13 - [Help 2]
 [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/ProjectBuildingException
 [ERROR] [Help 2]
 http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

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

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

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




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




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


Re: [Dev] [UES] Embeding Gadgets into a web page

2014-05-01 Thread Shani Ranasinghe
Hi Ruchira,

Thanks that works. would you please explain what this URL is?  I was under
the impression that we should point to the server which is at
http://localhost:9763/gagdet-test http://localhost:9763/portal.



On Wed, Apr 30, 2014 at 11:44 PM, Ruchira Wageesha ruch...@wso2.com wrote:

 Your url should be http://privateIP:9763/*gadgets*/ifr?url=http://
 privateIP:9763/gadget-test/gadget.xml

 /Ruchira




 On Thu, May 1, 2014 at 6:08 AM, Shani Ranasinghe sh...@wso2.com wrote:


 Hi,

 I have a gadget in the UES server at the location
 http://localhost:9763/gadget-test/gadget.xml. When I use this in the
 browser I can see the Gadget XML.

 The portal is started at  UES Portal URL : http://localhost:9763/portal.
 And when I check the URL through the Management console of the UES the URL
 that it gives is http://private IP:9763/gadget-test.

 I have added the following lines to my webapp page, which is a java
 application and a .jsp page.

 iframe id=gadget-3
 src=http://privateIP:9763/gadget-test/ifr?url=http://
 privateIP:9763/gadget-test/gadget.xml
 /iframe

 I was not able to view the I frame in the page, and it prompted a 404
 resource
 (http://private IP:9763/gadget-test/ifr) not found.

 Please note that the private IP's at instances are the same.


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




 --

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

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




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [UES] Embeding Gadgets into a web page

2014-04-30 Thread Shani Ranasinghe
Hi,

I have a gadget in the UES server at the location
http://localhost:9763/gadget-test/gadget.xml. When I use this in the
browser I can see the Gadget XML.

The portal is started at  UES Portal URL : http://localhost:9763/portal.
And when I check the URL through the Management console of the UES the URL
that it gives is http://private IP:9763/gadget-test.

I have added the following lines to my webapp page, which is a java
application and a .jsp page.

iframe id=gadget-3
src=http://privateIP:9763/gadget-test/ifr?url=http://
privateIP:9763/gadget-test/gadget.xml
/iframe

I was not able to view the I frame in the page, and it prompted a 404
resource
(http://private IP:9763/gadget-test/ifr) not found.

Please note that the private IP's at instances are the same.


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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [UES] Creating a custom gadget

2014-04-28 Thread Shani Ranasinghe
Hi,

I followed the instructions on the documentation and tried to create a
gadget. So what I basically did was I created a microsite and added a file
named gadget.xml and added a table with one row for testing purposes. I
then published this and added as a gadget in a newly created dashboard, I
was not able to view the table in the dashboard. I am not sure what I am
doing wrong here. Any help is appreciated.

*The gadget.xml*

?xml version=1.0 encoding=UTF-8 ?
Module
 ModulePrefs title=List of API
 author=WSO2 Gadget Server
 height=230
description=A  Drop down with th elist of API's
 /ModulePrefs
Content type=html
   head
/head
body
   table
  tr
 td abc/td
 /tr
  /table
/body
/Content
/Module

*The broswer console is as follows *

Error in parsing value for 'background-image'.  Declaration dropped.
concat:3024
23:32:13.495 Error in parsing value for 'background-image'.  Declaration
dropped. concat:3025
23:32:13.495 Expected 'none' or URL but found 'progid'.  Error in parsing
value for 'filter'.  Declaration dropped. concat:3028
23:32:13.495 Expected declaration but found '*'.  Skipped to next
declaration. concat:3039
23:32:13.495 Unknown property '-moz-border-radius'.  Declaration dropped.
concat:3067
23:32:13.495 Unknown property '-moz-border-radius'.  Declaration dropped.
concat:3096
23:32:13.495 Unknown property '-moz-border-radius'.  Declaration dropped.
concat:3106
23:32:13.495 Expected 'none' or URL but found 'alpha('.  Error in parsing
value for 'filter'.  Declaration dropped. concat:3131
23:32:13.495 Expected 'none' or URL but found 'alpha('.  Error in parsing
value for 'filter'.  Declaration dropped. concat:3138
23:32:13.590 Unknown property 'box-sizing'.  Declaration dropped. ifr
23:32:13.617 connected: __gadget_store-gadget-div shindig.js:9
23:32:14.197 Empty string passed to getElementById(). jquery-1.8.3.min.js:2
23:32:14.939 Use of getPreventDefault() is deprecated.  Use
defaultPrevented instead. concat:3
23:32:17.143 Error in parsing value for 'width'.  Declaration dropped. ifr
23:32:17.145 Use of Mutation Events is deprecated. Use MutationObserver
instead. concat:3786
23:32:18.362 Failed to navigate for gadget /gagdet.xml. shindig.js:9
23:32:18.362 Detailed error: 403 Unsupported scheme (must be http or
https). shindig.js:9
23:32:18.362 Failed to possibly schedule token refresh for gadget
/gagdet.xml. shindig.js:9
23:32:21.613 Empty string passed to getElementById(). jquery-1.8.3.min.js:2
23:32:23.261 273.6 portal-dashboard-designer.js:98
23:32:46.480 too much recursion
-- 
Thanks and Regards
*, Shani Ranasinghe*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [UES] Creating a custom gadget

2014-04-28 Thread Shani Ranasinghe
Hi Tanya,

Yes this worked. Thanks for the help.


On Mon, Apr 28, 2014 at 4:05 AM, Mariangela Hills mariang...@wso2.comwrote:

 Thanks, I will fix this!

 Regards,
 Mariangela




 *--*
 Mariangela Hills
 Senior Technical Writer

 *WSO2, Inc. *lean.enterprise.middleware.
 m: +94 773 500185
 w: http://wso2.com
  http://wso2.com/events/


 On Mon, Apr 28, 2014 at 3:58 PM, Tanya Madurapperuma ta...@wso2.comwrote:

 Hi Shani,

 Once you create the gadget with microsite approach, a jaggery.conf file
 will be created inside your gadget folder at
 repository/deployment/server/jaggeryapps/Your_Gadget_Folder.

 Ex :  Your_Gadget_Folder
  |--gadget.xml
  |--*jaggery.conf*

 Try removing the following authentication snippet from the jaggery.conf
 file.

 loginConfig : {
 authMethod : BASIC
  },
 securityConstraints : [
 {
  securityConstraint : {
 webResourceCollection : {
  name : nnn,
 urlPatterns : [
  /*],
 methods : [
  GET,
 POST,
  PUT,
 DELETE,
 HEAD,
  OPTIONS,
 TRACE,
  CONNECT,
 PATCH]
  },
 authRoles : [
 private_admin]
  }]


 @Mari : Please update the docs accordingly.

 Thanks,
 Tanya


 On Mon, Apr 28, 2014 at 12:10 PM, Shani Ranasinghe sh...@wso2.comwrote:


 Hi,

 I followed the instructions on the documentation and tried to create a
 gadget. So what I basically did was I created a microsite and added a file
 named gadget.xml and added a table with one row for testing purposes. I
 then published this and added as a gadget in a newly created dashboard, I
 was not able to view the table in the dashboard. I am not sure what I am
 doing wrong here. Any help is appreciated.

 *The gadget.xml*

 ?xml version=1.0 encoding=UTF-8 ?
 Module
  ModulePrefs title=List of API
  author=WSO2 Gadget Server
  height=230
 description=A  Drop down with th elist of API's
  /ModulePrefs
 Content type=html
head
 /head
 body
table
   tr
  td abc/td
  /tr
   /table
 /body
 /Content
 /Module

 *The broswer console is as follows *

 Error in parsing value for 'background-image'.  Declaration dropped.
 concat:3024
 23:32:13.495 Error in parsing value for 'background-image'.  Declaration
 dropped. concat:3025
 23:32:13.495 Expected 'none' or URL but found 'progid'.  Error in
 parsing value for 'filter'.  Declaration dropped. concat:3028
 23:32:13.495 Expected declaration but found '*'.  Skipped to next
 declaration. concat:3039
 23:32:13.495 Unknown property '-moz-border-radius'.  Declaration
 dropped. concat:3067
 23:32:13.495 Unknown property '-moz-border-radius'.  Declaration
 dropped. concat:3096
 23:32:13.495 Unknown property '-moz-border-radius'.  Declaration
 dropped. concat:3106
 23:32:13.495 Expected 'none' or URL but found 'alpha('.  Error in
 parsing value for 'filter'.  Declaration dropped. concat:3131
 23:32:13.495 Expected 'none' or URL but found 'alpha('.  Error in
 parsing value for 'filter'.  Declaration dropped. concat:3138
 23:32:13.590 Unknown property 'box-sizing'.  Declaration dropped. ifr
 23:32:13.617 connected: __gadget_store-gadget-div shindig.js:9
 23:32:14.197 Empty string passed to getElementById().
 jquery-1.8.3.min.js:2
 23:32:14.939 Use of getPreventDefault() is deprecated.  Use
 defaultPrevented instead. concat:3
 23:32:17.143 Error in parsing value for 'width'.  Declaration dropped.
 ifr
 23:32:17.145 Use of Mutation Events is deprecated. Use MutationObserver
 instead. concat:3786
 23:32:18.362 Failed to navigate for gadget /gagdet.xml. shindig.js:9
 23:32:18.362 Detailed error: 403 Unsupported scheme (must be http or
 https). shindig.js:9
 23:32:18.362 Failed to possibly schedule token refresh for gadget
 /gagdet.xml. shindig.js:9
 23:32:21.613 Empty string passed to getElementById().
 jquery-1.8.3.min.js:2
 23:32:23.261 273.6 portal-dashboard-designer.js:98
 23:32:46.480 too much recursion
  --
 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




 --
 Tanya Madurapperuma

 Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94718184439
 Blog : http://tanyamadurapperuma.blogspot.com





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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] IS 5.0.0 - QA status update

2014-04-22 Thread Shani Ranasinghe
Hi,

The beta pack was supposed to be released today right? But seems it won't.
Can we get a date when it will be released?


On Mon, Apr 21, 2014 at 8:13 AM, Pavithra Madurangi pavit...@wso2.comwrote:

 Hi all,

 Following is the QA status update of IS 5.0.0 release as at 18/04/2014.

 New features tested at least for happy path. (Please note some of them are
 partially tested and full path is not covered)
 - Chained Collaborative Federation Pattern (Partially tested)
 - Identity Bridge between - OpenID Connect, SAML 2.0, OAuth 2.0,
 (Partially tested)
 - Facebook Authenticator
 - SAML request / response validator (testing not complete)
 - Multi-option login page (not complete)

 To be tested
 - Google Apps provisioning connector
 - Just-in-time provisioning
 - Multi-step / multi-factor authentication
 - Request path authenticators
 - User portal
 - SCIM to SPML bridge
 - Encrypted SAML assertions
 - NTLM grant type for OAuth
 - Long running test

 Some of the features where not tested because those features were not
 completed on the 18th April pack.

 We were not able to start long running tests on 18th April pack due to
 some L1 issues. Please refer [1] for open jiras.

 The plan for next few days is to start long running tests once blocking
 issues are fixed and to cover the new features.

 [1] https://wso2.org/jira/browse/IDENTITY-2179?filter=11770

 Thanks and regards,
 Pavithra

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




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += GayanK

2014-04-16 Thread Shani Ranasinghe
Congrats Gayan


On Wed, Apr 16, 2014 at 6:22 AM, Dilini Muthumala dil...@wso2.com wrote:

 Congrats Gayan!


 On Wed, Apr 16, 2014 at 4:49 PM, Malintha Adikari malin...@wso2.comwrote:

 Congratulations Gayan 



 On Wed, Apr 16, 2014 at 4:33 PM, Susankha Nirmala susan...@wso2.comwrote:

 Congratulations !


 On Wed, Apr 16, 2014 at 4:29 PM, Susinda Perera susi...@wso2.comwrote:

 Congratulations Gayan 


 On Wed, Apr 16, 2014 at 4:18 PM, Isuruwan Herath isuru...@wso2.comwrote:

 Congratz Gayan!


 On Wed, Apr 16, 2014 at 3:53 PM, Asanka Sanjeewa asan...@wso2.comwrote:

 Congratulations GayanK.

 Regards,
 AsankaS.


 On Wed, Apr 16, 2014 at 3:49 PM, Amal Gunatilake am...@wso2.comwrote:

 Congratz Gayan !!

 Thank you   Best regards,

 *Amal Gunatilake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware


 On Wed, Apr 16, 2014 at 3:45 PM, Lali Devamanthri l...@wso2.comwrote:

 Congrats Gayan ..!


 On Wed, Apr 16, 2014 at 3:43 PM, Jasintha Dasanayake 
 jasin...@wso2.com wrote:

 Hi All,

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

 Gayan has  been a valuable contributor for WSO2 Developer Studio
 since he joined WSO2. In recognition of his contributions to WSO2, he 
 has
 been voted as a WSO2 Committer.

 Gayan, Congratulations and Keep up the good work!

 Thanks and Regards,
 /Jasintha

 --

 *Jasintha Dasanayake *

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


 *mobile :- 0711368118*

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




 --
 *Lali Sudaththa Devamanthri*
 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 71 895 4922
  http://www.wso2.com

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



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




 --
 *Asanka Sanjeewa*
 Senior Software Engineer
 Mobile: +94772532924
 WSO2 Inc. http://wso2.com/
 Blog: http://asanka-tech-blog.blogspot.com/


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




 --
 Isuruwan Herath
 Technical Lead

 Contact: +94 776 273 296

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




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

 WSO2 Inc. http://wso2.com/
 Tel : 94 11 214 5345 Fax :94 11 2145300


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




 --
 Susankha Nirmala
 Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 Mobile : +94 77 593 2146

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




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

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

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




 --
 *Dilini Muthumala*
 Software Engineer,
 WSO2 Inc.

  *E-mail :* dil...@wso2.com
 *Mobile: *+94713 400 029

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




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] Why append tenant domain to user name when I already know my domain?

2014-04-16 Thread Shani Ranasinghe
Hi,

[Edited subject]

I am adding this in case anyone else has this same question, and is seeking
an answer at any point.

With the offline chat I had with Prabath, apparently this is something we
could take off from the code, and has been added with no apparent reason,
but to only denote the user's presence in a tenant domain.

On Fri, Apr 11, 2014 at 4:32 PM, Shani Ranasinghe sh...@wso2.com wrote:


 Hi,

 This was probably a discussion that had taken place even before I joined.
 If so please point me to it so that I could learn the intention of it.

 When we set the user name to be an email, when a tenant registers and a
 tenant user is created, the tenant user's user name has the format user
 -email @tenant domain. for an e.g. it looks like 
 a...@gmail.com@test.comwhere abc@gmailis the user's email and
 test.com is the tenant domain.

 I understand that this is as designed. But it looks a bit awkward to have
 that two @ signs representation two domains in a single user name.  To my
 little experience I have in this industry, I have not seen any place that
 handles user's in this fashion. Usually in windows, when you have
 different domains, it let's you choose which domain you need to log into
 based on the domain you enter before the user name e.g. domain/user
 name It let's you choose this at the log in page.

 So I have two questions,

 1) I understand that when the user name is supposed to be a name, then we
 could append the tenant domain to the user name, but then it looks like an
 email, why are we doing this? rather than having a  domain/user name
 format? When I log is using my domain, why would i need to see which domain
 I belong to, I already know?

 2) When the user name is set to email, why are we not checking if the user
 name is of the type an email (if the property is enabled), and avoid
 appending the domain, but keeping the domain in the context where the rest
 of the login details are kept? We can basically not show this at the UI
 level correct? we can either let the user enter his domain in a separate
 field rather than appending it to the user name?

 This is just a wild thought I had, and please do correct me at any point.

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


Re: [Dev] [IS] Why append tenant domain to user name when I already know my domain?

2014-04-16 Thread Shani Ranasinghe
Hi,


On Wed, Apr 16, 2014 at 6:28 PM, Suresh Attanayaka sur...@wso2.com wrote:

 Hi,

 The pattern domain/user name is already taken for the multiple
 userstores scenario.

 Oh yes. Another option is that in the log screen we can let the user
enter the domain as a separate field but it will increase the number of
fields in the log in screen which would not be the best option. By
appending with an @ it looks like an email, but is not an email. Shouldn't
we go with some other instead of this possibly \ ,that is being used by
MSFT. (MSFT uses \ and not /, my bad on the previous mail)


 Actually we have no reason to stick into the user -email @tenant
 domain pattern.



 In any code in the platform, we must use the MultitenantUtils to get the
 tenant domain from the user name, get the tenant aware username etc.

Yes my point exactly. Also even if we do have the user name to be a normal
user name(not an email) I don't see why we would need to have the tenant
domain appended to the user name. Because you already know your domain,
that's how you logged in, I don't think it's necessary to show the domain
after you log in.


 Therefore we can let the pattern configurable (regex) in the Carbon XML,
 read that config from MultitenantUtils and return the values appropriately.



 Probably this is something we can do for the next Kernel release.

 would be nice and less confusing on the UI.


 Thanks,
 -Suresh


 On Thu, Apr 17, 2014 at 12:59 AM, Shani Ranasinghe sh...@wso2.com wrote:

 Hi,

 [Edited subject]

 I am adding this in case anyone else has this same question, and is
 seeking an answer at any point.

 With the offline chat I had with Prabath, apparently this is something we
 could take off from the code, and has been added with no apparent reason,
 but to only denote the user's presence in a tenant domain.

 On Fri, Apr 11, 2014 at 4:32 PM, Shani Ranasinghe sh...@wso2.com wrote:


 Hi,

 This was probably a discussion that had taken place even before I
 joined. If so please point me to it so that I could learn the intention of
 it.

 When we set the user name to be an email, when a tenant registers and a
 tenant user is created, the tenant user's user name has the format user
 -email @tenant domain. for an e.g. it looks like a...@gmail.com@
 test.com where abc@gmail is the user's email and test.com is the tenant
 domain.

 I understand that this is as designed. But it looks a bit awkward to
 have that two @ signs representation two domains in a single user name.  To
 my little experience I have in this industry, I have not seen any place
 that handles user's in this fashion. Usually in windows, when you have
 different domains, it let's you choose which domain you need to log into
 based on the domain you enter before the user name e.g. domain/user
 name It let's you choose this at the log in page.

 So I have two questions,

 1) I understand that when the user name is supposed to be a name, then
 we could append the tenant domain to the user name, but then it looks like
 an email, why are we doing this? rather than having a  domain/user name
 format? When I log is using my domain, why would i need to see which domain
 I belong to, I already know?

 2) When the user name is set to email, why are we not checking if the
 user name is of the type an email (if the property is enabled), and avoid
 appending the domain, but keeping the domain in the context where the rest
 of the login details are kept? We can basically not show this at the UI
 level correct? we can either let the user enter his domain in a separate
 field rather than appending it to the user name?

 This is just a wild thought I had, and please do correct me at any point.

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

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




 --
 Suresh Attanayake
 Senior Software Engineer; WSO2 Inc. http://wso2.com/
 Blog : http://sureshatt.blogspot.com/
 Web : http://www.ssoarcade.com/
 Facebook : https://www.facebook.com/IdentityWorld
 Twitter : https://twitter.com/sureshatt
 LinkedIn : http://lk.linkedin.com/in/sureshatt
 Mobile : +94755012060
 Mobile : +016166171172




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IS] Tenant email as tenant user name

2014-04-11 Thread Shani Ranasinghe
Hi,

This was probably a discussion that had taken place even before I joined.
If so please point me to it so that I could learn the intention of it.

When we set the user name to be an email, when a tenant registers and a
tenant user is created, the tenant user's user name has the format user
-email @tenant domain. for an e.g. it looks like
a...@gmail.com@test.comwhere abc@gmailis the user's email and
test.com is the tenant domain.

I understand that this is as designed. But it looks a bit awkward to have
that two @ signs representation two domains in a single user name.  To my
little experience I have in this industry, I have not seen any place that
handles user's in this fashion. Usually in windows, when you have
different domains, it let's you choose which domain you need to log into
based on the domain you enter before the user name e.g. domain/user
name It let's you choose this at the log in page.

So I have two questions,

1) I understand that when the user name is supposed to be a name, then we
could append the tenant domain to the user name, but then it looks like an
email, why are we doing this? rather than having a  domain/user name
format?

2) When the user name is set to email, why are we not checking if the user
name is of the type an email (if the property is enabled), and avoid
appending the domain, but keeping the domain in the context where the rest
of the login details are kept? We can basically not show this at the UI
level correct? we can either let the user enter his domain in a separate
field rather than appending it to the user name?

This is just a wild thought I had, and please do correct me at any point.

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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DSS]Can JWT handler for DSS be included in the Platform?

2014-04-10 Thread Shani Ranasinghe
Hi,

Please find an axis2 handler I have written for DSS, which is capable of
extracting the JWT token and performing operations based on it. DSS
currently does not have an inbuilt support to handle JWT tokens. For now, I
have only done this for user name extraction. I have a method which
extracts the user name from the JWT token and adds it to the message
context.

The reason for this is to enable security , with user name token, and in a
case that we send a JWT token and expect underlying services from APIM
onwards to be trusted, we need to make use of this JWT token and carry on
the rest of the operations.

The reason for the inception of this process is that, I needed a way to
extract the JWT user name and use it for DSS security and thereby use the
content filtering capability of DSS.

I have attached the axis2 handler, and as per Anjana's suggestion, could we
add this to the platform and have this commented by default in axi2.xml ?

Please let me know if there are any improvement points that I could use for
this piece of code.

-- 
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
package org.wso2;
import java.io.UnsupportedEncodingException;

import javax.servlet.http.HttpServletRequest;

import org.apache.axis2.AxisFault;
import org.apache.axis2.context.MessageContext;
import org.apache.axis2.description.AxisOperation;
import org.apache.axis2.description.AxisService;
import org.apache.axis2.dispatchers.AddressingBasedDispatcher;

/**
 * This handler is capable of taking in the JWT token from the header and extracting out the dialect 
 * and it's claims.
 *
 */
public class JWTHandler extends AddressingBasedDispatcher {
	
	@Override
	public AxisOperation findOperation(AxisService service,
			MessageContext messageContext) throws AxisFault {
		// TODO Auto-generated method stub
		return super.findOperation(service, messageContext);
	}

	@Override
	public AxisService findService(MessageContext messageContext)
			throws AxisFault {
		// TODO Auto-generated method stub
		return super.findService(messageContext);
	}

	@Override
	public void initDispatcher() {
		// TODO Auto-generated method stub
		super.initDispatcher();
	}

	private static final String HTTP_SERVLET_REQUEST = transport.http.servletRequest;
	private static final String JWT_TOKEN_HEADER_NAME = X-JWT-Assertion;
	private static final String UTF_8_ENCODING = UTF-8;
	private static final String ENDUSER_CLAIM = http://wso2.org/claims/enduser;;
	//This is the string constant that separates the claim from the value.
	private static final String CLAIM_VALUE_SEPARATOR = \:\;
	private static final String ESCAPED_DOUBLE_QUOTATION = \;
	private static final String USERNAME = username;


	public InvocationResponse invoke(MessageContext arg0) throws AxisFault {
		try {
			extractUsernameFromJWT(arg0);
		} catch (UnsupportedEncodingException e) {
			throw new AxisFault(Encoding exception occured while encoding the decoded JWT  +
	using  + UTF_8_ENCODING, e);
		}
return InvocationResponse.CONTINUE;
  }

/**
 * This method gets the JWT token from the transport header, and extracts the user name from the JWT and 
 * sets it to the message context.	
 * Example Usage - is to enable user name token security in DSS and use the JWT token sent from APIM to 
 * get the roles of the user in order to utilize the content filtering feature of DSS.
 * @param msgContext
 */
private void extractUsernameFromJWT(MessageContext msgContext) throws UnsupportedEncodingException{
	
HttpServletRequest obj = (HttpServletRequest)msgContext .
 getProperty(HTTP_SERVLET_REQUEST);
	if (obj != null) {
		   //Get the JWT token from the header.
		String jwt = obj.getHeader(JWT_TOKEN_HEADER_NAME);
			if(jwt != null){

String jwtToken = null;
try {
	//Decode the JWT token. 
	jwtToken =  new String(org.apache.axiom.om.util.Base64.decode(jwt), UTF_8_ENCODING);
	if(jwtToken != null)
	{
		//Extract the end user claim. 
		String[] tempStr4 = jwtToken.split(ENDUSER_CLAIM + CLAIM_VALUE_SEPARATOR); 
		String[] decoded = tempStr4[1].split(ESCAPED_DOUBLE_QUOTATION);
		//Set username to message context.
		msgContext.setProperty(USERNAME, decoded[0]);
		System.out.println(Successfully set);
	}

} catch (UnsupportedEncodingException e) {
	throw e;
}
			}
		}
	}
}
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DSS]Can JWT handler for DSS be included in the Platform?

2014-04-10 Thread Shani Ranasinghe
Hi,

Please use this file for your reference and ignore the previous. Sorry for
the inconvenience.


On Thu, Apr 10, 2014 at 1:12 PM, Shani Ranasinghe sh...@wso2.com wrote:

 Hi,

 Please find an axis2 handler I have written for DSS, which is capable of
 extracting the JWT token and performing operations based on it. DSS
 currently does not have an inbuilt support to handle JWT tokens. For now, I
 have only done this for user name extraction. I have a method which
 extracts the user name from the JWT token and adds it to the message
 context.

 The reason for this is to enable security , with user name token, and in a
 case that we send a JWT token and expect underlying services from APIM
 onwards to be trusted, we need to make use of this JWT token and carry on
 the rest of the operations.

 The reason for the inception of this process is that, I needed a way to
 extract the JWT user name and use it for DSS security and thereby use the
 content filtering capability of DSS.

 I have attached the axis2 handler, and as per Anjana's suggestion, could
 we add this to the platform and have this commented by default in axi2.xml ?

 Please let me know if there are any improvement points that I could use
 for this piece of code.

 --
 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
package org.wso2;
import java.io.UnsupportedEncodingException;

import javax.servlet.http.HttpServletRequest;

import org.apache.axis2.AxisFault;
import org.apache.axis2.context.MessageContext;
import org.apache.axis2.description.AxisOperation;
import org.apache.axis2.description.AxisService;
import org.apache.axis2.dispatchers.AddressingBasedDispatcher;

/**
 * This handler is capable of taking in the JWT token from the header and extracting out the dialect 
 * and it's claims.
 *
 */
public class JWTHandler extends AddressingBasedDispatcher {
	
	@Override
	public AxisOperation findOperation(AxisService service,
			MessageContext messageContext) throws AxisFault {
		// TODO Auto-generated method stub
		return super.findOperation(service, messageContext);
	}

	@Override
	public AxisService findService(MessageContext messageContext)
			throws AxisFault {
		// TODO Auto-generated method stub
		return super.findService(messageContext);
	}

	@Override
	public void initDispatcher() {
		// TODO Auto-generated method stub
		super.initDispatcher();
	}

	private static final String HTTP_SERVLET_REQUEST = transport.http.servletRequest;
	private static final String JWT_TOKEN_HEADER_NAME = X-JWT-Assertion;
	private static final String UTF_8_ENCODING = UTF-8;
	private static final String ENDUSER_CLAIM = http://wso2.org/claims/enduser;;
	//This is the string constant that separates the claim from the value.
	private static final String CLAIM_VALUE_SEPARATOR = \:\;
	private static final String ESCAPED_DOUBLE_QUOTATION = \;
	private static final String USERNAME = username;


	public InvocationResponse invoke(MessageContext arg0) throws AxisFault {
		try {
			extractUsernameFromJWT(arg0);
		} catch (UnsupportedEncodingException e) {
			throw new AxisFault(Encoding exception occured while encoding the decoded JWT  +
	using  + UTF_8_ENCODING, e);
		}
return InvocationResponse.CONTINUE;
  }

/**
 * This method gets the JWT token from the transport header, and extracts the user name from the JWT and 
 * sets it to the message context.	
 * Example Usage - is to enable user name token security in DSS and use the JWT token sent from APIM to 
 * get the roles of the user in order to utilize the content filtering feature of DSS.
 * @param msgContext
 */
private void extractUsernameFromJWT(MessageContext msgContext) throws UnsupportedEncodingException{
	
HttpServletRequest obj = (HttpServletRequest)msgContext .
 getProperty(HTTP_SERVLET_REQUEST);
	if (obj != null) {
		   //Get the JWT token from the header.
		String jwt = obj.getHeader(JWT_TOKEN_HEADER_NAME);
			if(jwt != null){

String jwtToken = null;
try {
	//Decode the JWT token. 
	jwtToken =  new String(org.apache.axiom.om.util.Base64.decode(jwt), UTF_8_ENCODING);
	if(jwtToken != null)
	{
		//Extract the end user claim. 
		String[] tempStr4 = jwtToken.split(ENDUSER_CLAIM + CLAIM_VALUE_SEPARATOR); 
		String[] decoded = tempStr4[1].split(ESCAPED_DOUBLE_QUOTATION);
		//Set username to message context.
		msgContext.setProperty(USERNAME, decoded[0]);
		System.out.println(Successfully set);
	}

} catch (UnsupportedEncodingException e) {
	throw e;
}
			}
		}
	}
}
___
Dev mailing list
Dev@wso2.org
http

[Dev] [Jaggery] Relevant mailing list on http://jaggeryjs.org not mentioned

2014-04-04 Thread Shani Ranasinghe
Hi,

I was going through the http://jaggeryjs.org/about.jag page, and noticed in
the first section Jaggery Manifesto  it has a statement saying So give
it a run and let us know how it goes by mailing us here. I checked using
Firefox 26.0 and google chrome version 32.0.1700.107.  I didn't find the
word here being a link or a mail address specified anywhere in that page,
or a contact us page. I would like to suggest that,  to have the mail
address clearly stated and rather than having it with a here link (if
that was the intention), specify the mail address it self.

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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Jaggery] Relevant mailing list on http://jaggeryjs.org not mentioned

2014-04-04 Thread Shani Ranasinghe
Just now found it being repeated on http://jaggeryjs.org/documentation.jagtoo.


On Fri, Apr 4, 2014 at 12:45 AM, Shani Ranasinghe sh...@wso2.com wrote:

 Hi,

 I was going through the http://jaggeryjs.org/about.jag page, and noticed
 in the first section Jaggery Manifesto  it has a statement saying So
 give it a run and let us know how it goes by mailing us here. I checked
 using Firefox 26.0 and google chrome version 32.0.1700.107.  I didn't
 find the word here being a link or a mail address specified anywhere in
 that page, or a contact us page. I would like to suggest that,  to have
 the mail address clearly stated and rather than having it with a here
 link (if that was the intention), specify the mail address it self.

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


Re: [Dev] [DEV] WSO2 MB DLC Implementation Status

2014-03-24 Thread Shani Ranasinghe
://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Asanka Vithanage
 Senior Software Engineer -QA
 Mobile: +94 0716286708
 Email: asan...@wso2.com
 WSO2 Inc. www.wso2.com




 --
 *Pamod Sylvester *
  * Software Engineer *
 Integration Technologies Team, WSO2 Inc.; http://wso2.com
 email: pa...@wso2.com cell: +94 77 7779495




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Ushani Balasooriya

2014-03-19 Thread Shani Ranasinghe
cngrts


On Wed, Mar 19, 2014 at 1:31 AM, Malintha Adikari malin...@wso2.com wrote:

 Congratulations Ushani!!


 On Wed, Mar 19, 2014 at 1:18 PM, Evanthika Amarasiri 
 evanth...@wso2.comwrote:

 Hi,

 It's my pleasure to announce Ushani Balasooriya as a WSO2 commiter. She
 is an active member of the QA team and has been a great contributor during
 ESB, API-M, App-Factory  IS releases.

 Welcome aboard Ushani and keep up the good work!

 Regards,
 Evanthika Amarasiri
 Senior Technical Lead - Quality Assurance
 Mobile: +94773125935

 wso2.com Lean Enterprise Midd
 leware

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




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

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

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




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

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Fwd: DLC-UI Implementation

2014-03-18 Thread Shani Ranasinghe
Hi,

The diff for the UI module of 4.1.7 in DLC is attached in the JIRA ticket
https://wso2.org/jira/browse/MB-435. Please find the diff file attached
herewith too.

Also the code is checked in the following scratch locations

4.1.3 - https://svn.wso2.org/repos/wso2/scratch/ss-dev/shani/MB-dev/4.1.3
4.1.7 - https://svn.wso2.org/repos/wso2/scratch/ss-dev/shani/MB-dev/4.1.7
-- 
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
Index: src/main/resources/org/wso2/carbon/andes/ui/i18n/JSResources.properties
===
--- src/main/resources/org/wso2/carbon/andes/ui/i18n/JSResources.properties 
(revision 0)
+++ src/main/resources/org/wso2/carbon/andes/ui/i18n/JSResources.properties 
(working copy)
@@ -0,0 +1,8 @@
+confirmation.delete=Are you sure to delete?
+confirmation.restore=Are you sure you want to restore?
+info.successful.delete=Successfully deleted.
+info.successful.restore=Successfully restored.
+info.zero.items.selected=Please select one or more messages to 
+info.no.queueu.selected=Please select a queue to restore
+delete=delete
+restore=restore
\ No newline at end of file
Index: src/main/resources/web/queues/js/treecontrol.js
===
--- src/main/resources/web/queues/js/treecontrol.js (revision 197189)
+++ src/main/resources/web/queues/js/treecontrol.js (working copy)
@@ -42,6 +42,72 @@
 theform.queueName.value = queueName;
 theform.submit();
  }
+ 
+ 
+ function doDeleteDLC(nameOfQueue) {
+var checkedValues = getCheckedValues();
+if(checkedValues == null || checkedValues ==  ){
+ var msg = 
org_wso2_carbon_andes_ui_jsi18n[info.zero.items.selected]+   + 
org_wso2_carbon_andes_ui_jsi18n[delete];
+ CARBON.showInfoDialog(msg);
+ return;
+}
+
CARBON.showConfirmationDialog(org_wso2_carbon_andes_ui_jsi18n[confirmation.delete],
 function(){
+$.ajax({
+   
url:'../queues/dlc_message_delete_ajaxprocessor.jsp?nameOfQueue=' + nameOfQueue 
+ 'msgList=' + checkedValues,
+   async:true,
+   dataType:html,
+   success: function() {
+   
CARBON.showInfoDialog(org_wso2_carbon_andes_ui_jsi18n[info.successful.delete],
 function(){
+   location.href = 
../queues/dlc_messages_list.jsp?nameOfQueue= + nameOfQueue;
+});
+  
+   },
+   
+failure: function(transport) {
+
CARBON.showErrorDialog(trim(transport.responseText),function(){
+   location.href = 
../queues/dlc_messages_list.jsp?nameOfQueue= + nameOfQueue;
+return;
+ });
+   }
+   });
+});
+}
+ 
+ function deRestoreMessages(nameOfQueue){
+var checkedValues = getCheckedValues();
+if(checkedValues == null || checkedValues == ){
+ var msg = 
org_wso2_carbon_andes_ui_jsi18n[info.zero.items.selected]+   + 
org_wso2_carbon_andes_ui_jsi18n[restore];
+ CARBON.showInfoDialog(msg);
+ return;
+}
+
CARBON.showConfirmationDialog(org_wso2_carbon_andes_ui_jsi18n[confirmation.restore],
 function(){
+$.ajax({
+   
url:'../queues/dlc_message_restore_ajaxprocessor.jsp?nameOfQueue=' + 
nameOfQueue + 'msgList=' + checkedValues,
+   async:true,
+   dataType:html,
+   success: function() {
+   
CARBON.showInfoDialog(org_wso2_carbon_andes_ui_jsi18n[info.successful.restore],
 function(){
+   location.href = 
../queues/dlc_messages_list.jsp?nameOfQueue= + nameOfQueue;
+});
+  
+   },
+   
+failure: function(transport) {
+
CARBON.showErrorDialog(trim(transport.responseText),function(){
+   location.href = 
../queues/dlc_messages_list.jsp?nameOfQueue= + nameOfQueue;
+return

[Dev] Using BAM mediator to publish data to BAM from ESB

2014-02-25 Thread Shani Ranasinghe
Hi,

I am trying to add a BAM mediator to ESB and publish data to BAM. I have a
in sequence which has a property defined as TIME1.I have an out sequence
which has a property defined as Time 2
in the out sequence I also have a script mediator, which takes there two
times and finds the difference and adds the result as a new property to the
message context as response time
in the out sequence the BAM mediator is available.

so when the request is sent, there is a event in the EVENT_KS for the event
stream, but the payload_RESPONSE_TIME is 0. (in the stream i set a stream
property as RESPONSE_TIME and the value as a expression
get-property('RESPONSE_TIME'))

Any  idea as to what  I could be doing wrong?
if I print the value in the script mediator, it shows the value.I am using,
ESB 4.8.1 and BAM 2.4.0.

My attempt is to get statistics to be visualized of ESB REST API's. Started
off by trying on response time.
-- 
Thanks and Regards
*, Shani Ranasinghe*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Using BAM mediator to publish data to BAM from ESB

2014-02-25 Thread Shani Ranasinghe
Hi,

Just to add to it, the type of TIME_1, TIME_2 and RESPONSE_TIME is Long.


On Tue, Feb 25, 2014 at 4:25 AM, Shani Ranasinghe sh...@wso2.com wrote:


 Hi,

 I am trying to add a BAM mediator to ESB and publish data to BAM. I have a
 in sequence which has a property defined as TIME1.I have an out sequence
 which has a property defined as Time 2
 in the out sequence I also have a script mediator, which takes there two
 times and finds the difference and adds the result as a new property to the
 message context as response time
 in the out sequence the BAM mediator is available.

 so when the request is sent, there is a event in the EVENT_KS for the
 event stream, but the payload_RESPONSE_TIME is 0. (in the stream i set a
 stream property as RESPONSE_TIME and the value as a expression
 get-property('RESPONSE_TIME'))

 Any  idea as to what  I could be doing wrong?
 if I print the value in the script mediator, it shows the value.I am
 using, ESB 4.8.1 and BAM 2.4.0.

 My attempt is to get statistics to be visualized of ESB REST API's.
 Started off by trying on response time.
 --
 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
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Using BAM mediator to publish data to BAM from ESB

2014-02-25 Thread Shani Ranasinghe
Hi,

Please find the synapse xml attached.


On Tue, Feb 25, 2014 at 4:56 AM, Maninda Edirisooriya mani...@wso2.comwrote:

 Hi Shani,

 Can you send the sequence XML so that I can see.


 * Maninda Edirisooriya*
 Software Engineer

 *WSO2, Inc.*lean.enterprise.middleware.

 *Blog* : http://maninda.blogspot.com/
 *Phone* : +94 777603226


 On Tue, Feb 25, 2014 at 5:05 PM, Shani Ranasinghe sh...@wso2.com wrote:

 Hi,

 Just to add to it, the type of TIME_1, TIME_2 and RESPONSE_TIME is Long.


 On Tue, Feb 25, 2014 at 4:25 AM, Shani Ranasinghe sh...@wso2.com wrote:


 Hi,

 I am trying to add a BAM mediator to ESB and publish data to BAM. I have
 a in sequence which has a property defined as TIME1.I have an out
 sequence which has a property defined as Time 2
 in the out sequence I also have a script mediator, which takes there two
 times and finds the difference and adds the result as a new property to the
 message context as response time
 in the out sequence the BAM mediator is available.

 so when the request is sent, there is a event in the EVENT_KS for the
 event stream, but the payload_RESPONSE_TIME is 0. (in the stream i set a
 stream property as RESPONSE_TIME and the value as a expression
 get-property('RESPONSE_TIME'))

 Any  idea as to what  I could be doing wrong?
 if I print the value in the script mediator, it shows the value.I am
 using, ESB 4.8.1 and BAM 2.4.0.

 My attempt is to get statistics to be visualized of ESB REST API's.
 Started off by trying on response time.
 --
 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





-- 
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
definitions xmlns=http://ws.apache.org/ns/synapse;sequence name=faultlog level=fullproperty name=MESSAGE value=Executing default quot;faultquot; sequence/propertyproperty name=ERROR_CODE expression=get-property('ERROR_CODE')/propertyproperty name=ERROR_MESSAGE expression=get-property('ERROR_MESSAGE')/property/logdrop/drop/sequencesequence name=main trace=disable statistics=enablelog/logdrop/dropbamserverProfile name=streamConfig name= version=/streamConfig/serverProfile/bam/sequenceapi name=StockQuoteAPI context=/stockquoteresource methods=GET uri-template=/view/{symbol}inSequencepayloadFactory media-type=xmlformatm0:getQuote xmlns:m0=http://services.samples;m0:requestm0:symbol$1/m0:symbol/m0:request/m0:getQuote/formatargsarg evaluator=xml expression=get-property('uri.var.symbol')/arg/args/payloadFactoryheader name=Action value=urn:getQuote/headerproperty name=TIME_1 expression=get-property('SYSTEM_TIME') scope=default type=LONG/propertysendendpointaddress uri=http://localhost:9000/services/SimpleStockQuoteService; format=soap11/address/endpoint/send/inSequenceoutSequenceproperty name=TIME_2 expression=get-property('SYSTEM_TIME') scope=default type=LONG/propertyscript language=js![CDATA[var time1 = mc.getProperty(TIME_1);  var time2 = mc.getProperty(TIME_2);  var timeTaken = time2 - time1; print(-- time1   + time1 +  ms  -);print(-- time2   + time2 +  ms  -);   print(--   + timeTaken +  ms  -);  mc.setProperty(RESPONSE_TIME, timeTaken);]]/scriptbamserverProfile name=StateOFAZstreamConfig name=stream2.2 version=2.2.0/streamConfig/serverProfile/bamsend/sendlogproperty name=Time Duration in ms:  expression=get-property('RESPONSE_TIME')/property/log/outSequence/resourceresource methods=POSTinSequenceproperty name=FORCE_SC_ACCEPTED value=true scope=axis2/propertyproperty name=OUT_ONLY value=true/propertyheader name=Action value=urn:placeOrder/headersendendpointaddress uri=http://localhost:9000/services/SimpleStockQuoteService; format=soap11/address/endpoint/send/inSequence/resource/api/definitions___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Using BAM mediator to publish data to BAM from ESB

2014-02-25 Thread Shani Ranasinghe
Hi,

That worked. Thanks Maninda.


On Tue, Feb 25, 2014 at 6:47 AM, Maninda Edirisooriya mani...@wso2.comwrote:

 Hi Shani,

 Please try changing the type of property mediator, RESPONSE_TIME, from
 Long to String. As I remember BAM Mediator assumes all the properties as
 String and convert to the specified type.


 *Maninda Edirisooriya*
 Software Engineer

 *WSO2, Inc. *lean.enterprise.middleware.

 *Blog* : http://maninda.blogspot.com/
 *Phone* : +94 777603226


 On Tue, Feb 25, 2014 at 6:54 PM, Shani Ranasinghe sh...@wso2.com wrote:

 Hi,

 Please find the synapse xml attached.


 On Tue, Feb 25, 2014 at 4:56 AM, Maninda Edirisooriya 
 mani...@wso2.comwrote:

 Hi Shani,

 Can you send the sequence XML so that I can see.


 * Maninda Edirisooriya*
 Software Engineer

 *WSO2, Inc.*lean.enterprise.middleware.

 *Blog* : http://maninda.blogspot.com/
 *Phone* : +94 777603226


 On Tue, Feb 25, 2014 at 5:05 PM, Shani Ranasinghe sh...@wso2.comwrote:

 Hi,

 Just to add to it, the type of TIME_1, TIME_2 and RESPONSE_TIME is Long.


 On Tue, Feb 25, 2014 at 4:25 AM, Shani Ranasinghe sh...@wso2.comwrote:


 Hi,

 I am trying to add a BAM mediator to ESB and publish data to BAM. I
 have a in sequence which has a property defined as TIME1.I have an out
 sequence which has a property defined as Time 2
 in the out sequence I also have a script mediator, which takes there
 two times and finds the difference and adds the result as a new property 
 to
 the message context as response time
 in the out sequence the BAM mediator is available.

 so when the request is sent, there is a event in the EVENT_KS for the
 event stream, but the payload_RESPONSE_TIME is 0. (in the stream i set a
 stream property as RESPONSE_TIME and the value as a expression
 get-property('RESPONSE_TIME'))

 Any  idea as to what  I could be doing wrong?
 if I print the value in the script mediator, it shows the value.I am
 using, ESB 4.8.1 and BAM 2.4.0.

 My attempt is to get statistics to be visualized of ESB REST API's.
 Started off by trying on response time.
 --
 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





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


  1   2   >