rest pcrf {
    pcrf_uri = "http://${pcrf_host}:${pcrf_port}"
    connect_uri = "${pcrf_uri}/"

    tls {

    }

    authorize {
        uri = "${..pcrf_uri}/auth"
        method = 'post'
        body = 'json'
        force_to = 'json'
        timeout = 30
        tls = ${..tls}
    }

    accounting {
        uri = "${..pcrf_uri}/acct/%{Acct-Status-Type}"
        method = 'post'
        body = 'json'
        force_to = 'json'
        timeout = 30
        tls = ${..tls}
    }

    post-auth {
        uri = "${..pcrf_uri}/postauth/%{reply:Packet-Type}"
        method = 'post'
        body = 'json'
        force_to = 'json'
        timeout = 30
        tls = ${..tls}
    }

    pool {
        start = 0
        min = ${thread[pool].min_spare_servers}
        max = ${thread[pool].max_servers}
        spare = ${thread[pool].max_spare_servers}

        # 0 means "infinite"
        uses = 0
        retry_delay = 5
        lifetime = 0
        idle_timeout = 300
    }
}
