How to Add Groups as Super Users using CLI in ActiveMatrix Service Grid

How to Add Groups as Super Users using CLI in ActiveMatrix Service Grid

book

Article ID: KB0075101

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix Service Grid 3.3.0
TIBCO BPM Enterprise (formerly TIBCO ActiveMatrix BPM) -

Description

Currently, "Add Users as Super Users" is being allowed through CLI scripts. There is a build target "add_super_user" in the sample build file "user_build.xml" that comes with the AMX installation.

However, the AMX product documentation has no explicit mention of how to "Add Groups as Super Users(Groups)".

How can we add Groups as Super Users (Groups) using CLI in ActiveMatrix Service Grid?

Environment

All Supported OS Platforms

Resolution

We can modify the existing sample "user_build.xml" file and "user_data.xml" file as below. Attached are the scripts for reference.

        ant -f user_build.xml add_super_group

=========================
user_build.xml:  <!-- user can create a new "add_super_group" build target -->

<target name="add_super_group" description="set users to be super user">
<AMXAdminTask
remote="true"
propsFile="${instanceProperties}"
action="add"
dataFile="${dataFile}"
objectSelector="ListOfSuperGroup"
overwrite="true"
merge="true"
createIfNotExists="true"
force="true"
failOnError="false"/>
</target>

user_data.xml:

<ListOfSuperGroup xsi:type="amxdata_base:ListOfSuperGroup">
<superGroup name="group1"/>
</ListOfSuperGroup>
=========================

 

Issue/Introduction

How to Add Groups as Super Users using CLI in ActiveMatrix Service Grid?

Attachments

How to Add Groups as Super Users using CLI in ActiveMatrix Service Grid get_app