openc3-cosmos-tool-docs 5.17.1 → 5.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/tools/staticdocs/404.html +4 -4
- data/tools/staticdocs/assets/css/{styles.8a0f1b26.css → styles.80ddca08.css} +1 -1
- data/tools/staticdocs/assets/js/{019369f3.34291acc.js → 019369f3.727d87f1.js} +1 -1
- data/tools/staticdocs/assets/js/{058ffc22.8d9049f4.js → 058ffc22.f2d69d72.js} +1 -1
- data/tools/staticdocs/assets/js/{0686a885.dde7b18b.js → 0686a885.83641127.js} +1 -1
- data/tools/staticdocs/assets/js/078dbab0.945c9f59.js +1 -0
- data/tools/staticdocs/assets/js/{0f5d161c.ca02c5b2.js → 0f5d161c.e26d88b8.js} +1 -1
- data/tools/staticdocs/assets/js/{0ff569c9.ad025a56.js → 0ff569c9.aa4daee5.js} +1 -1
- data/tools/staticdocs/assets/js/{103cc3be.6b6cd0fa.js → 103cc3be.78f97eb1.js} +1 -1
- data/tools/staticdocs/assets/js/{13196248.9e7794e3.js → 13196248.ca2e8950.js} +1 -1
- data/tools/staticdocs/assets/js/{13c1b4e4.cec67b9c.js → 13c1b4e4.22a0b1d4.js} +1 -1
- data/tools/staticdocs/assets/js/{2047b354.bdd2586a.js → 2047b354.25d11993.js} +1 -1
- data/tools/staticdocs/assets/js/22b3ac48.7a5ea984.js +1 -0
- data/tools/staticdocs/assets/js/{2bb7bf90.043455de.js → 2bb7bf90.fa05d998.js} +1 -1
- data/tools/staticdocs/assets/js/3917.1ec7d126.js +1 -0
- data/tools/staticdocs/assets/js/{3dd7ef3b.c7c1d93f.js → 3dd7ef3b.d55880a8.js} +1 -1
- data/tools/staticdocs/assets/js/{40365d27.7eb3f7b1.js → 40365d27.4b4b2ccd.js} +1 -1
- data/tools/staticdocs/assets/js/{411898ad.d5f62a27.js → 411898ad.1d6a609d.js} +1 -1
- data/tools/staticdocs/assets/js/{42170351.69a8ed02.js → 42170351.c68b85e1.js} +1 -1
- data/tools/staticdocs/assets/js/43652efd.d1e1add3.js +1 -0
- data/tools/staticdocs/assets/js/53ca7c5b.c3111020.js +1 -0
- data/tools/staticdocs/assets/js/{54d0d530.28ba5be7.js → 54d0d530.d3f9a4ac.js} +1 -1
- data/tools/staticdocs/assets/js/{5b233ba7.9c621552.js → 5b233ba7.6fdd6b6c.js} +1 -1
- data/tools/staticdocs/assets/js/{5bc719f6.7fa17221.js → 5bc719f6.daa2a049.js} +1 -1
- data/tools/staticdocs/assets/js/{5c6ce5ec.5e6ca46b.js → 5c6ce5ec.61a9cae2.js} +1 -1
- data/tools/staticdocs/assets/js/5e3ed378.2bee863a.js +1 -0
- data/tools/staticdocs/assets/js/5fe211ef.a9f21277.js +1 -0
- data/tools/staticdocs/assets/js/6831b732.185eb427.js +1 -0
- data/tools/staticdocs/assets/js/{696b4199.0335bd94.js → 696b4199.a5ae3d65.js} +1 -1
- data/tools/staticdocs/assets/js/{6b210247.2cbd59e6.js → 6b210247.e96f3982.js} +1 -1
- data/tools/staticdocs/assets/js/{6b65133b.87dc7da6.js → 6b65133b.4e84b1c2.js} +1 -1
- data/tools/staticdocs/assets/js/6f92e431.65aa0240.js +1 -0
- data/tools/staticdocs/assets/js/72c6d8a8.98daa27a.js +1 -0
- data/tools/staticdocs/assets/js/{75e64983.932fbc0e.js → 75e64983.6ef0928b.js} +1 -1
- data/tools/staticdocs/assets/js/{867640d5.ffd4cf4c.js → 867640d5.48133ad5.js} +1 -1
- data/tools/staticdocs/assets/js/{89e76475.97389cc5.js → 89e76475.13ce283b.js} +1 -1
- data/tools/staticdocs/assets/js/{8f7843ee.d1ffd5ee.js → 8f7843ee.7a68246a.js} +1 -1
- data/tools/staticdocs/assets/js/9424f0b3.61c6bd97.js +1 -0
- data/tools/staticdocs/assets/js/{97535711.fc45ced1.js → 97535711.5311ddd9.js} +1 -1
- data/tools/staticdocs/assets/js/{99581c43.8e571df8.js → 99581c43.527aab44.js} +1 -1
- data/tools/staticdocs/assets/js/{9fb6059a.42881e94.js → 9fb6059a.a5107afb.js} +1 -1
- data/tools/staticdocs/assets/js/{a507c363.04b98d2c.js → a507c363.d2cc5d72.js} +1 -1
- data/tools/staticdocs/assets/js/{a677c089.b2928bac.js → a677c089.abc52ace.js} +1 -1
- data/tools/staticdocs/assets/js/{a9987364.8f065f19.js → a9987364.5ef1644f.js} +1 -1
- data/tools/staticdocs/assets/js/{aa6b6c1b.d78e5212.js → aa6b6c1b.c51c044d.js} +1 -1
- data/tools/staticdocs/assets/js/{b4596165.6806d46b.js → b4596165.daa24b72.js} +1 -1
- data/tools/staticdocs/assets/js/b6d70f94.4923c793.js +1 -0
- data/tools/staticdocs/assets/js/b9f60ba6.e55cd937.js +1 -0
- data/tools/staticdocs/assets/js/{bd0034eb.b4e3d6c1.js → bd0034eb.6691ccc4.js} +1 -1
- data/tools/staticdocs/assets/js/c24eae19.251e0038.js +1 -0
- data/tools/staticdocs/assets/js/{cb8c3f08.a0ef4b5f.js → cb8c3f08.b82ad06f.js} +1 -1
- data/tools/staticdocs/assets/js/cd879be4.f956406f.js +1 -0
- data/tools/staticdocs/assets/js/d1b923aa.d6bafb72.js +1 -0
- data/tools/staticdocs/assets/js/{d1bfc316.2d823a88.js → d1bfc316.0a5ff560.js} +1 -1
- data/tools/staticdocs/assets/js/{d24bf9b6.53eca5e8.js → d24bf9b6.6c422113.js} +1 -1
- data/tools/staticdocs/assets/js/{d57a4b5d.aaa48891.js → d57a4b5d.8f23a506.js} +1 -1
- data/tools/staticdocs/assets/js/{d5d77c37.be6fe7b6.js → d5d77c37.70fdbbc6.js} +1 -1
- data/tools/staticdocs/assets/js/{d8ca4191.c6632184.js → d8ca4191.2349d796.js} +1 -1
- data/tools/staticdocs/assets/js/{d9b92eba.c6a2c7e5.js → d9b92eba.8f82360d.js} +1 -1
- data/tools/staticdocs/assets/js/{db8fa1d0.f078bc02.js → db8fa1d0.8f1b2c9f.js} +1 -1
- data/tools/staticdocs/assets/js/{dc5f7beb.a4afe7cd.js → dc5f7beb.e3a82d1e.js} +1 -1
- data/tools/staticdocs/assets/js/{e501b0d1.d108a8a9.js → e501b0d1.0b407477.js} +1 -1
- data/tools/staticdocs/assets/js/ebec1ccb.9bea92b0.js +1 -0
- data/tools/staticdocs/assets/js/f15615f1.5c433923.js +1 -0
- data/tools/staticdocs/assets/js/{fd886806.a21dd400.js → fd886806.4a41fa80.js} +1 -1
- data/tools/staticdocs/assets/js/main.b5390098.js +2 -0
- data/tools/staticdocs/assets/js/runtime~main.12d1e41d.js +1 -0
- data/tools/staticdocs/docs/configuration/command.html +96 -180
- data/tools/staticdocs/docs/configuration/format.html +25 -54
- data/tools/staticdocs/docs/configuration/interfaces.html +25 -80
- data/tools/staticdocs/docs/configuration/plugins.html +138 -178
- data/tools/staticdocs/docs/configuration/protocols.html +91 -110
- data/tools/staticdocs/docs/configuration/ssl-tls.html +33 -104
- data/tools/staticdocs/docs/configuration/table.html +67 -125
- data/tools/staticdocs/docs/configuration/target.html +23 -31
- data/tools/staticdocs/docs/configuration/telemetry-screens.html +194 -455
- data/tools/staticdocs/docs/configuration/telemetry.html +104 -187
- data/tools/staticdocs/docs/configuration.html +4 -4
- data/tools/staticdocs/docs/development/curl.html +17 -126
- data/tools/staticdocs/docs/development/developing.html +29 -80
- data/tools/staticdocs/docs/development/host-install.html +10 -23
- data/tools/staticdocs/docs/development/json-api.html +20 -32
- data/tools/staticdocs/docs/development/log-structure.html +14 -14
- data/tools/staticdocs/docs/development/roadmap.html +15 -15
- data/tools/staticdocs/docs/development/streaming-api.html +11 -83
- data/tools/staticdocs/docs/development/testing.html +17 -26
- data/tools/staticdocs/docs/development.html +4 -4
- data/tools/staticdocs/docs/getting-started/generators.html +35 -109
- data/tools/staticdocs/docs/getting-started/gettingstarted.html +26 -74
- data/tools/staticdocs/docs/getting-started/installation.html +24 -35
- data/tools/staticdocs/docs/getting-started/key_concepts.html +35 -35
- data/tools/staticdocs/docs/getting-started/podman.html +26 -57
- data/tools/staticdocs/docs/getting-started/requirements.html +21 -21
- data/tools/staticdocs/docs/getting-started/upgrading.html +12 -17
- data/tools/staticdocs/docs/getting-started.html +4 -4
- data/tools/staticdocs/docs/guides/bridges.html +19 -63
- data/tools/staticdocs/docs/guides/cfs.html +44 -184
- data/tools/staticdocs/docs/guides/custom-widgets.html +20 -47
- data/tools/staticdocs/docs/guides/little-endian-bitfields.html +5 -14
- data/tools/staticdocs/docs/guides/local-mode.html +16 -21
- data/tools/staticdocs/docs/guides/logging.html +12 -12
- data/tools/staticdocs/docs/guides/monitoring.html +22 -137
- data/tools/staticdocs/docs/guides/performance.html +18 -27
- data/tools/staticdocs/docs/guides/raspberrypi.html +10 -23
- data/tools/staticdocs/docs/guides/script-writing.html +85 -391
- data/tools/staticdocs/docs/guides/scripting-api.html +482 -1353
- data/tools/staticdocs/docs/guides.html +4 -4
- data/tools/staticdocs/docs/meta/contributing.html +14 -19
- data/tools/staticdocs/docs/meta/licenses.html +13 -31
- data/tools/staticdocs/docs/meta/philosophy.html +4 -4
- data/tools/staticdocs/docs/meta/xtce.html +15 -17
- data/tools/staticdocs/docs/meta.html +4 -4
- data/tools/staticdocs/docs/privacy.html +20 -20
- data/tools/staticdocs/docs/tools/autonomic.html +22 -22
- data/tools/staticdocs/docs/tools/bucket-explorer.html +13 -13
- data/tools/staticdocs/docs/tools/calendar.html +21 -21
- data/tools/staticdocs/docs/tools/cmd-sender.html +16 -16
- data/tools/staticdocs/docs/tools/cmd-tlm-server.html +23 -23
- data/tools/staticdocs/docs/tools/data-extractor.html +27 -27
- data/tools/staticdocs/docs/tools/data-viewer.html +13 -13
- data/tools/staticdocs/docs/tools/handbooks.html +7 -7
- data/tools/staticdocs/docs/tools/limits-monitor.html +19 -19
- data/tools/staticdocs/docs/tools/packet-viewer.html +16 -16
- data/tools/staticdocs/docs/tools/script-runner.html +36 -75
- data/tools/staticdocs/docs/tools/table-manager.html +13 -48
- data/tools/staticdocs/docs/tools/tlm-grapher.html +23 -23
- data/tools/staticdocs/docs/tools/tlm-viewer.html +18 -18
- data/tools/staticdocs/docs/tools.html +4 -4
- data/tools/staticdocs/docs.html +14 -14
- data/tools/staticdocs/index.html +4 -4
- data/tools/staticdocs/lunr-index-1724101625047.json +1 -0
- data/tools/staticdocs/lunr-index.json +1 -1
- data/tools/staticdocs/markdown-page.html +5 -5
- data/tools/staticdocs/search-doc-1724101625047.json +1 -0
- data/tools/staticdocs/search-doc.json +1 -1
- metadata +71 -71
- data/tools/staticdocs/assets/js/078dbab0.b275e04c.js +0 -1
- data/tools/staticdocs/assets/js/22b3ac48.0f4fbe9d.js +0 -1
- data/tools/staticdocs/assets/js/43652efd.be2c1d02.js +0 -1
- data/tools/staticdocs/assets/js/4650.292aca67.js +0 -1
- data/tools/staticdocs/assets/js/53ca7c5b.3f1245d5.js +0 -1
- data/tools/staticdocs/assets/js/5e3ed378.77db7b87.js +0 -1
- data/tools/staticdocs/assets/js/5fe211ef.71dc8326.js +0 -1
- data/tools/staticdocs/assets/js/6831b732.5714d508.js +0 -1
- data/tools/staticdocs/assets/js/6f92e431.300a9857.js +0 -1
- data/tools/staticdocs/assets/js/72c6d8a8.cfccace6.js +0 -1
- data/tools/staticdocs/assets/js/9424f0b3.29299bde.js +0 -1
- data/tools/staticdocs/assets/js/b6d70f94.f5514e8b.js +0 -1
- data/tools/staticdocs/assets/js/b9f60ba6.c3b3046d.js +0 -1
- data/tools/staticdocs/assets/js/c24eae19.6b084c7c.js +0 -1
- data/tools/staticdocs/assets/js/cd879be4.6f19050a.js +0 -1
- data/tools/staticdocs/assets/js/d1b923aa.3f3e186d.js +0 -1
- data/tools/staticdocs/assets/js/ebec1ccb.1ded1149.js +0 -1
- data/tools/staticdocs/assets/js/f15615f1.f9b655a6.js +0 -1
- data/tools/staticdocs/assets/js/main.c2e2b617.js +0 -2
- data/tools/staticdocs/assets/js/runtime~main.2bb31799.js +0 -1
- data/tools/staticdocs/lunr-index-1719505302032.json +0 -1
- data/tools/staticdocs/search-doc-1719505302032.json +0 -1
- /data/tools/staticdocs/assets/js/{main.c2e2b617.js.LICENSE.txt → main.b5390098.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunkdocs_openc3_com=self.webpackChunkdocs_openc3_com||[]).push([[9527],{5867:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>c,contentTitle:()=>l,default:()=>a,frontMatter:()=>t,metadata:()=>d,toc:()=>h});var i=n(1085),s=n(1184);const t={sidebar_position:2,title:"Plugins"},l=void 0,d={id:"configuration/plugins",title:"Plugins",description:"Introduction",source:"@site/docs/configuration/plugins.md",sourceDirName:"configuration",slug:"/configuration/plugins",permalink:"/tools/staticdocs/docs/configuration/plugins",draft:!1,unlisted:!1,editUrl:"https://github.com/OpenC3/cosmos/tree/main/docs.openc3.com/docs/configuration/plugins.md",tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2,title:"Plugins"},sidebar:"defaultSidebar",previous:{title:"File Format",permalink:"/tools/staticdocs/docs/configuration/format"},next:{title:"Targets",permalink:"/tools/staticdocs/docs/configuration/target"}},c={},h=[{value:"Introduction",id:"introduction",level:2},{value:"Concepts",id:"concepts",level:2},{value:"Target",id:"target",level:3},{value:"Interface",id:"interface",level:3},{value:"Router",id:"router",level:3},{value:"Tool",id:"tool",level:3},{value:"Microservice",id:"microservice",level:3},{value:"Plugin Directory Structure",id:"plugin-directory-structure",level:2},{value:"plugin.txt Configuration File",id:"plugintxt-configuration-file",level:2},{value:"VARIABLE",id:"variable",level:2},{value:"NEEDS_DEPENDENCIES",id:"needs_dependencies",level:2},{value:"INTERFACE",id:"interface-1",level:2},{value:"INTERFACE Modifiers",id:"interface-modifiers",level:2},{value:"MAP_TARGET",id:"map_target",level:3},{value:"MAP_CMD_TARGET",id:"map_cmd_target",level:3},{value:"MAP_TLM_TARGET",id:"map_tlm_target",level:3},{value:"DONT_CONNECT",id:"dont_connect",level:3},{value:"DONT_RECONNECT",id:"dont_reconnect",level:3},{value:"RECONNECT_DELAY",id:"reconnect_delay",level:3},{value:"DISABLE_DISCONNECT",id:"disable_disconnect",level:3},{value:"LOG_RAW",id:"log_raw",level:3},{value:"LOG_STREAM",id:"log_stream",level:3},{value:"PROTOCOL",id:"protocol",level:3},{value:"OPTION",id:"option",level:3},{value:"SECRET",id:"secret",level:3},{value:"ENV",id:"env",level:3},{value:"WORK_DIR",id:"work_dir",level:3},{value:"PORT",id:"port",level:3},{value:"CMD",id:"cmd",level:3},{value:"CONTAINER",id:"container",level:3},{value:"ROUTE_PREFIX",id:"route_prefix",level:3},{value:"ROUTER",id:"router-1",level:2},{value:"TARGET",id:"target-1",level:2},{value:"TARGET Modifiers",id:"target-modifiers",level:2},{value:"CMD_BUFFER_DEPTH",id:"cmd_buffer_depth",level:3},{value:"CMD_LOG_CYCLE_TIME",id:"cmd_log_cycle_time",level:3},{value:"CMD_LOG_CYCLE_SIZE",id:"cmd_log_cycle_size",level:3},{value:"CMD_LOG_RETAIN_TIME",id:"cmd_log_retain_time",level:3},{value:"CMD_DECOM_LOG_CYCLE_TIME",id:"cmd_decom_log_cycle_time",level:3},{value:"CMD_DECOM_LOG_CYCLE_SIZE",id:"cmd_decom_log_cycle_size",level:3},{value:"CMD_DECOM_LOG_RETAIN_TIME",id:"cmd_decom_log_retain_time",level:3},{value:"TLM_BUFFER_DEPTH",id:"tlm_buffer_depth",level:3},{value:"TLM_LOG_CYCLE_TIME",id:"tlm_log_cycle_time",level:3},{value:"TLM_LOG_CYCLE_SIZE",id:"tlm_log_cycle_size",level:3},{value:"TLM_LOG_RETAIN_TIME",id:"tlm_log_retain_time",level:3},{value:"TLM_DECOM_LOG_CYCLE_TIME",id:"tlm_decom_log_cycle_time",level:3},{value:"TLM_DECOM_LOG_CYCLE_SIZE",id:"tlm_decom_log_cycle_size",level:3},{value:"TLM_DECOM_LOG_RETAIN_TIME",id:"tlm_decom_log_retain_time",level:3},{value:"REDUCED_MINUTE_LOG_RETAIN_TIME",id:"reduced_minute_log_retain_time",level:3},{value:"REDUCED_HOUR_LOG_RETAIN_TIME",id:"reduced_hour_log_retain_time",level:3},{value:"REDUCED_DAY_LOG_RETAIN_TIME",id:"reduced_day_log_retain_time",level:3},{value:"LOG_RETAIN_TIME",id:"log_retain_time",level:3},{value:"REDUCED_LOG_RETAIN_TIME",id:"reduced_log_retain_time",level:3},{value:"CLEANUP_POLL_TIME",id:"cleanup_poll_time",level:3},{value:"REDUCER_DISABLE",id:"reducer_disable",level:3},{value:"REDUCER_MAX_CPU_UTILIZATION",id:"reducer_max_cpu_utilization",level:3},{value:"TARGET_MICROSERVICE",id:"target_microservice",level:3},{value:"PACKET",id:"packet",level:3},{value:"DISABLE_ERB",id:"disable_erb",level:3},{value:"MICROSERVICE",id:"microservice-1",level:2},{value:"MICROSERVICE Modifiers",id:"microservice-modifiers",level:2},{value:"ENV",id:"env-1",level:3},{value:"WORK_DIR",id:"work_dir-1",level:3},{value:"PORT",id:"port-1",level:3},{value:"TOPIC",id:"topic",level:3},{value:"TARGET_NAME",id:"target_name",level:3},{value:"CMD",id:"cmd-1",level:3},{value:"OPTION",id:"option-1",level:3},{value:"CONTAINER",id:"container-1",level:3},{value:"SECRET",id:"secret-1",level:3},{value:"ROUTE_PREFIX",id:"route_prefix-1",level:3},{value:"DISABLE_ERB",id:"disable_erb-1",level:3},{value:"TOOL",id:"tool-1",level:2},{value:"TOOL Modifiers",id:"tool-modifiers",level:2},{value:"URL",id:"url",level:3},{value:"INLINE_URL",id:"inline_url",level:3},{value:"WINDOW",id:"window",level:3},{value:"ICON",id:"icon",level:3},{value:"CATEGORY",id:"category",level:3},{value:"SHOWN",id:"shown",level:3},{value:"POSITION",id:"position",level:3},{value:"DISABLE_ERB",id:"disable_erb-2",level:3},{value:"WIDGET",id:"widget",level:2},{value:"WIDGET Modifiers",id:"widget-modifiers",level:2},{value:"DISABLE_ERB",id:"disable_erb-3",level:3}];function o(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,s.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.h2,{id:"introduction",children:"Introduction"}),"\n",(0,i.jsx)(r.p,{children:"This document provides the information necessary to configure a COSMOS plugin. Plugins are how you configure and extend COSMOS."}),"\n",(0,i.jsx)(r.p,{children:"Plugins are where you define targets (and their corresponding command and telemetry packet definitions), where you configure the interfaces needed to talk to targets, where you can define routers to stream raw data out of COSMOS, how you can add new tools to the COSMOS user interface, and how you can run additional microservices to provide new functionality."}),"\n",(0,i.jsx)(r.p,{children:"Each plugin is built as a Ruby gem and thus has a plugin.gemspec file which builds it. Plugins have a plugin.txt file which declares all the variables used by the plugin and how to interface to the target(s) it contains."}),"\n",(0,i.jsx)(r.h2,{id:"concepts",children:"Concepts"}),"\n",(0,i.jsx)(r.h3,{id:"target",children:"Target"}),"\n",(0,i.jsx)(r.p,{children:"Targets are the external pieces of hardware and/or software that COSMOS communicates with. These are things like Front End Processors (FEPs), ground support equipment (GSE), custom software tools, and pieces of hardware like satellites themselves. A target is anything that COSMOS can send commands to and receive telemetry from."}),"\n",(0,i.jsx)(r.h3,{id:"interface",children:"Interface"}),"\n",(0,i.jsx)(r.p,{children:"Interfaces implement the physical connection to one or more targets. They are typically ethernet connections implemented using TCP or UDP but can be other connections like serial ports. Interfaces send commands to targets and receive telemetry from targets."}),"\n",(0,i.jsx)(r.h3,{id:"router",children:"Router"}),"\n",(0,i.jsx)(r.p,{children:"Routers flow streams of telemetry packets out of COSMOS and receive streams of commands into COSMOS. The commands are forwarded by COSMOS to associated interfaces. Telemetry comes from associated interfaces."}),"\n",(0,i.jsx)(r.h3,{id:"tool",children:"Tool"}),"\n",(0,i.jsx)(r.p,{children:"COSMOS Tools are web-based applications the communicate with the COSMOS APIs to perform takes like displaying telemetry, sending commands, and running scripts."}),"\n",(0,i.jsx)(r.h3,{id:"microservice",children:"Microservice"}),"\n",(0,i.jsx)(r.p,{children:"Microservices are persistent running backend code that runs within the COSMOS environment. They can process data and perform other useful tasks."}),"\n",(0,i.jsx)(r.h2,{id:"plugin-directory-structure",children:"Plugin Directory Structure"}),"\n",(0,i.jsxs)(r.p,{children:["COSMOS plugins have a well-defined directory structure described in detail in the ",(0,i.jsx)(r.a,{href:"../getting-started/generators",children:"Code Generator"})," documentation."]}),"\n",(0,i.jsx)(r.h2,{id:"plugintxt-configuration-file",children:"plugin.txt Configuration File"}),"\n",(0,i.jsx)(r.p,{children:"A plugin.txt configuration file is required for any COSMOS plugin. It declares the contents of the plugin and provides variables that allow the plugin to be configured at the time it is initially installed or upgraded.\nThis file follows the standard COSMOS configuration file format of keywords followed by zero or more space separated parameters. The following keywords are supported by the plugin.txt config file:"}),"\n",(0,i.jsx)(r.h2,{id:"variable",children:"VARIABLE"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Define a configurable variable for the plugin"})}),"\n",(0,i.jsx)(r.p,{children:"The VARIABLE keyword defines a variable that will be requested for the user to enter during plugin installation. Variables can be used to handle details of targets that are user defined such as specific IP addresses and ports. Variables should also be used to allow users to rename targets to whatever name they want and support multiple installations of the same target with different names. Variables can be used later in plugin.txt or in any other configuration file included in a plugin using Ruby ERB syntax. The variables are assigned to accessible local variables in the file. At a high level, ERB allows you to run Ruby code in configuration files."}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Variable Name"}),(0,i.jsx)(r.td,{children:"The name of the variable"}),(0,i.jsx)(r.td,{children:"True"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Default Value"}),(0,i.jsx)(r.td,{children:"Default value of the variable"}),(0,i.jsx)(r.td,{children:"True"})]})]})]}),"\n",(0,i.jsx)(r.h2,{id:"needs_dependencies",children:"NEEDS_DEPENDENCIES"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)("div",{class:"right",children:"(Since 5.5.0)"}),(0,i.jsx)(r.strong,{children:"Indicates the plugin needs dependencies and sets the GEM_HOME environment variable"})]}),"\n",(0,i.jsx)(r.p,{children:"If the plugin has a top level lib folder or lists runtime dependencies in the gemspec, NEEDS_DEPENDENCIES is effectively already set. Note that in Enterprise Edition, having NEEDS_DEPENDENCIES adds the NFS volume mount to the Kuberentes pod."}),"\n",(0,i.jsx)(r.h2,{id:"interface-1",children:"INTERFACE"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Defines a connection to a physical target"})}),"\n",(0,i.jsx)(r.p,{children:"Interfaces are what OpenC3 uses to talk to a particular piece of hardware. Interfaces require a Ruby or Python file which implements all the interface methods necessary to talk to the hardware. OpenC3 defines many built in interfaces or you can define your own as long as it implements the interface protocol."}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Interface Name"}),(0,i.jsx)(r.td,{children:"Name of the interface. This name will appear in the Interfaces tab of the Server and is also referenced by other keywords. The OpenC3 convention is to name interfaces after their targets with '_INT' appended to the name, e.g. INST_INT for the INST target."}),(0,i.jsx)(r.td,{children:"True"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Filename"}),(0,i.jsxs)(r.td,{children:["Ruby or Python file to use when instantiating the interface.",(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),"Valid Values: ",(0,i.jsx)("span",{class:"values",children:"tcpip_client_interface, tcpip_server_interface, udp_interface, serial_interface"})]}),(0,i.jsx)(r.td,{children:"True"})]})]})]}),"\n",(0,i.jsxs)(r.p,{children:["Additional parameters are required. Please see the ",(0,i.jsx)(r.a,{href:"/tools/staticdocs/docs/configuration/interfaces",children:"Interfaces"})," documentation for more details."]}),"\n",(0,i.jsx)(r.h2,{id:"interface-modifiers",children:"INTERFACE Modifiers"}),"\n",(0,i.jsx)(r.p,{children:"The following keywords must follow a INTERFACE keyword."}),"\n",(0,i.jsx)(r.h3,{id:"map_target",children:"MAP_TARGET"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Maps a target name to an interface"})}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Target Name"}),(0,i.jsx)(r.td,{children:"Target name to map to this interface"}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.p,{children:"Ruby Example:"}),"\n",(0,i.jsx)(r.pre,{children:(0,i.jsx)(r.code,{className:"language-ruby",children:"INTERFACE DATA_INT tcpip_client_interface.rb host.docker.internal 8080 8081 10.0 nil BURST\n MAP_TARGET DATA\n"})}),"\n",(0,i.jsx)(r.p,{children:"Python Example:"}),"\n",(0,i.jsx)(r.pre,{children:(0,i.jsx)(r.code,{className:"language-python",children:"INTERFACE DATA_INT openc3/interfaces/tcpip_client_interface.py host.docker.internal 8080 8081 10.0 nil BURST\n MAP_TARGET DATA\n"})}),"\n",(0,i.jsx)(r.h3,{id:"map_cmd_target",children:"MAP_CMD_TARGET"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)("div",{class:"right",children:"(Since 5.2.0)"}),(0,i.jsx)(r.strong,{children:"Maps a target name to an interface for commands only"})]}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Target Name"}),(0,i.jsx)(r.td,{children:"Command target name to map to this interface"}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.p,{children:"Ruby Example:"}),"\n",(0,i.jsx)(r.pre,{children:(0,i.jsx)(r.code,{className:"language-ruby",children:"INTERFACE CMD_INT tcpip_client_interface.rb host.docker.internal 8080 8081 10.0 nil BURST\n MAP_CMD_TARGET DATA # Only DATA commands go on the CMD_INT interface\n"})}),"\n",(0,i.jsx)(r.p,{children:"Python Example:"}),"\n",(0,i.jsx)(r.pre,{children:(0,i.jsx)(r.code,{className:"language-python",children:"INTERFACE CMD_INT openc3/interfaces/tcpip_client_interface.py host.docker.internal 8080 8081 10.0 nil BURST\n MAP_CMD_TARGET DATA # Only DATA commands go on the CMD_INT interface\n"})}),"\n",(0,i.jsx)(r.h3,{id:"map_tlm_target",children:"MAP_TLM_TARGET"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)("div",{class:"right",children:"(Since 5.2.0)"}),(0,i.jsx)(r.strong,{children:"Maps a target name to an interface for telemetry only"})]}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Target Name"}),(0,i.jsx)(r.td,{children:"Telemetry target name to map to this interface"}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.p,{children:"Ruby Example:"}),"\n",(0,i.jsx)(r.pre,{children:(0,i.jsx)(r.code,{className:"language-ruby",children:"INTERFACE TLM_INT tcpip_client_interface.rb host.docker.internal 8080 8081 10.0 nil BURST\n MAP_TLM_TARGET DATA # Only DATA telemetry received on TLM_INT interface\n"})}),"\n",(0,i.jsx)(r.p,{children:"Python Example:"}),"\n",(0,i.jsx)(r.pre,{children:(0,i.jsx)(r.code,{className:"language-python",children:"INTERFACE TLM_INT openc3/interfaces/tcpip_client_interface.py host.docker.internal 8080 8081 10.0 nil BURST\n MAP_TLM_TARGET DATA # Only DATA telemetry received on TLM_INT interface\n"})}),"\n",(0,i.jsx)(r.h3,{id:"dont_connect",children:"DONT_CONNECT"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Server will not automatically try to connect to the interface at startup"})}),"\n",(0,i.jsx)(r.h3,{id:"dont_reconnect",children:"DONT_RECONNECT"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Server will not try to reconnect to the interface if the connection is lost"})}),"\n",(0,i.jsx)(r.h3,{id:"reconnect_delay",children:"RECONNECT_DELAY"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Reconnect delay in seconds"})}),"\n",(0,i.jsx)(r.p,{children:"If DONT_RECONNECT is not present the Server will try to reconnect to an interface if the connection is lost. Reconnect delay sets the interval in seconds between reconnect tries."}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Delay"}),(0,i.jsx)(r.td,{children:"Delay in seconds between reconnect attempts. The default is 15 seconds."}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"disable_disconnect",children:"DISABLE_DISCONNECT"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Disable the Disconnect button on the Interfaces tab in the Server"})}),"\n",(0,i.jsx)(r.p,{children:"Use this keyword to prevent the user from disconnecting from the interface. This is typically used in a 'production' environment where you would not want the user to inadvertantly disconnect from a target."}),"\n",(0,i.jsx)(r.h3,{id:"log_raw",children:"LOG_RAW"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Deprecated, use LOG_STREAM"})}),"\n",(0,i.jsx)(r.h3,{id:"log_stream",children:"LOG_STREAM"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)("div",{class:"right",children:"(Since 5.5.2)"}),(0,i.jsx)(r.strong,{children:"Log all data on the interface exactly as it is sent and received"})]}),"\n",(0,i.jsx)(r.p,{children:"LOG_STREAM does not add any OpenC3 headers and thus can not be read by OpenC3 tools. It is primarily useful for low level debugging of an interface. You will have to manually parse these logs yourself using a hex editor or other application."}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Cycle Time"}),(0,i.jsx)(r.td,{children:"Amount of time to wait before cycling the log file. Default is 10 min. If nil refer to Cycle Hour and Cycle Minute."}),(0,i.jsx)(r.td,{children:"False"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Cycle Size"}),(0,i.jsx)(r.td,{children:"Amount of data to write before cycling the log file. Default is 50MB."}),(0,i.jsx)(r.td,{children:"False"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Cycle Hour"}),(0,i.jsx)(r.td,{children:"The time at which to cycle the log. Combined with Cycle Minute to cycle the log daily at the specified time. If nil, the log will be cycled hourly at the specified Cycle Minute. Only applies if Cycle Time is nil."}),(0,i.jsx)(r.td,{children:"False"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Cycle Minute"}),(0,i.jsx)(r.td,{children:"See Cycle Hour."}),(0,i.jsx)(r.td,{children:"False"})]})]})]}),"\n",(0,i.jsx)(r.p,{children:"Example Usage:"}),"\n",(0,i.jsx)(r.pre,{children:(0,i.jsx)(r.code,{className:"language-ruby",children:"INTERFACE EXAMPLE example_interface.rb\n # Override the default log time of 600\n LOG_STREAM 60\n"})}),"\n",(0,i.jsx)(r.h3,{id:"protocol",children:"PROTOCOL"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)("div",{class:"right",children:"(Since 4.0.0)"}),(0,i.jsx)(r.strong,{children:"Protocols modify the interface by processing the data"})]}),"\n",(0,i.jsxs)(r.p,{children:["Protocols can be either READ, WRITE, or READ_WRITE. READ protocols act on the data received by the interface while write acts on the data before it is sent out. READ_WRITE applies the protocol to both reading and writing.",(0,i.jsx)("br",{}),(0,i.jsx)("br",{})," For information on creating your own custom protocol please see ",(0,i.jsx)(r.a,{href:"/tools/staticdocs/docs/configuration/protocols",children:"Protocols"})]}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Type"}),(0,i.jsxs)(r.td,{children:["Whether to apply the protocol on incoming data, outgoing data, or both",(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),"Valid Values: ",(0,i.jsx)("span",{class:"values",children:"READ, WRITE, READ_WRITE"})]}),(0,i.jsx)(r.td,{children:"True"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Protocol Filename or Classname"}),(0,i.jsx)(r.td,{children:"Ruby or Python filename or class name which implements the protocol"}),(0,i.jsx)(r.td,{children:"True"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Protocol specific parameters"}),(0,i.jsx)(r.td,{children:"Additional parameters used by the protocol"}),(0,i.jsx)(r.td,{children:"False"})]})]})]}),"\n",(0,i.jsx)(r.p,{children:"Ruby Example:"}),"\n",(0,i.jsx)(r.pre,{children:(0,i.jsx)(r.code,{className:"language-ruby",children:"INTERFACE DATA_INT tcpip_client_interface.rb host.docker.internal 8080 8081 10.0 nil nil\n MAP_TARGET DATA\n # Rather than defining the LENGTH protocol on the INTERFACE line we define it here\n PROTOCOL READ LengthProtocol 0 16 0 1 BIG_ENDIAN 4 0xBA5EBA11\n"})}),"\n",(0,i.jsx)(r.p,{children:"Python Example:"}),"\n",(0,i.jsx)(r.pre,{children:(0,i.jsx)(r.code,{className:"language-python",children:"INTERFACE DATA_INT openc3/interfaces/tcpip_client_interface.py host.docker.internal 8080 8081 10.0 nil BURST\n MAP_TARGET DATA\n PROTOCOL READ IgnorePacketProtocol INST IMAGE # Drop all INST IMAGE packets\n"})}),"\n",(0,i.jsx)(r.h3,{id:"option",children:"OPTION"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Set a parameter on an interface"})}),"\n",(0,i.jsx)(r.p,{children:"When an option is set the interface class calls the set_option method. Custom interfaces can override set_option to handle any additional options they want."}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Name"}),(0,i.jsx)(r.td,{children:"The option to set. OpenC3 defines several options on the core provided interfaces. The SerialInterface defines FLOW_CONTROL which can be NONE (default) or RTSCTS and DATA_BITS which changes the data bits of the serial interface. The TcpipServerInterface and HttpServerInterface define LISTEN_ADDRESS which is the IP address to accept connections on (default 0.0.0.0)."}),(0,i.jsx)(r.td,{children:"True"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Parameters"}),(0,i.jsx)(r.td,{children:"Parameters to pass to the option"}),(0,i.jsx)(r.td,{children:"False"})]})]})]}),"\n",(0,i.jsx)(r.p,{children:"Example Usage:"}),"\n",(0,i.jsx)(r.pre,{children:(0,i.jsx)(r.code,{className:"language-ruby",children:"INTERFACE SERIAL_INT serial_interface.rb COM1 COM1 115200 NONE 1 10.0 nil\n OPTION FLOW_CONTROL RTSCTS\n OPTION DATA_BITS 8\nROUTER SERIAL_ROUTER tcpip_server_interface.rb 2950 2950 10.0 nil BURST\n ROUTE SERIAL_INT\n OPTION LISTEN_ADDRESS 127.0.0.1\n"})}),"\n",(0,i.jsx)(r.h3,{id:"secret",children:"SECRET"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)("div",{class:"right",children:"(Since 5.3.0)"}),(0,i.jsx)(r.strong,{children:"Define a secret needed by this interface"})]}),"\n",(0,i.jsx)(r.p,{children:"Defines a secret for this interface and optionally assigns its value to an option"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Type"}),(0,i.jsx)(r.td,{children:"ENV or FILE. ENV will mount the secret into an environment variable. FILE mounts the secret into a file."}),(0,i.jsx)(r.td,{children:"True"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Secret Name"}),(0,i.jsx)(r.td,{children:"The name of the secret to retrieve"}),(0,i.jsx)(r.td,{children:"True"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Environment Variable or File Path"}),(0,i.jsx)(r.td,{children:"Environment variable name or file path to store secret"}),(0,i.jsx)(r.td,{children:"True"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Option Name"}),(0,i.jsx)(r.td,{children:"Interface option to pass the secret value"}),(0,i.jsx)(r.td,{children:"False"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Secret Store Name"}),(0,i.jsx)(r.td,{children:"Name of the secret store for stores with multipart keys"}),(0,i.jsx)(r.td,{children:"False"})]})]})]}),"\n",(0,i.jsx)(r.p,{children:"Example Usage:"}),"\n",(0,i.jsx)(r.pre,{children:(0,i.jsx)(r.code,{className:"language-ruby",children:'SECRET ENV USERNAME ENV_USERNAME USERNAME\nSECRET FILE KEY "/tmp/DATA/cert" KEY\n'})}),"\n",(0,i.jsx)(r.h3,{id:"env",children:"ENV"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)("div",{class:"right",children:"(Since 5.7.0)"}),(0,i.jsx)(r.strong,{children:"Sets an environment variable in the microservice."})]}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Key"}),(0,i.jsx)(r.td,{children:"Environment variable name"}),(0,i.jsx)(r.td,{children:"True"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Value"}),(0,i.jsx)(r.td,{children:"Environment variable value"}),(0,i.jsx)(r.td,{children:"True"})]})]})]}),"\n",(0,i.jsx)(r.p,{children:"Example Usage:"}),"\n",(0,i.jsx)(r.pre,{children:(0,i.jsx)(r.code,{className:"language-ruby",children:"ENV COMPANY OpenC3\n"})}),"\n",(0,i.jsx)(r.h3,{id:"work_dir",children:"WORK_DIR"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)("div",{class:"right",children:"(Since 5.7.0)"}),(0,i.jsx)(r.strong,{children:"Set the working directory"})]}),"\n",(0,i.jsx)(r.p,{children:"Working directory to run the microservice CMD in. Can be a path relative to the microservice folder in the plugin, or an absolute path in the container the microservice runs in."}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Directory"}),(0,i.jsx)(r.td,{children:"Working directory to run the microservice CMD in. Can be a path relative to the microservice folder in the plugin, or an absolute path in the container the microservice runs in."}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.p,{children:"Example Usage:"}),"\n",(0,i.jsx)(r.pre,{children:(0,i.jsx)(r.code,{className:"language-ruby",children:"WORK_DIR '/openc3/lib/openc3/microservices'\n"})}),"\n",(0,i.jsx)(r.h3,{id:"port",children:"PORT"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)("div",{class:"right",children:"(Since 5.7.0)"}),(0,i.jsx)(r.strong,{children:"Open port for the microservice"})]}),"\n",(0,i.jsx)(r.p,{children:"Kubernetes needs a Service to be applied to open a port so this is required for Kubernetes support"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Number"}),(0,i.jsx)(r.td,{children:"Port number"}),(0,i.jsx)(r.td,{children:"True"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Protocol"}),(0,i.jsx)(r.td,{children:"Port protocol. Default is TCP."}),(0,i.jsx)(r.td,{children:"False"})]})]})]}),"\n",(0,i.jsx)(r.p,{children:"Example Usage:"}),"\n",(0,i.jsx)(r.pre,{children:(0,i.jsx)(r.code,{className:"language-ruby",children:"PORT 7272\n"})}),"\n",(0,i.jsx)(r.h3,{id:"cmd",children:"CMD"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)("div",{class:"right",children:"(Since 5.7.0)"}),(0,i.jsx)(r.strong,{children:"Command line to execute to run the microservice."})]}),"\n",(0,i.jsx)(r.p,{children:"Command line to execute to run the microservice."}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Args"}),(0,i.jsx)(r.td,{children:"One or more arguments to exec to run the microservice."}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.p,{children:"Ruby Example:"}),"\n",(0,i.jsx)(r.pre,{children:(0,i.jsx)(r.code,{className:"language-ruby",children:"CMD ruby interface_microservice.rb DEFAULT__INTERFACE__INT1\n"})}),"\n",(0,i.jsx)(r.p,{children:"Python Example:"}),"\n",(0,i.jsx)(r.pre,{children:(0,i.jsx)(r.code,{className:"language-python",children:"CMD python interface_microservice.py DEFAULT__INTERFACE__INT1\n"})}),"\n",(0,i.jsx)(r.h3,{id:"container",children:"CONTAINER"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)("div",{class:"right",children:"(Since 5.7.0)"}),(0,i.jsx)(r.strong,{children:"Docker Container"})]}),"\n",(0,i.jsx)(r.p,{children:"Container to execute and run the microservice in. Only used in COSMOS Enterprise Edition."}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Args"}),(0,i.jsx)(r.td,{children:"Name of the container"}),(0,i.jsx)(r.td,{children:"False"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"route_prefix",children:"ROUTE_PREFIX"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)("div",{class:"right",children:"(Since 5.7.0)"}),(0,i.jsx)(r.strong,{children:"Prefix of route"})]}),"\n",(0,i.jsx)(r.p,{children:"Prefix of route to the microservice to expose externally with Traefik"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Route Prefix"}),(0,i.jsx)(r.td,{children:"Route prefix. Must be unique across all scopes. Something like /myprefix"}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.p,{children:"Example Usage:"}),"\n",(0,i.jsx)(r.pre,{children:(0,i.jsx)(r.code,{className:"language-ruby",children:"ROUTE_PREFIX /interface\n"})}),"\n",(0,i.jsx)(r.h2,{id:"router-1",children:"ROUTER"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Create router to receive commands and output telemetry packets from one or more interfaces"})}),"\n",(0,i.jsx)(r.p,{children:"Creates an router which receives command packets from their remote clients and sends them to associated interfaces. They receive telemetry packets from their interfaces and send them to their remote clients. This allows routers to be intermediaries between an external client and an actual device."}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Name"}),(0,i.jsx)(r.td,{children:"Name of the router"}),(0,i.jsx)(r.td,{children:"True"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Filename"}),(0,i.jsxs)(r.td,{children:["Ruby or Python file to use when instantiating the interface.",(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),"Valid Values: ",(0,i.jsx)("span",{class:"values",children:"tcpip_client_interface, tcpip_server_interface, udp_interface, serial_interface"})]}),(0,i.jsx)(r.td,{children:"True"})]})]})]}),"\n",(0,i.jsxs)(r.p,{children:["Additional parameters are required. Please see the ",(0,i.jsx)(r.a,{href:"/tools/staticdocs/docs/configuration/interfaces",children:"Interfaces"})," documentation for more details."]}),"\n",(0,i.jsx)(r.h2,{id:"target-1",children:"TARGET"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Defines a new target"})}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Folder Name"}),(0,i.jsx)(r.td,{children:"The target folder"}),(0,i.jsx)(r.td,{children:"True"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Name"}),(0,i.jsx)(r.td,{children:"The target name. While this is almost always the same as Folder Name it can be different to create multiple targets based on the same target folder."}),(0,i.jsx)(r.td,{children:"True"})]})]})]}),"\n",(0,i.jsx)(r.p,{children:"Example Usage:"}),"\n",(0,i.jsx)(r.pre,{children:(0,i.jsx)(r.code,{className:"language-ruby",children:"TARGET INST INST\n"})}),"\n",(0,i.jsx)(r.h2,{id:"target-modifiers",children:"TARGET Modifiers"}),"\n",(0,i.jsx)(r.p,{children:"The following keywords must follow a TARGET keyword."}),"\n",(0,i.jsx)(r.h3,{id:"cmd_buffer_depth",children:"CMD_BUFFER_DEPTH"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)("div",{class:"right",children:"(Since 5.2.0)"}),(0,i.jsx)(r.strong,{children:"Number of commands to buffer to ensure logged in order"})]}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Buffer Depth"}),(0,i.jsx)(r.td,{children:"Buffer depth in packets (Default = 5)"}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"cmd_log_cycle_time",children:"CMD_LOG_CYCLE_TIME"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Command binary logs can be cycled on a time interval."})}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Time"}),(0,i.jsx)(r.td,{children:"Maximum time between files in seconds (default = 600)"}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"cmd_log_cycle_size",children:"CMD_LOG_CYCLE_SIZE"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Command binary logs can be cycled after a certain log file size is reached."})}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Size"}),(0,i.jsx)(r.td,{children:"Maximum file size in bytes (default = 50_000_000)"}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"cmd_log_retain_time",children:"CMD_LOG_RETAIN_TIME"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"How long to keep raw command logs in seconds."})}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Time"}),(0,i.jsx)(r.td,{children:"Number of seconds to keep raw command logs (default = nil = Forever)"}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"cmd_decom_log_cycle_time",children:"CMD_DECOM_LOG_CYCLE_TIME"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Command decommutation logs can be cycled on a time interval."})}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Time"}),(0,i.jsx)(r.td,{children:"Maximum time between files in seconds (default = 600)"}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"cmd_decom_log_cycle_size",children:"CMD_DECOM_LOG_CYCLE_SIZE"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Command decommutation logs can be cycled after a certain log file size is reached."})}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Size"}),(0,i.jsx)(r.td,{children:"Maximum file size in bytes (default = 50_000_000)"}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"cmd_decom_log_retain_time",children:"CMD_DECOM_LOG_RETAIN_TIME"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"How long to keep decom command logs in seconds."})}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Time"}),(0,i.jsx)(r.td,{children:"Number of seconds to keep decom command logs (default = nil = Forever)"}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"tlm_buffer_depth",children:"TLM_BUFFER_DEPTH"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)("div",{class:"right",children:"(Since 5.2.0)"}),(0,i.jsx)(r.strong,{children:"Number of telemetry packets to buffer to ensure logged in order"})]}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Buffer Depth"}),(0,i.jsx)(r.td,{children:"Buffer depth in packets (Default = 60)"}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"tlm_log_cycle_time",children:"TLM_LOG_CYCLE_TIME"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Telemetry binary logs can be cycled on a time interval."})}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Time"}),(0,i.jsx)(r.td,{children:"Maximum time between files in seconds (default = 600)"}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"tlm_log_cycle_size",children:"TLM_LOG_CYCLE_SIZE"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Telemetry binary logs can be cycled after a certain log file size is reached."})}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Size"}),(0,i.jsx)(r.td,{children:"Maximum file size in bytes (default = 50_000_000)"}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"tlm_log_retain_time",children:"TLM_LOG_RETAIN_TIME"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"How long to keep raw telemetry logs in seconds."})}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Time"}),(0,i.jsx)(r.td,{children:"Number of seconds to keep raw telemetry logs (default = nil = Forever)"}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"tlm_decom_log_cycle_time",children:"TLM_DECOM_LOG_CYCLE_TIME"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Telemetry decommutation logs can be cycled on a time interval."})}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Time"}),(0,i.jsx)(r.td,{children:"Maximum time between files in seconds (default = 600)"}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"tlm_decom_log_cycle_size",children:"TLM_DECOM_LOG_CYCLE_SIZE"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Telemetry decommutation logs can be cycled after a certain log file size is reached."})}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Size"}),(0,i.jsx)(r.td,{children:"Maximum file size in bytes (default = 50_000_000)"}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"tlm_decom_log_retain_time",children:"TLM_DECOM_LOG_RETAIN_TIME"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"How long to keep decom telemetry logs in seconds."})}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Time"}),(0,i.jsx)(r.td,{children:"Number of seconds to keep decom telemetry logs (default = nil = Forever)"}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"reduced_minute_log_retain_time",children:"REDUCED_MINUTE_LOG_RETAIN_TIME"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"How long to keep reduced minute telemetry logs in seconds."})}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Time"}),(0,i.jsx)(r.td,{children:"Number of seconds to keep reduced minute telemetry logs (default = nil = Forever)"}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"reduced_hour_log_retain_time",children:"REDUCED_HOUR_LOG_RETAIN_TIME"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"How long to keep reduced hour telemetry logs in seconds."})}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Time"}),(0,i.jsx)(r.td,{children:"Number of seconds to keep reduced hour telemetry logs (default = nil = Forever)"}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"reduced_day_log_retain_time",children:"REDUCED_DAY_LOG_RETAIN_TIME"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"How long to keep reduced day telemetry logs in seconds."})}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Time"}),(0,i.jsx)(r.td,{children:"Number of seconds to keep reduced day telemetry logs (default = nil = Forever)"}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"log_retain_time",children:"LOG_RETAIN_TIME"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"How long to keep all regular telemetry logs in seconds."})}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Time"}),(0,i.jsx)(r.td,{children:"Number of seconds to keep all regular telemetry logs (default = nil = Forever)"}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"reduced_log_retain_time",children:"REDUCED_LOG_RETAIN_TIME"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"How long to keep all reduced telemetry logs in seconds."})}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Time"}),(0,i.jsx)(r.td,{children:"Number of seconds to keep all reduced telemetry logs (default = nil = Forever)"}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"cleanup_poll_time",children:"CLEANUP_POLL_TIME"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Period at which to run the cleanup process."})}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Time"}),(0,i.jsx)(r.td,{children:"Number of seconds between runs of the cleanup process (default = 900 = 15 minutes)"}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"reducer_disable",children:"REDUCER_DISABLE"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Disables the data reduction microservice for the target"})}),"\n",(0,i.jsx)(r.h3,{id:"reducer_max_cpu_utilization",children:"REDUCER_MAX_CPU_UTILIZATION"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Maximum amount of CPU utilization to apply to data reduction"})}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Percentage"}),(0,i.jsx)(r.td,{children:"0 to 100 percent (default = 30)"}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"target_microservice",children:"TARGET_MICROSERVICE"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)("div",{class:"right",children:"(Since 5.2.0)"}),(0,i.jsx)(r.strong,{children:"Breaks a target microservice out into its own process."})]}),"\n",(0,i.jsx)(r.p,{children:"Can be used to give more resources to processing that is falling behind. If defined multiple times for the same type, will create multiple processes. Each process can be given specific packets to process with the PACKET keyword."}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Type"}),(0,i.jsx)(r.td,{children:"The target microservice type. Must be one of DECOM, COMMANDLOG, DECOMCMDLOG, PACKETLOG, DECOMLOG, REDUCER, or CLEANUP"}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"packet",children:"PACKET"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)("div",{class:"right",children:"(Since 5.2.0)"}),(0,i.jsx)(r.strong,{children:"Packet Name to allocate to the current TARGET_MICROSERVICE."})]}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Packet Name"}),(0,i.jsx)(r.td,{children:"The packet name. Does not apply to REDUCER or CLEANUP target microservice types."}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"disable_erb",children:"DISABLE_ERB"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)("div",{class:"right",children:"(Since 5.12.0)"}),(0,i.jsx)(r.strong,{children:"Disable ERB processing"})]}),"\n",(0,i.jsx)(r.p,{children:"Disable ERB processing for the entire target or a set of regular expressions over its filenames"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Regex"}),(0,i.jsx)(r.td,{children:"Regex to match against filenames. If match, then no ERB processing"}),(0,i.jsx)(r.td,{children:"False"})]})})]}),"\n",(0,i.jsx)(r.h2,{id:"microservice-1",children:"MICROSERVICE"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Defines a new microservice"})}),"\n",(0,i.jsx)(r.p,{children:"Defines a microservice that the plugin adds to the OpenC3 system. Microservices are background software processes that perform persistent processing."}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Microservice Folder Name"}),(0,i.jsx)(r.td,{children:"The exact name of the microservice folder in the plugin. ie. microservices/MicroserviceFolderName"}),(0,i.jsx)(r.td,{children:"True"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Microservice Name"}),(0,i.jsx)(r.td,{children:"The specific name of this instance of the microservice in the OpenC3 system"}),(0,i.jsx)(r.td,{children:"True"})]})]})]}),"\n",(0,i.jsx)(r.p,{children:"Example Usage:"}),"\n",(0,i.jsx)(r.pre,{children:(0,i.jsx)(r.code,{className:"language-ruby",children:"MICROSERVICE EXAMPLE openc3-example\n"})}),"\n",(0,i.jsx)(r.h2,{id:"microservice-modifiers",children:"MICROSERVICE Modifiers"}),"\n",(0,i.jsx)(r.p,{children:"The following keywords must follow a MICROSERVICE keyword."}),"\n",(0,i.jsx)(r.h3,{id:"env-1",children:"ENV"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Sets an environment variable in the microservice."})}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Key"}),(0,i.jsx)(r.td,{children:"Environment variable name"}),(0,i.jsx)(r.td,{children:"True"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Value"}),(0,i.jsx)(r.td,{children:"Environment variable value"}),(0,i.jsx)(r.td,{children:"True"})]})]})]}),"\n",(0,i.jsx)(r.p,{children:"Example Usage:"}),"\n",(0,i.jsx)(r.pre,{children:(0,i.jsx)(r.code,{className:"language-ruby",children:"MICROSERVICE EXAMPLE openc3-example\n ENV COMPANY OpenC3\n"})}),"\n",(0,i.jsx)(r.h3,{id:"work_dir-1",children:"WORK_DIR"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Set the working directory"})}),"\n",(0,i.jsx)(r.p,{children:"Working directory to run the microservice CMD in. Can be a path relative to the microservice folder in the plugin, or an absolute path in the container the microservice runs in."}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Directory"}),(0,i.jsx)(r.td,{children:"Working directory to run the microservice CMD in. Can be a path relative to the microservice folder in the plugin, or an absolute path in the container the microservice runs in."}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.p,{children:"Example Usage:"}),"\n",(0,i.jsx)(r.pre,{children:(0,i.jsx)(r.code,{className:"language-ruby",children:"MICROSERVICE EXAMPLE openc3-example\n WORK_DIR .\n"})}),"\n",(0,i.jsx)(r.h3,{id:"port-1",children:"PORT"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)("div",{class:"right",children:"(Since 5.0.10)"}),(0,i.jsx)(r.strong,{children:"Open port for the microservice"})]}),"\n",(0,i.jsx)(r.p,{children:"Kubernetes needs a Service to be applied to open a port so this is required for Kubernetes support"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Number"}),(0,i.jsx)(r.td,{children:"Port number"}),(0,i.jsx)(r.td,{children:"True"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Protocol"}),(0,i.jsx)(r.td,{children:"Port protocol. Default is TCP."}),(0,i.jsx)(r.td,{children:"False"})]})]})]}),"\n",(0,i.jsx)(r.p,{children:"Example Usage:"}),"\n",(0,i.jsx)(r.pre,{children:(0,i.jsx)(r.code,{className:"language-ruby",children:"MICROSERVICE EXAMPLE openc3-example\n PORT 7272\n"})}),"\n",(0,i.jsx)(r.h3,{id:"topic",children:"TOPIC"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Associate a Redis topic"})}),"\n",(0,i.jsx)(r.p,{children:"Redis topic to associate with this microservice. Standard OpenC3 microservices such as decom_microservice use this information to know what packet streams to subscribe to. The TOPIC keyword can be used as many times as necessary to associate all needed topics."}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Topic Name"}),(0,i.jsx)(r.td,{children:"Redis Topic to associate with the microservice"}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.p,{children:"Example Usage:"}),"\n",(0,i.jsx)(r.pre,{children:(0,i.jsx)(r.code,{className:"language-ruby",children:"MICROSERVICE EXAMPLE openc3-example\n # Manually assigning topics is an advanced topic and requires\n # intimate knowledge of the internal COSMOS data structures.\n TOPIC DEFAULT__openc3_log_messages\n TOPIC DEFAULT__TELEMETRY__EXAMPLE__STATUS\n"})}),"\n",(0,i.jsx)(r.h3,{id:"target_name",children:"TARGET_NAME"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Associate a OpenC3 target"})}),"\n",(0,i.jsx)(r.p,{children:"OpenC3 target to associate with the microservice. For standard OpenC3 microservices such as decom_microservice this causes the target configuration to get loaded into the container for the microservice."}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Target Name"}),(0,i.jsx)(r.td,{children:"OpenC3 target to associate with the microservice"}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.p,{children:"Example Usage:"}),"\n",(0,i.jsx)(r.pre,{children:(0,i.jsx)(r.code,{className:"language-ruby",children:"MICROSERVICE EXAMPLE openc3-example\n TARGET_NAME EXAMPLE\n"})}),"\n",(0,i.jsx)(r.h3,{id:"cmd-1",children:"CMD"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Command line to execute to run the microservice."})}),"\n",(0,i.jsx)(r.p,{children:"Command line to execute to run the microservice."}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Args"}),(0,i.jsx)(r.td,{children:"One or more arguments to exec to run the microservice."}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.p,{children:"Ruby Example:"}),"\n",(0,i.jsx)(r.pre,{children:(0,i.jsx)(r.code,{className:"language-ruby",children:"MICROSERVICE EXAMPLE openc3-example\n CMD ruby example_target.rb\n"})}),"\n",(0,i.jsx)(r.p,{children:"Python Example:"}),"\n",(0,i.jsx)(r.pre,{children:(0,i.jsx)(r.code,{className:"language-python",children:"MICROSERVICE EXAMPLE openc3-example\n CMD python example_target.py\n"})}),"\n",(0,i.jsx)(r.h3,{id:"option-1",children:"OPTION"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Pass an option to the microservice"})}),"\n",(0,i.jsx)(r.p,{children:"Generic key/value(s) options to pass to the microservice. These take the form of KEYWORD/PARAMS like a line in a OpenC3 configuration file. Multiple OPTION keywords can be used to pass multiple options to the microservice."}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Option Name"}),(0,i.jsx)(r.td,{children:"Name of the option"}),(0,i.jsx)(r.td,{children:"True"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Option Value(s)"}),(0,i.jsx)(r.td,{children:"One or more values to associate with the option"}),(0,i.jsx)(r.td,{children:"True"})]})]})]}),"\n",(0,i.jsx)(r.h3,{id:"container-1",children:"CONTAINER"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Docker Container"})}),"\n",(0,i.jsx)(r.p,{children:"Container to execute and run the microservice in. Only used in COSMOS Enterprise Edition."}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Args"}),(0,i.jsx)(r.td,{children:"Name of the container"}),(0,i.jsx)(r.td,{children:"False"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"secret-1",children:"SECRET"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)("div",{class:"right",children:"(Since 5.3.0)"}),(0,i.jsx)(r.strong,{children:"Define a secret needed by this microservice"})]}),"\n",(0,i.jsx)(r.p,{children:"Defines a secret for this microservice"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Type"}),(0,i.jsx)(r.td,{children:"ENV or FILE. ENV will mount the secret into an environment variable. FILE mounts the secret into a file."}),(0,i.jsx)(r.td,{children:"True"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Secret Name"}),(0,i.jsx)(r.td,{children:"The name of the secret to retrieve"}),(0,i.jsx)(r.td,{children:"True"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Environment Variable or File Path"}),(0,i.jsx)(r.td,{children:"Environment variable name or file path to store secret"}),(0,i.jsx)(r.td,{children:"True"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Secret Store Name"}),(0,i.jsx)(r.td,{children:"Name of the secret store for stores with multipart keys"}),(0,i.jsx)(r.td,{children:"False"})]})]})]}),"\n",(0,i.jsx)(r.p,{children:"Example Usage:"}),"\n",(0,i.jsx)(r.pre,{children:(0,i.jsx)(r.code,{className:"language-ruby",children:'SECRET ENV USERNAME ENV_USERNAME\nSECRET FILE KEY "/tmp/DATA/cert"\n'})}),"\n",(0,i.jsx)(r.h3,{id:"route_prefix-1",children:"ROUTE_PREFIX"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)("div",{class:"right",children:"(Since 5.5.0)"}),(0,i.jsx)(r.strong,{children:"Prefix of route"})]}),"\n",(0,i.jsx)(r.p,{children:"Prefix of route to the microservice to expose externally with Traefik"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Route Prefix"}),(0,i.jsx)(r.td,{children:"Route prefix. Must be unique across all scopes. Something like /myprefix"}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.p,{children:"Example Usage:"}),"\n",(0,i.jsx)(r.pre,{children:(0,i.jsx)(r.code,{className:"language-ruby",children:"MICROSERVICE CFDP CFDP\n ROUTE_PREFIX /cfdp\n"})}),"\n",(0,i.jsx)(r.h3,{id:"disable_erb-1",children:"DISABLE_ERB"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)("div",{class:"right",children:"(Since 5.12.0)"}),(0,i.jsx)(r.strong,{children:"Disable ERB processing"})]}),"\n",(0,i.jsx)(r.p,{children:"Disable ERB processing for the entire microservice or a set of regular expressions over its filenames"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Regex"}),(0,i.jsx)(r.td,{children:"Regex to match against filenames. If match, then no ERB processing"}),(0,i.jsx)(r.td,{children:"False"})]})})]}),"\n",(0,i.jsx)(r.h2,{id:"tool-1",children:"TOOL"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Define a tool"})}),"\n",(0,i.jsx)(r.p,{children:"Defines a tool that the plugin adds to the OpenC3 system. Tools are web based applications that make use of the Single-SPA javascript library that allows them to by dynamically added to the running system as independent frontend microservices."}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Tool Folder Name"}),(0,i.jsx)(r.td,{children:"The exact name of the tool folder in the plugin. ie. tools/ToolFolderName"}),(0,i.jsx)(r.td,{children:"True"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Tool Name"}),(0,i.jsx)(r.td,{children:"Name of the tool that is displayed in the OpenC3 Navigation menu"}),(0,i.jsx)(r.td,{children:"True"})]})]})]}),"\n",(0,i.jsx)(r.p,{children:"Example Usage:"}),"\n",(0,i.jsx)(r.pre,{children:(0,i.jsx)(r.code,{className:"language-ruby",children:"TOOL DEMO Demo\n"})}),"\n",(0,i.jsx)(r.h2,{id:"tool-modifiers",children:"TOOL Modifiers"}),"\n",(0,i.jsx)(r.p,{children:"The following keywords must follow a TOOL keyword."}),"\n",(0,i.jsx)(r.h3,{id:"url",children:"URL"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Url used to access the tool"})}),"\n",(0,i.jsx)(r.p,{children:'The relative url used to access the tool. Defaults to "/tools/ToolFolderName".'}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Url"}),(0,i.jsx)(r.td,{children:"The url. If not given defaults to tools/ToolFolderName. Generally should not be given unless linking to external tools."}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"inline_url",children:"INLINE_URL"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Internal url to load a tool"})}),"\n",(0,i.jsx)(r.p,{children:'The url of the javascript file used to load the tool into single-SPA. Defaults to "js/app.js".'}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Url"}),(0,i.jsx)(r.td,{children:"The inline url. If not given defaults to js/app.js. Generally should not be given unless using a non-standard filename."}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"window",children:"WINDOW"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"How to display the tool when navigated to"})}),"\n",(0,i.jsx)(r.p,{children:"The window mode used to display the tool. INLINE opens the tool internally without refreshing the page using the Single-SPA framework. IFRAME opens external tools in an Iframe within OpenC3. NEW opens the tool in a new TAB."}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Window Mode"}),(0,i.jsxs)(r.td,{children:["Tool display mode",(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),"Valid Values: ",(0,i.jsx)("span",{class:"values",children:"INLINE, IFRAME, NEW"})]}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"icon",children:"ICON"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Set tool icon"})}),"\n",(0,i.jsx)(r.p,{children:"Icon shown next to the tool name in the OpenC3 navigation menu."}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Icon Name"}),(0,i.jsxs)(r.td,{children:["Icon to display next to the tool name. Icons come from Font Awesome, Material Design (",(0,i.jsx)(r.a,{href:"https://materialdesignicons.com/",children:"https://materialdesignicons.com/"}),"), and Astro."]}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"category",children:"CATEGORY"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Category for the tool"})}),"\n",(0,i.jsx)(r.p,{children:"Associates the tool with a category which becomes a submenu in the Navigation menu."}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Category Name"}),(0,i.jsx)(r.td,{children:"Category to associate the tool with"}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"shown",children:"SHOWN"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Show the tool or not"})}),"\n",(0,i.jsx)(r.p,{children:"Whether or not the tool is shown in the Navigation menu. Should generally be true, except for the openc3 base tool."}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Shown"}),(0,i.jsxs)(r.td,{children:["Whether or not the tool is shown. TRUE or FALSE",(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),"Valid Values: ",(0,i.jsx)("span",{class:"values",children:"true, false"})]}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"position",children:"POSITION"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)("div",{class:"right",children:"(Since 5.0.8)"}),(0,i.jsx)(r.strong,{children:"Position of the tool in the nav bar"})]}),"\n",(0,i.jsx)(r.p,{children:"Position of the tool as an integer starting at 1. Tools without a position are appended to the end as they are installed."}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Position"}),(0,i.jsx)(r.td,{children:"Numerical position"}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.h3,{id:"disable_erb-2",children:"DISABLE_ERB"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)("div",{class:"right",children:"(Since 5.12.0)"}),(0,i.jsx)(r.strong,{children:"Disable ERB processing"})]}),"\n",(0,i.jsx)(r.p,{children:"Disable ERB processing for the entire tool or a set of regular expressions over its filenames"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Regex"}),(0,i.jsx)(r.td,{children:"Regex to match against filenames. If match, then no ERB processing"}),(0,i.jsx)(r.td,{children:"False"})]})})]}),"\n",(0,i.jsx)(r.h2,{id:"widget",children:"WIDGET"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:"Define a custom widget"})}),"\n",(0,i.jsx)(r.p,{children:"Defines a custom widget that can be used in Telemetry Viewer screens."}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Widget Name"}),(0,i.jsxs)(r.td,{children:["The name of the widget wil be used to build a path to the widget implementation. For example, ",(0,i.jsx)(r.code,{children:"WIDGET HELLOWORLD"})," will find the as-built file tools/widgets/HelloworldWidget/HelloworldWidget.umd.min.js. See the ",(0,i.jsx)(r.a,{href:"/tools/staticdocs/docs/guides/custom-widgets",children:"Custom Widgets"})," guide for more details."]}),(0,i.jsx)(r.td,{children:"True"})]})})]}),"\n",(0,i.jsx)(r.p,{children:"Example Usage:"}),"\n",(0,i.jsx)(r.pre,{children:(0,i.jsx)(r.code,{className:"language-ruby",children:"WIDGET HELLOWORLD\n"})}),"\n",(0,i.jsx)(r.h2,{id:"widget-modifiers",children:"WIDGET Modifiers"}),"\n",(0,i.jsx)(r.p,{children:"The following keywords must follow a WIDGET keyword."}),"\n",(0,i.jsx)(r.h3,{id:"disable_erb-3",children:"DISABLE_ERB"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)("div",{class:"right",children:"(Since 5.12.0)"}),(0,i.jsx)(r.strong,{children:"Disable ERB processing"})]}),"\n",(0,i.jsx)(r.p,{children:"Disable ERB processing for the entire widget or a set of regular expressions over its filenames"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Parameter"}),(0,i.jsx)(r.th,{children:"Description"}),(0,i.jsx)(r.th,{children:"Required"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Regex"}),(0,i.jsx)(r.td,{children:"Regex to match against filenames. If match, then no ERB processing"}),(0,i.jsx)(r.td,{children:"False"})]})})]})]})}function a(e={}){const{wrapper:r}={...(0,s.R)(),...e.components};return r?(0,i.jsx)(r,{...e,children:(0,i.jsx)(o,{...e})}):o(e)}},1184:(e,r,n)=>{n.d(r,{R:()=>l,x:()=>d});var i=n(4041);const s={},t=i.createContext(s);function l(e){const r=i.useContext(t);return i.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function d(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:l(e.components),i.createElement(t.Provider,{value:r},e.children)}}}]);
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";(self.webpackChunkdocs_openc3_com=self.webpackChunkdocs_openc3_com||[]).push([[4875],{4757:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>c,default:()=>h,frontMatter:()=>s,metadata:()=>o,toc:()=>l});var i=n(1085),r=n(1184);const s={sidebar_position:10,title:"SSL-TLS"},c=void 0,o={id:"configuration/ssl-tls",title:"SSL-TLS",description:"COSMOS 5 is a container based service which does not use SSL/TLS out of the box. This guide will help you configure SSL and TLS. Learn more at the Traefik docs.",source:"@site/docs/configuration/ssl-tls.md",sourceDirName:"configuration",slug:"/configuration/ssl-tls",permalink:"/tools/staticdocs/docs/configuration/ssl-tls",draft:!1,unlisted:!1,editUrl:"https://github.com/OpenC3/cosmos/tree/main/docs.openc3.com/docs/configuration/ssl-tls.md",tags:[],version:"current",sidebarPosition:10,frontMatter:{sidebar_position:10,title:"SSL-TLS"},sidebar:"defaultSidebar",previous:{title:"Screens",permalink:"/tools/staticdocs/docs/configuration/telemetry-screens"},next:{title:"Tools",permalink:"/tools/staticdocs/docs/tools"}},a={},l=[{value:"Generate the certificate",id:"generate-the-certificate",level:3},{value:"Updating the openc3-traefik Dockerfile",id:"updating-the-openc3-traefik-dockerfile",level:3},{value:"Updating the Traefik config",id:"updating-the-traefik-config",level:3},{value:"Update docker-compose.yaml",id:"update-docker-composeyaml",level:3},{value:"Let's Encrypt",id:"lets-encrypt",level:2},{value:"KEY",id:"key",level:4},{value:"CRT",id:"crt",level:4},{value:"CRT/KEY Bundle",id:"crtkey-bundle",level:4},{value:"cert.pem",id:"certpem",level:4},{value:"chain.pem",id:"chainpem",level:4},{value:"Checking certs",id:"checking-certs",level:3},{value:"Extracting the certificate and keys from a .pfx file",id:"extracting-the-certificate-and-keys-from-a-pfx-file",level:2},{value:"Extract .crt and .key files from .pfx file",id:"extract-crt-and-key-files-from-pfx-file",level:3},{value:"Convert .pfx file to .pem format",id:"convert-pfx-file-to-pem-format",level:3},{value:"TLS1.2 INADEQUATE_SECURITY Errors",id:"tls12-inadequate_security-errors",level:2}];function d(e){const t={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",ol:"ol",p:"p",pre:"pre",ul:"ul",...(0,r.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(t.p,{children:["COSMOS 5 is a container based service which does not use SSL/TLS out of the box. This guide will help you configure SSL and TLS. Learn more at the Traefik ",(0,i.jsx)(t.a,{href:"https://doc.traefik.io/traefik/routing/entrypoints/#tls",children:"docs"}),"."]}),"\n",(0,i.jsx)(t.h3,{id:"generate-the-certificate",children:"Generate the certificate"}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsx)(t.p,{children:"Note: Self-signed certificates are considered insecure for the Internet. Firefox will treat the site as having an invalid certificate, while Chrome will act as if the connection was plain HTTP."}),"\n"]}),"\n",(0,i.jsx)(t.p,{children:"To create a new Self-Signed SSL Certificate, use the openssl req command (run on linux from the cosmos-project root):"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-bash",children:"openssl req -newkey rsa:4096 \\\n -x509 \\\n -sha256 \\\n -days 3650 \\\n -nodes \\\n -out ./openc3-traefik/cert.crt \\\n -keyout ./openc3-traefik/cert.key\n\nCountry Name (2 letter code) [XX]:.\nState or Province Name (full name) []:.\nLocality Name (eg, city) [Default City]:.\nOrganization Name (eg, company) [Default Company Ltd]:.\nOrganizational Unit Name (eg, section) []:.\nCommon Name (eg, your name or your server hostname) []: \x3c!-- UPDATE WITH YOUR HOSTNAME HERE --\x3e\nEmail Address []:\n"})}),"\n",(0,i.jsx)(t.p,{children:"Let's breakdown the command and understand what each option means:"}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"newkey rsa:4096"})," - Creates a new certificate request and 4096 bit RSA key. The default one is 2048 bits."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"x509"})," - Creates a X.509 Certificate."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"sha256"})," - Use 265-bit SHA (Secure Hash Algorithm)."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"days 3650"})," - The number of days to certify the certificate for. 3650 is ten years. You can use any positive integer."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"nodes"})," - Creates a key without a passphrase."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"out ./openc3-traefik/cert.crt"})," - Specifies the filename to write the newly created certificate to. You can specify any file name."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"keyout ./openc3-traefik/cert.key"})," - Specifies the filename to write the newly created private key to. You can specify any file name."]}),"\n"]}),"\n",(0,i.jsxs)(t.p,{children:["For more information about the ",(0,i.jsx)(t.code,{children:"openssl req"})," command options, visit the ",(0,i.jsx)(t.a,{href:"https://www.openssl.org/docs/man1.0.2/man1/openssl-req.html",children:"OpenSSL req documentation page"}),"."]}),"\n",(0,i.jsx)(t.h3,{id:"updating-the-openc3-traefik-dockerfile",children:"Updating the openc3-traefik Dockerfile"}),"\n",(0,i.jsx)(t.p,{children:"Add the new cert to the traefik Docker container."}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-diff",children:"--- a/openc3-traefik/Dockerfile\n+++ b/openc3-traefik/Dockerfile\n@@ -1,3 +1,4 @@\n FROM traefik:2.4\n COPY ./traefik.yaml /etc/traefik/traefik.yaml\n+COPY ./cert.crt ./cert.key /etc/certs/\n EXPOSE 80\n"})}),"\n",(0,i.jsx)(t.h3,{id:"updating-the-traefik-config",children:"Updating the Traefik config"}),"\n",(0,i.jsx)(t.p,{children:"Configure Traefik to use the new cert file."}),"\n",(0,i.jsx)(t.p,{children:"openc3-traefik/traefik.yaml"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-diff",children:'--- a/openc3-traefik/traefik.yaml\n+++ b/openc3-traefik/traefik.yaml\n@@ -3,6 +3,17 @@\n+tls:\n+ certificates:\n+ - certFile: "/etc/certs/cert.crt"\n+ keyFile: "/etc/certs/cert.key"\n# Listen for everything coming in on the standard HTTP port\nentrypoints:\n web:\n address: ":2900"\n+ http:\n+ redirections:\n+ entryPoint:\n+ to: websecure\n+ scheme: https\n+ websecure:\n+ address: ":2943"\n+ http:\n+ tls:\n+ domains:\n+ - main: "\x3c!-- UPDATE WITH YOUR HOSTNAME HERE --\x3e"\n'})}),"\n",(0,i.jsx)(t.h3,{id:"update-docker-composeyaml",children:"Update docker-compose.yaml"}),"\n",(0,i.jsx)(t.p,{children:"Update traefik to use secure port 443 instead of port 80."}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-diff",children:'--- a/compose.yaml\n+++ b/compose.yaml\n services:\n openc3-minio:\n@@ -70,7 +70,7 @@ services:\n openc3-traefik:\n image: "ballaerospace/openc3-traefik:${OPENC3_TAG}"\n ports:\n- - "80:2900"\n+ - "443:2943"\n restart: "unless-stopped"\n depends_on:\n'})}),"\n",(0,i.jsxs)(t.p,{children:["Now you can run ",(0,i.jsx)(t.code,{children:"./openc3.sh start"})," to rebuild the Traefik container and it should include your new cert file."]}),"\n",(0,i.jsx)(t.h2,{id:"lets-encrypt",children:"Let's Encrypt"}),"\n",(0,i.jsx)(t.h4,{id:"key",children:"KEY"}),"\n",(0,i.jsx)(t.p,{children:'privkey.pem is the "key" file'}),"\n",(0,i.jsx)(t.p,{children:"Sometimes it is named as cert.key or example.com.key."}),"\n",(0,i.jsx)(t.h4,{id:"crt",children:"CRT"}),"\n",(0,i.jsx)(t.p,{children:'fullchain.pem is your "crt" file.'}),"\n",(0,i.jsx)(t.p,{children:"Sometimes it is named as example.com.crt."}),"\n",(0,i.jsx)(t.h4,{id:"crtkey-bundle",children:"CRT/KEY Bundle"}),"\n",(0,i.jsx)(t.p,{children:"bundle.pem would be made like so: cat fullchain.pem privkey.pem > bundle.pem"}),"\n",(0,i.jsx)(t.p,{children:"HAProxy is the only server that I know of that uses bundle.pem."}),"\n",(0,i.jsx)(t.h4,{id:"certpem",children:"cert.pem"}),"\n",(0,i.jsx)(t.p,{children:"cert.pem contains ONLY your certificate, which can only be used by itself if the browser already has the certificate which signed it, which may work in testing (which makes it seem like it may be the right file), but will actually fail for many of your users in production with a security error of untrusted certificate."}),"\n",(0,i.jsx)(t.p,{children:"However, you don't generally use the cert.pem by itself. It's almost always coupled with chain.pem as fullchain.pem."}),"\n",(0,i.jsx)(t.h4,{id:"chainpem",children:"chain.pem"}),"\n",(0,i.jsx)(t.p,{children:"chain.pem is the intermediary signed authority, signed by the root authority - which is what all browsers are guaranteed to have in their pre-built cache."}),"\n",(0,i.jsx)(t.h3,{id:"checking-certs",children:"Checking certs"}),"\n",(0,i.jsx)(t.p,{children:"You can inspect the cert like so:"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{children:"openssl x509 -in cert.pem -text -noout\n"})}),"\n",(0,i.jsx)(t.h2,{id:"extracting-the-certificate-and-keys-from-a-pfx-file",children:"Extracting the certificate and keys from a .pfx file"}),"\n",(0,i.jsx)(t.p,{children:"The .pfx file, which is in a PKCS#12 format, contains the SSL certificate (public keys) and the corresponding private keys. You might have to import the certificate and private keys separately in an unencrypted plain text format to use it on another system. This topic provides instructions on how to convert the .pfx file to .crt and .key files."}),"\n",(0,i.jsx)(t.h3,{id:"extract-crt-and-key-files-from-pfx-file",children:"Extract .crt and .key files from .pfx file"}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsx)(t.p,{children:"PREREQUISITE: Ensure OpenSSL is installed in the server that contains the SSL certificate."}),"\n"]}),"\n",(0,i.jsxs)(t.ol,{children:["\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsx)(t.p,{children:"Start OpenSSL from the OpenSSL\\bin folder."}),"\n"]}),"\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsx)(t.p,{children:"Open the command prompt and go to the folder that contains your .pfx file."}),"\n"]}),"\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsx)(t.p,{children:"Run the following command to extract the private key:"}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{children:"openssl pkcs12 -in [yourfile.pfx] -nocerts -out [drlive.key]\n"})}),"\n",(0,i.jsx)(t.p,{children:"You will be prompted to type the import password. Type the password that you used to protect your keypair when you created the .pfx file. You will be prompted again to provide a new password to protect the .key file that you are creating. Store the password to your key file in a secure place to avoid misuse."}),"\n",(0,i.jsxs)(t.ol,{children:["\n",(0,i.jsx)(t.li,{children:"Run the following command to extract the certificate:"}),"\n"]}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{children:"openssl pkcs12 -in [yourfile.pfx] -clcerts -nokeys -out [drlive.crt]\n"})}),"\n",(0,i.jsxs)(t.ol,{children:["\n",(0,i.jsx)(t.li,{children:"Run the following command to decrypt the private key:"}),"\n"]}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{children:"openssl rsa -in [drlive.key] -out [drlive-decrypted.key]\n"})}),"\n",(0,i.jsx)(t.p,{children:"Type the password that you created to protect the private key file in the previous step.\nThe .crt file and the decrypted and encrypted .key files are available in the path, where you started OpenSSL."}),"\n",(0,i.jsx)(t.h3,{id:"convert-pfx-file-to-pem-format",children:"Convert .pfx file to .pem format"}),"\n",(0,i.jsx)(t.p,{children:"There might be instances where you might have to convert the .pfx file into .pem format. Run the following command to convert it into PEM format."}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{children:"openssl rsa -in [keyfile-encrypted.key] -outform PEM -out [keyfile-encrypted-pem.key]\n"})}),"\n",(0,i.jsx)(t.h2,{id:"tls12-inadequate_security-errors",children:"TLS1.2 INADEQUATE_SECURITY Errors"}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:(0,i.jsx)(t.a,{href:"https://doc.traefik.io/traefik/https/tls/#cipher-suites",children:"https://doc.traefik.io/traefik/https/tls/#cipher-suites"})}),"\n",(0,i.jsx)(t.li,{children:(0,i.jsx)(t.a,{href:"https://pkg.go.dev/crypto/tls#pkg-constants",children:"https://pkg.go.dev/crypto/tls#pkg-constants"})}),"\n"]}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-yaml",children:"tls:\n options:\n default:\n cipherSuites:\n - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256\n - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256\n - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384\n - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384\n - TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256\n - TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256\n"})})]})}function h(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},1184:(e,t,n)=>{n.d(t,{R:()=>c});var i=n(4041);const r={},s=i.createContext(r);function c(e){const t=i.useContext(s);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}}}]);
|
1
|
+
"use strict";(self.webpackChunkdocs_openc3_com=self.webpackChunkdocs_openc3_com||[]).push([[4875],{4757:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>s,default:()=>h,frontMatter:()=>c,metadata:()=>o,toc:()=>l});var i=n(1085),r=n(1184);const c={sidebar_position:10,title:"SSL-TLS"},s=void 0,o={id:"configuration/ssl-tls",title:"SSL-TLS",description:"COSMOS 5 is a container based service which does not use SSL/TLS out of the box. This guide will help you configure SSL and TLS. Learn more at the Traefik docs.",source:"@site/docs/configuration/ssl-tls.md",sourceDirName:"configuration",slug:"/configuration/ssl-tls",permalink:"/tools/staticdocs/docs/configuration/ssl-tls",draft:!1,unlisted:!1,editUrl:"https://github.com/OpenC3/cosmos/tree/main/docs.openc3.com/docs/configuration/ssl-tls.md",tags:[],version:"current",sidebarPosition:10,frontMatter:{sidebar_position:10,title:"SSL-TLS"},sidebar:"defaultSidebar",previous:{title:"Screens",permalink:"/tools/staticdocs/docs/configuration/telemetry-screens"},next:{title:"Tools",permalink:"/tools/staticdocs/docs/tools"}},a={},l=[{value:"Generate the certificate",id:"generate-the-certificate",level:3},{value:"Updating the openc3-traefik Dockerfile",id:"updating-the-openc3-traefik-dockerfile",level:3},{value:"Updating the Traefik config",id:"updating-the-traefik-config",level:3},{value:"Update docker-compose.yaml",id:"update-docker-composeyaml",level:3},{value:"Let's Encrypt",id:"lets-encrypt",level:2},{value:"KEY",id:"key",level:4},{value:"CRT",id:"crt",level:4},{value:"CRT/KEY Bundle",id:"crtkey-bundle",level:4},{value:"cert.pem",id:"certpem",level:4},{value:"chain.pem",id:"chainpem",level:4},{value:"Checking certs",id:"checking-certs",level:3},{value:"Extracting the certificate and keys from a .pfx file",id:"extracting-the-certificate-and-keys-from-a-pfx-file",level:2},{value:"Extract .crt and .key files from .pfx file",id:"extract-crt-and-key-files-from-pfx-file",level:3},{value:"Convert .pfx file to .pem format",id:"convert-pfx-file-to-pem-format",level:3},{value:"TLS1.2 INADEQUATE_SECURITY Errors",id:"tls12-inadequate_security-errors",level:2}];function d(e){const t={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",ol:"ol",p:"p",pre:"pre",ul:"ul",...(0,r.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(t.p,{children:["COSMOS 5 is a container based service which does not use SSL/TLS out of the box. This guide will help you configure SSL and TLS. Learn more at the Traefik ",(0,i.jsx)(t.a,{href:"https://doc.traefik.io/traefik/routing/entrypoints/#tls",children:"docs"}),"."]}),"\n",(0,i.jsx)(t.h3,{id:"generate-the-certificate",children:"Generate the certificate"}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsx)(t.p,{children:"Note: Self-signed certificates are considered insecure for the Internet. Firefox will treat the site as having an invalid certificate, while Chrome will act as if the connection was plain HTTP."}),"\n"]}),"\n",(0,i.jsx)(t.p,{children:"To create a new Self-Signed SSL Certificate, use the openssl req command (run on linux from the cosmos-project root):"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-bash",children:"openssl req -newkey rsa:4096 \\\n -x509 \\\n -sha256 \\\n -days 3650 \\\n -nodes \\\n -out ./openc3-traefik/cert.crt \\\n -keyout ./openc3-traefik/cert.key\n\nCountry Name (2 letter code) [XX]:.\nState or Province Name (full name) []:.\nLocality Name (eg, city) [Default City]:.\nOrganization Name (eg, company) [Default Company Ltd]:.\nOrganizational Unit Name (eg, section) []:.\nCommon Name (eg, your name or your server hostname) []: \x3c!-- UPDATE WITH YOUR HOSTNAME HERE --\x3e\nEmail Address []:\n"})}),"\n",(0,i.jsx)(t.p,{children:"Let's breakdown the command and understand what each option means:"}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"newkey rsa:4096"})," - Creates a new certificate request and 4096 bit RSA key. The default one is 2048 bits."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"x509"})," - Creates a X.509 Certificate."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"sha256"})," - Use 265-bit SHA (Secure Hash Algorithm)."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"days 3650"})," - The number of days to certify the certificate for. 3650 is ten years. You can use any positive integer."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"nodes"})," - Creates a key without a passphrase."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"out ./openc3-traefik/cert.crt"})," - Specifies the filename to write the newly created certificate to. You can specify any file name."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"keyout ./openc3-traefik/cert.key"})," - Specifies the filename to write the newly created private key to. You can specify any file name."]}),"\n"]}),"\n",(0,i.jsxs)(t.p,{children:["For more information about the ",(0,i.jsx)(t.code,{children:"openssl req"})," command options, visit the ",(0,i.jsx)(t.a,{href:"https://www.openssl.org/docs/man1.0.2/man1/openssl-req.html",children:"OpenSSL req documentation page"}),"."]}),"\n",(0,i.jsx)(t.h3,{id:"updating-the-openc3-traefik-dockerfile",children:"Updating the openc3-traefik Dockerfile"}),"\n",(0,i.jsx)(t.p,{children:"Add the new cert to the traefik Docker container."}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-diff",children:"--- a/openc3-traefik/Dockerfile\n+++ b/openc3-traefik/Dockerfile\n@@ -1,3 +1,4 @@\n FROM traefik:2.4\n COPY ./traefik.yaml /etc/traefik/traefik.yaml\n+COPY ./cert.crt ./cert.key /etc/certs/\n EXPOSE 80\n"})}),"\n",(0,i.jsx)(t.h3,{id:"updating-the-traefik-config",children:"Updating the Traefik config"}),"\n",(0,i.jsx)(t.p,{children:"Configure Traefik to use the new cert file."}),"\n",(0,i.jsx)(t.p,{children:"openc3-traefik/traefik.yaml"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-diff",children:'--- a/openc3-traefik/traefik.yaml\n+++ b/openc3-traefik/traefik.yaml\n@@ -3,6 +3,17 @@\n+tls:\n+ certificates:\n+ - certFile: "/etc/certs/cert.crt"\n+ keyFile: "/etc/certs/cert.key"\n# Listen for everything coming in on the standard HTTP port\nentrypoints:\n web:\n address: ":2900"\n+ http:\n+ redirections:\n+ entryPoint:\n+ to: websecure\n+ scheme: https\n+ websecure:\n+ address: ":2943"\n+ http:\n+ tls:\n+ domains:\n+ - main: "\x3c!-- UPDATE WITH YOUR HOSTNAME HERE --\x3e"\n'})}),"\n",(0,i.jsx)(t.h3,{id:"update-docker-composeyaml",children:"Update docker-compose.yaml"}),"\n",(0,i.jsx)(t.p,{children:"Update traefik to use secure port 443 instead of port 80."}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-diff",children:'--- a/compose.yaml\n+++ b/compose.yaml\n services:\n openc3-minio:\n@@ -70,7 +70,7 @@ services:\n openc3-traefik:\n image: "ballaerospace/openc3-traefik:${OPENC3_TAG}"\n ports:\n- - "80:2900"\n+ - "443:2943"\n restart: "unless-stopped"\n depends_on:\n'})}),"\n",(0,i.jsxs)(t.p,{children:["Now you can run ",(0,i.jsx)(t.code,{children:"./openc3.sh start"})," to rebuild the Traefik container and it should include your new cert file."]}),"\n",(0,i.jsx)(t.h2,{id:"lets-encrypt",children:"Let's Encrypt"}),"\n",(0,i.jsx)(t.h4,{id:"key",children:"KEY"}),"\n",(0,i.jsx)(t.p,{children:'privkey.pem is the "key" file'}),"\n",(0,i.jsx)(t.p,{children:"Sometimes it is named as cert.key or example.com.key."}),"\n",(0,i.jsx)(t.h4,{id:"crt",children:"CRT"}),"\n",(0,i.jsx)(t.p,{children:'fullchain.pem is your "crt" file.'}),"\n",(0,i.jsx)(t.p,{children:"Sometimes it is named as example.com.crt."}),"\n",(0,i.jsx)(t.h4,{id:"crtkey-bundle",children:"CRT/KEY Bundle"}),"\n",(0,i.jsx)(t.p,{children:"bundle.pem would be made like so: cat fullchain.pem privkey.pem > bundle.pem"}),"\n",(0,i.jsx)(t.p,{children:"HAProxy is the only server that I know of that uses bundle.pem."}),"\n",(0,i.jsx)(t.h4,{id:"certpem",children:"cert.pem"}),"\n",(0,i.jsx)(t.p,{children:"cert.pem contains ONLY your certificate, which can only be used by itself if the browser already has the certificate which signed it, which may work in testing (which makes it seem like it may be the right file), but will actually fail for many of your users in production with a security error of untrusted certificate."}),"\n",(0,i.jsx)(t.p,{children:"However, you don't generally use the cert.pem by itself. It's almost always coupled with chain.pem as fullchain.pem."}),"\n",(0,i.jsx)(t.h4,{id:"chainpem",children:"chain.pem"}),"\n",(0,i.jsx)(t.p,{children:"chain.pem is the intermediary signed authority, signed by the root authority - which is what all browsers are guaranteed to have in their pre-built cache."}),"\n",(0,i.jsx)(t.h3,{id:"checking-certs",children:"Checking certs"}),"\n",(0,i.jsx)(t.p,{children:"You can inspect the cert like so:"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{children:"openssl x509 -in cert.pem -text -noout\n"})}),"\n",(0,i.jsx)(t.h2,{id:"extracting-the-certificate-and-keys-from-a-pfx-file",children:"Extracting the certificate and keys from a .pfx file"}),"\n",(0,i.jsx)(t.p,{children:"The .pfx file, which is in a PKCS#12 format, contains the SSL certificate (public keys) and the corresponding private keys. You might have to import the certificate and private keys separately in an unencrypted plain text format to use it on another system. This topic provides instructions on how to convert the .pfx file to .crt and .key files."}),"\n",(0,i.jsx)(t.h3,{id:"extract-crt-and-key-files-from-pfx-file",children:"Extract .crt and .key files from .pfx file"}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsx)(t.p,{children:"PREREQUISITE: Ensure OpenSSL is installed in the server that contains the SSL certificate."}),"\n"]}),"\n",(0,i.jsxs)(t.ol,{children:["\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsx)(t.p,{children:"Start OpenSSL from the OpenSSL\\bin folder."}),"\n"]}),"\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsx)(t.p,{children:"Open the command prompt and go to the folder that contains your .pfx file."}),"\n"]}),"\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsx)(t.p,{children:"Run the following command to extract the private key:"}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{children:"openssl pkcs12 -in [yourfile.pfx] -nocerts -out [drlive.key]\n"})}),"\n",(0,i.jsx)(t.p,{children:"You will be prompted to type the import password. Type the password that you used to protect your keypair when you created the .pfx file. You will be prompted again to provide a new password to protect the .key file that you are creating. Store the password to your key file in a secure place to avoid misuse."}),"\n",(0,i.jsxs)(t.ol,{children:["\n",(0,i.jsx)(t.li,{children:"Run the following command to extract the certificate:"}),"\n"]}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{children:"openssl pkcs12 -in [yourfile.pfx] -clcerts -nokeys -out [drlive.crt]\n"})}),"\n",(0,i.jsxs)(t.ol,{children:["\n",(0,i.jsx)(t.li,{children:"Run the following command to decrypt the private key:"}),"\n"]}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{children:"openssl rsa -in [drlive.key] -out [drlive-decrypted.key]\n"})}),"\n",(0,i.jsx)(t.p,{children:"Type the password that you created to protect the private key file in the previous step.\nThe .crt file and the decrypted and encrypted .key files are available in the path, where you started OpenSSL."}),"\n",(0,i.jsx)(t.h3,{id:"convert-pfx-file-to-pem-format",children:"Convert .pfx file to .pem format"}),"\n",(0,i.jsx)(t.p,{children:"There might be instances where you might have to convert the .pfx file into .pem format. Run the following command to convert it into PEM format."}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{children:"openssl rsa -in [keyfile-encrypted.key] -outform PEM -out [keyfile-encrypted-pem.key]\n"})}),"\n",(0,i.jsx)(t.h2,{id:"tls12-inadequate_security-errors",children:"TLS1.2 INADEQUATE_SECURITY Errors"}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:(0,i.jsx)(t.a,{href:"https://doc.traefik.io/traefik/https/tls/#cipher-suites",children:"https://doc.traefik.io/traefik/https/tls/#cipher-suites"})}),"\n",(0,i.jsx)(t.li,{children:(0,i.jsx)(t.a,{href:"https://pkg.go.dev/crypto/tls#pkg-constants",children:"https://pkg.go.dev/crypto/tls#pkg-constants"})}),"\n"]}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-yaml",children:"tls:\n options:\n default:\n cipherSuites:\n - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256\n - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256\n - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384\n - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384\n - TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256\n - TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256\n"})})]})}function h(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},1184:(e,t,n)=>{n.d(t,{R:()=>s,x:()=>o});var i=n(4041);const r={},c=i.createContext(r);function s(e){const t=i.useContext(c);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),i.createElement(c.Provider,{value:t},e.children)}}}]);
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";(self.webpackChunkdocs_openc3_com=self.webpackChunkdocs_openc3_com||[]).push([[8353],{5445:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>a,contentTitle:()=>d,default:()=>o,frontMatter:()=>n,metadata:()=>l,toc:()=>c});var s=r(1085),i=r(1184);const n={sidebar_position:6,title:"Requirements and Design"},d=void 0,l={id:"getting-started/requirements",title:"Requirements and Design",description:"OpenC3 COSMOS is a command and control system providing commanding, scripting, and data visualization capabilities for embedded systems and systems of systems. COSMOS is intended for use during all phases of testing (board, box, integrated system) and during operations.",source:"@site/docs/getting-started/requirements.md",sourceDirName:"getting-started",slug:"/getting-started/requirements",permalink:"/tools/staticdocs/docs/getting-started/requirements",draft:!1,unlisted:!1,editUrl:"https://github.com/OpenC3/cosmos/tree/main/docs.openc3.com/docs/getting-started/requirements.md",tags:[],version:"current",sidebarPosition:6,frontMatter:{sidebar_position:6,title:"Requirements and Design"},sidebar:"defaultSidebar",previous:{title:"Key Concepts",permalink:"/tools/staticdocs/docs/getting-started/key_concepts"},next:{title:"Podman",permalink:"/tools/staticdocs/docs/getting-started/podman"}},a={},c=[{value:"Terminology",id:"terminology",level:2},{value:"Overall Architecture and Context Diagram",id:"overall-architecture-and-context-diagram",level:2},{value:"Overall Requirements",id:"overall-requirements",level:2},{value:"Api Requirements",id:"api-requirements",level:2},{value:"Command and Telemetry Server",id:"command-and-telemetry-server",level:2},{value:"Limits Monitor",id:"limits-monitor",level:2},{value:"Command Sender",id:"command-sender",level:2},{value:"Script Runner",id:"script-runner",level:2},{value:"Packet Viewer",id:"packet-viewer",level:2},{value:"Telemetry Viewer",id:"telemetry-viewer",level:2},{value:"Telemetry Grapher",id:"telemetry-grapher",level:2},{value:"Data Extractor",id:"data-extractor",level:2},{value:"Data Viewer",id:"data-viewer",level:2},{value:"Calendar",id:"calendar",level:2},{value:"Admin",id:"admin",level:2}];function h(e){const t={h2:"h2",img:"img",li:"li",ol:"ol",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.p,{children:"OpenC3 COSMOS is a command and control system providing commanding, scripting, and data visualization capabilities for embedded systems and systems of systems. COSMOS is intended for use during all phases of testing (board, box, integrated system) and during operations."}),"\n",(0,s.jsx)(t.p,{children:"COSMOS is currently made up of the following applications:"}),"\n",(0,s.jsxs)(t.ol,{children:["\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Command and Telemetry Server"})," - Provides status of realtime commanding, telemetry reception, logging, limits monitoring, and packet routing."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Limits Monitor"})," - Monitors telemetry with defined limits and shows items that currently are or have violated limits."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Command Sender"})," - Provides a graphical interface for manually sending individual commands."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Script Runner"})," - Executes scripts and provides highlighting of the currently executing line. Now also includes TestRunner functionality."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Packet Viewer"})," - Provides realtime visualization of every telemetry packet that has been defined."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Telemetry Viewer"})," - Provides custom telemetry screen functionality with advanced layout and visualization widgets."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Telemetry Grapher"})," - Provides realtime and offline graphing of telemetry data."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Data Extractor"})," - Extracts telemetry and command packet log files into CSV data."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Data Viewer"})," - Provides text based telemetry visualization for items."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Bucket Explorer"})," - Browse the COSMOS bucket storage in any cloud environment."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Table Manager"})," - Binary file editor with Script Runner integration for upload / download."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Handbooks"})," - Generate html page of the command and telemetry definitions."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Calendar"})," - Provides scheduling of commands and scripts. Also provides a framework for reserving resources."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Admin"})," - Provides an administrative interface to COSMOS."]}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"More detailed descriptions, requirements, and design for each tool are found later in this document. Additionally, each of the above applications is built using COSMOS libraries that are available for use as a framework to develop custom program/project applications."}),"\n",(0,s.jsx)(t.h2,{id:"terminology",children:"Terminology"}),"\n",(0,s.jsx)(t.p,{children:"The COSMOS system uses several terms that are important to understand. The following table defines these terms."}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Term"}),(0,s.jsx)(t.th,{children:"Definition"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Target"}),(0,s.jsx)(t.td,{children:"A COSMOS target is an embedded system that the COSMOS Command and Telemetry Server connects to using an interface in order to send commands to and/or receive telemetry from."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Command"}),(0,s.jsx)(t.td,{children:"A packet of information telling a target to perform an action of some sort."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Telemetry Packet"}),(0,s.jsx)(t.td,{children:"A packet of information providing status from a target."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Interface"}),(0,s.jsx)(t.td,{children:"A Ruby class that knows how to send commands to and/or receive telemetry from a target. COSMOS comes with interfaces that support TCP/IP, UDP, and serial connections. Custom interfaces are easy to add to the system."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Ruby"}),(0,s.jsx)(t.td,{children:"The powerful dynamic programming language used to write the COSMOS applications and libraries as well as COSMOS scripts and test procedures."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Configuration Files"}),(0,s.jsx)(t.td,{children:"COSMOS uses simple plain text configuration files to define commands and telemetry packets, and to configure each COSMOS application. These files are easily human readable/editable and machine readable/editable."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Packet Log Files"}),(0,s.jsx)(t.td,{children:"Binary files containing either logged commands or telemetry packets."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Message Log Files"}),(0,s.jsx)(t.td,{children:"Text files containing messages generated by the system."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Tool"}),(0,s.jsx)(t.td,{children:"Another name for a COSMOS application."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"overall-architecture-and-context-diagram",children:"Overall Architecture and Context Diagram"}),"\n",(0,s.jsx)(t.p,{children:"The following diagram shows the COSMOS 5 architecture."}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.img,{alt:"COSMOS Architecture",src:r(126).A+"",width:"1155",height:"538"})}),"\n",(0,s.jsx)(t.p,{children:"Key aspects of this architecture:"}),"\n",(0,s.jsx)(t.p,{children:"COSMOS 5 is a cloud native, containerized, microservice oriented command and control system. All the COSMOS microservices are docker containers which is why Docker is shown containing the entire COSMOS system. The green boxes on the left represent external embedded systems (Targets) which COSMOS connects to. The Redis data store contains the configuration for all the microservices, the current value table, as well as data streams containing decommutated data. The Minio data store contains plugins, targets, configuration data, text logs as well as binary logs of all the raw, decommutated, and reduced data. Users interact with COSMOS from a web browser which routes through the internal Traefik load balancer."}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"COSMOS can connect to many different kinds of targets. The examples include things like Flight software (FSW), Ground Support Equipment (GSE), Labview, and COTS targets such as an Agilent power supply. Any embedded system that provides a communication interface can be connected to COSMOS."}),"\n",(0,s.jsx)(t.li,{children:"COSMOS ships with interfaces for connecting over TCP/IP, UDP, MQTT, and serial connections. This covers most systems, but custom interfaces can also be written to connect to anything."}),"\n",(0,s.jsx)(t.li,{children:"All realtime communication with targets flows through the COSMOS system. This ensures all commands and telemetry are logged."}),"\n",(0,s.jsx)(t.li,{children:"Every tool is configured with plain text configuration files."}),"\n",(0,s.jsx)(t.li,{children:"Program specific tools can be written using the COSMOS libraries that can interact with the realtime command and telemetry streams and can process logged data."}),"\n"]}),"\n",(0,s.jsx)(t.h2,{id:"overall-requirements",children:"Overall Requirements"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Reqt. ID"}),(0,s.jsx)(t.th,{children:"Description"}),(0,s.jsx)(t.th,{children:"Test Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"COSMOS-1"}),(0,s.jsx)(t.td,{children:"All COSMOS core functionality shall be containerized."}),(0,s.jsx)(t.td,{children:"Verify COSMOS is running in Docker"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"COSMOS-2"}),(0,s.jsx)(t.td,{children:"The COSMOS user interface shall be accessible from Chromium based web browsers"}),(0,s.jsx)(t.td,{children:"Open COSMOS in Chrome/Edge"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"COSMOS-3"}),(0,s.jsx)(t.td,{children:"The COSMOS user interface shall be accessible from the Firefox web browser"}),(0,s.jsx)(t.td,{children:"Open COSMOS in Firefox"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"COSMOS-4"}),(0,s.jsx)(t.td,{children:"COSMOS shall log all commands sent"}),(0,s.jsx)(t.td,{})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"COSMOS-5"}),(0,s.jsx)(t.td,{children:"COSMOS shall log all telemetry received"}),(0,s.jsx)(t.td,{})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"COSMOS-6"}),(0,s.jsx)(t.td,{children:"COSMOS shall decommutate all telemetry packets recieved"}),(0,s.jsx)(t.td,{})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"COSMOS-7"}),(0,s.jsx)(t.td,{children:"COSMOS shall support autonomously attempting to connect to targets."}),(0,s.jsx)(t.td,{children:"Verify targets are connected upon starting the CTS."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"COSMOS-8"}),(0,s.jsx)(t.td,{children:"COSMOS shall time stamp telemetry packets upon receipt."}),(0,s.jsx)(t.td,{children:"Verify logged packets are timestamped."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"COSMOS-9"}),(0,s.jsx)(t.td,{children:"COSMOS shall time stamp telemetry packets to a resolution of 1 millisecond or better. Note: This requirement only refers to resolution. COSMOS does not run on real-time operating systems and accuracy cannot be guaranteed."}),(0,s.jsx)(t.td,{children:"View time stamps in log."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"COSMOS-10"}),(0,s.jsx)(t.td,{children:"COSMOS shall time stamp received telemetry with a UTC timestamp."}),(0,s.jsx)(t.td,{children:"Verify logged time stamps are as expected."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"COSMOS-11"}),(0,s.jsx)(t.td,{children:"COSMOS shall maintain a timestamped log of commands received, limits violations, and errors encountered."}),(0,s.jsx)(t.td,{children:"View COSMOS message log."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"api-requirements",children:"Api Requirements"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Reqt. ID"}),(0,s.jsx)(t.th,{children:"Description"}),(0,s.jsx)(t.th,{children:"Test Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"API-1"}),(0,s.jsx)(t.td,{children:"The COSMOS API shall allow scripted connection and disconnection of interfaces."}),(0,s.jsx)(t.td,{children:"Disconnect and connect an interface from a script."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"API-2"}),(0,s.jsx)(t.td,{children:"The COSMOS API shall allow scripted connection and disconnection of routers."}),(0,s.jsx)(t.td,{children:"Disconnect and connect a router from a script."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"API-3"}),(0,s.jsx)(t.td,{children:"The COSMOS API shall allow scripted setting of the current limits set."}),(0,s.jsx)(t.td,{children:"Select a different limits set from a script."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"API-4"}),(0,s.jsx)(t.td,{children:"The COSMOS API shall allow commanding of targets"}),(0,s.jsx)(t.td,{children:"Send a command"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"API-5"}),(0,s.jsx)(t.td,{children:"The COSMOS API shall allow reading the current value of any telemetry item"}),(0,s.jsx)(t.td,{children:"Read a telemetry point"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"API-6"}),(0,s.jsx)(t.td,{children:"The COSMOS API shall allow streaming realtime and logged telemetry packets"}),(0,s.jsx)(t.td,{children:"Stream telemetry packets"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"API-7"}),(0,s.jsx)(t.td,{children:"The COSMOS API shall allow streaming realtime and logged command packets"}),(0,s.jsx)(t.td,{children:"Stream command packets"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"API-8"}),(0,s.jsx)(t.td,{children:"The COSMOS API shall allow starting COSMOS scripts"}),(0,s.jsx)(t.td,{children:"Start a script using the API"})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"command-and-telemetry-server",children:"Command and Telemetry Server"}),"\n",(0,s.jsx)(t.p,{children:"The Command and Telemetry server provides status on the the overall COSMOS installation for a specific scope."}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Reqt. ID"}),(0,s.jsx)(t.th,{children:"Description"}),(0,s.jsx)(t.th,{children:"Test Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CTS-1"}),(0,s.jsx)(t.td,{children:"The Command and Telemetry Server shall display a list of all interfaces."}),(0,s.jsx)(t.td,{children:"View the Interfaces tab."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CTS-2"}),(0,s.jsx)(t.td,{children:"The Command and Telemetry Server shall allow manual connection and disconnection of interfaces."}),(0,s.jsx)(t.td,{children:"Press a GUI button to disconnect and connect an interface."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CTS-3"}),(0,s.jsx)(t.td,{children:"The Command and Telemetry Server shall display a list of all targets."}),(0,s.jsx)(t.td,{children:"View the Targets tab."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CTS-4"}),(0,s.jsx)(t.td,{children:"The Command and Telemetry Server shall display a list of known commands."}),(0,s.jsx)(t.td,{children:"View the Cmd Packets tab."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CTS-5"}),(0,s.jsx)(t.td,{children:"The Command and Telemetry Server shall display raw command data for the most recent command received."}),(0,s.jsx)(t.td,{children:"View the Cmd Packets tab and click the View Raw button for a command."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CTS-6"}),(0,s.jsx)(t.td,{children:"The Command and Telemetry Server shall display a list of known telemetry packets."}),(0,s.jsx)(t.td,{children:"View the Tlm Packets tab."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CTS-7"}),(0,s.jsx)(t.td,{children:"The Command and Telemetry Server shall display raw telemetry packet data for the most recent telemetry packet received."}),(0,s.jsx)(t.td,{children:"View the Tlm Packets tab and click the View Raw button for a telemetry packet."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CTS-8"}),(0,s.jsx)(t.td,{children:"The Command and Telemetry Server shall display a list of all routers."}),(0,s.jsx)(t.td,{children:"View the Routers tab."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CTS-9"}),(0,s.jsx)(t.td,{children:"The Command and Telemetry Server shall allow manual connection and disconnection of routers."}),(0,s.jsx)(t.td,{children:"Press a GUI button to disconnect and connect a router."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CTS-10"}),(0,s.jsx)(t.td,{children:"The Command and Telemetry Server shall allow manually setting the current limits set."}),(0,s.jsx)(t.td,{children:"Select a different limits set from the combobox."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CTS-11"}),(0,s.jsx)(t.td,{children:"The Command and Telemetry Server shall support opening telemetry packets in Packet Viewer."}),(0,s.jsx)(t.td,{children:"On the Tlm Packets tab click View in Packet Viewer for a telemetry packet."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CTS-12"}),(0,s.jsx)(t.td,{children:"The Command and Telemetry Server shall display time stamps in local time."}),(0,s.jsx)(t.td,{children:"View time stamps in log."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"limits-monitor",children:"Limits Monitor"}),"\n",(0,s.jsx)(t.p,{children:"Limits Monitor displays all telemetry points that are currently out of limits and also shows any telemetry points that have gone out of limits since Limits Monitor was started."}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Reqt. ID"}),(0,s.jsx)(t.th,{children:"Description"}),(0,s.jsx)(t.th,{children:"Test Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"LM-1"}),(0,s.jsx)(t.td,{children:"Limits Monitor shall display all telemetry points currently out of limits."}),(0,s.jsx)(t.td,{children:"View displayed telemetry points."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"LM-2"}),(0,s.jsx)(t.td,{children:"Limits Monitor shall support ignoring telemetry points."}),(0,s.jsx)(t.td,{children:"Click ignore on a telemetry point."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"LM-3"}),(0,s.jsx)(t.td,{children:"Limits Monitor shall keep a displayed log of limits violations."}),(0,s.jsx)(t.td,{children:"View the log tab."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"LM-4"}),(0,s.jsx)(t.td,{children:"Limits Monitor shall continue displaying a telemetry point that temporarily went out of limits."}),(0,s.jsx)(t.td,{children:"Watch until a telemetry points returns to green."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"LM-5"}),(0,s.jsx)(t.td,{children:"Limits Monitor shall support saving its configuration."}),(0,s.jsx)(t.td,{children:"Save the configuration."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"LM-6"}),(0,s.jsx)(t.td,{children:"Limits Monitor shall support loading its configuration."}),(0,s.jsx)(t.td,{children:"Load the configuration."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"command-sender",children:"Command Sender"}),"\n",(0,s.jsx)(t.p,{children:"Command Sender provides an easy method to send single commands to targets. The graphical user interface provides simple dropdowns to quickly select the desired command to send organized by target name and command name. After the user has selected the command, they then fill in the desired command parameters and click send to send the command to the target."}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Reqt. ID"}),(0,s.jsx)(t.th,{children:"Description"}),(0,s.jsx)(t.th,{children:"Test Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CMD-1"}),(0,s.jsx)(t.td,{children:"Command Sender shall allow selection of a command by target name and packet name."}),(0,s.jsx)(t.td,{children:"Select a specific command by target name and packet name in the drop down menus."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CMD-2"}),(0,s.jsx)(t.td,{children:"Command Sender shall allow sending the selected command."}),(0,s.jsx)(t.td,{children:"Send the selected command by pressing the Send button."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CMD-3"}),(0,s.jsx)(t.td,{children:"Command Sender shall display non-ignored parameters for the selected command."}),(0,s.jsx)(t.td,{children:"Select a specific command and verify the expected parameters are shown."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CMD-4"}),(0,s.jsx)(t.td,{children:"Command Sender shall provide a mechanism to select state values for command parameters with states."}),(0,s.jsx)(t.td,{children:"Select a specific state value for a specific command with states."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CMD-5"}),(0,s.jsx)(t.td,{children:"Command Sender shall allow sending a manually entered value for a command parameter with states."}),(0,s.jsx)(t.td,{children:"Manually enter a value for a specific command with states."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CMD-6"}),(0,s.jsx)(t.td,{children:"Command Sender shall refuse to send commands if required parameters are not provided."}),(0,s.jsx)(t.td,{children:"Attempt to send a command with a required parameter not filled out."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CMD-7"}),(0,s.jsx)(t.td,{children:"Command Sender shall support sending commands while ignoring range checking."}),(0,s.jsx)(t.td,{children:"Enter Ignore Range Checking mode and then send a command with an out of range parameter."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CMD-8"}),(0,s.jsx)(t.td,{children:"Command Sender shall optionally display state values in hex."}),(0,s.jsx)(t.td,{children:'Enter "Display State Values in Hex" mode and verify state values are displayed as hex.'})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CMD-9"}),(0,s.jsx)(t.td,{children:"Command Sender shall optionally display ignored command parameters."}),(0,s.jsx)(t.td,{children:'Enter "Show Ignored Parameters" mode and verify ignored parameters are displayed.'})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CMD-10"}),(0,s.jsx)(t.td,{children:"Command Sender shall respect hazardous commands and notify the user before proceeding."}),(0,s.jsx)(t.td,{children:"Send a hazardous command and verify a dialog box appears before the command is sent. Verify both accepting the dialog and declining to send."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CMD-11"}),(0,s.jsx)(t.td,{children:"Command Sender shall keep a command history of each command sent."}),(0,s.jsx)(t.td,{children:"Send a command and verify that it shows up in the command history box."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CMD-12"}),(0,s.jsx)(t.td,{children:"Command Sender shall allow resending of any command in the command history."}),(0,s.jsx)(t.td,{children:"Resend one of the commands in the command history box."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"script-runner",children:"Script Runner"}),"\n",(0,s.jsx)(t.p,{children:"Script Runner provides a visual interface for editing and executing scripts/procedures. A full featured text editor provides syntax highlighting and code completion while developing scripts. During script execution, the currently executing line is highlighted and any logged messages are highlighted to the user. If any failure occurs, the script is paused and the user alerted. The user can then decide whether to stop the script, or ignore the failure and continue. The user can also retry the failed lines, or other nearby lines before proceeding."}),"\n",(0,s.jsx)(t.p,{children:"Script Runner now also provides a structured methodology for designing system level scripting that mirrors the very successful pattern used in software unit tests (previously implemented in the Test Runner tool). System level tests/procedures are built up of cases that are organized into groups. For example, you might have one group that verified all of the requirements associated with a particular mechanism. Ideally you would break this down into individual cases for different scenarios. One perhaps for opening a shutter, another for closing it, etc. Cases are ideally small and independent tasks. A number of these groups are then combined into an overall suite which would be run to execute a major test such as EMI, or software FQT."}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Reqt. ID"}),(0,s.jsx)(t.th,{children:"Description"}),(0,s.jsx)(t.th,{children:"Test Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-1"}),(0,s.jsx)(t.td,{children:"Script Runner shall provide a text editor for developing test scripts."}),(0,s.jsx)(t.td,{children:"Open Script Runner and create a simple test script. Perform all standard file operations including New, Open, Reload, Close, Save, and Save As. Perform all standard editing operations such as Cut, Copy, Paste, Undo, Redo, Select All, and Comment/Uncomment lines."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-2"}),(0,s.jsx)(t.td,{children:"Script Runner shall provide search and replace functionality."}),(0,s.jsx)(t.td,{children:"Perform all standard search and replace functionality, including search, replace, find next, and find previous."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-3"}),(0,s.jsx)(t.td,{children:"Script Runner shall provide code completion for cmd(), tlm(), and wait_check() COSMOS API methods. Note: Other methods may also be supported."}),(0,s.jsx)(t.td,{children:"Create a script and exercise code completion on the mentioned keywords."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-4"}),(0,s.jsx)(t.td,{children:"Script Runner shall execute Ruby-based COSMOS scripts."}),(0,s.jsx)(t.td,{children:"Press start and execute a script."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-5"}),(0,s.jsx)(t.td,{children:"Script Runner shall highlight the currently executing line of the script."}),(0,s.jsx)(t.td,{children:"Verify that lines are highlighted as a test script executes."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-6"}),(0,s.jsx)(t.td,{children:"Script Runner shall allow pausing an executing script."}),(0,s.jsx)(t.td,{children:"Press pause button and verify script is paused. Press start to resume."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-7"}),(0,s.jsx)(t.td,{children:"Script Runner shall allow stopping an executing script."}),(0,s.jsx)(t.td,{children:"Press stop and verify script stops."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-8"}),(0,s.jsx)(t.td,{children:"Script Runner shall pause an executing script upon the occurance of an error."}),(0,s.jsx)(t.td,{children:"Create a script with a statement that is guaranteed to fail and verify that the script is paused."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-9"}),(0,s.jsx)(t.td,{children:"Script Runner shall log commands sent."}),(0,s.jsx)(t.td,{children:"Execute a script that sends a command and verify it is logged."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-10"}),(0,s.jsx)(t.td,{children:"Script Runner shall log text written to STDOUT. Note: Typically through the puts method."}),(0,s.jsx)(t.td,{children:"Execute a script that uses puts to write a message and verify it is logged."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-11"}),(0,s.jsx)(t.td,{children:"Script Runner shall log wait times."}),(0,s.jsx)(t.td,{children:"Execute a script that includes a wait method and verify wait time is logged."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-12"}),(0,s.jsx)(t.td,{children:"Script Runner shall log errors that occur while the script is executing."}),(0,s.jsx)(t.td,{children:"Create a script with a check statement that is guaranteed to fail and verify it is logged."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-13"}),(0,s.jsx)(t.td,{children:"Script Runner shall log check statement success and failure."}),(0,s.jsx)(t.td,{children:"Create a script with a check statement that is guaranteed to fail and one that is guaranteed to succeeed. Verify both the success and failure are logged."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-14"}),(0,s.jsx)(t.td,{children:"Script Runner shall support executing selected lines."}),(0,s.jsx)(t.td,{children:"Select a set of lines and execute them using Script->Execute Selected Lines."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-15"}),(0,s.jsx)(t.td,{children:"Script Runner shall support executing selected lines while paused."}),(0,s.jsx)(t.td,{children:"Select a set of lines and execute them from the right-click context menu."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-16"}),(0,s.jsx)(t.td,{children:"Script Runner shall support starting a script from any line."}),(0,s.jsx)(t.td,{children:"Place the mouse cursor at the desired first line and then select Script->Execute From Cursor."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-17"}),(0,s.jsx)(t.td,{children:"Script Runner shall support a mnemonic checking function."}),(0,s.jsx)(t.td,{children:"Select Script->Mnemonic Check."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-18"}),(0,s.jsx)(t.td,{children:"Script Runner shall support a syntax checking function."}),(0,s.jsx)(t.td,{children:"Select Script->Ruby Syntax Check."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-19"}),(0,s.jsx)(t.td,{children:"Script Runner shall support viewing the script instrumentation."}),(0,s.jsx)(t.td,{children:"Select Script->View Instrumented Script."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-20"}),(0,s.jsx)(t.td,{children:"Script Runner shall support an disconnected mode to allow for executing scripts without a connection to the Command and Telemetry Server."}),(0,s.jsx)(t.td,{children:"Select Script->Toggle Disconnect. Execute a script with commands and check statements and verify that it runs to completion."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-21"}),(0,s.jsx)(t.td,{children:"Script Runner shall support a Debug terminal to aid in debugging scripts."}),(0,s.jsx)(t.td,{children:"Select Script->Toggle Debug."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-22"}),(0,s.jsx)(t.td,{children:"Script Runner shall support a step mode where the script will stop and wait for use interaction after each line."}),(0,s.jsx)(t.td,{children:"Press Step to progress through the script."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-23"}),(0,s.jsx)(t.td,{children:"Script Runner shall support breakpoint functionality."}),(0,s.jsx)(t.td,{children:"Create a breakpoint then execute the script and verify it stops at the specified line."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-25"}),(0,s.jsx)(t.td,{children:"Script Runner Suite Mode shall support executing individual test suites."}),(0,s.jsx)(t.td,{children:"Execute an individual test suite."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-26"}),(0,s.jsx)(t.td,{children:"Script Runner Suite Mode shall support executing individual test groups."}),(0,s.jsx)(t.td,{children:"Execute an individual test group."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-27"}),(0,s.jsx)(t.td,{children:"Script Runner Suite Mode shall support executing individual test cases."}),(0,s.jsx)(t.td,{children:"Execute an individual test case."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-28"}),(0,s.jsx)(t.td,{children:"Script Runner Suite Mode shall support executing test group setup and teardown methods individually."}),(0,s.jsx)(t.td,{children:"Execute a test group setup. Execute a test group teardown."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-29"}),(0,s.jsx)(t.td,{children:"Script Runner Suite Mode shall support executing test suite setup and teardown methods individually."}),(0,s.jsx)(t.td,{children:"Execute a test suite setup. Execute a test suite teardown."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-30"}),(0,s.jsx)(t.td,{children:"Script Runner Suite Mode shall create a report after executing any suite test."}),(0,s.jsx)(t.td,{children:"Verify a report is generated after executing a suite."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-31"}),(0,s.jsx)(t.td,{children:"Script Runner Suite Mode shall support pausing when an error occurs."}),(0,s.jsx)(t.td,{children:"Execute a test script with the pause on error box checked and without."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-32"}),(0,s.jsx)(t.td,{children:"Script Runner Suite Mode shall support allowing the user to proceed on an error."}),(0,s.jsx)(t.td,{children:"Execute a test script with the Allow go/retry on error box checked and without."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-33"}),(0,s.jsx)(t.td,{children:"Script Runner Suite Mode shall support aborting execution on an error."}),(0,s.jsx)(t.td,{children:"Execute a test script with the abort on error box checked and without."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-34"}),(0,s.jsx)(t.td,{children:"Script Runner Suite Mode shall support looping a test."}),(0,s.jsx)(t.td,{children:"Execute a test script with the loop testing box checked and without."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-35"}),(0,s.jsx)(t.td,{children:"Script Runner Suite Mode shall support breaking the looping of a test on error."}),(0,s.jsx)(t.td,{children:"Execute a test script with the break loop on error box checked and without."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-36"}),(0,s.jsx)(t.td,{children:"Script Runner Suite Mode shall support a user readable flag indicating that loop testing is occurring."}),(0,s.jsx)(t.td,{children:"Execute a test script that checks the $loop_testing variable while looping and again while not looping."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-37"}),(0,s.jsx)(t.td,{children:"Script Runner Suite Mode shall support a user readable flag indicating manual operations are desired."}),(0,s.jsx)(t.td,{children:"Execute a test script with the manual box checked and without."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"packet-viewer",children:"Packet Viewer"}),"\n",(0,s.jsx)(t.p,{children:"Packet Viewer provides a simple tool to view the realtime contents of any telemetry packet defined in the system in a tabular, key-value format."}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Reqt. ID"}),(0,s.jsx)(t.th,{children:"Description"}),(0,s.jsx)(t.th,{children:"Test Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"PV-1"}),(0,s.jsx)(t.td,{children:"Packet Viewer shall allow selection of a telemetry packet by target name and packet name."}),(0,s.jsx)(t.td,{children:"Select a specific telemetry packet by target name and packet name in the drop down menus."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"PV-2"}),(0,s.jsx)(t.td,{children:"Packet Viewer shall display the contents of the selected telemetry packet."}),(0,s.jsx)(t.td,{children:"Ensure all items of the selected telemetry packet are displayed and updating."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"PV-3"}),(0,s.jsx)(t.td,{children:"Packet Viewer shall provide a mechanism to get detailed information on a telemetry item."}),(0,s.jsx)(t.td,{children:'Right click on a telemetry item and select "Details" from the context menu.'})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"PV-4"}),(0,s.jsx)(t.td,{children:"Packet Viewer shall provide a mechanism to view a graph of any telemetry item."}),(0,s.jsx)(t.td,{children:'Right click on a telemetry item and select "Graph" from the context menu.'})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"PV-5"}),(0,s.jsx)(t.td,{children:"Packet Viewer shall color telemetry values based upon limits state."}),(0,s.jsx)(t.td,{children:"View a packet with items containing limits and verify they are colored."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"PV-6"}),(0,s.jsx)(t.td,{children:"Packet Viewer shall support a configurable polling rate."}),(0,s.jsx)(t.td,{children:"Select File->Options and change the polling rate."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"PV-7"}),(0,s.jsx)(t.td,{children:"Packet Viewer shall support a color-blind mode to allow distinguishing limits states for those who are color blind."}),(0,s.jsx)(t.td,{children:"Select View->Color Blind Mode and verify that items with limits are also displayed with a textual indication of limits state color."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"PV-8"}),(0,s.jsx)(t.td,{children:"Packet Viewer shall support displaying telemetry in each of the four COSMOS value types (raw, converted, formatted, and formatted with units)"}),(0,s.jsx)(t.td,{children:"In the View menu, select each of the four value types and verify values are displayed accordingly."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"telemetry-viewer",children:"Telemetry Viewer"}),"\n",(0,s.jsx)(t.p,{children:'Telemetry Viewer provides a way to organize telemetry points into custom "screens" that allow for the creation of unique and organized views of telemetry data. Screens are made up of widgets or small GUI components that display telemetry in unique ways.'}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Reqt. ID"}),(0,s.jsx)(t.th,{children:"Description"}),(0,s.jsx)(t.th,{children:"Test Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TV-1"}),(0,s.jsx)(t.td,{children:"Telemetry Viewer shall display user-defined telemetry screens."}),(0,s.jsx)(t.td,{children:"Open a telemetry"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TV-2"}),(0,s.jsx)(t.td,{children:"Telemetry Viewer shall display realtime data."}),(0,s.jsx)(t.td,{children:"Verify telemetry screens show realtime data."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TV-3"}),(0,s.jsx)(t.td,{children:"Telemetry Viewer shall support saving open telemetry screens and their positions."}),(0,s.jsx)(t.td,{children:"Open three telemetry screens and then select File->Save Configuration."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"telemetry-grapher",children:"Telemetry Grapher"}),"\n",(0,s.jsx)(t.p,{children:"Telemetry Grapher performs graphing of telemetry points in both realtime and log file playback."}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Reqt. ID"}),(0,s.jsx)(t.th,{children:"Description"}),(0,s.jsx)(t.th,{children:"Test Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TG-1"}),(0,s.jsx)(t.td,{children:"Telemetry Grapher shall provide line graphs of telemetry points."}),(0,s.jsx)(t.td,{children:"Add several housekeeping data objects to a plot."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TG-2"}),(0,s.jsx)(t.td,{children:"Telemetry Grapher shall support realtime graphing of telemetry."}),(0,s.jsx)(t.td,{children:"Press Start to start realtime graphing."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TG-3"}),(0,s.jsx)(t.td,{children:"Telemetry Grapher shall support graphing data from logged telemetry."}),(0,s.jsx)(t.td,{children:"Select the menu option to graph data from a logged data"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TG-4"}),(0,s.jsx)(t.td,{children:"Telemetry Grapher shall support multiple plots per browser tab."}),(0,s.jsx)(t.td,{children:"Add multiple plots."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TG-5"}),(0,s.jsx)(t.td,{children:"Telemetry Grapher shall support multiple telemetry points per plot."}),(0,s.jsx)(t.td,{children:"Add multiple data objects to one plot."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TG-6"}),(0,s.jsx)(t.td,{children:"Telemetry Grapher shall support saving a variable number of data points."}),(0,s.jsx)(t.td,{children:"Edit Points Saved."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TG-7"}),(0,s.jsx)(t.td,{children:"Telemetry Grapher shall support graphing a variable duration of time."}),(0,s.jsx)(t.td,{children:"Edit Seconds Plotted."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TG-8"}),(0,s.jsx)(t.td,{children:"Telemetry Grapher shall support graphing a variable number of data points."}),(0,s.jsx)(t.td,{children:"Edit Points Plotted."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TG-9"}),(0,s.jsx)(t.td,{children:"Telemetry Grapher shall support saving its configuration."}),(0,s.jsx)(t.td,{children:"Save the current configuration."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TG-10"}),(0,s.jsx)(t.td,{children:"Telemetry Grapher shall support loading its configuration."}),(0,s.jsx)(t.td,{children:"Load the previously saved configuration."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"data-extractor",children:"Data Extractor"}),"\n",(0,s.jsx)(t.p,{children:"Data Extractor processes logged data and extracts data into a CSV format for analysis in Excel or other tools."}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Reqt. ID"}),(0,s.jsx)(t.th,{children:"Description"}),(0,s.jsx)(t.th,{children:"Test Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"DE-1"}),(0,s.jsx)(t.td,{children:"Data Extractor shall support adding individual telemetry points."}),(0,s.jsx)(t.td,{children:"Add an individual telemetry point."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"DE-2"}),(0,s.jsx)(t.td,{children:"Data Extractor shall support adding entire telemetry packets."}),(0,s.jsx)(t.td,{children:"Add an entire packet."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"DE-3"}),(0,s.jsx)(t.td,{children:"Data Extractor shall support adding entire telemetry targets."}),(0,s.jsx)(t.td,{children:"Add all packets for a target."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"DE-4"}),(0,s.jsx)(t.td,{children:"Data Extractor shall support selecting the value type to extract for each telemetry point (RAW, CONVERTED, FORMATTED, WITH_UNITS)"}),(0,s.jsx)(t.td,{children:"Click an item and change the value type."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"DE-5"}),(0,s.jsx)(t.td,{children:"Data Extractor shall support saving configurations."}),(0,s.jsx)(t.td,{children:"Select File->Save Config"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"DE-6"}),(0,s.jsx)(t.td,{children:"Data Extractor shall support loading configurations."}),(0,s.jsx)(t.td,{children:"Select File->Load Config"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"DE-7"}),(0,s.jsx)(t.td,{children:"Data Extractor shall support deleting items"}),(0,s.jsx)(t.td,{children:"Select an Item and press delete"})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"data-viewer",children:"Data Viewer"}),"\n",(0,s.jsx)(t.p,{children:"Data Viewer provides for textual display of telemetry packets where other display methods are not a good fit. It is especially useful for memory dumps and for log message type data display."}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Reqt. ID"}),(0,s.jsx)(t.th,{children:"Description"}),(0,s.jsx)(t.th,{children:"Test Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"DV-1"}),(0,s.jsx)(t.td,{children:"Data Viewer shall support realtime processing of telemetry packets."}),(0,s.jsx)(t.td,{children:"Press Start to start realtime processing."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"DV-2"}),(0,s.jsx)(t.td,{children:"Data Viewer shall support logged playback of telemetry packets."}),(0,s.jsx)(t.td,{children:"Select a time range to playback."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"DV-3"}),(0,s.jsx)(t.td,{children:"Data Viewer shall support textual display of telemetry packets."}),(0,s.jsx)(t.td,{children:"View the display of data."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"DV-4"}),(0,s.jsx)(t.td,{children:"Data Viewer shall support multiple tabs for data display."}),(0,s.jsx)(t.td,{children:"Switch between several tabs of data."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"DV-5"}),(0,s.jsx)(t.td,{children:"Data Viewer shall support deleting tabs."}),(0,s.jsx)(t.td,{children:"Delete a tab."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"calendar",children:"Calendar"}),"\n",(0,s.jsx)(t.p,{children:"The Calendar tool provides a user interface and API for initiating scheduled actions in COSMOS"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Reqt. ID"}),(0,s.jsx)(t.th,{children:"Description"}),(0,s.jsx)(t.th,{children:"Test Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TL-1"}),(0,s.jsx)(t.td,{children:"Calendar shall allow creating new timelines"}),(0,s.jsx)(t.td,{children:"Click the button and create a new timeline"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TL-2"}),(0,s.jsx)(t.td,{children:"Calendar shall allow scheduling commands for future execection"}),(0,s.jsx)(t.td,{children:"Add a command to a timeline"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TL-3"}),(0,s.jsx)(t.td,{children:"Calendar shall allow scheduling scripts for future execution"}),(0,s.jsx)(t.td,{children:"Add a script to a timeline"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TL-4"}),(0,s.jsx)(t.td,{children:"Calendar shall allow for reserving a resource"}),(0,s.jsx)(t.td,{children:"Add a reservation to a timeline"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TL-5"}),(0,s.jsx)(t.td,{children:"Calendar shall track success or failure of commands"}),(0,s.jsx)(t.td,{children:"Look at status from a completed command"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TL-6"}),(0,s.jsx)(t.td,{children:"Calendar shall track success or failure of scripts"}),(0,s.jsx)(t.td,{children:"Look at status from a completed script"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TL-7"}),(0,s.jsx)(t.td,{children:"Calendar shall allow deleting activities from timelines"}),(0,s.jsx)(t.td,{children:"Delete a preexisting item from a timeline"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TL-8"}),(0,s.jsx)(t.td,{children:"Calendar shall allow deleting timelines"}),(0,s.jsx)(t.td,{children:"Delete a timeline"})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"admin",children:"Admin"}),"\n",(0,s.jsx)(t.p,{children:"The Admin tool provides administrative functionality including managing plugins for the COSMOS system"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Reqt. ID"}),(0,s.jsx)(t.th,{children:"Description"}),(0,s.jsx)(t.th,{children:"Test Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"AD-1"}),(0,s.jsx)(t.td,{children:"The Admin Tool shall allow installing plugins"}),(0,s.jsx)(t.td,{children:"Upload and Install a Plugin"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"AD-2"}),(0,s.jsx)(t.td,{children:"The Admin Tool shall support upgrading plugins"}),(0,s.jsx)(t.td,{children:"Upgrade an installed plugin"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"AD-3"}),(0,s.jsx)(t.td,{children:"The Admin Tool shall support uninstalling plugins"}),(0,s.jsx)(t.td,{children:"Uninstall a plugin"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"AD-4"}),(0,s.jsx)(t.td,{children:"The Admin Tool shall display information on installed plugins"}),(0,s.jsx)(t.td,{children:"View info on Interfaces, Microservices, etc"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"AD-5"}),(0,s.jsx)(t.td,{children:"The Admin Tool shall support editing microservices"}),(0,s.jsx)(t.td,{children:"Edit the settings for a microservice"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"AD-6"}),(0,s.jsx)(t.td,{children:"The Admin Tool shall support discovery of plugins"}),(0,s.jsx)(t.td,{children:"Discover and download a plugin"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"AD-7"}),(0,s.jsx)(t.td,{children:"The Admin Tool shall support adding links to external tools"}),(0,s.jsx)(t.td,{children:"Add a link to Google"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"AD-8"}),(0,s.jsx)(t.td,{children:"The Admin Tool shall support reordering tools"}),(0,s.jsx)(t.td,{children:"Reorder tools on the tools tab"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"AD-9"}),(0,s.jsx)(t.td,{children:"The Admin Tool shall support configuring a classification bar"}),(0,s.jsx)(t.td,{children:"Add a classification bar on the settings tab"})]})]})]})]})}function o(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},126:(e,t,r)=>{r.d(t,{A:()=>s});const s=r.p+"assets/images/architecture-b78f12eba076a0c07af7abdd9dd4187c59aa6b4f5c51b47ad03f73e9f98a6ed6.png"},1184:(e,t,r)=>{r.d(t,{R:()=>d});var s=r(4041);const i={},n=s.createContext(i);function d(e){const t=s.useContext(n);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}}}]);
|
1
|
+
"use strict";(self.webpackChunkdocs_openc3_com=self.webpackChunkdocs_openc3_com||[]).push([[8353],{5445:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>a,contentTitle:()=>d,default:()=>o,frontMatter:()=>i,metadata:()=>l,toc:()=>c});var s=r(1085),n=r(1184);const i={sidebar_position:6,title:"Requirements and Design"},d=void 0,l={id:"getting-started/requirements",title:"Requirements and Design",description:"OpenC3 COSMOS is a command and control system providing commanding, scripting, and data visualization capabilities for embedded systems and systems of systems. COSMOS is intended for use during all phases of testing (board, box, integrated system) and during operations.",source:"@site/docs/getting-started/requirements.md",sourceDirName:"getting-started",slug:"/getting-started/requirements",permalink:"/tools/staticdocs/docs/getting-started/requirements",draft:!1,unlisted:!1,editUrl:"https://github.com/OpenC3/cosmos/tree/main/docs.openc3.com/docs/getting-started/requirements.md",tags:[],version:"current",sidebarPosition:6,frontMatter:{sidebar_position:6,title:"Requirements and Design"},sidebar:"defaultSidebar",previous:{title:"Key Concepts",permalink:"/tools/staticdocs/docs/getting-started/key_concepts"},next:{title:"Podman",permalink:"/tools/staticdocs/docs/getting-started/podman"}},a={},c=[{value:"Terminology",id:"terminology",level:2},{value:"Overall Architecture and Context Diagram",id:"overall-architecture-and-context-diagram",level:2},{value:"Overall Requirements",id:"overall-requirements",level:2},{value:"Api Requirements",id:"api-requirements",level:2},{value:"Command and Telemetry Server",id:"command-and-telemetry-server",level:2},{value:"Limits Monitor",id:"limits-monitor",level:2},{value:"Command Sender",id:"command-sender",level:2},{value:"Script Runner",id:"script-runner",level:2},{value:"Packet Viewer",id:"packet-viewer",level:2},{value:"Telemetry Viewer",id:"telemetry-viewer",level:2},{value:"Telemetry Grapher",id:"telemetry-grapher",level:2},{value:"Data Extractor",id:"data-extractor",level:2},{value:"Data Viewer",id:"data-viewer",level:2},{value:"Calendar",id:"calendar",level:2},{value:"Admin",id:"admin",level:2}];function h(e){const t={h2:"h2",img:"img",li:"li",ol:"ol",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,n.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.p,{children:"OpenC3 COSMOS is a command and control system providing commanding, scripting, and data visualization capabilities for embedded systems and systems of systems. COSMOS is intended for use during all phases of testing (board, box, integrated system) and during operations."}),"\n",(0,s.jsx)(t.p,{children:"COSMOS is currently made up of the following applications:"}),"\n",(0,s.jsxs)(t.ol,{children:["\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Command and Telemetry Server"})," - Provides status of realtime commanding, telemetry reception, logging, limits monitoring, and packet routing."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Limits Monitor"})," - Monitors telemetry with defined limits and shows items that currently are or have violated limits."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Command Sender"})," - Provides a graphical interface for manually sending individual commands."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Script Runner"})," - Executes scripts and provides highlighting of the currently executing line. Now also includes TestRunner functionality."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Packet Viewer"})," - Provides realtime visualization of every telemetry packet that has been defined."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Telemetry Viewer"})," - Provides custom telemetry screen functionality with advanced layout and visualization widgets."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Telemetry Grapher"})," - Provides realtime and offline graphing of telemetry data."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Data Extractor"})," - Extracts telemetry and command packet log files into CSV data."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Data Viewer"})," - Provides text based telemetry visualization for items."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Bucket Explorer"})," - Browse the COSMOS bucket storage in any cloud environment."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Table Manager"})," - Binary file editor with Script Runner integration for upload / download."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Handbooks"})," - Generate html page of the command and telemetry definitions."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Calendar"})," - Provides scheduling of commands and scripts. Also provides a framework for reserving resources."]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Admin"})," - Provides an administrative interface to COSMOS."]}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"More detailed descriptions, requirements, and design for each tool are found later in this document. Additionally, each of the above applications is built using COSMOS libraries that are available for use as a framework to develop custom program/project applications."}),"\n",(0,s.jsx)(t.h2,{id:"terminology",children:"Terminology"}),"\n",(0,s.jsx)(t.p,{children:"The COSMOS system uses several terms that are important to understand. The following table defines these terms."}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Term"}),(0,s.jsx)(t.th,{children:"Definition"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Target"}),(0,s.jsx)(t.td,{children:"A COSMOS target is an embedded system that the COSMOS Command and Telemetry Server connects to using an interface in order to send commands to and/or receive telemetry from."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Command"}),(0,s.jsx)(t.td,{children:"A packet of information telling a target to perform an action of some sort."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Telemetry Packet"}),(0,s.jsx)(t.td,{children:"A packet of information providing status from a target."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Interface"}),(0,s.jsx)(t.td,{children:"A Ruby class that knows how to send commands to and/or receive telemetry from a target. COSMOS comes with interfaces that support TCP/IP, UDP, and serial connections. Custom interfaces are easy to add to the system."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Ruby"}),(0,s.jsx)(t.td,{children:"The powerful dynamic programming language used to write the COSMOS applications and libraries as well as COSMOS scripts and test procedures."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Configuration Files"}),(0,s.jsx)(t.td,{children:"COSMOS uses simple plain text configuration files to define commands and telemetry packets, and to configure each COSMOS application. These files are easily human readable/editable and machine readable/editable."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Packet Log Files"}),(0,s.jsx)(t.td,{children:"Binary files containing either logged commands or telemetry packets."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Message Log Files"}),(0,s.jsx)(t.td,{children:"Text files containing messages generated by the system."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Tool"}),(0,s.jsx)(t.td,{children:"Another name for a COSMOS application."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"overall-architecture-and-context-diagram",children:"Overall Architecture and Context Diagram"}),"\n",(0,s.jsx)(t.p,{children:"The following diagram shows the COSMOS 5 architecture."}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.img,{alt:"COSMOS Architecture",src:r(126).A+"",width:"1155",height:"538"})}),"\n",(0,s.jsx)(t.p,{children:"Key aspects of this architecture:"}),"\n",(0,s.jsx)(t.p,{children:"COSMOS 5 is a cloud native, containerized, microservice oriented command and control system. All the COSMOS microservices are docker containers which is why Docker is shown containing the entire COSMOS system. The green boxes on the left represent external embedded systems (Targets) which COSMOS connects to. The Redis data store contains the configuration for all the microservices, the current value table, as well as data streams containing decommutated data. The Minio data store contains plugins, targets, configuration data, text logs as well as binary logs of all the raw, decommutated, and reduced data. Users interact with COSMOS from a web browser which routes through the internal Traefik load balancer."}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"COSMOS can connect to many different kinds of targets. The examples include things like Flight software (FSW), Ground Support Equipment (GSE), Labview, and COTS targets such as an Agilent power supply. Any embedded system that provides a communication interface can be connected to COSMOS."}),"\n",(0,s.jsx)(t.li,{children:"COSMOS ships with interfaces for connecting over TCP/IP, UDP, MQTT, and serial connections. This covers most systems, but custom interfaces can also be written to connect to anything."}),"\n",(0,s.jsx)(t.li,{children:"All realtime communication with targets flows through the COSMOS system. This ensures all commands and telemetry are logged."}),"\n",(0,s.jsx)(t.li,{children:"Every tool is configured with plain text configuration files."}),"\n",(0,s.jsx)(t.li,{children:"Program specific tools can be written using the COSMOS libraries that can interact with the realtime command and telemetry streams and can process logged data."}),"\n"]}),"\n",(0,s.jsx)(t.h2,{id:"overall-requirements",children:"Overall Requirements"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Reqt. ID"}),(0,s.jsx)(t.th,{children:"Description"}),(0,s.jsx)(t.th,{children:"Test Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"COSMOS-1"}),(0,s.jsx)(t.td,{children:"All COSMOS core functionality shall be containerized."}),(0,s.jsx)(t.td,{children:"Verify COSMOS is running in Docker"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"COSMOS-2"}),(0,s.jsx)(t.td,{children:"The COSMOS user interface shall be accessible from Chromium based web browsers"}),(0,s.jsx)(t.td,{children:"Open COSMOS in Chrome/Edge"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"COSMOS-3"}),(0,s.jsx)(t.td,{children:"The COSMOS user interface shall be accessible from the Firefox web browser"}),(0,s.jsx)(t.td,{children:"Open COSMOS in Firefox"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"COSMOS-4"}),(0,s.jsx)(t.td,{children:"COSMOS shall log all commands sent"}),(0,s.jsx)(t.td,{})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"COSMOS-5"}),(0,s.jsx)(t.td,{children:"COSMOS shall log all telemetry received"}),(0,s.jsx)(t.td,{})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"COSMOS-6"}),(0,s.jsx)(t.td,{children:"COSMOS shall decommutate all telemetry packets recieved"}),(0,s.jsx)(t.td,{})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"COSMOS-7"}),(0,s.jsx)(t.td,{children:"COSMOS shall support autonomously attempting to connect to targets."}),(0,s.jsx)(t.td,{children:"Verify targets are connected upon starting the CTS."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"COSMOS-8"}),(0,s.jsx)(t.td,{children:"COSMOS shall time stamp telemetry packets upon receipt."}),(0,s.jsx)(t.td,{children:"Verify logged packets are timestamped."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"COSMOS-9"}),(0,s.jsx)(t.td,{children:"COSMOS shall time stamp telemetry packets to a resolution of 1 millisecond or better. Note: This requirement only refers to resolution. COSMOS does not run on real-time operating systems and accuracy cannot be guaranteed."}),(0,s.jsx)(t.td,{children:"View time stamps in log."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"COSMOS-10"}),(0,s.jsx)(t.td,{children:"COSMOS shall time stamp received telemetry with a UTC timestamp."}),(0,s.jsx)(t.td,{children:"Verify logged time stamps are as expected."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"COSMOS-11"}),(0,s.jsx)(t.td,{children:"COSMOS shall maintain a timestamped log of commands received, limits violations, and errors encountered."}),(0,s.jsx)(t.td,{children:"View COSMOS message log."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"api-requirements",children:"Api Requirements"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Reqt. ID"}),(0,s.jsx)(t.th,{children:"Description"}),(0,s.jsx)(t.th,{children:"Test Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"API-1"}),(0,s.jsx)(t.td,{children:"The COSMOS API shall allow scripted connection and disconnection of interfaces."}),(0,s.jsx)(t.td,{children:"Disconnect and connect an interface from a script."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"API-2"}),(0,s.jsx)(t.td,{children:"The COSMOS API shall allow scripted connection and disconnection of routers."}),(0,s.jsx)(t.td,{children:"Disconnect and connect a router from a script."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"API-3"}),(0,s.jsx)(t.td,{children:"The COSMOS API shall allow scripted setting of the current limits set."}),(0,s.jsx)(t.td,{children:"Select a different limits set from a script."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"API-4"}),(0,s.jsx)(t.td,{children:"The COSMOS API shall allow commanding of targets"}),(0,s.jsx)(t.td,{children:"Send a command"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"API-5"}),(0,s.jsx)(t.td,{children:"The COSMOS API shall allow reading the current value of any telemetry item"}),(0,s.jsx)(t.td,{children:"Read a telemetry point"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"API-6"}),(0,s.jsx)(t.td,{children:"The COSMOS API shall allow streaming realtime and logged telemetry packets"}),(0,s.jsx)(t.td,{children:"Stream telemetry packets"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"API-7"}),(0,s.jsx)(t.td,{children:"The COSMOS API shall allow streaming realtime and logged command packets"}),(0,s.jsx)(t.td,{children:"Stream command packets"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"API-8"}),(0,s.jsx)(t.td,{children:"The COSMOS API shall allow starting COSMOS scripts"}),(0,s.jsx)(t.td,{children:"Start a script using the API"})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"command-and-telemetry-server",children:"Command and Telemetry Server"}),"\n",(0,s.jsx)(t.p,{children:"The Command and Telemetry server provides status on the the overall COSMOS installation for a specific scope."}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Reqt. ID"}),(0,s.jsx)(t.th,{children:"Description"}),(0,s.jsx)(t.th,{children:"Test Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CTS-1"}),(0,s.jsx)(t.td,{children:"The Command and Telemetry Server shall display a list of all interfaces."}),(0,s.jsx)(t.td,{children:"View the Interfaces tab."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CTS-2"}),(0,s.jsx)(t.td,{children:"The Command and Telemetry Server shall allow manual connection and disconnection of interfaces."}),(0,s.jsx)(t.td,{children:"Press a GUI button to disconnect and connect an interface."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CTS-3"}),(0,s.jsx)(t.td,{children:"The Command and Telemetry Server shall display a list of all targets."}),(0,s.jsx)(t.td,{children:"View the Targets tab."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CTS-4"}),(0,s.jsx)(t.td,{children:"The Command and Telemetry Server shall display a list of known commands."}),(0,s.jsx)(t.td,{children:"View the Cmd Packets tab."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CTS-5"}),(0,s.jsx)(t.td,{children:"The Command and Telemetry Server shall display raw command data for the most recent command received."}),(0,s.jsx)(t.td,{children:"View the Cmd Packets tab and click the View Raw button for a command."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CTS-6"}),(0,s.jsx)(t.td,{children:"The Command and Telemetry Server shall display a list of known telemetry packets."}),(0,s.jsx)(t.td,{children:"View the Tlm Packets tab."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CTS-7"}),(0,s.jsx)(t.td,{children:"The Command and Telemetry Server shall display raw telemetry packet data for the most recent telemetry packet received."}),(0,s.jsx)(t.td,{children:"View the Tlm Packets tab and click the View Raw button for a telemetry packet."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CTS-8"}),(0,s.jsx)(t.td,{children:"The Command and Telemetry Server shall display a list of all routers."}),(0,s.jsx)(t.td,{children:"View the Routers tab."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CTS-9"}),(0,s.jsx)(t.td,{children:"The Command and Telemetry Server shall allow manual connection and disconnection of routers."}),(0,s.jsx)(t.td,{children:"Press a GUI button to disconnect and connect a router."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CTS-10"}),(0,s.jsx)(t.td,{children:"The Command and Telemetry Server shall allow manually setting the current limits set."}),(0,s.jsx)(t.td,{children:"Select a different limits set from the combobox."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CTS-11"}),(0,s.jsx)(t.td,{children:"The Command and Telemetry Server shall support opening telemetry packets in Packet Viewer."}),(0,s.jsx)(t.td,{children:"On the Tlm Packets tab click View in Packet Viewer for a telemetry packet."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CTS-12"}),(0,s.jsx)(t.td,{children:"The Command and Telemetry Server shall display time stamps in local time."}),(0,s.jsx)(t.td,{children:"View time stamps in log."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"limits-monitor",children:"Limits Monitor"}),"\n",(0,s.jsx)(t.p,{children:"Limits Monitor displays all telemetry points that are currently out of limits and also shows any telemetry points that have gone out of limits since Limits Monitor was started."}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Reqt. ID"}),(0,s.jsx)(t.th,{children:"Description"}),(0,s.jsx)(t.th,{children:"Test Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"LM-1"}),(0,s.jsx)(t.td,{children:"Limits Monitor shall display all telemetry points currently out of limits."}),(0,s.jsx)(t.td,{children:"View displayed telemetry points."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"LM-2"}),(0,s.jsx)(t.td,{children:"Limits Monitor shall support ignoring telemetry points."}),(0,s.jsx)(t.td,{children:"Click ignore on a telemetry point."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"LM-3"}),(0,s.jsx)(t.td,{children:"Limits Monitor shall keep a displayed log of limits violations."}),(0,s.jsx)(t.td,{children:"View the log tab."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"LM-4"}),(0,s.jsx)(t.td,{children:"Limits Monitor shall continue displaying a telemetry point that temporarily went out of limits."}),(0,s.jsx)(t.td,{children:"Watch until a telemetry points returns to green."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"LM-5"}),(0,s.jsx)(t.td,{children:"Limits Monitor shall support saving its configuration."}),(0,s.jsx)(t.td,{children:"Save the configuration."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"LM-6"}),(0,s.jsx)(t.td,{children:"Limits Monitor shall support loading its configuration."}),(0,s.jsx)(t.td,{children:"Load the configuration."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"command-sender",children:"Command Sender"}),"\n",(0,s.jsx)(t.p,{children:"Command Sender provides an easy method to send single commands to targets. The graphical user interface provides simple dropdowns to quickly select the desired command to send organized by target name and command name. After the user has selected the command, they then fill in the desired command parameters and click send to send the command to the target."}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Reqt. ID"}),(0,s.jsx)(t.th,{children:"Description"}),(0,s.jsx)(t.th,{children:"Test Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CMD-1"}),(0,s.jsx)(t.td,{children:"Command Sender shall allow selection of a command by target name and packet name."}),(0,s.jsx)(t.td,{children:"Select a specific command by target name and packet name in the drop down menus."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CMD-2"}),(0,s.jsx)(t.td,{children:"Command Sender shall allow sending the selected command."}),(0,s.jsx)(t.td,{children:"Send the selected command by pressing the Send button."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CMD-3"}),(0,s.jsx)(t.td,{children:"Command Sender shall display non-ignored parameters for the selected command."}),(0,s.jsx)(t.td,{children:"Select a specific command and verify the expected parameters are shown."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CMD-4"}),(0,s.jsx)(t.td,{children:"Command Sender shall provide a mechanism to select state values for command parameters with states."}),(0,s.jsx)(t.td,{children:"Select a specific state value for a specific command with states."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CMD-5"}),(0,s.jsx)(t.td,{children:"Command Sender shall allow sending a manually entered value for a command parameter with states."}),(0,s.jsx)(t.td,{children:"Manually enter a value for a specific command with states."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CMD-6"}),(0,s.jsx)(t.td,{children:"Command Sender shall refuse to send commands if required parameters are not provided."}),(0,s.jsx)(t.td,{children:"Attempt to send a command with a required parameter not filled out."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CMD-7"}),(0,s.jsx)(t.td,{children:"Command Sender shall support sending commands while ignoring range checking."}),(0,s.jsx)(t.td,{children:"Enter Ignore Range Checking mode and then send a command with an out of range parameter."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CMD-8"}),(0,s.jsx)(t.td,{children:"Command Sender shall optionally display state values in hex."}),(0,s.jsx)(t.td,{children:'Enter "Display State Values in Hex" mode and verify state values are displayed as hex.'})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CMD-9"}),(0,s.jsx)(t.td,{children:"Command Sender shall optionally display ignored command parameters."}),(0,s.jsx)(t.td,{children:'Enter "Show Ignored Parameters" mode and verify ignored parameters are displayed.'})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CMD-10"}),(0,s.jsx)(t.td,{children:"Command Sender shall respect hazardous commands and notify the user before proceeding."}),(0,s.jsx)(t.td,{children:"Send a hazardous command and verify a dialog box appears before the command is sent. Verify both accepting the dialog and declining to send."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CMD-11"}),(0,s.jsx)(t.td,{children:"Command Sender shall keep a command history of each command sent."}),(0,s.jsx)(t.td,{children:"Send a command and verify that it shows up in the command history box."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"CMD-12"}),(0,s.jsx)(t.td,{children:"Command Sender shall allow resending of any command in the command history."}),(0,s.jsx)(t.td,{children:"Resend one of the commands in the command history box."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"script-runner",children:"Script Runner"}),"\n",(0,s.jsx)(t.p,{children:"Script Runner provides a visual interface for editing and executing scripts/procedures. A full featured text editor provides syntax highlighting and code completion while developing scripts. During script execution, the currently executing line is highlighted and any logged messages are highlighted to the user. If any failure occurs, the script is paused and the user alerted. The user can then decide whether to stop the script, or ignore the failure and continue. The user can also retry the failed lines, or other nearby lines before proceeding."}),"\n",(0,s.jsx)(t.p,{children:"Script Runner now also provides a structured methodology for designing system level scripting that mirrors the very successful pattern used in software unit tests (previously implemented in the Test Runner tool). System level tests/procedures are built up of cases that are organized into groups. For example, you might have one group that verified all of the requirements associated with a particular mechanism. Ideally you would break this down into individual cases for different scenarios. One perhaps for opening a shutter, another for closing it, etc. Cases are ideally small and independent tasks. A number of these groups are then combined into an overall suite which would be run to execute a major test such as EMI, or software FQT."}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Reqt. ID"}),(0,s.jsx)(t.th,{children:"Description"}),(0,s.jsx)(t.th,{children:"Test Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-1"}),(0,s.jsx)(t.td,{children:"Script Runner shall provide a text editor for developing test scripts."}),(0,s.jsx)(t.td,{children:"Open Script Runner and create a simple test script. Perform all standard file operations including New, Open, Reload, Close, Save, and Save As. Perform all standard editing operations such as Cut, Copy, Paste, Undo, Redo, Select All, and Comment/Uncomment lines."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-2"}),(0,s.jsx)(t.td,{children:"Script Runner shall provide search and replace functionality."}),(0,s.jsx)(t.td,{children:"Perform all standard search and replace functionality, including search, replace, find next, and find previous."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-3"}),(0,s.jsx)(t.td,{children:"Script Runner shall provide code completion for cmd(), tlm(), and wait_check() COSMOS API methods. Note: Other methods may also be supported."}),(0,s.jsx)(t.td,{children:"Create a script and exercise code completion on the mentioned keywords."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-4"}),(0,s.jsx)(t.td,{children:"Script Runner shall execute Ruby-based COSMOS scripts."}),(0,s.jsx)(t.td,{children:"Press start and execute a script."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-5"}),(0,s.jsx)(t.td,{children:"Script Runner shall highlight the currently executing line of the script."}),(0,s.jsx)(t.td,{children:"Verify that lines are highlighted as a test script executes."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-6"}),(0,s.jsx)(t.td,{children:"Script Runner shall allow pausing an executing script."}),(0,s.jsx)(t.td,{children:"Press pause button and verify script is paused. Press start to resume."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-7"}),(0,s.jsx)(t.td,{children:"Script Runner shall allow stopping an executing script."}),(0,s.jsx)(t.td,{children:"Press stop and verify script stops."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-8"}),(0,s.jsx)(t.td,{children:"Script Runner shall pause an executing script upon the occurance of an error."}),(0,s.jsx)(t.td,{children:"Create a script with a statement that is guaranteed to fail and verify that the script is paused."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-9"}),(0,s.jsx)(t.td,{children:"Script Runner shall log commands sent."}),(0,s.jsx)(t.td,{children:"Execute a script that sends a command and verify it is logged."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-10"}),(0,s.jsx)(t.td,{children:"Script Runner shall log text written to STDOUT. Note: Typically through the puts method."}),(0,s.jsx)(t.td,{children:"Execute a script that uses puts to write a message and verify it is logged."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-11"}),(0,s.jsx)(t.td,{children:"Script Runner shall log wait times."}),(0,s.jsx)(t.td,{children:"Execute a script that includes a wait method and verify wait time is logged."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-12"}),(0,s.jsx)(t.td,{children:"Script Runner shall log errors that occur while the script is executing."}),(0,s.jsx)(t.td,{children:"Create a script with a check statement that is guaranteed to fail and verify it is logged."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-13"}),(0,s.jsx)(t.td,{children:"Script Runner shall log check statement success and failure."}),(0,s.jsx)(t.td,{children:"Create a script with a check statement that is guaranteed to fail and one that is guaranteed to succeeed. Verify both the success and failure are logged."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-14"}),(0,s.jsx)(t.td,{children:"Script Runner shall support executing selected lines."}),(0,s.jsx)(t.td,{children:"Select a set of lines and execute them using Script->Execute Selected Lines."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-15"}),(0,s.jsx)(t.td,{children:"Script Runner shall support executing selected lines while paused."}),(0,s.jsx)(t.td,{children:"Select a set of lines and execute them from the right-click context menu."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-16"}),(0,s.jsx)(t.td,{children:"Script Runner shall support starting a script from any line."}),(0,s.jsx)(t.td,{children:"Place the mouse cursor at the desired first line and then select Script->Execute From Cursor."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-17"}),(0,s.jsx)(t.td,{children:"Script Runner shall support a mnemonic checking function."}),(0,s.jsx)(t.td,{children:"Select Script->Mnemonic Check."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-18"}),(0,s.jsx)(t.td,{children:"Script Runner shall support a syntax checking function."}),(0,s.jsx)(t.td,{children:"Select Script->Ruby Syntax Check."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-19"}),(0,s.jsx)(t.td,{children:"Script Runner shall support viewing the script instrumentation."}),(0,s.jsx)(t.td,{children:"Select Script->View Instrumented Script."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-20"}),(0,s.jsx)(t.td,{children:"Script Runner shall support an disconnected mode to allow for executing scripts without a connection to the Command and Telemetry Server."}),(0,s.jsx)(t.td,{children:"Select Script->Toggle Disconnect. Execute a script with commands and check statements and verify that it runs to completion."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-21"}),(0,s.jsx)(t.td,{children:"Script Runner shall support a Debug terminal to aid in debugging scripts."}),(0,s.jsx)(t.td,{children:"Select Script->Toggle Debug."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-22"}),(0,s.jsx)(t.td,{children:"Script Runner shall support a step mode where the script will stop and wait for use interaction after each line."}),(0,s.jsx)(t.td,{children:"Press Step to progress through the script."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-23"}),(0,s.jsx)(t.td,{children:"Script Runner shall support breakpoint functionality."}),(0,s.jsx)(t.td,{children:"Create a breakpoint then execute the script and verify it stops at the specified line."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-25"}),(0,s.jsx)(t.td,{children:"Script Runner Suite Mode shall support executing individual test suites."}),(0,s.jsx)(t.td,{children:"Execute an individual test suite."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-26"}),(0,s.jsx)(t.td,{children:"Script Runner Suite Mode shall support executing individual test groups."}),(0,s.jsx)(t.td,{children:"Execute an individual test group."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-27"}),(0,s.jsx)(t.td,{children:"Script Runner Suite Mode shall support executing individual test cases."}),(0,s.jsx)(t.td,{children:"Execute an individual test case."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-28"}),(0,s.jsx)(t.td,{children:"Script Runner Suite Mode shall support executing test group setup and teardown methods individually."}),(0,s.jsx)(t.td,{children:"Execute a test group setup. Execute a test group teardown."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-29"}),(0,s.jsx)(t.td,{children:"Script Runner Suite Mode shall support executing test suite setup and teardown methods individually."}),(0,s.jsx)(t.td,{children:"Execute a test suite setup. Execute a test suite teardown."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-30"}),(0,s.jsx)(t.td,{children:"Script Runner Suite Mode shall create a report after executing any suite test."}),(0,s.jsx)(t.td,{children:"Verify a report is generated after executing a suite."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-31"}),(0,s.jsx)(t.td,{children:"Script Runner Suite Mode shall support pausing when an error occurs."}),(0,s.jsx)(t.td,{children:"Execute a test script with the pause on error box checked and without."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-32"}),(0,s.jsx)(t.td,{children:"Script Runner Suite Mode shall support allowing the user to proceed on an error."}),(0,s.jsx)(t.td,{children:"Execute a test script with the Allow go/retry on error box checked and without."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-33"}),(0,s.jsx)(t.td,{children:"Script Runner Suite Mode shall support aborting execution on an error."}),(0,s.jsx)(t.td,{children:"Execute a test script with the abort on error box checked and without."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-34"}),(0,s.jsx)(t.td,{children:"Script Runner Suite Mode shall support looping a test."}),(0,s.jsx)(t.td,{children:"Execute a test script with the loop testing box checked and without."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-35"}),(0,s.jsx)(t.td,{children:"Script Runner Suite Mode shall support breaking the looping of a test on error."}),(0,s.jsx)(t.td,{children:"Execute a test script with the break loop on error box checked and without."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-36"}),(0,s.jsx)(t.td,{children:"Script Runner Suite Mode shall support a user readable flag indicating that loop testing is occurring."}),(0,s.jsx)(t.td,{children:"Execute a test script that checks the $loop_testing variable while looping and again while not looping."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"SR-37"}),(0,s.jsx)(t.td,{children:"Script Runner Suite Mode shall support a user readable flag indicating manual operations are desired."}),(0,s.jsx)(t.td,{children:"Execute a test script with the manual box checked and without."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"packet-viewer",children:"Packet Viewer"}),"\n",(0,s.jsx)(t.p,{children:"Packet Viewer provides a simple tool to view the realtime contents of any telemetry packet defined in the system in a tabular, key-value format."}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Reqt. ID"}),(0,s.jsx)(t.th,{children:"Description"}),(0,s.jsx)(t.th,{children:"Test Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"PV-1"}),(0,s.jsx)(t.td,{children:"Packet Viewer shall allow selection of a telemetry packet by target name and packet name."}),(0,s.jsx)(t.td,{children:"Select a specific telemetry packet by target name and packet name in the drop down menus."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"PV-2"}),(0,s.jsx)(t.td,{children:"Packet Viewer shall display the contents of the selected telemetry packet."}),(0,s.jsx)(t.td,{children:"Ensure all items of the selected telemetry packet are displayed and updating."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"PV-3"}),(0,s.jsx)(t.td,{children:"Packet Viewer shall provide a mechanism to get detailed information on a telemetry item."}),(0,s.jsx)(t.td,{children:'Right click on a telemetry item and select "Details" from the context menu.'})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"PV-4"}),(0,s.jsx)(t.td,{children:"Packet Viewer shall provide a mechanism to view a graph of any telemetry item."}),(0,s.jsx)(t.td,{children:'Right click on a telemetry item and select "Graph" from the context menu.'})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"PV-5"}),(0,s.jsx)(t.td,{children:"Packet Viewer shall color telemetry values based upon limits state."}),(0,s.jsx)(t.td,{children:"View a packet with items containing limits and verify they are colored."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"PV-6"}),(0,s.jsx)(t.td,{children:"Packet Viewer shall support a configurable polling rate."}),(0,s.jsx)(t.td,{children:"Select File->Options and change the polling rate."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"PV-7"}),(0,s.jsx)(t.td,{children:"Packet Viewer shall support a color-blind mode to allow distinguishing limits states for those who are color blind."}),(0,s.jsx)(t.td,{children:"Select View->Color Blind Mode and verify that items with limits are also displayed with a textual indication of limits state color."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"PV-8"}),(0,s.jsx)(t.td,{children:"Packet Viewer shall support displaying telemetry in each of the four COSMOS value types (raw, converted, formatted, and formatted with units)"}),(0,s.jsx)(t.td,{children:"In the View menu, select each of the four value types and verify values are displayed accordingly."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"telemetry-viewer",children:"Telemetry Viewer"}),"\n",(0,s.jsx)(t.p,{children:'Telemetry Viewer provides a way to organize telemetry points into custom "screens" that allow for the creation of unique and organized views of telemetry data. Screens are made up of widgets or small GUI components that display telemetry in unique ways.'}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Reqt. ID"}),(0,s.jsx)(t.th,{children:"Description"}),(0,s.jsx)(t.th,{children:"Test Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TV-1"}),(0,s.jsx)(t.td,{children:"Telemetry Viewer shall display user-defined telemetry screens."}),(0,s.jsx)(t.td,{children:"Open a telemetry"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TV-2"}),(0,s.jsx)(t.td,{children:"Telemetry Viewer shall display realtime data."}),(0,s.jsx)(t.td,{children:"Verify telemetry screens show realtime data."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TV-3"}),(0,s.jsx)(t.td,{children:"Telemetry Viewer shall support saving open telemetry screens and their positions."}),(0,s.jsx)(t.td,{children:"Open three telemetry screens and then select File->Save Configuration."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"telemetry-grapher",children:"Telemetry Grapher"}),"\n",(0,s.jsx)(t.p,{children:"Telemetry Grapher performs graphing of telemetry points in both realtime and log file playback."}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Reqt. ID"}),(0,s.jsx)(t.th,{children:"Description"}),(0,s.jsx)(t.th,{children:"Test Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TG-1"}),(0,s.jsx)(t.td,{children:"Telemetry Grapher shall provide line graphs of telemetry points."}),(0,s.jsx)(t.td,{children:"Add several housekeeping data objects to a plot."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TG-2"}),(0,s.jsx)(t.td,{children:"Telemetry Grapher shall support realtime graphing of telemetry."}),(0,s.jsx)(t.td,{children:"Press Start to start realtime graphing."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TG-3"}),(0,s.jsx)(t.td,{children:"Telemetry Grapher shall support graphing data from logged telemetry."}),(0,s.jsx)(t.td,{children:"Select the menu option to graph data from a logged data"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TG-4"}),(0,s.jsx)(t.td,{children:"Telemetry Grapher shall support multiple plots per browser tab."}),(0,s.jsx)(t.td,{children:"Add multiple plots."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TG-5"}),(0,s.jsx)(t.td,{children:"Telemetry Grapher shall support multiple telemetry points per plot."}),(0,s.jsx)(t.td,{children:"Add multiple data objects to one plot."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TG-6"}),(0,s.jsx)(t.td,{children:"Telemetry Grapher shall support saving a variable number of data points."}),(0,s.jsx)(t.td,{children:"Edit Points Saved."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TG-7"}),(0,s.jsx)(t.td,{children:"Telemetry Grapher shall support graphing a variable duration of time."}),(0,s.jsx)(t.td,{children:"Edit Seconds Plotted."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TG-8"}),(0,s.jsx)(t.td,{children:"Telemetry Grapher shall support graphing a variable number of data points."}),(0,s.jsx)(t.td,{children:"Edit Points Plotted."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TG-9"}),(0,s.jsx)(t.td,{children:"Telemetry Grapher shall support saving its configuration."}),(0,s.jsx)(t.td,{children:"Save the current configuration."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TG-10"}),(0,s.jsx)(t.td,{children:"Telemetry Grapher shall support loading its configuration."}),(0,s.jsx)(t.td,{children:"Load the previously saved configuration."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"data-extractor",children:"Data Extractor"}),"\n",(0,s.jsx)(t.p,{children:"Data Extractor processes logged data and extracts data into a CSV format for analysis in Excel or other tools."}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Reqt. ID"}),(0,s.jsx)(t.th,{children:"Description"}),(0,s.jsx)(t.th,{children:"Test Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"DE-1"}),(0,s.jsx)(t.td,{children:"Data Extractor shall support adding individual telemetry points."}),(0,s.jsx)(t.td,{children:"Add an individual telemetry point."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"DE-2"}),(0,s.jsx)(t.td,{children:"Data Extractor shall support adding entire telemetry packets."}),(0,s.jsx)(t.td,{children:"Add an entire packet."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"DE-3"}),(0,s.jsx)(t.td,{children:"Data Extractor shall support adding entire telemetry targets."}),(0,s.jsx)(t.td,{children:"Add all packets for a target."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"DE-4"}),(0,s.jsx)(t.td,{children:"Data Extractor shall support selecting the value type to extract for each telemetry point (RAW, CONVERTED, FORMATTED, WITH_UNITS)"}),(0,s.jsx)(t.td,{children:"Click an item and change the value type."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"DE-5"}),(0,s.jsx)(t.td,{children:"Data Extractor shall support saving configurations."}),(0,s.jsx)(t.td,{children:"Select File->Save Config"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"DE-6"}),(0,s.jsx)(t.td,{children:"Data Extractor shall support loading configurations."}),(0,s.jsx)(t.td,{children:"Select File->Load Config"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"DE-7"}),(0,s.jsx)(t.td,{children:"Data Extractor shall support deleting items"}),(0,s.jsx)(t.td,{children:"Select an Item and press delete"})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"data-viewer",children:"Data Viewer"}),"\n",(0,s.jsx)(t.p,{children:"Data Viewer provides for textual display of telemetry packets where other display methods are not a good fit. It is especially useful for memory dumps and for log message type data display."}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Reqt. ID"}),(0,s.jsx)(t.th,{children:"Description"}),(0,s.jsx)(t.th,{children:"Test Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"DV-1"}),(0,s.jsx)(t.td,{children:"Data Viewer shall support realtime processing of telemetry packets."}),(0,s.jsx)(t.td,{children:"Press Start to start realtime processing."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"DV-2"}),(0,s.jsx)(t.td,{children:"Data Viewer shall support logged playback of telemetry packets."}),(0,s.jsx)(t.td,{children:"Select a time range to playback."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"DV-3"}),(0,s.jsx)(t.td,{children:"Data Viewer shall support textual display of telemetry packets."}),(0,s.jsx)(t.td,{children:"View the display of data."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"DV-4"}),(0,s.jsx)(t.td,{children:"Data Viewer shall support multiple tabs for data display."}),(0,s.jsx)(t.td,{children:"Switch between several tabs of data."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"DV-5"}),(0,s.jsx)(t.td,{children:"Data Viewer shall support deleting tabs."}),(0,s.jsx)(t.td,{children:"Delete a tab."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"calendar",children:"Calendar"}),"\n",(0,s.jsx)(t.p,{children:"The Calendar tool provides a user interface and API for initiating scheduled actions in COSMOS"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Reqt. ID"}),(0,s.jsx)(t.th,{children:"Description"}),(0,s.jsx)(t.th,{children:"Test Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TL-1"}),(0,s.jsx)(t.td,{children:"Calendar shall allow creating new timelines"}),(0,s.jsx)(t.td,{children:"Click the button and create a new timeline"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TL-2"}),(0,s.jsx)(t.td,{children:"Calendar shall allow scheduling commands for future execection"}),(0,s.jsx)(t.td,{children:"Add a command to a timeline"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TL-3"}),(0,s.jsx)(t.td,{children:"Calendar shall allow scheduling scripts for future execution"}),(0,s.jsx)(t.td,{children:"Add a script to a timeline"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TL-4"}),(0,s.jsx)(t.td,{children:"Calendar shall allow for reserving a resource"}),(0,s.jsx)(t.td,{children:"Add a reservation to a timeline"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TL-5"}),(0,s.jsx)(t.td,{children:"Calendar shall track success or failure of commands"}),(0,s.jsx)(t.td,{children:"Look at status from a completed command"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TL-6"}),(0,s.jsx)(t.td,{children:"Calendar shall track success or failure of scripts"}),(0,s.jsx)(t.td,{children:"Look at status from a completed script"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TL-7"}),(0,s.jsx)(t.td,{children:"Calendar shall allow deleting activities from timelines"}),(0,s.jsx)(t.td,{children:"Delete a preexisting item from a timeline"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"TL-8"}),(0,s.jsx)(t.td,{children:"Calendar shall allow deleting timelines"}),(0,s.jsx)(t.td,{children:"Delete a timeline"})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"admin",children:"Admin"}),"\n",(0,s.jsx)(t.p,{children:"The Admin tool provides administrative functionality including managing plugins for the COSMOS system"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Reqt. ID"}),(0,s.jsx)(t.th,{children:"Description"}),(0,s.jsx)(t.th,{children:"Test Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"AD-1"}),(0,s.jsx)(t.td,{children:"The Admin Tool shall allow installing plugins"}),(0,s.jsx)(t.td,{children:"Upload and Install a Plugin"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"AD-2"}),(0,s.jsx)(t.td,{children:"The Admin Tool shall support upgrading plugins"}),(0,s.jsx)(t.td,{children:"Upgrade an installed plugin"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"AD-3"}),(0,s.jsx)(t.td,{children:"The Admin Tool shall support uninstalling plugins"}),(0,s.jsx)(t.td,{children:"Uninstall a plugin"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"AD-4"}),(0,s.jsx)(t.td,{children:"The Admin Tool shall display information on installed plugins"}),(0,s.jsx)(t.td,{children:"View info on Interfaces, Microservices, etc"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"AD-5"}),(0,s.jsx)(t.td,{children:"The Admin Tool shall support editing microservices"}),(0,s.jsx)(t.td,{children:"Edit the settings for a microservice"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"AD-6"}),(0,s.jsx)(t.td,{children:"The Admin Tool shall support discovery of plugins"}),(0,s.jsx)(t.td,{children:"Discover and download a plugin"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"AD-7"}),(0,s.jsx)(t.td,{children:"The Admin Tool shall support adding links to external tools"}),(0,s.jsx)(t.td,{children:"Add a link to Google"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"AD-8"}),(0,s.jsx)(t.td,{children:"The Admin Tool shall support reordering tools"}),(0,s.jsx)(t.td,{children:"Reorder tools on the tools tab"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"AD-9"}),(0,s.jsx)(t.td,{children:"The Admin Tool shall support configuring a classification bar"}),(0,s.jsx)(t.td,{children:"Add a classification bar on the settings tab"})]})]})]})]})}function o(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},126:(e,t,r)=>{r.d(t,{A:()=>s});const s=r.p+"assets/images/architecture-b78f12eba076a0c07af7abdd9dd4187c59aa6b4f5c51b47ad03f73e9f98a6ed6.png"},1184:(e,t,r)=>{r.d(t,{R:()=>d,x:()=>l});var s=r(4041);const n={},i=s.createContext(n);function d(e){const t=s.useContext(i);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:d(e.components),s.createElement(i.Provider,{value:t},e.children)}}}]);
|