Pular para o conteúdo principal

Amplia Reg command: fill-registration-agent-report-transactions

Name​

fill-registration-agent-report-transactions - Fills in the report transaction history of older registration agents

Syntax​

dotnet Lacuna.AmpliaRegNg.Site.dll [settings] -- fill-registration-agent-report-transactions [options]

Or, on Docker:

docker run -i lacunasoftware/ampliareg:x.y.z [settings] -- fill-registration-agent-report-transactions [options]
info

Replace x.y.z above with the desired version

The settings arguments are additional settings to overwrite settings from configuration files and environment variables, for instance --Section1:Name1=value1 --Section2:Name2=value2.

Options:

  • --batchsize <batch-size>: number of registration agents to process per batch. Default: 100
  • --logfrequency <log-frequency>: how often, in number of processed agents, progress is written to the log. A value less than or equal to zero turns this log off. Default: 5
  • --certificate-changed-only: processes only the agent certificate change events (RegistrationAgentCertificateUpdated), ignoring the other event types (approval, disabling and registration data update)

Description​

The fill-registration-agent-report-transactions command rebuilds, from each registration agent's event trail, the transactions of the registration agent report (introduced in version 8.0.0) for agents that already existed before that report started recording transactions in real time.

For each registration agent, the command looks for historical approval, disabling, registration data update and certificate change events that don't have a matching transaction yet, and creates the missing transactions with the original date of the event.

warning

If you already ran this command on a version older than 8.0.5, run it again with the --certificate-changed-only option after updating to version 8.0.5 or later. That version fixed how certificate change transactions are filled in (see ARNG-980), and the option makes sure that only certificate change events are reprocessed, without duplicating the other transactions already filled in.

info

This command is optional: registration agents created, or with new events, from version 8.0.0 on already have their report transactions recorded automatically. Run this command only if you want the report to also reflect the history of registration agents older than that version.

Before processing, the command shows the number of agents found and asks for confirmation (Y) before going ahead, since the action cannot be undone.

See also​

View as Markdown