Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-9234

Add health check for the SOAP STS

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 13.0.0
    • Fix Version/s: 13.5.1, 14.0.0
    • Component/s: STS
    • Labels:
      None
    • Support Ticket IDs:

      Description

      Currently, the SOAP STS waits 10 seconds after the container start before publishing the STS instances. When load balancing the SOAP STS, the load balancer needs a way to determine whether the SOAP STS is ready for use.

      A crude solution would be to fetch the WSDL of a particular STS instance, however, when fetching the WSDL, an audit event is fired, which means the audit logs would be filled with health checks.

      A better way would be to have a separate jsp that returns the number of deployed instances and says whether the SOAP STS is READY or not. Something like this:

      http://soap-sts-hostname:8080/soap-sts-server/healthCheck.jsp?num-instances-required=1 
      

      Would return something like when it is ready:

      The STS is READY
      
      The number of published instances is: 1
      

      When it isn't ready the response would look like:

      The STS is DEPLOYING
      
      The number of published instances is: 0
      

      The num-instances-required parameter would set when the health check page declares that is READY based on the number of published STS instances.

        Attachments

          Activity

            People

            • Assignee:
              japearson Joel Pearson
              Reporter:
              japearson Joel Pearson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: