浏览代码

Oups, version number back to: 1.0.5 = beta 6, with the correct collection of VLANs as DistributedVirtualPortgroups

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3205 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 11 年之前
父节点
当前提交
faaa15f9a3

+ 31 - 0
datamodels/2.x/itop-change-mgmt/datamodel.itop-change-mgmt.xml

@@ -105,6 +105,15 @@
           <default_value/>
           <is_null_allowed>true</is_null_allowed>
         </field>
+        <field id="outage" xsi:type="AttributeEnum">
+          <values>
+            <value>yes</value>
+            <value>no</value>
+          </values>
+          <sql>outage</sql>
+          <default_value>no</default_value>
+          <is_null_allowed>false</is_null_allowed>
+        </field>
         <field id="related_request_list" xsi:type="AttributeLinkedSet">
           <linked_class>UserRequest</linked_class>
           <ext_key_to_me>parent_change_id</ext_key_to_me>
@@ -187,6 +196,9 @@
               <attribute id="changemanager_id">
                 <hidden/>
               </attribute>
+              <attribute id="outage">
+                <hidden/>
+              </attribute>
             </flags>
             <transitions>
               <transition>
@@ -237,6 +249,9 @@
               <attribute id="approval_date">
                 <hidden/>
               </attribute>
+              <attribute id="outage">
+                <hidden/>
+              </attribute>
             </flags>
             <transitions>
               <transition>
@@ -299,6 +314,10 @@
               <attribute id="changemanager_id">
                 <mandatory/>
               </attribute>
+              <attribute id="outage">
+                <mandatory/>
+                <must_prompt/>
+              </attribute>
             </flags>
             <transitions>
               <transition>
@@ -383,6 +402,9 @@
               <attribute id="parent_id">
                 <read_only/>
               </attribute>
+              <attribute id="outage">
+                <read_only/>
+              </attribute>
             </flags>
             <transitions>
               <transition>
@@ -451,6 +473,9 @@
               <attribute id="parent_id">
                 <normal/>
               </attribute>
+              <attribute id="outage">
+                <read_only/>
+              </attribute>
             </flags>
             <transitions>
               <transition>
@@ -523,6 +548,9 @@
               <attribute id="parent_id">
                 <read_only/>
               </attribute>
+              <attribute id="outage">
+                <read_only/>
+              </attribute>
             </flags>
             <transitions/>
           </state>
@@ -752,6 +780,9 @@
                     <item id="category">
                       <rank>10</rank>
                     </item>
+                    <item id="outage">
+                      <rank>15.1</rank>
+                    </item>
                     <item id="reject_reason">
                       <rank>20</rank>
                     </item>

+ 6 - 0
datamodels/2.x/itop-change-mgmt/de.dict.itop-change-mgmt.php

@@ -110,5 +110,11 @@ Dict::Add('DE DE', 'German', 'Deutsch', array(
 	'Class:Change/Attribute:related_incident_list+' => '',
 	'Class:Change/Attribute:parent_id_friendlyname' => 'Parent Change Friendly Name',
 	'Class:Change/Attribute:parent_id_friendlyname+' => '',
+	'Class:Change/Attribute:outage' => 'Ausfall',
+	'Class:Change/Attribute:outage+' => '',
+	'Class:Change/Attribute:outage/Value:no' => 'Nein',
+	'Class:Change/Attribute:outage/Value:no+' => '',
+	'Class:Change/Attribute:outage/Value:yes' => 'Ja',
+	'Class:Change/Attribute:outage/Value:yes+' => '',
 ));
 ?>

+ 6 - 0
datamodels/2.x/itop-change-mgmt/en.dict.itop-change-mgmt.php

@@ -132,6 +132,12 @@ Dict::Add('EN US', 'English', 'English', array(
 	'Class:Change/Stimulus:ev_approve+' => '',
 	'Class:Change/Stimulus:ev_finish' => 'Close',
 	'Class:Change/Stimulus:ev_finish+' => '',
+	'Class:Change/Attribute:outage' => 'Outage',
+	'Class:Change/Attribute:outage+' => '',
+	'Class:Change/Attribute:outage/Value:no' => 'No',
+	'Class:Change/Attribute:outage/Value:no+' => '',
+	'Class:Change/Attribute:outage/Value:yes' => 'Yes',
+	'Class:Change/Attribute:outage/Value:yes+' => '',
 ));
 
 ?>

+ 6 - 0
datamodels/2.x/itop-change-mgmt/es_cr.dict.itop-change-mgmt.php

@@ -133,6 +133,12 @@ Dict::Add('ES CR', 'Spanish', 'Español, Castellano', array(
 	'Class:Change/Stimulus:ev_approve+' => 'Aprobar',
 	'Class:Change/Stimulus:ev_finish' => 'Finalizar',
 	'Class:Change/Stimulus:ev_finish+' => 'Finalizar',
+	'Class:Change/Attribute:outage' => 'Falla',
+	'Class:Change/Attribute:outage+' => 'Falla',
+	'Class:Change/Attribute:outage/Value:no' => 'No',
+	'Class:Change/Attribute:outage/Value:no+' => 'No',
+	'Class:Change/Attribute:outage/Value:yes' => 'Si',
+	'Class:Change/Attribute:outage/Value:yes+' => 'Si',
 ));
 
 ?>

+ 6 - 0
datamodels/2.x/itop-change-mgmt/fr.dict.itop-change-mgmt.php

@@ -94,6 +94,12 @@ Dict::Add('FR FR', 'French', 'Français', array(
 	'Class:Change/Stimulus:ev_approve+' => '',
 	'Class:Change/Stimulus:ev_finish' => 'Fermer',
 	'Class:Change/Stimulus:ev_finish+' => '',
+	'Class:Change/Attribute:outage' => 'Interruption de service',
+	'Class:Change/Attribute:outage+' => '',
+	'Class:Change/Attribute:outage/Value:no' => 'Non',
+	'Class:Change/Attribute:outage/Value:no+' => '',
+	'Class:Change/Attribute:outage/Value:yes' => 'Oui',
+	'Class:Change/Attribute:outage/Value:yes+' => '',
 ));
 
 

+ 1 - 0
readme.txt

@@ -241,6 +241,7 @@ Data model fixes/changes
 #854 Flag Is null allowed not working on attributes Date and DateTime + the default value is now taken into account
 Fixed issue with 1.x datamodels: dashlets of type "badge" not working (preventing from editing an existing dashboard), since 2.0.2
 Aligned the authentication module with the one of 2.x, to enable the feature "Forgot password" for legacy data models
+Added the "outage" field to simple Change tickets, since it's already present in ITIL Changes.
 
 
 Notifications