ContentRepoOutputTest_file.xaction 1.25 KB
Newer Older
Thitichaipun Wutthisak committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
<action-sequence>
  <name>ContentOutputTest.xaction</name>
  <title>Content Output Component Test</title>
  <version>1</version>
  <logging-level>DEBUG</logging-level>

  <documentation>
    <author>Marc Batchelor</author>
    <description>Simple test of the content output component</description>
    <help>Test.</help>
  </documentation>

  <inputs>
    <CONTENTOUTPUT type="string">
      <default-value><![CDATA[This is sample output from the content-output component.]]>
      </default-value>
    </CONTENTOUTPUT>
  </inputs>

<outputs>
	<content type="content">
    		<destinations>
    			<file>contentrepo:test/ContentOutputTest.txt</file>
    		</destinations>
	</content> 
</outputs>

  <resources/>

  <actions>
      <action-definition>
        <action-name>Content Output Test</action-name>
        <action-inputs>
          <CONTENTOUTPUT type="string" />
        </action-inputs>
        <action-outputs>
          <content type="string" />
        </action-outputs>
        <logging-level>DEBUG</logging-level>
        <component-name>org.pentaho.plugin.core.ContentOutputComponent</component-name>
        <component-definition>
          <mime-type>text/html</mime-type>
        </component-definition>
      </action-definition>
  </actions>
</action-sequence>