Skip to content

Commit

Permalink
Schema for command-line scripts and post-report scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
semancik committed Jul 17, 2017
1 parent 3327f2d commit 431ddff
Showing 1 changed file with 48 additions and 0 deletions.
Expand Up @@ -6166,6 +6166,42 @@
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>

<xsd:complexType name="CommandLineScriptType">
<xsd:annotation>
<xsd:documentation>
Specifies a command to be executen on an operating system command-line.
</xsd:documentation>
<xsd:appinfo>
<a:since>3.7</a:since>
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<!-- TODO: later
<xsd:element name="argument" type="tns:ProvisioningScriptArgumentType" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>
Script arguments. The arguments will passed to the script
in any way suitable for the script. The argument name
is "local" to the script (script-specific). Script name
must be unique in the argument set.
The order of arguments is not significant.
</xsd:documentation>
</xsd:annotation>
</xsd:element> -->
<xsd:element name="code" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
Represents command with arguments. Sequences starting with percent sign (%) will be
replaced by the value of midPoint arguments to the command line script.
E.g. for code "cp %source %destination" the %source and %destination strings will be
replaced by the value of midPoint arguments "source" and "destination". The "%%" sequence
is a escape for a single percent character.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="ConnectorConfigurationType">
<xsd:annotation>
Expand Down Expand Up @@ -14459,6 +14495,18 @@
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="postReportScript" type="tns:CommandLineScriptType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
Command-line script that will be executed after the report is complete
and the output file is completely produced. Output filename will
be passed to the script as the "file" argument.
</xsd:documentation>
<xsd:appinfo>
<a:since>3.7</a:since>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
Expand Down

0 comments on commit 431ddff

Please sign in to comment.