Updating the Savvis provider definition
This topic describes how to update a provider definition for Savvis via the BMC Cloud Lifecycle Management API, and verify that the provider definition is updated in the Cloud database. For information about sending HTTP requests to BMC Cloud Lifecycle Management, see Making-API-requests and Accessing-the-API-server.
To update the Savvis provider definition
Log on to the BMC Cloud Lifecycle Management API server as a superuser.
- Get the Savvis Provider 1.0 provider definition GUID.
- Log on to the Cloud database by using BMC Remedy User.
- Select File > Open > Object List.
- From the Find tab, search for ProviderDefinition.
- Open the BMC.CLOUD:BMC_ProviderDefinition join form.
- Click Search (leave fields blank). The provider definition details are displayed.

- Copy the GUID of GA_Savvis_Provider_Definition.
Using the GA_Savvis_Provider_Definition GUID, get the existing provider definition by using the REST API.
GET http://<Server>:8080/csm/providerdefinition/<provider_def_guid from above step>- Copy the result.
- Use the authentication token returned in step 1 and a REST client to update the Savvis provider definition:
Open the savvis_provider_definition.json file in a text editor.
- Replace GUIDs for all the access attributes from the result returned from the GET providerdefinition
- Using a validator, validate the JSON file for correctness.
You can use an online validator, such as http://jsonlint.com/. - In the REST client, do the following:
- In the header, add the authentication token that you received in step 1.
- Set content-type as application/json.
Use the following REST call:
POST https://<OSGi host>:<OSGi port>/csm/ProviderDefinitionIn the body, paste the JSON input that you created in step c.
Verify that the provider definition is updated successfully in the Cloud database
- Log on to the Cloud database by using BMC Remedy User.
- Select File > Open > Object List.
- From the Find tab, search for ProviderDefinition.
- Open the BMC.CORE:BMC_BaseElement
- Paste ProviderDefinition Guid from previous step in the InstanceId field and press F5 to search
- Click View Relationship and verify that upgrade operations are present.

Where to go from here
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*