Configuring Custom SLA

The SCEFCustomSLAValidation is a component developed in API Gateway to enforce the required custom rules. The SCEF Custom SLAs addition per application group is configured via admin console.

The following steps are involved:

  1. Upload CustomSLA XSD:
    1. Login to OCSG Admin Weblogic console.
    2. Navigate to Domain Structure → OCSG → AppServer1 → Container Services → Account Service → ApplicationSLAs → Operations (Tab)
    3. Select the operation setupCustomSlaXSDDefinition from the list.
    4. Provide information in the following fields as described:
      • SlaType: customscefsl
      • FileContent: Copy the content of XSD file customslaxsd.xsd provided in Custom SLA XSD.
    5. After providing the details, click Invoke.

    See the below screen for reference.

    Figure 2-42 CustomSLA XSD Upload Screen


    img/customsla-xsd-upload-screen.png

  2. Upload CustomSLA XML:
    1. Login to OCSG Admin Weblogic console
    2. Navigate to Domain Structure → OCSG → AppServer1 → Container Services → Account Service → ApplicationSLAs → Operations (Tab)
    3. Select the operation loadApplicationGroupSlaByType from the list
    4. Provide information in the following fields as described:
      • SlaType: customscefsla
      • ApplicationGroupIdentifier: <partnerusername>-<applicationname>

        For example, if partnerusername is partner1 and applicationname is scefapp then ApplicationGroupIdentifier is partner1-scefapp

      • FileContent: Prepare the XML file based on XSD file as provided in Sample Custom SLA XML
    5. After providing all the details, click on Invoke.
    See the below screen for reference.

    Figure 2-43 CustomSLA XML Upload Screen


    img/customsla-xml-upload-screen.png