CLI Reference Guide
l With GET requests, views retrieve only the relevant data for the artifact and avoid loading all the
data for the artifact. This leads to better performance.
l With PUT requests, the burden is not on the user to know all the artifact details to update the
artifact. The user can pass only the necessary information.
l An example of using views is presented in "Update an artifact" on page 15 (using
componentfinalize view).
Note: If you are updating with artifact views, you need to specify all the view’s properties.
The following predefined views are available.
View name Properties
Descriptio
n
accesspoint accessPoint.username
accessPoint.password
accessPoint.uri
accessPoint.category.name
This retrieves
information
from the
access point
object. Any
entity that
has the
accessPoint
property
should work
with this
view.
actioninfo action.actionState.name
action.actionStatus
action.errorOnTimeout
action.failOnError
action.timeout
action.processDefinition.name
action.consumerVisible
action.stateConstraint.lifecycleState.name
action.stateConstraint.lifecycleSubstate.name
Retrieves the
properties for
the action
object in
addition to all
the basicinfo
and
propertyinfo
properties.
Note: If the
intention is to
update an
existing
action, then
action.id
must be
specified.
HP Cloud Service Automation (4.00)Page 37 of 141
APIReference
Contents