N°4577 - Move service dependencies from "itop-bridge-cmdb-ticket" to another module

Move Document Services_list and Document Contracts_list to the bridge cmdb-services
This commit is contained in:
BenGrenoble
2023-02-22 09:24:24 +01:00
parent 0c962d7e32
commit a37dea9cc2
34 changed files with 211 additions and 195 deletions

View File

@@ -376,6 +376,41 @@
</details>
</presentation>
</class>
<class id="Document" _delta="must_exist">
<fields>
<field id="contracts_list" xsi:type="AttributeLinkedSetIndirect" _delta="define">
<linked_class>lnkContractToDocument</linked_class>
<ext_key_to_me>document_id</ext_key_to_me>
<count_min>0</count_min>
<count_max>0</count_max>
<ext_key_to_remote>contract_id</ext_key_to_remote>
<duplicates/>
<read_only>false</read_only>
</field>
<field id="services_list" xsi:type="AttributeLinkedSetIndirect" _delta="define">
<linked_class>lnkDocumentToService</linked_class>
<ext_key_to_me>document_id</ext_key_to_me>
<count_min>0</count_min>
<count_max>0</count_max>
<ext_key_to_remote>service_id</ext_key_to_remote>
<duplicates/>
<read_only>false</read_only>
</field>
</fields>
<methods/>
<presentation>
<details>
<items>
<item id="contracts_list" _delta="define">
<rank>70</rank>
</item>
<item id="services_list" _delta="define">
<rank>80</rank>
</item>
</items>
</details>
</presentation>
</class>
</classes>
<menus>
</menus>

View File

@@ -71,3 +71,14 @@ Dict::Add('CS CZ', 'Czech', 'Čeština', array(
'Class:FunctionalCI/Attribute:services_list' => 'Služby',
'Class:FunctionalCI/Attribute:services_list+' => '',
));
//
// Class: Document
//
Dict::Add('CS CZ', 'Czech', 'Čeština', array(
'Class:Document/Attribute:contracts_list' => 'Smlouvy',
'Class:Document/Attribute:contracts_list+' => 'All the contracts linked to this document~~',
'Class:Document/Attribute:services_list' => 'Služby',
'Class:Document/Attribute:services_list+' => 'All the services linked to this document~~',
));

View File

@@ -71,3 +71,14 @@ Dict::Add('DA DA', 'Danish', 'Dansk', array(
'Class:FunctionalCI/Attribute:services_list' => 'Ydelser',
'Class:FunctionalCI/Attribute:services_list+' => '',
));
//
// Class: Document
//
Dict::Add('DA DA', 'Danish', 'Dansk', array(
'Class:Document/Attribute:contracts_list' => 'Kontrakter',
'Class:Document/Attribute:contracts_list+' => 'All the contracts linked to this document~~',
'Class:Document/Attribute:services_list' => 'Ydelser',
'Class:Document/Attribute:services_list+' => 'All the services linked to this document~~',
));

View File

@@ -71,3 +71,14 @@ Dict::Add('DE DE', 'German', 'Deutsch', array(
'Class:FunctionalCI/Attribute:services_list' => 'Services',
'Class:FunctionalCI/Attribute:services_list+' => '',
));
//
// Class: Document
//
Dict::Add('DE DE', 'German', 'Deutsch', array(
'Class:Document/Attribute:contracts_list' => 'Verträge',
'Class:Document/Attribute:contracts_list+' => 'All the contracts linked to this document~~',
'Class:Document/Attribute:services_list' => 'Services',
'Class:Document/Attribute:services_list+' => 'All the services linked to this document~~',
));

View File

@@ -74,3 +74,14 @@ Dict::Add('EN US', 'English', 'English', array(
'Class:FunctionalCI/Attribute:services_list' => 'Services',
'Class:FunctionalCI/Attribute:services_list+' => 'All the services impacted by this configuration item',
));
//
// Class: Document
//
Dict::Add('EN US', 'English', 'English', array(
'Class:Document/Attribute:contracts_list' => 'Contracts',
'Class:Document/Attribute:contracts_list+' => 'All the contracts linked to this document',
'Class:Document/Attribute:services_list' => 'Services',
'Class:Document/Attribute:services_list+' => 'All the services linked to this document',
));

