Configure Overload Protection

Use the REST API endpoint below to discover the overload protection subcategories that can be configured. A GET request to the subcategory's CreateForm URL retrieves both the default parameters and the create URL. Send a POST request to the create URL to create the child MBean.

URL Syntax

For the GET that returns the subcategories:

/management/weblogic/latest/serverConfig/customResources/sipserver/customResource/overloadProtection

For a subsequent GET:

/management/weblogic/latest/serverConfig/customResources/sipserver/customResource/overloadProtection/<subcategory>/<subcategory>CreateForm

HTTP Methods

  • GET

Parameters

The subcategories include:

  • thresholds
  • collectors
  • eventHandlers
  • actions

Table 17-5 URL Parameters

Names Description
links Set to none if you want to remove the links from the response. Set to an enumerated list of the links to return. For example:
.../overloadProtection?links=parent
fields Set to an enumerated list of the fields to return. For example:
.../overloadProtection?links=none&fields=name

Examples

Example 17-18 Get the Application Router configuration

curl -u 'weblogic:<password>' \
    "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/sipserver/customResource/overloadProtection"

Example response:

{
    "links": [
        {
            "rel": "parent",
            "href": "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/sipserver/customResource"
        },
        {
            "rel": "self",
            "href": "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/sipserver/customResource/overloadProtection"
        },
        {
            "rel": "canonical",
            "href": "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/sipserver/customResource/overloadProtection"
        },
        {
            "rel": "thresholds",
            "href": "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/sipserver/customResource/overloadProtection/thresholds"
        },
        {
            "rel": "collectors",
            "href": "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/sipserver/customResource/overloadProtection/collectors"
        },
        {
            "rel": "eventHandlers",
            "href": "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/sipserver/customResource/overloadProtection/eventHandlers"
        },
        {
            "rel": "actions",
            "href": "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/sipserver/customResource/overloadProtection/actions"
        }
    ],
    "identity": [
        "customResources",
        "sipserver",
        "customResource",
        "overloadProtection"
    ],
    "name": null
}