XML Modelization of the relations: XML definition moved so as to allow a minimal installation (no virtualization)

SVN:trunk[3557]
This commit is contained in:
Romain Quetiez
2015-04-23 17:12:07 +00:00
parent fa333504c6
commit dc356ae7b6
2 changed files with 12 additions and 10 deletions

View File

@@ -2758,16 +2758,6 @@
<code><![CDATA[ public static function GetRelationQueries($sRelCode){return parent::GetRelationQueries($sRelCode);} ]]></code>
</method>
</methods>
<relations>
<relation id="impacts">
<neighbours>
<neighbour id="hypervisor">
<query_down>SELECT Hypervisor AS o WHERE o.server_id = :this-&gt;id</query_down>
<query_up>SELECT Server AS o WHERE o.id = :this-&gt;server_id</query_up>
</neighbour>
</neighbours>
</relation>
</relations>
</class>
<class id="ApplicationSolution" _delta="define">
<parent>FunctionalCI</parent>

View File

@@ -901,6 +901,18 @@
</list>
</presentation>
</class>
<class id="Server" _delta="merge">
<relations>
<relation id="impacts">
<neighbours>
<neighbour id="hypervisor">
<query_down>SELECT Hypervisor AS o WHERE o.server_id = :this-&gt;id</query_down>
<query_up>SELECT Server AS o WHERE o.id = :this-&gt;server_id</query_up>
</neighbour>
</neighbours>
</relation>
</relations>
</class>
</classes>
<menus>
<menu id="ConfigManagementOverview" xsi:type="DashboardMenuNode" _delta="must_exist">