docs/assets/js/6831b732.1686d1fc.js
"use strict";(self.webpackChunkdocs_openc3_com=self.webpackChunkdocs_openc3_com||[]).push([[9527],{2124:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>c,contentTitle:()=>l,default:()=>a,frontMatter:()=>t,metadata:()=>d,toc:()=>h});var i=n(4848),s=n(8453);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:"/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:"/docs/configuration/format"},next:{title:"Targets",permalink:"/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 Kubernetes 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:"/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 inadvertently 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:"/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:"/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 starting at 2 (1 is reserved for Admin Console). Tools without a position are appended to the end as they are installed. All COSMOS open source tools have consecutive integer values for position."}),"\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.jsxs)(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 will 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:"/docs/guides/custom-widgets",children:"Custom Widgets"})," guide for more details."]}),(0,i.jsx)(r.td,{children:"True"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:"Label"}),(0,i.jsx)(r.td,{children:"The label for the widget that will appear in the Data Viewer component drop down"}),(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:"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)}},8453:(e,r,n)=>{n.d(r,{R:()=>l,x:()=>d});var i=n(6540);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)}}}]);