From 5f4ef74d34544083486feb4046bae75de79e4913 Mon Sep 17 00:00:00 2001 From: BenGrenoble Date: Thu, 9 Feb 2023 10:45:10 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B05968=20-=20Add=20structural=20data=20for?= =?UTF-8?q?=20Brand,=20OSFamily=20and=20OSVersion=20Move=20data=20to=20con?= =?UTF-8?q?fig-mgmt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../data/en_us.data.itop-brand.xml | 0 .../data/en_us.data.itop-osfamily.xml | 0 .../data/en_us.data.itop-osversion.xml | 0 .../module.itop-config-mgmt.php | 3 + .../data/en_us.data.itop-model.xml | 83 ------------------- .../itop-structure/module.itop-structure.php | 4 - 6 files changed, 3 insertions(+), 87 deletions(-) rename datamodels/2.x/{itop-structure => itop-config-mgmt}/data/en_us.data.itop-brand.xml (100%) rename datamodels/2.x/{itop-structure => itop-config-mgmt}/data/en_us.data.itop-osfamily.xml (100%) rename datamodels/2.x/{itop-structure => itop-config-mgmt}/data/en_us.data.itop-osversion.xml (100%) delete mode 100755 datamodels/2.x/itop-structure/data/en_us.data.itop-model.xml diff --git a/datamodels/2.x/itop-structure/data/en_us.data.itop-brand.xml b/datamodels/2.x/itop-config-mgmt/data/en_us.data.itop-brand.xml similarity index 100% rename from datamodels/2.x/itop-structure/data/en_us.data.itop-brand.xml rename to datamodels/2.x/itop-config-mgmt/data/en_us.data.itop-brand.xml diff --git a/datamodels/2.x/itop-structure/data/en_us.data.itop-osfamily.xml b/datamodels/2.x/itop-config-mgmt/data/en_us.data.itop-osfamily.xml similarity index 100% rename from datamodels/2.x/itop-structure/data/en_us.data.itop-osfamily.xml rename to datamodels/2.x/itop-config-mgmt/data/en_us.data.itop-osfamily.xml diff --git a/datamodels/2.x/itop-structure/data/en_us.data.itop-osversion.xml b/datamodels/2.x/itop-config-mgmt/data/en_us.data.itop-osversion.xml similarity index 100% rename from datamodels/2.x/itop-structure/data/en_us.data.itop-osversion.xml rename to datamodels/2.x/itop-config-mgmt/data/en_us.data.itop-osversion.xml diff --git a/datamodels/2.x/itop-config-mgmt/module.itop-config-mgmt.php b/datamodels/2.x/itop-config-mgmt/module.itop-config-mgmt.php index ac74283a0..7f7b8d439 100755 --- a/datamodels/2.x/itop-config-mgmt/module.itop-config-mgmt.php +++ b/datamodels/2.x/itop-config-mgmt/module.itop-config-mgmt.php @@ -26,6 +26,9 @@ SetupWebPage::AddModule( 'main.itop-config-mgmt.php', ), 'data.struct' => array( + './data/en_us.data.itop-brand.xml', + './data/en_us.data.itop-osfamily.xml', + './data/en_us.data.itop-osversion.xml', ), 'data.sample' => array( 'data.sample.brand.xml', diff --git a/datamodels/2.x/itop-structure/data/en_us.data.itop-model.xml b/datamodels/2.x/itop-structure/data/en_us.data.itop-model.xml deleted file mode 100755 index ae7ea8152..000000000 --- a/datamodels/2.x/itop-structure/data/en_us.data.itop-model.xml +++ /dev/null @@ -1,83 +0,0 @@ - - - 1050 - 6 - HPE - HPE - Storage System - Model - 1050 - - - 42U NetShelter SX - 5 - DELL - DELL - Rack - Model - 42U NetShelter SX - - - 8851 - 4 - CISCO - CISCO - IP Phone - Model - 8851 - - - AP8858EU3 - 5 - DELL - DELL - PDU - Model - AP8858EU3 - - - DL380 - 6 - HPE - HPE - Server - Model - DL380 - - - HP Elitebook 840 G8 - 6 - HP Inc - HP Inc - PC - Model - HP Elitebook 840 G8 - - - HP LaserJet Enterprise 500 MFP M525dn - 6 - HP Inc - HP Inc - Printer - Model - HP LaserJet Enterprise 500 MFP M525dn - - - HP Z4 G4 - 6 - HP Inc - HP Inc - PC - Model - HP Z4 G4 - - - R550 - 5 - DELL - DELL - Server - Model - R550 - - diff --git a/datamodels/2.x/itop-structure/module.itop-structure.php b/datamodels/2.x/itop-structure/module.itop-structure.php index f81f1bf34..4b917bc46 100644 --- a/datamodels/2.x/itop-structure/module.itop-structure.php +++ b/datamodels/2.x/itop-structure/module.itop-structure.php @@ -25,10 +25,6 @@ SetupWebPage::AddModule( 'model.itop-structure.php', ), 'data.struct' => array( - './data/en_us.data.itop-brand.xml', - './data/en_us.data.itop-model.xml', - './data/en_us.data.itop-osfamily.xml', - './data/en_us.data.itop-osversion.xml', ), 'data.sample' => array( 'data.sample.organizations.xml',