Versions Compared

Key

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

...

  1. Log in to the API Manager's Management Console and select Browse under Resources menu.

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

  3. In the Contents panel, click Edit as text link and throttling policy should open up bellow. Image Removed

    Image Modified

     
  4. Image RemovedYou can add a new policy configuration by editing the XML code. As an example, we have added a new tier called Platinum by including the following XML code block soon after the <throttle:MediatorThrottleAssertion> 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>

    Image RemovedThe file looks as follows after the addition:

    Image Removed

    Image RemovedImage Removed
  5. Image Removedlick

    Click the Save Content button. Now your new throttling policy (Platinum) 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

    . For more information, refer to section Creating an API

    .