Class ::nsmcp::ServerDescribe (public)
::nx::Class ::nsmcp::ServerDescribe
Defined in /usr/local/ns/tcl/nsmcp/01-tools.tcl
- Testcases:
- No testcase defined.
Source code: :property {outputSchema {{} object { type string object properties object { server object {type string string} naviserverVersion object {type string string} patchlevel object {type string string} tclVersion object {type string string} nxVersion object {type string string} moduleVersion object {type string string} observedAt object {type string string} } required array {0 string server 1 string naviserverVersion 2 string patchlevel 3 string tclVersion 4 string nxVersion 5 string moduleVersion 6 string observedAt} additionalProperties boolean false }}} :public method execute {context arguments} { set version unknown set modules [ns_server -server [$context server] modules] if {[dict exists $modules nsmcp version]} { set version [dict get $modules nsmcp version] } return [list {} object [list server string [$context server] naviserverVersion string [ns_info version] patchlevel string [ns_info patchlevel] tclVersion string [info patchlevel] nxVersion string [package require nx] moduleVersion string $version observedAt string [clock format [clock seconds] -timezone UTC -format {%Y-%m-%dT%H:%M:%SZ}]]] }XQL Not present: Generic, PostgreSQL, Oracle
![[i]](/resources/acs-subsite/ZoomIn16.gif)