mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
N°8844 - Datamodel Cloud moved in Virtualization
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="3.2">
|
||||
<itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="3.3">
|
||||
<classes>
|
||||
<class id="ContainerImage" _delta="define">
|
||||
<parent>cmdbAbstractObject</parent>
|
||||
@@ -1196,6 +1196,38 @@
|
||||
</details>
|
||||
</presentation>
|
||||
</class>
|
||||
<class id="Cloud" _delta="must_exist">
|
||||
<fields>
|
||||
<field id="containerhosts_list" xsi:type="AttributeLinkedSet" _delta="define">
|
||||
<linked_class>ContainerHost</linked_class>
|
||||
<ext_key_to_me>system_id</ext_key_to_me>
|
||||
<tracking_level>list</tracking_level>
|
||||
<edit_mode/>
|
||||
<with_php_constraint>false</with_php_constraint>
|
||||
<with_php_computation>false</with_php_computation>
|
||||
<edit_when/>
|
||||
</field>
|
||||
</fields>
|
||||
<presentation>
|
||||
<details>
|
||||
<items>
|
||||
<item id="containerhosts_list" _delta="define">
|
||||
<rank>40</rank>
|
||||
</item>
|
||||
</items>
|
||||
</details>
|
||||
</presentation>
|
||||
<relations>
|
||||
<relation id="impacts" _delta="merge">
|
||||
<neighbours>
|
||||
<neighbour id="containerhosts" _delta="define">
|
||||
<attribute>containerhosts_list</attribute>
|
||||
<direction>both</direction>
|
||||
</neighbour>
|
||||
</neighbours>
|
||||
</relation>
|
||||
</relations>
|
||||
</class>
|
||||
</classes>
|
||||
<menus>
|
||||
<menu id="ConfigManagementOverview" xsi:type="DashboardMenuNode" _delta="must_exist">
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Localized data
|
||||
*
|
||||
@@ -93,8 +94,6 @@ Dict::Add('EN US', 'English', 'English', [
|
||||
'Class:ContainerVirtualHost/Attribute:status+' => 'Status of the container platform',
|
||||
'Class:ContainerVirtualHost/Attribute:containerapplications_list' => 'Applications',
|
||||
'Class:ContainerVirtualHost/Attribute:containerapplications_list+' => 'Applications running on this container environment',
|
||||
|
||||
|
||||
]);
|
||||
|
||||
//
|
||||
@@ -155,6 +154,3 @@ Dict::Add('EN US', 'English', 'English', [
|
||||
'Class:ContainerImageType' => 'Container Image Type',
|
||||
'Class:ContainerImageType+' => 'Typology of container images',
|
||||
]);
|
||||
|
||||
|
||||
?>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Localized data
|
||||
*
|
||||
@@ -15,6 +16,7 @@ Dict::Add('FR FR', 'French', 'Français', [
|
||||
'Container:moreinfo' => 'Spécificités de la conteneurisation',
|
||||
'Container:otherinfo' => 'Dates et description',
|
||||
]);
|
||||
|
||||
//
|
||||
// Class Container Image
|
||||
//
|
||||
@@ -153,5 +155,3 @@ Dict::Add('FR FR', 'French', 'Français', [
|
||||
'Class:ContainerImageType' => 'Type d\'image',
|
||||
'Class:ContainerImageType+' => 'Typologie d\'images pour container',
|
||||
]);
|
||||
|
||||
?>
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
<?php
|
||||
|
||||
// PHP Data Model definition file
|
||||
|
||||
// WARNING - WARNING - WARNING
|
||||
// DO NOT EDIT THIS FILE (unless you know what you are doing)
|
||||
//
|
||||
// If you provide a datamodel.xxxx.xml file with your module,
|
||||
// this file WILL BE overwritten by the compilation of the
|
||||
// module (during the setup) if the datamodel.xxxx.xml file
|
||||
// contains the definition of new classes or menus.
|
||||
//
|
||||
// The recommended way to define new classes (for iTop 2.0 and later) is via the XML definition.
|
||||
// This file remains in the module's template only for the cases where there is:
|
||||
// - either no new class or menu defined in the XML file
|
||||
// - or no XML file at all supplied by the module
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
<?php
|
||||
|
||||
//
|
||||
// iTop module definition file
|
||||
//
|
||||
|
||||
SetupWebPage::AddModule(
|
||||
__FILE__, // Path to the current file, all other file names are relative to the directory containing this file
|
||||
'itop-container-mgmt/3.2.0',
|
||||
array(
|
||||
'itop-container-mgmt/3.3.0',
|
||||
[
|
||||
// Identification
|
||||
//
|
||||
'label' => 'Container management',
|
||||
@@ -14,41 +15,39 @@ SetupWebPage::AddModule(
|
||||
|
||||
// Setup
|
||||
//
|
||||
'dependencies' => array(
|
||||
'itop-virtualization-mgmt/3.2.0'
|
||||
),
|
||||
'dependencies' => [
|
||||
'itop-virtualization-mgmt/3.3.0',
|
||||
],
|
||||
'mandatory' => false,
|
||||
'visible' => true,
|
||||
'installer' => 'ContainerTypeInstaller',
|
||||
'installer' => '',
|
||||
|
||||
// Components
|
||||
//
|
||||
'datamodel' => array(
|
||||
'model.itop-container-mgmt.php', // Contains the PHP code generated by the "compilation" of datamodel.combodo-container-mgmt.xml
|
||||
),
|
||||
'webservice' => array(
|
||||
|
||||
),
|
||||
'data.struct' => array(
|
||||
'datamodel' => [
|
||||
|
||||
],
|
||||
'webservice' => [
|
||||
|
||||
],
|
||||
'data.struct' => [
|
||||
// add your 'structure' definition XML files here,
|
||||
'data/en_us.data.itop-container-type.xml',
|
||||
'data/en_us.data.itop-container-image-type.xml',
|
||||
),
|
||||
'data.sample' => array(
|
||||
],
|
||||
'data.sample' => [
|
||||
// add your sample data XML files here,
|
||||
),
|
||||
|
||||
],
|
||||
|
||||
// Documentation
|
||||
//
|
||||
'doc.manual_setup' => '', // hyperlink to manual setup documentation, if any
|
||||
'doc.more_information' => '', // hyperlink to more information, if any
|
||||
'doc.more_information' => '', // hyperlink to more information, if any
|
||||
|
||||
// Default settings
|
||||
//
|
||||
'settings' => array(
|
||||
'settings' => [
|
||||
// Module specific settings go here, if any
|
||||
),
|
||||
)
|
||||
],
|
||||
]
|
||||
);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user