nsmcp::AccessSummaryTool method execute (public)

 <instance of nsmcp::AccessSummaryTool[i]> execute context arguments

Defined in /usr/local/ns/tcl/nsmcp/access-tools.tcl

Start an owned access-log summary operation. Resolve retained window handles through the service before queuing the validated summary options.

Parameters:
context (required)
Authenticated request context carrying the principal, grants and selected server.
arguments (required)
Rooted ns_json typed triples for the tool's JSON argument object.
Returns:
A rooted JSON tool-result object, including availability or job metadata as appropriate.

Testcases:
No testcase defined.
Source code:
set options [:options $arguments]
if {[dict exists $options windowHandle]} {
    set bounds [${:service} resolveWindow $context [dict get $options windowHandle]]
    dict unset options windowHandle
    set options [${:analytics} validateWindow [dict merge $options $bounds]]
}
return [${:service} start $context accessSummary $options]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: