]> git.mxchange.org Git - hub.git/blobdiff - application/hub/templates/xml/cruncher/producer/test_unit.xml
Test units continued, XML MIME type worked-around:
[hub.git] / application / hub / templates / xml / cruncher / producer / test_unit.xml
index e15fadffaec57a7c18bb0277972a073f4b2922e2..1efe031bd58ec603441be8ea01fd977177a5728c 100644 (file)
@@ -22,4 +22,39 @@ You should have received a copy of the GNU General Public License
 along with this program. If not, see <http://www.gnu.org/licenses/>
 //-->
 <cruncher-test-unit>
+       <!--
+       This node stores meta-data which is needed to manage this test unit.
+       //-->
+       <meta-data>
+               <!--
+               The global project identifier, or short GPI, identifies every crunching
+               project in the global cloud (aka "hub" project). Therefore it has to be
+               unique (globally unique). This is ensured by hashing the node's hub-id
+               and some more data (will be specified later on).
+               //-->
+               <global-project-identifier>{?global_project_idendifier?}</global-project-identifier>
+               <!--
+               The used cipher to crunch the given keys. Currently only 'mcrypt' is
+               supported as "cipher function".
+               //-->
+               <cipher>
+                       <cipher-function>{?cipher_function?}</cipher-function>
+                       <cipher-name>{?cipher_name?}</cipher-name>
+               </cipher>
+       </meta-data>
+       <!--
+       The data the cruncher shall process for this test unit.
+       //-->
+       <unprocessed-data>
+               <!--
+               Because this is a WU for crunchers, there is always a key list.
+               //-->
+               <cruncher-key-list key-count="{?key_count?}">
+                       <!-- A single key to crunch. //-->
+                       <cruncher-key>
+                               <key-id>{?key_id?}</key-id>
+                               <key-value><![CDATA[{?key_value?}]]></key-value>
+                       </cruncher-key>
+               </cruncher-key-list>
+       </unprocessed-data>
 </cruncher-test-unit>