Skip to content

Commit

Permalink
Add showSchema command and schema event to ScriptQueue
Browse files Browse the repository at this point in the history
  • Loading branch information
r-owen committed Jun 17, 2019
1 parent 3c5799d commit 5445a9c
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 2 deletions.
29 changes: 27 additions & 2 deletions sal_interfaces/ScriptQueue/ScriptQueue_Commands.xml
Expand Up @@ -23,6 +23,33 @@
<Count>1</Count>
</item>
</SALCommand>
<SALCommand>
<Subsystem>ScriptQueue</Subsystem>
<Version>1.0.0</Version>
<Author></Author>
<EFDB_Topic>ScriptQueue_command_showSchema</EFDB_Topic>
<Alias>showSchema</Alias>
<Device></Device>
<Property></Property>
<Action></Action>
<Value></Value>
<Explanation>Show the configuration schema for a given script.</Explanation>
<item>
<EFDB_Name>isStandard</EFDB_Name>
<Description>Is this a standard script (True) or an external script (False)?</Description>
<IDL_Type>boolean</IDL_Type>
<Units></Units>
<Count>1</Count>
</item>
<item>
<EFDB_Name>path</EFDB_Name>
<Description>Path to script, relative to the root directory for standard or external scripts.</Description>
<IDL_Type>string</IDL_Type>
<IDL_Size>1</IDL_Size>
<Units></Units>
<Count>1</Count>
</item>
</SALCommand>
<SALCommand>
<Subsystem>ScriptQueue</Subsystem>
<Version>1.0.0</Version>
Expand Down Expand Up @@ -61,7 +88,6 @@
<Count>1</Count>
</item>
</SALCommand>

<SALCommand>
<Subsystem>ScriptQueue</Subsystem>
<Version>1.0.0</Version>
Expand Down Expand Up @@ -100,7 +126,6 @@
<Count>1</Count>
</item>
</SALCommand>

<SALCommand>
<Subsystem>ScriptQueue</Subsystem>
<Version>1.0.0</Version>
Expand Down
31 changes: 31 additions & 0 deletions sal_interfaces/ScriptQueue/ScriptQueue_Events.xml
Expand Up @@ -44,6 +44,37 @@
<Count>1</Count>
</item>
</SALEvent>
<SALEvent>
<Subsystem>ScriptQueue</Subsystem>
<Version>1.0.0</Version>
<Author></Author>
<EFDB_Topic>ScriptQueue_logevent_configSchema</EFDB_Topic>
<Alias>configSchema</Alias>
<Explanation>Configuration schema for a given script.</Explanation>
<item>
<EFDB_Name>isStandard</EFDB_Name>
<Description>Is this a standard script (True) or an external script (False)?</Description>
<IDL_Type>boolean</IDL_Type>
<Units></Units>
<Count>1</Count>
</item>
<item>
<EFDB_Name>path</EFDB_Name>
<Description>Path to script, relative to the root directory for standard or external scripts.</Description>
<IDL_Type>string</IDL_Type>
<IDL_Size>1</IDL_Size>
<Units></Units>
<Count>1</Count>
</item>
<item>
<EFDB_Name>configSchema</EFDB_Name>
<Description>Configuration schema: jsonschema encoded as yaml.</Description>
<IDL_Type>string</IDL_Type>
<IDL_Size>1</IDL_Size>
<Units></Units>
<Count>1</Count>
</item>
</SALEvent>
<SALEvent>
<Subsystem>ScriptQueue</Subsystem>
<Version>1.0.0</Version>
Expand Down

0 comments on commit 5445a9c

Please sign in to comment.