View File

@@ -71,3 +71,14 @@ Dict::Add('ES CR', 'Spanish', 'Español, Castellano', array(
'Class:FunctionalCI/Attribute:services_list' => 'Servicios',
'Class:FunctionalCI/Attribute:services_list+' => 'Servicios',
));
//
// Class: Document
//
Dict::Add('ES CR', 'Spanish', 'Español, Castellano', array(
'Class:Document/Attribute:contracts_list' => 'Contratos',
'Class:Document/Attribute:contracts_list+' => 'Contratos Referenciados con este Documento',
'Class:Document/Attribute:services_list' => 'Servicios',
'Class:Document/Attribute:services_list+' => 'Servicios Referenciados con este Documento',
));

View File

@@ -71,3 +71,14 @@ Dict::Add('FR FR', 'French', 'Français', array(
'Class:FunctionalCI/Attribute:services_list' => 'Services',
'Class:FunctionalCI/Attribute:services_list+' => '',
));
//
// Class: Document
//
Dict::Add('FR FR', 'French', 'Français', array(
'Class:Document/Attribute:contracts_list' => 'Contrats',
'Class:Document/Attribute:contracts_list+' => 'Tous les contrats liés à ce document',
'Class:Document/Attribute:services_list' => 'Services',
'Class:Document/Attribute:services_list+' => 'Tous les services liés à ce document',
));

View File

@@ -71,3 +71,14 @@ Dict::Add('HU HU', 'Hungarian', 'Magyar', array(
'Class:FunctionalCI/Attribute:services_list' => 'Szolgáltatások',
'Class:FunctionalCI/Attribute:services_list+' => 'All the services impacted by this configuration item~~',
));
//
// Class: Document
//
Dict::Add('HU HU', 'Hungarian', 'Magyar', array(
'Class:Document/Attribute:contracts_list' => 'Szerződések',
'Class:Document/Attribute:contracts_list+' => 'All the contracts linked to this document~~',
'Class:Document/Attribute:services_list' => 'Szolgáltatások',
'Class:Document/Attribute:services_list+' => 'All the services linked to this document~~',
));

View File

@@ -71,3 +71,14 @@ Dict::Add('IT IT', 'Italian', 'Italiano', array(
'Class:FunctionalCI/Attribute:services_list' => 'Services~~',
'Class:FunctionalCI/Attribute:services_list+' => 'All the services impacted by this configuration item~~',
));
//
// Class: Document
//
Dict::Add('IT IT', 'Italian', 'Italiano', array(
'Class:Document/Attribute:contracts_list' => 'Contracts~~',
'Class:Document/Attribute:contracts_list+' => 'All the contracts linked to this document~~',
'Class:Document/Attribute:services_list' => 'Services~~',
'Class:Document/Attribute:services_list+' => 'All the services linked to this document~~',
));

View File

@@ -71,3 +71,14 @@ Dict::Add('JA JP', 'Japanese', '日本語', array(
'Class:FunctionalCI/Attribute:services_list' => 'サービス',
'Class:FunctionalCI/Attribute:services_list+' => '',
));
//
// Class: Document
//
Dict::Add('JA JP', 'Japanese', '日本語', array(
'Class:Document/Attribute:contracts_list' => '契約',
'Class:Document/Attribute:contracts_list+' => 'All the contracts linked to this document~~',
'Class:Document/Attribute:services_list' => 'サービス',
'Class:Document/Attribute:services_list+' => 'All the services linked to this document~~',
));

View File

@@ -71,3 +71,14 @@ Dict::Add('NL NL', 'Dutch', 'Nederlands', array(
'Class:FunctionalCI/Attribute:services_list' => 'Services',
'Class:FunctionalCI/Attribute:services_list+' => 'Alle services die impact hebben op dit configuratie-item',
));
//
// Class: Document
//
Dict::Add('NL NL', 'Dutch', 'Nederlands', array(
'Class:Document/Attribute:contracts_list' => 'Contracten',
'Class:Document/Attribute:contracts_list+' => 'Alle contracten gerelateerd aan dit document',
'Class:Document/Attribute:services_list' => 'Services',
'Class:Document/Attribute:services_list+' => 'Alle services gerelateerd aan dit document.',
));

View File

@@ -71,3 +71,14 @@ Dict::Add('PL PL', 'Polish', 'Polski', array(
'Class:FunctionalCI/Attribute:services_list' => 'Usługi',
'Class:FunctionalCI/Attribute:services_list+' => 'Wszystkie usługi, na które ma wpływ tą konfigurację',
));
//
// Class: Document
//
Dict::Add('PL PL', 'Polish', 'Polski', array(
'Class:Document/Attribute:contracts_list' => 'Umowy',
'Class:Document/Attribute:contracts_list+' => 'Wszystkie umowy powiązane z tym dokumentem',
'Class:Document/Attribute:services_list' => 'Usługi',
'Class:Document/Attribute:services_list+' => 'Wszystkie usługi powiązane z tym dokumentem',
));

View File

@@ -71,3 +71,14 @@ Dict::Add('PT BR', 'Brazilian', 'Brazilian', array(
'Class:FunctionalCI/Attribute:services_list' => 'Serviços',
'Class:FunctionalCI/Attribute:services_list+' => 'Todos os serviços impactados por esse item de configuração',
));
//
// Class: Document
//
Dict::Add('PT BR', 'Brazilian', 'Brazilian', array(
'Class:Document/Attribute:contracts_list' => 'Contratos',
'Class:Document/Attribute:contracts_list+' => 'Todos os contratos associados a este documento',
'Class:Document/Attribute:services_list' => 'Services',
'Class:Document/Attribute:services_list+' => 'Todos os serviços associados a este documento',
));

View File

@@ -71,3 +71,14 @@ Dict::Add('RU RU', 'Russian', 'Русский', array(
'Class:FunctionalCI/Attribute:services_list' => 'Услуги',
'Class:FunctionalCI/Attribute:services_list+' => 'Связанные услуги',
));
//
// Class: Document
//
Dict::Add('RU RU', 'Russian', 'Русский', array(
'Class:Document/Attribute:contracts_list' => 'Договоры',
'Class:Document/Attribute:contracts_list+' => 'Связанные договоры',
'Class:Document/Attribute:services_list' => 'Услуги',
'Class:Document/Attribute:services_list+' => 'Связанные услуги',
));

View File

@@ -71,3 +71,14 @@ Dict::Add('SK SK', 'Slovak', 'Slovenčina', array(
'Class:FunctionalCI/Attribute:services_list' => 'Služby',
'Class:FunctionalCI/Attribute:services_list+' => '',
));
//
// Class: Document
//
Dict::Add('SK SK', 'Slovak', 'Slovenčina', array(
'Class:Document/Attribute:contracts_list' => 'Zmluvy',
'Class:Document/Attribute:contracts_list+' => 'All the contracts linked to this document~~',
'Class:Document/Attribute:services_list' => 'Služby',
'Class:Document/Attribute:services_list+' => 'All the services linked to this document~~',
));

View File

@@ -71,3 +71,14 @@ Dict::Add('TR TR', 'Turkish', 'Türkçe', array(
'Class:FunctionalCI/Attribute:services_list' => 'Hizmetler',
'Class:FunctionalCI/Attribute:services_list+' => 'Bu yapılandırma öğesinden etkilenen tüm hizmetler',
));
//
// Class: Document
//
Dict::Add('TR TR', 'Turkish', 'Türkçe', array(
'Class:Document/Attribute:contracts_list' => 'Contracts~~',
'Class:Document/Attribute:contracts_list+' => 'All the contracts linked to this document~~',
'Class:Document/Attribute:services_list' => 'Services~~',
'Class:Document/Attribute:services_list+' => 'All the services linked to this document~~',
));

