Re: [Dev] Acheiving throttling policies in microgateway

2019-11-01 Thread Praminda Jayawardana
Hi Priyadarshini,

Did you check [1] and [2]?

[1]:
https://github.com/wso2/product-microgateway/blob/master/README.md#3-add-apiresource-level-throttling-policies
[2]: https://docs.wso2.com/display/MG300/Rate+Limiting

Thanks,
Praminda

On Fri, Nov 1, 2019 at 1:51 AM Priyadarshini Punjabi <
priyadarshinipunj...@gmail.com> wrote:

> How to acheive throttling policies in microgateway without api manger in
> wso2? Please provide proper documentation.
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 

*Praminda Jayawardana* | Senior Software Engineer | WSO2 Inc.
(m) +94 (0) 716 590918 | (e) prami...@wso2.com
GET INTEGRATION AGILE
Integration Agility for Digitally Driven Business
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Passing service provider object to the postDeleteHandler of the ApplicationMgtListener

2019-11-01 Thread Gayashan Bombuwala
Hi Johann,

Both the new handler and the old handler will be called at the end[1] of
deleteServiceProvider() execution.
By the time that postDeleteHandler gets executed, the relevant Service
Provider object will been already removed. Hence, we can't read the Service
Provider object based on the name inside the postDeltedHandler.
We have also deprecated[2] the old postDeleteHandler.

[1]
https://github.com/wso2/carbon-identity-framework/blob/07c9b78564dbd4fd652ae323d3f3ef264cf5/components/application-mgt/org.wso2.carbon.identity.application.mgt/src/main/java/org/wso2/carbon/identity/application/mgt/ApplicationManagementServiceImpl.java#L746
[2]
https://github.com/wso2/carbon-identity-framework/blob/07c9b78564dbd4fd652ae323d3f3ef264cf5/components/application-mgt/org.wso2.carbon.identity.application.mgt/src/main/java/org/wso2/carbon/identity/application/mgt/listener/ApplicationMgtListener.java#L121

Regards,
Gayashan.

On Fri, Nov 1, 2019 at 3:37 PM Johann Nallathamby  wrote:

