From 009a91ab59e23bdfbea396a61c9e2622c4952f40 Mon Sep 17 00:00:00 2001 From: Romain Quetiez Date: Tue, 3 Apr 2012 10:09:52 +0000 Subject: [PATCH] Itop design: added an intermediate root node above 'classes' SVN:trunk[1936] --- .../datamodel.itop-attachments.xml | 116 +- .../datamodel.itop-change-mgmt.xml | 5710 +++++++++-------- .../datamodel.itop-config-mgmt.xml | 5292 +++++++-------- .../datamodel.itop-incident-mgmt.xml | 1148 ++-- .../datamodel.itop-knownerror-mgmt.xml | 350 +- .../datamodel.itop-problem-mgmt.xml | 738 +-- .../datamodel.itop-request-mgmt.xml | 1132 ++-- .../datamodel.itop-service-mgmt.xml | 1866 +++--- .../datamodel.itop-tickets.xml | 1606 ++--- setup/modelfactory.class.inc.php | 13 +- 10 files changed, 8997 insertions(+), 8974 deletions(-) diff --git a/datamodel/itop-attachments/datamodel.itop-attachments.xml b/datamodel/itop-attachments/datamodel.itop-attachments.xml index 7b160a14f8..25f94714b7 100644 --- a/datamodel/itop-attachments/datamodel.itop-attachments.xml +++ b/datamodel/itop-attachments/datamodel.itop-attachments.xml @@ -1,8 +1,9 @@ - - - - + + + + * @license http://www.opensource.org/licenses/gpl-3.0.html LGPL */]]> - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - - - -
- - temp_id - item_class - item_id - item_org_id - -
- - - temp_id - item_class - item_id - - - - - temp_id - item_class - item_id - - -
-
-
+ + +
+ + temp_id + item_class + item_id + item_org_id + +
+ + + temp_id + item_class + item_id + + + + + temp_id + item_class + item_id + + +
+ + + diff --git a/datamodel/itop-change-mgmt-1.0.0/datamodel.itop-change-mgmt.xml b/datamodel/itop-change-mgmt-1.0.0/datamodel.itop-change-mgmt.xml index 93936c367f..f3f004ab4a 100644 --- a/datamodel/itop-change-mgmt-1.0.0/datamodel.itop-change-mgmt.xml +++ b/datamodel/itop-change-mgmt-1.0.0/datamodel.itop-change-mgmt.xml @@ -1,8 +1,9 @@ - - - - + + + + @@ -10,505 +11,505 @@ * @author Denis Flaven * @license http://www.opensource.org/licenses/gpl-3.0.html LGPL */]]> - - - - - - - images/change.png - - - - - - - - - - approved - assigned - closed - implemented - monitored - new - notapproved - plannedscheduled - rejected - validated - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - yes - no - - - - - - - - - - - - - - - - - - - - - - - - - + + + + approved + assigned + closed + implemented + monitored + new + notapproved + plannedscheduled + rejected + validated + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + yes + no + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Set('close_date', time()); return true; }]]> - Get('contact_list'); $oToImpact = $this->Get('ci_list'); @@ -540,11 +541,11 @@ $this->Set('creation_date', time()); $this->Set('last_update', time()); }]]> - Set('last_update', time()); }]]> - Get('ref'); if (strlen($sCurrRef) == 0) @@ -559,7 +560,7 @@ $this->Set('ref', $sName); } }]]> - - - - -
- - title - org_id - description - ticket_log - start_date - end_date - document_list - ci_list - contact_list - incident_list - status - reason - requestor_id - workgroup_id - creation_date - last_update - close_date - impact - agent_id - agent_email - supervisor_group_id - supervisor_id - manager_group_id - manager_id - outage - fallback - -
- - - finalclass - ref - title - org_id - start_date - end_date - status - reason - requestor_id - workgroup_id - creation_date - close_date - impact - agent_id - agent_email - supervisor_group_id - supervisor_id - manager_group_id - manager_id - outage - - - - - finalclass - title - start_date - status - - -
-
- - - - - - - - - images/change.png - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - document_list - ci_list - contact_list - incident_list - - - - - ref - title - org_id - status - reason - impact - description - - - - - outage - fallback - - - - - - - - - creation_date - start_date - last_update - close_date - - - - - requestor_id - workgroup_id - agent_id - supervisor_group_id - supervisor_id - manager_group_id - manager_id - - - - - -
- - - ref - title - org_id - start_date - end_date - status - reason - requestor_id - workgroup_id - creation_date - last_update - close_date - impact - agent_id - agent_email - supervisor_group_id - supervisor_id - manager_group_id - manager_id - outage - - - - - title - org_id - start_date - status - requestor_id - - -
-
- - - - - - - - - images/change.png - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - title - org_id - description - ticket_log - start_date - end_date - document_list - ci_list - contact_list - incident_list - status - reason - requestor_id - workgroup_id - creation_date - last_update - close_date - impact - agent_id - agent_email - supervisor_group_id - supervisor_id - manager_group_id - manager_id - outage - fallback - approval_date - approval_comment - -
- - - ref - title - org_id - start_date - end_date - status - reason - requestor_id - workgroup_id - impact - agent_id - agent_email - supervisor_group_id - supervisor_id - manager_group_id - manager_id - outage - approval_date - - - - - title - org_id - start_date - status - requestor_id - - -
-
- - - - - - - - - images/change.png - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - document_list - ci_list - contact_list - incident_list - - - - - ref - title - org_id - status - reason - impact - description - - - - - acceptance_comment - approval_comment - outage - fallback - - - - - - - - - creation_date - start_date - last_update - acceptance_date - approval_date - close_date - - - - - requestor_id - workgroup_id - agent_id - supervisor_group_id - supervisor_id - manager_group_id - manager_id - - - - - -
- - - ref - title - org_id - start_date - end_date - status - reason - requestor_id - workgroup_id - impact - agent_id - agent_email - supervisor_group_id - supervisor_id - manager_group_id - manager_id - outage - - - - - title - org_id - start_date - status - requestor_id - - -
-
- - - - - - - - - images/change.png - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - document_list - ci_list - contact_list - incident_list - - - - - ref - title - org_id - status - reason - impact - description - - - - - approval_comment - outage - fallback - - - - - - - - - creation_date - start_date - last_update - approval_date - close_date - - - - - requestor_id - workgroup_id - agent_id - supervisor_group_id - supervisor_id - manager_group_id - manager_id - - - - - -
- - - ref - title - org_id - start_date - end_date - status - reason - requestor_id - workgroup_id - creation_date - last_update - close_date - impact - agent_id - agent_email - supervisor_group_id - supervisor_id - manager_group_id - manager_id - outage - approval_date - - - - - title - org_id - start_date - status - requestor_id - - -
-
-
+ + +
+ + title + org_id + description + ticket_log + start_date + end_date + document_list + ci_list + contact_list + incident_list + status + reason + requestor_id + workgroup_id + creation_date + last_update + close_date + impact + agent_id + agent_email + supervisor_group_id + supervisor_id + manager_group_id + manager_id + outage + fallback + +
+ + + finalclass + ref + title + org_id + start_date + end_date + status + reason + requestor_id + workgroup_id + creation_date + close_date + impact + agent_id + agent_email + supervisor_group_id + supervisor_id + manager_group_id + manager_id + outage + + + + + finalclass + title + start_date + status + + +
+ + + + + + + + + + images/change.png + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + document_list + ci_list + contact_list + incident_list + + + + + ref + title + org_id + status + reason + impact + description + + + + + outage + fallback + + + + + + + + + creation_date + start_date + last_update + close_date + + + + + requestor_id + workgroup_id + agent_id + supervisor_group_id + supervisor_id + manager_group_id + manager_id + + + + + +
+ + + ref + title + org_id + start_date + end_date + status + reason + requestor_id + workgroup_id + creation_date + last_update + close_date + impact + agent_id + agent_email + supervisor_group_id + supervisor_id + manager_group_id + manager_id + outage + + + + + title + org_id + start_date + status + requestor_id + + +
+
+ + + + + + + + + images/change.png + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + title + org_id + description + ticket_log + start_date + end_date + document_list + ci_list + contact_list + incident_list + status + reason + requestor_id + workgroup_id + creation_date + last_update + close_date + impact + agent_id + agent_email + supervisor_group_id + supervisor_id + manager_group_id + manager_id + outage + fallback + approval_date + approval_comment + +
+ + + ref + title + org_id + start_date + end_date + status + reason + requestor_id + workgroup_id + impact + agent_id + agent_email + supervisor_group_id + supervisor_id + manager_group_id + manager_id + outage + approval_date + + + + + title + org_id + start_date + status + requestor_id + + +
+
+ + + + + + + + + images/change.png + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + document_list + ci_list + contact_list + incident_list + + + + + ref + title + org_id + status + reason + impact + description + + + + + acceptance_comment + approval_comment + outage + fallback + + + + + + + + + creation_date + start_date + last_update + acceptance_date + approval_date + close_date + + + + + requestor_id + workgroup_id + agent_id + supervisor_group_id + supervisor_id + manager_group_id + manager_id + + + + + +
+ + + ref + title + org_id + start_date + end_date + status + reason + requestor_id + workgroup_id + impact + agent_id + agent_email + supervisor_group_id + supervisor_id + manager_group_id + manager_id + outage + + + + + title + org_id + start_date + status + requestor_id + + +
+
+ + + + + + + + + images/change.png + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + document_list + ci_list + contact_list + incident_list + + + + + ref + title + org_id + status + reason + impact + description + + + + + approval_comment + outage + fallback + + + + + + + + + creation_date + start_date + last_update + approval_date + close_date + + + + + requestor_id + workgroup_id + agent_id + supervisor_group_id + supervisor_id + manager_group_id + manager_id + + + + + +
+ + + ref + title + org_id + start_date + end_date + status + reason + requestor_id + workgroup_id + creation_date + last_update + close_date + impact + agent_id + agent_email + supervisor_group_id + supervisor_id + manager_group_id + manager_id + outage + approval_date + + + + + title + org_id + start_date + status + requestor_id + + +
+
+ + diff --git a/datamodel/itop-config-mgmt-1.0.0/datamodel.itop-config-mgmt.xml b/datamodel/itop-config-mgmt-1.0.0/datamodel.itop-config-mgmt.xml index c03566a724..1f6ca74615 100644 --- a/datamodel/itop-config-mgmt-1.0.0/datamodel.itop-config-mgmt.xml +++ b/datamodel/itop-config-mgmt-1.0.0/datamodel.itop-config-mgmt.xml @@ -1,8 +1,9 @@ - - - - + + + + @@ -10,604 +11,604 @@ * @author Denis Flaven * @license http://www.opensource.org/licenses/gpl-3.0.html LGPL */]]> - - - - - - - - - - - - - - - - - - - active - inactive - - - - - - - -
- - name - code - status - parent_id - -
- - - name - code - status - parent_id - - - - - status - parent_id - - -
-
- - - - - - - - - images/location.png - - - - - - - - - - - - - active - inactive - - - - - - - - - - - - - - - - - - - -
- - name - status - org_id - address - postal_code - city - country - parent_id - contact_list - infra_list - -
- - - name - status - org_id - city - country - parent_id - - - - - status - org_id - city - country - - -
-
- - - - - - - - - images/team.png - - - - - - - - - - - - - - active - inactive - - - - - - - - - - - - - - - - - - - - -
- - name - status - org_id - email - phone - location_id - contract_list - service_list - ticket_list - ci_list - team_list - -
- - - name - status - org_id - email - phone - location_id - - - - - finalclass - status - org_id - email - phone - location_id - - -
-
- - - - - - - - - - images/person.png - - - - - - - - - - - - - - - -
- - name - first_name - org_id - status - location_id - email - phone - employee_id - team_list - contract_list - service_list - ticket_list - ci_list - -
- - - name - status - org_id - email - phone - location_id - first_name - employee_id - - - - - name - first_name - status - org_id - email - phone - location_id - - -
-
- - - - - - - - - images/team.png - - - - - - - - - - - - -
- - name - status - org_id - location_id - email - phone - member_list - contract_list - service_list - ticket_list - ci_list - team_list - -
- - - name - status - org_id - email - phone - location_id - - - - - status - org_id - email - phone - location_id - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - team_id - contact_id - role - -
- - - team_id - contact_id - role - - - - - team_id - contact_id - contact_location_id - contact_email - contact_phone - role - - -
-
- - - - - - - - - images/document.png - - - - - - - - - - - - - - - - contract - networkmap - presentation - training - whitePaper - workinginstructions - - - - - draft - published - obsolete - - - - - - - - - -
- - name - org_id - description - type - status - contract_list - service_list - ticket_list - ci_list - -
- - - name - org_id - description - type - status - - - - - org_id - type - status - - -
-
- - - - - - - - - images/document.png - - - - - - - - - - - - - -
- - name - org_id - description - type - status - contract_list - service_list - ticket_list - ci_list - url - -
- - - name - org_id - description - type - status - url - - - - - org_id - type - status - url - - -
-
- - - - - - - - - images/document.png - - - - - - - - - - - - - -
- - name - org_id - description - type - status - contract_list - service_list - ticket_list - ci_list - note - -
- - - name - org_id - description - type - status - note - - - - - org_id - type - status - note - - -
-
- - - - - - - - - images/document.png - - - - - - - - - - - - - + + + + + + + + + + + +
+ + + + + + active + inactive + + + + + + + +
+ + name + code + status + parent_id + +
+ + + name + code + status + parent_id + + + + + status + parent_id + + +
+
+ + + + + + + + + images/location.png + + + + + + + + + + + + + active + inactive + + + + + + + + + + + + + + + + + + + +
+ + name + status + org_id + address + postal_code + city + country + parent_id + contact_list + infra_list + +
+ + + name + status + org_id + city + country + parent_id + + + + + status + org_id + city + country + + +
+
+ + + + + + + + + images/team.png + + + + + + + + + + + + + + active + inactive + + + + + + + + + + + + + + + + + + + + +
+ + name + status + org_id + email + phone + location_id + contract_list + service_list + ticket_list + ci_list + team_list + +
+ + + name + status + org_id + email + phone + location_id + + + + + finalclass + status + org_id + email + phone + location_id + + +
+
+ + + + + + + + + + images/person.png + + + + + + + + + + + + + + + +
+ + name + first_name + org_id + status + location_id + email + phone + employee_id + team_list + contract_list + service_list + ticket_list + ci_list + +
+ + + name + status + org_id + email + phone + location_id + first_name + employee_id + + + + + name + first_name + status + org_id + email + phone + location_id + + +
+
+ + + + + + + + + images/team.png + + + + + + + + + + + + +
+ + name + status + org_id + location_id + email + phone + member_list + contract_list + service_list + ticket_list + ci_list + team_list + +
+ + + name + status + org_id + email + phone + location_id + + + + + status + org_id + email + phone + location_id + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + team_id + contact_id + role + +
+ + + team_id + contact_id + role + + + + + team_id + contact_id + contact_location_id + contact_email + contact_phone + role + + +
+
+ + + + + + + + + images/document.png + + + + + + + + + + + + + + + + contract + networkmap + presentation + training + whitePaper + workinginstructions + + + + + draft + published + obsolete + + + + + + + + + +
+ + name + org_id + description + type + status + contract_list + service_list + ticket_list + ci_list + +
+ + + name + org_id + description + type + status + + + + + org_id + type + status + + +
+
+ + + + + + + + + images/document.png + + + + + + + + + + + + + +
+ + name + org_id + description + type + status + contract_list + service_list + ticket_list + ci_list + url + +
+ + + name + org_id + description + type + status + url + + + + + org_id + type + status + url + + +
+
+ + + + + + + + + images/document.png + + + + + + + + + + + + + +
+ + name + org_id + description + type + status + contract_list + service_list + ticket_list + ci_list + note + +
+ + + name + org_id + description + type + status + note + + + + + org_id + type + status + note + + +
+
+ + + + + + + + + images/document.png + + + + + + + + + + + + + - - -
- - name - org_id - description - type - status - contract_list - service_list - ticket_list - ci_list - contents - -
- - - name - org_id - description - type - status - - - - - org_id - type - status - contents - - -
-
- - - - - - - - - images/licence.png - - - - - - - - - - - - - - - - - - - - - - - -
- - name - org_id - provider - product - start - end - licence_key - scope - usage_limit - usage_list - -
- - - org_id - provider - product - name - start - end - licence_key - scope - - - - - org_id - provider - product - start - end - - -
-
- - - - - - - - - - images/subnet.png - - - - - - - - - - - - - - - - - - + +
+ + name + org_id + description + type + status + contract_list + service_list + ticket_list + ci_list + contents + +
+ + + name + org_id + description + type + status + + + + + org_id + type + status + contents + + +
+
+ + + + + + + + + images/licence.png + + + + + + + + + + + + + + + + + + + + + + + +
+ + name + org_id + provider + product + start + end + licence_key + scope + usage_limit + usage_list + +
+ + + org_id + provider + product + name + start + end + licence_key + scope + + + + + org_id + provider + product + start + end + + +
+
+ + + + + + + + + + images/subnet.png + + + + + + + + + + + + + + + + + + - - -
- - ip - ip_mask - org_id - description - -
- - - ip - ip_mask - org_id - description - - - - - ip - ip_mask - org_id - - -
-
- - - - - - - - - images/patch.png - - - - - - - - - - - - - - application - os - security - servicepack - - - - - - -
- - name - description - target_sw - version - type - ci_list - -
- - - name - target_sw - version - type - description - - - - - target_sw - version - type - - -
-
- - - - - - - - - images/software.png - - - - - - - - - - - - -
- - name - description - -
- - - name - description - - - - - description - - -
-
- - - - - - - - - images/software.png - - - - - - - - - - - -
- - name - description - instance_list - -
- - - name - description - - - - - description - - -
-
- - - - - - - - - images/software.png - - - - - - - - - - - -
- - name - description - instance_list - -
- - - name - description - - - - - description - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
- - patch_id - ci_id - ci_status - -
- - - patch_id - ci_id - - - - - patch_id - ci_id - ci_status - - -
-
- - - - - - - - - images/server.png - - - - - - - - - - - - - implementation - production - obsolete - - - - - - - low - medium - high - - - - - - - - - - + +
+ + ip + ip_mask + org_id + description + +
+ + + ip + ip_mask + org_id + description + + + + + ip + ip_mask + org_id + + +
+
+ + + + + + + + + images/patch.png + + + + + + + + + + + + + + application + os + security + servicepack + + + + + + +
+ + name + description + target_sw + version + type + ci_list + +
+ + + name + target_sw + version + type + description + + + + + target_sw + version + type + + +
+
+ + + + + + + + + images/software.png + + + + + + + + + + + + +
+ + name + description + +
+ + + name + description + + + + + description + + +
+
+ + + + + + + + + images/software.png + + + + + + + + + + + +
+ + name + description + instance_list + +
+ + + name + description + + + + + description + + +
+
+ + + + + + + + + images/software.png + + + + + + + + + + + +
+ + name + description + instance_list + +
+ + + name + description + + + + + description + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + patch_id + ci_id + ci_status + +
+ + + patch_id + ci_id + + + + + patch_id + ci_id + ci_status + + +
+
+ + + + + + + + + images/server.png + + + + + + + + + + + + + implementation + production + obsolete + + + + + + + low + medium + high + + + + + + + + + + - - -
- - name - status - org_id - importance - contact_list - document_list - solution_list - contract_list - ticket_list - -
- - - name - status - org_id - importance - - - - - finalclass - status - org_id - importance - - -
-
- - - - - - - - - - images/application.png - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +
+ + name + status + org_id + importance + contact_list + document_list + solution_list + contract_list + ticket_list + +
+ + + name + status + org_id + importance + + + + + finalclass + status + org_id + importance + + +
+
+ + + + + + + + + + images/application.png + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - -
- - name - status - org_id - importance - device_id - licence_id - version - description - contact_list - document_list - solution_list - contract_list - ticket_list - -
- - - status - org_id - importance - device_id - licence_id - version - - - - - finalclass - status - org_id - importance - device_id - version - - -
-
- - - - - - - - - - images/database.png - - - - - - - - - - - - - - - - - - - -
- - name - status - org_id - importance - device_id - licence_id - software_id - version - description - contact_list - document_list - solution_list - contract_list - ticket_list - dbinstance_list - -
- - - status - org_id - importance - device_id - licence_id - software_id - version - - - - - status - org_id - importance - device_id - software_id - version - - -
-
- - - - - - - - - - images/application.png - - - - - - - - - - - - - - - - - - -
- - name - status - org_id - importance - device_id - licence_id - software_id - version - description - contact_list - document_list - solution_list - contract_list - ticket_list - -
- - - status - org_id - importance - device_id - licence_id - software_id - version - - - - - status - org_id - importance - device_id - software_id - version - - -
-
- - - - - - - - - - images/database-instance.png - - - - - - - - - - - - - - - - - - - - - - + +
+ + name + status + org_id + importance + device_id + licence_id + version + description + contact_list + document_list + solution_list + contract_list + ticket_list + +
+ + + status + org_id + importance + device_id + licence_id + version + + + + + finalclass + status + org_id + importance + device_id + version + + +
+
+ + + + + + + + + + images/database.png + + + + + + + + + + + + + + + + + + + +
+ + name + status + org_id + importance + device_id + licence_id + software_id + version + description + contact_list + document_list + solution_list + contract_list + ticket_list + dbinstance_list + +
+ + + status + org_id + importance + device_id + licence_id + software_id + version + + + + + status + org_id + importance + device_id + software_id + version + + +
+
+ + + + + + + + + + images/application.png + + + + + + + + + + + + + + + + + + +
+ + name + status + org_id + importance + device_id + licence_id + software_id + version + description + contact_list + document_list + solution_list + contract_list + ticket_list + +
+ + + status + org_id + importance + device_id + licence_id + software_id + version + + + + + status + org_id + importance + device_id + software_id + version + + +
+
+ + + + + + + + + + images/database-instance.png + + + + + + + + + + + + + + + + + + + + + + - - -
- - name - status - org_id - importance - db_server_instance_id - db_server_instance_version - description - contact_list - document_list - solution_list - contract_list - ticket_list - -
- - - name - status - org_id - importance - db_server_instance_id - db_server_instance_version - - - - - status - org_id - importance - db_server_instance_id - db_server_instance_version - - -
-
- - - - - - - - - images/solution.png - - - - - - - - - - - - - - - + +
+ + name + status + org_id + importance + db_server_instance_id + db_server_instance_version + description + contact_list + document_list + solution_list + contract_list + ticket_list + +
+ + + name + status + org_id + importance + db_server_instance_id + db_server_instance_version + + + + + status + org_id + importance + db_server_instance_id + db_server_instance_version + + +
+
+ + + + + + + + + images/solution.png + + + + + + + + + + + + + + + - - -
- - name - status - org_id - importance - description - contact_list - document_list - solution_list - contract_list - ticket_list - ci_list - process_list - -
- - - name - status - org_id - importance - - - - - status - org_id - importance - - -
-
- - - - - - - - - images/business-process.png - - - - - - - - - - - - - - + +
+ + name + status + org_id + importance + description + contact_list + document_list + solution_list + contract_list + ticket_list + ci_list + process_list + +
+ + + name + status + org_id + importance + + + + + status + org_id + importance + + +
+
+ + + + + + + + + images/business-process.png + + + + + + + + + + + + + + - - -
- - name - status - org_id - importance - description - contact_list - document_list - contract_list - ticket_list - used_solution_list - -
- - - name - status - org_id - importance - description - - - - - status - org_id - importance - - -
-
- - - - - - - - - images/server.png - - - - - - - - - - - - - - - - -
- - name - status - org_id - importance - brand - model - serial_number - asset_ref - contact_list - document_list - solution_list - contract_list - ticket_list - -
- - - name - status - org_id - importance - brand - model - serial_number - asset_ref - - - - - finalclass - status - org_id - importance - brand - model - serial_number - asset_ref - - -
-
- - - - - - - - - - images/interface.png - - - - - - - - - - - - - - - - - - - backup - logical - port - primary - secondary - - - - - atm - ethernet - framerelay - vlan - - - - - - - - - full - half - auto - unknown - - - - - - - - - - - - - uplink - downlink - - - - - - + +
+ + name + status + org_id + importance + description + contact_list + document_list + contract_list + ticket_list + used_solution_list + +
+ + + name + status + org_id + importance + description + + + + + status + org_id + importance + + +
+
+ + + + + + + + + images/server.png + + + + + + + + + + + + + + + + +
+ + name + status + org_id + importance + brand + model + serial_number + asset_ref + contact_list + document_list + solution_list + contract_list + ticket_list + +
+ + + name + status + org_id + importance + brand + model + serial_number + asset_ref + + + + + finalclass + status + org_id + importance + brand + model + serial_number + asset_ref + + +
+
+ + + + + + + + + + images/interface.png + + + + + + + + + + + + + + + + + + + backup + logical + port + primary + secondary + + + + + atm + ethernet + framerelay + vlan + + + + + + + + + full + half + auto + unknown + + + + + + + + + + + + + uplink + downlink + + + + + + - m_aOrigValues['connected_if']; // The interface this interface was connected to @@ -1832,97 +1833,97 @@ } } }]]> - UpdateConnectedInterface(); parent::AfterInsert(); }]]> - UpdateConnectedInterface(); parent::AfterUpdate(); }]]> - - -
- - name - status - org_id - importance - brand - model - serial_number - asset_ref - device_id - logical_type - physical_type - ip_address - ip_mask - mac_address - speed - duplex - link_type - connected_if - connected_if_device_id - contact_list - document_list - solution_list - contract_list - ticket_list - -
- - - name - status - org_id - importance - device_id - logical_type - physical_type - ip_address - ip_mask - mac_address - connected_if_device_id - - - - - status - ip_address - importance - device_id - logical_type - physical_type - link_type - connected_if_device_id - - -
-
- - - - - - - - - images/server.png - - - - - - - - - - - - - + +
+ + name + status + org_id + importance + brand + model + serial_number + asset_ref + device_id + logical_type + physical_type + ip_address + ip_mask + mac_address + speed + duplex + link_type + connected_if + connected_if_device_id + contact_list + document_list + solution_list + contract_list + ticket_list + +
+ + + name + status + org_id + importance + device_id + logical_type + physical_type + ip_address + ip_mask + mac_address + connected_if_device_id + + + + + status + ip_address + importance + device_id + logical_type + physical_type + link_type + connected_if_device_id + + +
+
+ + + + + + + + + images/server.png + + + + + + + + + + + + + - - -
- - name - status - org_id - importance - brand - model - serial_number - asset_ref - contact_list - document_list - solution_list - contract_list - ticket_list - nwinterface_list - -
- - - name - status - org_id - importance - brand - model - serial_number - asset_ref - - - - - finalclass - status - org_id - importance - brand - model - serial_number - asset_ref - - -
-
- - - - - - - - - images/laptop.png - - - - - - - - - - - - - - - - - - - -
- - name - status - org_id - importance - brand - model - serial_number - asset_ref - cpu - ram - hdd - os_family - os_version - contact_list - document_list - solution_list - contract_list - ticket_list - nwinterface_list - application_list - patch_list - -
- - - name - status - org_id - importance - brand - model - serial_number - asset_ref - os_family - os_version - - - - - status - org_id - importance - brand - model - os_family - - -
-
- - - - - - - - - images/mobile-phone.png - - - - - - - - - - - -
- - name - status - org_id - importance - brand - model - serial_number - asset_ref - contact_list - document_list - solution_list - contract_list - ticket_list - nwinterface_list - -
- - - name - status - org_id - importance - brand - model - serial_number - asset_ref - - - - - status - org_id - importance - brand - model - - -
-
- - - - - - - - - images/mobile-phone.png - - - - - - - - - - - - - - - -
- - name - status - org_id - importance - brand - model - serial_number - asset_ref - number - imei - hw_pin - contact_list - document_list - solution_list - contract_list - ticket_list - nwinterface_list - -
- - - name - status - org_id - importance - brand - model - serial_number - asset_ref - number - imei - - - - - status - org_id - importance - brand - model - - -
-
- - - - - - - - - images/server.png - - - - - - - - - - - - - - - - - - - - - - - - -
- - name - status - org_id - importance - brand - model - serial_number - asset_ref - description - location_id - location_details - management_ip - default_gateway - contact_list - document_list - solution_list - contract_list - ticket_list - nwinterface_list - -
- - - name - status - org_id - importance - brand - model - serial_number - asset_ref - location_id - management_ip - default_gateway - - - - - status - org_id - importance - brand - model - location_id - - -
-
- - - - - - - - - images/switch.png - - - - - - - - - - - - - - wanaccelerator - firewall - hub - loadbalancer - router - switch - - - - - - - - - -
- - name - status - org_id - importance - brand - model - serial_number - asset_ref - description - location_id - location_details - management_ip - default_gateway - type - ios_version - ram - snmp_read - snmp_write - contact_list - document_list - solution_list - contract_list - ticket_list - nwinterface_list - -
- - - name - status - org_id - importance - brand - model - serial_number - asset_ref - location_id - management_ip - default_gateway - type - ios_version - - - - - status - org_id - importance - brand - model - location_id - type - - -
-
- - - - - - - - - images/server.png - - - - - - - - - - - - - - - - - - - - - -
- - name - status - org_id - importance - brand - model - serial_number - asset_ref - description - location_id - location_details - management_ip - default_gateway - cpu - ram - hdd - os_family - os_version - contact_list - document_list - solution_list - contract_list - ticket_list - nwinterface_list - application_list - patch_list - -
- - - name - status - org_id - importance - brand - model - serial_number - asset_ref - location_id - management_ip - default_gateway - os_family - os_version - - - - - status - org_id - importance - brand - model - location_id - os_family - - -
-
- - - - - - - - - images/printer.png - - - - - - - - - - - - - - mopier - printer - - - - - laser - inkjet - tracer - - - - - -
- - name - status - org_id - importance - brand - model - serial_number - asset_ref - description - location_id - location_details - management_ip - default_gateway - type - technology - contact_list - document_list - solution_list - contract_list - ticket_list - nwinterface_list - -
- - - name - status - org_id - importance - brand - model - serial_number - asset_ref - description - location_id - location_details - management_ip - default_gateway - type - technology - - - - - status - org_id - importance - brand - model - serial_number - asset_ref - location_id - management_ip - default_gateway - type - technology - - -
-
- - - - - - - - - images/group.png - - - - - - - - - - - - - production - implementation - obsolete - - - - - - - - - - - - - - - - -
- - name - status - org_id - type - description - parent_id - ci_list - -
- - - name - status - org_id - type - - - - - status - org_id - type - parent_id - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- - group_id - ci_id - ci_status - reason - -
- - - group_id - ci_id - reason - - - - - group_id - ci_id - ci_status - reason - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - ci_id - ci_status - document_id - document_type - document_status - -
- - - ci_id - document_id - - - - - ci_id - ci_status - document_id - document_type - document_status - - -
-
- - - - - - - - - images/contact.png - - - - - - - - - - - - - - - - - - -
- - ci_id - ci_status - contact_id - contact_email - role - -
- - - ci_id - contact_id - role - - - - - ci_id - ci_status - contact_id - contact_email - role - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- - solution_id - ci_id - ci_status - utility - -
- - - solution_id - ci_id - utility - - - - - solution_id - ci_id - ci_status - utility - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
- - solution_id - process_id - reason - -
- - - solution_id - process_id - reason - - - - - solution_id - process_id - reason - - -
-
-
+ + +
+ + name + status + org_id + importance + brand + model + serial_number + asset_ref + contact_list + document_list + solution_list + contract_list + ticket_list + nwinterface_list + +
+ + + name + status + org_id + importance + brand + model + serial_number + asset_ref + + + + + finalclass + status + org_id + importance + brand + model + serial_number + asset_ref + + +
+ + + + + + + + + + images/laptop.png + + + + + + + + + + + + + + + + + + + +
+ + name + status + org_id + importance + brand + model + serial_number + asset_ref + cpu + ram + hdd + os_family + os_version + contact_list + document_list + solution_list + contract_list + ticket_list + nwinterface_list + application_list + patch_list + +
+ + + name + status + org_id + importance + brand + model + serial_number + asset_ref + os_family + os_version + + + + + status + org_id + importance + brand + model + os_family + + +
+
+ + + + + + + + + images/mobile-phone.png + + + + + + + + + + + +
+ + name + status + org_id + importance + brand + model + serial_number + asset_ref + contact_list + document_list + solution_list + contract_list + ticket_list + nwinterface_list + +
+ + + name + status + org_id + importance + brand + model + serial_number + asset_ref + + + + + status + org_id + importance + brand + model + + +
+
+ + + + + + + + + images/mobile-phone.png + + + + + + + + + + + + + + + +
+ + name + status + org_id + importance + brand + model + serial_number + asset_ref + number + imei + hw_pin + contact_list + document_list + solution_list + contract_list + ticket_list + nwinterface_list + +
+ + + name + status + org_id + importance + brand + model + serial_number + asset_ref + number + imei + + + + + status + org_id + importance + brand + model + + +
+
+ + + + + + + + + images/server.png + + + + + + + + + + + + + + + + + + + + + + + + +
+ + name + status + org_id + importance + brand + model + serial_number + asset_ref + description + location_id + location_details + management_ip + default_gateway + contact_list + document_list + solution_list + contract_list + ticket_list + nwinterface_list + +
+ + + name + status + org_id + importance + brand + model + serial_number + asset_ref + location_id + management_ip + default_gateway + + + + + status + org_id + importance + brand + model + location_id + + +
+
+ + + + + + + + + images/switch.png + + + + + + + + + + + + + + wanaccelerator + firewall + hub + loadbalancer + router + switch + + + + + + + + + +
+ + name + status + org_id + importance + brand + model + serial_number + asset_ref + description + location_id + location_details + management_ip + default_gateway + type + ios_version + ram + snmp_read + snmp_write + contact_list + document_list + solution_list + contract_list + ticket_list + nwinterface_list + +
+ + + name + status + org_id + importance + brand + model + serial_number + asset_ref + location_id + management_ip + default_gateway + type + ios_version + + + + + status + org_id + importance + brand + model + location_id + type + + +
+
+ + + + + + + + + images/server.png + + + + + + + + + + + + + + + + + + + + + +
+ + name + status + org_id + importance + brand + model + serial_number + asset_ref + description + location_id + location_details + management_ip + default_gateway + cpu + ram + hdd + os_family + os_version + contact_list + document_list + solution_list + contract_list + ticket_list + nwinterface_list + application_list + patch_list + +
+ + + name + status + org_id + importance + brand + model + serial_number + asset_ref + location_id + management_ip + default_gateway + os_family + os_version + + + + + status + org_id + importance + brand + model + location_id + os_family + + +
+
+ + + + + + + + + images/printer.png + + + + + + + + + + + + + + mopier + printer + + + + + laser + inkjet + tracer + + + + + +
+ + name + status + org_id + importance + brand + model + serial_number + asset_ref + description + location_id + location_details + management_ip + default_gateway + type + technology + contact_list + document_list + solution_list + contract_list + ticket_list + nwinterface_list + +
+ + + name + status + org_id + importance + brand + model + serial_number + asset_ref + description + location_id + location_details + management_ip + default_gateway + type + technology + + + + + status + org_id + importance + brand + model + serial_number + asset_ref + location_id + management_ip + default_gateway + type + technology + + +
+
+ + + + + + + + + images/group.png + + + + + + + + + + + + + production + implementation + obsolete + + + + + + + + + + + + + + + + +
+ + name + status + org_id + type + description + parent_id + ci_list + +
+ + + name + status + org_id + type + + + + + status + org_id + type + parent_id + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + group_id + ci_id + ci_status + reason + +
+ + + group_id + ci_id + reason + + + + + group_id + ci_id + ci_status + reason + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + ci_id + ci_status + document_id + document_type + document_status + +
+ + + ci_id + document_id + + + + + ci_id + ci_status + document_id + document_type + document_status + + +
+
+ + + + + + + + + images/contact.png + + + + + + + + + + + + + + + + + + +
+ + ci_id + ci_status + contact_id + contact_email + role + +
+ + + ci_id + contact_id + role + + + + + ci_id + ci_status + contact_id + contact_email + role + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + solution_id + ci_id + ci_status + utility + +
+ + + solution_id + ci_id + utility + + + + + solution_id + ci_id + ci_status + utility + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + solution_id + process_id + reason + +
+ + + solution_id + process_id + reason + + + + + solution_id + process_id + reason + + +
+
+ + diff --git a/datamodel/itop-incident-mgmt-1.0.0/datamodel.itop-incident-mgmt.xml b/datamodel/itop-incident-mgmt-1.0.0/datamodel.itop-incident-mgmt.xml index b8d52bf533..6de9b11d71 100644 --- a/datamodel/itop-incident-mgmt-1.0.0/datamodel.itop-incident-mgmt.xml +++ b/datamodel/itop-incident-mgmt-1.0.0/datamodel.itop-incident-mgmt.xml @@ -1,8 +1,9 @@ - - - - + + + + @@ -10,421 +11,421 @@ * @author Denis Flaven * @license http://www.opensource.org/licenses/gpl-3.0.html LGPL */]]> - - - - - - - images/incident.png - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + images/incident.png + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Get('ref'); if (strlen($sCurrRef) == 0) @@ -441,7 +442,7 @@ return parent::ComputeValues(); }]]> - Get('contact_list'); $oToImpact = $this->Get('ci_list'); @@ -472,7 +473,7 @@ } parent::OnInsert(); }]]> - - - - -
- - document_list - ci_list - contact_list - incident_list - - - - - ref - title - org_id - status - priority - service_id - servicesubcategory_id - product - - - - - impact - urgency - description - resolution_code - solution - user_satisfaction - user_commment - - - - - - - - - start_date - last_update - assignment_date - tto_escalation_deadline - ttr_escalation_deadline - close_date - closure_deadline - - - - - caller_id - workgroup_id - agent_id - - - - - related_problem_id - related_change_id - - - - - -
- - - ref - title - org_id - start_date - status - caller_id - service_id - servicesubcategory_id - product - impact - urgency - priority - workgroup_id - agent_id - agent_email - close_date - resolution_code - solution - user_satisfaction - user_commment - - - - - title - org_id - start_date - status - service_id - priority - workgroup_id - agent_id - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
- - ticket_id - incident_id - reason - -
- - - ticket_id - incident_id - - - - - ticket_id - incident_id - reason - - -
-
-
+ + +
+ + document_list + ci_list + contact_list + incident_list + + + + + ref + title + org_id + status + priority + service_id + servicesubcategory_id + product + + + + + impact + urgency + description + resolution_code + solution + user_satisfaction + user_commment + + + + + + + + + start_date + last_update + assignment_date + tto_escalation_deadline + ttr_escalation_deadline + close_date + closure_deadline + + + + + caller_id + workgroup_id + agent_id + + + + + related_problem_id + related_change_id + + + + + +
+ + + ref + title + org_id + start_date + status + caller_id + service_id + servicesubcategory_id + product + impact + urgency + priority + workgroup_id + agent_id + agent_email + close_date + resolution_code + solution + user_satisfaction + user_commment + + + + + title + org_id + start_date + status + service_id + priority + workgroup_id + agent_id + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + ticket_id + incident_id + reason + +
+ + + ticket_id + incident_id + + + + + ticket_id + incident_id + reason + + +
+
+ + diff --git a/datamodel/itop-knownerror-mgmt-1.0.0/datamodel.itop-knownerror-mgmt.xml b/datamodel/itop-knownerror-mgmt-1.0.0/datamodel.itop-knownerror-mgmt.xml index 4f199c342f..3fa81f4c86 100644 --- a/datamodel/itop-knownerror-mgmt-1.0.0/datamodel.itop-knownerror-mgmt.xml +++ b/datamodel/itop-knownerror-mgmt-1.0.0/datamodel.itop-knownerror-mgmt.xml @@ -1,181 +1,183 @@ - - - - + + + + - - - - - - - images/known-error.png - - - - - - - - - - - - - - - - - - - - - Network - Server - Application - Desktop - - - - - - - - - - -
- - name - org_id - problem_id - error_code - domain - vendor - model - version - symptom - root_cause - workaround - solution - ci_list - document_list - -
- - - name - org_id - problem_id - error_code - domain - symptom - - - - - org_id - problem_id - error_code - symptom - - -
-
- - - + + + + + + images/known-error.png + + + + + + + + + + + + + + + + + + + + + Network + Server + Application + Desktop + + + + + + + + + + +
+ + name + org_id + problem_id + error_code + domain + vendor + model + version + symptom + root_cause + workaround + solution + ci_list + document_list + +
+ + + name + org_id + problem_id + error_code + domain + symptom + + + + + org_id + problem_id + error_code + symptom + + +
+
+ + + - - - - - - - - - - - - - - - - - - - - - - -
- - infra_id - error_id - reason - -
- - - infra_id - error_id - - - - - infra_id - infra_status - error_id - reason - - -
-
- - - + + + + + + + + + + + + + + + + + + + + + +
+ + infra_id + error_id + reason + +
+ + + infra_id + error_id + + + + + infra_id + infra_status + error_id + reason + + +
+
+ + + - - - - - - ../business/templates/default.html - - - - - - - - - - - - - - - - - -
- - doc_id - error_name - link_type - -
- - - doc_id - error_name - link_type - - -
-
-
+ + + + + + ../business/templates/default.html + + + + + + + +
+ + + + + + + + + +
+ + doc_id + error_name + link_type + +
+ + + doc_id + error_name + link_type + + +
+
+
+ diff --git a/datamodel/itop-problem-mgmt-1.0.0/datamodel.itop-problem-mgmt.xml b/datamodel/itop-problem-mgmt-1.0.0/datamodel.itop-problem-mgmt.xml index 941131b627..aa48a80d97 100644 --- a/datamodel/itop-problem-mgmt-1.0.0/datamodel.itop-problem-mgmt.xml +++ b/datamodel/itop-problem-mgmt-1.0.0/datamodel.itop-problem-mgmt.xml @@ -1,8 +1,9 @@ - - - - + + + + @@ -10,294 +11,294 @@ * @author Denis Flaven * @license http://www.opensource.org/licenses/gpl-3.0.html LGPL */]]> - - - - - - - images/problem.png - - - - - - - - - - - - - - - new - assigned - resolved - closed - - - - - - - - - - - - - - - - - - - - 1 - 2 - 3 - - - - - 1 - 2 - 3 - - - - - 1 - 2 - 3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + images/problem.png + + + + + + + + + + + + + + + new + assigned + resolved + closed + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + 1 + 2 + 3 + + + + + 1 + 2 + 3 + + + + + 1 + 2 + 3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Set('assignment_date', time()); return true; }]]> - Set('resolution_date', time()); return true; }]]> - Set('close_date', time()); return true; }]]> - Get('impact')][(int)$this->Get('urgency')]; return $iPriority; }]]> - Set('priority', $this->ComputePriority()); @@ -343,91 +344,92 @@ $this->Set('ref', $sName); } }]]> - - -
- - document_list - ci_list - contact_list - incident_list - - - - - ref - title - org_id - status - priority - service_id - servicesubcategory_id - product - - - - - impact - urgency - description - - - - - - - - - start_date - last_update - assignment_date - close_date - - - - - workgroup_id - agent_id - - - - - related_change_id - - - - - -
- - - ref - title - org_id - start_date - status - service_id - servicesubcategory_id - product - impact - urgency - priority - workgroup_id - agent_id - agent_email - close_date - - - - - title - org_id - start_date - status - service_id - priority - - -
-
-
+ + +
+ + document_list + ci_list + contact_list + incident_list + + + + + ref + title + org_id + status + priority + service_id + servicesubcategory_id + product + + + + + impact + urgency + description + + + + + + + + + start_date + last_update + assignment_date + close_date + + + + + workgroup_id + agent_id + + + + + related_change_id + + + + + +
+ + + ref + title + org_id + start_date + status + service_id + servicesubcategory_id + product + impact + urgency + priority + workgroup_id + agent_id + agent_email + close_date + + + + + title + org_id + start_date + status + service_id + priority + + +
+ + + diff --git a/datamodel/itop-request-mgmt-1.0.0/datamodel.itop-request-mgmt.xml b/datamodel/itop-request-mgmt-1.0.0/datamodel.itop-request-mgmt.xml index 5dda562343..bfd460f39d 100644 --- a/datamodel/itop-request-mgmt-1.0.0/datamodel.itop-request-mgmt.xml +++ b/datamodel/itop-request-mgmt-1.0.0/datamodel.itop-request-mgmt.xml @@ -1,8 +1,9 @@ - - - - + + + + @@ -10,458 +11,458 @@ * @author Denis Flaven * @license http://www.opensource.org/licenses/gpl-3.0.html LGPL */]]> - - - - - - - images/user-request.png - - - - - - - - - - - - - - - service request - issue - information - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + images/user-request.png + + + + + + + + + + + + + + + service request + issue + information + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Get('ref'); if (strlen($sCurrRef) == 0) @@ -478,7 +479,7 @@ return parent::ComputeValues(); }]]> - - - - -
- - document_list - ci_list - contact_list - incident_list - - - - - ref - title - org_id - status - priority - request_type - service_id - servicesubcategory_id - product - - - - - impact - urgency - description - resolution_code - solution - user_satisfaction - user_commment - freeze_reason - - - - - - - - - start_date - last_update - assignment_date - tto_escalation_deadline - ttr_escalation_deadline - close_date - closure_deadline - - - - - caller_id - workgroup_id - agent_id - - - - - related_problem_id - related_change_id - - - - - -
- - - ref - title - org_id - request_type - start_date - status - caller_id - service_id - servicesubcategory_id - product - impact - urgency - priority - workgroup_id - agent_id - agent_email - close_date - resolution_code - solution - user_satisfaction - user_commment - - - - - title - org_id - start_date - status - service_id - priority - workgroup_id - agent_id - - -
-
-
+ + +
+ + document_list + ci_list + contact_list + incident_list + + + + + ref + title + org_id + status + priority + request_type + service_id + servicesubcategory_id + product + + + + + impact + urgency + description + resolution_code + solution + user_satisfaction + user_commment + freeze_reason + + + + + + + + + start_date + last_update + assignment_date + tto_escalation_deadline + ttr_escalation_deadline + close_date + closure_deadline + + + + + caller_id + workgroup_id + agent_id + + + + + related_problem_id + related_change_id + + + + + +
+ + + ref + title + org_id + request_type + start_date + status + caller_id + service_id + servicesubcategory_id + product + impact + urgency + priority + workgroup_id + agent_id + agent_email + close_date + resolution_code + solution + user_satisfaction + user_commment + + + + + title + org_id + start_date + status + service_id + priority + workgroup_id + agent_id + + +
+ + + diff --git a/datamodel/itop-service-mgmt-1.0.0/datamodel.itop-service-mgmt.xml b/datamodel/itop-service-mgmt-1.0.0/datamodel.itop-service-mgmt.xml index 071ebdb42e..2a62c515d6 100644 --- a/datamodel/itop-service-mgmt-1.0.0/datamodel.itop-service-mgmt.xml +++ b/datamodel/itop-service-mgmt-1.0.0/datamodel.itop-service-mgmt.xml @@ -1,8 +1,9 @@ - - - - + + + + @@ -10,103 +11,103 @@ * @author Denis Flaven * @license http://www.opensource.org/licenses/gpl-3.0.html LGPL */]]> - - - - - - - contract.png - - - - - - - - - - - - - - - dollars - euros - - - - - - - - - - -
- - name - description - start_date - end_date - cost - cost_currency - cost_unit - billing_frequency - contact_list - document_list - ci_list - -
- - - name - description - start_date - end_date - cost - cost_currency - cost_unit - billing_frequency - - - - - description - start_date - end_date - cost - cost_currency - cost_unit - billing_frequency - - -
-
- - - - - - - - - contract.png - - - - - - - - - - - - - - - + + + + + + contract.png + + + + + +
+ + + + + + + + + dollars + euros + + + + + + + + + + +
+ + name + description + start_date + end_date + cost + cost_currency + cost_unit + billing_frequency + contact_list + document_list + ci_list + +
+ + + name + description + start_date + end_date + cost + cost_currency + cost_unit + billing_frequency + + + + + description + start_date + end_date + cost + cost_currency + cost_unit + billing_frequency + + +
+
+ + + + + + + + + contract.png + + + + + + + + + + + + + + + - - -
- - name - description - start_date - end_date - cost - cost_currency - cost_unit - billing_frequency - contact_list - document_list - ci_list - provider_id - sla - coverage - -
- - - name - description - start_date - end_date - cost - cost_currency - cost_unit - billing_frequency - provider_id - sla - coverage - - - - - start_date - end_date - provider_id - sla - coverage - - -
-
- - - - - - - - - contract.png - - - - - - - - - - - - - - - - - - - - - - - - -
- - name - org_id - description - start_date - end_date - cost - cost_currency - cost_unit - billing_frequency - contact_list - document_list - ci_list - provider_list - provider_id - support_team_id - sla_list - -
- - - name - description - org_id - start_date - end_date - cost - cost_currency - cost_unit - billing_frequency - provider_id - support_team_id - - - - - org_id - start_date - end_date - provider_id - support_team_id - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- - customer_contract_id - provider_contract_id - provider_sla - provider_coverage - -
- - - customer_contract_id - provider_contract_id - - - - - customer_contract_id - provider_contract_id - provider_sla - provider_coverage - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- - contract_id - sla_id - sla_service_name - coverage - -
- - - contract_id - sla_id - coverage - - - - - contract_id - sla_id - sla_service_name - coverage - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- - contract_id - document_id - document_type - document_status - -
- - - contract_id - document_id - document_type - document_status - - - - - contract_id - document_id - document_type - document_status - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- - contract_id - contact_id - contact_email - role - -
- - - contract_id - contact_id - contact_email - role - - - - - contract_id - contact_id - contact_email - role - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
- - contract_id - ci_id - ci_status - -
- - - contract_id - ci_id - ci_status - - - - - contract_id - ci_id - ci_status - - -
-
- - - - - - - - - service.png - - - - - - - - - - - - - - - RequestManagement - IncidentManagement - - - - - design - production - obsolete - - - - - - - - - + +
+ + name + description + start_date + end_date + cost + cost_currency + cost_unit + billing_frequency + contact_list + document_list + ci_list + provider_id + sla + coverage + +
+ + + name + description + start_date + end_date + cost + cost_currency + cost_unit + billing_frequency + provider_id + sla + coverage + + + + + start_date + end_date + provider_id + sla + coverage + + +
+
+ + + + + + + + + contract.png + + + + + + + + + + + + + + + + + + + + + + + + +
+ + name + org_id + description + start_date + end_date + cost + cost_currency + cost_unit + billing_frequency + contact_list + document_list + ci_list + provider_list + provider_id + support_team_id + sla_list + +
+ + + name + description + org_id + start_date + end_date + cost + cost_currency + cost_unit + billing_frequency + provider_id + support_team_id + + + + + org_id + start_date + end_date + provider_id + support_team_id + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + customer_contract_id + provider_contract_id + provider_sla + provider_coverage + +
+ + + customer_contract_id + provider_contract_id + + + + + customer_contract_id + provider_contract_id + provider_sla + provider_coverage + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + contract_id + sla_id + sla_service_name + coverage + +
+ + + contract_id + sla_id + coverage + + + + + contract_id + sla_id + sla_service_name + coverage + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + contract_id + document_id + document_type + document_status + +
+ + + contract_id + document_id + document_type + document_status + + + + + contract_id + document_id + document_type + document_status + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + contract_id + contact_id + contact_email + role + +
+ + + contract_id + contact_id + contact_email + role + + + + + contract_id + contact_id + contact_email + role + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + contract_id + ci_id + ci_status + +
+ + + contract_id + ci_id + ci_status + + + + + contract_id + ci_id + ci_status + + +
+
+ + + + + + + + + service.png + + + + + + + + + + + + + + + RequestManagement + IncidentManagement + + + + + design + production + obsolete + + + + + + + + + false, 'block_id' => 'service'); @@ -551,415 +552,416 @@ self::DisplaySet($oPage,$oCustomerContracts,$aExtraParam); } }]]> - - -
- - name - description - org_id - type - status - subcategory_list - sla_list - document_list - contact_list - -
- - - name - description - org_id - type - status - - - - - description - org_id - type - status - - -
-
- - - - - - - - - sla.png - - - - - - - - - - - - - - - - - -
- - name - org_id - service_id - description - -
- - - name - description - service_id - provider_name - - - - - service_id - description - - -
-
- - - - - - - - - sla.png - - - - - - - - - - - - - - - -
- - name - service_id - slt_list - -
- - - name - service_id - - - - - service_id - - -
-
- - - - - - - - - slt.png - - - - - - - - - - - TTO - TTR - - - - - 1 - 2 - 3 - - - - - - days - hours - minutes - - - - - - -
- - name - metric - ticket_priority - value - value_unit - sla_list - -
- - - name - metric - ticket_priority - value - value_unit - - - - - metric - ticket_priority - value - value_unit - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - sla_id - slt_id - slt_metric - slt_ticket_priority - slt_value - slt_value_unit - -
- - - sla_id - slt_id - slt_metric - slt_ticket_priority - slt_value - slt_value_unit - - - - - sla_id - slt_id - slt_metric - slt_ticket_priority - slt_value - slt_value_unit - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- - service_id - document_id - document_type - document_status - -
- - - service_id - document_id - document_type - document_status - - - - - service_id - document_id - document_type - document_status - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- - service_id - contact_id - contact_email - role - -
- - - service_id - contact_id - contact_email - role - - - - - service_id - contact_id - contact_email - role - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
- - service_id - ci_id - ci_status - -
- - - service_id - ci_id - ci_status - - - - - service_id - ci_id - ci_status - - -
-
-
+ + +
+ + name + description + org_id + type + status + subcategory_list + sla_list + document_list + contact_list + +
+ + + name + description + org_id + type + status + + + + + description + org_id + type + status + + +
+ + + + + + + + + + sla.png + + + + + + + + + + + + + + + + + +
+ + name + org_id + service_id + description + +
+ + + name + description + service_id + provider_name + + + + + service_id + description + + +
+
+ + + + + + + + + sla.png + + + + + + + + + + + + + + + +
+ + name + service_id + slt_list + +
+ + + name + service_id + + + + + service_id + + +
+
+ + + + + + + + + slt.png + + + + + + + + + + + TTO + TTR + + + + + 1 + 2 + 3 + + + + + + days + hours + minutes + + + + + + +
+ + name + metric + ticket_priority + value + value_unit + sla_list + +
+ + + name + metric + ticket_priority + value + value_unit + + + + + metric + ticket_priority + value + value_unit + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + sla_id + slt_id + slt_metric + slt_ticket_priority + slt_value + slt_value_unit + +
+ + + sla_id + slt_id + slt_metric + slt_ticket_priority + slt_value + slt_value_unit + + + + + sla_id + slt_id + slt_metric + slt_ticket_priority + slt_value + slt_value_unit + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + service_id + document_id + document_type + document_status + +
+ + + service_id + document_id + document_type + document_status + + + + + service_id + document_id + document_type + document_status + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + service_id + contact_id + contact_email + role + +
+ + + service_id + contact_id + contact_email + role + + + + + service_id + contact_id + contact_email + role + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + service_id + ci_id + ci_status + +
+ + + service_id + ci_id + ci_status + + + + + service_id + ci_id + ci_status + + +
+
+ + diff --git a/datamodel/itop-tickets-1.0.0/datamodel.itop-tickets.xml b/datamodel/itop-tickets-1.0.0/datamodel.itop-tickets.xml index cffe53f164..6b7e96cda0 100644 --- a/datamodel/itop-tickets-1.0.0/datamodel.itop-tickets.xml +++ b/datamodel/itop-tickets-1.0.0/datamodel.itop-tickets.xml @@ -1,8 +1,9 @@ - - - - + + + + @@ -10,593 +11,593 @@ * @author Denis Flaven * @license http://www.opensource.org/licenses/gpl-3.0.html LGPL */]]> - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - ref - title - description - start_date - document_list - ci_list - contact_list - incident_list - -
- - - finalclass - ref - title - start_date - - - - - finalclass - ref - title - ticket_log - start_date - - -
-
- - - - - - - - - - - - - - - - - - - new - assigned - frozen - escalated_tto - escalated_ttr - resolved - closed - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - 2 - 3 - - - - - 1 - 2 - 3 - - - - - 1 - 2 - 3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - fixed - duplicate - couldnotreproduce - irrelevant - - - - - - 1 - 2 - 3 - 4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
+ + ref + title + description + start_date + document_list + ci_list + contact_list + incident_list + +
+ + + finalclass + ref + title + start_date + + + + + finalclass + ref + title + ticket_log + start_date + + +
+
+ + + + + + + + + + + + + + + + + + + new + assigned + frozen + escalated_tto + escalated_ttr + resolved + closed + + + + - + + + + + + + + + + + + + - - - - - - - + + + + + + + 1 + 2 + 3 + + + + + 1 + 2 + 3 + + + + + 1 + 2 + 3 + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + fixed + duplicate + couldnotreproduce + irrelevant + + + + + + 1 + 2 + 3 + 4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Set('closure_deadline', time() + $iMaxWaitHours * 3600); return true; }]]> - Set('assignment_date', time()); return true; }]]> - Set('resolution_date', time()); return true; }]]> - Set('close_date', time()); return true; }]]> - name of the SLT selected, 'value' => duration in seconds of the SLT metric, null if no SLT applies to this ticket @@ -656,7 +657,7 @@ } return $aResult; }]]> - Get('impact')][(int)$this->Get('urgency')]; return $iPriority; }]]> - Set('priority', $this->ComputePriority()); @@ -714,7 +715,7 @@ $this->Set('ttr_escalation_deadline', null); } }]]> - - Set('last_update', time()); }]]> - Set('last_update', time()); }]]> - - -
- - ref - title - org_id - start_date - tto_escalation_deadline - ttr_escalation_deadline - closure_deadline - document_list - ci_list - contact_list - status - caller_id - service_id - servicesubcategory_id - product - impact - urgency - priority - workgroup_id - agent_id - agent_email - related_problem_id - related_change_id - close_date - last_update - assignment_date - resolution_code - solution - user_satisfaction - user_commment - -
- - - finalclass - ref - title - org_id - start_date - status - caller_id - service_id - servicesubcategory_id - product - impact - urgency - priority - workgroup_id - agent_id - agent_email - close_date - resolution_code - solution - user_satisfaction - user_commment - - - - - finalclass - title - org_id - start_date - status - caller_id - service_id - priority - workgroup_id - agent_id - last_update - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
- - ticket_id - document_id - -
- - - ticket_id - document_id - - - - - ticket_id - document_id - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- - ticket_id - contact_id - contact_email - role - -
- - - ticket_id - contact_id - contact_email - role - - - - - ticket_id - contact_id - contact_email - role - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- - ticket_id - ci_id - impact - ci_status - -
- - - ticket_id - ci_id - ci_status - - - - - ticket_id - ci_id - impact - ci_status - - -
-
-
+ + +
+ + ref + title + org_id + start_date + tto_escalation_deadline + ttr_escalation_deadline + closure_deadline + document_list + ci_list + contact_list + status + caller_id + service_id + servicesubcategory_id + product + impact + urgency + priority + workgroup_id + agent_id + agent_email + related_problem_id + related_change_id + close_date + last_update + assignment_date + resolution_code + solution + user_satisfaction + user_commment + +
+ + + finalclass + ref + title + org_id + start_date + status + caller_id + service_id + servicesubcategory_id + product + impact + urgency + priority + workgroup_id + agent_id + agent_email + close_date + resolution_code + solution + user_satisfaction + user_commment + + + + + finalclass + title + org_id + start_date + status + caller_id + service_id + priority + workgroup_id + agent_id + last_update + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + ticket_id + document_id + +
+ + + ticket_id + document_id + + + + + ticket_id + document_id + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + ticket_id + contact_id + contact_email + role + +
+ + + ticket_id + contact_id + contact_email + role + + + + + ticket_id + contact_id + contact_email + role + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + ticket_id + ci_id + impact + ci_status + +
+ + + ticket_id + ci_id + ci_status + + + + + ticket_id + ci_id + impact + ci_status + + +
+
+ + diff --git a/setup/modelfactory.class.inc.php b/setup/modelfactory.class.inc.php index 48b639659b..0d4c39af4f 100644 --- a/setup/modelfactory.class.inc.php +++ b/setup/modelfactory.class.inc.php @@ -270,6 +270,7 @@ class ModelFactory { protected $sRootDir; protected $oDOMDocument; + protected $oRoot; protected $oClasses; static protected $aLoadedClasses; static protected $aWellKnownParents = array('DBObject', 'CMDBObject','cmdbAbstractObject'); @@ -280,8 +281,10 @@ class ModelFactory { $this->sRootDir = $sRootDir; $this->oDOMDocument = new DOMDocument('1.0', 'UTF-8'); + $this->oRoot = $this->oDOMDocument->CreateElement('itop_design'); + $this->oDOMDocument->AppendChild($this->oRoot); $this->oClasses = $this->oDOMDocument->CreateElement('classes'); - $this->oDOMDocument->AppendChild($this->oClasses); + $this->oRoot->AppendChild($this->oClasses); self::$aLoadedClasses = array(); self::$aLoadedModules = array(); } @@ -315,7 +318,7 @@ class ModelFactory $oNode->SetAttribute('_source', $sXmlFile); } $oXPath = new DOMXPath($oDocument); - $oNodeList = $oXPath->query('//classes/class'); + $oNodeList = $oXPath->query('/itop_design/classes/class'); foreach($oNodeList as $oNode) { if ($oNode->hasAttribute('parent')) @@ -1109,10 +1112,12 @@ EOF public function GetDelta() { $oDelta = new DOMDocument('1.0', 'UTF-8'); - $oRootNode = $oDelta->createElement('classes'); + $oRootNode = $oDelta->createElement('itop_design'); $oDelta->appendChild($oRootNode); + $oClasses = $oDelta->createElement('classes'); + $oRootNode->appendChild($oClasses); - $this->_priv_ImportModifiedChildren($oDelta, $oRootNode, $this->oDOMDocument->firstChild); + $this->_priv_ImportModifiedChildren($oDelta, $oClasses, $this->oDOMDocument->firstChild); //file_put_contents($sXMLDestPath, $oDelta->saveXML()); return $oDelta->saveXML(); }