How to sync a deployed Governance Control using the Command Line Interface (CLI).

How to sync a deployed Governance Control using the Command Line Interface (CLI).

book

Article ID: KB0093444

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix Policy Director -
Not Applicable -

Description

Description:
This article provides sample build and data file contents for sync'ing a deployed Governance Control (GC) with TIBCO ActiveMatrix Policy Director.

Issue/Introduction

How to sync a deployed Governance Control using the Command Line Interface (CLI).

Resolution

Below are the entries to be used in build.xml and data.properties files which are to be used with ant.


*in the build file:
--------------------
<target name="sync-deployed-rules">
             <GovernanceAdminTask
                  remote="true"
                propsFile="${props.file}"
                 action="syncDeployedRules"
                dataFile="${dataFile}"
                objectSelector="declare namespace rule='http://tibco.com/governance/ogp/cli/types_rule'; rule:SyncDeployedStandaloneRules"
                overwrite="true"
                merge="true"
                createIfNotExists="true"
                force="true"
                 failOnError="false"/>
    </target>



**in the data file:
--------------------
<rule:SyncDeployedStandaloneRules>
                  <RuleIdentifier>
                    <name>uppercaseProxyApp_UTAuthGC</name>
                  </RuleIdentifier>
                  <force>false</force>
</rule:SyncDeployedStandaloneRules>

Additional Information