nsmcp::CodeUpstreamTool method execute (public)
<instance of nsmcp::CodeUpstreamTool> execute context arguments
Defined in /usr/local/ns/tcl/nsmcp/code-upstream.tcl
- Parameters:
- context (required)
- arguments (required)
- Testcases:
- No testcase defined.
Source code: set opts [:options $arguments] try { return [:compare $context $opts] } on error {message options} { # Return a bounded diagnostic, not SQL, transport details or remote # response bodies. Unavailable is distinct from an equal comparison. set reason upstream-comparison-unavailable if {[regexp {^(upstream-[a-z-]+|github-(?:http-[0-9]{3}|transport-failed|response-too-large)|invalid-(?:upstream-[a-z-]+|github-[a-z-]+)|local-(?:source-file-metadata-unavailable|definition-not-scripted))$} $message]} {set reason $message} return [list {} object [list available boolean false name string [dict get $opts name] server string [$context server] observedAt number [clock seconds] reason string $reason upstreamFixVerified boolean false comparisonPerformed boolean false]] }XQL Not present: Generic, PostgreSQL, Oracle
![[i]](/resources/acs-subsite/ZoomIn16.gif)