definition:
  action: OPA
  parameters:
    requestGenerator: ""
    serverURL: {{ .serverUrl }}
    {{- if isParamExists . "accessKey" }}
    accessKey: {{ .accessKey }}
    {{- end }}
    policy: {{ .policy }}
    rule: {{ .rule }}
    {{- if isParamExists . "sendAccessToken" }}
    sendAccessToken: {{ .sendAccessToken }}
    {{- end }}
    {{- if isParamExists . "additionalProperties" }}
    additionalProperties: {{ .additionalProperties }}
    {{- end }}
    {{- if isParamExists . "maxOpenConnections" }}
    maxOpenConnections: {{ .maxOpenConnections }}
    maxPerRoute: {{ .maxOpenConnections }}
    {{- end }}
    {{- if isParamExists . "connectionTimeout" }}
    connectionTimeout: {{ .connectionTimeout }}
    {{- end }}