> Hi Gayashan,
>
> Though you introduce the method in the API, who calls the method? Now that
> there are two methods is the ApplicationMgtService going to call both the
> methods? Can't we read the Service Provider object based on the name rather
> than introducing a new method for it?
>
> Regards,
> Johann.
>
> On Fri, Oct 25, 2019 at 4:45 PM Gayashan Bombuwala 
> wrote:
>
>> Hi all,
>>
>> Currently implementation of the postDeleteHandler[1] of
>> ApplicationMgtListener only accepts the name of the service provider as a
>> parameter. However the postCreateHandler[2] and postUpdateHandler[3] of the
>> ApplicationMgtListener accepts the relevant Service Provider object as a
>> parameter rather than just the service provider name.We will be introducing
>> a new overloaded postDeleteHandler to the ApplicationMgtListener interface
>> where the relevant Service Provider object get passed to the handler
>> similar to the postCreateHandler[2] and postUpdateHandler[3] as the
>> relevant Service Provider information is required for logging purposes.
>>
>> [1]
>> https://github.com/wso2/carbon-identity-framework/blob/b95514a65960e75015855d343ebd9452c4ce6a2b/components/application-mgt/org.wso2.carbon.identity.application.mgt/src/main/java/org/wso2/carbon/identity/application/mgt/listener/ApplicationMgtListener.java#L117
>>
>> [2]
>> https://github.com/wso2/carbon-identity-framework/blob/b95514a65960e75015855d343ebd9452c4ce6a2b/components/application-mgt/org.wso2.carbon.identity.application.mgt/src/main/java/org/wso2/carbon/identity/application/mgt/listener/ApplicationMgtListener.java#L69
>>
>> [3]
>> https://github.com/wso2/carbon-identity-framework/blob/b95514a65960e75015855d343ebd9452c4ce6a2b/components/application-mgt/org.wso2.carbon.identity.application.mgt/src/main/java/org/wso2/carbon/identity/application/mgt/listener/ApplicationMgtListener.java#L93
>>
>> Thanks,
>> --
>> *Gayashan Bombuwala*
>> Software Engineer | WSO2
>>
>> Email: gayash...@wso2.com
>> Phone: +94770548334
>>
>> [image: https://wso2.com/signature] 
>>
>
>
> --
> *Johann Dilantha Nallathamby* | Associate Director/Solutions Architect |
> WSO2 Inc.
> (m) +94 (77) 7776950 | (w) +94 (11) 2145345 | (e) joh...@wso2.com
> [image: Signature.jpg]
>


-- 
*Gayashan Bombuwala*
Software Engineer | WSO2

Email: gayash...@wso2.com
Phone: +94770548334

[image: https://wso2.com/signature] 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Passing service provider object to the postDeleteHandler of the ApplicationMgtListener

2019-11-01 Thread Johann Nallathamby
Hi Gayashan,

Though you introduce the method in the API, who calls the method? Now that
there are two methods is the ApplicationMgtService going to call both the
methods? Can't we read the Service Provider object based on the name rather
than introducing a new method for it?

Regards,
Johann.

On Fri, Oct 25, 2019 at 4:45 PM Gayashan Bombuwala 
wrote:

> Hi all,
>
> Currently implementation of the postDeleteHandler[1] of
> ApplicationMgtListener only accepts the name of the service provider as a
> parameter. However the postCreateHandler[2] and postUpdateHandler[3] of the
> ApplicationMgtListener accepts the relevant Service Provider object as a
> parameter rather than just the service provider name.We will be introducing
> a new overloaded postDeleteHandler to the ApplicationMgtListener interface
> where the relevant Service Provider object get passed to the handler
> similar to the postCreateHandler[2] and postUpdateHandler[3] as the
> relevant Service Provider information is required for logging purposes.
>
> [1]
> https://github.com/wso2/carbon-identity-framework/blob/b95514a65960e75015855d343ebd9452c4ce6a2b/components/application-mgt/org.wso2.carbon.identity.application.mgt/src/main/java/org/wso2/carbon/identity/application/mgt/listener/ApplicationMgtListener.java#L117
>
> [2]
> https://github.com/wso2/carbon-identity-framework/blob/b95514a65960e75015855d343ebd9452c4ce6a2b/components/application-mgt/org.wso2.carbon.identity.application.mgt/src/main/java/org/wso2/carbon/identity/application/mgt/listener/ApplicationMgtListener.java#L69
>
> [3]
> https://github.com/wso2/carbon-identity-framework/blob/b95514a65960e75015855d343ebd9452c4ce6a2b/components/application-mgt/org.wso2.carbon.identity.application.mgt/src/main/java/org/wso2/carbon/identity/application/mgt/listener/ApplicationMgtListener.java#L93
>
> Thanks,
> --
> *Gayashan Bombuwala*
> Software Engineer | WSO2
>
> Email: gayash...@wso2.com
> Phone: +94770548334
>
> [image: https://wso2.com/signature] 
>


-- 
*Johann Dilantha Nallathamby* | Associate Director/Solutions Architect |
WSO2 Inc.
(m) +94 (77) 7776950 | (w) +94 (11) 2145345 | (e) joh...@wso2.com
[image: Signature.jpg]
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Product Installation Resources Released!!!

2019-11-01 Thread Chamindi Abayadeera
WSO2 Installation Experience team is pleased to announce the release of
Ansible, AWS, Docker, Puppet and Vagrant resources for WSO2 products.

Ansible

Related artifacts:

   -

   WSO2 API Manager v3.0.0 -
   https://github.com/wso2/ansible-apim/releases/tag/v3.0.0.1


Issues:

   -

   WSO2 API Manager - https://github.com/wso2/ansible-apim/issues



AWS

Related artifacts:

   -

   WSO2 API Manager v3.0.0 -
   https://github.com/wso2/aws-apim/releases/tag/v3.0.0.1


Issues:

   -

   WSO2 API Manager - https://github.com/wso2/aws-apim/issues
   



Docker and Docker Compose

Related artifacts:

   -

   WSO2 API Manager v3.0.0 -
   https://github.com/wso2/docker-apim/releases/tag/v3.0.0.1


Issues:

   -

   WSO2 API Manager - https://github.com/wso2/docker-apim
   /issues
   



Puppet

Related artifacts:

   -

   WSO2 API Manager v3.0.0  -
   https://github.com/wso2/puppet-apim/releases/tag/v3.0.0.1
   -

   WSO2 Identity Server v5.9.0 -
   https://github.com/wso2/puppet-is/releases/tag/v5.9.0.1


Issues:

   -

   WSO2 API Manager - https://github.com/wso2/puppet-apim/issues
   -

   WSO2 Identity Server - ttps://github.com/wso2/puppet-is/issues



Vagrant

Related artifacts:

   -

   WSO2 API Manager v3.0.0  -
   https://github.com/wso2/vagrant-apim/releases/tag/v3.0.0.1
   -

   WSO2 Vagrant Resources to create boxes for WSO2 Products v1.4.0 -
   https://github.com/wso2/vagrant-boxes/releases/tag/v1.4.0


Issues:

   -

   WSO2 API Manager - https://github.com/wso2/puppet-apim/issues
   -

   WSO2 Vagrant Resources to create boxes for WSO2 Products -  https://
   github.com/wso2/vagrant-boxes/issues




How You Can Contribute

Join our mailing list and correspond with the developers directly.

Developer List: dev@wso2.org

User List: u...@wso2.org

Reporting Issues

We encourage you to report issues and documentation faults regarding
WSO2 Ansible,
AWS, Docker, Puppet and Vagrant resource resources through respective
repositories by creating issues.

Thank you!

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


[Dev] Acheiving throttling policies in microgateway

2019-11-01 Thread Priyadarshini Punjabi
How to acheive throttling policies in microgateway without api manger in
wso2? Please provide proper documentation.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev