Uploaded image for project: 'Integration'
  1. Integration
  2. INT-468

Split up policy healthcheck URL in robot

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • None
    • Beijing Release
    • None

      The health check URL for policy uses Drools (Port 6969) but in OOM we have separate IPs for  each policy container.

      As a result, OOM has a fork of the policy_interface.robot file to modify the IP such that it points to Drools and not PDP.

      ${POLICY_HEALTHCHECK_ENDPOINT}     ${GLOBAL_POLICY_SERVER_PROTOCOL}://${GLOBAL_INJECTED_POLICY_IP_ADDR{color}}:${GLOBAL_POLICY_HEALTHCHECK_PORT}

      ${POLICY_HEALTHCHECK_ENDPOINT}     ${GLOBAL_POLICY_SERVER_PROTOCOL}://${GLOBAL_INJECTED_POLICY_HEALTHCHECK_IP_ADDR{color}}:${GLOBAL_POLICY_HEALTHCHECK_PORT}

      The ask is for robot to have multiple varialbles much like what was done for SDC_BE and FE.  I don't think we can assume each container will run on the same IP anymore.

            helenc878 helenc878
            mkhinda mkhinda
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: