Set Intelligent AI Connector Overload Protection

Use this REST API endpoint to configure overload protection for your Intelligent AI Connector (IAC) instances.

URL Syntax

/management/weblogic/latest/edit/customResources/IntelligentAIConnector/customResource/AIConnectorOverLoadProtection/AICThresholds/AICThreshold

HTTP Methods

  • GET
  • POST
  • DELETE

Parameters

Table 17-32 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:
.../?links=none

Examples

Example 17-86 Get all IAC Overload Protection Levels

curl -u 'weblogic:<password>' \
    "http://10.0.0.1:7001/management/weblogic/latest/edit/customResources/IntelligentAIConnector/customResource/AIConnectorOverLoadProtection/AICThresholds/AICThreshold?links=none"

Example response:

{
  "items": [
    {
      "identity": [
        "customResources",
        "IntelligentAIConnector",
        "customResource",
        "AIConnectorOverLoadProtection",
        "AICThresholds",
        "AICThreshold",
        "CPU"
      ],
      "min": 20,
      "max": 90,
      "resourceName": "CPU"
    }
  ]
}

Example 17-87 Set the AIC Overload Protection Level

curl -X POST -u 'weblogic:<password>' \
  -H "X-Requested-By: MyClient" \
  -H "Content-Type: application/json" \
  -d @request.json \
  "http://10.0.0.1:7001/management/weblogic/latest/edit/customResources/IntelligentAIConnector/customResource/AIConnectorOverLoadProtection/AICThresholds/AICThreshold"

Example request body:

{
    "min": 20,
    "max": 90,
    "resourceName": "Memory"
}

Available resource names are "CPU", "Memory", and "STTCount".

The Converged Application Server responds with a 201 Created.

Example 17-88 Delete an IAC Overload Protection Level

curl -X DELETE -u 'weblogic:<password>' \
  -H "X-Requested-By: MyClient" \
  "http://10.0.0.1:7001/management/weblogic/latest/edit/customResources/IntelligentAIConnector/customResource/AIConnectorOverLoadProtection/AICThresholds/AICThreshold/CPU"

The Converged Application Server responds with a 200 OK.