diff --git a/modules/itop-config-mgmt-1.0.0/data.sample.location.xml b/modules/itop-config-mgmt-1.0.0/data.sample.location.xml new file mode 100644 index 000000000..20243f559 --- /dev/null +++ b/modules/itop-config-mgmt-1.0.0/data.sample.location.xml @@ -0,0 +1,11 @@ + + + +Headquarters +active +1 +
+ +0 +
+
\ No newline at end of file diff --git a/modules/itop-config-mgmt-1.0.0/data.sample.organization.xml b/modules/itop-config-mgmt-1.0.0/data.sample.organization.xml new file mode 100644 index 000000000..0335974e5 --- /dev/null +++ b/modules/itop-config-mgmt-1.0.0/data.sample.organization.xml @@ -0,0 +1,9 @@ + + + +Demo company + +active +0 + + diff --git a/modules/itop-config-mgmt-1.0.0/data.sample.team.xml b/modules/itop-config-mgmt-1.0.0/data.sample.team.xml new file mode 100644 index 000000000..41eb50f9a --- /dev/null +++ b/modules/itop-config-mgmt-1.0.0/data.sample.team.xml @@ -0,0 +1,11 @@ + + + +My team +active +1 +myteam@combodo.com + +1 + + diff --git a/modules/itop-config-mgmt-1.0.0/module.itop-config-mgmt.php b/modules/itop-config-mgmt-1.0.0/module.itop-config-mgmt.php index 532bba652..751faf16b 100644 --- a/modules/itop-config-mgmt-1.0.0/module.itop-config-mgmt.php +++ b/modules/itop-config-mgmt-1.0.0/module.itop-config-mgmt.php @@ -29,7 +29,9 @@ SetupWebPage::AddModule( //'data.struct.itop-config-mgmt.xml', ), 'data.sample' => array( - //'data.sample.itop-config-mgmt.xml', + 'data.sample.organization.xml', + 'data.sample.location.xml', + 'data.sample.team.xml', ), // Documentation diff --git a/modules/itop-service-mgmt-1.0.0/data.sample.contracttosla.xml b/modules/itop-service-mgmt-1.0.0/data.sample.contracttosla.xml new file mode 100644 index 000000000..4c1851ae6 --- /dev/null +++ b/modules/itop-service-mgmt-1.0.0/data.sample.contracttosla.xml @@ -0,0 +1,8 @@ + + + +1 +1 +8h-18h, business days + + diff --git a/modules/itop-service-mgmt-1.0.0/data.sample.customercontract.xml b/modules/itop-service-mgmt-1.0.0/data.sample.customercontract.xml new file mode 100644 index 000000000..d4fae175d --- /dev/null +++ b/modules/itop-service-mgmt-1.0.0/data.sample.customercontract.xml @@ -0,0 +1,15 @@ + + + +Support for MyCust +PC support and SW support +2010-07-01 +0000-00-00 +10000 +euros + +per month +1 +1 + + diff --git a/modules/itop-service-mgmt-1.0.0/data.sample.service.xml b/modules/itop-service-mgmt-1.0.0/data.sample.service.xml new file mode 100644 index 000000000..06dc72055 --- /dev/null +++ b/modules/itop-service-mgmt-1.0.0/data.sample.service.xml @@ -0,0 +1,21 @@ + + + +NW Support +Network infrastructure support +IncidentManagement +production + + +PC Support +Hardware support for end-user PC +RequestManagement +production + + +SW Support +Software support for end-user applications +RequestManagement +production + + diff --git a/modules/itop-service-mgmt-1.0.0/data.sample.servicesubcategory.xml b/modules/itop-service-mgmt-1.0.0/data.sample.servicesubcategory.xml new file mode 100644 index 000000000..c92d5540c --- /dev/null +++ b/modules/itop-service-mgmt-1.0.0/data.sample.servicesubcategory.xml @@ -0,0 +1,63 @@ + + + +Configuration +Request application configuration +3 + + +DataRestore +Restore data from backup +2 + + +Equipment down +Network equipment +4 + + +Failure +PC not working +2 + + +Installation +Request PC setup +2 + + +Installation +Request application installation +3 + + +Intrusion +An intrusion has been detected +4 + + +Performance +Slow traffic +4 + + +Renew +Order a replacement PC +2 + + +Training +Request application training +3 + + +Troubleshooting +Request help for troubleshooting +3 + + +Virus +Suspecting a virus infection +2 + + diff --git a/modules/itop-service-mgmt-1.0.0/data.sample.sla.xml b/modules/itop-service-mgmt-1.0.0/data.sample.sla.xml new file mode 100644 index 000000000..8a72ee6ca --- /dev/null +++ b/modules/itop-service-mgmt-1.0.0/data.sample.sla.xml @@ -0,0 +1,39 @@ + + + +NW support - Bronze +4 + + +NW support - Gold +4 + + +NW support - Silver +4 + + +PC support - Bronze +2 + + +PC support - Gold +2 + + +PC support - Silver +2 + + +SW support - Bronze +3 + + +SW support - Gold +3 + + +SW support - Silver +3 + + diff --git a/modules/itop-service-mgmt-1.0.0/data.sample.slt.xml b/modules/itop-service-mgmt-1.0.0/data.sample.slt.xml new file mode 100644 index 000000000..62b1a69ff --- /dev/null +++ b/modules/itop-service-mgmt-1.0.0/data.sample.slt.xml @@ -0,0 +1,129 @@ + + + +Bronze-TTO prio1 +TTO +1 +2 +hours + + +Bronze-TTO prio2 +TTO +2 +4 +hours + + +Bronze-TTO prio3 +TTO +3 +8 +hours + + +Bronze-TTR prio1 +TTR +1 +1 +days + + +Bronze-TTR prio2 +TTR +2 +2 +days + + +Bronze-TTR prio3 +TTR +3 +3 +days + + +Gold-TTO prio1 +TTO +1 +30 +minutes + + +Gold-TTO prio2 +TTO +2 +1 +hours + + +Gold-TTO prio3 +TTO +3 +2 +hours + + +Gold-TTR prio1 +TTR +1 +2 +hours + + +Gold-TTR prio2 +TTR +2 +4 +hours + + +Gold-TTR prio3 +TTR +3 +1 +days + + +Silver-TTO prio1 +TTO +1 +1 +hours + + +Silver-TTO prio2 +TTO +2 +2 +hours + + +Silver-TTO prio3 +TTO +3 +4 +hours + + +Silver-TTR prio1 +TTR +1 +4 +hours + + +Silver-TTR prio2 +TTR +2 +1 +days + + +Silver-TTR prio3 +TTR +3 +2 +days + + \ No newline at end of file diff --git a/modules/itop-service-mgmt-1.0.0/data.sample.slttosla.xml b/modules/itop-service-mgmt-1.0.0/data.sample.slttosla.xml new file mode 100644 index 000000000..b5c0f6c76 --- /dev/null +++ b/modules/itop-service-mgmt-1.0.0/data.sample.slttosla.xml @@ -0,0 +1,83 @@ + + + +1 +1 + + +1 +1 + + +2 +1 + + +2 +2 + + +2 +3 + + +2 +4 + + +2 +5 + + +2 +6 + + +3 +12 + + +3 +7 + + +3 +8 + + +3 +9 + + +3 +10 + + +3 +11 + + +4 +13 + + +4 +14 + + +4 +15 + + +4 +16 + + +4 +17 + + +4 +18 + + \ No newline at end of file diff --git a/modules/itop-service-mgmt-1.0.0/module.itop-service-mgmt.php b/modules/itop-service-mgmt-1.0.0/module.itop-service-mgmt.php index d5b423acf..e9fac9201 100644 --- a/modules/itop-service-mgmt-1.0.0/module.itop-service-mgmt.php +++ b/modules/itop-service-mgmt-1.0.0/module.itop-service-mgmt.php @@ -29,7 +29,13 @@ SetupWebPage::AddModule( //'data.struct.itop-service-mgmt.xml', ), 'data.sample' => array( - //'data.sample.itop-service-mgmt.xml', + 'data.sample.service.xml', + 'data.sample.servicesubcategory.xml', + 'data.sample.sla.xml', + 'data.sample.slt.xml', + 'data.sample.slttosla.xml', + 'data.sample.customercontract.xml', + 'data.sample.contracttosla.xml', ), // Documentation diff --git a/setup/index.php b/setup/index.php index 2dd641455..1058b470a 100644 --- a/setup/index.php +++ b/setup/index.php @@ -480,6 +480,8 @@ function PopulateDataFilesList(SetupWebPage $oP, $aParamValues) // foreach($aStructureDataFiles as $sFile) { + // Under Windows, it is a must to escape backslashes (not an issue until a folder name starts with t or n, etc...) + $sFile = str_replace('\\', '\\\\', $sFile); $oP->add("aFilesToLoad[aFilesToLoad.length] = '$sFile';\n"); } @@ -489,6 +491,8 @@ function PopulateDataFilesList(SetupWebPage $oP, $aParamValues) $oP->add("{"); foreach($aSampleDataFiles as $sFile) { + // Under Windows, it is a must to escape backslashes (not an issue until a folder name starts with t or n, etc...) + $sFile = str_replace('\\', '\\\\', $sFile); $oP->add("aFilesToLoad[aFilesToLoad.length] = '$sFile';\n"); } $oP->add("}\n");