[otrs-cvs] CVS: ITSMCMDB/Kernel/Config/Files ITSMCMDB.pm,1.28,1.29

cvs-log at otrs.org cvs-log at otrs.org
Mon Nov 13 18:54:52 CET 2006


Update of /home/cvs/ITSMCMDB/Kernel/Config/Files
In directory lancelot:/tmp/cvs-serv7729/Kernel/Config/Files

Modified Files:
	ITSMCMDB.pm 
Log Message:
some things reworked

Index: ITSMCMDB.pm
===================================================================
RCS file: /home/cvs/ITSMCMDB/Kernel/Config/Files/ITSMCMDB.pm,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -r1.28 -r1.29
*** ITSMCMDB.pm	9 Nov 2006 16:18:44 -0000	1.28
--- ITSMCMDB.pm	13 Nov 2006 18:54:50 -0000	1.29
***************
*** 1,5 ****
  # --
  # ITSMCMDB.pm - the config for cmdb structure
! # Copyright (C) 2001-2006 OTRS GmbH, http://otrs.org/
  # --
  # $Id$
--- 1,5 ----
  # --
  # ITSMCMDB.pm - the config for cmdb structure
! # Copyright (C) 2003-2006 OTRS GmbH, http://otrs.com/
  # --
  # $Id$
***************
*** 11,15 ****
  
  $Self->{'CMDB::ConfigItem::Description'}->{OrgUnit} = 'The Organisation units.';
