public abstract class DeployedAssetPromotionTest
extends java.lang.Object
Deployed Asset Node |
Asset |
Comment |
|
Assetnum |
Assetnum is generated from an autokey. Autokey must be enabled for promotion to be successful. |
Parent Node |
Parent Asset |
If a node has a parent that is already linked to an authorized asset, the application locates that parent authorized asset and assigns it as the parent for the asset being created. |
Description |
Description |
Description is truncated to the size of the field for assets. If a truncation occurs, the whole description is inserted into the asset long description. If the classification is set to generate descriptions, the existing description may be over-written with the description generated from the classification. |
Serial Number |
Serial Number |
Serial number is the most common data used to establish reconciliation links. You should establish a business process that ensures that if a serial number is modified for a deployed or authorized asset, the corresponding record will also be corrected. |
Asset Tag |
Asset Tag |
Asset tag. |
|
Site |
If the node has a parent that is already linked to an authorized asset, the site of the parent authorized asset is used for the asset site. When promoting manually in the Computers application, the value set for the node in the table is used (Note that you cannot change that value directly in the table. You must change the site using the Defaults section at the bottom of the window.). When promoting automatically through an escalation, the default value defined in the Promotion Defaults dialog box in the Computers application is used for the asset site. A site must be provided. |
|
Location |
If the node has a parent that is already linked to an authorized asset, the location of the parent authorized asset is used. When promoting manually in the Computers application, the value set for the node in the table is used. When promoting automatically through an escalation, the default value defined in the Promotion Defaults dialog box in the Computers application is used. The default value is empty. |
|
Item |
Specifying the item will also specify the classification and will prevent you from specifying the classification separately. The asset will have the same classification as the item. The default value is empty. |
|
Status |
The asset status is usually set to Not Ready until the asset is put into service; at that point the status set to Operating. The default value is the default creation status of authorized IT assets. |
|
Classification |
If an item is selected, the classification of the item is used as the classification of the asset. If a classification is already specified and the user selects an item, the application overwrites the existing classification with the classification of the item specified by the user. A classification must be provided, either by entering one directly or by inheriting the classification the selected Item. |
|
Partition |
Set to Y (true) if the node is a partition, N (false) if the node is a computer. |
Hash value |
Hash value |
The unique ID that identifies a partition. |
Promote Partitions? |
|
If this check box is selected, the application promotes all children in the hierarchy of the selected node. The check box is disabled for assets that do not have children. |
Constructor and Description |
---|
DeployedAssetPromotionTest() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getAppName() |
java.lang.String |
getDefaultsKey() |
abstract java.lang.String |
getDeployedAssetViewName() |
abstract PromoteAction |
getNewPromoteActionInstance() |
void |
setUp() |
void |
testDefaultsLocationAndClass() |
void |
testDefaultsNoSiteClassification() |
void |
testDefaultsNoSiteItem() |
void |
testDefaultsNoSiteLocation() |
void |
testDefaultsNoSiteStatus() |
void |
testDefaultsNullClass() |
void |
testDefaultsSetClassificationWhenItemIsSet() |
void |
testDefaultsSetItemThenClassification() |
void |
testDefaultsStatusAndItem() |
void |
testDefaultsWrongClassification() |
void |
testDefaultsWrongItem() |
void |
testPromotionSimple() |
public abstract java.lang.String getDeployedAssetViewName()
public abstract java.lang.String getAppName()
public abstract PromoteAction getNewPromoteActionInstance()
public java.lang.String getDefaultsKey()
public void testDefaultsNullClass() throws java.lang.Exception
java.lang.Exception
public void testDefaultsLocationAndClass() throws java.lang.Exception
java.lang.Exception
public void testDefaultsStatusAndItem() throws java.lang.Exception
java.lang.Exception
public void testDefaultsWrongClassification() throws java.lang.Exception
java.lang.Exception
public void testDefaultsWrongItem() throws java.lang.Exception
java.lang.Exception
public void testDefaultsSetClassificationWhenItemIsSet() throws java.lang.Exception
java.lang.Exception
public void testDefaultsSetItemThenClassification() throws java.lang.Exception
java.lang.Exception
public void testDefaultsNoSiteLocation() throws java.lang.Exception
java.lang.Exception
public void testDefaultsNoSiteStatus() throws java.lang.Exception
java.lang.Exception
public void testDefaultsNoSiteItem() throws java.lang.Exception
java.lang.Exception
public void testDefaultsNoSiteClassification() throws java.lang.Exception
java.lang.Exception
public void testPromotionSimple() throws java.lang.Exception
java.lang.Exception
public void setUp() throws java.lang.Exception
java.lang.Exception