Use > Create Designs > Topology Designs > Components > Component operations

Component operations

View the following information about the operations:

  • Display Name - The display name of the operation.
  • Parameters - The parameters associated with the operation.
  • Visible - This label displays if the operation is visible to the user. If this label does not display, the operation is not visible to the user.

Use the corresponding icon or button to:

  • Import an operation. Click Import. You can import an operation, assign a lifecycle action (for example, Deploy or Undeploy), and edit operation parameter mappings. For example, you can import a new Operations Orchestration operation into an existing Chef component.

    To import, select one or more Operations Orchestration flows to import as new operations. Each item you select will create a separate operation on the topology component
  • Edit an operation. Click the gear icon for the operation and select Edit.

You cannot edit a component that is an abstract component or a capability.

Complete all steps in the Edit Operation wizard.

  • Delete the operation. Click the gear icon for the operation and select Delete.

Provide the following information for an operation:

Item Description
General
  • ID - A unique identifier for the operation. You cannot edit this field.
  • Display Name - The name that displays for the operation.
  • Description - The description that displays for the operation.
  • Visible - Use the check box to indicate if the property is visible.
  • Lifecycle Action - Select a lifecycle action that will be used during provisioning or de-provisioning:
    • Deploy – Actions specified in this lifecycle phase realize a component during the provisioning of a design that is using the component.
    • Deploy Failure Handler – Actions specified in this lifecycle phase handle failures that occur during the execution of the Deploy lifecycle phase action on a component as part of provisioning a design.
    • Undeploy – Actions specified in this lifecycle phase de-provision a component during the de-provisioning of a service instance that is using the component.
    • Undeploy Failure Handler – Actions specified in this lifecycle phase handle failures that occur during the execution of the Undeploy lifecycle phase action on a component as part of de-provisioning a design.
    • Modify – Actions specified in this lifecycle phase are executed on a component during the modification of a realized component in a service instance, when the service instance is modified by the Modify Subscription operation.
    • Modify Failure Handler – Actions specified in this lifecycle phase are executed for the cleanup of failed Modify actions on a component during the modification of a service instance.
    • Unmodify – Actions specified in this lifecycle phase revert the effect of modification on a successfully modified component. This action occurs during the rollback of an unsuccessful overall modification transition of the service instance due to failure occurring on another component that is also subject to modification. The result is that the service instance reverts to the state it was in prior to the modification operation.

Parameters

  • Input Parameter Mappings - The list of input parameters and their configured parameter mappings for this operation. Click the appropriate icon to edit or delete an input parameter. See below for more information about editing.
  • Output Parameter Mappings - The list of output parameters and their configured parameter mappings for this operation. Click the appropriate icon to edit or delete an output parameter. See below for more information about editing.

Create or Edit Parameter Mapping

 

Create or Edit Parameter Mapping

To create a parameter mapping, click the Add Parameter button just below the Input Parameter Mappings or Output Parameter Mappings list. Typically, you will add a parameter if the operation is tied to an Operations Orchestration flow and you have modified the flow to have new inputs or outputs.

To edit an existing parameter mapping, click the Edit Parameter Mapping icon.

  • Name - A unique name for the parameter.
  • Display Name - The name that displays for the parameter.
  • Description - The description for the parameter.
  • Required - Use the check box to indicate if the parameter is required.
  • Mapping Type - Select the mapping type for the parameter mapping.
    • Not Mapped - Select to provide no parameter mapping.
    • User Value - Select to prompt the user for a value during design execution. This mapping is valid for public actions only. When a public action is executed, the user is asked to provide values for all parameters mapped to the User Value.
    • Component Property - Select to map the parameter to or from a property on this component. Select the component property in the Value list.
    • Constant Value - Select to provide a constant value for the parameter. Enter the constant value in the Value field. This is not available for output parameters.
    • Multiple Properties - Map to multiple properties. Click Add Parameter to create additional parameters.
    • Provider Property - Select to map the parameter from a property on the resource provider that is used to provision the component. Enter the name of the resource provider property in the Value input field.
    • Relationship Target Property - Select to map the parameter from a property on a different component that this component has a relationship to. Select the proper relationship in the Relationship list, and then select the component property in the Value list.