Re: [Dev] [Architecture] [Vote] Release of WSO2 API Manager 3.2.0 RC2

2020-08-08 Thread Tharindu Dharmarathna
Tested the following flow for the tenant and super tenant users.

- Okta Integration

No issues found. +1 to proceed with the release.


On Sat, Aug 8, 2020 at 6:36 PM Mushthaq Rumy  wrote:

> Tested the following flows for super tenant and tenant users.
> - Basic flow of API creation, subscription and invocation
> - Soap API with pass through
> - Soap to Rest feature
>
> No issues found. +1 to proceed with the release.
>
> Thanks & Regards,
> Mushthaq
>
> On Sat, Aug 8, 2020 at 5:53 PM Amila De Silva  wrote:
>
>> Tested Artifact Synchroniser for Super Tenant mode
>> - for Basic flows
>> - With multiple Labels assigned to APIs
>> - Startup Delay configured
>> - for failover scenarios (On a Setup with GWs without DB access and TMs
>> in Failover mode)
>> No issues found.
>>
>> +1 to proceed with the release.
>>
>> On Sat, Aug 8, 2020 at 12:25 PM Arshardh Ifthikar 
>> wrote:
>>
>>> Hi all,
>>>
>>> We are pleased to announce the second release candidate of WSO2 API
>>> Manager 3.2.0.
>>>
>>> This release fixes the following issues.
>>>
>>>- Fixes : product-apim
>>>
>>> <https://github.com/wso2/product-apim/issues?q=is%3Aissue+is%3Aclosed+closed%3A2020-03-20..2020-08-06>
>>>- Fixes : analytics-apim
>>><https://github.com/wso2/analytics-apim/milestone/28?closed=1>
>>>
>>> Source and distribution,
>>> Runtime :
>>> https://github.com/wso2/product-apim/releases/tag/v3.2.0-rc2
>>> Analytics :
>>> https://github.com/wso2/analytics-apim/releases/tag/v3.2.0-rc2
>>>
>>> Documentation : https://apim.docs.wso2.com/en/3.2.0/
>>> Migration docs :
>>> https://apim.docs.wso2.com/en/3.2.0/install-and-setup/upgrading-wso2-api-manager/upgrading-process/
>>>
>>> Please download, test the product and vote.
>>>
>>> [+] Stable - go ahead and release
>>> [-] Broken - do not release (explain why)
>>>
>>> Thanks,
>>> WSO2 API Manager Team
>>>
>>> --
>>> *Arshardh Ifthikar*
>>> Senior Software Engineer | WSO2 Inc.
>>>
>>> Email: arsha...@wso2.com
>>> Mobile: +94777218551
>>> Web: http://wso2.com
>>>
>>> <http://wso2.com/signature>
>>>
>>
>>
>> --
>> *Amila De Silva*
>> Software Architect | Associate Director, Engineering - WSO2 Inc.
>> (m) +94 775119302 | (e) ami...@wso2.com
>> <http://wso2.com/signature>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>
>
> --
> Mushthaq Rumy
> *Associate Technical Lead*
> Mobile : +94 (0) 779 492140
> Email : musht...@wso2.com
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middleware.
>
> <http://wso2.com/signature>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>


-- 

*Tharindu Dharmarathna*Technical Lead
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

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


Re: [Dev] [Architecture] [Vote] Release of WSO2 API Manager 3.1.0 RC3

