Przeglądaj źródła

More sample data: adding 1 Service Family for all IT services.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4034 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 9 lat temu
rodzic
commit
9ec5c21594

+ 6 - 0
datamodels/2.x/itop-service-mgmt-provider/data.sample.servicefamilies.xml

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Set>
+<ServiceFamily alias="ServiceFamily" id="1">
+<name>IT Services</name>
+</ServiceFamily>
+</Set>

+ 3 - 0
datamodels/2.x/itop-service-mgmt-provider/data.sample.services.xml

@@ -2,18 +2,21 @@
 <Set>
 <Service alias="Service" id="2">
 <name>Computers and peripherals</name>
+<servicefamily_id>1</servicefamily_id>
 <org_id>3</org_id>
 <description>Ordering of new hardware (Desktop computer, laptop computer, monitor, mouse, keyboard...) and support in case of hardware failure.</description>
 <status>production</status>
 </Service>
 <Service alias="Service" id="3">
 <name>Software</name>
+<servicefamily_id>1</servicefamily_id>
 <org_id>3</org_id>
 <description>Management of computer software and applications. Installation, upgrade, troubleshooting and removal of software.</description>
 <status>production</status>
 </Service>
 <Service alias="Service" id="4">
 <name>Telecom and connectivity</name>
+<servicefamily_id>1</servicefamily_id>
 <org_id>3</org_id>
 <description>Ordering and configuration of new mobile phones, computer connectivity requests, cabling, etc...</description>
 <status>production</status>

+ 1 - 0
datamodels/2.x/itop-service-mgmt-provider/module.itop-service-mgmt-provider.php

@@ -31,6 +31,7 @@ SetupWebPage::AddModule(
 		'data.sample' => array(
 			'data.sample.organizations.xml',
 			'data.sample.contracts.xml',
+			'data.sample.servicefamilies.xml',
 			'data.sample.services.xml',
 			'data.sample.serviceelements.xml',
 			'data.sample.sla.xml',

+ 7 - 0
datamodels/2.x/itop-service-mgmt/data.sample.servicefamilies.xml

@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Set>
+<ServiceFamily alias="ServiceFamily" id="1">
+<name>IT Services</name>
+</ServiceFamily>
+</Set>
+

+ 3 - 0
datamodels/2.x/itop-service-mgmt/data.sample.services.xml

@@ -2,18 +2,21 @@
 <Set>
 <Service alias="Service" id="2">
 <name>Computers and peripherals</name>
+<servicefamily_id>1</servicefamily_id>
 <org_id>3</org_id>
 <description>Ordering of new hardware (Desktop computer, laptop computer, monitor, mouse, keyboard...) and support in case of hardware failure.</description>
 <status>production</status>
 </Service>
 <Service alias="Service" id="3">
 <name>Software</name>
+<servicefamily_id>1</servicefamily_id>
 <org_id>3</org_id>
 <description>Management of computer software and applications. Installation, upgrade, troubleshooting and removal of software.</description>
 <status>production</status>
 </Service>
 <Service alias="Service" id="4">
 <name>Telecom and connectivity</name>
+<servicefamily_id>1</servicefamily_id>
 <org_id>3</org_id>
 <description>Ordering and configuration of new mobile phones, computer connectivity requests, cabling, etc...</description>
 <status>production</status>

+ 1 - 0
datamodels/2.x/itop-service-mgmt/module.itop-service-mgmt.php

@@ -31,6 +31,7 @@ SetupWebPage::AddModule(
 		'data.sample' => array(
 			'data.sample.organizations.xml',
 			'data.sample.contracts.xml',
+			'data.sample.servicefamilies.xml',
 			'data.sample.services.xml',
 			'data.sample.serviceelements.xml',
 			'data.sample.sla.xml',