This documentation is for WSO2 API Manager 1.4.0 View documentation for the latest release.
Page Comparison - Adding New Throttling Tiers (v.1 vs v.9) - API Manager 1.4.0 - WSO2 Documentation

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

API Manager admins can add new throttling tiers through the Management Console as described in the instructions below:1. . For a description of throttling tiers, see API-level throttling.

  1. Log in to the API Manager's Management Console and select

...

  1. Browse

...

  1. under

...

  1. Resources

...

  1. menu.

...

  1. Image Added

...

  1. Select the file: /_system/governance/apimgt/applicationdata/tiers.xml.

    Image Modified

...

  1. In the

...

  1. Contents

...

  1. panel,

...

  1. click Edit as text

...

  1. link and throttling policy should open up bellow.

    Image Modified

...

  1. You can add a new policy configuration by editing the XML code. As an example, we have added a new tier called

...

  1. Platinum

...

  1. by including the following XML code block soon after the

...

  1. <throttle:MediatorThrottleAssertion>

...

  1. tag:

    Code Block
    languagehtml/xml
    wsp:Policy>
         <throttle:ID throttle:type="ROLE">Platinum</throttle:ID>
              <wsp:Policy>
                   <throttle:Control>
                        <wsp:Policy>
                            <throttle:MaximumCount>50</throttle:MaximumCount>
                            <throttle:UnitTime>60000</throttle:UnitTime>
                        </wsp:Policy>
                   </throttle:Control>
              </wsp:Policy>
    </wsp:Policy>

    The file looks as follows after the addition:

    Image Modified

...

  1. Click

...

  1. the

...

  1. Save Content

...

  1. button. Now your new throttling policy (

...

  1. Platinum

...

  1. ) is successfully saved in the Repository used by WSO2 API Manager. You can view this new throttle tier available for selection when creating a new API through the API Publisher

...

  1. .

...

Excerpt
hiddentrue

Throttling tiers in WSO2 API Manager

...