! $Self->{'CMDB::ConfigItem::Overview'}->{OrgUnit} = ['Name', 'State', 'URL'];
  $Self->{'CMDB::ConfigItem::Config'}->{OrgUnit} = [
      {
--- 11,15 ----
  
  $Self->{'CMDB::ConfigItem::Description'}->{OrgUnit} = 'The Organisation units.';
! $Self->{'CMDB::ConfigItem::Overview'}->{OrgUnit} = ['Name', 'Description', 'State'];
  $Self->{'CMDB::ConfigItem::Config'}->{OrgUnit} = [
      {
***************
*** 26,29 ****
--- 26,41 ----
      },
      {
+         Key => 'Description',
+         Name => 'Description',
+         Description => 'Description of Service',
+         Input => {
+             Type => 'Text',
+             Size => 60,
+             MaxLength => 40,
+             RegExp => '',
+             Required => 1,
+         },
+     },
+     {
          Key => 'State',
          Name => 'State',
***************
*** 88,92 ****
  
  $Self->{'CMDB::ConfigItem::Description'}->{Location} = 'The Locations.';
! $Self->{'CMDB::ConfigItem::Overview'}->{Location} = ['Name'];
  $Self->{'CMDB::ConfigItem::Config'}->{Location} = [
      {
--- 100,104 ----
  
  $Self->{'CMDB::ConfigItem::Description'}->{Location} = 'The Locations.';
! $Self->{'CMDB::ConfigItem::Overview'}->{Location} = ['Name', 'Description', 'State'];
  $Self->{'CMDB::ConfigItem::Config'}->{Location} = [
      {
***************
*** 103,106 ****
--- 115,146 ----
      },
      {
+         Key => 'Description',
+         Name => 'Description',
+         Description => 'Description of Service',
+         Input => {
+             Type => 'Text',
+             Size => 60,
+             MaxLength => 40,
+             RegExp => '',
+             Required => 1,
+         },
+     },
+     {
+         Key => 'State',
+         Name => 'State',
+         Input => {
+             Type => 'Select',
+             Data => {
+                 'Planned' => 'Planned',
+                 'Effective' => 'Effective',
+                 'Inactive' => 'Inactive',
+                 'Retired' => 'Retired',
+                 'Unknown' => 'Unknown',
+             },
+             RegExp => '',
+             Required => 1,
+         },
+     },
+     {
          Key => 'General',
          Name => 'General',
***************
*** 110,125 ****
          Sub => [
              {
-                 Key => 'Description',
-                 Name => 'Description',
-                 Description => 'Description of Location.',
-                 Input => {
-                     Type => 'Text',
-                     Size => 60,
-                     MaxLength => 40,
-                     RegExp => '',
-                     Required => 1,
-                 },
-             },
-             {
                  Key => 'Type',
                  Name => 'Type',
--- 150,153 ----
***************
*** 235,239 ****
  
  $Self->{'CMDB::ConfigItem::Description'}->{Service} = 'The Services Catalog.';
! $Self->{'CMDB::ConfigItem::Overview'}->{Service} = ['Name'];
  $Self->{'CMDB::ConfigItem::Config'}->{Service} = [
      {
--- 263,267 ----
  
  $Self->{'CMDB::ConfigItem::Description'}->{Service} = 'The Services Catalog.';
! $Self->{'CMDB::ConfigItem::Overview'}->{Service} = ['Name', 'Description', 'DeploymentState'];
  $Self->{'CMDB::ConfigItem::Config'}->{Service} = [
      {
***************
*** 250,253 ****
--- 278,293 ----
      },
      {
+         Key => 'Description',
+         Name => 'Description',
+         Description => 'Description of Service',
+         Input => {
+             Type => 'Text',
+             Size => 60,
+             MaxLength => 40,
+             RegExp => '',
+             Required => 1,
+         },
+     },
+     {
          Key => 'General',
          Name => 'General',
***************
*** 257,272 ****
          Sub => [
              {
-                 Key => 'Description',
-                 Name => 'Description',
-                 Description => 'Description of Service',
-                 Input => {
-                     Type => 'Text',
-                     Size => 60,
-                     MaxLength => 40,
-                     RegExp => '',
-                     Required => 1,
-                 },
-             },
-             {
                  Key => 'Class',
                  Name => 'Class',
--- 297,300 ----
***************
*** 497,501 ****
  
  $Self->{'CMDB::ConfigItem::Description'}->{SLA} = 'All Service Level Agreements.';
! $Self->{'CMDB::ConfigItem::Overview'}->{SLA} = ['Name'];
  $Self->{'CMDB::ConfigItem::Config'}->{SLA} = [
      {
--- 525,529 ----
  
  $Self->{'CMDB::ConfigItem::Description'}->{SLA} = 'All Service Level Agreements.';
! $Self->{'CMDB::ConfigItem::Overview'}->{SLA} = ['Name', 'Description', 'State'];
  $Self->{'CMDB::ConfigItem::Config'}->{SLA} = [
      {
***************
*** 512,515 ****
--- 540,555 ----
      },
      {
+         Key => 'Description',
+         Name => 'Description',
+         Description => 'Description of Service',
+         Input => {
+             Type => 'Text',
+             Size => 60,
+             MaxLength => 40,
+             RegExp => '',
+             Required => 1,
+         },
+     },
+     {
          Key => 'General',
          Name => 'General',
***************
*** 519,534 ****
          Sub => [
              {
-                 Key => 'Description',
-                 Name => 'Description',
-                 Description => 'Description of Service',
-                 Input => {
-                     Type => 'Text',
-                     Size => 60,
-                     MaxLength => 40,
-                     RegExp => '',
-                     Required => 1,
-                 },
-             },
-             {
                  Key => 'Type',
                  Name => 'Type',
--- 559,562 ----
***************
*** 751,755 ****
  
  $Self->{'CMDB::ConfigItem::Description'}->{Computer} = 'This is the description text of the config item "Computer" (Laptop, Desktop, Phone, PDA, Server).';
! $Self->{'CMDB::ConfigItem::Overview'}->{Computer} = ['Serial-Number', 'CPU'];
  $Self->{'CMDB::ConfigItem::Config'}->{Computer} = [
      {
--- 779,783 ----
  
  $Self->{'CMDB::ConfigItem::Description'}->{Computer} = 'This is the description text of the config item "Computer" (Laptop, Desktop, Phone, PDA, Server).';
! $Self->{'CMDB::ConfigItem::Overview'}->{Computer} = ['Name', 'Description', 'CurrentDeploymentState'];
  $Self->{'CMDB::ConfigItem::Config'}->{Computer} = [
      {
***************
*** 766,769 ****
--- 794,809 ----
      },
      {
+         Key => 'Description',
+         Name => 'Description',
+         Description => 'Description of CI',
+         Input => {
+             Type => 'Text',
+             Size => 60,
+             MaxLength => 40,
+             RegExp => '',
+             Required => 1,
+         },
+     },
+     {
          Key => 'General',
          Name => 'General',
***************
*** 773,788 ****
          Sub => [
              {
-                 Key => 'Description',
-                 Name => 'Description',
-                 Description => 'Description of CI',
-                 Input => {
-                     Type => 'Text',
-                     Size => 60,
-                     MaxLength => 40,
-                     RegExp => '',
-                     Required => 1,
-                 },
-             },
-             {
                  Key => 'Type',
                  Name => 'Type',
--- 813,816 ----
***************
*** 1091,1158 ****
      },
      {
!         Key => 'CurrentDeployment',
!         Name => 'Current Deployment',
          Input => {
!             Type => 'None',
!         },
!         Sub => [
!             {
!                 Key => 'CurrentDeploymentState',
!                 Name => 'State',
!                 Input => {
!                     Type => 'Select',
!                     Data => {
!                         'in order' => 'in order',
!                         'in service' => 'in service',
!                         'out of service' => 'out of service',
!                         'unknown' => 'unknown',
!                         'repair' => 'repair',
!                     },
!                     Required => 1,
!                 },
!             },
!             {
!                 Key => 'CurrentDeploymentDate',
!                 Name => 'Date',
!                 Description => '',
!                 Input => {
!                     Type => 'Date',
!                     Required => 1,
!                 },
              },
!         ],
      },
      {
!         Key => 'PlannedDeployment',
!         Name => 'Planned Deployment',
          Input => {
!             Type => 'None',
          },
!         Sub => [
!             {
!                 Key => 'PlannedDeploymentState',
!                 Name => 'State',
!                 Input => {
!                     Type => 'Select',
!                     Data => {
!                         'in order' => 'in order',
!                         'in service' => 'in service',
!                         'out of service' => 'out of service',
!                         'unknown' => 'unknown',
!                         'repair' => 'repair',
!                     },
!                     Required => 1,
!                 },
!             },
!             {
!                 Key => 'PlannedDeploymentDate',
!                 Name => 'Date',
!                 Description => '',
!                 Input => {
!                     Type => 'Date',
!                     Required => 1,
!                 },
              },
!         ],
      },
      {
--- 1119,1168 ----
      },
      {
!         Key => 'CurrentDeploymentState',
!         Name => 'Current Deployment State',
          Input => {
!             Type => 'Select',
!             Data => {
!                 'in order' => 'in order',
!                 'in service' => 'in service',
!                 'out of service' => 'out of service',
!                 'unknown' => 'unknown',
!                 'repair' => 'repair',
              },
!             Required => 1,
!         },
      },
      {
!         Key => 'CurrentDeploymentDate',
!         Name => 'Current Deployment Date',
!         Description => '',
          Input => {
!             Type => 'Date',
!             Required => 1,
          },
!     },
!     {
!         Key => 'PlannedDeploymentState',
!         Name => 'Planned Deployment State',
!         Input => {
!             Type => 'Select',
!             Data => {
!                 'in order' => 'in order',
!                 'in service' => 'in service',
!                 'out of service' => 'out of service',
!                 'unknown' => 'unknown',
!                 'repair' => 'repair',
              },
!             Required => 1,
!         },
!     },
!     {
!         Key => 'PlannedDeploymentDate',
!         Name => 'Planned Deployment Date',
!         Description => '',
!         Input => {
!             Type => 'Date',
!             Required => 1,
!         },
      },
      {
***************
*** 1197,1201 ****
  
  $Self->{'CMDB::ConfigItem::Description'}->{Software} = 'This is the description text of the config item "Software".';
! $Self->{'CMDB::ConfigItem::Overview'}->{Software} = ['Name', 'SerialNo'];
  $Self->{'CMDB::ConfigItem::Config'}->{Software} = [
      {
--- 1207,1211 ----
  
  $Self->{'CMDB::ConfigItem::Description'}->{Software} = 'This is the description text of the config item "Software".';
! $Self->{'CMDB::ConfigItem::Overview'}->{Software} = ['Name', 'Description', 'CurrentDeploymentState'];
  $Self->{'CMDB::ConfigItem::Config'}->{Software} = [
      {
***************
*** 1212,1215 ****
--- 1222,1237 ----
      },
      {
+         Key => 'Description',
+         Name => 'Description',
+         Description => 'Description of CI',
+         Input => {
+             Type => 'Text',
+             Size => 60,
+             MaxLength => 40,
+             RegExp => '',
+             Required => 1,
+         },
+     },
+     {
          Key => 'General',
          Name => 'General',
***************
*** 1437,1505 ****
      },
      {
!         Key => 'CurrentDeployment',
!         Name => 'Current Deployment',
          Input => {
!             Type => 'None',
              Required => 1,
          },
-         Sub => [
-             {
-                 Key => 'CurrentDeploymentState',
-                 Name => 'State',
-                 Input => {
-                     Type => 'Select',
-                     Data => {
-                         'in order' => 'in order',
-                         'in service' => 'in service',
-                         'out of service' => 'out of service',
-                         'unknown' => 'unknown',
-                         'repair' => 'repair',
-                     },
-                     Required => 1,
-                 },
-             },
-             {
-                 Key => 'CurrentDeploymentDate',
-                 Name => 'Date',
-                 Description => '',
-                 Input => {
-                     Type => 'Date',
-                     Required => 1,
-                 },
-             },
-         ],
      },
      {
!         Key => 'PlannedDeployment',
!         Name => 'Planned Deployment',
          Input => {
!             Type => 'None',
          },
!         Sub => [
!             {
!                 Key => 'PlannedDeploymentState',
!                 Name => 'State',
!                 Input => {
!                     Type => 'Select',
!                     Data => {
!                         'in order' => 'in order',
!                         'in service' => 'in service',
!                         'out of service' => 'out of service',
!                         'unknown' => 'unknown',
!                         'repair' => 'repair',
!                     },
!                     Required => 1,
!                 },
!             },
!             {
!                 Key => 'PlannedDeploymentDate',
!                 Name => 'Date',
!                 Description => '',
!                 Input => {
!                     Type => 'Date',
!                     Required => 1,
!                 },
              },
!         ],
      },
      {
--- 1459,1508 ----
      },
      {
!         Key => 'CurrentDeploymentState',
!         Name => 'Current Deployment State',
          Input => {
!             Type => 'Select',
!             Data => {
!                 'in order' => 'in order',
!                 'in service' => 'in service',
!                 'out of service' => 'out of service',
!                 'unknown' => 'unknown',
!                 'repair' => 'repair',
!             },
              Required => 1,
          },
      },
      {
!         Key => 'CurrentDeploymentDate',
!         Name => 'Current Deployment Date',
!         Description => '',
          Input => {
!             Type => 'Date',
!             Required => 1,
          },
!     },
!     {
!         Key => 'PlannedDeploymentState',
!         Name => 'Planned Deployment State',
!         Input => {
!             Type => 'Select',
!             Data => {
!                 'in order' => 'in order',
!                 'in service' => 'in service',
!                 'out of service' => 'out of service',
!                 'unknown' => 'unknown',
!                 'repair' => 'repair',
              },
!             Required => 1,
!         },
!     },
!     {
!         Key => 'PlannedDeploymentDate',
!         Name => 'Planned Deployment Date',
!         Description => '',
!         Input => {
!             Type => 'Date',
!             Required => 1,
!         },
      },
      {
***************
*** 1544,1548 ****
  
  $Self->{'CMDB::ConfigItem::Description'}->{Hardware} = 'This is the description text of the config item "Hardware" (Monitor, Printer, Switch, Router, WLAN AP, Security Dev., Backup Dev., Mouse, Keyboard, Camera, Beamer, Modem, PCMCIA Card, USB Device, Docking Station, Scanner, Telefax, SIM Card, Drive Array, Server Expansion).';
! $Self->{'CMDB::ConfigItem::Overview'}->{Hardware} = ['Name', 'SerialNo'];
  $Self->{'CMDB::ConfigItem::Config'}->{Hardware} = [
      {
--- 1547,1551 ----
  
  $Self->{'CMDB::ConfigItem::Description'}->{Hardware} = 'This is the description text of the config item "Hardware" (Monitor, Printer, Switch, Router, WLAN AP, Security Dev., Backup Dev., Mouse, Keyboard, Camera, Beamer, Modem, PCMCIA Card, USB Device, Docking Station, Scanner, Telefax, SIM Card, Drive Array, Server Expansion).';
! $Self->{'CMDB::ConfigItem::Overview'}->{Hardware} = ['Name', 'Description', 'CurrentDeploymentState'];
  $Self->{'CMDB::ConfigItem::Config'}->{Hardware} = [
      {
***************
*** 1559,1562 ****
--- 1562,1577 ----
      },
      {
+         Key => 'Description',
+         Name => 'Description',
+         Description => 'Description of CI',
+         Input => {
+             Type => 'Text',
+             Size => 60,
+             MaxLength => 40,
+             RegExp => '',
+             Required => 1,
+         },
+     },
+     {
          Key => 'General',
          Name => 'General',
***************
*** 1717,1784 ****
      },
      {
!         Key => 'CurrentDeployment',
!         Name => 'Current Deployment',
          Input => {
!             Type => 'None',
!         },
!         Sub => [
!             {
!                 Key => 'CurrentDeploymentState',
!                 Name => 'State',
!                 Input => {
!                     Type => 'Select',
!                     Data => {
!                         'in order' => 'in order',
!                         'in service' => 'in service',
!                         'out of service' => 'out of service',
!                         'unknown' => 'unknown',
!                         'repair' => 'repair',
!                     },
!                     Required => 1,
!                 },
!             },
!             {
!                 Key => 'CurrentDeploymentDate',
!                 Name => 'Date',
!                 Description => '',
!                 Input => {
!                     Type => 'Date',
!                     Required => 1,
!                 },
              },
!         ],
      },
      {
!         Key => 'PlannedDeployment',
!         Name => 'Planned Deployment',
          Input => {
!             Type => 'None',
          },
!         Sub => [
!             {
!                 Key => 'PlannedDeploymentState',
!                 Name => 'State',
!                 Input => {
!                     Type => 'Select',
!                     Data => {
!                         'in order' => 'in order',
!                         'in service' => 'in service',
!                         'out of service' => 'out of service',
!                         'unknown' => 'unknown',
!                         'repair' => 'repair',
!                     },
!                     Required => 1,
!                 },
!             },
!             {
!                 Key => 'PlannedDeploymentDate',
!                 Name => 'Date',
!                 Description => '',
!                 Input => {
!                     Type => 'Date',
!                     Required => 1,
!                 },
              },
!         ],
      },
      {
--- 1732,1781 ----
      },
      {
!         Key => 'CurrentDeploymentState',
!         Name => 'Current Deployment State',
          Input => {
!             Type => 'Select',
!             Data => {
!                 'in order' => 'in order',
!                 'in service' => 'in service',
!                 'out of service' => 'out of service',
!                 'unknown' => 'unknown',
!                 'repair' => 'repair',
              },
!             Required => 1,
!         },
      },
      {
!         Key => 'CurrentDeploymentDate',
!         Name => 'Current Deployment Date',
!         Description => '',
          Input => {
!             Type => 'Date',
!             Required => 1,
          },
!     },
!     {
!         Key => 'PlannedDeploymentState',
!         Name => 'Planned Deployment State',
!         Input => {
!             Type => 'Select',
!             Data => {
!                 'in order' => 'in order',
!                 'in service' => 'in service',
!                 'out of service' => 'out of service',
!                 'unknown' => 'unknown',
!                 'repair' => 'repair',
              },
!             Required => 1,
!         },
!     },
!     {
!         Key => 'PlannedDeploymentDate',
!         Name => 'Planned Deployment Date',
!         Description => '',
!         Input => {
!             Type => 'Date',
!             Required => 1,
!         },
      },
      {
***************
*** 1823,1827 ****
  
  $Self->{'CMDB::ConfigItem::Description'}->{Network} = 'This is the description text of the config item "Network" (LAN, WLAN, Telco, GSM).';
! $Self->{'CMDB::ConfigItem::Overview'}->{Network} = ['Name'];
  $Self->{'CMDB::ConfigItem::Config'}->{Network} = [
      {
--- 1820,1824 ----
  
  $Self->{'CMDB::ConfigItem::Description'}->{Network} = 'This is the description text of the config item "Network" (LAN, WLAN, Telco, GSM).';
! $Self->{'CMDB::ConfigItem::Overview'}->{Network} = ['Name', 'Description', 'CurrentDeploymentState'];
  $Self->{'CMDB::ConfigItem::Config'}->{Network} = [
      {
***************
*** 1838,1841 ****
--- 1835,1850 ----
      },
      {
+         Key => 'Description',
+         Name => 'Description',
+         Description => 'Description of CI',
+         Input => {
+             Type => 'Text',
+             Size => 60,
+             MaxLength => 40,
+             RegExp => '',
+             Required => 1,
+         },
+     },
+     {
          Key => 'General',
          Name => 'General',
***************
*** 1929,1996 ****
      },
      {
!         Key => 'CurrentDeployment',
!         Name => 'Current Deployment',
          Input => {
!             Type => 'None',
!         },
!         Sub => [
!             {
!                 Key => 'CurrentDeploymentState',
!                 Name => 'State',
!                 Input => {
!                     Type => 'Select',
!                     Data => {
!                         'in order' => 'in order',
!                         'in service' => 'in service',
!                         'out of service' => 'out of service',
!                         'unknown' => 'unknown',
!                         'repair' => 'repair',
!                     },
!                     Required => 1,
!                 },
!             },
!             {
!                 Key => 'CurrentDeploymentDate',
!                 Name => 'Date',
!                 Description => '',
!                 Input => {
!                     Type => 'Date',
!                     Required => 1,
!                 },
              },
!         ],
      },
      {
!         Key => 'PlannedDeployment',
!         Name => 'Planned Deployment',
          Input => {
!             Type => 'None',
          },
!         Sub => [
!             {
!                 Key => 'PlannedDeploymentState',
!                 Name => 'State',
!                 Input => {
!                     Type => 'Select',
!                     Data => {
!                         'in order' => 'in order',
!                         'in service' => 'in service',
!                         'out of service' => 'out of service',
!                         'unknown' => 'unknown',
!                         'repair' => 'repair',
!                     },
!                     Required => 1,
!                 },
!             },
!             {
!                 Key => 'PlannedDeploymentDate',
!                 Name => 'Date',
!                 Description => '',
!                 Input => {
!                     Type => 'Date',
!                     Required => 1,
!                 },
              },
!         ],
      },
      {
--- 1938,1987 ----
      },
      {
!         Key => 'CurrentDeploymentState',
!         Name => 'Current Deployment State',
          Input => {
!             Type => 'Select',
!             Data => {
!                 'in order' => 'in order',
!                 'in service' => 'in service',
!                 'out of service' => 'out of service',
!                 'unknown' => 'unknown',
!                 'repair' => 'repair',
              },
!             Required => 1,
!         },
      },
      {
!         Key => 'CurrentDeploymentDate',
!         Name => 'Current Deployment Date',
!         Description => '',
          Input => {
!             Type => 'Date',
!             Required => 1,
          },
!     },
!     {
!         Key => 'PlannedDeploymentState',
!         Name => 'Planned Deployment State',
!         Input => {
!             Type => 'Select',
!             Data => {
!                 'in order' => 'in order',
!                 'in service' => 'in service',
!                 'out of service' => 'out of service',
!                 'unknown' => 'unknown',
!                 'repair' => 'repair',
              },
!             Required => 1,
!         },
!     },
!     {
!         Key => 'PlannedDeploymentDate',
!         Name => 'Planned Deployment Date',
!         Description => '',
!         Input => {
!             Type => 'Date',
!             Required => 1,
!         },
      },
      {
***************
*** 2034,2036 ****
  ];
  
! 1;
\ No newline at end of file
--- 2025,2027 ----
  ];
  
! 1;



More information about the cvs-log mailing list