Previous Topic: Verify the Custom Component ResultsNext Topic: Creating a Custom Metric Family


Update a Custom Component

You can update an existing custom component.

Note: For information about the effects of updating a tag or attribute when updating your components, review the custom component XML details. In particular, review the specific attribute descriptions.

Follow these steps:

  1. Enter the following address in the URL field:
    http://da_hostname:8581/typecatalog/components/name
    
    Name

    Is the name of your custom component to update.

  2. Select PUT in the Method tab.
  3. Copy and paste your updated component XML into the Edit field on the Body tab, and set the Content-type to application/xml.

    Important! Failure to set the Content-Type results in a 404 error.

  4. Click the Go button next to the URL field.

    Your custom component is updated. If no errors occur, the Status field in the HTTP Response section displays:

    HTTP/1.1 200 OK
    

    Note: Any other return code indicates that an error occurred while updating your custom component. Fix the error and retry updating the component by doing another PUT.

    Important! To avoid possible data loss, always back up your deploy directory each time you create or update a vendor certification, metric family, or component.

More information:

Understanding the Component XML Structure