Setting the request list length for Decision Visualizer - PingAuthorize - 9.1

PingAuthorize

bundle
pingauthorize-91
ft:publication_title
PingAuthorize
Product_Version_ce
PingAuthorize 9.1
category
ContentType
Product
Productdocumentation
paz-91
pingauthorize
ContentType_ce
Product documentation

In the PingAuthorize Policy Editor, you can select Policies, Decision Visualizer, and then Recent Decisions to view graphs of recent decisions, the times the requests were made, and the decision outcomes. The requests do not include test requests.

The RecentRequest.buffer.size parameter in the configuration file determines the number of recent decisions to choose from. To configure the Policy Editor to use a different value for this parameter, re-run the setup tool using an options file to generate a new configuration, as shown in the following steps.

  1. Make a copy of the default options file.
    $ cp config/options.yml my-options.yml
  2. Edit the new options file and define RecentRequest.buffer.size in the core section.

    By default, the number of recent decisions is 20.

    Warning: Setting a buffer size greater than 20 can cause serious performance degradation.

    To disable the feature, set the value to 0.

    core:
      RecentRequest.buffer.size: 10
    # Other options omitted for brevity...
  3. Stop the Policy Editor.
    $ bin/stop-server
  4. Run setup using the --optionsFile argument, and then customize all other options as appropriate for your needs.
    $ bin/setup demo \
     --adminUsername admin \
     --generateSelfSignedCertificate \
     --decisionPointSharedSecret <shared-secret> \
     --hostname <pap-hostname> \
     --port <pap-port> \
     --adminPort <admin-port> \
     --licenseKeyFile <path-to-license> \
     --optionsFile my-options.yml
  5. Start the Policy Editor.
    $ bin/start-server