HP CloudSystem Enterprise Guide de l'utilisateur Page 19

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 150
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 18
Filtering
You can filter the results by providing a value for a property in the URI. The query is then filtered
based on that property. You can use the properties listed in "Artifact views" on page 36.
Note: The property name that is specified in the URL must have the period (.) character
replaced with the underscore (_) character.
The following example shows the result when the previous example is filtered on a property name.
The following URL was sent:
https://<host>:<port>/csa/rest/artifact/fastview/90e72e4f3b00a69e013b0c049ab0003
?userIdentifier=<user_id>&view=propertyinfo&property_name=propBLN
The following XML was returned in the response:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<resultView>
<resultMap>
<entry>
<key>property.values.value</key>
<value xsi:type="xs:string">true</value>
</entry>
<entry>
<key>property.consumerVisible</key>
<value xsi:type="xs:boolean">true</value>
</entry>
<entry>
<key>property.displayName</key>
<value xsi:type="xs:string">Boolean property</value>
</entry>
<entry>
<key>property.valueType.name</key>
<value xsi:type="xs:string">BOOLEAN</value>
</entry>
<entry>
<key>property.name</key>
<value xsi:type="xs:string">propBLN</value>
</entry>
</resultMap>
</resultView>
Retrieve resolved properties for an artifact
A propertycan have a source binding configuredthat indicates its value is to be retrieved from a
property on another artifact. The REST API discussed here provides a mechanism toretrieve the
value from the source property. As part of this retrieval, relevant tokens configured on properties are
also resolved.
APIReference
HP Cloud Service Automation (4.10) Page 19 of 150
Vue de la page 18
1 2 ... 14 15 16 17 18 19 20 21 22 23 24 ... 149 150

Commentaires sur ces manuels

Pas de commentaire