2020-03-23 Thread Tharindu Dharmarathna
gt;>>>>>>
>>>>>>> Regards,
>>>>>>> Viraj
>>>>>>>
>>>>>>> On Sun, Mar 22, 2020 at 10:23 PM Rukshan Premathunga <
>>>>>>> ruks...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi All,
>>>>>>>>
>>>>>>>> Tested followings.
>>>>>>>>
>>>>>>>>- Tested followings in an APIM fully distributed system
>>>>>>>>   - Verify profile optimization script
>>>>>>>>   - Verify profile configuration
>>>>>>>>   - Test on Open JDK 11
>>>>>>>>   - Verify LB and Reverse proxy config
>>>>>>>>- Tested secondary user stores
>>>>>>>>- Tested APIM and APIM Analytics on Oracle 19c and 12c
>>>>>>>>- Tested APIM analytics Active-Active and Active-Passive
>>>>>>>>deployment
>>>>>>>>- Tested Analytics dashboard duplicate feature
>>>>>>>>- Tested Analytics for available API types
>>>>>>>>
>>>>>>>> No Issues Found.
>>>>>>>>
>>>>>>>> [+] Stable - go ahead and release
>>>>>>>>
>>>>>>>> Thanks and Regards
>>>>>>>>
>>>>>>>> On Sun, Mar 22, 2020 at 10:13 PM Krishan Wijesena <
>>>>>>>> krish...@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi All,
>>>>>>>>>
>>>>>>>>> Please continue this thread to test and vote following
>>>>>>>>> distributions.
>>>>>>>>>
>>>>>>>>> Source and distribution,
>>>>>>>>> Runtime :
>>>>>>>>> https://github.com/wso2/product-apim/releases/tag/v3.1.0-rc3
>>>>>>>>> Analytics :
>>>>>>>>> https://github.com/wso2/analytics-apim/releases/tag/v3.1.0-rc4
>>>>>>>>>
>>>>>>>>> [+] Stable - go ahead and release
>>>>>>>>> [-] Broken - do not release (explain why)
>>>>>>>>>
>>>>>>>>> Thank you,
>>>>>>>>> WSO2 API Manager Team.
>>>>>>>>>
>>>>>>>>> On Sun, Mar 22, 2020 at 9:23 PM Krishan Wijesena <
>>>>>>>>> krish...@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi all,
>>>>>>>>>>
>>>>>>>>>> We have found a blocking issue(
>>>>>>>>>> https://github.com/wso2/analytics-apim/issues/1086) with APIM
>>>>>>>>>> Analytics 3.1.0-rc3 distribution. With the fix for this issue, we 
>>>>>>>>>> have
>>>>>>>>>> proceeded with a new release candidate only for APIM Analytics which 
>>>>>>>>>> is
>>>>>>>>>> APIM Analytics 3.1.0-rc4.
>>>>>>>>>>
>>>>>>>>>> Please use the new APIM Analytics 3.1.0-rc4 distribution for
>>>>>>>>>> testing.
>>>>>>>>>> APIM will continue with  the same
>>>>>>>>>> https://github.com/wso2/product-apim/releases/tag/v3.1.0-rc3
>>>>>>>>>> Analytics:
>>>>>>>>>> https://github.com/wso2/analytics-apim/releases/tag/v3.1.0-rc4
>>>>>>>>>>
>>>>>>>>>> Thank you,
>>>>>>>>>> WSO2 API Manager Team.
>>>>>>>>>>
>>>>>>>>>> On Sun, Mar 22, 2020 at 7:40 PM Nuwan Dias 
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> Tested the basic flows with custom users and the api import
>>>>>>>>>>> functionality using CTL.
>>>>>>>>>>>
>>>>>>>>>>> [+] Stable - go ahead and release
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Sun, Mar 22, 2020 at 4:4

Re: [Dev] [Architecture] [Vote] Release of WSO2 API Manager 3.1.0 RC3

2020-03-22 Thread Tharindu Dharmarathna
Hi All,

I have tested the following Databases.

1. Oracle
2. Mysql 5.7
3. Mysql 8
4. Postgresql
5. Oracle
6. MSSQL

No issues found.
+1 go ahead and Release

Thanks

On Sat, Mar 21, 2020 at 12:56 AM Krishan Wijesena  wrote:

> Hi all,
>
> We are pleased to announce the third release candidate of WSO2 API Manager
> 3.1.0.
>
> This release fixes the following issues.
>
>- Fixes : product-apim
>
> <https://github.com/wso2/product-apim/issues?q=is%3Aissue+is%3Aclosed+closed%3A2019-11-01..2020-03-20+label%3A3.1.0+>
>- Fixes : analytics-apim
><https://github.com/wso2/analytics-apim/milestone/20?closed=1>
>
> Source and distribution,
> Runtime : https://github.com/wso2/product-apim/releases/tag/v3.1.0-rc3
> Analytics :
> https://github.com/wso2/analytics-apim/releases/tag/v3.1.0-rc3
>
> Please download, test the product and vote.
>
> [+] Stable - go ahead and release
> [-] Broken - do not release (explain why)
>
> Thanks,
> WSO2 API Manager Team
>
> --
>
> *Krishan Wijesena*
> Senior Software Engineer | WSO2
>
> Email : krish...@wso2.com
> Mobile : +94776219923
> WSO2 Inc : http://wso2.com
> [image: http://wso2.com/signature] <http://wso2.com/signature>
>


-- 

*Tharindu Dharmarathna*Technical Lead
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

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


Re: [Dev] WSO2 EI 6.6.0 and No Access-Control-Allow-Origin

2020-03-18 Thread Tharindu Dharmarathna
Hi Erico,

According to your API definition, You had define POST only as a Resource in
API. Therefore OPTIONS request which pre-flight request didn't get the
headers set on API. Could you please try following documentation an see if
your issue could get resolves.
[1] - https://docs.wso2.com/display/EI660/Generating+an+API+using+Swagger

On Thu, Mar 19, 2020 at 8:45 AM Érico  wrote:

> Hello
> Please, I am facing an issue with CORS
> My client is an angular 8 app calling an API with the following code:
>
> http://ws.apache.org/ns/synapse; name="tenantsApi"
> context="/tenants">
>
>   
>  
>  
> 
>http://www.w3.org/2003/05/soap-envelope; xmlns:ser="
> http://services.mgt.tenant.carbon.wso2.org;>
>   
>   
>  
>   
>
> 
> 
>  
>   value="urn:retrieveTenants"/>
>   type="STRING"/>
>   type="STRING"/>
>   expression="fn:concat($ctx:username,':',$ctx:password)" scope="default"
> type="STRING"/>
>  http://org.apache.synapse/xsd;
> name="Authorization" expression="fn:concat('Basic ',
> base64Encode($ctx:credentials))" scope="transport" type="STRING"/>
>   scope="transport" type="STRING"/>
>   scope="transport" type="STRING"/>
>   value="GET,PUT,POST,DELETE,PATCH,OPTIONS" scope="transport" type="STRING"/>
>   value="Authorization,Origin,X-Requested-With,Accept,Content-Type"
> scope="transport" type="STRING"/>
>  
> 
>https://localhost:9443/services/TenantMgtAdminService.TenantMgtAdminServiceHttpsSoap12Endpoint;
> format="soap11"/>
> 
>  
>scope="axis2" type="STRING" description="Set to JSON media type"/>
>   
>   
>   scope="transport" type="STRING"/>
>   scope="transport" type="STRING"/>
>   value="GET,PUT,POST,DELETE,PATCH,OPTIONS" scope="transport" type="STRING"/>
>   value="Authorization,Origin,X-Requested-With,Accept,Content-Type"
> scope="transport" type="STRING"/>
>   
>
> 
>
> In can successfully test the API in Postman
>
> But in my angular app I'm getting the error:
>
> Access to XMLHttpRequest at 'http://localhost:8280/tenants/all' from
> origin 'http://localhost:3000' has been blocked by CORS policy: Response
> to preflight request doesn't pass access control check: No
> 'Access-Control-Allow-Origin' header is present on the requested resource.
>
>
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 

*Tharindu Dharmarathna*Technical Lead
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

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


Re: [Dev] APIM Profile optimization script - deployment.toml replacement

2020-02-03 Thread Tharindu Dharmarathna
gt;>>
>>>> On Wed, Jan 29, 2020 at 2:10 PM Harsha Kumara  wrote:
>>>>
>>>>> I'm thinking on real world scenario where customer will keep one base
>>>>> product archive and add the configs. isn't it easy for them to copy those
>>>>> files just to the profile optimizer tool location?
>>>>>
>>>>> On Wed, Jan 29, 2020 at 3:15 PM Bhathiya Jayasekara 
>>>>> wrote:
>>>>>
>>>>>> Hi Samitha,
>>>>>>
>>>>>> On Wed, Jan 29, 2020 at 2:29 PM Samitha Chathuranga 
>>>>>> wrote:
>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> Our profile optimization [1] script for 3.0.0 replaces [2] already
>>>>>>> available deployment.toml with a per-profile specific updated/optimized
>>>>>>> toml file. (i.e. api-devportal.toml, gateway-worker.toml, etc.). This
>>>>>>> process affects already configured setups, to lose the configurations.
>>>>>>>
>>>>>>> A user running the profile optimization might follow two approaches.
>>>>>>>
>>>>>>> 1. Run profile optimization on a vanilla pack.
>>>>>>>  - So no any configurations done when the profile optimization
>>>>>>> is executed
>>>>>>> 2. Run profile optimization on a configured pack.
>>>>>>>  - User/deployment specific configurations are already done in
>>>>>>> the deployment.toml file and user run the profile optimization after 
>>>>>>> that.
>>>>>>>
>>>>>>
>>>>>> The user is expected to run the optimization first and then do the
>>>>>> configuration. The real problem here comes with Kubernetes, where we pass
>>>>>> configs as config maps. These shouldn't be replaced by the optimizer,
>>>>>> because we expect the optimized configs to come via config maps.
>>>>>>
>>>>>>
>>>>>>>
>>>>>>> There is no any issue with the Approach-1. But the Approach-2
>>>>>>> results in the above mentioned issue. A user might have made all his
>>>>>>> configurations in the deployment.toml file. But once the profile
>>>>>>> optimization is executed, he will lose all those config changes.
>>>>>>>
>>>>>>> So the suggested solution is to pass an argument/option when we run
>>>>>>> the optimizing script, which decides whether to replace the 
>>>>>>> deployment.toml
>>>>>>> or not.
>>>>>>>
>>>>>>> sh /bin/wso2server.sh --optimize *-- 
>>>>>>> *-Dprofile=api-publisher
>>>>>>>
>>>>>>> In this case, we have to assume(and mandate) that user has manually
>>>>>>> applied the profile optimization related configurations too, into the
>>>>>>> deployment.toml file while doing the other configurations. So if the 
>>>>>>> "new
>>>>>>> option" decides not to override the deployment.toml file, the profile
>>>>>>> optimization steps other than deployment.toml changes will be applied.
>>>>>>>
>>>>>>> So we have two concerns on how we use this new option.
>>>>>>>
>>>>>>> *What is the ideal name for the new option ()?*
>>>>>>> Suggestions: --override, --overrideConfig
>>>>>>>
>>>>>>
>>>>>> How about --skipConfigOptimization ?
>>>>>>
>>>>>>
>>>>>>>
>>>>>>> *What is the default behavior of the new option?*
>>>>>>> - What is the default behavior if the new option is not passed when
>>>>>>> running the optimization.?
>>>>>>>
>>>>>>
>>>>>> It should be the current behavior.
>>>>>>
>>>>>> Thanks,
>>>>>> Bhathiya
>>>>>>
>>>>>>
>>>>>>> - Should it override the user-made configs with the profile-specific
>>>>>>> deployment toml or not?
>>>>>>> - Concerns:
>>>>>>>   - If override the toml, users manual configs will be
>>>>>>> completely removed (may be unknowlingly too).
>>>>>>>   - If do not override toml, the profile optimization will be
>>>>>>> done incompletely. Anyway we can echo a message conveying that the
>>>>>>> deployment toml was not overridiiden.
>>>>>>>
>>>>>>> Appreciate your input on this.
>>>>>>>
>>>>>>> [1]
>>>>>>> https://apim.docs.wso2.com/en/next/SetupAndInstall/DeployingWSO2APIManager/DistributedDeployment/product-profiles/
>>>>>>> [2]
>>>>>>> https://github.com/wso2/product-apim/blob/master/modules/distribution/product/src/main/startup-scripts/profileSetup.sh#L302
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Samitha
>>>>>>>
>>>>>>> --
>>>>>>> *Samitha Chathuranga*
>>>>>>> *Associate Technical Lead*, *WSO2 Inc.*
>>>>>>> lean.enterprise.middleware
>>>>>>> Mobile: +94715123761
>>>>>>>
>>>>>>> [image: http://wso2.com/signature] <http://wso2.com/signature>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Bhathiya Jayasekara* | Technical Lead | WSO2 Inc.
>>>>>> (m) +94 71 547 8185  | (e) bhathiya-@t-wso2-d0t-com
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> *Harsha Kumara*
>>>>>
>>>>> Technical Lead, WSO2 Inc.
>>>>> Mobile: +94775505618
>>>>> Email: hars...@wso2.coim
>>>>> Blog: harshcreationz.blogspot.com
>>>>>
>>>>> GET INTEGRATION AGILE
>>>>> Integration Agility for Digitally Driven Business
>>>>>
>>>>
>>>>
>>>> --
>>>> *Pubudu Gunatilaka* | Technical Lead | WSO2 Inc.
>>>> (m) +94774078049 | (w) +94112145345 | (e) pubu...@wso2.com
>>>> <http://wso2.com/signature>
>>>>
>>>>
>>>
>>> --
>>> *Samitha Chathuranga*
>>> *Associate Technical Lead*, *WSO2 Inc.*
>>> lean.enterprise.middleware
>>> Mobile: +94715123761
>>>
>>> [image: http://wso2.com/signature] <http://wso2.com/signature>
>>>
>>
>>
>> --
>> *Samitha Chathuranga*
>> *Senior Software Engineer*, *WSO2 Inc.*
>> lean.enterprise.middleware
>> Mobile: +94715123761
>>
>> [image: http://wso2.com/signature] <http://wso2.com/signature>
>>
>
>
> --
> *Samitha Chathuranga*
> *Associate Technical Lead*, *WSO2 Inc.*
> lean.enterprise.middleware
> Mobile: +94715123761
>
> [image: http://wso2.com/signature] <http://wso2.com/signature>
>


Thanks

*Tharindu Dharmarathna*Technical Lead
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

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


Re: [Dev] APIM key manager with shibboleth idP

2020-01-12 Thread Tharindu Dharmarathna
Hi Bernard,

If I'm correct, You are trying to configure Shibboleth as an IDP to use as
SSO provider to API Manager. In this case, You can configure shibboleth as
IDP on wxo2 apim 3.x.x and use as it its. And you may need to share the
user store between shibboleth and apim.
Thanks
Tharindu

On Thu, Dec 19, 2019 at 4:16 PM Bernard Paris 
wrote:

> Hi,
>
> What is the simple way  to couple the APIM-3.x key manager with
> shibboleth idP  ?
> Do we have to first use IS with APIM and couple IS with shibboleth or is
> possible to directly add / configure shibboleth as a third party key
> manager ?
>
> Thanks,
> Bernard
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 

*Tharindu Dharmarathna*Technical Lead
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

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


Re: [Dev] Kernel 4.5.0 catalina-server.xml getting overwritten in each restart

2019-09-27 Thread Tharindu Dharmarathna
Hi Dulanja,

In kernel new release 4.5.0 we have new single file config model,
therefore, the changes done in specific files get reverted by the single
config file configurations.

Thanks
Tharindu

On Fri, Sep 27, 2019 at 4:29 PM Dulanja Liyanage  wrote:

> Hi Team,
>
> When I added "ciphers" inside the , it got removed when I
> restarted the server. Same happened when I changed a valve config. How can
> I make the changes stick? I tested using an IS 5.9.0 Beta pack.
>
> Thanks,
> Dulanja
>
>

-- 

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

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


[Dev] [VOTE] Release WSO2 Carbon Kernel 4.5.0 RC1

2019-09-08 Thread Tharindu Dharmarathna
Hi Devs,

WSO2 Carbon Kernel 4.5.0 RC1 Release Vote.

This release fixes the following issues:
https://github.com/wso2/carbon-kernel/issues?q=is%3Aissue+label%3AC4+milestone%3A4.5.0+is%3Aclosed

Please download and test your products with kernel 4.5.0 RC1 and vote. The
vote will be open for 72 hours or longer as needed.


*Maven staging repository:*
https://maven.wso2.org/nexus/content/repositories/orgwso2carbon-1387/

*The tag to be voted upon:*
https://github.com/wso2/carbon-kernel/tree/v4.5.0-rc1

[ ] Broken - do not release (explain why)
[ ] Stable - go ahead and release


Thank you
WSO2 Engineering Team

*Tharindu Dharmarathna*Associate Technical Lead
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Customizing oauth2 introspection response

2019-01-16 Thread Tharindu Dharmarathna
Hi shiva,

Its better to use user-info endpoint as [1] instead of using introspect
endpoint since claims are not available to send on introspection endpoint
as spec in [2].
[1] -
https://medium.com/@dewni.matheesha/claim-mapping-and-retrieving-end-user-information-in-wso2is-cffd5f3937ff
[2] - https://tools.ietf.org/html/rfc7662#section-2.2

On Tue, Jan 15, 2019 at 5:41 PM Shiva Kumar K R 
wrote:

> Hi WSO2 Team,
> I am using oauth2 token introspection API to verify token status and get
> user information. Is it possible to customize the response body of this API
> like adding new claim or modifying existing claim?
>
> Thank you,
> Shiva
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 

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

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


Re: [Dev] Restrict API wsdl

2019-01-15 Thread Tharindu Dharmarathna
Hi Mintu,

You can handle above requirement by API Visibility as per [1]. Where users
who have specific role only can see the APIS under the store.

[1] -
https://docs.wso2.com/display/AM260/Key+Concepts#KeyConcepts-APIvisibility



On Wed, Dec 19, 2018 at 10:18 AM Mintu Eapen  wrote:

> Hi,
>
>
>
> I have got a requirement.. that there should be two type of APIS – APIS
> visible in the public url… and APIs available only for internal users.
>
>
>
> So, in such case.. even the WSDL of the API should not be available over
> the external url.
>
>
>
>
>
> So, is it possible to have two instances of store.. and we can
> specifically mention if a API is to be exposed both on the public and
> internal url.. or just internal url…
>
>
>
>
>
> Any solution for this ?
>
>
>
>
>
> Thanks in advance
>
>
>
>
>
>
>
>
> * Mintu Eapen *
>
> *T:*   *F:  *  P.O.BOX*:* 4700, Dubai U.A.E
> *E:* mea...@dc.gov.ae
>
> Main building - MAKANI# 3089993465
> Personal Status building - MAKANI# 3427491952
> <https://twitter.com/DUBAICOURTS>
> <http://www.facebook.com/DubaiCourt?ref=hl>
>
> *مينتو ايبان*
>
> *هاتف:**فاكس: * *ص.ب:* 4700 دبي  إ.ع.م
> *البريد الإلكتروني:* mea...@dc.gov.ae
>
> هذه الرسالة و مرفقاتها تمثل وثيقة سرية قد تحتوي على معلومات تتمتع بحماية
> وحصانة قانونية، إذا لم تكن الشخص المعني بهذه الرسالة يجب عليك إبلاغنا فورا
> عن طريق صفحة التواصل
> <https://www.dc.gov.ae/PublicServices/ContactUs.jsf#form> على موقع
> المحاكم ، و حذف الرسالة و مرفقاتها من الحاسب الآلي الخاص بك. ولا يجوز لك
> نسخ هذه الرسالة و مرفقاتها أو أي جزء منها، أو البوح بمحتوياتها لأي شخص أو
> استعمالها لأي غرض. علماً بأن الإفادات و الآراء التي تحويها هذه الرسالة تعبر
> فقط عن رأي المُرسل و ليس بالضرورة رأي محاكم دبي، ولا تتحمل ( محاكم دبي) أي
> مسئولية عن الأضرار الناتجة عن أي فيروسات قد يحملها هذا البريد
> *يرجى التفكير في البيئة قبل طباعة هذا البريد الالكتروني ومرفقاته*
>
> Disclaimer: This message and its attachment are confidential and may
> contain legally privileged information. If you are not the intended
> recipient, please notify us immediately on our Contact Us
> <https://www.dc.gov.ae/PublicServices/ContactUs.jsf#form> page or delete
> this message and its attachment. You should not copy this message or
> disclose its contents to any other person or use it for any purpose.
> Statements and opinions expressed in this e-mail are those of the sender,
> and do not necessarily reflect those of Dubai Courts. Dubai Courts accepts
> no liability for damage caused by any virus transmitted by this email
> *Please consider the environment before printing this e-mail and
> attachments*
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 

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

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


Re: [Dev] [DEV] Defining environment variables for C5 config based deployment

2018-10-24 Thread Tharindu Dharmarathna
Hi Sajith,

As per my findings, we couldn't have variable names with underscores as the
config created from the configuration class we wrote. If we write variable
names with underscores it didn't get broke as it check for the first part
of environment variable as a namespace.

Thanks

On Wed, Oct 24, 2018 at 11:31 PM Sajith Ariyarathna 
wrote:

> Hi Tharindu,
>
> What if there are underscores in the variable name? How do we deal with
> that?
>
> Thanks.
>
> On Wed, Oct 24, 2018 at 11:16 PM Danesh Kuruppu  wrote:
>
>> +1 for the change.
>>
>> @Vidura Nanayakkara  Can you please review these
>> changes.
>>
>> Thanks
>> Danesh
>>
>> On Wed, Oct 24, 2018 at 10:52 PM Tharindu Dharmarathna <
>> tharin...@wso2.com> wrote:
>>
>>> Hi All,
>>>
>>> We had come across the following issue when configuring environment
>>> variables for API Manager 3.0.
>>>
>>> We had the following type of deployment.yaml as default.
>>>
>>> wso2.configuration:
>>>   complexBean:
>>> name: default
>>> Bean:
>>>   name: default
>>>
>>>
>>> in order to set the environment variable for *name *under complexBean,
>>> we have to write environment variable as follows.
>>>
>>> WSO2.CONFIGURATION_COMPLEXTESTBEAN_NAME="default"
>>>
>>> Which is not supported to create an environment variable couldn't have a
>>> dot (.) in the name.
>>>
>>> In order to fix this issue, I had come up with make Underscore ( _ )  in
>>> namespace value. Once it fixed it looks like follows.
>>>
>>> WSO2_CONFIGURATION_COMPLEXTESTBEAN_NAME="default"
>>>
>>> Please find the git issue create [1] and pull request for fix [2].
>>>
>>> [1] - https://github.com/wso2/carbon-config/issues/66
>>> [2]  - https://github.com/wso2/carbon-config/issues/66
>>>
>>>
>>> Thanks
>>>
>>> *Tharindu Dharmarathna*Associate Technical Lead
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>
>>
>> --
>>
>> *Danesh Kuruppu*
>> Associate Technical Lead | WSO2
>>
>> Email: dan...@wso2.com
>> Mobile: +94 (77) 1690552
>> Web: WSO2 Inc <https://wso2.com/signature>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>
>
> --
> Sajith Janaprasad Ariyarathna
> WSO2, Inc.;  http://wso2.com/
> <https://wso2.com/signature>
>


-- 

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

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


[Dev] [DEV] Defining environment variables for C5 config based deployment

2018-10-24 Thread Tharindu Dharmarathna
Hi All,

We had come across the following issue when configuring environment
variables for API Manager 3.0.

We had the following type of deployment.yaml as default.

wso2.configuration:
  complexBean:
name: default
Bean:
  name: default


in order to set the environment variable for *name *under complexBean, we
have to write environment variable as follows.

WSO2.CONFIGURATION_COMPLEXTESTBEAN_NAME="default"

Which is not supported to create an environment variable couldn't have a
dot (.) in the name.

In order to fix this issue, I had come up with make Underscore ( _ )  in
namespace value. Once it fixed it looks like follows.

WSO2_CONFIGURATION_COMPLEXTESTBEAN_NAME="default"

Please find the git issue create [1] and pull request for fix [2].

[1] - https://github.com/wso2/carbon-config/issues/66
[2]  - https://github.com/wso2/carbon-config/issues/66


Thanks

*Tharindu Dharmarathna*Associate Technical Lead
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM 2.5.0] API Gateways not showing in store console

2018-10-20 Thread Tharindu Dharmarathna
Hi Godwin,

Is this a distributed setup ?, If so please check gateway configuration
under store node, as we use those configurations to call endpoints, and
also if you correctly publish APIs as sandbox and production, You'll not be
able to invoke APIs in production node as we not defining the sandbox
endpoint.

On Sat, Oct 20, 2018 at 12:01 PM Godwin Shrimal  wrote:

> Hi Nuwan,
>
> I am using two gateways with one is having "production" and other one
> having "sandbox" type. According to the offline chat had with Thilini, it
> is showing drop-down only if there are more than one gateways from *one
> gateway type*. So since we can't select sandbox endpoint, even we select
> sandbox key its calling production gateway endpoint.
>
> Thanks
> Godwin
>
> On Sat, Oct 20, 2018 at 3:53 AM Thilini Shanika  wrote:
>
>> Hi Godwin,
>>
>> Further, if you don't have more than one gateway environments defined
>> under a given type (production, sandbox, or hybrid), API Gateway drop-down
>> won't be showing up in API console, since you don't have multiple gateway
>> endpoints to select in the drop down. That is by design and not a bug.
>>
>> On Sat, Oct 20, 2018 at 5:16 AM Nuwan Dias  wrote:
>>
>>> Valid types are "production", "sandbox" and "hybrid". Are you using one
>>> of these or something called "production and sandbox"?
>>>
>>> On Fri, Oct 19, 2018 at 9:11 PM Harsha Kumara  wrote:
>>>
>>>> @Thilini Shanika 
>>>>
>>>> On Fri, Oct 19, 2018 at 3:20 PM Godwin Shrimal  wrote:
>>>>
>>>>> Hi APIM Team,
>>>>>
>>>>> We can't see gateways in API Store Console when we use type as
>>>>> production and sandbox. If we use both gateways as hybrid then I can see
>>>>> the API Gateways in the swagger console.
>>>>> Is it a known issue?
>>>>>
>>>>> Thanks
>>>>> Godwin
>>>>> --
>>>>> *Godwin Amila Shrimal*
>>>>> Associate Technical Lead
>>>>> WSO2 Inc.; http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>> mobile: *+94761124419*
>>>>> linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
>>>>> <https://www.linkedin.com/in/godwin-amila-2ba26844/>*
>>>>> twitter: https://twitter.com/godwinamila
>>>>> <http://wso2.com/signature>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *Harsha Kumara*
>>>>
>>>> Associate Technical Lead, WSO2 Inc.
>>>> Mobile: +94775505618
>>>> Email: hars...@wso2.coim
>>>> Blog: harshcreationz.blogspot.com
>>>>
>>>> GET INTEGRATION AGILE
>>>> Integration Agility for Digitally Driven Business
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>
>>>
>>> --
>>> *Nuwan Dias* | Director | WSO2 Inc.
>>> (m) +94 777 775 729 | (e) nuw...@wso2.com
>>> [image: Signature.jpg]
>>>
>>
>>
>> --
>> Thilini Shanika
>> Associate Technical Lead
>> WSO2, Inc.; http://wso2.com
>> 20, Palmgrove Avenue, Colombo 3
>>
>> E-mail: tgtshan...@gmail.com
>>
>>
>
> --
> *Godwin Amila Shrimal*
> Associate Technical Lead
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94761124419*
> linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
> <https://www.linkedin.com/in/godwin-amila-2ba26844/>*
> twitter: https://twitter.com/godwinamila
> <http://wso2.com/signature>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 

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

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


[Dev] WSO2 API Manager 3.0.0-M31 Released!

2018-10-19 Thread Tharindu Dharmarathna
The WSO2 API Manager team is pleased to announce the release of API Manager
3.0.0-M31. It's now available to download.


## *Distribution*

- [wso2apim-3.0.0-m31](
https://github.com/wso2/product-apim/releases/download/v3.0.0-m31/wso2apim-3.0.0-m31.zip
)


## *Documentation*

- [WSO2 API Manager 3.0.0](https://docs.wso2.com/display/AM300/)

Following list contains all the features, improvements and bug fixes
available with this milestone.


## *Bug Fixes*

- [Product-APIM Bug fixses](
https://github.com/wso2/product-apim/issues?q=is%3Aissue+milestone%3A3.0.0-m31+is%3Aclosed
)

## *Improvements*

- [Product-APIM improvments](
https://github.com/wso2/product-apim/issues?utf8=%E2%9C%93=is%3Aissue+is%3Aclosed+milestone%3A3.0.0-m31+label%3AType%2FImprovement+
)

##* List of Open Issues*

- Open Issues for [Product-APIM](
https://github.com/wso2/product-apim/issues?q=is%3Aopen+is%3Aissue+label%3A3.
0.0+label%3AType%2FBug)

## *How To Contribute*

Your feedback is most welcome!


## *Mailing Lists*
```
Join our mailing list and collaborate with the developers directly.
```
Developer List : dev@wso2.org | Subscribe | [Mail Archive](
http://mail.wso2.org/mailarchive/dev/)

- User Forum : [StackOverflow](
https://stackoverflow.com/questions/tagged/wso2-am)

*Reporting Issues*

We encourage you to report issues, improvements and feature requests
regarding WSO2 API Manager through [WSO2 API Manager GIT Issues](
https://github.com/wso2/product-apim/issues).

*~ WSO2 API Manager Team ~*

Thanks

*Tharindu Dharmarathna*Associate Technical Lead
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IS][5.7.0] - Register Oauth Application with Audience Restrictions.

2018-10-17 Thread Tharindu Dharmarathna
Hi All,

Do We have a way to register Oauth Application from DCR Rest API with
Audience Restrictions,

As per the code in [1], I'm not able to see there was an attribute
available to give audiences.


[1] -
https://github.com/wso2-extensions/identity-inbound-auth-oauth/blob/master/components/org.wso2.carbon.identity.oauth.dcr/src/main/java/org/wso2/carbon/identity/oauth/dcr/service/DCRMService.java#L304-L363


Thanks

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

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


[Dev] [3.0.0] - JWT Token Generation in API Manager

2018-10-09 Thread Tharindu Dharmarathna
>
> Hi All,
>
> *Problem*
>
> In order to generate token as JWT for specific applications, we need to
> switch the Token Generation implementation according to some application
> level property.
>
> *Solutions*
>
> 1. Change DCRM rest API to register Application as JWT token issuer.
>
> 2. Implement a custom grant type to generate token as JWT.
>
> 3. Generate token based on the Content-Type header.
>
> What will be the best way to implement this as API Manager 2.5.0 version
> we supports JWT generation for Application for any grant type.
>
>
> Thanks
>
-- 

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

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


[Dev] [3.0.0] - JWT Token Generation

2018-10-09 Thread Tharindu Dharmarathna
Hi All,

*Problem*

In order to generate token as JWT for specific applications, we need to
switch the Token Generation implementation according to some application
level property.

*Solutions*

1. Change DCRM rest API to register Application as JWT token issuer.

2. Implement a custom grant type to generate token as JWT.

3. Generate token based on the Content-Type header.

What will be the best way to implement this as 2.5.0 version we
supports JWT generation for Application for any grant type.


Thanks


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

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


Re: [Dev] [Architecture] Dev][VOTE] Release of WSO2 API Manager 2.6.0 RC3

2018-09-17 Thread Tharindu Dharmarathna
Hi,

Tested Reverse proxy configuration. No issues found

Hence, +1 for the release.




On Mon, Sep 17, 2018 at 3:34 PM Ishara Cooray  wrote:

> Hi,
>
> Also tested 'Enabling Role-Based Access Control Using XACML' and no
> issues found.
>
> Thanks & Regards,
> Ishara Cooray
> Senior Software Engineer
> Mobile : +9477 262 9512
> WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> On Mon, Sep 17, 2018 at 2:47 PM, Mushthaq Rumy  wrote:
>
>> Hi All,
>>
>> I have tested the following scenarios.
>>
>> - Basic API creation flow with the creator role.
>> - Publishing an API with publisher role.
>> - User sign-up.
>> - Password recovery with super tenant and other tenants.
>>
>> No blockers found. Hence [+] Stable - go ahead and release.
>>
>> Thanks & Regards,
>> Mushthaq
>>
>> On Mon, Sep 17, 2018 at 1:43 PM Bhathiya Jayasekara 
>> wrote:
>>
>>> Hi,
>>>
>>> I tested the following areas and no blockers were found.
>>>
>>> - Semi manual client registration
>>> - Grant types
>>> - Scopes
>>> - GDPR
>>>
>>> Hence, +1 for the release.
>>>
>>> Thanks,
>>> Bhathiya
>>>
>>>
>>>
>>>
>>> On Mon, Sep 17, 2018 at 12:42 PM Praminda Jayawardana 
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> Tested below scenarios,
>>>>
>>>> 1. Basic API creation and publishing with roles.
>>>> 2. Micro gateway with labels
>>>> 3. Micro gateway stat publishing
>>>> 4. Micro gateway throttling with both oauth and jwt tokens
>>>> 5. Dynamic SSL certificates
>>>>
>>>>
>>>> [+] Stable - go ahead and release
>>>>
>>>> Thanks,
>>>> Praminda
>>>>
>>>> On Mon, Sep 17, 2018 at 11:50 AM Pubudu Gunatilaka 
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Tested the following scenarios.
>>>>>
>>>>> - JWT generation in API Manager
>>>>> - API Micorgateway generation using a Swagger Imported API
>>>>> - API Microgateway API invocation with a JWT and without a
>>>>> subscription (JWT validation only)
>>>>> - API Microgateway run on VM/Docker
>>>>>
>>>>> [+] Stable - go ahead and release.
>>>>>
>>>>> Thank you!
>>>>>
>>>>> On Mon, Sep 17, 2018 at 11:26 AM Ishara Cooray 
>>>>> wrote:
>>>>>
>>>>>> Tested the following.
>>>>>>
>>>>>> Store REST API
>>>>>> External Stores
>>>>>> Store tag listing and tagwiseMode
>>>>>>
>>>>>> [+] Stable - go ahead and release
>>>>>>
>>>>>>
>>>>>> Thanks & Regards,
>>>>>> Ishara Cooray
>>>>>> Senior Software Engineer
>>>>>> Mobile : +9477 262 9512
>>>>>> WSO2, Inc. | http://wso2.com/
>>>>>> Lean . Enterprise . Middleware
>>>>>>
>>>>>>>
>>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Pubudu Gunatilaka*
>>>>> Committer and PMC Member - Apache Stratos
>>>>> Senior Software Engineer
>>>>> WSO2, Inc.: http://wso2.com
>>>>> mobile : +94774078049 <%2B94772207163>
>>>>>
>>>>> ___
>>>>> Architecture mailing list
>>>>> architect...@wso2.org
>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *Praminda Jayawardana*
>>>> Senior Software Engineer
>>>> WSO2 Inc.; http://wso2.com
>>>> Mobile : +94 (0) 716 590918
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>
>>>
>>> --
>>> *Bhathiya Jayasekara*
>>> *Technical Lead,*
>>> *WSO2 inc., http://wso2.com <http://wso2.com>*
>>>
>>> *Phone: +94715478185*
>>> *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
>>>
>>
>>
>> --
>> Mushthaq Rumy
>> *Senior Software Engineer*
>> Mobile : +94 (0) 779 492140
>> Email : musht...@wso2.com
>> WSO2, Inc.; http://wso2.com/
>> lean . enterprise . middleware.
>>
>> <http://wso2.com/signature>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 

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

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


Re: [Dev] [Architecture] Dev][VOTE] Release of WSO2 API Manager 2.6.0 RC3

2018-09-16 Thread Tharindu Dharmarathna
s?utf8=%E2%9C%93=is%3Aclosed+closed%3A2018-07-16..2018-09-15+-label%3A%22APIM+3.0.0%22>
>>>>>>>> Fixes : product-apim
>>>>>>>> <https://github.com/wso2/product-apim/issues?utf8=%E2%9C%93=is%3Aclosed+closed%3A2018-07-16..2018-09-15+-label%3A%223.0.0%22>
>>>>>>>> Fixes : analytics-apim
>>>>>>>> <https://github.com/wso2/analytics-apim/issues?utf8=%E2%9C%93=is%3Aclosed+closed%3A2018-07-16..2018-09-15>
>>>>>>>> Fixes : product-microgateway
>>>>>>>> <https://github.com/wso2/product-microgateway/issues?utf8=%E2%9C%93=is%3Aclosed+closed%3A2018-07-16..2018-09-15>
>>>>>>>>
>>>>>>>> Source and Distribution,
>>>>>>>>- Runtime :
>>>>>>>> https://github.com/wso2/product-apim/releases/tag/v2.6.0-rc3
>>>>>>>>- Analytics :
>>>>>>>> https://github.com/wso2/analytics-apim/releases/tag/v2.6.0-rc3
>>>>>>>>- Tooling :
>>>>>>>> https://github.com/wso2/devstudio-tooling-apim/releases/tag/v2.6.0-rc1
>>>>>>>>- Microgateway :
>>>>>>>> https://github.com/wso2/product-microgateway/releases/tag/v2.6.0-rc2
>>>>>>>>
>>>>>>>> Please download, test the product and vote.
>>>>>>>>
>>>>>>>>   [+] Stable - go ahead and release
>>>>>>>>   [-] Broken - do not release (explain why)
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> ~ WSO2 API Manager Team ~
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Regards,
>>>>>>>> Chamila Adhikarinayake
>>>>>>>> Associate Technical Lead
>>>>>>>> WSO2, Inc.
>>>>>>>> Mobile - +94712346437
>>>>>>>> Email  - chami...@wso2.com
>>>>>>>> Blog  -  http://helpfromadhi.blogspot.com/
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Regards,
>>>>>>> Chamila Adhikarinayake
>>>>>>> Associate Technical Lead
>>>>>>> WSO2, Inc.
>>>>>>> Mobile - +94712346437
>>>>>>> Email  - chami...@wso2.com
>>>>>>> Blog  -  http://helpfromadhi.blogspot.com/
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Nuwan Dias* | Director | WSO2 Inc.
>>>>>> (m) +94 777 775 729 | (e) nuw...@wso2.com
>>>>>> [image: Signature.jpg]
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Sanjeewa Malalgoda*
>>>>> Software Architect | Associate Director, Engineering WSO2 Inc.
>>>>> (m) +94 712933253 | (e) sanje...@wso2.com
>>>>>
>>>>> GET INTEGRATION AGILE <https://wso2.com/signature>
>>>>> Integration Agility for Digitally Driven Business
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>
>>>>
>>>> --
>>>> Rajith Roshan
>>>> Senior Software Engineer, WSO2 Inc.
>>>> Mobile: +94-7 <%2B94-71-554-8430>17-064-214
>>>>
>>>> ___
>>>> Architecture mailing list
>>>> architect...@wso2.org
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Chamila Adhikarinayake
>>> Associate Technical Lead
>>> 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
>>>
>>
>>
>> --
>> Thanks & Regards
>>
>> *Chaminda Jayawardena*
>> WSO2 Inc. - http://wso2.com
>> +94-77-7725234
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Naduni Pamudika*
> Software Engineer | WSO2
>
> Mobile: +94 719 143658 <+94%2071%20914%203658>
> LinkedIn: https://lk.linkedin.com/in/naduni-pamudika
> Blog: https://medium.com/@naduni_pamudika
> [image: http://wso2.com/signature] <http://wso2.com/signature>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>


-- 

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

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


[Dev] WSO2 API Manager 2.2.0-update3 Released!

2018-04-26 Thread Tharindu Dharmarathna
The WSO2 API Manager team is pleased to announce the release of version
2.2.0-update3 of API Manager.

WSO2 API Manager is a platform for creating, managing, consuming and
monitoring APIs. It employs proven SOA best practices to solve a wide range
of API management challenges such as API provisioning, API governance, API
security and API monitoring. It combines some of the most powerful and
mature components of the WSO2's state-of-the-art Carbon platform to deliver
a smooth and end-to-end API management experience while catering to both
API publisher and API consumer requirements.

WSO2 API Manager is comprised of several modules.

   - API Provider: Define new APIs and manage them
   - API Store: Browse published APIs and subscribe to them
   - API Gateway: The underlying API runtime based on WSO2 ESB
   - API Key Manager: Performs Key Generation and Key Validation
   functionalities
   - API Traffic Manager: Performs Rate Limiting of API Requests

For more information on WSO2 API Manager please visit
http://wso2.com/products/api-manager. Also, take a look at the online
product documentation
<https://docs.wso2.com/display/AM2XX/WSO2+API+Manager+Documentation>.

Distributions
wso2am-2.2.0-update3.zip
<https://github.com/wso2/product-apim/releases/download/v2.2.0-update3/wso2am-2.2.0-update3.zip>
ws02am-micro-gw-2.2.0-update2.zip
<https://github.com/wso2/product-apim/releases/download/v2.2.0-update2/wso2am-micro-gw-2.2.0-update2.zip>

wso2am-analytics-2.2.0-update1.zip
<https://github.com/wso2/analytics-apim/releases/download/v2.2.0-update1/wso2am-analytics-2.2.0-update1.zip>

How to Run

   1. Extract the downloaded zip
   2. Go to the bin directory in the extracted folder
   3. Run the wso2server.sh or wso2server.bat as appropriate
   4. Launch a web browser and navigate to https://localhost:9443/publisher to
   access the API publisher webapp
   5. Navigate to https://localhost:9443/store to access the API store
   6. Navigate to https://localhost:9443/admin to access Admin Portal
   7. Use "admin", "admin" as the username and password to login as an admin

Bug Fixes And Improvements in 2.2.0-update3

   - GitHub (Product-apim
   <https://github.com/wso2/product-apim/milestone/41?closed=1>)

Known Issues

All the open issues pertaining to WSO2 API Manager are reported at the
following location:

   - GitHub (Product-apim
   
<https://github.com/wso2/product-apim/issues?q=is%3Aopen+is%3Aissue+label%3A2.2.0>),
   (Carbon-apimgt
   
<https://github.com/wso2/carbon-apimgt/issues?q=is%3Aopen+is%3Aissue+label%3A%22APIM+2.2.0%22>),
   (Analytics-apim
   <https://github.com/wso2/analytics-apim/issues?q=is%3Aopen+is%3Aissue>)

How You Can ContributeMailing Lists

Join our mailing list and correspond with the developers directly.

   -

   Developer List: dev@wso2.org | Subscribe | Mail Archive
   -

   User List: u...@wso2.org | Subscribe | Mail Archive

Reporting Issues

We encourage you to report issues, documentation faults, and feature
requests regarding WSO2 API Manager through the public API Manager Git Repo
<https://github.com/wso2/product-apim/issues>.

-- The WSO2 API Manager Team --


-- 

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

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


Re: [Dev] [APIM 2.1.0] No CORS headers received for OPTIONS http method

2018-04-19 Thread Tharindu Dharmarathna
Hi Gayan,
Did you Add the OPTIONS resource to API ?. Then OPTION call will be going
to the backend. If you not specifying OPTION Resource you need to send
*Access-Control-Request-Method
*header.


Thanks
Tharindu


On Fri, Apr 20, 2018 at 4:23 AM, Gayan Yalpathwala <gay...@wso2.com> wrote:

> Hi team,
>
> Let me explain this using Pizzashack sample API. I have added OPTIONS
> method for "/menu" resource on top of the sample.
>
> For GET method, I am receiving "Access-Control-Allow-Headers" whereas for
> OPTIONS, I am not getting it. See below.
>
> curl -k -X GET --header 'Accept: application/json' --header
> 'Authorization: Bearer x' 'https://mylocal:8243/pizzashack/1.0.0/menu'
> -v
> < HTTP/1.1 200 OK
> < Access-Control-Allow-Origin: *
> < Access-Control-Allow-Methods: GET
> < Access-Control-Allow-Headers: authorization,Access-Control-
> Allow-Origin,Content-Type,SOAPAction
>
> curl -k -X OPTIONS --header 'Accept: application/json' --header
> 'Authorization: Bearer x' 'https://mylocal:8243/pizzashack/1.0.0/menu'
> -v
> < HTTP/1.1 200 OK
> < Allow: DELETE,POST,GET,PUT,OPTIONS,HEAD
>
> I am expecting CORS headers for OPTIONS call as well.
>
> Thanks,
>
> --
> *Gayan Kaushalya Yalpathwala*
> Senior Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> LK: +94 71 868 2704
> US: (408) 386-7521
>
> <https://wso2.com/events/>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

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

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


[Dev] [Architecture] [Announce] WSO2 API Manager 3.0.0-M27 Released!

2018-04-19 Thread Tharindu Dharmarathna
The WSO2 API Manager team is pleased to announce the release of API Manager
3.0.0-M27. It's now available to download.


## Distribution

- [wso2apim-3.0.0-M27](
https://github.com/wso2/product-apim/releases/download/v3.0.0-m27/wso2apim-3.0.0-m27.zip
)
- [wso2apim-gateway-3.0.0-M27](
https://github.com/wso2/product-apim/releases/download/v3.0.0-m27/wso2apim-gateway-3.0.0-m27.zip
)

## Documentation

- [WSO2 API Manager 3.0.0](https://docs.wso2.com/display/AM300/)

Following list contains all the features, improvements and bug fixes
available with this milestone.


## Bug Fixes

- [Product-APIM Bug fixses](
https://github.com/wso2/product-apim/issues?q=is%3Aissue+milestone%3A3.0.0-m27+is%3Aclosed
)


## List of Open Issues

- Open Issues for [Product-APIM](
https://github.com/wso2/product-apim/issues?q=is%3Aopen+is%3Aissue+label%3A3.0.0+label%3AType%2FBug
)

## How To Contribute

Your feedback is most welcome!


## Mailing Lists
```
Join our mailing list and collaborate with the developers directly.
```
Developer List : dev@wso2.org | Subscribe | [Mail Archive](
http://mail.wso2.org/mailarchive/dev/)

- User Forum : [StackOverflow](
https://stackoverflow.com/questions/tagged/wso2-am)

Reporting Issues

We encourage you to report issues, improvements and feature requests
regarding WSO2 API Manager through [WSO2 API Manager GIT Issues](
https://github.com/wso2/product-apim/issues).

~ WSO2 API Manager Team ~

Thanks


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

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


[Dev] WSO2 API Manager 3.0.0-M8 Released!

2017-11-30 Thread Tharindu Dharmarathna
The WSO2 API Manager team is pleased to announce the release of API Manager
3.0.0-M8. It's now available to download.
Distribution

   -
   
https://github.com/wso2/product-apim/releases/download/v3.0.0-m8/wso2apim-3.0.0-m8.zip
   -
   
https://github.com/wso2/product-apim/releases/download/v3.0.0-m8/wso2apim-gateway-3.0.0-m8.zip
   -
   
https://github.com/wso2/product-apim/releases/download/v3.0.0-m8/wso2apim-das-3.0.0-m8.zip

Documentation

   - https://docs.wso2.com/display/AM300/

Following list contains all the features, improvements and bug fixes
available with this milestone.
New Feature

   -


   
https://github.com/wso2/product-apim/issues?q=label%3A3.0.0+milestone%3A3.0.0-m8+is%3Aclosed+label%3A%22Type%2FNew+Feature%22

Tasks/Bug Fixes and Improvements

   -


   
https://github.com/wso2/product-apim/issues?q=label%3A3.0.0+milestone%3A3.0.0-m8+is%3Aclosed+label%3AType%2FBug

List of Open Issues

   - https://github.com/wso2/product-apim/issues?q=is%3Aopen+is%
   3Aissue+label%3A3.0.0+label%3AType%2FBug
   
<https://github.com/wso2/product-apim/issues?q=is%3Aopen+is%3Aissue+label%3A3.0.0+label%3AType%2FBug>
   - https://github.com/wso2/carbon-apimgt/issues?q=is%3Aopen+is%
   3Aissue+label%3A3.0.0
   
<https://github.com/wso2/carbon-apimgt/issues?q=is%3Aopen+is%3Aissue+label%3A3.0.0>

How To Contribute

Your feedback is most welcome!
Mailing Lists

   - Join our mailing list and correspond with the developers directly.

Developer List : dev@wso2.org | Subscribe | Mail Archive
<http://mail.wso2.org/mailarchive/dev/>

   - User Forum : StackOverflow
   <https://stackoverflow.com/questions/tagged/wso2-am>

Reporting Issues

We encourage you to report issues, improvements and feature requests
regarding WSO2 API Manager through WSO2 API Manager GIT Issues
<https://github.com/wso2/product-apim/issues>.

~ WSO2 API Manager Team ~

Thanks

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

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


Re: [Dev] [DEV][puppet-apim]

2017-11-24 Thread Tharindu Dharmarathna
Hi Nuwan,

I think pubudu get missed understanding as Analytics nodes. We do not need
to have spark clustering in TM .

On Fri, Nov 24, 2017 at 11:28 AM, Nuwan Silva <nuw...@wso2.com> wrote:

> Thanks for the info but, do we need to configure spark cluster
> configurations for traffic manager? If so why?
>
> On Fri, Nov 24, 2017 at 10:57 AM, Samitha Chathuranga <sami...@wso2.com>
> wrote:
>
>> I'm not sure whether we are using dep-sync now since in APIM docker
>>> patterns we removed depsync and added rsync.[1]
>>>
>> Using rsync [1] is completely external configuration with wso2 product
>> configs, hence different to the usage of svn-dep-sync. But if you follow up
>> with svn dep sync, required templates are already added to the template
>> files and so you have to add only the required hiera data. Anyway now we
>> recommend rsync over svn, so better to go with rsync.
>>
>> [1] - https://docs.wso2.com/display/AM210/Configuring+rsync+for+De
>> ployment+Synchronization
>>
>> On Fri, Nov 24, 2017 at 10:36 AM, Prasanna Dangalla <prasa...@wso2.com>
>> wrote:
>>
>>>
>>> On Fri, Nov 24, 2017 at 10:08 AM, Anuruddha Liyanarachchi <
>>> anurudd...@wso2.com> wrote:
>>>
>>>> Hi Nuwan,
>>>>
>>>> As per the current patterns, there is no HA in traffic manager. The
>>>> approach you have taken should work. However, you will need to configure
>>>> dep-sync between two nodes if you are deploying custom policies.
>>>>
>>> I'm not sure whether we are using dep-sync now since in APIM docker
>>> patterns we removed depsync and added rsync.[1]
>>>
>>> [1] - https://github.com/wso2/docker-apim/blob/v2.1.0/docker-compo
>>> se/pattern-4/gateway-worker-2/worker-manager-rsync.sh
>>>
>>>>
>>>> On Fri, Nov 24, 2017 at 9:54 AM, Nuwan Silva <nuw...@wso2.com> wrote:
>>>>
>>>>> Hi Team,
>>>>>
>>>>> While deploying the puppet-apim [1] I had an issue where there was no
>>>>> pattern for deploying Traffic Manager as an HA deployment. I added the
>>>>> following snippet to achieve HA in the cluster. Do we have another way of
>>>>> doing this? Please advise.
>>>>>
>>>>> wso2::clustering:
>>>>>   enabled: true
>>>>>   domain: tm.am.wso2.domain
>>>>>   sub_domain: mgt
>>>>>   local_member_host: "%{::ipaddress}"
>>>>>   local_member_port: 4000
>>>>> # WKA membership scheme
>>>>>   membership_scheme: wka
>>>>>   wka:
>>>>> members:
>>>>>   -
>>>>> hostname: 192.168.48.33
>>>>> port: 4000
>>>>>   -
>>>>> hostname: 192.168.48.34
>>>>> port: 4000
>>>>>
>>>>>
>>>>> [1] https://github.com/wso2/puppet-apim
>>>>> [2] https://github.com/wso2/puppet-apim/issues/47
>>>>>
>>>>> Cheers,
>>>>> NuwanS.
>>>>> --
>>>>>
>>>>>
>>>>> *Nuwan Silva*
>>>>> *Associate Technical Lead*
>>>>> Mobile: +9477 980 4543 <+94%2077%20980%204543>
>>>>>
>>>>> WSO2 Inc.
>>>>> lean . enterprise . middleware.
>>>>> http://www.wso2.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *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
>>>>
>>>
>>>
>>
>>
>> --
>> Samitha Chathuranga
>> Software Engineer, WSO2 Inc.
>> lean.enterprise.middleware
>> Mobile: +94715123761
>>
>> [image: http://wso2.com/signature] <http://wso2.com/signature>
>>
>
>
>
> --
>
>
> *Nuwan Silva*
> *Associate Technical Lead*
> Mobile: +9477 980 4543 <+94%2077%20980%204543>
>
> WSO2 Inc.
> lean . enterprise . middleware.
> http://www.wso2.com
>



-- 

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

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


Re: [Dev] Signal to API Fault Summery Data in APIM Analytics

2017-10-23 Thread Tharindu Dharmarathna
Hi Vanji,

Please see my comments inline.

On Tue, Oct 24, 2017 at 5:36 AM, Vanjikumaran Sivajothy <va...@wso2.com>
wrote:

> Hi team,
>
> What are the positive signals that send to API Fault Summary Data from
> below fault occurrences?
>
> 1) Fault Happen in GW
>
This event tracked from fault events.

> 2) Failure response from Backend(4XX/5XX HTTP Error Code)
>
If Backend is sending this leads to the out sequence hand make that request
as response event.

> 3) Explicit Fault generation within GW
>
This event tracked from fault events.

>

>
> Best Regards,
> Vanji
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

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

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


Re: [Dev] WSO2 Committers += Yasima Dewmini

2017-06-30 Thread Tharindu Dharmarathna
Congratulations Yasima!


On Fri, Jun 30, 2017 at 1:31 PM, Roshan Wijesena <ros...@wso2.com> wrote:

> Congratulations Yasima!
>
> On Fri, Jun 30, 2017 at 1:20 PM, Sanjeewa Malalgoda <sanje...@wso2.com>
> wrote:
>
>> Hi All,
>> It's my pleasure to welcome  Yasima Dewmini  as a WSO2 Committer.
>>
>> Yasima  has been a valuable contributor to the WSO2 API Manager team. In
>> recognition of her contribution, dedication, and commitment she has been
>> voted as a WSO2 committer.
>>
>> Yasima, Congratulations and keep up the good work!
>>
>> Thank You,
>> sanjeewa.
>> --
>>
>> *Sanjeewa Malalgoda*
>> WSO2 Inc.
>> Mobile : +94713068779 <+94%2071%20306%208779>
>>
>> <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
>>
>>
>
>
> --
> 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
>
>


-- 

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

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


Re: [Dev] [IS] SCIM filtering when same user or role exists in multiple user stores

2017-06-26 Thread Tharindu Dharmarathna
Hi Tharika,

As I tested in IS 5.3.0 if we do *Eq* operation it will only retrieve
according to the specific user store given in user search.

*GET /Users?filter=userNameEqJohn ==> return user in primay *
*GET /Users?filter=userNameEqWSO2/John ==> return user in secondry user
store WSO2 *

Thanks

On Mon, Jun 26, 2017 at 12:06 PM, Tharika Madurapperuma <thar...@wso2.com>
wrote:

> Hi All,
>
> How does the SCIM endpoint in IS behave during GET requests when the same
> user or role exists in multiple user stores?
>
> For example, if there is a user called John in both the Primary user store
> and the Secondary user store, when we perform a search for the user John by
> doing a GET request on
>
> *GET /Users?filter=userNameEqJohn,*
>
> assuming both Primary and Secondary user stores are enabled, will it
> return both the users?
>
> Thanks,
> Tharika.
>
> --
> *Tharika Madurapperuma*
> Software Engineer | WSO2, Inc.
>
> Email : thar...@wso2.com
> Mobile : +94777875624 <+94%2077%20787%205624>
> Web : http://wso2.com
>
> <http://wso2.com/signature>
>



-- 

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

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


Re: [Dev] [APIM][C5] - Handling API's gateway label updates

2017-06-23 Thread Tharindu Dharmarathna
>>>> change information and decide whether it is relevant to process the event
>>>> and perform API deploy/undeploy actions accordingly.
>>>>
>>>>- Introducing a header/property to force every API gateway to
>>>>process an label update related event:
>>>>
>>>> If there is a label update, a property is set to JMS event
>>>> so that every gateway should process the events generated with that
>>>> particular property. Ideally, the gateways process API events
>>>> generated with its own gateway label, but in this case, they have to
>>>> process the event if it comes with this property.
>>>>
>>> +1 for the approach as we can handle through the API update event. What
>>> information are we going to send with this property? Is it only specify
>>> label change? I think we will need to send the label changes as we will
>>> need to  process it from the gateway side. Somecases we will need to remove
>>> the API from particulae gateway during a label change.
>>>
>>>>
>>>> Any suggestions on this? Your thoughts and suggestions are highly
>>>> appreciated
>>>>
>>>> Thanks
>>>> Thilini
>>>>
>>>> --
>>>> Thilini Shanika
>>>> Senior Software Engineer
>>>> WSO2, Inc.; http://wso2.com
>>>> 20, Palmgrove Avenue, Colombo 3
>>>>
>>>> E-mail: tgtshan...@gmail.com
>>>>
>>>>
>>>
>>>
>>> --
>>> Harsha Kumara
>>> Software Engineer, WSO2 Inc.
>>> Mobile: +94775505618 <+94%2077%20550%205618>
>>> Blog:harshcreationz.blogspot.com
>>>
>>
>>
>>
>> --
>> Nuwan Dias
>>
>> Software Architect - WSO2, Inc. http://wso2.com
>> email : nuw...@wso2.com
>> Phone : +94 777 775 729 <077%20777%205729>
>>
>
>
>
> --
> Thanks and Regards,
>
> Isuru H.
> +94 716 358 048 <+94%2071%20635%208048>* <http://wso2.com/>*
>
>
>


-- 

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

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


[Dev] [APIM][C5] - Best Way to get the end user information

2017-05-12 Thread Tharindu Dharmarathna
Hi All,

We had a use case on APIM to send the user claims in the JWT Header to the
backend server.

Currently APIM C4 architecture was Getting the user claims and generate JWT
from Key manager node.

As in C5 architecture, we have to get the user claims from the IS or the
third party key manager.

I had observed below two ways of getting user claims into the Gateway from
IS.

1. Generate token with OpenID scope.
2. Call userinfo endpoint with above generated token
3. Call OAuth2TokenValidation Service and get the token.

When considering [2] in order to receive user info we have to set the
requested claims in service provider according to the App.

And from Current C4 architecture, we don't mandate to send openid token as
a scope.

Is there any other alternative ways to achieve above task.

Thanks

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

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


Re: [Dev] [VOTE] Release WSO2 MSF4J 2.1.1 RC1

2017-02-12 Thread Tharindu Dharmarathna
Tested with API Manager.

We did not encounter [1]

[+] Stable - go ahead and release

[1] - https://github.com/wso2/msf4j/issues/329

On Thu, Feb 9, 2017 at 5:55 PM, Thilini Shanika <thili...@wso2.com> wrote:

> Tested with API Manager.
>
> We did not encounter [1]
>
> [+] Stable - go ahead and release
>
> [1] https://github.com/wso2/msf4j/issues/337
>
>
> On Wed, Feb 8, 2017 at 8:55 PM, Thusitha Thilina Dayaratne <
> thusit...@wso2.com> wrote:
>
>> Hi Devs,
>>
>> This is the 1st Release Candidate of WSO2 MSF4J(Microservices Framework
>> for Java) 2.1.1.
>>
>> Please download, test the framework and vote. The vote will be open for
>> 72 hours or as needed.
>> Refer to GitHub readmes for guides.
>>
>> *Source and binary distribution files:*
>> https://github.com/wso2/msf4j/releases/tag/v2.1.1-rc1
>>
>> *Maven staging repository:*
>> https://maven.wso2.org/nexus/content/repositories/orgwso2msf4j-1012
>>
>> *The tag to be voted upon:*
>> https://github.com/wso2/msf4j/tree/v2.1.1-rc1
>>
>>
>>
>> [ ] Broken - do not release (explain why)
>> [ ] Stable - go ahead and release
>>
>> Thank you,
>> Platform Team
>> --
>> Thusitha Dayaratne
>> Software Engineer
>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>
>> Mobile  +94712756809 <+94%2071%20275%206809>
>> Blog  alokayasoya.blogspot.com
>> Abouthttp://about.me/thusithathilina
>> <http://wso2.com/signature>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thilini Shanika
> Senior Software Engineer
> WSO2, Inc.; http://wso2.com
> 20, Palmgrove Avenue, Colombo 3
>
> E-mail: tgtshan...@gmail.com
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

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

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


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

2017-01-30 Thread Tharindu Dharmarathna
Tested Subscription level throttling in tenant and super tenant.

[+]   Stable   - go ahead and release

On Tue, Jan 31, 2017 at 10:47 AM, Fazlan Nazeem <fazl...@wso2.com> wrote:

> Hi,
>
> Tested following.
>
>-
>- Alert generation
>- Alert subscription
>
> [+]   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/product-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/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>
>>
>> ___
>> Architecture mailing list
>> architect...@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
>
> --
> Thanks & Regards,
>
> Fazlan Nazeem
>
> *Software Engineer*
>
> *WSO2 Inc*
> Mobile : +94772338839
> <%2B94%20%280%29%20773%20451194>
> fazl...@wso2.com
>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 

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

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


Re: [Dev] [APIM][C5] Intermittent error while loading Swagger Definition

2017-01-16 Thread Tharindu Dharmarathna
Hi Thusitha,

Could you please fix this issue asap , As we got this issue very frequent
while doing implementation on C5 work.

On Wed, Jan 11, 2017 at 10:12 AM, Thilini Shanika <thili...@wso2.com> wrote:

> Please find the issue in [1]
>
> [1] https://github.com/wso2/msf4j/issues/337
>
> Thanks
> Thilini
>
> On Tue, Jan 10, 2017 at 5:19 PM, Thusitha Thilina Dayaratne <
> thusit...@wso2.com> wrote:
>
>> Hi Thilini,
>>
>> It seems that some services are getting register before all the carbon
>> transports get registered.  Could you please create a github issue for this.
>> We'll look into this.
>>
>> Thanks
>> Thusitha
>>
>> On Tue, Jan 10, 2017 at 4:55 PM, Thilini Shanika <thili...@wso2.com>
>> wrote:
>>
>>> Hi all,
>>>
>>> We are experiencing an issue while loading swagger definition via
>>> SwaggerDefinitionService. Intermittently, after a server restart, we
>>> are getting 'Swagger definition not found ' error while loading a given
>>> swagger definition by path.
>>>
>>> For example, if we are loading http://localhost:9090/
>>> swagger?path=/api/am/store/v0.10/apis definition (by
>>> /api/am/store/v0.10/apis
>>> <http://localhost:9090/swagger?path=/api/am/store/v0.10/apis> base
>>> path), intermittently the definition cannot be retrieved and getting
>>> following error.
>>>
>>> {"error": "Swagger definition not found for path /api/am/store/v0.10/apis"}
>>>
>>> But after one or more server restarts, we can load the swagger definition 
>>> with the given base path, successfully.
>>>
>>> When we were debugging, getSwaggerDefinition implementation in 
>>> SwaggerDefinitionService, we observed that intermittently 
>>> serviceRegistry.getServiceWithBasePath(path) [1] turned to be empty. So 
>>> that the swagger definition could not be loaded.
>>>
>>> Any clue on this behavior of not having a service registered with a given 
>>> base path, intermittently?
>>>
>>> [1] 
>>> https://github.com/wso2/msf4j/blob/v2.1.0/swagger/src/main/java/org/wso2/msf4j/swagger/SwaggerDefinitionService.java#L75
>>>
>>>
>>>
>>>
>>> --
>>> Thilini Shanika
>>> Senior Software Engineer
>>> WSO2, Inc.; http://wso2.com
>>> 20, Palmgrove Avenue, Colombo 3
>>>
>>> E-mail: tgtshan...@gmail.com
>>>
>>>
>>
>>
>> --
>> Thusitha Dayaratne
>> Software Engineer
>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>
>> Mobile  +94712756809 <+94%2071%20275%206809>
>> Blog  alokayasoya.blogspot.com
>> Abouthttp://about.me/thusithathilina
>> <http://wso2.com/signature>
>>
>>
>
>
> --
> Thilini Shanika
> Senior Software Engineer
> WSO2, Inc.; http://wso2.com
> 20, Palmgrove Avenue, Colombo 3
>
> E-mail: tgtshan...@gmail.com
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thanks

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

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


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

2017-01-10 Thread Tharindu Dharmarathna
Tested the Blocking condition and Advance throtting feature

[+] Stable - go ahead and release


On Wed, Jan 11, 2017 at 10:50 AM, Chamila Adhikarinayake <chami...@wso2.com>
wrote:

> Tested workflows for API lifecycle state change feature.
>
> [+] Stable - go ahead and release
>
> On Tue, Jan 10, 2017 at 4:35 PM, Malintha Amarasinghe <malint...@wso2.com>
> wrote:
>
>> Hi All,
>>
>> This is the 2nd 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-rc2/wso2am-2.1.0-RC2.zip
>> Analytics : https://github.com/wso2/analytics-apim/releases/download/
>> v2.1.0-rc2/wso2am-analytics-2.1.0-RC2.zip
>> Tooling : https://github.com/wso2/devstudio-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
>> 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>
>>
>> ___
>> Architecture mailing list
>> architect...@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
>
> --
> Regards,
> Chamila Adhikarinayake
> 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
>
>


-- 

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

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


Re: [Dev] [Oracle] How to handle insertion of empty string in oracle.

2017-01-06 Thread Tharindu Dharmarathna
On Fri, Jan 6, 2017 at 3:26 PM, Tharindu Dharmarathna <tharin...@wso2.com>
wrote:

> Hi All,
>
> I faced $Subject in Oracle database while running integration test on C5
> on top.
>
> *Observation*
>
> when insert empty string ("") it was save as null in database.
>
> While going through SO I had found [1] , which did happen in oracle
> database.
>
>
> We have come up with several ways to handle empty strings which user sends
> through the rest api.
>
> 1.  Validate the request and send error when giving empty strings
> 2.  Set default value like "N/A" into the fields which send as empty.
>
> Is there any other way to handle this problem ?.
>
> [1] - http://stackoverflow.com/questions/13278773/null-vs-
> empty-string-in-oracle
>
> Thanks
>
>
> *Tharindu Dharmarathna*Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94779109091 <+94%2077%20910%209091>*
>



-- 

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

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


[Dev] [Oracle] How to handle insertion of empty string in oracle.

2017-01-06 Thread Tharindu Dharmarathna
Hi All,

I faced $Subject in Oracle database while running integration test on C5 on
top.

*Observation*

when insert empty string ("") it was save as null in database.

While going through SO I had found [1] , which did happen in oracle
database.


We have come up with several ways to handle empty strings which user sends
through the rest api.

1.  Validate the request and send error when giving empty strings
2.  Set default value like "N/A" into the fields which send as empty.

Is there any other way to handle this problem ?.

[1] -
http://stackoverflow.com/questions/13278773/null-vs-empty-string-in-oracle

Thanks


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

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


Re: [Dev] [DEV][MSF4J][APIM] - Handling optional form data parameters

2016-12-06 Thread Tharindu Dharmarathna
Hi Azees,

As discussed created the issue [1] and related pull request for fix [2].


[1] - https://github.com/wso2/msf4j/issues/329
[2] - https://github.com/wso2/msf4j/pull/330

On Mon, Dec 5, 2016 at 3:46 PM, Tharindu Dharmarathna <tharin...@wso2.com>
wrote:

> Hi All,
>
> We have some issue when using msf4j with optional form data params. As we
> narrow down, this issue come from when we not sending all the params which
> we are stated in swagger model. Which is the best way to handle optional
> form params in msf4j?.
>
>
> ex:
>
>> /abc
>> file:form param (optional)
>> inlinecontent : form param (optional)
>
>
>  request with file and inline content ==> request dispatched successfully.
> request with one of above  ==> request breaked from [1].
>
>
> [1] - https://github.com/wso2/msf4j/blob/v2.1.0/core/src/
> main/java/org/wso2/msf4j/internal/router/HttpResourceModelProcessor.
> java#L176.
>
>
> Thanks
>
> *Tharindu Dharmarathna*Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94779109091 <+94%2077%20910%209091>*
>



-- 
Thanks

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

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


[Dev] [DEV][MSF4J][APIM] - Handling optional form data parameters

2016-12-05 Thread Tharindu Dharmarathna
Hi All,

We have some issue when using msf4j with optional form data params. As we
narrow down, this issue come from when we not sending all the params which
we are stated in swagger model. Which is the best way to handle optional
form params in msf4j?.


ex:

> /abc
> file:form param (optional)
> inlinecontent : form param (optional)


 request with file and inline content ==> request dispatched successfully.
request with one of above  ==> request breaked from [1].


[1] -
https://github.com/wso2/msf4j/blob/v2.1.0/core/src/main/java/org/wso2/msf4j/internal/router/HttpResourceModelProcessor.java#L176
.


Thanks

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

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


[Dev] [DEV][APIM][C5] Error occcured with Created status with Location Header.

2016-11-06 Thread Tharindu Dharmarathna
Hi All,


We are going to implement API Creation Flow in API Manager C5 with msf4j
2.1.0.

*Requirement*
Need  to send 201 (Created) with Location for the Created API resource.

*Issue*

When we implement this and test we came across with below exception.

WARN {org.wso2.msf4j.internal.MSF4JMessageProcessor} - Unmapped exception
> java.lang.UnsupportedOperationException
> at org.wso2.msf4j.delegates.MSF4JResponse$Builder.location(
> MSF4JResponse.java:334)
> at javax.ws.rs.core.Response.created(Response.java:699)
> at org.wso2.carbon.apimgt.rest.api.publisher.impl.ApisApiServic
> eImpl.apisPost(ApisApiServiceImpl.java:260)
> at org.wso2.carbon.apimgt.rest.api.publisher.ApisApi.apisPost(
> ApisApi.java:425)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
> ssorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
> thodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.wso2.msf4j.internal.router.HttpMethodInfo.invoke(HttpMet
> hodInfo.java:132)
> at org.wso2.msf4j.internal.MSF4JMessageProcessor.dispatchMethod
> (MSF4JMessageProcessor.java:130)
> at org.wso2.msf4j.internal.MSF4JMessageProcessor.receive(MSF4JM
> essageProcessor.java:72)
> at org.wso2.carbon.transport.http.netty.listener.WorkerPoolDisp
> atchingSourceHandler.lambda$publishToWorkerPool$12(WorkerPoo
> lDispatchingSourceHandler.java:125)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
> Executor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
> lExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)


Is there any workaround available for this ?

Github issue created as [1].

[1] - https://github.com/wso2/msf4j/issues/320

Thanks


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

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


Re: [Dev] Dependencies get missed from the msf4j

2016-11-04 Thread Tharindu Dharmarathna
Hi Azeez,

Noted, We import the com.fasterxml.jackson.jaxrs:
jackson-jaxrs-json-provider:*jar:2.4.5 *into the project and done the
changes.




On Thu, Nov 3, 2016 at 5:38 PM, Afkham Azeez <az...@wso2.com> wrote:

> Yes we removed Swagger because it increases the dependency size by about
> 5MB (double the size). So take a look at the stockquote sample and add the
> relevant swagger deps to the pom.
>
> On Thu, Nov 3, 2016 at 5:24 PM, Tharindu Dharmarathna <tharin...@wso2.com>
> wrote:
>
>> Hi All,
>>
>> In APIM C5 we are going to update the msf4j version into 2.1.0 when we
>> going to build it using that version we got following dependencies which
>> used in 2.0.0 get missed in 2.1.0. Is there any error we had done ?.
>>
>> *Dependency tree while using 2.0.0.*
>>
>>
>> +- org.wso2.msf4j:msf4j-core:jar:2.0.0:compile
>> [INFO] |  +- org.wso2.carbon.messaging:org.wso2.carbon.messaging:jar:1.0.
>> 4:compile
>> [INFO] |  |  \- org.wso2.carbon:org.wso2.carbo
>> n.launcher:jar:5.1.0:compile
>> [INFO] |  +- org.wso2.carbon.transport:org.wso2.carbon.transport.http.net
>> ty:jar:2.1.2:compile
>> [INFO] |  |  +- io.netty:netty-common:jar:4.0.30.Final:compile
>> [INFO] |  |  +- io.netty:netty-buffer:jar:4.0.30.Final:compile
>> [INFO] |  |  +- io.netty:netty-transport:jar:4.0.30.Final:compile
>> [INFO] |  |  +- io.netty:netty-handler:jar:4.0.30.Final:compile
>> [INFO] |  |  +- io.netty:netty-codec:jar:4.0.30.Final:compile
>> [INFO] |  |  +- commons-pool.wso2:commons-pool:jar:1.5.6.wso2v1:compile
>> [INFO] |  |  |  \- commons-pool:commons-pool:jar:1.5.6:compile
>> [INFO] |  |  \- org.wso2.orbit.com.lmax:disrup
>> tor:jar:3.3.2.wso2v2:compile
>> [INFO] |  +- org.wso2.eclipse.osgi:org.eclipse.osgi:jar:3.10.2.v20150203-
>> 1939:compile
>> [INFO] |  +- org.wso2.eclipse.osgi:org.eclipse.osgi.services:jar:3.4.0.
>> v20140312-2051:compile
>> [INFO] |  +- org.wso2.msf4j:jaxrs-delegates:jar:2.0.0:compile
>> [INFO] |  +- org.slf4j:slf4j-api:jar:1.7.5:compile
>> [INFO] |  +- org.slf4j:slf4j-log4j12:jar:1.6.0:compile
>> [INFO] |  |  \- log4j:log4j:jar:1.2.14:compile
>> [INFO] |  +- com.google.code.gson:gson:jar:2.2.4:compile
>> [INFO] |  +- com.google.guava:guava:jar:18.0:compile
>> [INFO] |  +- com.google.code.findbugs:jsr305:jar:3.0.0:compile
>> [INFO] |  +- org.apache.servicemix.bundles:org.apache.servicemix.bundles.
>> commons-beanutils:jar:1.8.3_2:compile
>> [INFO] |  |  \- commons-logging:commons-logging:jar:1.1.1:compile
>> [INFO] |  +- com.nimbusds:nimbus-jose-jwt:jar:2.25:compile
>> [INFO] |  |  +- net.jcip:jcip-annotations:jar:1.0:compile
>> [INFO] |  |  +- net.minidev:json-smart:jar:1.1.1:compile
>> [INFO] |  |  \- org.bouncycastle:bcprov-jdk15on:jar:1.50:compile
>> [INFO] |  +- io.swagger:swagger-core:jar:1.5.8:compile
>> [INFO] |  |  +- org.apache.commons:commons-lang3:jar:3.2.1:compile
>> [INFO] |  |  +- io.swagger:swagger-models:jar:1.5.8:compile
>> [INFO] |  |  \- javax.validation:validation-api:jar:1.1.0.Final:compile
>> [INFO] |  +- io.swagger:swagger-jaxrs:jar:1.5.8:compile
>> [INFO] |  |  +- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:
>> jar:2.4.5:compile
>> [INFO] |  |  |  \- org.yaml:snakeyaml:jar:1.12:compile
>> [INFO] |  |  +- org.reflections:reflections:jar:0.9.10:compile
>> [INFO] |  |  |  \- org.javassist:javassist:jar:3.19.0-GA:compile
>> [INFO] |  |  \- com.fasterxml.jackson.jaxrs:ja
>> ckson-jaxrs-json-provider:jar:2.4.5:compile
>> [INFO] |  | +- com.fasterxml.jackson.jaxrs:ja
>> ckson-jaxrs-base:jar:2.4.5:compile
>> [INFO] |  | \- com.fasterxml.jackson.module:j
>> ackson-module-jaxb-annotations:jar:2.4.5:compile
>> [INFO] |  \- commons-io.wso2:commons-io:jar:2.4.0.wso2v1:compile
>>
>> *Dependency tree after 2.1.0*
>>
>> +- org.wso2.msf4j:msf4j-core:jar:2.1.0:compile
>> [INFO]|  +- org.wso2.carbon.messaging:org.
>> wso2.carbon.messaging:jar:1.0.6:compile
>> [INFO]|  |  \- org.wso2.carbon:org.wso2.carbo
>> n.launcher:jar:5.1.0:compile
>> [INFO]|  +- org.wso2.carbon.transport:org.
>> wso2.carbon.transport.http.netty:jar:2.1.4:compile
>> [INFO]|  |  +- io.netty:netty-common:jar:4.0.30.Final:compile
>> [INFO]|  |  +- io.netty:netty-buffer:jar:4.0.30.Final:compile
>> [INFO]|  |  +- io.netty:netty-transport:jar:4.0.30.Final:compile
>> [INFO]|  |  +- io.netty:netty-handler:jar:4.0.30.Final:compile
>> [INFO]|  |  +- io.netty:netty-codec:jar:4.0.30.Final:compile
>> [INFO]|  |  +- io.netty:netty-codec-http:jar:4.0.30.Final:compile
>> [INFO]|  |

[Dev] Dependencies get missed from the msf4j

2016-11-03 Thread Tharindu Dharmarathna
-annotations:jar:1.0:compile
[INFO]|  |  +- net.minidev:json-smart:jar:1.1.1:compile
[INFO]|  |  \- org.bouncycastle:bcprov-jdk15on:jar:1.50:compile
[INFO]|  +- org.wso2.orbit.org.yaml:snakeyaml:jar:1.16.0.wso2v1:compile
[INFO]|  \- commons-io.wso2:commons-io:jar:2.4.0.wso2v1:compile


According to above observation we get missed below two dependencies.

io.swagger:swagger-jaxrs:jar:1.5.8
com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:2.4.5



Thanks

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

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


Re: [Dev] [VOTE] Release WSO2 Mesos Artifacts 1.0.0 RC1

2016-08-01 Thread Tharindu Dharmarathna
Tested the APIM Standalone and Distributed Deployment.

[x] - Stable, go ahead and release


On Mon, Aug 1, 2016 at 5:11 PM, Akila Ravihansa Perera <raviha...@wso2.com>
wrote:

> Verified the following:
>
>  - License headers using RAT plugin
>  - Checked distribution structure
>  - Tested wso2bps 3.5.1 distributed deployment
>  - Tested wso2am with IS as KM pattern
>
> [x] - Stable, go ahead and release
>
>
>
> On Mon, Aug 1, 2016 at 5:03 PM, Isuru Haththotuwa <isu...@wso2.com> wrote:
>
>> Verified the following:
>>
>>1. License headers using RAT plugin
>>2. Tested the following on mesos:
>>- wso2am 1.10.0 - standalone and distributed deployments
>>   - wso2das 3.0.1 - standalone and distributed deployments
>>   - wso2cep 4.0.0 - standalone deployment with a smoke test
>>
>> *[x] - Stable, go ahead and release*
>>
>> On Tue, Jul 26, 2016 at 11:28 PM, Pubudu Gunatilaka <pubu...@wso2.com>
>> wrote:
>>
>>> Hi Devs,
>>>
>>> This is the first release candidate (RC1) of WSO2 Mesos Artifacts 1.0.0.
>>>
>>> Please download, test and vote. Please refer the README files under each
>>> product for details on testing the artifacts.
>>>
>>> Source & binary distribution files:
>>> https://github.com/wso2/mesos-artifacts/releases/tag/v1.0.0-rc1
>>>
>>> Maven staging repo:
>>>
>>> https://maven.wso2.org/nexus/content/repositories/orgwso2carbonmesosartifacts-1000/
>>>
>>> The tag to be voted upon:
>>> https://github.com/wso2/mesos-artifacts/releases/tag/v1.0.0-rc1
>>>
>>> Mesos Artifacts Documentation:
>>> https://docs.wso2.com/display/MA100/Home
>>>
>>> This vote will be open for 72 hours or as needed.
>>>
>>> [+] Stable - go ahead and release
>>> [-] Broken - do not release (explain why)
>>>
>>>
>>> Regards,
>>> WSO2 PaaS team
>>>
>>> --
>>> *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 Regards,
>>
>> Isuru H.
>> +94 716 358 048* <http://wso2.com/>*
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Akila Ravihansa Perera
> WSO2 Inc.;  http://wso2.com/
>
> Blog: http://ravihansa3000.blogspot.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>




-- 


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

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


Re: [Dev] [VOTE] Release WSO2 Dockerfiles 1.2.0 RC1

2016-07-25 Thread Tharindu Dharmarathna
Verified AM Docker files

*[x] Stable - Go ahead and release*

On Mon, Jul 25, 2016 at 7:09 PM, Isuru Haththotuwa <isu...@wso2.com> wrote:

> Verified the following:
>
> 1. API Manager 1.10.0
>
>- built the images for default and distributed profiles (api-store
>api-publisher api-key-manager gateway-manager) with puppet provisioning
>mechanism form mesos platform
>
>  2. ESB 4.9.0
>
>- built the images for default profile with default provisioning system
>- ran a smoke test
>- uses stop.sh script to terminate and delete the container
>
> 3. CEP 4.0.0
>
>- built the images for default profile with default provisioning system
>- ran a smoke test
>- uses stop.sh script to terminate and delete the container
>
> 4. DAS 3.0.1
>
>- built the images for default profile with default provisioning system
>- ran a smoke test
>- uses stop.sh script to terminate and delete the container
>
> 5. Verified the License with the RAT plugin
>
> *[x] Stable - Go ahead and release*
>
> On Fri, Jul 22, 2016 at 9:27 PM, Anuruddha Liyanarachchi <
> anurudd...@wso2.com> wrote:
>
>> Hi Devs,
>>
>> This is the first release candidate (RC1) of WSO2 Dockerfiles 1.2.0
>> release.
>>
>> *This release fixes the following issues:*
>>
>> https://wso2.org/jira/issues/?filter=13159
>>
>> *Tag to be voted upon:*
>>
>> https://github.com/wso2/dockerfiles/tree/v1.2.0-rc1
>>
>> *Source and distribution packages:*
>>
>> https://github.com/wso2/dockerfiles/releases/tag/v1.2.0-rc1
>>
>> Please download, test, and vote. The README file under the distribution
>> contains guide and instructions on how to try it out locally.
>>
>> [+] Stable - Go ahead and release
>>
>> [-] Broken - Do not release (explain why)
>>
>>
>>
>> This vote will be open for 72 hours or as needed.
>>
>> Regards,
>> WSO2 PaaS team
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thanks and Regards,
>
> Isuru H.
> +94 716 358 048* <http://wso2.com/>*
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

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

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


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

2016-07-22 Thread Tharindu Dharmarathna
Tested Distributed Setup with following.

1. Throttling
2. Statistics

[+] Stable - go ahead and release

Thanks


On Fri, Jul 22, 2016 at 2:00 PM, Chamin Dias <cham...@wso2.com> wrote:

> Tested the workflow extensions with WSO2 BPS for super tenant and tenant.
> Works fine.
>
> [+] Stable - go ahead and release
>
> Thanks.
>
> On Fri, Jul 22, 2016 at 1:41 PM, Uvindra Dias Jayasinha <uvin...@wso2.com>
> wrote:
>
>> Tested below with secure vault with custom key store
>>
>> 1. API publication and invocation tenant and super tenant
>> 2. Stats tenant and super tenant(Store and Publisher)
>> 3. Log Analyzer tenant and super tenant
>>
>> No issues found
>>
>> [+] Stable - go ahead and release.
>>
>>
>> On 22 July 2016 at 12:20, Roshan Wijesena <ros...@wso2.com> wrote:
>>
>>> Tested below with DB2 and SQL server 2008.
>>>
>>> * Basic APIM functionality.
>>> * Alert subscriptions.
>>> * Log analyzer in a multi-tenant environment.
>>>
>>> No issues found
>>>
>>> [+] Stable - go ahead and release.
>>>
>>>
>>>
>>> On Fri, Jul 22, 2016 at 11:28 AM, Rukshan Premathunga <ruks...@wso2.com>
>>> wrote:
>>>
>>>> Tested analytics and smoke tested APIM on db2, mssql, mysql, mysql5.7,
>>>> oracle, postgre and h2.
>>>>
>>>> No issues found.
>>>>
>>>> [+] - Stable - go ahead and release
>>>>
>>>> Thanks.
>>>>
>>>> On Fri, Jul 22, 2016 at 10:48 AM, Thilini Cooray <thili...@wso2.com>
>>>> wrote:
>>>>
>>>>> Tested
>>>>>
>>>>>- API import-export
>>>>>- Store Self Sign-up
>>>>>- Store search
>>>>>- Tested main functionalities with MySQL, PostgreSQL and on Windows
>>>>>
>>>>> No issues found.
>>>>>
>>>>> [+] - Stable - go ahead and release
>>>>>
>>>>> Thanks.
>>>>>
>>>>>
>>>>> On Fri, Jul 22, 2016 at 1:25 AM, Abimaran Kugathasan <
>>>>> abima...@wso2.com> wrote:
>>>>>
>>>>>> *WSO2 API Manager 2.0.0-RC4 Released*
>>>>>>
>>>>>> This is the 4th Release Candidate of the WSO2 API Manager 2.0.0
>>>>>>
>>>>>> Source & binary distribution files of API Manager 2.0.0-RC4 :
>>>>>>
>>>>>>  Runtime :
>>>>>> https://github.com/wso2/product-apim/releases/tag/v2.0.0-rc4
>>>>>>  Analytics :
>>>>>> https://github.com/wso2/analytics-apim/releases/tag/v2.0.0-rc3
>>>>>>
>>>>>> Please download, test the product and vote. Vote will be open for 72
>>>>>> hours or as needed.
>>>>>> Refer to github readme for guides.
>>>>>>
>>>>>> Please vote as follows.
>>>>>> [+] Stable - go ahead and release
>>>>>> [-]  Broken - do not release (please explain why)
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Thanks
>>>>>> Abimaran Kugathasan
>>>>>> Senior Software Engineer
>>>>>>
>>>>>> Email : abima...@wso2.com
>>>>>> Mobile : +94 773922820
>>>>>>
>>>>>> <http://stackoverflow.com/users/515034>
>>>>>> <http://lk.linkedin.com/in/abimaran>
>>>>>> <http://www.lkabimaran.blogspot.com/>  <https://github.com/abimarank>
>>>>>>   <https://twitter.com/abimaran>
>>>>>>
>>>>>>
>>>>>> ___
>>>>>> Architecture mailing list
>>>>>> architect...@wso2.org
>>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Best Regards,
>>>>>
>>>>> *Thilini Cooray*
>>>>> Software Engineer
>>>>> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
>>>>> E-mail : thili...@wso2.com
>>>>>
>>>>> WSO2 Inc. www.wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Rukshan Chathuranga.
>>>> Software Engineer.
>>>> WSO2, Inc.
>>>>
>>>> ___
>>>> Architecture mailing list
>>>> architect...@wso2.org
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>
>>>>
>>>
>>>
>>> --
>>> Roshan Wijesena.
>>> Senior Software Engineer-WSO2 Inc.
>>> Mobile: *+94719154640 <%2B94719154640>*
>>> Email: ros...@wso2.com
>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>>> lean.enterprise.middleware.
>>>
>>> ___
>>> Architecture mailing list
>>> architect...@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>
>>>
>>
>>
>> --
>> Regards,
>> Uvindra
>>
>> Mobile: 33962
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Chamin Dias
> *Software Engineer*
> Mobile : +94 (0) 716 097455 <%2B94%20%280%29%20773%20451194>
> Email : cham...@wso2.com
> Blog : https://chamindias.wordpress.com/
>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 

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

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


Re: [Dev] [VOTE] Release WSO2 API Manager 2.0.0 RC1

2016-07-16 Thread Tharindu Dharmarathna
*Tested Scenarios*

Throttling - 4 levels in tenant and super tenant.

Black listing

+1

Go ahead and release.

Thanks

On Sat, Jul 16, 2016 at 11:11 AM, Abimaran Kugathasan <abima...@wso2.com>
wrote:

> Hi All,
>
> Please find the Reformance Report for above RC pack.
>
> On Sat, Jul 16, 2016 at 5:25 AM, Abimaran Kugathasan <abima...@wso2.com>
> wrote:
>
>> Hi Devs,
>>
>> *WSO2 API Manager 2.0.0-RC1 Released*
>>
>> This is the 1st Release Candidate of the WSO2 API Manager 2.0.0
>>
>> Please download, test the product and vote. Vote will be open for 72
>> hours or as needed.
>> Refer to github readme for guides.
>>
>> The distribution is available to download at [1]
>>
>> [1] : https://github.com/wso2/product-apim/releases/tag/v2.0.0-rc1
>>
>> *WSO2 **API Manager Analytics 2.0.0 RC1** Released*
>>
>> Please download, test the product and vote. Vote will be open for 72
>> hours or as needed.
>> Refer to github readme for guides.
>>
>> The distribution is available to download  [2]
>>
>> Fixed Issue in [3], known issues [4]
>>
>> [2] :
>> https://github.com/wso2/analytics-apim/releases/download/v2.0.0-rc1/wso2am-analytics-2.0.0.zip
>> [3] : https://wso2.org/jira/issues/?filter=13138
>> [4] : https://wso2.org/jira/issues/?filter=13139
>> <https://www.google.com/url?q=https%3A%2F%2Fwso2.org%2Fjira%2Fissues%2F%3Ffilter%3D13139=D=1=AFQjCNFtMhxKzEHrn2xHK4fm8d7VBx9VvQ>
>>
>>
>>
>>
>> --
>> Thanks
>> Abimaran Kugathasan
>> Senior Software Engineer
>>
>> Email : abima...@wso2.com
>> Mobile : +94 773922820
>>
>> <http://stackoverflow.com/users/515034>
>> <http://lk.linkedin.com/in/abimaran>
>> <http://www.lkabimaran.blogspot.com/>  <https://github.com/abimarank>
>> <https://twitter.com/abimaran>
>>
>>
>
>
> --
> Thanks
> Abimaran Kugathasan
> Senior Software Engineer
>
> Email : abima...@wso2.com
> Mobile : +94 773922820
>
> <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
>
>


-- 

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

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


[Dev] How can we keep wait a docker container to start

2016-07-04 Thread Tharindu Dharmarathna
Hi All,

Is there any way to wait the start of containers which depends on other
container get started successfully.

I had tried with [1] . But it didn't get worked as well.

[1] - https://docs.docker.com/compose/startup-order/

-- 

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

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


[Dev] [CEP][MB][ANALYTICS][APIM] couldn't connect to the MB, Analytics Components when email user name enabled

2016-06-08 Thread Tharindu Dharmarathna
Hi All,

In APIM 2.0 Snapshot Pack we have got issue when authenticate with the CEP,
DAS and MB components.


*CEP and DAS Components*

As per the debugging session with Mohan we have found when we authenticate
the email user from [1] , It will not proper username with tenant domain
which caused to get the invalid tenant domain from [2].

*MB Components*

 When we do authentication request with MB it will not suppose to send the
email user in connection url since its a restricted character. As per the
Pamod pointed out we had replace the '@' mark with '!' in order to overcome
that issue . But this was not getting worked as correctly.

Can any one give any clue to overcome this issue.


[1] -
https://github.com/wso2/carbon-analytics-common/blob/release-5.0.12-alpha/components/data-bridge/org.wso2.carbon.databridge.core/src/main/java/org/wso2/carbon/databridge/core/internal/authentication/CarbonAuthenticationHandler.java#L51

[2] -
https://github.com/wso2/carbon-commons/blob/v4.4.8/components/authentication/org.wso2.carbon.identity.authentication/src/main/java/org/wso2/carbon/identity/authentication/AuthenticationServiceImpl.java#L59


-- 

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

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


Re: [Dev] Implementing Geographical based Analytics in API Manager

2016-03-06 Thread Tharindu Dharmarathna
Hi Akila,

This thread is not relevant to an API for Geo location from IP. This thread
was started to get the most suitable way of getting location with respect
to ip  For show the Geographical representation of how APIs in API manager
access from different cities in different countries. Hope you will get
clear idea on this. What we are going to implement.

Thanks
tharindu


On Sat, Mar 5, 2016 at 11:21 AM, Akila Wicky <asak...@gmail.com> wrote:

> Hi All,
>
> I have some questions with this project. I can't understand how this
> Geographical based analytics different from the google maps API.
>
> So how this API is accessible to the end users? i mean will they have a
> Mobile Application or Web interface.
>
> Other thing is about the accuracy.As i know in positioning their is about
> 3m error in the Geo location.How we can overcome this problem.
>
>
> On Mon, Feb 22, 2016 at 12:28 PM, Joseph Fonseka <jos...@wso2.com> wrote:
>
>> Please find the inline comments.
>>
>> On Mon, Feb 22, 2016 at 11:46 AM, Tharindu Dharmarathna <
>> tharin...@wso2.com> wrote:
>>
>> 1. When events publish from APIM to DAS we can extract the location and
>>> send it through the stream
>>>
>>
>> This is quite possible but you need to cache resolved locations to reduce
>> the number of service calls to resolve locations. Usually you only need to
>> resolve the location when a new client connects.
>>
>>
>>>
>>> 2. When we running the spark script on top of stream data we can write a
>>> new function to extract this from DAS and do the sumarization As necessary.
>>> This way will reduce the # of checks to get Location.
>>>
>>
>> This seems to be the most appropriate place to do the resolution IMO.
>>
>>
>>> 3. Running from the Graph side.
>>>
>>
>> This is a no go since we cannot aggregate data when rendering on the
>> client and even if we can will be costly.
>>
>> Also we might want to look for what levels of location data available
>> (Ex. country, state, latlong) for ip address if possible we should support
>> graphing at any level.
>>
>> Regards
>> Jo
>>
>>
>>
>>
>> I think from 2nd way is the best way to do this.
>>>
>>>
>>> @ Mohan,
>>>
>>> Shall we make a Interface which people can plug any type of
>>> implementation which can extract the location . As default we can use
>>> MAXMIND database.
>>>
>>> Thanks
>>> Tharindu
>>>
>>> On Sun, Feb 21, 2016 at 10:53 PM, Mohanadarshan Vivekanandalingam <
>>> mo...@wso2.com> wrote:
>>>
>>>> AFAIR, there is an external third party API used to find the location
>>>> of IP address in fraud detection tool-kit.. But I think, it has many
>>>> restrictions..
>>>>
>>>> I agree with Jo where some customers might want to use paid services
>>>> for that, we need to implement the feature in such a way.. Yes, going with
>>>> a free database by default would be good or can't we host a service in our
>>>> end and use it in the pack ?
>>>>
>>>> Thanks,
>>>> Mohan
>>>>
>>>>
>>>> On Sun, Feb 21, 2016 at 10:34 PM, Joseph Fonseka <jos...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Tharindu
>>>>>
>>>>> They both use the same source of data from MaxMind. And the database
>>>>> is licensed under "CC Attribution-ShareAlike" thus we should attribute 
>>>>> them
>>>>> if we are using it. see [1]
>>>>>
>>>>> On an on premise deployment customers might want to use a paid service
>>>>> to get the location so I think we should support that. And to ship with 
>>>>> the
>>>>> product like suggested we can use a free database.
>>>>>
>>>>> Also when will the location be resolved ? will it be a background task
>>>>> or are you planing to do it real-time ?
>>>>>
>>>>> Regards
>>>>> Jo
>>>>>
>>>>>
>>>>>
>>>>> [1] http://dev.maxmind.com/geoip/geoip2/geolite2/
>>>>>
>>>>> On Sun, Feb 21, 2016 at 8:27 PM, Tharindu Dharmarathna <
>>>>> tharin...@wso2.com> wrote:
>>>>>
>>>>>> HI Nuwan,
>>>>>>
>>>>>> There are two lightweight databases we can use as I f

Re: [Dev] Implementing Geographical based Analytics in API Manager

2016-02-21 Thread Tharindu Dharmarathna
@Joe,

We can done this from 3 ways.

1. When events publish from APIM to DAS we can extract the location and
send it through the stream

2. When we running the spark script on top of stream data we can write a
new function to extract this from DAS and do the sumarization As necessary.
This way will reduce the # of checks to get Location.

3. Running from the Graph side.

I think from 2nd way is the best way to do this.


@ Mohan,

Shall we make a Interface which people can plug any type of implementation
which can extract the location . As default we can use MAXMIND database.

Thanks
Tharindu

On Sun, Feb 21, 2016 at 10:53 PM, Mohanadarshan Vivekanandalingam <
mo...@wso2.com> wrote:

> AFAIR, there is an external third party API used to find the location of
> IP address in fraud detection tool-kit.. But I think, it has many
> restrictions..
>
> I agree with Jo where some customers might want to use paid services for
> that, we need to implement the feature in such a way.. Yes, going with a
> free database by default would be good or can't we host a service in our
> end and use it in the pack ?
>
> Thanks,
> Mohan
>
>
> On Sun, Feb 21, 2016 at 10:34 PM, Joseph Fonseka <jos...@wso2.com> wrote:
>
>> Hi Tharindu
>>
>> They both use the same source of data from MaxMind. And the database is
>> licensed under "CC Attribution-ShareAlike" thus we should attribute them if
>> we are using it. see [1]
>>
>> On an on premise deployment customers might want to use a paid service to
>> get the location so I think we should support that. And to ship with the
>> product like suggested we can use a free database.
>>
>> Also when will the location be resolved ? will it be a background task or
>> are you planing to do it real-time ?
>>
>> Regards
>> Jo
>>
>>
>>
>> [1] http://dev.maxmind.com/geoip/geoip2/geolite2/
>>
>> On Sun, Feb 21, 2016 at 8:27 PM, Tharindu Dharmarathna <
>> tharin...@wso2.com> wrote:
>>
>>> HI Nuwan,
>>>
>>> There are two lightweight databases we can use as I found from [1] and
>>> [2] and those are open source projects.
>>>
>>> [1] - https://freegeoip.net/
>>> [2] -
>>> http://gis.stackexchange.com/questions/88/how-can-i-determine-the-location-of-a-visitor-to-my-website
>>>
>>> Thanks
>>> Tharindu
>>>
>>> On Sun, Feb 21, 2016 at 8:23 PM, Nirmal Fernando <nir...@wso2.com>
>>> wrote:
>>>
>>>> @Seshika any thoughts?
>>>>
>>>> On Sun, Feb 21, 2016 at 8:19 PM, Nuwan Dias <nuw...@wso2.com> wrote:
>>>>
>>>>> I have doubts on using an HTTP API to get these details because,
>>>>>
>>>>> 1. It will be costly in terms of performance to call these APIs (and
>>>>> they might not be free as well).
>>>>> 2. We have no control nor guarantee on their availability (they can
>>>>> shutdown whenever they want).
>>>>> 3. They will only work if the stats visualizing agent
>>>>> (store/publisher) or DAS has access to internet.
>>>>>
>>>>> Can we look for a light-weight open-source database which has region
>>>>> information based on IP ranges?
>>>>>
>>>>> Thanks,
>>>>> NuwanD.
>>>>>
>>>>> On Sun, Feb 21, 2016 at 10:29 AM, Tharindu Dharmarathna <
>>>>> tharin...@wso2.com> wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> We are going to implement $Subject on latest release . I want to know
>>>>>> is there any best way to extract Geographical location from IP . And here
>>>>>> are my findings of the ways of do.
>>>>>>
>>>>>> [1] - http://www.geoplugin.com
>>>>>> Thi will retrive all the data according to the location as json
>>>>>>
>>>>>> [2] - http://www.telize.com/
>>>>>>
>>>>>> This is another REST API which can used to extract location.
>>>>>>
>>>>>> *Thanks*
>>>>>> *Tharindu Dharmarathna*
>>>>>> Associate Software Engineer
>>>>>> WSO2 Inc.; http://wso2.com
>>>>>> lean.enterprise.middleware
>>>>>>
>>>>>> mobile: *+94779109091 <%2B94779109091>*
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Nuwan Dias
>>>>>

Re: [Dev] Implementing Geographical based Analytics in API Manager

2016-02-21 Thread Tharindu Dharmarathna
HI Nuwan,

There are two lightweight databases we can use as I found from [1] and [2]
and those are open source projects.

[1] - https://freegeoip.net/
[2] -
http://gis.stackexchange.com/questions/88/how-can-i-determine-the-location-of-a-visitor-to-my-website

Thanks
Tharindu

On Sun, Feb 21, 2016 at 8:23 PM, Nirmal Fernando <nir...@wso2.com> wrote:

> @Seshika any thoughts?
>
> On Sun, Feb 21, 2016 at 8:19 PM, Nuwan Dias <nuw...@wso2.com> wrote:
>
>> I have doubts on using an HTTP API to get these details because,
>>
>> 1. It will be costly in terms of performance to call these APIs (and they
>> might not be free as well).
>> 2. We have no control nor guarantee on their availability (they can
>> shutdown whenever they want).
>> 3. They will only work if the stats visualizing agent (store/publisher)
>> or DAS has access to internet.
>>
>> Can we look for a light-weight open-source database which has region
>> information based on IP ranges?
>>
>> Thanks,
>> NuwanD.
>>
>> On Sun, Feb 21, 2016 at 10:29 AM, Tharindu Dharmarathna <
>> tharin...@wso2.com> wrote:
>>
>>> Hi All,
>>>
>>> We are going to implement $Subject on latest release . I want to know is
>>> there any best way to extract Geographical location from IP . And here are
>>> my findings of the ways of do.
>>>
>>> [1] - http://www.geoplugin.com
>>> Thi will retrive all the data according to the location as json
>>>
>>> [2] - http://www.telize.com/
>>>
>>> This is another REST API which can used to extract location.
>>>
>>> *Thanks*
>>> *Tharindu Dharmarathna*
>>> Associate Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: *+94779109091 <%2B94779109091>*
>>>
>>
>>
>>
>> --
>> 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
>>
>>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Team Lead - WSO2 Machine Learner
> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


-- 

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

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


[Dev] Implementing Geographical based Analytics in API Manager

2016-02-20 Thread Tharindu Dharmarathna
Hi All,

We are going to implement $Subject on latest release . I want to know is
there any best way to extract Geographical location from IP . And here are
my findings of the ways of do.

[1] - http://www.geoplugin.com
Thi will retrive all the data according to the location as json

[2] - http://www.telize.com/

This is another REST API which can used to extract location.

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

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


[Dev] [DEV] Getting some time to visible in Publisher

2016-01-18 Thread Tharindu Dharmarathna
Hi All,

We have done some fix on [1] . After done that fix due to Solr indexing it
get some time to show in publisher. As per the offline discussion with
Danesh I have got fixed for that by adding registry handler [2] in order to
Invoke solr indexing when APIs getting published or any change . We are
going to use this solution in next API Manager.We are going ahead with this
solution , if there's not have any Issue.

[1] - https://wso2.org/jira/browse/APIMANAGER-3463
[2] -
https://github.com/wso2/carbon-registry/blob/master/components/registry/org.wso2.carbon.registry.indexing/src/main/java/org/wso2/carbon/registry/indexing/IndexingHandler.java
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fwso2%2Fcarbon-registry%2Fblob%2Fmaster%2Fcomponents%2Fregistry%2Forg.wso2.carbon.registry.indexing%2Fsrc%2Fmain%2Fjava%2Forg%2Fwso2%2Fcarbon%2Fregistry%2Findexing%2FIndexingHandler.java=D=1=AFQjCNFe_RvkRr1pX9gKD8yQ1wXWFJ6rqQ>

Thanks

*Tharindu Dharmarathna*Associate Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
mobile: *+94779109091*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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

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


Re: [Dev] [Apim] Reason for endpoint suspension

2015-10-12 Thread Tharindu Dharmarathna
Hi Malith,

Can you check the API definition of that under synapse configuration you
can set it to never suspended by advanced configuration in Implement section

Thanks
Tharindu
​


On Mon, Oct 12, 2015 at 3:56 PM, Malith Munasinghe <mali...@wso2.com> wrote:

> Hi All,
>
> Recently we faced an endpoint suspension from api gateway. Can I know the
> possible reasons to get an endpoint suspended. Went through the gateway
> logs but it doesn't provide much information of the possible cause apart
> from saying the endpoint failed.
>
> Regards,
> Malith
>
> --
> Malith Munasinghe | Software Engineer
> M: +94 (071) 9401122
> E: mali...@wso2.com
> W: http://wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

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

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


Re: [Dev] WSO2 Committers += Madusanka Premaratne

2015-08-17 Thread Tharindu Dharmarathna
congrats maduz !.

On Mon, Aug 17, 2015 at 12:00 PM, Roshan Wijesena ros...@wso2.com wrote:

 Congratulations!

 On Sat, Aug 15, 2015 at 10:15 AM, Nuwan Dias nuw...@wso2.com wrote:

 Hi,

 It is with great pleasure we welcome Madusanka Premaratne as a
 WSO2 Committer. @Madusanka, congratulations and keep up the good work!

 Thanks,
 NuwanD.

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




 --
 Roshan Wijesena.
 Senior Software Engineer-WSO2 Inc.
 Mobile: *+94719154640 %2B94719154640*
 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




-- 

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

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


Re: [Dev] Pre-packaged IS 5.0 server creating invalid XACML

2015-08-01 Thread Tharindu Dharmarathna
Hi John,

I have setup the Pre-packaged IS  according to the documentaion [1]. I
couldn't get any issue on creating policy on Identity server.

Can you please send us the steps you are done in order to reproduce this
issue.

[1] -
https://docs.wso2.com/display/CLUSTER420/Configuring+the+Pre-Packaged+Identity+Server+5.0.0+with+API+Manager+1.9.0


Thanks
Tharindu


On Fri, Jul 31, 2015 at 3:50 PM, John Hawkins jo...@wso2.com wrote:

 Hi Folks,

 I've created a JIRA for this [1]. I couldn't see any JIRA that looked like
 this one but I apologise if it's a dupe.

 The UI appears unable to create any policies using the wizards. This only
 happens in the pre-packaged Identity server package when you're trying to
 connect IS and API-M.

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


 best regards,
 John.



 John Hawkins
 Director: Solutions Architecture


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


Re: [Dev] Do we have free hosting for WSO2 APP Manager

2015-07-09 Thread Tharindu Dharmarathna
HI NIFRAS,

To host APP Manager Server you can use  *Amazon ec2* like Cloud Computer
mentioned in [1] .

This is similar that you use in your local machine

[1] - http://aws.amazon.com/ec2/

Thanks
Tharindu

On Thu, Jul 9, 2015 at 1:41 PM, NIFRAS ISMAIL nifrasism...@gmail.com
wrote:

 No I need to make my own app store using WSO2 product APP Manager. The
 server runs on the local machine. I make it into live.

 I have follow the last webinrar and it work fine in the local.


 http://wso2.com/library/webinars/2015/07/run-your-own-mobile-app-store-with-wso2-app-manager/

 Regards.
 *M. Nifras Ismail*
 [image: LinkedIn] http://lk.linkedin.com/pub/nifras-ismail/54/343/94b



 On Thu, Jul 9, 2015 at 12:49 PM, Rajjaz Mohammed raj...@wso2.com wrote:

 Hi Nifras,
 I think you querying about to host you own application like 3owl and
 hostinghood . as same as you can use  WSO2 cloud [1] as Tisan mentioned.
 you can use our Documentation [2] if you want more.

 [1] https://apps.cloud.wso2.com
 [2] https://docs.wso2.com/display/AppCloud/WSO2+App+Cloud+Documentation

 On Thu, Jul 9, 2015 at 12:25 PM, Tishan Dahanayakage tis...@wso2.com
 wrote:

 Hi Nifras,

 Are you querying about App management as a service. If so you can try
 WSO2 cloud [1].

 [1] http://wso2.com/cloud/app-cloud/

 Thanks
 Tishan

 On Thu, Jul 9, 2015 at 12:16 PM, Lahiru Cooray lahi...@wso2.com wrote:

 Hi Nifras,
 Your requirement is not much clear. WSO2 APP Manager is a server which
 you can download freely from [1].
 (It is not a website/web-application, so you do not need to host in any
 App server)

 Please refer [2] to get an understanding about the deployment.

 [1] http://wso2.com/products/app-manager/
 [2] https://docs.wso2.com/display/APPM100/Running+the+Product

 On Thu, Jul 9, 2015 at 11:16 AM, NIFRAS ISMAIL nifrasism...@gmail.com
 wrote:

 Hi there,
 How we host the App Manager in live. Do we have any free hosting?

 Regards.
 *M. Nifras Ismail*
 [image: LinkedIn]
 http://lk.linkedin.com/pub/nifras-ismail/54/343/94b



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




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

 Mobile: +94 715 654154

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




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




 --
 Thank you
 Best Regards

 Rajjaz HM
 Associate Software Engineer
 WSO2 Inc. http://wso2.com/
 lean.enterprise.middleware
 Mobile : +94752833834
 Email  :raj...@wso2.com

 LinkedIn https://lk.linkedin.com/in/hmohammedrajjaz
 Blogger http://wso2experience.blogspot.com/
 WSO2 Profile http://wso2.com/about/team/mohammer_rajjaz/

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



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




-- 

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

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


[Dev] [DEV] AM 1.9.0 nightly build pack-15-06-2015

2015-06-15 Thread Tharindu Dharmarathna
Hi,
Please find $subject from [1].

[1] - http://builder1.us1.wso2.org/~apim/15-06-2015/
http://www.google.com/url?q=http%3A%2F%2Fbuilder1.us1.wso2.org%2F~apim%2F15-06-2015%2Fsa=Dsntz=1usg=AFQjCNFxtdjt3XoPcmD6yEg-0sipm1RXjQ

Thanks

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

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


[Dev] [DEV] AM 1.9.0 nightly build pack-10-06-2015

2015-06-09 Thread Tharindu Dharmarathna
Hi,
Please find $subject from [1].

[1]. http://builder1.us1.wso2.org/~apim/10-06-2015/
http://builder1.us1.wso2.org/~apim/10-06-2015/

Thanks

-- 

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

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


Re: [Dev] Please fix IDENTITY-3338

2015-06-08 Thread Tharindu Dharmarathna
Hi Tanya,

This Dsetup issue happens due to the component that create db tables in ES
 didn't get activate
 before StartupFinalizerServiceComponent in org.wso2.carbon.core.internal .

If this StartupFinalizerServiceComponent component activate setup value is
removing from the system properties.
Then tables wouldn't create on the DB.

Thanks
Tharindu

On Mon, Jun 8, 2015 at 2:50 PM, Ishara Karunarathna isha...@wso2.com
wrote:

 Hi,

 Will check on this.

 Thanks,
 Ishara

 On Mon, Jun 8, 2015 at 2:33 PM, Tanya Madurapperuma ta...@wso2.com
 wrote:

 Hi IS team,

 We have faced the following issue in ES [1] and is affecting the ES beta
 release. We were able to reproduce the same issue in IS as well [2]

 Appreciate if you could fix [2] at your earliest possible.

 [1] https://wso2.org/jira/browse/STORE-744
 [2] https://wso2.org/jira/browse/IDENTITY-3338

 Thanks,
 Tanya



 --
 Tanya Madurapperuma

 Senior Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94718184439
 Blog : http://tanyamadurapperuma.blogspot.com




 --
 Ishara Karunarathna
 Senior Software Engineer
 WSO2 Inc. - lean . enterprise . middleware |  wso2.com

 email: isha...@wso2.com,   blog: isharaaruna.blogspot.com,   mobile:
 +94717996791

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


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

2015-05-28 Thread Tharindu Dharmarathna
Congratulations Dinithi

On Thu, May 28, 2015 at 11:54 AM, Tharik Kanaka tha...@wso2.com wrote:

 Congratulations Dinithi

 On Thu, May 28, 2015 at 11:51 AM, Indunil Upeksha Rathnayake 
 indu...@wso2.com wrote:

 Hi Dinithi,

 Congratzzz.. :D
 --
 Indunil Upeksha Rathnayake
 Software Engineer | WSO2 Inc
 Emailindu...@wso2.com
 Mobile  +94713695179

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




 --

 *Tharik Kanaka*

 WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

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


Re: [Dev] WSO2 Committers += Prasanna Dangalla

2015-04-08 Thread Tharindu Dharmarathna
Congrats Prasanna

On Thu, Apr 9, 2015 at 9:15 AM, Shashika Karunatilaka shashi...@wso2.com
wrote:

 Congrats Prasanna

 On Thu, Apr 9, 2015 at 9:14 AM, Thilini Cooray thili...@wso2.com wrote:

 Congratulations, Prasanna !

 On Thu, Apr 9, 2015 at 9:02 AM, Aruna Karunarathna ar...@wso2.com
 wrote:

 Congratulations Prasa...!!!

 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




 --

 *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




 --
 Best Regards,

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

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

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




 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792

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




-- 

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

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


Re: [Dev] API subscribe not working in tenant mode in test automation`

2015-04-04 Thread Tharindu Dharmarathna
Hi Saneth,

I checked with Shashika regarding this issue  happen when give provider
name incorrectly. Because We are replacing '@' mark in tenant domain
seperation in provider in to '-AT-'  therefore we have to give provider
name  by replacing @ mark from that '-AT-' mark .


Thanks
Tharindu

On Sat, Apr 4, 2015 at 1:19 PM, Saneth Dharmakeerthi sane...@wso2.com
wrote:

 Hi Shashika,

 Is there any detail log available in server side about this error.

 Thanks and Best Regards,

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

 On Sat, Apr 4, 2015 at 12:50 PM, Shashika Karunatilaka shashi...@wso2.com
  wrote:

 Hi Saneth,

 yes, can do the same thing.it works from ui.

 On Sat, Apr 4, 2015 at 12:33 PM, Saneth Dharmakeerthi sane...@wso2.com
 wrote:

 HI Shashika,

 Can you manually do the subscription from the same user (
 amuse...@wso2.com)?
 Check whether the given user has subscription permition.

 Thanks and Best Regards,

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

 On Sat, Apr 4, 2015 at 12:23 PM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 Hi,

 Currently i'm writing on a test case to publish a api through tenant
 and want to subscribe that api and need to invoke the api i have created,
 But im getting below error when calling
 org.wso2.carbon.am.tests.util.APIStoreRestClient's subscribe() method
 {error : true, message :
 org.wso2.carbon.apimgt.api.APIManagementException: Error while adding the
 subscription for user: amuse...@wso2.com}

 This process works fine when doing it using super tenant mode.
 Im using api manager 1.8.0.

 Thank you.
 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792

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





 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792



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




-- 

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

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


Re: [Dev] API manager using both urlParams and queryParams?

2015-03-28 Thread Tharindu Dharmarathna
Hi Ruwan,

Noted, I checked with this on API Manager 1.9.0 pack . When I check this on
API Manager 1.7.0 It not works.
Thanks for your clarification.

Thanks
Tharindu

On Sat, Mar 28, 2015 at 3:24 PM, Ruwan Yatawara ruw...@wso2.com wrote:

 Hi Tharindu,

 I checked out the issue with Susinda, and it seems the problem pops up due
 to an issue with the Authentication handler. When declaring url templates,
 it appears that the authentication handler expects the parameters to be of
 the format uri.var.* always. When a parameter like {foo} is declared for a
 resource, the authentication handler fails to identify this as a valid
 resource and straight up the main sequence is invoked.

 I believe this issue comes up in AM 1.7 only, and must have been fixed in
 1.8.


 Thanks and Regards,

 Ruwan Yatawara

 Senior Software Engineer,
 WSO2 Inc.

 email : ruw...@wso2.com
 mobile : +94 77 9110413
 blog : http://thoughts.ruwan-ace.com/
 www: :http://wso2.com


 On Sat, Mar 28, 2015 at 1:25 PM, Tharindu Dharmarathna tharin...@wso2.com
  wrote:

 Hi Susinda,

 These are the configs you want to create in order to do above url pattern.

 1. Create resource as /update/{urlParam1}.
 2. Put queryparam1 and queryparam2 as the Query Parameters to that
 created resource
 3.If your real backend endpoint as
 http://192.168.1.101:9765/services/ResourcesSample/product/S10_1678?buyPrice=48.81
 then put  *http://192.168.1.101:9765/services/ResourcesSample
 http://192.168.1.101:9765/services/ResourcesSample *as the endpoint
 url.

 I checked this with Configuring DSS as a rest endpoint
 You can checked with that sample for your work .


 ​​

 Thanks and Regards.



 On Sat, Mar 28, 2015 at 9:55 AM, Susinda Perera susi...@wso2.com wrote:

 Hi All

 Is it possible to do the $subject. I want to implement a resource like
 follows, I tried to add this by editing source view.

 resource methods=GET

  
 uri-template=/update/{urlParam1}?queryParam1={query.param.var1}amp;queryParam2={query.param.var2}

 However when i invoke the api, it says it cannot find the resource? Am i
 doing something wrong in editing directly in source view? or once i edited
 in source view do i have to publish the api again?
 Can i do the same using UI?


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




 --

 *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





-- 

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

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


Re: [Dev] API manager using both urlParams and queryParams?

2015-03-28 Thread Tharindu Dharmarathna
Hi Susinda,

These are the configs you want to create in order to do above url pattern.

1. Create resource as /update/{urlParam1}.
2. Put queryparam1 and queryparam2 as the Query Parameters to that created
resource
3.If your real backend endpoint as
http://192.168.1.101:9765/services/ResourcesSample/product/S10_1678?buyPrice=48.81
then put  *http://192.168.1.101:9765/services/ResourcesSample
http://192.168.1.101:9765/services/ResourcesSample *as the endpoint url.

I checked this with Configuring DSS as a rest endpoint
You can checked with that sample for your work .


​​

Thanks and Regards.



On Sat, Mar 28, 2015 at 9:55 AM, Susinda Perera susi...@wso2.com wrote:

 Hi All

 Is it possible to do the $subject. I want to implement a resource like
 follows, I tried to add this by editing source view.

 resource methods=GET

  
 uri-template=/update/{urlParam1}?queryParam1={query.param.var1}amp;queryParam2={query.param.var2}

 However when i invoke the api, it says it cannot find the resource? Am i
 doing something wrong in editing directly in source view? or once i edited
 in source view do i have to publish the api again?
 Can i do the same using UI?


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




-- 

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

mobile: *+94779109091*


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


[Dev] Create HTTP HEAD not support endpoint

2015-03-23 Thread Tharindu Dharmarathna
Hi all,

I want to create and deploy endpoint which does not support Http HEAD to
write a test case . Is there any work around to write this one ?


Thanks and Regards

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

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


Re: [Dev] [DEV][Jaggery] how to handle exception come from XMLHttpRequestHostObject

2015-03-20 Thread Tharindu Dharmarathna
Hi Rasika,

Thank you for the clarification , and as our offline chat we are sending
multiple network calls to the BPS is that not become issue come into the
production ? .

Thanks and Regards
Tharindu.

On Fri, Mar 20, 2015 at 11:37 PM, Rasika Perera rasi...@wso2.com wrote:

 Hi Lakmali,

 +1 for the explanation. In your solution, I think HTTP HEAD[1] is better
 to testing accessibility of the server endpoint.

 var httpClient = new
 Packages.org.apache.http.impl.client.DefaultHttpClient();
 var *httpHead* = new Packages.org.apache.http.client.methods.*HttpHead*
 (endpoint);
 var response = httpClient.execute(*httpHead*);
 BPSRunning = true;

 [1]
 http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/client/methods/HttpHead.html

 Thank you

 On Fri, Mar 20, 2015 at 11:53 AM, Lakmali Baminiwatta lakm...@wso2.com
 wrote:

 Thanks Ruchira for the information.

 On 19 March 2015 at 18:00, Ruchira Wageesha ruch...@wso2.com wrote:

 Following are the possible options that I can think.

 1. Patching XHR to get rid of the log message
 2. Hiding the error from log4j, but AFAIK, then it will not log any
 error from XHR
 3. Using any Java's http-client directly from Jaggery[a] to do the HTTP
 calls instead of XHR
 4. Using any Java's http-client to check the endpoint status, and
 continue original HTTP call with XHR

 [a]
 https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Rhino/Scripting_Java

 /Ruchira

 On Thu, Mar 19, 2015 at 5:18 PM, Lakmali Baminiwatta lakm...@wso2.com
 wrote:

 Hi Ruchira,

 In APIM and APPM we talk to the BPS server and fetch Human Tasks
 available. For that when the user is login to the admin-dashboard jaggery
 app, we do a login call to BPS server using XMLHttpRequest. At this point,
 if the BPS is not running we are getting this connection refused error in
 the logs. We need to handle this.

 As Tharindu mentioned, XMLHttpRequestHostObject.java uses 
 log.error(e.getMessage(),
 e); [1]. Therefore we can't get rid of this stack trace in the log by
 just catching the exception.

 Is there any method in jaggery that we can use to check whether server
 is up and running before doing the send call and handle this? Appreciate
 any help on this.

 [1]
 https://github.com/wso2/jaggery/blob/0.9.0.ALPHA4.wso2v4/components/hostobjects/org.jaggeryjs.hostobjects.xhr/src/main/java/org/jaggeryjs/hostobjects/xhr/XMLHttpRequestHostObject.java
 [2]https://wso2.org/jira/browse/APPM-587
 [3]https://wso2.org/jira/browse/APIMANAGER-3139

 Thanks,
 Lakmali

 On 18 March 2015 at 08:57, Tharindu Dharmarathna tharin...@wso2.com
 wrote:

 Hi Ruchira,

 We want to carch the exception according to connection refused
 exception from the jaggery side . Due to logging of this  exception from
 Hostobject We couldn't remove this exception come from the console.

 Is there any way of check a server is up and running from jaggery side
 . If there's a way we can avoid exception come from the console.

 Thanks
 Tharindu

 On Wed, Mar 18, 2015 at 2:06 AM, Ruchira Wageesha ruch...@wso2.com
 wrote:

 What is the issue with going try/catch blocks?

 /Ruchira

 On Tue, Mar 17, 2015 at 5:56 PM, Tharindu Dharmarathna 
 tharin...@wso2.com wrote:

 Hi all,

 According to public jira [1]  how can we handle connection refused
 exception come from this issue . This come from the send method.

 code snippest for this issue


 try{
 var xhr = new XMLHttpRequest();
 var site = require(/site/conf/site.json);
 var endpoint =
 site.workflows.applicationWorkFlowServerURL+AuthenticationAdmin;
 xhr.open(POST, endpoint);
 var payload = 'soap:Envelope xmlns:soap=
 http://www.w3.org/2003/05/soap-envelope; xmlns:aut=
 http://authentication.services.core.carbon.wso2.org;soap:Header/soap:Bodyaut:loginaut:username'
 + username + '/aut:usernameaut:password' + password +
 '/aut:passwordaut:remoteAddresslocalhost/aut:remoteAddress/aut:login/soap:Body/soap:Envelope';
 xhr.send(payload);
 var cookie = (xhr.getAllResponseHeaders());
 log.info(xhr.readyState);
 //session.put(workflowCookie,cookie.split(;)[0].split(:)[1]);
 var sessionCookie = xhr.getResponseHeader(Set-Cookie);
 session.put(workflowCookie,sessionCookie);
 }catch (e) {
 // log.error(e.message);
 }


 Exception come from the following jaggery hostobject code

 private static void executeRequest(Context cx,
 XMLHttpRequestHostObject xhr) throws ScriptException {
 try {
 xhr.httpClient.executeMethod(xhr.method);
 xhr.statusLine = xhr.method.getStatusLine();
 xhr.responseHeaders = xhr.method.getResponseHeaders();
 updateReadyState(cx, xhr, HEADERS_RECEIVED);
 byte[] response = xhr.method.getResponseBody();
 if (response.length  0) {
 xhr.responseText = new String(response);
 }
 Header contentType = xhr.method.getResponseHeader(Content-Type);
 if (contentType != null) {
 xhr.responseType = contentType.getValue();
 }
 updateReadyState(cx, xhr, DONE);
 } catch (IOException e) {
 log.error(e.getMessage(), e);
 throw new ScriptException(e);
 } finally

Re: [Dev] [APIM] Empty File Attachment : Error when try to add Doc to API in APIM 1.9.0 SNAPSHOT.

2015-03-18 Thread Tharindu Dharmarathna
Hi Saneth,

This issue is already fixed by lakmali on monday.

Thanks
Tharindu

On Wed, Mar 18, 2015 at 4:48 PM, Saneth Dharmakeerthi sane...@wso2.com
wrote:

 Hi,

 I  am getting Empty File Attachment error when try to add Doc to API.
 Following are the doc type I am using. Find the screen capture[1]

 Doc Type: How to  and  source: In-line

 Is there any reason for this?

 [1]​
  Screen Shot 2015-03-18 at 4.37.29 PM.png
 https://docs.google.com/a/wso2.com/file/d/0B2mfjA37km5UTjZDdmFkaFo0bzQ/edit?usp=drive_web
 ​
 Thanks and Best Regards,

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




-- 

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

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


Re: [Dev] [DEV][Jaggery] how to handle exception come from XMLHttpRequestHostObject

2015-03-17 Thread Tharindu Dharmarathna
Hi Ruchira,

We want to carch the exception according to connection refused exception
from the jaggery side . Due to logging of this  exception from Hostobject
We couldn't remove this exception come from the console.

Is there any way of check a server is up and running from jaggery side . If
there's a way we can avoid exception come from the console.

Thanks
Tharindu

On Wed, Mar 18, 2015 at 2:06 AM, Ruchira Wageesha ruch...@wso2.com wrote:

 What is the issue with going try/catch blocks?

 /Ruchira

 On Tue, Mar 17, 2015 at 5:56 PM, Tharindu Dharmarathna tharin...@wso2.com
  wrote:

 Hi all,

 According to public jira [1]  how can we handle connection refused
 exception come from this issue . This come from the send method.

 code snippest for this issue


 try{
 var xhr = new XMLHttpRequest();
 var site = require(/site/conf/site.json);
 var endpoint =
 site.workflows.applicationWorkFlowServerURL+AuthenticationAdmin;
 xhr.open(POST, endpoint);
 var payload = 'soap:Envelope xmlns:soap=
 http://www.w3.org/2003/05/soap-envelope; xmlns:aut=
 http://authentication.services.core.carbon.wso2.org;soap:Header/soap:Bodyaut:loginaut:username'
 + username + '/aut:usernameaut:password' + password +
 '/aut:passwordaut:remoteAddresslocalhost/aut:remoteAddress/aut:login/soap:Body/soap:Envelope';
 xhr.send(payload);
 var cookie = (xhr.getAllResponseHeaders());
 log.info(xhr.readyState);
 //session.put(workflowCookie,cookie.split(;)[0].split(:)[1]);
 var sessionCookie = xhr.getResponseHeader(Set-Cookie);
 session.put(workflowCookie,sessionCookie);
 }catch (e) {
 // log.error(e.message);
 }


 Exception come from the following jaggery hostobject code

 private static void executeRequest(Context cx, XMLHttpRequestHostObject
 xhr) throws ScriptException {
 try {
 xhr.httpClient.executeMethod(xhr.method);
 xhr.statusLine = xhr.method.getStatusLine();
 xhr.responseHeaders = xhr.method.getResponseHeaders();
 updateReadyState(cx, xhr, HEADERS_RECEIVED);
 byte[] response = xhr.method.getResponseBody();
 if (response.length  0) {
 xhr.responseText = new String(response);
 }
 Header contentType = xhr.method.getResponseHeader(Content-Type);
 if (contentType != null) {
 xhr.responseType = contentType.getValue();
 }
 updateReadyState(cx, xhr, DONE);
 } catch (IOException e) {
 log.error(e.getMessage(), e);
 throw new ScriptException(e);
 } finally {
 xhr.method.releaseConnection();
 }
 }

 XMLHttpRequestHostObject.java

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

 Thanks and regards


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

 mobile: *+94779109091 %2B94779109091*




 --

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




-- 

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

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


[Dev] [DEV][Jaggery] how to handle exception come from XMLHttpRequestHostObject

2015-03-17 Thread Tharindu Dharmarathna
Hi all,

According to public jira [1]  how can we handle connection refused
exception come from this issue . This come from the send method.

code snippest for this issue


 try{
 var xhr = new XMLHttpRequest();
 var site = require(/site/conf/site.json);
 var endpoint =
 site.workflows.applicationWorkFlowServerURL+AuthenticationAdmin;
 xhr.open(POST, endpoint);
 var payload = 'soap:Envelope xmlns:soap=
 http://www.w3.org/2003/05/soap-envelope; xmlns:aut=
 http://authentication.services.core.carbon.wso2.org;soap:Header/soap:Bodyaut:loginaut:username'
 + username + '/aut:usernameaut:password' + password +
 '/aut:passwordaut:remoteAddresslocalhost/aut:remoteAddress/aut:login/soap:Body/soap:Envelope';
 xhr.send(payload);
 var cookie = (xhr.getAllResponseHeaders());
 log.info(xhr.readyState);
 //session.put(workflowCookie,cookie.split(;)[0].split(:)[1]);
 var sessionCookie = xhr.getResponseHeader(Set-Cookie);
 session.put(workflowCookie,sessionCookie);
 }catch (e) {
 // log.error(e.message);
 }


Exception come from the following jaggery hostobject code

private static void executeRequest(Context cx, XMLHttpRequestHostObject
 xhr) throws ScriptException {
 try {
 xhr.httpClient.executeMethod(xhr.method);
 xhr.statusLine = xhr.method.getStatusLine();
 xhr.responseHeaders = xhr.method.getResponseHeaders();
 updateReadyState(cx, xhr, HEADERS_RECEIVED);
 byte[] response = xhr.method.getResponseBody();
 if (response.length  0) {
 xhr.responseText = new String(response);
 }
 Header contentType = xhr.method.getResponseHeader(Content-Type);
 if (contentType != null) {
 xhr.responseType = contentType.getValue();
 }
 updateReadyState(cx, xhr, DONE);
 } catch (IOException e) {
 log.error(e.getMessage(), e);
 throw new ScriptException(e);
 } finally {
 xhr.method.releaseConnection();
 }
 }

XMLHttpRequestHostObject.java

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

Thanks and regards


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

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


Re: [Dev] [DEV][APIM] starting multiple APIM server instances

2015-03-10 Thread Tharindu Dharmarathna
adding Krishantha.

On Tue, Mar 10, 2015 at 2:50 PM, Tharindu Dharmarathna tharin...@wso2.com
wrote:

 Hi Dimuthu,Iqbal,

 I tried this  two codes given by both of you . But that codes does not
 consist giving seperate configurations to the individual servers.

 *Test Case Scenario To do*

 1. Run 4 servers with different api-manager configurations and different
 port offsets.
 2. During the test cases have to stop servers individually. and do the
 tests.

 Since This have to do as a UI test Is there any workaround to do this ?

 Thanks and Regards

 Tharindu


 On Wed, Feb 4, 2015 at 5:12 PM, Tharindu Dharmarathna tharin...@wso2.com
 wrote:

 Hi dimuthu,iqbal,

 Thanks for examples I'll look into this.

 Regards
 On Feb 4, 2015 4:20 PM, Irham Iqbal iq...@wso2.com wrote:

 Hi Tharindu,

 You can use MultipleServersManager to start multiple servers and 
 ServerConfigurationManager
 to load configurations using test framework as shown in example[1]

 [1]
 https://github.com/wso2/product-as/blob/master/modules/integration/tests-integration/tests/src/test/java/org/wso2/appserver/integration/tests/ciphertool/H2DBPasswordEncryptionTestCase.java

 Thanks,
 Iqbal

 On Wed, Feb 4, 2015 at 3:54 PM, Dimuthu De Lanerolle dimut...@wso2.com
 wrote:

 Hi Tharindu,

 You can follow [1] as a guide.

 [1]
 https://github.com/wso2/product-apim/blob/master/modules/integration/tests-integration/tests-scenario/src/test/java/org/wso2/carbon/am/tests/sample/RefreshTokenTestCase.java

 Regards

 On Wed, Feb 4, 2015 at 12:30 PM, Tharindu Dharmarathna 
 tharin...@wso2.com wrote:

 Hi all,
 I have to do $subject with  different port-offsets and different
 api-manager configurations. I have read [1] to get reference . Is there 
 any
 way to load api-manager.xml file into servers except port offseting ? .

 [1]. https://docs.wso2.com/display/TA430/Starting+Multiple+Servers



 *Thanks and Regards*


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

 mobile: *+94779109091 %2B94779109091*




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


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




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




 --

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

 mobile: *+94779109091 %2B94779109091*




-- 

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

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


Re: [Dev] Best Way to find two files are equal in test cases.

2015-03-01 Thread Tharindu Dharmarathna
Hi Iqbal,

I checked those two files manually I got same hash value to two files. This
happens in random manner when running the tests


On Sun, Mar 1, 2015 at 1:48 PM, Rasika Perera rasi...@wso2.com wrote:

 Hi Tharindu,

 I checked your `readMD5(InputStream inputStream)` method and it is working
 as expected. The problem is with the inputStream you are passing into the
 method.

 Please verify that you are not passing the *same inputStream* on the
 second time. Because once it is utilized pos has reached the end. So, the
 second time you are creating a hash of an empty stream.

 On Sun, Mar 1, 2015 at 1:41 PM, Irham Iqbal iq...@wso2.com wrote:

 Hi Tharindu

 Did you try to hash those files manually ?
 If not try to hash those files manually(i.e *md5sum file.txt) *and check
 hash values are same

 Thanks,
 Iqbal



 On Sun, Mar 1, 2015 at 12:30 PM, Tharindu Dharmarathna 
 tharin...@wso2.com wrote:

 Hi all,

 I wrote test case on APIDocDownload for the API Manager .When I Run the
 tests It gives me two md5sums for equal files .

 here's the code sample I write to get md5 value from the files

 private String readMD5(InputStream inputStream) throws
 NoSuchAlgorithmException, IOException {
 MessageDigest md = MessageDigest.getInstance(MD5);
 byte[] dataBytes = new byte[1024];
 int read;
 try {
 while ((read = inputStream.read(dataBytes)) != -1) {
 md.update(dataBytes, 0, read);
 }
 } catch (IOException e) {
 log.error(File couldn't found to read md5, e);
 throw e;
 } finally {
 inputStream.close();
 }
 byte[] mdBytes = md.digest();
 //convert the byte to hex format
 StringBuilder sb = new StringBuilder();
 for (byte mdByte : mdBytes) {
 sb.append(Integer.toString((mdByte  0xff) + 0x100, 16).substring(1));
 }
 return sb.toString();
 }

 Is there any best way to get two files are identical ?.

 Thanks

 --

 *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




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




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




-- 

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

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


Re: [Dev] Best Way to find two files are equal in test cases.

2015-03-01 Thread Tharindu Dharmarathna
Hi Sajith,

Thank you for your response . As done offline chat with Rasika he come up
with  a good one without using md5sum we can do  same  thing from
org.apache.commons.io.IOUtils class in apache, from there we can check two
input streams are same by contentEquals method.

Documentation for this class
https://commons.apache.org/proper/commons-io/apidocs/org/apache/commons/io/IOUtils.html

On Mon, Mar 2, 2015 at 11:08 AM, Sajith Ariyarathna sajit...@wso2.com
wrote:

 Hi Tharindu,

 I think this is caused by chunking in input streams. It might happen
 because of HTTP protocol or a bug in Java, I'm not sure.

 As an alternative solution you can run the MD5 command and compare its
 output. Like this,


 public String getMd5Checksum(String filePath) throws IOException {

 final String md5Command = md5sum ; // Linux 'md5sum', MacOS 'md5'

 Process p = Runtime.getRuntime().exec(md5Command + filePath);
 Scanner scn = new Scanner(p.getInputStream());
 String rv = scn.nextLine();
 scn.close();
 return rv;
 }





 On Sun, Mar 1, 2015 at 2:28 PM, Tharindu Dharmarathna tharin...@wso2.com
 wrote:

 Hi Iqbal,

 I checked those two files manually I got same hash value to two files.
 This happens in random manner when running the tests


 On Sun, Mar 1, 2015 at 1:48 PM, Rasika Perera rasi...@wso2.com wrote:

 Hi Tharindu,

 I checked your `readMD5(InputStream inputStream)` method and it is
 working as expected. The problem is with the inputStream you are passing
 into the method.

 Please verify that you are not passing the *same inputStream* on the
 second time. Because once it is utilized pos has reached the end. So, the
 second time you are creating a hash of an empty stream.

 On Sun, Mar 1, 2015 at 1:41 PM, Irham Iqbal iq...@wso2.com wrote:

 Hi Tharindu

 Did you try to hash those files manually ?
 If not try to hash those files manually(i.e *md5sum file.txt) *and
 check hash values are same

 Thanks,
 Iqbal



 On Sun, Mar 1, 2015 at 12:30 PM, Tharindu Dharmarathna 
 tharin...@wso2.com wrote:

 Hi all,

 I wrote test case on APIDocDownload for the API Manager .When I Run
 the tests It gives me two md5sums for equal files .

 here's the code sample I write to get md5 value from the files

 private String readMD5(InputStream inputStream) throws
 NoSuchAlgorithmException, IOException {
 MessageDigest md = MessageDigest.getInstance(MD5);
 byte[] dataBytes = new byte[1024];
 int read;
 try {
 while ((read = inputStream.read(dataBytes)) != -1) {
 md.update(dataBytes, 0, read);
 }
 } catch (IOException e) {
 log.error(File couldn't found to read md5, e);
 throw e;
 } finally {
 inputStream.close();
 }
 byte[] mdBytes = md.digest();
 //convert the byte to hex format
 StringBuilder sb = new StringBuilder();
 for (byte mdByte : mdBytes) {
 sb.append(Integer.toString((mdByte  0xff) + 0x100, 16).substring(1));
 }
 return sb.toString();
 }

 Is there any best way to get two files are identical ?.

 Thanks

 --

 *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




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




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




 --

 *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




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




-- 

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

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


Re: [Dev] Best Way to find two files are equal in test cases.

2015-03-01 Thread Tharindu Dharmarathna
adding rasika.

On Mon, Mar 2, 2015 at 11:21 AM, Tharindu Dharmarathna tharin...@wso2.com
wrote:

 Hi Sajith,

 Thank you for your response . As done offline chat with Rasika he come up
 with  a good one without using md5sum we can do  same  thing from
 org.apache.commons.io.IOUtils class in apache, from there we can check
 two input streams are same by contentEquals method.

 Documentation for this class
 https://commons.apache.org/proper/commons-io/apidocs/org/apache/commons/io/IOUtils.html

 On Mon, Mar 2, 2015 at 11:08 AM, Sajith Ariyarathna sajit...@wso2.com
 wrote:

 Hi Tharindu,

 I think this is caused by chunking in input streams. It might happen
 because of HTTP protocol or a bug in Java, I'm not sure.

 As an alternative solution you can run the MD5 command and compare its
 output. Like this,


 public String getMd5Checksum(String filePath) throws IOException {

 final String md5Command = md5sum ; // Linux 'md5sum', MacOS 'md5'

 Process p = Runtime.getRuntime().exec(md5Command + filePath);
 Scanner scn = new Scanner(p.getInputStream());
 String rv = scn.nextLine();
 scn.close();
 return rv;
 }





 On Sun, Mar 1, 2015 at 2:28 PM, Tharindu Dharmarathna tharin...@wso2.com
  wrote:

 Hi Iqbal,

 I checked those two files manually I got same hash value to two files.
 This happens in random manner when running the tests


 On Sun, Mar 1, 2015 at 1:48 PM, Rasika Perera rasi...@wso2.com wrote:

 Hi Tharindu,

 I checked your `readMD5(InputStream inputStream)` method and it is
 working as expected. The problem is with the inputStream you are passing
 into the method.

 Please verify that you are not passing the *same inputStream* on the
 second time. Because once it is utilized pos has reached the end. So, the
 second time you are creating a hash of an empty stream.

 On Sun, Mar 1, 2015 at 1:41 PM, Irham Iqbal iq...@wso2.com wrote:

 Hi Tharindu

 Did you try to hash those files manually ?
 If not try to hash those files manually(i.e *md5sum file.txt) *and
 check hash values are same

 Thanks,
 Iqbal



 On Sun, Mar 1, 2015 at 12:30 PM, Tharindu Dharmarathna 
 tharin...@wso2.com wrote:

 Hi all,

 I wrote test case on APIDocDownload for the API Manager .When I Run
 the tests It gives me two md5sums for equal files .

 here's the code sample I write to get md5 value from the files

 private String readMD5(InputStream inputStream) throws
 NoSuchAlgorithmException, IOException {
 MessageDigest md = MessageDigest.getInstance(MD5);
 byte[] dataBytes = new byte[1024];
 int read;
 try {
 while ((read = inputStream.read(dataBytes)) != -1) {
 md.update(dataBytes, 0, read);
 }
 } catch (IOException e) {
 log.error(File couldn't found to read md5, e);
 throw e;
 } finally {
 inputStream.close();
 }
 byte[] mdBytes = md.digest();
 //convert the byte to hex format
 StringBuilder sb = new StringBuilder();
 for (byte mdByte : mdBytes) {
 sb.append(Integer.toString((mdByte  0xff) + 0x100,
 16).substring(1));
 }
 return sb.toString();
 }

 Is there any best way to get two files are identical ?.

 Thanks

 --

 *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




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




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




 --

 *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




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




 --

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

 mobile: *+94779109091 %2B94779109091*




-- 

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

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


[Dev] Best Way to find two files are equal in test cases.

2015-02-28 Thread Tharindu Dharmarathna
Hi all,

I wrote test case on APIDocDownload for the API Manager .When I Run the
tests It gives me two md5sums for equal files .

here's the code sample I write to get md5 value from the files

private String readMD5(InputStream inputStream) throws
 NoSuchAlgorithmException, IOException {
 MessageDigest md = MessageDigest.getInstance(MD5);
 byte[] dataBytes = new byte[1024];
 int read;
 try {
 while ((read = inputStream.read(dataBytes)) != -1) {
 md.update(dataBytes, 0, read);
 }
 } catch (IOException e) {
 log.error(File couldn't found to read md5, e);
 throw e;
 } finally {
 inputStream.close();
 }
 byte[] mdBytes = md.digest();
 //convert the byte to hex format
 StringBuilder sb = new StringBuilder();
 for (byte mdByte : mdBytes) {
 sb.append(Integer.toString((mdByte  0xff) + 0x100, 16).substring(1));
 }
 return sb.toString();
 }

Is there any best way to get two files are identical ?.

Thanks

-- 

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

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


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

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

Thanks.

On Tue, Feb 17, 2015 at 2:13 PM, Krishantha Samaraweera krishan...@wso2.com
 wrote:

 Hi Tharindu,

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

 Hope you are using maven 3.0.x version ?

 Thanks,
 Krishantha.



 On Tue, Feb 17, 2015 at 2:05 PM, Tharindu Dharmarathna tharin...@wso2.com
  wrote:

 Hi all,

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

 Error

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




 --

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

 mobile: *+94779109091 %2B94779109091*

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




 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.




-- 

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

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


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

2015-02-17 Thread Tharindu Dharmarathna
Hi all,

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

Error

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




-- 

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

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


[Dev] [DEV] writing jaggery hostobject method to get HTTP Response

2015-02-08 Thread Tharindu Dharmarathna
Hi all,
I want to write a host object method to directly give HTTP Response as
output .  Is there any workaround or any tutorial on this.

-- 

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

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


Re: [Dev] [DEV][APIM] starting multiple APIM server instances

2015-02-04 Thread Tharindu Dharmarathna
Hi dimuthu,iqbal,

Thanks for examples I'll look into this.

Regards
On Feb 4, 2015 4:20 PM, Irham Iqbal iq...@wso2.com wrote:

 Hi Tharindu,

 You can use MultipleServersManager to start multiple servers and 
 ServerConfigurationManager
 to load configurations using test framework as shown in example[1]

 [1]
 https://github.com/wso2/product-as/blob/master/modules/integration/tests-integration/tests/src/test/java/org/wso2/appserver/integration/tests/ciphertool/H2DBPasswordEncryptionTestCase.java

 Thanks,
 Iqbal

 On Wed, Feb 4, 2015 at 3:54 PM, Dimuthu De Lanerolle dimut...@wso2.com
 wrote:

 Hi Tharindu,

 You can follow [1] as a guide.

 [1]
 https://github.com/wso2/product-apim/blob/master/modules/integration/tests-integration/tests-scenario/src/test/java/org/wso2/carbon/am/tests/sample/RefreshTokenTestCase.java

 Regards

 On Wed, Feb 4, 2015 at 12:30 PM, Tharindu Dharmarathna 
 tharin...@wso2.com wrote:

 Hi all,
 I have to do $subject with  different port-offsets and different
 api-manager configurations. I have read [1] to get reference . Is there any
 way to load api-manager.xml file into servers except port offseting ? .

 [1]. https://docs.wso2.com/display/TA430/Starting+Multiple+Servers



 *Thanks and Regards*


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

 mobile: *+94779109091 %2B94779109091*




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


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




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


[Dev] [DEV][APIM] starting multiple APIM server instances

2015-02-03 Thread Tharindu Dharmarathna
Hi all,
I have to do $subject with  different port-offsets and different
api-manager configurations. I have read [1] to get reference . Is there any
way to load api-manager.xml file into servers except port offseting ? .

[1]. https://docs.wso2.com/display/TA430/Starting+Multiple+Servers



*Thanks and Regards*


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

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


Re: [Dev] WSO2 Committers += Tharindu Edirisinghe

2015-02-01 Thread Tharindu Dharmarathna
Congrats tharindu
On Feb 1, 2015 10:21 PM, Chamin Nalinda cha...@wso2.com wrote:

 Congratulations bro :)

 On Sun, Feb 1, 2015 at 10:19 PM, Vijitha Ekanayake vijit...@wso2.com
 wrote:

 Congratulations Tharindu !!!

 On Sun, Feb 1, 2015 at 10:11 PM, Buddhima Wijeweera buddh...@wso2.com
 wrote:

 Congratulations Tharindu !!!

 On Sun, Feb 1, 2015 at 10:10 PM, Firzhan Naqash firz...@wso2.com
 wrote:

 Congratz Tharindhu ...

 Regards,
 Firzhan

 On Sun, Feb 1, 2015 at 10:09 PM, Hasintha Indrajee hasin...@wso2.com
 wrote:

 Congratulations Tharindu ...!!

 On Sun, Feb 1, 2015 at 9:58 PM, Johann Nallathamby joh...@wso2.com
 wrote:

 Hi All,

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

 Tharindu, congratulations and keep up the good work!

 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



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



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




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

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

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




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

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




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


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


Re: [Dev] WSO2 Committers += Abimaran Kugathasan

2015-01-24 Thread Tharindu Dharmarathna
Congratulation Abimaran !

On Sat, Jan 24, 2015 at 10:15 PM, Ruwan Yatawara ruw...@wso2.com wrote:

 Congratulations Abimaran!

 Thanks and Regards,

 Ruwan Yatawara

 Senior Software Engineer,
 WSO2 Inc.

 email : ruw...@wso2.com
 mobile : +94 77 9110413
 blog : http://thoughts.ruwan-ace.com/
 www: :http://wso2.com


 On Sat, Jan 24, 2015 at 10:14 PM, Sam Sivayogam s...@wso2.com wrote:

 Contrats Abimaran :)

 On Sat, Jan 24, 2015 at 9:49 PM, Gayan Gunawardana ga...@wso2.com
 wrote:

 Congratz Abimaran...

 On Sat, Jan 24, 2015 at 2:56 PM, Senduran Balasubramaniyam 
 sendu...@wso2.com wrote:

 Congratulations Abimaran !!

 On Sat, Jan 24, 2015 at 1:10 PM, Srisunmugaraja Paraparan 
 parapa...@wso2.com wrote:

 Congratulations Abimaran

 On Sat, Jan 24, 2015 at 1:06 PM, Danesh Kuruppu dan...@wso2.com
 wrote:

 Congrats Abimaran!!!

 On Sat, Jan 24, 2015 at 12:42 PM, Harsha Kumara hars...@wso2.com
 wrote:

 Congratulations Abimaran!

 On Sat, Jan 24, 2015 at 12:40 PM, Roshan Wijesena ros...@wso2.com
 wrote:

 Congratulations!! Abimaran.

 On Sat, Jan 24, 2015 at 12:35 PM, Nuwan Dias nuw...@wso2.com
 wrote:

 Hi,

 Its with great pleasure we welcome Abimaran Kugathasan as a WSO2
 committer. @Abimaran, congratulations and keep up the good work!

 Thanks,
 NuwanD.

 --
 Nuwan Dias

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




 --
 Roshan Wijesena.
 Senior Software Engineer-WSO2 Inc.
 Mobile: *+94719154640 %2B94719154640*
 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




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




 --

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

 ___
 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




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

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




 --
 Gayan Gunawardana
 Software Engineer; 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




 --
 *Sam Sivayogam*

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

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



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


Re: [Dev] WSO2 Committers += Akalanka Darshana Pagoda Arachchi

2015-01-05 Thread Tharindu Dharmarathna
Congrats Akalanka !!

On Mon, Jan 5, 2015 at 4:34 PM, Hasitha Hiranya hasit...@wso2.com wrote:

 Congratulations Akalanka !!

 On Mon, Jan 5, 2015 at 4:32 PM, Senduran Balasubramaniyam 
 sendu...@wso2.com wrote:

 Congratulations Akalanka !!

 On Mon, Jan 5, 2015 at 3:09 PM, Inshaf Mahath ins...@wso2.com wrote:

 Congrats Akalanka.. 

 On Mon, Jan 5, 2015 at 3:02 PM, Pumudu Ruhunage pum...@wso2.com wrote:

 Congrats Akalanka..!!!

 On Mon, Jan 5, 2015 at 2:58 PM, Hasitha Amal De Silva 
 hasit...@wso2.com wrote:

 Congrats Akalanka ! :)

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

 Congratulations Akalanka!

 On Mon, Jan 5, 2015 at 2:47 PM, Abimaran Kugathasan 
 abima...@wso2.com wrote:

 Congrats!

 On Mon, Jan 5, 2015 at 2:39 PM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Akalanka !

 On Mon, Jan 5, 2015 at 2:38 PM, Pranavan Theivendram 
 pranav...@wso2.com wrote:

 Congratz Akalanka :)

 On Mon, Jan 5, 2015 at 2:34 PM, Lasitha Wattaladeniya 
 lasit...@wso2.com wrote:

 Congratulations Akalanka :)

 On Mon, Jan 5, 2015 at 2:32 PM, Ramith Jayasinghe 
 ram...@wso2.com wrote:

 Hi Akalanka,
 Congratulations!
 It is with great pleasure that we welcome you as a WSO2
 committer. Keep up the good work!
 regards
 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com



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




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




 --

 *Regards,*

 *T.Pranavan*

 *Software Engineering intern, WSO2*
 *Mobile - +94775136836 %2B94775136836*

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




 --
 Best Regards,

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

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




 --
 Thanks
 Abimaran Kugathasan

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

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


 ___
 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




 --
 Cheers,

 Hasitha Amal De Silva
  Software Engineer
 Mobile : 0772037426
 Blog: http://devnutshell.tumblr.com/
 WSO2 Inc.: http://wso2.com ( lean.enterprise.middleware. )

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




 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://wso2.com

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




 --
 Inshaf Mahath
 Associate Software Engineer
 Mobile: +94775907181
 WSO2 Inc.
 Lean . Enterprise . Middleware


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




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

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




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


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




-- 

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

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


Re: [Dev] WSO2 Commiters += Ayesha Dissanayaka

2015-01-05 Thread Tharindu Dharmarathna
Congrats Ayesha !!

On Tue, Jan 6, 2015 at 8:57 AM, Samith Dassanayake sam...@wso2.com wrote:

 Congratz Ayesha!

 On Tue, Jan 6, 2015 at 8:49 AM, Milinda Perera milin...@wso2.com wrote:

 Congratulations Ayesha ..!

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

 Congratulations Ayesha !!!

 On Mon, Jan 5, 2015 at 3:06 PM, Danesh Kuruppu dan...@wso2.com wrote:

 Congrats Ayesha!!!

 On Mon, Jan 5, 2015 at 2:46 PM, Abimaran Kugathasan abima...@wso2.com
 wrote:

 Congrats!

 On Mon, Jan 5, 2015 at 2:33 PM, Lasitha Wattaladeniya 
 lasit...@wso2.com wrote:

 Congratulations Ayesha :)

 On Mon, Jan 5, 2015 at 2:27 PM, Asitha Nanayakkara asi...@wso2.com
 wrote:

 Congratulations Ayesha!!!

 --
 *Asitha Nanayakkara*
 Software Engineer
 WSO2, Inc. http://wso2.com/
 Mob: + 94 77 85 30 682


 ___
 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




 --
 Thanks
 Abimaran Kugathasan

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

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


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




 --

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

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




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

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


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




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


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




 --
 Best Regards

 Samith Dassanayake
 Software Engineer, WSO2 Inc.


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


Re: [Dev] WSO2 Committers += Buddhima Wijeweera

2014-12-28 Thread Tharindu Dharmarathna
Congrats!

On Mon, Dec 29, 2014 at 8:56 AM, Abimaran Kugathasan abima...@wso2.com
wrote:

 Congrats!

 On Mon, Dec 29, 2014 at 8:15 AM, Dakshika Jayathilaka daksh...@wso2.com
 wrote:

 Congratulations Buddhima !!!

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

 On Mon, Dec 29, 2014 at 7:55 AM, Kasun Indrasiri ka...@wso2.com wrote:

 Hi devs,

 Its my pleasure to welcome Buddhima Wijeweera as a WSO2 Committer.

 Buddhima, welcome aboard and keep up the good work.

 Thanks.

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

 cell: +94 77 556 5206
 Blog : http://kasunpanorama.blogspot.com/

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



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




 --
 Thanks
 Abimaran Kugathasan

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

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


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


Re: [Dev] WSO2 Committers += Sandamal Weerasinghe

2014-12-28 Thread Tharindu Dharmarathna
Congrats Sandamal !.

On Mon, Dec 29, 2014 at 8:57 AM, Abimaran Kugathasan abima...@wso2.com
wrote:

 Congrats!

 On Mon, Dec 29, 2014 at 8:17 AM, Isuru Ranawaka isu...@wso2.com wrote:

 Congratulations ..

 On Mon, Dec 29, 2014 at 8:15 AM, Dakshika Jayathilaka daksh...@wso2.com
 wrote:

 Congratulations sandamal !!!

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

 On Mon, Dec 29, 2014 at 7:54 AM, Kasun Indrasiri ka...@wso2.com wrote:

 Hi devs,

 Its my pleasure to welcome Sandamal Weerasinghe as a WSO2 Committer.

 Sandamal, welcome aboard and keep up the good work.

 Thanks.

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

 cell: +94 77 556 5206
 Blog : http://kasunpanorama.blogspot.com/

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



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




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

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




 --
 Thanks
 Abimaran Kugathasan

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

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


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


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

2014-12-28 Thread Tharindu Dharmarathna
Congrats kasun!!

On Mon, Dec 29, 2014 at 7:35 AM, Danesh Kuruppu dan...@wso2.com wrote:

 Congrats Kasun !!!

 On Sun, Dec 28, 2014 at 4:51 PM, Manula Chathurika Thantriwatte 
 manu...@wso2.com wrote:

 Congratulations !!!

 On Sun, Dec 28, 2014 at 1:56 PM, Abimaran Kugathasan abima...@wso2.com
 wrote:

 Congrats!

 On Sun, Dec 28, 2014 at 1:31 PM, Nirmal Fernando nir...@wso2.com
 wrote:

 Congratzz Kasun !!

 On Sun, Dec 28, 2014 at 11:11 AM, Vijitha Ekanayake vijit...@wso2.com
 wrote:

 Congratulations Kasun !!!

 On Sat, Dec 27, 2014 at 8:49 AM, Prasanna Dangalla prasa...@wso2.com
 wrote:

 Congratulations Kasun !!!

 On Sat, Dec 27, 2014 at 10:18 PM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

 Hi all,

 WSO2 welcomes Kasun De Silva as WSO2 committer!

 Congratulations!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

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

 Lean . Enterprise . Middleware

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




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

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

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




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

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




 --

 Thanks  regards,
 Nirmal

 Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/



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




 --
 Thanks
 Abimaran Kugathasan

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

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


 ___
 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




 --

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

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


[Dev] [DEV][DSS][APIM] Exception Caught while trying to add api

2014-12-16 Thread Tharindu Dharmarathna
.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:662)
 [2014-12-16 20:14:06,315] ERROR
 {org.wso2.carbon.apimgt.impl.utils.APIUtil} -  Failed to initialize
 GenericArtifactManager
 org.wso2.carbon.governance.api.exception.GovernanceException: Error in
 getting the result for media type:
 application/vnd.wso2.registry-ext-type+xml.
 at
 org.wso2.carbon.governance.api.util.GovernanceUtils.getResultPaths(GovernanceUtils.java:254)
 at
 org.wso2.carbon.governance.api.util.GovernanceUtils.findGovernanceArtifacts(GovernanceUtils.java:132)
 at
 org.wso2.carbon.governance.api.util.GovernanceUtils.findGovernanceArtifactConfigurations(GovernanceUtils.java:490)
 at
 org.wso2.carbon.governance.api.util.GovernanceUtils.loadGovernanceArtifacts(GovernanceUtils.java:312)
 at
 org.wso2.carbon.apimgt.impl.utils.APIUtil.getArtifactManager(APIUtil.java:1015)
 at
 org.wso2.carbon.apimgt.impl.APIProviderImpl.checkIfAPIExists(APIProviderImpl.java:818)
 at
 org.wso2.carbon.apimgt.impl.UserAwareAPIProvider.checkIfAPIExists(UserAwareAPIProvider.java:90)
 at org.wso2.carbon.dssapi.util.APIUtil.apiAvailable(APIUtil.java:236)
 at
 org.wso2.carbon.dssapi.core.APIPublisher.apiAvailable(APIPublisher.java:61)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
 at
 org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
 at
 org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
 at
 org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
 at
 org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
 at
 org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
 at
 org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
 at
 org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
 at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
 at
 org.wso2.carbon.dssapi.stub.APIPublisherStub.apiAvailable(APIPublisherStub.java:1044)
 at
 org.wso2.carbon.dssapi.ui.APIPublisherClient.isAPIAvailable(APIPublisherClient.java:108)
 at
 org.apache.jsp.data_005fservice.extra_005fconfig_jsp._jspService(org.apache.jsp.data_005fservice.extra_005fconfig_jsp:103)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
 at
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)




-- 

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

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


Re: [Dev] Error when creating API from wsdl endpoint

2014-11-24 Thread Tharindu Dharmarathna
Hi Abimaran,
Thanks .Its solve my issue by adding wsdl port.

On Mon, Nov 24, 2014 at 11:38 AM, Abimaran Kugathasan abima...@wso2.com
wrote:

 Hi Tharindu,

 It seems, you have wrong value for port.

 On Mon, Nov 24, 2014 at 10:32 AM, Tharindu Dharmarathna 
 tharin...@wso2.com wrote:

 Hi Abimaran ,
 that wsdl endpoint is  work fine

 On Mon, Nov 24, 2014 at 10:16 AM, Abimaran Kugathasan abima...@wso2.com
 wrote:

 Hi Tharindu,

 Can you try your wsdl endpoint[1] in browser? Because, Log says Couldn't
 retrieve endpoint information from the WSDL.

 http://localhost:9000/services/SimpleStockQuoteService?wsdl

 On Mon, Nov 24, 2014 at 9:50 AM, Tharindu Dharmarathna 
 tharin...@wso2.com wrote:

 Hi All,

 I tried to create $subject using API Manager 1.7.0. When I go through
 the process, I have got [1] error from front-end and [2] from back-end. Is
 there any workaround to solve this issue?

 *Details fill in APi manager*
 1. ​Endpoint Type:WSDL Endpoint
 2. Production WSDL:
 http://localhost:9000/services/SimpleStockQuoteService?wsdl
 3. Service:SimpleStockQuoteService
 4. Port:9000
 [1] - See the Attachment(error.png)

 [2].

 Caused by: org.wso2.carbon.apimgt.api.APIManagementException: Error
 while publishing to Gateway
 at
 org.wso2.carbon.apimgt.impl.AbstractAPIManager.handleException(AbstractAPIManager.java:687)
 at
 org.wso2.carbon.apimgt.impl.APIProviderImpl.publishToGateway(APIProviderImpl.java:864)
 at
 org.wso2.carbon.apimgt.impl.APIProviderImpl.changeAPIStatus(APIProviderImpl.java:768)
 ... 63 more
 Caused by: org.apache.axis2.AxisFault: Error while adding new API
 at
 org.wso2.carbon.apimgt.impl.utils.RESTAPIAdminClient.addApi(RESTAPIAdminClient.java:61)
 at
 org.wso2.carbon.apimgt.impl.APIGatewayManager.publishToGateway(APIGatewayManager.java:164)
 at
 org.wso2.carbon.apimgt.impl.APIProviderImpl.publishToGateway(APIProviderImpl.java:862)
 ... 64 more
 Caused by: org.apache.axis2.AxisFault: Couldn't create endpoint from
 the given WSDL URI : Couldn't retrieve endpoint information from the WSDL.
 at
 org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
 at
 org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:370)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:445)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
 at
 org.wso2.carbon.rest.api.stub.RestApiAdminStub.addApiFromString(RestApiAdminStub.java:2314)
 at
 org.wso2.carbon.apimgt.impl.utils.RESTAPIAdminClient.addApi(RESTAPIAdminClient.java:58)
 ... 66 more
 [2014-11-24 09:36:00,448] ERROR - life-cycles:jag
 org.wso2.carbon.apimgt.api.APIManagementException: Error while updating 
 API
 status



 --

 *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




 --
 Thanks
 Abimaran Kugathasan

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

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




 --

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

 mobile: *+94779109091 %2B94779109091*




 --
 Thanks
 Abimaran Kugathasan

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

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




-- 

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

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


Re: [Dev] Error when creating API from wsdl endpoint

2014-11-23 Thread Tharindu Dharmarathna
Hi Abimaran ,
that wsdl endpoint is  work fine

On Mon, Nov 24, 2014 at 10:16 AM, Abimaran Kugathasan abima...@wso2.com
wrote:

 Hi Tharindu,

 Can you try your wsdl endpoint[1] in browser? Because, Log says Couldn't
 retrieve endpoint information from the WSDL.

 http://localhost:9000/services/SimpleStockQuoteService?wsdl

 On Mon, Nov 24, 2014 at 9:50 AM, Tharindu Dharmarathna tharin...@wso2.com
  wrote:

 Hi All,

 I tried to create $subject using API Manager 1.7.0. When I go through the
 process, I have got [1] error from front-end and [2] from back-end. Is
 there any workaround to solve this issue?

 *Details fill in APi manager*
 1. ​Endpoint Type:WSDL Endpoint
 2. Production WSDL:
 http://localhost:9000/services/SimpleStockQuoteService?wsdl
 3. Service:SimpleStockQuoteService
 4. Port:9000
 [1] - See the Attachment(error.png)

 [2].

 Caused by: org.wso2.carbon.apimgt.api.APIManagementException: Error
 while publishing to Gateway
 at
 org.wso2.carbon.apimgt.impl.AbstractAPIManager.handleException(AbstractAPIManager.java:687)
 at
 org.wso2.carbon.apimgt.impl.APIProviderImpl.publishToGateway(APIProviderImpl.java:864)
 at
 org.wso2.carbon.apimgt.impl.APIProviderImpl.changeAPIStatus(APIProviderImpl.java:768)
 ... 63 more
 Caused by: org.apache.axis2.AxisFault: Error while adding new API
 at
 org.wso2.carbon.apimgt.impl.utils.RESTAPIAdminClient.addApi(RESTAPIAdminClient.java:61)
 at
 org.wso2.carbon.apimgt.impl.APIGatewayManager.publishToGateway(APIGatewayManager.java:164)
 at
 org.wso2.carbon.apimgt.impl.APIProviderImpl.publishToGateway(APIProviderImpl.java:862)
 ... 64 more
 Caused by: org.apache.axis2.AxisFault: Couldn't create endpoint from the
 given WSDL URI : Couldn't retrieve endpoint information from the WSDL.
 at
 org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
 at
 org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:370)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:445)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
 at
 org.wso2.carbon.rest.api.stub.RestApiAdminStub.addApiFromString(RestApiAdminStub.java:2314)
 at
 org.wso2.carbon.apimgt.impl.utils.RESTAPIAdminClient.addApi(RESTAPIAdminClient.java:58)
 ... 66 more
 [2014-11-24 09:36:00,448] ERROR - life-cycles:jag
 org.wso2.carbon.apimgt.api.APIManagementException: Error while updating API
 status



 --

 *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




 --
 Thanks
 Abimaran Kugathasan

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

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




-- 

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

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


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

2014-11-18 Thread Tharindu Dharmarathna
congratZ Sajini .

On Tue, Nov 18, 2014 at 2:45 PM, Milinda Perera milin...@wso2.com wrote:

 Congratulations Sajini ..

 On Tue, Nov 18, 2014 at 2:43 PM, Suhan Dharmasuriya suh...@wso2.com
 wrote:

 Congrats Sajini!!!

 On Tue, Nov 18, 2014 at 2:41 PM, Damith Wickramasinghe dami...@wso2.com
 wrote:

 Congratzz... !!! :)

 On Tue, Nov 18, 2014 at 2:37 PM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 Congrats Sajini

 On Tue, Nov 18, 2014 at 2:17 PM, Supun Malinga sup...@wso2.com wrote:

 Congrats Sajini! :)

 On Tue, Nov 18, 2014 at 2:13 PM, Godwin Amila Shrimal god...@wso2.com
  wrote:

 Congratulations Sajini !!!

 On Tue, Nov 18, 2014 at 2:08 PM, Malintha Adikari malin...@wso2.com
 wrote:

 Congratulations Sajini !!!

 On Tue, Nov 18, 2014 at 8:13 AM, Ashan Dhananjaya ash...@wso2.com
 wrote:

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

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

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

 thanks and best regards

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

 E: ram...@wso2.com

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




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





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




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




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

 mobile: *+94772264165*
 linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D*
 twitter: https://twitter.com/godwinamila

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




 --
 Supun Malinga,

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

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




 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792

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




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

 mobile: *+94728671315 %2B94728671315*


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




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

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

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




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




-- 

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

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


Re: [Dev] WSO2 Committers += Lasindu Charith

2014-10-20 Thread Tharindu Dharmarathna
://lnkd.in/KUum6D http://lnkd.in/KUum6D*
 twitter: https://twitter.com/godwinamila

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




 --

 Gayan Gunarathne
 Technical Lead
 WSO2 Inc. (http://wso2.com)
 email  : gay...@wso2.com  | mobile : +94 766819985


 ___
 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

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




 --
 Thanks
 Abimaran Kugathasan

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

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


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




 --
 *Ayesha Dissanayaka*
 Software Engineer,
 WSO2, Inc : http://wso2.com
 http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg
 20, Palmgrove Avenue, Colombo 3
 E-Mail: aye...@wso2.com ayshsa...@gmail.com

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




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




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

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




-- 

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

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


[Dev] Issue in add multiple providers

2014-10-16 Thread Tharindu Dharmarathna
Hi all,

I have developed a jax-rs app with wso2 app cloud.  I used 2 providers in
my app. But only 1st provider is getting access from request.
[1] configurations are done in cxf-servlet.xml.

Is there any workaround in this issue.

 jaxrs:providers
ref bean=Authentication/
ref bean=ResponseFilter/
/jaxrs:providers

Thanks

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

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


Re: [Dev] Error sending rest call to jax-rs web service in wso2 cloud

2014-10-12 Thread Tharindu Dharmarathna
Hi Danushka,

Issue has been resolved by applying changes to pom file according to your
advice. Reason is we are using jars in lib file that been shipped with AS
5.2.1 . we have to exclude that dependencies from build war file.
Thanks.

On Fri, Oct 10, 2014 at 9:10 AM, Tharindu Dharmarathna tharin...@wso2.com
wrote:

 Hi Danushka,

 Here I have attached the pom.xml and code snipest.

 @GET
 @Path(/users)
 @Produces(MediaType.APPLICATION_JSON)
 public Response getUsers() {
   CustomerproducttracDefault100Stub productTrackerStub = null;
 try {
 productTrackerStub = new CustomerproducttracDefault100Stub();
 } catch (AxisFault axisFault) {
}
 GetUsers getUsersRequest = new GetUsers();
 Users usersResponse = null;
 try {
 usersResponse =
 productTrackerStub.getUsers(getUsersRequest).getUsers();
 if(usersResponse!=null){
 return Response.ok(usersResponse.getUser()).build();
 }else{
 return Response.ok(new User[0]).build();
 }
 } catch (RemoteException e) {
  //log.fatal(e.getMessage());
 return
 Response.status(Response.Status.INTERNAL_SERVER_ERROR).build();
 } catch (DataServiceFaultException e) {
  //log.fatal(e.getFaultMessage());
 return
 Response.status(Response.Status.INTERNAL_SERVER_ERROR).build();
 }
 }



 On Fri, Oct 10, 2014 at 6:22 AM, Danushka Fernando danush...@wso2.com
 wrote:

 This is because we have java security enabled. Can you post the following
 line with your pom file of the application.

 com.wso2.cpt.service.UserServices.getUsers(UserServices.java:33)


 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729

 On Fri, Oct 10, 2014 at 1:02 AM, Tharindu Dharmarathna 
 tharin...@wso2.com wrote:

 Hi all,

 I have developed jax-rs app with wso2 app cloud. when I call it services
 using rest client it shows me following error.

 How can I Solve this issue
 error Log

 *type* Exception report

 *message* *org.apache.cxf.interceptor.Fault: access denied
 (java.lang.RuntimePermission modifyThreadGroup)*

 *description* *The server encountered an internal error that prevented
 it from fulfilling this request.*

 *exception*

 java.lang.RuntimeException: org.apache.cxf.interceptor.Fault: access denied 
 (java.lang.RuntimePermission modifyThreadGroup)
 
 org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:116)
 
 org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:371)
 
 org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
 
 org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:243)
 
 org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223)
 
 org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:197)
 
 org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:149)
 
 org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:171)
 
 org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)
 
 org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:211)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
 
 org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262)
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 java.lang.reflect.Method.invoke(Method.java:606)
 org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:274)
 org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:271)
 java.security.AccessController.doPrivileged(Native Method)
 javax.security.auth.Subject.doAsPrivileged(Subject.java:536)
 org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:306)
 
 org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:166)

 *root cause*

 org.apache.cxf.interceptor.Fault: access denied 
 (java.lang.RuntimePermission modifyThreadGroup)
 
 org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:163)
 
 org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:129)
 org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:211)
 org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:99)
 
 org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)
 
 org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96

[Dev] Error sending rest call to jax-rs web service in wso2 cloud

2014-10-09 Thread Tharindu Dharmarathna
)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:274)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:271)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:536)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:306)

org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:166)


JAX-RS services URL is follows.
https://appserver.dev.cloud.wso2.com/t/wso2bootcamp/webapps/customerservices-default-SNAPSHOT/services/

Thanks
-- 

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

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


Re: [Dev] Error Occured When Deploying JaX-RS WebAPP in application Server

2014-10-08 Thread Tharindu Dharmarathna
Hi Dinesh,Danushka ,
Thank you for help to fix it.


On Tue, Oct 7, 2014 at 11:55 AM, Danushka Fernando danush...@wso2.com
wrote:

 IIRC this is due to a class loading issue. You might have the same jar in
 two places in side the server.

 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729

 On Tue, Oct 7, 2014 at 11:16 AM, Dinesh J Weerakkody dine...@wso2.com
 wrote:

 Hi,

 I haven't come across this issue. But found this mail thread [1] and just
 give a try..

 [1] http://mail.wso2.org/mailarchive/stratos-dev/2011-May/003062.html

 On Tue, Oct 7, 2014 at 10:38 AM, Tharindu Dharmarathna 
 tharin...@wso2.com wrote:

 Hi all,
 I have tryed to deploy an Jax-RS app in Application Server .When it
 deploys, following exception is shown.

 Is there any work around which solves this issue ?


 Caused by: java.lang.LinkageError: loader constraint violation: when
 resolving method
 org.wso2.securevault.SecretResolverFactory.create(Lorg/apache/axiom/om/OMElement;Z)Lorg/wso2/securevault/SecretResolver;
 the class loader (instance of
 org/wso2/carbon/webapp/mgt/loader/CarbonWebappClassLoader) of the current
 class, org/apache/axis2/deployment/AxisConfigBuilder, and the class loader
 (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for
 resolved class, org/wso2/securevault/SecretResolverFactory, have different
 Class objects for the type org/apache/axiom/om/OMElement used in the
 signature
 at
 org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:92)
 at
 org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:854)
 at
 org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:116)
 at
 org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
 at
 org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210)
 at
 org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClient.java:150)
 at org.apache.axis2.client.ServiceClient.init(ServiceClient.java:143)
 at
 org.wso2.cpt.db.CustomerproducttracDefault100Stub.init(CustomerproducttracDefault100Stub.java:623)
 at
 org.wso2.cpt.db.CustomerproducttracDefault100Stub.init(CustomerproducttracDefault100Stub.java:609)
 at
 org.wso2.cpt.db.CustomerproducttracDefault100Stub.init(CustomerproducttracDefault100Stub.java:658)
 at
 org.wso2.cpt.db.CustomerproducttracDefault100Stub.init(CustomerproducttracDefault100Stub.java:650)
 at com.wso2.cpt.service.UserServices.getUsers(UserServices.java:33)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
 at
 org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)



 --

 *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




 --

 *Dinesh J. Weerakkody*
 Software Engineer
 WSO2 Inc.
 lean | enterprise | middleware
 M : +94 727 361788 | E : dine...@wso2.com | W : www.wso2.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*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Error Occured When Deploying JaX-RS WebAPP in application Server

2014-10-06 Thread Tharindu Dharmarathna
Hi all,
I have tryed to deploy an Jax-RS app in Application Server .When it
deploys, following exception is shown.

Is there any work around which solves this issue ?


Caused by: java.lang.LinkageError: loader constraint violation: when
resolving method
org.wso2.securevault.SecretResolverFactory.create(Lorg/apache/axiom/om/OMElement;Z)Lorg/wso2/securevault/SecretResolver;
the class loader (instance of
org/wso2/carbon/webapp/mgt/loader/CarbonWebappClassLoader) of the current
class, org/apache/axis2/deployment/AxisConfigBuilder, and the class loader
(instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for
resolved class, org/wso2/securevault/SecretResolverFactory, have different
Class objects for the type org/apache/axiom/om/OMElement used in the
signature
at
org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:92)
at
org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:854)
at
org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:116)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210)
at
org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClient.java:150)
at org.apache.axis2.client.ServiceClient.init(ServiceClient.java:143)
at
org.wso2.cpt.db.CustomerproducttracDefault100Stub.init(CustomerproducttracDefault100Stub.java:623)
at
org.wso2.cpt.db.CustomerproducttracDefault100Stub.init(CustomerproducttracDefault100Stub.java:609)
at
org.wso2.cpt.db.CustomerproducttracDefault100Stub.init(CustomerproducttracDefault100Stub.java:658)
at
org.wso2.cpt.db.CustomerproducttracDefault100Stub.init(CustomerproducttracDefault100Stub.java:650)
at com.wso2.cpt.service.UserServices.getUsers(UserServices.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)



-- 

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

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


[Dev] Failure Creating WSO2 Data Service in app cloud

2014-09-29 Thread Tharindu Dharmarathna
Hi all,

When we  try to create a WSO2 Data Service application on app cloud, it
didn't create the application and prompt following popup[1]. Please
referred attachment [2] herewith.


[1] Application Creation was not sucessful. Please retry later.
[2].​​
https://drive.google.com/file/d/0B93HYulAUiI3WUZ1ZG0tbzNrZ0E/edit?usp=sharing
​​​Thanks.

-- 

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

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


Re: [Dev] WSO2 Committers += Anuruddha Premalal

2014-09-28 Thread Tharindu Dharmarathna
Congratz Anuruddha!!

On Mon, Sep 29, 2014 at 8:58 AM, Rajith Siriwardena raj...@wso2.com wrote:

 Congratulations Anuruddha.!!

 On Mon, Sep 29, 2014 at 8:53 AM, Dimuthu Leelarathne dimut...@wso2.com
 wrote:

 Hi all,

 Its my pleasure to welcome Anuruddha Premalal  as a WSO2 Committer.
 Anuruddha has contributed immensely to WSO2 App Factory and has shown great
 commitment. In recognition of his contribution, he has been voted as a WSO2
 Committer.

 Anuruddha, welcome aboard!

 Regards,
 Amila.

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

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

 Lean . Enterprise . Middleware

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




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

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

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


Re: [Dev] WSO2 Commiters += Rajith Siriwardena

2014-09-28 Thread Tharindu Dharmarathna
: +94714427192
 Web: blog.lasindu.com

 ___
 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




 --
 Suhan Dharmasuriya
 Software Engineer - Test Automation

 *WSO2, Inc. *

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

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




 --
 Thanks
 Abimaran Kugathasan

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

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


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



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




-- 

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

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


  1   2   >