nsmcp::RequestRoutingTool method execute (public)

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

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

Describe the selected server's request-routing configuration. Capture pool/filter maps and whether native contextual lookup is supported.

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 server [$context server]
return [list {} object [list server string $server observedAt number [clock seconds]  source string ns_server nativeContextLookup boolean [:contextSupported $server] {*}[:encodeSnapshot [:snapshot $server]]]]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: