]> git.mxchange.org Git - hub.git/blob - application/hub/templates/xml/cruncher/producer/test_unit.xml
75d26009a0322c7cdf94e17a42250168fcfd3e45
[hub.git] / application / hub / templates / xml / cruncher / producer / test_unit.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!--
3 A XML template for the producer to produce test units
4
5 @author         Roland Haeder <webmaster@ship-simu.org>
6 @version        0.0.0
7 @copyright      Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2014 Hub Developer Team
8 @license        GNU GPL 3.0 or any newer version
9 @link           http://www.ship-simu.org
10
11 This program is free software: you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation, either version 3 of the License, or
14 (at your option) any later version.
15
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 GNU General Public License for more details.
20
21 You should have received a copy of the GNU General Public License
22 along with this program. If not, see <http://www.gnu.org/licenses/>
23 //-->
24 <test-unit>
25         <!--
26         This node stores meta-data which is needed to manage this test unit.
27         //-->
28         <meta-data>
29                 <!--
30                 The global project identifier, or short GPI, identifies every crunching
31                 project in the global cloud (aka "hub" project). Therefore it has to be
32                 unique (globally unique). This is ensured by hashing the node's hub-id
33                 and some more data (will be specified later on).
34                 //-->
35                 <global-project-identifier>{?global_project_idendifier?}</global-project-identifier>
36                 <!--
37                 The used cipher to crunch the given keys. Currently only 'mcrypt' is
38                 supported as "cipher function".
39                 //-->
40                 <cipher>
41                         <cipher-function>{?cipher_function?}</cipher-function>
42                         <cipher-name>{?cipher_name?}</cipher-name>
43                 </cipher>
44                 <!--
45                 Timestamp in the format YYYY-mm-dd HH:ii:ss when this test unit has been
46                 created.
47                 //-->
48                 <test-unit-created>{?test_unit_created</test-unit-created>
49         </meta-data>
50         <!--
51         The data the cruncher shall process for this test unit.
52         //-->
53         <unprocessed-data>
54                 <!--
55                 Our encrypted, secret message, no need to distribute it (because the key producer will validate it)
56                 //-->
57                 <encrypted-message><![CDATA[{?encrypted_message?}]]></encrypted-message>
58                 <!--
59                 Because this is a test unit for crunchers, there is always a key list.
60                 //-->
61                 <cruncher-key-list key-count="{?key_count?}">
62                         <!-- A single key to crunch. //-->
63                         <cruncher-key>
64                                 <key-id>{?key_id?}</key-id>
65                                 <key-value><![CDATA[{?key_value?}]]></key-value>
66                         </cruncher-key>
67                 </cruncher-key-list>
68         </unprocessed-data>
69 </test-unit>