View File

@@ -71,3 +71,14 @@ Dict::Add('ZH CN', 'Chinese', '简体中文', array(
'Class:FunctionalCI/Attribute:services_list' => '服务',
'Class:FunctionalCI/Attribute:services_list+' => '此配置项影响的所有服务',
));
//
// Class: Document
//
Dict::Add('ZH CN', 'Chinese', '简体中文', array(
'Class:Document/Attribute:contracts_list' => '合同',
'Class:Document/Attribute:contracts_list+' => '此文档关联的所有合同',
'Class:Document/Attribute:services_list' => '服务',
'Class:Document/Attribute:services_list+' => '此文档关联的所有服务',
));

View File

@@ -771,41 +771,6 @@ public function UpdateTicketImpactedItems(Combodo\iTop\Service\Events\EventData
</list>
</presentation>
</class>
<class id="Document" _delta="must_exist">
<fields>
<field id="contracts_list" xsi:type="AttributeLinkedSetIndirect" _delta="define">
<linked_class>lnkContractToDocument</linked_class>
<ext_key_to_me>document_id</ext_key_to_me>
<count_min>0</count_min>
<count_max>0</count_max>
<ext_key_to_remote>contract_id</ext_key_to_remote>
<duplicates/>
<read_only>false</read_only>
</field>
<field id="services_list" xsi:type="AttributeLinkedSetIndirect" _delta="define">
<linked_class>lnkDocumentToService</linked_class>
<ext_key_to_me>document_id</ext_key_to_me>
<count_min>0</count_min>
<count_max>0</count_max>
<ext_key_to_remote>service_id</ext_key_to_remote>
<duplicates/>
<read_only>false</read_only>
</field>
</fields>
<methods/>
<presentation>
<details>
<items>
<item id="contracts_list" _delta="define">
<rank>70</rank>
</item>
<item id="services_list" _delta="define">
<rank>80</rank>
</item>
</items>
</details>
</presentation>
</class>
<class id="Person" _delta="must_exist">
<fields>
<field id="tickets_list" xsi:type="AttributeLinkedSet" _delta="define">

View File

@@ -246,13 +246,3 @@ Dict::Add('CS CZ', 'Czech', 'Čeština', array(
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => 'Goal based on a SLT of type TTR',
));
//
// Class: Document
//
Dict::Add('CS CZ', 'Czech', 'Čeština', array(
'Class:Document/Attribute:contracts_list' => 'Smlouvy',
'Class:Document/Attribute:contracts_list+' => 'All the contracts linked to this document~~',
'Class:Document/Attribute:services_list' => 'Služby',
'Class:Document/Attribute:services_list+' => 'All the services linked to this document~~',
));

View File

@@ -231,13 +231,3 @@ Dict::Add('DA DA', 'Danish', 'Dansk', array(
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => 'Goal based on a SLT of type TTR~~',
));
//
// Class: Document
//
Dict::Add('DA DA', 'Danish', 'Dansk', array(
'Class:Document/Attribute:contracts_list' => 'Kontrakter',
'Class:Document/Attribute:contracts_list+' => 'All the contracts linked to this document~~',
'Class:Document/Attribute:services_list' => 'Ydelser',
'Class:Document/Attribute:services_list+' => 'All the services linked to this document~~',
));

View File

@@ -233,13 +233,3 @@ Dict::Add('DE DE', 'German', 'Deutsch', array(
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => 'Zielvorgabe (SLT) vom Typ TTR',
));
//
// Class: Document
//
Dict::Add('DE DE', 'German', 'Deutsch', array(
'Class:Document/Attribute:contracts_list' => 'Verträge',
'Class:Document/Attribute:contracts_list+' => 'All the contracts linked to this document~~',
'Class:Document/Attribute:services_list' => 'Services',
'Class:Document/Attribute:services_list+' => 'All the services linked to this document~~',
));

View File

@@ -250,13 +250,3 @@ Dict::Add('EN US', 'English', 'English', array(
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => 'Goal based on a SLT of type TTR',
));
//
// Class: Document
//
Dict::Add('EN US', 'English', 'English', array(
'Class:Document/Attribute:contracts_list' => 'Contracts',
'Class:Document/Attribute:contracts_list+' => 'All the contracts linked to this document',
'Class:Document/Attribute:services_list' => 'Services',
'Class:Document/Attribute:services_list+' => 'All the services linked to this document',
));

View File

@@ -245,13 +245,3 @@ Dict::Add('ES CR', 'Spanish', 'Español, Castellano', array(
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => 'Objetivo basado en SLT de tipo TTR',
));
//
// Class: Document
//
Dict::Add('ES CR', 'Spanish', 'Español, Castellano', array(
'Class:Document/Attribute:contracts_list' => 'Contratos',
'Class:Document/Attribute:contracts_list+' => 'Contratos Referenciados con este Documento',
'Class:Document/Attribute:services_list' => 'Servicios',
'Class:Document/Attribute:services_list+' => 'Servicios Referenciados con este Documento',
));

View File

@@ -235,13 +235,3 @@ Dict::Add('FR FR', 'French', 'Français', array(
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => 'Objectif calculé à partir d\'un SLT de type TTR',
));
//
// Class: Document
//
Dict::Add('FR FR', 'French', 'Français', array(
'Class:Document/Attribute:contracts_list' => 'Contrats',
'Class:Document/Attribute:contracts_list+' => 'Tous les contrats liés à ce document',
'Class:Document/Attribute:services_list' => 'Services',
'Class:Document/Attribute:services_list+' => 'Tous les services liés à ce document',
));

View File

@@ -230,13 +230,3 @@ Dict::Add('HU HU', 'Hungarian', 'Magyar', array(
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => 'Goal based on a SLT of type TTR~~',
));
//
// Class: Document
//
Dict::Add('HU HU', 'Hungarian', 'Magyar', array(
'Class:Document/Attribute:contracts_list' => 'Szerződések',
'Class:Document/Attribute:contracts_list+' => 'All the contracts linked to this document~~',
'Class:Document/Attribute:services_list' => 'Szolgáltatások',
'Class:Document/Attribute:services_list+' => 'All the services linked to this document~~',
));

View File

@@ -230,13 +230,3 @@ Dict::Add('IT IT', 'Italian', 'Italiano', array(
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => 'Goal based on a SLT of type TTR~~',
));
//
// Class: Document
//
Dict::Add('IT IT', 'Italian', 'Italiano', array(
'Class:Document/Attribute:contracts_list' => 'Contracts~~',
'Class:Document/Attribute:contracts_list+' => 'All the contracts linked to this document~~',
'Class:Document/Attribute:services_list' => 'Services~~',
'Class:Document/Attribute:services_list+' => 'All the services linked to this document~~',
));

View File

@@ -230,13 +230,3 @@ Dict::Add('JA JP', 'Japanese', '日本語', array(
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => 'Goal based on a SLT of type TTR~~',
));
//
// Class: Document
//
Dict::Add('JA JP', 'Japanese', '日本語', array(
'Class:Document/Attribute:contracts_list' => '契約',
'Class:Document/Attribute:contracts_list+' => 'All the contracts linked to this document~~',
'Class:Document/Attribute:services_list' => 'サービス',
'Class:Document/Attribute:services_list+' => 'All the services linked to this document~~',
));

View File

@@ -249,13 +249,3 @@ Dict::Add('NL NL', 'Dutch', 'Nederlands', array(
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => 'Doel gebaseerd op een SLT (TTR)',
));
//
// Class: Document
//
Dict::Add('NL NL', 'Dutch', 'Nederlands', array(
'Class:Document/Attribute:contracts_list' => 'Contracten',
'Class:Document/Attribute:contracts_list+' => 'Alle contracten gerelateerd aan dit document',
'Class:Document/Attribute:services_list' => 'Services',
'Class:Document/Attribute:services_list+' => 'Alle services gerelateerd aan dit document.',
));

View File

@@ -243,13 +243,3 @@ Dict::Add('PL PL', 'Polish', 'Polski', array(
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => 'Cel oparty na SLT typu TTR',
));
//
// Class: Document
//
Dict::Add('PL PL', 'Polish', 'Polski', array(
'Class:Document/Attribute:contracts_list' => 'Umowy',
'Class:Document/Attribute:contracts_list+' => 'Wszystkie umowy powiązane z tym dokumentem',
'Class:Document/Attribute:services_list' => 'Usługi',
'Class:Document/Attribute:services_list+' => 'Wszystkie usługi powiązane z tym dokumentem',
));

View File

@@ -244,13 +244,3 @@ Dict::Add('PT BR', 'Brazilian', 'Brazilian', array(
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => 'Objetivo baseado em um SLT do tipo TTR',
));
//
// Class: Document
//
Dict::Add('PT BR', 'Brazilian', 'Brazilian', array(
'Class:Document/Attribute:contracts_list' => 'Contratos',
'Class:Document/Attribute:contracts_list+' => 'Todos os contratos associados a este documento',
'Class:Document/Attribute:services_list' => 'Services',
'Class:Document/Attribute:services_list+' => 'Todos os serviços associados a este documento',
));

View File

@@ -222,13 +222,3 @@ Dict::Add('RU RU', 'Russian', 'Русский', array(
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => 'Goal based on a SLT of type TTR~~',
));
//
// Class: Document
//
Dict::Add('RU RU', 'Russian', 'Русский', array(
'Class:Document/Attribute:contracts_list' => 'Договоры',
'Class:Document/Attribute:contracts_list+' => 'Связанные договоры',
'Class:Document/Attribute:services_list' => 'Услуги',
'Class:Document/Attribute:services_list+' => 'Связанные услуги',
));

View File

@@ -243,13 +243,3 @@ Dict::Add('SK SK', 'Slovak', 'Slovenčina', array(
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => 'Goal based on a SLT of type TTR~~',
));
//
// Class: Document
//
Dict::Add('SK SK', 'Slovak', 'Slovenčina', array(
'Class:Document/Attribute:contracts_list' => 'Zmluvy',
'Class:Document/Attribute:contracts_list+' => 'All the contracts linked to this document~~',
'Class:Document/Attribute:services_list' => 'Služby',
'Class:Document/Attribute:services_list+' => 'All the services linked to this document~~',
));

View File

@@ -248,13 +248,3 @@ Dict::Add('TR TR', 'Turkish', 'Türkçe', array(
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => 'TTR tipi bir SLT\'ye dayalı hedef',
));
//
// Class: Document
//
Dict::Add('TR TR', 'Turkish', 'Türkçe', array(
'Class:Document/Attribute:contracts_list' => 'Contracts~~',
'Class:Document/Attribute:contracts_list+' => 'All the contracts linked to this document~~',
'Class:Document/Attribute:services_list' => 'Services~~',
'Class:Document/Attribute:services_list+' => 'All the services linked to this document~~',
));

View File

@@ -243,13 +243,3 @@ Dict::Add('ZH CN', 'Chinese', '简体中文', array(
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => 'SLT 的解决时间',
));
//
// Class: Document
//
Dict::Add('ZH CN', 'Chinese', '简体中文', array(
'Class:Document/Attribute:contracts_list' => '合同',
'Class:Document/Attribute:contracts_list+' => '此文档关联的所有合同',
'Class:Document/Attribute:services_list' => '服务',
'Class:Document/Attribute:services_list+' => '此文档关联的所有服务',
));