How to update TIBCO Data Virtualization Server configurations through an API?

How to update TIBCO Data Virtualization Server configurations through an API?

book

Article ID: KB0073932

calendar_today

Updated On:

Products Versions
TIBCO Data Virtualization All Supported Versions

Description

The TDV configuration can be updated from the TDV Studio through the Administration-->Configuration tab. However, there is an alternative method to updating these configurations with the use of an API.
The "updateServerAttributes" API which is available under "/services/webservices/system/admin/server/operations/updateServerAttributes" can be used to update these parameters.
 

Issue/Introduction

This article shows how to update the TIBCO Data Virtualization Server configurations through an API.

Environment

All Supported Operating Systems

Resolution

Below is a sample to change Java heap size using the "updateServerAttributes" API.
<server:updateServerAttributes xmlns:server="http://www.compositesw.com/services/system/admin/server" xmlns:common="http://www.compositesw.com/services/system/util/common">
  <server:attributes>
    <common:attribute>
      <common:name>/server/memory/heap/javaHeapMaxOnServerRestart</common:name>
      <common:type>INTEGER</common:type>
      <common:value>4800</common:value>
    </common:attribute>
  </server:attributes>
</server:updateServerAttributes>